/* Meridian — A Private Travel Society
   A deliberately handwritten stylesheet. Variable serif display, warm paper,
   one loud terracotta accent, and a hairline grid that holds it all together. */

/* ---------- Tokens ---------- */
:root {
  --paper:        #F2EADB;
  --paper-warm:   #FBF6EC;
  --paper-edge:   #E5DCC7;
  --ink:          #0E1320;
  --ink-soft:     #1B2338;
  --ink-muted:    #4B5166;
  --muted:        #8F8978;
  --terra:        #C4593A;
  --terra-deep:   #9A3F22;
  --terra-soft:   #E8B9A5;
  --rule:         rgba(14, 19, 32, 0.14);
  --rule-strong:  rgba(14, 19, 32, 0.28);

  --f-display: "Fraunces", "Apple Garamond", Georgia, serif;
  --f-body:    "Instrument Sans", "Helvetica Neue", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease:      cubic-bezier(.2, .7, .2, 1);
  --ease-slow: cubic-bezier(.2, .8, .1, 1);

  --container-max: 1440px;
  --gutter: clamp(20px, 3.5vw, 64px);
  --col-gap: clamp(20px, 2.2vw, 36px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { color-scheme: light; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.02vw, 18px);
  line-height: 1.55;
  letter-spacing: -0.003em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }
input { font: inherit; color: inherit; }
::selection { background: var(--terra); color: var(--paper-warm); }

/* ---------- Grain overlay & scroll progress ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.06   0 0 0 0 0.07   0 0 0 0 0.11   0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.85'/></svg>");
  background-size: 240px 240px;
}
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--terra);
  z-index: 300;
  transition: width 120ms linear;
}

/* ---------- Shared layout helpers ---------- */
.topbar, .hero, .manifesto, .archive, .memberships, .quote, .cta, .foot {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 18px 28px;
  padding-top: clamp(80px, 10vw, 160px);
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(40px, 5vw, 80px);
}
.section-head--wide { grid-template-columns: auto 1fr; }
.section-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terra);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  padding: 0 4px 0 0;
  border-left: 1px solid var(--terra);
  align-self: stretch;
  line-height: 1;
  display: flex; align-items: flex-start; justify-content: center;
}
.section-title {
  grid-column: 2;
  margin: 0;
  font-family: var(--f-display);
  font-weight: 360;
  font-style: italic;
  font-size: clamp(44px, 7.5vw, 108px);
  line-height: .95;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}
.section-title__mark { color: var(--terra); font-style: normal; }
.section-sub {
  grid-column: 2;
  max-width: 54ch;
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
  background: linear-gradient(to bottom, var(--paper) 70%, rgba(242, 234, 219, 0));
  backdrop-filter: saturate(110%);
}
.brandmark {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brandmark__glyph {
  font-style: italic; font-weight: 500; font-size: 30px; line-height: 1;
  color: var(--ink);
}
.brandmark__glyph em { color: var(--terra); font-style: normal; margin-left: -2px; }
.brandmark__wordmark { font-weight: 420; font-size: 18px; color: var(--ink); }

.topbar__nav {
  display: flex; gap: clamp(18px, 2.4vw, 36px);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.topbar__nav a {
  color: var(--ink); position: relative;
  padding-bottom: 2px;
}
.topbar__nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--terra);
  transition: right .35s var(--ease);
}
.topbar__nav a:hover::after { right: 0; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.chip--dark { background: var(--ink); color: var(--paper-warm); border-color: var(--ink); }
.chip--dark:hover { background: var(--terra); border-color: var(--terra); transform: translateY(-1px); }
.chip svg { transition: transform .35s var(--ease); }
.chip:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  column-gap: var(--col-gap);
  row-gap: clamp(24px, 3vw, 48px);
  padding-top: clamp(40px, 5vw, 80px);
  padding-bottom: clamp(72px, 8vw, 120px);
  align-items: start;
}

.hero__eyebrow {
  grid-column: 1 / -1;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 4px;
}
.hero__eyebrow .tick {
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--terra);
}
.hero__eyebrow .dot { color: var(--rule-strong); }

.hero__headline {
  grid-column: 1 / 2;
  margin: 0;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(56px, 9.4vw, 148px);
  line-height: .92;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
}
.hero__headline .line { display: block; }
.hero__headline .line:nth-child(2) { padding-left: clamp(10px, 2vw, 32px); }
.hero__headline .line:nth-child(3) { padding-left: clamp(40px, 8vw, 140px); }
.hero__headline em {
  font-style: italic;
  font-weight: 360;
  color: var(--terra);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.hero__meta {
  grid-column: 1 / 2;
  max-width: 56ch;
  margin-top: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 20px;
}
.hero__lede {
  margin: 0;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--paper-warm); }
.btn--solid:hover { background: var(--terra); border-color: var(--terra); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper-warm); }
.btn--small { padding: 10px 16px; font-size: 11px; }
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.hero__plate {
  grid-column: 2 / 3;
  grid-row: 2 / span 2;
  margin: 0;
  position: relative;
  align-self: start;
}
.hero__plate img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(.92) contrast(1.02);
  box-shadow:
    0 40px 60px -30px rgba(14, 19, 32, 0.35),
    0 2px 6px rgba(14, 19, 32, 0.08);
}
.hero__plate::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  pointer-events: none;
}
.hero__plate figcaption {
  display: flex; gap: 14px; align-items: baseline;
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.figcap__label { color: var(--terra); }
.figcap__body { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 13px; }

.hero__ticker {
  grid-column: 1 / -1;
  margin-top: clamp(36px, 4vw, 64px);
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.ticker-track {
  display: flex; gap: 2em;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  animation: ticker 70s linear infinite;
}
.ticker-track span { flex-shrink: 0; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Manifesto ---------- */
.manifesto {
  max-width: var(--container-max);
  margin: 0 auto;
}
.manifesto__body {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(28px, 4vw, 80px);
  align-items: start;
  padding-bottom: clamp(48px, 5vw, 80px);
}
.manifesto__lede {
  grid-column: 1 / -1;
  margin: 0 0 clamp(24px, 3vw, 48px);
  max-width: 28ch;
  font-family: var(--f-display);
  font-weight: 320;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 0;
}
.manifesto__lede em {
  font-style: italic;
  font-weight: 360;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--terra);
}
.manifesto__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 56px);
  max-width: 72ch;
}
.manifesto__cols p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.manifesto__sigil {
  justify-self: end;
  align-self: start;
  color: var(--ink);
  opacity: .6;
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Archive ---------- */
.archive { max-width: var(--container-max); margin: 0 auto; }
.archive__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 2.4vw, 44px);
  padding-bottom: clamp(60px, 6vw, 96px);
}
.card {
  grid-column: span 4;
  display: flex; flex-direction: column; gap: 14px;
  color: var(--ink);
  transition: transform .5s var(--ease-slow);
}
.card--tall  { grid-column: span 5; grid-row: span 2; }
.card--wide  { grid-column: span 7; }
.card:hover  { transform: translateY(-4px); }

.card__image {
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-edge);
  aspect-ratio: 4 / 5;
}
.card--tall .card__image { aspect-ratio: 3 / 5; }
.card--wide .card__image { aspect-ratio: 16 / 9; }
.card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-slow), filter .6s var(--ease);
  filter: saturate(.92) contrast(1.02);
}
.card:hover .card__image img { transform: scale(1.04); filter: saturate(1) contrast(1.05); }

.card__meta {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 4px;
}
.card__num { color: var(--terra); }
.card__name {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 380;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96, "SOFT" 40, "WONK" 0;
}
.card__name em { font-style: italic; color: var(--terra); font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1; }
.card__line { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-muted); max-width: 34ch; }

/* ---------- Memberships ---------- */
.memberships { max-width: var(--container-max); margin: 0 auto; }
.tiers {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 1.8vw, 32px);
  padding-bottom: clamp(72px, 7vw, 120px);
  align-items: stretch;
}
.tier {
  grid-column: span 4;
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.4vw, 40px);
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: 2px;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tier:hover { transform: translateY(-3px); box-shadow: 0 30px 40px -28px rgba(14, 19, 32, 0.2); }
.tier--feature {
  background: var(--ink);
  color: var(--paper-warm);
  border-color: var(--ink);
  box-shadow: 0 30px 40px -28px rgba(14, 19, 32, 0.45);
}
.tier__ribbon {
  position: absolute; top: -12px; left: 24px;
  padding: 6px 10px;
  background: var(--terra);
  color: var(--paper-warm);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: 999px;
}
.tier__head { display: flex; align-items: baseline; gap: 14px; }
.tier__mark {
  font-family: var(--f-display); font-style: italic;
  font-size: 22px;
  color: var(--terra);
}
.tier--feature .tier__mark { color: var(--terra-soft); }
.tier__name {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 360;
  font-size: clamp(28px, 2.8vw, 40px);
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96, "SOFT" 40, "WONK" 0;
}
.tier__desc {
  margin: 18px 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 40ch;
}
.tier--feature .tier__desc { color: rgba(251, 246, 236, 0.72); }
.tier__list {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 0;
  margin: 0 0 auto;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-soft);
}
.tier--feature .tier__list { border-top-color: rgba(251, 246, 236, 0.18); color: rgba(251, 246, 236, 0.85); }
.tier__list li { position: relative; padding-left: 20px; }
.tier__list li::before {
  content: ""; position: absolute; left: 0; top: .7em;
  width: 10px; height: 1px; background: var(--terra);
}
.tier__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  gap: 12px;
}
.tier--feature .tier__foot { border-top-color: rgba(251, 246, 236, 0.18); }
.tier__price {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  color: inherit;
}
.tier--feature .btn--solid {
  background: var(--terra); border-color: var(--terra); color: var(--paper-warm);
}
.tier--feature .btn--solid:hover { background: var(--paper-warm); color: var(--ink); border-color: var(--paper-warm); }

/* ---------- Quote ---------- */
.quote {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: clamp(60px, 7vw, 120px);
  padding-bottom: clamp(60px, 7vw, 120px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.quote__body {
  margin: 0 auto;
  max-width: 22ch;
  text-align: center;
}
.quote__body p {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 320;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
}
.quote__body .pull {
  color: var(--terra);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  display: inline-block;
  transform: translateY(0.1em);
}
.quote__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule);
  max-width: 640px;
  margin-left: auto; margin-right: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.quote__name { color: var(--ink); }
.quote__sigil { color: var(--terra); }

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: var(--paper-warm);
  margin-top: clamp(60px, 6vw, 100px);
  padding-top: clamp(80px, 8vw, 128px);
  padding-bottom: clamp(80px, 8vw, 128px);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at 20% 20%, rgba(196, 89, 58, 0.28), transparent 38%),
    radial-gradient(circle at 85% 80%, rgba(196, 89, 58, 0.18), transparent 45%);
  pointer-events: none;
}
.cta__inner { position: relative; max-width: 920px; margin: 0 auto; }
.cta__eyebrow {
  margin: 0 0 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra-soft);
}
.cta__title {
  margin: 0 0 22px;
  font-family: var(--f-display);
  font-weight: 320;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
}
.cta__title span { display: block; }
.cta__title--em em {
  font-style: italic; color: var(--terra-soft);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.cta__lede {
  margin: 0 0 32px;
  max-width: 56ch;
  color: rgba(251, 246, 236, 0.78);
  font-size: 15px;
  line-height: 1.6;
}
.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  align-items: end;
}
.cta__form label {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(251, 246, 236, 0.6);
}
.cta__form--wide { grid-column: 1 / -1; }
.cta__form input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(251, 246, 236, 0.32);
  padding: 10px 0;
  font-family: var(--f-display);
  font-weight: 320;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--paper-warm);
  outline: none;
  transition: border-color .3s var(--ease);
}
.cta__form input::placeholder { color: rgba(251, 246, 236, 0.32); font-style: italic; }
.cta__form input:focus { border-bottom-color: var(--terra); }

.cta__form button {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--terra); color: var(--paper-warm);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .3s var(--ease), transform .3s var(--ease);
  position: relative;
}
.cta__form button:hover { background: var(--paper-warm); color: var(--ink); transform: translateY(-1px); }
.cta__form button .sent { display: none; }
.cta__form.is-sent button .label { display: none; }
.cta__form.is-sent button .sent  { display: inline; }
.cta__form.is-sent button { background: var(--paper-warm); color: var(--ink); cursor: default; pointer-events: none; }

/* ---------- Footer ---------- */
.foot {
  background: var(--paper);
  color: var(--ink);
  padding-top: clamp(64px, 6vw, 96px);
  padding-bottom: clamp(32px, 3vw, 48px);
  border-top: 1px solid var(--rule);
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 56px);
  max-width: var(--container-max);
  margin: 0 auto;
}
.foot__brand {
  font-family: var(--f-display);
  font-weight: 360;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
}
.foot__brand span { color: var(--terra); font-style: normal; }
.foot__tag { max-width: 36ch; font-size: 14px; color: var(--ink-muted); margin: 14px 0 20px; }
.foot__meta, .foot__label {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-muted);
}
.foot__meta { display: flex; gap: 8px; }
.foot__meta .dot { color: var(--rule-strong); }
.foot__label { margin-bottom: 14px; color: var(--terra); }
.foot__col ul { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.foot__col ul li span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--terra); margin-left: 8px; }
.foot__col a { border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.foot__col a:hover { border-bottom-color: var(--terra); }

.foot__fine {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: var(--container-max);
  margin: clamp(40px, 4vw, 72px) auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- Reveal motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 900ms var(--ease-slow),
    transform 900ms var(--ease-slow);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] { transition-delay: 80ms; }
[data-reveal][data-delay="2"] { transition-delay: 220ms; }
[data-reveal][data-delay="3"] { transition-delay: 440ms; }
[data-reveal][data-delay="4"] { transition-delay: 620ms; }
[data-reveal][data-delay="5"] { transition-delay: 820ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .manifesto__sigil { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero__plate { grid-column: 1 / -1; grid-row: auto; }
  .hero__plate img { aspect-ratio: 4 / 3; }
  .topbar__nav { display: none; }
  .archive__grid, .tiers { grid-template-columns: repeat(6, 1fr); }
  .card, .card--tall, .card--wide { grid-column: span 6; grid-row: auto; }
  .tier { grid-column: span 6; }
  .manifesto__body { grid-template-columns: 1fr; }
  .manifesto__cols { grid-template-columns: 1fr; max-width: none; }
  .manifesto__sigil { display: none; }
  .cta__form { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero__headline .line:nth-child(2),
  .hero__headline .line:nth-child(3) { padding-left: 0; }
  .section-head { grid-template-columns: 1fr; }
  .section-num { writing-mode: horizontal-tb; transform: none; border-left: 0; border-top: 1px solid var(--terra); padding: 6px 0 0; }
  .foot__grid { grid-template-columns: 1fr; }
}
