/* palette: bg=#0B0709 fg=#F4EFEA accent=#DB2F3E */
/* fonts: display="Space Grotesk" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #0B0709;
  --bg-alt: #140A0F;
  --bg-elev: #17101466;
  --fg: #F4EFEA;
  --fg-soft: #CFC7C1;
  --muted: #8B8188;
  --accent: #DB2F3E;
  --accent-deep: #A81C2A;
  --accent-blue: #3E6FDB;
  --border: rgba(244, 239, 234, 0.12);
  --border-soft: rgba(244, 239, 234, 0.07);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', 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: 17px;
  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 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0; }

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

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* ---- 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; transition-delay: calc(var(--i, 0) * 80ms); }

/* ---- header ---- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 7, 9, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.header[data-scrolled="true"] { border-bottom-color: var(--border); background: rgba(11, 7, 9, 0.94); }
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}
.brand {
  grid-column: 2;
  justify-self: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.brand span { color: var(--accent); }
.nav { display: none; gap: 34px; align-items: center; }
.nav--left { grid-column: 1; justify-self: start; }
.nav--right { grid-column: 3; justify-self: end; }
.nav a {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-soft);
  transition: color 0.25s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
@media (min-width: 1024px) { .nav { display: flex; } }

.menu-toggle {
  grid-column: 3; justify-self: end;
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.menu-toggle span { width: 22px; height: 1.5px; 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(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); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 72px 0 0; z-index: 99;
  background: var(--bg);
  padding: 40px 24px;
  transform: translateY(-12px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s 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: 30px; padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a:hover { color: var(--accent); }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.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-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--fg);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { color: var(--accent); gap: 14px; }

/* ---- hero ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.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; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(11,7,9,0.35), rgba(11,7,9,0.9) 78%),
    linear-gradient(180deg, rgba(11,7,9,0.55), rgba(11,7,9,0.75));
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 85%);
}
.hero__inner { position: relative; z-index: 2; max-width: 940px; }
.hero h1 {
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
  margin: 26px 0 30px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { max-width: 560px; color: var(--fg-soft); font-size: clamp(1rem, 2vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__ticker {
  position: absolute; bottom: 28px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--border-soft); padding-top: 16px;
}
.hero__ticker span { display: none; }
@media (min-width: 768px) { .hero__ticker span { display: inline; } }

/* ---- section headers ---- */
.sec-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.02em; font-weight: 300;
  margin: 22px 0 0;
}
.sec-head p { margin-top: 22px; color: var(--fg-soft); max-width: 620px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .eyebrow::before { display: none; }

/* ---- manifesto ---- */
.manifesto { background: var(--bg-alt); text-align: center; position: relative; }
.manifesto::before {
  content: "“"; font-family: var(--serif); font-size: clamp(8rem, 20vw, 16rem);
  color: var(--accent); opacity: 0.16; line-height: 0.6;
  display: block; margin-bottom: -20px;
}
.manifesto p {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.7rem, 4.4vw, 3.4rem);
  line-height: 1.22; letter-spacing: -0.015em;
  max-width: 940px; margin: 0 auto;
}
.manifesto p + p { margin-top: 1.1em; color: var(--fg-soft); }
.manifesto em { font-style: normal; color: var(--accent); }
.manifesto__sign { margin-top: 46px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---- stats ---- */
.stats-grid { display: grid; gap: 1px; background: var(--border-soft); grid-template-columns: 1fr; border: 1px solid var(--border-soft); }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 40px 32px; }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 400; letter-spacing: -0.02em; }
.stat__num span { color: var(--accent); }
.stat__label { margin-top: 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }

/* ---- services grid ---- */
.svc-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  border: 1px solid var(--border); border-radius: 6px;
  padding: 34px 30px 30px; background: var(--bg-elev);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
  display: flex; flex-direction: column; min-height: 260px;
}
.svc-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.svc-card__idx { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.svc-card h3 { font-size: 1.55rem; font-weight: 400; margin: 18px 0 12px; letter-spacing: -0.01em; }
.svc-card p { color: var(--fg-soft); font-size: 15.5px; line-height: 1.7; flex: 1; }
.svc-card .link-arrow { margin-top: 22px; }

/* ---- work / thumbnails scatter ---- */
.work-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(4, 1fr); } }
.work-item { position: relative; overflow: hidden; border-radius: 6px; border: 1px solid var(--border-soft); }
.work-item img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.5s var(--ease); filter: grayscale(0.25) brightness(0.82); }
.work-item:hover img { transform: scale(1.06); filter: grayscale(0) brightness(1); }
.work-item__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; background: linear-gradient(transparent, rgba(11,7,9,0.9)); }
.work-item__cap h4 { font-size: 1.05rem; font-weight: 400; }
.work-item__cap span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
@media (min-width: 900px) {
  .work-item:nth-child(2) { transform: translateY(38px); }
  .work-item:nth-child(4) { transform: translateY(24px); }
}

/* ---- spotlights (community) ---- */
.spot-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .spot-grid { grid-template-columns: repeat(3, 1fr); } }
.spot-card { border: 1px solid var(--border); border-radius: 6px; padding: 30px; transition: border-color 0.35s var(--ease); }
.spot-card:hover { border-color: var(--accent); }
.avatar {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 500; font-size: 20px; color: #fff;
}
.spot-card__role { margin-top: 20px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.spot-card h3 { font-size: 1.35rem; font-weight: 400; margin: 6px 0 12px; }
.spot-card p { color: var(--fg-soft); font-size: 15px; line-height: 1.7; }

/* ---- events ---- */
.event-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.event-row {
  display: grid; gap: 8px 32px; grid-template-columns: 1fr;
  padding: 30px 4px; border-bottom: 1px solid var(--border);
  transition: background 0.35s var(--ease); align-items: baseline;
}
.event-row:hover { background: var(--bg-elev); }
@media (min-width: 768px) { .event-row { grid-template-columns: 150px 1fr auto; } }
.event-row__date { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; }
.event-row__body h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.01em; }
.event-row__body p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.event-row__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); }

/* ---- FAQ ---- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 28px 0; font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 400;
}
.faq__q span { color: var(--accent); font-family: var(--mono); font-size: 22px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.faq__item[data-open="true"] .faq__q span { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a p { padding: 0 0 28px; color: var(--fg-soft); max-width: 680px; }

/* ---- CTA ---- */
.cta { text-align: center; background: var(--bg-alt); }
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.04; max-width: 900px; margin: 22px auto 0; }
.cta h2 em { font-style: normal; color: var(--accent); }
.cta p { max-width: 560px; margin: 24px auto 0; color: var(--fg-soft); }
.cta__actions { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- contact / form ---- */
.contact-wrap { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact-info dl { margin: 0; display: grid; gap: 26px; }
.contact-info dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 6px; }
.contact-info dd { margin: 0; font-size: 17px; color: var(--fg-soft); }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 9px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 14px 16px; background: var(--bg-elev);
  border: 1px solid var(--border); border-radius: 5px; color: var(--fg);
  font-family: var(--sans); font-size: 16px; transition: border-color 0.25s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.form-consent input { margin-top: 4px; accent-color: var(--accent); }

/* ---- legal / prose ---- */
.page-hero { padding: clamp(120px, 16vw, 200px) 0 clamp(50px, 8vw, 90px); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; margin-top: 20px; }
.page-hero p { margin-top: 22px; color: var(--fg-soft); max-width: 620px; }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 400; letter-spacing: -0.01em; margin: 48px 0 16px; }
.prose h3 { font-size: 1.2rem; font-weight: 500; margin: 30px 0 10px; }
.prose p { color: var(--fg-soft); margin-bottom: 16px; }
.prose ul { color: var(--fg-soft); padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--fg); }

/* ---- footer ---- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: clamp(70px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; gap: 44px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 400; letter-spacing: -0.02em; }
.footer__brand span { color: var(--accent); }
.footer__tag { margin-top: 16px; color: var(--fg-soft); max-width: 340px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 18px; font-weight: 400; }
.footer__col a { display: block; padding: 7px 0; color: var(--fg-soft); font-size: 15px; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase;
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; align-items: center; } }
.footer__bottom a:hover { color: var(--accent); }

/* ---- 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.45); 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); border: 1px solid var(--border); padding: 32px 34px; max-width: 460px; border-radius: 8px; }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); }
.cookie-popup__card h3 { font-size: 1.4rem; font-weight: 400; margin: 12px 0 12px; }
.cookie-popup__card p { font-size: 14px; color: var(--fg-soft); line-height: 1.65; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--border); border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; transition: all 0.25s var(--ease); }
.cookie-popup__actions button:hover { border-color: var(--accent); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

/* ---- misc ---- */
.split { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split__media { position: relative; overflow: hidden; border-radius: 8px; border: 1px solid var(--border); }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(0.2) brightness(0.86); }
.value-list { list-style: none; padding: 0; margin: 26px 0 0; }
.value-list li { padding: 20px 0; border-top: 1px solid var(--border); display: flex; gap: 18px; }
.value-list li:last-child { border-bottom: 1px solid var(--border); }
.value-list strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 400; margin-bottom: 4px; }
.value-list span { color: var(--fg-soft); font-size: 15px; }
.value-list em { font-family: var(--mono); font-style: normal; color: var(--accent); font-size: 13px; }
.skip-link { position: absolute; left: -9999px; }
