/* palette: bg=#0A0A0A fg=#F4F5F1 accent=#A9C4A2 */
/* fonts: display="Space Grotesk" body="Inter" mono="Space Mono" */

:root {
  --bg: #0A0A0A;
  --bg-alt: #121312;
  --bg-elev: #17181A;
  --fg: #F4F5F1;
  --fg-soft: #C9CCC4;
  --muted: #7C7F78;
  --accent: #A9C4A2;
  --accent-deep: #85A67E;
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.07);
  --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);
  --container: 1280px;
}

*, *::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 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

::selection { background: var(--accent); color: #0A0A0A; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }

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

/* ---------- Header (floating pill) ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 20px;
  pointer-events: none;
}
.header__bar {
  pointer-events: auto;
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 22px;
  border-radius: 9999px;
  background: rgba(244, 245, 241, 0.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  color: #0A0A0A;
}
.header[data-scrolled="true"] .header__bar {
  box-shadow: 0 14px 44px -12px rgba(0, 0, 0, 0.55);
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0A0A0A;
}
.menu-toggle__lines { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.menu-toggle__lines span {
  display: block; height: 1.6px; width: 100%;
  background: #0A0A0A; border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.menu-toggle__label { display: none; }
@media (min-width: 560px) { .menu-toggle__label { display: inline; } }

.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-align: center;
  color: #0A0A0A;
  white-space: nowrap;
}
.header__cta { justify-self: end; }
.btn-pill {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 9999px;
  background: #0A0A0A;
  color: var(--fg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn-pill:hover { background: var(--accent-deep); color: #0A0A0A; transform: translateY(-1px); }
.header__cta .btn-pill { font-size: 12px; padding: 9px 16px; }

/* ---------- Mobile / full menu overlay ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 28px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; max-width: var(--container); margin: 0 auto; width: 100%; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fg);
  padding: 6px 0;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu nav a:hover { color: var(--accent); padding-left: 14px; }
.mobile-menu__meta {
  max-width: var(--container); margin: 40px auto 0; width: 100%;
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 80px;
  overflow: hidden;
}
.hero__eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(2.6rem, 8.4vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 15ch;
  margin: 0 auto;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub {
  margin: 34px auto 0;
  max-width: 52ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
  color: var(--fg-soft);
}
.hero__actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* deck of fanned cards */
.deck {
  margin-top: clamp(48px, 7vw, 90px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  perspective: 1400px;
  width: 100%;
}
.deck__row { display: flex; align-items: flex-end; }
.deck__card {
  width: clamp(96px, 15vw, 190px);
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  margin: 0 -14px;
  transition: transform 0.5s var(--ease);
}
.deck__card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.86; }
.deck__card:nth-child(1) { transform: rotate(-14deg) translateY(26px); }
.deck__card:nth-child(2) { transform: rotate(-7deg) translateY(8px); }
.deck__card:nth-child(3) { transform: rotate(0deg) translateY(-6px); z-index: 3; }
.deck__card:nth-child(4) { transform: rotate(7deg) translateY(8px); }
.deck__card:nth-child(5) { transform: rotate(14deg) translateY(26px); }
.deck:hover .deck__card:nth-child(1) { transform: rotate(-18deg) translateY(18px); }
.deck:hover .deck__card:nth-child(5) { transform: rotate(18deg) translateY(18px); }
@media (max-width: 620px) {
  .deck__card:nth-child(1), .deck__card:nth-child(5) { display: none; }
}

/* ---------- Stats + surface band ---------- */
.metrics-band { background: var(--bg); border-top: 1px solid var(--border-soft); }
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 900px) { .metrics-grid { grid-template-columns: 1.05fr 0.95fr; } }

.surface {
  position: relative;
  min-height: 340px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background:
    radial-gradient(circle at 50% 45%, rgba(169, 196, 162, 0.09), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.4px);
  background-size: auto, 22px 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.surface__ring {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.surface__ring--1 { width: 78%; height: 78%; }
.surface__ring--2 { width: 52%; height: 52%; }
.surface__ring--3 { width: 26%; height: 26%; }
.surface__core {
  position: absolute;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(169, 196, 162, 0.18), 0 0 40px rgba(169, 196, 162, 0.5);
}
.surface__tag {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
  padding: 4px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 9999px;
  background: rgba(10, 10, 10, 0.6);
  white-space: nowrap;
}
.surface__tag--a { top: 14%; left: 12%; }
.surface__tag--b { top: 8%; right: 16%; }
.surface__tag--c { top: 44%; left: 4%; }
.surface__tag--d { top: 40%; right: 6%; }
.surface__tag--e { bottom: 16%; left: 20%; }
.surface__tag--f { bottom: 10%; right: 22%; }
.surface__tag--g { bottom: 40%; left: 40%; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
}
.stat { background: var(--bg); padding: clamp(24px, 3vw, 40px) clamp(20px, 2.6vw, 34px); }
.stat__num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat__num sup, .stat__unit {
  font-size: 0.42em;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0;
}
.stat__label {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Services (numbered) ---------- */
.service-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 22px;
  margin-bottom: 8px;
}
.service-head__counter { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.14em; }
.service-title {
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: clamp(18px, 3vw, 40px) 0 clamp(40px, 6vw, 80px);
}
.service-title em { color: var(--accent); font-style: normal; }

.svc-list { border-top: 1px solid var(--border-soft); }
.svc-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: clamp(30px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: start;
  transition: padding-left 0.4s var(--ease);
}
@media (min-width: 900px) { .svc-item { grid-template-columns: 90px 1fr 1.1fr; gap: 40px; align-items: baseline; } }
.svc-item:hover { padding-left: 10px; }
.svc-item__no { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.1em; }
.svc-item__title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.svc-item__desc { color: var(--fg-soft); font-size: 16px; line-height: 1.7; grid-column: 1 / -1; }
@media (min-width: 900px) { .svc-item__desc { grid-column: auto; } }
.svc-item__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-item__tags span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted); padding: 3px 10px; border: 1px solid var(--border-soft); border-radius: 9999px;
}

/* ---------- Manifesto (inverted) ---------- */
.manifesto {
  background: var(--fg);
  color: #0A0A0A;
  text-align: center;
}
.manifesto .eyebrow { color: var(--accent-deep); }
.manifesto__quote {
  max-width: 22ch;
  margin: 28px auto 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.4vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.manifesto__quote em { color: var(--accent-deep); font-style: normal; }
.manifesto__mark { font-family: var(--serif); font-size: clamp(4rem, 10vw, 8rem); line-height: 0.5; color: var(--accent-deep); display: block; }
.manifesto__by { margin-top: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #4a4d47; }

/* ---------- Work / cases ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(40px, 5vw, 64px);
}
@media (min-width: 760px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-card {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.7); border-color: var(--border); }
.work-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); opacity: 0.9; }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__body { padding: clamp(22px, 3vw, 32px); }
.work-card__cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.work-card__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 12px; font-weight: 500; letter-spacing: -0.02em; }
.work-card__desc { margin-top: 12px; color: var(--fg-soft); font-size: 15.5px; line-height: 1.7; }
.work-card__meta { margin-top: 20px; display: flex; gap: 18px; font-family: var(--mono); font-size: 12px; color: var(--muted); flex-wrap: wrap; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: 6px; overflow: hidden; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--bg); padding: clamp(28px, 3.4vw, 44px); }
.step__no { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; }
.step__title { font-size: 1.3rem; margin-top: 16px; font-weight: 500; letter-spacing: -0.01em; }
.step__desc { margin-top: 12px; color: var(--fg-soft); font-size: 15px; line-height: 1.65; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta__title { font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 500; max-width: 18ch; margin: 20px auto 0; }
.cta__title em { color: var(--accent); font-style: normal; }
.cta__sub { margin: 26px auto 0; max-width: 48ch; color: var(--fg-soft); font-size: 1.05rem; }
.cta__actions { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn--primary { background: var(--accent); color: #0A0A0A; }
.btn--primary:hover { background: var(--fg); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 14px; font-family: var(--mono); letter-spacing: 0.04em; }
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Form ---------- */
.form { max-width: 720px; margin: clamp(40px, 5vw, 60px) auto 0; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.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-alt);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #5c5f58; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--bg-elev); }
.field textarea { min-height: 140px; resize: vertical; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 4px 0 24px; }
.form__consent input { margin-top: 4px; accent-color: var(--accent); }
.form__consent a { color: var(--accent); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split--reverse .split__media { order: -1; }
@media (min-width: 900px) { .split--reverse .split__media { order: 1; } }
.split__media { border-radius: 16px; overflow: hidden; border: 1px solid var(--border-soft); aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.split h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; margin: 22px 0; font-weight: 500; }
.split h2 em { color: var(--accent); font-style: normal; }
.split p { color: var(--fg-soft); font-size: 17px; line-height: 1.78; margin-bottom: 18px; }
.prose { max-width: 760px; }
.prose p { color: var(--fg-soft); font-size: 17px; line-height: 1.8; margin-bottom: 20px; }

/* section heading generic */
.sec-title { font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 500; max-width: 20ch; }
.sec-title em { color: var(--accent); font-style: normal; }
.sec-intro { margin-top: 22px; max-width: 58ch; color: var(--fg-soft); font-size: 1.05rem; }

/* team text cards / values */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.value-card { padding: clamp(26px, 3vw, 36px); border: 1px solid var(--border-soft); border-radius: 14px; background: var(--bg-alt); transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.value-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.value-card__no { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.12em; }
.value-card h3 { font-size: 1.35rem; margin: 14px 0 12px; font-weight: 500; }
.value-card p { color: var(--fg-soft); font-size: 15.5px; line-height: 1.7; }

.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 18px; color: #0A0A0A;
  letter-spacing: 0.02em;
}
.team-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.member { padding: clamp(24px, 3vw, 34px); border: 1px solid var(--border-soft); border-radius: 14px; background: var(--bg-alt); }
.member__top { display: flex; align-items: center; gap: 16px; }
.member h3 { font-size: 1.2rem; font-weight: 500; }
.member__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.member__bio { margin-top: 18px; color: var(--fg-soft); font-size: 15px; line-height: 1.7; }

/* FAQ */
.faq { max-width: 860px; margin: clamp(40px, 5vw, 60px) auto 0; border-top: 1px solid var(--border-soft); }
.faq details { border-bottom: 1px solid var(--border-soft); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 44px 26px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.5rem; color: var(--accent); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 44px 28px 0; color: var(--fg-soft); font-size: 16px; line-height: 1.75; }

/* contact info */
.contact-info { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: 8px; overflow: hidden; margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 700px) { .contact-info { grid-template-columns: repeat(3, 1fr); } }
.contact-info__cell { background: var(--bg); padding: clamp(24px, 3vw, 34px); }
.contact-info__cell .eyebrow { color: var(--muted); }
.contact-info__cell p { margin-top: 14px; font-size: 16px; color: var(--fg-soft); line-height: 1.6; }
.contact-info__cell a { color: var(--fg); border-bottom: 1px solid var(--border); transition: color 0.3s; }
.contact-info__cell a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--border-soft); padding: clamp(64px, 8vw, 110px) 0 40px; }
.footer__brand { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 12vw, 8rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--fg); }
.footer__brand em { color: var(--accent); font-style: normal; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 400; }
.footer__col a, .footer__col p { display: block; color: var(--fg-soft); font-size: 15px; margin-bottom: 10px; transition: color 0.3s; }
.footer__col a:hover { color: var(--accent); }
.footer__desc { max-width: 42ch; color: var(--fg-soft); font-size: 15px; line-height: 1.7; }
.footer__bottom {
  margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--border-soft);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em;
}
.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); 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-elev); padding: 32px 36px; max-width: 480px; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 30px 80px -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); }
.cookie-popup__card h3 { font-size: 1.4rem; margin: 12px 0 12px; font-weight: 500; }
.cookie-popup__card p { font-size: 14px; color: var(--fg-soft); line-height: 1.65; }
.cookie-popup__card p a { color: var(--accent); }
.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: 13px; border-radius: 9999px; color: var(--fg); 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: #0A0A0A; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--fg); }

/* legal pages */
.legal { padding-top: clamp(120px, 16vw, 180px); }
.legal .prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 40px 0 16px; font-weight: 500; }
.legal .prose h3 { font-size: 1.2rem; margin: 28px 0 12px; font-weight: 500; }
.legal .prose ul { color: var(--fg-soft); font-size: 16px; line-height: 1.8; padding-left: 20px; }
.legal .prose li { margin-bottom: 8px; }
.legal__updated { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; margin-top: 10px; }

/* thank you */
.thanks { min-height: 82vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 620px; margin: 0 auto; }
.thanks h1 { font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 500; }
.thanks h1 em { color: var(--accent); font-style: normal; }
.thanks p { margin: 24px auto 34px; color: var(--fg-soft); font-size: 1.1rem; max-width: 46ch; }

.pagetop { padding-top: clamp(130px, 18vw, 200px); padding-bottom: clamp(20px, 4vw, 40px); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
