/* palette: bg=#13171a fg=#e7e4da accent=#9fb487 */
/* fonts: display="Fraunces" body="Work Sans" mono="IBM Plex Mono" */

:root {
  --bg: #13171a;          /* dominant dark slate from reference */
  --bg-alt: #181d20;      /* alternating section background */
  --bg-soft: #1d2327;     /* card surface */
  --fg: #e7e4da;          /* warm off-white text */
  --fg-soft: #c5c4ba;     /* slightly softer fg */
  --muted: #828b81;       /* secondary text, sage-grey */
  --accent: #9fb487;      /* sage green accent */
  --accent-deep: #7f9869; /* darker accent for hover */
  --accent-glow: rgba(159, 180, 135, 0.14);
  --border: rgba(231, 228, 218, 0.13);
  --border-soft: rgba(231, 228, 218, 0.07);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Work Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 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: 18px;
  line-height: 1.76;
  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: #10130f; }

/* ---------- 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: 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: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0 0 1.1em; }
em { font-style: italic; color: var(--accent); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(19, 23, 26, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-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 10px 40px -20px rgba(0,0,0,0.7);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 22px; letter-spacing: -0.02em; }
.brand__mark {
  width: 30px; height: 30px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
  flex: none;
}
.brand__mark::before {
  content: "";
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}
.nav { display: none; align-items: center; gap: 38px; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-size: 14.5px;
  color: var(--fg-soft);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  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); }

.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: 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: 0; z-index: 99;
  background: var(--bg);
  padding: 96px 24px 40px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 2.8rem);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--fg-soft);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--accent); padding-left: 10px; }
.mobile-menu__foot { margin-top: auto; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #11140e; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 38px -14px var(--accent-glow); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; color: var(--accent);
  transition: gap 0.3s var(--ease);
}
.link-arrow:hover { gap: 14px; }
.link-arrow::after { content: "→"; font-family: var(--mono); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding: 120px 0 56px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; opacity: 0.42; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(159,180,135,0.10), transparent 55%),
    linear-gradient(180deg, rgba(19,23,26,0.55) 0%, rgba(19,23,26,0.82) 55%, var(--bg) 100%);
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 9rem);
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 14ch;
  margin: 0 0 32px;
}
.hero__lead {
  max-width: 56ch;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.66;
  color: var(--fg-soft);
  margin-bottom: 40px;
}

/* conversational chat pills (mirrors reference) */
.chat { max-width: 880px; }
.chat__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.chat__pill {
  font-size: 13.5px;
  color: var(--fg-soft);
  padding: 9px 17px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(29, 35, 39, 0.6);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.chat__pill:hover { border-color: var(--accent); color: var(--fg); transform: translateY(-2px); }
.chat__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 7px 7px 7px 22px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(29, 35, 39, 0.7);
  backdrop-filter: blur(8px);
  margin-top: 8px;
}
.chat__bar input {
  flex: 1; background: none; border: 0; outline: none;
  color: var(--fg); font-family: var(--sans); font-size: 15px; padding: 8px 0;
}
.chat__bar input::placeholder { color: var(--muted); }
.chat__send {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #11140e;
  display: grid; place-items: center; flex: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  font-size: 18px;
}
.chat__send:hover { background: var(--accent-deep); transform: scale(1.05); }

/* ---------- section heading block ---------- */
.head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.head h2 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.02em; margin: 0 0 24px; }
.head p { font-size: 1.12rem; color: var(--fg-soft); max-width: 60ch; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }

/* ---------- services / cards grid ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 34px 30px 38px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: 0 24px 60px -24px rgba(0,0,0,0.6); }
.card:hover::before { transform: scaleX(1); }
.card__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 22px; }
.card h3 { font-size: 1.55rem; margin: 0 0 14px; }
.card p { font-size: 0.97rem; line-height: 1.7; color: var(--muted); margin: 0; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.card__tags span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-soft); border: 1px solid var(--border-soft); border-radius: 9999px; padding: 4px 11px; }

/* ---------- work / case studies ---------- */
.work { display: grid; gap: 22px; }
@media (min-width: 820px) { .work { grid-template-columns: 1fr 1fr; } }
.work__item { position: relative; border-radius: 4px; overflow: hidden; border: 1px solid var(--border-soft); background: var(--bg-soft); }
.work__media { aspect-ratio: 16 / 11; overflow: hidden; }
.work__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.86; transition: transform 0.9s var(--ease), opacity 0.6s var(--ease); }
.work__item:hover .work__media img { transform: scale(1.05); opacity: 1; }
.work__body { padding: 26px 28px 30px; }
.work__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; gap: 14px; }
.work__body h3 { font-size: 1.55rem; margin: 0 0 12px; }
.work__body p { font-size: 0.97rem; color: var(--muted); margin: 0 0 18px; }

/* ---------- manifesto ---------- */
.manifesto { background: var(--accent); color: #11140e; }
.manifesto .container { text-align: center; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin: 0 auto;
}
.manifesto__mark { font-family: var(--serif); font-size: clamp(4rem, 12vw, 9rem); line-height: 0.6; display: block; margin-bottom: 10px; opacity: 0.4; }
.manifesto__by { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 38px; opacity: 0.7; }

/* ---------- approach / numbered list ---------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 38px 0;
  border-top: 1px solid var(--border-soft);
}
.step:last-child { border-bottom: 1px solid var(--border-soft); }
@media (min-width: 820px) { .step { grid-template-columns: 110px 1fr 1.3fr; gap: 40px; align-items: start; } }
.step__num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); padding-top: 6px; }
.step h3 { font-size: 1.7rem; margin: 0; }
.step p { font-size: 1.02rem; color: var(--fg-soft); margin: 0; }

/* ---------- stats ---------- */
.stats { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 30px 4px; border-top: 1px solid var(--border); }
.stat__n { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--fg); }
.stat__n em { color: var(--accent); }
.stat__l { font-size: 0.9rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 20px; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: 4px; padding: 34px 30px; display: flex; flex-direction: column; }
.quote p { font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--fg); font-style: italic; margin: 0 0 26px; }
.quote__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  font-family: var(--serif); font-size: 1rem; color: #11140e; font-weight: 500;
}
.quote__name { font-size: 0.95rem; color: var(--fg); }
.quote__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.placeholder-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 24px; }

/* ---------- team (monograms, no faces) ---------- */
.team { display: grid; gap: 18px; }
@media (min-width: 720px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: 4px; padding: 30px 26px 32px; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.member:hover { border-color: var(--border); transform: translateY(-4px); }
.member .avatar { width: 64px; height: 64px; font-size: 1.35rem; margin-bottom: 22px; }
.member h3 { font-size: 1.25rem; margin: 0 0 4px; }
.member__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.member p { font-size: 0.92rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* ---------- split (about / instructor) ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 72px; } }
.split--rev > :first-child { order: 2; }
@media (max-width: 899px) { .split--rev > :first-child { order: 0; } }
.split__media { border-radius: 4px; overflow: hidden; border: 1px solid var(--border-soft); aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.split h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 24px; }
.split p { color: var(--fg-soft); font-size: 1.05rem; }

/* ---------- big CTA ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 300; letter-spacing: -0.03em; margin: 0 0 28px; line-height: 1.04; }
.cta-band p { font-size: 1.15rem; color: var(--fg-soft); max-width: 52ch; margin: 0 auto 40px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; gap: 50px; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
.info-list { list-style: none; padding: 0; margin: 32px 0 0; }
.info-list li { padding: 22px 0; border-top: 1px solid var(--border-soft); }
.info-list li:last-child { border-bottom: 1px solid var(--border-soft); }
.info-list__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.info-list__v { font-size: 1.05rem; color: var(--fg); }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 9px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  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 textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--bg-alt); }
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.55; }
.form__consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.form__consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border-soft); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand .brand { font-size: 24px; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); font-size: 0.96rem; max-width: 34ch; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-soft); margin: 0 0 20px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__col a { color: var(--muted); font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
}
.footer__bottom p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a { font-size: 0.85rem; color: var(--muted); }
.footer__legal a:hover { color: var(--accent); }

/* ---------- page hero (interior pages) ---------- */
.page-hero { padding: clamp(120px, 18vw, 220px) 0 clamp(60px, 9vw, 110px); border-bottom: 1px solid var(--border-soft); position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(80% 120% at 80% -10%, var(--accent-glow), transparent 60%); pointer-events:none; }
.page-hero h1 { font-size: clamp(3rem, 9vw, 7rem); font-weight: 300; letter-spacing: -0.03em; max-width: 16ch; margin: 0 0 26px; position: relative; }
.page-hero p { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--fg-soft); max-width: 56ch; position: relative; }

/* ---------- legal / prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 56px 0 18px; }
.prose h3 { font-size: 1.25rem; margin: 34px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 1.02rem; line-height: 1.78; }
.prose ul { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--fg); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose__updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--border-soft); }
.faq__item:last-child { border-bottom: 1px solid var(--border-soft); }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 28px 0; font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.5rem); color: var(--fg); }
.faq__q span { font-family: var(--mono); font-size: 1.4rem; color: var(--accent); transition: transform 0.4s var(--ease); flex: none; line-height: 1; }
.faq__item[data-open="true"] .faq__q span { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq__item[data-open="true"] .faq__a { max-height: 320px; }
.faq__a p { color: var(--fg-soft); font-size: 1.02rem; padding-bottom: 28px; margin: 0; max-width: 64ch; }

/* ---------- 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); }

/* ---------- thanks ---------- */
.thanks { min-height: 84vh; display: grid; place-items: center; text-align: center; padding: 140px 0 100px; }
.thanks__mark { width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; margin: 0 auto 34px; color: var(--accent); font-size: 2rem; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 300; margin: 0 0 22px; }
.thanks p { color: var(--fg-soft); max-width: 48ch; margin: 0 auto 36px; font-size: 1.1rem; }

/* ---------- 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-soft); padding: 32px 36px; max-width: 480px; border-radius: 6px; border: 1px solid var(--border); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-size: 1.4rem; margin: 0 0 12px; }
.cookie-popup__card p { font-size: 0.92rem; color: var(--muted); line-height: 1.62; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 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), border-color 0.3s var(--ease); }
.cookie-popup__actions button:first-child:hover { border-color: var(--accent); color: var(--accent); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #11140e; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
