/* palette: bg=#0B0B0B fg=#F4F4F2 accent=#A3E635 */
/* fonts: display="Archivo" body="Inter" mono="Space Mono" */

:root {
  --bg: #0B0B0B;
  --bg-alt: #151515;
  --bg-elev: #1B1B1B;
  --fg: #F4F4F2;
  --fg-soft: #CBCBC7;
  --muted: #8A8A87;
  --accent: #A3E635;
  --accent-deep: #84CC16;
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.07);
  --serif: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 50px -12px rgba(0, 0, 0, 0.6);
}

*, *::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; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--alt { background: var(--bg-alt); }
.section--flush { padding-bottom: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  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;
}
.eyebrow--plain::before { display: none; }

h1, h2, h3 { font-family: var(--serif); margin: 0; }

.h-display {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3rem, 10vw, 8.5rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
}
.h-display em { font-style: normal; color: var(--accent); }

.h-section {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.h-section em { font-style: normal; color: var(--accent); }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.btn--primary { background: var(--accent); color: #0B0B0B; font-weight: 700; }
.btn--primary:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

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

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(11, 11, 11, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 8px 30px -20px rgba(0, 0, 0, 0.8);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.15rem; }
.brand__mark {
  width: 26px; height: 26px; border-radius: 6px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #0B0B0B; font-size: 15px; font-weight: 900;
}
.nav { display: none; gap: 34px; }
@media (min-width: 940px) { .nav { display: flex; } }
.nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  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: 1px; background: var(--accent);
  transition: width 0.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%; }
.header__cta { display: none; }
@media (min-width: 940px) { .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: 940px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 22px; height: 2px; background: var(--fg); transition: transform 0.3s var(--ease), opacity 0.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 {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: 100px 24px 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -0.02em;
  padding: 8px 0; border-bottom: 1px solid var(--border-soft);
}
.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: flex-end;
  overflow: hidden;
  margin-top: -74px;
  padding-top: 74px;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.72);
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,11,11,0.55) 0%, rgba(11,11,11,0.25) 40%, rgba(11,11,11,0.92) 100%);
}
.hero__inner { width: 100%; padding-bottom: clamp(48px, 8vw, 96px); padding-top: clamp(80px, 12vw, 120px); }
.hero__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.6fr 1fr; align-items: end; } }
.hero__aside { border-left: 2px solid var(--accent); padding-left: 22px; }
.hero__aside p { margin: 0 0 22px; color: var(--fg-soft); font-size: 1.02rem; }
.hero__scroll {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--muted); margin-top: 30px;
  display: inline-flex; align-items: center; gap: 10px;
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden; padding: 18px 0; background: var(--bg);
}
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track span {
  font-family: var(--serif); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -0.01em; color: var(--fg);
  display: inline-flex; align-items: center; gap: 48px;
}
.marquee__track span::after { content: "◆"; color: var(--accent); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- intro / manifesto ---------- */
.statement {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 4.4vw, 3.4rem); line-height: 1.16; max-width: 20ch;
}
.statement em { font-style: normal; color: var(--accent); }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; } }

/* ---------- program / service cards ---------- */
.grid-cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 16 / 11; overflow: hidden; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.85);
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); filter: grayscale(0.35) contrast(1.05); }
.card__body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__idx { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; }
.card__title { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; line-height: 1.05; text-transform: uppercase; }
.card__text { color: var(--fg-soft); font-size: 0.98rem; margin: 0; }
.card__foot { margin-top: auto; padding-top: 14px; }

/* ---------- feature (dark band) ---------- */
.feature {
  background: var(--accent); color: #0B0B0B;
}
.feature .eyebrow { color: #0B0B0B; }
.feature .eyebrow::before { background: #0B0B0B; }
.feature .h-section em { color: #0B0B0B; -webkit-text-stroke: 1px #0B0B0B; }
.feature__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .feature__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; } }
.feature__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 2px; }
.feature__list li {
  display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(11,11,11,0.18);
  font-size: 1rem;
}
.feature__list li:last-child { border-bottom: 1px solid rgba(11,11,11,0.18); }
.feature__list b { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; min-width: 34px; }

/* ---------- stats ---------- */
.stats { display: grid; gap: 30px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 1px solid var(--border); padding-top: 20px; }
.stat__num { font-family: var(--serif); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.02em; line-height: 1; }
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ---------- testimonials ---------- */
.tgrid { display: grid; gap: 20px; }
@media (min-width: 860px) { .tgrid { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 28px 26px 26px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.quote:hover { transform: translateY(-5px); border-color: var(--border); }
.quote__mark { font-family: var(--serif); font-weight: 900; font-size: 3.4rem; line-height: 0.6; color: var(--accent); height: 30px; }
.quote__media { aspect-ratio: 5 / 3; border-radius: 8px; overflow: hidden; }
.quote__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(0.8); }
.quote__text { color: var(--fg-soft); font-size: 1rem; margin: 0; }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 800; font-size: 0.85rem; color: #0B0B0B;
  flex-shrink: 0;
}
.quote__name { font-weight: 600; font-size: 0.92rem; }
.quote__role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- manifesto band (inverted) ---------- */
.band {
  background: var(--fg); color: #0B0B0B;
  text-align: center;
}
.band .statement { margin: 0 auto; max-width: 24ch; }
.band .statement em { color: var(--accent-deep); }
.band .eyebrow { color: var(--accent-deep); justify-content: center; }
.band .eyebrow::before { background: var(--accent-deep); }

/* ---------- CTA ---------- */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta__inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- form ---------- */
.form-wrap { display: grid; gap: 44px; }
@media (min-width: 900px) { .form-wrap { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 16px; color: var(--fg); font: inherit; font-size: 0.98rem;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }
.form .btn { justify-self: start; margin-top: 6px; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: grid; gap: 4px; }
.contact-list .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.contact-list .v { color: var(--fg-soft); }

/* ---------- article / legal ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); text-transform: uppercase; margin: 48px 0 14px; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.2rem; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 1.02rem; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page-head { padding: clamp(120px, 16vw, 200px) 0 clamp(48px, 7vw, 90px); border-bottom: 1px solid var(--border-soft); }

/* ---------- footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--border-soft); padding: clamp(60px, 8vw, 100px) 0 40px; }
.footer__top { display: grid; gap: 44px; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand .brand { margin-bottom: 20px; }
.footer__brand p { color: var(--muted); max-width: 42ch; font-size: 0.98rem; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a { color: var(--fg-soft); font-size: 0.96rem; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(50px, 7vw, 80px); padding-top: 26px; border-top: 1px solid var(--border-soft);
  display: flex; flex-direction: column; gap: 12px; justify-content: space-between; align-items: flex-start;
}
@media (min-width: 700px) { .footer__bottom { flex-direction: row; align-items: center; } }
.footer__bottom, .footer__bottom a { font-size: 0.82rem; color: var(--muted); }
.footer__bottom a:hover { color: var(--fg); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.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__bg img { animation: none; }
  .marquee__track { animation: none; }
}

/* ---------- 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.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-elev); border: 1px solid var(--border); padding: 30px 32px; max-width: 460px; border-radius: 12px; box-shadow: var(--shadow-lg); }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.cookie-popup__card h3 { font-family: var(--serif); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; margin: 12px 0 10px; }
.cookie-popup__card p { color: var(--fg-soft); font-size: 0.92rem; margin: 0; line-height: 1.6; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 22px; border: 1px solid var(--border); border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.cookie-popup__actions button:hover { border-color: var(--accent); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #0B0B0B; border-color: var(--accent); font-weight: 700; }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }
