/* ═══════════════════════════════════════════════════════════════════════
   RANKINE INNOVATION LAB — EDITORIAL DESIGN SYSTEM
   Shared across index, about, research, programmes, knowledge-hub,
   team, contact. Page-specific styles live inline on each page.
═══════════════════════════════════════════════════════════════════════ */

:root {
  --paper:      #F2EEE6;
  --paper-deep: #E9E3D7;
  --ink:        #1B1510;
  --ink-soft:   #4A4038;
  --copper:     #8B4A28;
  --copper-lt:  #C98F55;
  --line:       rgba(27,21,16,0.16);
  --line-faint: rgba(27,21,16,0.09);
  --line-dark:  rgba(242,238,230,0.18);
  --paper-on-dark:      #F2EEE6;
  --paper-on-dark-soft: rgba(242,238,230,0.68);
  --error:      #9C3B22;

  --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --gutter: clamp(1.25rem, 3.5vw, 4rem);
  --sec-pad: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ── Base ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--copper); color: var(--paper); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.wrap { width: min(1560px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; font-family: var(--font-mono); font-size: 0.8rem;
}
.skip-link:focus { left: 0; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ── Header / nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-logo { display: inline-flex; align-items: center; gap: 0.7rem; }
.nav-logo-icon { width: 34px; height: 34px; object-fit: cover; border-radius: 4px; }
.nav-logo-text { font-family: var(--font-display); font-weight: 640; font-size: 1.02rem; letter-spacing: -0.01em; white-space: nowrap; }
.nav-logo-text span { color: var(--copper); font-size: 0.55em; vertical-align: super; }

.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2rem); }
.nav-links a {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--copper); }
.nav-links a.active-page { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.nav-links a.nav-cta {
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.5rem 1.05rem;
  transition: background 0.2s, color 0.2s;
}
.nav-links a.nav-cta:hover { background: var(--ink); color: var(--paper); }

.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; z-index: 1002; position: relative; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--paper);
  flex-direction: column; justify-content: center;
  padding: 5rem var(--gutter);
  gap: 0.4rem;
  counter-reset: mnav;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display); font-weight: 560; font-size: clamp(1.9rem, 7vw, 2.8rem);
  letter-spacing: -0.02em; line-height: 1.25;
  border-bottom: 1px solid var(--line-faint);
  padding-block: 0.55rem;
  display: flex; align-items: baseline; gap: 1rem;
}
.mobile-menu a::before {
  counter-increment: mnav;
  content: counter(mnav, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--copper);
}
.mobile-menu a:hover { color: var(--copper); }

@media (max-width: 940px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ── Hero / page hero ────────────────────────────────────────────────── */
.hero-meta {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line-faint);
  color: var(--ink-soft);
}
.hero-meta .mono { font-size: 0.68rem; }

.hero-title-block { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.hero-headline {
  font-family: var(--font-display);
  font-weight: 640;
  font-size: clamp(3rem, 10.2vw, 9.6rem);
  line-height: 0.97;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 15ch;
}
.hero-headline em { font-style: normal; color: var(--copper); }
.hero-headline--page { font-size: clamp(2.7rem, 7.6vw, 6.8rem); max-width: 18ch; }

.hero-below {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.hero-links { display: flex; flex-direction: column; gap: 1rem; }
.hero-lede {
  max-width: 46ch;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.7;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .hero-below { flex-direction: column-reverse; align-items: flex-start; gap: 1.75rem; }
  .hero-meta span:nth-child(2) { display: none; }
}

.hero-figure { border-top: 1px solid var(--line); }
.hero-img-frame { overflow: hidden; }
.hero-img {
  width: 100%;
  height: clamp(300px, 56vh, 620px);
  object-fit: cover;
  filter: saturate(0.88);
}
.hero-caption {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding-block: 0.8rem;
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.hero-caption .mono { font-size: 0.66rem; }

/* ── Text links & buttons ────────────────────────────────────────────── */
.text-link {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.6rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  width: fit-content;
  transition: color 0.2s, border-color 0.2s;
}
.text-link span { transition: transform 0.25s var(--ease); }
.text-link:hover { color: var(--copper); border-color: var(--copper); }
.text-link:hover span { transform: translateX(4px); }

.btn-solid {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  padding: 0.95rem 1.6rem;
  transition: background 0.2s, color 0.2s;
  width: fit-content;
}
.btn-solid:hover { background: transparent; color: var(--ink); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.95rem 1.6rem;
  transition: background 0.2s, color 0.2s;
  width: fit-content;
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* ── Ticker ──────────────────────────────────────────────────────────── */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; padding-block: 0.9rem; }
.ticker-set { display: flex; align-items: center; }
.ticker-set span {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding-inline: 1.6rem;
  white-space: nowrap;
}
.ticker-set span::after { content: '✳'; color: var(--copper); margin-left: 3.2rem; font-size: 0.7rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Stats ───────────────────────────────────────────────────────────── */
.stats { border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: clamp(1.8rem, 3.5vw, 3rem) clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--line-faint); }
.stat-cell:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-family: var(--font-display); font-weight: 560;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.stat-label { color: var(--ink-soft); }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-left: none; border-top: 1px solid var(--line-faint); padding-left: 0; }
  .stat-cell:nth-child(-n+2) { border-top: none; }
}

/* ── Section scaffold ────────────────────────────────────────────────── */
.sec { padding-block: var(--sec-pad); }
.sec-line { border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-tag { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.4rem; }
.sec-tag .idx { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: var(--copper); }
.sec-tag .name { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.sec-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02; letter-spacing: -0.028em;
  text-wrap: balance;
}
.sec-title em { font-style: normal; color: var(--copper); }
.sec-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; }
.sec-head-note { max-width: 42ch; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.7; }
@media (max-width: 860px) {
  .sec-head-split { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
}

/* ── Side-label layout (sticky mono label + body) ────────────────────── */
.about-grid { display: grid; grid-template-columns: minmax(220px, 1fr) 2.4fr; gap: clamp(2rem, 5vw, 6rem); }
.about-side { position: sticky; top: 96px; align-self: start; }
.about-side .sec-tag { margin-bottom: 2rem; }
.about-tags { display: flex; flex-direction: column; gap: 0.65rem; }
.about-tags .mono { color: var(--ink-soft); font-size: 0.7rem; }
.about-tags .mono::before { content: '['; color: var(--copper); margin-right: 0.4rem; }
.about-tags .mono::after  { content: ']'; color: var(--copper); margin-left: 0.4rem; }
.about-lede {
  font-family: var(--font-display); font-weight: 520;
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 1.22; letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.about-lede em { font-style: normal; color: var(--copper); }
.about-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  border-top: 1px solid var(--line-faint);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}
.about-cols p { font-size: 0.97rem; line-height: 1.75; color: var(--ink-soft); }
.about-cols p + p { margin-top: 1.25rem; }
@media (max-width: 940px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .about-tags { flex-direction: row; flex-wrap: wrap; gap: 0.9rem; }
  .about-cols { grid-template-columns: 1fr; }
}

/* ── Index rows ──────────────────────────────────────────────────────── */
.index-list { border-top: 1px solid var(--line); }
.index-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.7fr 40px;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.2rem) 1.25rem;
  margin-inline: -1.25rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.index-row .num { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; color: var(--copper); }
.index-row .row-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  letter-spacing: -0.02em; line-height: 1.1;
}
.index-row .row-desc { font-size: 0.94rem; line-height: 1.7; color: var(--ink-soft); transition: color 0.25s var(--ease); }
.index-row .row-arrow { font-family: var(--font-mono); font-size: 1.1rem; justify-self: end; transition: transform 0.25s var(--ease); }
.index-row:hover { background: var(--ink); color: var(--paper); }
.index-row:hover .row-desc { color: var(--paper-on-dark-soft); }
.index-row:hover .num { color: var(--copper-lt); }
.index-row:hover .row-arrow { transform: translateX(6px); }
.domains-list .index-row .row-title { font-size: clamp(1.7rem, 3.4vw, 3rem); }
@media (max-width: 860px) {
  .index-row { grid-template-columns: 48px 1fr; row-gap: 0.6rem; }
  .index-row .row-desc { grid-column: 2; }
  .index-row .row-arrow { display: none; }
}

/* ── Dark section ────────────────────────────────────────────────────── */
.sec-dark { background: var(--ink); color: var(--paper-on-dark); }
.sec-dark .sec-tag .name { color: var(--paper-on-dark-soft); }
.sec-dark .sec-tag .idx { color: var(--copper-lt); }
.sec-dark .sec-title em { color: var(--copper-lt); }
.sec-dark .sec-head-note { color: var(--paper-on-dark-soft); }
.sec-dark .text-link { border-color: var(--paper-on-dark); color: var(--paper-on-dark); }
.sec-dark .text-link:hover { border-color: var(--copper-lt); color: var(--copper-lt); }
.sec-dark .btn-solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sec-dark .btn-solid:hover { background: transparent; color: var(--paper); }
.sec-dark .btn-outline { color: var(--paper); border-color: var(--paper); }
.sec-dark .btn-outline:hover { background: var(--paper); color: var(--ink); }

/* ── Bordered cell grids ─────────────────────────────────────────────── */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.prog-cell {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2.25rem);
  border-left: 1px solid var(--line-faint);
  display: flex; flex-direction: column;
}
.prog-cell:first-child, .prog-cell:nth-child(3n+1) { border-left: none; padding-left: 0; }
.prog-cell .num { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: var(--copper); margin-bottom: 1.5rem; }
.prog-cell h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  letter-spacing: -0.015em; line-height: 1.15;
  margin-bottom: 1rem;
}
.prog-cell p { font-size: 0.93rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 1.5rem; }
.prog-outcomes { margin-top: auto; display: flex; flex-direction: column; gap: 0.5rem; }
.prog-outcomes li { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-soft); display: flex; gap: 0.6rem; }
.prog-outcomes li::before { content: '—'; color: var(--copper); }
.prog-foot { margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 860px) {
  .prog-grid { grid-template-columns: 1fr; }
  .prog-cell { border-left: none; border-bottom: 1px solid var(--line-faint); padding-inline: 0; }
  .prog-cell:last-child { border-bottom: none; }
}

.why-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.why-cell {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.25rem, 2.5vw, 2.5rem);
  border-bottom: 1px solid var(--line-faint);
  border-left: 1px solid var(--line-faint);
}
.why-cell:nth-child(odd) { border-left: none; padding-left: 0; }
.why-cell:nth-last-child(-n+2) { border-bottom: none; }
.why-cell .num { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: var(--copper); display: block; margin-bottom: 1.25rem; }
.why-cell h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  letter-spacing: -0.015em; line-height: 1.2;
  margin-bottom: 0.85rem;
}
.why-cell p { font-size: 0.93rem; line-height: 1.7; color: var(--ink-soft); max-width: 52ch; }
@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-cell { border-left: none; padding-inline: 0; }
  .why-cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-faint); }
  .why-cell:last-child { border-bottom: none; }
}

/* ── Flagship / dark feature ─────────────────────────────────────────── */
.flagship-grid { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: clamp(2.5rem, 5vw, 5.5rem); align-items: start; }
.flagship-kicker { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; color: var(--paper-on-dark-soft); max-width: 56ch; margin-bottom: 2.5rem; }
.flagship-kicker strong { color: var(--copper-lt); font-weight: 600; }
.flagship-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 2.5rem;
}
.flagship-stat { padding: 1.6rem 1.4rem 1.6rem 0; border-left: 1px solid var(--line-dark); padding-left: 1.4rem; }
.flagship-stat:first-child { border-left: none; padding-left: 0; }
.flagship-stat .num {
  font-family: var(--font-display); font-weight: 560;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1; letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.flagship-stat .lbl { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper-on-dark-soft); line-height: 1.6; }
.flagship-features { display: flex; flex-direction: column; margin-bottom: 2.75rem; }
.flagship-features li {
  display: flex; gap: 1rem; align-items: baseline;
  font-size: 0.95rem; line-height: 1.65; color: var(--paper-on-dark-soft);
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line-dark);
}
.flagship-features li::before { content: '+'; font-family: var(--font-mono); color: var(--copper-lt); flex-shrink: 0; }
.flagship-media { position: sticky; top: 96px; }
.flagship-img-frame { border: 1px solid var(--line-dark); overflow: hidden; }
.flagship-img { width: 100%; height: clamp(380px, 46vw, 620px); object-fit: cover; }
.flagship-img-caption { display: flex; justify-content: space-between; gap: 1rem; padding-top: 0.75rem; color: var(--paper-on-dark-soft); }
.flagship-img-caption .mono { font-size: 0.64rem; }
@media (max-width: 940px) {
  .flagship-grid { grid-template-columns: 1fr; }
  .flagship-media { position: static; order: -1; }
  .flagship-img { height: clamp(280px, 60vw, 460px); }
}
@media (max-width: 640px) {
  .flagship-stats { grid-template-columns: 1fr; }
  .flagship-stat { border-left: none; border-top: 1px solid var(--line-dark); padding-left: 0; }
  .flagship-stat:first-child { border-top: none; }
}

/* ── Forms ───────────────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field input.error, .field select.error, .field textarea.error { border-color: var(--error); }
.field-note { font-family: var(--font-mono); font-size: 0.64rem; color: var(--ink-soft); }
.field-error { font-family: var(--font-mono); font-size: 0.64rem; color: var(--error); }

/* ── CTA ─────────────────────────────────────────────────────────────── */
.cta { padding-block: var(--sec-pad); }
.cta-title {
  font-family: var(--font-display); font-weight: 640;
  font-size: clamp(2.6rem, 7.5vw, 6.8rem);
  line-height: 0.98; letter-spacing: -0.033em;
  text-wrap: balance;
  max-width: 16ch;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.cta-title em { font-style: normal; color: var(--copper); }
.cta-sub { max-width: 62ch; color: var(--ink-soft); font-size: 1rem; line-height: 1.75; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.cta-mail {
  font-family: var(--font-display); font-weight: 560;
  font-size: clamp(1.25rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--copper);
  padding-bottom: 4px;
  width: fit-content; display: inline-block;
  transition: color 0.2s;
  overflow-wrap: anywhere;
}
.cta-mail:hover { color: var(--copper); }
.cta-channels {
  display: flex; flex-wrap: wrap; gap: 0.6rem 0;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-faint);
}
.cta-channels .mono { color: var(--ink-soft); font-size: 0.7rem; }
.cta-channels .mono:not(:last-child)::after { content: '/'; color: var(--copper); margin-inline: 1rem; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--paper-on-dark); padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.footer-wordmark {
  font-family: var(--font-display); font-weight: 620;
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  line-height: 1.02; letter-spacing: -0.028em;
}
.footer-wordmark span { color: var(--copper-lt); font-size: 0.45em; vertical-align: super; }
.footer-tagline { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-on-dark-soft); margin-top: 1rem; }
.footer-logo-icon { width: 44px; height: 44px; border-radius: 6px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-dark);
}
.footer-note { font-size: 0.9rem; line-height: 1.75; color: var(--paper-on-dark-soft); max-width: 34ch; }
.footer-col-title { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--copper-lt); margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-size: 0.88rem; color: var(--paper-on-dark-soft); transition: color 0.2s; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--paper-on-dark); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
}
.footer-copy { font-family: var(--font-mono); font-size: 0.68rem; color: var(--paper-on-dark-soft); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-family: var(--font-mono); font-size: 0.68rem; color: var(--paper-on-dark-soft); transition: color 0.2s; }
.footer-legal a:hover { color: var(--copper-lt); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column-reverse; gap: 1.5rem; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Reduced motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
