/* palette: bg=#FBFAF7 fg=#15161D accent=#B08A4A */
/* fonts: display="Fraunces" body="Hanken Grotesk" mono="Space Mono" */

:root {
  --bg: #FBFAF7;         /* soft warm paper — dominant background */
  --bg-alt: #141826;     /* deep space-navy band (inverted sections) */
  --bg-soft: #F1EFEA;    /* subtle alternating light section */
  --fg: #15161D;         /* near-black ink */
  --fg-soft: #31333D;    /* slightly lighter fg */
  --muted: #6D6F78;      /* secondary text */
  --accent: #B08A4A;     /* refined gold/bronze — the "shine" */
  --accent-deep: #8A6A33;/* darker gold for hover */
  --accent-soft: #D8C59A;/* pale gold for dark backgrounds */
  --border: rgba(21, 22, 29, 0.12);
  --border-strong: rgba(21, 22, 29, 0.22);
  --line-light: rgba(251, 250, 247, 0.16);

  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'Courier New', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1240px;
  --pad: clamp(80px, 12vw, 164px);
}

*, *::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.76;
  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; }

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

/* ---------- Layout primitives ---------- */
.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, 104px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  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; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  color: var(--fg);
}

.h-display {
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
}
.h-section {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.h-sub {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
em { font-style: italic; color: var(--accent); }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.68;
  color: var(--fg-soft);
  max-width: 62ch;
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn--primary {
  background: var(--fg);
  color: var(--bg);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px rgba(21, 22, 29, 0.5);
}
.btn--gold {
  background: var(--accent);
  color: #fff;
}
.btn--gold:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}
.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--fg);
}
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--light {
  border: 1px solid var(--line-light);
  color: var(--bg);
}
.btn--light:hover { background: rgba(251,250,247,0.08); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  transition: gap 0.35s var(--ease), color 0.35s var(--ease);
}
.arrow-link::after { content: "\2192"; transition: transform 0.35s var(--ease); }
.arrow-link:hover { color: var(--accent-deep); }
.arrow-link:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 30px -18px rgba(21, 22, 29, 0.4);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  gap: 16px;
}
.brand {
  grid-column: 2;
  justify-self: center;
  text-align: center;
  line-height: 1;
}
.brand__mark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--fg);
}
.brand__sub {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-top: 3px;
  padding-left: 0.4em;
}
.nav {
  display: none;
  grid-column: 1;
  gap: 30px;
  align-items: center;
}
.nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--fg); }

.header__actions {
  grid-column: 3;
  justify-self: end;
  display: none;
  align-items: center;
  gap: 18px;
}
.header__cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.header__cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.menu-toggle {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
}
.menu-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.4s 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); }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__actions { display: flex; }
  .menu-toggle { display: none; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 96px 28px 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.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, 3rem);
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--accent-deep); padding-left: 10px; }
.mobile-menu__foot {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  line-height: 1.9;
}
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,12,20,0.5) 0%, rgba(10,12,20,0.1) 34%, rgba(10,12,20,0.78) 100%);
}
.hero__inner {
  padding-bottom: clamp(56px, 9vw, 110px);
  padding-top: 140px;
  width: 100%;
}
.hero .eyebrow { color: var(--accent-soft); }
.hero .eyebrow::before { background: var(--accent-soft); }
.hero h1 {
  color: #fff;
  max-width: 15ch;
}
.hero h1 em { color: var(--accent-soft); }
.hero__lead {
  margin: 30px 0 38px;
  max-width: 48ch;
  color: rgba(255,255,255,0.82);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.64;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__scroll {
  position: absolute;
  right: clamp(20px, 5vw, 48px);
  bottom: clamp(40px, 8vw, 90px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  writing-mode: vertical-rl;
  display: none;
}
@media (min-width: 900px) { .hero__scroll { display: block; } }

/* ---------- Intro / statement rows ---------- */
.intro__grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
}
.intro__meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 2;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.intro__meta strong { color: var(--fg); font-weight: 700; }

/* ---------- Manifesto ---------- */
.manifesto {
  background: var(--bg-alt);
  color: var(--bg);
  text-align: center;
}
.manifesto .eyebrow { color: var(--accent-soft); }
.manifesto .eyebrow::before { background: var(--accent-soft); }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 980px;
  margin: 0 auto;
  color: var(--bg);
}
.manifesto__quote em { color: var(--accent-soft); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.5;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.manifesto__by {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251,250,247,0.6);
}

/* ---------- Timeline (Skeleton D) ---------- */
.timeline__head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 7vw, 84px);
}
@media (min-width: 900px) {
  .timeline__head { grid-template-columns: 1fr 1fr; align-items: end; }
  .timeline__head .lead { justify-self: end; }
}
.timeline {
  position: relative;
  display: grid;
  gap: 0;
}
.timeline__item {
  position: relative;
  display: grid;
  gap: 10px 48px;
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--border);
  grid-template-columns: auto 1fr;
}
.timeline__item:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 820px) {
  .timeline__item { grid-template-columns: 180px 72px 1fr; align-items: baseline; }
}
.timeline__phase {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding-top: 6px;
}
.timeline__num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--fg);
  line-height: 1;
  grid-row: span 2;
}
@media (min-width: 820px) { .timeline__num { grid-row: auto; } }
.timeline__body { max-width: 56ch; }
.timeline__body h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.timeline__body p { margin: 0; color: var(--fg-soft); font-size: 1.02rem; }
.timeline__item:hover .timeline__num { color: var(--accent); transition: color 0.4s var(--ease); }

/* ---------- Services grid ---------- */
.grid-cards {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg);
  padding: clamp(30px, 3.4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  transition: background 0.5s var(--ease);
}
.card:hover { background: var(--bg-soft); }
.card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
}
.card h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  letter-spacing: -0.01em;
  line-height: 1.12;
}
.card p { margin: 0; color: var(--fg-soft); font-size: 1rem; line-height: 1.68; }
.card__foot { margin-top: auto; padding-top: 18px; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  gap: 1px;
  background: var(--line-light);
  border-block: 1px solid var(--line-light);
}
@media (min-width: 680px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--bg-alt);
  padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px);
}
.stat__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bg);
}
.stat__num em { color: var(--accent-soft); font-style: normal; }
.stat__label {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251,250,247,0.6);
  line-height: 1.7;
}
.stats-band { background: var(--bg-alt); color: var(--bg); }
.stats-band .eyebrow { color: var(--accent-soft); }
.stats-band .eyebrow::before { background: var(--accent-soft); }
.stats-band .h-section { color: var(--bg); }

/* ---------- Work / case studies ---------- */
.work-grid {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card { display: block; }
.work-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}
.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20,24,38,0.68);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 7px 14px;
  border-radius: 999px;
}
.work-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 18px;
}
.work-card__meta h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: -0.015em;
}
.work-card__yr { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.work-card p { margin: 12px 0 0; color: var(--fg-soft); font-size: 1rem; }

/* ---------- Principles (text team) ---------- */
.principles {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (min-width: 760px) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principle {
  background: var(--bg);
  padding: clamp(32px, 3.6vw, 52px);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.avatar--mono {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.principle h3 { font-size: 1.4rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.principle .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
  display: block;
}
.principle p { margin: 0; color: var(--fg-soft); font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 920px; margin: 0 auto; }
.faq__item {
  border-top: 1px solid var(--border);
}
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 34px) 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  letter-spacing: -0.01em;
  color: var(--fg);
  transition: color 0.3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-deep); }
.faq__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.faq__icon::before { top: 50%; left: 4px; right: 4px; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 4px; bottom: 4px; width: 1.5px; transform: translateX(-50%); }
.faq__item[open] .faq__icon::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.faq__answer {
  padding: 0 0 clamp(26px, 3vw, 34px);
  max-width: 68ch;
}
.faq__answer p { margin: 0 0 14px; color: var(--fg-soft); }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta {
  background: var(--bg-alt);
  color: var(--bg);
  text-align: center;
}
.cta .eyebrow { color: var(--accent-soft); justify-content: center; }
.cta .eyebrow::before { background: var(--accent-soft); }
.cta h2 {
  color: var(--bg);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 300;
  max-width: 16ch;
  margin: 0 auto 30px;
}
.cta h2 em { color: var(--accent-soft); }
.cta__sub { color: rgba(251,250,247,0.74); max-width: 52ch; margin: 0 auto 40px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 920px) { .contact__grid { grid-template-columns: 1fr 0.9fr; } }
.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1.02rem;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  padding: 12px 0;
  transition: border-color 0.3s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { outline: none; border-color: var(--accent); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); opacity: 0.7; }

.contact-info { display: grid; gap: 2px; }
.contact-info__item {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.contact-info__item:last-child { border-bottom: 1px solid var(--border); }
.contact-info__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 8px;
}
.contact-info__value { font-size: 1.1rem; color: var(--fg); line-height: 1.6; }
.contact-info__value a:hover { color: var(--accent-deep); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding: clamp(130px, 18vh, 200px) 0 clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 16ch;
}
.page-hero h1 em { color: var(--accent); }
.page-hero .lead { margin-top: 30px; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.015em;
  margin: 52px 0 18px;
}
.prose h3 { font-size: 1.3rem; margin: 34px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 1.05rem; line-height: 1.78; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 18px; padding-left: 0; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 10px; list-style: none; }
.prose li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 1px; background: var(--accent); }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 40px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-alt);
  color: rgba(251,250,247,0.7);
  padding: clamp(64px, 8vw, 110px) 0 40px;
}
.footer__top {
  display: grid;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}
@media (min-width: 860px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
}
.footer__brand .brand__mark { color: var(--bg); font-size: 1.7rem; }
.footer__tagline {
  margin: 20px 0 0;
  max-width: 34ch;
  color: rgba(251,250,247,0.6);
  font-size: 1rem;
  line-height: 1.6;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 20px;
}
.footer__col ul { display: grid; gap: 12px; }
.footer__col a, .footer__col span { font-size: 0.98rem; color: rgba(251,250,247,0.72); transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--bg); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(251,250,247,0.5);
}
.footer__bottom a:hover { color: var(--bg); }

/* ---------- Scroll 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__media img { animation: none; }
  html { 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(10,12,20,0.4);
  -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);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 4px;
  box-shadow: 0 30px 70px -20px rgba(10,12,20,0.5);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.cookie-popup__card h3 { font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.cookie-popup__card p { margin: 0; font-size: 0.95rem; color: var(--fg-soft); line-height: 1.64; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 11px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-family: var(--sans);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.cookie-popup__actions button:first-child:hover { background: var(--bg-soft); }
.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-deep); border-color: var(--accent-deep); }

/* ---------- Misc ---------- */
.divider-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.text-center { text-align: center; }
.mt-cta { margin-top: clamp(40px, 6vw, 72px); }
