@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-warm: #f6f4f1;
  --ink: #161616;
  --muted: #5c5854;
  --line: #e6e1db;
  --scarlet: #e31c22;
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --wrap: 1120px;
  --header: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color-scheme: light;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: #f6d0d2;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--scarlet);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: 0.75rem;
  transform: translateY(-150%);
  background: #fff;
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  z-index: 40;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(44rem, calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  width: 27px;
  height: 28px;
  align-self: center;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-ai {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  top: -0.55rem;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.4rem 0;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a.button {
  color: #fff;
  background: var(--ink);
}

.nav-links a:not(.button):hover,
.nav-links a[aria-current="page"]:not(.button) {
  color: var(--scarlet);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1.15rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 2px;
  line-height: 1;
  cursor: pointer;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
}

.button:hover,
.button:focus-visible,
.nav-links a.button:hover,
.nav-links a.button[aria-current="page"] {
  background: var(--scarlet);
  border-color: var(--scarlet);
  color: #fff;
}

.hero {
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3,
.statement,
.questions li,
.footer-word {
  font-family: var(--serif);
  font-weight: 400;
}

a {
  color: inherit;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 8.4vw, 7.15rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  max-width: none;
}

h1 em {
  font-style: italic;
  font-weight: 400;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6.6vw, 5.6rem);
  max-width: none;
}

h2.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: none;
  line-height: 1.4;
}

.prose h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  max-width: 18ch;
  margin-top: 2.4rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.mt {
  margin-top: 1.5rem;
}

.prose a,
.contact-aside a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.prose a:hover,
.contact-aside a:hover {
  color: var(--scarlet);
}

.lede {
  margin: 1.5rem 0 0;
  max-width: 38rem;
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: #2d2a27;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-figure,
.figure {
  margin: 0;
}

.hero-figure {
  padding-bottom: clamp(1rem, 4vw, 2rem);
}

.hero-figure .wrap,
.figure {
  background: var(--bg-warm);
  padding: clamp(0.75rem, 2vw, 1.75rem);
}

.hero-figure img,
.figure img {
  width: 100%;
}

figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(4rem, 9vw, 7.25rem) 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 4.5vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.section p,
.prose p {
  max-width: 40rem;
  margin: 0;
}

.section p + p,
.prose p + p {
  margin-top: 1rem;
}

.statement {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.capabilities,
.steps,
.sources,
.plain-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}

.capabilities li,
.steps li {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.index {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--scarlet);
  font-size: 1.35rem;
}

.capabilities h3,
.steps h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split img {
  width: 100%;
}

.questions li {
  font-style: italic;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.sources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.sources li {
  padding: 1.15rem 1.25rem 1.15rem 0;
  border-top: 1px solid var(--line);
}

.sources strong {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.sources span,
.note,
.faq-item p,
.contact-aside p {
  color: #3a3632;
}

.plain-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.crumbs a {
  color: inherit;
}

.page-hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

form {
  display: grid;
  gap: 1rem;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label span,
.field-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2px;
  padding: 0.8rem 0.85rem;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.cta h2 {
  max-width: 12ch;
}

.footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 7vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem 1.5rem;
}

.footer-note {
  margin: 1rem 0 0;
  max-width: 18rem;
  color: var(--muted);
}

.footer-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer a {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0.2rem 0;
}

.footer a:hover {
  color: var(--scarlet);
}

.footer-word-wrap {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.footer-word {
  margin: 0;
  font-size: clamp(4.5rem, 17vw, 14rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.legal {
  padding: 1rem 0 1.5rem;
}

.legal p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: none;
}

@media (max-width: 980px) {
  .capabilities,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .split.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.4rem var(--pad) 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .nav-links.is-open {
    display: flex;
    z-index: 30;
    background: #fff;
    box-shadow: 0 18px 40px rgba(22, 22, 22, 0.06);
  }

  .nav-links a:not(.button) {
    font-family: var(--serif);
    font-size: 1.7rem;
    padding: 0.35rem 0;
  }

  .nav-links .button {
    margin-top: 0.85rem;
    align-self: flex-start;
  }

  .capabilities,
  .steps,
  .sources,
  .fields,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.55rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .header,
  .nav-toggle,
  .footer-word,
  .actions,
  .button {
    display: none !important;
  }

  body {
    font-size: 12pt;
  }

  a {
    color: inherit;
    text-decoration: none;
  }
}
