/* palette: bg=#F1ECE0 fg=#15243B accent=#C8102E */
/* fonts: display="Hanken Grotesk" body="Hanken Grotesk" mono="IBM Plex Mono" */

/* ============================================================
   AVYNQELO — Italian modernism (Vignelli): cream / navy / red
   Design cloned from an atmospheric, full-bleed editorial ref.
   ============================================================ */

:root {
  --bg: #F1ECE0;         /* dominant cream background */
  --bg-alt: #E6DFCE;     /* deeper cream, alternating sections */
  --bg-card: #FBF8F1;    /* card surface, near-white cream */
  --fg: #15243B;         /* deep navy — primary text */
  --fg-soft: #2A3A56;    /* softer navy */
  --muted: #6E7385;      /* secondary text */
  --accent: #C8102E;     /* Vignelli red */
  --accent-deep: #99101F;/* darker red for hover */
  --accent-bright: #E24338; /* red for text over dark photos */
  --line: rgba(21, 36, 59, 0.14);
  --line-soft: rgba(21, 36, 59, 0.08);
  --border: rgba(21, 36, 59, 0.14);

  --serif: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 32px);
  --section-y: 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;
  font-weight: 400;
  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; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 { font-size: clamp(3.4rem, 9.5vw, 8.5rem); line-height: 0.98; letter-spacing: -0.03em; font-weight: 300; }
h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.022em; font-weight: 300; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -0.012em; font-weight: 500; }
p { margin: 0 0 1.1em; }
em { font-style: normal; color: var(--accent); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 1.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { background: var(--muted); }
.eyebrow--light { color: rgba(241,236,224,0.7); }
.eyebrow--light::before { background: rgba(241,236,224,0.5); }

.lead { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.55; color: var(--fg-soft); font-weight: 400; letter-spacing: -0.01em; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.container--narrow { max-width: 880px; }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }

.section-head { max-width: 820px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: clamp(20px, 3vw, 34px); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 999px;
  background: var(--accent); color: #fff;
  transition: background .3s var(--ease), transform .3s var(--ease);
  font-weight: 500;
}
.btn:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--light { background: var(--bg); color: var(--fg); }
.btn--light:hover { background: #fff; color: var(--fg); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg); font-weight: 500;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.arrow-link .arw { transition: transform .3s var(--ease); color: var(--accent); }
.arrow-link:hover { color: var(--accent); }
.arrow-link:hover .arw { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(241, 236, 224, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(21,36,59,0.06), 0 8px 30px -18px rgba(21,36,59,0.35);
  border-bottom-color: var(--line-soft);
}
.header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: baseline; gap: 8px; letter-spacing: -0.02em; }
.brand__mark { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--fg); }
.brand__sub { font-family: var(--serif); font-size: 1.35rem; font-weight: 300; color: var(--accent); }
.brand:hover .brand__mark { color: var(--accent); }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 3vw, 40px); align-items: center; }
.nav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: lowercase;
  color: var(--fg-soft); position: relative; padding: 4px 0; transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--accent); transition: width .3s 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%; }
.nav__cta { margin-left: 8px; }

.menu-toggle {
  width: 44px; height: 44px; display: inline-flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px; margin-right: -8px;
}
.menu-toggle span { width: 22px; height: 1.6px; background: var(--fg); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) 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.6px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg); padding: 110px var(--pad) 40px;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-top: 1px solid var(--line); }
.mobile-menu li:last-child { border-bottom: 1px solid var(--line); }
.mobile-menu a { display: block; padding: 22px 0; font-family: var(--serif); font-size: clamp(2rem,9vw,2.8rem); font-weight: 300; letter-spacing: -0.02em; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu__foot { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); line-height: 2; }
.mobile-menu__foot a { font: inherit; display: inline; padding: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; color: #F4F1EA;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,25,44,0.42) 0%, rgba(15,25,44,0.30) 42%, rgba(15,25,44,0.66) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: rgba(255,255,255,0.85); }
.hero h1 { color: #F4F1EA; max-width: 15ch; text-shadow: 0 2px 40px rgba(0,0,0,0.25); }
.hero h1 em { color: var(--accent-bright); }
.hero__corners {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 0 var(--pad) clamp(24px, 4vw, 40px);
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.hero__contact { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; line-height: 1.9; color: rgba(244,241,234,0.9); }
.hero__contact a:hover { color: #fff; }
.hero__scroll { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244,241,234,0.85); display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll .bar { width: 34px; height: 1px; background: rgba(244,241,234,0.7); overflow: hidden; position: relative; }
.hero__scroll .bar::after { content:""; position:absolute; inset:0; background:#fff; animation: scrollBar 2.4s var(--ease) infinite; }
@keyframes scrollBar { 0%{transform:translateX(-100%)} 60%,100%{transform:translateX(100%)} }

/* ---------- Manifesto / statement ---------- */
.statement { text-align: left; }
.statement p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 4.4vw, 3.4rem); line-height: 1.18; letter-spacing: -0.02em; color: var(--fg); max-width: 20ch; margin: 0; }
.statement p em { color: var(--accent); }
.statement--center { text-align: center; }
.statement--center p { max-width: 22ch; margin: 0 auto; }

/* dark inverted band */
.band-dark { background: var(--fg); color: var(--bg); }
.band-dark .pullquote {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 5vw, 4rem);
  line-height: 1.16; letter-spacing: -0.02em; max-width: 22ch; margin: 0;
}
.band-dark .pullquote em { color: var(--accent-bright); }
.band-dark .quote-mark { font-family: var(--serif); font-size: clamp(4rem, 12vw, 9rem); line-height: 0.6; color: var(--accent); display: block; margin-bottom: 12px; }
.band-dark .quote-cite { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(241,236,224,0.6); margin-top: 34px; display: block; }

/* ---------- Showcase (full-bleed chapters) ---------- */
.showcase { position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #F4F1EA; text-align: center; }
.showcase + .showcase { border-top: 1px solid rgba(255,255,255,0.08); }
.showcase__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.showcase:hover .showcase__img { transform: scale(1.08); }
.showcase__veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,25,44,0.30), rgba(15,25,44,0.5)); }
.showcase__inner { position: relative; z-index: 2; padding: 60px var(--pad); max-width: 900px; }
.showcase__index { font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; color: rgba(244,241,234,0.8); text-transform: uppercase; }
.showcase__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 8vw, 6rem); line-height: 1; letter-spacing: -0.03em; margin: 18px 0 20px; }
.showcase__desc { font-size: 1.05rem; color: rgba(244,241,234,0.86); max-width: 46ch; margin: 0 auto 26px; }
.showcase__inner .arrow-link { color: #fff; }
.showcase__inner .arrow-link .arw { color: var(--accent-bright); }
.showcase__inner .arrow-link:hover { color: var(--accent-bright); }

/* ---------- Services list ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: auto 1fr; gap: 18px 28px;
  align-items: start; padding: clamp(28px, 4vw, 46px) 0; border-bottom: 1px solid var(--line);
  transition: color .3s var(--ease);
}
.svc-row__no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); padding-top: 6px; }
.svc-row__body h3 { margin-bottom: 12px; }
.svc-row__body p { color: var(--muted); max-width: 62ch; margin: 0; }
.svc-row__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; }
.svc-row:hover h3 { color: var(--accent); }

/* ---------- Card grid ---------- */
.cards { grid-template-columns: 1fr; }
.card {
  background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: 6px;
  padding: 32px 30px 30px; display: flex; flex-direction: column; height: 100%;
  box-shadow: 0 4px 24px -4px rgba(21,36,59,0.08);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 44px -10px rgba(21,36,59,0.16); }
.card__no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 22px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 1rem; margin: 0; }
.card__media { margin: -32px -30px 24px; aspect-ratio: 16/10; overflow: hidden; border-radius: 6px 6px 0 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--bg); padding: clamp(28px,4vw,44px) clamp(20px,3vw,32px); }
.band-dark .stats { background: rgba(241,236,224,0.16); border-color: rgba(241,236,224,0.16); }
.band-dark .stat { background: var(--fg); }
.stat__num { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; color: var(--fg); }
.band-dark .stat__num { color: var(--bg); }
.stat__num b { color: var(--accent); font-weight: 300; }
.band-dark .stat__num b { color: var(--accent-bright); }
.stat__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.band-dark .stat__label { color: rgba(241,236,224,0.62); }

/* ---------- Community / events ---------- */
.event { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: center; }
.event:first-child { border-top: 1px solid var(--line); }
.event__date { text-align: center; min-width: 66px; }
.event__day { font-family: var(--serif); font-weight: 300; font-size: 2.4rem; line-height: 1; letter-spacing: -0.02em; }
.event__mon { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.event__body h3 { font-size: 1.25rem; margin-bottom: 5px; }
.event__body p { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; color: var(--muted); }
.event__cta { display: none; }

/* ---------- Testimonials ---------- */
.quotes { grid-template-columns: 1fr; }
.quote-card { background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: 6px; padding: 34px 32px; display: flex; flex-direction: column; height: 100%; }
.quote-card blockquote { margin: 0 0 26px; font-family: var(--serif); font-weight: 300; font-size: 1.35rem; line-height: 1.4; letter-spacing: -0.01em; color: var(--fg); }
.quote-card__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; color: #fff; font-size: 1rem; letter-spacing: 0.02em; flex-shrink: 0; }
.quote-card__name { font-weight: 600; font-size: 0.98rem; }
.quote-card__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; font-family: var(--serif); font-weight: 500; font-size: clamp(1.15rem, 2.2vw, 1.5rem); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex-shrink: 0; font-family: var(--mono); color: var(--accent); font-size: 1.3rem; transition: transform .3s var(--ease); line-height: 1; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq__answer { padding: 0 60px 28px 0; color: var(--muted); max-width: 72ch; }
.faq__answer p { margin: 0; }

/* ---------- Split (about / feature) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split__media { aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body p { color: var(--fg-soft); }

/* principles / values list */
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.principles li { padding: 26px 0; border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles h3 { font-size: 1.2rem; margin-bottom: 8px; }
.principles p { color: var(--muted); margin: 0; font-size: 1rem; }
.principles .idx { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 12px; display: block; }

/* team text cards (no faces) */
.team { grid-template-columns: 1fr; }
.member { border-top: 2px solid var(--fg); padding: 22px 0 26px; }
.member__mono { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 6px; font-family: var(--serif); font-weight: 600; color: #fff; margin-bottom: 20px; font-size: 1.1rem; }
.member h3 { font-size: 1.2rem; margin-bottom: 4px; }
.member__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.member p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin: 0 auto 28px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px,6vw,72px); }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 9px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--fg);
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 4px;
  padding: 14px 16px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,16,46,0.12);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: var(--muted); margin-top: 14px; }
.contact-info dl { margin: 0; }
.contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact-info dd { margin: 0 0 26px; font-size: 1.05rem; color: var(--fg-soft); line-height: 1.6; }
.contact-info dd a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--fg); color: var(--bg); padding: clamp(64px,9vw,110px) 0 40px; }
.footer a { color: rgba(241,236,224,0.72); transition: color .25s var(--ease); }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 44px; padding-bottom: clamp(48px,7vw,84px); border-bottom: 1px solid rgba(241,236,224,0.14); }
.footer__brand .brand__mark { color: var(--bg); }
.footer__brand .brand__sub { color: var(--accent-bright); }
.footer__tag { margin-top: 22px; max-width: 34ch; color: rgba(241,236,224,0.66); font-size: 1.05rem; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(241,236,224,0.5); font-weight: 500; margin-bottom: 20px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 12px; font-size: 0.98rem; }
.footer__bottom { display: flex; flex-direction: column; gap: 14px; padding-top: 34px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: rgba(241,236,224,0.5); }
.footer__bottom a { color: rgba(241,236,224,0.5); }

/* ---------- Legal pages ---------- */
.legal { padding-top: clamp(48px,8vw,96px); padding-bottom: var(--section-y); }
.legal h1 { font-size: clamp(2.6rem,7vw,5rem); margin-bottom: 18px; }
.legal .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 48px; display: block; }
.legal h2 { font-size: clamp(1.5rem,3vw,2.1rem); margin: 48px 0 16px; font-weight: 500; }
.legal h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 1.02rem; line-height: 1.75; }
.legal ul { padding-left: 1.2em; margin-bottom: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); }
.legal a:hover { color: var(--accent-deep); }

/* page hero (interior pages) */
.page-hero { padding: clamp(70px,10vw,140px) 0 clamp(40px,6vw,72px); }
.page-hero h1 { font-size: clamp(2.8rem,8vw,6.5rem); max-width: 16ch; }
.page-hero .lead { margin-top: 26px; max-width: 60ch; }

/* thank you */
.thanks { min-height: 78vh; display: flex; align-items: center; }
.thanks__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.thanks h1 { font-size: clamp(3rem,9vw,7rem); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s 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; }
  .hero__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(15,25,44,0.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 30px 34px; max-width: 460px; border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(15,25,44,0.5); border: 1px solid var(--line); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.35rem; margin-bottom: 12px; font-weight: 500; }
.cookie-popup__card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; transition: background .25s var(--ease), color .25s var(--ease); }
.cookie-popup__actions button:hover { background: var(--bg-alt); }
.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); }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .principles { grid-template-columns: 1fr 1fr; gap: 0 clamp(40px,5vw,80px); }
  .split { grid-template-columns: 1.05fr 1fr; }
  .split--rev .split__media { order: 2; }
  .contact-grid { grid-template-columns: 1.2fr 0.9fr; }
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr; gap: 56px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .event__cta { display: inline-flex; }
  .svc-row { grid-template-columns: 90px 1fr; }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .split--about { grid-template-columns: 1fr 1fr; }
}
