/* palette: bg=#E8E6DE fg=#1C1C1A accent=#78855E */
/* fonts: display="Space Grotesk" body="Inter" mono="Space Mono" */

:root {
  --bg: #E8E6DE;        /* warm off-white / light sand-grey from the hero sky */
  --bg-alt: #DEDCD2;    /* alternating light section background */
  --dark: #121210;      /* near-black inverted band (reference black sections) */
  --dark-soft: #1D1D1A;
  --fg: #1C1C1A;        /* primary charcoal text (not brown) */
  --fg-soft: #38382F;   /* slightly lighter fg */
  --muted: #6D6D62;     /* secondary text */
  --accent: #78855E;    /* muted sage-olive from the vegetation */
  --accent-deep: #5C6647; /* darker sage for hover */
  --on-dark: #E8E6DE;   /* text over dark bands */
  --on-dark-muted: #9A9A8E;
  --border: rgba(28, 28, 26, 0.16);
  --border-soft: rgba(28, 28, 26, 0.08);
  --border-dark: rgba(232, 230, 222, 0.16);

  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1280px;
  --pad: 20px;
}

@media (min-width: 768px) { :root { --pad: 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: 17px;
  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-family: var(--serif); font-weight: 400; }
p { margin: 0; }

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

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 15px 26px;
  border: 1px solid var(--fg);
  border-radius: 2px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--fg); color: var(--bg); transform: translateY(-2px); }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--ghost-dark { border-color: var(--border-dark); color: var(--on-dark); }
.btn--ghost-dark:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }

.arrow-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
  transition: gap .35s var(--ease), color .35s var(--ease);
}
.arrow-link span { transition: transform .35s var(--ease); }
.arrow-link:hover { color: var(--accent); }
.arrow-link:hover span { transform: translateX(6px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 66px;
}
.header--over {
  position: fixed;
  left: 0; right: 0;
  color: var(--on-dark);
}
.header--over .brand,
.header--over .clock,
.header--over .nav a { color: var(--on-dark); }
.header[data-scrolled="true"] {
  background: rgba(232, 230, 222, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(28,28,26,0.06);
  border-bottom: 1px solid var(--border-soft);
  color: var(--fg);
  position: fixed;
}
.header[data-scrolled="true"] .brand,
.header[data-scrolled="true"] .clock,
.header[data-scrolled="true"] .nav a { color: var(--fg); }

.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.clock {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg);
  white-space: nowrap;
}
.clock b { font-weight: 400; }
.header__right { display: flex; align-items: center; gap: 20px; }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; gap: 30px; }
  .nav a {
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fg);
    position: relative;
    transition: color .3s var(--ease);
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -5px;
    width: 0; height: 1px;
    background: currentColor;
    transition: width .35s var(--ease);
  }
  .nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
}
.header__mark {
  display: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid currentColor;
  padding: 4px 8px;
  border-radius: 2px;
}
@media (min-width: 1024px) { .header__mark { display: none; } }

/* Hamburger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span {
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--dark);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
  transform: translateY(-100%);
  transition: transform .55s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 12vw, 3.4rem);
  letter-spacing: -0.02em;
  padding: 10px 0;
  color: var(--on-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.mobile-menu a:hover { color: var(--accent); padding-left: 12px; }
.mobile-menu__meta {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
  line-height: 2;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--on-dark);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) both;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,18,16,0.55) 0%, rgba(18,18,16,0.05) 30%, rgba(18,18,16,0.25) 65%, rgba(18,18,16,0.78) 100%);
}
.hero__inner {
  width: 100%;
  padding-top: 120px;
  padding-bottom: clamp(40px, 7vw, 84px);
}
.hero__eyebrow { color: rgba(232,230,222,0.85); }
.hero__eyebrow::before { background: var(--accent); }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(28px, 5vw, 48px);
}
.hero__lede {
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(232,230,222,0.9);
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Vertical side tag (reference "Nominee") */
.hero__side {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232,230,222,0.7);
  display: none;
}
@media (min-width: 768px) { .hero__side { display: block; } }

/* ---------- Manifesto (dark band) ---------- */
.manifesto {
  background: var(--dark);
  color: var(--on-dark);
  text-align: center;
  padding: clamp(96px, 16vw, 220px) 0;
}
.manifesto__q {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 auto;
}
.manifesto__q b { font-weight: 400; color: var(--accent); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.manifesto__cta { margin-top: clamp(40px, 6vw, 64px); }
.manifesto .arrow-link { color: var(--on-dark); }
.manifesto .arrow-link:hover { color: var(--accent); }

/* ---------- Section head ---------- */
.head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(48px, 7vw, 84px);
}
@media (min-width: 900px) {
  .head { grid-template-columns: 1fr 1fr; align-items: end; }
}
.head h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.head__aside { max-width: 44ch; color: var(--fg-soft); font-size: 17px; }
@media (min-width: 900px) { .head__aside { justify-self: end; } }

/* ---------- Timeline / progression (Skeleton D) ---------- */
.timeline { display: grid; gap: 0; }
.tl-item {
  display: grid;
  gap: 8px 40px;
  grid-template-columns: 1fr;
  padding: clamp(32px, 5vw, 52px) 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.tl-item:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 860px) {
  .tl-item { grid-template-columns: 100px 1.1fr 1.4fr; align-items: start; }
}
.tl-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.tl-item h3 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.tl-body { color: var(--fg-soft); font-size: 16.5px; }
.tl-body .tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 2px;
}
.tl-item:hover .tl-num { color: var(--accent-deep); }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 1px; background: var(--border-soft); }
@media (min-width: 680px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg);
  padding: clamp(30px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.card:hover { background: var(--bg-alt); }
.card__no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.card h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 20px 0 14px;
  font-weight: 400;
}
.card p { color: var(--fg-soft); font-size: 16px; }
.card__foot { margin-top: auto; padding-top: 24px; }
.card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.card ul li {
  font-size: 15px;
  color: var(--fg-soft);
  padding: 8px 0;
  border-top: 1px solid var(--border-soft);
  display: flex;
  gap: 10px;
}
.card ul li::before { content: "—"; color: var(--accent); }

/* ---------- Stats band ---------- */
.stats {
  background: var(--dark);
  color: var(--on-dark);
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-dark);
}
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--dark);
  padding: clamp(36px, 6vw, 64px) clamp(20px, 3vw, 40px);
}
.stat .n {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat .n em { font-style: normal; color: var(--accent); }
.stat .l {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--on-dark-muted);
}

/* ---------- Work / case studies ---------- */
.work { display: grid; gap: clamp(28px, 4vw, 44px); }
@media (min-width: 820px) { .work { grid-template-columns: 1fr 1fr; } }
.work-card { display: block; }
.work-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: var(--bg-alt);
}
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.work-card h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.work-card__tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}
.work-card p { margin-top: 14px; color: var(--fg-soft); font-size: 16px; }
.work-card--wide { grid-column: 1 / -1; }
.work-card--wide .work-card__media { aspect-ratio: 21 / 9; }

/* ---------- Quote / testimonial ---------- */
.quotes { display: grid; gap: 1px; background: var(--border-soft); }
@media (min-width: 820px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote {
  background: var(--bg);
  padding: clamp(32px, 5vw, 52px);
}
.quote p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
}
.quote__by {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.quote__who { font-size: 14px; line-height: 1.4; }
.quote__who b { font-weight: 600; display: block; }
.quote__who span { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.placeholder-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ---------- Principles (text team) ---------- */
.principles { display: grid; gap: clamp(24px, 4vw, 40px); }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle {
  border-top: 1px solid var(--fg);
  padding-top: 22px;
}
.principle .k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.principle h3 {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 12px 0 12px;
}
.principle p { color: var(--fg-soft); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(24px, 3vw, 34px) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .ic {
  flex-shrink: 0;
  width: 26px; height: 26px;
  position: relative;
}
.faq summary .ic::before,
.faq summary .ic::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform .35s var(--ease);
}
.faq summary .ic::before { top: 12px; left: 3px; width: 20px; height: 1.5px; }
.faq summary .ic::after { left: 12px; top: 3px; width: 1.5px; height: 20px; }
.faq details[open] summary .ic::after { transform: scaleY(0); }
.faq details[open] summary { color: var(--accent); }
.faq__a {
  padding: 0 0 clamp(24px, 3vw, 32px);
  max-width: 66ch;
  color: var(--fg-soft);
  font-size: 16.5px;
}

/* ---------- CTA band ---------- */
.cta {
  background: var(--accent);
  color: #fff;
}
.cta__inner {
  display: grid;
  gap: 32px;
  padding: clamp(72px, 12vw, 150px) 0;
}
@media (min-width: 900px) {
  .cta__inner { grid-template-columns: 1.4fr 1fr; align-items: end; }
}
.cta h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 300;
  color: #fff;
}
.cta p { color: rgba(255,255,255,0.9); font-size: 18px; max-width: 42ch; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.cta .btn { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta .btn:hover { background: #fff; color: var(--accent-deep); border-color: #fff; }
.cta .btn--solid { background: #fff; color: var(--accent-deep); border-color: #fff; }
.cta .btn--solid:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.info-block { margin-bottom: 30px; }
.info-block .k {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}
.info-block .v { font-size: 17px; line-height: 1.6; }
.info-block a:hover { color: var(--accent); }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 16px;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  transition: border-color .3s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form__note { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 1.02;
  margin-bottom: 18px;
}
.prose h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 48px 0 14px;
}
.prose h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 10px; font-family: var(--sans); }
.prose p, .prose li { color: var(--fg-soft); font-size: 16.5px; line-height: 1.8; }
.prose ul { padding-left: 20px; margin: 12px 0; }
.prose li { margin: 6px 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(130px, 18vw, 200px) 0 clamp(48px, 7vw, 90px);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 16ch;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero__lede {
  max-width: 52ch;
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--fg-soft);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(64px, 9vw, 110px) 0 40px;
}
.footer__top {
  display: grid;
  gap: 44px;
  padding-bottom: clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--border-dark);
}
@media (min-width: 860px) {
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr; }
}
.footer__brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.02em;
}
.footer__tag { margin-top: 18px; max-width: 34ch; color: var(--on-dark-muted); font-size: 16px; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--on-dark-muted);
  font-weight: 400;
  margin-bottom: 18px;
}
.footer__col a, .footer__col p {
  display: block;
  color: var(--on-dark);
  font-size: 15px;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
}
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .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;
  padding: 24px;
  background: rgba(18,18,16,0.4);
  -webkit-backdrop-filter: blur(4px);
  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);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.4);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}
.cookie-popup__card h3 { font-size: 1.4rem; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14.5px; line-height: 1.65; color: var(--fg-soft); }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; }
.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-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .3s var(--ease), color .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); color: #fff; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--fg-soft);
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.marquee__track span::after { content: "◦"; color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
