/* Atlantis Backpackers. Built by scripts/build-css.mjs from styles/ (do not edit here; edit styles/ and run pnpm css). */

/* ===== styles/tokens.css ===== */
/* Tokens: colours, fonts, corners and spacing as custom properties, and their dark-mode values. Custom properties
   only (scripts/build-css.mjs refuses anything else): scripts/contrast.mjs reads the colours from here. */

:root {
  /* The design tuner's tokens (design/morph/tokens.json), at end 1 of design/morph/ends.json: the current design,
     value for value. The site's CSS reads its colours, fonts, sizes, corners and spacing from these, so the tuner
     preview moves when its sliders do. A saved design (theme.css) or the tuner overrides them on :root; without one
     the site renders exactly as before. tests/tokens.test.ts checks every value here against ends.json. */
  --atl-top: #edf9ff;
  --atl-on-top: #132a68;
  --atl-top-edge: #284ba8;
  --atl-hero: #284ba8;
  --atl-on-hero: #ffffff;
  --atl-hero-soft: #d2f3ff;
  --atl-band: #284ba8;
  --atl-on-band: #d2f3ff;
  --atl-band-head: #ffffff;
  --atl-page: #edf9ff;
  --atl-ink: #181c21;
  --atl-muted: #53595f;
  --atl-muted-2: #53595f;
  --atl-price-field: #edf9ff;
  --atl-on-price-field: #181c21;
  --atl-sun: #90f6e2;
  --atl-sand: #e6daff;
  --atl-wash: #98e5ff;
  --atl-foot: #132a68;
  --atl-on-foot: #e6efff;
  --atl-menu: #edf9ff;
  --atl-on-menu: #132a68;
  --atl-panel: #ffffff;
  --atl-input-line: #6c7278;
  --atl-h-a: #8e00ca;
  --atl-h-b: #284ba8;
  --atl-band-accent: #ff7ca6;
  --atl-band-h4: #98e5ff;
  --atl-link: #102998;
  --atl-link-on-dark: #d2f3ff;
  --atl-foot-link: #98e5ff;
  --atl-btn: #ff7ca6;
  --atl-on-btn: #181c21;
  --atl-btn-hover: #284ba8;
  --atl-on-btn-hover: #ffffff;
  --atl-submit: #ff7ca6;
  --atl-on-submit: #181c21;
  --atl-pager: #ff7ca6;
  --atl-required: #a1261b;
  --atl-focus: #102998;
  --atl-brush: #ff7ca6;
  --atl-on-card: #ffffff;
  --atl-card-1: #284ba8;
  --atl-card-1-tab: #ff7ca6;
  --atl-on-card-1-tab: #181c21;
  --atl-card-2: #00745d;
  --atl-card-2-tab: #98e5ff;
  --atl-on-card-2-tab: #181c21;
  --atl-card-3: #9543c6;
  --atl-card-3-tab: #d2f3ff;
  --atl-on-card-3-tab: #181c21;
  --atl-stamp: #8e00ca;
  --atl-widget-head: #ffffff;
  --atl-on-widget-head: #132a68;
  --atl-widget-body: #ffffff;
  --atl-widget-label: #132a68;
  --atl-widget-btn: #ff7ca6;
  --atl-on-widget-btn: #181c21;
  --atl-block: #18354d;
  --atl-outline: #181c21;
  --atl-font-heading: 'Cooper Star', 'Cooper Black', 'Cooper Std', Georgia, serif;
  --atl-font-body: 'Cooper Star', 'Cooper Black', 'Cooper Std', Georgia, serif;
  --atl-font-loud: 'Cooper Star', 'Cooper Black', 'Cooper Std', Georgia, serif;
  --atl-font-nav: 'Cooper Star', 'Cooper Black', 'Cooper Std', Georgia, serif;
  --atl-font-sign: 'Caesar Dressing', 'Limelight', Georgia, serif;
  --atl-font-caption: 'Limelight', Georgia, serif;
  --atl-h-case: none;
  --atl-h-synth: none;
  --atl-h-weight: 400;
  --atl-nav-case: uppercase;
  --atl-nav-weight: 700;
  --atl-h2-size: 33.6px;
  --atl-h2-size-sm: 33.6px;
  --atl-h3-size: 18.4px;
  --atl-h3-size-sm: 18.4px;
  --atl-round-h-size: 21.6px;
  --atl-round-h-size-sm: 21.6px;
  --atl-h-track: 0.01em;
  --atl-h-lh: 1.2;
  --atl-h-gap: 16.8px;
  --atl-h-gap-sm: 16.8px;
  --atl-h1-shadow: 3px;
  --atl-body-size: 17px;
  --atl-body-size-sm: 17px;
  --atl-body-lh: 1.6;
  --atl-lede-size: 18.4px;
  --atl-nav-size: 14.4px;
  --atl-nav-track: 0.864px;
  --atl-sign-size: 23.2px;
  --atl-btn-size: 16.8px;
  --atl-price-size: 35.2px;
  --atl-price-size-sm: 35.2px;
  --atl-photo-r: 14px 4px 16px 6px / 6px 14px 4px 16px;
  --atl-card-r: 14px 4px 16px 6px / 6px 14px 4px 16px;
  --atl-btn-r: 6px 16px 5px 14px / 15px 5px 14px 6px;
  --atl-submit-r: 6px 16px 5px 14px / 15px 5px 14px 6px;
  --atl-input-r: 6px;
  --atl-outline-w: 2.5px;
  --atl-outline-w-heavy: 3px;
  --atl-input-w: 1.5px;
  --atl-block-x: 4px;
  --atl-block-lg: 5px;
  --atl-ring-w: 6px;
  --atl-ring-ink-w: 3px;
  --atl-host-ring-w: 6px;
  --atl-top-edge-w: 6px;
  --atl-banner-h: 380px;
  --atl-banner-h-sm: 220px;
  --atl-round-size: 160px;
  --atl-round-size-sm: 160px;
  --atl-host-size: 240px;
  --atl-room-photo-h: 190px;
  --atl-orn-brush: 1;
  --atl-orn-wave: 1;
  --atl-orn-colsign: 1;
  --atl-orn-temple: 1;
  --atl-orn-edge-band: 1;
  --atl-orn-pager: 0;
  --atl-tilt-k: 1;
  --atl-sec-pad: 48px;
  --atl-sec-pad-sm: 48px;
  --atl-sec-pad-after: 64px;
  --atl-container: 1100px;
  --atl-gutter: 16px;
  --atl-grid-gap: 20px;
  --atl-gallery-gap: 18px;

  /* The mural palette, measured from the walls as photographed, then tuned in OKLCH (colour passes of 18 and 25 Nov
     2026). 90s brights pass (26 Nov 2026): the owner found the light blue dull and asked for saturated 90s colour,
     and Sheira asked for no beige, cream or yellow and a lighter red than the burgundy. Every hue sits on one 45-degree
     grid from teal to its complement: teal 175, sky 230, cobalt 265, violet 310, hot coral 355 to 5. The grid skips
     the oranges, yellows, olives and greens between, where beige, cream and yellow live. Lightness is set per role
     (fields 89 to 95%, dark fields and tickets 34 to 58%, text inks solved for WCAG AA with scripts/contrast.mjs).
     Pop pass (26 Nov 2026, the owner: "make the colours pop"): the near-grey page became an icy sky white, marble became
     lilac, the Free field minty, the wash, footer, coral, raspberry (now Electric Grape) and grape all gained chroma, on the same grid. Large
     fields stay at chroma 0.16 or under (design/morph/coherence.json). Adjacent fills differ by CIEDE2000 15 or more,
     and no adjacent pair is a near complement at equal lightness. Values are oklch(L C H).
     No burgundy (27 Nov 2026, Sheira via the owner): the raspberry #b60264 (hue 358) read as burgundy. Every place it
     painted (FREE! stamps, the price stamp, the play button, heading first words, prices, kickers, sign-offs, rule
     numbers, the quote rule, a freebie shadow) is now one Electric Grape on the violet hue 310, the deep, hot sibling of
     the grape ticket. One colour, because it passes AA as text on every light field it meets (wash is the lowest, 4.99)
     and carries white text as a fill (6.99), and differs from every field around it by CIEDE2000 20 or more. */
  --royal: #284ba8;   /* Cobalt oklch(44.4% 0.155 265): doors and frames. Blue fields, white text on it */
  --deep: #132a68;    /* Deep Sea oklch(30.9% 0.113 265): the wave dado. Headings, footer */
  --lagoon: #00a0ca;  /* Lagoon oklch(65.7% 0.124 225): illustration only (fails as text on light colours) */
  --wash: #98e5ff;    /* Sky Wash oklch(88.1% 0.084 221): section fields, links on royal */
  --coral: #ff7ca6;   /* Hot Coral oklch(74.8% 0.164 2): buttons, the brush, notice, the trim on the column and temple
                         drawings. Ink or deep text on it, never white */
  --aqua: #90f6e2;    /* Lagoon Glass oklch(90.5% 0.100 180): the big Free field */
  --knossos: #8e00ca; /* Electric Grape oklch(49.9% 0.252 310): FREE!, stamps, the first word of a heading */
  --violet: #9543c6;  /* Grape oklch(55.0% 0.200 310): the middle price ticket (t2) */
  --fern: #00745d;    /* Kawakawa Teal oklch(49.8% 0.096 173): one price ticket */
  --marble: #e6daff;  /* Lilac Marble oklch(90.9% 0.051 300): the column signs, house rules and specials */
  --ink-paint: #181c21; /* Outline Ink oklch(22.5% 0.012 255): outlines and flat block shadows */
  --royal-ink: #102998; /* Ultramarine oklch(35.5% 0.181 266): royal, darkened for small text */
  --paper: var(--atl-page); /* #edf9ff oklch(97.5% 0.015 229), Harbour Mist, an icy sky white for the page */
  --white: #fff;

  /* Roles used across the site (admin and guest pages too). */
  --navy: #132a68;
  --sea: #102998;
  --link: var(--atl-link);
  --sky-soft: #d2f3ff;
  --alt: #e6daff;
  --card: #fff;
  --red: #8e00ca;
  --h-a: var(--atl-h-a);
  --h-b: var(--atl-h-b);
  --ink: var(--atl-ink);
  --muted: var(--atl-muted);
  --line: #c6cfd7;
  --ok: #1e6b3a;
  --ok-soft: #e3f3e8;
  --warn: #7a4b00;
  --warn-soft: #fff1d1;
  --danger: #a1261b;
  --danger-soft: #fde6e3;
  --on-royal: #fff;
  --on-royal-soft: #d2f3ff;
  --on-deep: #e6efff;

  --serif: var(--atl-font-body);
  --display: var(--atl-font-heading);
  --cooper: var(--atl-font-loud);
  --caesar: var(--atl-font-sign);
  --hand: var(--atl-font-caption);
  --body: var(--atl-font-body);
  /* Hand-cut corners: no two the same. */
  --cut: var(--atl-photo-r);
  --cut-b: var(--atl-btn-r);
  --radius: 6px;

  /* Spacing scale (4px base): gaps, padding and margins between things use these. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Type scale (27 Nov 2026, Mali: "a consistent style theme with the 3 fonts"). Every size on the public pages
     comes from here. Cooper Black for headings, body, buttons and prices; Caesar Dressing only for signs (room
     names, ticket heads, column signs); Limelight only for captions. Where the tuner has a size token, the scale is
     tied to it, so the tuner still moves the page. Body text stays at 16px or more on phones (pnpm a11y): only
     --t-small and --t-kicker go under it, for the waived secondary text (scripts/a11y.config.json). */
  --t-display: clamp(2.1rem, 10vw, 3.3rem);                          /* the home page's welcome */
  --t-h1: clamp(2.1rem, 1.6rem + 2.4vw, 2.75rem);                   /* page titles: 35px phone, 44px desk */
  --t-h2: clamp(1.75rem, 1.2rem + 2.4vw, var(--atl-h2-size));       /* section headings: 28.6px phone, 33.6px desk */
  --t-h3: clamp(var(--atl-h3-size), 1rem + 1vw, 1.45rem);           /* sub-headings: 20px phone, 23.2px desk */
  --t-h4: clamp(1.05rem, 0.9rem + 0.8vw, 1.25rem);                  /* card and list titles: 17.5px phone, 20px desk */
  --t-lede: clamp(var(--atl-lede-size), 1rem + 0.8vw, 1.3rem);      /* the line under a heading: 19px phone, 20.8px desk */
  --t-body: var(--atl-body-size);                                    /* 17px */
  --t-small: 0.9rem;                                                 /* fine print, hints, notes (14.4px, waived) */
  --t-kicker: 0.85rem;                                               /* small capitals over a sign or heading (waived) */
  --t-kicker-track: 0.1em;
  --t-sign: var(--atl-sign-size);                                    /* Caesar: ticket heads and room names (23.2px) */
  --t-sign-lg: 1.6rem;                                               /* Caesar: column signs and the house rules */
  --t-caption: 1.1rem;                                               /* Limelight captions */
  --t-caption-sm: 1rem;                                              /* Limelight captions in two-up phone grids */
  --t-caption-lg: 1.3rem;                                            /* Limelight sign-offs and the lightbox */
  --t-btn: var(--atl-btn-size);                                      /* every button, the menu's too */
  --t-price: var(--atl-price-size);                                  /* the big ticket prices */
  --t-price-sm: 1.6rem;                                              /* prices on room cards */
}

/* Dark mode: the page goes deep sea, while cards, panels, signs and the aqua and wash fields keep the light-theme
   ink (see the list at the end), so every tested pair stays as tested. Murals are never inverted. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    /* the tuner tokens' dark values (end 1); --paper, --ink, --muted, --link, --h-a and --h-b follow them */
    --atl-page: #14202d;
    --atl-ink: #e8eef3;
    --atl-muted: #c3cbd3;
    --atl-h-a: #ecac9b;
    --atl-h-b: #cbe6f3;
    --atl-link: #cbe6f3;
    --navy: #cbe6f3;
    --sea: #cbe6f3;
    --sky-soft: #1b3047;
    --alt: #1b2a3a;
    --line: #34485d;
    --ok: #8fd9a8;
    --ok-soft: #133524;
    --warn: #f2c14e;
    --warn-soft: #3a2e10;
    --danger: #ffb3a8;
    --danger-soft: #3d1813;
  }
}

/* ===== styles/base.css ===== */
/* Atlantis Backpackers. No framework. Works without JavaScript and degrades on old browsers: rules that use a newer
   feature (mask, grid, fit-content) have a plain fallback before them or simply drop the decoration.

   The look is the building itself ("Painted Seawall", from the mural study of 18 Nov 2026): flat house paint, black
   ink outlines, a flat offset block instead of soft shadows, wavy painted waterlines between colours, and crops of
   the real murals. The marble Ionic column sign is the one accent that is taped and tilted. Body text stays in the
   plain system sans so it reads easily. Every text/background pair is checked by `pnpm contrast`.

   base.css: fonts, the reset, type, focus, small utilities, the brush stroke under headings, print basics. */

/* Fonts, all self-hosted (the CSP allows fonts from 'self' only), all SIL Open Font License 1.1 (texts in /s/fonts). */
/* Limelight: Art Deco headings. */
@font-face {
  font-family: 'Limelight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/s/fonts/limelight-latin-400-normal.woff2') format('woff2'), url('/s/fonts/limelight-latin-400-normal.woff') format('woff');
}
/* Cooper* Black (github.com/indestructible-type/Cooper): the old site's font and the kitchen ATLANTIS lettering.
   Since 26 Nov 2026 (Mali) the live site uses it everywhere, headings and body text included, like the old site.
   One weight, so no fake bold. Room names and column signs keep Caesar Dressing. */
@font-face {
  font-family: 'Cooper Star';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/s/fonts/cooper-black.woff2') format('woff2');
}
/* Caesar Dressing: the nearest free face to the hand-lettered faux-Greek column signs. Column signs and room names only. */
@font-face {
  font-family: 'Caesar Dressing';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/s/fonts/caesar-dressing-latin-400-normal.woff2') format('woff2');
}
/* Patrick Hand: handwritten captions and sign-offs. Never for anything a guest has to act on. */
@font-face {
  font-family: 'Patrick Hand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/s/fonts/patrick-hand-latin-400-normal.woff2') format('woff2');
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: #edf9ff;
  background: var(--paper);
  color: #181c21;
  color: var(--ink);
  font: var(--t-body)/var(--atl-body-lh) var(--body);
  overflow-x: hidden; /* the tilted column signs and painted edges never cause sideways scrolling */
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--h-a); }
h1, h2, h3 { font-family: var(--display); font-weight: var(--atl-h-weight); color: var(--navy); line-height: var(--atl-h-lh); margin: 0 0 0.5em; letter-spacing: var(--atl-h-track); text-transform: var(--atl-h-case); }
.h-a { color: var(--h-a); }
.h-b { color: var(--h-b); }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
p { margin: 0 0 1em; }
:focus { outline: 3px solid var(--atl-focus); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid var(--atl-focus); outline-offset: 3px; }
.intro :focus-visible, .section.deep :focus-visible, .foot :focus-visible, .hero :focus-visible { outline-color: #ff7ca6; }
.skip { position: absolute; left: 16px; top: -9999px; }
.skip:focus { top: 16px; z-index: 10; background: #fff; color: #181c21; padding: 8px 12px; border: 3px solid #181c21; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--atl-container); margin: 0 auto; padding: 0 var(--atl-gutter); }
.muted { color: var(--muted); }
.small { font-size: var(--t-small); }
.center { text-align: center; }
.left { text-align: left; }
.narrow { max-width: 360px; }
.pre { white-space: pre-wrap; }
code { font-size: 0.85rem; word-break: break-all; }
details > summary { cursor: pointer; min-height: 44px; }
.meander, .wave, .fish { display: none; }

/* Brush-stroke underline under section headings (a 1 KB mask, painted in coral). It sits below the letters, so
   it never changes the text's contrast. Without mask support it is simply not drawn. */
h2 { position: relative; }
@supports ((-webkit-mask-image: url('')) or (mask-image: url(''))) {
  h2 { width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; max-width: 100%; padding-bottom: 0.4em; isolation: isolate; }
  h2::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: -0.15em;
    right: -0.3em;
    bottom: 0;
    height: 0.36em;
    min-height: 9px;
    background: var(--atl-brush);
    opacity: var(--atl-orn-brush);
    -webkit-mask: url('/s/img/brush.svg') center / 100% 100% no-repeat;
    mask: url('/s/img/brush.svg') center / 100% 100% no-repeat;
    -webkit-transform: rotate(-0.8deg);
    transform: rotate(-0.8deg);
  }
  h2.center, .center > h2, .section > .wrap > h2.center { margin-left: auto; margin-right: auto; }
  .section.alt h2::after, .band.alt h2::after { background: #284ba8; }
  .booking-h::after, .foot-h::after, .colsign-h::after, .sr::after, h2.sr::after { display: none; }
  .booking-h, .foot-h, .colsign-h { padding-bottom: 0; }
}

/* Foldables and very narrow screens (Galaxy Fold outer screen is ~280px wide) */
@media (max-width: 340px) {
  body { font-size: 16px; }
  .wrap { padding: 0 12px; }
  h1 { font-size: 1.8rem; }
}

/* Dark mode: the brush stroke */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) h2::after { background: #c1746a; }
  :root:not([data-theme='light']) .section.alt h2::after, :root:not([data-theme='light']) .band.alt h2::after { background: #284ba8; }
  :root:not([data-theme='light']) .section.wash h2::after, :root:not([data-theme='light']) .band.wash h2::after, :root:not([data-theme='light']) .section.sand h2::after, :root:not([data-theme='light']) .band.sand h2::after { background: #ff7ca6; }
}

/* ---------- Print / save as PDF, in black and white ----------
   Every page (and any sign printed from it) comes out as black ink on white paper: colour fields, painted edges,
   block shadows, mural strips and tilts are dropped, outlines stay. Blocks are kept whole across pages. */
@media print {
  @page { size: A4; margin: 12mm; }
  *, *::before, *::after { background-color: transparent !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; -webkit-print-color-adjust: economy; print-color-adjust: economy; }
  body { background: #fff !important; overflow: visible; }
  .skip { display: none !important; }
  h2::after { display: none !important; }
  details, figure, tr, blockquote { break-inside: avoid; page-break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }
  a { color: inherit; text-decoration: underline; }
}

/* Spacing pass (18 Nov 2026) */
/* Headings and buttons break evenly instead of leaving one word on its own line. */
h1, h2, h3, .btn, .lead, figcaption { text-wrap: balance; }

/* Reflow (WCAG 1.4.10): nothing is wider than the viewport from 195 CSS px (a phone at 200% zoom) up. */
a, li, p, dd, dt, h1, h2, h3, label, figcaption { overflow-wrap: anywhere; }
fieldset { min-width: 0; }
@media (max-width: 359px) {
  .wrap { padding-left: var(--space-3); padding-right: var(--space-3); }
}
main { overflow-x: clip; }

/* ===== styles/components.css ===== */
/* Components: the parts every page shares. Painted edges and panels, the header, nav and footer, buttons, colour
   fields, photos, the booking form, column signs, lists, cards, forms, alerts, tables, videos and the footer credits.
   Section-specific rules live in sections/<family>.css. */

/* ---------- Painted pieces ---------- */

/* Painted waterlines between colour fields: a wobbly wave in the field's own colour, laid over the join.
   Two hand-drawn waves alternate so it never reads as a pattern. */
@supports ((-webkit-mask-image: url('')) or (mask-image: url(''))) {
  .section.alt, .band.alt, .section.wash, .band.wash, .section.deep, .section.sand, .band.sand, .foot { position: relative; }
  .section.alt::before, .band.alt::before, .section.wash::before, .band.wash::before, .section.deep::before, .section.sand::before, .band.sand::before, .foot::before, .section.alt::after, .band.alt::after, .section.wash::after, .band.wash::after, .section.deep::after, .section.sand::after, .band.sand::after {
    content: '';
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    height: 22px;
    background: inherit;
    opacity: var(--atl-orn-wave);
    pointer-events: none;
    -webkit-mask: url('/s/img/edge-wave-a.svg') 0 0 / 100% 100% no-repeat;
    mask: url('/s/img/edge-wave-a.svg') 0 0 / 100% 100% no-repeat;
  }
  .section.alt::before, .band.alt::before, .section.wash::before, .band.wash::before, .section.deep::before, .section.sand::before, .band.sand::before, .foot::before { top: -21px; }
  .section.alt::after, .band.alt::after, .section.wash::after, .band.wash::after, .section.deep::after, .section.sand::after, .band.sand::after { bottom: -21px; -webkit-transform: scaleY(-1); transform: scaleY(-1); }
  .section.deep::before, .section.wash::after, .band.wash::after, .foot::before { -webkit-mask-image: url('/s/img/edge-wave-b.svg'); mask-image: url('/s/img/edge-wave-b.svg'); }
  .section.alt::after, .band.alt::after { -webkit-mask-image: url('/s/img/edge-wave-b.svg'); mask-image: url('/s/img/edge-wave-b.svg'); -webkit-transform: scale(-1, -1); transform: scale(-1, -1); }
  .intro { position: relative; }
  .intro::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 22px;
    background: #edf9ff;
    background: var(--paper);
    -webkit-mask: url('/s/img/edge-wave-a.svg') 0 0 / 100% 100% no-repeat;
    mask: url('/s/img/edge-wave-a.svg') 0 0 / 100% 100% no-repeat;
  }
  @media (max-width: 600px) {
    .section.alt::before, .band.alt::before, .section.wash::before, .band.wash::before, .section.deep::before, .section.sand::before, .band.sand::before, .foot::before, .section.alt::after, .band.alt::after, .section.wash::after, .band.wash::after, .section.deep::after, .section.sand::after, .band.sand::after, .intro::after { height: 14px; }
    .section.alt::before, .band.alt::before, .section.wash::before, .band.wash::before, .section.deep::before, .section.sand::before, .band.sand::before, .foot::before { top: -13px; }
    .section.alt::after, .band.alt::after, .section.wash::after, .band.wash::after, .section.deep::after, .section.sand::after, .band.sand::after { bottom: -13px; }
  }
}

/* Hand-cut panels: ink outline, uneven corners, a flat offset block. */
.panel, .card, .room, .booking, .search, .stats > div, .video, .freebies li, .gallery .polaroid, .table-wrap.price-table {
  border: var(--atl-outline-w) solid var(--atl-outline);
  border-radius: var(--atl-card-r);
  box-shadow: var(--atl-block-x) var(--atl-block-x) 0 var(--atl-block);
}

/* ---------- Header ---------- */
.top { position: relative; z-index: 4; background: var(--atl-top); color: #181c21; border-bottom: var(--atl-top-edge-w) solid var(--atl-top-edge); }
@supports ((-webkit-mask-image: url('')) or (mask-image: url(''))) {
  .top::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
    background: var(--atl-top-edge);
    opacity: var(--atl-orn-wave);
    pointer-events: none;
    -webkit-mask: url('/s/img/edge-wave-b.svg') 0 0 / 100% 100% no-repeat;
    mask: url('/s/img/edge-wave-b.svg') 0 0 / 100% 100% no-repeat;
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
  }
}
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.brand { display: block; width: 150px; }
.brand img { width: 150px; height: auto; }
@media (min-width: 761px) { .brand, .brand img { width: 190px; } }
@media (min-width: 1100px) { .brand, .brand img { width: 250px; } }
.nav { display: flex; flex-wrap: wrap; align-items: center; }
.nav a { display: inline-block; padding: 10px 12px; min-height: 44px; color: var(--atl-on-top); font-family: var(--atl-font-nav); font-weight: var(--atl-nav-weight); text-decoration: none; text-transform: var(--atl-nav-case); letter-spacing: var(--atl-nav-track); font-size: var(--atl-nav-size); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--h-a); text-decoration: underline; text-decoration-thickness: 4px; text-decoration-color: #ff7ca6; text-underline-offset: 7px; }
.nav .btn { margin-left: 8px; color: #181c21; font-family: var(--cooper); text-decoration: none; text-transform: none; letter-spacing: 0.02em; font-size: var(--t-btn); }
.nav .btn:hover { color: #fff; text-decoration: none; }
.menu { display: none; }
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; }
  .menu summary { list-style: none; cursor: pointer; padding: 9px 16px; min-height: 44px; border: 2.5px solid #181c21; border-radius: var(--cut-b); font-weight: 700; color: #181c21; background: #fff; box-shadow: 3px 3px 0 #181c21; }
  .menu summary::-webkit-details-marker { display: none; }
  .top .wrap { position: relative; }
  .menu[open] .nav { display: block; position: absolute; left: 8px; right: 8px; top: calc(100% + 6px); background: var(--atl-menu); padding: 8px 16px; z-index: 6; border: 3px solid #181c21; border-radius: var(--cut); box-shadow: 5px 5px 0 #181c21; }
  .menu[open] .nav a { display: block; border-bottom: 1px solid #c6cfd7; }
  .menu[open] .nav .btn { margin: 14px 0 6px; text-align: center; border-bottom: 3px solid #181c21; }
  .menu[open] summary { display: inline-block; }
}

.notice { background: #ff7ca6; color: #181c21; text-align: center; padding: 8px 16px; font-weight: 600; margin: 0; border-bottom: 3px solid #181c21; }
/* A saved version's strip (/<stamp>): its links in the strip's own ink, underlined, whatever the version's link
   colour (that changes along the tuner's slider; the strip's coral doesn't). */
.version-strip a { color: inherit; text-decoration: underline; }

/* ---------- Buttons: painted signboards ---------- */
.btn {
  display: inline-block;
  padding: 9px 20px 10px;
  min-height: 44px;
  border: var(--atl-outline-w-heavy) solid var(--atl-outline);
  border-radius: var(--cut-b);
  background: var(--atl-btn);
  color: var(--atl-on-btn);
  font: 400 var(--t-btn)/1.35 var(--cooper);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--atl-block-x) var(--atl-block-x) 0 var(--atl-outline);
  -webkit-transition: background-color 0.12s, color 0.12s, box-shadow 0.12s, -webkit-transform 0.12s;
  transition: background-color 0.12s, color 0.12s, box-shadow 0.12s, transform 0.12s;
  -webkit-appearance: none;
  appearance: none;
}
.btn:hover { background: var(--atl-btn-hover); color: var(--atl-on-btn-hover); }
.btn:active { -webkit-transform: translate(3px, 3px); transform: translate(3px, 3px); box-shadow: 1px 1px 0 #181c21; }
.btn.alt { background: #fff; color: #181c21; }
.btn.alt:hover { background: #98e5ff; color: #181c21; }
.btn.gold { background: var(--atl-btn); color: var(--atl-on-btn); }
.btn.gold:hover { background: var(--atl-btn-hover); color: var(--atl-on-btn-hover); }
.btn.danger { background: #a1261b; color: #fff; }
.btn.small { padding: 5px 12px; min-height: 36px; font-size: var(--t-small); box-shadow: 3px 3px 0 #181c21; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--link); text-decoration: underline; font: inherit; cursor: pointer; min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .btn { -webkit-transition: none; transition: none; } .btn:active { -webkit-transform: none; transform: none; } }

/* The line under a heading (.lead centred, .lede following its heading's alignment): one size, the body face.
   "Per night." under Rooms & Prices is a .lead. */
.lede, .lead { font-family: var(--body); font-size: var(--t-lede); line-height: 1.45; }
.lede { max-width: 36em; }
.intro-photo figcaption, .photo figcaption { font-size: var(--t-small); color: var(--muted); padding-top: 6px; }

/* The booking form (same fields as the hostel's booking engine widget). Styled around, never the inputs. */
.booking { background: var(--atl-widget-body); color: #181c21; padding: 18px 18px 8px; margin: 8px 0 16px; }
.intro .booking { border-width: 3px; box-shadow: 6px 6px 0 #181c21; }
.booking-h { font-size: var(--t-h3); margin-bottom: 10px; color: var(--atl-on-widget-head); }
.widget-row { display: flex; flex-wrap: wrap; margin: 0 -6px; }
.widget-row .field { margin: 0 6px 12px; flex: 1 1 70px; }
.widget-row .field.date { flex: 2 1 180px; }
@supports (display: grid) {
  .widget-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 0 12px; margin: 0; }
  .widget-row .field { margin: 0 0 12px; }
  @media (max-width: 880px) {
    .widget-row { grid-template-columns: 1fr 1fr 1fr; }
    .widget-row .field.date { grid-column: 1 / -1; }
  }
}
.widget .code { margin: 0 0 12px; }
.widget .code summary { color: #102998; text-decoration: underline; display: inline-block; padding: 10px 0; }
.widget .code .field { max-width: 220px; margin-top: 4px; }
.widget .btn { width: 100%; }
.widget .hint { margin: 10px 0 10px; }
@media (min-width: 600px) { .widget .btn { width: auto; } }

/* ---------- Sections ---------- */
.section { padding: var(--atl-sec-pad) 0; }
.section.alt, .band.alt { background: var(--atl-sun); color: #181c21; }
.section.wash, .band.wash { background: var(--atl-wash); color: #181c21; }
.section.tint { background: var(--sky-soft); }
.section.sand, .band.sand { background: var(--atl-sand); color: #181c21; }
.section.deep { background: var(--atl-band); color: var(--atl-band-head); }
.section.alt + .section, .section.wash + .section, .section.deep + .section, .section.sand + .section { padding-top: var(--atl-sec-pad-after); }
/* A colour band inside a section (Mali, 27 Nov 2026): the same fields and painted edges as .section.alt, .wash and
   .sand, for a page that is one section but whose white panels and cards need to come off the near-white page.
   `.flush` drops the section's own padding (its blocks bring theirs), `.ends-band` the bottom padding only. */
.band { padding: var(--atl-sec-pad) 0; margin-top: var(--atl-sec-pad); }
.section.flush { padding: 0; }
.section.ends-band { padding-bottom: 0; }
.section.flush > .band:first-child { margin-top: 0; }
.section.flush > .wrap { padding-top: var(--atl-sec-pad); padding-bottom: var(--atl-sec-pad); }
.section.flush > .band + .wrap { padding-top: var(--atl-sec-pad-after); }
.section.flush > .wrap + .band { margin-top: 0; }
.section.deep h2, .section.deep h3, .section.deep .h-a { color: var(--atl-band-head); }
.section.deep .h-b { color: var(--atl-band-h4); }
/* Harmony pass (27 Nov 2026): the h2's second word on royal is sky, like the h4s, not coral. Coral on cobalt was 3.26:1
   with hues 97 degrees apart, and read as a buzz next to the white first word. Coral stays on the band as the brush. */
.section.deep h2 .h-b { color: var(--atl-band-h4); }
.section.deep a { color: var(--atl-link-on-dark); }
.section.deep .photo figcaption { color: var(--atl-on-band); }
.section.alt a:not(.btn), .band.alt a:not(.btn), .section.wash a:not(.btn), .band.wash a:not(.btn), .section.sand a:not(.btn), .band.sand a:not(.btn) { color: #102998; }
.section.alt .h-a, .band.alt .h-a { color: #8e00ca; }
.section.alt .h-b, .band.alt .h-b, .section.wash .h-b, .band.wash .h-b { color: #284ba8; }
h2.center { text-align: center; }
.lead { max-width: 40em; margin: 0 auto 1.5em; text-align: center; }

.split { display: flex; flex-wrap: wrap; align-items: center; margin-left: -16px; margin-right: -16px; }
.split > * { flex: 1 1 300px; min-width: 0; padding: 0 16px; margin-bottom: 16px; }
.wrap.split { margin-left: auto; margin-right: auto; padding: 0; }
.two-col { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.two-col > * { flex: 1 1 260px; min-width: 0; padding: 0 12px; }
.from { font-family: var(--body); font-size: var(--t-small); font-weight: 600; color: var(--muted); white-space: nowrap; }

/* Photos: an ink frame and a flat block, like a picture hung on a painted wall. No tilt (that's the column sign's). */
.photo { margin: 0; }
.split > .photo { margin-bottom: 28px; }
.photo img { width: 100%; border-radius: 6px; }
.photo.framed img { border: var(--atl-outline-w-heavy) solid var(--atl-outline); border-radius: var(--atl-photo-r); box-shadow: var(--atl-block-lg) var(--atl-block-lg) 0 var(--atl-band); }
.section.deep .photo.framed img { box-shadow: 5px 5px 0 #ff7ca6; }
.section.alt .photo.framed img, .band.alt .photo.framed img { box-shadow: 5px 5px 0 #132a68; }
.photo figcaption, .polaroid figcaption { font-family: var(--hand); font-size: var(--t-caption); line-height: 1.3; }
.photo.framed figcaption { padding-top: 12px; text-align: center; color: var(--ink); }
.section.alt .photo figcaption, .band.alt .photo figcaption, .section.wash .photo figcaption, .band.wash .photo figcaption { color: #181c21; }

/* A strip of the kitchen's vegetable parade, with painted wavy edges */
.mural-band { max-width: 900px; margin: 0 auto 24px; }
.mural-band img { width: 100%; height: auto; }
@supports ((-webkit-mask-image: url('')) or (mask-image: url(''))) {
  .mural-band img { -webkit-mask: url('/s/img/edge-band.svg') 0 0 / 100% 100% no-repeat; mask: url('/s/img/edge-band.svg') 0 0 / 100% 100% no-repeat; }
}
.photo.mural figcaption { font-size: var(--t-caption-sm); }

/* ---------- The column sign: the hostel's cut-out Ionic column signs, taped up and a little crooked ---------- */
.colsign {
  position: relative;
  width: calc(100% - 44px);
  max-width: 440px;
  margin: 78px auto 56px;
  padding: 16px 30px 10px;
  text-align: center;
  color: #181c21;
  border-left: 3px solid #181c21;
  border-right: 3px solid #181c21;
  background-color: var(--atl-sand);
  /* fluting on the shaft's edges only, never under the words */
  background-image: linear-gradient(90deg, rgba(24, 28, 33, 0.16) 0 2px, transparent 2px 9px, rgba(24, 28, 33, 0.16) 9px 11px, transparent 11px),
    linear-gradient(270deg, rgba(24, 28, 33, 0.16) 0 2px, transparent 2px 9px, rgba(24, 28, 33, 0.16) 9px 11px, transparent 11px);
  background-size: 18px 100%, 18px 100%;
  background-position: left top, right top;
  background-repeat: no-repeat;
  -webkit-transform: rotate(calc(-1.2deg * var(--atl-tilt-k)));
  transform: rotate(calc(-1.2deg * var(--atl-tilt-k)));
}
.colsign.r { -webkit-transform: rotate(calc(1deg * var(--atl-tilt-k))); transform: rotate(calc(1deg * var(--atl-tilt-k))); }
/* the Ionic capital (two volutes on a slab) and the base */
.colsign::before {
  content: '';
  position: absolute;
  left: -22px;
  right: -22px;
  top: -48px;
  height: 50px;
  opacity: var(--atl-orn-colsign);
  background: url('/s/img/colsign-volute.svg') left bottom / 52px 48px no-repeat, url('/s/img/colsign-volute.svg') right bottom / 52px 48px no-repeat, url('/s/img/colsign-slab.svg') center bottom / calc(100% - 40px) 40px no-repeat;
}
.colsign::after { content: ''; position: absolute; left: -12px; right: -12px; bottom: -28px; height: 30px; opacity: var(--atl-orn-colsign); background: url('/s/img/colsign-base.svg') center / 100% 100% no-repeat; }
.colsign-h { position: static; font-family: var(--caesar); font-size: var(--t-sign-lg); line-height: 1.15; text-transform: uppercase; letter-spacing: 0.03em; color: #284ba8; margin: 0 auto 0.4em; }
/* the strip of tape holding it to the wall */
.colsign-h::before { content: ''; position: absolute; z-index: 2; top: -60px; left: 50%; width: 96px; height: 26px; margin-left: -48px; background: rgba(255, 124, 166, 0.78); border-left: 2px dotted rgba(24, 28, 33, 0.25); border-right: 2px dotted rgba(24, 28, 33, 0.25); -webkit-transform: rotate(-4deg); transform: rotate(-4deg); }
.colsign.r .colsign-h::before { -webkit-transform: rotate(3deg); transform: rotate(3deg); }
.colsign-kicker { margin: 0 0 4px; font-weight: 700; font-size: var(--t-kicker); text-transform: uppercase; letter-spacing: var(--t-kicker-track); color: #8e00ca; }
.colsign p { margin-bottom: 0.6em; }
.signoff { font-family: var(--hand); font-size: var(--t-caption-lg); line-height: 1.2; color: #8e00ca; }
.colsign .signoff { margin-bottom: 0.3em; }
@media (max-width: 380px) { .colsign { padding-left: 24px; padding-right: 24px; } .colsign-h { font-size: 1.35rem; } }
/* The big sign: check-out on the home page (Mali, 27 Nov 2026) */
.colsign.big { max-width: 620px; padding: 26px 44px 16px; font-size: var(--t-lede); }
.colsign.big .colsign-h { font-size: clamp(1.9rem, 6vw, 2.6rem); }
.colsign.big .colsign-kicker { font-size: var(--t-small); }
@media (max-width: 380px) { .colsign.big { padding-left: 28px; padding-right: 28px; } }

/* ---------- Lists of rooms with prices ---------- */
.stays { list-style: none; margin: 0 0 1.5em; padding: 0; }
.stays li { display: flex; flex-wrap: wrap; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.stay-name { font-weight: 700; }
.stay-price { font-weight: 700; color: var(--navy); }
.stay-text { flex: 1 1 100%; color: var(--muted); font-size: var(--t-small); }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { margin-bottom: 8px; }
.quote { font-family: var(--serif); font-style: italic; font-size: var(--t-lede); border-left: 5px solid #8e00ca; padding-left: 16px; margin: 0 0 1.5em; }
/* Round photos (About us, the hosts) */
img.round { width: var(--atl-round-size); height: var(--atl-round-size); max-width: 100%; margin: 0 auto 12px; border-radius: 50%; border: var(--atl-ring-w) solid var(--atl-panel); box-shadow: 0 0 0 var(--atl-ring-ink-w) var(--atl-outline), var(--atl-block-lg) var(--atl-block-lg) 0 var(--atl-ring-ink-w) var(--atl-outline); object-fit: cover; }
@media (max-width: 400px) { img.round { width: 128px; height: 128px; } }

/* ---------- FREE! FREE! FREE! ---------- */
.free { display: inline-block; font-family: var(--cooper); font-weight: 700; color: var(--atl-on-card); background: var(--atl-stamp); padding: 0 6px; border: 2px solid #181c21; border-radius: 4px 2px 5px 2px; letter-spacing: 0.04em; font-size: 0.9em; line-height: 1.35; -webkit-transform: rotate(calc(-3deg * var(--atl-tilt-k))); transform: rotate(calc(-3deg * var(--atl-tilt-k))); }
/* The free list (Things to do); .ticks, further down, still sets its bullets and spacing */
.free-list { list-style: none; padding-left: 0; }
.free-list li { margin-bottom: 8px; }
/* Price table frame (the Rooms page); .table-wrap, further down, still sets its overflow */
.price-table { max-width: 760px; overflow: hidden; }
.price { font-weight: 700; color: #132a68; }
.price span { font-weight: 400; color: #53595f; font-size: var(--t-small); }

/* ---------- Grids and cards (internal booking pages and admin) ---------- */
.grid { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.grid > * { flex: 1 1 280px; margin: 0 8px 16px; }
@supports (display: grid) {
  .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 18px; margin: 0; }
  .grid > * { margin: 0; }
  .grid.two { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
  .grid.two > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  @media (max-width: 360px) { .grid, .grid.two { grid-template-columns: 1fr; } }
}
.card { background: var(--atl-panel); overflow: hidden; color: #181c21; display: flex; flex-direction: column; }
.card .body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card .body > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 0.3em; }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card .price { font-size: var(--t-h4); }
.card .actions { margin-top: auto; padding-top: 12px; }
.features { text-align: center; }
.features svg { width: 40px; height: 40px; margin-bottom: 8px; color: #132a68; }
.stamp { display: inline-block; font-weight: 700; color: var(--navy); }

.ticks { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.ticks li { margin-bottom: 4px; }
.cols { -webkit-columns: 2 260px; columns: 2 260px; -webkit-column-gap: 32px; column-gap: 32px; }

/* Polaroids */
.polaroid { margin: 0; }
.polaroid img { border-radius: 2px; }
.polaroid figcaption { color: var(--muted); padding-top: 6px; }
.polaroid picture, .polaroid img { width: 100%; }
.nophoto { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 200px; background: #d2f3ff; color: #132a68; font-weight: 700; }
.nophoto svg { width: 72px; height: 44px; margin-bottom: 8px; }
.polaroid .nophoto { height: 280px; border-radius: 6px; }
.plain { list-style: none; padding: 0; }
.plain li { margin-bottom: 6px; }

/* Quick search (internal booking mode) */
.search { background: #fff; padding: 16px; margin: 24px auto; }
.search form { display: flex; flex-wrap: wrap; align-items: flex-end; }
.search .field { margin: 0 12px 8px 0; flex: 1 1 140px; }
.search .btn { margin-bottom: 8px; }
.searchform .submit { flex: 0 0 auto; }
.results-h { font-size: var(--t-h3); }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
label, .label { display: block; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.booking label, .panel label, .card label { color: #132a68; }
input[type='text'], input[type='email'], input[type='tel'], input[type='password'], input[type='date'], input[type='number'], input[type='time'], input[type='url'], select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  font: inherit;
  color: #181c21;
  background: #fff;
  border: var(--atl-input-w) solid var(--atl-input-line);
  border-radius: var(--atl-input-r);
}
input:focus, select:focus, textarea:focus { border-color: #284ba8; }
button { font-family: inherit; }
/* Safari ignores min-height on native selects; draw our own so they keep a 46px tap target everywhere. */
select {
  height: 46px;
  padding-right: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1a1a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 10px center;
}
select::-ms-expand { display: none; }
textarea { min-height: 120px; }
.check { display: flex; align-items: center; min-height: 44px; font-weight: 400; color: inherit; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 0 12px 0 0; flex: none; }
.hint { font-size: var(--t-small); color: var(--atl-muted-2); margin-top: 2px; }
.form { max-width: 520px; }
.form.wide { max-width: 760px; }
/* The facts panels (home Good to Know, /info): wider, with room to breathe (Mali, 27 Nov 2026: "too thin") */
.wrap.facts-wrap { max-width: 1000px; }
dl.facts.panel { padding: 18px 24px; }
@media (min-width: 700px) { dl.facts dt { flex-basis: 24%; padding-right: 16px; } dl.facts dd { flex-basis: 76%; } dl.facts dt, dl.facts dd { padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(19, 42, 104, 0.12); } }
.panel { background: var(--atl-panel); color: #181c21; padding: 20px; margin-bottom: 24px; }
.panel h2, .panel h3 { color: #132a68; }
.hp { position: absolute; left: -9999px; }
fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px; margin: 0 0 16px; }
legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -6px; }
.row > * { flex: 1 1 160px; margin: 0 6px; }

.alert { padding: 12px 16px; border: 1px solid; border-left-width: 5px; border-radius: 6px; margin: 0 0 16px; }
.alert.ok { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.alert.error { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }
.alert.info { background: var(--sky-soft); border-color: var(--sea); color: var(--navy); }
.alert.warn { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 16px; }
table { border-collapse: collapse; width: 100%; background: #fff; color: #181c21; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #dde5eb; vertical-align: top; }
th { background: #132a68; color: #fff; font-weight: 700; white-space: nowrap; }
tr:nth-child(even) td { background: #d2f3ff; }
.num { text-align: right; white-space: nowrap; }
dl.facts { display: flex; flex-wrap: wrap; margin: 0 0 16px; }
dl.facts dt { flex: 0 0 40%; font-weight: 700; color: #132a68; padding: 4px 0; }
dl.facts dd { flex: 0 0 60%; margin: 0; padding: 4px 0; }

/* Booking steps (internal booking mode) */
.steps { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 20px; counter-reset: s; font-weight: 700; }
.steps li { counter-increment: s; margin-right: 18px; color: var(--muted); }
.steps li::before { content: counter(s) '. '; }
.steps li[aria-current='step'] { color: var(--navy); text-decoration: underline; text-decoration-color: #ff7ca6; text-decoration-thickness: 3px; }
.bigfish { width: 120px; margin: 0 auto 16px; }

/* ---------- Footer: the deep-sea dado ---------- */
.foot { background: var(--atl-foot); color: var(--atl-on-foot); padding: var(--atl-sec-pad) 0 96px; }
main > :last-child:not(.deep) { padding-bottom: 64px; }
main > .section.ends-band:last-child, main > .section.flush:last-child { padding-bottom: 0; }
main > .section.flush:last-child > .wrap:last-child { padding-bottom: calc(var(--atl-sec-pad) + 64px); }
.foot a { color: var(--atl-foot-link); }
.foot .foot-h { color: #fff; font-size: var(--t-h3); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 2px; }
.foot li a { display: inline-block; padding: 10px 0; }
.foot .grid { margin-bottom: 8px; }
.foot .signoff { color: var(--atl-band-accent); font-size: var(--t-caption-lg); margin: 10px 0 6px; }
@media (min-width: 761px) { .foot { padding-bottom: var(--space-7); } }

/* Sticky book bar on phones */
.bookbar { display: none; }
@media (max-width: 760px) {
  .bookbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--paper); border-top: 3px solid #181c21; padding: 8px 16px 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .bookbar .btn { display: block; width: 100%; text-align: center; box-shadow: 3px 3px 0 #181c21; }
  html { scroll-padding-bottom: 80px; }
}

/* Foldables and very narrow screens (Galaxy Fold outer screen is ~280px wide) */
@media (max-width: 340px) {
  .brand, .brand img { width: 116px; }
  .booking { padding: 14px 12px 6px; }
  .widget-row { grid-template-columns: 1fr 1fr; }
  .card img { height: 160px; }
}

/* ---------- Videos: a still that opens YouTube (no player or tracking loads here) ---------- */
.videos { margin-bottom: 2em; }
.video { display: block; color: inherit; text-decoration: none; background: var(--atl-panel); padding: 10px; }
.video-still { position: relative; display: block; }
.video-still img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; border: 2px solid #181c21; }
.video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 2px solid #181c21; }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--atl-stamp); border: 3px solid #181c21; box-shadow: 3px 3px 0 #181c21; }
.play::after { content: ''; position: absolute; left: 23px; top: 17px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.video:hover .play, .video:focus-visible .play { background: #284ba8; }
.video-title { display: block; font-family: var(--display); font-size: var(--t-h4); color: #132a68; margin: 8px 0 0; }
.video .small { color: #53595f; }
@media (max-width: 600px) {
  .videos { display: block; }
  .video { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; padding: 8px; }
  .video > .video-still { flex: 0 0 44%; }
  .video-text { flex: 1 1 0; min-width: 0; }
  .video .play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .video .play::after { left: 13px; top: 9px; border-width: 8px 0 8px 13px; }
  .video-title { margin: 0 0 2px; }
}

p.center .btn { margin: 0 6px 12px; }
details.panel { padding: 0; margin-bottom: 14px; }
details.panel > summary { padding: 14px 20px; display: flex; align-items: center; }
details.panel > p, details.panel > .answer { padding: 0 20px 6px; }

/* A lead line and its points (components/text.tsx Lines): a long block of text, broken up (Mali, 27 Nov 2026). */
.lines-lead + .lines-lead { margin-top: -0.4em; }
ul.lines { margin: -0.3em 0 1em; padding-left: 1.25em; }
ul.lines li { margin-bottom: 0.3em; }
dl.facts dd > :last-child, .answer > :last-child, .room-body ul.lines:last-child { margin-bottom: 0; }
dl.facts dd > .lines-lead { margin: 0 0 0.3em; }
dl.facts dd > ul.lines { margin-top: 0; }
li > .lines-lead { margin: 0; }
li > ul.lines { margin: 4px 0 8px; list-style: circle; }
@media (max-width: 480px) {
  dl.facts dt, dl.facts dd { flex-basis: 100%; }
  dl.facts dd { padding-top: 0; margin-bottom: 8px; }
}

/* ---------- Footer badges: the Shielded site button and 'Powered by Cloudflare' (copied from the hub's
   packages/ui/credit/site-credit.html and packages/ui/src/styles.css; spec docs/platform/SITE-CREDIT.md). ---------- */
.foot-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.vn-credit { display: grid; justify-items: center; gap: 6px; font: 400 0.8125rem/1.3 var(--atl-font-body); color: inherit; }
.vn-credit__line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; margin: 0; }
.vn-credit a { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; color: inherit; text-decoration: none; }
.vn-credit a:hover, .vn-credit a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.vn-credit svg { flex: none; width: auto; }
.vn-credit__mark { height: 20px; }
.vn-credit__ao { height: 2rem; }
.vn-credit__cflogo { height: 1.75rem; }
.vn-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vn-shielded { display: inline-flex; padding: 0; border: 0; border-radius: 8px; background: none; cursor: pointer; line-height: 0; }
.vn-shielded[hidden] { display: none; }
.vn-shielded:focus-visible { outline: 3px solid #ff7ca6; outline-offset: 3px; }
.vn-shielded img { width: 60px; height: 60px; }
.vn-shielded__dialog { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100dvh; overflow: auto; }
html:has(.vn-shielded__dialog[open]) { overflow: hidden; }
.vn-shielded__dialog::backdrop { background: rgba(0, 0, 0, 0.5); }
.vn-shielded__dialog iframe { display: block; width: 310px; height: 455px; max-height: calc(100dvh - 48px); border: 0; background: #fff; }
.vn-shielded__close { display: block; margin: 0 0 8px auto; min-height: 44px; padding: 4px 16px; border: 0; border-radius: 8px; background: #fff; color: #111; font: inherit; cursor: pointer; }

/* Dark mode: the page goes dark, while cards, panels, signs, forms, tables and the aqua and wash fields keep the
   light-theme ink, so every text/background pair keeps its tested contrast. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .card, :root:not([data-theme='light']) .panel, :root:not([data-theme='light']) .booking, :root:not([data-theme='light']) .search, :root:not([data-theme='light']) .table-wrap, :root:not([data-theme='light']) .top, :root:not([data-theme='light']) .bookbar, :root:not([data-theme='light']) .alert, :root:not([data-theme='light']) .notice, :root:not([data-theme='light']) .colsign, :root:not([data-theme='light']) .video, :root:not([data-theme='light']) .section.alt, :root:not([data-theme='light']) .band.alt, :root:not([data-theme='light']) .section.wash, :root:not([data-theme='light']) .band.wash, :root:not([data-theme='light']) .section.sand, :root:not([data-theme='light']) .band.sand {
    --h-a: #8e00ca; --h-b: #284ba8;
    --navy: #132a68; --sea: #102998; --link: #102998; --sky-soft: #d2f3ff; --ink: #181c21; --muted: #53595f; --line: #c6cfd7; --paper: #edf9ff;
    --ok: #1e6b3a; --ok-soft: #e3f3e8; --warn: #7a4b00; --warn-soft: #fff1d1; --danger: #a1261b; --danger-soft: #fde6e3;
    color: #181c21;
    color-scheme: light;
  }
  :root:not([data-theme='light']) .panel, :root:not([data-theme='light']) .card,
  :root:not([data-theme='light']) .video { border-color: #000; }
  :root:not([data-theme='light']) .photo.framed img { box-shadow: 5px 5px 0 #ff7ca6; }
  :root:not([data-theme='light']) .section.alt .photo.framed img, :root:not([data-theme='light']) .band.alt .photo.framed img { box-shadow: 5px 5px 0 #132a68; }
}

/* Print: black ink on white paper (see base.css) */
@media print {
  .section { padding: 14px 0; }
  .wrap { max-width: none; }
  th { border-bottom: 2px solid #000; }
  .top, .foot, .bookbar, .btn, .booking, .menu, .play, .widget, .booking-h, .foot-badges, .mural-band { display: none !important; }
  .section::before, .section::after, .top::after, .foot::before, .colsign-h::before { display: none !important; }
  .panel, .video, dl.facts, .colsign, .stays li { break-inside: avoid; page-break-inside: avoid; }
  .colsign-h { break-after: avoid; page-break-after: avoid; }
  .panel { border-color: #000 !important; }
  .colsign, .free { -webkit-transform: none !important; transform: none !important; }
  .colsign { width: auto; margin: 16px 0; border: 2px solid #000; background-image: none; }
  .colsign::before, .colsign::after { display: none; }
  .free { border: 1.5px solid #000; }
  .photo.framed img { border: 1px solid #000; }
}

/* Temple front above the footer, desktop only: a full-width painted pediment
   resting on a row of properly proportioned Ionic columns. Decoration only. */
.temple-roof { display: none; }
@media (min-width: 900px) {
  .foot .temple-roof { display: block; max-width: 760px; margin: -6px auto 36px; padding-top: 74px; position: relative; opacity: var(--atl-orn-temple);
    background: url(/s/img/temple-roof.svg) top center / 100% 76px no-repeat; }
  .temple-cols { display: flex; justify-content: space-between; padding: 0 34px; }
  .temple-cols i { display: block; width: 44px; height: 138px; background: url(/s/img/column-short.svg) center / 100% 100% no-repeat; }
}
@media print, (forced-colors: active) { .temple-roof { display: none !important; } }

/* Focal points for cropped photos (CSP forbids inline styles): the photo's slot in content.ts names one, and Photo puts
   its class on the <img> (lib/slots.ts FOCALS). Default is the centre. The grid is for new photos; the second block is
   the exact points the current photos had when this CSS picked them by file name or banner position. */
img.fp-0-0 { object-position: 0% 0%; } img.fp-0-25 { object-position: 0% 25%; } img.fp-0-50 { object-position: 0% 50%; } img.fp-0-75 { object-position: 0% 75%; } img.fp-0-100 { object-position: 0% 100%; }
img.fp-25-0 { object-position: 25% 0%; } img.fp-25-25 { object-position: 25% 25%; } img.fp-25-50 { object-position: 25% 50%; } img.fp-25-75 { object-position: 25% 75%; } img.fp-25-100 { object-position: 25% 100%; }
img.fp-50-0 { object-position: 50% 0%; } img.fp-50-25 { object-position: 50% 25%; } img.fp-50-75 { object-position: 50% 75%; } img.fp-50-100 { object-position: 50% 100%; }
img.fp-75-0 { object-position: 75% 0%; } img.fp-75-25 { object-position: 75% 25%; } img.fp-75-50 { object-position: 75% 50%; } img.fp-75-75 { object-position: 75% 75%; } img.fp-75-100 { object-position: 75% 100%; }
img.fp-100-0 { object-position: 100% 0%; } img.fp-100-25 { object-position: 100% 25%; } img.fp-100-50 { object-position: 100% 50%; } img.fp-100-75 { object-position: 100% 75%; } img.fp-100-100 { object-position: 100% 100%; }
img.fp-58-50 { object-position: 58% 50%; }
img.fp-52-50 { object-position: 52% 50%; }
img.fp-50-60 { object-position: 50% 60%; }
img.fp-35-15 { object-position: 35% 15%; }
img.fp-22-70 { object-position: 22% 70%; }
img.fp-30-50 { object-position: 30% 50%; }
img.fp-45-50 { object-position: 45% 50%; }
img.fp-50-8 { object-position: 50% 8%; }
img.fp-50-40 { object-position: 50% 40%; }
img.fp-50-28 { object-position: 50% 28%; }

/* Footer credits: give the Shielded button and the credit lines room to breathe. */
.foot-badges { flex-direction: column; gap: 22px; margin-top: 26px; padding-top: 26px; padding-bottom: 8px; }
.foot-badges .vn-credit { gap: 14px; font-size: 0.875rem; }
.foot-badges .vn-credit__line { gap: 8px 12px; }
.foot-badges .vn-credit__ao { height: 2.2rem; }
.foot-badges .vn-credit__cflogo { height: 1.6rem; }

/* ---------- Spacing pass (18 Nov 2026): one scale (--space-1 to --space-8), no dead bands, no cramped groups ---------- */
.btn { max-width: 100%; }

/* No doubled gaps: the last thing in a block carries no bottom margin, and two plain sections in a row share one gap. */
.section > .wrap > :last-child, .split > * > :last-child { margin-bottom: 0; }
.section:not(.alt):not(.wash):not(.deep):not(.sand):not(.tint) + .section:not(.alt):not(.wash):not(.deep):not(.sand):not(.tint) { padding-top: 0; }
/* The last section has no wave below it (the footer paints its own). */
main > .section:last-child::after { display: none; }
.split > * { margin-bottom: var(--space-5); }
.split.top { align-items: flex-start; }
@supports (display: grid) { @media (min-width: 860px) { .split.top { align-items: start; } } }
.split.top .panel + .photo { margin-top: 0; }

/* A button on its own line gets room above and below. */
.section .wrap > p:has(> .btn), .section .wrap > p.center:has(> .btn) { margin-top: var(--space-5); margin-bottom: var(--space-6); }
.panel + p:has(> .btn), details.panel + p:has(> .btn) { margin-top: var(--space-5); }
.split p:has(> .btn) { margin-top: var(--space-5); }

/* Signs: more air above the tape and below the base, and stacked signs never touch. */
.colsign { margin-bottom: var(--space-8); }
.mural-band { max-width: none; margin-bottom: var(--space-6); }
@supports (display: grid) {
  @media (min-width: 700px) { .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
}

/* Footer: balanced columns, tighter links on desktop, a clear gap before the sign-off, and 44px targets on phones. */
.foot .grid { gap: var(--space-6) var(--space-6); margin-bottom: var(--space-6); }
.foot .foot-h { margin-bottom: var(--space-3); }
.foot p { margin-bottom: var(--space-3); }
.foot li a { min-width: 44px; }
.foot .signoff { margin: var(--space-6) 0 var(--space-2); }
.foot .small { margin-bottom: var(--space-2); }
@media (min-width: 1000px) {
  .foot li { margin-bottom: 0; }
  .foot li a { padding: 7px 0; }
  .foot li:not(:has(> a:only-child)) { padding: 7px 0; }
  .foot .grid { grid-template-columns: 0.9fr 1.25fr 1.5fr; }
  .foot .grid > div:last-child ul { -webkit-columns: 2; columns: 2; -webkit-column-gap: var(--space-5); column-gap: var(--space-5); }
  .foot .grid > div:last-child li { -webkit-column-break-inside: avoid; break-inside: avoid; }
}
.foot-badges { margin-top: var(--space-6); padding-top: var(--space-6); padding-bottom: var(--space-2); }
@media (max-width: 760px) { .foot-badges .vn-credit a { min-height: 44px; } .foot-badges .vn-credit { gap: var(--space-2); } }
.split > *, .two-col > * { flex-basis: min(300px, 100%); }
@media (max-width: 359px) {
  .colsign { width: calc(100% - 32px); }
  .widget-row { grid-template-columns: 1fr; }
  .nav a { padding-left: var(--space-2); padding-right: var(--space-2); }
}
/* The sticky book bar never covers the last of the page: the footer reserves the bar's height (about 70px) plus the notch. */
@media (max-width: 760px) { .foot { padding-bottom: calc(var(--space-8) + var(--space-5) + env(safe-area-inset-bottom)); } }
@media (max-width: 359px) { .bookbar .btn { padding-left: var(--space-2); padding-right: var(--space-2); font-size: 0.95rem; } }

/* Touch targets: links get a 44px hit area by padding (inline padding grows the target, not the line), buttons and
   footer links by min-height. Applies to phones and tablets and to any touch screen. */
@media (max-width: 999px), (pointer: coarse) {
  main p a:not(.btn), main li a:not(.btn), main dd a, main figcaption a, main .hint a, .foot p a, .fp-small, .container a.inline { padding: 14px 8px; margin: 0 -8px; }
  .foot li a { display: inline-flex; align-items: center; min-height: 44px; padding-top: 0; padding-bottom: 0; }
  .vn-credit a, .foot-badges .vn-credit a { min-height: 44px; }
  .vn-credit__line { gap: 4px 12px; }
  .video { min-height: 44px; }
  .btn.small { min-height: 44px; padding-top: 9px; padding-bottom: 9px; }
  summary { min-height: 44px; display: flex; align-items: center; }
  .lb-bar .btn { min-height: 44px; }
}

/* "Book direct" note: under the home booking form and on /rooms. A plain dashed box, no price claim (content.ts
   BOOK_DIRECT). It keeps the light-theme ink in dark mode, like the panels. */
.direct-note { max-width: 46em; margin: 4px 0 12px; padding: 10px 14px; background: var(--atl-panel); color: #181c21; border: 2px dashed #132a68; }
.direct-note strong { color: #8e00ca; }
.direct-note a { color: #102998; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .direct-note { color: #181c21; color-scheme: light; }
}

/* ===== styles/sections/intro.css ===== */
/* Section: intro (the top of the home page: street mural, welcome, booking form, rotating banner). */

/* ---------- Home intro: royal field with the welcome and the booking form, then the photo strip ---------- */
.intro { padding: 32px 0 24px; background: var(--atl-hero); color: var(--atl-on-hero); }
.intro-grid { display: flex; flex-wrap: wrap; align-items: flex-start; margin-left: -16px; margin-right: -16px; }
.intro-grid > * { flex: 1 1 340px; min-width: 0; padding: 0 16px; margin-bottom: 24px; }
.wrap.intro-grid { margin-left: auto; margin-right: auto; padding: 0; }
@supports (display: grid) {
  @media (min-width: 860px) {
    .wrap.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; margin: 0 auto; padding: 0 16px; align-items: center; }
    .intro-grid > * { padding: 0; margin: 0 0 32px; }
  }
}
.eyebrow { color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.intro .eyebrow { color: var(--atl-hero-soft); text-transform: uppercase; letter-spacing: var(--t-kicker-track); font-size: var(--t-kicker); margin-bottom: var(--space-3); }
.intro h1 { font-family: var(--cooper); font-size: var(--t-display); line-height: 1.08; overflow-wrap: break-word; margin-bottom: 0.4em; color: var(--atl-band-accent); text-shadow: var(--atl-h1-shadow) var(--atl-h1-shadow) 0 var(--atl-outline); }
.intro h1 .h-a { display: block; font-family: var(--display); font-size: 0.5em; color: var(--atl-on-hero); text-shadow: none; margin-bottom: 0.15em; }
.intro h1 .h-b { color: var(--atl-band-accent); }
.intro .lede { color: var(--atl-on-hero); }

/* "Beds from $22": a round red stamp, slightly askew (a stamp, so it may tilt) */
.badge-from { position: absolute; z-index: 3; top: 14px; right: 18px; display: block; width: 128px; height: 128px; padding-top: 22px; margin: 0; border-radius: 50%; background: var(--atl-stamp); color: var(--atl-on-card); text-align: center; line-height: 1.1; border: 3px dashed #fff; box-shadow: 0 0 0 4px var(--atl-stamp), 0 0 0 7px #181c21; -webkit-transform: rotate(calc(-8deg * var(--atl-tilt-k))); transform: rotate(calc(-8deg * var(--atl-tilt-k))); }
.badge-from span { display: block; }
.bf-small { font-size: var(--t-kicker); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.bf-big { font-family: var(--cooper); font-weight: 700; font-size: 2.4rem; line-height: 1.15; }
.intro-copy::after { content: ''; display: table; clear: both; }
@media (max-width: 600px) {
  .badge-from { width: 96px; height: 96px; padding-top: 16px; top: 10px; right: 12px; }
  .badge-from .bf-big { font-size: 1.6rem; }
  .badge-from .bf-big { font-size: 2rem; }
  .badge-from .bf-small { font-size: 0.68rem; letter-spacing: 0.03em; }
  .intro .eyebrow { letter-spacing: 0.04em; font-size: 0.8rem; }
}

/* The old site's rotating banner, in a strip with painted wavy edges */
.postcard { position: relative; margin: 0; }
.postcard img { width: 100%; height: var(--atl-banner-h-sm); object-fit: cover; }
.postcard figcaption { color: var(--atl-hero-soft); font-size: var(--t-small); padding-top: 10px; padding-bottom: 12px; }
@media (min-width: 760px) { .postcard img { height: var(--atl-banner-h); } }
@supports ((-webkit-mask-image: url('')) or (mask-image: url(''))) {
  .postcard .slides { -webkit-mask: url('/s/img/edge-band.svg') 0 0 / 100% 100% no-repeat; mask: url('/s/img/edge-band.svg') 0 0 / 100% 100% no-repeat; }
}

/* Foldables */
@media (max-width: 340px) {
  .intro h1 { font-size: 1.8rem; }
}

/* Home banner: the old site's rotating photos, crossfading in CSS. The first stays put underneath; the other four
   fade in over it in turn (6s each, 30s cycle). Paused by the label, and off for reduced motion (WCAG 2.2.2). */
.slides { position: relative; overflow: hidden; }
.slides picture { display: block; }
.slides picture + picture { position: absolute; inset: 0; opacity: 0; -webkit-animation: slide 30s infinite; animation: slide 30s infinite; }
.slides picture:nth-child(2) { -webkit-animation-delay: 6s; animation-delay: 6s; }
.slides picture:nth-child(3) { -webkit-animation-delay: 12s; animation-delay: 12s; }
.slides picture:nth-child(4) { -webkit-animation-delay: 18s; animation-delay: 18s; }
.slides picture:nth-child(5) { -webkit-animation-delay: 24s; animation-delay: 24s; }
.postcard .slides img { height: var(--atl-banner-h-sm); }
@media (min-width: 760px) { .postcard .slides img { height: var(--atl-banner-h); } }
/* Slow crossfades (the museum photo and the Free band): 7s a photo. n5 = five photos, n4 = four. */
.rotating { position: relative; }
.slides.slow picture + picture { -webkit-animation-duration: 35s; animation-duration: 35s; }
.slides.slow picture:nth-child(2) { -webkit-animation-delay: 7s; animation-delay: 7s; }
.slides.slow picture:nth-child(3) { -webkit-animation-delay: 14s; animation-delay: 14s; }
.slides.slow picture:nth-child(4) { -webkit-animation-delay: 21s; animation-delay: 21s; }
.slides.slow picture:nth-child(5) { -webkit-animation-delay: 28s; animation-delay: 28s; }
.slides.slow picture:nth-child(6) { -webkit-animation-delay: 35s; animation-delay: 35s; }
.slides.slow.n6 picture + picture { -webkit-animation-name: slide6; animation-name: slide6; -webkit-animation-duration: 42s; animation-duration: 42s; }
@keyframes slide6 { 0% { opacity: 0; } 3% { opacity: 1; } 16.7% { opacity: 1; } 19.7% { opacity: 0; } 100% { opacity: 0; } }
@-webkit-keyframes slide6 { 0% { opacity: 0; } 3% { opacity: 1; } 16.7% { opacity: 1; } 19.7% { opacity: 0; } 100% { opacity: 0; } }
.slides.slow.n4 picture + picture { -webkit-animation-name: slide4; animation-name: slide4; -webkit-animation-duration: 28s; animation-duration: 28s; }
@keyframes slide4 { 0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; } }
@-webkit-keyframes slide4 { 0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; } }
.photo.rotating .slides img { display: block; width: 100%; height: clamp(220px, 42vw, 380px); object-fit: cover; }
.mural-band.rotating { position: relative; }
.mural-band.rotating img { display: block; width: 100%; height: clamp(90px, 18vw, 190px); object-fit: cover; }
@-webkit-keyframes slide { 0% { opacity: 0; } 4% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; } 100% { opacity: 0; } }
@keyframes slide { 0% { opacity: 0; } 4% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; } 100% { opacity: 0; } }
.pause-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; bottom: 12px; right: 16px; }
.pause-toggle:checked ~ .slides picture { -webkit-animation-play-state: paused; animation-play-state: paused; }
/* The pause control floats over the photos' lower right as a small round button (Mali, 27 Nov 2026) */
.pause-float { position: absolute; z-index: 3; right: 12px; bottom: 14px; margin: 0; padding: 0; }
.pause-label { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid #181c21; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #181c21; cursor: pointer; box-shadow: 2px 2px 0 #181c21; }
.pause-label::before { content: '❚❚'; font: 700 0.95rem/1 var(--cooper); letter-spacing: -1px; }
.pause-toggle:checked ~ .pause-float .pause-label::before { content: '▶'; }
.pause-toggle:focus-visible ~ .pause-float .pause-label { outline: 3px solid #ff7ca6; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .pause-toggle { display: none; }
  .slides picture + picture, .slides.slow picture + picture, .slides.slow.n4 picture + picture, .slides.slow.n6 picture + picture { display: none; -webkit-animation: none; animation: none; }
  .pause-label { display: none; }
}

/* Home: the street mural and the highlights, one swipeable strip at the top of the royal field (Mali, 27 Nov 2026).
   The frame (outline, corners, block shadow) is on the stage, so every photo sits in the same painted frame. */
.street-mural { margin: 0 0 26px; }
.mural-frame { position: relative; }
.viewer-stage { position: relative; overflow: hidden; background: var(--atl-outline); }
/* One full-width strip with the painted wavy edges (Mali, 27 Nov 2026: the viewer and the old wavy banner combined) */
@supports ((-webkit-mask-image: url('')) or (mask-image: url(''))) {
  .viewer-stage { -webkit-mask: url('/s/img/edge-band.svg') 0 0 / 100% 100% no-repeat; mask: url('/s/img/edge-band.svg') 0 0 / 100% 100% no-repeat; }
}
.street-mural { --side: max(16px, calc((100vw - 1100px) / 2 + 16px)); }
.viewer-track { display: flex; margin: 0; padding: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.viewer-track::-webkit-scrollbar { display: none; }
.viewer-track:focus-visible { outline: 3px solid var(--atl-focus); outline-offset: -3px; }
.viewer-track > li { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.viewer-track img { display: block; width: 100%; height: clamp(240px, 70vw, 54vh); object-fit: cover; }
/* Every photo fills the frame (Mali, 27 Nov 2026); each highlight's crop point is its slot's focal (content.ts
   HIGHLIGHTS), picked so the frame lands on the fun part. */
.viewer-track #hl-mural img { object-position: 50% 45%; }
.viewer-btn { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; padding: 0; border: 3px solid #181c21; border-radius: 50%;
  background: #ffffff; color: #181c21; font: 700 2rem/1 var(--cooper); cursor: pointer; box-shadow: 3px 3px 0 #181c21; }
.viewer-btn[hidden] { display: none; }
.viewer-prev { left: var(--side); } .viewer-next { right: var(--side); }
.viewer-btn:hover:not(:disabled) { background: var(--atl-btn); }
.viewer-btn:disabled { opacity: 0.35; cursor: default; }
.viewer-btn:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.mural-title { padding: 18px var(--side) 0; }
.mural-title h1 { margin-bottom: 0; }
/* From 1024px the welcome sits on the photos' lower left, on a dark fade so it reads on any of them. The strip is
   capped at 54% of the screen height so the booking form starts on the first screen. */
@media (min-width: 1024px) {
  .mural-title { position: absolute; z-index: 1; left: 0; right: 0; bottom: 14px; padding: 64px var(--side) 20px; pointer-events: none; bottom: 40px; padding-top: 120px; padding-bottom: 10px; background: none; }
  /* No box behind the welcome (it never matched the wavy edge): a strong ink glow on the letters instead */
  .mural-title h1 .h-b { text-shadow: 3px 3px 0 #181c21, 0 0 14px rgba(0, 0, 0, 0.85), 0 0 3px #000; }
  .mural-title .eyebrow { color: #ffffff; text-shadow: 0 1px 2px #000, 0 0 6px #000, 0 0 14px rgba(0, 0, 0, 0.95); }
  .intro .mural-title h1 .h-a { text-shadow: 0 1px 2px #000, 0 0 6px #000, 0 0 16px rgba(0, 0, 0, 0.95); }
  .intro .mural-title h1 .h-a { color: #ffffff; }
  .viewer-btn { margin-top: -60px; }
}
.street-mural figcaption { font-family: var(--hand); font-size: var(--t-caption); line-height: 1.3; color: var(--atl-hero-soft); padding-top: 12px; max-width: 46em; }
.viewer-all { display: inline-block; min-height: 44px; padding: 10px 14px; margin-left: 10px; border: 2px solid #181c21; border-radius: 999px; background: var(--atl-band-accent); color: #181c21; font-family: var(--cooper); font-size: 1rem; line-height: 1.2; text-decoration: none; vertical-align: middle; }
.viewer-all:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.viewer-count { font-family: var(--cooper); font-size: 1rem; color: var(--atl-on-hero); white-space: nowrap; margin-left: 6px; }
@media (prefers-reduced-motion: no-preference) { .viewer-track { scroll-behavior: smooth; } }

@media print {
  .pause-label, .pause-toggle, .slides picture + picture, .viewer-stage, .street-mural figcaption,   .mural-title { position: static !important; background: none !important; padding: 0 !important; }
  .intro::after { display: none !important; }
  .postcard .slides { -webkit-mask: none !important; mask: none !important; }
  .postcard .slides img, .postcard img { height: 200px; }
  .badge-from { -webkit-transform: none !important; transform: none !important; }
  .badge-from { border: 2px dashed #000; }
  .intro { padding-top: 0; }
  .intro-grid { display: block !important; }
  .intro-grid > div:last-child { display: none; }
}

/* The booking form (Mali, 27 Nov 2026): on computers a card floating on the right of the photos, with the stamp
   moved to the top left and the welcome kept clear of the card. Phones and tablets: the form follows the photos. */
.booking-bar { padding: 0 var(--side); }
.booking-bar .booking { margin: 18px 0 0; }
@media (min-width: 1024px) {
  .viewer-track img { height: clamp(480px, calc(100vh - 230px), 640px); }
  .booking-bar { position: absolute; z-index: 4; top: 50%; right: var(--side); width: 370px; padding: 0; transform: translateY(-50%); }
  .booking-bar .booking { margin: 0; padding: 14px 16px 6px; box-shadow: 6px 6px 0 #181c21; }
  .booking-bar .booking-h { margin: 0 0 6px; }
  .booking-bar .widget-row { grid-template-columns: 1fr 1fr 1fr; gap: 0 10px; }
  .booking-bar .widget-row .field.date { grid-column: 1 / -1; }
  .booking-bar .widget-row .field { margin-bottom: 8px; }
  .booking-bar .widget .code { margin: 0 0 6px; }
  .booking-bar .widget .code summary { padding: 4px 0; }
  .booking-bar .widget .btn { width: 100%; margin: 0 0 6px; }
  .booking-bar .widget .hint { margin: 2px 0 4px; }
  .booking-bar .direct-note { margin: 4px 0 8px; padding: 6px 10px; font-size: var(--t-small); }
  .badge-from { right: auto; left: var(--side); top: 26px; }
  .mural-title { right: calc(var(--side) + 390px) !important; padding-right: 0; }
  .viewer-next { right: calc(var(--side) + 390px); }
  .viewer-prev { left: var(--side); }
}

/* Phones: the photos and the welcome come first (most visitors never scroll; Mali, 27 Nov 2026), then the booking
   form, then the rotating banner. */

/* Rotating banner: each slide's focal point (its subject in frame on narrow screens) is its slot's, in content.ts
   BANNERS, as an fp-<x>-<y> class (styles/components.css). */
.intro-grid > * { flex-basis: min(340px, 100%); }
@media (max-width: 359px) {
  .badge-from { float: none; display: block; margin: 0 auto var(--space-4); }
  .intro-copy .lede { clear: both; }
}
.intro > * { min-width: 0; max-width: 100%; }
@media (max-width: 359px) { .intro h1 { font-size: 1.75rem; } }

/* ===== styles/sections/stay.css ===== */
/* Section: stay (home, "Rooms & prices" as price tickets). */

/* Harmony pass (27 Nov 2026): the heading over the tickets starts in deep sea, not Electric Grape. Four ticket colours
   sit right under it, and a grape first word over the grape ticket was one bright too many in that screen. */
.section:has(> .wrap > .tickets) h2 .h-a { color: #132a68; }

/* ---------- Price tickets, painted boards with a coral label ---------- */
.tickets { display: flex; flex-wrap: wrap; margin: 0 -8px 16px; }
.tickets > * { flex: 1 1 260px; min-width: 0; margin: 0 8px 18px; }
@supports (display: grid) {
  .tickets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; margin: 0 0 16px; }
  .tickets > * { margin: 0; }
}
.ticket { color: var(--atl-on-card); border: var(--atl-outline-w-heavy) solid var(--atl-outline); border-radius: var(--atl-card-r); overflow: hidden; padding-bottom: 8px; box-shadow: var(--atl-block-lg) var(--atl-block-lg) 0 var(--atl-outline); }
.ticket:nth-child(2) { border-radius: var(--cut-b); }
.ticket.t1 { background: var(--atl-card-1); }
.ticket.t2 { background: var(--atl-card-3); }
.ticket.t3 { background: var(--atl-card-2); }
.ticket-h { margin: 0; padding: 12px 16px 10px; font-family: var(--caesar); font-size: var(--t-sign); text-transform: uppercase; letter-spacing: 0.03em; text-align: center; color: #181c21; border-bottom: 3px solid #181c21; }
.t1 .ticket-h { background: var(--atl-card-1-tab); color: var(--atl-on-card-1-tab); }
.t2 .ticket-h { background: var(--atl-card-3-tab); color: var(--atl-on-card-3-tab); }
.t3 .ticket-h { background: var(--atl-card-2-tab); color: var(--atl-on-card-2-tab); }
.ticket-h a { color: inherit; text-decoration: none; display: block; min-height: 24px; }
.ticket-h a:hover, .ticket-h a:focus-visible { text-decoration: underline; }
.ticket-price { font-family: var(--cooper); font-weight: 700; font-size: var(--t-price); text-align: center; margin: 12px 0 4px; }
.ticket-price .small { font-family: var(--body); font-size: var(--t-small); font-weight: 600; }
.ticket .stays { margin: 0 16px 8px; }
.ticket > p.small { margin: 0 16px 8px; }
.ticket .stays li { border-bottom-color: rgba(255, 255, 255, 0.4); }
.ticket .stay-price, .ticket .stay-text { color: var(--atl-on-card); }
/* Sardinia's ticket (Mali, 27 Nov 2026): hot coral with dark ink, and the female-only line called out */
.ticket.t4 { background: #ff7ca6; color: #181c21; }
.t4 .ticket-h { background: #ffffff; color: #181c21; }
.ticket .points { list-style: none; margin: 4px 16px 8px; padding: 0; }
.ticket .points li { padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.t4 .points li { border-bottom-color: rgba(24, 28, 33, 0.25); }
.ticket .points li:last-child { border-bottom: 0; }
.ticket .points li.hl { margin: 4px -8px; padding: 8px 10px; border: 2px solid #181c21; border-radius: 8px; background: #ffffff; color: #181c21; font-family: var(--cooper); }

@media print {
  .ticket { break-inside: avoid; page-break-inside: avoid; }
  .ticket-h { break-after: avoid; page-break-after: avoid; }
  .ticket, .ticket-h { border-color: #000 !important; }
}
.tickets { margin-bottom: var(--space-6); }
.ticket-price .small { white-space: normal; }

/* Layout B (Mali, 27 Nov 2026): one wide Mixed Dorms ticket across the top with Poseidon's Palace and Sardinia side
   by side, then the single-sex dorms and the private rooms. */
.tickets > .wide { grid-column: 1 / -1; }
@media (min-width: 700px) { .tickets { grid-template-columns: 1fr 1fr; } }
.ticket-pair { display: grid; grid-template-columns: 1fr 1fr; }
.ticket-pair .half { padding: 4px 0 6px; }
.ticket-pair .half.sardinia { background: #ff7ca6; color: #181c21; border-left: var(--atl-outline-w-heavy) solid var(--atl-outline); }
.half-h { margin: 12px 16px 0; text-align: center; font-family: var(--caesar); font-size: var(--t-sign); text-transform: uppercase; letter-spacing: 0.03em; }
.half-h a { color: inherit; text-decoration: none; }
.half-h a:hover, .half-h a:focus-visible { text-decoration: underline; }
.half-bunks { margin: 0 16px 2px; text-align: center; font-family: var(--cooper); font-size: var(--t-h3); line-height: 1.1; }
.half-bunks .half-tag { display: inline; margin: 0; font-size: var(--t-body); }
.half-tag { margin: 0 16px 4px; text-align: center; font-family: var(--cooper); font-size: var(--t-lede); }
.sardinia .points li { border-bottom-color: rgba(24, 28, 33, 0.25); }
.ticket.wide { padding-bottom: 0; }
/* The Mixed Dorms tab is a lavender between Poseidon's cobalt and Sardinia's coral (Mali, 27 Nov 2026): oklch(74.6% 0.140
   304), CIEDE2000 36 from cobalt, 22 from coral and 19 from the lilac band, no near-complement at equal lightness, ink 7.2:1. */
.ticket.wide .ticket-h { background: #c095f4; color: #181c21; }
/* The ticket names are links: they keep their ticket's text colour on a coloured band (the band link colour turned
   Poseidon's name ultramarine on cobalt). */
.tickets .ticket .half-h a, .tickets .ticket .ticket-h a { color: inherit; }
@media (max-width: 640px) {
  .ticket-pair { grid-template-columns: 1fr; }
  .ticket-pair .half.sardinia { border-left: 0; border-top: var(--atl-outline-w-heavy) solid var(--atl-outline); }
}

/* Rooms & Prices sits on the lilac band (Mali, 27 Nov 2026), so its check-out column sign is white, not lilac */
.section.sand .colsign { background-color: #ffffff; }

/* ===== styles/sections/free.css ===== */
/* Section: free (home, "Free, free, free!"). */

/* Two photos under the freebies */
.duo { display: flex; flex-wrap: wrap; gap: 24px; margin: 28px 0 0; }
.duo > * { flex: 1 1 280px; min-width: 0; margin: 0; }
.duo img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 760px) { .duo { max-width: 860px; margin-left: auto; margin-right: auto; } }
@media (max-width: 600px) { .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .duo figcaption { font-size: var(--t-caption-sm); } .duo .photo.framed img { box-shadow: 3px 3px 0 #132a68; } }
.freebies { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.freebies li { flex: 1 1 230px; margin: 0 8px 16px; background: var(--atl-panel); color: #181c21; padding: 14px 16px; }
@supports (display: grid) {
  .freebies { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 18px; }
  @media (max-width: 520px) { .freebies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
  @media (max-width: 300px) { .freebies { grid-template-columns: 1fr; } }
  .freebies li { margin: 0; }
}
/* Harmony pass (27 Nov 2026): the shadows alternate cobalt and deep sea. Electric Grape and teal shadows side by side
   vibrated (CIEDE2000 44 at equal lightness, hues 137 degrees apart), and the eight grape FREE! stamps carry the pop. */
.freebies li:nth-child(4n+1) { box-shadow: 4px 4px 0 #284ba8; }
.freebies li:nth-child(4n+2) { box-shadow: 4px 4px 0 #132a68; border-radius: var(--cut-b); }
.freebies li:nth-child(4n+3) { box-shadow: 4px 4px 0 #132a68; }
.freebies li:nth-child(4n+4) { box-shadow: 4px 4px 0 #284ba8; border-radius: var(--cut-b); }
.fb-title { display: block; font-family: var(--display); font-weight: 400; font-size: var(--t-h4); color: #132a68; margin: 6px 0 2px; }
.fb-text { display: block; color: #53595f; font-size: var(--t-small); }
@media (max-width: 520px) { .freebies li { padding: 10px 12px; } .fb-text { line-height: 1.45; } }

/* Dark mode: the freebie cards keep the light ink */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .freebies li {
    --h-a: #8e00ca; --h-b: #284ba8;
    --navy: #132a68; --sea: #102998; --link: #102998; --sky-soft: #d2f3ff; --ink: #181c21; --muted: #53595f; --line: #c6cfd7; --paper: #edf9ff;
    --ok: #1e6b3a; --ok-soft: #e3f3e8; --warn: #7a4b00; --warn-soft: #fff1d1; --danger: #a1261b; --danger-soft: #fde6e3;
    color: #181c21;
    color-scheme: light;
  }
  :root:not([data-theme='light']) .freebies li { border-color: #000; }
}

@media print {
  .freebies li { break-inside: avoid; page-break-inside: avoid; }
  .freebies li { border-color: #000 !important; }
}
@media (min-width: 760px) {
  .duo { max-width: none; gap: var(--space-5); }
  .duo img { aspect-ratio: 3 / 2; }
}
@media (max-width: 359px) {
  .freebies, .duo { grid-template-columns: 1fr; }
}

/* ===== styles/sections/find.css ===== */
/* Section: find (home, "Find us"). */

/* 0800 4 A DORM */
.freephone { font-size: var(--t-body); }
.freephone a { text-decoration: none; }
.fp-big { display: inline-block; font-family: var(--cooper); font-weight: 700; font-size: 1.7rem; color: #8e00ca; color: var(--h-a); text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: #ff7ca6; }
.fp-small { color: var(--link); white-space: nowrap; }
.fp-small { overflow-wrap: anywhere; }
.fp-small { white-space: normal; }
.map-btns { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.map-btn { display: inline-flex; align-items: center; gap: 10px; }
.map-ico { width: 22px; height: 22px; flex: 0 0 22px; }

/* ===== styles/sections/about.css ===== */
/* Section: about (home, "About us"). */

/* Four round photos (the original site's "Backpacker & Hostel, Breakfast & Dessert, Fun & Joy, Location & Proximity") */
.rounds { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.rounds li { flex: 1 1 160px; max-width: 260px; margin: 0 8px 24px; text-align: center; }
@supports (display: grid) {
  .rounds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .rounds li { margin: 0; max-width: none; }
  @media (min-width: 860px) { .rounds { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
}
.rounds a { display: block; text-decoration: none; color: var(--atl-band-head); }
.rounds a:hover .round-h { text-decoration: underline; }
.round-h { display: block; font-family: var(--display); font-size: var(--atl-round-h-size); line-height: 1.2; margin-bottom: 6px; }
.round-h .amp { color: var(--atl-band-head); }
.round-text { display: block; color: var(--atl-on-band); font-size: var(--t-small); }
.videos-h { margin-top: 1.5em; color: #fff; }
.featured { margin-top: 1em; }

@media print {
  .rounds li { break-inside: avoid; page-break-inside: avoid; }
}
@media (max-width: 359px) {
  .rounds { grid-template-columns: 1fr; }
}
@media (max-width: 359px) { .round-h { font-size: 1.05rem; } }
@media (max-width: 999px), (pointer: coarse) {
  .rounds a { min-height: 44px; }
}

/* ===== styles/sections/museum.css ===== */
/* Section: museum (home, "Once a museum", and the mural crops). */

/* Three small mural crops under "Once a museum" */
.mural-trio { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.mural-trio li { flex: 1 1 90px; min-width: 0; }
@supports (display: grid) { .mural-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 760px) { .mural-trio { gap: 28px; max-width: 900px; } }
.mural-trio img { aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 600px) { .mural-trio .photo.framed img { box-shadow: 3px 3px 0 #284ba8; border-width: 2.5px; } .mural-trio figcaption { font-size: var(--t-caption-sm); } }

/* The sea-horse wobble, Only for people who haven't asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .wobble:hover img, .wobble:focus-within img { -webkit-animation: wobble 0.9s ease-in-out; animation: wobble 0.9s ease-in-out; }
}
@-webkit-keyframes wobble { 0%, 100% { -webkit-transform: rotate(0); } 20% { -webkit-transform: rotate(-4deg); } 45% { -webkit-transform: rotate(3deg); } 70% { -webkit-transform: rotate(-2deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-4deg); } 45% { transform: rotate(3deg); } 70% { transform: rotate(-2deg); } }

@media print {
  .mural-trio { display: none !important; }
}
@media (min-width: 760px) {
  .mural-trio { max-width: none; gap: var(--space-5); }
  .mural-trio img { aspect-ratio: 4 / 3; }
}

/* ===== styles/sections/hosts.css ===== */
/* Section: hosts (home, Howard and Sheira). */

.hosts-photo { text-align: center; }
.hosts-photo img.round { width: var(--atl-host-size); height: var(--atl-host-size); border-width: var(--atl-host-ring-w); border-color: var(--atl-panel); box-shadow: 0 0 0 3px #181c21, 6px 6px 0 3px var(--atl-band); }
.hosts-photo figcaption { text-align: center; color: #181c21; padding-top: 14px; }

/* ===== styles/sections/specials.css ===== */
/* Section: specials (home, "Our specials"). */

/* ---------- Our specials (on sand on the home page since the colour pass, so the blue fields stay few) ---------- */
.specials { list-style: none; padding: 0; margin: 0; }
.specials li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.specials li::before { content: '\2605'; position: absolute; left: 0; top: 0; color: var(--atl-brush); font-size: 1.1rem; }
.section.sand .specials li::before { color: #8e00ca; }

/* ===== styles/sections/rooms.css ===== */
/* Section: rooms (the Rooms page: price table, signs, room cards). */

.signs { margin: 8px 0 16px; }
@supports (display: grid) {
  @media (min-width: 820px) { .signs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; } .signs .colsign { max-width: none; } }
}
.included { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; -webkit-columns: 2 280px; columns: 2 280px; -webkit-column-gap: 40px; column-gap: 40px; }
.included li { margin-bottom: 6px; -webkit-column-break-inside: avoid; break-inside: avoid; }
/* ---------- Rooms page ---------- */
/* Harmony pass (27 Nov 2026): the stripe is Mist (#e0f4fe was off-palette and only CIEDE2000 8.6 from white), and the
   per-room line and room kinds are navy, so Electric Grape is kept for the prices and the heading's first word. */
.price-row { display: flex; align-items: stretch; gap: 28px; margin-bottom: 16px; }
.price-row .table-wrap { flex: 1 1 auto; margin-bottom: 0; }
.deco-strip { display: none; flex: 0 0 92px; }
.deco-strip picture { display: block; height: 100%; }
.deco-strip img { width: 92px; height: 100%; min-height: 260px; object-fit: cover; border: 3px solid #181c21; border-radius: var(--cut-b); box-shadow: 4px 4px 0 #132a68; }
@media (min-width: 820px) { .deco-strip { display: block; } }
.direct { font-size: var(--t-lede); color: #132a68; margin-bottom: 0.25em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .direct { color: #ecac9b; } }
.price-table tbody th { background: #fff; color: #132a68; white-space: normal; }
.price-table tbody tr:nth-child(even) th { background: #d2f3ff; }
.price-table strong { font-family: var(--cooper); font-size: var(--t-h4); color: var(--atl-stamp); }
.each { font-weight: 700; color: #102998; }
.price-table table { table-layout: fixed; }
.price-table thead th:last-child { width: 45%; }
.price-table td.num { white-space: normal; }
.pt-kind { display: block; font-weight: 400; color: #53595f; font-size: var(--t-small); }
.pt-per, .price-table .each { display: block; font-size: var(--t-small); }
.pt-per { color: #53595f; }
.room-kind { color: #132a68; font-weight: 700; font-size: var(--t-small); line-height: 1.4; margin-top: -0.2em; }

.rooms { display: flex; flex-wrap: wrap; margin: 0 -8px 24px; }
.rooms > * { flex: 1 1 240px; margin: 0 8px 18px; }
@supports (display: grid) {
  .rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 20px; margin: 0 0 28px; }
  .rooms > * { margin: 0; }
}
@supports (display: grid) {
  @media (max-width: 360px) { .rooms { grid-template-columns: 1fr; } }
}
.room { background: var(--atl-panel); color: #181c21; overflow: hidden; }
.rooms > .room:nth-child(3n+2) { box-shadow: var(--atl-block-x) var(--atl-block-x) 0 var(--atl-card-3); border-radius: var(--cut-b); }
.rooms > .room:nth-child(3n+3) { box-shadow: var(--atl-block-x) var(--atl-block-x) 0 var(--atl-card-1); }
.room img { width: 100%; height: var(--atl-room-photo-h); object-fit: cover; border-bottom: var(--atl-outline-w) solid var(--atl-outline); }
/* Poseidon's photo carries its note in lime green, as the old site's photo had it painted on (Mali, 26 Nov 2026).
   A dark band keeps the green readable on any part of the photo. */
.room-photo { position: relative; }
.room-photo .photo-note { position: absolute; left: 6px; right: 6px; bottom: 8px; margin: 0; padding: 3px 8px; transform: rotate(-2deg);
  font-family: var(--cooper); font-size: 0.85rem; line-height: 1.2; color: #8dff3a; background: rgba(12, 18, 28, 0.78); border-radius: 6px; text-align: center; }
.room-body { padding: 14px 16px 4px; }
.room h3 { font-family: var(--caesar); color: var(--atl-card-1); font-size: var(--t-sign); letter-spacing: 0.02em; margin-bottom: 0.3em; }
.room .price { font-family: var(--cooper); font-size: var(--t-price-sm); color: var(--atl-stamp); }
.room .price span { font-family: var(--body); }
.strip { display: flex; flex-wrap: wrap; gap: 20px; margin: 0 0 28px; }
.strip > * { flex: 1 1 220px; min-width: 0; }
.strip img { height: 180px; object-fit: cover; }
.strip figcaption { color: var(--ink); }
.price-table thead th { background: var(--atl-card-1); font-family: var(--display); font-weight: 400; font-size: var(--t-body); letter-spacing: 0.02em; border-bottom: 2.5px solid #181c21; }

/* Foldables */
@media (max-width: 340px) {
  .room img { height: 160px; }
}
@media (max-width: 480px) {
  .price-table .pt-per { display: none; }
  .price-table thead th:last-child { width: 50%; }
}

/* Dark mode: room cards keep the light ink */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .room {
    --h-a: #8e00ca; --h-b: #284ba8;
    --navy: #132a68; --sea: #102998; --link: #102998; --sky-soft: #d2f3ff; --ink: #181c21; --muted: #53595f; --line: #c6cfd7; --paper: #edf9ff;
    --ok: #1e6b3a; --ok-soft: #e3f3e8; --warn: #7a4b00; --warn-soft: #fff1d1; --danger: #a1261b; --danger-soft: #fde6e3;
    color: #181c21;
    color-scheme: light;
  }
  :root:not([data-theme='light']) .room { border-color: #000; }
}

@media print {
  .deco-strip { display: none !important; }
  .room { break-inside: avoid; page-break-inside: avoid; }
  .room, .table-wrap.price-table { border-color: #000 !important; }
  .room img { border: 1px solid #000; }
}
.strip + p:has(> .btn) { margin-top: var(--space-5); }
.signs .colsign { margin-top: 88px; }
@media (max-width: 819px) { .signs .colsign + .colsign { margin-top: 104px; } }
.price-table { max-width: none; }
@supports (display: grid) {
  /* Room cards fill their row: four dorms go 2 by 2 and then four across, three private rooms go three across. */
  .rooms.n4, .rooms.n3 { grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 600px) { .rooms.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 1000px) { .rooms.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @media (min-width: 760px) { .rooms.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
}

/* Room cards: the price always sits at the foot of the card, so prices line up across a row. */
.room { display: flex; flex-direction: column; }
.room-body { flex: 1; display: flex; flex-direction: column; padding-bottom: var(--space-4); }
.room-body > .price { margin-top: auto; padding-top: var(--space-3); }
.room .price { line-height: 1.25; }
.room .price span { line-height: 1.4; }
.room .each { margin: var(--space-2) 0 0; }

/* The price table keeps a readable name column on phones. */
@media (max-width: 480px) { .price-table thead th:last-child { width: 38%; } }

/* ===== styles/sections/gallery.css ===== */
/* Section: gallery (the photo gallery and its lightbox). */

/* ---------- Gallery ---------- */
.gallery .polaroid { background: var(--atl-panel); padding: 10px 10px 4px; }
.gallery .polaroid:nth-child(3n+2) { box-shadow: var(--atl-block-x) var(--atl-block-x) 0 var(--atl-card-3); border-radius: var(--cut-b); }
.gallery .polaroid:nth-child(3n+3) { box-shadow: var(--atl-block-x) var(--atl-block-x) 0 var(--atl-card-1); }
.gallery .polaroid figcaption { color: #181c21; text-align: center; }
.gallery a { display: block; }
.gallery img { width: 100%; height: 220px; object-fit: cover; border: 2px solid #181c21; }
/* Masonry (Mali, 27 Nov 2026): each photo keeps its own shape, tall or wide, in staggered columns */
.gallery.grid { display: block; columns: 3 240px; column-gap: 18px; }
.gallery .polaroid { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 18px; display: block; }
.gallery img { height: auto; aspect-ratio: auto; object-fit: initial; }
.gallery + h2 { margin-top: 1.6em; }
.gallery-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; list-style: none; margin: 0 0 8px; padding: 0; }
.gallery-nav a { display: inline-block; min-height: 44px; padding: 10px 16px; border: 2px solid #181c21; border-radius: 999px; background: var(--atl-panel); color: #181c21; text-decoration: none; font-weight: 700; }
.gallery-nav a:hover, .gallery-nav a:focus-visible { background: var(--atl-btn); }
.gallery-h { margin: 1.4em 0 0.6em; scroll-margin-top: 80px; }

/* The gallery lightbox (public/s/js/gallery.js; without it the links just open the photo) */
.lightbox { padding: 0; border: 3px solid #181c21; border-radius: var(--cut); background: #edf9ff; color: #181c21; width: auto; max-width: min(96vw, 1100px); max-height: 96vh; box-shadow: 6px 6px 0 #181c21; }
.lightbox::backdrop { background: rgba(20, 32, 45, 0.88); }
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; padding: 12px; }
.lb-bar .lb-close { margin-left: auto; }
.lb-count { font-weight: 700; min-width: 4.5em; text-align: center; }
.lb-figure { margin: 0; padding: 0 12px 12px; }
.lb-img { display: block; width: auto; max-width: 100%; max-height: calc(96vh - 170px); margin: 0 auto; border: 2px solid #181c21; }
.lb-caption { font-family: var(--hand); font-size: var(--t-caption-lg); text-align: center; padding-top: 8px; }
html:has(.lightbox[open]) { overflow: hidden; }
@media (max-width: 520px) { .gallery.grid { columns: 2; column-gap: 12px; } .gallery .polaroid { padding: 6px 6px 2px; margin-bottom: 12px; } }

/* Dark mode: polaroids and the lightbox keep the light ink */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .gallery .polaroid,
  :root:not([data-theme='light']) .lightbox {
    --h-a: #8e00ca; --h-b: #284ba8;
    --navy: #132a68; --sea: #102998; --link: #102998; --sky-soft: #d2f3ff; --ink: #181c21; --muted: #53595f; --line: #c6cfd7; --paper: #edf9ff;
    --ok: #1e6b3a; --ok-soft: #e3f3e8; --warn: #7a4b00; --warn-soft: #fff1d1; --danger: #a1261b; --danger-soft: #fde6e3;
    color: #181c21;
    color-scheme: light;
  }
  :root:not([data-theme='light']) .gallery .polaroid { border-color: #000; }
  :root:not([data-theme='light']) .gallery img { border-color: #000; }
}

@media print {
  .lightbox { display: none !important; }
  .gallery .polaroid { border-color: #000 !important; }
  .gallery img { border: 1px solid #000; }
}
@media (max-width: 359px) {
  .gallery.grid { columns: 1; }
}
@media (max-width: 999px), (pointer: coarse) {
  .gallery a { min-height: 44px; }
}

/* The phone tap-padding rule for links in running text (components.css: `main li a:not(.btn)`, padding 14px 8px,
   margin 0 -8px) also caught these pills and made neighbours overlap by 6px. The pills are already 44px tall. */
@media (max-width: 999px), (pointer: coarse) {
  main nav.gallery-nav li a { margin: 0; padding: 10px 16px; }
}

/* ===== styles/sections/banner.css ===== */
/* Section: banner (a wide photo under the page title; the Picton page). */

/* Page banner (Picton page) */
.hero { position: relative; background: #132a68; color: #fff; overflow: hidden; }
.hero picture img { width: 100%; height: 300px; object-fit: cover; opacity: 0.6; }
.hero .copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 16px 30px; background: linear-gradient(transparent, rgba(20, 32, 45, 0.82) 56px, rgba(20, 32, 45, 0.9)); }
.hero h1 { color: #fff; margin-bottom: 0.2em; text-shadow: 3px 3px 0 #181c21; }
.hero h1 .h-a { color: #fff; }
.hero h1 .h-b { color: #ff7ca6; }
.hero p { font-size: var(--t-lede); max-width: 34em; }
.hero .chips { display: none; }
@supports ((-webkit-mask-image: url('')) or (mask-image: url(''))) {
  .hero::after { content: ''; position: absolute; z-index: 1; left: 0; right: 0; bottom: -1px; height: 22px; background: #edf9ff; background: var(--paper); -webkit-mask: url('/s/img/edge-wave-b.svg') 0 0 / 100% 100% no-repeat; mask: url('/s/img/edge-wave-b.svg') 0 0 / 100% 100% no-repeat; }
  .hero .copy { padding-bottom: 40px; }
  @media (max-width: 600px) { .hero::after { height: 14px; } }
}

@media print {
  .hero::after { display: none !important; }
}

/* ===== styles/sections/guide.css ===== */
/* Section: guide (the Picton guide panels). */

/* Photos in the Picton guide panels */
.photos { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.photos picture { flex: 1 1 140px; min-width: 0; }
.photos img { width: 100%; height: 160px; object-fit: cover; border: 2.5px solid #181c21; border-radius: var(--cut-b); }
.photos picture:only-child img { height: auto; aspect-ratio: 5 / 4; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .photos img { border-color: #000; }
}

@media print {
  .photos img { border: 1px solid #000; }
}

/* ===== styles/sections/info.css ===== */
/* Section: info (check-in facts, the house rules column and the FAQ). */

/* ---------- Info ---------- */
.info-top { margin-bottom: 8px; }
.info-top .facts { margin-bottom: 24px; }
.info-fish { max-width: 200px; margin: 0 auto 28px; }
@supports (display: grid) {
  @media (min-width: 700px) {
    .info-top:has(.info-fish) { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; align-items: start; }
    .info-fish { margin: 0; }
  }
}

/* Greek pieces, hand-drawn and wobbly (ATLANTIS-MOTIFS.md): a Vitruvian
   wave scroll as a divider, a marble column for key cards, and coral as trim. All of it is CSS
   background decoration, so screen readers never meet it, and no text ever sits on it. */
.scroll-rule { height: 17px; margin: 8px 0 22px; background: url('/s/img/wave-scroll.svg') 0 0 / 160px 17px repeat-x; }

/* Key cards framed as the hostel's marble column: house rules (/info). Not tilted:
   they hold text people read. The capital is the column sign's own volutes. */
.rules { position: relative; margin: 72px 22px 52px; padding: 18px 28px 14px; background: #e6daff; color: #181c21; border-left: 3px solid #181c21; border-right: 3px solid #181c21; }
.rules::before { content: ''; position: absolute; left: -22px; right: -22px; top: -48px; height: 50px; background: url('/s/img/colsign-volute.svg') left bottom / 52px 48px no-repeat, url('/s/img/colsign-volute.svg') right bottom / 52px 48px no-repeat, url('/s/img/colsign-slab.svg') center bottom / calc(100% - 40px) 40px no-repeat; }
.rules::after { content: ''; position: absolute; left: -12px; right: -12px; bottom: -28px; height: 30px; background: url('/s/img/colsign-base.svg') center / 100% 100% no-repeat; }
.rules-kicker { margin: 0 0 4px; text-align: center; font-weight: 700; font-size: var(--t-kicker); text-transform: uppercase; letter-spacing: var(--t-kicker-track); color: #8e00ca; }
.rules-h { text-align: center; font-family: var(--caesar); font-size: var(--t-sign-lg); text-transform: uppercase; letter-spacing: 0.03em; color: #284ba8; margin: 0 auto 0.5em; padding-bottom: 0; }
.rules-h::after { display: none; }
.rules-list { margin: 0 0 12px; padding-left: 1.5em; }
.rules-list li { margin-bottom: 8px; }
.rules-list li::marker { font-family: var(--cooper); color: #8e00ca; }
.rules-aside { color: #53595f; }
.rules .signoff { text-align: center; margin-bottom: 0.2em; }
@media (max-width: 380px) { .rules { padding-left: 18px; padding-right: 18px; } }

/* Dark mode: the house rules keep the light ink */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .rules {
    --h-a: #8e00ca; --h-b: #284ba8;
    --navy: #132a68; --sea: #102998; --link: #102998; --sky-soft: #d2f3ff; --ink: #181c21; --muted: #53595f; --line: #c6cfd7; --paper: #edf9ff;
    --ok: #1e6b3a; --ok-soft: #e3f3e8; --warn: #7a4b00; --warn-soft: #fff1d1; --danger: #a1261b; --danger-soft: #fde6e3;
    color: #181c21;
    color-scheme: light;
  }
}

@media print {
  .scroll-rule { display: none !important; }
  .rules::before, .rules::after { display: none; }
  .rules { margin: 16px 0; border: 2px solid #000; }
  .rules li { break-inside: avoid; page-break-inside: avoid; }
}
.rules { margin-bottom: var(--space-8); }
@media (max-width: 359px) {
  .rules { margin-left: var(--space-4); margin-right: var(--space-4); }
}

/* Arriving by ferry (/info#ferry): the walk from each terminal beside our hand-drawn map, then two panels. */
.ferry { margin: 8px 0 32px; }
.ferry-walks { margin: 0 0 16px; }
.ferry-walks dt { font-weight: 700; color: var(--navy); margin-top: 10px; }
.ferry-time { font-weight: 400; color: var(--muted); }
.ferry-time::before { content: '· '; }
.ferry-walks dd { margin: 2px 0 8px; }
.ferry-map { max-width: 320px; margin: 0 auto 24px; }
.ferry-help .panel { margin-bottom: 0; }
.ferry-help .ticks { margin-bottom: 0; }
@supports (display: grid) {
  @media (min-width: 700px) {
    .ferry-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; }
    .ferry-map { margin: 8px 0 0; }
  }
}
.reviews { margin-top: var(--space-6); }
.reviews .ticks { margin-bottom: 0; }

/* ===== styles/sections/notfound.css ===== */
/* Section: notfound (the 404 page). */

/* 404 */
.lost-fish { max-width: 320px; margin: 0 auto 28px; }

/* ===== styles/sections/logo.css ===== */
/* Section: logo (/logo, noindex, not in the nav): the original logo and its two SVG redraws, with notes. */

.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 0 0 8px; }
.logo-plate { flex: 1 1 280px; max-width: 420px; margin: 0; padding: 16px; background: #ffffff; color: #181c21; border: 2px solid #181c21; border-radius: var(--atl-card-r); text-align: center; }
.logo-plate img { display: block; width: 100%; height: auto; margin: 0 auto 10px; }
.logo-plate figcaption { font-size: var(--t-small); line-height: 1.4; }
.logo-plate a { color: #102998; }
.logo-plate-dark { background: #284ba8; color: #ffffff; border-color: #ffffff; }
.logo-plate-dark a { color: #d2f3ff; }
.logo-band { background: #284ba8; color: #ffffff; }
.logo-band h2 { color: #ffffff; }
.logo-notes { max-width: 46em; }
.logo-notes li { margin-bottom: 0.6em; }

.logo-swatches { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.logo-swatches li { display: flex; align-items: center; gap: 10px; flex: 1 1 240px; }
.logo-swatches code { white-space: nowrap; }
.logo-chip { flex: none; width: 44px; height: 44px; border: 2px solid #181c21; border-radius: 6px; }
.logo-c0067a6 { background: #0067a6; }
.logo-c00365b { background: #00365b; }
.logo-c284ba8 { background: #284ba8; }
.logo-c132a68 { background: #132a68; }
.logo-c8e00ca { background: #8e00ca; }
.logo-c00745d { background: #00745d; }
.logo-cff7ca6 { background: #ff7ca6; }
.logo-c98e5ff { background: #98e5ff; }

/* Variants for Sheira: each variant at three sizes, on white and on the cobalt band. Images never exceed their box. */
.logo-variants { padding-top: 8px; }
.logo-variant { margin: 0 0 32px; padding: 16px; background: #ffffff; color: #181c21; border: 2px solid #181c21; border-radius: var(--atl-card-r); }
.logo-variant h3 { margin: 0 0 6px; }
.logo-variant a { color: #102998; }
.logo-sizes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; padding: 16px; margin: 0 0 10px; background: #ffffff; border: 1px solid #c9ced6; border-radius: 8px; }
.logo-sizes-dark { background: #284ba8; border-color: #284ba8; }
.logo-sizes-plate .logo-sz { background: #ffffff; padding: 6px; border-radius: 6px; }
.logo-sz { display: block; min-width: 0; max-width: 100%; height: auto; }

/* ===== styles/sections/eggs.css ===== */
/* Section: the easter eggs (public/s/js/eggs.js; Mali, 27 Nov 2026). Decorative only. Everything here is absolutely
   or fixed positioned, or sits in space the page already gives it, so nothing moves when an egg shows. Overlays never
   take a press (pointer-events: none). All motion is under prefers-reduced-motion: no-preference; with reduced motion
   an egg shows still or not at all. The artwork is drawn here as small SVGs (data: images, allowed by img-src). */

/* ---------- Speech bubbles (the swan and the moon) ---------- */
.egg-bubble { position: absolute; z-index: 7; width: max-content; max-width: min(280px, calc(100vw - 40px)); padding: 8px 12px; background: #fff; color: var(--ink-paint); font-family: var(--cooper); font-size: 0.95rem; line-height: 1.3; text-align: left; border: 2.5px solid var(--ink-paint); border-radius: var(--cut); box-shadow: 3px 3px 0 var(--ink-paint); pointer-events: none; }
.egg-bubble[hidden] { display: none; }
.egg-bubble::after { content: ''; position: absolute; width: 12px; height: 12px; background: #fff; border: solid var(--ink-paint); border-width: 0 2.5px 2.5px 0; }

/* ---------- 1 and 2: the towel swan, at the start of the footer's copyright line ---------- */
.egg-swan-line { display: flex; align-items: center; gap: 8px; }
.egg-swan-wrap { position: relative; flex: 0 0 44px; width: 44px; height: 44px; }
.egg-swan { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin: 0; background: none; border: 0; border-radius: 50%; cursor: pointer; visibility: hidden; }
.egg-swan.is-on { visibility: visible; }
.egg-swan:focus-visible { outline: 3px solid var(--atl-foot-link); outline-offset: 2px; }
.egg-swan svg { display: block; transform-origin: 40% 80%; }
.egg-swan-bubble { left: 0; bottom: calc(100% + 10px); }
.egg-swan-bubble::after { left: 14px; bottom: -8px; transform: rotate(45deg); }

/* ---------- 3: the quiet-time moon, just right of the logo (the header's spare space; it never pushes the nav) ---------- */
.top .wrap { position: relative; }
.egg-moon-wrap { position: absolute; z-index: 5; top: calc(10px + 150px * 0.69 / 2 - 22px); left: calc(var(--atl-gutter) + 150px + 4px); width: 44px; height: 44px; }
@media (min-width: 761px) { .egg-moon-wrap { top: calc(10px + 190px * 0.69 / 2 - 22px); left: calc(var(--atl-gutter) + 190px + 6px); } }
@media (min-width: 1100px) { .egg-moon-wrap { top: calc(10px + 250px * 0.69 / 2 - 22px); left: calc(var(--atl-gutter) + 250px + 6px); } }
@media (max-width: 340px) { .egg-moon-wrap { top: calc(10px + 116px * 0.69 / 2 - 22px); left: calc(var(--atl-gutter) + 116px + 2px); } }
.egg-moon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin: 0; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.egg-moon[hidden] { display: none; }
.egg-moon:focus-visible { outline: 3px solid var(--atl-focus); outline-offset: 1px; }
.egg-moon-bubble { top: calc(100% + 8px); left: 50%; transform: translateX(-50%); max-width: min(220px, calc(100vw - 40px)); }
.egg-moon-bubble::after { left: calc(50% - 6px); top: -8px; transform: rotate(-135deg); }
@media (max-width: 340px) { .egg-moon-bubble { left: -40px; transform: none; } .egg-moon-bubble::after { left: 54px; } }

/* ---------- 4: a paper crown on the "Beds from" stamp in December ---------- */
.badge-from.is-xmas::before { content: ''; position: absolute; top: -26px; left: 50%; width: 60px; height: 36px; margin-left: -30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 36'%3E%3Cpath d='M4 34V9l12 10L30 3l14 16 12-10v25z' fill='%23ff7ca6' stroke='%23181c21' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M5 27h50' stroke='%23181c21' stroke-width='1.5'/%3E%3Ccircle cx='30' cy='5' r='3' fill='%2390f6e2' stroke='%23181c21' stroke-width='1.5'/%3E%3Ccircle cx='5' cy='10' r='2.5' fill='%2398e5ff' stroke='%23181c21' stroke-width='1.5'/%3E%3Ccircle cx='55' cy='10' r='2.5' fill='%2398e5ff' stroke='%23181c21' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
@media (max-width: 760px) { .badge-from.is-xmas::before { top: -22px; width: 48px; height: 29px; margin-left: -24px; } }
@media (max-width: 359px) { .badge-from.is-xmas { position: relative; } }

/* ---------- 5: be kind, rewind (the VHS wall's polaroid on /gallery) ---------- */
.gallery .polaroid.egg-vhs { position: relative; }
.egg-vhs-btn { position: absolute; z-index: 2; top: 2px; right: 2px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin: 0; background: #fff; border: 2px solid var(--ink-paint); border-radius: 50%; box-shadow: 2px 2px 0 var(--ink-paint); cursor: pointer; }
.egg-vhs-btn[hidden] { display: none; }
.egg-vhs-btn[aria-pressed='true'] { background: var(--coral); }
.egg-vhs-btn:focus-visible { outline: 3px solid var(--atl-focus); outline-offset: 2px; }
.egg-rewind { position: absolute; z-index: 1; left: 50%; top: 58%; width: max-content; max-width: 74%; padding: 5px 10px; background: var(--coral); color: var(--ink-paint); font-family: var(--caesar); font-size: clamp(0.8rem, 2.4vw, 1.2rem); line-height: 1.15; letter-spacing: 0.04em; text-align: center; border: 2.5px solid var(--ink-paint); border-radius: 4px; box-shadow: 3px 3px 0 var(--ink-paint); pointer-events: none; visibility: hidden; opacity: 0; transform: translate(-50%, -50%) rotate(-9deg); }
.egg-vhs.is-rewound .egg-rewind { visibility: visible; opacity: 1; }

/* ---------- 6: the 404 fish ---------- */
.egg-sea { position: relative; overflow: hidden; }
.lost-line { font-family: var(--hand); font-size: var(--t-caption-lg); }
.egg-fish { display: block; width: 48px; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 28'%3E%3Cpath d='M2 4l10 10L2 24z' fill='%23ff7ca6' stroke='%23181c21' stroke-width='2' stroke-linejoin='round'/%3E%3Cellipse cx='27' cy='14' rx='18' ry='10' fill='%2300a0ca' stroke='%23181c21' stroke-width='2'/%3E%3Cpath d='M22 6c3 5 3 11 0 16' fill='none' stroke='%23181c21' stroke-width='1.5'/%3E%3Ccircle cx='37' cy='11' r='2.2' fill='%23fff' stroke='%23181c21' stroke-width='1.2'/%3E%3Ccircle cx='37.6' cy='11' r='1' fill='%23181c21'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
.egg-fish-404 { position: absolute; top: 18px; left: 0; display: none; }

/* ---------- Overlays: the brick road and the wave ---------- */
.egg-overlay { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; pointer-events: none; }

/* 7: the yellow brick road. Yellow only here, a nod to the logo's "Follow the yellow brick road to". */
.egg-brick { position: absolute; width: 28px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14'%3E%3Crect x='1' y='1' width='26' height='12' rx='2' fill='%23ffd23f' stroke='%23181c21' stroke-width='2'/%3E%3Cpath d='M1 7h26M10 1v6M19 7v6' stroke='%23b8860b' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; }

/* 8: Poseidon's wave along the bottom of the screen, with three fish */
.egg-wave { top: auto; height: 130px; }
.egg-water { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 130' preserveAspectRatio='none'%3E%3Cpath d='M0 50C30 20 60 20 90 50s60 30 90 0 45-25 60 0V130H0z' fill='%23284ba8' stroke='%23181c21' stroke-width='2.5'/%3E%3Cpath d='M0 80C30 60 60 60 90 80s60 20 90 0 45-15 60 0V130H0z' fill='%2398e5ff' stroke='%23181c21' stroke-width='2'/%3E%3Cpath d='M20 46c8-6 16-6 22 0M140 48c8-6 16-6 22 0' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 240px 130px repeat-x; }
.egg-wave .egg-fish { position: absolute; left: -60px; }
.egg-fish-a { bottom: 64px; }
.egg-fish-b { bottom: 30px; width: 36px; height: 21px; }
.egg-fish-c { bottom: 92px; width: 30px; height: 18px; }
.egg-wave.is-still .egg-fish-a { left: 18%; }
.egg-wave.is-still .egg-fish-b { left: 52%; }
.egg-wave.is-still .egg-fish-c { left: 76%; }

@media (prefers-reduced-motion: no-preference) {
  .egg-swan.is-flap svg { animation: egg-flap 0.7s ease-in-out; }
  .egg-rewind { transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s; transform: translate(-50%, -50%) rotate(-40deg) scale(1.4); }
  .egg-vhs.is-rewound .egg-rewind { transform: translate(-50%, -50%) rotate(-9deg); transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 1.6, 0.4, 1), visibility 0s; }
  .egg-fish-404 { display: block; animation: egg-swim 7s linear 0.6s 1 both; }
  .egg-brick { animation: egg-pop 0.3s ease-out both; }
  .egg-water { animation: egg-wash 3.2s ease-in-out both; }
  .egg-wave .egg-fish-a { animation: egg-swim-by 2.6s linear 0.2s both; }
  .egg-wave .egg-fish-b { animation: egg-swim-by 2.2s linear 0.6s both; }
  .egg-wave .egg-fish-c { animation: egg-swim-by 2.8s linear 0.1s both; }
}
@keyframes egg-flap { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg) scale(1.08); } 45% { transform: rotate(9deg); } 70% { transform: rotate(-5deg); } }
@keyframes egg-swim { from { transform: translateX(-60px); } to { transform: translateX(calc(100vw + 60px)); } }
@keyframes egg-swim-by { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 120px)); } }
@keyframes egg-pop { from { opacity: 0; scale: 0.4; } to { opacity: 1; scale: 1; } }
@keyframes egg-wash { 0% { transform: translate(-50%, 100%); } 25% { transform: translate(-35%, 0); } 75% { transform: translate(-10%, 0); } 100% { transform: translate(0, 100%); } }

@media print { .egg-swan-wrap, .egg-moon-wrap, .egg-vhs-btn, .egg-rewind, .egg-fish, .egg-overlay { display: none !important; } }

/* ===== styles/sections/i18n.css ===== */
/* The language system (worker/views/components/lang.tsx): the picker in the header, the mobile menu and the footer,
   the suggestion bar on English pages, the "translated from English" note, and the right-to-left mirroring for
   /ar, /he and /ur. Each locale's fonts are in their own sheet (styles/lang/<code>.css), loaded on its pages only. */

/* ---------- The picker: a native <details>, no script ---------- */
.lang { position: relative; }
/* The header is its own layer (z-index 4); the hero's booking card shares that level later in the page, so the open
   panel lifts the header above it. */
.top:has(.lang[open]) { z-index: 9; }
.lang > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; list-style: none; cursor: pointer;
  border: 2.5px solid #181c21; border-radius: var(--cut-b); background: #fff; color: #181c21; font-family: var(--cooper); font-size: 1rem; line-height: 1.2;
  box-shadow: 3px 3px 0 #181c21; white-space: nowrap; }
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary svg { flex: 0 0 20px; }
.lang-current { max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
.lang-header { margin-inline-start: 10px; }
.lang-header .lang-panel { position: absolute; z-index: 7; top: calc(100% + 8px); inset-inline-end: 0; width: min(30rem, calc(100vw - 32px)); max-height: min(70vh, 34rem);
  overflow: auto; padding: 12px 16px; background: var(--atl-menu); border: 3px solid #181c21; border-radius: var(--cut); box-shadow: 5px 5px 0 #181c21; }
.lang-menu { display: none; }
.lang ul, .foot-langs ul { list-style: none; margin: 0; padding: 0; }
.lang-main { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 2px 12px; }
.lang-group ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 2px 12px; }
/* The nav's own link look (uppercase, Cooper, the underline) is for the page links, not these. */
.nav .lang a, .lang a { display: block; min-height: 44px; padding: 10px 4px; color: #132a68; font-family: inherit; font-weight: 400; font-size: 1rem; text-transform: none;
  letter-spacing: normal; text-decoration: none; border: 0; }
.nav .lang a:hover, .lang a:hover { color: #132a68; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: #ff7ca6; text-underline-offset: 4px; }
.nav .lang a[aria-current='page'], .lang a[aria-current='page'], .foot-langs a[aria-current='page'] { font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: #ff7ca6; text-underline-offset: 5px; }
.lang .lang-panel { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
.lang-more { margin-top: 8px; border-top: 1px solid #c6cfd7; padding-top: 4px; }
.lang-more > summary { min-height: 44px; padding: 10px 4px; cursor: pointer; color: #132a68; font-weight: 700; }
.lang-group-h { margin: 10px 0 2px; font-size: 1rem; font-weight: 700; color: #4a5562; text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 760px) {
  .lang-header { display: none; }
  .menu[open] .nav .lang-menu { display: block; margin: 10px 0 4px; }
  .lang-menu > summary { width: 100%; }
  .lang-menu .lang-panel { padding: 8px 2px 0; }
  .menu[open] .nav .lang a { display: block; border-bottom: 0; }
}
@media (min-width: 761px) and (max-width: 1099px) { .lang-header .lang-current { display: none; } .lang-header > summary { padding: 8px 10px; } }

/* ---------- Footer: every language ---------- */
.foot-langs { margin: var(--space-6) 0 var(--space-2); padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, 0.25); font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
.foot-langs .foot-h { display: flex; align-items: center; gap: 8px; font-family: var(--display); }
.foot-langs .lang-main, .foot-langs .lang-group ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot-langs a { display: inline-block; min-height: 44px; padding: 10px 0; }
.foot-langs .lang-more { border-top-color: rgba(255, 255, 255, 0.2); }
.foot-langs .lang-more > summary { color: var(--atl-foot-link); }
.foot-langs .lang-group-h { color: var(--on-deep); }

/* ---------- The suggestion bar (English pages only, hidden until lang.js shows it) ---------- */
.lang-suggest { background: #d2f3ff; color: #181c21; border-bottom: 3px solid #181c21; }
.lang-suggest[hidden] { display: none; }
.lang-suggest p { margin: 0; padding-top: 8px; padding-bottom: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; text-align: center;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 1rem; line-height: 1.35; }
.lang-suggest .linkbtn { color: #132a68; }

/* ---------- The note on translated pages, just above the footer ---------- */
.lang-note { background: var(--paper); border-top: 2px dashed #9aa7b3; }
.lang-note p { margin: 0; padding-top: 14px; padding-bottom: 14px; font-size: var(--t-small); color: #384350; text-align: center; }
.lang-note a { color: #132a68; }
.lang-booking { font-weight: 700; }

/* ---------- Right to left (/ar, /he, /ur): mirror what is placed left or right ---------- */
[dir='rtl'] .nav .btn { margin-left: 0; margin-right: 8px; }
[dir='rtl'] .egg-moon-wrap { left: auto; right: calc(var(--atl-gutter) + 150px + 4px); }
@media (min-width: 761px) { [dir='rtl'] .egg-moon-wrap { right: calc(var(--atl-gutter) + 190px + 6px); } }
@media (min-width: 1100px) { [dir='rtl'] .egg-moon-wrap { right: calc(var(--atl-gutter) + 250px + 6px); } }
@media (max-width: 340px) { [dir='rtl'] .egg-moon-wrap { right: calc(var(--atl-gutter) + 116px + 2px); } }
/* The "Beds from" stamp, the pause button and the photo arrows swap corners; the booking card floats on the left. */
[dir='rtl'] .badge-from { right: auto; left: 18px; }
@media (max-width: 600px) { [dir='rtl'] .badge-from { left: 12px; } }
[dir='rtl'] .pause-float { right: auto; left: 12px; }
[dir='rtl'] .pause-toggle { right: auto; left: 16px; }
[dir='rtl'] .viewer-prev { left: auto; right: var(--side); }
[dir='rtl'] .viewer-next { right: auto; left: var(--side); }
[dir='rtl'] .viewer-all, [dir='rtl'] .viewer-count { margin-left: 0; margin-right: 10px; }
@media (min-width: 1024px) {
  [dir='rtl'] .booking-bar { right: auto; left: var(--side); }
  [dir='rtl'] .badge-from { left: auto; right: var(--side); }
  [dir='rtl'] .mural-title { right: 0 !important; left: calc(var(--side) + 390px) !important; padding-right: var(--side); padding-left: 0; }
  [dir='rtl'] .viewer-next { right: auto; left: calc(var(--side) + 390px); }
  [dir='rtl'] .viewer-prev { left: auto; right: var(--side); }
}
/* The two-dorm ticket: the flex row already runs right to left; the seam moves with it. */
[dir='rtl'] .ticket-pair .half.sardinia { border-left: 0; border-right: var(--atl-outline-w-heavy) solid var(--atl-outline); }
@media (max-width: 640px) { [dir='rtl'] .ticket-pair .half.sardinia { border-right: 0; } }
[dir='rtl'] .quote { border-left: 0; padding-left: 0; border-right: 5px solid #8e00ca; padding-right: 16px; }
[dir='rtl'] .alert { border-left-width: 1px; border-right-width: 5px; }
[dir='rtl'] .included, [dir='rtl'] .ticks { padding-left: 0; padding-right: 1.2em; }
[dir='rtl'] ul.lines { padding-left: 0; padding-right: 1.25em; }
[dir='rtl'] .free-list { padding-right: 0; }
[dir='rtl'] th, [dir='rtl'] td { text-align: right; }
[dir='rtl'] .num { text-align: left; }
[dir='rtl'] select { padding-right: 10px; padding-left: 30px; background-position: left 10px center; }
[dir='rtl'] .steps li { margin-right: 0; margin-left: 18px; }
[dir='rtl'] .lb-bar .lb-close { margin-left: 0; margin-right: auto; }
@media (min-width: 700px) { [dir='rtl'] dl.facts dt { padding-right: 0; padding-left: 16px; } }
/* The parts still in English (lang="en": the nav, the booking form, the footer) read left to right, so their
   full stops and question marks stay at the end of the line. */
[dir='rtl'] [lang='en'] { direction: ltr; }
[dir='rtl'] [lang='en'] [dir='rtl'] { direction: rtl; }
/* The photo arrows need nothing more: ‹ and › are mirrored characters, so in a right-to-left page "next" (on the
   left) already points left. */
/* Off-screen things (the skip link until focused, the form honeypot) go off the start edge, the right here: off the
   left would widen the page and scroll it sideways. */
[dir='rtl'] .hp { left: auto; right: -9999px; }
/* Phone numbers, prices and the "0800 4 A DORM" freephone keep their own left-to-right order inside Arabic text. */
[dir='rtl'] a[href^='tel:'], [dir='rtl'] .bf-big { unicode-bidi: isolate; direction: ltr; }
[dir="rtl"] .skip { left: auto; right: 16px; }

/* ---------- Translated pages: longer words and other scripts (the i18n layout audit, 1 Dec 2026) ----------
   Everything here is scoped to a page whose <html lang> isn't English (or to one script), so English renders as
   before. Translations run longer (German and Finnish compounds, French and Spanish phrases), so: */
/* The header keeps the menu beside the logo. It wraps onto a second row inside its own space, right-aligned, instead
   of the whole menu dropping under the logo; the margin keeps it clear of the moon beside the logo. */
@media (min-width: 761px) {
  :root:not([lang='en']) .top .wrap { flex-wrap: nowrap; }
  :root:not([lang='en']) .top .brand { flex: 0 0 auto; }
  :root:not([lang='en']) .top .nav { flex: 1 1 auto; min-width: 0; justify-content: flex-end; row-gap: 4px; margin-inline-start: 56px; }
  :root:not([lang='en']) .lang-current { max-width: 12em; }
}
/* Long words in narrow boxes (labels, sign headings, table cells, buttons) are hyphenated where the browser knows
   the language, rather than split at any letter; only words of 8+ letters, at least 4 letters each side. */
:root:not([lang='en']) :is(h1, h2, h3, h4, label, dt, th, td, summary, .btn, .fb-title, .round-h, .colsign-h, .colsign-kicker,
  .rules-h, .rules-kicker, .half-h, .half-bunks, .mural-title, .ticket-h, .video-title, .room-kind, .pt-kind, .freebies li, .lines li) {
  -webkit-hyphens: auto; hyphens: auto; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; hyphenate-limit-chars: 8 4 4; }
:root:not([lang='en']) :is(th, td, summary, .btn, .fb-title, .round-h) { overflow-wrap: anywhere; }
/* The "Beds from" stamp: its words are centred in the circle whatever their length, so a longer kicker that wraps
   to two lines pushes nothing out of the bottom. */
:root:not([lang='en']) .badge-from { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 6px; }
:root:not([lang='en']) .badge-from .bf-small { line-height: 1.05; text-wrap: balance; }
@media (max-width: 600px) { :root:not([lang='en']) .badge-from { padding: 0; } :root:not([lang='en']) .badge-from .bf-big { font-size: 1.75rem; line-height: 1.05; }
  :root:not([lang='en']) .badge-from .bf-small { letter-spacing: 0; overflow-wrap: normal; } }
/* The "translated from English" note and the "booking goes on in English" line are read: body size on phones (the a11y gate's 16px rule). */
@media (max-width: 760px) { .lang-note p, .lang-booking { font-size: 1rem; } }
/* Korean breaks between words (spaces), never inside one. Long single words still break as a last resort. */
:lang(ko) { word-break: keep-all; }
/* Arabic and Urdu: "from $50" keeps the dollar sign before the number, like the other tickets ($22 / night). The
   "from" word is its own run, so the price after it reads left to right. */
[dir='rtl'] .ticket-price .small { unicode-bidi: isolate; }
/* isiZulu "ngobusuku" (per night) in capitals touched the stamp's edge on phones (layout audit, 1 Dec 2026):
   lower case is narrower and still reads as a stamp. */
@media (max-width: 600px) { :root[lang='zu'] .badge-from .bf-small { text-transform: none; } }

/* ===== styles/photos.css ===== */
/* The staff Photos tool (/admin/photos, inside .phototool; .photos is the Picton guide's): browse, compare, Sheira's page, places.
   Staff only. Cards and panels stay light in dark mode like the rest of the admin, so colours inside a .panel are
   fixed; anything on the page itself uses the role tokens (--ink, --link, --line). */

.photo-nav { display: flex; flex-wrap: wrap; margin: 0 0 20px; border-bottom: 2px solid var(--line); }
.photo-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; font-weight: 700; text-decoration: none; }
.photo-nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -4px 0 var(--atl-btn); }
.phototool .count { font-weight: 400; margin-left: 0.3em; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 2px solid var(--line); border-radius: 6px; font-weight: 700; text-decoration: none; }
.tabs a[aria-current] { color: var(--ink); border-color: var(--ink); box-shadow: inset 0 -4px 0 var(--atl-btn); }

/* The photo sets as toggle buttons: a checkbox inside each, so the state is never colour alone. */
.set-toggles { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.set-toggles legend { padding: 0; margin: 0 0 6px; font-weight: 700; color: #132a68; }
.panel .set-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border: 2px solid #6b6259; border-radius: 6px; background: #fff; color: #181c21; font-weight: 700; cursor: pointer; }
.set-toggle input { width: 22px; height: 22px; margin: 0; flex: none; }
.panel .set-toggle:has(input:checked) { border-color: #132a68; background: #d2f3ff; box-shadow: inset 0 -4px 0 var(--atl-btn); }
.photo-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 0 16px; align-items: end; padding: 14px 16px 6px; }
.photo-filters .field { margin-bottom: 10px; }
.photo-filters-go { display: flex; align-items: center; gap: 16px; min-height: 46px; margin-bottom: 10px; }
.photo-filters-go a { display: inline-flex; align-items: center; min-height: 44px; }

.photo-grid { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.photo-card { margin: 0; padding: 12px; min-width: 0; }
.photo-card > img, .photo-detail-main > img { width: 100%; }
.photo-card p { margin: 0 0 6px; }
h2.photo-name { font-family: inherit; font-size: 1.05rem; font-weight: 800; letter-spacing: normal; text-transform: none; width: auto; margin: 10px 0 4px; padding: 0; overflow-wrap: anywhere; }
h2.photo-name::after { display: none; }
h2.photo-name a { display: inline-block; padding: 4px 0; }
.photo-edits { margin: 0 0 6px; }
/* The place is the main label of a photo: it sits first and large. Tags are small chips at the bottom. */
.photo-card .photo-place, .photo-detail-main .photo-place { margin: 10px 0 0; font-size: 1.15rem; font-weight: 800; color: #132a68; }
.photo-card .photo-place + h2.photo-name { margin-top: 2px; }
.chip-tag { border-style: dashed; background: #fff; }

/* Before and after. Without JavaScript the radios swap the two photos; with it (.ba-js, set by /s/js/photos.js)
   the range slider wipes between them: --ba-after is how much of the after photo shows, from the right. */
.ba { border: 0; padding: 0; margin: 0; min-width: 0; }
.ba-radio { width: 24px; height: 24px; margin: 0 6px 0 0; vertical-align: middle; }
.ba .ba-label { display: inline-flex; align-items: center; min-height: 44px; margin: 0 18px 0 0; vertical-align: middle; cursor: pointer; }
.ba-frame { position: relative; overflow: hidden; background: #181c21; }
.ba-frame img { width: 100%; }
.ba-before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; visibility: hidden; }
.ba-before img { width: 100%; height: 100%; object-fit: cover; }
.ba-radio-before:checked ~ .ba-frame .ba-before { visibility: visible; }
.ba-js .ba-before { visibility: visible; -webkit-clip-path: inset(0 var(--ba-after, 100%) 0 0); clip-path: inset(0 var(--ba-after, 100%) 0 0); }
.ba-js .ba-frame::after { content: ''; position: absolute; top: 0; bottom: 0; left: calc(100% - var(--ba-after, 100%)); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px #181c21; }
.ba .ba-slide { display: block; margin: 6px 0 0; font-weight: 400; }
.ba .ba-slide[hidden] { display: none; }
.ba-slide input { display: block; width: 100%; min-height: 44px; margin: 0; }

.chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { margin: 0; }
.chip { padding: 2px 9px; border: 1px solid #6b6259; border-radius: 999px; background: #faf5ec; color: #181c21; }
.chip-sug { background: #d2f3ff; }
.chip-ok { background: #e3f3e8; border-color: #1e6b3a; }
.chip-warn { background: #fff1d1; border-color: #7a4b00; }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin: 24px 0; }

/* One photo */
.photo-detail { display: grid; gap: 0 20px; }
.photo-detail > * { min-width: 0; }
@media (min-width: 1000px) { .photo-detail { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }
.photo-facts { margin: 0 0 12px; }
.photo-facts dt { font-weight: 800; color: #132a68; }
.photo-facts dd { margin: 0 0 10px; overflow-wrap: anywhere; }
.photo-history { margin: 0 0 12px; padding-left: 1.4em; }
.photo-history li { margin-bottom: 6px; overflow-wrap: anywhere; }
.thumbs { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.thumbs.panel { padding: 16px; }
.thumbs li { width: 120px; margin: 0; overflow-wrap: anywhere; }
.thumbs img { width: 120px; height: 90px; object-fit: cover; }
.thumbs a { display: block; }

/* Compare: one section per place. Its website photos on the left (on top when narrow), every new photo of the
   place beside them. */
.cmp-olds { display: grid; gap: 20px; align-content: start; }
.cmp h2 .count { font-size: 1rem; font-family: inherit; }
.choice-for { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; }
.choice-for label { font-weight: 700; }
.choice-for select { width: auto; max-width: 100%; min-height: 44px; }
.cmp-cols { display: grid; gap: 16px; }
.cmp-cols > * { min-width: 0; }
@media (min-width: 900px) { .cmp-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; } }
.cmp figure { margin: 0; }
.cmp img { width: 100%; }
.cmp figcaption { padding: 6px 0 0; color: #181c21; }
.cmp-why { display: block; color: #5d534a; }
.cmp-new { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.cmp-new li { margin: 0; min-width: 0; }
.choice { margin: 8px 8px 0 0; display: inline-block; }

/* Sheira's page: big type, big buttons, one thing at a time */
.sheira { font-size: 1.3rem; }
.sheira h1 { font-size: 2.4rem; }
.sheira-step { font-weight: 800; }
.btn.big { font-size: 1.4rem; padding: 16px 28px; min-height: 64px; }
.sheira-old { margin: 0 0 32px; }
.sheira-old img { width: 100%; max-width: 720px; }
.sheira-new { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.sheira-new li { margin: 0; min-width: 0; }
.sheira-new img { width: 100%; }
.sheira-new p { margin: 8px 0; }
.sheira-picked { display: inline-block; margin: 10px 0 0; padding: 8px 14px; border: 3px solid currentColor; font-weight: 800; }
.sheira-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 2px solid var(--line); }

/* Places */
.place-list { list-style: none; margin: 0 0 24px; padding: 4px 16px; }
.place-list li { margin: 0; padding: 12px 0; }
.place-list li + li { border-top: 1px solid #d9c3a5; }
.place-name { margin: 0 0 8px; }
.place-id { color: #5d534a; }
.place-form { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 12px 6px 0; vertical-align: middle; max-width: 100%; }
.place-form input[type='text'] { width: 16ch; max-width: 100%; flex: 1 1 12ch; }
.new-place { margin: 0 0 12px; }
.new-place h3, h3.new-group { margin-bottom: 8px; }

/* "Keep in the running": a tick on every photo (Compare and Browse). Unticked, a photo is set aside: on Compare it
   moves, small, to the section's "Set aside" strip; on Browse its card shrinks where it is. Ticking brings it back. */
.keep { margin: 8px 0 0; }
.keep [data-keep-save] { margin: 2px 0 6px; }
.keep [data-keep-save][hidden] { display: none; }
.keep-counts { margin: -4px 0 4px; color: #5d534a; }
.keep-msg { margin: 0 0 8px; font-weight: 700; color: #1e6b3a; min-height: 1.5em; } /* the space is kept, so a message never moves the photos */
.keep-msg:empty { margin: 0 0 8px; }
.cmp-olds { list-style: none; margin: 0; padding: 0; }
.cmp-olds > li { margin: 0; min-width: 0; }
.cmp-aside { margin: 18px 0 0; padding: 12px 0 0; border-top: 2px dashed #6b6259; }
.cmp-aside[hidden] { display: none; }
.panel h3.cmp-aside-h { font-family: inherit; font-size: 1.05rem; text-transform: none; letter-spacing: normal; margin: 0 0 8px; }
.cmp-aside-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.cmp-aside-list > li { width: 132px; margin: 0; }
.cmp .is-aside img { width: 120px; height: 90px; object-fit: cover; }
.cmp .is-aside figcaption { font-size: 0.875rem; overflow-wrap: anywhere; }
/* Unticked on this page load: it shrinks where it is (photos.js) and can't be chosen until it's ticked again. */
.cmp .is-aside form[class^="choice"] { display: none; }
.cmp .is-aside .cmp-why, .cmp .is-aside .badge, .is-aside .choice, .is-aside .choice-for { display: none; }
.is-aside .keep-check { align-items: flex-start; font-size: 0.875rem; }
.photo-card.is-aside { justify-self: start; width: 150px; padding: 8px; }
.photo-card.is-aside .ba-label, .photo-card.is-aside .ba-radio, .photo-card.is-aside .ba-slide, .photo-card.is-aside .chips, .photo-card.is-aside .photo-place, .photo-card.is-aside .photo-edits, .photo-card.is-aside > p { display: none; }
.photo-card.is-aside img { width: 134px; height: 100px; object-fit: cover; }
.photo-card.is-aside h2.photo-name { font-size: 0.875rem; }

/* ===== styles/admin.css ===== */
/* Staff screens: status badges, the availability calendar, the admin menu and stats. */

.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; border: 1px solid; white-space: nowrap; }
.badge::before { content: '● '; }
.b-pending, .b-unpaid, .b-partial { background: #fff1d1; color: #7a4b00; }
.b-confirmed, .b-paid { background: #e3f3e8; color: #1e6b3a; }
.b-checked_in { background: #d2f3ff; color: #102998; }
.b-checked_out { background: #eee; color: #444; }
.b-cancelled, .b-declined, .b-no_show, .b-refunded { background: #fde6e3; color: #a1261b; }
.b-changed { background: #fff1d1; color: #7a4b00; }

/* Prices & details (/admin/content) */
.content-group > legend { font-family: var(--serif); font-size: 1.2rem; color: #132a68; padding: 0 6px; }
.content-field { padding: 12px 0; }
.content-field + .content-field { border-top: 1px solid var(--line); }
.content-field .form { margin: 0; }
.content-field .field { margin-bottom: 8px; }
.content-history > summary { cursor: pointer; padding: 10px 0; min-height: 44px; }
.content-history ol { margin: 0 0 8px; padding-left: 1.4em; }
.content-history li { margin-bottom: 6px; }

/* Photos on the Site (/admin/site-photos) */
.sp-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.sp-head h4 { margin: 0 0 4px; }
.sp-thumb { display: block; width: 160px; height: auto; max-height: 200px; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.sp-none { display: flex; align-items: center; justify-content: center; height: 90px; color: #444; font-size: 0.9rem; }
.sp-preview { display: block; width: 160px; height: auto; margin-top: 8px; border: 1px solid var(--line); }
.sp-people { border: 1px solid var(--line); padding: 8px 12px; margin: 0 0 12px; }
.sp-people .check { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.sp-people input[type='checkbox'] { width: 24px; height: 24px; }
.sp-status:empty { display: none; }
.sp-extras { padding: 12px 0; border-top: 1px solid var(--line); }
.sp-extra-list { list-style: none; padding: 0; margin: 0 0 12px; }
.sp-extra-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 8px 0; }
.sp-nojs[hidden], .sp-js[hidden] { display: none; }
.sp .hint { font-size: 1rem; }
.sp input[type='file'] { display: block; min-height: 44px; padding: 8px 0; font-size: 1rem; }

/* Calendar grid (admin) */
.cal td, .cal th { text-align: center; padding: 6px; min-width: 44px; }
.cal th:first-child, .cal td:first-child { text-align: left; white-space: nowrap; }
.cal .full { background: #fde6e3; color: #a1261b; font-weight: 800; }
.cal .some { background: #fff1d1; }
/* td.free is a free night, not the FREE! tag: undo the tag's look */
.cal .free { display: table-cell; padding: 6px; background: #e3f3e8; color: #181c21; border: 0; border-radius: 0; -webkit-transform: none; transform: none; font: inherit; letter-spacing: normal; }

/* Admin layout */
.admin-nav { background: #132a68; }
.admin-nav a { color: #fff; display: inline-block; padding: 10px 12px; min-height: 44px; text-decoration: none; font-weight: 600; }
.admin-nav a[aria-current='page'] { background: #284ba8; box-shadow: inset 0 -4px 0 #ff7ca6; }
.stats { display: flex; flex-wrap: wrap; margin: 0 -8px 16px; }
.stats > div { flex: 1 1 150px; margin: 0 8px 16px; background: #fff; padding: 12px 16px; color: #181c21; }
.stats strong { display: block; font-size: 1.8rem; font-family: var(--serif); color: #132a68; }
.inline { display: inline; }
.actions-row form, .actions-row a { display: inline-block; margin: 0 8px 8px 0; }
.onnavy { color: #fff; }

/* Admin · Sections (/admin/sections): the read-only map of sections, photo slots and words */
/* ids are what people copy from here: body size, not the usual smaller code */
.smap code { font-size: 1em; }
.smap-pages { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 24px; }
.smap-pages a { display: inline-block; min-height: 44px; padding: 10px 0; }
.smap-page { margin: 0 0 32px; }
.smap-section { margin: 0 0 16px; }
.smap-section h3 { font-size: 1.1rem; overflow-wrap: anywhere; }
.smap-section h4 { font-size: 1rem; margin: 16px 0 8px; }
.smap-section code, .smap-words dt { overflow-wrap: anywhere; }
.smap-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .smap-slots { grid-template-columns: 1fr 1fr; } }
.smap-slot { display: flex; gap: 12px; align-items: flex-start; border-top: 1px solid #c6cfd7; padding-top: 12px; min-width: 0; }
.smap-slot img { flex: 0 0 96px; width: 96px; height: auto; border: 1px solid #181c21; }
.smap-slot dl, .smap-words { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 10px; margin: 0; min-width: 0; }
.smap-slot dt { font-weight: 700; }
.smap-slot dd, .smap-words dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.smap-words { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.smap-words dt { margin-top: 8px; font-weight: 700; }
@media (max-width: 480px) { .smap-slot { flex-direction: column; } .smap-slot dl { grid-template-columns: minmax(0, 1fr); } .smap-slot dd { margin-bottom: 6px; } }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .stats > div {
    --h-a: #8e00ca; --h-b: #284ba8;
    --navy: #132a68; --sea: #102998; --link: #102998; --sky-soft: #d2f3ff; --ink: #181c21; --muted: #53595f; --line: #c6cfd7; --paper: #edf9ff;
    --ok: #1e6b3a; --ok-soft: #e3f3e8; --warn: #7a4b00; --warn-soft: #fff1d1; --danger: #a1261b; --danger-soft: #fde6e3;
    color: #181c21;
    color-scheme: light;
  }
}

@media print {
  .admin-nav { display: none !important; }
}
