/* palette: bg=#F1EEE1 fg=#2A332B accent=#6B7D56 */
/* fonts: display="Fraunces" body="Work Sans" mono="Space Mono" */

:root {
  --bg: #F1EEE1;          /* cream paper — dominant background */
  --bg-alt: #E7E4D3;      /* deeper sage-cream for alternating sections */
  --bg-card: #F7F5EC;     /* lifted card paper */
  --fg: #2A332B;          /* deep moss ink */
  --fg-soft: #434C40;     /* softened ink */
  --muted: #727A6A;       /* sage-grey secondary text */
  --accent: #6B7D56;      /* moss / sage green */
  --accent-deep: #51613E; /* deep moss for hover */
  --accent-wash: #DDE2CC; /* pale sage wash */
  --paper-line: rgba(42, 51, 43, 0.09);
  --border: rgba(42, 51, 43, 0.14);
  --border-strong: rgba(42, 51, 43, 0.28);
  --shadow-card: 0 4px 24px -4px rgba(42, 51, 43, 0.10);
  --shadow-hover: 0 14px 44px -10px rgba(42, 51, 43, 0.20);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Work Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--bg); }

/* ---------- layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.section { padding: clamp(80px, 12vw, 160px) 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(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 60ch;
}
.muted { color: var(--muted); }

/* herbarium rule — thin double line divider */
.rule {
  border: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  height: 3px;
  margin: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 1.05em 1.7em;
  border-radius: 9999px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  white-space: nowrap;
}
.btn--pill { background: var(--fg); color: var(--bg); }
.btn--pill:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn--outline { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--outline:hover { background: var(--fg); color: var(--bg); transform: translateY(-2px); }
.btn--light { background: var(--bg); color: var(--fg); }
.btn--light:hover { background: var(--accent); color: var(--bg); transform: translateY(-2px); }
.btn--ghost { padding-left: 0; padding-right: 0; border-radius: 0; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  transition: gap 0.35s var(--ease), color 0.35s var(--ease);
}
.arrow-link .arrow { transition: transform 0.35s var(--ease); }
.arrow-link:hover { color: var(--fg); gap: 14px; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 238, 225, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 var(--paper-line), 0 8px 30px -18px rgba(42, 51, 43, 0.4);
  border-bottom-color: var(--paper-line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}
.nav { display: none; gap: 34px; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-size: 14px;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--fg); }
.nav__cta { display: none; }
@media (min-width: 900px) { .nav__cta { display: inline-flex; padding: 0.8em 1.4em; } }

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

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 76px 0 0;
  z-index: 95;
  background: var(--bg);
  padding: 40px 24px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__nav a {
  font-family: var(--serif);
  font-size: 2rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-line);
}
.mobile-menu__nav .btn { margin-top: 24px; justify-content: center; font-family: var(--sans); font-size: 15px; }

/* ---------- hero (split) ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: clamp(48px, 7vw, 90px) 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 18% 20%, rgba(107, 125, 86, 0.14), transparent 70%),
    radial-gradient(50% 60% at 92% 85%, rgba(107, 125, 86, 0.10), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero__fig {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(3.1rem, 9vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero__sub {
  margin-top: 30px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--fg-soft);
  line-height: 1.7;
  max-width: 46ch;
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__meta {
  margin-top: 54px;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero__meta div { min-width: 120px; }
.hero__meta .n { font-family: var(--serif); font-size: 2rem; line-height: 1; display: block; }
.hero__meta .l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; display: block; }

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) both;
}
.hero__tag {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(241, 238, 225, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
  max-width: 240px;
}
.hero__tag strong { display: block; color: var(--fg); font-size: 11px; margin-bottom: 4px; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- section heads ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.sec-head h2 em { font-style: italic; color: var(--accent); }
.sec-head p { margin-top: 24px; }
.sec-head--center p { margin-left: auto; margin-right: auto; }

.split-head {
  display: grid;
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}
@media (min-width: 900px) { .split-head { grid-template-columns: 1.4fr 1fr; } }
.split-head h2 { font-size: clamp(2.3rem, 5.5vw, 4rem); line-height: 1.03; letter-spacing: -0.02em; font-weight: 300; }
.split-head h2 em { font-style: italic; color: var(--accent); }

/* ---------- services / specimen cards ---------- */
.card-grid { display: grid; gap: 22px; }
@media (min-width: 680px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }
.card__fig {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--paper-line);
}
.card__fig .idx { color: var(--muted); }
.card h3 { font-size: 1.55rem; line-height: 1.15; letter-spacing: -0.01em; }
.card p { margin-top: 14px; color: var(--fg-soft); font-size: 15.5px; line-height: 1.66; flex-grow: 1; }
.card__foot { margin-top: 24px; }
.card ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 9px; }
.card ul li {
  font-size: 14px;
  color: var(--fg-soft);
  padding-left: 20px;
  position: relative;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 7px; height: 7px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ---------- manifesto dark band ---------- */
.manifesto {
  background: var(--fg);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 60% at 80% 18%, rgba(107, 125, 86, 0.30), transparent 72%),
    radial-gradient(40% 50% at 12% 95%, rgba(107, 125, 86, 0.22), transparent 70%);
  pointer-events: none;
}
.manifesto .container { position: relative; z-index: 1; }
.manifesto .eyebrow { color: var(--accent-wash); }
.manifesto .eyebrow::before { background: var(--accent-wash); }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 980px;
  margin: 18px auto 0;
  text-align: center;
}
.manifesto__quote em { font-style: italic; color: var(--accent-wash); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 0.6;
  color: var(--accent);
  display: block;
  text-align: center;
  height: 48px;
}
.manifesto__by {
  margin-top: 42px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-wash);
}

/* ---------- featured / editorial list ---------- */
.feature-list { display: flex; flex-direction: column; }
.feature-row {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  transition: padding 0.4s var(--ease);
}
.feature-row:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 860px) {
  .feature-row { grid-template-columns: 70px 1.3fr 1fr 150px; gap: 32px; }
}
.feature-row__idx { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }
.feature-row__title { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; letter-spacing: -0.01em; }
.feature-row__desc { color: var(--fg-soft); font-size: 15.5px; line-height: 1.6; }
.feature-row__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.feature-row:hover { background: rgba(107, 125, 86, 0.05); }
.feature-row:hover .feature-row__title { color: var(--accent-deep); }

.media-band {
  display: grid;
  gap: 22px;
  margin-top: clamp(40px, 6vw, 64px);
}
@media (min-width: 760px) { .media-band { grid-template-columns: repeat(3, 1fr); } }
.media-band figure {
  margin: 0;
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.media-band figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.media-band figure:hover img { transform: scale(1.05); }
.media-band figcaption {
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F1EEE1;
  background: rgba(42, 51, 43, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 7px 12px;
  border-radius: 7px;
}

/* ---------- process / numbered steps ---------- */
.steps { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--bg); padding: 34px 28px; }
.step__n {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}
.step h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.step p { margin-top: 12px; font-size: 14.5px; color: var(--fg-soft); line-height: 1.6; }

/* ---------- stats band ---------- */
.stats {
  display: grid;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: clamp(36px, 5vw, 56px) 28px; text-align: center; }
.stat .n { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; }
.stat .n em { font-style: normal; color: var(--accent); }
.stat .l { margin-top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 22px; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.quote p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; font-weight: 300; letter-spacing: -0.01em; }
.quote footer { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--bg);
  flex-shrink: 0;
  letter-spacing: 0.01em;
}
.quote footer .who { line-height: 1.3; }
.quote footer .who strong { font-weight: 600; font-size: 14.5px; }
.quote footer .who span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.placeholder-note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 20px; opacity: 0.7; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 48px 26px 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.7rem;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--accent-deep); }
.faq details p { padding: 0 48px 30px 0; color: var(--fg-soft); font-size: 16px; line-height: 1.7; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  background: var(--bg-alt);
}
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; font-weight: 300; max-width: 16ch; margin: 0 auto; }
.cta h2 em { font-style: italic; color: var(--accent); }
.cta p { margin: 26px auto 40px; max-width: 54ch; color: var(--fg-soft); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-info dl { margin: 0; display: flex; flex-direction: column; gap: 26px; }
.contact-info .row { border-top: 1px solid var(--border); padding-top: 18px; }
.contact-info dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-info dd { margin: 0; font-size: 1.05rem; color: var(--fg); }
.contact-info dd a:hover { color: var(--accent-deep); }

.form { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-soft); }
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(107, 125, 86, 0.16);
}
.field textarea { resize: vertical; min-height: 140px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form .btn { justify-content: center; margin-top: 6px; }
.form__consent { font-size: 13px; color: var(--muted); line-height: 1.6; }
.form__consent a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- footer ---------- */
.footer { background: var(--fg); color: var(--bg); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand .brand__mark { color: var(--bg); font-size: 1.9rem; }
.footer__brand p { margin-top: 20px; color: rgba(241, 238, 225, 0.62); max-width: 34ch; font-size: 15px; }
.footer__col h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-wash); font-weight: 400; margin-bottom: 20px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer__col ul li a { color: rgba(241, 238, 225, 0.72); font-size: 15px; transition: color 0.3s var(--ease); }
.footer__col ul li a:hover { color: var(--bg); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 28px;
  border-top: 1px solid rgba(241, 238, 225, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(241, 238, 225, 0.55);
}
.footer__bottom a { color: rgba(241, 238, 225, 0.7); }
.footer__bottom a:hover { color: var(--bg); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- page hero (interior) ---------- */
.page-hero { padding: clamp(56px, 10vw, 120px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 70% at 85% 10%, rgba(107, 125, 86, 0.12), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); line-height: 1.0; letter-spacing: -0.03em; font-weight: 300; max-width: 16ch; }
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero p { margin-top: 26px; max-width: 58ch; }

/* breadcrumb */
.crumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumb a:hover { color: var(--accent-deep); }

/* prose for legal */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -0.01em; margin: 56px 0 18px; font-weight: 400; }
.prose h3 { font-size: 1.2rem; margin: 32px 0 12px; font-weight: 500; font-family: var(--serif); }
.prose p { margin-bottom: 18px; color: var(--fg-soft); line-height: 1.78; }
.prose ul { margin: 0 0 18px; padding-left: 22px; color: var(--fg-soft); line-height: 1.78; }
.prose ul li { margin-bottom: 8px; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.prose .updated { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* thanks page */
.thanks { min-height: calc(100vh - 76px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.thanks__inner { max-width: 620px; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 300; }
.thanks h1 em { font-style: italic; color: var(--accent); }
.thanks p { margin: 24px auto 36px; color: var(--fg-soft); }
.thanks__mark { font-family: var(--serif); font-size: 4rem; color: var(--accent); line-height: 1; margin-bottom: 20px; }

/* ---------- cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; padding: 24px; background: rgba(42, 51, 43, 0.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 32px 36px; max-width: 480px; border-radius: 4px; border: 1px solid var(--border); box-shadow: var(--shadow-hover); }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.cookie-popup__card h3 { font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; color: var(--fg-soft); line-height: 1.65; }
.cookie-popup__card p a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 20px; }
.cookie-popup__actions button { padding: 10px 24px; border: 1px solid var(--border); cursor: pointer; font-size: 14px; border-radius: 9999px; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.cookie-popup__actions button:hover { background: var(--accent-wash); }
.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-deep); border-color: var(--accent-deep); }

/* utilities */
.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; }
.center { text-align: center; }
.mt-cta { margin-top: 48px; }
