/* palette: bg=#F1EDE1 fg=#161616 accent=#2A52D6 */
/* fonts: display="Hanken Grotesk" body="Hanken Grotesk" mono="Space Mono" */

:root {
  --bg: #F1EDE1;          /* cream — dominant body background */
  --bg-alt: #E7E1D1;      /* deeper cream — alternating sections */
  --ink: #0A0A0A;         /* hero black band */
  --fg: #161616;          /* primary text on cream */
  --fg-soft: #33322D;     /* slightly lighter foreground */
  --muted: #74705F;       /* secondary warm-grey text */
  --accent: #2A52D6;      /* blue — links & interactive */
  --accent-deep: #1C3AAB; /* darker blue for hover */
  --green: #0F3B34;       /* deep teal inverted band */
  --green-soft: #17564C;  /* lighter teal */
  --sage: #CBD79C;        /* pale handwriting on dark */
  --cream-dark: #F1EDE1;  /* cream used on dark backgrounds */
  --border: rgba(22, 22, 22, 0.14);
  --border-soft: rgba(22, 22, 22, 0.08);

  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --script: 'Caveat', ui-sans-serif, cursive;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --pad-y: clamp(80px, 12vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ————————————————————————————————— layout helpers */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } body { font-size: 18px; } }

.section { padding: var(--pad-y) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
  display: inline-block;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--sage { color: var(--sage); }

/* soft biomorphic blobs (family nod) */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* ————————————————————————————————— typography scale */
h1, h2, h3, h4 { font-weight: 400; margin: 0; letter-spacing: -0.02em; line-height: 1.04; }

.display {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(3.5rem, 10vw, 9rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--fg-soft);
}
.muted { color: var(--muted); }
em { font-style: normal; color: var(--accent); }
.serif { font-family: var(--serif); }

/* ————————————————————————————————— buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s;
  border: 1px solid transparent;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: var(--accent); color: #fff; }
.btn--ghost { border-color: var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--light { background: var(--cream-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--outline-light { border-color: rgba(241,237,225,0.35); color: var(--cream-dark); }
.btn--outline-light:hover { border-color: var(--cream-dark); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
  font-size: 15px;
  transition: gap 0.35s var(--ease), color 0.3s;
}
.arrow-link .ar { transition: transform 0.35s var(--ease); }
.arrow-link:hover { color: var(--accent-deep); }
.arrow-link:hover .ar { transform: translateX(5px); }

/* ————————————————————————————————— header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px;
}
@media (min-width: 768px) { .header__inner { padding: 22px 32px; } }

.header[data-scrolled="true"] {
  background: rgba(241, 237, 225, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 8px 30px -18px rgba(0,0,0,0.35);
}
/* header sitting on the black hero */
.header--onhero .nav__link,
.header--onhero .brand,
.header--onhero .menu-toggle span { color: var(--cream-dark); }
.header--onhero .brand__sub { color: rgba(241,237,225,0.6); }
.header--onhero .menu-toggle span { background: var(--cream-dark); }
.header--onhero .btn--ghost { border-color: rgba(241,237,225,0.3); color: var(--cream-dark); }
.header--onhero .btn--ghost:hover { border-color: var(--cream-dark); }
.header--onhero[data-scrolled="true"] {
  background: rgba(10,10,10,0.72);
  border-bottom-color: rgba(255,255,255,0.08);
}

.brand { display: flex; flex-direction: column; line-height: 0.98; letter-spacing: -0.02em; }
.brand__mark { font-size: 21px; font-weight: 600; }
.brand__sub { font-size: 21px; font-weight: 300; color: var(--muted); }

.nav { display: none; gap: 30px; align-items: center; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav__link {
  font-size: 15px;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; top: -8px;
  width: 0; height: 2px; background: currentColor;
  transition: width 0.35s var(--ease);
}
.nav__link:hover { color: var(--fg); }
.nav__link.is-active { color: var(--fg); }
.nav__link.is-active::after { width: 22px; }
.header--onhero .nav__link.is-active { color: #fff; }

.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; padding: 11px 22px; } }

.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 30px; padding: 6px 0;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--fg); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--cream-dark);
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 28px;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a { font-family: var(--sans); font-weight: 300; font-size: clamp(2rem, 9vw, 3rem); padding: 14px 0; letter-spacing: -0.03em; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .mm-meta { margin-top: 36px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: rgba(241,237,225,0.55); text-transform: uppercase; }

/* ————————————————————————————————— hero (black, 100vh, text-only) */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  color: var(--cream-dark);
  display: flex;
  flex-direction: column;
  margin-top: -72px; /* pull under sticky header */
  padding-top: 72px;
  overflow: hidden;
}
.hero__grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: clamp(60px, 12vh, 130px) 20px 48px;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) { .hero__grid { padding: clamp(90px, 16vh, 160px) 32px 56px; } }

.hero__eyebrow { color: rgba(241,237,225,0.6); }
.hero h1 { color: var(--cream-dark); text-transform: lowercase; max-width: 14ch; }
.hero h1 em { color: var(--accent); }
.hero__bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(48px, 12vh, 120px);
}
.hero__lead {
  max-width: 30ch;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.28;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--cream-dark);
}
.hero__scroll {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(241,237,225,0.5); display: inline-flex; align-items: center; gap: 10px;
}
.hero .blob--1 { width: 620px; height: 620px; right: -180px; top: -120px; background: radial-gradient(circle, rgba(42,82,214,0.55), transparent 70%); opacity: 0.35; }
.hero .blob--2 { width: 520px; height: 520px; left: -160px; bottom: -180px; background: radial-gradient(circle, rgba(23,86,76,0.7), transparent 70%); opacity: 0.4; }

/* ————————————————————————————————— generic section head */
.sec-head { max-width: 760px; }
.sec-head .h2 { margin-bottom: 22px; }
.sec-head p { color: var(--muted); max-width: 54ch; }

.split {
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
@media (min-width: 900px) { .split { grid-template-columns: 0.9fr 1.1fr; } }
.split--balanced { grid-template-columns: 1fr; }
@media (min-width: 900px) { .split--balanced { grid-template-columns: 1fr 1fr; } }

/* ————————————————————————————————— intro / story */
.story__lead { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 300; line-height: 1.28; letter-spacing: -0.025em; max-width: 20ch; }
.story__body p { color: var(--fg-soft); margin: 0 0 20px; max-width: 52ch; }
.story__body p:last-child { margin-bottom: 0; }

/* stats row */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; margin-top: clamp(48px, 8vw, 80px); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--sans); font-weight: 300; font-size: clamp(2.6rem, 5vw, 3.8rem); letter-spacing: -0.03em; line-height: 1; }
.stat__num em { color: var(--accent); }
.stat__label { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.4; max-width: 22ch; }

/* ————————————————————————————————— principles accordion */
.principles { border-top: 1px solid var(--border); margin-top: clamp(40px, 6vw, 64px); }
.principle { border-bottom: 1px solid var(--border); }
.principle > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(22px, 3vw, 30px) 0;
  cursor: pointer;
}
.principle > summary::-webkit-details-marker { display: none; }
.principle__num { font-family: var(--mono); font-size: 13px; color: var(--muted); flex: 0 0 auto; width: 34px; }
.principle__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 3vw, 2rem); letter-spacing: -0.01em; line-height: 1.15; flex: 1; }
.principle__icon { flex: 0 0 auto; width: 26px; height: 26px; position: relative; transition: transform 0.4s var(--ease); }
.principle__icon::before, .principle__icon::after { content: ""; position: absolute; background: var(--fg); border-radius: 2px; }
.principle__icon::before { left: 50%; top: 2px; width: 2px; height: 22px; transform: translateX(-50%); }
.principle__icon::after { top: 50%; left: 2px; height: 2px; width: 22px; transform: translateY(-50%); }
.principle[open] .principle__icon { transform: rotate(135deg); }
.principle__body { padding: 0 0 clamp(24px, 3vw, 34px) 54px; max-width: 62ch; color: var(--fg-soft); animation: fade-in 0.5s var(--ease); }
.principle__body p { margin: 0; }
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ————————————————————————————————— formula band (cream text left / green band right) */
.formula { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .formula { grid-template-columns: 1fr 1fr; } }
.formula__text { padding: var(--pad-y) 20px; background: var(--bg-alt); }
@media (min-width: 768px) { .formula__text { padding: var(--pad-y) clamp(32px, 6vw, 90px); } }
.formula__text .h2 { margin: 18px 0 26px; }
.formula__text p { color: var(--fg-soft); max-width: 46ch; }
.formula__board {
  background: var(--green);
  color: var(--cream-dark);
  padding: var(--pad-y) 20px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .formula__board { padding: var(--pad-y) clamp(32px, 6vw, 80px); } }
.formula__board h3 { font-family: var(--sans); font-weight: 300; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin-bottom: 30px; }
.hand { font-family: var(--script); color: var(--sage); line-height: 1.15; display: block; }
.hand--lg { font-size: clamp(2rem, 6vw, 3.4rem); }
.hand--md { font-size: clamp(1.6rem, 4.5vw, 2.6rem); margin-left: clamp(20px, 6vw, 80px); }
.hand--sm { font-size: clamp(1.4rem, 3.6vw, 2rem); }
.hand-row { display: flex; align-items: center; gap: 14px; margin: 18px 0; flex-wrap: wrap; }
.hand-plus { font-family: var(--script); color: var(--sage); font-size: clamp(2rem, 5vw, 3rem); }
.hand-arrow { color: var(--sage); }
.formula__board .blob { width: 400px; height: 400px; right: -140px; bottom: -140px; background: radial-gradient(circle, rgba(203,215,156,0.3), transparent 70%); opacity: 0.5; }

/* ————————————————————————————————— cards grid (services / areas) */
.grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: clamp(44px, 6vw, 72px); }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.08);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -12px rgba(0,0,0,0.18); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__index { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.12em; }
.card__title { font-family: var(--sans); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.15; }
.card__text { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0; }
.card__foot { margin-top: auto; padding-top: 10px; }

/* text-only service list variant */
.svc-list { border-top: 1px solid var(--border); margin-top: clamp(40px, 6vw, 64px); }
.svc-item { display: grid; grid-template-columns: 1fr; gap: 8px 40px; padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .svc-item { grid-template-columns: 60px 0.9fr 1.4fr auto; align-items: baseline; } }
.svc-item__num { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.svc-item__title { font-family: var(--sans); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.02em; }
.svc-item__desc { color: var(--fg-soft); font-size: 16.5px; max-width: 46ch; }

/* ————————————————————————————————— manifesto / pull-quote */
.manifesto { background: var(--ink); color: var(--cream-dark); text-align: center; position: relative; overflow: hidden; }
.manifesto .container { position: relative; z-index: 2; }
.manifesto__mark { font-family: var(--serif); font-size: clamp(5rem, 14vw, 11rem); line-height: 0.6; color: var(--accent); display: block; height: 0.5em; }
.manifesto__text { font-family: var(--sans); font-weight: 300; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.16; letter-spacing: -0.03em; max-width: 18ch; margin: 30px auto 0; }
.manifesto__text em { color: var(--sage); }
.manifesto__who { margin-top: 34px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(241,237,225,0.55); }
.manifesto .blob--a { width: 560px; height: 560px; left: -160px; top: -160px; background: radial-gradient(circle, rgba(23,86,76,0.7), transparent 70%); opacity: 0.5; }
.manifesto .blob--b { width: 480px; height: 480px; right: -150px; bottom: -180px; background: radial-gradient(circle, rgba(42,82,214,0.45), transparent 70%); opacity: 0.35; }

/* ————————————————————————————————— CTA band */
.cta { background: var(--green); color: var(--cream-dark); position: relative; overflow: hidden; }
.cta .container { position: relative; z-index: 2; display: grid; gap: 34px; align-items: end; }
@media (min-width: 900px) { .cta .container { grid-template-columns: 1.3fr 0.7fr; } }
.cta h2 { font-family: var(--sans); font-weight: 300; font-size: clamp(2.4rem, 5.5vw, 4.5rem); letter-spacing: -0.03em; line-height: 1.02; }
.cta h2 em { color: var(--sage); }
.cta p { color: rgba(241,237,225,0.72); max-width: 40ch; margin: 20px 0 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta .blob { width: 520px; height: 520px; right: -160px; top: -160px; background: radial-gradient(circle, rgba(203,215,156,0.22), transparent 70%); opacity: 0.6; }

/* ————————————————————————————————— contact / form */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }
.info-list { display: grid; gap: 26px; margin-top: 34px; }
.info-item { border-top: 1px solid var(--border); padding-top: 16px; }
.info-item .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.info-item .v { font-size: 18px; margin-top: 6px; line-height: 1.5; }
.info-item .v a:hover { color: var(--accent); }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; color: var(--fg);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 15px 18px; width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a8a394; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(42,82,214,0.12); }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.form__consent input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--accent); }
.form__consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ————————————————————————————————— footer */
.footer { background: var(--ink); color: var(--cream-dark); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; gap: 44px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.footer__brand .brand__mark { color: var(--cream-dark); }
.footer__brand .brand__sub { color: rgba(241,237,225,0.55); }
.footer__brand p { color: rgba(241,237,225,0.62); max-width: 32ch; margin: 20px 0 0; font-size: 15.5px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(241,237,225,0.5); font-weight: 400; margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; color: rgba(241,237,225,0.8); font-size: 15.5px; margin-bottom: 12px; transition: color 0.3s; }
.footer__col a:hover { color: #fff; }
.footer__word { font-family: var(--sans); font-weight: 300; font-size: clamp(3.4rem, 15vw, 12rem); letter-spacing: -0.05em; line-height: 0.9; margin: clamp(56px, 9vw, 100px) 0 0; text-transform: lowercase; color: rgba(241,237,225,0.94); }
.footer__bar { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer__bar p, .footer__bar a { font-size: 13px; color: rgba(241,237,225,0.55); }
.footer__bar a:hover { color: #fff; }
.footer__bar .footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* ————————————————————————————————— page hero (inner pages) */
.page-hero { background: var(--ink); color: var(--cream-dark); padding: clamp(120px, 20vh, 220px) 0 clamp(70px, 10vw, 120px); position: relative; overflow: hidden; margin-top: -72px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { text-transform: lowercase; max-width: 16ch; color: var(--cream-dark); }
.page-hero h1 em { color: var(--accent); }
.page-hero__lead { color: rgba(241,237,225,0.7); max-width: 46ch; margin-top: 26px; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 300; }
.page-hero .blob { width: 560px; height: 560px; right: -180px; top: -160px; background: radial-gradient(circle, rgba(23,86,76,0.65), transparent 70%); opacity: 0.5; }

/* legal / prose pages */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--sans); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin: clamp(40px, 6vw, 64px) 0 18px; }
.prose h3 { font-size: 1.2rem; font-weight: 600; margin: 30px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16.5px; line-height: 1.78; }
.prose p { margin: 0 0 18px; }
.prose ul { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--fg); font-weight: 600; }

/* thank-you page */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks .container { max-width: 640px; }
.thanks__icon { width: 74px; height: 74px; border-radius: 50%; background: var(--green); color: var(--sage); display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; font-size: 34px; }

/* ————————————————————————————————— reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}

/* ————————————————————————————————— cookie popup */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; padding: 24px; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 30px 32px 28px; max-width: 460px; border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5); }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-family: var(--sans); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 12px 24px; border: 1px solid var(--border); border-radius: 9999px; font-size: 14px; font-weight: 500; transition: transform 0.3s var(--ease), background 0.3s, color 0.3s; }
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* utilities */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--fg); color: var(--bg); padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.mt-sm { margin-top: 22px; } .mt-md { margin-top: 40px; }
