@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-italic-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-italic-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-italic-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-italic-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/cormorant-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/cormorant-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 300 500; font-display: swap; src: url('/fonts/sourceserif-italic-300-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 300 500; font-display: swap; src: url('/fonts/sourceserif-italic-300-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/fonts/sourceserif-300-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/fonts/sourceserif-300-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/manrope-400-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/manrope-400-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ranesta.com: the whole stylesheet. Fonts are inlined above this by build.mjs. */

/* ==========================================================================
   1. Tokens
   --------------------------------------------------------------------------
   Two grounds, day and night, because a desk like this is read at both hours.
   Limestone and deep petrol ink by day, near-black navy by night, with a
   patinated bronze that carries every number and a deep viridian that marks
   the things that have been verified.
   ========================================================================== */
:root, [data-mode='day'] {
  --ground: #f1eee8;
  --paper: #faf8f4;
  --raised: #e6e1d8;
  --sunk: #ddd7cc;
  --ink: #121b25;
  --ink-2: #3a4753;
  --muted: #69757f;
  --faint: #98a2ab;
  --line: rgba(18, 27, 37, 0.14);
  --line-2: rgba(18, 27, 37, 0.07);
  --deep: #101a24;
  --deep-2: #0a1119;
  --on-deep: #e7e3db;
  --on-deep-2: rgba(231, 227, 219, 0.62);
  --gold: #97794076;
  --gold: #987a41;
  --gold-2: #b89a5f;
  --on-gold: #fbf9f5;
  --green: #2b5a4c;
  --clay: #9b4b34;
  --steel: #5d6f80;
  --shadow-1: 0 1px 2px rgba(18, 27, 37, 0.06);
  --shadow-2: 0 18px 40px -28px rgba(18, 27, 37, 0.45);
  --shadow-3: 0 40px 80px -48px rgba(18, 27, 37, 0.55);
  --frost: rgba(241, 238, 232, 0.72);

  --display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --ui: 'Manrope', 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;

  --gut: clamp(1.15rem, 4vw, 2.6rem);
  --wide: 1380px;
  --mid: 1060px;
  --read: 39rem;
  --rail: 14.5rem;

  --r-s: 2px;
  --r-m: 3px;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --mode-shift: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}

[data-mode='night'] {
  --ground: #0d141c;
  --paper: #131c26;
  --raised: #0a1017;
  --sunk: #080d13;
  --ink: #e9e6df;
  --ink-2: #bcc4cc;
  --muted: #8c96a1;
  --faint: #5f6b77;
  --line: rgba(233, 230, 223, 0.16);
  --line-2: rgba(233, 230, 223, 0.08);
  --deep: #080d13;
  --deep-2: #05090d;
  --on-deep: #e9e6df;
  --on-deep-2: rgba(233, 230, 223, 0.6);
  --gold: #c2a368;
  --gold-2: #d6bb86;
  --on-gold: #0d141c;
  --green: #4e8a77;
  --clay: #c4715a;
  --steel: #8598a9;
  --shadow-2: 0 18px 40px -28px rgba(0, 0, 0, 0.8);
  --shadow-3: 0 40px 80px -48px rgba(0, 0, 0, 0.9);
  --frost: rgba(13, 20, 28, 0.72);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.66;
  font-weight: 400;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: var(--mode-shift);
}
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
/* Cormorant is a high-contrast Garamond: it wants size, a little tracking at small sizes and a tight leading when large. */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.04; letter-spacing: -0.005em; margin: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
::selection { background: var(--gold); color: var(--on-gold); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
:target { scroll-margin-top: 7rem; }
.num, [data-num] { font-variant-numeric: tabular-nums; }

.skip {
  position: fixed; top: 0.5rem; left: 0.5rem; z-index: 200;
  padding: 0.7rem 1.1rem; background: var(--ink); color: var(--ground);
  font-family: var(--ui); font-size: 0.8rem; text-decoration: none; border-radius: var(--r-m);
  transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip:focus { transform: none; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   3. Layout
   ========================================================================== */
.wrap { width: min(100% - var(--gut) * 2, var(--wide)); margin-inline: auto; }
.wrap--mid { width: min(100% - var(--gut) * 2, var(--mid)); margin-inline: auto; }
.wrap--read { width: min(100% - var(--gut) * 2, var(--read)); margin-inline: auto; }
main { display: block; }
.sec { padding-block: clamp(3.2rem, 7.5vw, 6.6rem); }
.sec--tight { padding-block: clamp(2.2rem, 5vw, 3.8rem); }
.sec--deep { background: var(--deep); color: var(--on-deep); }
.sec--deep h1, .sec--deep h2, .sec--deep h3 { color: var(--on-deep); }
.sec--raised { background: var(--raised); }
.sec + .sec--raised, .sec--raised + .sec { border-top: 1px solid var(--line-2); }
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.4rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 680px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   4. Type utilities
   --------------------------------------------------------------------------
   The label style is a small bronze square followed by wide-tracked Manrope:
   a legend on a drawing rather than a strapline.
   ========================================================================== */
.kicker {
  font-family: var(--ui); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.2rem;
}
.kicker::before { content: ''; width: 0.42rem; height: 0.42rem; background: var(--gold); flex: none; transform: rotate(45deg); }
.kicker--plain::before { display: none; }
.kicker--gold { color: var(--gold); }
.sec--deep .kicker { color: var(--on-deep-2); }

.h-hero { font-size: clamp(2.9rem, 8.4vw, 6.6rem); line-height: 0.98; letter-spacing: -0.02em; }
.h-1 { font-size: clamp(2.2rem, 5.4vw, 4.1rem); line-height: 1.0; letter-spacing: -0.015em; }
.h-2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.04; letter-spacing: -0.01em; }
.h-3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.1; }
.h-4 { font-size: 1.15rem; line-height: 1.15; }
.h-hero em, .h-1 em, .h-2 em { font-style: italic; color: var(--gold); }

.lede { font-size: clamp(1.06rem, 1.5vw, 1.24rem); line-height: 1.58; color: var(--ink-2); font-weight: 400; }
.dek { font-size: 1.02rem; line-height: 1.55; color: var(--muted); }
.small { font-family: var(--ui); font-size: 0.78rem; letter-spacing: 0.01em; color: var(--muted); line-height: 1.55; }
.meta { font-family: var(--ui); font-size: 0.71rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.meta__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.55; }

/* ==========================================================================
   5. Links and buttons
   ========================================================================== */
.link {
  font-family: var(--ui); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 0.5rem;
  padding-bottom: 0.3rem; border-bottom: 1px solid var(--line); transition: border-color 0.25s, gap 0.25s, color 0.25s;
}
.link:hover { border-color: var(--gold); color: var(--gold); gap: 0.8rem; }
.link svg { width: 1em; height: 1em; }
.sec--deep .link { color: var(--on-deep); border-color: rgba(231, 227, 219, 0.25); }
.sec--deep .link:hover { color: var(--gold-2); border-color: var(--gold-2); }

.btn {
  font-family: var(--ui); font-size: 0.79rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border: 1px solid var(--ink); background: var(--ink); color: var(--ground);
  border-radius: var(--r-m); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.btn--gold:hover { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.7rem; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.sec--deep .btn--ghost { color: var(--on-deep); border-color: rgba(231, 227, 219, 0.3); }
.sec--deep .btn--ghost:hover { color: var(--gold-2); border-color: var(--gold-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

.ibtn {
  width: 2.3rem; height: 2.3rem; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer;
  color: var(--ink); transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.ibtn:hover { border-color: var(--gold); color: var(--gold); }
.ibtn svg { width: 1rem; height: 1rem; }
.ibtn.is-on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

/* ==========================================================================
   6. Header
   --------------------------------------------------------------------------
   The header carries the site's signature control: a currency selector that
   reprices every number on every page. A desk that quotes in five currencies
   should let the reader choose one and then never convert in their head again.
   ========================================================================== */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.hdr.is-stuck { border-bottom-color: var(--line-2); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { display: flex; align-items: center; gap: 1.1rem; height: 4.4rem; }
.hdr__nav { display: none; margin-left: auto; align-items: center; gap: 1.6rem; }
.hdr__right { display: flex; align-items: center; gap: 0.55rem; margin-left: auto; }
.hdr__nav + .hdr__right { margin-left: 1.4rem; }

.brand { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; flex: none; }
.brand__name { font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.brand__tag { font-family: var(--ui); font-size: 0.5rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 0.32rem; }

.navlink {
  font-family: var(--ui); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2); position: relative; padding-block: 0.4rem; transition: color 0.2s;
}
.navlink::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right 0.3s var(--ease); }
.navlink:hover, .navlink[aria-current] { color: var(--ink); }
.navlink:hover::after, .navlink[aria-current]::after { right: 0; }

/* the currency selector */
.cur { position: relative; }
.cur__b {
  display: inline-flex; align-items: center; gap: 0.4rem; height: 2.3rem; padding: 0 0.7rem;
  border: 1px solid var(--line); background: transparent; border-radius: var(--r-m); cursor: pointer;
  font-family: var(--ui); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s;
}
.cur__b:hover, .cur.is-open .cur__b { border-color: var(--gold); color: var(--gold); }
.cur__b svg { width: 0.62rem; height: 0.62rem; transition: transform 0.25s var(--ease); }
.cur.is-open .cur__b svg { transform: rotate(180deg); }
.cur__list {
  position: absolute; right: 0; top: calc(100% + 0.45rem); z-index: 30; min-width: 11rem;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-3); border-radius: var(--r-m);
  padding: 0.3rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 0.22s var(--ease);
}
.cur.is-open .cur__list { opacity: 1; visibility: visible; transform: none; }
.cur__list button {
  display: flex; width: 100%; gap: 0.6rem; align-items: baseline; padding: 0.5rem 0.65rem; border: 0; background: none;
  cursor: pointer; font-family: var(--ui); font-size: 0.8rem; text-align: left; color: var(--ink-2); border-radius: var(--r-s);
}
.cur__list button:hover { background: var(--raised); color: var(--ink); }
.cur__list button[aria-current] { color: var(--gold); }
.cur__c { font-weight: 700; letter-spacing: 0.06em; min-width: 2.4rem; }
.cur__n { font-size: 0.72rem; color: var(--faint); }

/* the language switch: a quiet link to the same page in the other edition */
.langsw {
  display: inline-flex; align-items: center; height: 2.3rem; padding: 0 0.62rem;
  border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none;
  font-family: var(--ui); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s;
}
.langsw:hover { border-color: var(--gold); color: var(--gold); }

.burger { display: inline-grid; }
@media (min-width: 1100px) { .hdr__nav { display: flex; } .burger { display: none; } }
/* On a phone the tagline gives up its room so the currency switch, which is the point of the
   header, survives. Below 340px the switch moves into the menu instead. */
@media (max-width: 520px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1.3rem; letter-spacing: 0.16em; }
  .hdr__in { gap: 0.6rem; }
  .hdr__right { gap: 0.35rem; }
  .cur__b { padding: 0 0.5rem; font-size: 0.68rem; }
}
@media (max-width: 339px) { .hdr .cur { display: none; } }
/* on a phone the language switch leaves the header to the currency and lives in the menu */
@media (max-width: 520px) { .hdr .langsw { display: none; } }
.menu__cur { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line-2); }
.menu__cur .cur__c { min-width: 0; }
.menu__lang { margin-top: 1rem; }

.progress { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--gold); width: 0; transition: width 0.1s linear; }

.menu {
  position: fixed; inset: 0; z-index: 120; background: var(--ground);
  display: grid; grid-template-rows: auto 1fr; opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__top { display: flex; align-items: center; height: 4.4rem; border-bottom: 1px solid var(--line-2); }
.menu__body { overflow-y: auto; padding-block: clamp(1.5rem, 5vw, 3.2rem); }
.menu__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .menu__grid { grid-template-columns: 1.35fr 1fr; } }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li { border-bottom: 1px solid var(--line-2); }
.menu__link {
  display: flex; align-items: baseline; gap: 0.85rem; padding: 0.8rem 0; text-decoration: none;
  font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 500;
  transition: color 0.2s, padding-left 0.3s var(--ease);
}
.menu__link:hover { color: var(--gold); padding-left: 0.5rem; }
.menu__link span { font-family: var(--ui); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.menu__sub { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.4rem; }
.menu__sub a { font-family: var(--ui); font-size: 0.82rem; text-decoration: none; color: var(--ink-2); display: block; padding: 0.4rem 0; transition: color 0.2s; }
.menu__sub a:hover { color: var(--gold); }

/* ==========================================================================
   7. Hero and the index ticker
   ========================================================================== */
.hero { position: relative; overflow: clip; background: var(--deep-2); color: var(--on-deep); isolation: isolate; }
.hero__media { position: absolute; inset: -10% 0; z-index: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; opacity: 0.74; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 19, 0.72) 0%, rgba(8, 13, 19, 0.34) 38%, rgba(8, 13, 19, 0.9) 100%);
}
.hero__in {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(92svh, 50rem); padding-block: clamp(4rem, 11vw, 7.5rem) clamp(4.5rem, 8vw, 6rem);
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 em { color: var(--gold-2); }
.hero .lede { color: rgba(255, 253, 249, 0.8); max-width: 46ch; margin-top: 1.5rem; }
.hero .kicker { color: rgba(255, 253, 249, 0.66); }
.hero .btn-row { margin-top: 2rem; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero .btn--ghost:hover { color: var(--gold-2); border-color: var(--gold-2); }

/* The index ticker runs along the foot of the hero: the prime band of every hotspot,
   in the reader's own currency, moving slowly. It is the site's proof of work. */
.ticker { position: relative; z-index: 3; border-top: 1px solid rgba(255, 255, 255, 0.16); background: rgba(8, 13, 19, 0.55); backdrop-filter: blur(6px); overflow: hidden; }
.ticker__lab {
  font-family: var(--ui); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-2); padding: 0.85rem var(--gut) 0.2rem;
}
.ticker__mask { overflow: hidden; padding-bottom: 0.9rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: flex; gap: 2.4rem; width: max-content; padding-inline: var(--gut); animation: tick 90s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } .ticker__mask { overflow-x: auto; } }
.ticker__i { display: flex; align-items: baseline; gap: 0.55rem; text-decoration: none; color: rgba(255, 253, 249, 0.8); white-space: nowrap; }
.ticker__i:hover { color: var(--gold-2); }
.ticker__n { font-family: var(--ui); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; }
.ticker__v { font-family: var(--display); font-size: 1rem; color: #fff; font-variant-numeric: tabular-nums; }
.ticker__u { font-family: var(--ui); font-size: 0.62rem; color: rgba(255, 253, 249, 0.45); letter-spacing: 0.08em; }

/* page head, every non-home page */
.phead { padding-block: clamp(2.4rem, 5.5vw, 4.6rem) clamp(1.6rem, 3.5vw, 2.6rem); }
.phead__grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .phead__grid { grid-template-columns: 1.1fr 1fr; gap: 3.4rem; align-items: end; } }
.phead h1 { max-width: 16ch; }
.crumbs { font-family: var(--ui); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.3rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: inherit; transition: color 0.2s; }
.crumbs a:hover { color: var(--gold); }

/* a full-bleed plate with a clip behind it */
.plate { position: relative; overflow: clip; min-height: min(72vh, 38rem); display: grid; align-items: end; isolation: isolate; }
.plate--short { min-height: min(52vh, 26rem); }
.plate__media { position: absolute; inset: -10% 0; z-index: -2; }
.plate__media img, .plate__media video { width: 100%; height: 100%; object-fit: cover; }
.plate::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 13, 19, 0.88) 0%, rgba(8, 13, 19, 0.38) 45%, rgba(8, 13, 19, 0.12) 78%); }
.plate__in { position: relative; padding-block: clamp(2.4rem, 6vw, 4.4rem); color: #f2f0ec; }
.plate__in h1, .plate__in h2 { color: #fff; }
.plate__in .kicker { color: rgba(247, 245, 242, 0.68); }
.plate__in .lede { color: rgba(247, 245, 242, 0.8); }
.plate__in .crumbs { color: rgba(247, 245, 242, 0.55); }
.bgvid { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--deep-2); }

/* ==========================================================================
   8. The three tiers
   ========================================================================== */
.tiers { display: grid; gap: 1px; background: var(--line-2); border-block: 1px solid var(--line-2); }
@media (min-width: 860px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { background: var(--ground); padding: clamp(1.6rem, 3.2vw, 2.6rem); display: flex; flex-direction: column; gap: 0.8rem; transition: background 0.35s var(--ease); }
.tier:hover { background: var(--paper); }
.tier__n { font-family: var(--ui); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; color: var(--gold); }
.tier__t { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 500; }
.tier__d { color: var(--muted); font-size: 0.97rem; line-height: 1.55; }
.tier__s { margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--line-2); font-family: var(--ui); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--gold); }

/* ==========================================================================
   9. The map of attention
   --------------------------------------------------------------------------
   Not a drawing of coastlines but a plot of the real coordinates against a
   faint graticule, with the dots sized by the Ranesta Index. It is honest
   about being a diagram, which is why it can carry the numbers.
   ========================================================================== */
.mapwrap { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(0.9rem, 2.4vw, 1.6rem); }
.mapwrap svg { width: 100%; height: auto; overflow: visible; }
.map__grat { stroke: var(--line-2); stroke-width: 0.6; fill: none; }
.map__lab { font-family: var(--ui); font-size: 7px; fill: var(--faint); letter-spacing: 0.08em; }
.map__dot { fill: color-mix(in srgb, var(--gold) 55%, transparent); stroke: var(--gold); stroke-width: 0.8; cursor: pointer; transition: fill 0.25s, r 0.25s var(--ease); }
.map__hit { fill: transparent; cursor: pointer; }
.map__g.is-on .map__dot, .map__g:hover .map__dot { fill: var(--gold); }
.map__g.is-dim { opacity: 0.22; }
.map__t { font-family: var(--ui); font-size: 8.5px; font-weight: 600; fill: var(--ink-2); pointer-events: none; }
.map__g.is-on .map__t, .map__g:hover .map__t { fill: var(--gold); }
/* Below tablet width the plot is too small for the names to survive the scale, so the dots carry
   the map and the panel underneath carries the reading. */
@media (max-width: 760px) {
  .map__t { display: none; }
  .map__g.is-on .map__t { display: block; font-size: 13px; fill: var(--gold); }
  .map__dot { stroke-width: 1.2; }
}
.map__panel { margin-top: 1rem; border-top: 1px solid var(--line-2); padding-top: 1rem; min-height: 5.6rem; }
.map__panel h3 { font-family: var(--display); font-size: 1.6rem; margin-bottom: 0.3rem; }
.map__panel .small { display: block; margin-bottom: 0.7rem; }
.map__stats { display: flex; flex-wrap: wrap; gap: 0.4rem 1.8rem; }
.map__stat { font-family: var(--ui); font-size: 0.76rem; color: var(--muted); }
.map__stat b { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 500; color: var(--gold); font-variant-numeric: tabular-nums; }
.map__legend { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }

/* filter chips, used by the map, the portfolio and the journal */
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  font-family: var(--ui); font-size: 0.74rem; font-weight: 600; padding: 0.48rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--ink-2); transition: all 0.2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-on, .chip[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.chip__sw { display: inline-block; width: 0.62rem; height: 0.62rem; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.15); }

/* ==========================================================================
   10. Cards
   ========================================================================== */
.card { display: flex; flex-direction: column; text-decoration: none; position: relative; }
.card__media { position: relative; overflow: clip; background: var(--raised); margin-bottom: 1.05rem; aspect-ratio: 3 / 2; border-radius: var(--r-m); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.05s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__media--tall { aspect-ratio: 3 / 4; }
.card__flag {
  position: absolute; left: 0.75rem; top: 0.75rem; z-index: 2;
  font-family: var(--ui); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--frost); backdrop-filter: blur(8px); color: var(--ink); padding: 0.38rem 0.6rem; border-radius: var(--r-s);
}
.card__title { font-family: var(--display); font-size: 1.5rem; font-weight: 500; line-height: 1.08; margin-bottom: 0.5rem; transition: color 0.25s; }
.card:hover .card__title { color: var(--gold); }
.card__dek { color: var(--muted); font-size: 0.95rem; line-height: 1.5; margin-bottom: 0.7rem; }
.card__meta { margin-top: auto; }
.card--lg .card__title { font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* hotspot card: the index band sits under the photograph */
.hotcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s; }
.hotcard:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-2); }
.hotcard__media { position: relative; aspect-ratio: 4 / 3; overflow: clip; background: var(--raised); }
.hotcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hotcard:hover .hotcard__media img { transform: scale(1.05); }
.hotcard__reg { position: absolute; right: 0.7rem; top: 0.7rem; font-family: var(--ui); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: var(--frost); backdrop-filter: blur(8px); color: var(--ink); padding: 0.34rem 0.55rem; border-radius: var(--r-s); }
.hotcard__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.hotcard__t { font-family: var(--display); font-size: 1.6rem; font-weight: 500; line-height: 1.02; }
.hotcard__c { font-family: var(--ui); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.hotcard__l { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.hotcard__band { margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--line-2); display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem; }
.hotcard__v { font-family: var(--display); font-size: 1.18rem; font-weight: 500; color: var(--gold); font-variant-numeric: tabular-nums; }
.hotcard__u { font-family: var(--ui); font-size: 0.64rem; letter-spacing: 0.08em; color: var(--faint); }

/* ==========================================================================
   11. The index panel on a hotspot page
   ========================================================================== */
.idx { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r-m); overflow: hidden; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .idx { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .idx { grid-template-columns: repeat(6, 1fr); } }
.idx__i { background: var(--paper); padding: 1.1rem 1rem 1.2rem; }
.idx__v { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; color: var(--gold); line-height: 1; margin-bottom: 0.4rem; font-variant-numeric: tabular-nums; }
.idx__v small { font-size: 0.52em; font-family: var(--ui); font-weight: 600; letter-spacing: 0.04em; color: var(--muted); margin-left: 0.25rem; }
.idx__k { font-family: var(--ui); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); line-height: 1.35; }
.idx__note { font-family: var(--ui); font-size: 0.72rem; color: var(--faint); margin-top: 0.8rem; }

.micro { display: grid; gap: 0; border-top: 1px solid var(--line); }
.micro__i { display: grid; gap: 0.3rem 1.6rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line-2); }
@media (min-width: 780px) { .micro__i { grid-template-columns: 17rem 1fr; } }
.micro__k { font-family: var(--ui); font-size: 0.84rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.micro__v { color: var(--ink-2); font-size: 0.98rem; line-height: 1.58; }

/* ==========================================================================
   12. The private portfolio
   --------------------------------------------------------------------------
   A blind listing is shown as a blurred photograph behind a seal. It is the
   one place on the site where the design withholds something on purpose.
   ========================================================================== */
.refcard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s; }
.refcard:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-2); }
.refcard.is-hidden { display: none; }
.refcard__media { position: relative; aspect-ratio: 3 / 2; overflow: clip; background: var(--sunk); }
.refcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.5s; }
.refcard:hover .refcard__media img { transform: scale(1.04); }
.refcard--blind .refcard__media img { filter: blur(16px) saturate(0.75) brightness(0.72); transform: scale(1.12); }
.refcard--blind:hover .refcard__media img { transform: scale(1.14); }
.refcard__seal {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.5rem; text-align: center;
  color: #fff; padding: 1rem;
}
.refcard__seal svg { width: 1.5rem; height: 1.5rem; opacity: 0.9; }
.refcard__seal span { font-family: var(--ui); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.refcard__tags { position: absolute; left: 0.7rem; top: 0.7rem; display: flex; gap: 0.35rem; z-index: 2; flex-wrap: wrap; }
.tag {
  font-family: var(--ui); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  padding: 0.34rem 0.55rem; border-radius: var(--r-s); background: var(--frost); backdrop-filter: blur(8px); color: var(--ink);
}
.tag--pocket { color: var(--steel); }
.tag--whisper { color: var(--green); }
.tag--blind { color: var(--gold); }
.tag--offer { background: color-mix(in srgb, var(--clay) 82%, transparent); color: #fff; }
.tag--placed { background: color-mix(in srgb, var(--steel) 70%, transparent); color: #fff; }
.refcard__body { padding: 1.05rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.refcard__ref { font-family: var(--ui); font-size: 0.63rem; font-weight: 700; letter-spacing: 0.16em; color: var(--faint); }
.refcard__t { font-family: var(--display); font-size: 1.42rem; font-weight: 500; line-height: 1.08; }
.refcard__l { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.refcard__spec { display: flex; flex-wrap: wrap; gap: 0.25rem 0.8rem; font-family: var(--ui); font-size: 0.72rem; color: var(--ink-2); padding-top: 0.5rem; }
.refcard__spec span { display: inline-flex; gap: 0.28rem; align-items: baseline; }
.refcard__spec b { font-weight: 700; font-variant-numeric: tabular-nums; }
.refcard__band { margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--line-2); display: flex; align-items: baseline; justify-content: space-between; gap: 0.7rem; }
.refcard__p { font-family: var(--display); font-size: 1.15rem; font-weight: 500; color: var(--gold); font-variant-numeric: tabular-nums; }
.refcard__go { font-family: var(--ui); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.emptynote { font-family: var(--ui); font-size: 0.9rem; color: var(--muted); padding: 2.5rem 0; text-align: center; display: none; }
.emptynote.is-on { display: block; }

/* the dossier panel on a reference page */
.dossier { background: var(--deep); color: var(--on-deep); border-radius: var(--r-m); padding: clamp(1.4rem, 3vw, 2.2rem); }
.dossier h3 { color: #fff; font-size: 1.65rem; margin-bottom: 0.6rem; }
.dossier p { color: var(--on-deep-2); font-size: 0.96rem; }
.dossier .facts__k, .dossier .facts__v { color: var(--on-deep); }
.dossier .facts { border-top-color: rgba(231, 227, 219, 0.2); }
.dossier .facts__row { border-bottom-color: rgba(231, 227, 219, 0.12); }

.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.highlights li { position: relative; padding-left: 1.5rem; color: var(--ink-2); font-size: 0.97rem; line-height: 1.5; }
.highlights li::before { content: ''; position: absolute; left: 0.1rem; top: 0.62em; width: 0.5rem; height: 0.5rem; border: 1px solid var(--gold); transform: rotate(45deg); }

/* how the desk works */
.steps { display: grid; gap: 1px; background: var(--line-2); border-block: 1px solid var(--line-2); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--ground); padding: clamp(1.3rem, 2.6vw, 1.9rem); }
.step__n { font-family: var(--display); font-size: 2.4rem; font-weight: 500; color: var(--gold); line-height: 1; margin-bottom: 0.5rem; }
.step__t { font-family: var(--ui); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem; }
.step__d { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }

/* open mandates */
.mandates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mandate { display: grid; gap: 0.35rem 1.4rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line-2); }
@media (min-width: 760px) { .mandate { grid-template-columns: 6.5rem 1fr; } }
.mandate__id { font-family: var(--ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); }
.mandate__l { color: var(--ink-2); font-size: 0.98rem; line-height: 1.55; }
.mandate__h { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.45rem; }
.mandate__h a { font-family: var(--ui); font-size: 0.68rem; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.mandate__h a:hover { color: var(--gold); border-color: var(--gold); }

/* ==========================================================================
   13. Article prose
   ========================================================================== */
.art__hero { margin-bottom: clamp(1.8rem, 4vw, 3rem); overflow: clip; aspect-ratio: 16 / 9; border-radius: var(--r-m); }
.art__hero img { width: 100%; height: 100%; object-fit: cover; }
.art__layout { display: grid; gap: clamp(1.8rem, 4vw, 3.4rem); }
@media (min-width: 1120px) {
  .art__layout { grid-template-columns: var(--rail) minmax(0, var(--read)) var(--rail); justify-content: center; align-items: start; }
  .art__rail { position: sticky; top: 6.2rem; }
  .art__rail--r { order: 3; }
}
@media (max-width: 1119px) { .art__rail { display: none; } }

.prose { font-size: 1.05rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.4rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin-top: 3rem; line-height: 1.06; }
.prose h3 { font-size: 1.3rem; margin-top: 2.2rem; }
.prose h2 + p, .prose h3 + p { margin-top: 0.85rem; }
.prose p { margin: 0; }
.prose a { color: var(--gold); text-underline-offset: 3px; }
.prose .lead-p { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 500; line-height: 1.26; color: var(--ink); }
.prose ul { margin: 0; padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.4rem; margin-bottom: 0.7rem; }
.prose ul li::before { content: ''; position: absolute; left: 0.15rem; top: 0.72em; width: 0.42rem; height: 1px; background: var(--gold); }
.prose ul li:last-child { margin-bottom: 0; }

.pquote { margin: 2.6rem 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--gold); }
.pquote p { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; line-height: 1.2; margin: 0 0 0.8rem; }
.pquote cite { font-family: var(--ui); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-style: normal; }

.pnote { background: var(--raised); border-radius: var(--r-m); padding: clamp(1.2rem, 3vw, 1.8rem); border-left: 2px solid var(--gold); margin: 2.2rem 0; }
.pnote h4 { font-family: var(--ui); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.pnote p { font-size: 0.99rem; margin: 0; }

.pfigure { margin: 2.4rem 0; }
.pfigure img { border-radius: var(--r-m); width: 100%; }
.pfigure figcaption, .pcap { font-family: var(--ui); font-size: 0.75rem; line-height: 1.5; color: var(--muted); margin-top: 0.6rem; }

.facts { margin: 2rem 0; border-top: 1px solid var(--line); }
.facts__row { display: grid; gap: 0.2rem 1.4rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-2); }
@media (min-width: 620px) { .facts__row { grid-template-columns: 13.5rem 1fr; } }
.facts__k { font-family: var(--ui); font-size: 0.81rem; font-weight: 700; color: var(--ink); line-height: 1.45; }
.facts__v { font-size: 0.98rem; color: var(--ink-2); line-height: 1.56; }

.numbers { display: grid; gap: 1px; background: var(--line-2); margin: 2.2rem 0; border-block: 1px solid var(--line-2); }
@media (min-width: 620px) { .numbers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .numbers--4 { grid-template-columns: repeat(4, 1fr); } }
.numbers__i { background: var(--ground); padding: 1.2rem 1.15rem 1.3rem; }
.numbers__n { font-family: var(--display); font-size: clamp(1.7rem, 3.2vw, 2.2rem); font-weight: 500; color: var(--gold); line-height: 1; margin-bottom: 0.5rem; font-variant-numeric: tabular-nums; }
.numbers__t { font-size: 0.91rem; line-height: 1.5; color: var(--ink-2); }

.scale { margin: 2.2rem 0; }
.scale__h { font-family: var(--ui); font-size: 0.71rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.scale__row { margin-bottom: 0.8rem; }
.scale__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.3rem; }
.scale__l { font-size: 0.92rem; color: var(--ink-2); }
.scale__v { font-family: var(--display); font-size: 1.05rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.scale__track { height: 4px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.scale__fill { height: 100%; background: var(--gold); border-radius: 999px; width: 0; transition: width 1s var(--ease); }
.scale__row:nth-child(3) .scale__fill { transition-delay: 0.05s; }
.scale__row:nth-child(4) .scale__fill { transition-delay: 0.1s; }
.scale__row:nth-child(5) .scale__fill { transition-delay: 0.15s; }
.scale__row:nth-child(6) .scale__fill { transition-delay: 0.2s; }

.check { margin: 2.2rem 0; background: var(--raised); border-radius: var(--r-m); padding: clamp(1.2rem, 3vw, 1.7rem); }
.check__h { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.check__t { font-family: var(--ui); font-size: 0.71rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.check__c { font-family: var(--ui); font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.check__l { list-style: none; margin: 0; padding: 0; }
.check__i { border-top: 1px solid var(--line-2); }
.check__i:first-child { border-top: 0; }
.check__b { display: flex; gap: 0.8rem; align-items: flex-start; width: 100%; text-align: left; background: none; border: 0; padding: 0.75rem 0; cursor: pointer; font-family: var(--body); font-size: 0.98rem; line-height: 1.55; color: var(--ink-2); transition: color 0.2s; }
.check__b:hover { color: var(--ink); }
.check__box { flex: none; width: 1.1rem; height: 1.1rem; border: 1px solid var(--faint); border-radius: var(--r-s); margin-top: 0.24rem; display: grid; place-items: center; transition: all 0.2s; }
.check__box svg { width: 0.75rem; height: 0.75rem; opacity: 0; transform: scale(0.6); transition: all 0.2s; color: var(--on-gold); }
.check__i.is-done .check__box { background: var(--gold); border-color: var(--gold); }
.check__i.is-done .check__box svg { opacity: 1; transform: none; }
.check__i.is-done .check__b { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--line); }

.toolcard { display: grid; gap: 1.1rem; align-items: center; margin: 2.6rem 0; background: var(--deep); color: var(--on-deep); border-radius: var(--r-m); padding: clamp(1.3rem, 3vw, 1.9rem); text-decoration: none; transition: transform 0.3s var(--ease); }
@media (min-width: 620px) { .toolcard { grid-template-columns: 1fr auto; } }
.toolcard:hover { transform: translateY(-2px); }
.toolcard__k { font-family: var(--ui); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 0.5rem; }
.toolcard__t { font-family: var(--display); font-size: 1.5rem; font-weight: 500; margin-bottom: 0.45rem; color: #fff; }
.toolcard__d { font-size: 0.95rem; color: var(--on-deep-2); line-height: 1.5; }
.toolcard .btn { background: var(--gold-2); border-color: var(--gold-2); color: var(--deep-2); white-space: nowrap; }
.toolcard:hover .btn { background: var(--on-deep); border-color: var(--on-deep); }

/* an inline strip of hotspot links inside an article */
.hotstrip { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 2rem 0; }
.hotstrip a { font-family: var(--ui); font-size: 0.74rem; font-weight: 600; text-decoration: none; padding: 0.45rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); transition: all 0.2s; }
.hotstrip a:hover { border-color: var(--gold); color: var(--gold); }

.rail__h { font-family: var(--ui); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.toc { list-style: none; margin: 0 0 1.8rem; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 0.4rem 0 0.4rem 0.85rem; margin-left: -1px; border-left: 1px solid transparent; font-family: var(--ui); font-size: 0.79rem; line-height: 1.4; color: var(--muted); text-decoration: none; transition: all 0.2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-cur { color: var(--gold); border-left-color: var(--gold); }
.railbox { border-top: 1px solid var(--line); padding-top: 1rem; margin-bottom: 1.6rem; }

.share { display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center; }
.share__lab { font-family: var(--ui); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-right: 0.25rem; }

/* ==========================================================================
   14. Poll and FAQ
   ========================================================================== */
.poll { background: var(--raised); border-radius: var(--r-m); padding: clamp(1.3rem, 3.4vw, 2.1rem); }
.poll__q { font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 500; line-height: 1.2; margin-bottom: 1.2rem; }
.poll__opts { display: grid; gap: 0.5rem; }
.poll__opt { display: block; width: 100%; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0.8rem 1rem; cursor: pointer; position: relative; overflow: hidden; font-family: var(--body); font-size: 0.97rem; color: var(--ink); transition: border-color 0.2s, transform 0.2s; }
.poll__opt:hover { border-color: var(--gold); }
.poll__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: color-mix(in srgb, var(--gold) 16%, transparent); transition: width 0.8s var(--ease); }
.poll__row { position: relative; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.poll__pct { font-family: var(--ui); font-size: 0.8rem; font-variant-numeric: tabular-nums; color: var(--gold); opacity: 0; transition: opacity 0.4s 0.3s; }
.poll.is-done .poll__pct { opacity: 1; }
.poll.is-done .poll__opt { cursor: default; }
.poll.is-done .poll__opt.is-mine { border-color: var(--gold); }
.poll__foot { margin-top: 0.9rem; font-family: var(--ui); font-size: 0.73rem; color: var(--muted); min-height: 1.2em; }

.faq { border-top: 1px solid var(--line); }
.faq__i { border-bottom: 1px solid var(--line-2); }
.faq__q { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.2rem; width: 100%; background: none; border: 0; padding: 1.1rem 0; cursor: pointer; text-align: left; font-family: var(--display); font-size: 1.22rem; font-weight: 500; line-height: 1.25; color: var(--ink); transition: color 0.2s; }
.faq__q:hover { color: var(--gold); }
.faq__ic { flex: none; width: 1rem; height: 1rem; margin-top: 0.3rem; position: relative; }
.faq__ic::before, .faq__ic::after { content: ''; position: absolute; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.faq__ic::before { left: 0; right: 0; top: 50%; height: 1px; }
.faq__ic::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.faq__i.is-open .faq__ic::after { transform: rotate(90deg); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq__i.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 1.1rem; color: var(--ink-2); font-size: 0.99rem; max-width: 64ch; }

/* ==========================================================================
   15. The instruments
   ========================================================================== */
.tool { display: grid; gap: clamp(1.5rem, 3.4vw, 2.6rem); }
@media (min-width: 980px) { .tool { grid-template-columns: minmax(0, 21.5rem) minmax(0, 1fr); align-items: start; } }
.tpanel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(1.15rem, 3vw, 1.6rem); }
@media (min-width: 980px) { .tool > .tpanel:first-child { position: sticky; top: 6rem; } }
.tpanel__h { font-family: var(--ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; padding-bottom: 0.65rem; border-bottom: 1px solid var(--line-2); }

.f { margin-bottom: 1.2rem; }
.f:last-child { margin-bottom: 0; }
.f__l { display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem; font-family: var(--ui); font-size: 0.78rem; font-weight: 600; margin-bottom: 0.42rem; }
.f__v { font-family: var(--display); font-size: 1.05rem; font-weight: 500; color: var(--gold); font-variant-numeric: tabular-nums; }
.f__hint { font-family: var(--ui); font-size: 0.71rem; color: var(--muted); margin-top: 0.4rem; line-height: 1.45; }

input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type='range']::-webkit-slider-runnable-track { height: 3px; background: var(--line); border-radius: 999px; }
input[type='range']::-moz-range-track { height: 3px; background: var(--line); border-radius: 999px; }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--gold); margin-top: -6.5px; transition: transform 0.15s; }
input[type='range']::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--gold); }
input[type='range']:active::-webkit-slider-thumb { transform: scale(1.15); }

select, input[type='text'], input[type='email'], input[type='tel'], input[type='number'], textarea {
  width: 100%; font-family: var(--ui); font-size: 0.9rem; color: var(--ink);
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 0.66rem 0.85rem; transition: border-color 0.2s;
}
select:focus, input:focus, textarea:focus { border-color: var(--gold); outline: none; }
textarea { min-height: 8rem; resize: vertical; font-family: var(--body); font-size: 1rem; line-height: 1.6; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }

.out { display: grid; gap: 1.3rem; }
.out__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; }
.big { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.big small { font-size: 0.32em; font-family: var(--ui); font-weight: 600; letter-spacing: 0.06em; color: var(--muted); margin-left: 0.4rem; }
.big--gold { color: var(--gold); }

.result { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(1.15rem, 3vw, 1.7rem); }
.result + .result { margin-top: 1rem; }
.result__h { font-family: var(--ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.95rem; }

.kv { border-top: 1px solid var(--line-2); }
.kv__r { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 0.64rem 0; border-bottom: 1px solid var(--line-2); }
.kv__k { font-family: var(--ui); font-size: 0.84rem; color: var(--ink-2); }
.kv__v { font-family: var(--display); font-size: 1.05rem; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kv__r--total { border-bottom: 0; padding-top: 0.85rem; }
.kv__r--total .kv__k { font-weight: 700; color: var(--ink); }
.kv__r--total .kv__v { font-size: 1.3rem; color: var(--gold); }
.kv__r--sub .kv__k { padding-left: 0.9rem; color: var(--muted); font-size: 0.79rem; }
.kv__r--sub .kv__v { font-size: 0.95rem; color: var(--muted); }
.kv__note { font-family: var(--ui); font-size: 0.72rem; color: var(--muted); display: block; margin-top: 0.12rem; max-width: 46ch; }

.bars { display: grid; gap: 0.7rem; }
.bar__top { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: 0.28rem; }
.bar__l { font-family: var(--ui); font-size: 0.81rem; color: var(--ink-2); }
.bar__v { font-family: var(--ui); font-size: 0.78rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.bar__t { height: 5px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.bar__f { height: 100%; background: var(--gold); border-radius: 999px; transition: width 0.6s var(--ease); }
.bar__f--2 { background: var(--green); }
.bar__f--3 { background: var(--clay); }
.bar__f--4 { background: var(--steel); }

.note { font-family: var(--ui); font-size: 0.78rem; line-height: 1.55; color: var(--muted); }
.note strong { color: var(--ink); font-weight: 700; }
.note--warn { color: var(--clay); }

/* a small chart canvas used by several instruments */
.chart { background: var(--raised); border-radius: var(--r-m); padding: 1rem; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .ax { stroke: var(--line); stroke-width: 1; }
.chart .gl { stroke: var(--line-2); stroke-width: 1; }
.chart .ln { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; }
.chart .ln2 { fill: none; stroke: var(--steel); stroke-width: 2; stroke-dasharray: 4 3; }
.chart .ar { fill: color-mix(in srgb, var(--gold) 14%, transparent); }
.chart .bar { fill: var(--gold); }
.chart .bar2 { fill: var(--steel); }
.chart text { font-family: var(--ui); font-size: 9px; fill: var(--muted); }
.chart .lab { font-size: 10px; fill: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: 0.7rem; font-family: var(--ui); font-size: 0.72rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.legend i { width: 0.7rem; height: 2px; background: var(--gold); display: inline-block; }
.legend i.s2 { background: var(--steel); }

/* the ranked list used by the budget instrument */
.rank { display: grid; gap: 0.5rem; }
.rank__i { display: grid; grid-template-columns: 1.4rem 1fr auto; gap: 0.7rem; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: inherit; }
.rank__i:hover .rank__n { color: var(--gold); }
.rank__p { font-family: var(--ui); font-size: 0.7rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.rank__n { font-family: var(--ui); font-size: 0.86rem; font-weight: 600; transition: color 0.2s; }
.rank__b { height: 4px; background: var(--line-2); border-radius: 999px; overflow: hidden; margin-top: 0.25rem; }
.rank__f { height: 100%; background: var(--gold); border-radius: 999px; transition: width 0.6s var(--ease); }
.rank__v { font-family: var(--display); font-size: 1.02rem; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rank__v small { font-family: var(--ui); font-size: 0.62rem; color: var(--faint); margin-left: 0.2rem; }

/* score dial for the readiness instrument */
.dial { display: grid; place-items: center; gap: 0.6rem; }
.dial svg { width: min(100%, 14rem); height: auto; }
.dial .tr { fill: none; stroke: var(--line); stroke-width: 6; }
.dial .vl { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 0.9s var(--ease); }
.dial__v { font-family: var(--display); font-size: 2.6rem; font-weight: 500; fill: var(--ink); }
.dial__k { font-family: var(--ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   16. The stepper: profile and readiness
   ========================================================================== */
.step__bar { display: flex; gap: 0.28rem; margin-bottom: 1.7rem; }
.step__seg { height: 2px; flex: 1; background: var(--line); border-radius: 999px; transition: background 0.4s; }
.step__seg.is-done { background: var(--gold); }
.q__n { font-family: var(--ui); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.85rem; }
.q__q { font-family: var(--display); font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 500; line-height: 1.18; margin-bottom: 1.6rem; max-width: 24ch; }
.opts { display: grid; gap: 0.55rem; }
.opt { text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1rem 1.15rem; cursor: pointer; font-family: var(--body); font-size: 1rem; color: var(--ink); display: flex; align-items: center; gap: 0.85rem; transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.opt:hover { border-color: var(--gold); transform: translateX(3px); }
.opt__k { font-family: var(--ui); font-size: 0.68rem; font-weight: 700; color: var(--faint); flex: none; width: 1.1rem; }

/* ==========================================================================
   17. The Ranesta 40
   ========================================================================== */
.forty__bar { position: sticky; top: 4.4rem; z-index: 20; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-2); padding-block: 0.85rem; margin-bottom: 2rem; }
.forty__in { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; justify-content: space-between; }
.forty__prog { display: flex; align-items: center; gap: 0.8rem; font-family: var(--ui); font-size: 0.76rem; color: var(--muted); }
.forty__track { width: 6rem; height: 3px; background: var(--line); border-radius: 999px; overflow: hidden; }
.forty__fill { height: 100%; background: var(--gold); width: 0; transition: width 0.4s var(--ease); }
.fgroup { margin-bottom: 2.8rem; }
.fgroup__h { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.fgroup__n { font-family: var(--display); font-size: 1.55rem; font-weight: 500; }
.fitem { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.fitem.is-hidden { display: none; }
.fitem__b { background: none; border: 0; padding: 0; cursor: pointer; margin-top: 0.15rem; }
.fitem__box { width: 1.15rem; height: 1.15rem; border: 1px solid var(--faint); border-radius: var(--r-s); display: grid; place-items: center; transition: all 0.2s; }
.fitem__box svg { width: 0.78rem; height: 0.78rem; opacity: 0; color: var(--on-gold); transition: opacity 0.2s; }
.fitem.is-done .fitem__box { background: var(--gold); border-color: var(--gold); }
.fitem.is-done .fitem__box svg { opacity: 1; }
.fitem.is-done .fitem__t { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--line); }
.fitem__t { font-family: var(--display); font-size: 1.12rem; font-weight: 500; line-height: 1.25; margin-bottom: 0.25rem; }
.fitem__d { font-size: 0.93rem; color: var(--muted); line-height: 1.5; }
.fitem__a { font-family: var(--ui); font-size: 0.7rem; font-weight: 600; color: var(--gold); text-decoration: none; letter-spacing: 0.04em; white-space: nowrap; }
.fitem__a:hover { text-decoration: underline; }

/* ==========================================================================
   18. Forms
   ========================================================================== */
.form { display: grid; gap: 1.05rem; }
.form__row { display: grid; gap: 1.05rem; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-family: var(--ui); font-size: 0.77rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 0.38rem; color: var(--ink-2); }
.form .req { color: var(--clay); }
.form__consent { display: flex; gap: 0.65rem; align-items: flex-start; font-family: var(--ui); font-size: 0.79rem; line-height: 1.5; color: var(--muted); }
.form__consent input { width: 1rem; height: 1rem; margin-top: 0.2rem; accent-color: var(--gold); flex: none; }
.form__msg { font-family: var(--ui); font-size: 0.85rem; padding: 0.85rem 1rem; border-radius: var(--r-m); display: none; }
.form__msg.is-ok { display: block; background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--ink); }
.form__msg.is-err { display: block; background: color-mix(in srgb, var(--clay) 16%, transparent); color: var(--ink); }
.hp { position: absolute; left: -9999px; }

.news { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .news { grid-template-columns: 1fr 1fr; gap: 3.4rem; } }
.news__form { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.news__form input { flex: 1 1 14rem; background: transparent; border-color: rgba(231, 227, 219, 0.28); color: var(--on-deep); }
.news__form input::placeholder { color: rgba(231, 227, 219, 0.45); }

/* ==========================================================================
   19. Footer
   ========================================================================== */
.ftr { background: var(--deep-2); color: var(--on-deep-2); padding-block: clamp(2.6rem, 6vw, 4.2rem) 2rem; }
.ftr a { color: var(--on-deep-2); text-decoration: none; transition: color 0.2s; }
.ftr a:hover { color: var(--gold-2); }
.ftr__grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.4rem; } }
.ftr__h { font-family: var(--ui); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(231, 227, 219, 0.4); margin-bottom: 0.95rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: 0.5rem; font-family: var(--ui); font-size: 0.83rem; }
.ftr .brand__name { color: var(--on-deep); }
.ftr__note { font-family: var(--ui); font-size: 0.77rem; line-height: 1.6; color: rgba(231, 227, 219, 0.5); max-width: 36ch; margin-top: 1rem; }
.ftr__bot { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(231, 227, 219, 0.12); display: flex; flex-wrap: wrap; gap: 0.9rem 1.6rem; justify-content: space-between; font-family: var(--ui); font-size: 0.74rem; color: rgba(231, 227, 219, 0.4); }
.badges { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 0.4rem; }
.badge svg { width: 0.82rem; height: 0.82rem; color: var(--gold-2); }
.disclaim { font-family: var(--ui); font-size: 0.72rem; line-height: 1.6; color: rgba(231, 227, 219, 0.38); max-width: 80ch; margin-top: 1.4rem; }

/* ==========================================================================
   20. Lightbox, toast, reveal, to-top
   ========================================================================== */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(6, 10, 14, 0.95); display: grid; place-items: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb img { max-height: 86vh; width: auto; border-radius: var(--r-m); }
.lb__cap { position: absolute; bottom: 1.3rem; left: 50%; transform: translateX(-50%); font-family: var(--ui); font-size: 0.76rem; color: rgba(255, 255, 255, 0.7); text-align: center; max-width: 40ch; }
.lb__x { position: absolute; top: 1.1rem; right: 1.1rem; color: #fff; border-color: rgba(255, 255, 255, 0.3); }

.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); z-index: 210; background: var(--ink); color: var(--ground); font-family: var(--ui); font-size: 0.82rem; padding: 0.78rem 1.25rem; border-radius: 999px; box-shadow: var(--shadow-3); transition: transform 0.4s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); }

.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }
.js .rv--mask { clip-path: inset(0 0 102% 0); opacity: 1; transform: none; transition: clip-path 1s var(--ease); }
.js .rv--mask.is-in { clip-path: inset(0 0 -12% 0); }
@media (prefers-reduced-motion: reduce) { .js .rv--mask { clip-path: none; } }

.rule { height: 1px; background: var(--line); transform-origin: left; }
.js .rule { transform: scaleX(0); transition: transform 1s var(--ease); }
.js .rule.is-in { transform: scaleX(1); }

.totop { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; background: var(--paper); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s var(--ease); }
.totop.is-on { opacity: 1; visibility: visible; transform: none; }

/* ==========================================================================
   21. Print
   ========================================================================== */
@media print {
  .hdr, .ftr, .menu, .totop, .share, .toolcard, .poll, .ticker, .hero__media { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .plate { min-height: 0; color: #000; background: none; }
  .hero h1, .hero .lede, .plate__in { color: #000; }
  a { text-decoration: none; color: #000; }
  .sec { padding-block: 1rem; }
}


.ftr__netz{margin-top:2.2rem;padding-top:1.6rem;border-top:1px solid currentColor;border-color:color-mix(in srgb,currentColor 18%,transparent)}
.ftr__netz-h{margin:0 0 .9rem;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;opacity:.75;font-weight:600}
.ftr__netz-list{list-style:none;margin:0;padding:0;display:grid;gap:.55rem 1.4rem;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.ftr__netz-list li{margin:0;padding:0}
.ftr__netz-list li::before{content:none}
.ftr__netz-list a{display:flex;flex-direction:column;gap:.1rem;text-decoration:none;line-height:1.3;padding:.15rem 0}
.ftr__netz-list a:hover b,.ftr__netz-list a:focus-visible b{text-decoration:underline}
.ftr__netz-list b{font-weight:600;font-size:.95rem}
.ftr__netz-list span{font-size:.78rem;opacity:.65}
.ftr__netz-dach{margin:1.2rem 0 0;font-size:.8rem;opacity:.7;max-width:62ch}
.ftr__netz-dach a{text-decoration:underline;text-underline-offset:2px}
@media (max-width:640px){.ftr__netz-list{gap:.5rem 1rem}}
