/* LoveWorld Consulate. North Star: the name at two corners of the world, the world live between them.
   Ground: night navy and white. Ink: navy. One accent: emblem gold. Square corners throughout. */

:root {
    --ink: #08111F;          /* night ground */
    --ink-2: #111C30;        /* raised on night */
    --navy: #0B1426;         /* text on light */
    --slate: #434D60;        /* secondary text on light, 7:1 on surface */
    --muted: #6B7485;        /* placeholders */
    --surface: #F3F4F6;      /* tonal sections, fields */
    --surface-2: #E7E9ED;    /* hover on surface */
    --white: #FFFFFF;
    --on-dark: rgba(255, 255, 255, 0.78);
    --gold: #D4A537;         /* the accent */
    --gold-hover: #E0B44A;
    --gold-text: #7F5E12;    /* gold as text on light, 5.6:1 */
    --error: #C2412D;

    --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
    --font: "Jost", "Futura", system-ui, -apple-system, "Segoe UI", sans-serif;

    --step-small: 14px;
    --step-body: 17px;
    --step-lead: clamp(20px, 1.8vw, 26px);
    --step-head: clamp(40px, 5.6vw, 88px);
    --step-display: clamp(56px, 8.8vw, 144px);

    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --gutter: 32px;
    --max: 1856px;
    --nav-h: 88px;
    --bar: 0px;
    --section: 128px;
}
body:has(#cookie-banner:not([hidden])) { --bar: 72px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--step-body);
    line-height: 1.55;
    color: var(--navy);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a, button, label { touch-action: manipulation; }
h1, h2, h3 { text-wrap: balance; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 500; }
ul { padding: 0; list-style: none; }
em, i, cite { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.hero :focus-visible, .territories :focus-visible, .site-nav :focus-visible, .site-footer :focus-visible, .page-head :focus-visible, .story-panel :focus-visible { outline-color: var(--gold); }
.sr-only, .hp {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 8px 16px; background: var(--gold); color: var(--ink); font-weight: 500; }
.skip-link:focus { top: 16px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display, .h1, .h-statement, .head, .article-title { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.display { font-size: var(--step-display); }
.h1, .head, .article-title, .h-statement { font-size: var(--step-head); }
.h2, .h3, .h4, .head-sm { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(30px, 3vw, 44px); }
.h5 { font-size: var(--step-lead); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.lede { font-size: var(--step-lead); line-height: 1.4; }
.meta-label { font-size: var(--step-small); line-height: 1.4; color: var(--slate); }
.on-dark .meta-label, .site-footer .meta-label { color: var(--on-dark); }
.muted { color: var(--slate); }

.display, .h1, .h-statement, .head, .article-title, .h2, .h3, .h4, .head-sm, .stage__name, .intro__motto, .desk__title, .places, .story__title, .prose h2, .pull p, .band__word, .footer-mark, .hero__name { font-optical-sizing: none; font-variation-settings: "opsz" 18; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 48px; padding: 12px 24px; border: 0; border-radius: 0; cursor: pointer;
    font-size: var(--step-body); font-weight: 500; line-height: 1.3; white-space: nowrap;
    transition-property: transform, background-color, color, opacity;
    transition-duration: 160ms; transition-timing-function: var(--ease-out);
}
.btn .ph { font-size: 18px; transition: transform 160ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 44px; font-size: 16px; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark .ph { color: var(--gold); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--white); }
.btn--quiet { background: var(--surface); color: var(--navy); }
.btn:disabled { cursor: progress; opacity: 0.72; }
.btn.is-sending .ph { display: none; }
.btn.is-sending::after {
    content: ""; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid currentColor; border-right-color: transparent;
    animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { padding: 0; border: 0; background: none; cursor: pointer; font-size: inherit; color: inherit; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
.text-link .ph { transition: transform 160ms var(--ease-out); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
@media (hover: hover) and (pointer: fine) {
    .btn--gold:hover { background: var(--gold-hover); }
    .btn--dark:hover { background: #1B2A45; }
    .btn--light:hover, .btn--quiet:hover { background: var(--surface-2); }
    .btn--ghost:hover { color: var(--gold); }
    .btn:hover .ph-arrow-right, .text-link:hover .ph-arrow-right { transform: translateX(4px); }
    .btn:hover .ph-arrow-up-right, .text-link:hover .ph-arrow-up-right { transform: translate(2px, -2px); }
}

/* ---------- Nav ---------- */
.site-nav { position: relative; z-index: 20; background: var(--ink); color: var(--white); }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 48px; height: 48px; }
.brand__words { display: flex; flex-direction: column; }
.brand__name { font-size: 17px; font-weight: 500; line-height: 1.3; }
.brand__sub { font-size: var(--step-small); line-height: 1.3; color: var(--gold); }
.site-nav__links { display: flex; align-items: center; gap: 32px; }
.site-nav__links a { font-size: 16px; color: var(--on-dark); transition: color 160ms var(--ease-out); }
.site-nav__links a[aria-current="page"] { color: var(--white); }
@media (hover: hover) and (pointer: fine) { .site-nav__links a:hover { color: var(--white); } }
.site-nav__actions { display: flex; align-items: center; gap: 16px; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--on-dark); font-size: 16px; cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.lang__btn .ph { font-size: 16px; }
.lang__btn .lang__caret { font-size: 12px; transition: transform 200ms var(--ease-out); }
.lang__btn[aria-expanded="true"] { background: var(--ink-2); color: var(--white); }
.lang__btn[aria-expanded="true"] .lang__caret { transform: rotate(180deg); }
.lang__btn[aria-busy="true"] { cursor: progress; opacity: 0.64; }
@media (hover: hover) and (pointer: fine) { .lang__btn:hover { background: var(--ink-2); color: var(--white); } }
.lang__panel {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: 280px; padding: 8px;
    background: var(--white); color: var(--navy);
    box-shadow: 0 16px 48px rgba(8, 17, 31, 0.24);
    transform-origin: top right; animation: pop-in 180ms var(--ease-out);
}
.lang__panel.is-closing { animation: pop-out 120ms var(--ease-out) forwards; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(0.97); } }
@keyframes pop-out { to { opacity: 0; transform: translateY(-4px) scale(0.97); } }
.lang__search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; margin-bottom: 4px; background: var(--surface); color: var(--slate); }
.lang__search:focus-within { box-shadow: inset 0 0 0 2px var(--gold-text); background: var(--white); }
.lang__search .ph { font-size: 16px; }
.lang__search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 16px; color: var(--navy); }
.lang__search input::placeholder { color: var(--muted); }
.lang__list { max-height: 296px; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 0; scrollbar-width: thin; }
.lang__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 12px; font-size: 16px; cursor: pointer; }
.lang__list li .ph { font-size: 16px; color: var(--gold-text); }
.lang__list li[aria-selected="true"] { font-weight: 500; }
.lang__list li.is-active { background: var(--surface); }
.lang__empty { padding: 16px 12px; font-size: 16px; color: var(--slate); }
.lang--menu { padding: 8px 0 16px; }
.lang--menu .lang__btn { margin: 0 -12px; height: 48px; font-size: 17px; }
.lang--menu .lang__panel { position: static; width: auto; margin-top: 8px; transform-origin: top left; }
.lang--menu .lang__list { max-height: 240px; }
html.translating body { cursor: progress; }
html.translating main { opacity: 0.6; transition: opacity 200ms; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: var(--ink-2); color: var(--white); cursor: pointer; }
.menu-toggle .ph { font-size: 22px; }
.mobile-menu { background: var(--ink); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; padding-bottom: 24px; }
.mobile-menu a:not(.btn) { padding: 12px 0; font-size: var(--step-lead); color: var(--on-dark); }
.mobile-menu a[aria-current="page"] { color: var(--white); }
.mobile-menu .btn { margin-top: 8px; }

/* ---------- Cookie bar: in the flow, so it never lies over anything ---------- */
.cookie-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: var(--bar); padding: 12px var(--gutter); background: var(--ink-2); color: var(--white); font-size: 16px; }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ---------- Dark page header (Contact, News, Article, Espees) ---------- */
.page-head { background: var(--ink); color: var(--white); }
.page-head .lede { color: var(--on-dark); }

/* ---------- Globe ---------- */
.globe { position: relative; aspect-ratio: 1; }
.globe img, .globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe img { padding: 3%; mix-blend-mode: lighten; transition: opacity 400ms var(--ease-out); }
.globe canvas { opacity: 0; transition: opacity 400ms var(--ease-out); }
.globe.is-live canvas { opacity: 1; }
.globe.is-live img { opacity: 0; }

/* W overhangs the o in Bodoni; close the gap by hand */
.kern { letter-spacing: -0.09em; }

/* ---------- Home: hero, the name at two corners ---------- */
.hero { position: relative; height: calc(100svh - var(--nav-h) - var(--bar)); min-height: 600px; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__globe { position: absolute; left: 50%; top: 50%; height: min(96%, 64vw); transform: translate(-50%, -50%); }
.hero__name { position: absolute; inset: 0; font-family: var(--display); font-size: clamp(64px, 10.6vw, 240px); line-height: 1; letter-spacing: -0.02em; }
.hero__word { position: absolute; display: block; white-space: nowrap; }
.hero__word--a { left: var(--gutter); top: 0; }
.hero__word--b { right: var(--gutter); bottom: 16px; }
.hero__clock { position: absolute; right: var(--gutter); top: 16px; display: flex; flex-direction: column; align-items: flex-end; font-size: var(--step-body); line-height: 1.4; }
.hero__clock time { color: var(--gold); font-variant-numeric: tabular-nums; }
.hero__copy { position: absolute; left: var(--gutter); bottom: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 24ch; font-size: var(--step-lead); line-height: 1.35; }
@keyframes word-rise { from { opacity: 0; transform: translateY(32px); } }
.hero__word, .hero__copy { animation: word-rise 900ms var(--ease-out) both; }
.hero__word--b { animation-delay: 90ms; }
.hero__copy { animation-delay: 180ms; }

/* ---------- Home: intro. The emblem, and the pledge stepping forward line by line ---------- */
.intro { padding: var(--section) 0; }
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 64px 32px; align-items: center; }
.intro__emblem { grid-column: 1 / 6; width: 100%; max-width: 440px; mix-blend-mode: multiply; } /* its off-white backing melts into the page */
.intro__pledge { grid-column: 6 / 13; display: flex; flex-direction: column; gap: 12px; }
.intro__line { font-family: var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-size: clamp(36px, 4.6vw, 80px); line-height: 1.1; letter-spacing: -0.02em; }
.intro__line:nth-child(2) { padding-left: 64px; }
.intro__line:nth-child(3) { padding-left: 128px; }
.intro__note { grid-column: 1 / 6; max-width: 32ch; font-size: var(--step-lead); line-height: 1.4; }
.intro__motto { grid-column: 6 / 13; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-family: var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-size: clamp(26px, 2.4vw, 40px); line-height: 1.2; letter-spacing: -0.02em; color: var(--gold-text); }

/* ---------- Home: territories, the world turns to the row ---------- */
.territories { padding: var(--section) 0; background: var(--ink); color: var(--white); }
.territories__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; margin-bottom: 64px; }
.search { display: flex; align-items: center; gap: 12px; width: 400px; max-width: 100%; height: 48px; padding: 0 16px; background: var(--surface); color: var(--navy); transition: box-shadow 160ms var(--ease-out); }
.territories .search { background: var(--ink-2); color: var(--white); }
.search:focus-within { box-shadow: 0 0 0 2px var(--gold); }
.search .ph { font-size: 18px; flex-shrink: 0; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 16px; }
.search input::placeholder { color: var(--muted); }
.territories .search input::placeholder { color: var(--on-dark); }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.territories__body { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.stage { position: sticky; top: 16px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 32px; align-items: end; min-height: calc(100svh - 32px); align-content: center; }
.stage__globe { width: 100%; }
.stage__panel { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 32px; }
.stage__name { font-family: var(--display); font-size: clamp(30px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.stage__hour { font-size: var(--step-lead); line-height: 1.3; }
.stage__hour time { color: var(--gold); font-variant-numeric: tabular-nums; }
.stage__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--ink-2); margin-bottom: 12px; outline: 1px solid rgba(255, 255, 255, 0.1); outline-offset: -1px; }
.stage__offset { color: var(--gold); }
.stage__text { color: var(--on-dark); margin-bottom: 12px; }
.roster__more { color: var(--on-dark); }
.roster__more .text-link { color: var(--white); }
.roster__more .ph { color: var(--gold); }
.roster { display: flex; flex-direction: column; gap: 48px; padding-top: 32px; }
.roster__region { margin-bottom: 8px; font-size: var(--step-small); color: var(--on-dark); font-weight: 400; }
.terr { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) 20px 48px 24px; align-items: baseline; gap: 16px; min-height: 64px; padding: 16px; margin: 0 -16px; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.terr__name { font-size: var(--step-lead); line-height: 1.3; }
.terr__city { color: var(--on-dark); }
.terr__sky { align-self: center; font-size: 18px; color: var(--on-dark); }
.terr__near { margin-left: 12px; font-size: var(--step-small); color: var(--gold); white-space: nowrap; }
.terr__hour { text-align: right; font-variant-numeric: tabular-nums; }
.terr .ph-arrow-up-right { align-self: center; font-size: 18px; color: var(--gold); opacity: 0; transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out); transform: translate(-4px, 4px); }
.terr.is-active { background: var(--ink-2); }
.terr.is-active .terr__name { color: var(--gold); }
.terr.is-active .ph-arrow-up-right { opacity: 1; transform: none; }
.terr:active { background: #1B2A45; }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 64px 0; }
.empty p { max-width: 48ch; }
.empty--split { display: grid; grid-template-columns: 5fr 7fr; gap: 16px 64px; padding: 0; }
.empty--split h2 { grid-row: 1 / 3; }
.empty--split .cta-row { grid-column: 2; }
.territories .empty p { color: var(--on-dark); }

/* ---------- Home: Welcome. Fixed slots, so a swap never moves its neighbours ---------- */
.greet { padding: var(--section) 0; }
.greet__wall { --unit: calc(100vw - var(--gutter) * 2); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 12px; font-family: var(--display), "Noto Serif", "Songti SC", "Hiragino Mincho ProN", "Apple SD Gothic Neo", "Geeza Pro", "Kohinoor Devanagari", serif; font-optical-sizing: none; font-variation-settings: "opsz" 18; letter-spacing: -0.02em; }
.greet__big { grid-column: 1 / 10; grid-row: 1 / 3; align-self: end; font-size: min(calc(var(--unit) * 0.102), 192px); line-height: 1.15; white-space: nowrap; }
.greet__words { display: contents; font-size: min(calc(var(--unit) * 0.031), 60px); line-height: 1.3; color: var(--slate); }
.greet__words li { grid-column: span 3; white-space: nowrap; font-size: min(calc(var(--unit) * 0.031), 60px); line-height: 1.3; color: var(--slate); }
.greet__words li:nth-child(1) { grid-column: 10 / 13; grid-row: 1; align-self: end; }
.greet__words li:nth-child(2) { grid-column: 10 / 13; grid-row: 2; align-self: end; }
.greet__big, .greet__words li { overflow-x: clip; } /* wide scramble glyphs stay inside the slot */
.greet__glitch { color: var(--gold-text); }
.greet__foot { display: flex; justify-content: flex-end; margin-top: 32px; }
.greet__pause { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: var(--surface); color: var(--navy); font-size: 16px; cursor: pointer; transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.greet__pause:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .greet__pause:hover { background: var(--surface-2); } }

/* ---------- Home: what the consulate does ---------- */
.desks { padding: var(--section) 0; background: var(--surface); }
.desks__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.desks__inner .head { position: sticky; top: 32px; }
.desks__list { display: flex; flex-direction: column; gap: 12px; }
.desk { display: flex; flex-direction: column; gap: 4px; padding: 16px 24px; margin: 0 -24px; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.desk__title { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--display); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
.desk__title .ph { font-size: 20px; flex-shrink: 0; transition: transform 160ms var(--ease-out); }
.desk__text { color: var(--slate); transition: color 160ms var(--ease-out); }
.desk:active { background: var(--surface-2); }
@media (hover: hover) and (pointer: fine) {
    .desk:hover { background: var(--navy); color: var(--white); }
    .desk:hover .desk__text { color: var(--on-dark); }
    .desk:hover .ph { transform: translateX(4px); color: var(--gold); }
}

/* ---------- Home: one word is the button ---------- */
.band { padding: 96px 0; background: var(--gold); color: var(--ink); }
.band :focus-visible { outline-color: var(--ink); }
.band__inner { display: grid; grid-template-columns: 7fr 5fr; gap: 48px 64px; align-items: end; }
.band__lead { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.band__lead p { max-width: 48ch; font-size: var(--step-lead); line-height: 1.4; }
.band__coin { display: grid; place-items: center; width: 128px; height: 128px; border-radius: 50%; background: var(--ink); }
.band__coin img { width: 96px; height: 96px; }
.band__ask { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.band__q { font-size: var(--step-lead); font-weight: 500; line-height: 1.3; }
.band__uses { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.band__uses a { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 16px; background: rgba(8, 17, 31, 0.1); line-height: 1.3; transition-property: background-color, color, transform; transition-duration: 160ms; transition-timing-function: var(--ease-out); }
.band__uses a:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .band__uses a:hover { background: var(--ink); color: var(--white); } }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 32px; background: var(--ink); color: var(--white); overflow: hidden; }
.site-footer__inner { display: flex; flex-direction: column; gap: 64px; }
.footer-mark { font-family: var(--display); font-size: min(calc((100vw - var(--gutter) * 2) / 9.61), 193px); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; color: var(--gold); }
.site-footer__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.places { grid-column: 1 / 8; display: flex; flex-direction: column; gap: 8px; font-family: var(--display); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.2; letter-spacing: -0.02em; }
.places a, .site-footer__cols a, .site-footer__bottom a { transition: color 160ms var(--ease-out); }
.site-footer__cols { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 12px; }
.site-footer__cols ul { display: flex; flex-direction: column; gap: 8px; }
@media (hover: hover) and (pointer: fine) { .places a:hover, .site-footer__cols a:hover, .site-footer__bottom a:hover, .site-footer__bottom .link-btn:hover { color: var(--gold); } }
.newsletter { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 32px 64px; padding: 32px; background: var(--ink-2); }
.newsletter__copy { display: flex; flex-direction: column; gap: 4px; }
.newsletter__title { font-size: var(--step-lead); font-weight: 500; line-height: 1.3; }
.newsletter__copy p { color: var(--on-dark); }
.newsletter__hint.is-error { color: #F08A76; }
.signup { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 4px 4px 16px; background: var(--ink); box-shadow: inset 0 0 0 2px transparent; transition: box-shadow 160ms var(--ease-out); }
.signup:focus-within { box-shadow: inset 0 0 0 2px var(--gold); }
.signup.is-error { box-shadow: inset 0 0 0 2px #F08A76; }
.signup input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 16px; color: var(--white); }
.signup input::placeholder { color: var(--on-dark); }
.signup.is-done { justify-content: space-between; padding: 12px 16px; }
.signup__email { color: var(--on-dark); overflow: hidden; text-overflow: ellipsis; }
.signup__done { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.signup__done .ph { color: var(--gold); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-size: var(--step-small); color: var(--on-dark); }
.site-footer__bottom p:first-child { margin-right: auto; }

/* ---------- Forms (Contact + Espees) ---------- */
.form-stack { display: flex; flex-direction: column; gap: 32px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.fieldset legend { padding: 0; margin-bottom: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field .meta-label { font-size: var(--step-small); color: var(--slate); }
.input {
    width: 100%; height: 48px; padding: 0 16px; border: 0; border-radius: 0;
    background: var(--surface); font-size: 16px; color: var(--navy); outline: 0;
    box-shadow: inset 0 0 0 2px transparent;
    transition: box-shadow 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
textarea.input { height: 160px; padding: 16px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: var(--muted); }
.input:focus { background: var(--white); box-shadow: inset 0 0 0 2px var(--gold-text); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%234A5468' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
select.input:has(option[value=""]:checked) { color: var(--muted); }
select.input option { color: var(--navy); }
.field.is-invalid .input, .field.is-invalid .input:focus { box-shadow: inset 0 0 0 2px var(--error); background: var(--white); }
.field-error { font-size: var(--step-small); color: var(--error); }
.field.is-invalid label { color: var(--error); }
.field__foot { display: flex; justify-content: flex-end; font-size: var(--step-small); color: var(--slate); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
    background: var(--surface); font-size: 16px; line-height: 1.3; color: var(--navy);
    box-shadow: inset 0 0 0 2px transparent;
    transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.chip span .ph { display: none; font-size: 14px; color: var(--gold); }
.chip input:checked + span { background: var(--navy); color: var(--white); }
.chip input[type="checkbox"]:checked + span .ph { display: inline-block; }
.chip input:focus-visible + span { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--gold-text); }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { background: var(--surface-2); } }
.chips.is-invalid .chip input:not(:checked) + span { box-shadow: inset 0 0 0 2px var(--error); background: var(--white); }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--slate); cursor: pointer; }
.check input {
    appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 24px; height: 24px; margin: 0;
    box-shadow: inset 0 0 0 2px rgba(11, 20, 38, 0.32); cursor: pointer;
    display: grid; place-items: center; transition: background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.check input::after { content: ""; width: 12px; height: 6px; border: 2px solid var(--gold); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--navy); box-shadow: none; }
.check input:checked::after { opacity: 1; }
.check.is-invalid { color: var(--error); }
.check.is-invalid input { box-shadow: inset 0 0 0 2px var(--error); }

.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.submit-note { color: var(--slate); }
.form-alert { padding: 16px; background: #FCEDEA; color: #8F2A1B; }

/* success state (Contact sent / Espees thank you) */
.done { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.done__icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 24px; }
.done__coin { width: 64px; height: 64px; }
.done p { max-width: 56ch; }
.summary { align-self: stretch; display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--surface); margin: 0; }
.summary div { display: flex; justify-content: space-between; gap: 24px; }
.summary dt { color: var(--slate); }
.summary dd { margin: 0; font-weight: 500; text-align: right; }

/* ---------- Contact ---------- */
.contact-head { padding-bottom: 96px; }
.title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; padding-top: 64px; }
.title-row__copy { display: flex; flex-direction: column; gap: 24px; max-width: 1040px; }
.title-row__copy .lede { max-width: 40ch; }
.title-meta { display: flex; flex-direction: column; gap: 24px; width: 320px; flex-shrink: 0; }
.title-meta div { display: flex; flex-direction: column; gap: 4px; }
.title-meta a { display: inline-flex; align-items: center; gap: 8px; }
.title-meta .ph { color: var(--gold); }
.contact-body { padding: 96px 0 var(--section); background: var(--surface); }
.contact-body__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.topics { display: flex; flex-direction: column; gap: 32px; }
.topic-list { display: flex; flex-direction: column; gap: 24px; }
.topic-list h3 { font-size: var(--step-lead); line-height: 1.3; }
.topic-list p { margin-top: 4px; color: var(--slate); }
.card { padding: 48px; background: var(--white); }

/* ---------- Espees ---------- */
.espees-layout { display: grid; grid-template-columns: 5fr 7fr; }
.story-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; padding: 64px var(--gutter) 96px; background: var(--ink); color: var(--white); }
.story-panel__coin { width: 96px; height: 96px; }
.story-panel__copy { display: flex; flex-direction: column; gap: 24px; }
.story-panel__copy .lede { color: var(--on-dark); max-width: 36ch; }
.steps { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.espees-form-wrap { padding: 64px 96px 96px 64px; }
.espees-form-wrap > * { max-width: 720px; }
.form-section { display: flex; flex-direction: column; gap: 16px; }
.form-section > .h5 + p { margin-top: -8px; color: var(--slate); }
.espees-form { display: flex; flex-direction: column; gap: 48px; }
.about-you { display: flex; flex-direction: column; gap: 24px; }
.scale { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; border: 0; padding: 0; margin: 0; }
.scale .chip span { width: 100%; height: 48px; justify-content: center; padding: 0; }
.scale .chip input:checked + span { color: var(--gold); font-weight: 500; }
.scale.is-invalid .chip input + span { box-shadow: inset 0 0 0 2px var(--error); background: var(--white); }
.scale-labels { display: flex; justify-content: space-between; font-size: var(--step-small); color: var(--slate); }

/* ---------- News ---------- */
.news-head { padding-bottom: 96px; }
.news-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; padding-top: 64px; }
.news-title .lede { max-width: 32ch; }
.news-title .display { flex-shrink: 0; }
.news-title:has(+ .feature) { margin-bottom: 64px; }
.feature { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.feature__img { width: 100%; height: 560px; object-fit: cover; }
.feature__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.feature__copy p { color: var(--on-dark); }
.story-meta { display: flex; align-items: center; gap: 12px; font-size: var(--step-small); color: var(--slate); }
.story-meta b { font-weight: 500; color: var(--gold-text); }
.story-meta i { width: 4px; height: 4px; background: var(--muted); }
.on-dark .story-meta, .page-head .story-meta { color: var(--on-dark); }
.on-dark .story-meta b, .page-head .story-meta b { color: var(--gold); }
.on-dark .story-meta i, .page-head .story-meta i { background: var(--on-dark); }

.stories { padding: 96px 0 var(--section); background: var(--surface); }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 64px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 8px 16px; border: 0; background: var(--white); font-size: 16px; cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.tab[aria-pressed="true"] { background: var(--navy); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .tab[aria-pressed="false"]:hover { background: var(--surface-2); } }
.stories .search { width: 320px; background: var(--white); }
.result-count { margin: -32px 0 32px; color: var(--slate); }
.story-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; }
.story-col { display: flex; flex-direction: column; gap: 64px; }
.story-col--b { padding-top: 96px; }
.story { display: flex; flex-direction: column; gap: 12px; }
.story__img { width: 100%; height: 320px; object-fit: cover; transition: opacity 200ms var(--ease-out); }
.story--lg .story__img { height: 480px; }
.story__title { font-family: var(--display); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
.story p { max-width: 56ch; color: var(--slate); }
@media (hover: hover) and (pointer: fine) {
    .story:hover .story__img { opacity: 0.88; }
    .story:hover .story__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
}
.statements { padding: var(--section) 0; }
.statements__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.statements__intro { display: flex; flex-direction: column; gap: 24px; }
.statement-list { display: flex; flex-direction: column; gap: 24px; }
.statement-row { display: grid; grid-template-columns: 160px 1fr; align-items: baseline; gap: 32px; }
.statement-list time { color: var(--slate); }
.statement-list span { font-size: var(--step-lead); line-height: 1.3; }

/* ---------- Article ---------- */
.article-head { padding-bottom: 96px; }
.article-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 32px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--on-dark); }
.back-link .ph { color: var(--gold); transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .back-link:hover .ph { transform: translateX(-4px); } }
.article-title { max-width: 1120px; }
.standfirst { max-width: 48ch; font-size: var(--step-lead); line-height: 1.4; color: var(--on-dark); }
.article-hero { background: var(--white); }
.article-hero img { width: 100%; height: 720px; object-fit: cover; }
.article-hero figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--slate); }
.article-body { padding: 96px 0 var(--section); }
.article-body__inner { display: grid; grid-template-columns: 3fr 6fr; gap: 96px; }
.aside { display: flex; flex-direction: column; gap: 32px; }
.aside > div { display: flex; flex-direction: column; gap: 8px; }
.aside .aside__by { font-weight: 500; }
.share { display: flex; gap: 8px; margin-top: 4px; }
.share a, .share button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: var(--surface); color: var(--navy); font-size: 18px; cursor: pointer; transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.share button:active, .share a:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .share a:hover, .share button:hover { background: var(--surface-2); } }
.share-note { font-size: var(--step-small); color: var(--gold-text); min-height: 20px; }
.prose { display: flex; flex-direction: column; gap: 32px; max-width: 68ch; }
.prose p { font-size: 20px; line-height: 1.6; }
.prose h2 { font-family: var(--display); font-size: clamp(30px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.pull { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--surface); }
.pull p { font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; letter-spacing: -0.02em; }
.pull cite { color: var(--gold-text); }
.prose .btn { align-self: flex-start; }
.related { padding: var(--section) 0; background: var(--surface); }
.related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.related__row { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 32px; }
.related__row .story__img { height: 280px; }

/* ---------- Entrances ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0ms, 0ms; }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .territories__body { gap: 48px; }
    .stage { grid-template-columns: minmax(0, 1fr); align-content: start; min-height: 0; }
    .stage__globe { max-width: 480px; }
    .desks__inner, .statements__inner { gap: 48px; }
    .espees-form-wrap { padding: 64px 48px 96px; }
    .article-body__inner { gap: 64px; }
}
@media (max-width: 1024px) {
    .site-nav__links, .site-nav__actions .lang, .site-nav__actions .btn, .brand__words { display: none; }
    .menu-toggle { display: inline-flex; }
    .site-nav.is-open { position: fixed; inset: 0; overflow-y: auto; }
    .espees-layout, .contact-body__inner, .feature, .statements__inner, .article-body__inner { grid-template-columns: 1fr; }
    .story-panel { gap: 48px; }
    .espees-form-wrap { padding: 64px var(--gutter) 96px; }
    .feature__img { height: 440px; }
    .aside { order: 2; flex-direction: row; flex-wrap: wrap; gap: 32px 64px; }
    .article-hero img { height: 520px; }
    .newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    :root { --gutter: 16px; --nav-h: 72px; --section: 96px; --step-head: clamp(40px, 11vw, 64px); }
    body:has(#cookie-banner:not([hidden])) { --bar: 128px; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }

    /* hero: the name still holds the corners, the world crosses the middle */
    .hero { min-height: 640px; }
    .hero__name { font-size: calc((100vw - var(--gutter) * 2) / 5); }
    .hero__globe { width: 112vw; height: auto; top: 44%; }
    .hero__clock { top: auto; bottom: calc(176px + 20vw); right: var(--gutter); }
    .hero__word--b { bottom: 168px; }
    .hero__copy { left: var(--gutter); right: var(--gutter); bottom: 16px; width: auto; gap: 12px; font-size: 18px; }
    .hero__copy .btn { width: 100%; }

    .intro__grid { gap: 32px 16px; }
    .intro__emblem, .intro__pledge, .intro__note, .intro__motto { grid-column: 1 / -1; }
    .intro__emblem { max-width: 200px; }
    .intro__line { font-size: min(8.6vw, 56px); }
    .intro__line:nth-child(2) { padding-left: 16px; }
    .intro__line:nth-child(3) { padding-left: 32px; }
    .intro__motto { flex-direction: column; gap: 4px; }

    .territories__head { margin-bottom: 32px; }
    .search { width: 100%; }
    .territories__body { display: block; }
    .stage { position: sticky; top: 0; z-index: 5; grid-template-columns: clamp(120px, 43vw, 200px) minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 0; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); background: var(--ink); }
    .stage__globe { border-radius: 50%; overflow: hidden; }
    .stage__panel { gap: 4px; padding-bottom: 0; }
    .stage__name { font-size: 26px; }
    .stage__hour { font-size: 16px; }
    .stage__text, .stage__photo, .stage__offset { display: none; }
    .stage__panel .btn { min-height: 44px; padding: 8px 16px; margin-top: 4px; }
    .terr { grid-template-columns: minmax(0, 1fr) 20px 48px; grid-template-areas: "name sky hour" "city city city"; row-gap: 0; margin: 0 -8px; padding: 12px 8px; }
    .terr__name { grid-area: name; }
    .terr__city { grid-area: city; }
    .terr__hour { grid-area: hour; }
    .terr__sky { grid-area: sky; }
    .terr .ph-arrow-up-right { display: none; }

    .greet__wall { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 4px; }
    .greet__big { grid-column: 1 / -1; grid-row: auto; font-size: calc(var(--unit) / 7.2); margin-bottom: 16px; }
    .greet__words li, .greet__words li:nth-child(1), .greet__words li:nth-child(2) { grid-column: span 1; grid-row: auto; font-size: calc((var(--unit) - 16px) / 14.6); }

    .desks__inner { grid-template-columns: 1fr; gap: 32px; }
    .desk { margin: 0 -16px; padding: 12px 16px; }
    .empty--split { display: flex; }
    .desks__inner .head { position: static; }
    .band__inner { grid-template-columns: 1fr; }
    .band__coin { width: 96px; height: 96px; }
    .band__coin img { width: 72px; height: 72px; }
    .band__ask .btn { width: 100%; }

    .footer-mark { font-size: calc((100vw - var(--gutter) * 2) / 5); white-space: normal; line-height: 1; }
    .footer-mark > span { display: block; }
    .places { font-size: min(6.4vw, 32px); }
    .stage__panel .btn { white-space: normal; text-align: left; }
    .site-footer__top { grid-template-columns: 1fr; gap: 48px; }
    .places, .site-footer__cols { grid-column: 1; }
    .newsletter { padding: 16px; }
    .signup { flex-wrap: wrap; padding: 8px; }
    .signup input[type="email"] { padding: 8px; flex-basis: 100%; }
    .signup .btn { width: 100%; }
    .site-footer__bottom p:first-child { flex-basis: 100%; }

    .page-head .display { font-size: 15vw; }
    .news-title, .title-row, .filter-bar, .related__head { flex-direction: column; align-items: flex-start; gap: 24px; }
    .stories .search { width: 100%; }
    .title-row, .news-title { padding-top: 32px; }
    .title-meta { width: 100%; }
    .contact-head, .news-head, .article-head { padding-bottom: 64px; }
    .contact-body { padding: 64px 0 96px; }
    .card { padding: 24px 16px; }
    .field-row { grid-template-columns: 1fr; }
    .submit-row { flex-direction: column; align-items: stretch; }
    .submit-row .btn { width: 100%; }
    .story-panel { padding: 32px var(--gutter) 48px; }
    .espees-form-wrap { padding: 48px var(--gutter) 64px; }
    .scale { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .feature { gap: 32px; }
    .feature__img { height: 280px; }
    .stories { padding: 64px 0 96px; }
    .tabs { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
    .tab { flex-shrink: 0; }
    .story-grid { grid-template-columns: 1fr; gap: 48px; }
    .story-col { gap: 48px; }
    .story-col--b { padding-top: 0; }
    .story__img, .story--lg .story__img { height: 240px; }
    .statement-row { grid-template-columns: 1fr; gap: 4px; }
    .article-hero img { height: 280px; }
    .article-body { padding: 64px 0 96px; }
    .prose p { font-size: 18px; }
    .pull { padding: 24px 16px; }
    .related__row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .cta-row .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-delay: 0ms !important; }
}
