/* palette: bg=#0B0B0D fg=#F3F0E9 accent=#E3B23C */
/* fonts: display="Fraunces" body="Nunito Sans" mono="Space Mono" */

:root {
  --bg: #0B0B0D;         /* dominant near-black background (from reference) */
  --bg-alt: #131317;     /* alternating section background */
  --bg-elev: #1A1A20;    /* card surface */
  --fg: #F3F0E9;         /* warm off-white primary text */
  --fg-soft: #CFCBC1;    /* slightly softer text */
  --muted: #8A867C;      /* secondary / caption text */
  --accent: #E3B23C;     /* warm gold accent (reference hero link) */
  --accent-deep: #C08E1E;/* darker gold for hover */
  --leaf: #7FB069;       /* subtle leaf-green secondary (solarpunk eco-tech nod) */
  --clay: #C9754B;       /* warm clay tertiary */
  --border: rgba(243, 240, 233, 0.12);
  --border-soft: rgba(243, 240, 233, 0.07);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Nunito 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);
  --maxw: 1240px;
  --pad: clamp(80px, 12vw, 160px);
}

*, *::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;
  -moz-osx-font-smoothing: grayscale;
  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: #0B0B0D; }

/* ── Layout helpers ─────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.section { padding: var(--pad) 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.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h2.section-title { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.025em; max-width: 16ch; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; }
p { margin: 0 0 1.1em; color: var(--fg-soft); }
em { font-style: italic; color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--fg-soft); line-height: 1.7; max-width: 62ch; }

.section-head { max-width: var(--maxw); margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lead { margin-top: 22px; }

/* ── Buttons & links ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #0B0B0D; box-shadow: 0 10px 30px -12px rgba(227, 178, 60, 0.6); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(227, 178, 60, 0.5); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn__arrow { transition: transform 0.4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow:hover { color: var(--accent); gap: 14px; }

/* ── Header ─────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.72);
  -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"] {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 8px 40px -18px rgba(0, 0, 0, 0.9);
  background: rgba(11, 11, 13, 0.88);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.32rem; letter-spacing: -0.01em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--clay));
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: #0B0B0D;
  transform: rotate(-4deg);
}
.nav { display: none; }
@media (min-width: 900px) { .nav { display: flex; align-items: center; gap: 34px; } }
.nav a {
  font-size: 14px; font-weight: 700; color: var(--fg-soft);
  position: relative; padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--accent); transition: width 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; }
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
.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: 74px 0 0; z-index: 99;
  background: var(--bg);
  padding: 40px 24px;
  transform: translateY(-8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

/* ── Hero ───────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,13,0.55) 0%, rgba(11,11,13,0.2) 35%, rgba(11,11,13,0.85) 100%),
    radial-gradient(120% 90% at 15% 90%, rgba(11,11,13,0.7), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(64px, 10vw, 120px); padding-top: 120px; }
.hero h1 { font-size: clamp(3.2rem, 9.5vw, 8.6rem); letter-spacing: -0.035em; font-weight: 300; max-width: 15ch; }
.hero .lead { margin-top: 30px; max-width: 52ch; color: var(--fg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__scroll {
  position: absolute; right: clamp(20px, 4vw, 48px); bottom: 40px; z-index: 1;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-soft);
  display: none; writing-mode: vertical-rl; align-items: center; gap: 12px;
}
@media (min-width: 900px) { .hero__scroll { display: inline-flex; } }
.hero__scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); }

/* ── Stats ──────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: clamp(30px, 4vw, 52px) clamp(20px, 3vw, 36px); }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1; color: var(--fg); }
.stat__num span { color: var(--accent); }
.stat__label { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* ── Work grid (featured projects) ──────────────── */
.work-grid { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 34px); }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--bg-elev); border: 1px solid var(--border-soft);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.work-card:hover { transform: translateY(-6px); border-color: rgba(227,178,60,0.35); box-shadow: 0 22px 50px -20px rgba(0,0,0,0.8); }
.work-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.06); }
.work-card__body { padding: 26px 26px 30px; }
.work-card__tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.work-card__tag.is-leaf { color: var(--leaf); }
.work-card h3 { margin: 14px 0 10px; font-size: 1.3rem; }
.work-card p { font-size: 15.5px; margin-bottom: 0; color: var(--muted); }

/* ── Manifesto (dark inverted band) ─────────────── */
.manifesto { background: var(--fg); color: #0B0B0D; text-align: center; }
.manifesto .container { max-width: 960px; }
.manifesto__quote { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.16; letter-spacing: -0.02em; color: #0B0B0D; }
.manifesto__quote em { color: var(--accent-deep); }
.manifesto__mark { font-family: var(--serif); font-size: clamp(5rem, 12vw, 9rem); line-height: 0.5; color: var(--accent); display: block; height: 0.55em; }
.manifesto__by { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(11,11,13,0.55); margin-top: 40px; }

/* ── Services list ──────────────────────────────── */
.svc-list { border-top: 1px solid var(--border); }
.svc-row {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  padding: clamp(30px, 4vw, 48px) 0; border-bottom: 1px solid var(--border);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
@media (min-width: 860px) { .svc-row { grid-template-columns: 64px minmax(0, 4fr) 6fr auto; align-items: start; gap: 30px; } }
.svc-row:hover { background: rgba(243,240,233,0.02); }
.svc-row__num { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 8px; }
.svc-row h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.svc-row p { margin: 0; font-size: 16px; color: var(--muted); }
.svc-row__go { align-self: center; }
.svc-row__go svg { width: 26px; height: 26px; color: var(--fg-soft); transition: color 0.3s var(--ease), transform 0.4s var(--ease); }
.svc-row:hover .svc-row__go svg { color: var(--accent); transform: translate(4px, -4px); }

/* ── Feature / split ────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split--flip .split__media { order: -1; } }
.split__media { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--border-soft); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split ul.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--fg-soft); font-size: 16.5px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(227,178,60,0.14); border: 1px solid rgba(227,178,60,0.4);
}
.checks li::after { content: ""; position: absolute; left: 6px; top: 13px; width: 6px; height: 3px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }

/* ── Community / network ────────────────────────── */
.people-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
.person {
  padding: 30px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-elev);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.person:hover { transform: translateY(-4px); border-color: var(--border); }
.avatar {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px; color: #0B0B0D; margin-bottom: 22px;
}
.person h3 { font-size: 1.2rem; }
.person__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 6px 0 14px; }
.person p { font-size: 15px; color: var(--muted); margin: 0; }

/* ── Events ─────────────────────────────────────── */
.events { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 900px) { .events { grid-template-columns: repeat(3, 1fr); } }
.event { display: flex; gap: 22px; padding: 28px; border: 1px solid var(--border); border-radius: 14px; transition: border-color 0.4s var(--ease), background 0.4s var(--ease); }
.event:hover { border-color: rgba(227,178,60,0.35); background: rgba(227,178,60,0.03); }
.event__date { text-align: center; flex-shrink: 0; }
.event__day { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--accent); }
.event__mon { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.event h3 { font-size: 1.12rem; line-height: 1.25; }
.event__meta { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* ── Testimonials ───────────────────────────────── */
.quotes { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote-card { padding: clamp(30px, 4vw, 44px); border: 1px solid var(--border); border-radius: 16px; background: var(--bg-alt); }
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; letter-spacing: -0.01em; color: var(--fg); }
.quote-card figcaption { margin-top: 26px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.quote-card figcaption::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.quote-card .badge-ph { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); opacity: 0.6; display: block; margin-top: 8px; }

/* ── FAQ ────────────────────────────────────────── */
.faq { max-width: 900px; 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: 28px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--accent); transition: transform 0.35s var(--ease); }
.faq summary .plus::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq summary .plus::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq details[open] summary .plus::after { transform: scaleY(0); }
.faq details[open] summary { color: var(--accent); }
.faq__answer { padding: 0 0 30px; max-width: 68ch; }
.faq__answer p { margin: 0; color: var(--fg-soft); }

/* ── CTA band ───────────────────────────────────── */
.cta {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 80% 0%, rgba(227,178,60,0.16), transparent 55%), var(--bg-alt);
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
}
.cta__inner { text-align: center; max-width: 820px; margin: 0 auto; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.03em; }
.cta .lead { margin: 24px auto 40px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ── Contact form ───────────────────────────────── */
.contact-wrap { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 1fr 1.1fr; } }
.contact-info dl { margin: 0; display: grid; gap: 28px; }
.contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact-info dd { margin: 0; font-size: 17px; color: var(--fg-soft); }
.contact-info dd a:hover { color: var(--accent); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; color: var(--fg-soft); letter-spacing: 0.01em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--fg); background: var(--bg-elev);
  border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #16161c; }
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.form .consent input { margin-top: 4px; accent-color: var(--accent); }
.form .consent a { color: var(--fg-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ── Footer ─────────────────────────────────────── */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border-soft); padding: clamp(56px, 8vw, 96px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 44px; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand .brand { font-size: 1.5rem; margin-bottom: 20px; }
.footer__brand p { font-size: 15px; color: var(--muted); max-width: 34ch; }
.footer__col h4 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__col a { font-size: 15px; color: var(--fg-soft); transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--border-soft); }
.footer__bottom p { margin: 0; font-size: 13px; color: var(--muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a { font-size: 13px; color: var(--muted); }
.footer__legal a:hover { color: var(--accent); }

/* ── Page hero (interior pages) ─────────────────── */
.page-hero { padding: clamp(120px, 16vw, 200px) 0 clamp(56px, 8vw, 90px); border-bottom: 1px solid var(--border-soft); position: relative; }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6.2rem); font-weight: 300; letter-spacing: -0.035em; max-width: 16ch; }
.page-hero .lead { margin-top: 26px; }
.breadcrumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--accent); }

/* ── Prose (legal pages) ────────────────────────── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 48px 0 16px; }
.prose h3 { font-size: 1.25rem; margin: 32px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16.5px; line-height: 1.8; }
.prose ul { padding-left: 20px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }

/* ── Thanks page ────────────────────────────────── */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; }
.thanks__inner { max-width: 640px; }
.thanks__badge { width: 78px; height: 78px; border-radius: 50%; background: rgba(127,176,105,0.14); border: 1px solid var(--leaf); display: grid; place-items: center; margin: 0 auto 34px; }
.thanks__badge svg { width: 34px; height: 34px; color: var(--leaf); }
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 300; }
.thanks .btn { margin-top: 36px; }

/* ── Reveal animation ───────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
[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; }
}

/* ── Cookie popup ───────────────────────────────── */
.cookie-popup {
  position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 24px; background: rgba(0,0,0,0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg-elev); padding: 32px 36px; max-width: 480px; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 30px 70px -20px rgba(0,0,0,0.8); }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; color: var(--fg-soft); line-height: 1.65; margin: 0; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button { padding: 12px 26px; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 700; transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease); }
.cookie-popup__actions button:first-child:hover { border-color: var(--fg-soft); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #0B0B0D; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ── Utilities ──────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
