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

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

@font-face {
  font-family: Outfit;
  src: url("/assets/fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f5ee;
  --ink: #1d2a29;
  --muted: #5c6764;
  --rust: #a15c46;
  --banner: #233737;
  --gold: #c6a36a;
  --banner-text: #f4f7f4;
  --button: #1b2b2a;
  --sage: #edf1e9;
  --forest: #345147;
  --contact: #243c36;
  --beige: #ede6da;
  --line: rgba(29, 42, 41, 0.16);
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 5;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ex-banner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 9px 16px;
  background: var(--banner);
  color: var(--banner-text);
  font-size: 0.68rem;
  font-weight: 560;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.ex-banner a {
  color: var(--gold);
  text-decoration: none;
}

.ex-wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.ex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 20px;
}

.wordmark {
  color: var(--ink);
  text-decoration: none;
}

.wordmark strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wordmark span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 560;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ex-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}

.ex-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}

.ex-nav a.touch {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0 28px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--rust);
  font-size: 0.68rem;
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rust);
}

h1,
h2,
.display,
.signature strong {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(3.2rem, 5.8vw, 4.8rem);
  line-height: 0.96;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--rust);
}

h1 em {
  display: block;
}

.lede {
  max-width: 38ch;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 1.02rem;
}

.btn-down {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--button);
  color: #e7eeea;
  font-size: 0.92rem;
  text-decoration: none;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portrait {
  margin: 0;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.anchor-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px 28px;
  align-items: center;
  margin-top: 28px;
  padding: 18px 0 8px;
  border-top: 1px solid var(--line);
}

.anchor-strip p {
  margin: 0;
  color: var(--rust);
  font-size: 0.66rem;
  font-weight: 620;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.anchor-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.anchor-strip a {
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}

.block {
  padding: 72px 0;
}

.split {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px 32px;
  align-items: start;
}

.kicker {
  margin: 0.4em 0 0;
  color: var(--rust);
  font-size: 0.68rem;
  font-weight: 620;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  line-height: 1.05;
  color: var(--ink);
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
}

.two p,
.think p,
.achievement-copy p,
.note {
  margin: 0;
  color: #3d4947;
}

.signature {
  margin: 28px 0 0;
}

.signature strong {
  display: block;
  color: var(--rust);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 500;
}

.signature span {
  color: var(--muted);
  font-size: 0.92rem;
}

.think {
  background: var(--sage);
  padding: 64px 0;
}

.think-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.think-grid h3 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.step-no {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.achievement {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 320px;
  overflow: hidden;
}

.achievement-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 36px 32px 22px;
  background: var(--forest);
  color: #f4f1ea;
  overflow: hidden;
}

.achievement-visual svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  width: 100%;
  height: 70%;
}

.display,
.field-note {
  position: relative;
  z-index: 1;
}

.display {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.field-note {
  margin: 24px 0 0;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.achievement-copy {
  padding: 36px 36px 32px;
  background: var(--beige);
}

.achievement-copy .eyebrow {
  margin-bottom: 14px;
}

.achievement-copy h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.sample-placeholder {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  margin: 22px 0 0;
  color: var(--rust);
  font-size: 0.95rem;
}

.sample-placeholder .label {
  border-bottom: 1px solid var(--rust);
  padding-bottom: 2px;
}

.sample-note {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts {
  margin: 8px 0 18px;
}

.facts div {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 12px 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  color: var(--ink);
}

.note {
  max-width: 62ch;
  font-size: 0.95rem;
}

.contact {
  background: var(--contact);
  color: #f6f5ee;
  padding: 72px 0;
}

.contact-kicker {
  margin-bottom: 22px;
  color: #e7d2c4;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px 40px;
  align-items: center;
}

.contact h2 {
  max-width: 11ch;
  margin: 0;
  color: #f6f5ee;
  font-weight: 500;
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
}

.contact p {
  margin: 0 0 12px;
  color: #e4ebe7;
}

.contact a.mail {
  color: #f6f5ee;
  font-size: 1.05rem;
  text-underline-offset: 4px;
}

.demo {
  margin-top: 8px !important;
  color: #c9d5d0 !important;
  font-size: 0.82rem !important;
}

.ex-footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 18px 28px;
  align-items: end;
  padding: 28px 0 36px;
}

.ex-footer .wordmark strong {
  font-size: 1.45rem;
}

.ex-footer .tagline {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.disclaimer a {
  color: var(--ink);
}

.to-top {
  color: var(--ink);
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .ex-wrap {
    width: min(1120px, calc(100% - 36px));
  }

  .ex-header,
  .hero,
  .split,
  .two,
  .think-grid,
  .achievement,
  .facts div,
  .contact-grid,
  .ex-footer {
    grid-template-columns: 1fr;
  }

  .ex-header,
  .anchor-strip,
  .ex-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .ex-nav {
    gap: 10px 16px;
  }

  .hero {
    gap: 28px;
    padding-top: 12px;
  }

  .block,
  .think,
  .contact {
    padding: 48px 0;
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
