@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
/* Gone With Us: editorial system in the Instagram brand palette.
   Layout: a magazine nameplate over a single reading column; tools break out to full width.
   Two voices are encoded in colour everywhere: green = official guidance, amber = our take. */
/* Brand palette matches the Instagram carousels: cool slate, cream, orange #FF9550. */
:root {
  --paper: #f6f1e9;
  --surface: #fffbf5;
  --ink: #1c1e26;
  --muted: #5c5e68;
  --rule: #e3dacb;
  --lamp: #ff9550;          /* brand orange: fills, highlights, "our take" */
  --lamp-ink: #b04a12;      /* orange for text on cream (AA) */
  --lamp-wash: #ffe8d9;
  --canal: #2c5a5f;         /* slate teal: official guidance */
  --canal-wash: #e1ebe9;
  --night: #1c1e26;         /* slate panels, same as the carousel fade */
  --on-night: #f6f1e9;
  --danger: #a3341f;
  --shadow: 0 1px 0 rgb(28 30 38 / 5%), 0 14px 34px -16px rgb(28 30 38 / 28%);

  /* The printed guide's fonts: Bricolage Grotesque for headings, Instrument Sans for reading. Bundled in
     assets/fonts (no Google Fonts request). */
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, system-ui, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.75rem;
  --step-3: clamp(1.75rem, 3.6vw, 2.4rem);
  --step-4: clamp(2.1rem, 4.6vw, 3.3rem);
  --step-5: clamp(2.5rem, 6.4vw, 4.8rem);
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 40rem;
  --radius: 10px;
  --map-bg: #f1ece3; --map-green: #dfe7d6; --map-water: #bcd2dc; --map-minor: #ffffff; --map-major: #ffd2b3; --map-rail: #aaa59b;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #15171d; --surface: #1c1e26; --ink: #f3ece2; --muted: #a9a59c; --rule: #2f323c;
    --lamp: #ff9550; --lamp-ink: #ffab7a; --lamp-wash: #3b2518; --canal: #8fc9c4; --canal-wash: #17292b;
    --night: #101217; --on-night: #f3ece2; --danger: #ff8f7a;
    --shadow: 0 1px 0 rgb(0 0 0 / 30%), 0 14px 34px -16px rgb(0 0 0 / 65%);
    --map-bg: #171a20; --map-green: #1d2a24; --map-water: #1c3440; --map-minor: #2b2f38; --map-major: #5a3b28; --map-rail: #4a4d55;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #15171d; --surface: #1c1e26; --ink: #f3ece2; --muted: #a9a59c; --rule: #2f323c;
  --lamp: #ff9550; --lamp-ink: #ffab7a; --lamp-wash: #3b2518; --canal: #8fc9c4; --canal-wash: #17292b;
  --night: #101217; --on-night: #f3ece2; --danger: #ff8f7a;
  --shadow: 0 1px 0 rgb(0 0 0 / 30%), 0 14px 34px -16px rgb(0 0 0 / 65%);
  --map-bg: #171a20; --map-green: #1d2a24; --map-water: #1c3440; --map-minor: #2b2f38; --map-major: #5a3b28; --map-rail: #4a4d55;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  font-feature-settings: "ss01";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--lamp); }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--ink); color: var(--paper); padding: .75rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.prose-width { max-width: var(--measure); }

/* labels */
.kicker { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker b { color: var(--ink); font-weight: 500; }
.tag { display: inline-flex; align-items: center; gap: .35em; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: .2em .55em; border: 1px solid var(--rule); border-radius: 3px; color: var(--muted); white-space: nowrap; }
.tag--official { color: var(--canal); border-color: currentColor; }
.tag--ours { color: var(--lamp-ink); border-color: currentColor; }
.tag--warn { color: var(--danger); border-color: currentColor; }

/* ---------- masthead ---------- */
.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
.nameplate { font-family: var(--display); font-size: 1.55rem; text-decoration: none; letter-spacing: -.02em; line-height: 1; display: inline-flex; align-items: baseline; gap: .1em; }
.nameplate .dot { color: var(--lamp); }
.topnav { display: flex; gap: .25rem; }
.topnav a { text-decoration: none; padding: .7rem .8rem; font-size: .95rem; font-weight: 500; border-radius: var(--radius); color: var(--muted); }
.topnav a:hover { color: var(--ink); }
.topnav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--lamp); border-radius: 0; }
.theme-toggle { border: 1px solid var(--rule); background: transparent; width: 2.75rem; height: 2.75rem; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.theme-toggle:hover { color: var(--ink); border-color: var(--ink); }
.masthead__end { display: flex; align-items: center; gap: .5rem; }

/* phone tab bar */
.tabbar { display: none; }
@media (max-width: 760px) {
  .topnav { display: none; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset-inline: 0; bottom: 0; z-index: 30;
    background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem .15rem .5rem; min-height: 3.5rem; text-decoration: none; font-size: .68rem; white-space: nowrap; font-weight: 500; color: var(--muted); }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: var(--ink); }
  .tabbar a[aria-current="page"] svg { color: var(--lamp-ink); }
  body { padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .65rem 1.15rem; border-radius: var(--radius); border: 1px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: .95rem; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--lamp { background: var(--lamp); border-color: var(--lamp); color: #161a22; }
.btn--small { min-height: 2.75rem; padding: .45rem .85rem; font-size: .875rem; }
.linkarrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; min-height: 2.75rem; }
.linkarrow::after { content: "→"; transition: transform .15s ease; }
.linkarrow:hover::after { transform: translateX(3px); }

/* ---------- home ---------- */
.cover { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.5rem; }
.cover__dateline { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; border-block: 1px solid var(--ink); padding-block: .5rem; }
.cover h1 { font-size: var(--step-5); line-height: .92; letter-spacing: -.03em; max-width: 12ch; }
.cover h1 em { font-style: italic; position: relative; white-space: nowrap; }
.cover h1 em::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .2em; background: var(--lamp); opacity: .55; z-index: -1; border-radius: 2px; }
.cover__lede { font-size: var(--step-1); max-width: 34rem; color: var(--muted); }
.cover__lede strong { color: var(--ink); font-weight: 600; }

.contents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.contents a { display: grid; gap: .65rem; align-content: start; padding: 1.5rem 1.5rem 1.75rem 0; text-decoration: none; border-bottom: 1px solid var(--rule); }
.contents a + a { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.contents h2 { font-size: var(--step-3); }
.contents p { color: var(--muted); max-width: 30ch; }
.contents .linkarrow { min-height: 0; margin-top: .25rem; }
.contents a:hover h2 { text-decoration: underline; text-decoration-color: var(--lamp); text-decoration-thickness: 3px; text-underline-offset: .12em; }
@media (max-width: 760px) {
  .contents { grid-template-columns: 1fr; }
  .contents a, .contents a + a { padding: 1.25rem 0; border-left: 0; }
}

.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--rule); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem 2rem; margin-bottom: 1.75rem; }
.section__head h2 { font-size: var(--step-4); letter-spacing: -.02em; }
.section__head p { color: var(--muted); max-width: 32rem; }

/* heads-up ledger */
.ledger { list-style: none; display: grid; }
.ledger li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.25rem; padding-block: 1.25rem; border-top: 1px solid var(--rule); }
.ledger li:last-child { border-bottom: 1px solid var(--rule); }
.ledger time { font-family: var(--display); font-size: 2.1rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ledger time small { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
.ledger h3 { font-family: var(--body); font-weight: 700; font-size: var(--step-1); line-height: 1.25; }
.ledger .tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-block: .45rem .5rem; }
.ledger p { color: var(--muted); max-width: 42rem; }
.ledger a.src { font-size: .9rem; font-weight: 600; display: inline-block; margin-top: .4rem; }
.ledger li.is-next time { color: var(--lamp-ink); }
@media (max-width: 560px) { .ledger li { grid-template-columns: 4.75rem minmax(0, 1fr); gap: .9rem; } .ledger time { font-size: 1.6rem; } }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.year { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0 2rem; }
.year li { padding-block: .9rem; border-top: 1px solid var(--rule); display: grid; gap: .2rem; }
.year b { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lamp-ink); font-weight: 500; }
.year span { color: var(--muted); font-size: .95rem; }
.year .tbc { font-family: var(--mono); font-size: .7rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* words: tap to flip */
.words { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: .75rem; list-style: none; }
.word { border: 1px solid var(--rule); background: var(--surface); border-radius: var(--radius); }
.word button { all: unset; box-sizing: border-box; display: grid; gap: .3rem; width: 100%; min-height: 6.5rem; padding: 1rem 1.1rem; cursor: pointer; }
.word button:focus-visible { outline: 3px solid var(--lamp); outline-offset: 2px; border-radius: var(--radius); }
.word .nl { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.word .en { font-family: var(--mono); font-size: .78rem; color: var(--lamp-ink); text-transform: uppercase; letter-spacing: .05em; }
.word .use { color: var(--muted); font-size: .92rem; }
.js .word .use { display: none; }
.js .word button[aria-expanded="true"] .use { display: block; }
.js .word button[aria-expanded="false"] .en::after { content: " · tap"; color: var(--muted); }

/* dark band */
.band { background: var(--night); color: var(--on-night); }
.band .kicker { color: color-mix(in srgb, var(--on-night) 70%, transparent); }
.band a { color: var(--on-night); }
.band .btn { background: var(--lamp); border-color: var(--lamp); color: #161a22; }
.band .btn--ghost { background: transparent; color: var(--on-night); border-color: var(--on-night); }

/* ---------- typographic covers (stand-in until real photos) ---------- */
.tcover { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--cover-bg, var(--lamp-wash)); color: var(--cover-ink, var(--ink)); display: flex; flex-direction: column; justify-content: space-between; padding: 1rem 1.1rem; isolation: isolate; }
.tcover__title { font-family: var(--display); font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: .95; letter-spacing: -.02em; }
.tcover__meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8; display: flex; justify-content: space-between; gap: 1rem; }
.tcover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at var(--gx, 78%) var(--gy, 22%), color-mix(in srgb, var(--lamp) 55%, transparent) 0, transparent 42%); opacity: .55; }
.photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-culture { --cover-bg: #e7e1f0; --cat: #5b3f8c; }
.cat-outdoors { --cover-bg: #dfeadb; --cat: #2f6b3a; }
.cat-food-drink { --cover-bg: #f6dfd2; --cat: #9a3f1c; }
.cat-study-work { --cover-bg: #dde6f1; --cat: #2c5486; }
.cat-shopping-markets { --cover-bg: #f3e6c9; --cat: #7d5a0c; }
.cat-nightlife-music { --cover-bg: #e5dde6; --cat: #6e2d68; }
.cat-sport { --cover-bg: #d9ecec; --cat: #1d6668; }
.cat-essentials { --cover-bg: #e4e4e0; --cat: #3b3f47; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tcover { --cover-ink: #ece9e2; background: color-mix(in srgb, var(--cat) 38%, #121419); }
  :root:not([data-theme="light"]) [class*="cat-"] { --cat-text: color-mix(in srgb, var(--cat) 45%, #ffffff); }
}
:root[data-theme="dark"] .tcover { --cover-ink: #ece9e2; background: color-mix(in srgb, var(--cat) 38%, #121419); }
:root[data-theme="dark"] [class*="cat-"] { --cat-text: color-mix(in srgb, var(--cat) 45%, #ffffff); }

/* ---------- page header (inner pages) ---------- */
.pagehead { padding-block: clamp(1.5rem, 4vw, 3rem) 1.5rem; display: grid; gap: 1rem; }
.pagehead h1 { font-size: var(--step-4); letter-spacing: -.025em; max-width: 16ch; }
.pagehead p.dek { font-size: var(--step-1); color: var(--muted); max-width: 38rem; }
.crumbs { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--rule); }
.crumbs a { text-decoration: none; display: inline-flex; align-items: center; min-height: 2.75rem; margin-block: -.85rem; }

/* voices */
.voice { border-left: 3px solid var(--canal); background: var(--canal-wash); padding: 1rem 1.15rem; border-radius: 0 var(--radius) var(--radius) 0; display: grid; gap: .5rem; }
.voice--ours { border-left-color: var(--lamp); background: var(--lamp-wash); }
.voice__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 500; color: var(--canal); display: flex; align-items: center; gap: .4rem; }
.voice--ours .voice__label { color: var(--lamp-ink); }
.voice a { font-weight: 600; }

.legend { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: .9rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend i { width: .8rem; height: .8rem; border-radius: 2px; display: inline-block; }
.legend .l-off { background: var(--canal); }
.legend .l-our { background: var(--lamp); }

/* chips (filters) */
.chips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; scroll-snap-type: x proximity; }
/* Only a row that really scrolls fades out at the edge (common.js sets the class). */
.chips.is-scrolling { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 2rem; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; scroll-snap-align: start; min-height: 2.75rem; padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); cursor: pointer; font-size: .9rem; font-weight: 500; display: inline-flex; align-items: center; gap: .45rem; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .swatch { width: .6rem; height: .6rem; border-radius: 50%; background: var(--cat, var(--muted)); }
.chip .n { font-family: var(--mono); font-size: .72rem; opacity: .7; }

.field { display: grid; gap: .3rem; }
.field label, .field .label { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.input, .select { min-height: 2.9rem; padding: .55rem .85rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); width: 100%; }
.input:focus, .select:focus { outline: 3px solid var(--lamp); outline-offset: 0; border-color: var(--ink); }
.toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; cursor: pointer; font-size: .95rem; }
.toggle input { width: 1.2rem; height: 1.2rem; accent-color: var(--ink); }

/* ---------- explorer ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.explorer__panel { display: grid; align-content: start; gap: 1rem; padding: 1.25rem var(--gutter) 2rem; min-width: 0; }
.explorer__map { position: sticky; top: calc(3.75rem + env(safe-area-inset-top, 0px)); height: calc(100vh - 3.75rem); height: calc(100dvh - 3.75rem); min-width: 0; border-left: 1px solid var(--rule); }
.filters { display: grid; gap: .85rem; }
.filters__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: .75rem; align-items: end; }
.results-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; color: var(--muted); min-height: 2.75rem; }
.results { list-style: none; display: grid; }
.result { border-top: 1px solid var(--rule); }
.result:last-child { border-bottom: 1px solid var(--rule); }
.result > button, .result > a { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .9rem; padding: .95rem .25rem; width: 100%; }
.result > button:focus-visible { outline: 3px solid var(--lamp); outline-offset: -3px; }
.result .glyph { width: 3rem; height: 3rem; border-radius: var(--radius); background: var(--cover-bg); color: var(--cat); display: grid; place-items: center; font-family: var(--display); font-size: 1.35rem; }
.result h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.result .sub { font-size: .875rem; color: var(--muted); }
.result .flags { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .3rem; }
.result.is-active { background: var(--surface); box-shadow: inset 3px 0 0 var(--lamp); }
.empty { padding: 2rem 0; color: var(--muted); }
.empty > * + * { margin-top: .75rem; }
.empty p { margin: 0; }

.map { width: 100%; height: 100%; background: var(--rule); position: relative; isolation: isolate; z-index: 0; }
.map__state { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--muted); z-index: 2; background: var(--paper); }
.map__note { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; z-index: 500; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: .6rem .8rem; font-size: .85rem; box-shadow: var(--shadow); }
.map .leaflet-container { background: var(--map-bg); }
.map.no-tiles .leaflet-container { background-color: var(--paper); background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 48px 48px; }
.pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--cat, var(--ink)); border: 2px solid var(--surface); box-shadow: 0 2px 6px rgb(0 0 0 / 35%); display: grid; place-items: center; transition: transform .15s ease; }
.pin span { transform: rotate(45deg); color: #fff; font-family: var(--display); font-size: 14px; line-height: 1; }
.pin.is-pick { box-shadow: 0 0 0 3px var(--lamp), 0 2px 6px rgb(0 0 0 / 35%); }
.pin.is-active { transform: rotate(-45deg) scale(1.3); }
.landmark { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.leaflet-container { font-family: var(--body); }
.leaflet-control-attribution { font-size: 10px; }
.leaflet-bar a { color: #161a22; }

.detail { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); display: grid; gap: 1rem; padding: 1rem; box-shadow: var(--shadow); }
.detail__top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.detail h2 { font-size: var(--step-3); }
.detail .meta { display: grid; gap: .25rem; font-size: .92rem; color: var(--muted); }
.detail .addr { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.detail .actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.iconbtn { border: 1px solid var(--rule); background: transparent; min-width: 2.75rem; min-height: 2.75rem; border-radius: var(--radius); cursor: pointer; display: inline-grid; place-items: center; }
.iconbtn:hover { border-color: var(--ink); }
.copy { border: 0; background: none; text-decoration: underline; cursor: pointer; font-size: .85rem; color: var(--muted); min-height: 2.75rem; padding: 0 .25rem; }

.view-switch { display: none; }
@media (max-width: 860px) {
  .explorer { grid-template-columns: 1fr; }
  .explorer__panel { padding: 1rem var(--gutter) 2rem; }
  .explorer__map { position: relative; top: 0; height: 62vh; height: 62dvh; border-left: 0; border-bottom: 1px solid var(--rule); }
  .view-switch { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(3.75rem + env(safe-area-inset-top, 0px) + .5rem); z-index: 15; margin: .75rem var(--gutter) 0; background: var(--surface); }
  .view-switch button { border: 0; background: transparent; min-height: 2.75rem; font-weight: 600; cursor: pointer; }
  .view-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
  .explorer[data-view="list"] .explorer__map { display: none; }
  .explorer[data-view="map"] .explorer__panel .results, .explorer[data-view="map"] .explorer__panel .results-meta { display: none; }
  .sheet { position: fixed; inset-inline: 0; bottom: calc(4rem + env(safe-area-inset-bottom, 0px)); z-index: 40; max-height: 70vh; overflow: auto; border-radius: 14px 14px 0 0; box-shadow: 0 -10px 40px rgb(0 0 0 / 25%); animation: rise .22s ease-out; }
  .sheet::before { content: ""; display: block; width: 2.5rem; height: 4px; border-radius: 4px; background: var(--rule); margin: -.25rem auto .25rem; }
}
@keyframes rise { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }

/* ---------- moving checklist ---------- */
.mv { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-bottom: 4rem; }
.mv__side { position: sticky; top: calc(4.5rem + env(safe-area-inset-top, 0px)); display: grid; gap: 1.25rem; }
@media (max-width: 900px) { .mv { grid-template-columns: 1fr; } .mv__side { position: static; } }
.profile { display: grid; gap: 1.1rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.15rem; }
.profile fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .45rem; }
.profile legend { font-weight: 700; font-size: .95rem; margin-bottom: .35rem; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: .35rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .35rem .8rem; border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer; font-size: .9rem; background: var(--paper); }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--lamp); outline-offset: 2px; }
.progress { display: grid; gap: .5rem; }
.progress__bar { height: .55rem; background: var(--rule); border-radius: 99px; overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--lamp); transition: width .3s ease; }
.progress__num { font-family: var(--display); font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.progress__num small { font-family: var(--body); font-size: .95rem; color: var(--muted); }
.notice { font-size: .875rem; color: var(--muted); }
.notice--warn { color: var(--danger); }
.phase { display: grid; gap: .25rem; margin-bottom: 2.25rem; }
.phase__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .5rem; margin-bottom: .25rem; }
.phase__head h2 { font-size: var(--step-3); }
.phase__head span { font-family: var(--mono); font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.task { border-bottom: 1px solid var(--rule); }
.task__row { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) auto; gap: .5rem .75rem; align-items: start; padding-block: .85rem; }
.check { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 1.6rem; height: 1.6rem; border: 2px solid var(--ink); border-radius: 50%; margin: 0; cursor: pointer; display: grid; place-items: center; background: var(--surface); }
.check input::after { content: ""; width: .5rem; height: .85rem; border: solid var(--paper); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.check input:checked { background: var(--canal); border-color: var(--canal); }
.check input:checked::after { opacity: 1; border-color: var(--surface); }
.task__title { font-weight: 700; font-size: 1.05rem; line-height: 1.35; padding-top: .55rem; }
.task.is-done .task__title { text-decoration: line-through; text-decoration-color: var(--muted); color: var(--muted); }
.task__summary { color: var(--muted); font-size: .95rem; grid-column: 2 / -1; }
.task__flags { grid-column: 2 / -1; display: flex; gap: .35rem; flex-wrap: wrap; }
.task__more { min-height: 2.75rem; min-width: 2.75rem; border: 1px solid var(--rule); border-radius: var(--radius); background: transparent; cursor: pointer; display: grid; place-items: center; margin-top: .1rem; }
.task__more svg { transition: transform .2s ease; }
.task__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.task__body { grid-column: 2 / -1; display: grid; gap: 1rem; padding: .25rem 0 1.25rem; max-width: 42rem; }
.task__body ol { padding-left: 1.25rem; display: grid; gap: .35rem; }
.task__body .links { display: grid; gap: .25rem; list-style: none; }
.task__body .links a { font-weight: 600; display: inline-flex; min-height: 2.75rem; align-items: center; }
.deadline { color: var(--danger); border-color: currentColor; white-space: normal; }
.confirm { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .9rem; }

/* ---------- guides ---------- */
.problems { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 0 2rem; }
.problems a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; padding-block: 1.1rem; border-top: 1px solid var(--rule); text-decoration: none; align-items: baseline; }
.problems .q { font-family: var(--display); font-size: var(--step-2); line-height: 1.1; }
.problems .t { grid-column: 1; color: var(--muted); font-size: .92rem; }
.problems .go { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 1.3rem; transition: transform .15s ease; }
.problems a:hover .go { transform: translateX(4px); color: var(--lamp-ink); }
.gfilters { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: end; margin-bottom: 1.25rem; }
.gfilters .chips { max-width: 100%; }
.glist { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 2.25rem 1.75rem; }
.gitem a { text-decoration: none; display: grid; gap: .75rem; }
.gitem h3 { font-size: var(--step-2); line-height: 1.1; }
.gitem a:hover h3 { text-decoration: underline; text-decoration-color: var(--lamp); text-decoration-thickness: 2px; }
.gitem p { color: var(--muted); font-size: .95rem; }
.gitem .kicker { display: flex; gap: .75rem; flex-wrap: wrap; }
.glist .gitem:first-child { grid-column: 1 / -1; }
.glist .gitem:first-child a { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.75rem; align-items: center; }
.glist .gitem:first-child h3 { font-size: var(--step-4); }
.glist .gitem:first-child .tcover { aspect-ratio: 16 / 10; }
@media (max-width: 760px) { .glist .gitem:first-child a { grid-template-columns: 1fr; } .glist .gitem:first-child h3 { font-size: var(--step-3); } }

.article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); gap: clamp(2rem, 5vw, 4rem); padding-bottom: 4rem; }
.article__body { display: grid; gap: 2.5rem; max-width: var(--measure); min-width: 0; }
.article__body h2 { font-size: var(--step-3); margin-bottom: .9rem; }
.article__body p + p { margin-top: 1rem; }
.article__body ul.bullets { padding-left: 1.2rem; display: grid; gap: .4rem; margin-top: 1rem; }
.facts { list-style: none; display: grid; gap: .65rem; }
.facts li { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: .5rem; }
.facts li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--canal); margin-top: .62em; justify-self: center; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 2.3rem; line-height: 1; color: var(--lamp-ink); }
.steps h3 { font-family: var(--body); font-size: 1.08rem; font-weight: 700; line-height: 1.3; margin-bottom: .2rem; }
.steps p { color: var(--muted); }
.mistakes { list-style: none; display: grid; gap: .6rem; }
.mistakes li { padding-left: 1.6rem; position: relative; }
.mistakes li::before { content: "✕"; position: absolute; left: 0; color: var(--danger); font-weight: 700; }
.toc { position: sticky; top: calc(5rem + env(safe-area-inset-top, 0px)); align-self: start; display: grid; gap: .5rem; font-size: .92rem; }
.toc ol { list-style: none; display: grid; gap: .1rem; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: .35rem .85rem; text-decoration: none; color: var(--muted); margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover, .toc a.is-here { color: var(--ink); border-left-color: var(--lamp); }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .toc { display: none; } }
.related { display: grid; gap: .5rem; list-style: none; }
.related a { display: flex; justify-content: space-between; gap: 1rem; padding-block: .7rem; border-top: 1px solid var(--rule); text-decoration: none; font-weight: 600; }
.related a span { font-family: var(--mono); font-size: .72rem; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; align-self: center; }
.sources { font-size: .85rem; color: var(--muted); display: grid; gap: .25rem; list-style: none; word-break: break-word; }
.review-note { font-size: .85rem; color: var(--muted); border-top: 1px dashed var(--rule); padding-top: 1rem; }

/* ---------- about ---------- */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding-block: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 2.75rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--body); font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--muted); max-width: 42rem; }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 1.5rem; }
.figures div { border-top: 1px solid currentColor; padding-top: .75rem; }
.figures b { display: block; font-family: var(--display); font-weight: 400; font-size: var(--step-4); line-height: 1; font-variant-numeric: tabular-nums; }
.partners { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; font-family: var(--display); font-size: var(--step-2); }
.handle { font-family: var(--mono); font-size: 1.05rem; user-select: all; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--on-night); padding-block: 3rem 2.5rem; margin-top: 0; }
.foot .wrap { display: grid; gap: 2rem; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }
.foot .nameplate { font-size: 2.6rem; }
.foot p, .foot li { color: color-mix(in srgb, var(--on-night) 72%, transparent); font-size: .92rem; }
.foot ul { list-style: none; display: grid; gap: .1rem; }
.foot a { color: var(--on-night); text-decoration: none; display: inline-flex; min-height: 2.5rem; align-items: center; }
.foot a:hover { text-decoration: underline; }
.foot .kicker { color: color-mix(in srgb, var(--on-night) 60%, transparent); }
.foot small { font-family: var(--mono); font-size: .72rem; color: color-mix(in srgb, var(--on-night) 55%, transparent); }

.toast { position: fixed; left: 50%; bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: .65rem 1rem; border-radius: var(--radius); font-size: .9rem; z-index: 60; box-shadow: var(--shadow); }

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

/* explorer: no-JS details and the floating detail card */
.nojs-detail { display: grid; gap: .35rem; padding: 0 .25rem 1rem 3.9rem; font-size: .92rem; }
.js .nojs-detail { display: none; }
.detail { position: fixed; z-index: 25; right: 1.25rem; top: calc(3.75rem + env(safe-area-inset-top, 0px) + 1.25rem); width: min(25rem, 42vw); max-height: calc(100vh - 7rem); overflow: auto; }
@media (max-width: 860px) {
  .detail { left: 0; right: 0; top: auto; width: auto; max-height: 72vh; max-height: 72dvh; padding: 1rem var(--gutter) 1.25rem; }
}


/* =================================================================== v3 */
.stack-sm { display: grid; gap: .5rem; }
.masthead__cta { display: none; }
@media (min-width: 1000px) { .masthead__cta { display: inline-flex; min-height: 2.5rem; padding: .35rem .9rem; } }
.topnav a { white-space: nowrap; }
@media (max-width: 1000px) and (min-width: 761px) { .topnav a { padding: .7rem .5rem; font-size: .9rem; } }
.tag--free { color: var(--canal); border-color: currentColor; font-weight: 500; }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.pagehead--wide h1 { max-width: 20ch; }

/* hero */
.hero { background: var(--night); color: var(--on-night); overflow: hidden; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% 30%; height: 80%; background: radial-gradient(closest-side, color-mix(in srgb, var(--lamp) 32%, transparent), transparent); z-index: -1; filter: blur(10px); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero__text { display: grid; gap: 1.5rem; align-content: center; }
.hero__kicker { display: flex; gap: 1.25rem; color: color-mix(in srgb, var(--on-night) 65%, transparent); }
.hero__kicker span + span::before { content: "·"; margin-right: 1.25rem; }
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 6.2rem); line-height: .95; letter-spacing: -.03em; max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--lamp); }
.hero__lede { font-size: var(--step-1); max-width: 33rem; color: color-mix(in srgb, var(--on-night) 80%, transparent); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero .btn--ghost { color: var(--on-night); border-color: color-mix(in srgb, var(--on-night) 50%, transparent); }
.hero__stats { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; margin: .5rem 0 0; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--on-night) 20%, transparent); }
.hero__stats div { display: grid; }
.hero__stats dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: color-mix(in srgb, var(--on-night) 60%, transparent); order: 2; }
.hero__stats dd { margin: 0; font-family: var(--display); font-size: 2.2rem; line-height: 1.05; }
.hero__photo { margin: 0; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; max-height: 78vh; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 60%); transform: rotate(1.2deg); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__photo figcaption { position: absolute; left: .75rem; bottom: .75rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; background: rgb(0 0 0 / 55%); color: #f4f2ed; padding: .3rem .55rem; border-radius: 3px; backdrop-filter: blur(6px); }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 1.25rem; }
  .hero__photo { order: -1; aspect-ratio: 4 / 4.2; transform: none; max-height: 60vh; }
  .hero__photo img { object-position: 50% 40%; }
}

/* coming-up rail */
.rail { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(14rem, 1fr); gap: .85rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; scrollbar-width: thin; }
.railcard { scroll-snap-align: start; }
.railcard a { display: grid; gap: .5rem; align-content: start; height: 100%; padding: 1rem 1.1rem 1.1rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.railcard a:hover { transform: translateY(-2px); border-color: var(--ink); }
.railcard__date { display: flex; align-items: baseline; gap: .5rem; }
.railcard__date b { font-family: var(--display); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.railcard__date span { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lamp-ink); }
.railcard__title { font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.railcard__meta { font-size: .875rem; color: var(--muted); }
.railcard .tag { justify-self: start; }
.railcard--more a { background: var(--night); color: var(--on-night); border-color: var(--night); align-content: space-between; }
.railcard--more .railcard__title { font-family: var(--display); font-weight: 400; font-size: 1.7rem; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 3 * .85rem) / 4); } }
.hu-mini { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; padding: .85rem 1rem; background: var(--lamp-wash); border-radius: var(--radius); }
.hu-mini ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.hu-mini li { font-size: .95rem; }
.hu-mini b { font-family: var(--mono); font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--lamp-ink); margin-right: .3rem; }
.hu-mini a { font-weight: 600; display: inline-flex; min-height: 2.75rem; align-items: center; }

/* who we are */
.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.who__photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: .75rem; }
.who__ph { margin: 0; border-radius: 10px; overflow: hidden; }
.who__ph img { width: 100%; height: 100%; object-fit: cover; }
.who__ph--1 { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.who__ph--2, .who__ph--3 { aspect-ratio: 1; }
.who__text { display: grid; gap: 1.1rem; align-content: center; justify-items: start; }
.who__text h2 { font-size: var(--step-4); letter-spacing: -.02em; }
.who__text > p { font-size: 1.1rem; max-width: 34rem; }
.who__voices { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; width: 100%; margin-block: .5rem; }
.who__voices p { font-size: .92rem; }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } .who__voices { grid-template-columns: 1fr; } }

/* tools + article cards */
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.tool { position: relative; display: grid; gap: .6rem; align-content: start; padding: 1.5rem 1.5rem 1.35rem; border-radius: 12px; text-decoration: none; overflow: hidden; isolation: isolate; border: 1px solid var(--rule); background: var(--surface); }
.tool h3 { font-size: var(--step-3); }
.tool p { color: var(--muted); max-width: 30rem; }
.tool .linkarrow { min-height: 0; margin-top: .4rem; }
.tool__icon { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--lamp-wash); color: var(--lamp-ink); }
.tool--places .tool__icon { background: var(--canal-wash); color: var(--canal); }
.tool__icon svg { width: 24px; height: 24px; }
.tool:hover h3 { text-decoration: underline; text-decoration-color: var(--lamp); text-decoration-thickness: 3px; text-underline-offset: .12em; }
@media (max-width: 760px) { .tools { grid-template-columns: 1fr; } }
.artgrid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.artcard { display: grid; gap: .45rem; align-content: start; height: 100%; padding: 1.15rem 1.15rem 1.25rem; border-radius: 12px; text-decoration: none; background: var(--tbg, var(--surface)); border: 1px solid color-mix(in srgb, var(--tfg, var(--rule)) 22%, transparent); transition: transform .15s ease; }
.artcard:hover { transform: translateY(-2px); }
.artcard__topic { font-family: var(--mono); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--tfg, var(--muted)); font-weight: 500; }
.artcard__q { font-family: var(--display); font-size: 1.65rem; line-height: 1.05; letter-spacing: -.01em; }
.artcard__t { font-size: .92rem; color: var(--muted); }
.artcard__m { font-family: var(--mono); font-size: .7rem; color: var(--muted); margin-top: auto; padding-top: .4rem; }
.topic-housing { --tbg: #f6e4d9; --tfg: #9a3f1c; }
.topic-admin { --tbg: #e2e6ee; --tfg: #2c4a7a; }
.topic-health { --tbg: #dcecea; --tfg: #1d6668; }
.topic-money-work { --tbg: #f3e8cc; --tfg: #7d5a0c; }
.topic-getting-around { --tbg: #e3ebdb; --tfg: #2f6b3a; }
.topic-daily-life { --tbg: #ece2ef; --tfg: #6e2d68; }
.topic-study { --tbg: #e5e1f2; --tfg: #4d3c8f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) [class*="topic-"] { --tbg: color-mix(in srgb, var(--tfg) 22%, #1a1d24); --tfg2: 1; } :root:not([data-theme="light"]) .artcard__topic { color: color-mix(in srgb, var(--tfg) 40%, #ffffff); } }
:root[data-theme="dark"] [class*="topic-"] { --tbg: color-mix(in srgb, var(--tfg) 22%, #1a1d24); }
:root[data-theme="dark"] .artcard__topic { color: color-mix(in srgb, var(--tfg) 40%, #ffffff); }

/* work with us */
.work { padding-block: clamp(3rem, 7vw, 6rem); position: relative; overflow: hidden; isolation: isolate; }
.work::before { content: ""; position: absolute; inset: -30% 40% auto -20%; height: 70%; background: radial-gradient(closest-side, color-mix(in srgb, var(--lamp) 22%, transparent), transparent); z-index: -1; }
.work__inner { display: grid; gap: 2.25rem; }
.work__head { display: grid; gap: 1rem; }
.work__head h2 { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .95; letter-spacing: -.03em; max-width: 14ch; }
.work__lede { font-size: var(--step-1); max-width: 40rem; color: color-mix(in srgb, var(--on-night) 80%, transparent); }
.work__figures b { color: var(--lamp); }
.work__figures span { color: color-mix(in srgb, var(--on-night) 75%, transparent); }
.work__asof { margin-top: -1.25rem; }
.work__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); }
@media (max-width: 860px) { .work__grid { grid-template-columns: 1fr; } }
.work__h3 { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: color-mix(in srgb, var(--on-night) 65%, transparent); margin-bottom: .9rem; }
.hl { list-style: none; display: grid; gap: .9rem; }
.hl li { display: grid; gap: .1rem; border-left: 2px solid var(--lamp); padding-left: 1rem; }
.hl b { font-family: var(--display); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.hl span { color: color-mix(in srgb, var(--on-night) 75%, transparent); font-size: .95rem; }
.formats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.formats li { display: grid; gap: .35rem; padding: 1rem 1.1rem; border: 1px solid color-mix(in srgb, var(--on-night) 18%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--on-night) 4%, transparent); }
.formats b { font-size: 1.05rem; }
.formats span { font-size: .92rem; color: color-mix(in srgb, var(--on-night) 72%, transparent); }
@media (max-width: 560px) { .formats { grid-template-columns: 1fr; } }
.work .partners li { color: var(--on-night); }
.work .partners li + li::before { content: "·"; color: var(--lamp); margin-right: 1.5rem; }
.work .partners { gap: .5rem 1.5rem; }
.strip { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; }
.strip li { border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 4; }
.strip li:nth-child(even) { transform: translateY(1rem); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work__cta { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 1rem; }
.work__cta p { max-width: 34rem; font-size: .92rem; color: color-mix(in srgb, var(--on-night) 72%, transparent); }

/* what's on */
.hus-band { background: var(--lamp-wash); padding-block: 1.25rem 1.5rem; border-block: 1px solid color-mix(in srgb, var(--lamp) 40%, transparent); }
.hus-head { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; margin-bottom: .75rem; }
.hus-head p:last-child { font-size: .85rem; color: var(--muted); }
.hus { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(17rem, 22rem); gap: .85rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.hu { scroll-snap-align: start; background: var(--surface); border-radius: 10px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .45rem; border: 1px solid color-mix(in srgb, var(--lamp) 35%, transparent); }
.hu__when { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lamp-ink); font-weight: 500; }
.hu h3 { font-family: var(--body); font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.hu p:not(.hu__when):not(.hu__links) { font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hu__links { display: flex; flex-wrap: wrap; gap: 0 1rem; font-size: .88rem; font-weight: 600; }
.hu__links a { display: inline-flex; min-height: 2.75rem; align-items: center; }

.evwrap { padding-bottom: 3rem; }
.evbar { position: sticky; top: calc(3.75rem + env(safe-area-inset-top, 0px)); z-index: 15; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-block: .85rem .65rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.25rem; display: grid; gap: .6rem; }
.evbar__row { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; }
.evbar__row > .chips { flex: 1 1 auto; min-width: 0; }
.evbar__row--sub { justify-content: flex-start; }
.evbar__search { flex: 1 1 14rem; max-width: 22rem; }
.evbar__search .input { min-height: 2.75rem; }
.seg-switch { display: inline-grid; grid-auto-flow: column; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--surface); }
.seg-switch button { border: 0; background: transparent; min-height: 2.75rem; padding: 0 1rem; font-weight: 600; font-size: .9rem; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.seg-switch button svg { width: 18px; height: 18px; }
.seg-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.evgrid { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.evcal { position: sticky; top: calc(3.75rem + 8.5rem); }
@media (min-width: 1001px) { .seg-switch [data-evview="calendar"] { display: none; } }
@media (max-width: 1000px) {
  .evgrid { grid-template-columns: 1fr; }
  .evcal { position: static; display: none; }
  .evwrap[data-view="calendar"] .evcal { display: block; }
  .evbar { position: static; }
}
.evmap { display: none; }
.evwrap[data-view="map"] .evmap { display: block; }
.evwrap[data-view="map"] #ev-list, .evwrap[data-view="map"] #ev-empty { display: none; }
.evmap .map { height: min(70vh, 40rem); border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); }
.evmap .notice { margin-top: .5rem; }
.cal { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 1rem; display: grid; gap: .6rem; }
.cal__head { display: flex; align-items: center; justify-content: space-between; }
.cal__head h2 { font-size: 1.5rem; }
.cal__head .iconbtn:disabled { opacity: .35; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .25rem; }
.cal__dow span { font-family: var(--mono); font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: center; }
.cal__day { position: relative; aspect-ratio: 1; min-height: 2.75rem; border: 1px solid transparent; border-radius: 8px; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; font-variant-numeric: tabular-nums; }
.cal__day:hover:not(:disabled) { border-color: var(--ink); }
.cal__day.is-past { opacity: .35; cursor: default; }
.cal__day.has-events { background: var(--lamp-wash); font-weight: 700; }
.cal__day.is-today { box-shadow: inset 0 0 0 2px var(--lamp); }
.cal__day.is-selected { background: var(--ink); color: var(--paper); }
.cal__n { font-size: .95rem; }
.cal__c { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cal__dots { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; }
.cal__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--lamp-ink); }
.cal__day.is-selected .cal__dots i { background: var(--lamp); }
.evday { margin-bottom: 1.75rem; }
.evday__h { font-family: var(--body); font-weight: 700; font-size: 1.15rem; display: flex; align-items: baseline; gap: .6rem; padding-bottom: .55rem; border-bottom: 2px solid var(--ink); }
.evday__h span { font-family: var(--mono); font-size: .75rem; font-weight: 400; color: var(--muted); }
.evday > .notice { margin-top: .5rem; }
.evlist { list-style: none; display: grid; }
.ev { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: .5rem 1rem; padding-block: .9rem; border-bottom: 1px solid var(--rule); align-items: start; }
.ev.is-active { background: var(--surface); }
.ev__when { display: grid; gap: .1rem; font-variant-numeric: tabular-nums; }
.ev__when b { font-family: var(--mono); font-size: .82rem; font-weight: 500; }
.ev__when span { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.ev__main { display: grid; gap: .15rem; min-width: 0; }
.ev h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.ev h3 a { text-decoration: none; }
.ev h3 a:hover { text-decoration: underline; text-decoration-color: var(--lamp); }
.ev h3 a::after { content: " ↗"; font-weight: 400; color: var(--muted); font-size: .85em; }
.ev__where { font-size: .9rem; color: var(--muted); }
.ev__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .25rem; }
.ev__tags:empty { display: none; }
@media (max-width: 560px) { .ev { grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: .4rem .75rem; } }
.evsource { font-size: .85rem; color: var(--muted); max-width: 46rem; border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 1rem; }
.evpop { display: grid; gap: .3rem; font-family: var(--body); }
.evpop h3 { font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.25; margin: 0; }
.evpop p { margin: 0 !important; }
.evpop__links { display: flex; gap: 1rem; font-weight: 600; }
.ev-pin .pin { background: var(--lamp-ink); width: 24px; height: 24px; }
.ev-pin .pin.is-free { background: var(--canal); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--surface); color: var(--ink); }
.leaflet-popup-content-wrapper { border-radius: 10px; }
.maplabel { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; display: block; text-align: center; text-shadow: 0 0 3px var(--map-bg), 0 0 3px var(--map-bg); }
.maplabel--town { font-size: 11px; color: var(--ink); }
.leaflet-container .leaflet-control-attribution { background: color-mix(in srgb, var(--surface) 85%, transparent); color: var(--muted); }
.leaflet-container .leaflet-control-attribution a { color: var(--muted); }

/* articles index */
.artshelf { margin-bottom: 2.5rem; }
.artshelf h2 { font-size: var(--step-3); margin-bottom: 1rem; display: flex; align-items: baseline; gap: .75rem; }
.artshelf h2 span { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.hu__links { margin-top: auto; }
.task__flags .tag { white-space: normal; }
@media (max-width: 760px) {
  .evbar__row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .seg-switch { grid-auto-columns: 1fr; width: 100%; }
  .seg-switch button { justify-content: center; }
  .evbar__search { max-width: none; }
}
.artgrid--index { margin-top: 1.5rem; }
.gitem--lead { grid-column: 1 / -1; }
.gitem--lead .artcard { padding: clamp(1.4rem, 4vw, 2.5rem); }
.gitem--lead .artcard__q { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 22ch; }
.artcard__d { color: var(--ink); max-width: 60ch; }
.gitem[hidden] { display: none; }
.ev h3 a { display: block; padding-block: 10px; margin-block: -10px; }
.work__head h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .95; letter-spacing: -.03em; max-width: 14ch; }
.crumbs--dark, .crumbs--dark a { color: color-mix(in srgb, currentColor 70%, transparent); }
.work--page { padding-top: clamp(2rem, 6vw, 4rem); }
.work__aud { margin-top: 2.5rem; }
.work--teaser .work__inner { display: grid; gap: 1.25rem; }
/* Event categories: one colour each, used for list rule, tag, calendar dots, map pins and filter chips */
.c-festival { --evc: #d9480f; }
.c-music { --evc: #7b3fbf; }
.c-culture { --evc: #1c7c9c; }
.c-social { --evc: #2f8f46; }
.c-talks { --evc: #3d5ab5; }
.c-sport { --evc: #c2255c; }
.c-other { --evc: #6b7280; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-festival { --evc: #ff8a50; } :root:not([data-theme="light"]) .c-music { --evc: #b98cf0; } :root:not([data-theme="light"]) .c-culture { --evc: #5ec3e3; } :root:not([data-theme="light"]) .c-social { --evc: #6fcf86; } :root:not([data-theme="light"]) .c-talks { --evc: #8ea6f5; } :root:not([data-theme="light"]) .c-sport { --evc: #f07aa5; } :root:not([data-theme="light"]) .c-other { --evc: #a3a9b5; } }
:root[data-theme="dark"] .c-festival { --evc: #ff8a50; } :root[data-theme="dark"] .c-music { --evc: #b98cf0; } :root[data-theme="dark"] .c-culture { --evc: #5ec3e3; } :root[data-theme="dark"] .c-social { --evc: #6fcf86; } :root[data-theme="dark"] .c-talks { --evc: #8ea6f5; } :root[data-theme="dark"] .c-sport { --evc: #f07aa5; } :root[data-theme="dark"] .c-other { --evc: #a3a9b5; }
.ev[class*="c-"] { box-shadow: inset 3px 0 0 var(--evc); padding-left: .85rem; }
.tag--cat { color: var(--evc); border-color: color-mix(in srgb, var(--evc) 45%, transparent); background: color-mix(in srgb, var(--evc) 10%, transparent); }
.cal__dots i[class*="c-"] { background: var(--evc); }
.ev-pin .pin[class*="c-"] { background: var(--evc); }
.chip--cat { display: inline-flex; align-items: center; gap: .45rem; }
.chip--cat i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--evc); flex: none; }
.chip--cat[aria-pressed="true"] { background: var(--evc); border-color: var(--evc); color: #fff; }
.chip--cat[aria-pressed="true"] i { background: #fff; }
.railcard[class*="c-"] > a { border-top: 3px solid var(--evc); }
/* Special event pages */
.special__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.special__dates { color: var(--lamp-ink); }
.special__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.special__grid ul.tips { display: grid; gap: .75rem; padding-left: 1.1rem; margin-top: .75rem; }
.spcards { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin-block: 1.5rem; }
.spcard { display: grid; gap: .4rem; padding: 1.25rem; border-radius: 12px; text-decoration: none; color: var(--on-night, #f4f2ed); background: linear-gradient(135deg, #1b1f2a, #2b2140); border: 1px solid color-mix(in srgb, var(--lamp) 35%, transparent); height: 100%; }
.spcard__when { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lamp); }
.spcard__t { font-family: var(--display); font-size: 1.9rem; line-height: 1.02; }
.spcard__d { opacity: .85; font-size: .95rem; }
.spcard .linkarrow { color: var(--lamp); margin-top: auto; padding-top: .4rem; }
.leaflet-touch .leaflet-bar a { width: 40px; height: 40px; line-height: 40px; }
/* News */
.newslist { list-style: none; display: grid; gap: 0; max-width: 46rem; margin-block: 1.5rem 2rem; }
.news { padding-block: 1.5rem; border-bottom: 1px solid var(--rule); display: grid; gap: .55rem; }
.news[hidden] { display: none; }
.news__meta { display: flex; gap: .75rem; align-items: center; font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.news__t { font-size: var(--step-2, 1.6rem); line-height: 1.15; }
.news__why { background: color-mix(in srgb, var(--lamp) 12%, transparent); border-left: 3px solid var(--lamp); padding: .6rem .8rem; border-radius: 0 8px 8px 0; }
.news__src { font-size: .92rem; color: var(--muted); }
.news__src a { display: inline-block; padding-block: 10px; margin-block: -10px; }
.news__src span { font-family: var(--mono); font-size: .75rem; }

/* ---------- v5 brand refinements ---------- */
h1, h2, h3, h4 { letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; color: var(--lamp-ink); }
.nameplate { font-size: 1.75rem; letter-spacing: 0; }
.btn { border-radius: 999px; padding-inline: 1.35rem; }
.btn--lamp, .band .btn { color: #1c1e26; }
.tag { border-radius: 999px; padding: .22em .7em; }
.chip { border-radius: 999px; }
.kicker { letter-spacing: .12em; }
/* Hero: full-bleed photo with the carousel slate fade */
.hero { background: var(--night); }
.hero::before { display: none; }
.hero__inner { grid-template-columns: minmax(0, 1fr); min-height: min(86vh, 46rem); align-items: end; position: static; }
.hero__text { position: relative; z-index: 1; }
.hero__photo { position: absolute; inset: 0; z-index: -1; transform: none; border-radius: 0; max-height: none; aspect-ratio: auto; box-shadow: none; margin: 0; }
.hero__photo img { object-position: 50% 55%; }
@media (min-width: 761px) { .hero__photo { left: 38%; } }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(28 30 38 / 100%) 0%, rgb(28 30 38 / 55%) 22%, transparent 50%), linear-gradient(0deg, rgb(28 30 38 / 55%) 0%, transparent 35%); }
.hero__photo figcaption { left: auto; right: var(--gutter); bottom: 1rem; z-index: 1; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 7.4rem); line-height: .9; max-width: 11ch; }
.hero h1 em { color: var(--lamp); }
@media (max-width: 760px) {
  .hero__inner { min-height: 0; padding-top: 0; padding-bottom: 2.25rem; }
  .hero__photo { position: relative; inset: auto; order: -1; height: 56svh; margin-inline: calc(-1 * var(--gutter)); margin-bottom: -5rem; }
  .hero__photo img { object-position: 50% 70%; }
  .hero__photo::after { background: linear-gradient(0deg, rgb(28 30 38 / 100%) 0%, rgb(28 30 38 / 70%) 22%, transparent 55%); }
  .hero__photo figcaption { display: none; }
}
.artcard { border-radius: 16px; }
.artcard__q { font-size: 1.95rem; line-height: 1; }
.tool, .railcard > a, .spcard, .cal { border-radius: 16px; }
.section__head h2 { font-size: var(--step-4); }
/* Search */
.masthead__search, .masthead__saved { position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--rule); color: var(--muted); }
.masthead__search:hover, .masthead__saved:hover { color: var(--ink); border-color: var(--ink); }
.sbox__in { width: 100%; font-size: 1.25rem; padding: 1rem 1.25rem; border-radius: 999px; }
.ask { margin-top: 1.25rem; display: grid; gap: .75rem; justify-items: start; padding: 1.25rem; border-radius: 16px; background: var(--lamp-wash); }
.ask__out { background: var(--surface); padding: 1rem 1.15rem; border-radius: 12px; width: 100%; display: grid; gap: .6rem; }
.ask__out ul { padding-left: 1.1rem; }
.sresults { list-style: none; display: grid; gap: .25rem; margin-block: 1rem 4rem; max-width: 46rem; }
.sres a { display: grid; gap: .2rem; padding: .9rem 1rem; border-radius: 12px; text-decoration: none; border: 1px solid transparent; }
.sres a:hover { background: var(--surface); border-color: var(--rule); }
.sres b { font-size: 1.1rem; }
.sres span:last-child { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------- festival map (DDW zones, GLOW artworks) */
.fmap .dek { max-width: var(--measure); }
.fmap__controls { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin-block: 1rem; }
.fmap__sel { display: grid; gap: .3rem; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); flex: 1 1 18rem; max-width: 26rem; }
.fmap__sel select { min-height: 2.75rem; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink); width: 100%; }
.fmap__route { background: var(--lamp-wash); color: var(--ink); padding: .8rem 1rem; border-radius: var(--radius); margin-block: 0 1rem; line-height: 1.5; }
.fmap__grid { display: grid; gap: 1.25rem; }
@media (min-width: 1000px) { .fmap__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; } .fmap__mapwrap { position: sticky; top: 5rem; } }
.fmap__map { height: min(72vh, 38rem); border-radius: 14px; overflow: hidden; }
@media (max-width: 999px) { .fmap__map { height: 62vh; } }
.fmap__legend { display: flex; gap: 1rem; font-size: .8rem; color: var(--muted); margin: .5rem 0 0; }
.fmap__legend span { display: inline-flex; align-items: center; gap: .35rem; }
.lg { width: .75rem; height: .75rem; border-radius: 50%; display: inline-block; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--rule); }
.lg--free { background: var(--canal); } .lg--ticket { background: var(--lamp); } .lg--zone { background: color-mix(in srgb, var(--lamp) 25%, transparent); border-style: dashed; border-color: var(--lamp-ink); }
.tag--ticket { color: var(--lamp-ink); border-color: currentColor; }

.zones { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.zone details { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.zone details[open] { box-shadow: var(--shadow); }
.zone summary { list-style: none; display: grid; grid-template-columns: auto 1fr; gap: .8rem; padding: .85rem 1rem; cursor: pointer; align-items: start; }
.zone summary::-webkit-details-marker { display: none; }
.zone summary:focus-visible { outline: 2px solid var(--lamp); outline-offset: 2px; border-radius: var(--radius); }
.zone__n { width: 2rem; height: 2rem; border-radius: 50%; background: var(--night); color: var(--lamp); display: grid; place-items: center; font-family: var(--display); font-size: 1.15rem; }
.zone__t { display: grid; gap: .15rem; }
.zone__t b { font-size: 1.02rem; }
.zone__t span { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.zone__t .zone__m { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--lamp-ink); }
.zone__go { margin: 0 1rem; background: none; border: 0; padding: 0; color: var(--lamp-ink); font: inherit; font-weight: 600; cursor: pointer; }
.is-far .fzone-lbl__t { display: none; }
.zone__list { list-style: none; margin: 0; padding: .25rem 1rem 1rem; display: grid; }
.zone__list li { display: grid; grid-template-columns: 2.6rem 1fr auto; gap: .6rem; align-items: center; padding: .45rem 0; border-top: 1px solid var(--rule); font-size: .9rem; }
.zone__list--flat { padding: 0; }
.zone__list--flat li { grid-template-columns: 5.5rem 1fr; }
.zone__code { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.zone__name a { display: inline-block; padding-block: .55rem; margin-block: -.55rem; }
.zone__name small { display: block; color: var(--muted); font-size: .78rem; }
.only-free .zone__list li:not(:has(.tag--free)) { display: none; }

/* Leaflet layers */
path.fzone { fill: var(--lamp); fill-opacity: .1; stroke: var(--lamp-ink); stroke-opacity: .55; stroke-width: 1.5; stroke-dasharray: 5 5; }
.leaflet-interactive.fdot--free, .fdot--free { fill: var(--canal); fill-opacity: .95; stroke: var(--surface); }
.leaflet-interactive.fdot--ticket, .fdot--ticket { fill: var(--lamp); fill-opacity: .95; stroke: var(--surface); }
.leaflet-interactive.fdot--part, .fdot--part { fill: var(--muted); fill-opacity: .95; stroke: var(--surface); }
path.froute { fill: none; stroke: var(--night); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
:root[data-theme="dark"] path.froute { stroke: var(--lamp); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) path.froute { stroke: var(--lamp); } }
.fzone-lbl { display: inline-flex !important; align-items: center; gap: .35rem; white-space: nowrap; width: auto !important; height: auto !important; }
.fzone-lbl__n { width: 28px; height: 28px; border-radius: 50%; background: var(--night); color: var(--lamp); display: grid; place-items: center; font-family: var(--display); font-size: 16px; border: 2px solid var(--lamp); box-shadow: 0 2px 6px rgb(0 0 0 / 30%); flex: none; }
.fzone-lbl__t { background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink); font: 600 12px/1.2 var(--body); padding: .2rem .45rem; border-radius: 6px; box-shadow: 0 1px 3px rgb(0 0 0 / 18%); }
.fzone-lbl--ev .fzone-lbl__t { font-size: 11px; }
.fstop span { width: 28px; height: 28px; border-radius: 50%; background: var(--lamp); color: #1c1e26; display: grid; place-items: center; font: 700 13px/1 var(--body); border: 2px solid var(--surface); box-shadow: 0 2px 6px rgb(0 0 0 / 35%); }
.evpop__note { font-size: .75rem; color: var(--muted); }

/* ---------------------------------------------------------------- type: the printed guide's fonts (v7)
   Bricolage Grotesque, heavy and tight, for headings; Instrument Sans for reading and for the small uppercase labels. */
body { line-height: 1.65; }
h1, h2, h3, h4 { font-weight: 750; letter-spacing: -.025em; line-height: 1.08; font-variation-settings: "opsz" 96; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); max-width: 15ch; }
.work__head h1, .work__head h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.hero h1, .cover h1, .work__head h1, .work__head h2, .pagehead h1, .section__head h2, .who__text h2 { letter-spacing: -.035em; line-height: 1.04; }
.nameplate { font-weight: 800; letter-spacing: -.02em; font-size: 1.5rem; }
.figures b, .railcard__date b, .hl b, .railcard--more .railcard__title, .ledger time, .progress__num, .hero__stats dd, .artcard__q, .problems .q, .partners, .tcover__title, .steps li::before { font-weight: 750; letter-spacing: -.025em; }
.kicker, .tag, .crumbs, .field label, .field .label, .artcard__topic, .hu__when, .railcard__date span, .spcard__when, .work__h3, .zone__t .zone__m, .ev__when b, .cal__dow span, .year b, .voice__label, .hero__photo figcaption, .hero__stats dt, .related a span, .tcover__meta, .hu-mini b, .foot small, .maplabel, .landmark { font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.artcard__m, .zone__code, .ev__when span, .evday__h span, .chip .n, .handle { font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.artcard__q { font-size: 1.4rem; line-height: 1.15; }

/* ---------------------------------------------------------------- our guide (guide.html), styled like the printed PDF:
   orange chapter numbers, heavy headings, month on the left and a pill on the right, cream cards. */
.gb__brand { font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: -.01em; color: var(--lamp-ink, var(--lamp)); }
.hero--cover .gb__brand { color: var(--lamp); }
.gb__cover { padding-block: clamp(2rem, 6vw, 4.5rem) 2rem; display: grid; gap: 1.25rem; border-bottom: 1px solid var(--rule); }
.gb__cover h1, .hero--cover h1 { font-size: clamp(3rem, 9vw, 6.5rem); line-height: .9; letter-spacing: -.045em; font-weight: 800; max-width: none; }
.gb__sub { display: block; font-weight: 500; font-size: .42em; letter-spacing: -.02em; margin-top: .35em; color: var(--lamp-ink); }
.hero--cover .gb__sub { color: var(--lamp); }
.gb__cover .dek { font-size: var(--step-1); color: var(--muted); max-width: 38rem; }
.gb__label { font-family: var(--body); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lamp-ink); }
.hero--cover .gb__label { color: var(--lamp); }
.gb-index { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0 2rem; margin-top: .5rem; }
.gb-index a { display: flex; align-items: baseline; gap: .8rem; padding: .7rem 0; min-height: 2.75rem; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; }
.gb-index a:hover { color: var(--lamp-ink); }
.gb-index span { font-family: var(--display); font-weight: 800; color: var(--lamp-ink); font-variant-numeric: tabular-nums; min-width: 1.6rem; }
.gb__ch { padding-block: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--rule); scroll-margin-top: 4.5rem; }
.gb__ch > h2 { font-size: var(--step-4); display: flex; align-items: baseline; gap: .6rem; letter-spacing: -.035em; }
.gb__n { color: var(--lamp-ink); font-size: .55em; font-weight: 800; letter-spacing: 0; }
.gb__dek { color: var(--muted); font-size: var(--step-1); margin-top: .5rem; max-width: 40rem; }
.gb__meta { font-size: .9rem; color: var(--muted); }
.gb h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.gb h3 a { text-decoration-thickness: 1px; text-underline-offset: 3px; display: inline-block; padding-block: 10px; margin-block: -10px; }
.gb-rows { list-style: none; margin-top: 1.5rem; border-top: 1px solid var(--rule); }
.gb-rows > li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: .35rem 1.25rem; align-items: start; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.gb-rows > li > div { display: grid; gap: .25rem; }
.gb-rows__when { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--lamp-ink); padding-top: .15rem; }
.gb-rows--home > li { box-shadow: inset 3px 0 0 var(--evc, var(--lamp)); padding-left: .9rem; }
.gb-rows--home h3 { font-size: 1.2rem; }
.gb-rows--home h3 a { text-decoration: none; display: inline-block; padding-block: 10px; margin-block: -10px; }
.gb-rows--home h3 a:hover { color: var(--lamp-ink); }
.tag--pill { white-space: nowrap; background: var(--lamp-wash); border-color: transparent; color: var(--lamp-ink); }
.tag--pill.tag--free { background: var(--canal-wash); color: var(--canal); }
.tag--lamp { background: var(--lamp); border-color: var(--lamp); color: #1c1e26; vertical-align: middle; font-size: .62rem; }
@media (max-width: 600px) {
  .gb-rows > li { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .gb-rows > li > .tag { grid-column: 2; justify-self: start; }
}
.gb-cards, .gb-pairs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.gb-cards > li, .gb-pairs > li { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 1.15rem 1.2rem; display: grid; gap: .4rem; align-content: start; }
.gb-pairs--trips > li { border-top: 3px solid var(--lamp); }
.gb-num { list-style: none; counter-reset: gb; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem 2rem; margin-top: 1.5rem; }
.gb-num > li { counter-increment: gb; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .1rem .8rem; align-content: start; }
.gb-num > li::before { content: counter(gb, decimal-leading-zero); grid-row: span 3; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--lamp-ink); }
.gb-group { margin-top: 2rem; }
.gb-group__t { font-size: 1.05rem !important; font-family: var(--body); font-weight: 600; letter-spacing: .08em !important; text-transform: uppercase; color: var(--lamp-ink); }
.gb-group .gb-pairs { margin-top: .9rem; }
.gb-list { list-style: none; margin-top: .9rem; display: grid; gap: .55rem; max-width: 44rem; }
.gb-list li { padding-left: 1.1rem; position: relative; }
.gb-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--lamp); }
.gb__feature { margin-top: 1.5rem; padding: 1.4rem 1.5rem; border-radius: 16px; background: var(--night); color: var(--on-night); display: grid; gap: .45rem; }
.gb__feature .gb__label, .gb__feature .gb__meta { color: color-mix(in srgb, var(--on-night) 75%, transparent); }
.gb__feature .gb__label { color: var(--lamp); }
.gb__feature a { color: inherit; }
.gb__notice { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: 14px; background: var(--lamp-wash); border-left: 4px solid var(--lamp); display: grid; gap: .35rem; }
.gb__end { padding-block: 2.5rem 4rem; display: grid; gap: .75rem; justify-items: start; }

/* ---------------------------------------------------------------- home as the guide's cover */
.hero--cover .gb__brand { font-size: 1.1rem; }
.hero--cover .hero__lede { max-width: 30rem; }
.homeidx { display: grid; gap: 1rem; }
.homeidx h2 { font-size: var(--step-3); }
.tools { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.tool h3 { font-size: 1.45rem; letter-spacing: -.03em; }
.tool p { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------- What's on: calendar with stripes, then picks by category */
.wocal { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 1rem; display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.wocal[hidden] { display: none; }
.wocal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wocal__head h2 { font-size: 1.5rem; }
.wocal__head .iconbtn:disabled { opacity: .3; cursor: default; }
.wocal__dow, .wocal__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.wocal__dow span { font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 .35rem; }
.wocal__weeks { display: grid; border-top: 1px solid var(--rule); }
.wocal__week { grid-template-rows: 2rem repeat(var(--lanes, 0), 1.6rem) 1fr; row-gap: 3px; border-bottom: 1px solid var(--rule); min-height: 5.25rem; padding-bottom: 4px; position: relative; }
.wocal__day { grid-row: 1 / -1; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: .3rem .3rem 0; min-height: 2.75rem; border: 0; border-left: 1px solid var(--rule); background: transparent; text-align: left; cursor: pointer; color: inherit; font: inherit; overflow: hidden; }
.wocal__day:first-child { border-left: 0; }
.wocal__day:hover:not(:disabled) { background: color-mix(in srgb, var(--lamp) 8%, transparent); }
.wocal__day.is-out .wocal__n { opacity: .4; }
.wocal__day.is-past { cursor: default; }
.wocal__day.is-past .wocal__n { opacity: .3; }
.wocal__day.is-selected { background: color-mix(in srgb, var(--lamp) 18%, transparent); }
.wocal__n { font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; flex: none; }
.wocal__day.is-today .wocal__n { background: var(--lamp); color: #1c1e26; }
/* one-day events: a small chip in the day, pushed below the stripes */
.wocal__ev { margin-top: calc(var(--lanes, 0) * (1.6rem + 3px)); font-size: .7rem; font-weight: 600; line-height: 1.25; padding: .15rem .3rem; border-radius: 4px; background: color-mix(in srgb, var(--evc) 14%, transparent); color: var(--ink); border-left: 3px solid var(--evc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wocal__ev + .wocal__ev { margin-top: 0; }
.stripe { grid-row: 2; position: relative; z-index: 1; height: 1.6rem; min-width: 0; margin: 0 2px; padding: 0 .5rem; border: 0; border-radius: 999px; background: var(--evc); color: #fff; font: 600 .74rem/1.6rem var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.stripe.is-cont { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: 0; }
.stripe.is-more { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: 0; }
.wocal .notice { margin-top: .25rem; }
@media (max-width: 640px) {
  .wocal { padding: .6rem; border-radius: 12px; }
  .wocal__week { min-height: 4rem; grid-template-rows: 1.9rem repeat(var(--lanes, 0), 1.35rem) 1fr; }
  .stripe { height: 1.35rem; line-height: 1.35rem; }
  .wocal__ev { margin-top: calc(var(--lanes, 0) * (1.35rem + 3px)); }
  .wocal__ev { font-size: 0; height: 6px; width: 6px; padding: 0; border: 0; border-radius: 50%; background: var(--evc); margin-left: .35rem; }
  .stripe { font-size: .66rem; padding: 0 .35rem; }
}
.wofilter { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; position: sticky; top: calc(3.75rem + env(safe-area-inset-top, 0px)); z-index: 15; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); padding-block: .5rem; }
.wofilter[hidden] { display: none; }
.wofilter .chips { min-width: 0; flex: 1 1 20rem; }
.wocat { margin-top: 2rem; }
.wocat[hidden] { display: none; }
.wocat__head { display: grid; gap: .2rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); }
.wocat__head h2 { font-size: var(--step-2); letter-spacing: -.03em; }
.wocat__head p { color: var(--muted); font-size: .95rem; }
.picks { list-style: none; display: grid; }
.pick { display: grid; grid-template-columns: 3.75rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.pick[hidden] { display: none; }
.pick__date { align-self: start; display: grid; justify-items: center; align-content: start; padding: .45rem 0 .4rem; border-radius: 10px; background: color-mix(in srgb, var(--evc) 12%, var(--surface)); border-top: 3px solid var(--evc); line-height: 1; }
.pick__date b { font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.pick__date span { font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-top: .2rem; color: var(--muted); }
.pick__main { display: grid; gap: .3rem; }
.pick__when { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--lamp-ink); }
.pick h3 { font-size: 1.3rem; letter-spacing: -.025em; }
.pick h3 a { text-decoration: none; display: inline-block; padding-block: 10px; margin-block: -10px; }
.pick h3 a:hover { color: var(--lamp-ink); }
.pick__where { font-size: .92rem; color: var(--muted); }
.pick__body { max-width: 42rem; }
.pick__tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.womap { margin-top: 2rem; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); overflow: hidden; }
.womap summary { cursor: pointer; padding: .9rem 1.1rem; min-height: 2.75rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.womap summary::-webkit-details-marker { display: none; }
.womap summary::after { content: "+"; font-size: 1.3rem; color: var(--lamp-ink); }
.womap[open] summary::after { content: "–"; }
.womap .map { height: min(65vh, 30rem); }

/* ---------------------------------------------------------------- tools: study finder and living cost calculator */
.toolinks { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.toolinks .chip { text-decoration: none; display: inline-flex; align-items: center; }
.tool2 { display: grid; gap: 1.5rem; align-items: start; margin-bottom: 2rem; }
@media (min-width: 960px) { .tool2 { grid-template-columns: minmax(17rem, 22rem) minmax(0, 1fr); } }
.tool2__q[hidden] { display: none; }
.tool2__a { display: grid; gap: 1.25rem; min-width: 0; }
.seg--multi input:checked + span { background: var(--lamp); color: #1c1e26; border-color: var(--lamp); }
.rules { background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--lamp); border-radius: 14px; padding: 1.1rem 1.25rem; display: grid; gap: .6rem; }
.rules h2 { font-size: var(--step-2); }
.rules__list { list-style: none; display: grid; gap: .5rem; }
.rules__list li { padding-left: 1rem; position: relative; }
.rules__list li::before { content: ""; position: absolute; left: 0; top: .65em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--lamp); }
.progs { list-style: none; display: grid; gap: .9rem; }
.prog { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 1.1rem 1.2rem; display: grid; gap: .75rem; }
.prog[hidden] { display: none; }
.prog__head { display: grid; gap: .3rem; }
.prog__inst { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--lamp-ink); }
.prog h3 { font-size: 1.3rem; letter-spacing: -.025em; }
.prog h3 a { text-decoration: none; display: inline-block; padding-block: 10px; margin-block: -10px; }
.prog h3 a:hover { color: var(--lamp-ink); }
.prog__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.prog__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .5rem 1.5rem; margin: 0; }
.prog__facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prog__facts dd { margin: .1rem 0 0; font-weight: 600; }
.prog__more summary { cursor: pointer; font-weight: 600; font-size: .92rem; min-height: 2.75rem; display: flex; align-items: center; }
.prog__more p { font-size: .92rem; color: var(--muted); margin-top: .35rem; }
.budget { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 1.25rem; display: grid; gap: 1rem; }
.budget[hidden] { display: none; }
.budget__total { display: grid; gap: .1rem; padding: 1.1rem 1.25rem; border-radius: 12px; background: var(--night); color: var(--on-night); }
.budget__total span { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lamp); }
.budget__total span + b + span { text-transform: none; letter-spacing: 0; font-size: .95rem; color: color-mix(in srgb, var(--on-night) 75%, transparent); font-weight: 500; }
.budget__total b { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
.budget__lines { width: 100%; border-collapse: collapse; }
.budget__lines thead th { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 0 .4rem; }
.budget__lines thead th:last-child { text-align: right; }
.budget__lines tbody th { text-align: left; font-weight: 600; padding: .6rem .75rem .6rem 0; border-top: 1px solid var(--rule); vertical-align: top; }
.budget__lines tbody th small { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); margin-top: .15rem; }
.budget__lines td { border-top: 1px solid var(--rule); padding: .45rem 0; width: 7.5rem; vertical-align: top; }
.budget__in { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.budget__once h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.budget__once ul { display: grid; gap: .35rem; padding-left: 1.1rem; }
.figtable { width: 100%; border-collapse: collapse; font-size: .92rem; margin-block: .5rem 1rem; }
.figtable th { text-align: left; font-weight: 600; padding: .45rem 1rem .45rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; width: 38%; }
.figtable td { padding: .45rem 0; border-bottom: 1px solid var(--rule); }
.figofficial { font-size: .92rem; padding-left: 1.1rem; margin-block: .25rem 1rem; display: grid; gap: .4rem; }
.budget__end { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.artgrid--next { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); margin-top: 1rem; }
.ourroutes { margin-bottom: 1rem; }
.ourroutes h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.ourroutes ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .75rem; }
.ourroute { width: 100%; height: 100%; text-align: left; display: grid; gap: .3rem; align-content: start; padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--rule); border-top: 3px solid var(--lamp); background: var(--surface); color: inherit; font: inherit; cursor: pointer; }
.ourroute:hover { border-color: var(--lamp); }
.ourroute[aria-pressed="true"] { background: var(--lamp-wash); border-color: var(--lamp); }
.ourroute__t { font-family: var(--display); font-weight: 750; font-size: 1.1rem; letter-spacing: -.02em; }
.ourroute__m { font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--lamp-ink); }
.ourroute__d { font-size: .9rem; color: var(--muted); }
.disclaimer { border: 1px dashed color-mix(in srgb, var(--lamp-ink) 55%, transparent); border-radius: 12px; padding: .8rem 1rem; font-size: .92rem; color: var(--muted); background: color-mix(in srgb, var(--lamp-wash) 45%, transparent); max-width: 52rem; }
.disclaimer b { color: var(--ink); }
.finder { margin-bottom: 1.5rem; }
.finder[hidden] { display: none; }
.finder__q { max-width: 52rem; }
.finder__q fieldset .notice { font-weight: 400; }
.finder__go { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.finder__a { display: grid; gap: 1.25rem; margin-bottom: 2rem; scroll-margin-top: 4.5rem; }
.finder__a[hidden] { display: none; }
.finder__a:focus { outline: none; }
.sgroups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1rem; }
.sgroup { background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--lamp); border-radius: 14px; padding: 1.1rem 1.2rem; display: grid; gap: .65rem; align-content: start; }
.sgroup__kicker { font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--lamp-ink); }
.sgroup h3 { font-size: 1.4rem; letter-spacing: -.03em; }
.sgroup__rank { font-size: .88rem; }
.sgroup__open { font-size: .88rem; margin-block: .6rem 0; }
.sgroup__list summary { cursor: pointer; font-weight: 600; min-height: 2.75rem; display: flex; align-items: center; }
.sgroup__list ul { list-style: none; display: grid; gap: .1rem; margin-block: .25rem .5rem; }
.sgroup__list li { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.sgroup__list li a { display: inline-block; padding-block: 10px; font-weight: 500; }
.sgroup__docs summary { cursor: pointer; font-weight: 600; min-height: 2.75rem; display: flex; align-items: center; gap: .35rem; }
.sgroup__docs summary [data-docs-count] { font-weight: 400; color: var(--muted); }
.sgroup__docs h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-block: 1rem .25rem; }
.docs__list { list-style: none; display: grid; gap: .5rem; padding: 0; }
.docs__list li p { font-size: .88rem; margin: 0 0 0 1.85rem; color: var(--muted); }
.docs__list li p a { display: inline-block; padding-block: 6px; }
.docs__list li.is-done label span { text-decoration: line-through; text-decoration-color: var(--lamp); }
.docs__list li.is-done p { opacity: .6; }
.st-static h3 { margin-top: 1.25rem; font-size: 1.2rem; }
.st-static[hidden] { display: none; }
#co-out:focus, #st-results:focus { outline: none; }
.fmap__gmaps { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
/* My plans, saved articles, calendar buttons */
.iconbtn__badge { position: absolute; top: -4px; right: -4px; min-width: 1.15rem; height: 1.15rem; padding-inline: .25rem; border-radius: 999px; background: var(--lamp); color: #1c1e26; font-size: .68rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.iconbtn__badge[hidden] { display: none; }
.masthead__saved[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
.pick__acts, .guide__acts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.pick__acts[hidden], .guide__acts[hidden] { display: none; }
.pick__acts .chip, .guide__acts .chip { font-size: .82rem; min-height: 2.5rem; padding-inline: .8rem; text-decoration: none; color: inherit; }
.pick__acts .chip svg, .guide__acts .chip svg { width: 16px; height: 16px; flex: none; }
.pick__acts .chip[aria-pressed="true"] svg, .guide__acts .chip[aria-pressed="true"] svg { fill: currentColor; }
.pick__acts .chip[aria-pressed="true"], .guide__acts .chip[aria-pressed="true"] { color: var(--paper); }
.me { display: grid; gap: 2.5rem; margin-bottom: 4rem; max-width: 52rem; }
.me__block { display: grid; gap: .9rem; }
.me__block:focus { outline: none; }
.me__head { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; }
.me__recs { display: grid; gap: 1.75rem; }
.me__recs:empty { display: none; }
.plans { list-style: none; display: grid; gap: .6rem; }
.plans:empty { display: none; }
.plan { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: .9rem 1rem; display: grid; gap: .2rem; }
.plan h3 { font-size: 1.15rem; }
.plan h3 a { text-decoration: none; }
.plan__when { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--lamp-ink); }
.plan__where { color: var(--muted); font-size: .92rem; }
/* Article steps you can tick off */
.step__tick { display: inline-flex; gap: .6rem; align-items: center; min-height: 2.5rem; cursor: pointer; }
.step__tick input { width: 1.25rem; height: 1.25rem; accent-color: var(--ink); flex: none; }
.steps li.is-done h3 span { text-decoration: line-through; text-decoration-color: var(--lamp); }
.steps li.is-done p { opacity: .6; }
/* Open days */
.c-study { --evc: #a8650a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-study { --evc: #f2b950; } }
:root[data-theme="dark"] .c-study { --evc: #f2b950; }
.linkset { margin-top: 1rem; border-top: 1px solid var(--rule); }
.linkset summary { cursor: pointer; font-weight: 600; min-height: 2.75rem; display: flex; align-items: center; gap: .4rem; }
.linkset h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-block: 1.25rem .5rem; }
.related--quiet a { font-weight: 500; }
.work__aud .work__asof { margin-top: .75rem; }
.band .btn--ghost { color: var(--on-night); }
.linkset summary, .sgroup__list summary, .sgroup__docs summary { list-style: none; justify-content: space-between; }
.linkset summary::-webkit-details-marker, .sgroup__list summary::-webkit-details-marker, .sgroup__docs summary::-webkit-details-marker { display: none; }
.linkset summary::after, .sgroup__list summary::after, .sgroup__docs summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; margin-left: auto; padding-left: .75rem; transition: transform .2s ease; }
.linkset[open] summary::after, .sgroup__list[open] summary::after, .sgroup__docs[open] summary::after { transform: rotate(45deg); }
@media (max-width: 600px) {
  .related a { flex-direction: column; gap: .15rem; }
  .related a span { align-self: flex-start; }
}
@media (max-width: 600px) { .work--teaser .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; } .work--teaser .work__asof { margin-top: 0; } }
/* work with us page */
.work__hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.work__hero .work__cta { margin-top: .5rem; }
.work__photos { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); }
.work__photo { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 20px 50px rgb(0 0 0 / .35); }
.work__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work__photo--1 { grid-column: 1 / 5; grid-row: 1; }
.work__photo--2 { grid-column: 4 / 7; grid-row: 1; align-self: end; transform: translateY(12%); border: 3px solid var(--night, #1c1e26); }
@media (max-width: 860px) { .work__hero { grid-template-columns: 1fr; } .work__photos { max-width: 30rem; } }
.work__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--on-night) 15%, transparent); }
.work__stats .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.work__stats .figures b { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.work__stats .figures span { font-size: .88rem; }
.work__stats .work__asof, .work--page .work__asof { margin-top: .9rem; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--on-night) 55%, transparent); }
@media (max-width: 860px) { .work__stats { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .work__stats .figures { gap: .6rem; } .work__stats .figures b { font-size: 1.5rem; } .work__stats .figures span { font-size: .8rem; } }
.work--page .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .work--page .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.work__contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 16px; background: color-mix(in srgb, var(--on-night) 6%, transparent); border: 1px solid color-mix(in srgb, var(--on-night) 15%, transparent); margin-top: 1.5rem; }
.work__contact-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: .75rem; }
.work__contact p { color: color-mix(in srgb, var(--on-night) 75%, transparent); max-width: 34rem; margin-bottom: 1rem; }
@media (max-width: 760px) { .work__contact { grid-template-columns: 1fr; } }
.work--page .strip li:nth-child(even) { transform: none; }
@media (max-width: 760px) { .work .partners { flex-direction: column; gap: .25rem; } .work .partners li + li::before { content: none; } }
.gb__ask { display: flex; flex-wrap: wrap; gap: .6rem; }
/* Our guide: full page width like the other pages, photos from the printed guide */
.gb__cover .dek, .gb__dek { max-width: 42rem; }
.gb__coverphoto { margin: .5rem 0 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; }
.gb__coverphoto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; display: block; }
.gb__photos { list-style: none; display: grid; gap: .75rem; margin-top: 1.75rem; grid-template-columns: repeat(3, minmax(0, 17rem)); }
.gb__photos--1 { grid-template-columns: minmax(0, 1fr); }
.gb__photos.gb__photos--1 li { aspect-ratio: 2 / 1; }
.gb__photos.gb__photos--1 img { object-position: 50% 55%; }
.gb__photos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gb__photos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gb__photos li { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.gb__photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) { .gb__photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; } .gb__photos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gb__photos--1 { grid-template-columns: 1fr; } .gb__photos.gb__photos--1 li { aspect-ratio: 4 / 3; } }
.totop { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 2.9rem; height: 2.9rem; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgb(0 0 0 / .15); }
.totop[hidden] { display: none; }
.totop:hover { border-color: var(--ink); }
@media (max-width: 760px) { .totop { bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); } }
.gb h3 a[target="_blank"]::after, .gb-list a[target="_blank"]::after { content: " ↗"; font-size: .75em; color: var(--muted); }
.gb-list b a { display: inline-block; padding-block: 10px; margin-block: -10px; }

/* Article photos: wide crop so the text starts sooner, lined up with the page edges */
.pagehead + .photo { aspect-ratio: 21 / 9; max-width: none; margin: 0 0 1.5rem; }

/* Dark mode: calendar stripes keep readable text on light stripe colours */
:root[data-theme="dark"] .stripe.c-festival, :root[data-theme="dark"] .stripe.c-culture { color: #15171e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stripe.c-festival, :root:not([data-theme="light"]) .stripe.c-culture { color: #15171e; } }

/* Map popup listing several events at one venue */
.evpop__list { list-style: none; margin: .5rem 0 0; padding: 0; max-height: 14rem; overflow: auto; display: grid; gap: .5rem; }
.evpop__list li { border-top: 1px solid var(--rule); padding-top: .4rem; }
.evpop__list h3 { font-size: .95rem; margin: 0; }

/* Guide items that are also on the Places map */
.gb__map { display: inline-flex; align-items: center; min-height: 2.5rem; white-space: nowrap; font-size: .85rem; font-weight: 600; color: var(--lamp-ink); text-decoration: none; margin: -.5rem 0 -.5rem .35rem; padding: 0 .25rem; }
.gb__map::before { content: '\25CE '; }
.gb__map:hover { text-decoration: underline; }
