@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --outside: #d7d5cf;
  --card: #eeece6;
  --ink: #171717;
  --muted: #77756f;
  --rule: #b9b5ab;
  --line: #d2cec5;
  --accent: #ad421c;
  --sans: "Space Grotesk", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }

html, body { min-width: 320px; min-height: 100%; }

body {
  margin: 0;
  background: var(--outside);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--card); }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 8px 11px;
  background: var(--ink);
  color: var(--card);
  font-size: 12px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.card-stage {
  display: grid;
  place-items: center;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 22px;
  outline: none;
}

.business-card {
  display: grid;
  grid-template-rows: 68px minmax(0, 1fr) 118px;
  width: min(1040px, 100%);
  height: min(660px, calc(100dvh - 44px));
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--card);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.card-header h1 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -.045em;
}

.card-header h1 span {
  position: relative;
  top: -.52em;
  margin-left: 3px;
  font-size: .48em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent);
}

.language-switch {
  display: flex;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
}

.language-switch a { color: var(--muted); }
.language-switch a[aria-current="page"] { color: var(--accent); border-bottom: 1px solid var(--accent); }

.card-body {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.introduction,
.examples { min-width: 0; padding: clamp(22px, 3vw, 38px); }

.introduction {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.eyebrow,
.examples-heading,
.disciplines,
.card-footer > p,
.example-links a span,
.example-links a small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.eyebrow { color: var(--muted); }

.introduction h2 {
  max-width: 430px;
  margin-top: clamp(30px, 5vh, 50px);
  font-family: var(--serif);
  font-size: clamp(35px, 4vw, 48px);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.summary {
  max-width: 390px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.45;
}

.disciplines {
  display: flex;
  gap: 18px;
  margin-top: auto;
  padding-top: 28px;
}

.disciplines span { padding-bottom: 3px; border-bottom: 1px solid var(--rule); }

.maker-mark {
  position: absolute;
  right: -18px;
  bottom: -25px;
  width: 120px;
  height: 120px;
  transform: rotate(18deg);
  opacity: .16;
}

.maker-mark i {
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
}

.maker-mark i:nth-child(2) { transform: rotate(30deg); }
.maker-mark i:nth-child(3) { transform: rotate(60deg); }

.examples { border-left: 1px solid var(--rule); }

.examples-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
}

.examples-heading h2 { font: inherit; }
.examples-heading > span { color: var(--muted); }

.example-links { margin-top: 20px; border-top: 1px solid var(--rule); }

.example-links a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, background-color 180ms ease;
}

.example-links a:last-child { border-bottom-color: var(--rule); }
.example-links a span,
.example-links a small { color: var(--muted); }
.example-links a strong { min-width: 0; overflow: hidden; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.example-links a b { color: var(--accent); font-size: 16px; font-weight: 400; }

.card-footer {
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 18px 12px;
}

.email {
  display: grid;
  grid-template-columns: minmax(150px, .75fr) minmax(0, 1.25fr) 20px;
  align-items: center;
  gap: 20px;
}

.email > span { font-size: 12px; color: var(--muted); }
.email > strong { font-family: var(--serif); font-size: clamp(20px, 2.7vw, 31px); font-weight: 400; letter-spacing: -.025em; }
.email > b { color: var(--accent); font-size: 18px; font-weight: 400; }

.card-footer > p {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}

@media (hover: hover) and (pointer: fine) {
  .example-links a:hover { padding-inline: 10px; background: rgb(173 66 28 / 7%); }
  .email:hover > strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
}

@media (max-width: 720px) {
  .card-stage { display: block; padding: 10px; }
  .business-card {
    grid-template-rows: 54px auto auto;
    width: 100%;
    height: auto;
    min-height: calc(100dvh - 20px);
  }
  .card-header { padding: 10px 13px; }
  .card-body { grid-template-columns: 1fr; }
  .introduction,
  .examples { padding: 20px 16px; }
  .introduction { min-height: 305px; }
  .introduction h2 { max-width: 355px; margin-top: 28px; font-size: clamp(32px, 9.7vw, 42px); }
  .summary { max-width: 340px; margin-top: 16px; font-size: 13px; }
  .disciplines { margin-top: 26px; padding-top: 0; }
  .maker-mark { right: -28px; bottom: -35px; }
  .examples { border-top: 1px solid var(--rule); border-left: 0; }
  .examples-heading { min-height: 22px; }
  .example-links { margin-top: 12px; }
  .example-links a { grid-template-columns: 22px minmax(0, 1fr) 17px; gap: 10px; min-height: 49px; }
  .example-links a small { display: none; }
  .card-footer { min-height: 112px; padding-inline: 13px; }
  .email { grid-template-columns: 1fr 18px; gap: 8px; padding-block: 12px; }
  .email > span { display: none; }
  .email > strong { overflow-wrap: anywhere; font-size: clamp(20px, 6vw, 25px); }
}

@media (max-height: 690px) and (max-width: 720px) {
  .introduction { min-height: 270px; padding-block: 15px; }
  .introduction h2 { margin-top: 20px; font-size: 31px; }
  .summary { margin-top: 12px; }
  .disciplines { margin-top: 17px; }
  .examples { padding-block: 14px; }
  .example-links a { min-height: 43px; }
  .card-footer { min-height: 94px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
