/* palette: bg=#F3F1E9 fg=#101512 accent=#3C6E4F */
/* fonts: display="Playfair Display" body="Inter" mono="Space Mono" */

:root {
  --bg: #F3F1E9;          /* dominant cream background */
  --bg-alt: #DDE6DE;      /* sage alternating section */
  --bg-dark: #102B24;     /* deep pine — hero & dark bands */
  --bg-dark-2: #0C221C;   /* deeper pine — footer */
  --fg: #101512;          /* primary near-black text */
  --fg-soft: #2A322D;     /* softened foreground */
  --muted: #63706A;       /* secondary text on light */
  --on-dark: #EDF2EC;     /* text on dark */
  --on-dark-muted: #8CA598; /* muted text on dark */
  --accent: #3C6E4F;      /* deep green accent (links, italic) */
  --accent-deep: #29513A; /* hover */
  --mint: #A6C5B2;        /* mint accent on dark surfaces */
  --border: rgba(16, 21, 18, 0.14);
  --border-soft: rgba(16, 21, 18, 0.08);
  --border-dark: rgba(237, 242, 236, 0.16);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'Courier New', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
  --pad: 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; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ————————————————————————————— Layout helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: var(--pad) 0; }
.section--tight { padding: clamp(56px, 8vw, 100px) 0; }
.section--dark { background: var(--bg-dark); color: var(--on-dark); }
.section--sage { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section--dark .eyebrow { color: var(--mint); }

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

.h2 {
  font-family: var(--sans);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-weight: 500;
}
.h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section--dark .h2 em { color: var(--mint); }

/* Arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.4s var(--ease), color 0.3s var(--ease);
}
.arrow-link .ico { transition: transform 0.4s var(--ease); }
.arrow-link:hover { gap: 16px; color: var(--accent); }
.arrow-link:hover .ico { transform: translate(4px, -4px); }
.section--dark .arrow-link:hover { color: var(--mint); }

/* Buttons — sharp / architectural */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { background: transparent; color: var(--fg); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.section--dark .btn { border-color: var(--mint); background: var(--mint); color: var(--bg-dark); }
.section--dark .btn:hover { background: transparent; color: var(--mint); }

/* ————————————————————————————— Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 43, 36, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--on-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  background: rgba(12, 34, 28, 0.94);
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.5);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--bg-dark);
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand__name {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--on-dark-muted);
  border-left: 1px solid var(--border-dark);
  padding-left: 14px;
}
.brand__name b { display: block; color: var(--on-dark); font-weight: 400; letter-spacing: 0.16em; }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 34px; }
}
.nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  padding: 6px 0;
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--mint);
  transition: width 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-dark); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-dark) !important;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--on-dark);
  transition: transform 0.35s 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: 76px 0 0;
  z-index: 99;
  background: var(--bg-dark);
  color: var(--on-dark);
  padding: 40px 24px 48px;
  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);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-dark);
  color: var(--on-dark);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu__meta {
  margin-top: auto;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
  line-height: 1.9;
}
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ————————————————————————————— Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  background: var(--bg-dark);
  color: var(--on-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  position: relative;
  z-index: 3;
}
.hero__meta span { display: block; }
.hero__meta .r { text-align: right; }
.hero__body {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 28px;
}
.hero__title { display: block; }
.hero__line {
  display: block;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.6rem, 4.2vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--on-dark);
  text-transform: uppercase;
  max-width: 20ch;
}
.hero__accent {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.5rem, 15vw, 12rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--mint);
  margin-top: 0.05em;
}
.hero__viz {
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-50%);
  width: min(62vw, 720px);
  aspect-ratio: 1;
  z-index: 1;
  opacity: 0.85;
  pointer-events: none;
}
.hero__viz svg { width: 100%; height: 100%; }
.hero__viz-spin { transform-origin: 50% 50%; animation: vizSpin 46s linear infinite; }
.hero__viz-spin-2 { transform-origin: 50% 50%; animation: vizSpin 60s linear infinite reverse; }
@keyframes vizSpin { to { transform: rotate(360deg); } }
@media (min-width: 1024px) {
  .hero__viz { right: -2%; width: min(48vw, 660px); }
}

/* Hero intro card */
.hero__card {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--border-dark);
  padding: 26px 0 34px;
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .hero__card { grid-template-columns: 1fr 1fr 1fr; align-items: start; }
}
.hero__card-id { display: flex; align-items: center; gap: 14px; }
.hero__card-id .brand__mark { background: var(--mint); }
.hero__card-id .txt { line-height: 1.4; }
.hero__card-id .txt b { display: block; font-weight: 500; font-size: 15px; }
.hero__card-id .txt span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.hero__card p { font-size: 14.5px; line-height: 1.7; color: var(--on-dark-muted); }

/* ————————————————————————————— Section header block */
.block-head {
  display: grid;
  gap: 28px;
  margin-bottom: clamp(48px, 7vw, 86px);
}
@media (min-width: 900px) {
  .block-head { grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: 48px; }
}
.block-head__aside { align-self: end; }

/* ————————————————————————————— Approach numbered list */
.steps { border-top: 1px solid var(--border); }
.steps__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease), background 0.4s var(--ease);
}
.steps__item:hover { padding-left: 16px; background: rgba(60, 110, 79, 0.05); }
.steps__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.steps__label {
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.steps__ico { color: var(--muted); transition: transform 0.4s var(--ease), color 0.3s var(--ease); }
.steps__item:hover .steps__ico { transform: translate(4px, -4px); color: var(--accent); }
.steps__desc {
  grid-column: 2 / 3;
  font-size: 15px;
  color: var(--muted);
  margin-top: 6px;
  max-width: 60ch;
}

/* Pull-quote */
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 3.2rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--accent);
  max-width: 20ch;
  margin: clamp(48px, 7vw, 90px) 0 0;
}
.section--dark .pullquote { color: var(--mint); }
.pullquote--center { margin-inline: auto; text-align: center; max-width: 24ch; }

/* ————————————————————————————— Manifesto dark band */
.manifesto { text-align: center; }
.manifesto__mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.6;
  color: var(--mint);
  display: block;
  height: 0.55em;
  overflow: hidden;
}
.manifesto__text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 900px;
  margin: 32px auto 0;
}
.manifesto__text em { font-style: italic; color: var(--mint); }
.manifesto__sign {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-top: 44px;
}

/* ————————————————————————————— Projects / cases grid */
.cases {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .cases { grid-template-columns: repeat(2, 1fr); gap: 4px 60px; } }
.case {
  display: block;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.case__cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 26px;
}
.case__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.case:hover .case__cover img { transform: scale(1.05); }
.case__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}
.case__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.case__year { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.case__title {
  font-family: var(--sans);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.case__title em { font-family: var(--serif); font-style: italic; color: var(--accent); }
.case__desc { font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 46ch; }
.case__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.case__more .ico { transition: transform 0.4s var(--ease); }
.case:hover .case__more .ico { transform: translate(4px, -4px); }

/* ————————————————————————————— Services grid */
.svc {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .svc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc { grid-template-columns: repeat(3, 1fr); } }
.svc__item {
  padding: 40px 30px 44px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background 0.4s var(--ease);
}
.svc__item:hover { background: rgba(60, 110, 79, 0.05); }
.svc__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 26px;
}
.svc__title {
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.svc__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.svc__desc { font-size: 15px; color: var(--muted); line-height: 1.68; }
.svc__list { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__list span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-soft);
  border: 1px solid var(--border);
  padding: 5px 10px;
}

/* ————————————————————————————— Stats */
.stats {
  display: grid;
  gap: 40px;
  border-top: 1px solid var(--border-dark);
  padding-top: 56px;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--mint);
}
.stat__num em { font-style: italic; }
.stat__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 24ch;
}

/* ————————————————————————————— FAQ */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 30px 4px;
  font-family: var(--sans);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.faq__sign {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
}
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  background: var(--accent);
  top: 50%; left: 50%;
  transition: transform 0.35s var(--ease);
}
.faq__sign::before { width: 15px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__sign::after { width: 1.5px; height: 15px; transform: translate(-50%, -50%); }
.faq__item[data-open="true"] .faq__sign::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq__a-inner {
  padding: 0 4px 32px;
  max-width: 68ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.faq__item[data-open="true"] .faq__a { max-height: 420px; }

/* ————————————————————————————— CTA */
.cta { text-align: left; }
.cta__title {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 6.5vw, 5.4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.cta__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--mint); }
.cta__actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

/* ————————————————————————————— Form */
.form { display: grid; gap: 26px; }
.form__row { display: grid; gap: 26px; }
@media (min-width: 700px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 12px 2px;
  transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(99, 112, 106, 0.7); }
.form__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.form__note { font-size: 13px; color: var(--muted); max-width: 44ch; }

/* Contact meta list */
.contact-meta { display: grid; gap: 2px; border-top: 1px solid var(--border); }
.contact-meta__row {
  display: grid;
  gap: 6px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) { .contact-meta__row { grid-template-columns: 0.4fr 1fr; align-items: baseline; } }
.contact-meta__k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-meta__v { font-size: 16px; color: var(--fg-soft); line-height: 1.6; }
.contact-meta__v a:hover { color: var(--accent); }

/* ————————————————————————————— Value / info cards */
.info-grid { display: grid; gap: 4px; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .info-grid { grid-template-columns: repeat(2, 1fr); gap: 4px 56px; } }
.info-card { padding: 34px 0; border-bottom: 1px solid var(--border); }
.info-card__k {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px; display: block;
}
.info-card h3 {
  font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 12px;
}
.info-card h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.info-card p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* Timeline (about) */
.timeline { border-top: 1px solid var(--border); }
.timeline__row {
  display: grid; gap: 8px 40px;
  padding: 34px 0; border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .timeline__row { grid-template-columns: 0.3fr 1fr; } }
.timeline__year { font-family: var(--serif); font-style: italic; font-size: 1.9rem; color: var(--accent); }
.timeline__body h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 8px; }
.timeline__body p { color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 60ch; }

/* ————————————————————————————— Footer */
.footer {
  background: var(--bg-dark-2);
  color: var(--on-dark);
  padding: clamp(70px, 9vw, 120px) 0 40px;
}
.footer__top { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.footer__brand-mark em { color: var(--mint); }
.footer__tag { margin-top: 22px; color: var(--on-dark-muted); font-size: 15px; max-width: 40ch; line-height: 1.7; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 22px;
}
.footer__col ul { display: grid; gap: 14px; }
.footer__col a { color: var(--on-dark-muted); font-size: 15px; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--on-dark); }
.footer__col p { color: var(--on-dark-muted); font-size: 15px; line-height: 1.8; }
.footer__bottom {
  margin-top: clamp(56px, 8vw, 90px);
  padding-top: 30px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.footer__bottom a:hover { color: var(--on-dark); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 22px; }

/* ————————————————————————————— 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__viz-spin, .hero__viz-spin-2 { animation: none; }
  * { scroll-behavior: auto; }
}

/* ————————————————————————————— 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(12, 34, 28, 0.42);
  -webkit-backdrop-filter: blur(4px);
  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);
  color: var(--fg);
  padding: 34px 36px;
  max-width: 480px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 70px -20px rgba(0, 0, 0, 0.45);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.cookie-popup__card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.cookie-popup__card p { font-size: 14px; line-height: 1.65; color: var(--muted); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 12px 24px;
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s 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); }

/* ————————————————————————————— Legal / prose pages */
.page-head {
  background: var(--bg-dark);
  color: var(--on-dark);
  padding: clamp(60px, 10vw, 120px) 0 clamp(48px, 7vw, 80px);
}
.page-head__eyebrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 24px;
}
.page-head h1 {
  font-family: var(--sans);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.page-head h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--mint); }
.page-head p { margin-top: 24px; color: var(--on-dark-muted); max-width: 62ch; }

.prose { max-width: 760px; }
.prose h2 {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 52px 0 18px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; font-weight: 500; margin: 32px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16.5px; line-height: 1.78; }
.prose p { margin-bottom: 18px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.prose__updated {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 40px;
}

/* Thanks page */
.thanks {
  min-height: calc(100vh - 76px);
  display: flex; align-items: center;
  background: var(--bg-dark); color: var(--on-dark);
  text-align: center;
}
.thanks__inner { max-width: 720px; margin: 0 auto; padding: 80px 0; }
.thanks h1 {
  font-family: var(--sans);
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  font-weight: 300; letter-spacing: -0.03em; line-height: 1.02;
}
.thanks h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--mint); }
.thanks p { margin: 28px auto 0; color: var(--on-dark-muted); max-width: 52ch; }
.thanks .btn { margin-top: 40px; }

/* Divider label rows (marquee-like static) */
.tickerline {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tickerline span { display: inline-flex; align-items: center; gap: 34px; }
.tickerline span::after { content: "—"; opacity: 0.5; }
