/* Explore Peterborough guide. Font sizes are in rem so the text-size control can scale
   everything from the root; spacing stays in px so layouts keep their shape.
   The look follows the design mockup: navy ground, dark panels, amber accents, pill buttons,
   Bricolage Grotesque for headings and Instrument Sans for everything else. */

:root {
  --night: #12232e;
  --panel: #1a2d3b;
  --panel2: #203647;
  --line: #2c475b;
  --ink: #eefbfb;
  --muted: #9fc3d6;
  --amber: #007cc7;
  --amber-hov: #1a8fd6;
  --on-amber: #ffffff;
  --cream: #f7f4ec;
  --dark: #12232e;
  --faint: #ffffff17;        /* card borders */
  --faint-2: #ffffff25;      /* button borders */
  --wash: #ffffff10;         /* hover fills */
  --wash-2: #ffffff12;
  --map-ground: #d9e0d8;     /* the map is light inside the dark chrome */
  --copy: #d6eaee;           /* long reading text */
  --focus: #4da8da;
  --amber-text: #4da8da;      /* amber as words, not as a button's ground */
  --serif: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Instrument Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 15px 45px #0002;
  --shadow-lg: 0 24px 70px #0003;
}

/* Light mode: the same layout on an off-white ground, white panels and navy words. Amber stays the
   buttons' ground; as words it is a deeper amber, since the bright one cannot be read on white. */
:root[data-theme="light"] {
  --night: #f2f6f8;
  --panel: #ffffff;
  --panel2: #f7f9fa;
  --line: #d7e0e6;
  --ink: #102431;
  --muted: #506472;
  --amber: #007cc7;
  --amber-hov: #1a8fd6;
  --amber-text: #006aa8;
  --on-amber: #102431;
  --dark: #102431;
  --faint: #1024311a;
  --faint-2: #10243130;
  --wash: #1024310a;
  --wash-2: #10243110;
  --copy: #304350;
  --focus: #102431;
  --shadow: 0 15px 45px #10243114;
  --shadow-lg: 0 24px 70px #1024311f;
  color-scheme: light;
}
:root[data-theme="light"] .searchbox { border: 1px solid var(--line); box-shadow: var(--shadow); }
:root[data-theme="light"] .searchbox button { background: #102431; }
:root[data-theme="light"] .pill[aria-current="page"], :root[data-theme="light"] .pill[aria-expanded="true"] { border-color: #006aa866; }
:root[data-theme="light"] .brandmark { border-color: #006aa880; }
:root[data-theme="light"] .top { background: #ffffffee; border-bottom-color: var(--line); }
:root[data-theme="light"] .bottomnav { background: #fffffff4; border-top-color: var(--line); }
:root[data-theme="light"] .bottomnav a { color: var(--muted); }
/* Words over a photograph, or over the dark panel a business has instead, keep the dark theme's colours. */
:root[data-theme="light"] .dp-hero:not(.dp-hero--plain) { --ink: #f3f7f9; --copy: #c7d4dc; --muted: #a5b9c6; --faint: #ffffff17; --faint-2: #ffffff40; --wash: #ffffff14; --amber-text: #007cc7; --focus: #007cc7; color: var(--ink); }
:root[data-theme="light"] .brandmark::before, :root[data-theme="light"] .brandmark::after { border-color: #006aa860; }

/* High contrast is its own set of colours, not a filter over the page: black ground,
   white text and lines, and an amber that still reads on black. */
:root[data-contrast="high"] {
  --night: #000000;
  --panel: #000000;
  --panel2: #0d0d0d;
  --line: #ffffff;
  --ink: #ffffff;
  --muted: #eaf1f5;
  --amber: #007cc7;
  --amber-text: #007cc7;
  --amber-hov: #1a8fd6;
  --on-amber: #000000;
  --faint: #ffffff;
  --faint-2: #ffffff;
  --wash: #262626;
  --wash-2: #262626;
  --copy: #ffffff;
  --focus: #ffffff;
  --shadow: none;
  --shadow-lg: none;
}
:root[data-contrast="high"] main :is(a:not([class]), .textlink, .back-link, .strong-link, .card__link, .pop__link) { text-decoration: underline; }
:root[data-contrast="high"] :is(.card, .blk, .map-frame, .experience, .info-tile, .photo, .fact, .chip, .btn--outline, .pop__panel, .lightbox, .searchbox) { border-color: #ffffff; }
:root[data-contrast="high"] :focus-visible { outline-width: 3px; }

/* The scrollbar's space is kept on every page, so a short page with no scrollbar
   does not sit a few pixels to the right of a long one. */
html { font-size: 100%; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
html[data-size="1"] { font-size: 115%; }
html[data-size="2"] { font-size: 130%; }

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--ink);
  font: .9375rem/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
main:focus { outline: none; }

a { color: var(--amber-text); text-decoration: none; }
a:hover { color: var(--amber-hov); text-decoration: underline; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-left: clamp(18px, 5vw, 76px); padding-right: clamp(18px, 5vw, 76px); }
.page, .wrap--home { padding-top: 42px; padding-bottom: 80px; }
.page { display: flex; flex-direction: column; gap: 24px; }
.page--detail { padding-top: 28px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--on-amber); font-weight: 700; padding: 12px 16px; border-radius: 99px;
}
.skip-link:focus { top: 8px; color: var(--on-amber); }

/* ----------------------------------------------------------------- top bar */

.top {
  position: sticky; top: 0; z-index: 10; height: 74px; padding: 0 clamp(18px, 5vw, 76px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #0f222eef; border-bottom: 1px solid #ffffff12;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
:root[data-contrast="high"] .top { background: #000; border-bottom-color: #fff; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font: 700 1.25rem var(--serif); letter-spacing: -.5px; white-space: nowrap; min-height: 44px; }
.brand:hover { color: var(--ink); text-decoration: none; }
/* The mark: three rings, the middle one solid amber. */
.brandmark { flex: none; display: block; width: 30px; height: 30px; border: 1px solid #007cc780; border-radius: 50%; position: relative; }
.brandmark::before, .brandmark::after { content: ''; position: absolute; border: 1px solid #007cc760; border-radius: 50%; inset: 5px; }
.brandmark::after { inset: 11px; background: var(--amber); border: 0; }

.topnav { display: flex; gap: 6px; }
.navbtn {
  display: inline-flex; align-items: center; padding: 10px 14px; min-height: 44px; border: 0; border-radius: 99px;
  background: transparent; color: var(--muted); font-weight: 600; white-space: nowrap;
}
.navbtn:hover { background: var(--wash); color: var(--ink); text-decoration: none; }
.navbtn.active { background: var(--wash); color: var(--amber-text); }

.topright { display: flex; gap: 10px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; min-height: 40px;
  border: 1px solid #ffffff20; border-radius: 99px; background: transparent;
  font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.pill:hover { color: var(--ink); border-color: #ffffff50; text-decoration: none; }
.pill[aria-current="page"], .pill[aria-expanded="true"] { color: var(--amber-text); border-color: #007cc780; }
.pill--saved span:first-child { color: var(--amber-text); }
.pill__count { background: var(--amber); color: var(--on-amber); font-weight: 700; padding: 0 7px; border-radius: 99px; letter-spacing: 0; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* A small panel that opens under a pill in the top bar: the accessibility controls, and the menu on a phone. */
.pop { position: relative; }
.pop__panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; min-width: 240px;
  background: var(--panel); border: 1px solid #ffffff2a; border-radius: 16px; padding: 14px;
  box-shadow: 0 20px 60px #0008; display: flex; flex-direction: column; gap: 8px;
}
.pop__title { font: 600 1rem var(--serif); margin-bottom: 2px; }
.pop__link { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 99px; color: var(--ink); font-weight: 600; }
.pop__link:hover { background: var(--wash); color: var(--ink); text-decoration: none; }
.pop__link[aria-current="page"] { color: var(--amber-text); }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; font-size: .8125rem; color: var(--muted); }
.a11y-sizes { display: inline-flex; gap: 4px; }
.a11y-btn {
  min-width: 40px; min-height: 40px; padding: 0 8px; border: 1px solid var(--faint-2); border-radius: 99px;
  background: transparent; color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.a11y-btn--s0 { font-size: .75rem; }
.a11y-btn--s1 { font-size: .9375rem; }
.a11y-btn--s2 { font-size: 1.125rem; }
.a11y-btn:hover { border-color: var(--amber-text); }
.a11y-btn[aria-pressed="true"] { background: var(--amber); border-color: var(--amber-text); color: var(--on-amber); }
.a11y-switch {
  min-height: 44px; padding: 10px 14px; border: 1px solid var(--faint-2); border-radius: 99px; background: transparent;
  color: var(--ink); font-weight: 600; font-size: .8125rem; text-align: left; display: flex; justify-content: space-between; gap: 8px;
}
.a11y-switch:hover { border-color: var(--amber-text); }
.a11y-switch[aria-pressed="true"] { border-color: var(--amber-text); color: var(--amber-text); }
.menu-toggle { display: none; }
/* Pills in the top bar are buttons too, and the browser's own button text colour must not win. */
.pill--btn { color: var(--muted); cursor: pointer; }
.pill--btn:hover { color: var(--ink); }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 13px 19px; border: 0; border-radius: 99px;
  font-weight: 700; line-height: 1.25; cursor: pointer; text-decoration: none; transition: .2s; white-space: nowrap;
}
.header-map__short { display: none; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--amber); color: var(--on-amber); }
.btn--primary:hover { background: var(--amber-hov); color: var(--on-amber); transform: translateY(-1px); }
.btn--outline, .btn--outline-dark, .btn--dark, .btn--onphoto { background: var(--wash-2); border: 1px solid var(--faint-2); color: var(--ink); }
.btn--outline:hover, .btn--outline-dark:hover, .btn--dark:hover, .btn--onphoto:hover { background: #ffffff1e; border-color: #ffffff45; color: var(--ink); }
.btn--quiet { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn--quiet:hover { color: var(--ink); border-color: var(--muted); }
.btn--sm { padding: 9px 13px; min-height: 40px; font-size: .8125rem; }
.btn[aria-pressed="true"] { border-color: var(--amber-text); color: var(--amber-text); }
.btn-row, .split { display: flex; gap: 10px; flex-wrap: wrap; }
.split--centre { justify-content: center; }

.eyebrow { display: block; font-size: .6875rem; text-transform: uppercase; letter-spacing: .17em; color: var(--amber-text); font-weight: 700; }
.textlink { display: inline-flex; align-items: center; border: 0; background: none; color: var(--amber-text); font-weight: 700; padding: 0; min-height: 24px; white-space: nowrap; }
.textlink:hover { color: var(--amber-hov); }
.textlink--quiet { color: var(--muted); font-weight: 600; }
.textlink--quiet:hover { color: var(--ink); }
.back-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-weight: 600; }
.back-link:hover { color: var(--ink); text-decoration: none; }
/* Where the page sits: "Home › What's on › Event", one small line above the page's content. */
.crumbs { padding-top: 14px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.crumbs li { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; }
.crumbs li + li::before { content: "›"; margin-right: 4px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: none; }
.crumbs [aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(60vw, 420px); }
.crumbs + .page { padding-top: 6px; }
.arrow { color: var(--amber-text); }

.badge {
  position: absolute; z-index: 2; left: 14px; top: 14px;
  background: #0f222edf; border: 1px solid #ffffff35; color: #fff; padding: 7px 9px; border-radius: 99px;
  font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; font-weight: 500;
}
/* A tile's badges side by side: what the picture is, and how many years the spot has been pictured in. */
.photo__badges { position: absolute; z-index: 2; left: 14px; top: 14px; display: flex; gap: 6px; }
.photo__badges .badge { position: static; }
.badge--years { color: var(--amber-text); border-color: #007cc766; }

/* ---------------------------------------------------------------- headings */

.h1 { font: 700 clamp(44px, 7vw, 88px)/.98 var(--serif); letter-spacing: -.055em; margin: 18px 0; text-wrap: balance; }
.h2 { font: 700 clamp(32px, 4vw, 54px)/1 var(--serif); letter-spacing: -.045em; margin: 10px 0; text-wrap: balance; }
.h2--sm { font-size: clamp(26px, 3vw, 34px); }
.h3 { font: 600 1.375rem/1.12 var(--serif); letter-spacing: -.025em; margin: 0; }
.sub { color: var(--muted); line-height: 1.65; max-width: 560px; font-size: 1rem; }
.muted { color: var(--muted); }
.sectionhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 54px 0 20px; }
.sectionhead .h2 { margin: 10px 0 0; }
.sectionhead--tight { margin: 32px 0 16px; }
.screenhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 4px; }
.screenhead .h2 { margin: 10px 0; }
.screenhead .sub { margin: 0; }
.screenhead--tight .h2 { margin-bottom: 0; }
.minor-heading { font: 700 .6875rem var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--amber-text); }
.note { font-size: .8125rem; color: var(--muted); }

/* -------------------------------------------------------------------- hero */

.homehero { display: grid; grid-template-columns: .92fr 1.08fr; gap: 42px; align-items: center; min-height: 520px; }
.hero-copy { padding: 15px 0; }
.hero-copy .sub { max-width: 410px; }

.searchbox {
  display: flex; gap: 12px; align-items: center; background: #fff; color: var(--dark); border-radius: 16px;
  padding: 8px 9px 8px 18px; max-width: 510px; margin: 27px 0 20px; box-shadow: var(--shadow); border: 1px solid transparent;
}
.searchbox > span { color: #596a75; }
.searchbox input { border: 0; outline: 0; flex: 1; min-width: 0; padding: 9px; color: var(--dark); background: transparent; }
.searchbox input::placeholder { color: #596a75; }
.searchbox input:focus-visible { outline: 2px solid var(--night); outline-offset: -2px; border-radius: 8px; }
.searchbox button { border: 0; border-radius: 11px; background: var(--night); padding: 12px 16px; color: #fff; font-weight: 700; min-height: 44px; }
.searchbox button:hover { background: #1b3343; }
.searchbox--page { margin: 0 0 8px; }

.shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.shortcut {
  display: flex; align-items: center; gap: 9px; min-height: 46px; border: 1px solid #ffffff26; color: var(--muted); background: #ffffff08;
  padding: 9px 14px; border-radius: 99px; font-size: .8125rem; white-space: nowrap; min-width: 0;
}
.shortcut:hover { border-color: var(--amber-text); color: var(--ink); text-decoration: none; }
.shortcut svg { flex: none; color: var(--amber-text); }
@media (max-width: 520px) { .shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------- cards */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--faint); border-radius: 18px; background: var(--panel); color: var(--ink);
  transition: transform .22s, border-color .22s;
}
.card:hover { transform: translateY(-4px); border-color: #007cc780; }
/* The card's picture. (A gallery tile is also a .photo, as a <figure>; these rules are the card's only.) */
.card > .photo { height: 195px; position: relative; overflow: hidden; background: #2c4250; flex: none; }
.card > .photo img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; display: block; transition: transform .5s; }
.card:hover > .photo img { transform: scale(1.04); }
.card > .photo::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #0a182299); pointer-events: none; }
.cardbody { padding: 17px; display: flex; flex-direction: column; flex: 1; }
.cardbody .muted { font-size: .8125rem; margin: 7px 0 0; }
.cardbody .h3 a { color: inherit; }
.cardbody .h3 a:hover { text-decoration: underline; color: inherit; }
.cardfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; font-size: .8125rem; }
.cardfoot .muted { margin: 0; }
/* The foot's own link is a finger-sized target without the foot growing to match. */
.cardfoot a.textlink { min-height: 44px; margin: -10px 0; }
/* The title link covers the whole card, so the picture is clickable without a second link. */
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cardfoot a, .fav, .media-caption { position: relative; z-index: 2; }
.card__when { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-text); margin-bottom: 8px; }

/* Marks the first card of a new month in a listing that has no month headings. */
.card__month {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 6px 11px; border-radius: 99px;
  background: var(--amber); color: var(--on-amber); font: 700 .75rem/1.3 var(--sans);
}
.card__month--raised { bottom: calc(.75rem * 1.5 + 18px); }

/* Where a picture would be when there is none: the panel's colours with a label and a name. */
.plain-art {
  position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  background: linear-gradient(145deg, #1e384a, #152936); color: var(--ink);
}
.plain-art__kicker { font-size: .6875rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--amber-text); }
.plain-art__name { font: 600 1.375rem/1.15 var(--serif); letter-spacing: -.025em; text-wrap: balance; overflow-wrap: anywhere; }
.plain-art ~ .card__month { top: 14px; bottom: auto; }

/* A business's logo: shown whole on a light ground, not cropped to fill the frame. */
.card > .photo--logo { background: var(--cream); }
.card > .photo--logo img { object-fit: contain; padding: 28px; }
.card > .photo--logo::after { display: none; }
.card:hover > .photo--logo img { transform: none; }

/* Says what a picture is when it is not a picture of the card's own subject. */
.media-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 6px 14px;
  background: #0f222ed9; color: var(--ink); font-size: .75rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.fav {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #ffffff35; background: #0f222edf; color: #fff; font-size: 1.125rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.fav:hover { border-color: var(--amber-text); }
.fav[aria-pressed="true"] { background: var(--amber); border-color: var(--amber-text); color: var(--on-amber); }

/* ------------------------------------------------------------------- chips */

.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  border: 1px solid #ffffff26; background: #ffffff08; color: var(--muted);
  font-size: .8125rem; font-weight: 700; padding: 9px 13px; border-radius: 99px;
}
.chip:hover { border-color: var(--amber-text); color: var(--ink); text-decoration: none; }
.chip[aria-current="page"] { background: var(--amber); border-color: var(--amber-text); color: var(--on-amber); }
/* A tick as well as the fill, so the chosen chip is not marked by colour alone. */
.chip[aria-current="page"]::before { content: "✓"; }
.chip__count { font-size: .6875rem; font-weight: 700; color: var(--muted); }
.chip[aria-current="page"] .chip__count { color: var(--on-amber); }

/* ---------------------------------------------------------- the dark band */

.experience {
  background: linear-gradient(120deg, #213a4a, #162936); border: 1px solid #ffffff1a; border-radius: 22px; padding: 27px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 54px;
}
.experience__title { margin-top: 8px; }
.experience .muted { margin-top: 6px; font-size: .9375rem; max-width: 560px; }
.experience .btn span { color: var(--amber-text); }

.empty {
  border: 1px dashed #ffffff35; border-radius: 16px; text-align: center; padding: 40px 20px; color: var(--muted); line-height: 1.6;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty .h3 { color: var(--ink); }
.empty__icon { font-size: 2rem; color: var(--amber-text); line-height: 1; }

/* ---------------------------------------------------------------- map frame */

/* A live map in a frame, over a bar that names the place and links to the full map.
   The bar is all there is without script, or when the frame cannot load; the script
   adds the view above it. The guard lies over the map until the visitor asks for it,
   so a finger or a wheel scrolling the page is never caught inside the map.
   The map is light, so the frame gives it a dark rounded border like the mockup's. */
.map-frame { position: relative; min-width: 0; background: var(--panel); border: 1px solid #ffffff1c; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.map-frame__view { position: relative; aspect-ratio: 16 / 10; background: var(--map-ground); }
.map-frame--wide .map-frame__view { aspect-ratio: auto; height: clamp(400px, 64vh, 640px); }
.map-frame__view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* Over the frame until the map has drawn itself, so a half-built map is never what shows. */
.map-frame__status { position: absolute; inset: 0; z-index: 1; background: var(--map-ground); display: flex; align-items: center; justify-content: center; padding: 16px; font-size: .875rem; color: #394a55; text-align: center; }
.map-frame__guard {
  position: absolute; inset: 0; z-index: 2; width: 100%; padding: 16px; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: flex-end; justify-content: center;
}
.map-frame__guard span {
  background: #0f222eed; color: #fff; font-size: .8125rem; font-weight: 700; line-height: 1.25;
  padding: 10px 14px; border-radius: 99px; border: 1px solid #ffffff22;
}
.map-frame__guard:hover span { background: var(--night); border-color: var(--amber-text); }
.map-frame__guard:focus-visible { outline-offset: -4px; }
.map-frame__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px;
  background: #0f222eed; color: #fff; text-decoration: none;
}
.map-frame__bar:hover { color: #fff; text-decoration: none; }
.map-frame__bar:hover .map-frame__go { color: var(--amber-hov); transform: translate(2px, -2px); }
.map-frame__view + .map-frame__bar { border-top: 1px solid #ffffff22; }
.map-frame__label { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.map-frame__label strong { font: 600 1.0625rem var(--serif); letter-spacing: -.02em; }
.map-frame__label small { font-size: .8125rem; color: var(--muted); }
.map-frame__go { font-size: 1.125rem; color: var(--amber-text); transition: .2s; }
/* Enlarge map, on the map's top right, dressed like the map's own 2D button opposite it. */
.map-frame__enlarge {
  position: absolute; top: 10px; right: 12px; z-index: 3; min-height: 44px; padding: 0 16px;
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; border-radius: 99px;
  background: #13181b; color: #fff; font: 600 .875rem/1.2 var(--sans); white-space: nowrap;
  box-shadow: 0 2px 8px rgba(18, 25, 30, .28);
}
.map-frame__enlarge:hover { border-color: var(--amber-text); }
/* Enlarged: the same frame laid over a dimmed page, most of the screen, the page kept still behind it. */
html.map-is-enlarged { overflow: hidden; }
.map-scrim { position: fixed; inset: 0; z-index: 900; background: #09131acc; }
.map-scrim[hidden] { display: none; }
.map-frame.is-enlarged { min-height: 480px; }
html .map-frame.is-enlarged > .map-frame__view {
  position: fixed; z-index: 901; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(80vw, 1600px); height: 86vh; height: 86dvh; min-height: 0; aspect-ratio: auto;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
}
@media (max-width: 760px) {
  html .map-frame.is-enlarged > .map-frame__view { width: calc(100vw - 16px); height: calc(100vh - 16px); height: calc(100dvh - 16px); border-radius: 14px; }
}
.go__open { align-self: flex-start; }
.go__open[hidden] { display: none; }

/* The home page's map: tall and rounded, the bar laid over its foot, the hero picture behind until the map arrives. */
.map-frame--hero { height: 470px; border-radius: 24px; box-shadow: var(--shadow-lg); }
.map-frame__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-frame--hero .map-frame__view { position: absolute; inset: 0; aspect-ratio: auto; }
.map-frame--hero .map-frame__guard { align-items: flex-start; justify-content: flex-start; }
.map-frame--hero .map-frame__bar {
  position: absolute; z-index: 3; bottom: 18px; left: 18px; right: 18px; border: 1px solid #ffffff22; border-radius: 15px;
}

/* ------------------------------------------------------------ detail pages */

/* One format: a hero, then blocks (partials/rows.php). Written for a phone first: one block under
   another. From 900px the blocks sit two to a row and each pair is one height; a block left on its
   own takes the whole row. Every block is a panel, so where one side has less to say the space is
   inside its panel, not a hole in the page. */
.dp-hero { position: relative; overflow: hidden; border-radius: 22px; background: var(--panel); color: var(--ink); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
.dp-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dp-hero::after { content: ""; position: absolute; inset: 20% 0 0; background: linear-gradient(transparent, #0c1c27d9); }
.dp-hero--plain { min-height: 0; border: 1px solid var(--faint); }
.dp-hero--plain::after { display: none; }
.dp-hero__text { position: relative; z-index: 1; padding: 22px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
/* Over a photograph the pill needs its own ground to be read. */
.dp-hero .pill { background: #0f222edf; color: var(--ink); border-color: #ffffff35; }
.dp-hero__text .h1 { font-size: clamp(2.5rem, 7vw, 4rem); margin: 10px 0 0; }
.dp-hero__where { color: var(--copy); font-size: .9375rem; margin-top: 6px; }
.dp-hero__cta { position: relative; z-index: 1; margin: 0 20px 22px; display: flex; flex-wrap: wrap; gap: 10px; }
/* A business has no photograph of itself: a plain panel in the site's colours carries its logo, when it has one, and its name. */
.dp-hero--biz { background: linear-gradient(145deg, #1e384a, #152936); }
.dp-hero__logo { display: block; width: 120px; height: 120px; margin: 20px 20px 0; padding: 12px; border-radius: 16px; background: var(--cream); flex: none; }
.dp-hero__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }

.rowz { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.blk { min-width: 0; background: var(--panel); border: 1px solid #ffffff18; border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; }
/* A block whose buttons open a menu must not clip it: the menu hangs below the button, outside the card. */
.blk--text { overflow: visible; }
.blk__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 18px 12px; }
.blk__head h2 { font: 600 1.1875rem/1.2 var(--serif); letter-spacing: -.02em; }

.blk--text { padding: 22px 18px; gap: 22px; }
.prose { display: flex; flex-direction: column; gap: 14px; }
.prose p { color: var(--copy); line-height: 1.75; text-wrap: pretty; overflow-wrap: anywhere; }

/* Facts as small tiles, two across. */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact { border: 1px solid #ffffff19; padding: 16px; border-radius: 13px; background: #ffffff06; min-width: 0; }
.fact dt { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 6px; }
.fact__icon { flex: none; color: var(--amber-text); }
.fact:has(.fact__icon) dd { padding-left: 26px; }
.fact dd { color: var(--muted); font-size: .8125rem; line-height: 1.5; overflow-wrap: anywhere; }
.facts__dates { padding-left: 18px; margin-top: 6px; }
.fact--wide { grid-column: 1 / -1; }
/* EV chargers, car parks, toilets: the list under the map, and the source under it. */
/* The preview's guided tour: one card at a time, in the corner, over the page it is about. */
/* Above everything the page can open (the 360 viewer, the photo viewer, the large map), so it is never lost. */
.gtour { position: fixed; right: 20px; bottom: 20px; z-index: 2147483000; width: min(380px, calc(100vw - 32px)); padding: 18px 20px 20px; border-radius: 18px;
  background: var(--panel); border: 1px solid var(--faint-2); box-shadow: var(--shadow-lg, 0 24px 70px #00000055); color: var(--ink); }
.gtour__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.gtour__x { color: var(--muted); text-decoration: none; font-size: 15px; padding: 4px 6px; border-radius: 8px; }
.gtour__x:hover { background: var(--wash); text-decoration: none; }
button.gtour__x { background: none; border: 0; font: inherit; font-size: 18px; line-height: 1; cursor: pointer; min-width: 28px; }
.gtour__tools { display: flex; align-items: center; gap: 2px; }
/* Made smaller: the heading and the buttons only. */
.gtour--small { width: auto; max-width: calc(100vw - 32px); padding: 10px 12px 12px; }
.gtour--small .gtour__title, .gtour--small .gtour__text { display: none; }
.gtour--small .gtour__head { gap: 14px; }
/* Back to the tour, on a page off it. */
.gtour-back { position: fixed; right: 20px; bottom: 20px; z-index: 2147483000; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 16px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--amber-text); box-shadow: var(--shadow-lg, 0 24px 70px #00000055); }
.gtour-back__go { color: var(--amber-text); font-weight: 700; font-size: .9375rem; text-decoration: none; }
.gtour-back__go:hover { text-decoration: underline; }
.gtour-back__x { background: none; border: 0; color: var(--muted); font-size: 15px; padding: 6px 9px; border-radius: 99px; cursor: pointer; }
.gtour-back__x:hover { background: var(--wash); color: var(--ink); }
@media (max-width: 600px) { .gtour-back { right: 16px; bottom: 76px; } }
.gtour__title { font: 800 1.25rem/1.2 var(--serif); margin: 0 0 6px; }
.gtour__text { color: var(--copy, var(--muted)); font-size: .9375rem; line-height: 1.5; margin: 0 0 14px; }
.gtour__go { display: flex; flex-wrap: wrap; gap: 8px; }
/* The thing a tour step is about: ringed in amber, the rest of the page dimmed round it. It still
   takes clicks; the dimming is a shadow, not a sheet over the page. */
.gtour-spot { position: relative; z-index: 55; outline: 3px solid var(--amber); outline-offset: 6px; border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(6, 14, 20, .55); animation: gtour-ring 1.6s ease-in-out infinite; }
@keyframes gtour-ring { 50% { outline-offset: 10px; outline-color: color-mix(in srgb, var(--amber) 55%, transparent); } }
.gtour-spot__press { box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 45%, transparent); }
@media (prefers-reduced-motion: reduce) { .gtour-spot { animation: none; } }
.preview-seen { position: absolute; width: 1px; height: 1px; left: -9999px; top: 0; }
@media (max-width: 600px) { .gtour { right: 16px; bottom: 76px; } }
.amen-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.amen-row { display: grid; gap: 4px; height: 100%; padding: 14px 16px; border: 1px solid var(--faint); border-radius: 13px; background: var(--panel); color: var(--ink); text-decoration: none; }
.amen-row:hover { border-color: var(--amber-text); text-decoration: none; }
.amen-row .muted { font-size: .8125rem; }
.amen-credit { font-size: .75rem; margin-top: 18px; }
.prose + .facts { margin-top: 24px; }
.strong-link { font-weight: 700; }

/* The actions under an event's details: one row, one size, 10px apart. */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.menu { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.menu__list { display: flex; flex-wrap: wrap; gap: 10px; }
/* Without script the two links simply sit in the row. With it they wait behind the button. */
html:not(.js) .menu__toggle { display: none; }
.js .menu__list {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 5; min-width: 100%; width: max-content;
  flex-direction: column; flex-wrap: nowrap; gap: 4px; padding: 8px;
  background: var(--panel2); border: 1px solid #ffffff2a; border-radius: 16px; box-shadow: 0 20px 60px #0008;
}
.js .menu.is-open .menu__list { display: flex; }
.js .menu__list .btn { border-color: transparent; background: transparent; justify-content: flex-start; font-weight: 600; }
.js .menu__list .btn:hover { background: var(--wash); }

.blk--place > .map-frame { border: 0; border-radius: 0; flex: 1 1 auto; }
/* Deep enough at every width for the journey planner, which the Get there buttons open inside it. */
.blk--place > .map-frame > .map-frame__view { flex: 1 1 auto; aspect-ratio: auto; height: auto; min-height: 420px; }
.blk--place .map-frame__bar { background: var(--panel); }
/* A place to explore on the map itself (inside Queensgate): the page's width, and most of the window tall. */
.blk--big > .map-frame > .map-frame__view { min-height: 0; height: clamp(560px, calc(100vh - 140px), 880px); height: clamp(560px, calc(100svh - 140px), 880px); }
.blk--big .go { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.blk--big .go__modes { flex: 1 1 420px; }
.go { background: var(--panel2); padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid #ffffff18; }
.go__label { font-size: .6875rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--amber-text); }
.go__modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.go__mode { min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 99px; background: var(--wash-2); border: 1px solid var(--faint-2); color: var(--ink); font-weight: 700; font-size: .875rem; text-decoration: none; }
.go__mode:hover { background: #ffffff1e; border-color: #ffffff45; color: var(--ink); text-decoration: none; }

/* A gallery: one picture alone, two side by side, then one large with two, four or eight beside it. */
.mosaic { display: grid; gap: 6px; padding: 0 18px 18px; flex: 1 1 auto; aspect-ratio: 4 / 3; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); }
.mosaic--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 16 / 10; }
.mosaic--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; aspect-ratio: 2 / 1; }
.mosaic--3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); aspect-ratio: 3 / 2; }
.mosaic--5 { grid-template-rows: repeat(2, 1fr); aspect-ratio: 2 / 1; }
.mosaic__cell { position: relative; min-width: 0; min-height: 0; border-radius: 10px; overflow: hidden; }
.mosaic--3 .mosaic__cell:first-child, .mosaic--5 .mosaic__cell:first-child, .mosaic--9 .mosaic__cell:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic .photo { margin: 0; height: 100%; border-radius: 0; border: 0; background: var(--panel2); }
.mosaic .photo__link { display: block; height: 100%; position: relative; }
.mosaic .photo__frame { display: block; height: 100%; aspect-ratio: auto; }
.mosaic .photo__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaic .photo figcaption { display: none; }
.mosaic .photo__badges { top: 8px; left: 8px; }
.mosaic .badge { padding: 5px 8px; }
.mosaic__more { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; background: #0f222ea6; color: #fff; font: 700 1.375rem/1 var(--serif); text-decoration: none; }
.mosaic__more:hover { background: #0f222e80; color: #fff; }

/* A list: a row each, as many as there are, sharing whatever height the block has. */
.lines { list-style: none; margin: 0; padding: 0 18px; flex: 1 1 auto; display: flex; flex-direction: column; }
.lines li { flex: 1 1 0; display: flex; min-height: 72px; max-height: 112px; }
.lines li + li { border-top: 1px solid #ffffff15; }
.lines a { flex: 1 1 auto; display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; padding: 10px 0; min-width: 0; }
.lines img, .lines__blank { flex: none; width: 84px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--panel2); }
.lines__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lines__kicker { font-size: .75rem; font-weight: 700; color: var(--amber-text); }
.lines__text strong { font: 600 1.0625rem/1.25 var(--serif); letter-spacing: -.02em; overflow-wrap: anywhere; }
.lines a:hover strong { text-decoration: underline; }
.blk--list { background: var(--panel2); }

/* The full sets, shown when asked for by the "All" links. */
.dp-all { display: none; margin-top: 32px; flex-direction: column; gap: 16px; scroll-margin-top: 100px; }
.dp-all:target { display: flex; }
.dp-all .blk__head { padding: 0; }
.dp-all .blk__head h2 { font-size: 1.75rem; }
#see, #tour-details { scroll-margin-top: 100px; }
.thumb-grid--wide { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); gap: 10px; }
.thumb-grid .photo { margin: 0; border-radius: 10px; }
.thumb-grid .photo__frame { aspect-ratio: 1 / 1; }
.thumb-grid .photo figcaption { display: none; }
.thumb-grid .photo__badges { top: 8px; left: 8px; }
.thumb-grid .badge { padding: 5px 8px; }

/* ---------------------------------------------------------------- 360 page */

/* The frame holds the flat still first; the live view fades in over it when it is ready. */
.tour-viewer {
  position: relative; height: clamp(360px, 68vh, 760px); border-radius: 22px; overflow: hidden; background: #1a2b36;
  border: 1px solid #ffffff1c;
  /* Its own layer, so the card inside can never rise over the sticky header. */
  isolation: isolate;
}
.tour-viewer__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-viewer__stage { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.tour-viewer.is-live .tour-viewer__stage { opacity: 1; }
.tour-viewer.is-live .tour-viewer__still { visibility: hidden; }
.tour-viewer__stage:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.tour-viewer__status {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; max-width: calc(100% - 32px);
  background: #0f222eed; border: 1px solid #ffffff22; color: #fff; font-size: .8125rem; font-weight: 600; padding: 10px 14px; border-radius: 99px;
}
.tour-under { display: flex; justify-content: space-between; align-items: center; gap: 4px 16px; flex-wrap: wrap; margin-top: -12px; font-size: .8125rem; color: var(--muted); }
.tour-under__help { flex: 1; min-width: 200px; }
.tour-under__skip { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.tour-under .share { flex: none; }
.js .tour-under .menu__list { left: auto; right: 0; }

/* The same frame holding a photo ("then and now"): shown whole, on a dark ground. */
.tour-viewer--photo .tour-viewer__still { object-fit: contain; background: #09131a; }

/* "Through the years": a pill in the top-left corner of the view that opens a slider with a stop for each year. */
.tour-years { position: absolute; top: 12px; left: 12px; z-index: 50; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-family: var(--sans); }
.tour-years__pill {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 14px 8px 11px; border-radius: 99px; cursor: pointer;
  background: #0f222edf; border: 1px solid #ffffff35; color: #fff; font: 700 .8125rem var(--sans);
}
.tour-years__pill:hover { border-color: var(--amber-text); }
.tour-years__icon { font-size: 1.125rem; line-height: 1; color: var(--amber-text); }
.tour-years__panel {
  display: flex; flex-direction: column; gap: 4px; width: min(300px, calc(100vw - 58px)); padding: 10px 14px 12px; border-radius: 16px;
  background: #0f222eed; border: 1px solid #ffffff22; color: #fff;
}
.tour-years__now { font: 700 1.75rem/1 var(--serif); letter-spacing: -.03em; }
.tour-years__range { width: 100%; margin: 6px 0 0; accent-color: var(--amber-text); cursor: pointer; min-height: 32px; }
.tour-years__range:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.tour-years__ends { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 700; color: var(--muted); }

/* Share, as a round button in the top-right corner of the view: still there in full screen. */
.tour-share {
  position: absolute; top: 12px; right: 12px; z-index: 50; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: #0f222edf; border: 1px solid #ffffff35; color: #fff; font-size: 1.25rem; line-height: 1;
}
.tour-share:hover { border-color: var(--amber-text); }
/* The card opens in the same corner: the button gives way to its close button. */
.tour-viewer.has-card .tour-share { display: none; }

/* The years as plain chips under the view, and under the lightbox's picture. */
.years-list { display: flex; flex-direction: column; gap: 10px; margin-top: -4px; }
.years-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.years-list .chip::before { content: "⟲"; color: var(--amber-text); font-weight: 700; }
.years-list .chip[aria-current="page"]::before { color: var(--on-amber); }
.years-list button.chip { font-family: inherit; cursor: pointer; }
.years-list .textlink { align-self: flex-start; }

/* A Discover More point in the panorama. The label shows when the point is hovered or open. */
/* A Discover More point in the panorama: the map's own marker. A disc filled with the picture, a band
   across the middle with what it is and its name, and a tail at the foot pointing at the spot. */
.tour-pin { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.tour-pin__disc {
  display: block; margin: 0 auto; position: relative; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 3px solid #fff;
  background: var(--panel) center / cover no-repeat; box-shadow: 0 4px 14px rgba(0, 0, 0, .45); transition: transform .15s; transform-origin: 50% 100%;
}
.tour-pin__band {
  position: absolute; left: 0; right: 0; top: 28%; height: 44%; background: rgba(15, 34, 46, .74); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 8px; text-align: center;
}
.tour-pin__band small { font: 800 .53rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-text); }
.tour-pin__band b { font: 700 .66rem/1.2 var(--sans); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-pin__tail { display: block; width: 0; height: 0; margin: -2px auto 0; border: 8px solid transparent; border-top: 10px solid #fff; border-bottom: 0; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.tour-pin:hover .tour-pin__disc, .is-lit .tour-pin__disc { transform: scale(1.1); }

/* The card a point opens, inside the viewer so it is still there in full screen. */
.tour-card-pop {
  position: absolute; top: 12px; right: 12px; z-index: 100; width: min(380px, calc(100% - 24px)); max-height: calc(100% - 64px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--panel); color: var(--ink); border: 1px solid #ffffff2a; border-radius: 18px; box-shadow: 0 20px 80px #0008;
  font-family: var(--sans);
}
.tour-card-pop__scroll { overflow-y: auto; overscroll-behavior: contain; }
.tour-card-pop__close {
  position: absolute; top: 10px; right: 10px; z-index: 1; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #ffffff35; background: #0f222edf; color: #fff; font-size: 1.125rem; cursor: pointer;
}
.tour-card-pop__close:hover { border-color: var(--amber-text); }
.tour-card-pop__img { display: block; width: 100%; max-height: 240px; object-fit: cover; background: var(--panel2); }
.tour-card-pop__film { aspect-ratio: 16 / 9; background: #000; }
.tour-card-pop__film iframe { display: block; width: 100%; height: 100%; border: 0; }
.tour-card-pop__body { padding: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
/* With no picture above them, the first lines keep clear of the close button. */
.tour-card-pop__body:first-child :is(.kicker, .eyebrow, h2) { padding-right: 48px; }
.tour-card-pop__body .kicker { font-size: .6875rem; text-transform: uppercase; letter-spacing: .17em; color: var(--amber-text); font-weight: 700; }
.tour-card-pop__body h2 { font: 600 1.375rem/1.15 var(--serif); letter-spacing: -.025em; }
.tour-card-pop__body p { font-size: .9375rem; line-height: 1.55; color: var(--copy); overflow-wrap: anywhere; }

/* An arrow to a neighbouring panorama: a disc on the ground with the place's name under it. */
.tour-arrow { display: block; text-align: center; text-decoration: none; opacity: .86; transition: opacity .15s, transform .15s; transform-origin: top center; }
.tour-arrow:hover, .tour-arrow:focus-visible { opacity: 1; transform: scale(1.12); text-decoration: none; }
.tour-arrow:focus-visible .tour-arrow__disc { outline: 3px solid #fff; outline-offset: 2px; }
.tour-arrow__disc {
  width: calc(48px * var(--scale, 1)); height: calc(48px * var(--scale, 1)); margin: 0 auto 6px; border-radius: 50%;
  background: #007cc7dd; color: var(--dark); border: 1px solid #fff;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font: 800 calc(.75rem * var(--scale, 1))/1 var(--sans); letter-spacing: .02em;
  box-shadow: 0 0 0 10px #007cc733;
}
.tour-arrow__disc--logo { width: calc(64px * var(--scale, 1)); height: calc(64px * var(--scale, 1)); background: #fff; }
.tour-arrow__disc img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tour-arrow__label {
  display: inline-block; max-width: 200px; padding: 6px 11px; border-radius: 12px; background: #0f222eed; border: 1px solid #ffffff22; color: #fff;
  font: 700 .8125rem/1.3 var(--sans);
}
.tour-arrow__label small { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-text); }

.tour-steps { display: flex; flex-direction: column; gap: 10px; margin-top: -4px; }
.tour-steps ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tour-steps .chip::before { content: "→"; color: var(--amber-text); font-weight: 700; }
.tour-steps .chip[aria-current="page"]::before { color: var(--on-amber); }
/* While the next panorama is on its way. */
.tour-viewer.is-moving .tour-viewer__stage { cursor: progress; }

.tour-points { display: flex; flex-direction: column; gap: 10px; }
.tour-points ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tour-points .chip::before { content: "+"; color: var(--amber-text); font-weight: 700; }

/* The 360 before and the one after, under the viewer. */
.tour-strip { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 12px; }
.tour-strip__link { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--faint); color: var(--ink); border-radius: 16px; overflow: hidden; text-decoration: none; min-height: 64px; }
.tour-strip__link:hover { border-color: #007cc780; color: var(--ink); text-decoration: none; }
.tour-strip__link img { flex: none; width: 112px; height: 64px; object-fit: cover; }
.tour-strip__link span { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-right: 12px; }
.tour-strip__link small { font-size: .6875rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--amber-text); }
.tour-strip__link strong { max-width: 100%; font: 600 1rem/1.25 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tour-strip__count { font-size: .8125rem; color: var(--muted); }

/* ------------------------------------------------------------------ photos */

.masonry { columns: 4 260px; column-gap: 16px; }
.photo-group { margin-top: 8px; scroll-margin-top: 100px; display: flex; flex-direction: column; gap: 16px; }
.photo { break-inside: avoid; margin: 0 0 16px; background: var(--panel); border: 1px solid var(--faint); border-radius: 18px; overflow: hidden; }
.photo:hover { border-color: #007cc780; }
.photo__link { position: relative; display: block; }
/* The feed gives no image sizes, so each kind gets a fixed shape and nothing jumps as pictures load. */
.photo__frame { display: block; background: var(--panel2); }
.photo__frame--photo { aspect-ratio: 4 / 3; }
.photo__frame--pano { aspect-ratio: 2 / 1; }
/* A 360 shown as its flat preview. */
.photo__frame--flat { aspect-ratio: 16 / 9; }
.photo__frame--video { aspect-ratio: 16 / 9; }
.photo__frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo:hover .photo__frame img { transform: scale(1.04); }
.photo figcaption { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.photo figcaption strong { font: 600 .9375rem/1.3 var(--serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.photo figcaption span { font-size: .8125rem; color: var(--muted); }

.lightbox {
  width: min(880px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow: auto;
  padding: 0; border: 1px solid #ffffff2a; border-radius: 20px; background: var(--panel); color: var(--ink);
}
.lightbox::backdrop { background: #09131acc; }
.lightbox__media { position: relative; background: #09131a; min-height: 120px; }
.lightbox__media img { display: block; width: 100%; max-height: 60vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #ffffff35; background: #0f222edf; color: #fff; font-size: 1.125rem; cursor: pointer;
}
.lightbox__close:hover { border-color: var(--amber-text); }
.lightbox__bar { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lightbox__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lightbox__text strong { font: 600 1.375rem/1.15 var(--serif); letter-spacing: -.025em; overflow-wrap: anywhere; }
.lightbox__text span { font-size: .8125rem; color: var(--muted); }
.lightbox__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lightbox__hint { flex-basis: 100%; font-size: .8125rem; color: var(--muted); }
.lightbox__years { flex-basis: 100%; margin-top: 4px; }
.js .lightbox__actions .menu__list { left: auto; right: 0; }
/* Previous and next on the picture's edges, big enough for a thumb, and where the photo is in its set. */
.lightbox__nav {
  position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%;
  border: 1px solid #ffffff35; background: #0f222edf; color: #fff; font: 400 2rem/1 var(--sans); cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0 0 4px;
}
.lightbox__nav:hover { border-color: var(--amber-text); color: var(--amber-text); }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__count {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 5px 11px; border-radius: 99px;
  background: #0f222edf; border: 1px solid #ffffff35; color: #fff; font: 700 .8125rem/1.2 var(--sans); font-variant-numeric: tabular-nums;
}
.lightbox__count[hidden] { display: none; }

/* ---------------------------------------------------------- getting around */

.info-tile {
  background: var(--panel); border: 1px solid var(--faint); border-radius: 18px; padding: 20px;
  display: flex; flex-direction: column; gap: 8px; color: var(--ink);
}
.info-tile .h3 { margin-top: 2px; }
.info-tile__text { font-size: .8125rem; line-height: 1.55; }
.info-tile__hint { font-size: .8125rem; color: var(--muted); }
/* The tile's two ways on: its button drives the map on this page, its link opens the full map. */
.info-tile__actions { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.info-tile__actions .textlink { min-height: 44px; }

/* ------------------------------------------------------------------- saved */

.saved-list { display: flex; flex-direction: column; gap: 12px; }
.saved-list:empty { display: none; }
.saved-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--faint); border-radius: 18px; }
.saved-row__when { display: flex; flex-direction: column; }
.saved-row__when strong { color: var(--amber-text); }
.saved-row__when span { color: var(--muted); font-size: .8125rem; }
.saved-row__main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.saved-row__title { font: 600 1.1875rem/1.2 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.saved-row__venue { font-size: .8125rem; color: var(--muted); }
.saved-row__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.link-btn {
  border: 1px solid var(--line); background: none; color: var(--muted); font-size: .8125rem; font-weight: 700;
  min-height: 40px; padding: 0 13px; border-radius: 99px; cursor: pointer;
}
.link-btn:hover { color: var(--ink); border-color: var(--muted); }

/* --------------------------------------------------- toast, footer, bottom bar */

.toast {
  position: fixed; left: 50%; bottom: 25px; transform: translateX(-50%); z-index: 60; width: max-content; max-width: calc(100% - 32px);
  background: var(--ink); color: var(--dark); font-weight: 700; padding: 12px 18px; border-radius: 99px; pointer-events: none;
}
.toast:empty { display: none; }

.footer { color: #869aa8; font-size: .8125rem; }
.footer__in { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid #ffffff16; display: flex; flex-direction: column; gap: 8px; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 8px; }
.brand--footer { font-size: 1.0625rem; }
.brand--footer .brandmark { width: 24px; height: 24px; }
.brand--footer .brandmark::before { inset: 4px; }
.brand--footer .brandmark::after { inset: 9px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.footer__links a { color: #869aa8; min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 99px; font-weight: 600; }
.footer__links a:hover { color: var(--ink); background: var(--wash); text-decoration: none; }
.footer__legal { margin: 0; }

.bottomnav { display: none; }

/* --------------------------------------------------------------- breakpoints */

/* Eight pages need the whole bar. Under 1800px the pills in the corner shrink to their
   icons and the Map button to its short word to make the room; under 1540px the bar keeps
   six pages and the Menu holds the rest; under 1200px Saved goes too (it is in the Menu),
   so the five still fit beside the brand on a tablet. */
@media (max-width: 1800px) {
  .topnav { gap: 2px; }
  .navbtn { padding: 10px 11px; }
  .pill__word, .header-map__long { display: none; }
  .header-map__short { display: inline; }
  .pill--btn { padding: 7px 9px; }
}

@media (max-width: 1540px) {
  .navbtn--more { display: none; }
  .js .menu-toggle { display: inline-flex; }
}

@media (max-width: 1200px) {
  .top { padding: 0 24px; }
  .topright .pill--saved { display: none; }
  .navbtn { padding: 10px 10px; font-size: .875rem; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}

/* A tablet, either way up (768 to 1024): cards two to a row so each picture has some size, and the
   home page's copy and map one above the other, since side by side neither had room at this width. */
@media (max-width: 1024px) {
  /* The brand links home, so Home is the pill that goes into the Menu first. */
  .navbtn--home { display: none; }
  .homehero { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .hero-copy .sub { max-width: 560px; }
  .map-frame--hero { height: 420px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

/* Blocks sit two to a row from 901px (see below); up to 1024px each is about 400px wide, so inside
   a pair the fact tiles go one under another and the four "Get there" buttons two by two. */
@media (min-width: 901px) and (max-width: 1024px) {
  .rowz:not(.rowz--one) .facts { grid-template-columns: 1fr; }
  .rowz:not(.rowz--one) .go__modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .topnav { display: none; }
  .experience { flex-wrap: wrap; }
}

@media (min-width: 601px) {
  .tour-strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tour-strip__link--next { flex-direction: row-reverse; text-align: right; }
  .tour-strip__link--next span { padding: 0 0 0 12px; align-items: flex-end; }
  .tour-strip__count { grid-column: 1 / -1; }
  .dp-hero { min-height: 340px; }
  .dp-hero--plain { min-height: 0; }
}

@media (min-width: 901px) {
  .dp-hero { height: 410px; flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .dp-hero--plain { height: auto; }
  .dp-hero--biz { align-items: center; }
  .dp-hero__logo { width: 150px; height: 150px; margin: 30px 0 30px 34px; }
  .dp-hero__logo + .dp-hero__text { flex: 1 1 auto; }
  .dp-hero--biz .dp-hero__cta { margin-bottom: 30px; }
  .dp-hero__text { padding: 30px 34px; max-width: 900px; }
  .dp-hero__cta { margin: 0 34px 30px 0; align-self: flex-end; flex: none; }
  .rowz { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 26px; align-items: stretch; }
  .rowz--one { grid-template-columns: minmax(0, 1fr); }
  .blk__head { padding: 22px 24px 14px; }
  .blk--text { padding: 28px; }
  .go { padding: 16px 24px 22px; }
  .mosaic { padding: 0 24px 24px; }
  .lines { padding: 0 24px; }
  /* Paired, a gallery takes the height of its neighbour instead of its own shape. */
  .rowz:not(.rowz--one) .mosaic { aspect-ratio: auto; min-height: 380px; }
  /* Alone on its row, a block spreads out: a wider gallery, a list in two columns, a deeper map. */
  .rowz--one .mosaic--9 { grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, 1fr); aspect-ratio: 3 / 1; }
  .rowz--one .mosaic--5 { aspect-ratio: 5 / 2; }
  .rowz--one .mosaic--3 { aspect-ratio: 3 / 1; }
  .rowz--one .mosaic--2 { aspect-ratio: 3 / 1; }
  .rowz--one .mosaic--1 { aspect-ratio: 21 / 9; }
  .rowz--one .lines { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .rowz--one .lines li { border-top: 1px solid #ffffff15; max-height: none; }
  .rowz--one .lines li:nth-child(-n+2) { border-top: 0; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 76px; }
  /* Room for the fixed bottom bar. */
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .top { height: 62px; padding: 0 14px; gap: 6px; }
  .brand { min-width: 0; }
  .brand > span { overflow: hidden; text-overflow: ellipsis; }
  .topright { gap: 6px; }
  .topright .pill--saved { display: none; }
  .pill__word, .header-map__long { display: none; }
  .header-map__short { display: inline; }
  .pill--btn { padding: 7px 8px; min-height: 34px; }
  .topright .btn--primary { padding: 10px 11px; font-size: .75rem; min-height: 38px; }
  .brand { font-size: 1rem; gap: 7px; }
  .pop__panel { position: fixed; left: 16px; right: 16px; top: 70px; min-width: 0; }
  .wrap { padding-left: 17px; padding-right: 17px; }
  .page, .wrap--home { padding-top: 28px; padding-bottom: 60px; }
  .h1 { font-size: 3.25rem; }
  .homehero { min-height: 0; }
  .map-frame--hero { height: 350px; border-radius: 18px; }
  .map-frame--hero .map-frame__bar { left: 12px; right: 12px; bottom: 12px; }
  .sectionhead { margin: 40px 0 17px; }
  .sectionhead .h2 { font-size: 1.9375rem; }
  .screenhead, .sectionhead, .experience { align-items: flex-start; flex-direction: column; }
  .split { width: 100%; }
  .cards, .cards--4 { grid-template-columns: 1fr; }
  .card > .photo { height: 210px; }
  .experience { padding: 18px; }
  .searchbox { margin-top: 22px; }
  .footer { margin-top: 0; }

  .dp-hero { min-height: 340px; }
  /* A plain panel is only as tall as its words: no empty space where a picture would be. */
  .dp-hero--plain { min-height: 0; }
  .dp-hero__text { padding: 20px; }
  .dp-hero__text .h1 { font-size: 3.0625rem; }
  .dp-hero__cta { margin: 0 20px 20px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .saved-row { grid-template-columns: 1fr; gap: 8px; }

  /* Buttons stack full width, in the order they are written: tickets, save, calendar. */
  .actions, .menu { flex-direction: column; flex-wrap: nowrap; }
  .actions > .btn, .menu__toggle, .menu__list .btn { width: 100%; }
  .menu__list { flex-direction: column; flex-wrap: nowrap; }
  .js .menu__list { position: static; width: auto; box-shadow: none; }

  /* A fixed height here: a shape that follows the width would be too shallow to use on a phone. */
  .map-frame__view { aspect-ratio: auto; height: 280px; }
  .blk--place > .map-frame > .map-frame__view { height: 420px; }
  .blk--big > .map-frame > .map-frame__view { height: calc(100svh - 150px); min-height: 480px; }
  .map-frame--wide .map-frame__view { height: clamp(400px, calc(100vh - 250px), 520px); height: clamp(400px, calc(100svh - 250px), 520px); }

  /* Tall, but always leaving a strip of page above and below to scroll the page by. */
  .tour-viewer { height: clamp(320px, calc(100vh - 250px), 640px); height: clamp(320px, calc(100svh - 250px), 640px); border-radius: 18px; }
  .tour-under__help { display: none; }
  .tour-under .menu, .lightbox__actions .menu { flex-direction: row; }
  .js .tour-under .menu__list { position: absolute; width: max-content; box-shadow: 0 20px 60px #0008; left: auto; right: 0; }
  .tour-years__pill span:last-child { display: none; }
  .tour-years.is-open .tour-years__pill span:last-child { display: inline; }
  .tour-card-pop { top: auto; left: 8px; right: 8px; bottom: 48px; width: auto; max-height: min(70%, calc(100% - 60px)); }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .go__modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thumb-grid--wide { grid-template-columns: repeat(3, 1fr); }

  .bottomnav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: #0f222ef4; border-top: 1px solid #ffffff18; display: flex; justify-content: space-around; align-items: center;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  :root[data-contrast="high"] .bottomnav { background: #000; border-top-color: #fff; }
  .bottomnav a { flex: 1; min-height: 60px; color: #96aab8; font-size: .6875rem; font-weight: 600; display: grid; justify-items: center; align-content: center; gap: 4px; text-decoration: none; }
  .bottomnav a span { font-size: 1.125rem; line-height: 1; }
  .bottomnav a.active { color: var(--amber-text); }
  .bottomnav a:hover { color: var(--ink); text-decoration: none; }
}

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

@media print {
  .top, .bottomnav, .toast, .fav, .tour-viewer__stage, .tour-under__skip, .map-frame__view { display: none !important; }
}
/* A film in a Discover More card, before it is played: its own still with a play button over it. */
.tour-card-pop__play { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #000 center / cover no-repeat; }
.tour-card-pop__playicon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(15, 34, 46, .72); color: #fff; font-size: 1.25rem; padding-left: 4px; border: 2px solid rgba(255, 255, 255, .85); }
.tour-card-pop__play:hover .tour-card-pop__playicon { background: var(--amber); color: var(--night); border-color: #fff; }

/* ---- The Lost Chronicle: a treasure hunt. Built for a phone held outdoors: large type, one column, big targets. ---- */
.hunt { max-width: 720px; }
.hunt .h2 { margin: 8px 0 10px; }
.hunt__hero, .hunt__card { background: var(--panel); border: 1px solid var(--faint); border-radius: 18px; padding: 22px 20px; }
.hunt__lede, .hunt__intro { font-size: 1.0625rem; line-height: 1.7; color: var(--ink); margin: 0 0 14px; }
.hunt__note { font-size: .875rem; line-height: 1.6; color: var(--muted); margin: 14px 0 0; }
.hunt__h { font-size: 1.125rem; margin: 26px 0 12px; }
.hunt__modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hunt__mode { display: flex; flex-direction: column; gap: 4px; padding: 12px; min-height: 76px; border: 2px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.hunt__mode b { font-size: 1rem; }
.hunt__mode span { font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.hunt__mode[aria-current="true"] { border-color: var(--amber-text); background: var(--wash); }
.hunt__mode:hover { border-color: var(--amber-text); text-decoration: none; }
.hunt__detail { font-size: 1rem; line-height: 1.65; color: var(--ink); margin: 14px 0 0; }
.hunt__go { width: 100%; min-height: 56px; font-size: 1.0625rem; margin-top: 18px; white-space: normal; text-align: center; }
.hunt__route { list-style: none; counter-reset: stop; margin: 0; padding: 0; display: grid; gap: 8px; }
.hunt__route li { counter-increment: stop; }
.hunt__route a { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--faint); border-radius: 14px; background: var(--panel); color: var(--ink); text-decoration: none; }
.hunt__route a::before { content: counter(stop); grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: var(--on-amber); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hunt__route b { font-size: 1rem; }
.hunt__route span { grid-column: 2; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.hunt__route a:hover { border-color: var(--amber-text); }
.hunt__safety { margin-top: 22px; padding: 16px 18px; border-left: 4px solid var(--amber); background: var(--wash); border-radius: 0 14px 14px 0; }
.hunt__safety p { margin: 6px 0 0; line-height: 1.65; }
.hunt__steps { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.hunt__steps ol { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.hunt__steps li a { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); color: var(--muted); font-weight: 700; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.hunt__steps li.is-done a { border-color: var(--amber-text); color: var(--amber-text); }
.hunt__steps li[aria-current="step"] a { background: var(--amber); border-color: var(--amber-text); color: var(--on-amber); }
.hunt__where { color: var(--muted); margin: 0 0 16px; }
.hunt__leg { padding: 14px 16px; border-radius: 14px; background: var(--wash); margin: 0 0 18px; }
.hunt__leg p { margin: 6px 0 0; line-height: 1.6; }
.hunt__todo { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1px dashed var(--muted); border-radius: 99px; color: var(--muted); font-weight: 600; }
.hunt__clue { margin: 22px 0 0; padding: 18px; border: 2px solid var(--amber); border-radius: 16px; }
.hunt__clue p { font-size: 1.125rem; line-height: 1.65; margin: 8px 0 0; }
.hunt__clue .hunt__plaque { font-size: .9375rem; color: var(--muted); }
.hunt__answer { margin: 14px 0 0; }
.hunt__answer summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 18px; border-radius: 99px; background: var(--wash-2); border: 1px solid var(--faint-2); font-weight: 700; font-size: 1.0625rem; }
.hunt__answer summary::-webkit-details-marker { display: none; }
.hunt__answer[open] summary { display: none; }
.hunt__reveal { padding: 18px; border-radius: 16px; background: var(--panel2); }
.hunt__reveal p { line-height: 1.65; margin: 0 0 10px; }
.hunt__ans { font-size: 1.5rem; font-weight: 800; color: var(--amber-text); line-height: 1.25; }
.hunt__page b { letter-spacing: .12em; color: var(--amber-text); }
.hunt__source { font-size: .8125rem; color: var(--muted); }
.hunt__skip { margin: 16px 0 0; text-align: center; }
.hunt__message { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.hunt__message span { padding: 10px 14px; border-radius: 10px; background: var(--amber); color: var(--on-amber); font-weight: 800; letter-spacing: .08em; }
@media (max-width: 480px) { .hunt__modes { grid-template-columns: 1fr; } .hunt__mode { min-height: 0; flex-direction: row; justify-content: space-between; align-items: center; } }
.hunt__found { padding: 12px 16px; border-radius: 14px; background: var(--wash); margin: 0 0 18px; line-height: 1.5; }
.hunt__found b { color: var(--amber-text); letter-spacing: .12em; }
.hunt__plaque { font-size: .9375rem; color: var(--muted); line-height: 1.6; margin: 0 0 8px; }
.hunt__card > .hunt__source { margin: 0 0 16px; }
.hunt__steps li span { width: 40px; height: 40px; border-radius: 50%; border: 2px dashed var(--line); color: var(--muted); font-weight: 700; display: flex; align-items: center; justify-content: center; opacity: .7; }
.hunt__spoiler { margin-top: 22px; }
.hunt__spoiler summary { cursor: pointer; color: var(--muted); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.hunt__spoiler .hunt__route { margin-top: 10px; }
.hunt__reveal .hunt__where { margin: -4px 0 12px; }
.hunt__reveal .hunt__leg { background: var(--panel); }

/* ------------------------------------------------------------------ privacy */

.privacy__body { max-width: 760px; }
.privacy__body .h3 { color: var(--ink); margin-top: 26px; scroll-margin-top: 90px; }
.privacy__h { font: 700 1rem/1.3 var(--sans); color: var(--ink); margin: 10px 0 -6px; }
.privacy__body strong { color: var(--ink); }
.privacy__toc { background: var(--panel); border: 1px solid var(--faint); border-radius: 14px; padding: 16px 20px; }
.privacy__toc ol { margin: 8px 0 0; padding-left: 1.3em; color: var(--muted); display: grid; gap: 2px; }
.privacy__toc a { display: inline-flex; min-height: 32px; align-items: center; }
.privacy__facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; color: var(--copy); line-height: 1.6; }
.privacy__facts dt { color: var(--muted); font-weight: 600; }
.privacy__list { margin: 0; padding-left: 1.2em; color: var(--copy); line-height: 1.7; display: grid; gap: 8px; }
.privacy__table { overflow-x: auto; border: 1px solid var(--faint); border-radius: 14px; }
.privacy__table:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.privacy__table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .875rem; line-height: 1.55; color: var(--copy); }
.privacy__table th, .privacy__table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--faint); }
.privacy__table thead th { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; background: var(--panel); }
.privacy__table tbody tr:last-child > * { border-bottom: 0; }
.privacy__table tbody th { color: var(--ink); font-weight: 600; }
.privacy__table code { font-size: .8125rem; overflow-wrap: break-word; }
.privacy__table tbody th { min-width: 160px; }
@media (max-width: 560px) {
  .privacy__facts { grid-template-columns: 1fr; gap: 0 0; }
  .privacy__facts dd { margin: 0 0 8px; }
  .privacy__table { overflow: visible; }
  .privacy__table table { min-width: 0; }
  .privacy__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .privacy__table tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--faint); }
  .privacy__table tbody tr:last-child { border-bottom: 0; }
  .privacy__table th, .privacy__table td { display: block; padding: 2px 0; border: 0; min-width: 0; }
  .privacy__table td:nth-child(2), .privacy__table td:nth-child(4) { color: var(--muted); font-size: .8125rem; }
  .privacy__table td:nth-child(4)::before { content: 'Lasts: '; }
}
.footer__legal-link { color: #869aa8; font-weight: 600; text-decoration: underline; margin-left: 6px; display: inline-block; padding: 6px 0; }
.footer__legal-link:hover { color: var(--ink); }

/* An event's actions: the tickets button across the top, then Save, Add to calendar and Share
   side by side in equal widths underneath, so nothing is left alone on a row of its own. */
.actions--event { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.actions--event > * { flex: 1 1 auto; min-width: 0; }
.actions--event > .btn--primary { flex-basis: 100%; }
.actions--event > [hidden] { display: none; }
.actions--event .menu, .actions--event > .btn { width: auto; }
.actions--event .menu__toggle { width: 100%; }
.actions--event .btn { justify-content: center; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
.actions--event .menu__list .btn { justify-content: flex-start; }

/* ------------------------------------------------------------------ site map */
.sitemap__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.sitemap__toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--faint); border-radius: 999px; background: var(--panel); color: var(--copy); font-size: .875rem; font-weight: 600; text-decoration: none; }
.sitemap__toc a:hover { border-color: currentColor; }
.sitemap__section { padding: 24px 0; border-top: 1px solid var(--faint); scroll-margin-top: 90px; }
.sitemap__intro { margin: 4px 0 12px; color: var(--muted); }
.sitemap__group { margin: 18px 0 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sitemap__group span { font-weight: 500; letter-spacing: 0; text-transform: none; }
.sitemap__list { margin: 8px 0 0; padding: 0; list-style: none; columns: 3 15rem; column-gap: 28px; }
.sitemap__list li { break-inside: avoid; padding: 3px 0; line-height: 1.45; color: var(--copy); }
.sitemap__list a { color: var(--copy); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.sitemap__list a:hover { text-decoration-color: currentColor; }
.sitemap__note { color: var(--muted); font-size: .8125rem; white-space: nowrap; }

/* ---------------------------------------------------------- 360 tours: groups */
.tours-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 18px; }
.tours-tools .searchbox { margin: 0; flex: 1 1 320px; }
.tours-none { margin: 0 0 18px; }
.tour-group { border-top: 1px solid var(--faint); }
.tour-group:last-of-type { border-bottom: 1px solid var(--faint); }
.tour-group > summary { display: flex; align-items: center; gap: 12px; padding: 18px 4px; cursor: pointer; list-style: none; }
.tour-group > summary::-webkit-details-marker { display: none; }
.tour-group > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.tour-group__name { font-weight: 700; font-size: 1.15rem; }
.tour-group__count { min-width: 28px; padding: 2px 9px; border-radius: 999px; background: var(--panel); border: 1px solid var(--faint); font-size: .8125rem; font-weight: 700; text-align: center; color: var(--muted); }
.tour-group__peek { display: flex; gap: 6px; margin-left: auto; }
.tour-group__peek img { width: 64px; height: 36px; object-fit: cover; border-radius: 6px; }
.tour-group[open] .tour-group__peek { display: none; }
.tour-group[open] .tour-group__name { margin-right: auto; }
.tour-group__chev { color: var(--muted); transition: transform .2s; }
.tour-group:not([open]) .tour-group__chev { transform: rotate(-90deg); }
.tour-group > .cards { padding: 0 0 26px; }

/* The 360° groups: ordinary cards, with the group's first pictures two by two in the photo, and
   the fourth darkened with how many more there are. */
.card > .photo .tgroup__pics { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.card > .photo .tgroup__pics--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.card > .photo .tgroup__pics--2 { grid-template-rows: 1fr; }
.card > .photo .tgroup__pics--3 .tgroup__pic:first-child { grid-row: span 2; }
.tgroup__pic { position: relative; overflow: hidden; min-height: 0; }
.card > .photo .tgroup__pic img { position: absolute; inset: 0; }
.tgroup__more { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; background: #0c1c27b3; color: #fff; font-size: 1.5rem; font-weight: 700; }
.tgroup__names { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tours-results { margin-top: 4px; }
@media (max-width: 640px) { .tour-group__peek { display: none; } .tour-group__name { margin-right: auto; } }

/* The reminder that zooming takes Ctrl: a small pill, not the viewer's full-picture overlay. */
.tour-hint { position: absolute; left: 50%; bottom: 64px; transform: translate(-50%, 6px); z-index: 120; padding: 7px 14px; border-radius: 999px; background: rgba(15, 34, 46, .82); color: #fff; font-size: .8125rem; font-weight: 600; pointer-events: none; opacity: 0; transition: opacity .2s, transform .2s; }
.tour-hint.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* Switches for the arrows and the Explore More points, beside Share in the top-right corner. */
.tour-switches { position: absolute; top: 12px; right: 64px; z-index: 50; display: flex; gap: 6px; }
.tour-switch {
  height: 44px; padding: 0 14px 0 34px; border-radius: 999px; cursor: pointer; position: relative;
  background: #0f222edf; border: 1px solid #ffffff35; color: #fff; font-size: .8125rem; font-weight: 700;
}
.tour-switch::before {
  content: ''; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
  border: 2px solid var(--amber); background: var(--amber);
}
.tour-switch[aria-pressed="false"] { color: #ffffffa8; }
.tour-switch[aria-pressed="false"]::before { background: transparent; border-color: #ffffff80; }
.tour-switch:hover { border-color: var(--amber-text); }
.tour-viewer.has-card .tour-switches { display: none; }
@media (max-width: 640px) { .tour-switches { top: auto; bottom: 52px; right: 12px; } .tour-switch { height: 36px; } }

/* ------------------------------------------------------------- newsletter */
.newsletter__card { max-width: 620px; background: var(--panel); border: 1px solid var(--faint); border-radius: 18px; padding: 26px; }
.newsletter__card--done h2 { margin-top: 0; }
.newsletter__form { display: grid; gap: 18px; }
.newsletter__field { display: grid; gap: 6px; }
.newsletter__field > label { font-weight: 700; }
.newsletter__field input[type="text"], .newsletter__field input[type="email"] {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--faint);
  background: #fff; color: var(--dark); font: inherit;
}
.newsletter__field input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.newsletter__field input[aria-invalid="true"] { border-color: #e5484d; }
.newsletter__consent { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.newsletter__consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--amber-text); }
.newsletter__consent label { font-weight: 500; line-height: 1.5; }
.newsletter__consent .newsletter__error { grid-column: 1 / -1; }
.newsletter__error { margin: 0; color: #ff8a8a; font-size: .875rem; font-weight: 600; }
.newsletter__alert { margin: 0; padding: 10px 14px; border-radius: 10px; background: #e5484d22; border: 1px solid #e5484d66; }
.newsletter__small { font-size: .8125rem; line-height: 1.6; margin: 0; }
.newsletter__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.newsletter .btn--primary { justify-self: start; }

/* ------------------------------------------------------------ plan a day out */

.plan__form { display: grid; gap: 18px; background: var(--panel); border: 1px solid var(--faint); border-radius: 18px; padding: 24px; }
.plan__group { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; }
.plan__group > legend { font: 700 1.0625rem/1.2 var(--serif); margin-bottom: 10px; padding: 0; }
.plan__group > legend small { font: 400 .875rem var(--sans); color: var(--muted); }
.plan__field { display: grid; gap: 6px; min-width: 180px; flex: 1 1 180px; }
.plan__field--small { min-width: 110px; flex: 0 1 140px; }
.plan__field > span { font-weight: 700; font-size: .875rem; }
.plan__field :is(input, select) { width: 100%; min-height: 46px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--faint-2); background: var(--wash); color: var(--ink); font: inherit; color-scheme: dark; }
/* The boxes take the panel's colours rather than white: the date and clock pickers and the lists follow the theme. */
:root[data-theme="light"] .plan__field :is(input, select) { color-scheme: light; background: #fff; }
.plan__field :is(input, select):hover { border-color: var(--muted); }
.plan__field select option { background: var(--panel); color: var(--ink); }
.plan__like input { accent-color: var(--amber); }
.plan__field :is(input, select):focus-visible, .plan__mode input:focus-visible + span, .plan__like input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.plan__ages { display: flex; flex-wrap: wrap; gap: 12px 16px; flex-basis: 100%; }
.plan__ages[hidden], .plan__ages [hidden] { display: none; }
.plan__budget { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 18px; flex-basis: 100%; }
.plan__budget input[type="range"] { flex: 1 1 260px; accent-color: var(--amber); min-height: 46px; }
.plan__budget-word { font-weight: 700; color: var(--amber-text); padding-bottom: 12px; }
.plan__hint { flex-basis: 100%; margin: 0; color: var(--muted); font-size: .875rem; }
.plan__modes { display: flex; flex-wrap: wrap; gap: 10px; flex-basis: 100%; }
.plan__food { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.plan__food label { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--muted); }
.plan__food select { min-height: 36px; padding: 5px 10px; border-radius: 10px; border: 1px solid var(--faint-2); background: var(--wash); color: var(--ink); font: inherit; color-scheme: dark; }
:root[data-theme="light"] .plan__food select { color-scheme: light; background: #fff; }
.plan__mode { position: relative; }
.plan__mode input { position: absolute; opacity: 0; inset: 0; }
.plan__mode span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--faint-2); cursor: pointer; font-weight: 600; }
.plan__mode span small { color: var(--muted); font-weight: 400; }
.plan__mode input:checked + span { background: var(--amber); color: var(--on-amber); border-color: var(--amber); }
.plan__mode input:checked + span small { color: var(--on-amber); }
.plan__likes { display: flex; flex-wrap: wrap; gap: 10px; }
.plan__like { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; cursor: pointer; }
.plan__go { display: flex; justify-content: flex-end; }

.plan__result { background: var(--panel); border: 1px solid var(--faint); border-radius: 18px; padding: 24px; display: grid; gap: 18px; scroll-margin-top: 90px; }
.plan__summary { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.plan__summary h2 { margin: 4px 0 0; }
.plan__total { text-align: right; }
.plan__total-sum { display: block; font: 800 2rem/1 var(--serif); letter-spacing: -.02em; }
.plan__total-parts { display: block; margin-top: 4px; font-size: .8125rem; }
.plan__stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.plan__stop { display: grid; grid-template-columns: 74px auto 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--faint); }
.plan__stop--start { grid-template-columns: 74px 1fr; border-top: 0; }
.plan__stop:not(:has(.plan__pic)) { grid-template-columns: 74px 1fr auto; }
.plan__time { font-weight: 800; font-variant-numeric: tabular-nums; display: grid; }
.plan__time small { font-weight: 400; color: var(--muted); }
.plan__pic { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.plan__what { display: grid; gap: 2px; min-width: 0; }
.plan__title { font: 700 1.0625rem/1.25 var(--serif); color: var(--ink); }
a.plan__title:hover { color: var(--amber-text); }
.plan__cost { font-size: .875rem; font-weight: 600; color: var(--amber-text); }
.plan__swap { font-size: .8125rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.plan__swap:hover { color: var(--amber-text); }
.plan__icon { flex: none; vertical-align: -3px; color: var(--amber-text); }
.plan__mode input:checked + span .plan__icon { color: var(--on-amber); }
.plan__park .plan__park-others { display: block; margin-top: 3px; font-size: .8125rem; color: var(--muted); }
.plan__leg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-left: 88px; padding: 8px 14px; border-left: 3px dotted var(--faint-2); color: var(--copy); font-size: .9375rem; }
.plan__sums { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding-top: 14px; border-top: 1px solid var(--faint); }
.plan__sums div { display: grid; }
.plan__sums dt { font-size: .8125rem; color: var(--muted); }
.plan__sums dd { margin: 0; font-weight: 700; }
.plan__sums-total dd { color: var(--amber-text); }
.plan__note { margin: 0; font-size: .875rem; }
.plan__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 640px) {
  .plan__form, .plan__result { padding: 18px; }
  .plan__stop { grid-template-columns: 58px 1fr auto; }
  .plan__stop .plan__pic { display: none; }
  .plan__leg { margin-left: 30px; }
}
@media print {
  .top, .bottomnav, footer, .plan__form, .plan__actions, .plan__swap, .screenhead { display: none !important; }
  .plan__result { border: 0; padding: 0; }
}


/* ---- The front page as one flow -------------------------------------------------------------
   Full-width scenes, each a picture of the city with its words and places laid over it, and what
   is on running sideways. No card frames: the pictures and the type carry it. */
.flow { overflow: hidden; }
.flow .eyebrow { color: var(--amber-text); }
.flow-h { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.02em; margin: 6px 0 14px; color: #fff; }
.flow-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: #e8eef2; max-width: 34em; margin: 0 0 22px; }
.flow-hero, .flow-scene { position: relative; color: #fff; background: #0f222e; isolation: isolate; }
.flow-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.flow-hero::before, .flow-scene::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 21, 29,.88) 0%, rgba(9, 21, 29,.62) 42%, rgba(9, 21, 29,.08) 78%), linear-gradient(0deg, rgba(9, 21, 29,.55), transparent 40%); }
.flow-scene--right::before { background: linear-gradient(270deg, rgba(9, 21, 29,.88) 0%, rgba(9, 21, 29,.62) 42%, rgba(9, 21, 29,.08) 78%), linear-gradient(0deg, rgba(9, 21, 29,.55), transparent 40%); }
.flow-hero__inner, .flow-scene__body { position: relative; }
.flow-hero { min-height: min(92vh, 900px); display: flex; align-items: flex-end; }
.flow-hero__inner { padding-top: 120px; padding-bottom: clamp(48px, 9vh, 110px); }
.flow-hero__title { font-family: var(--serif); font-weight: 800; font-size: clamp(44px, 7.4vw, 104px); line-height: .95; letter-spacing: -.035em; margin: 8px 0 18px; }
.flow-hero__title { display: grid; }
.flow-hero__tag { color: var(--amber-text); }
.flow-rotor { display: grid; }
/* Every reason in the same place, so the space taken is the longest one's and nothing below moves. */
.flow-rotor__line { grid-area: 1 / 1; align-self: end; opacity: 0; transform: translateY(.3em); transition: opacity .5s ease, transform .5s ease; }
.flow-rotor__line.is-on { opacity: 1; transform: none; }
.flow-hero__sub { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; max-width: 36em; color: #e8eef2; margin: 0 0 28px; }
.flow-search { display: flex; max-width: 640px; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.flow-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 18px; padding: 12px 20px; color: #102431; outline: none; }
.flow-search button { border: 0; border-radius: 999px; padding: 0 26px; background: var(--amber); color: var(--on-amber); font: inherit; font-weight: 700; cursor: pointer; }
.flow-search button:hover { background: var(--amber-hov); }
.flow-intents { margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 16px; }
.flow-intents a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; }
.flow-intents a:hover { border-color: var(--amber-text); color: var(--amber-text); }
.flow-intents span { color: rgba(255,255,255,.4); }

.flow-ribbon { background: var(--night); padding-block: clamp(40px, 7vh, 80px) clamp(36px, 6vh, 70px); }
.flow-ribbon .flow-h { color: var(--ink); font-size: clamp(26px, 3vw, 40px); margin: 0; }
.flow-ribbon__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.flow-ribbon__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 8px; scrollbar-width: none; scroll-behavior: smooth;
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 48px), transparent); }
.flow-ribbon__nav { display: flex; align-items: center; gap: 8px; }
.flow-ribbon__nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.flow-ribbon__nav button:hover { border-color: var(--amber); color: var(--amber-text); }
.flow-ribbon__nav .textlink { margin-left: 8px; }
.flow-ribbon__track::-webkit-scrollbar { display: none; }
.flow-tile { position: relative; flex: 0 0 clamp(170px, 17vw, 230px); aspect-ratio: 3 / 4.2; border-radius: 18px; overflow: hidden; scroll-snap-align: start; background: var(--panel); color: #fff; text-decoration: none; }
.flow-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.flow-tile:hover img { transform: scale(1.05); }
.flow-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 17, 23,.92) 0%, rgba(7, 17, 23,.35) 45%, transparent 70%); }
.flow-tile__text { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: grid; gap: 4px; }
.flow-tile__text small { color: var(--amber-text); font-weight: 600; letter-spacing: .02em; }
.flow-tile__text b { font-family: var(--serif); font-size: 17px; line-height: 1.15; }
.flow-tile__text { left: 14px; right: 14px; bottom: 13px; }
.flow-tile__text small { font-size: 13px; }
.flow-tile__tag { display: inline-block; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--amber); color: var(--on-amber); padding: 2px 7px; border-radius: 6px; margin-right: 6px; vertical-align: 1px; }
.flow-tile__text span { color: #d2dce3; font-size: 14px; }

.flow-scene { min-height: min(84vh, 820px); display: flex; align-items: center; }
.flow-scene--short { min-height: min(64vh, 620px); }
.flow-scene__body { padding-block: clamp(70px, 12vh, 140px); width: 100%; }
.flow-scene--right .flow-scene__body { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.flow-scene--right .flow-lead, .flow-scene--right .flow-names { margin-left: auto; }
.flow-names { display: flex; flex-wrap: wrap; gap: 4px 12px; max-width: 40em; margin: 0 0 22px; font-family: var(--serif); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.45; }
.flow-scene--right .flow-names { justify-content: flex-end; }
.flow-names a { color: #fff; text-decoration: none; }
.flow-names a:hover { color: var(--amber-text); }
.flow-name { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.flow-names i { white-space: nowrap; }
.flow-names i { font-style: normal; color: rgba(255,255,255,.32); margin-left: 12px; }
.flow-more { color: var(--amber-text); font-weight: 700; text-decoration: none; font-size: 17px; }
.flow-more:hover { color: var(--amber-hov); }

.flow-band { background: linear-gradient(180deg, var(--night), var(--panel)); padding-block: clamp(70px, 12vh, 130px); }
.flow-band .flow-h { color: var(--ink); }
.flow-band .flow-lead { color: var(--copy); }
.flow-band__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.flow-names--big { font-size: clamp(24px, 2.8vw, 40px); line-height: 1.25; gap: 6px 16px; }
.flow-names--big i { margin-left: 16px; }
.flow-band .flow-names a { color: var(--ink); }
.flow-band .flow-names a:hover { color: var(--amber-text); }
.flow-band .flow-names i { color: var(--line); }

.flow-scene__body--wide { width: 100%; }
.flow-scene--even::before { background: linear-gradient(90deg, rgba(9, 21, 29,.86), rgba(9, 21, 29,.7)); }
.flow-rail { list-style: none; padding: 0; margin: 8px 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2px 28px; max-width: 900px; }
.flow-rail li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.flow-rail b { font-family: var(--serif); font-size: 20px; }
.flow-rail__time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--amber-text); font-size: 18px; }
.flow-rail small { grid-column: 1 / -1; color: #bdcad2; font-size: 13px; }
.flow-note { color: #bdcad2; font-size: 13px; margin: 0; }

/* Coming into view: each scene's words rise in as it is reached (not for those who ask for less motion). */
@media (prefers-reduced-motion: no-preference) {
  .flow-scene__body, .flow-band__body { transition: opacity .9s ease, transform .9s ease; }
  .flow-scene__body.is-waiting, .flow-band__body.is-waiting { opacity: 0; transform: translateY(28px); }
}
@media (max-width: 760px) {
  .flow-hero, .flow-scene { min-height: auto; }
  .flow-hero::before, .flow-scene::before, .flow-scene--right::before { background: linear-gradient(0deg, rgba(9, 21, 29,.92) 10%, rgba(9, 21, 29,.55) 60%, rgba(9, 21, 29,.25)); }
  .flow-scene--right .flow-scene__body { align-items: flex-start; text-align: left; }
  .flow-scene--right .flow-names { justify-content: flex-start; }
  .flow-band__body { grid-template-columns: minmax(0, 1fr); }
  .flow-names--big { font-size: clamp(22px, 6.4vw, 30px); }
  .flow-search input { font-size: 16px; padding: 10px 14px; }
}


/* ---- Lists that flow: What's on, the businesses and the venues ----------------------------------
   One column you read down, not a grid of boxes: a search that narrows it as you type, the
   categories in a single line, headings for each day, and each item one line. */
.flowlist__head { max-width: 980px; }
.flowlist__title { font-family: var(--serif); font-weight: 800; font-size: clamp(36px, 5vw, 68px); line-height: 1; letter-spacing: -.03em; margin: 6px 0 12px; }
.flowlist__sub { color: var(--copy); font-size: 18px; margin: 0 0 22px; max-width: 40em; }
.flowlist__search input { width: 100%; max-width: 680px; font: inherit; font-size: 18px; padding: 16px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); outline: none; }
.flowlist__search input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px #007cc733; }
.flowlist__when { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
/* Business or pleasure: one switch, the three halves joined. */
.flowlist__mode { display: inline-flex; margin: 18px 0 0; padding: 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.flowlist__mode button { font: inherit; font-weight: 700; font-size: 16px; padding: 9px 20px; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.flowlist__mode button[aria-pressed="true"] { background: var(--amber); color: var(--on-amber); }
.flowlist__mode button:not([aria-pressed="true"]):hover { color: var(--ink); }
.flowlist__mode--ribbon { margin: 0 0 16px; }
.flow-tile[hidden] { display: none; }
.flowlist__when button { font: inherit; font-weight: 600; font-size: 15px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; }
.flowlist__when button[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.flowlist__when button small { opacity: .65; margin-left: 2px; font-weight: 500; }
.flowlist__cats { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; margin: 22px 0 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.flowlist__cats::-webkit-scrollbar { display: none; }
.flowlist__cats a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
.flowlist__cats a small { font-weight: 500; opacity: .7; margin-left: 3px; }
.flowlist__cats a:hover { color: var(--ink); }
.flowlist__cats a[aria-current="page"] { color: var(--ink); border-color: var(--amber); }

.flowlist__group { margin-top: 34px; }
.flowlist__day { position: sticky; top: 64px; z-index: 2; display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 12px 0; background: var(--night); font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; }
.flowlist__day span { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.flowrows { list-style: none; margin: 0; padding: 0; }
.flowrows > li { border-top: 1px solid var(--line); }
.flowrows > li:last-child { border-bottom: 1px solid var(--line); }
.flowrow { display: grid; grid-template-columns: 92px 112px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 14px 6px; color: var(--ink); text-decoration: none; border-radius: 12px; transition: background .2s ease; }
a.flowrow:hover, .flowrow--dir:hover { background: var(--wash); }
.flowrow__time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--amber-text); font-size: 16px; }
.flowrow__pic { position: relative; width: 112px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--panel); }
.flowrow__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.flowrow:hover .flowrow__pic img { transform: scale(1.06); }
.flowrow__pic i { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: 11px; font-weight: 700; background: #102431cc; color: #fff; padding: 2px 6px; border-radius: 6px; }
.flowrow__text { display: grid; gap: 3px; min-width: 0; }
.flowrow__text b { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.2; }
.flowrow__text a { color: inherit; text-decoration: none; }
.flowrow__text a:hover b { color: var(--amber-text); }
.flowrow__text > span { color: var(--muted); font-size: 15px; }
.flowrow__text em { font-style: normal; color: var(--copy); font-size: 15px; line-height: 1.45; }
.flowrow__go { color: var(--muted); font-size: 22px; padding-right: 8px; transition: transform .2s ease, color .2s ease; }
a.flowrow:hover .flowrow__go { color: var(--amber-text); transform: translateX(4px); }

.flowrow--venue { grid-template-columns: 168px minmax(0, 1fr) auto; }
.flowrow__pic--wide { width: 168px; aspect-ratio: 16 / 10; }
.flowrow--dir { grid-template-columns: 64px minmax(0, 1fr); align-items: start; }
.flowrow__logo { width: 64px; height: 64px; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; text-decoration: none; }
.flowrow__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.flowrow__logo span { font-family: var(--serif); font-size: 26px; font-weight: 800; color: #102431; }
.flowrow__acts { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: -6px; }
.flowrow__acts a { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.flowrow__acts a:hover { border-color: var(--amber); color: var(--amber-text); }

.flowlist__split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 22px; }
.flowlist__map { position: sticky; top: 84px; }
.flowlist__map .mapframe, .flowlist__map > * { border-radius: 18px; overflow: hidden; }
/* The map beside a list stands the height of the screen, so it is a map to look at and not a thumbnail. */
.flowlist__map .map-frame__view { aspect-ratio: auto; height: calc(100vh - 180px); height: calc(100dvh - 180px); min-height: 460px; }
@media (max-width: 1100px) { .flowlist__map .map-frame__view { height: 56vh; height: 56dvh; min-height: 340px; } }

.flowstrip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 0 8px; }
.flowstrip::-webkit-scrollbar { display: none; }
.flowstrip__item { position: relative; flex: 0 0 clamp(220px, 24vw, 300px); aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--panel); color: #fff; text-decoration: none; scroll-snap-align: start; }
.flowstrip__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.flowstrip__item:hover img { transform: scale(1.05); }
.flowstrip__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 17, 23,.9), rgba(7, 17, 23,.1) 65%); }
.flowstrip__item > span { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 2px; }
.flowstrip__item small { color: var(--amber-text); font-weight: 600; }
.flowstrip__item b { font-family: var(--serif); font-size: 18px; line-height: 1.15; }
.flowstrip__item i { font-style: normal; color: #d2dce3; font-size: 14px; }
.flowlist__none { color: var(--muted); font-size: 18px; padding: 30px 0; }
[data-flow-item][hidden], [data-flow-group][hidden] { display: none !important; }

@media (max-width: 1100px) {
  .flowlist__split { grid-template-columns: 1fr; }
  .flowlist__map { position: static; order: -1; max-width: 760px; }
}
@media (max-width: 640px) {
  .flowrow { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .flowrow__time { grid-column: 1 / -1; font-size: 14px; margin-bottom: -6px; }
  .flowrow__pic { width: 76px; }
  .flowrow__go { display: none; }
  .flowrow--venue { grid-template-columns: 110px minmax(0, 1fr); }
  .flowrow__pic--wide { width: 110px; }
  .flowrow--dir { grid-template-columns: 52px minmax(0, 1fr); }
  .flowrow__logo { width: 52px; height: 52px; }
  .flowlist__day { top: 56px; }
}


/* ---- Detail pages that flow: one layout for every venue ---------------------------------------
   A picture full width with the name on it, the details in a line, the words, what is on as an
   agenda, pictures running sideways, the map across the foot. No boxes side by side, so a place
   with little to say has a short page rather than an empty one. */
.dflow__hero { position: relative; min-height: clamp(340px, 52vh, 560px); border-radius: 24px; overflow: hidden; display: flex; align-items: flex-end; background: var(--panel); isolation: isolate; }
.dflow__hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.dflow__hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9, 21, 29,.9) 0%, rgba(9, 21, 29,.45) 45%, rgba(9, 21, 29,.05) 75%); }
.dflow__heroText { padding: clamp(22px, 4vw, 44px); color: #fff; width: 100%; }
.dflow__title { font-family: var(--serif); font-weight: 800; font-size: clamp(40px, 6vw, 84px); line-height: .98; letter-spacing: -.03em; margin: 12px 0 8px; }
.dflow__where { color: #e1e9ef; font-size: 18px; margin: 0 0 18px; }
.dflow__acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dflow__hero .btn--outline { color: #fff; border-color: rgba(255,255,255,.5); }
.dflow__facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 26px 0 0; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.dflow__facts > div { min-width: 0; }
.dflow__facts > div.is-long { flex-basis: 100%; max-width: 60em; }
.dflow__facts dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.dflow__facts dd { margin: 0; font-size: 17px; line-height: 1.5; }
.dflow__about { max-width: 46em; margin-top: 26px; font-size: 18px; }
.dflow__part { margin-top: 44px; }
.dflow__h { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; margin: 0 0 14px; display: flex; align-items: baseline; gap: 12px; }
.dflow__h small { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.dflow .flowrow__time small { font-weight: 500; color: var(--muted); }
.dflow__more { margin-top: 14px; font: inherit; font-weight: 700; color: var(--amber-text); background: none; border: 0; cursor: pointer; padding: 6px 0; }
.flowstrip__item--pic { aspect-ratio: 3 / 2; }
.dflow__map .blk { margin: 0; }
.dflow__map .map-frame { min-height: 420px; }

.dflow__brand { display: flex; align-items: center; gap: 14px; }
.dflow__logo { width: 72px; height: 72px; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.dflow__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

/* The front page's Meet: the business events coming up, as a short agenda over the picture. */
.flow-agenda { list-style: none; margin: 0 0 18px; padding: 0; max-width: 560px; width: 100%; text-align: left; }
.flow-scene--right .flow-agenda { margin-left: auto; }
.flow-agenda li { border-top: 1px solid rgba(255,255,255,.18); }
.flow-agenda li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.flow-agenda a { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 2px 16px; padding: 11px 0; color: #fff; text-decoration: none; }
.flow-agenda small { grid-row: span 2; color: var(--amber-text); font-weight: 700; font-size: 14px; padding-top: 3px; }
.flow-agenda b { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.flow-agenda span { color: #d2dce3; font-size: 14px; }
.flow-agenda a:hover b { color: var(--amber-text); }
@media (max-width: 640px) { .flow-agenda a { grid-template-columns: 1fr; } .flow-agenda small { grid-row: auto; } }


/* ---- An event's top: the words on a plain panel, the artwork whole beside them --------------- */
.eflow__hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); border-radius: 24px; overflow: hidden; background: var(--panel); min-height: clamp(320px, 46vh, 520px); }
.eflow__hero--plain { grid-template-columns: 1fr; }
.eflow__text { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.eflow__title { font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -.03em; margin: 14px 0 12px; }
.eflow__when { font-size: 19px; color: var(--copy); margin: 0 0 4px; }
.eflow__where { font-size: 19px; margin: 0 0 22px; }
.eflow__where a { color: var(--amber-text); font-weight: 700; text-decoration: none; }
.eflow__where a:hover { text-decoration: underline; }
.eflow__art { position: relative; overflow: hidden; background: #0d1921; display: grid; place-items: center; }
.eflow__blur { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; filter: blur(28px) brightness(.55); }
.eflow__poster { position: relative; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; padding: clamp(12px, 2vw, 24px); box-sizing: border-box; max-height: clamp(320px, 46vh, 520px); }
@media (max-width: 900px) {
  .eflow__hero { grid-template-columns: 1fr; }
  .eflow__art { order: -1; max-height: 56vh; }
  .eflow__poster { max-height: 56vh; }
}


/* Venues and businesses share the event's split top. A photo fills its half (an event's poster is
   shown whole instead, since it is mostly words). */
.eflow__art--photo { display: block; }
.eflow__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eflow__text .dflow__brand { margin-bottom: 2px; }
.eflow__text .dflow__brand .pill { margin: 0; }
@media (max-width: 900px) { .eflow__art--photo { height: clamp(200px, 48vw, 380px); } }

/* A long fact takes its own row whole, so nothing is left stranded at the far end beside it. */
.dflow__facts > div.is-long { flex: 0 0 100%; max-width: none; }
.dflow__facts > div.is-long dd { max-width: 60em; }
.eflow__where small { display: block; font-size: 16px; color: var(--muted); margin-top: 2px; }

/* Classic double blue: dark blue ground, a bright blue for buttons, the lighter blue for words. */
.pill .dot { background: #4da8da; }
.eflow__hero { background: linear-gradient(140deg, #203647 0%, #1a2d3b 60%, #152835 100%); }
.flow-hero__tag { color: #4da8da; }

/* Words over photographs: the accent as words (never the button colour, which can be dark), on a
   steady dark panel, so they read whatever the picture behind is doing. */
.flow-agenda { background: color-mix(in srgb, var(--night) 80%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 18px; padding: 6px 20px; }
.flow-agenda li:first-child { border-top: 0; }
.flow-agenda li:last-child { border-bottom: 0; }
.flow-agenda b { color: #fff; }
.flow-agenda span { color: var(--copy); }
.flow-scene .flow-names, .flow-scene .flow-lead, .flow-scene .flow-more { text-shadow: 0 1px 2px rgba(0,0,0,.65), 0 2px 18px rgba(0,0,0,.55); }

/* Getting here: the switch and the times on a steady dark panel over the photograph. */
.flow-travel { background: color-mix(in srgb, var(--night) 82%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 20px; padding: 18px 24px 8px; max-width: 960px; margin: 8px 0 14px; }
.flow-travel__mode { margin: 0 0 6px; }
.flow-travel .flow-rail { margin: 0; max-width: none; }
.flow-travel .flow-rail[hidden] { display: none; }
.flow-travel .flow-rail li:nth-last-child(-n+3) { border-bottom: 0; }
.flow-rail small { color: var(--copy); }
.flow-scene--even .flow-lead, .flow-scene--even .flow-note { text-shadow: 0 1px 2px rgba(0,0,0,.65), 0 2px 18px rgba(0,0,0,.5); }

/* Directory tiles: a company's photograph fills its tile; a logo sits on white; with neither, the
   line of work as a drawing (or the first letter) on a quiet panel in the accent colour. */
.flowrow__logo { box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.flowrow__logo--photo { background: var(--panel2); }
.flowrow__logo--photo img { object-fit: cover; padding: 0; }
.flowrow__logo--none { background: linear-gradient(145deg, var(--panel2), var(--panel)); border: 1px solid var(--line); color: var(--amber-text); box-shadow: none; }
.flowrow__logo--none span { color: var(--amber-text); font-size: 28px; }
.flowrow:hover .flowrow__logo--none { border-color: var(--amber-text); }

.flowrow__logo--none span { font-size: 24px; letter-spacing: -.02em; }

/* ---- Meetings & events: the venues for a booker, the train against the car, the fact sheet ---- */
.meet__stats { list-style: none; margin: 8px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.meet__stats li { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 16px; }
.meet__stats b { display: block; font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1; color: var(--amber-text); letter-spacing: -.02em; }
.meet__stats span { display: block; margin-top: 8px; color: var(--copy); font-size: 15px; line-height: 1.4; }
.meet__filters { margin-bottom: 18px; }
.meet__toggle { border-style: dashed !important; }
.meet__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.meet-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.meet-card[hidden] { display: none; }
.meet-card__pic { position: relative; background: linear-gradient(145deg, var(--panel2), var(--night)); min-height: 220px; display: grid; place-items: center; }
.meet-card__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.meet-card__pic span { font-family: var(--serif); font-size: 54px; font-weight: 800; color: var(--amber-text); letter-spacing: -.03em; }
.meet-card__360 { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.62); color: #fff; font-weight: 700; font-size: 14px; padding: 7px 12px; border-radius: 99px; text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.meet-card__360:hover { background: var(--amber); color: var(--on-amber); }
.meet-card__body { padding: 20px 24px 22px; }
.meet-card__kicker { margin: 0 0 4px; color: var(--amber-text); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.meet-card__name { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; margin: 0 0 10px; }
.meet-card__chips { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.meet-card__chips li { border: 1px solid var(--line); border-radius: 99px; padding: 4px 11px; font-size: 14px; color: var(--copy); }
.meet-card__text { margin: 0 0 10px; color: var(--copy); line-height: 1.55; }
.meet-card__hotels { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.meet-card__hotels b { color: var(--copy); font-weight: 600; }
.meet-card__hotels a { color: var(--amber-text); text-decoration: none; }
.meet-card__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.meet__part { margin-top: 48px; }
.meet__lead { color: var(--copy); max-width: 46em; line-height: 1.6; margin: 0 0 16px; }
.meet__carbon { width: 100%; border-collapse: collapse; font-size: 16px; }
.meet__carbon th, .meet__carbon td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.meet__carbon thead th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.meet__carbon tbody th { font-family: var(--serif); font-size: 18px; }
.meet__save { color: var(--amber-text); font-weight: 700; }
.meet__hotels { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 28px; }
.meet__hotels a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.meet__hotels span { color: var(--amber-text); font-weight: 700; white-space: nowrap; }
.meet__hotels a:hover b { color: var(--amber-text); }
.meet__cta { margin: 56px 0 10px; background: linear-gradient(140deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
.meet__cta h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); margin: 0 0 8px; }
.meet__cta p { color: var(--copy); margin: 0 0 18px; max-width: 40em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) {
  .meet__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meet-card { grid-template-columns: 1fr; }
  .meet-card__pic { min-height: 190px; }
  .meet__carbon th:nth-child(5), .meet__carbon td:nth-child(5) { display: none; }
}

/* The fact sheet: the page on screen, and the same page on paper. */
.sheet__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.sheet__bar a { color: var(--amber-text); font-weight: 700; text-decoration: none; }
.sheet__page { background: #fff; color: #17222b; border-radius: 18px; padding: clamp(22px, 4vw, 48px); max-width: 900px; margin: 0 auto; }
.sheet__page .eyebrow { color: #5b6b75; }
.sheet__head { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; border-bottom: 2px solid #17222b; padding-bottom: 18px; }
.sheet__head h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); line-height: 1.05; margin: 6px 0 10px; color: #17222b; }
.sheet__lead { margin: 0; font-size: 17px; line-height: 1.5; color: #33424c; }
.sheet__pic { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.sheet__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 18px 0; }
.sheet__facts div { padding: 10px 0; border-bottom: 1px solid #dde3e7; }
.sheet__facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #5b6b75; font-weight: 700; }
.sheet__facts dd { margin: 3px 0 0; font-size: 16px; color: #17222b; }
.sheet__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.sheet__cols h2 { font-family: var(--serif); font-size: 20px; margin: 10px 0 8px; color: #17222b; }
.sheet__list { margin: 0; padding-left: 18px; line-height: 1.6; color: #33424c; }
.sheet__small { font-size: 12px; color: #5b6b75; }
.sheet__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 12px; border-top: 1px solid #dde3e7; font-size: 12px; color: #5b6b75; }
@media (max-width: 700px) { .sheet__head, .sheet__facts, .sheet__cols { grid-template-columns: 1fr; } }
@media print {
  body { background: #fff !important; }
  .top, .bottomnav, footer, .crumbs, .breadcrumb, .no-print { display: none !important; }
  .sheet { padding: 0 !important; }
  .sheet__page { border-radius: 0; padding: 0; max-width: none; }
}

.flow-rail__co2 { color: var(--amber-text); white-space: nowrap; }
.flow-scene .flow-more + .flow-more { margin-left: 22px; }

/* The shortlist: a pick on each venue, a tray along the foot, and the venues side by side. */
.meet-card__pick[aria-pressed="true"] { background: var(--amber); color: var(--on-amber); border-color: var(--amber); }
.meet__tray { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 20px; border-radius: 99px; background: color-mix(in srgb, var(--night) 92%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); max-width: calc(100vw - 24px); }
.meet__tray[hidden] { display: none; }
.meet__tray span { font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) { .meet__tray { bottom: 76px; flex-wrap: wrap; justify-content: center; border-radius: 20px; } }
.compare__page { max-width: none; }
.compare__title { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); margin: 4px 0 16px; color: #17222b; }
.compare__scroll { overflow-x: auto; }
.compare__table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare__table th, .compare__table td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid #dde3e7; color: #17222b; font-size: 15px; }
.compare__table thead th { font-family: var(--serif); font-size: 18px; border-bottom: 2px solid #17222b; }
.compare__table thead img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.compare__table thead a { color: #17222b; text-decoration: none; }
.compare__table tbody th { width: 170px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #5b6b75; }
.compare__links a { display: block; color: #0a5c99; font-weight: 600; text-decoration: none; margin-bottom: 4px; }
@media print { .compare__table { min-width: 0; } .compare__table thead img { max-height: 120px; } }
.compare__table thead th { vertical-align: bottom; }
.flowrow__walk { display: inline-block; margin: 2px 0 4px; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber-text); font-size: 13px; font-weight: 700; }

/* After the meeting: evening events a short walk away, and somewhere to eat. */
.after__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.after__h { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 8px; }
.after__list { list-style: none; margin: 0 0 10px; padding: 0; }
.after__list a { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.after__list li:last-child a { border-bottom: 1px solid var(--line); }
.after__list small { color: var(--amber-text); font-weight: 700; font-size: 14px; }
.after__list b { font-family: var(--serif); font-size: 18px; line-height: 1.25; }
.after__list span { color: var(--muted); font-size: 14px; }
.after__list a:hover b { color: var(--amber-text); }
@media (max-width: 760px) { .after__cols { grid-template-columns: 1fr; } }
.sheet__page .after { margin-top: 18px; }
.sheet__page .after .dflow__h, .sheet__page .after__list b { color: #17222b; }
.sheet__page .after__list a { color: #17222b; border-color: #dde3e7; }
.sheet__page .after__list small { color: #0a5c99; }
.sheet__page .after__list span, .sheet__page .after__h { color: #5b6b75; }

/* A venue card's buttons, tidy at any width: the fact sheet first and widest, the rest in an even grid. */
.meet-card__acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.meet-card__acts > .btn { justify-content: center; text-align: center; white-space: nowrap; padding-left: 10px; padding-right: 10px; min-width: 0; }
.meet-card__acts > .btn--primary { order: -1; }
.meet-card__chips li { font-size: 13px; }
@media (max-width: 1100px) { .meet-card__acts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .meet-card__acts > .btn--primary { grid-column: 1 / -1; } }

@media (max-width: 640px) { .meet__tray { flex-wrap: nowrap; border-radius: 99px; gap: 8px; padding: 6px 6px 6px 16px; } .meet__tray .btn { padding: 8px 14px; min-height: 0; font-size: 15px; } }

/* Business visitor essentials. */
.essentials__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.essentials__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 10px; }
.essentials__box { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.essentials__box h2 { font-family: var(--serif); font-size: 24px; margin: 0 0 12px; }
.essentials__box p { color: var(--copy); line-height: 1.6; margin: 0 0 10px; }
.essentials__box a { color: var(--amber-text); }
.essentials__numbers { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.essentials__numbers li { display: flex; align-items: center; gap: 14px; }
.essentials__numbers b { font-family: var(--serif); font-size: 30px; line-height: 1; min-width: 64px; color: var(--amber-text); }
.essentials__numbers span { color: var(--copy); }
.essentials__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.essentials__list { list-style: none; margin: 0 0 10px; padding: 0; }
.essentials__list a { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.essentials__list li:last-child a { border-bottom: 1px solid var(--line); }
.essentials__list b { font-weight: 700; }
.essentials__list span { color: var(--muted); font-size: 14px; }
.essentials__list a:hover b { color: var(--amber-text); }
@media (max-width: 1000px) { .essentials__cols { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .essentials__grid { grid-template-columns: 1fr; } }
.meet__cta .btn + .btn { margin-left: 8px; }
@media (max-width: 640px) { .meet__cta .btn { display: flex; width: 100%; justify-content: center; } .meet__cta .btn + .btn { margin: 8px 0 0; } }

/* Open data. */
.opendata__feed { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin-top: 16px; }
.opendata__feed h2 { font-family: var(--serif); font-size: 26px; margin: 0 0 8px; }
.opendata__feed p { color: var(--copy); line-height: 1.6; margin: 0 0 10px; }
.opendata__url { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.opendata__url code, .opendata__facts code { background: var(--night); border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.opendata__url a { color: var(--amber-text); font-weight: 700; }
.opendata__facts { margin: 6px 0 0; display: grid; gap: 8px; }
.opendata__facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.opendata__facts dt { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; padding-top: 4px; }
.opendata__facts dd { margin: 0; color: var(--copy); }
.opendata__fields { display: inline-block; line-height: 1.7; }
.opendata__notes ul { color: var(--copy); line-height: 1.7; padding-left: 20px; }
.opendata__notes a { color: var(--amber-text); }
@media (max-width: 640px) { .opendata__facts div { grid-template-columns: 1fr; gap: 2px; } }

/* Work in Peterborough. */
.work__jobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.work__job { display: grid; gap: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; color: var(--ink); text-decoration: none; }
.work__job b { color: var(--amber-text); font-size: 17px; }
.work__job span { color: var(--copy); font-size: 14px; line-height: 1.45; }
.work__job:hover { border-color: var(--amber-text); }
.work__sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 28px; }
.work__sector h3 { font-family: var(--serif); font-size: 19px; margin: 14px 0 6px; }
.work__sector h3 small { color: var(--muted); font-family: var(--sans); font-size: 14px; font-weight: 600; }
.work__list { list-style: none; margin: 0; padding: 0; }
.work__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.work__list--learn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.work__name { color: var(--ink); text-decoration: none; font-weight: 600; }
.work__name:hover { color: var(--amber-text); }
.work__careers, .work__site { flex: none; font-size: 14px; font-weight: 700; text-decoration: none; }
.work__careers { color: var(--amber-text); }
.work__site { color: var(--muted); }
.work .flow-note a { color: var(--amber-text); }
@media (max-width: 1000px) { .work__jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .work__sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .work__jobs, .work__sectors, .work__list--learn { grid-template-columns: 1fr; } }

/* ---- The front page's business side ------------------------------------------------------------
   Figures and words rather than boxes: a band of four numbers, the biggest rooms as numbers to
   compare, the employers by line of work as a line of figures, and four ways in, ruled not boxed. */
.flow-figures { background: var(--night); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow-figures__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow-figures__list li + li { border-left: 1px solid var(--line); }
.flow-figures__list a { display: block; padding: clamp(22px, 3vw, 38px) clamp(14px, 2vw, 28px); color: var(--ink); text-decoration: none; transition: background .2s; }
.flow-figures__list a:hover { background: color-mix(in srgb, var(--amber) 8%, transparent); }
.flow-figures__list b { display: block; font-family: var(--serif); font-weight: 800; font-size: clamp(40px, 5vw, 72px); line-height: .95; letter-spacing: -.04em; color: var(--amber-text); }
.flow-figures__list b small { font-size: .38em; letter-spacing: 0; margin-left: 4px; color: var(--ink); font-weight: 700; }
.flow-figures__list span { display: block; margin-top: 10px; color: var(--copy); font-size: 15px; line-height: 1.4; max-width: 20em; }
@media (max-width: 800px) {
  .flow-figures__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-figures__list li:nth-child(3) { border-left: 0; }
  .flow-figures__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.flow-caps { list-style: none; margin: 6px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; max-width: 620px; width: 100%; }
.flow-scene--right .flow-caps { margin-left: auto; }
.flow-caps a { display: block; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; text-align: left; text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 2px 16px rgba(0,0,0,.5); }
.flow-caps b { display: block; font-family: var(--serif); font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); line-height: 1; letter-spacing: -.03em; }
.flow-caps span { display: block; margin-top: 4px; font-size: 14px; color: #e6eef2; }
.flow-caps a:hover b { color: var(--amber-text); }
.flow-cta { display: inline-flex; align-items: center; margin: 0 0 18px; padding: 12px 22px; border-radius: 99px; background: var(--amber); color: var(--on-amber); font-weight: 700; text-decoration: none; }
.flow-cta:hover { background: var(--amber-hov); }
.flow-sectors { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 4px 0 20px; max-width: 640px; }
.flow-scene--right .flow-sectors { justify-content: flex-end; margin-left: auto; }
.flow-sectors a { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 99px; background: color-mix(in srgb, var(--night) 70%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; font-size: 15px; }
.flow-sectors b { font-family: var(--serif); color: var(--amber-text); font-size: 18px; }
.flow-sectors a:hover { border-color: var(--amber-text); }
.flow-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; max-width: 640px; width: 100%; background: color-mix(in srgb, var(--night) 78%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 18px; padding: 6px 20px; text-align: left; }
.flow-scene--right .flow-ways { margin-left: auto; }
.flow-ways a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.flow-ways li:nth-last-child(-n+2) a { border-bottom: 0; }
.flow-ways b { display: block; font-family: var(--serif); font-size: 18px; }
.flow-ways b::after { content: "  →"; color: var(--amber-text); }
.flow-ways span { display: block; color: var(--copy); font-size: 14px; margin-top: 2px; }
.flow-ways a:hover b { color: var(--amber-text); }
@media (max-width: 640px) {
  .flow-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-ways { grid-template-columns: 1fr; }
  .flow-ways li:nth-last-child(2) a { border-bottom: 1px solid var(--line); }
}

/* Work: a wide 360 of the city across the top, drifting slowly so it reads as a panorama. */
.work__pano { position: relative; display: block; height: clamp(220px, 36vw, 420px); overflow: hidden; background: var(--panel); }
.work__pano img { position: absolute; top: 0; left: 0; height: 100%; width: auto; min-width: 200%; max-width: none; object-fit: cover; animation: workPan 60s linear infinite alternate; }
.work__pano::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--night) 0%, transparent 45%); }
.work__pano-tag, .work__pano-go { position: absolute; z-index: 1; font-weight: 700; }
.work__pano-tag { left: max(16px, calc((100vw - 1200px) / 2)); bottom: 18px; color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.work__pano-go { right: max(16px, calc((100vw - 1200px) / 2)); bottom: 14px; background: var(--amber); color: var(--on-amber); padding: 9px 16px; border-radius: 99px; font-size: 15px; }
.work__pano:hover .work__pano-go { background: var(--amber-hov); }
@keyframes workPan { from { transform: translateX(0); } to { transform: translateX(calc(-100% + 100vw)); } }
@media (prefers-reduced-motion: reduce) { .work__pano img { animation: none; } }

/* Every picture fills its tile edge to edge: no white mount, no padding. */
.flowrow__logo { background: var(--panel2); }
.flowrow__logo img { object-fit: cover; padding: 0; }

.dflow__logo { background: var(--panel2); }
.dflow__logo img { object-fit: cover; padding: 0; }
.card > .photo--logo { background: var(--panel2); }
.card > .photo--logo img { object-fit: cover; padding: 0; }

/* Open data: the signup for a key. */
.opendata__signup { background: linear-gradient(140deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 32px); margin: 8px 0 10px; }
.opendata__signup h2 { font-family: var(--serif); font-size: 28px; margin: 0 0 8px; }
.opendata__signup p { color: var(--copy); line-height: 1.6; }
.opendata__form { display: grid; gap: 14px; max-width: 760px; }
.opendata__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.opendata__form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.opendata__form label em { font-style: normal; font-weight: 500; color: var(--muted); }
.opendata__form input, .opendata__form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--night); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.opendata__form input:focus, .opendata__form textarea:focus { outline: 2px solid var(--amber-text); outline-offset: 1px; }
.opendata__form small { color: #ff9b8a; font-weight: 600; }
.opendata__form .btn { justify-self: start; }
.opendata__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.opendata__small { font-size: 13px; color: var(--muted) !important; }
.opendata__small a { color: var(--amber-text); }
.opendata__error { color: #ff9b8a !important; font-weight: 700; }
.opendata__key code { display: inline-block; font-size: 18px; padding: 12px 16px; border-radius: 12px; background: var(--night); border: 1px solid var(--amber-text); color: var(--ink); user-select: all; overflow-wrap: anywhere; }
@media (max-width: 640px) { .opendata__row { grid-template-columns: 1fr; } }

.opendata__form--pin { max-width: 360px; }
.opendata__form--pin input[name="pin"] { font-size: 28px; letter-spacing: 10px; text-align: center; }

/* Car parks, chargers and toilets near a place. */
.amen-search { margin: 4px 0 14px; max-width: 720px; }
.amen-search label { display: block; font-weight: 700; margin-bottom: 6px; }
.amen-search__row { display: flex; gap: 8px; }
.amen-search__row input { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 99px; padding: 12px 18px; }
.amen-search__row input:focus { outline: 2px solid var(--amber-text); outline-offset: 1px; }
.amen-search__note { margin: 6px 0 0; color: var(--muted); font-size: 14px; min-height: 1.2em; }
.amen-near { display: block; margin-top: 2px; color: var(--amber-text); font-weight: 700; font-size: 14px; }

/* Ask us: the enquiry form */
.enquire fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.enquire legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.enquire legend em { font-style: normal; font-weight: 500; color: var(--muted); }
.enquire__types { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.enquire__type, .enquire__venue { display: flex !important; align-items: center; gap: 10px !important; font-weight: 600 !important; background: var(--night); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.enquire__type:has(input:checked), .enquire__venue:has(input:checked) { border-color: var(--amber-text); box-shadow: 0 0 0 1px var(--amber-text) inset; }
.enquire__type input, .enquire__venue input { accent-color: var(--amber-text); width: 18px; height: 18px; margin: 0; flex: none; padding: 0; }
.enquire__venue em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 13px; }
.enquire__venuegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.enquire__meeting { display: grid; gap: 14px; }
.enquire__meeting[hidden] { display: none; }
@media (max-width: 640px) { .enquire .opendata__row { grid-template-columns: 1fr; } }
.sheet__acts { display: inline-flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------ scenes: places to stay and the evening, livened up */
/* Each hotel a glass card over the city picture, not a run of names. */
.flow-stays { list-style: none; margin: 8px 0 26px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); max-width: 1100px; }
.flow-stays a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 14px; color: #fff; text-decoration: none;
  background: rgba(10, 20, 28, .42); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.flow-stays a:hover { transform: translateY(-2px); background: rgba(10, 20, 28, .62); border-color: color-mix(in srgb, var(--amber) 70%, transparent); text-decoration: none; }
.flow-stays__icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--amber) 85%, transparent); color: var(--on-amber); }
.flow-stays__name { flex: 1; min-width: 0; font: 600 1rem/1.25 var(--serif); }
.flow-stays__go { color: rgba(255, 255, 255, .55); transition: transform .2s ease, color .2s ease; }
.flow-stays a:hover .flow-stays__go { transform: translateX(3px); color: #fff; }

/* The evening's places as picture tiles, with what is on next at each. */
.flow-band--nights { background: radial-gradient(1200px 500px at 85% 10%, color-mix(in srgb, var(--amber) 22%, transparent), transparent 60%), linear-gradient(180deg, var(--night), var(--panel)); }
.flow-band--nights .flow-cta { margin-top: 22px; }
.flow-nights { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.flow-nights a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--panel2); color: #fff; text-decoration: none; isolation: isolate; }
.flow-nights img, .flow-nights__initials { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.flow-nights__initials { display: grid; place-items: center; font: 700 2.4rem var(--serif); color: rgba(255, 255, 255, .45); background: linear-gradient(135deg, var(--panel2), var(--panel)); }
.flow-nights a::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .78)); }
.flow-nights a:hover img { transform: scale(1.05); }
.flow-nights__text { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 10px; display: flex; flex-direction: column; gap: 2px; }
.flow-nights__text b { font: 700 1rem/1.2 var(--serif); }
.flow-nights__text small { font-size: .75rem; line-height: 1.3; color: rgba(255, 255, 255, .8); }
@media (max-width: 760px) { .flow-band--nights .flow-band__body { grid-template-columns: minmax(0, 1fr); } .flow-nights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The site's own contact details in the footer, and the About us page (the Toolkit's Site settings). */
.footer__contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: .875rem; }
.footer__contact a { color: var(--muted); }
.footer__contact a:hover { color: var(--amber-text); }
.about-contact { max-width: 760px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.about-contact h2 { margin: 0 0 12px; font: 700 1.25rem var(--serif); }
.about-contact dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.about-contact dt { color: var(--muted); }
.about-contact dd { margin: 0; }
.about-contact dd a + a { margin-left: 10px; }

/* The header's grouped pages (header.php): a drop-down under the page's name, opening left. Without the
   script the group is a plain link to its first page. */
.navbtn--group { gap: 6px; cursor: pointer; font: inherit; font-weight: 600; }
.navbtn__caret { font-size: .7em; opacity: .7; }
.js .navbtn--nojs { display: none; }
.pop--nav .pop__panel { left: 0; right: auto; min-width: 230px; gap: 2px; }
.pop__group { margin: 10px 12px 2px; color: var(--muted); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pop__panel--menu nav { display: flex; flex-direction: column; gap: 2px; }
.pop__panel--menu { max-height: calc(100vh - 100px); overflow: auto; }

/* The footer's pages in the same groups, in columns. */
.footer__groups { display: grid; gap: 18px 32px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 4px 0 12px; }
.footer__group .footer__links { flex-direction: column; align-items: flex-start; gap: 0; }
.footer__group .footer__links a { min-height: 36px; padding: 0 10px; margin-left: -10px; }
.footer__h { display: block; margin-bottom: 4px; color: inherit; font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

/* Two things side by side in one section (Meet: the rooms, then the events), one under the other on a phone. */
.flow-pair { display: flex; flex-direction: column; width: 100%; }
.flow-pair__col { display: flex; flex-direction: column; min-width: 0; }
.flow-scene--right .flow-pair__col { align-items: flex-end; }
@media (min-width: 1024px) {
  .flow-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: start; max-width: 1120px; }
  .flow-scene--right .flow-pair { margin-left: auto; }
  .flow-pair .flow-caps, .flow-pair .flow-agenda { max-width: none; margin-left: 0; }
  .flow-scene--right .flow-pair__col { align-items: stretch; }
  .flow-pair .flow-cta, .flow-pair .flow-more { align-self: flex-start; }
}

/* The brand lockup above the homepage's words. */
.flow-hero__logo { display: block; width: clamp(200px, 26vw, 360px); height: auto; margin: 0 0 clamp(14px, 2vw, 26px) -2px; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .45)); }

/* About us: what the site is and that it is in Beta 1; the footer's Beta 1 line. */
.about__more, .about__beta { max-width: 760px; margin-top: 36px; }
.about__more .h3, .about__beta .h3 { color: var(--ink); margin: 0 0 12px; }
.about__list { margin: 0; padding-left: 1.2em; color: var(--copy); line-height: 1.7; display: grid; gap: 8px; }
.about__list strong { color: var(--ink); }
.about__beta { padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.about__beta p { color: var(--copy); line-height: 1.65; }
.about__badge, .footer__badge { display: inline-block; padding: 2px 9px; border-radius: 99px; background: var(--amber); color: var(--on-amber); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.about__badge { margin: 0 0 10px; }
.footer__beta { margin: 6px 0 0; font-size: .8125rem; }
.footer__beta a { color: var(--amber-text); font-weight: 600; }

/* Report a problem: a small pop-up, and the page without script. */
.report { width: min(460px, calc(100vw - 32px)); padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--ink); box-shadow: 0 24px 70px #0007; }
.report::backdrop { background: rgba(5, 12, 18, .55); }
.report__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.report__head strong { font: 700 1.15rem var(--serif); }
.report__close { min-width: 40px; min-height: 40px; border: 0; border-radius: 99px; background: transparent; color: var(--muted); font-size: 1rem; cursor: pointer; }
.report__close:hover { background: var(--wash); color: var(--ink); }
.report__intro { margin: 4px 0 14px; color: var(--muted); font-size: .875rem; }
.report__form { display: grid; gap: 14px; }
.report-page .report__form, .report-page .report__thanks { max-width: 560px; }
.report__field { display: grid; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--ink); }
.report__field em { font-style: normal; font-weight: 400; color: var(--muted); }
.report__field textarea, .report__field input { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--night); color: var(--ink); font: inherit; font-weight: 400; }
.report__field textarea:focus, .report__field input:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.report__error { color: #ff9d8f; font-weight: 400; }
.report__status { min-height: 1.2em; margin: 0; color: var(--muted); font-size: .8125rem; }
.report__actions { display: flex; justify-content: flex-end; }
.report__thanks { display: grid; gap: 12px; color: var(--copy); }
.report__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.about__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
