/* Eclipse: warm paper, warm ink, one ochre gold.
 *
 * System, from the Kuldmuna winner research:
 *   - One motif: the dark star as a black disc, gold corona at its edge.
 *   - Scale contrast does the talking: a 10vw headline, 12px mono captions.
 *   - Asymmetric grids (5/7, 7/5) rather than equal card rows.
 *   - Pacing: one near-empty pause viewport, one dark totality band.
 *   - No rounded corners, no shadows, no scroll-reveal animations.
 *     Motion is a single load settle plus hover states.
 *
 * Type: the darkstar.ee brand set only (see website/STYLE_GUIDE.md).
 * Chakra Petch display (600/700, italics for the statement voice),
 * Inter body (quotes in Inter italic, as on the live site),
 * Fragment Mono meta. All self-hosted in shared/fonts.css.
 */

:root {
  --paper: #f2eee3;
  --ink: #171310;
  --soft: #5f574a;
  --gold: #9a7312;
  --gold-deep: #6f550f;
  --hair: rgba(23, 19, 16, 0.22);
  --hair-strong: rgba(23, 19, 16, 0.85);
  --paper-70: rgba(242, 238, 227, 0.72);
  --paper-50: rgba(242, 238, 227, 0.5);
  --paper-hair: rgba(242, 238, 227, 0.22);

  --display: 'Chakra Petch', 'Inter', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'Fragment Mono', ui-monospace, 'SFMono-Regular', monospace;

  --w: min(1280px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ink); color: var(--paper); }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin: 0; }

/* ── The mark ──────────────────────────────────────────────────────────── */

.disc {
  display: inline-block;
  border-radius: 50%;
  background: var(--ink);
}

/* ── Top bar ───────────────────────────────────────────────────────────── */

.top {
  width: var(--w);
  margin-inline: auto;
  padding: 22px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--hair);
}

.top-logo {
  display: block;
  height: 30px;
  width: auto;
  /* The brand logo is white; on paper it runs as ink. */
  filter: invert(1);
}

.top-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.top-links a {
  text-decoration: none;
  color: var(--soft);
}

.top-links a:hover { color: var(--ink); }

.top-contact { color: var(--ink) !important; }

.top-contact::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
  vertical-align: 1px;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  width: var(--w);
  margin-inline: auto;
  position: relative;
}

.hero-star {
  position: absolute;
  top: clamp(-30px, 1vh, 40px);
  right: max(-14vw, -240px);
  width: clamp(300px, 42vw, 620px);
  height: clamp(300px, 42vw, 620px);
  z-index: 0;
  animation: settle 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-star i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: block;
}

.hero-star .corona { background: var(--gold); transform: translate(1.9%, -0.7%); }
.hero-star .body { background: var(--ink); }

@keyframes settle {
  from { transform: scale(0.965) translateY(10px); }
  to { transform: scale(1) translateY(0); }
}

.hero-h {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 9vh, 108px);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(50px, 9.8vw, 156px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  /* Paper-coloured text under a difference blend renders as ink on paper
     and as paper where it crosses the disc. One rule, both readings. */
  color: var(--paper);
  mix-blend-mode: difference;
}

@supports not (mix-blend-mode: difference) {
  .hero-h { color: var(--ink); mix-blend-mode: normal; }
  .hero-star { display: none; }
}

.hh-line { display: block; }

.hh-line:nth-child(2) { padding-left: clamp(36px, 8vw, 150px); }

/* The italic tail stays in the display family: Chakra Petch 700 italic. */
.hero-h em {
  font-style: italic;
  letter-spacing: -0.01em;
}

.hero-foot {
  position: relative;
  z-index: 1;
  margin-top: clamp(44px, 7vh, 88px);
  max-width: 56ch;
}

.hero-lede {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--soft);
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}

.lnk {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hair-strong);
  padding-bottom: 4px;
  white-space: nowrap;
}

.lnk:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }

.facts {
  position: relative;
  z-index: 1;
  /* Paper background on purpose: the strip slices the disc's lower edge. */
  background: var(--paper);
  margin-top: clamp(52px, 8vh, 100px);
  border-top: 2px solid var(--ink);
  padding-top: 16px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px 24px;
}

.fact span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 4px;
}

.fact b {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  display: block;
}

/* ── Sections ──────────────────────────────────────────────────────────── */

.sec {
  width: var(--w);
  margin-inline: auto;
  margin-top: clamp(110px, 15vw, 210px);
}

.sh {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.sh-k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sh-rule { flex: 1; height: 1px; background: var(--hair); }

.sh-n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}

.sec-lede {
  margin-top: clamp(36px, 4vw, 56px);
  font-size: 17.5px;
  color: var(--soft);
  max-width: 58ch;
}

/* ── 01 · What we connect ──────────────────────────────────────────────── */

.pv-grid {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
}

.pv-2 { margin-top: clamp(40px, 5vw, 84px); }
.pv-3 { margin-top: clamp(80px, 10vw, 168px); }

.pv h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(21px, 2.1vw, 26px);
  line-height: 1.2;
  margin-bottom: 14px;
}

.pv p { font-size: 15.5px; color: var(--soft); max-width: 38ch; }

.resolution {
  margin-top: clamp(64px, 8vw, 120px);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 34ch;
  border-left: 3px solid var(--gold);
  padding-left: clamp(20px, 2.5vw, 32px);
}

.whynow {
  list-style: none;
  padding: 0;
  margin-top: clamp(56px, 7vw, 96px);
  max-width: 76ch;
}

.whynow li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  border-top: 1px solid var(--hair);
  padding: 18px 0;
}

.whynow .wn-i {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--gold-deep);
  padding-top: 3px;
}

.whynow p { font-size: 15.5px; color: var(--soft); }

/* ── 02 · Where we stand ───────────────────────────────────────────────── */

.st-grid {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.st-n {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
}

.st-major .st-n { font-size: clamp(110px, 16vw, 248px); }

.st-l {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.st-major p, .st-minor p {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--soft);
  max-width: 44ch;
}

.st-col { display: grid; gap: clamp(28px, 3vw, 44px); }

.st-minor { border-top: 1px solid var(--hair); padding-top: 22px; }

.st-minor .st-n { font-size: clamp(44px, 5vw, 76px); }

/* ── 03 · What we fund ─────────────────────────────────────────────────── */

.mandate {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.voice-h {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18;
  max-width: 24ch;
}

.mandate-main > p {
  margin-top: 26px;
  max-width: 62ch;
}

.mandate-main .focus-intro { color: var(--soft); }

.sideq {
  border-left: 3px solid var(--gold);
  padding-left: clamp(18px, 2vw, 26px);
}

/* Quotes run in Inter italic, the live site's testimonial treatment. */
.sideq p {
  font-family: var(--body);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.4;
}

.sideq footer {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soft);
}

.exits {
  margin-top: 36px;
  font-size: 14px;
  color: var(--soft);
  max-width: 40ch;
}

.exits span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.manifest {
  margin-top: clamp(56px, 7vw, 104px);
  border-bottom: 1px solid var(--hair);
}

.fa {
  display: grid;
  grid-template-columns: 84px 5fr 7fr;
  gap: 24px;
  align-items: baseline;
  border-top: 1px solid var(--hair);
  padding: clamp(20px, 2.6vw, 30px) clamp(12px, 1.6vw, 22px);
  margin-inline: calc(-1 * clamp(12px, 1.6vw, 22px));
  transition: background 0.18s ease, color 0.18s ease;
}

.fa-i {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold-deep);
}

.fa h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 2.1vw, 25px);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.fa p { font-size: 15.5px; color: var(--soft); max-width: 56ch; }

.fa:hover { background: var(--ink); color: var(--paper); }
.fa:hover .fa-i { color: var(--gold); }
.fa:hover p { color: var(--paper-70); }

.footnote {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--soft);
  max-width: 72ch;
}

.footnote-dot {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  vertical-align: 1px;
}

/* ── The pause ─────────────────────────────────────────────────────────── */

.pause {
  min-height: 88vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 96px 24px;
}

.pause-disc {
  width: 14px;
  height: 14px;
  margin: 0 auto 44px;
  box-shadow: -3px -2px 0 0 var(--gold);
}

.pause blockquote p {
  font-family: var(--body);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.8vw, 46px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 28ch;
  margin-inline: auto;
}

.pause blockquote footer {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
}

/* ── 04 · Portfolio ────────────────────────────────────────────────────── */

.po-list {
  margin-top: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--hair);
}

.po {
  display: grid;
  grid-template-columns: 64px 5fr 7fr;
  gap: 24px clamp(24px, 3vw, 48px);
  border-top: 1px solid var(--hair);
  padding: clamp(32px, 4vw, 52px) 0;
}

.po-i {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold-deep);
  padding-top: 10px;
}

.po-id h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(27px, 3vw, 40px);
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.po-meta {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--soft);
}

.po-url {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--hair);
  padding-bottom: 3px;
}

.po-url:hover { border-bottom-color: var(--gold); color: var(--ink); }

.po-one { font-weight: 600; font-size: 18px; line-height: 1.45; }

.po-detail { margin-top: 12px; font-size: 15.5px; color: var(--soft); max-width: 60ch; }

.po-spec {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
  max-width: 58ch;
}

/* ── 05 · Process ──────────────────────────────────────────────────────── */

.pr-grid {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
}

.pr {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.pr-i {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--gold-deep);
}

.pr h3 {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.005em;
}

.pr p { margin-top: 12px; font-size: 15px; color: var(--soft); }

/* ── 06 · Totality: the rules ──────────────────────────────────────────── */

.totality {
  margin-top: clamp(110px, 15vw, 210px);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(100px, 14vw, 180px) 0;
}

.tot-in { width: var(--w); margin-inline: auto; }

.totality .sh-k { color: var(--paper); }
.totality .sh-rule { background: var(--paper-hair); }
.totality .sh-n { color: var(--gold); }

.tot-intro {
  margin-top: clamp(44px, 5vw, 72px);
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(23px, 2.8vw, 34px);
  line-height: 1.3;
  max-width: 30ch;
}

/* The four points sit behind a disclosure; the section stays short unless opened. */
.tot-more {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--paper-hair);
}
.tot-more summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--paper-hair);
}
.tot-more summary::-webkit-details-marker { display: none; }
.tot-more-l {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
}
.tot-more-i {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.tot-more-i::before,
.tot-more-i::after {
  content: '';
  position: absolute;
  background: var(--gold);
  inset: 6px 0;
}
.tot-more-i::after { inset: 0 6px; transition: transform 0.2s ease; }
.tot-more[open] .tot-more-i::after { transform: scaleY(0); }
.tot-more summary:hover .tot-more-l { color: var(--gold); }
.tot-more[open] .ru-grid { margin-top: clamp(44px, 5vw, 72px); }

.ru-grid {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 84px) clamp(48px, 6vw, 96px);
}

.ru-i {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--gold);
}

.ru h3 {
  margin-top: 12px;
  font-weight: 600;
  font-size: 18px;
}

.ru p { margin-top: 10px; font-size: 15.5px; color: var(--paper-70); max-width: 52ch; }

/* ── Working with us: three equal columns, hover grows the active card ── */

.au-grid {
  margin-top: clamp(48px, 6vw, 88px);
  display: flex;
  gap: clamp(20px, 2.5vw, 36px);
  align-items: stretch;
}

.au-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 4px 12px;
  border-top: 1px solid var(--hair);
}

.au-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: -0.015em;
}

.au-card p {
  margin: 14px 0 18px;
  font-size: 15px;
  color: var(--soft);
  line-height: 1.55;
}

.au-card .lnk {
  font-size: 12.5px;
}

.au-q {
  margin-top: clamp(36px, 5vw, 56px);
  max-width: 48ch;
}

.btn {
  display: inline-block;
  margin-top: 32px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  transition: background 0.16s ease, color 0.16s ease;
}

.btn:hover { background: var(--gold); color: var(--ink); }

/* ── 08 · The coalition ────────────────────────────────────────────────── */

.co-grid {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.co-acts { display: grid; gap: clamp(36px, 4vw, 56px); }

.act h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.005em;
}

.act p { margin: 12px 0 16px; font-size: 15.5px; color: var(--soft); max-width: 46ch; }

.co-partners { display: block; border-bottom: 1px solid var(--hair); }

.pa {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 20px;
  border-top: 1px solid var(--hair);
  padding: 16px 0;
}

.pa dt { font-weight: 600; font-size: 15.5px; }

.pa dt a { text-decoration: none; border-bottom: 1px solid var(--hair); padding-bottom: 2px; }

.pa dt a:hover { border-bottom-color: var(--gold); color: var(--gold-deep); }

.pa dd { margin: 0; font-size: 14.5px; color: var(--soft); }

/* ── 09 · In the news ──────────────────────────────────────────────────── */

.news { margin-top: clamp(40px, 5vw, 72px); }

.n-meta {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--soft);
}

.n-note { display: block; font-size: 14.5px; color: var(--soft); max-width: 58ch; }

.nl {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 4vw, 56px);
  text-decoration: none;
  align-items: center;
}

.nl-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.25s ease;
}

.nl:hover .nl-thumb img { filter: none; }

.nl-head {
  display: block;
  margin: 14px 0 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(23px, 2.6vw, 33px);
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.nl:hover .nl-head { color: var(--gold-deep); }

.nr-list {
  margin-top: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--hair);
}

.nr {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--hair);
  padding: 18px 0;
  text-decoration: none;
}

.nr-thumb { min-height: 1px; }

.nr-thumb img {
  display: block;
  width: 132px;
  height: 88px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.25s ease;
}

.nr:hover .nr-thumb img { filter: none; }

.nr-head {
  display: block;
  margin: 6px 0 4px;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.4;
}

.nr:hover .nr-head { color: var(--gold-deep); }

/* ── 10 · The people ───────────────────────────────────────────────────── */

.tm-list {
  margin-top: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--hair);
}

.tm {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px clamp(24px, 3vw, 48px);
  align-items: baseline;
  border-top: 1px solid var(--hair);
  padding: clamp(24px, 3vw, 36px) 0;
}

.tm-id h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2.1vw, 24px);
  letter-spacing: -0.01em;
}

.tm-role {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
}

.tm-connect {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  align-self: center;
}

.tm-connect:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* ── 11 · Forms ────────────────────────────────────────────────────────── */

/* Two forms, one section: tabs. The anchor lets #contact land here. */
.fo-anchor { display: block; position: relative; top: -24px; height: 0; }

.fo-tabs {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--hair);
}

.fo-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin: 0 clamp(28px, 4vw, 64px) -1px 0;
  padding: 0 0 18px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--soft);
  transition: color 0.15s;
}

.fo-tab span {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
}

.fo-tab:hover { color: var(--ink); }
.fo-tab.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.fo-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.fo-pane { margin-top: clamp(36px, 4vw, 56px); max-width: 780px; }
.fo-pane[hidden] { display: none; }

.fo-intro { margin: 0 0 36px; font-size: 15.5px; color: var(--soft); max-width: 56ch; }

/* File picker: native input hidden, the label is the button. */
.wl-file {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 6px 0 10px;
  border-bottom: 1px solid var(--hair-strong);
}
.wl-field .wl-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.wl-field .wl-file-btn {
  display: inline-block;
  margin: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 9px 14px;
  transition: background 0.15s, color 0.15s;
}
.wl-field .wl-file-btn:hover { background: var(--ink); color: var(--paper); }
.wl-field .wl-file-input:focus-visible + .wl-file-btn { outline: 2px solid var(--gold); outline-offset: 2px; }
.wl-file-name { font-size: 14px; color: var(--soft); }
.wl-file-clear {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
  text-decoration: underline;
}
.wl-file-clear:hover { color: var(--ink); }

.wl-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 32px;
}

.wl-field { grid-column: 1 / -1; }

.wl-field--half { grid-column: auto; }

.wl-field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 8px;
}

.wl-optional { color: var(--soft); opacity: 0.65; text-transform: none; letter-spacing: 0.04em; }

.wl-field input,
.wl-field select,
.wl-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hair-strong);
  border-radius: 0;
  padding: 8px 2px 10px;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
}

.wl-field textarea { border: 1px solid var(--hair); padding: 12px; resize: vertical; }

.wl-field input:focus,
.wl-field select:focus,
.wl-field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.wl-help {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--soft);
}

.wl-hp { position: absolute; left: -9999px; }

.wl-consent {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--soft);
}

.wl-consent input { margin-top: 4px; accent-color: var(--ink); }

.wl-privacy-link { color: var(--ink); }

.wl-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.wl-submit {
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 30px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.wl-submit:hover { background: var(--gold); color: var(--ink); }

.wl-submit[disabled] { opacity: 0.55; cursor: wait; }

.wl-status { font-family: var(--mono); font-size: 12px; color: var(--soft); }

.wl-legal { margin-top: 20px; font-size: 12px; color: var(--soft); max-width: 52ch; }

.wl-legal a { color: var(--soft); }

.wl-success { border: 1px solid var(--ink); padding: 20px 22px; margin-top: 24px; }

.wl-success h4 { margin: 0 0 8px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

.wl-success p { font-size: 14.5px; color: var(--soft); }

.retention {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--soft);
  max-width: 62ch;
}

/* ── Footer ────────────────────────────────────────────────────────────── */

.foot {
  margin-top: clamp(110px, 15vw, 210px);
  background: var(--ink);
  color: var(--paper);
}

.foot-in {
  width: var(--w);
  margin-inline: auto;
  padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.foot-mark { display: flex; align-items: center; gap: 24px; }

.foot-disc {
  width: 44px;
  height: 44px;
  background: var(--paper);
  box-shadow: -6px -4px 0 0 var(--gold);
  flex: none;
}

.foot-logo { display: block; height: 34px; width: auto; }

.foot-legal { font-size: 13.5px; line-height: 1.7; color: var(--paper-70); max-width: 64ch; }

.foot-links {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.foot-links a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--paper-hair); padding-bottom: 3px; }

.foot-links a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.foot-line {
  width: var(--w);
  margin-inline: auto;
  border-top: 1px solid var(--paper-hair);
  padding: 20px 0 30px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--paper-50);
}

/* ── Privacy page ──────────────────────────────────────────────────────── */

.legal {
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(56px, 8vw, 96px) 0 clamp(80px, 10vw, 140px);
}

.legal h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: -0.015em;
  line-height: 1.08;
}

.legal-date {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
}

.legal section { margin-top: 48px; }

.legal h2 { font-weight: 600; font-size: 19px; margin-bottom: 12px; }

.legal p, .legal li { font-size: 15.5px; color: var(--soft); }

.legal p + p { margin-top: 12px; }

.legal ul { margin-top: 12px; padding-left: 20px; }

/* ── Motion discipline ─────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-star { animation: none; }
  .fa, .btn, .wl-submit, .nl-thumb img, .nr-thumb img { transition: none; }
}

/* ── Small screens ─────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .pv-grid { grid-template-columns: 1fr 1fr; }
  .pv-3 { margin-top: 0; }
  .st-grid, .mandate, .co-grid { grid-template-columns: 1fr; }
  .au-grid { flex-direction: column; gap: 28px; }
  .fo-tabs { flex-direction: column; gap: 0; }
  .fo-tab { margin-right: 0; padding: 16px 0; border-bottom: 1px solid var(--hair); }
  .fo-tab.is-on { border-bottom-color: var(--ink); }
  .pr-grid { grid-template-columns: 1fr 1fr; }
  .ru-grid { grid-template-columns: 1fr; gap: 44px; }
  .fa { grid-template-columns: 56px 1fr; }
  .fa p { grid-column: 2; }
  .po { grid-template-columns: 44px 1fr; }
  .po-body { grid-column: 2; }
  .nl { grid-template-columns: 1fr; }
  .tm { grid-template-columns: 1fr; gap: 12px; }
  .tm-connect { justify-self: start; }
  .foot-in { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --w: calc(100% - 40px); }
  body { font-size: 16px; }
  .top { flex-wrap: wrap; }
  .top-links { flex-wrap: wrap; gap: 14px 18px; }
  .hero-star {
    position: relative;
    top: auto;
    right: auto;
    width: clamp(180px, 52vw, 300px);
    height: clamp(180px, 52vw, 300px);
    margin: 40px 0 8px auto;
  }
  .hero-h { margin-top: 12px; font-size: clamp(44px, 13vw, 64px); }
  .hh-line:nth-child(2) { padding-left: 0; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .pv-grid { grid-template-columns: 1fr; }
  .pv-2 { margin-top: 0; }
  .pv p { max-width: none; }
  .pr-grid { grid-template-columns: 1fr; }
  .pause { min-height: 70vh; }
  .whynow li { grid-template-columns: 40px 1fr; }
  .wl-fields { grid-template-columns: 1fr; }
  .wl-field--half { grid-column: 1 / -1; }
  .nr { grid-template-columns: 96px 1fr; }
  .nr-thumb img { width: 96px; height: 64px; }
  .foot-mark { flex-wrap: wrap; }
}
