/* palette: bg=#0C0D0C fg=#E9EAE4 accent=#57E346 */
/* fonts: display="Space Grotesk" body="Inter" mono="Space Mono" */

:root {
  --bg: #0C0D0C;          /* dominant near-black background from reference */
  --bg-alt: #131512;      /* alternating slightly-lifted panel */
  --bg-elev: #191C17;     /* card surface */
  --fg: #E9EAE4;          /* primary off-white text */
  --fg-soft: #BCC0B6;     /* softened foreground */
  --muted: #7B8074;       /* secondary / caption text */
  --accent: #57E346;      /* acid green accent from reference mesh */
  --accent-deep: #3CC42C; /* darker accent for hover */
  --accent-dim: rgba(87, 227, 70, 0.14);
  --border: rgba(233, 234, 228, 0.13);
  --border-strong: rgba(233, 234, 228, 0.26);

  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space 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;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; }
p { margin: 0; }

::selection { background: var(--accent); color: #06110A; }

/* ------------------------------------------------------------------ *\
   Layout helpers
\* ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(56px, 8vw, 100px); }

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

.h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-weight: 300;
}
.h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.015em;
  line-height: 1.12;
  font-weight: 400;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 60ch;
}
.muted { color: var(--muted); }

.section-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .h2 { margin-top: 18px; }
.section-head p { margin-top: 22px; }

em { font-style: normal; color: var(--accent); }

/* ------------------------------------------------------------------ *\
   Buttons & links (sharp industrial)
\* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #06110A; }
.btn--primary:hover { background: #6bf05a; }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.txtlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fg);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.txtlink span { color: var(--accent); transition: transform .3s var(--ease); display: inline-block; }
.txtlink:hover { color: var(--accent); gap: 12px; }

/* ------------------------------------------------------------------ *\
   Header
\* ------------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 13, 12, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  background: rgba(12, 13, 12, 0.88);
  box-shadow: 0 12px 40px -18px rgba(0,0,0,0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  border-radius: 2px;
  flex: none;
}
.brand__name {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: -0.01em;
  font-weight: 500;
  white-space: nowrap;
}
.brand__name b { font-weight: 500; color: var(--accent); }

.nav { display: none; align-items: center; gap: 38px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  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%; }

.header__cta { display: none; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 8px;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 26px;
  background: var(--fg);
  transition: transform .35s var(--ease), opacity .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); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 96px var(--pad) 48px;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.mobile-menu a .idx { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.mobile-menu__foot {
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 2;
}
.mobile-menu__foot a { font-family: var(--mono); font-size: 12px; padding: 0; border: 0; display: inline; color: var(--accent); }

/* ------------------------------------------------------------------ *\
   Hero
\* ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 8vh, 96px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(0.4) contrast(1.05);
  animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(233,234,228,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(233,234,228,0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 78%);
}
.hero__mesh {
  position: absolute;
  top: 50%; right: -6%;
  transform: translateY(-52%);
  width: min(72vw, 860px);
  height: auto;
  z-index: 1;
  opacity: 0.95;
}
.hero__glow {
  position: absolute;
  top: 40%; right: 8%;
  width: 44vw; height: 44vw;
  max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(87,227,70,0.16), transparent 62%);
  filter: blur(20px);
  z-index: 0;
  transform: translateY(-50%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(3.5rem, 11.5vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-weight: 300;
  max-width: 14ch;
}
.hero__sub {
  margin-top: 30px;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--fg-soft);
  line-height: 1.66;
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__meta {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 44px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta a { color: var(--muted); transition: color .3s var(--ease); }
.hero__meta a:hover { color: var(--accent); }
.hero__scroll {
  position: absolute;
  left: var(--pad); bottom: 22px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: none;
}

/* Page hero (interior pages) */
.pagehero {
  padding-top: clamp(120px, 20vh, 200px);
  padding-bottom: clamp(56px, 9vw, 110px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.pagehero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(233,234,228,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(233,234,228,0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 60% 90% at 85% 10%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 10%, #000, transparent 70%);
}
.pagehero__inner { position: relative; z-index: 2; }
.pagehero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
  margin-top: 24px;
  max-width: 16ch;
}
.pagehero p { margin-top: 28px; max-width: 58ch; color: var(--fg-soft); font-size: clamp(1.02rem,1.5vw,1.2rem); }
.crumb { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.crumb a:hover { color: var(--accent); }

/* ------------------------------------------------------------------ *\
   Marquee
\* ------------------------------------------------------------------ */
.marquee {
  border-block: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-alt);
  padding-block: 20px;
}
.marquee__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee__track span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
  padding-inline: 30px;
  display: inline-flex;
  align-items: center;
  gap: 30px;
}
.marquee__track span::after { content: "◆"; color: var(--accent); font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ *\
   Manifesto / pull-quote
\* ------------------------------------------------------------------ */
.manifesto { text-align: center; }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.manifesto p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-inline: auto;
}
.manifesto--wide p { max-width: 24ch; }
.manifesto cite {
  display: block;
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* Inverted dark band = accent block */
.band {
  background: var(--accent);
  color: #06110A;
}
.band .eyebrow { color: #06110A; }
.band .eyebrow::before { background: #06110A; }
.band .manifesto__mark { color: #06110A; }
.band .lead { color: rgba(6,17,10,0.78); }
.band .btn--ghost { border-color: rgba(6,17,10,0.4); color: #06110A; }
.band .btn--ghost:hover { border-color: #06110A; background: #06110A; color: var(--accent); }

/* ------------------------------------------------------------------ *\
   Services grid
\* ------------------------------------------------------------------ */
.grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.grid--3 { grid-template-columns: 1fr; }
.card {
  background: var(--bg);
  padding: clamp(30px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  transition: background .4s var(--ease);
  position: relative;
}
.section--alt .card { background: var(--bg-alt); }
.card:hover { background: var(--bg-elev); }
.card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.card__title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.14;
}
.card p { color: var(--fg-soft); font-size: 1rem; line-height: 1.66; }
.card__tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
}
.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 2px;
}
.card__line {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width .5s var(--ease);
}
.card:hover .card__line { width: 100%; }

/* ------------------------------------------------------------------ *\
   Timeline / progression (Skeleton D core)
\* ------------------------------------------------------------------ */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 15px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border) 70%);
}
.tl-step {
  position: relative;
  padding: clamp(28px, 4vw, 40px) 0 clamp(28px, 4vw, 40px) 60px;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 14px;
}
.tl-step:last-child { border-bottom: 0; }
.tl-step__node {
  position: absolute;
  left: 6px; top: clamp(32px, 4.4vw, 46px);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
  display: grid; place-items: center;
}
.tl-step__node::after {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  transition: transform .4s var(--ease);
}
.tl-step:hover .tl-step__node::after { transform: scale(1.5); }
.tl-step__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.tl-step__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.tl-step p { color: var(--fg-soft); max-width: 62ch; }
.tl-step__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }

/* ------------------------------------------------------------------ *\
   Stats band
\* ------------------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.stat {
  background: var(--bg);
  padding: clamp(28px, 4vw, 48px);
}
.section--alt .stat { background: var(--bg-alt); }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.stat__num em { color: var(--accent); }
.stat__label {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

/* ------------------------------------------------------------------ *\
   Work / case history
\* ------------------------------------------------------------------ */
.work-grid { display: grid; gap: clamp(24px, 4vw, 40px); grid-template-columns: 1fr; }
.work {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg-elev);
}
.work__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.work__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.72);
  transition: transform .8s var(--ease), filter .6s var(--ease);
}
.work:hover .work__img img { transform: scale(1.06); filter: grayscale(0.15) brightness(0.85); }
.work__body {
  padding: 26px clamp(22px, 3vw, 32px) 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.work__tagrow { display: flex; justify-content: space-between; align-items: center; }
.work__cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.work__year { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.work__title { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1.12; }
.work p { color: var(--fg-soft); font-size: 0.98rem; }

/* ------------------------------------------------------------------ *\
   Split (about / how-we-work / values)
\* ------------------------------------------------------------------ */
.split { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
.split__media { position: relative; }
.split__media img { border-radius: 2px; filter: grayscale(0.4) brightness(0.82); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split__media .badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: var(--accent);
  color: #06110A;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 2px;
}
.split__body .h2 { margin-top: 18px; }
.split__body p { margin-top: 22px; color: var(--fg-soft); }
.split__body p + p { margin-top: 16px; }

.deflist { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--border); }
.deflist__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.deflist__k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.deflist__v { color: var(--fg-soft); }
.deflist__v strong { color: var(--fg); font-weight: 500; font-family: var(--serif); }

/* Principles / values cards (text-only, no faces) */
.principles { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.principle { background: var(--bg); padding: clamp(28px,4vw,44px); display: grid; gap: 12px; }
.section--alt .principle { background: var(--bg-alt); }
.principle__k { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; }
.principle h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem,2.4vw,1.7rem); letter-spacing: -0.01em; }
.principle p { color: var(--fg-soft); font-size: 1rem; }

/* Team text cards with monogram avatars */
.team-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.member { background: var(--bg); padding: clamp(28px,4vw,40px); display: flex; flex-direction: column; gap: 16px; }
.section--alt .member { background: var(--bg-alt); }
.avatar {
  width: 60px; height: 60px;
  border-radius: 2px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: #06110A;
  letter-spacing: -0.01em;
}
.member__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; letter-spacing: -0.01em; }
.member__role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.member p { color: var(--fg-soft); font-size: 0.97rem; }

/* ------------------------------------------------------------------ *\
   FAQ
\* ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(22px, 3vw, 30px) 48px clamp(22px, 3vw, 30px) 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.24;
  transition: color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 24px;
  color: var(--accent);
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__body { padding: 0 60px clamp(26px, 3vw, 32px) 0; color: var(--fg-soft); max-width: 74ch; }
.faq__body p + p { margin-top: 14px; }

/* ------------------------------------------------------------------ *\
   CTA
\* ------------------------------------------------------------------ */
.cta { position: relative; overflow: hidden; }
.cta__inner { display: grid; gap: 32px; align-items: end; }
.cta h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.0; }
.cta p { color: var(--fg-soft); max-width: 48ch; }
.cta__glow {
  position: absolute;
  right: -10%; top: 50%;
  transform: translateY(-50%);
  width: 46vw; height: 46vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(87,227,70,0.12), transparent 65%);
  filter: blur(10px);
}

/* ------------------------------------------------------------------ *\
   Contact / form
\* ------------------------------------------------------------------ */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: start; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 16px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-elev);
}
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.field--check label { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.field--check a { color: var(--accent); }
.form button[type="submit"] { justify-self: start; margin-top: 6px; }

.contact-info { display: grid; gap: 0; border-top: 1px solid var(--border); }
.contact-info__row { padding: 22px 0; border-bottom: 1px solid var(--border); display: grid; gap: 6px; }
.contact-info__k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.contact-info__v { color: var(--fg-soft); font-size: 1.05rem; }
.contact-info__v a:hover { color: var(--accent); }

/* ------------------------------------------------------------------ *\
   Legal / long-form content
\* ------------------------------------------------------------------ */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; margin-top: 52px; margin-bottom: 18px; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin-top: 32px; margin-bottom: 12px; }
.prose p { color: var(--fg-soft); margin-bottom: 16px; }
.prose ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.prose ul li { color: var(--fg-soft); padding-left: 24px; position: relative; }
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.prose a { color: var(--accent); }
.prose strong { color: var(--fg); font-weight: 600; }
.legal-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; }

/* ------------------------------------------------------------------ *\
   Footer
\* ------------------------------------------------------------------ */
.footer { border-top: 1px solid var(--border); background: var(--bg); padding-top: clamp(64px, 9vw, 110px); }
.footer__top { display: grid; gap: 48px; padding-bottom: clamp(48px, 7vw, 80px); }
.footer__brand { max-width: 34ch; }
.footer__brand .brand { margin-bottom: 22px; }
.footer__brand p { color: var(--muted); font-size: 0.98rem; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { color: var(--fg-soft); font-size: 0.98rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: 28px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--accent); }

/* ------------------------------------------------------------------ *\
   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.55);
  -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-elev);
  border: 1px solid var(--border);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 3px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.8);
}
.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-family: var(--serif); font-weight: 400; font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.cookie-popup__card p { color: var(--fg-soft); font-size: 0.92rem; line-height: 1.62; }
.cookie-popup__card p a { color: var(--accent); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 11px 22px;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.cookie-popup__actions button:hover { border-color: var(--accent); color: var(--accent); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #06110A; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: #6bf05a; color: #06110A; }

/* ------------------------------------------------------------------ *\
   Reveal
\* ------------------------------------------------------------------ */
/* Hero mesh animation */
.hero__mesh .spine { stroke-dasharray: 5 9; animation: meshDash 4s linear infinite; }
@keyframes meshDash { to { stroke-dashoffset: -28; } }
.hero__mesh .halo { transform-origin: center; transform-box: fill-box; animation: meshPulse 3.4s var(--ease) infinite; }
@keyframes meshPulse { 0%,100% { opacity: .28; transform: scale(1); } 50% { opacity: .55; transform: scale(1.18); } }
.hero__mesh .core { transform-origin: center; transform-box: fill-box; animation: meshCore 3.4s var(--ease) infinite; }
@keyframes meshCore { 0%,100% { opacity: .8; } 50% { opacity: 1; } }

.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) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__photo { animation: none; }
}

/* ------------------------------------------------------------------ *\
   Responsive
\* ------------------------------------------------------------------ */
@media (min-width: 640px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .cta__inner { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .header__cta { display: inline-flex; }
  .split { grid-template-columns: 0.85fr 1.15fr; }
  .split--reverse .split__media { order: 2; }
  .contact-grid { grid-template-columns: 1.15fr 0.85fr; }
  .footer__top { grid-template-columns: 1.3fr 1fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .hero__scroll { display: block; }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .principles { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .tl-step { grid-template-columns: none; padding-left: 72px; }
}
