/* palette: bg=#FFFFFF fg=#0A0A12 accent=#1E17E8 */
/* fonts: display="Space Grotesk" body="Inter" mono="Space Mono" */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F2F2F0;
  --fg: #0A0A12;
  --fg-soft: #24242E;
  --muted: #6B6B76;
  --accent: #1E17E8;
  --accent-deep: #1109A6;
  --ink: #08080E;
  --border: rgba(10, 10, 18, 0.12);
  --serif: 'Space Grotesk', 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);
  --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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0; }

/* ---------- layout ---------- */
.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.18em;
  color: var(--accent);
  margin: 0 0 22px;
  display: block;
}
.eyebrow--light { color: rgba(255,255,255,0.75); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(10,10,18,0.06);
  border-color: var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; letter-spacing: -0.03em;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.brand span { color: var(--accent); }
.nav { display: none; gap: 34px; align-items: center; }
.nav a {
  font-size: 14px; color: var(--fg-soft);
  position: relative; transition: color .25s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); }
.header__cta { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-family: var(--mono); letter-spacing: 0.02em;
  padding: 12px 26px; border-radius: 9999px;
  background: var(--accent); color: #fff;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn--ghost {
  background: transparent; color: var(--fg);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--accent);
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- mobile menu ---------- */
.menu-toggle {
  display: flex; flex-direction: column; gap: 5px; padding: 10px;
}
.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); }
@media (min-width: 900px) { .menu-toggle { display: none; } }
.mobile-menu {
  position: fixed; inset: 72px 0 0; z-index: 99;
  background: var(--bg);
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
  display: flex; flex-direction: column; padding: 40px 24px;
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif); font-size: 34px; letter-spacing: -0.02em;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 32px; align-self: flex-start; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--ink);
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; animation: heroZoom 9s var(--ease) forwards; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,14,0.5) 0%, rgba(8,8,14,0.15) 40%, rgba(8,8,14,0.85) 100%); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__inner { position: relative; z-index: 1; padding: 140px 0 72px; width: 100%; }
.hero__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  display: flex; justify-content: space-between; margin-bottom: 40px;
  border-top: 1px solid rgba(255,255,255,0.22); padding-top: 18px;
}
.hero h1 {
  font-size: clamp(2.6rem, 7.5vw, 6.4rem);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 300;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: #fff; }
.hero h1 .accent { color: #ffffff; background: var(--accent); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__foot {
  margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px 40px;
  align-items: center;
}
.hero__foot p { max-width: 42ch; color: rgba(255,255,255,0.82); font-size: 16px; }

/* ---------- intro line ---------- */
.intro { padding: clamp(70px, 9vw, 130px) 0; }
.intro__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 0.9fr 1.4fr; gap: 60px; } }
.intro h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.12;
  letter-spacing: -0.025em; font-weight: 400;
}
.intro h2 .u { color: var(--accent); }
.intro__body p { color: var(--muted); font-size: 18px; margin-bottom: 20px; }
.intro__body p:last-child { margin-bottom: 0; }

/* ---------- manifesto (dark band) ---------- */
.manifesto {
  position: relative; color: #fff; overflow: hidden;
  background: var(--ink);
  padding: clamp(100px, 15vw, 200px) 0;
}
.manifesto__media { position: absolute; inset: 0; z-index: 0; }
.manifesto__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.manifesto__media::after { content: ""; position: absolute; inset: 0; background: rgba(8,8,14,0.55); }
.manifesto .container { position: relative; z-index: 1; }
.manifesto p.statement {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.18;
  letter-spacing: -0.02em; max-width: 20ch;
}
.manifesto p.statement .hl { color: #fff; background: var(--accent); padding: 0 .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.manifesto__sign { margin-top: 42px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ---------- belief (blue band) ---------- */
.belief { background: var(--accent); color: #fff; padding: clamp(90px, 13vw, 180px) 0; }
.belief__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .belief__grid { grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; } }
.belief h2 {
  font-size: clamp(2.2rem, 5.5vw, 4.4rem); line-height: 1.06;
  letter-spacing: -0.03em; font-weight: 300;
}
.belief__body p { color: rgba(255,255,255,0.88); font-size: 18px; margin-bottom: 22px; }
.belief__body p:last-child { margin-bottom: 0; }
.belief__body .link-arrow { color: #fff; margin-top: 10px; }

/* ---------- services grid ---------- */
.svc__head { display: grid; gap: 24px; margin-bottom: 64px; }
@media (min-width: 900px) { .svc__head { grid-template-columns: 1fr 1fr; align-items: end; } }
.svc__head h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 400; }
.svc__head p { color: var(--muted); font-size: 18px; max-width: 44ch; }
.svc-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  background: var(--bg); padding: 42px 34px 48px;
  display: flex; flex-direction: column; min-height: 300px;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.svc-card:hover { background: var(--ink); color: #fff; }
.svc-card__no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.svc-card:hover .svc-card__no { color: #fff; }
.svc-card h3 { font-size: 1.55rem; letter-spacing: -0.02em; margin: 20px 0 14px; font-weight: 500; }
.svc-card p { font-size: 15.5px; color: var(--muted); }
.svc-card:hover p { color: rgba(255,255,255,0.8); }
.svc-card .link-arrow { margin-top: auto; padding-top: 26px; }
.svc-card:hover .link-arrow { color: #fff; }

/* ---------- stats ---------- */
.stats { background: var(--bg-alt); }
.stats__grid { display: grid; gap: 40px 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label { margin-top: 14px; font-size: 14.5px; color: var(--muted); max-width: 22ch; }

/* ---------- work / cases ---------- */
.work-grid { display: grid; gap: 44px; }
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; } }
.work-card { display: block; }
.work-card__media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-alt); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; gap: 16px; }
.work-card h3 { font-size: 1.5rem; letter-spacing: -0.02em; font-weight: 500; }
.work-card__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.work-card p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }

/* the deliberately-off wide card (anti-design broken grid) */
.work-card--wide { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .work-card--wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
  .work-card--wide .work-card__media { aspect-ratio: 16 / 9; }
}

/* ---------- events (community) ---------- */
.events-list { border-top: 1px solid var(--border); }
.event-row {
  display: grid; gap: 8px; padding: 34px 0; border-bottom: 1px solid var(--border);
  transition: padding-left .35s var(--ease);
}
@media (min-width: 768px) {
  .event-row { grid-template-columns: 150px 1fr 200px auto; align-items: center; gap: 28px; }
  .event-row:hover { padding-left: 16px; }
}
.event-row__date { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--accent); }
.event-row h3 { font-size: 1.4rem; letter-spacing: -0.02em; font-weight: 500; }
.event-row__place { font-size: 14px; color: var(--muted); }
.event-row .link-arrow { justify-self: start; }
@media (min-width: 768px) { .event-row .link-arrow { justify-self: end; } }

/* ---------- team / principles (text cards) ---------- */
.people-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 640px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
.person { background: var(--bg); padding: 34px 30px 40px; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 500; font-size: 20px; color: #fff;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.person h3 { font-size: 1.3rem; letter-spacing: -0.02em; font-weight: 500; }
.person__role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; color: var(--accent); margin: 6px 0 16px; text-transform: uppercase; }
.person p { font-size: 15px; color: var(--muted); }

/* ---------- testimonials ---------- */
.quotes { background: var(--ink); color: #fff; }
.quotes-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .quotes-grid { grid-template-columns: repeat(2, 1fr); } }
.quote {
  border: 1px solid rgba(255,255,255,0.16); padding: 40px 36px;
  display: flex; flex-direction: column;
}
.quote__mark { font-family: var(--serif); font-size: 3.4rem; line-height: 0.6; color: var(--accent); }
.quote p { font-family: var(--serif); font-size: 1.28rem; line-height: 1.4; letter-spacing: -0.01em; font-weight: 300; margin: 24px 0 28px; }
.quote__who { margin-top: auto; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: rgba(255,255,255,0.66); text-transform: uppercase; }

/* ---------- faq ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 28px 0;
  display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  font-family: var(--serif); font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  letter-spacing: -0.02em; font-weight: 400;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 1.5rem; transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 17px; padding: 0 0 30px; max-width: 68ch; }

/* ---------- cta band ---------- */
.cta { background: var(--accent); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 300; max-width: 16ch; margin: 0 auto 28px; }
.cta p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 46ch; margin: 0 auto 40px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; } }
.contact-info h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 400; margin-bottom: 28px; }
.contact-info dl { display: grid; gap: 24px; margin: 40px 0 0; }
.contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact-info dd { margin: 0; font-size: 17px; color: var(--fg-soft); }
.form { display: grid; gap: 22px; }
.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 {
  font: inherit; font-size: 16px; padding: 14px 16px;
  border: 1px solid var(--border); background: var(--bg); color: var(--fg);
  border-radius: 4px; transition: border-color .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }
.form button[type="submit"] { justify-self: start; margin-top: 6px; }

/* ---------- legal / prose ---------- */
.page-head { padding: clamp(120px, 16vw, 200px) 0 clamp(50px, 7vw, 90px); border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 300; max-width: 18ch; }
.page-head p { color: var(--muted); font-size: 18px; margin-top: 24px; max-width: 56ch; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.02em; margin: 52px 0 18px; font-weight: 400; }
.prose h3 { font-size: 1.25rem; letter-spacing: -0.01em; margin: 32px 0 12px; font-weight: 500; }
.prose p { color: var(--fg-soft); font-size: 17px; margin-bottom: 18px; }
.prose ul { color: var(--fg-soft); font-size: 17px; padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 10px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: clamp(70px, 9vw, 120px) 0 40px; }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 800px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; } }
.footer .brand { color: #fff; font-size: 28px; }
.footer__tag { margin-top: 20px; max-width: 34ch; font-size: 15.5px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 18px; font-weight: 400; }
.footer__col a { display: block; padding: 7px 0; font-size: 15px; color: rgba(255,255,255,0.72); transition: color .25s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer__bottom a { color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: #fff; }

/* ---------- 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; justify-content: flex-start; padding: 24px; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); -webkit-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); padding: 32px 36px; max-width: 480px; border-radius: 4px; box-shadow: 0 20px 60px -12px rgba(0,0,0,0.35); }
.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; letter-spacing: -0.02em; font-weight: 500; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.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; font-family: var(--mono); letter-spacing: 0.02em; border-radius: 9999px; transition: background .25s var(--ease), color .25s var(--ease); }
.cookie-popup__actions button:first-child: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); }

/* utility */
.center { text-align: center; }
.mt-s { margin-top: 40px; }
