@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-400-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f5f1e8;
  --page: #fffdf8;
  --ink: #14213d;
  --soft: #596171;
  --accent: #9b593a;
  --rule: rgba(20, 33, 61, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100dvh;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}
body::before {
  content: "";
  position: fixed;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; }
p { max-width: 64ch; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 3rem); margin-inline: auto; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 5; padding: 0.65rem 1rem; color: var(--page); background: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-head { border-bottom: 1px solid var(--rule); padding: 1.4rem 0; }
.site-head .wrap, .site-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { font-weight: 700; text-decoration: none; }
.brand span { display: block; margin-top: 0.1rem; color: var(--soft); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 1.5rem; font-size: 0.86rem; font-weight: 600; }
.button { display: inline-block; border: 1px solid var(--ink); padding: 0.72rem 1.15rem; color: var(--page); background: var(--ink); font-size: 0.86rem; font-weight: 700; text-decoration: none; transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.button:hover { border-color: var(--accent); background: var(--accent); transform: translateY(-2px); }

.hero { padding: clamp(4.5rem, 11vh, 8rem) 0 clamp(4rem, 9vh, 7rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr); gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.eyebrow { margin-bottom: 1.5rem; color: var(--accent); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
h1 { max-width: 14ch; font-size: clamp(3.6rem, 7vw, 6.7rem); line-height: 0.93; }
.lede { margin-top: 2rem; color: var(--soft); font-size: 1.1rem; }
.proof { border-top: 1px solid var(--ink); }
.proof div { border-bottom: 1px solid var(--rule); padding: 1.25rem 0; }
.proof dt { color: var(--soft); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.proof dd { margin-top: 0.25rem; font-size: 1.15rem; font-weight: 600; }

.section { padding: clamp(4rem, 9vh, 7rem) 0; }
.section.alt { background: var(--ink); color: var(--page); }
.section-head { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); margin-bottom: clamp(3rem, 7vh, 5rem); align-items: end; }
.section h2 { max-width: 13ch; font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: 0.98; }
.section-head p { color: var(--soft); }
.alt .section-head p { color: rgba(255, 253, 248, 0.68); }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid currentColor; }
.topic { min-height: 14rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 2rem clamp(1.25rem, 3vw, 2.5rem) 2rem 0; }
.topic:nth-child(3n), .topic:last-child { border-right: 0; }
.topic:nth-child(3n + 2), .topic:nth-child(3n + 3) { padding-left: clamp(1.25rem, 3vw, 2.5rem); }
.topic h3 { margin-bottom: 1rem; font-size: 1.55rem; }
.topic p { color: var(--soft); }
.alt .topic { border-color: rgba(255, 253, 248, 0.2); }
.alt .topic p { color: rgba(255, 253, 248, 0.68); }

.area-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.area-copy h2 { margin-bottom: 1.5rem; }
.area-copy p { color: var(--soft); }
.details { border-top: 1px solid var(--ink); }
.details div { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 2rem; border-bottom: 1px solid var(--rule); padding: 1.3rem 0; }
.details dt { font-weight: 700; }
.details dd { color: var(--soft); }

.cta { padding: clamp(4rem, 10vh, 7rem) 0; background: #e8e1d6; }
.cta .wrap { display: flex; justify-content: space-between; gap: 3rem; align-items: end; }
.cta h2 { max-width: 14ch; font-size: clamp(2.7rem, 5vw, 4.6rem); }
.cta p { margin-top: 1rem; color: var(--soft); }
.site-foot { padding: 2rem 0; background: #e8e1d6; color: var(--soft); font-size: 0.78rem; }

@media (max-width: 780px) {
  .wrap { width: min(100% - 2rem, 1240px); }
  nav a:not(.button) { display: none; }
  .hero-grid, .section-head, .area-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  h1 { font-size: clamp(3.4rem, 16vw, 5.4rem); }
  .proof { margin-top: 1rem; }
  .topics { grid-template-columns: 1fr; }
  .topic, .topic:nth-child(3n), .topic:nth-child(3n + 2), .topic:nth-child(3n + 3) { min-height: 0; border-right: 0; padding: 2rem 0; }
  .details div { grid-template-columns: 1fr; gap: 0.35rem; }
  .cta .wrap, .site-foot .wrap { align-items: flex-start; flex-direction: column; }
}

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