/* palette: bg=#0E151C fg=#EDF0F2 accent=#A6CE4E */
/* fonts: display="Jost" body="Inter" mono="Space Mono" */

:root {
  --bg: #0E151C;          /* dominant dark navy from reference hero */
  --bg-alt: #121C25;      /* alternating section background */
  --bg-elev: #16212C;     /* elevated card surface */
  --fg: #EDF0F2;          /* primary off-white text */
  --fg-soft: #C7CFD6;     /* slightly softer foreground */
  --muted: #8A959E;       /* secondary text */
  --accent: #A6CE4E;      /* lime accent from the wordmark */
  --accent-deep: #8CB635; /* darker lime for hover */
  --accent-ink: #5E8018;  /* accent legible on light band */
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.2);

  --display: 'Jost', 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: 1240px;
  --pad: clamp(20px, 5vw, 32px);
}

*, *::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-soft);
  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; }
::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  color: var(--fg);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
p { margin: 0; }

/* ---------- Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }

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

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 62ch;
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #0B1116; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border-color: var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { opacity: 0.86; transform: translateY(-2px); }

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

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 21, 28, 0.78);
  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), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -22px rgba(0, 0, 0, 0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
  color: var(--accent);
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--fg);
  line-height: 1;
}
.brand__name em { font-style: normal; color: var(--accent); }

.nav { display: none; align-items: center; gap: 36px; }
.nav a {
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--fg-soft);
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 1.5px;
  background: var(--accent);
}
.header__cta { display: none; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: 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); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 74px 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 40px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  font-family: var(--display);
  font-weight: 300;
  font-size: 2rem;
  color: var(--fg);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a .idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-right: 16px;
  vertical-align: middle;
}
.mobile-menu .btn { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(130% 90% at 20% 10%, rgba(14, 21, 28, 0.35), rgba(14, 21, 28, 0.94) 72%),
    linear-gradient(180deg, rgba(14, 21, 28, 0.6), var(--bg));
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 150px 0 90px;
  width: 100%;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-soft);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 34px;
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(166, 206, 78, 0.18);
}
.hero h1 {
  font-size: clamp(3.1rem, 9.5vw, 8.4rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.96;
  max-width: 15ch;
  margin-bottom: 34px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { max-width: 54ch; margin-bottom: 42px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero__meta {
  margin-top: 70px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
  max-width: 760px;
}
.hero__meta .k {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 2.9rem);
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero__meta .v {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.45;
}

/* ---------- Section head ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 80px); }
.sec-head h2 {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
}
.sec-head h2 em { font-style: normal; color: var(--accent); }
.sec-head p { margin-top: 24px; }
.sec-head--split {
  display: grid;
  gap: 28px;
  max-width: none;
  align-items: end;
}
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: 1.3fr 1fr; gap: 56px; }
  .sec-head--split p { margin-top: 0; }
}

/* ---------- Feature / service grid (the photo-grid analogue) ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 680px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(166, 206, 78, 0.5);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7);
}
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: #0A0F14; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  opacity: 0.92;
}
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 28px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.card__no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.card p { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin-bottom: 20px; }
.card .arrow-link { margin-top: auto; }

/* text-only service rows (services page) */
.svc-list { border-top: 1px solid var(--border); }
.svc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: clamp(34px, 5vw, 54px) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease);
}
.svc-row:hover { padding-left: 12px; }
@media (min-width: 860px) {
  .svc-row { grid-template-columns: 90px 0.9fr 1.4fr; gap: 40px; align-items: start; }
}
.svc-row__no { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.1em; padding-top: 8px; }
.svc-row h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 300; }
.svc-row__desc p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.svc-row__desc ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-row__desc li {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-soft);
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* ---------- Manifesto / inverted light band ---------- */
.band {
  background: var(--fg);
  color: #1A232B;
}
.band .container { padding-top: clamp(90px, 13vw, 170px); padding-bottom: clamp(90px, 13vw, 170px); }
.manifesto {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.manifesto .quote-mark {
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.6;
  color: var(--accent-ink);
  display: block;
  margin-bottom: 10px;
}
.manifesto p {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.7rem, 4.3vw, 3.2rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #15202B;
}
.manifesto p em { font-style: normal; color: var(--accent-ink); }
.manifesto__by {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5c6973;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--bg); padding: clamp(34px, 4vw, 48px) clamp(28px, 3vw, 40px); }
.step__no {
  font-family: var(--display);
  font-weight: 300;
  font-size: 3.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  margin-bottom: 26px;
}
.step h3 { font-size: 1.4rem; font-weight: 400; margin-bottom: 14px; }
.step p { font-size: 15.5px; line-height: 1.68; color: var(--muted); }

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg-alt); padding: clamp(32px, 4vw, 48px) 28px; }
.stat .n {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
}
.stat .n em { font-style: normal; color: var(--accent); }
.stat .l { font-size: 13.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* ---------- Testimonial ---------- */
.testi { max-width: 940px; margin: 0 auto; }
.testi blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.testi blockquote em { font-style: normal; color: var(--accent); }
.testi__foot { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: 16px;
  color: #0B1116;
  flex-shrink: 0;
}
.testi__meta strong { display: block; font-weight: 500; color: var(--fg); font-size: 15px; }
.testi__meta span { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic {
  flex-shrink: 0;
  width: 26px; height: 26px;
  position: relative;
  margin-top: 4px;
}
.faq summary .ic::before, .faq summary .ic::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 13px; height: 1.5px; background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq summary .ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .ic::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 44px 26px 0; font-size: 16px; line-height: 1.72; color: var(--muted); max-width: 72ch; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  text-align: center;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(166, 206, 78, 0.1), transparent 60%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta h2 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 0 auto 26px;
}
.cta h2 em { font-style: normal; color: var(--accent); }
.cta p { max-width: 54ch; margin: 0 auto 40px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Logo strip ---------- */
.logos { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos__inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 5vw, 60px); justify-content: center; padding: 40px 0; }
.logos__inner span {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--muted);
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.logos__inner span:hover { color: var(--fg); opacity: 1; }

/* ---------- Split (about / contact) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev .split__media { order: -1; } }
.split__media { border-radius: 3px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 300; margin-bottom: 24px; }
.split p + p { margin-top: 18px; }
.split .arrow-link { margin-top: 28px; }

/* values / principles text cards */
.principles { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 720px) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principle { background: var(--bg); padding: clamp(30px, 4vw, 46px); }
.principle__no { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.12em; margin-bottom: 18px; }
.principle h3 { font-size: 1.5rem; font-weight: 300; margin-bottom: 12px; }
.principle p { font-size: 15.5px; color: var(--muted); line-height: 1.68; }

/* team / people as monograms, no faces */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 860px) { .people { grid-template-columns: repeat(4, 1fr); } }
.person { background: var(--bg); padding: clamp(26px, 3vw, 36px) clamp(22px, 2.5vw, 30px); }
.person .avatar { width: 56px; height: 56px; font-size: 19px; margin-bottom: 22px; }
.person strong { display: block; font-weight: 500; color: var(--fg); font-size: 15.5px; }
.person span { font-size: 13px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.04em; }
.person p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 14px; }

/* ---------- Contact form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #5e6a73; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #121B23;
}
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 20px; line-height: 1.6; }
.form-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.contact-cards { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 720px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--bg); padding: clamp(26px, 3vw, 38px); }
.contact-card .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.contact-card p { font-size: 16px; color: var(--fg-soft); line-height: 1.6; }
.contact-card a:hover { color: var(--accent); }

/* ---------- Legal / article pages ---------- */
.page-hero { padding: clamp(120px, 16vw, 180px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 300; letter-spacing: -0.03em; }
.page-hero p { margin-top: 24px; max-width: 60ch; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 400; margin: 54px 0 18px; }
.prose h3 { font-size: 1.2rem; font-weight: 500; color: var(--fg); margin: 32px 0 12px; font-family: var(--sans); }
.prose p { font-size: 16.5px; line-height: 1.78; color: var(--fg-soft); margin-bottom: 18px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; color: var(--fg-soft); }
.prose li { margin-bottom: 10px; line-height: 1.7; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--fg); font-weight: 600; }

.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks__mark {
  width: 76px; height: 76px; margin: 0 auto 36px;
  border-radius: 50%; border: 1.5px solid var(--accent);
  display: grid; place-items: center;
}
.thanks__mark svg { width: 32px; height: 32px; stroke: var(--accent); }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 300; }
.thanks p { max-width: 50ch; margin: 24px auto 40px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: clamp(60px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand .brand { margin-bottom: 22px; }
.footer__brand p { font-size: 15px; color: var(--muted); max-width: 34ch; line-height: 1.65; }
.footer__col h4 {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer__col a, .footer__col p { display: block; font-size: 15px; color: var(--fg-soft); margin-bottom: 13px; line-height: 1.5; }
.footer__col a { transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom p, .footer__bottom a { font-size: 13px; color: var(--muted); }
.footer__bottom a:hover { color: var(--fg); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- 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.5);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.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 34px;
  max-width: 460px;
  border-radius: 4px;
  box-shadow: 0 24px 70px -20px rgba(0, 0, 0, 0.8);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.cookie-popup__card h3 { font-size: 1.4rem; font-weight: 400; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.cookie-popup__card p a { color: var(--fg-soft); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button {
  padding: 12px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #0B1116; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive nav ---------- */
@media (min-width: 940px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }
}
