/* palette: bg=#1A1A1A fg=#F4F4F2 accent=#F0C808 */
/* fonts: display="Archivo" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #1A1A1A;
  --bg-alt: #222220;
  --bg-deep: #131311;
  --fg: #F4F4F2;
  --fg-soft: #D6D6D2;
  --muted: #8E8E86;
  --accent: #F0C808;
  --accent-deep: #C9A400;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --serif: 'Archivo', ui-sans-serif, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains 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);
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  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 { margin: 0; font-family: var(--serif); font-weight: 800; }
p { margin: 0; }

.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; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--accent);
}
.eyebrow--plain::before { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 9999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #16160f; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { background: var(--accent); color: #16160f; transform: translateY(-2px); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg); transition: gap .3s var(--ease), color .3s var(--ease);
}
.arrow-link .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.arrow-link:hover { color: var(--accent); gap: 16px; }
.arrow-link:hover .arrow { background: var(--accent); color: #16160f; border-color: var(--accent); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26, 26, 26, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.8);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 800; letter-spacing: -0.02em; font-size: 19px; }
.brand__mark {
  width: 26px; height: 26px; border-radius: 6px; background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  color: #16160f; font-size: 14px; font-weight: 800;
}
.nav { display: none; align-items: center; gap: 34px; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-soft); transition: color .3s var(--ease); position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 8px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 24px; height: 2px; background: var(--fg); transition: transform .3s var(--ease), opacity .3s 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: 0; z-index: 99;
  background: var(--bg-deep);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 32px;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 9vw, 3rem);
  letter-spacing: -0.02em; padding: 8px 0; color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 64px; overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; width: 100%;
}
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }
.hero__eyebrow { margin-bottom: 22px; }
.hero__name {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.hero h1 {
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  line-height: 0.92; letter-spacing: -0.04em; font-weight: 800;
  text-transform: uppercase;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__roles {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.hero__roles span { position: relative; padding-left: 16px; }
.hero__roles span::before { content: "—"; position: absolute; left: 0; color: var(--muted); }
.hero__lead { max-width: 46ch; color: var(--muted); font-size: 16px; line-height: 1.72; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media {
  position: relative; aspect-ratio: 4/5; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.15) 0%, rgba(26,26,26,0.55) 100%);
}

.hero__scroll {
  position: absolute; left: 20px; bottom: 40px; z-index: 3;
  display: none;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 1100px) { .hero__scroll { display: inline-flex; align-items: center; gap: 14px; } }
.hero__squiggle {
  position: absolute; top: 12%; right: -40px; width: 220px; opacity: 0.5; z-index: 0;
  color: var(--accent); pointer-events: none; display: none;
}
@media (min-width: 1100px) { .hero__squiggle { display: block; } }

/* ---------- stats band ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: clamp(28px, 4vw, 48px) 24px; }
.stat__num { font-family: var(--serif); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1; }
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- section head ---------- */
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 780px; }
.section-head h2 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.03em; line-height: 0.98; margin: 22px 0 20px; text-transform: uppercase; }
.section-head h2 em { font-style: normal; color: var(--accent); }
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.72; max-width: 60ch; }

/* ---------- cases ---------- */
.case {
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center;
  padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--border);
}
@media (min-width: 900px) { .case { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.case__index { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
.case h3 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -0.03em; line-height: 0.98; text-transform: uppercase; margin: 14px 0 18px; }
.case p { color: var(--muted); font-size: 16px; line-height: 1.72; max-width: 52ch; margin-bottom: 24px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 9999px; color: var(--fg-soft);
}
.case__media { aspect-ratio: 5/4; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case:hover .case__media img { transform: scale(1.05); }

/* ---------- manifesto (inverted band) ---------- */
.manifesto { background: var(--accent); color: #16160f; }
.manifesto .container { text-align: center; }
.manifesto .quote-mark { font-family: var(--serif); font-weight: 800; font-size: clamp(4rem, 10vw, 8rem); line-height: 0.6; display: block; margin-bottom: 8px; }
.manifesto p {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem); line-height: 1.12; letter-spacing: -0.02em;
  max-width: 940px; margin: 0 auto;
}
.manifesto .manifesto__by { margin-top: 32px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }

/* ---------- services grid ---------- */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.svc {
  background: var(--bg); padding: clamp(32px, 3.5vw, 44px);
  display: flex; flex-direction: column; gap: 16px; min-height: 300px;
  transition: background .4s var(--ease);
}
.svc:hover { background: var(--bg-alt); }
.svc__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); }
.svc h3 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.svc p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-top: auto; }

/* ---------- events / community ---------- */
.events { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 820px) { .events { grid-template-columns: repeat(3, 1fr); } }
.event {
  border: 1px solid var(--border); border-radius: 10px; padding: 32px;
  display: flex; flex-direction: column; gap: 14px; background: var(--bg-alt);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.event:hover { transform: translateY(-4px); border-color: var(--accent); }
.event__date { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.event h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.15; }
.event p { color: var(--muted); font-size: 15px; line-height: 1.68; }
.event__meta { margin-top: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--border); }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0; text-align: left;
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.5rem); letter-spacing: -0.01em; color: var(--fg);
}
.faq__q .sign { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong); position: relative; transition: background .3s var(--ease), border-color .3s var(--ease); }
.faq__q .sign::before, .faq__q .sign::after { content: ""; position: absolute; background: var(--fg); top: 50%; left: 50%; transform: translate(-50%,-50%); transition: opacity .3s var(--ease), background .3s var(--ease); }
.faq__q .sign::before { width: 12px; height: 2px; }
.faq__q .sign::after { width: 2px; height: 12px; }
.faq__item[data-open="true"] .sign { background: var(--accent); border-color: var(--accent); }
.faq__item[data-open="true"] .sign::before, .faq__item[data-open="true"] .sign::after { background: #16160f; }
.faq__item[data-open="true"] .sign::after { opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__a p { color: var(--muted); font-size: 16px; line-height: 1.75; padding-bottom: 28px; max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-deep); border-top: 1px solid var(--border); }
.cta-band .container { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .cta-band .container { grid-template-columns: 1.3fr 0.7fr; } }
.cta-band h2 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); letter-spacing: -0.03em; line-height: 0.98; text-transform: uppercase; }
.cta-band h2 em { font-style: normal; color: var(--accent); }
.cta-band p { color: var(--muted); margin-top: 18px; font-size: 16px; max-width: 48ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 860px) { .cta-band__actions { justify-content: flex-end; } }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.info-block { margin-bottom: 30px; }
.info-block h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; font-weight: 500; }
.info-block p { color: var(--fg-soft); font-size: 16px; line-height: 1.7; }
.info-block a:hover { color: var(--accent); }

.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 6px;
  padding: 14px 16px; color: var(--fg); font-family: var(--sans); font-size: 15px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--bg); }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { align-self: flex-start; margin-top: 6px; }
.form__note { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.form__note a { color: var(--accent); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(120px, 16vw, 200px) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(3rem, 9vw, 7rem); letter-spacing: -0.04em; line-height: 0.94; text-transform: uppercase; margin: 22px 0 24px; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 62ch; }

/* ---------- prose (legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 44px 0 16px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 12px; font-weight: 700; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16px; line-height: 1.8; }
.prose p { margin-bottom: 16px; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); }
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- thanks ---------- */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks h1 { font-size: clamp(3rem, 9vw, 6.5rem); letter-spacing: -0.04em; line-height: 0.94; text-transform: uppercase; margin-bottom: 24px; }
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks p { color: var(--muted); font-size: 18px; max-width: 52ch; margin: 0 auto 34px; }

/* ---------- footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: clamp(64px, 8vw, 100px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 44px; padding-bottom: 56px; border-bottom: 1px solid var(--border); }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand .brand { font-size: 24px; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 34ch; }
.footer__col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 500; }
.footer__col a { display: block; color: var(--fg-soft); font-size: 15px; padding: 6px 0; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-direction: column; gap: 14px; padding-top: 30px; }
@media (min-width: 640px) { .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer__bottom p, .footer__bottom a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }

/* ---------- 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 .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg-alt); border: 1px solid var(--border); padding: 32px 36px; max-width: 480px; border-radius: 10px; }
.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.35rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.cookie-popup__card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 20px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--border); cursor: pointer; font-size: 12px; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; border-radius: 9999px; color: var(--fg); transition: background .3s var(--ease), color .3s var(--ease); }
.cookie-popup__actions button:hover { border-color: var(--border-strong); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #16160f; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

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