/* Kashmir Almanac — design system.
   Type: Newsreader (reading + display, optical sizes) and Schibsted Grotesk (interface).
   Colour: deodar green, kahwa gold, paper white; every colour is a token with a dark twin. */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/newsreader-normal-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: "Newsreader"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/newsreader-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20B8, U+20BA-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("/fonts/newsreader-italic-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: "Newsreader"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("/fonts/newsreader-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20B8, U+20BA-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/schibstedgrotesk-normal-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: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/schibstedgrotesk-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20B8, U+20BA-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* The rupee sign alone, so fare pages don't download the whole latin-ext face for one character. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/newsreader-normal-rupee.woff2") format("woff2"); unicode-range: U+20B9; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("/fonts/newsreader-italic-rupee.woff2") format("woff2"); unicode-range: U+20B9; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/schibstedgrotesk-normal-rupee.woff2") format("woff2"); unicode-range: U+20B9; }
/* The logo word and the gold counters only: a 11 KB italic face, so most pages never load the full italic (107 KB).
   U+2002 stays in the range because the counters use an en space; leaving it out pulls in the full face. */
@font-face { font-family: "Newsreader Mark"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("/fonts/newsreader-italic-mark.woff2") format("woff2"); unicode-range: U+0020, U+0030-0039, U+0041, U+0061, U+0063, U+006C-006E, U+2002; }

:root {
  --paper: #ffffff;
  --paper-2: #f5f6f2;
  --paper-3: #eceee8;
  --ink: #15201d;
  --ink-2: #33413d;
  --muted: #5d6a66;
  --line: #e3e6e0;
  --line-2: #c9d0ca;
  --brand: #1f4d45;
  --brand-ink: #163a34;
  --brand-soft: #e6efea;
  --on-brand: #ffffff;
  --link: #1d5a50;
  --gold: #b08a3a;
  --gold-ink: #7a5c1a;
  --gold-soft: #f7f0e1;
  --open: #17734a;
  --open-bg: #e4f2e9;
  --closed: #b42318;
  --closed-bg: #fcebe8;
  --note: #8a5b07;
  --note-bg: #faf2df;
  --band: #173c36;
  --band-2: #1f4d45;
  --on-band: #f3f6f4;
  --on-band-2: #c3d5cd;
  --seal-bg: #1f4d45;
  --seal-fg: #d4af5a;
  --header-bg: rgb(255 255 255 / 0.9);
  --shadow-1: 0 1px 2px rgb(16 26 23 / 0.06), 0 4px 16px rgb(16 26 23 / 0.06);
  --shadow-2: 0 2px 6px rgb(16 26 23 / 0.08), 0 22px 48px rgb(16 26 23 / 0.12);
  --focus: #c6973a;
  --c-temp: #b07a26;
  --c-rain: #2b7fbf;
  --c-a: #eb6834;
  --c-b: #1baf7a;
  --c-c: #2a78d6;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-body: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);
  --gutter: 20px;
  --measure: 680px;
  --frame: 968px;
  --wide: 1160px;
  --r: 12px;
  --r-lg: 18px;
  color-scheme: light;
}
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1513; --paper-2: #151d1a; --paper-3: #1c2623; --ink: #e9efec; --ink-2: #c6d1cc; --muted: #95a49e;
    --line: #26312d; --line-2: #36443f; --brand: #8fcdb8; --brand-ink: #abdccb; --brand-soft: #173029; --on-brand: #0f1513;
    --link: #9fd6c3; --gold: #d6b46a; --gold-ink: #e2c483; --gold-soft: #2a2415;
    --open: #74d3a0; --open-bg: #12291e; --closed: #ff8f84; --closed-bg: #3a1714; --note: #f0c56e; --note-bg: #2d2411;
    --band: #1a3a32; --band-2: #183029; --on-band: #eef3f0; --on-band-2: #b6c9c1; --seal-bg: #24574e; --seal-fg: #d7b46a;
    --header-bg: rgb(15 21 19 / 0.88); --c-temp: #bf8a30; --c-rain: #4b8fd2; --c-a: #d95926; --c-b: #199e70; --c-c: #3987e5;
    --shadow-1: 0 1px 2px rgb(0 0 0 / 0.3), 0 4px 16px rgb(0 0 0 / 0.25);
    --shadow-2: 0 2px 6px rgb(0 0 0 / 0.35), 0 22px 48px rgb(0 0 0 / 0.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1513; --paper-2: #151d1a; --paper-3: #1c2623; --ink: #e9efec; --ink-2: #c6d1cc; --muted: #95a49e;
  --line: #26312d; --line-2: #36443f; --brand: #8fcdb8; --brand-ink: #abdccb; --brand-soft: #173029; --on-brand: #0f1513;
  --link: #9fd6c3; --gold: #d6b46a; --gold-ink: #e2c483; --gold-soft: #2a2415;
  --open: #74d3a0; --open-bg: #12291e; --closed: #ff8f84; --closed-bg: #3a1714; --note: #f0c56e; --note-bg: #2d2411;
  --band: #1a3a32; --band-2: #183029; --on-band: #eef3f0; --on-band-2: #b6c9c1; --seal-bg: #24574e; --seal-fg: #d7b46a;
  --header-bg: rgb(15 21 19 / 0.88); --c-temp: #bf8a30; --c-rain: #4b8fd2; --c-a: #d95926; --c-b: #199e70; --c-c: #3987e5;
  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.3), 0 4px 16px rgb(0 0 0 / 0.25);
  --shadow-2: 0 2px 6px rgb(0 0 0 / 0.35), 0 22px 48px rgb(0 0 0 / 0.4);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--fs-body)/1.7 var(--serif);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-kerning: normal; overflow-wrap: break-word;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--paper); z-index: 30; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--link); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; font: 600 15px var(--sans); }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.kicker { margin: 0; font: 600 0.75rem/1.2 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-ink); }
.fine { font: 400 0.8125rem/1.5 var(--sans); color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0 1.3rem; border-radius: 10px; border: 1px solid transparent;
  font: 600 0.9375rem/1 var(--sans); letter-spacing: 0.005em; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-light { background: #ffffff; color: #15201d; }
.btn-light:hover { background: #eef2ef; }
.btn-glass { background: rgb(255 255 255 / 0.1); color: #ffffff; border-color: rgb(255 255 255 / 0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgb(255 255 255 / 0.2); }
.btn-sm { min-height: 40px; padding: 0 0.95rem; font-size: 0.875rem; border-radius: 9px; }
.nw { white-space: nowrap; }
.textlink { font: 600 0.9375rem/1.4 var(--sans); color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.play-badge { display: inline-block; line-height: 0; border-radius: 9px; }
.play-badge img { height: 66px; width: auto; margin: -10px -9px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); background: var(--header-bg); -webkit-backdrop-filter: saturate(1.5) blur(12px); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 10px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); text-decoration: none; }
.logo .seal { width: 36px; height: 36px; flex: none; }
.logo-t { display: flex; flex-direction: column; line-height: 1; }
.logo-k { font: 600 9.5px/1 var(--sans); letter-spacing: 0.27em; text-transform: uppercase; margin: 0 0 3px 1px; }
.logo-a { font: italic 600 25px/0.95 var(--serif); letter-spacing: -0.012em; }
.seal-bg { fill: var(--seal-bg); }
.seal-fg { fill: var(--seal-fg); }
.seal-vein { stroke: var(--seal-bg); }
.nav-desk { display: none; }
.nav-desk a { padding: 8px 11px; border-radius: 8px; color: var(--ink-2); font: 500 0.9375rem/1 var(--sans); text-decoration: none; }
.nav-desk a:hover { background: var(--paper-2); color: var(--ink); }
.nav-desk a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.hdr-app .s { display: none; }
@media (max-width: 379px) { .hdr-app .l { display: none; } .hdr-app .s { display: inline; } .hdr-app { padding: 0 0.8rem; } .logo .seal { width: 32px; height: 32px; } .logo-a { font-size: 23px; } .hdr-in { gap: 6px; } }
.nav-mob > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.nav-mob > summary::-webkit-details-marker { display: none; }
.nav-mob > summary:hover { background: var(--paper-2); }
.nav-mob > summary svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; }
.nav-mob .i-close { display: none; }
.nav-mob[open] .i-close { display: block; }
.nav-mob[open] .i-menu { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 64px); height: calc(100dvh - 64px - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border-top: 1px solid var(--line); padding: 6px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); }
html:has(.nav-mob[open]) { overflow: hidden; }
.hdr:has(.nav-mob[open]) { background: var(--paper); }
.menu-search { display: none; align-items: center; gap: 12px; width: 100%; min-height: 52px; margin: 12px 0 6px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper-2); color: var(--muted); font: 500 1rem/1 var(--sans); text-align: left; cursor: pointer; }
.js .menu-search { display: flex; }
.menu-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.menu-cols { display: grid; gap: 0 32px; }
@media (min-width: 480px) { .menu-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.menu-panel .kicker { margin: 24px 0 4px; }
.menu-panel a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 500 1.25rem/1.25 var(--serif); letter-spacing: -0.005em; text-decoration: none; }
.menu-panel a:not(.btn):hover { color: var(--link); }
.menu-panel .btn { width: 100%; margin-top: 28px; }
.menu-toc ol { list-style: none; margin: 0; padding: 0; }
.menu-panel .menu-toc a:not(.btn) { padding: 11px 0; font: 500 1rem/1.35 var(--sans); color: var(--ink-2); }
@media (min-width: 1100px) { .menu-toc { display: none; } }
@media (min-width: 1040px) {
  .nav-desk { display: flex; gap: 2px; margin-right: 8px; }
  .nav-mob { display: none; }
  .hdr-in { gap: 14px; }
}

/* ---------- home hero ---------- */
.home-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(540px, 86svh, 780px); color: #ffffff; background: #22302c; }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; z-index: -2; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(8 15 13 / 0.3) 0%, rgb(8 15 13 / 0.34) 24%, rgb(8 15 13 / 0.6) 46%, rgb(8 15 13 / 0.82) 70%, rgb(8 15 13 / 0.92) 100%); }
@media (min-width: 900px) { .home-hero::after { background: linear-gradient(90deg, rgb(8 15 13 / 0.62) 0%, rgb(8 15 13 / 0.35) 42%, rgb(8 15 13 / 0) 68%), linear-gradient(180deg, rgb(8 15 13 / 0.25) 0%, rgb(8 15 13 / 0) 24%, rgb(8 15 13 / 0.15) 50%, rgb(8 15 13 / 0.75) 100%); } }
.home-hero-in { padding-block: 120px 36px; }
.home-hero .kicker { color: #f0dba6; }
.home-hero .kicker, .home-hero h1, .home-hero .dek { text-shadow: 0 1px 2px rgb(0 0 0 / 0.25), 0 2px 28px rgb(0 0 0 / 0.3); }
.home-hero h1 { margin: 14px 0 0; max-width: 15ch; color: #ffffff; font: 500 clamp(2.45rem, 1.55rem + 4.1vw, 4.75rem)/1.02 var(--serif); letter-spacing: -0.022em; }
.home-hero .dek { margin: 18px 0 0; max-width: 44ch; color: rgb(255 255 255 / 0.9); font: 400 clamp(1.08rem, 1rem + 0.45vw, 1.32rem)/1.55 var(--serif); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-credit { margin: 30px 0 0; color: rgb(255 255 255 / 0.66); font: 400 12px/1.4 var(--sans); }
.hero-credit a { color: inherit; }

/* ---------- checks band ---------- */
.checks { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.checks-in { display: grid; padding-block: 8px; }
.checks-h { display: flex; align-items: center; gap: 10px; padding: 14px 0 6px; }
.checks-h .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--open); box-shadow: 0 0 0 4px var(--open-bg); }
.check { display: grid; gap: 3px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.checks-h + .check { border-top: 0; }
.check-d { font: 600 0.72rem/1.5 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.check-t { font: 500 0.96rem/1.5 var(--sans); color: var(--ink); }
.check:hover .check-t { color: var(--link); text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 960px) {
  .checks-in { grid-template-columns: 150px repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 22px; align-items: start; }
  .checks-h { padding: 2px 0 0; }
  .check { border-top: 0; padding: 0; }
}

/* ---------- home sections ---------- */
.sec { padding-block: clamp(56px, 4rem + 3vw, 104px); }
.sec-tint { background: var(--paper-2); }
.sec-h { display: grid; gap: 10px; max-width: 720px; margin-bottom: clamp(26px, 1.5rem + 1vw, 40px); }
.sec-h h2 { margin: 0; font: 500 clamp(1.95rem, 1.45rem + 2vw, 3rem)/1.08 var(--serif); letter-spacing: -0.018em; }
.sec-h p:not(.kicker) { margin: 4px 0 0; color: var(--ink-2); font-size: 1.06em; line-height: 1.6; }

.dest-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.dest { position: relative; isolation: isolate; display: block; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; color: #ffffff; text-decoration: none; background: #22302c; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(8 15 13 / 0) 38%, rgb(8 15 13 / 0.8) 100%); }
.dest-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 20px; display: grid; gap: 5px; }
.dest-name { font: 500 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.05 var(--serif); letter-spacing: -0.012em; }
.dest-meta { font: 500 0.84rem/1.4 var(--sans); color: rgb(255 255 255 / 0.9); }
.dest-st { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgb(0 0 0 / 0.55); color: #ffffff; font: 600 0.78rem/1.3 var(--sans); }
.dest-st svg { width: 14px; height: 14px; fill: #ffd27a; }
.dest:hover img { transform: scale(1.04); }
.dest-note { margin: 16px 0 0; }
@media (min-width: 640px) { .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dest:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 21 / 9; } }
@media (min-width: 1000px) {
  .dest-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .dest:nth-child(-n + 2) { grid-column: span 3; aspect-ratio: 16 / 10; }
  .dest:nth-child(n + 3), .dest:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 4 / 5; }
}

.season-cards { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.scard { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); text-decoration: none; color: inherit; box-shadow: var(--shadow-1); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.scard:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.scard img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.scard-in { display: grid; gap: 6px; align-content: start; padding: 16px 18px 20px; }
.scard-m { font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); }
.scard-t { font: 600 1.35rem/1.2 var(--serif); color: var(--ink); }
.scard-p { margin-top: 2px; font: 400 0.94rem/1.55 var(--sans); color: var(--ink-2); }
.scard-img { display: block; overflow: hidden; }
.scard-img img { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.scard:hover .scard-img img { transform: scale(1.04); }
@media (min-width: 640px) { .season-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .season-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.index { display: grid; gap: 34px 40px; grid-template-columns: minmax(0, 1fr); }
.index-col { display: grid; gap: 34px; align-content: start; }
.index-group h3 { margin: 0; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font: 600 0.75rem/1.2 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; }
.index-group ul { list-style: none; margin: 0; padding: 0; }
.index-group li a { display: grid; gap: 3px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.ix-t { font: 600 1.1rem/1.3 var(--serif); color: var(--ink); }
.ix-d { font: 400 0.88rem/1.5 var(--sans); color: var(--muted); }
.index-group li a:hover .ix-t { color: var(--link); }
@media (min-width: 900px) { .index { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 48px; } }

.method { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.method-i { border-top: 1px solid var(--line-2); padding-top: 18px; }
.method-n { font: italic 500 2.1rem/1 var(--serif); color: var(--gold); }
.method-i h3 { margin: 12px 0 6px; font: 600 1.3rem/1.25 var(--serif); }
.method-i p { margin: 0; color: var(--ink-2); font: 400 0.98rem/1.6 var(--sans); }
.method-more { margin-top: 30px; }
@media (min-width: 820px) { .method { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; } }

/* ---------- app band (home) ---------- */
.app-band { background: var(--band); color: var(--on-band); overflow: hidden; }
.app-band-in { display: grid; gap: 40px; padding-top: clamp(56px, 4rem + 3vw, 104px); }
.app-band .kicker { color: var(--seal-fg); }
.app-band h2 { margin: 12px 0 0; max-width: 17ch; color: #ffffff; font: 500 clamp(1.95rem, 1.45rem + 2vw, 3rem)/1.08 var(--serif); letter-spacing: -0.018em; }
.app-band-copy > p { margin: 16px 0 0; max-width: 46ch; color: var(--on-band-2); font: 400 1.04rem/1.6 var(--sans); }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; font: 400 0.98rem/1.5 var(--sans); }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.ticks svg { width: 18px; height: 18px; margin-top: 2px; fill: var(--seal-fg); }
.app-band .ticks { color: var(--on-band); }
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.store-row .textlink { color: #ffffff; }
html[data-os=ios] .store-row { flex-direction: column-reverse; align-items: flex-start; }
.a2hs { margin-top: 18px; color: var(--on-band); font: 400 0.92rem/1.5 var(--sans); }
.a2hs summary { cursor: pointer; color: #ffffff; font-weight: 600; }
.a2hs ol { margin: 10px 0 0; padding-left: 1.3em; display: grid; gap: 6px; }
.a2hs a { color: #ffffff; }
.a2hs .fine { margin: 10px 0 0; color: var(--on-band-2); }
.app-band .fine { margin: 16px 0 0; color: var(--on-band-2); }
.app-band-phones { display: flex; justify-content: center; align-items: flex-end; gap: 18px; min-width: 0; }
.phone { position: relative; flex: none; width: min(244px, 62vw); aspect-ratio: 9 / 15.5; border-radius: 34px 34px 0 0; border: 9px solid #0a1210; border-bottom: 0; background: #0a1210; overflow: hidden; box-shadow: 0 30px 60px rgb(0 0 0 / 0.35); }
.phone img { display: block; width: 100%; height: auto; border-radius: 25px 25px 0 0; }
.phone-2 { display: none; }
@media (min-width: 560px) { .phone-2 { display: block; width: min(212px, 40vw); aspect-ratio: 9 / 13.4; } }
@media (min-width: 960px) {
  .app-band-in { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 56px; align-items: end; }
  .app-band-copy { padding-bottom: clamp(56px, 4rem + 3vw, 104px); }
}

/* ---------- article head ---------- */
.post-head { padding-block: 22px 26px; }
.post-head.wide .wrap { max-width: calc(var(--wide) + 2 * var(--gutter)) !important; }
.head-in { max-width: var(--measure); margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 22px; font: 500 0.82rem/1.4 var(--sans); color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--line-2); }
.post-head h1 { margin: 12px 0 0; max-width: 22ch; font: 500 clamp(2.1rem, 1.5rem + 2.7vw, 3.6rem)/1.06 var(--serif); letter-spacing: -0.022em; }
.dek { margin: 16px 0 0; max-width: 44ch; color: var(--ink-2); font: 400 clamp(1.13rem, 1.04rem + 0.45vw, 1.36rem)/1.5 var(--serif); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; font: 500 0.875rem/1.45 var(--sans); color: var(--muted); }
.byline img { width: 42px; height: 42px; flex: none; border-radius: 50%; object-fit: cover; background: var(--paper-3); }
.byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.byline a:hover { text-decoration: underline; }
.byline .sep { padding: 0 3px; color: var(--line-2); }
.checked { display: inline-flex; align-items: center; gap: 5px; color: var(--open); font-weight: 600; }
.checked svg { width: 15px; height: 15px; fill: currentColor; }

.post-hero { margin: 0 auto; max-width: calc(var(--wide) + 2 * var(--gutter)); }
.post-hero img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper-3); }
.post-hero figcaption, .fig figcaption { margin-top: 10px; font: 400 0.8rem/1.5 var(--sans); color: var(--muted); }
.post-hero figcaption { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
figcaption a { color: inherit; }
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.tri img { aspect-ratio: 3 / 4; }
@media (min-width: 720px) {
  .post-hero { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
  .post-hero img { aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
  .post-hero figcaption { padding: 0; }
  .tri { gap: 10px; }
  .tri img { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
}
@media (min-width: 1100px) { .post-hero img { aspect-ratio: 2 / 1; } .tri img { aspect-ratio: 5 / 6; } }

/* ---------- article layout ---------- */
.post-main { padding-top: 34px; }
.frame-in { max-width: var(--measure); margin-inline: auto; }
.post-body { min-width: 0; }
.rail { display: none; }
@media (min-width: 1100px) {
  .post-head .wrap, .post-main .wrap { max-width: calc(var(--frame) + 2 * var(--gutter)); }
  .head-in { max-width: none; margin-left: calc(220px + 68px); }
  .frame-in { max-width: none; display: grid; grid-template-columns: 220px minmax(0, var(--measure)); gap: 68px; }
  .rail { display: block; }
  .rail-in { position: sticky; top: 96px; display: grid; gap: 26px; }
  .toc-mob { display: none; }
}
.post.page .head-in, .post.page .post-body { max-width: var(--measure); margin-inline: auto; }
/* The lead moves into the header so the answer is on the first screen. */
.head-answer { margin-top: 26px; }

.toc-t { margin: 0 0 10px; font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--muted); font: 500 0.875rem/1.38 var(--sans); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--brand); }
.toc-mob { margin: 0 0 30px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); }
.toc-mob > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; font: 600 0.9rem/1.2 var(--sans); color: var(--ink); }
.toc-mob > summary::-webkit-details-marker { display: none; }
.toc-mob > summary svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.2s ease; }
.toc-n { margin-left: auto; font: 500 0.8rem/1 var(--sans); color: var(--muted); }
.toc-mob[open] > summary svg { transform: rotate(180deg); }
.toc-mob ol { margin: 0; padding: 0 18px 12px; list-style: none; counter-reset: t; }
.toc-mob li { counter-increment: t; border-top: 1px solid var(--line); }
.toc-mob a { display: grid; grid-template-columns: 2.1em minmax(0, 1fr); padding: 10px 0; color: var(--ink-2); font: 500 0.94rem/1.4 var(--sans); text-decoration: none; }
.toc-mob a::before { content: counter(t, decimal-leading-zero); color: var(--gold-ink); font: italic 500 0.95rem/1.4 var(--serif); }

.rail-app { padding: 18px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); }
.rail-app-h { display: flex; align-items: center; gap: 10px; }
.rail-app-h img { width: 40px; height: 40px; border-radius: 10px; }
.rail-app-h b { display: block; font: 600 0.95rem/1.2 var(--sans); color: var(--ink); }
.rail-app-h span { display: block; margin-top: 2px; font: 400 0.78rem/1.3 var(--sans); color: var(--muted); }
.rail-app p { margin: 12px 0 0; font: 400 0.84rem/1.5 var(--sans); color: var(--ink-2); }
.qr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: start; margin-top: 14px; }
.qr svg { display: block; width: 128px; height: 128px; padding: 8px; border-radius: 6px; background: #ffffff; }
.qr span { font: 400 0.78rem/1.4 var(--sans); color: var(--muted); }
.rail-app .btn { width: 100%; margin-top: 14px; }

/* ---------- prose ---------- */
.prose { font-size: var(--fs-body); line-height: 1.72; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.3em; font: 500 clamp(1.6rem, 1.34rem + 1.05vw, 2.15rem)/1.14 var(--serif); letter-spacing: -0.016em; }
.prose h2::before { content: ""; display: block; width: 34px; height: 2px; margin-bottom: 18px; background: var(--gold); }
.prose h3 { margin-top: 1.9em; font: 600 clamp(1.24rem, 1.1rem + 0.6vw, 1.5rem)/1.32 var(--serif); letter-spacing: -0.005em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.65em; }
.prose a { color: var(--link); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.19em; text-decoration-color: color-mix(in srgb, var(--link) 38%, transparent); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 650; }
.prose code { font: 500 0.86em/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 0.12em 0.36em; border-radius: 4px; background: var(--paper-2); border: 1px solid var(--line-2); overflow-wrap: anywhere; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--gold); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold); color: var(--ink-2); font-style: italic; }
.lead { font-size: 1.14em; line-height: 1.62; color: var(--ink); }
.lead strong { font-weight: inherit; }
.lead > * + * { margin-top: 0.8em; }
.lead p { margin: 0; }
.small { font: 400 0.84rem/1.6 var(--sans); color: var(--muted); }
.prose .note { font: 400 0.86rem/1.6 var(--sans); color: var(--muted); }
.prose .note a { color: inherit; }

/* figures */
.fig, .chart, .pull { margin-inline: 0; }
.fig { margin-block: 2.1em; }
.fig img { display: block; width: 100%; border-radius: var(--r); background: var(--paper-3); }
.fig-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fig-pair img { aspect-ratio: 4 / 5; object-fit: cover; }

/* at a glance */
.glance { margin-block: 2em; padding-top: 14px; border-top: 2px solid var(--ink); }
.glance-t { margin: 0; font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); }
.glance dl { display: grid; grid-template-columns: minmax(0, 1fr); margin: 6px 0 0; }
.glance dl > div { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 419px) { .glance dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.glance dt { font: 500 0.86rem/1.45 var(--sans); color: var(--muted); }
.glance dd { margin: 0; font: 500 0.98rem/1.45 var(--sans); color: var(--ink); }
.glance dd small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.8rem; font-weight: 400; }
@media (min-width: 720px) {
  .glance dl { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
  .glance dl > div { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 14px 0; }
  .glance dt { font-size: 0.8rem; }
}

/* notices */
.notice { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; margin-block: 1.8em; padding: 16px 18px; border-radius: var(--r); background: var(--note-bg); font: 400 0.96rem/1.6 var(--sans); color: var(--ink); }
.notice > svg { width: 20px; height: 20px; margin-top: 2px; fill: var(--note); }
.notice-t { margin: 0 0 4px; font: 600 0.98rem/1.4 var(--sans); }
.notice p { margin: 0; }
.notice p + p { margin-top: 0.55em; }
.notice a { color: inherit; }
.notice-closed { background: var(--closed-bg); }
.notice-closed > svg { fill: var(--closed); }
.notice-open { background: var(--open-bg); }
.notice-open > svg { fill: var(--open); }
.notice-plain { background: var(--paper-2); }
.notice-plain > svg { fill: var(--brand); }

/* numbered places */
.places { list-style: none; margin-top: 1.2em; padding: 0 !important; counter-reset: pl; border-bottom: 1px solid var(--line); }
.places > li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0 12px; margin: 0; padding: 22px 0; border-top: 1px solid var(--line); counter-increment: pl; }
.places > li::before { content: counter(pl, decimal-leading-zero); font: italic 500 1.3rem/1.3 var(--serif); color: var(--gold); }
.places > li + li { margin-top: 0; }
.places h3 { margin: 0; font: 600 clamp(1.2rem, 1.08rem + 0.5vw, 1.4rem)/1.32 var(--serif); }
.pl-b > * { margin: 0; }
.pl-b > * + * { margin-top: 0.55em; }
.pl-b > h3 + * { margin-top: 0.4em; }
.pl-img { margin: 14px 0 2px; grid-column: 2; }
.pl-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.pl-img figcaption { margin-top: 6px; font: 400 0.74rem/1.4 var(--sans); color: var(--muted); }
@media (min-width: 640px) {
  .places > li.has-img { grid-template-columns: 2.4rem minmax(0, 1fr) 190px; }
  .pl-img { grid-column: 3; grid-row: 1; margin: 4px 0 0 18px; }
  .pl-img img { aspect-ratio: 4 / 3; }
}
@media (max-width: 639px) {
  .places > li { grid-template-columns: minmax(0, 1fr); }
  .places > li::before { content: none; }
  .places h3::before { content: counter(pl, decimal-leading-zero) "\2002"; font: italic 500 1em var(--serif); color: var(--gold); }
  .pl-img { grid-column: 1; }
}

/* seasons */
.seasons { display: grid; gap: 12px; margin-top: 1.4em; }
.season { padding: 18px 20px 20px; border-radius: 14px; background: var(--paper-2); }
.season-h { display: flex; align-items: center; gap: 10px; }
.season-h svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.season h3 { margin: 0; font: 600 1.15rem/1.25 var(--serif); }
.season-m { margin: 6px 0 0; font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); }
.season-b { margin-top: 10px; font: 400 0.96rem/1.6 var(--sans); color: var(--ink-2); }
.season-b > * { margin: 0; }
.season-b > * + * { margin-top: 0.5em; }
@media (min-width: 620px) { .seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* timeline */
.timeline { list-style: none; margin-top: 1.4em; padding: 0 0 0 5px !important; }
.timeline li { position: relative; margin: 0; padding: 0 0 20px 24px; border-left: 1px solid var(--line-2); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 0.3em; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); }
.timeline li + li { margin-top: 0; }
.tl-date { display: block; font: 600 0.75rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); }
.tl-text { margin-top: 3px; font-size: 0.98em; line-height: 1.6; }

/* status list */
.status-list { list-style: none; margin-top: 1.2em; padding: 0 !important; border-top: 1px solid var(--line); }
.status-list li { display: grid; grid-template-columns: 4.9rem minmax(0, 1fr); gap: 12px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font: 400 0.96rem/1.55 var(--sans); }
.status-list li + li { margin-top: 0; }
.badge { justify-self: start; align-self: start; margin-top: 2px; padding: 4px 8px; border-radius: 999px; font: 700 0.68rem/1.2 var(--sans); letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; }
.badge-open { background: var(--open-bg); color: var(--open); }
.badge-closed { background: var(--closed-bg); color: var(--closed); }
.badge-info { background: var(--paper-3); color: var(--ink-2); }

/* checklist + steps */
.checklist { list-style: none; padding: 0 !important; }
.checklist li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; }
.checklist svg { width: 18px; height: 18px; margin-top: 0.36em; fill: var(--open); }
.steps ol { list-style: none; padding: 0; counter-reset: st; }
.steps li { position: relative; min-height: 30px; padding-left: 46px; }
.steps li + li { margin-top: 0.9em; }
.steps li::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: 0.12em; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font: 700 0.85rem/30px var(--sans); text-align: center; }

/* cards */
.cards { display: grid; gap: 14px; margin-top: 1.4em; }
.card { padding: 20px 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.card h3 { margin: 0; font: 600 1.15rem/1.3 var(--serif); }
.card-b { margin-top: 8px; font: 400 0.95rem/1.6 var(--sans); color: var(--ink-2); }
.card-b > * { margin: 0; }
.card-b > * + * { margin-top: 0.55em; }
.card-b ul { padding-left: 1.1em; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* tables */
.table-wrap { margin-block: 1.8em; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 4px; }
.prose table { width: 100%; border-collapse: collapse; font: 400 0.92rem/1.45 var(--sans); }
.prose th { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ink); text-align: left; vertical-align: bottom; font: 600 0.7rem/1.25 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prose td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.prose td:first-child { color: var(--ink); font-weight: 600; }
.prose th:last-child, .prose td:last-child { padding-right: 0; }
.t-scroll { background: linear-gradient(to right, var(--paper) 30%, rgb(255 255 255 / 0)) left / 28px 100% no-repeat local, linear-gradient(to left, var(--paper) 30%, rgb(255 255 255 / 0)) right / 28px 100% no-repeat local, radial-gradient(farthest-side at 0 50%, rgb(0 0 0 / 0.16), transparent) left / 12px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgb(0 0 0 / 0.16), transparent) right / 12px 100% no-repeat scroll; }
.t-scroll table { min-width: 640px; }
.t-scroll td, .t-scroll th { white-space: nowrap; }
@media (max-width: 700px) { .t-scroll::before { content: "Swipe sideways to see every column"; display: block; position: sticky; left: 0; margin-bottom: 4px; font: 500 0.75rem/1.4 var(--sans); color: var(--muted); } }
.t-scroll td:first-child, .t-scroll th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); }
@media (max-width: 640px) {
  .t-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .t-cards table, .t-cards tbody, .t-cards tr, .t-cards td { display: block; width: 100%; }
  .t-cards tr { margin-bottom: 12px; padding: 4px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
  .t-cards td { display: grid; gap: 1px; padding: 9px 0; text-align: left; }
  .t-cards td::before { content: attr(data-label); font: 600 0.68rem/1.5 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .t-cards td .tv { min-width: 0; color: var(--ink); }
  .t-cards td:first-child { display: block; padding: 12px 0 10px; border-bottom: 1px solid var(--line-2); text-align: left; font: 600 1.05rem/1.35 var(--serif); }
  .t-cards td:first-child::before { display: none; }
  .t-cards td:last-child { border-bottom: 0; }
  .t-cards.compact tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .t-cards.compact td:first-child { grid-column: 1 / -1; }
  .t-cards.compact td:nth-last-child(-n + 2):not(:first-child) { border-bottom: 0; }
}

/* app call-to-action inside articles */
.app-cta { position: relative; margin-block: 2.6em; border-radius: 20px; background: var(--band); color: var(--on-band); overflow: hidden; }
.app-cta-in { display: grid; padding: 26px 24px 0; }
.app-cta .kicker { display: flex; align-items: center; gap: 10px; color: var(--seal-fg); }
.app-cta .kicker img { width: 30px; height: 30px; border-radius: 8px; }
.app-cta-t { margin: 14px 0 0; color: #ffffff; font: 600 clamp(1.4rem, 1.25rem + 0.6vw, 1.7rem)/1.2 var(--serif); letter-spacing: -0.01em; }
.app-cta .ticks { margin-top: 16px; color: var(--on-band); font-size: 0.95rem; }
.app-cta .store-row { margin-top: 22px; }
.app-cta .fine { margin: 14px 0 0; color: var(--on-band-2); }
.app-cta-phone { display: flex; justify-content: center; margin-top: 24px; }
.app-cta .phone { width: min(230px, 66%); aspect-ratio: 9 / 11; }
@media (min-width: 700px) {
  .app-cta-in { grid-template-columns: minmax(0, 1fr) 200px; gap: 26px; padding: 30px 30px 0; }
  .app-cta-copy { padding-bottom: 30px; }
  .app-cta-phone { margin: 0; align-self: end; }
  .app-cta .phone { width: 200px; aspect-ratio: 9 / 13.5; }
}

/* FAQ */
.faq { margin-top: 0.8em; border-top: 1px solid var(--line); }
.qa { padding: 18px 0; border-bottom: 1px solid var(--line); }
.qa h3 { margin: 0; font: 600 clamp(1.2rem, 1.08rem + 0.5vw, 1.4rem)/1.35 var(--serif); }
.qa-a { margin-top: 0.4em; }
.qa-a > * { margin: 0; }
.qa-a > * + * { margin-top: 0.6em; }

/* sources */
.sources { margin-top: 3em; padding-top: 22px; border-top: 2px solid var(--ink); }
.sources-t { margin: 0 0 8px; font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); }
.sources ol, .sources ul { margin: 0; padding-left: 1.4em; font: 400 0.85rem/1.55 var(--sans); color: var(--muted); }
.sources li { margin-top: 0.45em; padding-left: 4px; }
.sources li::marker { color: var(--muted); font-size: 0.8rem; }
.sources a { color: var(--ink-2); }
.sources p { margin: 12px 0 0; font: 400 0.85rem/1.6 var(--sans); color: var(--muted); }

/* author + related */
.author-box { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; margin-top: 3em; padding: 22px; border-radius: 16px; background: var(--paper-2); }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-box p { margin: 0; font: 400 0.92rem/1.6 var(--sans); color: var(--ink-2); }
.author-box .author-n { margin-bottom: 4px; font: 600 1.08rem/1.3 var(--serif); color: var(--ink); }
.author-box a { color: var(--link); }
.related { margin-top: clamp(56px, 4rem + 2vw, 88px); padding-block: clamp(44px, 3rem + 2vw, 76px); background: var(--paper-2); }
.related h2 { margin: 10px 0 26px; font: 500 clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem)/1.1 var(--serif); letter-spacing: -0.015em; }
.rgrid { display: grid; gap: 26px 22px; grid-template-columns: minmax(0, 1fr); }
.rcard { display: grid; gap: 12px; align-content: start; color: inherit; text-decoration: none; }
.rcard img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); background: var(--paper-3); }
.rcard-in { display: grid; gap: 6px; }
.rcard-k { font: 600 0.7rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.rcard-t { font: 600 1.15rem/1.3 var(--serif); color: var(--ink); }
.rcard-d { font: 400 0.88rem/1.5 var(--sans); color: var(--muted); }
.rcard:hover .rcard-t { color: var(--link); }
.rcard-img { display: block; overflow: hidden; border-radius: var(--r); background: var(--paper-3); }
.rcard-img img { border-radius: 0; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rcard:hover .rcard-img img { transform: scale(1.035); }
@media (min-width: 640px) { .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* simple pages */
.profile { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 4px; }
.profile img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.profile p { margin: 0; font: 400 0.95rem/1.55 var(--sans); color: var(--ink-2); }
.credits { list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.credits li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: start; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 400 0.86rem/1.5 var(--sans); color: var(--ink-2); }
.credits li + li { margin-top: 0; }
.credits img { width: 104px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.credits b { color: var(--ink); font-weight: 600; }

/* ---------- footer ---------- */
.ftr { background: var(--band); color: var(--on-band-2); }
.ftr-in { display: grid; gap: 36px; padding-block: 56px 28px; }
.ftr .logo { color: #ffffff; }
.ftr .seal-bg { fill: #2b6257; }
.ftr .seal-vein { stroke: #2b6257; }
.ftr-about p { margin: 16px 0 0; max-width: 34ch; font: 400 0.95rem/1.6 var(--sans); }
.ftr-cols { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ftr h2 { margin: 0 0 10px; color: #ffffff; font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ftr ul a { display: inline-block; padding: 5px 0; color: var(--on-band-2); font: 400 0.92rem/1.4 var(--sans); text-decoration: none; }
.ftr ul a:hover { color: #ffffff; text-decoration: underline; }
.ftr-app .play-badge { margin-top: 8px; }
.ftr-app .textlink { display: inline-block; margin-top: 16px; color: #ffffff; font-size: 0.875rem; }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgb(255 255 255 / 0.12); font: 400 0.78rem/1.5 var(--sans); }
.ftr-base a { color: inherit; }
@media (min-width: 900px) {
  .ftr-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 2.5fr); gap: 56px; padding-top: 72px; }
  .ftr-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 404 */
.nf { padding-block: 72px 96px; }
.nf h1 { margin: 12px 0 0; font: 500 clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem)/1.05 var(--serif); }
.nf p { max-width: 46ch; color: var(--ink-2); }
.nf .cat-nav { margin-top: 28px; }

/* ---------- header: search button, reading progress, photo-hero mode ---------- */
.icon-btn { display: none; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
@media (min-width: 520px) { .js .icon-btn { display: grid; } }
.hdr { transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
/* On the home page the header sits on the photo until the reader scrolls (site.js adds .solid). */
.js .has-hero .home-hero { margin-top: -65px; }
.js .has-hero .home-hero-in { padding-top: 150px; }
.home-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 180px; z-index: -1; background: linear-gradient(180deg, rgb(8 15 13 / 0.55), rgb(8 15 13 / 0)); }
.js .has-hero .hdr:not(.solid, :has(.nav-mob[open])) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.js .has-hero .hdr:not(.solid, :has(.nav-mob[open])) :is(.logo, .icon-btn, .nav-mob > summary) { color: #ffffff; }
.js .has-hero .hdr:not(.solid, :has(.nav-mob[open])) .nav-desk a { color: rgb(255 255 255 / 0.92); }
.js .has-hero .hdr:not(.solid, :has(.nav-mob[open])) :is(.nav-desk a, .icon-btn, .nav-mob > summary):hover { background: rgb(255 255 255 / 0.14); color: #ffffff; }
.js .has-hero .hdr:not(.solid, :has(.nav-mob[open])) .hdr-app { background: #ffffff; color: #15201d; }
.js .has-hero .hdr:not(.solid, :has(.nav-mob[open])) .logo-t { text-shadow: 0 1px 14px rgb(0 0 0 / 0.3); }
.home-hero h1 em { font-style: italic; font-weight: 400; color: #f3dfae; }

/* ---------- search ---------- */
.search { width: min(640px, calc(100vw - 24px)); max-height: min(80vh, 660px); margin: max(12px, 9vh) auto auto; padding: 0; border: 0; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-2); overflow: hidden; }
.search[open] { display: flex; flex-direction: column; }
.search::backdrop { background: rgb(8 15 13 / 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.search-in { display: flex; align-items: center; gap: 10px; flex: none; padding: 0 8px 0 18px; border-bottom: 1px solid var(--line); }
.search-in:focus-within { box-shadow: inset 0 -2px 0 var(--gold); }
.search-in > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.9; stroke-linecap: round; }
.search-in input { flex: 1; min-width: 0; height: 62px; padding: 0; border: 0; background: transparent; color: var(--ink); font: 500 1.0625rem/1 var(--sans); outline: none; -webkit-appearance: none; appearance: none; }
.search-in input::placeholder { color: var(--muted); }
.search-in input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search-x { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.search-x:hover { background: var(--paper-2); color: var(--ink); }
.search-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.search-res { list-style: none; margin: 0; padding: 8px; overflow-y: auto; overscroll-behavior: contain; }
.search-res:empty { display: none; }
.search-res a { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; color: inherit; text-decoration: none; }
.search-res a:hover, .search-res a:focus-visible { background: var(--paper-2); }
.sr-k { font: 600 0.68rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); }
.sr-t { font: 600 1.08rem/1.3 var(--serif); color: var(--ink); }
.sr-d { font: 400 0.86rem/1.45 var(--sans); color: var(--muted); }
.search-empty, .search-hint { margin: 0; padding: 18px 20px; font: 400 0.9rem/1.5 var(--sans); color: var(--muted); }
.search-res:not(:empty) ~ .search-hint { display: none; }

/* ---------- app bar (phones and tablets) ---------- */
.appbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; gap: 12px; padding: 10px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgb(16 26 23 / 0.1); transform: translateY(calc(100% + 40px)); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.appbar.on { transform: none; }
.appbar img { width: 40px; height: 40px; flex: none; border-radius: 10px; }
.appbar p { display: grid; flex: 1; min-width: 0; margin: 0; }
.appbar b { font: 600 0.95rem/1.25 var(--sans); color: var(--ink); }
.appbar p span { font: 400 0.78rem/1.3 var(--sans); color: var(--muted); }
.appbar .btn { flex: none; }
.appbar-x { display: grid; place-items: center; width: 36px; height: 36px; flex: none; margin-right: -8px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.appbar-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (min-width: 1100px) { .appbar { display: none; } }
html:has(.nav-mob[open]) .appbar { display: none; }
.hdr.bar-on .hdr-app { visibility: hidden; }

/* ---------- share ---------- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 3em; padding-top: 24px; border-top: 1px solid var(--line); }
.share-t { margin: 0; font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.share-b { display: flex; flex-wrap: wrap; gap: 8px; }
.sbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 17px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 0.875rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease; }
.sbtn:hover { border-color: var(--ink); }
.sbtn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sbtn.wa svg { fill: #1fa855; stroke: none; }
.sbtn[data-copy] { display: none; }
.js .sbtn[data-copy] { display: inline-flex; }
.sbtn.ok { border-color: var(--open); color: var(--open); }
.share + .author-box { margin-top: 24px; }
.month-nav + .share { margin-top: 24px; }

/* ---------- drop cap and pull quotes ---------- */
.post .prose > .lead:first-child > p:first-child::first-letter { float: left; margin: 0.07em 0.1em 0 -0.02em; font-size: 3.3em; font-weight: 500; line-height: 0.8; color: var(--gold-ink); }
@supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
  .post .prose > .lead:first-child > p:first-child::first-letter { float: none; margin: 0 0.1em 0 0; font-size: inherit; line-height: inherit; -webkit-initial-letter: 2; initial-letter: 2; }
}
.pull { margin-block: 2.4em; }
.prose .pull blockquote { margin: 0; padding: 0; border: 0; color: var(--ink); font: italic 400 clamp(1.45rem, 1.25rem + 0.9vw, 1.9rem)/1.3 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.pull blockquote::before { content: ""; display: block; width: 34px; height: 2px; margin-bottom: 18px; background: var(--gold); }
.pull figcaption { margin-top: 12px; font: 500 0.82rem/1.45 var(--sans); color: var(--muted); }

/* ---------- climate charts ---------- */
.chart { margin-block: 2.2em; padding: 20px 18px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.chart-t { margin: 0; font: 600 1rem/1.35 var(--sans); color: var(--ink); }
.chart-t span { display: block; margin-top: 3px; font: 400 0.8rem/1.4 var(--sans); color: var(--muted); }
.chart-plot { --axis: 36px; --foot: 26px; position: relative; height: 236px; margin-top: 24px; }
.chart-grid { position: absolute; top: 0; right: 0; bottom: var(--foot); left: var(--axis); }
.chart-grid span { position: absolute; left: 0; right: 0; bottom: calc((var(--v) - var(--min)) / (var(--max) - var(--min)) * 100%); border-top: 1px solid var(--line); }
.chart-grid span.zero { border-top-color: var(--line-2); }
.chart-grid i { position: absolute; right: calc(100% + 8px); top: 0; transform: translateY(-50%); font: 500 0.7rem/1 var(--sans); color: var(--muted); white-space: nowrap; }
.chart-cols { position: absolute; top: 0; right: 0; bottom: 0; left: var(--axis); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin: 0 !important; padding: 0 !important; list-style: none; }
.prose .chart-col { position: relative; margin: 0; border-radius: 6px; cursor: default; }
.chart-col::before { content: ""; position: absolute; top: -10px; right: 1px; bottom: var(--foot); left: 1px; border-radius: 6px; background: var(--paper-3); opacity: 0; transition: opacity 0.15s ease; }
.chart-col.hot::before, .chart-col:focus-visible::before { opacity: 1; }
.chart-col:focus-visible { outline-offset: -2px; }
.chart-bar { position: absolute; left: 50%; width: min(18px, 62%); transform: translateX(-50%); bottom: calc(var(--foot) + (var(--lo) - var(--min)) / (var(--max) - var(--min)) * (100% - var(--foot))); height: calc((var(--hi) - var(--lo)) / (var(--max) - var(--min)) * (100% - var(--foot))); border-radius: 4px; background: var(--c-temp); }
.chart-rain .chart-bar { border-radius: 4px 4px 0 0; background: var(--c-rain); }
.chart-v { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); font: 600 0.72rem/1 var(--sans); color: var(--ink-2); white-space: nowrap; }
.chart-v.down { top: calc(100% + 6px); bottom: auto; }
.chart-col:first-child .chart-v { left: 0; transform: none; }
.chart-col:last-child .chart-v { left: auto; right: 0; transform: none; }
.chart-m { position: absolute; left: 0; right: 0; bottom: 0; height: var(--foot); display: grid; place-items: end center; font: 500 0.72rem/1 var(--sans); color: var(--muted); }
.chart-m .ms { display: none; }
.chart-src { margin: 14px 0 0; font: 400 0.78rem/1.5 var(--sans); color: var(--muted); }
.chart-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0 !important; list-style: none; font: 500 0.8rem/1.3 var(--sans); color: var(--ink-2); }
.prose .chart-key li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.chart-key i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.chart-cmp .chart-plot { --rgap: 0px; margin-top: 18px; }
.chart-cmp :is(.chart-grid, .chart-cols) { right: var(--rgap); }
.chart-lines { position: absolute; top: 0; right: var(--rgap); bottom: var(--foot); left: var(--axis); pointer-events: none; }
.chart-lines svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-lines polyline { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart-dot { position: absolute; left: 50%; z-index: 1; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--paper); transform: translate(-50%, 50%); bottom: calc(var(--foot) + (var(--v) - var(--min)) / (var(--max) - var(--min)) * (100% - var(--foot))); }
.chart-ends { display: none; }
@media (min-width: 640px) {
  .chart-cmp .chart-plot { --rgap: 82px; }
  .chart-ends { display: block; position: absolute; top: 0; right: 0; bottom: var(--foot); width: calc(var(--rgap) - 10px); }
  .chart-ends span { position: absolute; left: 0; bottom: calc(var(--y) * 1%); transform: translateY(50%); display: flex; align-items: center; gap: 6px; font: 600 0.75rem/1 var(--sans); color: var(--ink-2); white-space: nowrap; }
  .chart-ends span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
}
.chart-tip { position: absolute; z-index: 40; max-width: 240px; padding: 8px 11px; border-radius: 9px; background: var(--ink); color: var(--paper); font: 500 0.8rem/1.4 var(--sans); text-align: center; box-shadow: var(--shadow-2); transform: translate(-50%, -100%); pointer-events: none; }
@media (max-width: 459px) {
  .chart { padding-inline: 12px; }
  .chart-plot { --axis: 30px; }
  .chart-m .ml { display: none; }
  .chart-m .ms { display: inline; }
}

/* ---------- this month (home) ---------- */
.tm { background: var(--gold-soft); border-block: 1px solid var(--line); }
.tm-in { display: grid; gap: 26px; padding-block: clamp(48px, 3rem + 2.5vw, 84px); }
.tm-head h2 { margin: 8px 0 0; font: italic 500 clamp(2.5rem, 1.8rem + 2.8vw, 3.9rem)/1 var(--serif); letter-spacing: -0.02em; }
.tm-note { margin: 14px 0 0; max-width: 40ch; color: var(--ink-2); font: 400 1.08rem/1.55 var(--serif); }
.tm-link { display: inline-block; margin-top: 12px; }
.tm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tm-c { display: grid; gap: 8px; align-content: start; padding: 16px 16px 18px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow-1); }
.tm-l { font: 600 0.7rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tm-v { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; }
.tm-v b { font: 500 clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem)/1.1 var(--serif); color: var(--ink); letter-spacing: -0.01em; }
.tm-v span { font: 400 0.8rem/1.3 var(--sans); color: var(--muted); }
.tm-src { grid-column: 1 / -1; margin: 0; }
@media (min-width: 900px) {
  .tm-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 26px 64px; align-items: center; }
  .tm-grid { gap: 14px; }
  .tm-c { padding: 20px 22px 22px; }
}

/* ---------- chips, category navigation, guide index ---------- */
.more-places { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.more-places .fine { margin-right: 6px; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.chip, .cat-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 0.9rem/1 var(--sans); text-decoration: none; white-space: nowrap; transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease; }
.chip:hover, .cat-nav a:hover { border-color: var(--ink); }
.cat-nav { display: flex; gap: 8px; margin: 26px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter) 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cat-nav::-webkit-scrollbar { display: none; }
.month-nav { margin-top: 2.6em; padding-top: 22px; border-top: 1px solid var(--line); }
.month-nav .cat-nav { flex-wrap: wrap; margin: 12px 0 0; padding: 0; overflow: visible; }
.month-nav .cat-nav a[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.cat-nav a { flex: none; }
.cat-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (min-width: 760px) { .cat-nav { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; } }
.gwrap { padding-block: 10px clamp(64px, 4rem + 3vw, 112px); }
.gwrap > .rgrid { padding-top: clamp(20px, 1rem + 1vw, 36px); }
.gsec { padding-top: clamp(32px, 2rem + 1.5vw, 52px); }
.gsec + .gsec { margin-top: clamp(16px, 1rem + 1vw, 28px); border-top: 1px solid var(--line); }
.gsec-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 24px; }
.gsec-h h2 { margin: 0; font: 500 clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem)/1.1 var(--serif); letter-spacing: -0.015em; }
.index-group h3 a { color: inherit; text-decoration: none; }
.index-group h3 a:hover { color: var(--link); }
.ix-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font: 600 0.9rem/1.3 var(--sans); color: var(--link); text-decoration: none; }
.ix-more::after { content: "→"; transition: transform 0.15s ease; }
.ix-more:hover::after { transform: translateX(3px); }
.nf-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .hdr, .ftr, .rail, .toc-mob, .app-cta, .related, .appbar, .share, .search, .month-nav, .btn, .play-badge { display: none !important; }
  .chart-bar, .chart-dot, .chart-key i, .chart-ends span::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sources a[href^="http"]::after { content: " (" attr(href) ")"; overflow-wrap: anywhere; font-size: 0.85em; }
}

/* ---------- wave 4 polish ---------- */
/* Figures line up in tables and stats; numeric columns align right (left again in phone cards). */
.prose table, .tm-v b, .chart-v, .chart-grid i, .check-d { font-variant-numeric: tabular-nums; }
.prose th.num, .prose td.num { text-align: right; }
@media (max-width: 640px) { .prose .t-cards th.num, .prose .t-cards td.num { text-align: left; } }
/* A sticky first column keeps an edge while the table scrolls. */
.t-scroll td:first-child, .t-scroll th:first-child { box-shadow: 1px 0 0 var(--line-2); }
/* A lone last card spans the row; day plans read as one sequence. */
@media (min-width: 640px) { .cards > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.cards.cards-seq { grid-template-columns: minmax(0, 1fr); }
.cards-seq .card-b li > strong:first-child { color: var(--link); }
/* Phones: guide lists and related guides as image-left rows, so long lists stay scannable. */
@media (max-width: 639px) {
  .gwrap .rgrid, .related .rgrid { gap: 0; }
  .gwrap .rcard, .related .rcard { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
  .gwrap .rcard-img, .related .rcard-img { aspect-ratio: 1; align-self: start; }
  .gwrap .rcard-img img, .related .rcard-img img { height: 100%; aspect-ratio: auto; }
  .gwrap .rcard-d, .related .rcard-d { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .season-cards { gap: 12px; }
  .scard { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: none; }
  .scard-img { height: 100%; }
  .scard img { height: 100%; aspect-ratio: auto; }
  .scard-in { padding: 12px 14px 14px; }
}
/* Search in the header from 380px; the app button shortens to fit. */
@media (min-width: 380px) and (max-width: 519px) { .js .icon-btn { display: grid; width: 40px; } .hdr-app .l { display: none; } .hdr-app .s { display: inline; } .hdr-in { gap: 6px; } }
/* Bigger tap targets on touch screens. */
@media (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  .appbar-x { width: 44px; height: 44px; margin-right: -12px; }
  .cat-nav a, .chip { min-height: 44px; }
  .ftr-cols li a { display: inline-block; padding-block: 6px; }
}
/* The bottom app bar is for phones and tablets; computers have the header button and the article card. */
@media (pointer: fine) { .appbar { display: none !important; } }
.logo-a, .method-n, .toc-mob a::before, .places > li::before, .places h3::before { font-family: "Newsreader Mark", var(--serif); }
/* High-contrast mode: chart bars, dots and keys keep their colours; notices keep a box. */
@media (forced-colors: active) {
  .chart-bar, .chart-dot, .chart-key i, .chart-ends span::before { forced-color-adjust: none; }
  .notice { border: 1px solid CanvasText; }
}
