/* ============================================================
   CEYLON HOP — Design System
   "Postcard from Ceylon": editorial, playful, conversion-led
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

:root{
  /* This site is light-only — there is not one prefers-color-scheme rule in it — and until now it
     never SAID so, which left every browser free to invent a dark rendering of it. A friend's
     screenshots (2026-08-27) came back with the blog's --paper card (#fffdf8) rendered near-black
     under cream Bodoni, and the planner's schematic map island stripped of its #cfe7da fill down
     to a bare outline: a design nobody drew, reviewed as if we had.

     `only` is the half that does the work. Plain `color-scheme: light` merely declares which
     schemes we support — Chrome's Auto Dark Theme force-darkens light-only pages precisely
     BECAUSE they are light-only. `only` forbids the UA from overriding the scheme at all, and is
     the documented opt-out from that behaviour. It also pins UA-rendered chrome — scrollbars,
     autofill, the native controls behind our custom pickers — to their light rendering, the same
     class of undeclared-default problem as the iOS blue buttons (PR #507).

     Extensions (Dark Reader) ignore this; they are not a user agent making the choice for the
     user, they ARE the user's choice. Nothing here should try to defeat one. */
  color-scheme: only light;

  /* Brand palette — docs/brand-book.md p4. Hexes are the book's, verbatim. */
  --blue:#63BFD6;        /* Bachelor Button — THE PRIMARY. Owns brand surfaces, the
                            hero and section washes, chrome and identity accents. */
  --blue-deep:#24758A;   /* text/icon-safe Bachelor Button, 5.27:1 — see below */
  --teal:#0AB9B6;        /* Tiffany — supporting accent */
  --teal-deep:#08938f;
  --saffron:#F9A429;     /* Saffron — warmth */
  --tomato:#EC3A24;      /* Cherry Tomato — conversion */
  --ink:#3A3739;         /* Bristol Black */
  --ink-soft:#6c6a6b;
  --cream:#F0EEE5;       /* Marshmallow */
  --cream-deep:#E4E0D2;
  --paper:#fffdf8;       /* card white, warm */
  --white:#ffffff;
  --line:#e7e3d6;

  /* Accent driver (Tweakable).
     The book names Bachelor Button primary, so it drives brand surface. It cannot
     drive TEXT or icon colour: at 2.11:1 on white it fails AA outright, which is why
     --accent-deep is a darkened blue rather than var(--blue). Teal stays as the
     supporting accent — it has not been demoted, it has been put in second place. */
  --accent:var(--blue);
  --accent-deep:var(--blue-deep);
  --accent-2:var(--teal);
  --accent-2-deep:var(--teal-deep);
  --cta:var(--tomato);

  /* Bare channels, for the rgba() focus glows and tint fills that sit next to an
     --accent border. Before this existed they were written out as literal teal
     channels, so flipping the accent to blue left ~25 teal halos glowing around blue
     borders. Always pair rgba(var(--accent-rgb),…) with var(--accent). */
  --accent-rgb:99,191,214;
  --accent-2-rgb:10,185,182;
  --cta-rgb:236,58,36;

  /* Button fills — DELIBERATELY darker than the accent/cta they come from.
     A solid button carries white body text, so it needs 4.5:1; the brand blue is
     only 2.11:1, the teal 2.43:1 and the tomato 4.04:1 against white. These are the
     smallest darkenings that clear 4.5:1, so the hues still read as the brand.
     Do NOT swap these back to var(--accent)/var(--cta) — the accent tokens are
     correct for hairlines, focus rings and icons, which carry no text on them.
     Guarded by web-tests/unit/button-contrast.test.js. */
  --btn-accent:#24758A;        /* blue   5.27:1 on white, 4.53:1 on cream */
  --btn-accent-hover:#1E6273;  /*        6.89:1 on white */
  --btn-cta:#D52812;           /* tomato 5.07:1 */
  --btn-cta-hover:#C82511;     /*        5.63:1 */

  /* Postcard palette — the hero wash, softened into site-wide background tones.
     These are the basis for section + page backgrounds, not just placeholders.
     --pc-sky leads now: it is the primary's wash, and the book asks for the primary
     to be what you see most of. */
  --pc-sky:#e4f2f7;      /* soft bachelor-button — the default wash */
  --pc-teal:#e3f4ef;     /* soft tiffany */
  --pc-green:#edf4e6;    /* soft tea-country green */
  --pc-saffron:#fbf0d8;  /* soft saffron */
  --pc-line:#dde8ed;     /* hairline that reads on washes */

  /* Type — ONE family, everywhere (owner, 2026-10-29). Bodoni was unreadable on Android
     (Bodoni Moda's hairlines break up at heading sizes) and Poppins was rejected too; the
     owner chose Source Serif 4 from a side-by-side of eight faces. Headings, body, labels,
     handwritten notes and booking codes all wear it — the four tokens survive only so the
     ~80 files that reference them keep working. Do not point any of them at another face;
     web-tests/unit/one-font-family.test.js fails if Bodoni, Poppins or Caveat come back.
     Optical sizing is left on auto, so text sizes get the sturdier text cut and headings
     the display cut without anyone pinning "opsz". */
  --font:'Source Serif 4', Georgia, 'Times New Roman', serif;
  --display:var(--font);
  --body:var(--font);
  --hand:var(--font);
  --mono:var(--font);

  /* Shape */
  --r-sm:10px;
  --r:16px;
  --r-lg:24px;
  --r-xl:34px;
  --shadow-s:0 2px 8px rgba(44,42,43,.06);
  --shadow:0 14px 40px -18px rgba(44,42,43,.30);
  --shadow-lg:0 30px 70px -28px rgba(44,42,43,.42);
  --maxw:1200px;
  /* Semantic state colours. Page-level blocks currently re-declare these as one-off hexes;
     new work should use these instead. */
  --ok:#0c6b39; --ok-bg:#e7f6ec; --ok-line:#c9e8d2;
  --warn:#8a5a12; --warn-bg:#fff6e8; --warn-line:#f3dca8;
  --err:#b13b22; --err-bg:#fdeee9; --err-line:#f4c9bb;
  /* Motion. Name the duration rather than repeating bare `transition:.15s` shorthands, which
     also animate any property that happens to change. */
  --t-fast:.15s; --t:.2s;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--body);
  color:var(--ink);
  background:var(--cream);
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
/* Postcard wash on a fixed layer instead of background-attachment:fixed,
   which causes repaint jank/stutter on iOS Safari. */
body::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(125% 70% at 88% -2%, var(--pc-sky), transparent 55%),
    radial-gradient(95% 55% at -4% 102%, var(--pc-saffron), transparent 52%),
    var(--cream);
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
/* `color:inherit` matters as much as the font here. A button whose colour is left
   unspecified falls through to the UA stylesheet's `buttontext` — near-black on
   Chrome/Firefox, but the SYSTEM BLUE on iOS Safari. That is why the burger bars
   (background:currentColor), the booking route strip and the sticky Total all read
   off-brand blue on a phone while reviewing fine on a desktop. Anything that wants a
   different colour still says so by class; this only stops the platform deciding. */
button{font-family:inherit;color:inherit;cursor:pointer}
::selection{background:var(--saffron);color:var(--ink)}

/* ---------- Typography ---------- */
h1,h2,h3,h4{
  font-family:var(--display);font-weight:700;line-height:1.14;margin:0;letter-spacing:0;
  font-optical-sizing:auto;
}
h2{margin-bottom:.5rem}
.display{font-size:clamp(2.5rem,5.6vw,4.8rem);font-weight:700;line-height:1.06;letter-spacing:-.004em;margin-bottom:0}
h1{font-size:clamp(2.2rem,5vw,3.8rem)}
h2{font-size:clamp(1.9rem,3.6vw,3rem)}
h3{font-size:clamp(1.35rem,2.2vw,1.7rem);font-weight:700}
p{margin:0 0 1rem}
.eyebrow{
  font-family:var(--body);font-weight:600;font-size:.74rem;letter-spacing:.22em;
  text-transform:uppercase;color:var(--accent-deep);margin:0 0 .9rem;display:inline-flex;
  align-items:center;gap:.5rem;
}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--accent);border-radius:2px}
.lead{font-size:1.14rem;color:var(--ink-soft);max-width:54ch;line-height:1.6}
.hand{font-family:var(--hand);font-weight:600}
.serif-ital{font-family:var(--display);font-style:italic;font-weight:400}

/* ---------- Layout ---------- */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.section{padding:clamp(56px,8vw,110px) 0}
.section-tight{padding:clamp(40px,5vw,64px) 0}
.center{text-align:center}
.muted{color:var(--ink-soft)}
.grid{display:grid;gap:24px}
.cols-2{grid-template-columns:repeat(2,1fr)}
.cols-3{grid-template-columns:repeat(3,1fr)}
.cols-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.cols-3,.cols-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.cols-2,.cols-3,.cols-4{grid-template-columns:1fr}}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  font-weight:600;font-size:.97rem;border:none;border-radius:999px;
  padding:.9rem 1.6rem;transition:transform .15s ease, box-shadow .2s ease, background .2s;
  white-space:nowrap;line-height:1;
}
.btn svg{width:18px;height:18px}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--btn-accent);color:#fff;box-shadow:0 10px 24px -10px var(--accent)}
.btn-primary:hover:not(:disabled){background:var(--btn-accent-hover);transform:translateY(-2px)}
.btn-cta{background:var(--btn-cta);color:#fff;box-shadow:0 12px 26px -10px var(--cta)}
.btn-cta:hover:not(:disabled){background:var(--btn-cta-hover);transform:translateY(-2px)}
.btn-ghost{background:var(--paper);color:var(--ink);box-shadow:var(--shadow-s);border:1px solid var(--line)}
.btn-ghost:hover:not(:disabled){transform:translateY(-2px);box-shadow:var(--shadow)}
.btn-light{background:#fff;color:var(--ink);box-shadow:var(--shadow)}
.btn-light:hover:not(:disabled){transform:translateY(-2px)}
.btn-wa{background:#0B7A44;color:#fff} /* was #25D366 — white on it was 1.98:1 */
/* hover lifts the green a little without undoing the fix above: #1ebe5a was
   2.45:1, so hovering used to drop it straight back below the bar. */
.btn-wa:hover:not(:disabled){background:#15853F;transform:translateY(-2px)} /* 4.71:1 */
.btn-lg{padding:1.05rem 2rem;font-size:1.02rem}
.btn-sm{padding:.62rem 1.1rem;font-size:.85rem}
.btn-block{width:100%}
/* One disabled look for every .btn. Until this existed each page invented its
   own — five workarounds at five opacities (.45/.45/.5/.55/.6) — and any button
   outside that list rendered fully live while inert. Attribute-driven only:
   flows that keep an inert button CLICKABLE so a tap can explain itself
   (plan's .cta-disabled, pay's .is-off) opt out by not setting disabled. */
.btn:disabled{opacity:.55;cursor:not-allowed;transform:none;filter:none;box-shadow:none}

/* ---------- Pills / chips / badges ---------- */
.pill{
  display:inline-flex;align-items:center;gap:.45rem;font-size:.8rem;font-weight:600;
  padding:.4rem .8rem;border-radius:999px;background:var(--cream-deep);color:var(--ink);white-space:nowrap;
}
.pill-teal{background:rgba(var(--accent-2-rgb),.14);color:var(--teal-deep)}
.pill-blue{background:rgba(var(--accent-rgb),.18);color:var(--accent-deep)}
.pill-saffron{background:rgba(249,164,41,.18);color:#a96b04}
.pill-tomato{background:rgba(236,58,36,.12);color:#bb2c1a}
.pill-dot::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.9}

.sticker{
  font-family:var(--body);font-weight:700;font-size:.78rem;letter-spacing:.02em;
  padding:.45rem .85rem;border-radius:999px;color:var(--ink);background:var(--saffron);
  display:inline-flex;align-items:center;gap:.4rem;transform:rotate(-3deg);
  box-shadow:var(--shadow-s);white-space:nowrap;
}

/* ---------- Cards ---------- */
.card{background:var(--paper);border-radius:var(--r-lg);box-shadow:var(--shadow);overflow:hidden}
.card-flat{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg)}
.card-pad{padding:26px}

/* ---------- Header ---------- */
/* the sticky element is the injected wrapper (a direct child of <body>),
   so the nav actually sticks — .nav itself inside it stays in normal flow */
[data-header]{position:sticky;top:0;z-index:70}
.nav{
  position:relative;
  -webkit-backdrop-filter:blur(16px) saturate(1.7);
  backdrop-filter:blur(16px) saturate(1.7);
  background:linear-gradient(180deg, rgba(255,253,248,.72), rgba(255,253,248,.55));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65), 0 1px 0 rgba(44,42,43,.06);
  transition:background .35s, box-shadow .35s, color .35s;
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;height:74px}
.nav.scrolled{
  background:linear-gradient(180deg, rgba(255,253,248,.86), rgba(255,253,248,.72));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65), 0 1px 0 rgba(44,42,43,.08), 0 14px 34px -22px rgba(44,42,43,.35);
}
.brand{display:flex;align-items:center;gap:.6rem;font-family:var(--display);font-weight:700;font-size:1.5rem;letter-spacing:.005em;white-space:nowrap}
.brand .cmark{width:34px;height:34px;flex:none}

/* ---------- Brand marks (docs/brand-book.md pp.2-3, 5-6) ----------

   THE LOCKUP — the book's logo is the STACKED wordmark, "Ceylon" over "Hop", not the
   one-line treatment the nav uses for horizontal reasons. Clear space is 0.5x the
   lockup's own height on every side, and nothing may enter that buffer.
   Use .brand-lockup wherever there is room to give the logo its proper form. */
.brand-lockup{
  display:inline-flex;align-items:center;gap:.7em;
  /* the 0.5x clear-space buffer, expressed against the lockup's own height */
  padding:.5em;
  font-family:var(--display);font-weight:700;line-height:.94;letter-spacing:.005em;
}
.brand-lockup .cmark{width:1.9em;height:1.9em;flex:none}
.brand-lockup .bl-words{display:flex;flex-direction:column}
.brand-lockup .bl-words span:last-child{align-self:flex-end;padding-right:.06em}

/* THE MARK OVER IMAGERY — p5's do's, as a utility rather than a convention nobody
   remembers: centred on the image, 92% opacity, minimum 48px, no outline. p6's don'ts
   are the reason for the min-size and the opacity: an under-sized or fully-opaque C
   stops reading as a watermark and starts competing with the photograph.

   Painted with a CSS mask rather than <img src>: the mark must recolour per photo, and
   an external SVG in an <img> cannot inherit currentColor. background-color is the ink. */
.brand-mark-photo{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;
  width:clamp(48px,14%,132px);aspect-ratio:1;   /* 48px floor is the book's minimum */
  opacity:.92;                                  /* the book's number, exactly */
  background-color:var(--cream);                /* contrast against the photo */
  -webkit-mask:url("img/brand-c.svg") no-repeat center/contain;
  mask:url("img/brand-c.svg") no-repeat center/contain;
  filter:none;                                  /* p6: no outlines, no effects */
  pointer-events:none;user-select:none;
}
/* On a light or busy photo the cream mark loses contrast; this is the sanctioned
   alternative colourway, not a shadow or stroke (both are p6 don'ts). */
.brand-mark-photo.on-light{background-color:var(--ink)}
.nav-links{display:flex;align-items:center;gap:26px;font-weight:500;font-size:.95rem}
.nav-links a{position:relative;padding:.3rem 0;color:inherit;opacity:.92;white-space:nowrap}
.nav-links a:hover{opacity:1}
.nav-links a.active::after,.nav-links a:hover::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--accent);border-radius:2px}
.nav-cta{display:flex;align-items:center;gap:14px}
.nav-burger{display:none;background:none;border:none;padding:6px}
.nav-burger span{display:block;width:24px;height:2px;background:currentColor;border-radius:2px;margin:5px 0;transition:.25s}
/* nav on dark hero — smoked glass until you scroll */
.nav.on-dark{color:#fff}
.nav.on-dark .brand{color:#fff}
.nav.on-dark:not(.scrolled){
  background:linear-gradient(180deg, rgba(9,38,36,.46), rgba(9,38,36,.26));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14), 0 1px 0 rgba(255,255,255,.10);
}
/* Home hero only: the nav sits over the immersive photo. White text on a soft dark scrim
   that fades to transparent — the text stays crisp over the busy photo (a light wash lost
   contrast) while the scrim still melts into the image with no banded edge. Frost + bottom
   hairline dropped here (they'd re-add a hard edge); all of this reverts to the solid
   frosted light nav on scroll via .nav.scrolled. Scoped to data-page="home". */
body[data-page="home"] .nav:not(.scrolled){
  color:#fff;
  background:linear-gradient(180deg, rgba(6,26,24,.64) 0%, rgba(6,26,24,.36) 52%, rgba(6,26,24,0) 100%);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  box-shadow:none;
}
body[data-page="home"] .nav:not(.scrolled) .brand{color:#fff}
.nav.on-dark.scrolled{color:var(--ink)}
.nav.on-dark.scrolled .brand{color:var(--ink)}

/* The menu used to be display:none → flex, which cannot transition: on a phone — the only place
   it exists — a full-screen surface replaced the page in a single frame with no sense of where
   it came from. It is position:fixed and therefore out of flow, so it can stay laid out and be
   hidden by visibility/opacity instead, which CAN travel. pointer-events guards the closed state
   so an invisible panel never eats a tap, and the delayed `visibility` keeps it in the
   accessibility tree only while it is genuinely on screen. */
.mobile-menu{display:flex;position:fixed;inset:74px 0 0;background:var(--cream);z-index:55;padding:30px 24px;flex-direction:column;gap:6px;
  opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-10px);
  transition:opacity .2s ease,transform .28s cubic-bezier(.22,.75,.3,1),visibility 0s linear .28s}
.mobile-menu.open{opacity:1;visibility:visible;pointer-events:auto;transform:none;
  transition:opacity .2s ease,transform .28s cubic-bezier(.22,.75,.3,1),visibility 0s}
/* Links stagger in behind the panel so the menu reads as unfolding rather than cutting. */
.mobile-menu a{font-family:var(--display);font-size:1.7rem;font-weight:700;padding:.5rem 0;border-bottom:1px solid var(--line);
  opacity:0;transform:translateY(-6px);transition:opacity .22s ease,transform .28s cubic-bezier(.22,.75,.3,1)}
.mobile-menu.open a{opacity:1;transform:none}
.mobile-menu.open a:nth-child(1){transition-delay:.04s}
.mobile-menu.open a:nth-child(2){transition-delay:.07s}
.mobile-menu.open a:nth-child(3){transition-delay:.10s}
.mobile-menu.open a:nth-child(4){transition-delay:.13s}
.mobile-menu.open a:nth-child(5){transition-delay:.16s}
.mobile-menu.open a:nth-child(6){transition-delay:.19s}
@media(prefers-reduced-motion:reduce){
  /* Still hidden when closed and shown when open — just without the travel. */
  .mobile-menu,.mobile-menu a,.mobile-menu.open a{transition:none;transform:none}
}
@media(max-width:880px){
  .nav-links{display:none}
  .nav-cta .btn:not(.nav-burger){display:none}
  .nav-burger{display:block}
}

/* ---------- Footer ---------- */
.footer{background:var(--ink);color:#e9e6df}
.footer a{color:#cfcbc2}
.footer a:hover{color:#fff}
.foot-cta{position:relative;color:#fff;text-align:center;overflow:hidden;padding:clamp(50px,7vw,90px) 0}
.foot-cta .ph{position:absolute;inset:0;z-index:0}
.foot-cta image-slot{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0}
.hero-banner image-slot{position:absolute;inset:0;width:100%;height:100%;display:block}
.foot-cta::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,40,38,.55),rgba(20,40,38,.78));z-index:1}
.foot-cta .wrap{position:relative;z-index:2}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:34px;padding-top:64px;padding-bottom:40px}
@media(max-width:780px){.foot-grid{grid-template-columns:1fr 1fr}}
.foot-grid h4{font-family:var(--body);font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:#9a968d;margin-bottom:1rem;font-weight:600}
.foot-grid ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem;font-size:.93rem}
.foot-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:22px;padding-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:.85rem;color:#9a968d}
.soc{display:flex;gap:12px}
.soc a{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);transition:.2s}
.soc a:hover{background:var(--accent);transform:translateY(-2px)}
.soc svg{width:17px;height:17px}

/* ---------- WhatsApp FAB ---------- */
.wa-fab{
  position:fixed;right:20px;bottom:20px;z-index:80;display:inline-flex;align-items:center;gap:.55rem;
  background:#0B7A44;color:#fff;font-weight:600;padding:.85rem 1.2rem;border-radius:999px;
  box-shadow:0 16px 36px -10px rgba(37,211,102,.7);transition:transform .2s;
}
.wa-fab:hover{transform:translateY(-3px)}
.wa-fab svg{width:22px;height:22px}
@media(max-width:560px){.wa-fab span{display:none}.wa-fab{padding:.95rem}}

/* ---------- Breadcrumbs ---------- */
/* position+z-index so the trail is never painted over. plan.html pulls its tinted band up with
   `margin-top:-74px` and fills it with an absolutely-positioned ::after — which sat on top of the
   static breadcrumb and sliced the bottom off "Home > Trip planner" (owner-spotted 2026-08-08,
   obvious at browser zoom where the 6px bite is proportionally huge). Fixed by stacking rather
   than by tuning the negative margin: the overlap in pixels varies with zoom and viewport, so a
   magic number would be right at one size and wrong at the next. Breadcrumbs are content; a
   decorative band must never win against them. */
.breadcrumbs{position:relative;z-index:1;display:flex;align-items:center;flex-wrap:wrap;gap:.2rem;padding-top:18px;padding-bottom:2px;font-size:.86rem}
.breadcrumbs a{color:var(--ink-soft);text-decoration:none;font-weight:600;transition:color .15s}
.breadcrumbs a:hover{color:var(--accent-deep)}
.breadcrumbs .bc-sep{width:15px;height:15px;color:var(--ink-soft);opacity:.5;flex:none}
.breadcrumbs .bc-cur{color:var(--ink);font-weight:700}
.breadcrumbs.on-dark a,.breadcrumbs.on-dark .bc-cur{color:#fff}
.breadcrumbs.on-dark a{opacity:.8}
.breadcrumbs.on-dark .bc-sep{color:#fff;opacity:.5}
@media(max-width:560px){.breadcrumbs{font-size:.8rem}}

/* ---------- Placeholders ---------- */
.ph{
  position:relative;background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.035) 0 12px, transparent 12px 24px),
    var(--ph-bg, var(--cream-deep));
  display:grid;place-items:center;overflow:hidden;color:var(--ph-fg,#9a9488);
}
.ph-label{
  font-family:var(--mono);font-size:.7rem;letter-spacing:.08em;
  text-transform:uppercase;border:1px dashed currentColor;padding:.4rem .7rem;border-radius:6px;
  background:rgba(255,255,255,.5);text-align:center;max-width:80%;
}
.ph-photo{--ph-bg:#dcd6c6;--ph-fg:#857f72}
.ph-teal{--ph-bg:#bfe9e7;--ph-fg:#3a8c89}
.ph-saffron{--ph-bg:#f7dca6;--ph-fg:#9e7321}
.ph-blue{--ph-bg:#cce8f0;--ph-fg:#4a8497}

/* map illustration placeholder card */
.map-ph{aspect-ratio:1/1.05;border-radius:var(--r);position:relative}
.map-ph .ph-label{font-size:.66rem}

/* ---------- Sunburst doodle ---------- */
.sun{position:relative;display:inline-grid;place-items:center}
.sun svg{position:absolute;inset:-30%;width:160%;height:160%;pointer-events:none}

/* ---------- Reviews stars ---------- */
.stars{display:inline-flex;gap:2px;color:var(--saffron)}
.stars svg{width:16px;height:16px}

/* ---------- Generic forms ---------- */
.field{display:block;margin-bottom:16px}
.field label{display:block;font-size:.82rem;font-weight:600;margin-bottom:.4rem;color:var(--ink)}
.field input,.field select,.field textarea{
  width:100%;padding:.85rem 1rem;border:1.5px solid var(--line);border-radius:var(--r-sm);
  font-family:inherit;font-size:.95rem;background:var(--white);color:var(--ink);transition:border .15s, box-shadow .15s;
}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.15)}
.place-field{position:relative}
.place-menu{position:fixed;z-index:1000;background:var(--white);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-lg);padding:8px;max-height:min(280px,calc(100vh - 24px));overflow:auto}
.place-option{width:100%;border:0;background:none;color:var(--ink);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;text-align:left;padding:10px 12px;border-radius:9px;font:inherit}
.place-option:hover,.place-option.hi{background:rgba(var(--accent-rgb),.12)}
.place-option.loading{cursor:default;color:var(--ink-soft)}
.place-option.loading:hover{background:none}
.place-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.place-option small{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:var(--accent-deep);white-space:nowrap}
.place-option.loading small{color:var(--ink-soft)}
.field .hint{font-size:.78rem;color:var(--ink-soft);margin-top:.35rem}

/* ---------- Custom select caret (consistent, premium chevron) ---------- */
select{
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c6a6b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat;background-position:right .9rem center;background-size:15px;
}
select:not([multiple]){padding-right:2.4rem!important}
.mid-stop select{background-position:right 2.9rem center;padding-right:3.8rem!important}

/* ---------- Custom date picker ---------- */
.dp{position:relative}
.dp-btn{display:flex;align-items:center;gap:.6rem;width:100%;text-align:left;border:1.5px solid var(--line);background:var(--white);color:var(--ink);border-radius:10px;padding:.72rem .8rem;font-family:inherit;font-size:.95rem;line-height:1.2;transition:border .15s,box-shadow .15s}
.dp-btn svg{width:17px;height:17px;color:var(--accent-deep);flex:none}
/* the line-icon family mark (img/icons/line/): one filled waypoint dot per icon */
.dp-btn svg .wp{fill:var(--saffron);stroke:none}
.dp-btn span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dp-btn.empty span{color:var(--ink-soft)}
.dp-btn:hover{border-color:var(--accent)}
.dp-btn:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.15)}
/* popover is portaled to <body> and fixed-positioned in JS, so it escapes
   every ancestor stacking context / overflow clip and never hides under
   later sections (e.g. the dark trust strip below the hero). */
.dp-pop{position:fixed;z-index:1000;width:288px;max-width:92vw;background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:0 22px 50px -16px rgba(20,40,38,.34);padding:14px}
.dp-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.dp-head b{font-family:var(--body);font-weight:600;font-size:1rem;white-space:nowrap}
.dp-nav{width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:var(--white);color:var(--ink);font-size:1.15rem;line-height:1;display:grid;place-items:center}
.dp-nav:disabled{opacity:.3}
.dp-nav:hover:not(:disabled){border-color:var(--accent);color:var(--accent-deep)}
.dp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}
.dp-dow{font-size:.66rem;color:var(--ink-soft);font-weight:700;padding:3px 0}
.dp-day{aspect-ratio:1;border:none;background:none;border-radius:8px;font-family:inherit;font-size:.86rem;color:var(--ink);cursor:pointer;display:grid;place-items:center}
.dp-day:hover:not(:disabled):not(.sel){background:var(--cream-deep)}
.dp-day.off{color:#c9c4b6;cursor:default}
.dp-day.sel{background:var(--accent);color:#fff;font-weight:700}

/* ---------- Keyboard focus (visible only for keyboard users) ---------- */
:focus-visible{outline:2px solid var(--accent-deep);outline-offset:2px;border-radius:5px}
.btn:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
a:focus-visible{outline:2px solid var(--accent-deep);outline-offset:4px}
.chip:focus-visible,.tab:focus-visible{outline:2px solid var(--accent-deep);outline-offset:2px}

/* ---------- Utility ---------- */
.flex{display:flex}
.between{justify-content:space-between}
.items-center{align-items:center}
.gap-s{gap:8px}.gap{gap:16px}.gap-l{gap:28px}
.wrap-w{flex-wrap:wrap}
.mt-s{margin-top:8px}.mt{margin-top:20px}.mt-l{margin-top:40px}
.mb0{margin-bottom:0}
.rel{position:relative}
@media(max-width:700px){.hide-mob{display:none!important}}
/* Scroll-reveal is gated on html.js (set by tweaks.js in <head>) so that if
   scripts fail, content is never permanently hidden. */
html.js .reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1)}
html.js .reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){html.js .reveal{opacity:1;transform:none;transition:none}}

/* ============================================================
   MOBILE-FIRST HARDENING  ·  no overflow, real tap targets
   ============================================================ */
html,body{overflow-x:hidden;max-width:100%}
html,body{overflow-x:clip} /* clip doesn't create a scroll container, so position:sticky keeps working */
img,svg,video,iframe{max-width:100%}
*{min-width:0}

/* ---- tablet / small-laptop ---- */
@media(max-width:760px){
  .nav-inner{height:66px}
}

@media(max-width:600px){
  /* Touch targets: the datepicker's month arrows (30px) and day cells (~36px) sat under the
     44px guideline. Expand the hit area without changing how they look. */
  .dp-nav{position:relative}
  .dp-nav::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:44px;height:44px}
  .dp-day{position:relative}
  .dp-day::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:44px;height:44px}
  .wrap{padding-left:20px;padding-right:20px}
  .section{padding:clamp(44px,11vw,64px) 0}
  .section-tight{padding:clamp(32px,8vw,46px) 0}
  /* 16px inputs = no iOS auto-zoom; roomier hit areas. Page-level widgets use selectors
     that are more specific than .field, so cover every native text control here as well. */
  body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  body select,
  body textarea{font-size:16px!important}
  .field input,.field select,.field textarea{padding:.95rem 1rem}
  .btn{padding:1rem 1.5rem;min-height:48px}
  .btn-lg{padding:1.1rem 1.7rem}
  .btn-sm{padding:.7rem 1.15rem;font-size:.9rem;min-height:42px}
  .nav-burger{padding:11px;margin-right:-6px}
  .nav-inner{height:62px}
  .mobile-menu{inset:62px 0 0}
  h2{font-size:clamp(1.7rem,7.5vw,2.15rem)}
  .display{font-size:clamp(2.3rem,9vw,3rem)}
  .lead{font-size:1.04rem}
  .eyebrow{font-size:.7rem}
  /* keep the book button on phones, just compact */
  .nav-cta .btn:not(.nav-burger){display:none}

  /* ---- consistent nav offset for EVERY page head (beats inline .hero etc.) ---- */
  body .hero,
  body .tours-head,
  body .hero-banner{margin-top:-62px}
  body .hero{padding-top:62px}

  /* ---- tame oversized teal/banner page heads on phones ---- */
  body .tours-head{padding:96px 0 38px}
  body .hero-banner{height:auto;min-height:248px;padding:92px 20px 40px}
  body .hero-banner h1{font-size:clamp(1.9rem,8.5vw,2.6rem)}

  /* ---- filter bars become a single horizontal scroll strip, not stacked rows ---- */
  body .filters{top:62px;padding:11px 0}
  /* The row IS the .wrap (not inside one), so it keeps its own 20px gutter — a negative-margin
     bleed pushed "All tours" 20px off-screen. scroll-padding makes the snap respect that gutter
     too; without it, snapping parks the first chip flush against (or past) the screen edge. */
  body .filter-row{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;
    padding:2px 20px;scroll-padding-inline:20px;scroll-snap-type:x proximity}
  body .filter-row::-webkit-scrollbar{display:none}
  body .filter-row .chip{flex:none;scroll-snap-align:start}
  body .filter-row .count{display:none}

  /* roomier tap targets for chips */
  .chip{min-height:44px;display:inline-flex;align-items:center}

  /* footer: tighten the 2-col grid on phones */
  .foot-grid{gap:26px 24px;padding-top:48px;padding-bottom:32px}
  .foot-bottom{flex-direction:column;align-items:flex-start;gap:10px}
  /* The Tripadvisor pill is wider than a half-width footer column at phone sizes, and
     .pill's nowrap made it shoot past the screen edge — let it wrap inside instead. */
  .foot-grid .pill{white-space:normal;max-width:100%;text-align:left}
}
@media(max-width:430px){
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:380px){
  .wrap{padding-left:18px;padding-right:18px}
  body .filter-row{padding:2px 18px;scroll-padding-inline:18px}
  /* Four half-width footer columns leave long contact links wider than the viewport. */
  .foot-grid{grid-template-columns:1fr}
  .foot-grid>div,.foot-grid a{max-width:100%;overflow-wrap:anywhere}
}

/* ============================================================
   AUTHENTICITY LAYER  ·  "postcard from Ceylon"
   hand notes · postage stamps · ticket perforations · paper grain
   ============================================================ */

/* subtle warm paper grain over everything (kept behind chrome) */
body::after{
  content:"";position:fixed;inset:0;z-index:1;pointer-events:none;opacity:.028;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:150px 150px;
}
.nav,.mobile-menu,.wa-fab{z-index:60}

/* handwritten margin notes */
.hand{font-family:var(--hand);font-weight:700}
.hand-note{font-family:var(--hand);font-weight:700;color:var(--accent-deep);font-size:1.5rem;line-height:1.1;display:inline-flex;align-items:flex-end;gap:.35rem}
.hand-note.tomato{color:var(--tomato)}
.hand-note.saffron{color:#b9780a}
.hand-arrow{width:34px;height:auto;flex:none;color:currentColor;transform:translateY(2px)}

/* postage stamp badge */
.stamp{
  --sc:var(--saffron);
  display:inline-grid;place-items:center;text-align:center;gap:2px;
  font-family:var(--body);font-weight:700;font-size:.66rem;letter-spacing:.04em;text-transform:uppercase;
  color:#fff;background:var(--sc);padding:.6rem .7rem;line-height:1.1;
  transform:rotate(-6deg);box-shadow:var(--shadow-s);
  -webkit-mask:radial-gradient(circle 3px at center, transparent 96%, #000) ; /* fallback */
  border:2px dashed rgba(255,255,255,.85);border-radius:3px;
}
.stamp b{font-family:var(--body);font-size:1.15rem;font-weight:700;letter-spacing:0}

/* ticket / boarding-pass perforation edge */
.ticket{position:relative;background:var(--paper);border-radius:var(--r-lg);box-shadow:var(--shadow)}
.ticket::before,.ticket::after{content:"";position:absolute;width:22px;height:22px;background:var(--cream);border-radius:50%;top:50%;transform:translateY(-50%)}
.ticket::before{left:-11px}
.ticket::after{right:-11px}
.ticket-dash{border:0;border-top:2px dashed var(--line);margin:0}

/* a torn dashed travel line, used as a section flourish */
.route-rule{display:flex;align-items:center;gap:.6rem;color:var(--accent);margin:0}
.route-rule::before,.route-rule::after{content:"";height:0;border-top:2px dashed currentColor;flex:1;opacity:.5}
.route-rule svg{width:20px;height:20px;flex:none}

/* gentle tilt utility for stickers/photos to feel hand-placed */
.tilt-l{transform:rotate(-2deg)}
.tilt-r{transform:rotate(2deg)}

/* ============================================================
   POSTCARD PALETTE  ·  hero wash adopted site-wide
   Soft, airy versions of the hero gradient used for section
   and page backgrounds — the brand's background language.
   ============================================================ */

/* the soft postcard wash — an airy take on the hero gradient */
.bg-postcard{
  background:
    radial-gradient(120% 92% at 86% -4%, var(--pc-teal), transparent 60%),
    radial-gradient(95% 85% at 4% 104%, var(--pc-saffron), transparent 58%),
    linear-gradient(162deg, #eaf6f2 0%, #e8f1ea 52%, #eef4e6 100%);
}
/* single-tint section washes — quieter, for rhythm between sections */
.bg-teal{background:var(--pc-teal)}
.bg-sky{background:var(--pc-sky)}
.bg-green{background:var(--pc-green)}
.bg-saffron{background:var(--pc-saffron)}

/* a deepened postcard band, for sections where a grid of warm-paper cards
   sits on the wash. The stock .bg-postcard is only a few shades off --paper,
   so the cards flatten into the ground; this pushes the ground back and
   layers in the postcard ephemera (dotted route line + ghosted postmark).
   Add alongside .bg-postcard; remove the class to revert. */
.wash-deep{
  background:
    radial-gradient(120% 92% at 86% -4%, #cfe9e0, transparent 62%),
    radial-gradient(95% 85% at 4% 104%, #f7e6c2, transparent 60%),
    linear-gradient(162deg, #dfeee7 0%, #dce9dd 52%, #e7efd8 100%);
}
.wash-deep::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 340' fill='none' stroke='%232f7d6b' stroke-opacity='.3' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M-10 250 C 200 160 360 280 580 190 S 960 70 1210 130' stroke-dasharray='2 16'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 70' fill='none' stroke='%232f7d6b' stroke-opacity='.22'%3E%3Ccircle cx='33' cy='35' r='26' stroke-width='2' stroke-dasharray='3 4'/%3E%3Ccircle cx='33' cy='35' r='19' stroke-width='1.4' stroke-dasharray='2 5'/%3E%3Cpath d='M66 22c10 3 18-3 28 0s18-3 28 0M66 35c10 3 18-3 28 0s18-3 28 0M66 48c10 3 18-3 28 0s18-3 28 0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat;
  background-position:center 58%, right 5% bottom 7%;
  background-size:min(1400px,118%) auto, clamp(110px,13vw,200px) auto;
}
/* keep the content above the ephemera layer */
.wash-deep > .wrap{position:relative;z-index:1}

/* a thin dashed travel rule used to separate washed sections */
.wash-edge{position:relative}
.wash-edge::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;
  background:repeating-linear-gradient(90deg,var(--pc-line) 0 9px,transparent 9px 18px)}

/* cards sitting on a wash keep the warm paper fill but gain a hairline
   so they don't float */
.bg-postcard .card,.bg-teal .card,.bg-green .card,.bg-saffron .card,.bg-sky .card{
  border:1px solid rgba(255,255,255,.6);
}

/* (The Phase 0 consent-banner rules lived here until 2026-08-16, when the banner was
   removed and analytics moved to granted-by-default — see tools/site-chrome.mjs.) */

/* (The beta-notice postcard lived here until 2026-09-21, when the greeting was retired
   after the apex cutover — see beta-notice.js in git history.) */

/* ══════════════════════════════════════════════════════════════════════════════
   PRESS FEEDBACK
   The site answered a hover on every control and a press on almost none: the only
   :active rule was .btn's 1px nudge, which never reached the datepicker days, the
   place-suggestion rows, the chips, or any of the per-page buttons. booking.html —
   the whole checkout, Pay button included — had none at all.

   That gap is invisible on a laptop and total on a phone, where hover doesn't
   exist: most of a booking is made by tapping controls that, until the next paint,
   gave no sign they had been touched. On a Sri Lankan mobile connection that gap
   is exactly where a traveller taps twice.

   Small on purpose — 1px and a shadow that settles, matching .btn's existing press
   rather than inventing a second louder one. Grouped generically so new controls
   inherit it. Loaded on every page, so this is the one place it's defined.
   ══════════════════════════════════════════════════════════════════════════════ */

/* Immediate taps: no 300ms double-tap-zoom wait, and our own quiet flash instead
   of the browser's grey box. */
button, [role="button"], .btn, .chip, .dp-day, .dp-btn, .dp-nav, .place-option,
.ac-item, .cal-day, .svc, .tpl-chip, .pax-pill, .lcard, .gbtn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(var(--accent-rgb),.12);
}

/* Buttons and button-like controls. :not(:disabled) so a blocked control stays
   blocked — movement under the finger is the one thing that reads as "that worked". */
button:active:not(:disabled),
.btn:active:not(:disabled),
.dp-btn:active, .dp-nav:active:not(:disabled),
.chip:active, .tpl-chip:active, .pax-pill:active, .gbtn:active,
.add-stop-btn:active, .rb-swap:active, .cx-btn:active, .jnav:active {
  transform: translateY(1px);
  transition-duration: .05s;
}
/* .btn's hover lifts it 2px, so without an explicit rule a press would read as a
   smaller lift rather than a push. Land it level. */
.btn-primary:active:not(:disabled), .btn-cta:active:not(:disabled),
.btn-ghost:active:not(:disabled), .btn-light:active:not(:disabled),
.btn-wa:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 4px 10px -6px rgba(0,0,0,.35);
}
/* List rows — suggestions, calendar days, service options, ride cards. These are
   choices rather than commands, so they take a background settle instead of travel:
   a row that moves under the finger while a menu is open feels unstable. */
.place-option:active, .ac-item:not(.loading):active, .dp-day:active:not(:disabled),
.cal-day:active:not(.disabled), .svc:active, .lcard:active, .slot:active {
  filter: brightness(.96);
  transition-duration: .05s;
}

@media (prefers-reduced-motion: reduce) {
  /* Feedback isn't decoration — swap the travel for a static tint rather than
     dropping the response entirely. */
  button:active:not(:disabled), .btn:active:not(:disabled), .chip:active,
  .dp-btn:active, .dp-nav:active:not(:disabled), .tpl-chip:active,
  .pax-pill:active, .gbtn:active, .add-stop-btn:active, .rb-swap:active,
  .cx-btn:active, .jnav:active,
  .btn-primary:active:not(:disabled), .btn-cta:active:not(:disabled),
  .btn-ghost:active:not(:disabled), .btn-light:active:not(:disabled),
  .btn-wa:active:not(:disabled) {
    transform: none;
    filter: brightness(.94);
  }
}


/* ── Boarding pass ─────────────────────────────────────────────────────────────────────
   The confirmation keepsake. Lifted out of booking.html's page-local <style> (2026-08-02)
   so the pay-link page can show the SAME pass rather than a near-copy that drifts — the
   owner's ask was a 1:1 replication, and two definitions is how 1:1 stops being true.
   booking.html already loads this file, so nothing about its rendering changes; the class
   names appear nowhere else in the repo, so nothing else can collide with them.
   Wrapper, tick and actions stay page-local: each page frames the pass differently. */
  .pass{display:grid;grid-template-columns:1fr 230px;text-align:left;background:var(--paper);border-radius:var(--r-lg);box-shadow:var(--shadow-lg);overflow:hidden;margin-top:30px;position:relative}
  @media(max-width:640px){.pass{grid-template-columns:1fr}}
  .pass-main{padding:26px 28px}
  .pass-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
  .pass-brand{display:flex;align-items:center;gap:.5rem;font-family:var(--body);font-weight:700;font-size:1.1rem;white-space:nowrap}
  .pass-route{display:flex;align-items:center;gap:14px;margin:6px 0 20px}
  .pass-route .pt{font-family:var(--display);font-weight:700;font-size:1.5rem;line-height:1}
  .pass-route .pt small{display:block;font-family:var(--body);font-size:.7rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);margin-top:4px}
  .pass-route .dash{flex:1;height:2px;background:repeating-linear-gradient(90deg,var(--accent) 0 6px,transparent 6px 12px);position:relative}
  .pass-route .dash svg{position:absolute;right:-6px;top:-9px;width:20px;height:20px;color:var(--accent)}
  .pass-info{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
  .pass-info .k{font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);font-weight:600}
  .pass-info .v{font-weight:600;font-size:.95rem;margin-top:2px}
  .pass-stub{background:var(--ink);color:#fff;padding:26px 22px;display:flex;flex-direction:column;justify-content:space-between;position:relative}
  .pass-stub::before{content:"";position:absolute;left:-9px;top:0;bottom:0;width:18px;background:radial-gradient(circle at left,transparent 0 8px,var(--paper) 8px) repeat-y;background-size:18px 22px}
  @media(max-width:640px){.pass-stub::before{left:0;right:0;top:-9px;bottom:auto;width:auto;height:18px;background:radial-gradient(circle at top,transparent 0 8px,var(--paper) 8px) repeat-x;background-size:22px 18px}}
  .pass-stub .ref{font-family:var(--mono);font-size:1.05rem;letter-spacing:.15em;font-weight:600}
  .barcode{height:46px;background:repeating-linear-gradient(90deg,#fff 0 2px,transparent 2px 4px,#fff 4px 5px,transparent 5px 9px);border-radius:3px;margin-top:14px}

/* Live price list (spec 2026-09-26 §9): a page's <head> adds html.prices-pending when it will fetch
   the live list, and transfers-data.js lifts it when the list lands or 2.5 s passes. Held figures
   keep their space and read as a placeholder, so the first price a customer sees is the current
   one — the same treatment the route pages give [data-fare] (fares-pending). */
.prices-pending [data-live-price]{color:transparent!important;background:var(--cream-deep,#ece6da);border-radius:6px}
