/* The opening (docs/review/new-plan.md 2.1, A1–A3), restyled 16 Nov at the co-founder's ask ("the opening page of the
   old with the new sentence and purple colors, and the texture on the back ground", "less purple"): the old opening's
   cream paper (.surface-paper .paper: off-white with the shared grain, and the old .lit key light, below), deep type
   with Flick as the accent, the backing plate as a white card on the paper, the dotted globe inked as on paper.
   Every selector starts with #hero.

   Layout. Phones: the words and the plate first (A2: dateline, headline, supporting line and button on the first
   screen at 375 × 812 and 320 × 568), then the globe, which comes up under the plate as the page scrolls and pins
   centred between the top bar and the join bar. Desktop: the words on the left and the globe on the right, the plate
   as one row across the foot, all pinned from the top of the page.

   The pin. The globe's stage (.pin-stage, page.css's pattern) fills the whole screen under the bar and is sticky in a
   taller .pin track, so the lime ring round the visitor's city can open until its lavender inside fills the screen:
   the scene below starts on the same lavender (the hand-over, section.js). The stage is transparent and click-through;
   on phones its empty top overlaps the plate's foot (--c, below), so the globe peeks under the plate on the first
   screen and is centred in the room once it sticks, with no script moving it. Nothing follows the stage: the
   hero has no bottom padding under motion, so its last pixel is the stage's last pixel.

   Reduced motion: no pin, no hand-over, no entrance. The globe is drawn once, at the visitor's city with its city line
   set, and the hero ends on paper. Every size is in svh (never dvh), so the toolbar sliding never resizes the stage. */

#hero {
  --pad-top: 1.5rem;                                   /* bar to dateline (A2: 24) */
  --plate-gap: 1.5rem;                                 /* button to plate, plate to globe (A2: 24) */
  --plate-pad: 0.75rem;                                /* 12 on phones, 16 from 600 px: lighter than A3's 16 and 24 */
  --key-h: 0rem;                                       /* the key line was removed on 16 Nov */                                    /* the key line under the globe, with its gap */
  /* Phones: the room between the fixed top bar and the fixed join bar, the globe sized to fit it with its key, and
     --c, the globe's top inside the stage once the stage sticks, so that the globe is centred in the room. */
  --room: calc(var(--stage-h) - var(--stage-safe));
  --globe-h: min(114vw, 31rem, calc(var(--room) - var(--key-h) - 1rem));
  --c: max(0.5rem, calc((var(--room) - var(--globe-h) - var(--key-h)) / 2));
  position: relative; overflow: clip;
  padding-top: var(--bar-top);
  /* The old opening's key light (v1 base.css .paper.lit): soft white from the top left over the first screen, under
     the grain (.paper::before). Its faint deep shade low on the right is left out: the hero runs on under the pin, so
     the shade either ended in a hard line at the first screen's foot or sat in the middle of the globe's pin. The light
     is clear by 0.6 of its 70% radius, so it fades out well inside the first screen and needs no repeat stop. */
  background-image: radial-gradient(120% 70% at 8% -10%, rgb(255 255 255 / 0.95), transparent 60%);
  background-size: 100% 100svh; background-repeat: no-repeat;
}

/* ─── The words ─────────────────────────────────────────────────────────────────────────────────────────────── */
/* The tagline's measures in em, per language (17 Nov; Noto Sans 700 at its tracking, measured in Chrome, with a little
   room): --tag-half, its longer no-wrap half ("News that moves" 8.33em; "Notícias que se movem" 11.15em; Chinese is
   one 7em phrase); --tag-line, the whole line ("News that moves like you do" 13.79em; 16.52em; 7em). English keeps
   its sizes exactly. Portuguese and Chinese also fit the half to a phone's column, so a longer half never runs past
   the screen's edge. */
#hero { --tag-half: 8.6; --tag-line: 14; }
html:lang(pt) #hero { --tag-half: 11.45; --tag-line: 16.8; }
html:lang(zh) #hero { --tag-half: 7.2; --tag-line: 7.2; }
/* 18 Nov, measured the same way: "Noticias que se mueven" 11.43em, whole 15.61; "L’actu qui bouge" 7.77, 13.14;
   "News, die sich bewegen" 11.41, 14.82; "в твоём ритме" 7.23, 11.65. */
html:lang(es) #hero { --tag-half: 11.75; --tag-line: 15.9; }
html:lang(fr) #hero { --tag-half: 8.1; --tag-line: 13.4; }
html:lang(de) #hero { --tag-half: 11.7; --tag-line: 15.1; }
html:lang(ru) #hero { --tag-half: 7.5; --tag-line: 11.9; }
@media (max-width: 56.24rem) {
  html:not(:lang(en)) #hero .tagline { font-size: min(var(--t-h1), calc((100vw - 2 * var(--gutter)) / var(--tag-half))); }
}
#hero .lede { position: relative; z-index: 1; }
#hero .lede > .wrap { display: flex; flex-direction: column; gap: var(--plate-gap); padding-top: var(--pad-top); }
#hero .dateline { margin-bottom: 1rem; }
#hero .tagline { margin-bottom: 1rem; }
#hero .lead { margin-bottom: 1.25rem; max-width: 34rem; }
#hero .cta { display: flex; }
#hero .cta .btn { padding-inline: 1.75rem; }
/* The visitor's city (here.js wraps it in .mine, in the dateline and beside the globe's ring): a Flick underline. Lime
   would be the "for you" colour, but a lime mark on the cream is 1.1:1, so on this paper the city takes Flick. */
#hero { --mine-fg: currentColor; --mine-band: 0.125em; --mine-y: 100%; --mine-pad: 0 0 0.06em; }
#hero .mine { background-image: linear-gradient(var(--flick), var(--flick)); }
/* Deep type on the paper; "moves" is the line's one Flick word (purple as an accent). */
#hero .tagline .moves { color: var(--flick); }

/* The tagline's one-time entrance (brief rule 5's exception): the words rise in 70 ms apart, and "moves" slides in
   sideways, overshoots a few px and settles. Position and opacity only, all over in 1.2 s. The words are inline
   blocks so they can move; the spaces between them stay text, so the line breaks as it would. CSS alone, so it
   plays without the script, once per load; `backwards` holds each word hidden only until its turn. */
#hero .tagline .w { display: inline-block; }
#hero .tagline .ln { white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  #hero .tagline .w { animation: hero-rise 620ms cubic-bezier(0.2, 0.75, 0.25, 1) calc(80ms + var(--i) * 70ms) backwards; }
  #hero .tagline .moves { animation: hero-moves 980ms cubic-bezier(0.3, 0.7, 0.3, 1) 220ms backwards; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(0.38em); } }
@keyframes hero-moves {
  0% { opacity: 0; transform: translate(-0.18em, 0.38em); }   /* less than a word space: it never touches "that" */
  45% { opacity: 1; transform: translate(0.08em, 0); }
  70% { transform: translate(-0.03em, 0); }
  100% { transform: none; }
}

/* ─── The backing plate (A3): a white card with a hairline edge on the cream paper (off-white on off-white would
   vanish), 22 px corners, the five supplied files, unchanged, in Victor's order. It fades out as scrolling starts
   (section.js: opacity over the first 100 px, exact both ways; it stays under reduced motion). It is
   credentials, not a sponsors' slide, so it is kept light: tight padding, the smaller logo heights and only as wide as
   its logos (never the full column), with ISD always 80 px tall so "Division of Integrative Systems and Design" reads.
   Phones: EC and InnoBay share the first row (30 px, or less to fit at 320), ISD has its own row, then HKSTP and AWS.
   From 600 px: EC and InnoBay over HKSTP and AWS, with ISD beside them across both rows (80 px is the two rows' height),
   so the plate is one ISD tall. --ax is the width the plate may take; EC and InnoBay shrink together to fit it
   (EC is 3.357 times as wide as it is tall, InnoBay 4.923, ISD 2.765). */
#hero .plate {
  --gx: 0.75rem; --gy: 0.625rem;
  --ax: var(--wrap-w);
  display: grid; grid-template-areas: "ec innobay" "isd isd" "hkstp aws"; justify-content: start; justify-items: start; align-items: center;
  gap: var(--gy) var(--gx); align-self: flex-start;
  padding: var(--plate-pad); border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--rule);
}
#hero .plate li { display: block; }
#hero .plate img { width: auto; height: var(--h); max-width: none; }
#hero .plate .ec { grid-area: ec; }
#hero .plate .innobay { grid-area: innobay; }
#hero .plate .isd { grid-area: isd; --h: 80px; }
#hero .plate .hkstp { grid-area: hkstp; --h: 28px; }
#hero .plate .aws { grid-area: aws; --h: 24px; }
#hero .plate .ec, #hero .plate .innobay { --h: min(30px, calc((var(--ax) - 2 * var(--plate-pad) - var(--gx)) / 8.28)); }
@media (min-width: 37.5rem) {
  #hero { --plate-pad: 1rem; }
  #hero .plate { --gx: 1.5rem; --gy: 0.75rem; grid-template-areas: "ec innobay isd" "hkstp aws isd"; }
  #hero .plate .ec, #hero .plate .innobay { --h: min(36px, calc((var(--ax) - 2 * var(--plate-pad) - 2 * var(--gx) - 221.2px) / 8.28)); }
  #hero .plate .hkstp { --h: 30px; }
  #hero .plate .aws { --h: 26px; }
}

/* ─── "Near you today" (17 Nov): the visitor's city line, as the globe will set it, as type on the paper beside a
   Flick rule (the scene's story line in small), marked with the globe's lime ring round the city (lime with its deep
   edge, as on all light fields). The city in bold, the line, and "Illustrative" muted beside the label, so a one- or
   two-line city line never moves it. Hidden on phones (the globe sets the same line one screen later, and the first
   screen has no words to spare). Its box (.near) holds a label and two lines from the first paint; section.js fits
   each city's line into those two lines (stepping its size down to 15 px if it must), so nothing ever shifts. */
#hero .near { display: none; min-height: calc(1.3 * var(--t-label) + 0.5rem + 2 * 1.35 * 1.25rem); }
#hero .near-in { position: relative; padding-left: 1.125rem; }
#hero .near-in::before { content: ""; position: absolute; left: 0; top: 0.125rem; bottom: 0.25rem; width: 3px; border-radius: 3px; background: var(--flick); }
#hero .near-l { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.875rem; margin-bottom: 0.5rem; }
#hero .near-l .label { display: inline-flex; align-items: center; gap: 0.5rem; align-self: center; }
#hero .near-l .label::before {
  content: ""; flex: none; width: 0.875rem; height: 0.875rem; border-radius: 50%;
  border: 3px solid var(--lime); box-shadow: 0 0 0 1.5px var(--lime-edge), inset 0 0 0 1.5px var(--lime-edge);
}
#hero .near-t { font-size: 1.25rem; line-height: 1.35; color: var(--text); max-width: 30rem; text-wrap: pretty; }
#hero .near-t b { font-weight: 700; color: var(--head); }
@media (min-width: 48rem) { #hero .near { display: block; } }

/* ─── The scroll cue (17 Nov): a short Flick line with a lime dot running down it, and the words. No arrow (Victor
   dislikes them). The dot's run is the page's one small idle loop besides the globe's spin; it waits for the
   headline's entrance, stops once the cue has faded (section.js marks it data-gone) and is not run at all under
   reduced motion, where the dot rests at the line's top. Transform and opacity only. */
#hero .cue { display: flex; align-items: center; gap: 0.875rem; font-size: var(--t-small); line-height: 1.35; color: var(--muted); }
#hero .cue-line { position: relative; flex: none; width: 2px; height: 2.5rem; border-radius: 2px; background: var(--flick); }
#hero .cue-dot {
  position: absolute; left: -4px; top: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 1.5px var(--lime-edge);
}
@media (prefers-reduced-motion: no-preference) {
  #hero .cue-dot { animation: hero-cue 2.6s cubic-bezier(0.45, 0, 0.3, 1) 1.4s infinite both; }
  #hero .cue[data-gone] .cue-dot { animation: none; }
}
@keyframes hero-cue {
  0% { opacity: 0; transform: translateY(0); }
  14% { opacity: 1; }
  70% { opacity: 1; transform: translateY(calc(2.5rem - 10px)); }
  86%, 100% { opacity: 0; transform: translateY(calc(2.5rem - 10px)); }
}

/* ─── The globe ─────────────────────────────────────────────────────────────────────────────────────────────── */
#hero .pin { position: relative; z-index: 2; pointer-events: none; margin-top: var(--plate-gap); }
#hero .world > .wrap { padding-top: 0; }
#hero .globe-fig { margin: 0 calc(-1 * var(--gutter)); }
#hero .globe { position: relative; height: var(--globe-h); }
/* Its own layer, so a redraw never repaints anything round it; the box is its own layer too, for the dive. */
#hero .globe { will-change: transform; }
#hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#hero .tags { position: absolute; inset: 0; pointer-events: none; }

/* The key: a filled dot for the feed's stories, a hollow ring for the eight São Paulo stories added by hand, drawn as
   the globe draws them facing the visitor (the ring a size up, section.js HAND_MAX). 15 px, the small size: it is read,
   not a source line. */
#hero .key { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; margin-top: 0.75rem; padding-inline: var(--gutter); font-size: var(--t-small); line-height: 1.4; color: var(--muted); }
#hero .key .k { display: inline-flex; align-items: center; gap: 0.5rem; }
#hero .key .k::before { content: ""; flex: none; border-radius: 50%; }
#hero .key .fill::before { width: 0.5625rem; height: 0.5625rem; background: var(--flick); }
#hero .key .hollow::before { width: 0.8125rem; height: 0.8125rem; box-shadow: inset 0 0 0 2px var(--flick); }

/* The one line set on the globe (16 Nov): the city in bold, the team's line for it, then a small muted "Illustrative"
   (base.css .illustrative), in ink on the paper. No outlet, no date. Placed by section.js; scrubbed in by scroll as the
   globe stops (section.js writes the line's wipe and the label's opacity). */
/* Never transitioned: section.js measures them as it sets them. (base.css's reduced-motion rule gives every element a
   1 ms transition, and transition-property defaults to all, so a width set and read back would still read the old.) */
#hero .tag { position: absolute; left: 0; top: 0; visibility: hidden; transition-property: none; }
/* 11rem on phones: every line sets in three lines or fewer. */
#hero .tag.line { display: flex; flex-direction: column; gap: 0.2rem; width: max-content; max-width: 11rem; }
#hero .tag .cl { font-size: 1rem; line-height: 1.2; color: var(--text); text-wrap: balance; }
#hero .tag .cl b { font-weight: 700; color: var(--head); }
#hero .tag.ring svg { display: block; overflow: visible; transform: rotate(-90deg); }
#hero .tag.ring circle { fill: none; stroke: var(--flick); stroke-width: 1.5; stroke-dasharray: 100; }
/* The visitor's city beside its lime ring, underlined in Flick like the dateline's (#hero .mine, above). */
#hero .tag.me { font-size: var(--t-small); font-weight: 600; line-height: 1.25; color: var(--text); white-space: nowrap; }

/* The lime ring round the visitor's city, and the hand-over: the ring grows (section.js) and opens onto the scene (or,
   where the scene is unpinned, its lavender inside fills the stage and runs past its foot to the hero's clipped end).
   On paper lime needs its deep edge (tokens.css --lime-edge): a 6 px deep circle under the 3 px lime one, so 1.5 px of
   deep shows each side (--edge). The lavender fill is on the edge circle, under both strokes. */
#hero .portal { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% + 40svh); overflow: visible; pointer-events: none; will-change: transform; }
#hero .portal circle { fill: none; stroke-dasharray: 100; stroke-dashoffset: 100; pointer-events: visiblePainted; }
#hero .portal .edge { fill: var(--lavender); fill-opacity: 0; stroke: var(--lime-edge); stroke-width: 6; }
#hero .portal .ring { stroke: var(--lime); stroke-width: 3; }

@media (min-width: 56.25rem) {
  #hero .tag.line { max-width: 13.5rem; }
  #hero .tag .cl { font-size: 1.125rem; }
}

/* ─── Motion: the pin and the hand-over ───────────────────────────────────────────────────────────────────────
   --pin is the scroll the stage holds still for (section.js reads it back from the DOM): the turn and zoom end at 40%
   of it, the city line set by 47%, the ring opens from 72% and has filled the screen by 93%. */
@media (prefers-reduced-motion: no-preference) {
  #hero .pin { --pin: 75svh; margin-top: calc(var(--plate-gap) - var(--c)); }
  #hero .world { overflow: visible; overflow-x: clip; }          /* the disc may run past the stage's foot */
  #hero .world > .wrap { padding-top: var(--c); }
}
@media (prefers-reduced-motion: reduce) {
  #hero { padding-bottom: 2.5rem; }
  /* The still keeps the lime ring round the city (the portal at its first size, never filled): the stage is static
     here, so it is made the portal's box. */
  #hero .world { position: relative; }
  #hero .portal { height: 100%; }
}
/* Reduced motion on phones and tablets: the still globe already carries its city line, which in motion prints in
   only after the words have scrolled away. So the words and the plate fill the first screen, and the globe has the
   next screen to itself, the key line first and the zoomed globe filling the rest. With the key at the top, the
   opening ends on dots, not words, so it cuts straight to the scene's first still (no lavender lead-in) and no screen
   holds the globe's line and the scene's first clipping together. */
@media (prefers-reduced-motion: reduce) and (max-width: 56.24rem) {
  #hero .lede { min-height: 100svh; }
  #hero { --globe-h: calc(var(--room) - var(--key-h)); }
  #hero .globe-fig { display: flex; flex-direction: column-reverse; }
  #hero .key { margin: 0 0 0.75rem; }
}

/* ─── Desktop: words left, globe right, the plate at the foot; the words and the globe are pinned together. ─────
   900–1199 px: the words beside the globe, the tagline on two balanced lines ("News that moves / like you do", 8.33 em
   for the longer), sized to fit the words' column. From 1200 px: the tagline on one line (13.79 em) across the whole
   content width, the supporting line and the button under it on the left with the plate at the foot, and the globe on
   the right from under the tagline to the foot, as tall as before. --band is the dateline and the tagline with their
   gaps: the globe's stage is a separate grid, and starts below that band. */
@media (min-width: 56.25rem) {
  #hero {
    --plate-h: calc(80px + 2 * var(--plate-pad));     /* the plate is one ISD tall (80 px) */
    --col1: calc((var(--wrap-w) - 3rem) * 6 / 11);    /* the words' column */
    /* The tagline is sized from 100vw, not --wrap-w: site.js rewrites --page-w after load (a classic scrollbar), and the
       words must not move after first paint. 100vw is up to a scrollbar wider than the page; the divisors (8.6 for
       8.33 em, 14 for 13.79 em) leave that room. */
    --wrap-vw: calc(min(100vw, var(--max)) - 2 * var(--gutter));
    --tag-max: var(--t-h1);
    --tag-fs: min(var(--tag-max), calc((var(--wrap-vw) - 3rem) * 6 / 11 / var(--tag-half)));
  }
  #hero .tagline { font-size: var(--tag-fs); }
  #hero .lede { height: var(--stage-h); }
  #hero .lede > .wrap, #hero .world > .wrap {
    height: 100%; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 3rem;
    padding-block: var(--pad-top) 2rem;
  }
  /* The words' column, top to bottom: the words, "Near you today", the plate, room, and the cue on the column's foot. */
  #hero .lede > .wrap { grid-template-rows: auto auto auto minmax(0, 1fr) auto; row-gap: 2rem; }
  #hero .world > .wrap { grid-template-rows: minmax(0, 1fr); row-gap: 0; }
  #hero .words { grid-area: 1 / 1; align-self: start; }
  #hero .near { grid-area: 2 / 1; }
  #hero .plate { --ax: var(--col1); grid-area: 3 / 1; justify-self: start; align-self: start; max-width: 100%; }
  #hero .cue { grid-area: 5 / 1; align-self: end; }

  #hero .pin { margin-top: calc(-1 * var(--stage-h)); }
  #hero .world { height: var(--stage-h); }
  #hero .world > .wrap { padding-top: var(--pad-top); }
  /* Clipped, so the dive (the hand-over's zoom, section.js) stays in the globe's own column and never runs over the
     words or the plate; the lime ring opens from the stage, outside this clip. */
  #hero .globe-fig { grid-area: 1 / 2 / 2 / 3; display: flex; flex-direction: column; min-height: 0; margin: 0 calc(-1 * var(--gutter)) 0 0; overflow: clip; }
  #hero .globe { flex: 1; height: auto; min-height: 0; }
  #hero .key { padding-inline: 0; }
}
@media (min-width: 56.25rem) and (prefers-reduced-motion: no-preference) {
  #hero .pin { --pin: 90svh; margin-top: calc(-1 * var(--stage-h)); }
  #hero .lede { position: sticky; top: var(--bar-top); }
  #hero .world > .wrap { padding-top: var(--pad-top); }
}
@media (min-width: 56.25rem) and (prefers-reduced-motion: reduce) {
  #hero { padding-bottom: 0; }
}
/* From 1200 px: "News that moves like you do" on one line, the globe from under it to the foot (above). */
@media (min-width: 75rem) {
  #hero {
    --tag-fs: min(var(--tag-max), calc(var(--wrap-vw) / var(--tag-line)));
    /* The dateline (one line here, 1.4 × 15 px, and 1rem under it) and the tagline (one line, and 1rem under it). */
    --band: calc(1.4 * var(--t-small) + 1rem + var(--lh-h1) * var(--tag-fs) + 1rem);
  }
  #hero .dateline { min-height: 1.4em; }               /* one line across the full width (base.css holds two at 1200) */
  #hero .tagline { white-space: nowrap; }
  #hero .words { grid-area: 1 / 1 / 2 / 3; align-self: start; }
  #hero .world > .wrap { padding-top: calc(var(--pad-top) + var(--band)); }
}
/* Short laptop windows: the headline steps down so the words clear the plate. */
@media (min-width: 56.25rem) and (max-height: 50rem) {
  #hero { --tag-max: min(var(--t-h1), 9.6svh); }
  #hero .lead { font-size: min(var(--t-lead), 2.9svh); }
}
/* Laptops (900–1199 px): the words' column is too narrow for the plate in two rows, so it stacks as on phones
   (EC and InnoBay, then ISD, then HKSTP and AWS), every mark at a readable size. */
@media (min-width: 56.25rem) and (max-width: 74.99rem) {
  #hero .lede > .wrap { row-gap: 1.5rem; }
  #hero .plate { --gx: 1rem; --gy: 0.625rem; grid-template-areas: "ec innobay" "isd isd" "hkstp aws"; }
  #hero .plate .ec, #hero .plate .innobay { --h: min(32px, calc((var(--ax) - 2 * var(--plate-pad) - var(--gx)) / 8.28)); }
}
/* Big screens with height to spare (17 Nov, co-founder: empty band under the plate): the left column scales up to
   fill the height beside the globe: a larger supporting line and button, more air, and a larger plate (ISD 112 px,
   the other marks in proportion; Victor's artwork unchanged, only scaled). */
@media (min-width: 75rem) and (min-height: 50rem) {
  #hero { --plate-pad: 1.5rem; --plate-h: calc(112px + 2 * var(--plate-pad)); }
  #hero .lead { font-size: clamp(1.5rem, 0.9rem + 0.8vw, 1.875rem); line-height: 1.35; max-width: 40rem; margin-bottom: 2.25rem; }
  #hero .cta .btn { font-size: 1.125rem; min-height: 3.5rem; padding-inline: 2.25rem; }
  #hero .plate { --gx: 2rem; --gy: 1rem; }
  #hero .plate .isd { --h: 112px; }
  #hero .plate .hkstp { --h: 40px; }
  #hero .plate .aws { --h: 34px; }
  #hero .plate .ec, #hero .plate .innobay { --h: min(48px, calc((var(--ax) - 2 * var(--plate-pad) - 2 * var(--gx) - 309.7px) / 8.28)); }
  /* "Near you today" a step up, in one line where the column allows (its box holds two at this size). */
  #hero .near { min-height: calc(1.3 * var(--t-label) + 0.5rem + 2 * 1.35 * 1.375rem); }
  #hero .near-t { font-size: 1.375rem; max-width: 40rem; }
}
/* …and the room left under the words is shared out evenly: "Near you today", the plate and the cue spaced down the
   column (17 Nov, the co-founder: "so this not so empty"), the cue on the column's foot. */
@media (min-width: 75rem) and (min-height: 50rem) {
  #hero .lede > .wrap { grid-template-rows: auto minmax(2rem, 1fr) auto minmax(2rem, 1fr) auto minmax(2rem, 1fr) auto; row-gap: 0; }
  #hero .near { grid-area: 3 / 1; }
  #hero .plate { grid-area: 5 / 1; align-self: center; }
  #hero .cue { grid-area: 7 / 1; }
}
/* Reduced motion on desktop: the still globe already sets the same city line on the same screen, so the card stands
   down there. */
@media (min-width: 56.25rem) and (prefers-reduced-motion: reduce) { #hero .near { display: none; } }
/* Laptops (900–1199 px), where the stacked plate is tall: on a short window the cue stands down first (under 900 px
   of height), then the card (under 740), so the words' column always fits its screen. */
@media (min-width: 56.25rem) and (max-width: 74.99rem) and (max-height: 56.24rem) { #hero .cue { display: none; } }
@media (min-width: 56.25rem) and (max-width: 74.99rem) and (max-height: 46.24rem) { #hero .near { display: none; } }
/* ─── "Near you" (17 Nov, the co-founder: fade the button, "add the details of the new … to full the space"): desktop
   with motion only. As the globe lands, the visitor's story prints in where the opening's button was (the button has
   faded as the zoom began; the bar keeps its own). Out of flow (absolute in the words' column, from the button's top
   to the column's foot), hidden until it prints, so it moves nothing. section.js sets --np-top, fits the title into
   the room (--np-fs) and picks how many words the front slip carries (data-words) so the screen stays at 40. A Flick
   kicker with the globe's lime ring as its mark, the title in the display face, the count line, three slips fanned
   (the scene's clipping: paper, a hard deep shadow, plus a hairline edge, as paper on the paper field would vanish),
   and "Illustrative example". It leaves with the words as the ring opens (section.js ringFrame). */
#hero .np { display: none; }
@media (min-width: 56.25rem) and (prefers-reduced-motion: no-preference) {
  #hero .lede > .wrap { position: relative; }
  #hero .np {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: max(var(--gutter), env(safe-area-inset-left)); top: var(--np-top, 100%); bottom: 2rem;
    width: var(--col1); visibility: hidden; pointer-events: none;
  }
}
#hero .np > *, #hero .np-slip { transition-property: none; }
#hero .np-k { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--flick); }
#hero .np-k::before {
  content: ""; flex: none; width: 0.875rem; height: 0.875rem; border-radius: 50%;
  border: 3px solid var(--lime); box-shadow: 0 0 0 1.5px var(--lime-edge), inset 0 0 0 1.5px var(--lime-edge);
}
#hero .np-t {
  margin: 0.75rem 0 1.75rem; max-width: 38rem;
  font-family: var(--font-head); font-weight: 700; font-size: var(--np-fs, clamp(1.875rem, 0.5rem + 2.4vw, 3rem));
  line-height: 1.14; letter-spacing: -0.012em; color: var(--head); text-wrap: balance;
}
#hero .np-n { margin-bottom: 1rem; font-size: var(--t-small); line-height: 1.35; color: var(--text); }
#hero .np-stack { display: grid; width: min(100%, 19rem); margin: 0.25rem 0 2rem 0.375rem; }
#hero .np-slip {
  grid-area: 1 / 1; display: flex; flex-direction: column; gap: 0.375rem; min-height: 6.75rem;
  padding: 0.75rem 0.875rem 0.875rem; border-radius: 3px; transform-origin: 30% 100%;
  box-shadow: inset 0 0 0 1px var(--rule), 2px 3px 0 rgb(50 9 101 / 0.22);
}
#hero .np-slip .byline { font-size: var(--t-tiny); }
#hero .np-slip .take-hl { font-size: 1.125rem; }
/* The words the front slip carries (section.js, from the 40-word count): 2 its masthead and headline, 1 the masthead,
   0 none; -1 also leaves out the count line. */
#hero .np[data-words="1"] .np-h, #hero .np:is([data-words="0"], [data-words="-1"]) .np-top > * { display: none; }
/* Without its headline, the front slip is plain paper under its masthead: one hairline, no grey "text" bars (those
   read as a loading skeleton, app UI; 17 Nov). */
#hero .np:not([data-words="2"]) .np-top::after {
  content: ""; display: block; height: 2.5rem; margin-top: 0.25rem;
  background: linear-gradient(rgb(20 6 31 / 0.5), rgb(20 6 31 / 0.5)) 0 0 / 100% 1px no-repeat;
}
#hero .np[data-words="-1"] .np-n { display: none; }
#hero .np[data-stack="off"] .np-stack { display: none; }

/* Chinese: the supporting line in even lines (it otherwise leaves two characters on a line of their own). */
html:lang(zh) #hero .lead { text-wrap: balance; }
