/* Self-hosted webfonts (SIL OFL). Variable woff2, latin + latin-ext only.
   Self-hosting removes a third-party request, a render-blocking @import
   hop, and the Google-Fonts GDPR exposure for EU visitors. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/fraunces-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/fraunces-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   boltjourneys — "Cinematic Orient" (Concept A, brightened)
   Dark ink canvas · real photography · cinnabar + gold accents
   Re-skin of the shared editorial system. Class names preserved
   so the 34 existing pages re-theme without HTML edits.
   ============================================================ */
:root{
  /* surfaces (were light paper, now dark) */
  --paper:#2E2820;        /* page background — deep warm ink */
  --paper-2:#3A322A;      /* alt band / inset surface */
  --surface:#423A2E;      /* panels: cards, tool-wrap, form-wrap */
  --footer-bg:#1C1813;    /* deepest footer */
  /* text (were ink, now light) */
  --ink:#F5F0E6;          /* primary text — warm off-white */
  --ink-2:#E2DAC9;        /* secondary text */
  --ink-3:#BDB2A0;        /* muted text */
  /* lines (light hairlines on dark) */
  --line:rgba(245,240,230,.14);
  --line-2:rgba(245,240,230,.26);
  /* accents */
  --accent:#E0382A;       /* cinnabar — China red, primary CTA + tags */
  --accent-d:#B11E12;
  --red:#E0382A;          /* seal + nav CTA */
  --red-d:#B11E12;
  --jade:#3FA98C;         /* success / ok on dark */
  --jade-2:#4FB89B;
  --gold:#C8A24C;         /* secondary accent */
  --navy:#EFE9DD;         /* (legacy inline ref) — keep defined */
  --r:6px;
  --max:1420px;           /* content cap — matches shopify.com's 1420px container */
  --gut:clamp(28px,5vw,90px); /* side gutter grows with the viewport, like Shopify's 90px */
  --serif:"Fraunces",Georgia,"Times New Roman",serif;
  --sans:"Inter","Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;
  --shadow:0 1px 0 rgba(255,255,255,.04);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
/* keep in-page anchor targets clear of the 75px sticky header */
[id]{scroll-margin-top:92px}
body{font-family:var(--sans);color:var(--ink);background:var(--paper);line-height:1.62;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
h1,h2,h3,h4{font-family:var(--serif);font-weight:600;letter-spacing:-.01em;line-height:1.12}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:min(var(--max),calc(100% - var(--gut) - var(--gut)));margin:0 auto;padding:0}
.muted{color:var(--ink-3)}
.center{text-align:center}
.small{font-size:14px}

/* editorial kicker / label */
.tag{display:inline-block;font:600 12px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--accent);border-left:2px solid var(--accent);padding-left:10px}
.tag.ink{color:var(--ink);border-color:var(--ink-3)}

/* ---------- buttons (pill, matching the hero) ---------- */
.btn{display:inline-flex;align-items:center;gap:9px;padding:13px 24px;border-radius:999px;font:600 14px/1 var(--sans);letter-spacing:.01em;cursor:pointer;border:1px solid transparent;transition:.16s;white-space:nowrap}
.btn:hover{transform:none}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-d)}
.btn-amber,.btn-accent{background:var(--accent);color:#fff}
.btn-amber:hover,.btn-accent:hover{background:var(--accent-d)}
.btn-ghost{background:transparent;border-color:var(--line-2);color:var(--ink)}
.btn-ghost:hover{background:rgba(255,255,255,.06);border-color:var(--accent);color:#fff}
.btn-lg{padding:15px 30px;font-size:15px}
.btn .ar{transition:transform .16s}
.btn:hover .ar{transform:translateX(3px)}

/* inline e-mail link — visible against body copy without shouting */
.mail{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;transition:.15s}
.mail:hover{color:var(--ink);text-decoration-color:var(--accent)}

/* ---------- header (dark, frosted sticky) ---------- */
/* The frost lives on ::before, not on #site-header. backdrop-filter creates a
   containing block and a filter root, and the mega panel is a descendant of the
   header — nested inside the filter root the panel gets composited into the
   frosted layer. A pseudo-element has no children, so there is no side effect.
   It stops one pixel short of the box so the border-bottom still shows. */
#site-header{position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line)}
#site-header::before{content:"";position:absolute;left:0;right:0;top:0;height:calc(100% - 1px);background:rgba(46,40,32,.88);backdrop-filter:blur(10px);z-index:-1;pointer-events:none}
.h-inner{max-width:min(var(--max),calc(100% - var(--gut) - var(--gut)));margin:0 auto;height:74px;display:flex;align-items:center;gap:24px}
.logo{display:flex;align-items:center;gap:11px;font:700 27px/1 var(--sans);color:var(--ink);letter-spacing:-.022em}
.logo .wm{color:var(--accent)}
.logo .mark{width:34px;height:34px;color:var(--accent);flex:none}
@media(max-width:400px){.logo{gap:9px;font-size:24px}.logo .mark{width:30px;height:30px}}
.nav{display:flex;gap:2px;margin-left:auto;align-items:center;align-self:stretch}
.nav>a,.nav .has-menu>a{position:relative;font-size:16px;font-weight:500;color:var(--ink-2);padding:10px 14px;transition:.15s}
.nav>a{display:flex;align-items:center}
.nav>a:hover,.nav .has-menu>a:hover{color:#fff}
.nav a.on{color:#fff}
.nav a.on::after{content:"";position:absolute;left:14px;right:14px;bottom:3px;height:2px;background:var(--accent);border-radius:2px;transition:opacity .15s}

/* ---------- mega menu (Shopify-style dropdown) ----------
   The trigger is a pill, the panel drops full-width from the header and holds
   described links in columns. `position:static` on .has-menu is load-bearing:
   it lets .mega anchor to #site-header (its only positioned ancestor), so the
   panel can span the viewport instead of being trapped in a 230px box.
   .has-menu stretches to the full 74px header height — otherwise the pointer
   crosses 20px of dead space between the trigger and the panel and the menu
   closes on the way down. */
.nav .has-menu{position:static;display:flex;align-items:center;align-self:stretch}
.nav .has-menu>a{display:inline-flex;align-items:center;gap:6px;border-radius:999px}
.nav .has-menu>a .caret{width:11px;height:11px;opacity:.7;transition:transform .18s ease,opacity .18s ease}
.nav .has-menu:hover>a{background:rgba(255,255,255,.06);color:#fff}
.nav .has-menu:hover>a .caret{transform:rotate(180deg);opacity:1}
/* While a panel is open the pill already says "active"; the red underline on
   top of it just makes the bar look busy. */
.nav .has-menu:hover>a.on::after,.nav .has-menu:focus-within>a.on::after{opacity:0}
.nav .has-menu>a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.mega{position:absolute;left:0;right:0;top:100%;padding:26px 0 0;background:#38312A;border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:0 30px 70px -24px rgba(0,0,0,.75);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .16s ease,transform .16s ease,visibility .16s;pointer-events:none}
/* :focus-within keeps the panel open while tabbing through it. */
.nav .has-menu:hover>.mega,.nav .has-menu:focus-within>.mega{opacity:1;visibility:visible;transform:none;pointer-events:auto}

.mega-in{max-width:min(var(--max),calc(100% - var(--gut) - var(--gut)));margin:0 auto}
.mega-body{display:flex;gap:40px;align-items:flex-start}
.mega-main{flex:1 1 auto;min-width:0}
.mega-eyebrow{font:600 11.5px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);margin-bottom:14px}
.mega-cols{display:grid;gap:2px 18px}
.mega-services .mega-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
.mega-dest .mega-cols{grid-template-columns:repeat(4,minmax(0,1fr))}

.mega-item{display:block;padding:11px 14px;border-radius:10px;transition:background .14s ease}
.mega-item:hover{background:rgba(255,255,255,.06)}
.mega-t{display:block;font-size:15.5px;font-weight:600;line-height:1.35;color:var(--ink);letter-spacing:-.005em}
.mega-d{display:block;margin-top:3px;font-size:13px;line-height:1.5;color:var(--ink-3)}
.mega-item:hover .mega-t{color:#fff}
.mega-item:hover .mega-d{color:var(--ink-2)}

.mega-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:16px;padding:15px 0 20px;border-top:1px solid var(--line)}
.mega-foot a{display:inline-flex;align-items:center;gap:8px;font-size:14.5px;font-weight:600;color:var(--accent)}
.mega-foot a .ar{transition:transform .16s}
.mega-foot a:hover .ar{transform:translateX(3px)}
.mega-note{font-size:13px;color:var(--ink-3)}

.mega-promo{position:relative;flex:0 0 300px;align-self:stretch;min-height:200px;border-radius:12px;overflow:hidden;background:#221D17}
.mega-promo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55;transition:opacity .25s ease,transform .5s ease}
.mega-promo:hover img{opacity:.68;transform:scale(1.04)}
.mega-promo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,17,13,.1) 0%,rgba(20,17,13,.88) 100%)}
.mega-promo-body{position:absolute;left:18px;right:18px;bottom:16px;z-index:1;display:block}
.mega-promo-k{display:block;font:600 11px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.78)}
.mega-promo-t{display:block;margin-top:7px;font-size:15px;line-height:1.4;font-weight:600;color:#fff}
.mega-promo-l{display:inline-block;margin-top:10px;font-size:13.5px;font-weight:600;color:var(--accent)}
.nav .cta{margin-left:10px;font-size:15px;background:var(--red);color:#fff;border-radius:999px}
.nav .cta:hover{background:var(--red-d);color:#fff}
.h-menu-btn{display:none;margin-left:auto;background:none;border:1px solid var(--line);border-radius:999px;padding:9px 13px;font-size:18px;cursor:pointer;color:var(--ink)}

/* ---------- hero (full-bleed photo, white type) ---------- */
.hero{position:relative;min-height:92vh;display:flex;align-items:center;overflow:hidden;color:#fff;padding:0;border-bottom:none}
.hero::before{content:"";position:absolute;inset:0;background:url("../images/hero.jpg") center 40%/cover;z-index:0;transform:scale(1.03);will-change:transform}
/* dark column on the left keeps the copy legible, photo stays open on the right */
.hero::after{content:"";position:absolute;inset:0;z-index:1;background:
  linear-gradient(90deg,rgba(11,10,8,.86) 0%,rgba(11,10,8,.72) 26%,rgba(11,10,8,.42) 48%,rgba(11,10,8,.14) 72%,rgba(11,10,8,.04) 100%),
  linear-gradient(180deg,rgba(11,10,8,.34) 0%,rgba(11,10,8,0) 30%,rgba(11,10,8,.3) 100%)}
.hero .wrap{position:relative;z-index:2;width:100%;max-width:min(var(--max),calc(100% - var(--gut) - var(--gut)));margin:0 auto;padding:150px 0 118px}
.hero-copy{max-width:680px}
.hero h1{font-size:clamp(44px,6.1vw,78px);line-height:.99;letter-spacing:-.032em;font-weight:500;max-width:16ch;color:#fff;text-shadow:0 2px 30px rgba(0,0,0,.35)}
.hero p.lead{font-size:19px;line-height:1.62;color:rgba(255,255,255,.86);margin:24px 0 34px;max-width:46ch;text-shadow:0 1px 12px rgba(0,0,0,.45)}
.hero .cta-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.hero .btn{border-radius:999px}
/* hero CTAs run larger than the site standard — 56px tall like Shopify's */
.hero .btn-lg{padding:19px 38px;font-size:16.5px;gap:11px}
.hero .seal{position:absolute;right:32px;top:96px;z-index:3;width:60px;height:60px;background:var(--red);color:#fff;border-radius:8px;display:grid;place-items:center;font:700 26px/1 var(--serif);box-shadow:0 4px 12px rgba(224,56,42,.4)}
.hero .btn-ghost{border-color:rgba(255,255,255,.55);color:#fff}
.hero .btn-ghost:hover{background:rgba(255,255,255,.14);color:#fff}

/* proof strip under the hero */
.proof{background:var(--paper);border-bottom:1px solid var(--line);padding:26px 0}
.proof-row{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.proof-row div{display:flex;align-items:baseline;gap:11px;padding:0 26px;border-left:1px solid var(--line)}
.proof-row div:first-child{border-left:0;padding-left:0}
.proof-row b{font-family:var(--serif);font-size:27px;line-height:1;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.proof-row span{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-3);font-weight:500}
@media(max-width:820px){
  .proof{padding:22px 0}
  .proof-row{grid-template-columns:1fr 1fr;gap:18px 0}
  .proof-row div{flex-direction:column;align-items:flex-start;gap:5px;padding:0 18px}
  .proof-row div:nth-child(odd){border-left:0;padding-left:0}
  .proof-row b{font-size:24px}
  .proof-row span{font-size:11.5px}
}
@media(max-width:700px){
  .hero{min-height:88vh}
  .hero .wrap{padding:112px 0 96px}
  .hero p.lead{font-size:17.5px;margin:20px 0 28px}
  /* stacked full-width buttons, the way Shopify does its mobile hero */
  .hero .cta-row{flex-direction:column;align-items:stretch;gap:10px;max-width:340px}
  .hero .cta-row .btn{justify-content:center}
  /* drop the seal to the open corner so it stops competing with the headline */
  .hero .seal{top:auto;bottom:26px;right:20px;width:46px;height:46px;font-size:20px;border-radius:7px}
}

/* ---------- sections ---------- */
section{padding:clamp(64px,7.5vw,124px) 0}
.s-head{max-width:840px;margin:0 0 clamp(38px,4vw,58px)}
.s-head .tag{margin-bottom:18px}
.s-head h2{font-size:clamp(32px,4.3vw,58px);line-height:1.04;letter-spacing:-.022em;font-weight:500;color:var(--ink);text-wrap:balance}
.s-head p{color:var(--ink-2);margin-top:18px;font-size:clamp(16px,1.15vw,18.5px);max-width:64ch}
.band-soft{background:var(--paper-2)}

/* ---------- index cards (numbered, hairline, no lift) ---------- */
.grid{display:grid;gap:0}
.g-3{grid-template-columns:repeat(3,1fr)}
.g-2{grid-template-columns:repeat(2,1fr)}
.g-4{grid-template-columns:repeat(4,1fr)}
/* destinations get three wide cards per row — photos carry the section */
.dest-grid{grid-template-columns:repeat(3,1fr)}
.card{background:transparent;border:1px solid var(--line);border-radius:var(--r);padding:clamp(28px,2.3vw,40px) clamp(24px,1.9vw,32px);transition:.16s;position:relative}
.card+.card{margin-left:-1px}
.grid>.card{margin-top:-1px}
.card:hover{border-color:var(--line-2);background:rgba(255,255,255,.04);z-index:2}
.card h3{font-size:clamp(21px,1.45vw,25px);color:var(--ink);margin-bottom:10px;letter-spacing:-.012em}
/* service-card icons — hairline stroke in the accent red */
.card-ico{display:block;width:30px;height:30px;margin-bottom:18px;color:var(--accent)}
.card-ico svg{display:block;width:100%;height:100%;overflow:visible}
.card:hover .card-ico{color:var(--gold);transition:color .18s}
.card p{color:var(--ink-2);font-size:clamp(14.5px,.95vw,15.5px);line-height:1.62}
.card .more{display:inline-block;margin-top:18px;color:var(--accent);font-weight:600;font-size:13.5px;letter-spacing:.02em}
.dest-ico{width:46px;height:46px;margin-bottom:14px;color:var(--ink)}
.dest-ico .acc{color:var(--accent)}
.g-3>.card,.g-4>.card{counter-increment:ci}
.g-3,.g-4{counter-reset:ci}
.g-3>.card::before,.g-4>.card::before{content:counter(ci,decimal-leading-zero);position:absolute;top:20px;right:22px;font-family:var(--serif);font-size:13px;color:var(--accent);font-weight:600}

/* ---------- split ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}
.split h2{font-size:clamp(26px,3vw,34px);color:var(--ink)}
.split p{color:var(--ink-2);margin:14px 0}
ul.clean{list-style:none}
ul.clean li{padding:10px 0 10px 26px;position:relative;color:var(--ink);font-size:15.5px;border-bottom:1px solid var(--line)}
ul.clean li:last-child{border-bottom:none}
ul.clean li:before{content:"";position:absolute;left:0;top:18px;width:10px;height:1px;background:var(--accent)}

/* ---------- tools ---------- */
.tool-wrap{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:28px}
/* The card you actually use, versus the reference cards underneath. Without
   this the whole page reads as one long list of equal panels: the form, the
   answer and the background reading all wore the same surface. The primary
   card is lifted (gradient + shadow + accent rule on top), the reference
   cards drop one step back in tone. */
.tool-primary{position:relative;background:linear-gradient(180deg,#4B4133 0%,#3E362B 100%);
  border-color:var(--line-2);box-shadow:0 22px 48px rgba(0,0,0,.38)}
.tool-primary::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;
  border-radius:var(--r) var(--r) 0 0;background:linear-gradient(90deg,var(--accent) 0%,#C8A24C 100%)}
.tool-ref{background:var(--paper-2);border-color:var(--line)}
/* a{color:inherit;text-decoration:none} leaves the citation links inside tool
   prose with no affordance whatsoever — the 324 notice and the MCT register
   read as plain words. Keep the inherited colour (it is the high-contrast one)
   and take the accent for the rule underneath: an underline is the one signal
   that does not depend on hue, so it survives colour-blindness and greyscale. */
.tool-wrap p a,.tool-wrap li a{text-decoration:underline;text-decoration-thickness:1px;
  text-decoration-color:var(--accent);text-underline-offset:3px}
.tool-wrap p a:hover,.tool-wrap li a:hover{color:var(--accent)}

/* --- 240-hour transit reference (countries + ports + stay areas) ---
   Cards, not a table: the same lesson the hotel list taught. Guangdong has ten
   ports with long names; in a 3-column table on a 390px screen every cell turns
   into a seven-line sliver. Two columns of cards reflow to one on a phone.
   `section{padding:clamp(64px,7.5vw,124px) 0}` is a page-level rhythm rule that
   also lands on these nested sections — reset it here, not globally. */
.ctry-grid{display:grid;grid-template-columns:1fr;gap:10px;margin-top:14px}
.ctry{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:12px 15px}
.ctry h4{display:flex;align-items:baseline;gap:8px;margin:0 0 6px;font-size:15px;color:var(--ink)}
.ctry h4 .n{font-family:var(--sans);font-size:11px;font-weight:700;letter-spacing:.06em;
  color:var(--ink-3);border:1px solid var(--line-2);border-radius:999px;padding:1px 7px}
.ctry p{margin:0;font-size:13.5px;line-height:1.55;color:var(--ink-2)}
.tprov-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:14px}
.tprov{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px}
.tprov-h{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.tprov-h h3{margin:0;font-size:16px;color:var(--ink)}
.tprov-zh{font-size:12px;color:var(--ink-3)}
.tprov-n{margin-left:auto;font-family:var(--sans);font-size:11px;font-weight:700;letter-spacing:.06em;
  color:var(--ink-3);white-space:nowrap}
/* The label is the same four words on all 24 cards, so it has to wrap as one
   unit: at 276px "Where you may stay:" used to split after "may". inline-block
   moves the whole label down a line instead of breaking it in half. */
.tprov-area{margin:9px 0 0;font-size:13.5px;line-height:1.55;color:var(--ink-2)}
.tprov-area b{display:inline-block;color:var(--ink)}
.tprov-ports{margin:10px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:5px}
.tprov-ports li{display:flex;gap:7px;align-items:baseline;font-size:13px;line-height:1.4;color:var(--ink-2)}
.tprov-t{flex:0 0 auto;font-family:var(--sans);font-size:9.5px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--ink-3);border:1px solid var(--line-2);border-radius:3px;padding:1px 4px}
@media(min-width:700px){.ctry-grid{grid-template-columns:1fr 1fr}}
@media(min-width:760px){.tprov-grid{grid-template-columns:1fr 1fr}}
.tool-eyebrow{font-family:var(--sans);font-weight:700;font-size:11.5px;line-height:1;
  letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0 0 15px}
.tool-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field label{display:block;font-size:13px;font-weight:600;color:var(--ink-2);margin-bottom:7px;letter-spacing:.02em;text-transform:uppercase}
.field select,.field input,.field textarea{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:var(--r);font-size:15px;font-family:inherit;background:#241F19;color:var(--ink)}
.field textarea{min-height:110px;line-height:1.55;resize:vertical;display:block}
.field select:focus,.field input:focus,.field textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(224,56,42,.18)}
.field input::placeholder,.field textarea::placeholder{color:#8C8272;opacity:1}
/* iOS Safari zooms the viewport whenever a text field under 16px takes focus.
   The passport search box is the first thing a phone visitor taps, and the
   zoom-in left them looking at a cropped card. Selects are left at 15px —
   iOS opens a wheel picker for those and never zooms. */
@media(max-width:560px){.field input{font-size:16px}}

/* ---------- searchable passport picker ----------
   73 passports in a native <select> meant scrolling and hoping. This is a
   combobox: type to filter, arrows to move, Enter to pick. The list is
   absolutely positioned, so .tool-primary must never get overflow:hidden. */
.combo{position:relative}
.combo .combo-input{padding-right:38px}
.combo::after{content:"";position:absolute;right:15px;top:calc(50% + 1px);width:0;height:0;pointer-events:none;
  border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid var(--ink-3)}
.combo.is-open::after{transform:rotate(180deg)}
.combo-list{position:absolute;z-index:40;left:0;right:0;top:calc(100% + 6px);margin:0;padding:6px;
  max-height:266px;overflow:auto;list-style:none;background:#3B332A;border:1px solid var(--line-2);
  border-radius:var(--r);box-shadow:0 20px 44px rgba(0,0,0,.46)}
.combo-list[hidden]{display:none}
.combo-list li{padding:9px 12px;border-radius:4px;font-size:14.5px;color:var(--ink);cursor:pointer;line-height:1.35}
.combo-list li:hover{background:rgba(245,240,230,.07)}
.combo-list li.is-active{background:rgba(224,56,42,.20)}
.combo-list li[aria-selected="true"]{color:var(--accent);font-weight:600}
.combo-list li.combo-sep{margin-top:6px;border-top:1px solid var(--line);border-radius:0;padding-top:10px;color:var(--ink-3)}
.combo-empty{padding:10px 12px;font-size:13.5px;color:var(--ink-3);cursor:default}
.combo-hint{margin:7px 0 0;font-size:12px;color:var(--ink-3)}

/* context carried in from a destination / service CTA */
.focus-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px;padding:11px 14px;border:1px solid rgba(224,56,42,.35);border-radius:var(--r);background:rgba(224,56,42,.09)}
.focus-bar[hidden]{display:none}
.focus-label{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);font-weight:600}
.focus-chip{display:inline-flex;align-items:center;gap:8px;padding:5px 6px 5px 12px;border-radius:99px;background:var(--accent);color:#fff;font-size:14px;font-weight:600;letter-spacing:.01em}
.focus-chip button{width:20px;height:20px;flex:none;display:grid;place-items:center;border:none;border-radius:50%;background:rgba(0,0,0,.22);color:#fff;font-size:15px;line-height:1;cursor:pointer;padding:0}
.focus-chip button:hover{background:rgba(0,0,0,.4)}
.tool-result{margin-top:20px;padding:18px 20px;border-radius:var(--r);background:var(--paper-2);border:1px solid var(--line);color:var(--ink-2);font-size:15px;display:none}
.tool-result.show{display:block}
.tool-result b{color:var(--ink)}
.badge{display:inline-block;padding:3px 11px;border-radius:var(--r);font-size:12.5px;font-weight:700;letter-spacing:.02em}
.badge.ok{background:#234A3E;color:#9FE3CB}
.badge.warn{background:#5A2A20;color:#F2B6A8}
.note{font-size:12.5px;color:var(--ink-3);margin-top:12px}

/* ---------- destination chips ---------- */
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{padding:9px 17px;border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:500;color:var(--ink);background:transparent;cursor:pointer;transition:.15s}
.chip:hover{border-color:var(--accent);color:var(--accent)}
.chip.on{background:var(--accent);color:#fff;border-color:var(--accent)}

/* ---------- table ---------- */
table.tbl{width:100%;border-collapse:collapse;font-size:14.5px;margin-top:10px}
table.tbl th,table.tbl td{border:1px solid var(--line);padding:11px 13px;text-align:left}
table.tbl th{background:var(--paper-2);color:var(--ink);font-weight:700;font-family:var(--sans);font-size:13px;letter-spacing:.04em;text-transform:uppercase}
table.tbl td{color:var(--ink-2)}
table.tbl td .dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;vertical-align:middle}

/* ---------- blog ---------- */
.post{display:grid;grid-template-columns:210px 1fr;gap:22px;padding:22px 0;border-bottom:1px solid var(--line);transition:.15s}
.post:hover{background:var(--paper-2)}
.post .thumb{height:128px;border-radius:var(--r);background:var(--paper-2);border:1px solid var(--line);display:grid;place-items:center;font-size:34px;color:var(--ink-3)}
.post h3{font-size:19px;color:var(--ink);line-height:1.2}
.post .meta{font-size:13px;color:var(--ink-3);margin:5px 0 8px;letter-spacing:.02em}
.article{max-width:720px;margin:0 auto}
.article h1{font-size:clamp(32px,4.4vw,46px);color:var(--ink);line-height:1.1}
.article h2{font-size:25px;color:var(--ink);margin:36px 0 12px}
.article p{margin:15px 0;font-size:17px;color:var(--ink-2)}
.article .meta{color:var(--ink-3);font-size:14px;margin-bottom:20px;letter-spacing:.02em}

/* ---------- form ---------- */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-grid .full{grid-column:1/-1}
.form-wrap{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:32px}
.alert{display:none;padding:13px 17px;border-radius:var(--r);font-size:14.5px;margin-top:14px;font-weight:600}
.alert.show{display:block}
.alert.ok{background:#234A3E;color:#9FE3CB}
.alert.err{background:#5A2A20;color:#F2B6A8}

/* ---------- footer ---------- */
#site-footer{background:var(--footer-bg);color:#CFC9BC;padding:58px 0 28px;margin-top:20px}
#site-footer h4{color:#fff;font-family:var(--sans);font-size:13px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:16px;font-weight:600}
#site-footer a{color:#B6AFA0;font-size:14px;display:block;padding:6px 0;transition:.15s}
#site-footer a:hover{color:var(--accent)}
.f-cols{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;gap:32px}
.f-brand .logo{color:#fff}.f-brand .logo .wm{color:var(--accent)}
/* #site-footer a (id specificity) would otherwise flatten the wordmark to 14px
   with 6px padding — the footer logo has to match the header logo. */
#site-footer .f-brand .logo{
  font:700 27px/1 var(--sans);letter-spacing:-.022em;gap:11px;padding:0
}
#site-footer .f-brand .logo .mark{width:34px;height:34px}
@media(max-width:400px){
  #site-footer .f-brand .logo{font-size:24px;gap:9px}
  #site-footer .f-brand .logo .mark{width:30px;height:30px}
}
.f-brand p{font-size:14px;margin-top:14px;max-width:300px;color:#B6AFA0}
.f-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:38px;padding-top:20px;font-size:13px;color:#8C8678;display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:10px 28px}
.f-copy{letter-spacing:.005em}

/* ---------- misc ---------- */
.breadcrumb{font-size:13.5px;color:var(--ink-3);padding:20px 0 0}
.breadcrumb a{color:var(--accent)}

/* ---------- tool upgrades (v4) ---------- */
.badge.info{background:#1F3A52;color:#9CCBEF}
.badge.amber{background:#4A3A18;color:#F0CE8A}
.tool-sub{font-size:13.5px;color:var(--ink-3);margin:-2px 0 16px;line-height:1.55}
.tool-hint{font-size:12.5px;color:var(--ink-3);margin-top:10px;line-height:1.5}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.kv{display:grid;grid-template-columns:auto 1fr;gap:9px 18px;margin:14px 0;font-size:14.5px}
.kv dt{color:var(--ink-3);white-space:nowrap}
.kv dd{margin:0;color:var(--ink)}
/* Below 560px the nowrap label eats the value column: "Where you may stay" is
   ~130px of a 276px card, which leaves the stay area a 98px sliver that sets
   "Beijing Capital International Airport" one word per line. Stack instead. */
@media(max-width:560px){
  .kv{grid-template-columns:1fr;gap:2px}
  .kv dt{white-space:normal;margin-top:10px;font-size:11px;font-weight:700;
    letter-spacing:.06em;text-transform:uppercase}
  .kv dt:first-child{margin-top:0}
  .kv dd{margin:0 0 2px;line-height:1.45}
}
/* verdict badge + the passport that earned it: one line while it fits, and the
   country name never breaks in half ("United" / "States") when it does not */
.badge-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.badge-line .muted{white-space:nowrap}
.brk{width:100%;border-collapse:collapse;font-size:14px;margin-top:8px}
.brk th,.brk td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:left}
.brk th{color:var(--ink-3);font-weight:600;font-size:12px;letter-spacing:.05em;text-transform:uppercase}
.brk td.n,.brk th.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.brk tr.tot td{border-top:2px solid var(--line);border-bottom:none;font-weight:700;color:var(--ink);padding-top:12px}
.brk td{color:var(--ink-2)}
.tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.small{font-size:12.5px}
.card-flag{display:inline-block;font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:6px;margin-left:6px;vertical-align:middle}
.card-flag.hot{background:#5A2A20;color:#F2B6A8}
.card-flag.ok{background:#234A3E;color:#9FE3CB}
.card-flag.mid{background:#4A3A18;color:#F0CE8A}
.print-title{display:none}
.chk{display:flex;gap:11px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--line);cursor:pointer;font-size:14.5px;color:var(--ink)}
.chk:last-child{border-bottom:none}
.chk input{width:18px;height:18px;flex:none;margin-top:2px;accent-color:var(--accent)}
.card-lite{background:var(--paper-2);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.card-lite h4{margin:0 0 8px;color:var(--ink);font-size:15px}
.card-lite p{margin:0;color:var(--ink-2);font-size:14px;line-height:1.55}
@media (max-width:820px){
  .two-col{grid-template-columns:1fr}
}
@media print{
  /* Paper margin, stated rather than hoped for. The printable tools put a
     bordered card on the sheet; with the browser's margins set to "None" (a
     setting people really do choose) that border lands on the sheet edge, where
     most printers cannot reach, and half of it is cut. This is the only place a
     page-level margin can be declared, so it covers every printable page. */
  @page{margin:12mm}
  header,footer,.page-hero,.breadcrumb,.note,.tool-hint,.no-print,.btn,.site-header,script,.band-soft{display:none!important}
  body{background:#fff!important;color:#000!important;padding:0!important}
  .wrap{max-width:none!important}
  .tool-wrap,.tool-result,.card-lite{background:#fff!important;color:#000!important;border:1px solid #bbb!important;box-shadow:none!important}
  .tool-result b,.tool-result,.tool-wrap h3,.tool-wrap p,.tool-wrap li{color:#000!important}
  .print-title{display:block!important;font-size:18px;margin:0 0 10px;color:#000!important}
  .muted,.small{color:#444!important}
  .field{display:none!important}
  .badge{border:1px solid #999!important;color:#000!important;background:#fff!important}
  a{color:#000!important;text-decoration:none!important}
  .brk th,.brk td{border-color:#ccc!important;color:#000!important}
  /* table.tbl th carries its own background and colour (0,1,2 specificity), so
     the .tool-wrap rule above never reached it: on paper the header printed as a
     dark bar with dark labels. The emergency and diet cards both print tables. */
  table.tbl th{background:#fff!important;color:#000!important;border-color:#ccc!important}
  table.tbl td{color:#000!important;border-color:#ccc!important}
}

/* ---------- legal pages ---------- */
.f-legal{display:inline-flex;align-items:center;gap:8px}
.f-legal a{display:inline;padding:0;font-size:13px;color:#B6AFA0}
.f-legal a:hover{color:var(--accent)}
.f-legal .sep{color:#6F6A5E;font-size:12px}
.legal-meta{font-size:13px;color:var(--ink-3);letter-spacing:.02em;margin:0 0 22px}

/* ---------- legal documents (privacy / terms) ----------
   These two ran as a 720px column centred in a 1300px page: half the screen
   empty, and a 14-entry table of contents buried above the fold. Now the TOC
   is a sticky rail on the left and the document itself takes the rest, capped
   at 840px so lines stay readable. */
.legal-grid{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:clamp(32px,3.6vw,56px);align-items:start}
.legal-aside{position:sticky;top:96px;max-height:calc(100vh - 120px);overflow:auto}
.legal-aside .legal-meta{margin:0 0 12px}
.article.legal-body{max-width:880px;margin:0}
.legal-body p{font-size:16.5px;line-height:1.72}
.legal-body h2{font-size:24px;margin:38px 0 12px;padding-top:6px}
.legal-body h2:first-of-type{margin-top:26px}

.legal-toc{background:var(--paper-2);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px}
.legal-toc b{display:block;margin-bottom:6px;color:var(--ink-3);font-size:11.5px;letter-spacing:.14em;text-transform:uppercase}
.legal-toc a,.article .legal-toc a{display:block;margin:0;padding:7px 0;font-size:14px;line-height:1.4;color:var(--ink-2);text-decoration:none;border-bottom:1px solid rgba(245,240,230,.09);transition:.16s}
.legal-toc a:last-child{border-bottom:0;padding-bottom:2px}
.legal-toc a:hover{color:var(--accent);border-bottom-color:rgba(224,56,42,.4)}

@media(max-width:900px){
  .legal-grid{grid-template-columns:1fr;gap:22px}
  .legal-aside{position:static;max-height:none;overflow:visible}
  .legal-toc{display:flex;flex-wrap:wrap;gap:0 18px}
  .legal-toc b{width:100%;margin-bottom:2px}
  .legal-toc a,.article .legal-toc a{display:inline-block;border-bottom:1px solid rgba(245,240,230,.16);padding:5px 0}
}

/* Legal documents start higher than a marketing section: the H1 already sits
   in the photo hero above, so 108px of air here just pushes the text down. */
section.legal{padding:clamp(40px,4vw,64px) 0 clamp(56px,5vw,88px)}
.article h3{font-size:19px;color:var(--ink);margin:28px 0 10px}
.article ul,.article ol{margin:14px 0 14px 22px;color:var(--ink-2);font-size:16px;line-height:1.65}
.article li{margin:7px 0}
.article a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.article hr{border:none;border-top:1px solid var(--line);margin:34px 0}
.legal-note{background:var(--paper-2);border-left:3px solid var(--accent);padding:14px 18px;border-radius:0 var(--r) var(--r) 0;color:var(--ink-2);font-size:14.5px;line-height:1.6;margin:20px 0}
.page-hero{background:var(--paper-2);border-bottom:1px solid var(--line);padding:42px 0}
.page-hero h1{font-size:clamp(32px,4vw,44px);color:var(--ink)}
.page-hero p{color:var(--ink-2);margin-top:10px;font-size:16.5px;max-width:680px}
.stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:10px;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.stat{border-right:1px solid var(--line);padding:26px 22px}
.stat:last-child{border-right:none}
.stat b{display:block;font-family:var(--serif);font-size:34px;color:var(--accent);font-weight:600}
.stat span{font-size:13.5px;color:var(--ink-3)}

/* promoted inline-grid layouts (responsive) */
.split-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;align-items:start}
.contact-grid{display:grid;grid-template-columns:1fr 360px;gap:40px;align-items:start}

/* tighten nav spacing on mid-width desktops so the larger type still fits */
@media(max-width:1140px){
  .nav>a,.nav .has-menu>a{padding-left:10px;padding-right:10px}
  .nav a.on::after{left:10px;right:10px}
  .nav{gap:0}
  .h-inner{gap:16px}
}

@media(max-width:920px){
  .g-3,.g-4,.dest-grid{grid-template-columns:repeat(2,1fr)}
  .split,.tool-row,.form-grid,.post,.split-2,.contact-grid{grid-template-columns:1fr}
  .post .thumb{height:90px}
  .f-cols{grid-template-columns:1fr 1fr}
  .nav{display:none}.h-menu-btn{display:block}
  .nav.open{display:flex;position:absolute;top:74px;left:0;right:0;background:var(--surface);flex-direction:column;align-items:stretch;margin-left:0;gap:0;padding:12px;border-bottom:1px solid var(--line);box-shadow:0 16px 40px rgba(0,0,0,.45);max-height:calc(100vh - 74px);overflow-y:auto}
  .nav.open>a,.nav.open .has-menu>a{display:block;padding:13px 12px;font-size:16.5px}
  .nav.open .has-menu{display:block;padding-bottom:0;margin-bottom:0}
  .nav.open .has-menu>a{display:flex;align-items:center;justify-content:space-between;width:100%}
  .nav.open .has-menu>a .caret{opacity:.9}
  .nav.open a.on::after{display:none}
  .nav.open a.on{color:#fff;background:rgba(255,255,255,.06);border-radius:var(--r)}
  /* On a phone the panel is not a panel: it unfolds inline under its trigger,
     single column, titles only — descriptions would triple the menu height and
     nobody reads them with a thumb. The footer link stays so "all eight guides"
     is still one tap away. */
  .nav.open .mega{position:static;opacity:1;visibility:visible;transform:none;pointer-events:auto;background:none;border:0;box-shadow:none;padding:0;margin:2px 0 10px}
  .nav.open .mega-in{display:block;max-width:none;margin:0;padding:0}
  .nav.open .mega-body{display:block}
  .nav.open .mega-eyebrow,.nav.open .mega-promo,.nav.open .mega-note,.nav.open .mega-d{display:none}
  .nav.open .mega-cols{grid-template-columns:1fr;gap:3px}
  .nav.open .mega-item{padding:12px 14px;background:var(--paper-2);border-radius:var(--r)}
  .nav.open .mega-foot{border-top:0;margin-top:4px;padding:8px 14px 2px}
  .nav.open .cta{margin:10px 0 0;justify-content:center;padding:14px 16px;font-size:16px}
}
@media(max-width:560px){.g-2,.g-3,.g-4,.dest-grid,.f-cols{grid-template-columns:1fr}.stat-row{grid-template-columns:1fr 1fr}.stat:nth-child(2){border-right:none}}

/* ---------- real photography ---------- */
.hero .plate img.hero-img{width:100%;height:100%;object-fit:cover}

/* photo banner page-hero (destination & service pages) */
.page-hero{position:relative;overflow:hidden}
.page-hero.has-photo{padding:96px 0 64px}
.page-hero .ph-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
/* The mid stop used to sit at .40, which left the white copy at 3.6:1 over the
   bright part of the passport photo — below the 4.5:1 AA floor for 14–16px
   text. Measured after the change: 5.13:1 (390px) and 5.17:1 (1440px), with the
   photo keeping ~76% of its previous brightness. */
.page-hero .ph-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(20,18,14,.60) 0%,rgba(20,18,14,.54) 55%,rgba(20,18,14,.68) 100%)}
.page-hero.has-photo .wrap{position:relative;z-index:2}
.page-hero.has-photo h1{color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.35)}
.page-hero.has-photo p{color:rgba(255,255,255,.94);text-shadow:0 1px 8px rgba(0,0,0,.4);max-width:680px}
.page-hero.has-photo .breadcrumb{color:rgba(255,255,255,.8);text-shadow:0 1px 6px rgba(0,0,0,.4)}
.page-hero.has-photo .breadcrumb a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.page-hero.has-photo .tag{color:#fff;border-color:rgba(255,255,255,.75);margin-bottom:14px}
.page-hero.has-photo .meta{color:rgba(255,255,255,.82);font-size:14px;letter-spacing:.02em;margin:12px 0 0;text-shadow:0 1px 6px rgba(0,0,0,.4)}

/* photo cards (destinations / services grids) */
.card.photo-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.card.photo-card::before{display:none}
.card.photo-card .pc-img{aspect-ratio:3/2;height:auto;width:100%;object-fit:cover;border-bottom:1px solid var(--line);background:var(--paper-2);transition:transform .7s cubic-bezier(.2,.7,.3,1)}
.card.photo-card:hover .pc-img{transform:scale(1.03)}
.card.photo-card .pc-body{padding:clamp(20px,1.55vw,26px) clamp(22px,1.7vw,28px) clamp(22px,1.8vw,30px)}
.card.photo-card:hover{background:transparent;border-color:var(--line-2)}
.card.photo-card h3{font-size:clamp(20px,1.5vw,26px);color:var(--ink);letter-spacing:-.015em;margin-bottom:7px}
.card.photo-card .pc-body p{font-size:clamp(14.5px,.95vw,15.5px)}
/* ninth tile — an action, not a destination */
.card.dest-all{display:flex;flex-direction:column;justify-content:center;gap:10px;border-style:dashed;background:rgba(255,255,255,.02);padding:clamp(26px,2.2vw,38px)}
.card.dest-all h3{font-size:clamp(20px,1.5vw,24px);color:var(--ink);margin:0}
.card.dest-all p{color:var(--ink-3);font-size:14.5px}
.card.dest-all .more{margin-top:4px}

/* inverted tools card on services grid */
.card.card-ink{background:var(--surface);border-color:var(--line)}
.card.card-ink h3{color:var(--ink)}
.card.card-ink p{color:var(--ink-2)}
.card.card-ink .more{color:var(--accent)}

/* ============================================================
   Destination guide — 6-section editorial template
   01 positioning · 02 attractions · 03 months · 04 visa & pay
   05 cases · 06 FAQ
   ============================================================ */

/* in-page jump bar, pinned under the 74px sticky header */
.dest-nav{position:sticky;top:74px;z-index:30;background:rgba(46,40,32,.95);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.dest-nav .wrap{display:flex;align-items:center;gap:4px;height:52px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}
.dest-nav .wrap::-webkit-scrollbar{display:none}
.dest-nav a{flex:none;font-size:13.5px;font-weight:600;letter-spacing:.015em;color:var(--ink-3);padding:7px 12px;border-radius:999px;white-space:nowrap;transition:.15s}
.dest-nav a:hover{color:var(--ink);background:rgba(255,255,255,.055)}
.dest-nav a b{font-family:var(--serif);font-size:11.5px;font-weight:600;color:var(--accent);margin-right:6px}
.dest-nav .dn-cta{margin-left:auto;margin-right:0;color:#fff;background:var(--accent);padding:8px 15px}
.dest-nav .dn-cta:hover{background:var(--accent-d);color:#fff}

/* 01 — positioning */
.pos{display:grid;grid-template-columns:1.4fr .9fr;gap:56px;align-items:start}
.pos .s-head{margin-bottom:0}
.pos-lead{font-size:18.5px;line-height:1.6;color:var(--ink);margin-top:20px;letter-spacing:-.005em;max-width:34em}
.pos-body p{color:var(--ink-2);font-size:16px;line-height:1.68;margin-top:16px;max-width:40em}
.pos-side{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--surface)}
.pos-box{padding:24px 26px}
.pos-box+.pos-box{border-top:1px solid var(--line)}
.pos-box h3{font-family:var(--sans);font-size:11.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);margin-bottom:10px}
.pos-box.yes h3{color:var(--jade-2)}
.pos-box.no h3{color:var(--gold)}
.pos-box ul{list-style:none}
.pos-box li{position:relative;padding:8px 0 8px 21px;font-size:14.5px;line-height:1.55;color:var(--ink-2)}
.pos-box.yes li::before{content:"";position:absolute;left:0;top:16px;width:9px;height:5px;border-left:1.5px solid var(--jade-2);border-bottom:1.5px solid var(--jade-2);transform:rotate(-45deg)}
.pos-box.no li::before{content:"";position:absolute;left:0;top:18px;width:8px;height:1px;background:var(--gold)}

/* 02 — attraction cards */
.attr-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.attr-card{position:relative;border:1px solid var(--line);border-radius:var(--r);padding:0;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,0));transition:.18s;display:flex;flex-direction:column;overflow:hidden}
.attr-card:hover{border-color:var(--line-2);background:linear-gradient(180deg,rgba(224,56,42,.075),rgba(255,255,255,.01))}
.attr-fig{position:relative;margin:0;aspect-ratio:16/10;overflow:hidden;background:#1C1813;border-bottom:1px solid var(--line)}
.attr-img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.3,1)}
.attr-card:hover .attr-img{transform:scale(1.045)}
.attr-no{position:absolute;left:0;bottom:0;z-index:2;padding:5px 11px 6px;background:var(--accent);color:#fff;font-family:var(--serif);font-size:11.5px;font-weight:600;letter-spacing:.1em;line-height:1}
.attr-body{display:flex;flex-direction:column;flex:1;padding:20px 22px 0}
.attr-card h3{font-size:18.5px;line-height:1.28;color:var(--ink);margin-bottom:8px}
.attr-card p{font-size:14px;line-height:1.6;color:var(--ink-2);flex:1}
.attr-meta{margin:16px 0 0;padding:12px 22px;border-top:1px solid var(--line);font-size:12.5px;letter-spacing:.025em;color:var(--ink-3);font-weight:500}

/* 03 — month chart */
.when-best{margin:0 0 26px;font-size:16.5px;color:var(--ink-2)}
.when-best strong{color:var(--gold);font-family:var(--serif);font-size:18px;font-weight:600}
.month-chart{display:grid;grid-template-columns:repeat(12,1fr);gap:9px;align-items:end}
.m-col{display:flex;flex-direction:column;align-items:center;gap:9px}
.m-track{width:100%;height:108px;display:flex;align-items:flex-end;background:rgba(255,255,255,.045);border-radius:3px;overflow:hidden}
.m-fill{width:100%;border-radius:3px 3px 0 0}
.m-fill.r5{background:var(--gold)}
.m-fill.r4{background:var(--accent)}
.m-fill.r3{background:#6E6455}
.m-fill.r2{background:#4C4337}
.m-lbl{font-size:11.5px;font-weight:600;letter-spacing:.05em;color:var(--ink-3);text-transform:uppercase}
.m-col.peak .m-lbl{color:var(--gold)}
.m-dot{width:5px;height:5px;border-radius:50%;background:transparent}
.m-col.peak .m-dot{background:var(--gold)}
.m-legend{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:22px;font-size:12.5px;color:var(--ink-3)}
.m-legend span{display:inline-flex;align-items:center;gap:7px}
.m-legend i{width:10px;height:10px;border-radius:2px;flex:none}
.when-note{font-size:15px;line-height:1.68;color:var(--ink-2);margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}

/* 04 — visa & payment */
.prac-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.prac-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:28px 26px}
.prac-head{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.prac-ico{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:50%;background:rgba(224,56,42,.15);color:var(--accent)}
.prac-card h3{font-size:20px;color:var(--ink)}
.prac-lead{font-size:14.5px;line-height:1.6;color:var(--ink-3);padding-bottom:4px}
.prac-card ul{list-style:none;margin-top:10px}
.prac-card li{position:relative;padding:11px 0 11px 19px;font-size:14.5px;line-height:1.62;color:var(--ink-2);border-bottom:1px solid var(--line)}
.prac-card li:last-child{border-bottom:none;padding-bottom:4px}
.prac-card li::before{content:"";position:absolute;left:0;top:19px;width:8px;height:1px;background:var(--accent)}
.prac-card .prac-link{display:inline-block;margin-top:16px;font-size:13.5px;font-weight:600;color:var(--accent);border-bottom:1px solid rgba(224,56,42,.4);padding-bottom:2px}
.prac-card .prac-link:hover{color:var(--accent-d);border-bottom-color:var(--accent-d)}

/* 05 — case quotes */
.case-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.case-card{position:relative;border:1px solid var(--line);border-radius:var(--r);padding:clamp(38px,2.7vw,48px) clamp(26px,2vw,34px) clamp(24px,1.9vw,30px);background:rgba(255,255,255,.03);display:flex;flex-direction:column}
.case-card::before{content:"\201C";position:absolute;top:4px;right:22px;font-family:var(--serif);font-size:72px;line-height:1;color:rgba(224,56,42,.26)}
.case-q{font-family:var(--serif);font-size:clamp(17.5px,1.45vw,22px);line-height:1.52;color:var(--ink);font-weight:500;position:relative;flex:1;letter-spacing:-.008em}
.case-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.case-who{font-size:13.5px;font-weight:600;color:var(--ink-2)}
.case-tag{font-size:10.5px;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-3);border:1px solid var(--line);border-radius:99px;padding:3px 10px}

/* 06 — FAQ */
.faq-grid{column-count:2;column-gap:44px}
.faq-item{break-inside:avoid;display:inline-block;width:100%;padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.faq-item h3{font-family:var(--sans);font-size:15.5px;font-weight:600;line-height:1.45;color:var(--ink);margin-bottom:8px;display:flex;gap:10px}
.faq-item h3 .qn{font-family:var(--serif);font-size:13px;font-weight:600;color:var(--accent);flex:none;padding-top:2px}
.faq-item p{font-size:14.5px;line-height:1.66;color:var(--ink-2)}

@media(max-width:1120px){.attr-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:960px){.attr-grid{grid-template-columns:repeat(2,1fr)}}
/* a seven-item list leaves one card stranded in the last row until 4 columns kicks in
   — let it fill the row and read sideways instead */
@media(min-width:621px) and (max-width:1120px){
  .attr-grid[data-count="7"]>.attr-card:last-child{grid-column:1/-1;flex-direction:row;flex-wrap:wrap}
  .attr-grid[data-count="7"]>.attr-card:last-child .attr-fig{flex:0 0 40%;aspect-ratio:auto;min-height:220px;border-bottom:0;border-right:1px solid var(--line)}
  .attr-grid[data-count="7"]>.attr-card:last-child .attr-body{padding:26px 28px 0;justify-content:center}
  .attr-grid[data-count="7"]>.attr-card:last-child h3{font-size:21px;margin-bottom:10px}
  .attr-grid[data-count="7"]>.attr-card:last-child .attr-meta{flex:0 0 100%;margin:16px 0 0}
}
@media(max-width:920px){
  .dest-nav{position:static}
  .pos,.prac-grid,.case-grid{grid-template-columns:1fr}
  .pos{gap:34px}
  .attr-grid{gap:14px}
  .faq-grid{column-count:1}
}
@media(max-width:700px){
  .month-chart{gap:5px}
  .m-track{height:82px}
  .m-lbl{font-size:9.5px;letter-spacing:0}
  .case-q{font-size:16px}
}
@media(max-width:620px){
  .attr-grid{grid-template-columns:1fr}
  .pos-lead{font-size:17px}
  .prac-card{padding:24px 20px}
}

/* print — destination components */
@media print{
  .dest-nav{display:none!important}
  .pos{grid-template-columns:1fr}
  .attr-card,.case-card,.prac-card,.pos-side,.pos-box{background:#fff!important;border-color:#bbb!important}
  .attr-card{break-inside:avoid}
  .attr-fig{aspect-ratio:16/9;border-color:#bbb!important}
  .attr-img{filter:contrast(1.05)}
  .attr-card h3,.case-q,.prac-card h3,.pos-box h3,.faq-item h3,.when-best strong{color:#000!important}
  .attr-card p,.case-who,.prac-card li,.prac-lead,.faq-item p,.pos-box li,.when-note,.when-best{color:#222!important}
  /* the destination pages keep the light-on-dark palette on paper: the four
     section headings printed at rgb(245,240,230) — near white on white, so
     printing the Zhejiang page gave you four blank headings */
  .s-head h2,h2.u-fs28-ink{color:#000!important}
  .pos-lead,.pos-body p,.s-head p,p.note{color:#222!important}
  .wb-bad,.case-tag{color:#444!important}
  .attr-meta{border-color:#bbb!important;color:#444!important;background:#fff!important}
  .m-track{background:#eee!important}
  /* A bar painted with a background colour disappears when the print dialog
     leaves "Background graphics" off — which is the DEFAULT. Verified with
     Chrome's PDF export at printBackground:false: the tracks printed, the
     bars did not. Borders always print, so on paper the bar is a top border
     whose width is the score. */
  .m-track{height:96px!important;border:1px solid #DDD!important}
  .m-fill{height:0!important;background:none!important;border:0!important;
    border-top-style:solid!important;border-top-color:#7A7A7A!important;
    border-radius:2px 2px 0 0!important}
  .m-fill.r2{border-top-width:38px!important}
  .m-fill.r3{border-top-width:57px!important}
  .m-fill.r4{border-top-width:76px!important}
  .m-fill.r5{border-top-width:95px!important}
  .m-lbl,.m-legend{color:#333!important}
  .faq-grid{column-count:1}
  .faq-item{border-color:#ccc!important}
}

/* --- destination template refinements --- */
.when-best{display:flex;flex-wrap:wrap;gap:8px 34px;align-items:baseline}
.when-best .wb-good strong{color:var(--gold)}
.when-best .wb-bad{color:var(--ink-3)}
.when-best .wb-bad strong{color:var(--ink-2);font-family:var(--serif);font-size:18px;font-weight:600}

/* visa / payment cards: pin the links to the card floor */
.prac-grid{max-width:1080px}
.prac-card{display:flex;flex-direction:column}
.prac-card ul{margin-bottom:18px}
.prac-ico{color:var(--ink)}
.prac-card .prac-link{align-self:flex-start;margin-top:auto}
.prac-card .prac-link+.prac-link{margin-top:10px}

@media(max-width:920px){
  /* signal that the jump bar scrolls sideways */
  .dest-nav .wrap{
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent);
    mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent);
  }
}
@media(max-width:560px){
  .page-hero.has-photo{padding:54px 0 42px}
  .when-best{display:block}
  .when-best .wb-bad{display:block;margin-top:6px}
}

/* partner cases read as case notes, not quotations */
.case-card.case-nq::before{display:none}
.case-card.case-nq .case-q{font-size:clamp(16px,1.15vw,18.5px);line-height:1.62}

/* ---------- tools index (compact mosaic) ----------
   Seven links is the entire page, and the old layout spent 2,681px of scroll
   on them: four sections at 108px top/bottom padding, two 98px section heads
   and 182px cards. The tiles now live in one 4-column mosaic (06 + the setup
   checklist spanning two cells) so the whole set lands above the fold on a
   1440x900 laptop, and the two former section headings survive as 10.5px
   kickers inside each card instead of 58px serif blocks between them. */
.page-hero.hero-tight { padding:30px 0 22px }
.hero-tight h1 { font-size:clamp(28px,3.1vw,38px) }
.hero-tight p { margin-top:8px;font-size:15.5px;line-height:1.5;max-width:600px }

.tools-index { padding:24px 0 0 }
.tools-head { display:flex;align-items:baseline;justify-content:space-between;gap:10px 24px;flex-wrap:wrap;margin:0 0 16px }
.tools-head h2 { font-size:clamp(18px,1.45vw,22px);font-weight:600;letter-spacing:-.012em;color:var(--ink) }
.tools-note { margin:0;color:var(--ink-3);font-size:13.5px }

.tools-grid > .card { display:flex;flex-direction:column;padding:14px 18px 12px }
.tools-grid > .card::before { top:14px;right:16px;font-size:11.5px }
.tools-grid > .card .kick { display:block;font:600 10.5px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);margin-bottom:8px }
.tools-grid > .card h3 { font-size:17.5px;letter-spacing:-.008em;margin:0 0 5px }
.tools-grid > .card p { font-size:13.5px;line-height:1.5 }
.tools-grid > .card .more { margin-top:auto;padding-top:9px;font-size:12.5px }
/* every 4th tile starts a new row, so the -1px hairline overlap would push it
   1px out of the container's left edge */
.tools-grid > .card:nth-child(4n+1) { margin-left:0 }

.tools-grid > .card.tools-setup { grid-column:span 2;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;background:rgba(255,255,255,.035) }
.tools-grid > .card.tools-setup::before { display:none }
.tools-grid > .card.tools-setup:hover { background:rgba(255,255,255,.06) }
.tools-setup .ts-copy { display:block;min-width:0 }
.tools-grid > .card.tools-setup h3 { margin:0 0 4px }
.tools-grid > .card.tools-setup .more { margin:0;padding:0;white-space:nowrap;flex:0 0 auto }

/* Two of the eight cards are printable lists, not interactive tools, and they
   used to be one wide "Also free" strip at the bottom. A second list turned
   that strip into a half-empty row: 8 units of a 4-wide grid need all eight
   cards the same size. Both are normal cards now and the tint carries the
   distinction instead of the width. */
.tools-grid > .card.tools-alt { background:rgba(255,255,255,.035) }
.tools-grid > .card.tools-alt:hover { background:rgba(255,255,255,.06) }
.tools-grid > .card.tools-setup { grid-column:auto;flex-direction:column;
  align-items:stretch;justify-content:flex-start;gap:0 }
.tools-grid > .card.tools-setup .more { margin:auto 0 0;padding-top:9px;
  white-space:normal;flex:none }

.tools-cta { margin-top:22px;border-top:1px solid var(--line);padding:20px 0 26px }
.tools-cta > .wrap { display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap }
.tools-cta b { display:block;font-family:var(--serif);font-size:19px;font-weight:600;letter-spacing:-.01em;color:var(--ink) }
.tools-cta p { margin:3px 0 0;color:var(--ink-2);font-size:14px }

@media(max-width:920px){
  .tools-grid > .card:nth-child(4n+1) { margin-left:-1px }
  .tools-grid > .card:nth-child(2n+1) { margin-left:0 }
}
@media(max-width:560px){
  .tools-grid > .card.tools-setup { grid-column:auto;flex-direction:column;align-items:flex-start }
  .tools-grid > .card.tools-setup .more { padding-top:9px }
  .tools-cta > .wrap { flex-direction:column;align-items:flex-start }
}

/* ---------- tool pages (v5): the tool comes before the fold ----------
   The seven tool pages had inherited the editorial hero (96/64 padding) and
   the site-wide section rhythm (108px top). On a 1440x900 screen the first
   input sat at y≈500 — half a viewport of banner before you could touch
   anything, and the same silhouette on all seven pages.

   Three hero shapes are now in use so no two tools open identically:
     .hero-tool   short photo band            (besttime, hotels, visa)
     .hero-split  text left, photo right      (diet, cost)
     .hero-flat   no photo, tinted band       (emergency, setup)
   Only the tool pages carry these classes; every other page keeps the
   editorial hero unchanged. */
.page-hero.hero-tool{padding:38px 0 26px}
.hero-tool h1{font-size:clamp(26px,2.7vw,35px)}
.hero-tool p{margin-top:7px;font-size:15.5px;line-height:1.5;max-width:620px}
.hero-tool .breadcrumb{padding:0;margin-bottom:9px;font-size:12.5px}

/* text left, photo right. The photo is a 34% panel rather than a full-bleed
   band, so the banner halves in height without losing real photography. */
.page-hero.hero-split{position:relative;padding:34px 0 28px;background:var(--paper-2);
  border-bottom:1px solid var(--line);overflow:hidden}
.hero-split .ph-img{position:absolute;top:0;right:0;bottom:0;left:auto;width:34%;max-width:560px;height:100%;object-fit:cover}
.hero-split .ph-overlay{display:none}
.hero-split .wrap{padding-right:min(38%,600px)}
.hero-split h1{color:var(--ink);text-shadow:none;font-size:clamp(26px,2.7vw,35px)}
.hero-split p{color:var(--ink-2);text-shadow:none;margin-top:7px;font-size:15.5px}
.hero-split .breadcrumb{color:var(--ink-3);text-shadow:none;padding:0;margin-bottom:9px;font-size:12.5px}
.hero-split .breadcrumb a{color:var(--accent)}

/* no photo at all — the shortest of the three */
.page-hero.hero-flat{padding:30px 0 24px;background:var(--paper-2);border-bottom:1px solid var(--line)}
.hero-flat .ph-img,.hero-flat .ph-overlay{display:none}
.hero-flat h1{color:var(--ink);text-shadow:none;font-size:clamp(25px,2.6vw,34px)}
.hero-flat p{color:var(--ink-2);text-shadow:none;margin-top:7px;font-size:15.5px;max-width:640px}
.hero-flat .breadcrumb{color:var(--ink-3);text-shadow:none;padding:0;margin-bottom:9px;font-size:12.5px}

/* 108px of air between banner and tool was the real culprit */
section.tool-sec{padding:22px 0 clamp(48px,5.5vw,78px)}

/* --- diet: three panels of options, then a card you can hold up ---
   The picker used to be one two-column grid of thirteen rows, which put "no
   cilantro" beside "severe peanut allergy" and made the page read like a
   settings screen. It is grouped now by what kind of decision it is, and the
   allergy panel is marked, because a mistake in that group is not a wasted
   dish. */
.diet-picks{display:grid;grid-template-columns:1fr;gap:12px}
.diet-grp{background:rgba(0,0,0,.17);border:1px solid var(--line);
  border-radius:var(--r);padding:13px 16px 8px}
.diet-grp-al{background:rgba(224,56,42,.07);border-color:rgba(224,56,42,.32)}
.diet-grp-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  margin:0 0 2px;padding:0 0 8px;border-bottom:1px solid var(--line);
  font-family:var(--sans);font-size:11px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-3)}
.diet-grp-al .diet-grp-h{color:var(--accent)}
.diet-grp-n{flex:none;font-size:11px;font-weight:700;letter-spacing:.02em;
  color:var(--ink-2);background:rgba(255,255,255,.07);border-radius:999px;padding:1px 8px}
.diet-grp-t{margin:6px 0 2px;font-size:12.5px;line-height:1.5;color:var(--ink-3)}
.diet-picks .chk{padding:8px 0}
.diet-chk-warn span{color:var(--accent);font-weight:600}
/* Full width, like the panels above it: `.tool-wrap > p` caps every paragraph
   at 72ch, which left this dashed placeholder sitting as a stub in the corner
   under three full-width panels. The id-less class outranks the child selector
   only by being more specific — hence the compound. */
.tool-wrap>p.diet-empty{max-width:none}
.diet-empty{margin:18px 0 0;padding:20px 16px;border:1px dashed var(--line);
  border-radius:var(--r);font-size:13.5px;color:var(--ink-3);text-align:center}

.diet-phrases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.diet-phrase{background:var(--paper-2);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px 13px}
.dp-en{display:block;font:600 11px/1.4 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);margin-bottom:7px}
.dp-zh{font-size:17px;line-height:1.55;color:var(--ink);font-weight:600}
.dp-py{margin-top:6px;font-size:12.5px;line-height:1.5;color:var(--ink-3)}
@media(max-width:760px){.diet-phrases{grid-template-columns:1fr}}
@media(min-width:1100px){
  .diet-picks{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
  .diet-phrases{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* The card. Paper, not the dark theme: it is the one thing on this page you hold
   up to a stranger, so it has to look the same on a phone at arm's length and on
   a printout. Everything inside it is black on off-white by construction — the
   print rules further down are a belt, not the trousers. */
/* The scroll target is the whole result block, not the card: "Show this to your
   server" sits above the card and was left tucked under the sticky header, so
   the reader landed on an unlabelled white box. */
#d_res.tool-result{margin-top:18px;padding:0;border:0;background:none;border-radius:0;
  scroll-margin-top:96px}
.diet-say{margin:0 0 9px;font-size:12.5px;letter-spacing:.02em;color:var(--ink-3)}
.diet-card{background:#FBF8F1;color:#1A1611;border:1px solid #D9CFBA;
  border-radius:10px;padding:22px 24px 18px;box-shadow:0 10px 30px rgba(0,0,0,.28)}
/* :focus-visible, not :focus. The card takes focus by itself when the reader
   asks for it, and on a phone that ring used to sit around the card for the
   rest of the visit — an accent-red outline, the same colour as the allergy
   warning inside it. Keyboard and screen-reader users still get the ring;
   a thumb does not. */
.diet-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.diet-zh{font-family:var(--serif);font-size:21px;line-height:1.7;font-weight:600;color:#1A1611}
.diet-py{display:block;margin-top:5px;font-size:12.5px;line-height:1.55;color:#6E6353}
.diet-lead,.diet-out{margin:0;font-family:var(--serif);font-size:17px;line-height:1.6;color:#4A4237}
.diet-bul{list-style:none;margin:12px 0 0;padding:0}
.diet-bul li{position:relative;padding:11px 0 11px 20px;border-top:1px solid #E6DDC9}
.diet-bul li::before{content:"";position:absolute;left:2px;top:26px;width:7px;height:7px;
  border-radius:50%;background:var(--accent)}
.diet-warn{margin:12px 0 0;padding:11px 13px;border-radius:6px;
  background:rgba(224,56,42,.08);border:1px solid rgba(224,56,42,.3)}
.diet-warn-zh{margin:0;font-family:var(--serif);font-size:18px;line-height:1.65;
  font-weight:600;color:#8C2318}
.diet-warn .diet-py{margin-top:5px;color:#8C2318;font-size:12px}
.diet-out{margin-top:12px}
.diet-en{margin:14px 0 0;padding-top:11px;border-top:1px dashed #CFC4AC;
  font-size:12.5px;line-height:1.55;color:#5B5244}
.diet-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}

/* full screen: the same card at the distance of a table */
.diet-screen{position:fixed;inset:0;z-index:1200;display:none;align-items:center;
  justify-content:center;padding:24px;background:rgba(18,15,11,.96);overflow:auto}
.diet-screen.on{display:flex}
.diet-screen-in{width:100%;max-width:880px;margin:auto}
.diet-screen .diet-card{box-shadow:none;padding:28px 30px 24px}
.diet-screen .diet-zh{font-size:clamp(24px,3.4vw,38px);line-height:1.6}
.diet-screen .diet-py{font-size:clamp(13px,1.2vw,15px)}
.diet-screen .diet-lead,.diet-screen .diet-out{font-size:clamp(18px,2vw,24px)}
.diet-screen .diet-en{font-size:13.5px}
.diet-close{position:absolute;top:14px;right:16px;width:44px;height:44px;
  border:1px solid rgba(255,255,255,.28);border-radius:50%;background:rgba(0,0,0,.4);
  color:#F5F0E6;font-size:22px;line-height:1;cursor:pointer}
.diet-close:hover{background:rgba(224,56,42,.85);border-color:transparent}
html.diet-lock{overflow:hidden}

/* --- setup: seven numbered steps, a count that follows you down the page ---
   The count used to sit above the list, so by the time you reached item five it
   was two screens behind you. It sticks now, and the fill underneath answers
   "how much is left" without reading a number. */
/* Sampled from the render, not guessed. The card behind this bar is painted
   with a gradient, rgb(75,65,51) → rgb(62,54,43), so the bar has to clear the
   LIGHTEST stop, not the average. #3A322A — the --paper-2 "inset" tone I
   reached for first — is rgb(58,50,42): darker than every pixel of the card,
   so the sticky bar read as a hole punched through it with the count floating
   inside. #5A4F3D sits above the gradient's top stop, and the inset highlight
   plus the cast shadow do the rest of the work of lifting it.
   `top` is the header's exact height (75px, measured) — 78 left a slit. */
.setup-bar{position:sticky;top:75px;z-index:6;margin:0 0 14px;padding:11px 15px 10px;
  background:#5A4F3D;border:1px solid rgba(245,240,230,.22);border-left:3px solid var(--accent);
  border-radius:var(--r);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 12px 28px rgba(0,0,0,.46)}
#setup_prog{display:flex;align-items:baseline;gap:9px;margin:0;font-size:14.5px;color:var(--ink-2)}
#setup_prog b{font-family:var(--serif);font-size:22px;line-height:1;color:var(--accent)}
.setup-of{font-size:12.5px;letter-spacing:.04em;color:var(--ink-3)}
#setup_msg{margin-left:2px}
.setup-track{margin-top:9px;height:4px;border-radius:999px;background:rgba(255,255,255,.09);overflow:hidden}
.setup-fill{height:100%;width:0;background:var(--accent);border-radius:999px;
  transition:width .25s ease}
.setup-fill.done{background:var(--accent)}

/* the heading names the group for a screen reader; the bar already tells
   everyone else what to do */
.setup-h{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip-path:inset(50%);white-space:nowrap;border:0}

#setupItems{counter-reset:setupstep;display:grid;grid-template-columns:1fr;gap:10px}
#setupItems .chk{counter-increment:setupstep;align-items:flex-start;gap:12px;
  padding:14px 16px 13px;background:rgba(0,0,0,.17);border:1px solid var(--line);
  border-radius:var(--r)}
#setupItems .chk::before{content:counter(setupstep);flex:none;width:23px;height:23px;
  border-radius:50%;background:rgba(224,56,42,.16);color:var(--accent);
  font:700 12px/23px var(--sans);text-align:center}
#setupItems .chk:last-child{border-bottom:1px solid var(--line)}
#setupItems input{margin-top:2px}
/* The printed tick is a real element, not a pseudo-element on the checkbox and
   not a background image. Firefox and Safari do not render ::before on form
   controls, and a background-image tick disappears whenever the print dialog
   leaves "Background graphics" off — which is the default. Borders always
   print, so the mark is two borders on a rotated box. */
.setup-box{position:relative;display:inline-flex;flex:none}
.setup-tick{display:none}
.setup-body{display:block;min-width:0}
.setup-t{display:block;font-size:14.5px;line-height:1.45;color:var(--ink)}
.setup-d{display:block;margin-top:3px;font-size:13px;line-height:1.55;color:var(--ink-3)}
@media(min-width:1100px){
  #setupItems{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}

/* the print sheet is white, and --ink / --ink-3 are light greys — without
   these the phrase cards print almost invisible */
@media print{
  .diet-phrase{background:#fff!important;border:1px solid #bbb!important;break-inside:avoid}
  .dp-en,.dp-py{color:#444!important}
  /* The generated card had the same disease and nobody noticed: .u-diet-head
     carried color:var(--ink)!important from the utility block, which sits later
     in this file than the print block and outranked it. The Chinese printed as
     rgb(245,240,230) on white — a blank card. #d_res * is an id selector, so it
     wins whatever utility class ends up on an element inside the card. */
  #d_res,#d_res *{color:#000!important}
  #d_res.tool-result{border:0!important;padding:0!important;background:none!important}
  #d_res .diet-card{background:#fff!important;border:1px solid #000!important;
    box-shadow:none!important;padding:0!important;border-radius:0!important}
  /* The card takes focus when the reader asks for it, and .diet-card:focus draws
     a 2px accent outline. On screen that outline is the point; on paper it is a
     red rectangle around the card, printed by the one flow a traveller actually
     uses (tick → "show me the card" → print). Outlines are not covered by the
     border rules above. */
  #d_res .diet-card:focus,#d_res .diet-card:focus-visible{outline:0!important}
  #d_res .diet-bul li::before{background:#000!important}
  #d_res .diet-bul li{border-top:1px solid #C9C9C9!important;
    break-inside:avoid;page-break-inside:avoid;padding:9px 0 9px 16px!important}
  #d_res .diet-warn{background:none!important;border:1px solid #000!important;
    padding:8px 10px!important;break-inside:avoid}
  #d_res .diet-en{border-top:1px solid #C9C9C9!important}
  /* the sheet is the card: picker, buttons and the full-screen copy stay behind */
  #d_res .diet-acts,.diet-empty,.diet-screen,.diet-picks,.diet-close{display:none!important}
  /* The checklist had the same disease as the diet card, and it was worse: the
     print block named .tool-wrap p / h3 / li / b, and every item title lives in
     a <b> inside a <label> — labels were not on that list, so all seven titles
     printed at rgb(245,240,230) on white. The numbered circles and the grey
     descriptions were the only things left on the paper. */
  #setupItems,#setupItems *{color:#000!important}
  #setupItems{display:block!important}
  #setupItems .chk{background:none!important;border:0!important;
    border-bottom:1px solid #C9C9C9!important;border-radius:0!important;
    padding:9px 0!important;break-inside:avoid;page-break-inside:avoid}
  #setupItems .chk::before{background:#fff!important;border:1px solid #999!important;color:#000!important}
  /* appearance:none is what makes the blank boxes possible, but on its own it
     also threw the reader's own ticks away: tick three items, press "print
     checklist", and seven identical empty boxes came back — the button looked
     broken. The box prints empty for the items still to do, and a ticked item
     prints the check below. */
  #setupItems input{-webkit-appearance:none!important;appearance:none!important;
    width:13px!important;height:13px!important;margin-top:4px!important;
    border:1px solid #000!important;border-radius:2px!important;background:#fff!important}
  #setupItems input:checked + .setup-tick{display:block!important;position:absolute;
    left:3px;top:5px;width:5px;height:8px;
    border-right:2px solid #000!important;border-bottom:2px solid #000!important;
    transform:rotate(38deg)}
  .setup-bar{display:none!important}
}

@media(max-width:760px){
  .page-hero.hero-tool{padding:26px 0 20px}
  .hero-tool h1{font-size:clamp(23px,5.4vw,27px)}
  .hero-tool p{font-size:14.5px;max-width:none}
  .page-hero.hero-split{padding:22px 0 18px}
  .hero-split .ph-img{display:none}
  .hero-split .wrap{padding-right:0}
  .hero-split h1{font-size:clamp(22px,5.6vw,27px)}
  .hero-split p{font-size:14.5px}
  .page-hero.hero-flat{padding:24px 0 18px}
  .hero-flat h1{font-size:clamp(22px,5.6vw,27px)}
  .hero-flat p{font-size:14.5px}
  section.tool-sec{padding:16px 0 44px}
}

/* --- tool pages: spend the desktop width instead of one 880px column ---
   The visa checker carries a lot of prose (240-hour rules, a 6-point document
   check, a 73-entry table). At 880px it stacked into a 4,000px column while
   half the screen sat empty. The container now opens to 1180px and the
   reference blocks pair up. The form/result card stays single-column so the
   answer itself keeps a readable measure. */
/* NB: the base .wrap gets its side gutter from max-width:calc(100% - 2*gut),
   not from padding. Overriding max-width with a bare length silently removes
   that gutter, so on a 390px phone the copy ran flush into both edges.
   Keep the calc() term. */
.wrap.tool-page{max-width:min(1180px,calc(100% - var(--gut) - var(--gut)))}

/* Same trap, older instance: .u-mw-* utilities set a bare max-width with
   !important, which also cancels .wrap's gutter. On a phone that left the FAQ
   block (all 5 service pages), the timeline block (all 8 destination pages)
   and 6 tool sections flush against both screen edges while every other
   section kept its 28px margin. Two-class selector out-ranks the utility —
   scoped to .wrap so the .field.u-mw-340 / 380 form widths stay untouched. */
.wrap.u-mw-780{max-width:min(780px,calc(100% - var(--gut) - var(--gut)))!important}
.wrap.u-mw-800{max-width:min(800px,calc(100% - var(--gut) - var(--gut)))!important}
.wrap.u-mw-820{max-width:min(820px,calc(100% - var(--gut) - var(--gut)))!important}
.wrap.u-mw-840{max-width:min(840px,calc(100% - var(--gut) - var(--gut)))!important}
.wrap.u-mw-880{max-width:min(880px,calc(100% - var(--gut) - var(--gut)))!important}
.wrap.u-mw-920{max-width:min(920px,calc(100% - var(--gut) - var(--gut)))!important}
.wrap.u-mw-960{max-width:min(960px,calc(100% - var(--gut) - var(--gut)))!important}

.tool-grid-2{display:grid;grid-template-columns:1fr;gap:22px;margin-top:32px}
.tool-grid-3{display:grid;grid-template-columns:1fr;gap:14px;margin-top:22px}
.tool-stack{display:grid;gap:18px;align-content:start}

@media(min-width:1100px){
  /* stretch, not start: the single left card should share a baseline with the
     right-hand stack instead of ending mid-air */
  .tool-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
  .tool-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:20px}
  /* two columns inside a half-width card would leave 12-character lines */
  .tool-grid-2 .two-col{grid-template-columns:1fr;gap:0}
  .tool-grid-2 .two-col>div+div{margin-top:14px}
  .tool-wrap{padding:32px}
  .tool-row{gap:22px}
  /* label/value pairs sit two per row once there is room for it */
  .tool-result .kv{grid-template-columns:max-content minmax(0,1fr) max-content minmax(0,1fr);column-gap:16px}
  /* 1180px of 15px text runs to ~79 characters; cap prose, not the table */
  .tool-wrap>p,.tool-result>p{max-width:72ch}
}

@media print{.tool-grid-2,.tool-grid-3{display:block}.tool-grid-2>*+*{margin-top:18px}}

/* ---------- packing list (tool-packing) ----------
   Two artefacts on one page. On screen the reason under each item is the whole
   point, because "bring a power bank" is not news — "your power bank may be
   refused" is. On paper that reason is noise: the printed sheet is a checklist
   you tick against the open suitcase, so .pk-note is hidden at print time and
   each item collapses to one bold line with a box. */
.pk-sum{display:flex;flex-wrap:wrap;gap:2px 0;align-items:baseline;margin:0 0 4px;
  font-size:12.5px;letter-spacing:.02em;color:var(--ink-3)}
.pk-sum b{color:var(--ink);font-weight:600}
/* Without these the summary read as one run-on line: "29 items October flying
   inside China hotel 7 nights". The dot trails rather than leads, because the
   line wraps to three rows on a phone and a leading dot at the start of a line
   reads as a stray bullet. */
.pk-sum b::after,.pk-sum span::after{content:"\00b7";margin:0 5px 0 7px;color:var(--ink-3)}
.pk-sum span:last-child::after{content:none}

/* One card per category.
   The list used to run as a single stream in two CSS columns, and a category was
   a small uppercase rule between items — at 1180px a reader scrolled past four
   headings without registering that anything had changed. Grouping into panels
   fixes it structurally: the heading owns the box, the box has edges, and each
   heading carries how many items are inside it.

   The panels sit in a multicol rather than a grid. A grid row stretches every
   panel to the tallest one beside it, so a two-item category grew a bordered
   empty half — measured 381px tall holding 2 items, ~170px of it blank. Columns
   pack panels against each other instead. break-inside:avoid holds at this
   level because a panel is a block with a definite box, unlike the flex label
   that Blink used to fragment mid-sentence. */
#pk_out{column-count:1}
/* The panels are the boxes now, so the .tool-result wrapper drops its own frame:
   a bordered, padded, tinted box holding nine bordered, padded, tinted boxes is
   two rectangles where one belongs. Its padding also cost 40px of measure. */
#pk_out.tool-result{margin-top:18px;padding:0;border:0;background:none;border-radius:0}
#pk_out>.print-title,#pk_out>.pk-sum{column-span:all}
.pk-group{background:rgba(0,0,0,.17);border:1px solid var(--line);
  border-radius:var(--r);padding:13px 16px 8px;margin-bottom:12px;
  break-inside:avoid}
/* "Do not pack this" is advice in the negative; a red cast keeps it from
   reading as one more category of things to bring. */
.pk-group-np{background:rgba(224,56,42,.07);border-color:rgba(224,56,42,.32)}
.pk-cat{display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  margin:0 0 4px;padding:0 0 9px;border-bottom:1px solid var(--line);
  font-family:var(--sans);font-size:11px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-3)}
.pk-cat.np{color:var(--accent)}
.pk-count{flex:none;font-size:11px;font-weight:700;letter-spacing:.02em;
  color:var(--ink-2);background:rgba(255,255,255,.07);border-radius:999px;
  padding:1px 8px}
.pk-qty{font-family:var(--sans);font-size:12.5px;font-weight:600;color:var(--ink-3);white-space:nowrap}
.pk-note{display:block;margin-top:3px;font-size:12.5px;line-height:1.55;color:var(--ink-2)}
.pk-note a{font-size:12.5px}
/* The cross-link belongs under the reason, not in the middle of a sentence:
   inline it read as "…battery is flat. → Print the emergency card". */
.pk-link{display:block;margin-top:3px}

/* Two prose cards side by side. .tool-grid-2 stretches its cards to the tallest
   in the row, which is right when the cards hold comparable amounts of text — it
   is wrong here, where "What we left out on purpose" is half the length of the
   essay beside it and the stretch turned the shorter card into a bordered empty
   field. Let each card end where its text ends. */
.tool-grid-2.pk-ref-pair{align-items:start}

/* The trap names are labels, not prose, but the browser gave the column 128px of
   1114 and wrapped "The power bank" onto two lines. */
.pk-traps th:first-child,.pk-traps td:first-child{width:18%}
/* A date is one token: "2026-10-24" was breaking after "2026-10-" and reading as
   two different facts stacked in a cell. */
.pk-src th:last-child,.pk-src td:last-child{width:1%;white-space:nowrap}
.pk-src th:first-child,.pk-src td:first-child{width:15%}

/* /tool-visa/ opened its container to 1180px because one 780px column left half
   the screen empty. This page takes the same container and spends the width the
   same way: four controls in a single row, and the category panels in two.
   One column at 1120px would put a ~120-character line under every checkbox,
   which is the one thing a list you read standing up cannot afford. Print is
   forced back to one column below — on paper the 780px measure was right. */
@media(min-width:1100px){
  .pk-fields{grid-template-columns:repeat(4,minmax(0,1fr))}
  #pk_out{column-count:2;column-gap:12px}
}

@media print{
  /* On paper the primary card's gradient, shadow and accent rule are noise, and
     its 28px padding plus the result block's 18px were pushing a 29-line list
     onto a second sheet. Strip the wrap so the checklist starts at the top. */
  .tool-wrap.tool-primary{padding:0!important;border:0!important;background:#fff!important;
    box-shadow:none!important}
  .tool-wrap.tool-primary::before{display:none!important}
  .tool-result{margin-top:0!important;padding:0!important;border:0!important;
    background:none!important}
  .pk-note{display:none!important}
  .pk-sum,.pk-sum b,.pk-qty,.pk-cat,.pk-count{color:#000!important}
  /* a print page box is ~794px wide, but emulateMediaType in the tests keeps the
     viewport width, so say it explicitly rather than relying on the media query */
  #pk_out{column-count:1!important}
  /* the panels are a screen device; on paper they collapse to a heading over a
     list, which is what someone ticks against an open suitcase */
  .pk-group{background:none!important;border:0!important;padding:0!important;
    border-radius:0!important;margin-bottom:0!important}
  .pk-count{background:none!important;padding:0 0 0 8px;font-weight:600}
  .chk{padding:4px 0;border-bottom:0;break-inside:avoid}
  /* 29 lines do not fit one sheet, so let it break — between items, never
     through one, and never between a category label and its first item. */
  .pk-cat{border-color:#bbb!important;padding:8px 0 4px;margin:8px 0 0;
    break-after:avoid}
}

/* ============================================================
   /tool-cost/ — one estimate, as many cities as the trip has
   ============================================================ */
.cost-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cost-grid .field{min-width:0}
.trip{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.trip-h{font-size:14.5px;font-weight:600;margin:0 0 10px;color:var(--ink)}
.trip-list{display:grid;gap:14px}
/* Three rows: labels, controls, notes. The city column used to be a nested
   block with its own label, select and province line, which left the "Days"
   label and its input sitting a line lower than the city's. Flat rows keep
   every label on one line and every control on the next. */
.trip-row{display:grid;grid-template-columns:minmax(0,320px) 92px 34px;
  grid-template-rows:auto auto auto;row-gap:0;column-gap:12px;align-items:start}
.trip-prov{display:block;margin-top:6px;font-size:11.5px;color:var(--ink-3);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the same height as the fields next to it: stretch to the control row
   (.field select is 12px padding + a 15px line) */
.trip-del{width:34px;align-self:stretch;min-height:42px;border:1px solid var(--line);border-radius:var(--r);
  background:#241F19;color:var(--ink-2);font-size:17px;line-height:1;cursor:pointer;
  font-family:var(--sans)}
.trip-del:hover{border-color:var(--accent);color:var(--accent)}
.trip-del[disabled]{opacity:.3;cursor:default}
.cost-head{margin:0 0 14px}
.cost-total{font-size:14.5px;color:var(--ink-2);margin:0 0 4px}
.cost-total b{font-family:var(--serif);font-size:32px;font-weight:600;color:var(--ink);
  letter-spacing:-.01em}
.cost-tbl{font-size:14.5px}
.cost-tbl th[scope=row],.cost-tbl .cost-city th{font-size:13px;letter-spacing:.03em;
  text-transform:uppercase;color:var(--ink-3);font-weight:600}
.cost-tbl .cost-city th{padding-top:16px}
.cost-tbl tr.cost-sub td{color:var(--ink-3);font-size:13px}
.cost-tbl tr.cost-sub td.n{color:var(--ink-2);font-weight:600}
.cost-pp{font-size:15px;line-height:1.6;color:var(--ink-2)}
.cost-pp b{color:var(--ink)}
.cost-err{font-size:15px;color:#F2B6A8}

@media(max-width:900px){
  .cost-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .cost-grid{grid-template-columns:1fr}
  /* the city select is 32 options long; at this width the name is the only
     thing that has to fit, and the province sits under it */
  .trip-row{grid-template-columns:minmax(0,1fr) 76px 32px;column-gap:8px}
  .cost-total b{font-size:27px}
}

@media print{
  /* the sheet is the estimate: the controls, the rate tables, the example and
     the FAQ all stay behind */
  .cost-grid,.trip{display:none!important}
  .cost-head{margin-bottom:8px}
  .cost-total b{font-size:24px}
  .cost-tbl{font-size:12px}
  .cost-tbl th,.cost-tbl td{padding:4px 0}
  .cost-pp{font-size:12.5px}
  .cost-tbl tr.cost-city th,.cost-tbl td,.cost-tbl th{color:#222!important}
  .cost-tbl tr.cost-city th{color:#444!important}
  .cost-pp b{color:#000!important}
}

/* ============================================================
   /tool-besttime/ — 32 cities, one month-by-month card
   ============================================================ */
.bt-picker{display:flex;flex-wrap:wrap;gap:16px 20px;align-items:flex-end}
.bt-picker .field{flex:1 1 300px;max-width:420px}
.bt-out{margin-top:22px}
.bt-loading{color:var(--ink-3);font-size:15px}
.bt-head h2{margin:0 0 6px}
.bt-lead{font-size:16px;line-height:1.62;color:var(--ink-2);margin:0 0 16px;max-width:74ch}

/* the bars reuse the month-chart component the destination pages already
   use, so the two read as the same object. Only the fill is new: the
   destination pages take their height from a .u-h* utility class, which has
   no 20% step, and the rating scale here starts at 1. */
.bt-chart{gap:8px}
.bt-fill{width:100%;border-radius:3px 3px 0 0}
.bt-r1{height:20%;background:#3A322A}
.bt-r2{height:40%;background:#4C4337}
.bt-r3{height:60%;background:#6E6455}
.bt-r4{height:80%;background:var(--accent)}
.bt-r5{height:100%;background:var(--gold)}
.bt-legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:12.5px;color:var(--ink-3);
  align-items:center}
.bt-print-only{display:none}
.bt-sw{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;
  vertical-align:-1px}
.bt-sw1{background:#3A322A}.bt-sw2{background:#4C4337}.bt-sw3{background:#6E6455}
.bt-sw4{background:var(--accent)}.bt-sw5{background:var(--gold)}
.bt-sw-hol{color:var(--gold)}
/* a month that loses three days to a holiday is not a peak month */
.m-col.hol .m-lbl{color:#A88A52}
.m-col.hol .m-dot{background:#A88A52}

/* the table is the readable form: 12 rows, four columns, fits a phone.
   The old tool put the months in 13 COLUMNS, which meant a 996px table in a
   894px box and a phone that could show January to March. */
.bt-tbl{font-size:14px}
.bt-tbl th[scope=row]{text-align:left;font-weight:600;color:var(--ink)}
.bt-tbl td{vertical-align:top}
.bt-tag{display:block;font-size:11.5px;font-weight:500;letter-spacing:.02em;
  color:var(--gold);text-transform:none}
.bt-summary{margin-top:16px}
.bt-line{margin:0 0 6px;font-size:14.5px;line-height:1.6;color:var(--ink-2)}
.bt-line b{color:var(--ink)}
.bt-hol{color:var(--ink-3);font-size:13.5px}
.bt-hl{margin:16px 0 0;padding-left:18px;font-size:14.5px;line-height:1.65;color:var(--ink-2)}
.bt-hl b{color:var(--ink)}
.bt-avoid{margin:12px 0 0;font-size:14.5px;line-height:1.6;color:var(--ink-2)}
.bt-extra{margin:8px 0 0;font-size:14px;line-height:1.6;color:var(--ink-3)}

/* the 32 static city tables: collapsed by default, openable without JS */
.bt-city{border-top:1px solid var(--line);padding:14px 0}
.bt-sum{cursor:pointer;font-size:15.5px;display:flex;flex-wrap:wrap;gap:4px 12px;
  align-items:baseline;list-style:none}
.bt-sum::-webkit-details-marker{display:none}
.bt-sum::before{content:"▸";color:var(--ink-3);font-size:13px}
.bt-city[open] .bt-sum::before{content:"▾"}
.bt-sum b{font-family:var(--serif);font-size:18px;font-weight:600;color:var(--ink)}
.bt-sum-m{margin-left:auto;font-size:12px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink-3)}
.bt-src{margin:10px 0 0}
.bt-matrix td a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.bt-matrix th[scope=row]{white-space:nowrap}

/* a caption nobody sees, but a screen reader and a crawler do */
.bt-vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip-path:inset(50%);white-space:nowrap;border:0}

@media(max-width:760px){
  .bt-chart{gap:5px}
  .bt-tbl{font-size:13.5px}
  .bt-sum-m{margin-left:0;width:100%}
}
@media(max-width:430px){
  /* the four columns plus the holiday tag under the month name overflowed the
     phone width by 38px, which put the table in a sideways scroll */
  table.bt-tbl th,table.bt-tbl td{padding:6px 5px}
  .bt-tbl{font-size:12.5px}
  .bt-tbl th{letter-spacing:.02em}
  .bt-tag{font-size:10.5px}
}

@media print{
  /* one city, one sheet: the 32 static tables and the three reference
     sections are marked no-print, so the sheet is the card above */
  .bt-chart{gap:7px}
  .bt-chart .m-track{height:64px;border:1px solid #DDD}
  /* same reason as the destination pages: a bar painted with a background
     colour is NOT printed when the print dialog leaves "Background graphics"
     off, and that is the default. The bar becomes a top border whose width
     is the score — borders print either way. */
  .bt-fill{height:0!important;background:none!important;border:0!important;
    border-top-style:solid!important;border-top-color:#7A7A7A!important;
    border-radius:2px 2px 0 0!important}
  .bt-r1{border-top-width:12px!important}
  .bt-r2{border-top-width:25px!important}
  .bt-r3{border-top-width:38px!important}
  .bt-r4{border-top-width:51px!important}
  .bt-r5{border-top-width:62px!important}
  /* the page padding and the gap above the card are what pushed the sheet
     onto a second page: 952px of card + 90px of section padding + 22px of
     gap is 1064, and A4 with 12mm margins gives 1033 */
  .tool-sec{padding:0!important}
  .bt-out{margin-top:0}
  /* the print page is the full sheet width, so the chart was bleeding into
     the paper edge */
  .wrap.tool-page{max-width:calc(100% - 44px)!important;margin:0 auto}
  .bt-tbl{font-size:12px}
  /* table.tbl th,table.tbl td{padding:11px 13px} is (0,1,2) — a .bt-tbl
     selector loses to it, so the tighter print padding needs the same shape */
  table.bt-tbl th,table.bt-tbl td{padding:3px 8px!important}
  .bt-lead{font-size:13.5px;line-height:1.5;margin-bottom:10px}
  .bt-line{font-size:12.5px;margin-bottom:3px}
  .bt-hl{font-size:12.5px;margin-top:10px}
  .bt-avoid{font-size:12.5px;margin-top:8px}
  .bt-tag{font-size:10px;color:#555!important}
  /* the screen palette is light-on-dark; on paper the same words have to be
     dark-on-white, including the bold labels, which are near-white on screen */
  .bt-lead,.bt-line,.bt-hl,.bt-avoid,.bt-extra{color:#222!important}
  .bt-lead b,.bt-line b,.bt-hl b{color:#000!important}
  .bt-summary{border-top:1px solid #ccc;padding-top:6px}
  .bt-legend{font-size:10.5px;color:#333!important}
  /* colour swatches and gold dots are background graphics, and the print
     dialog leaves "background graphics" off by default — so on paper the
     legend has to say in words what the colours said on screen */
  .bt-legend .bt-sw{display:none}
  .bt-sw-hol{color:#333!important}   /* gold on white paper is unreadable */
  .bt-print-only{display:block;margin:6px 0 0;font-size:11px;color:#333}
}

/* ===== utility classes (ex-inline) =====
   Converted from style="" attributes so CSP can drop
   'unsafe-inline' from style-src. !important is deliberate: an
   inline style outranks every rule except one marked !important,
   so this is the only form that keeps the old cascade intact.
   Add new one-offs here rather than back into the markup. */
.u-accent{color:var(--accent) !important}
.u-accent-bold{color:var(--accent) !important;font-weight:600 !important}
.u-bg-4c4337{background:#4C4337 !important}
.u-bg-6e6455{background:#6E6455 !important}
.u-bg-gold{background:#C8A24C !important}
.u-bg-red{background:#E0382A !important}
.u-block{display:block !important}
.u-card-pad{margin-top:26px !important;padding:26px !important;border-radius:var(--r) !important}
.u-center{text-align:center !important}
.u-center-fs12-5{text-align:center !important;font-size:12.5px !important}
.u-diet-head{font-size:22px !important;font-family:var(--serif) !important;padding:12px 0 !important;line-height:1.6 !important;color:var(--ink) !important}
.u-dot-gold{background:#C8A24C !important;border-radius:50% !important;width:6px !important;height:6px !important}
.u-fs18-ink{font-size:18px !important;color:var(--ink) !important}
.u-fs19-ink-mb10{font-size:19px !important;color:var(--ink) !important;margin-bottom:10px !important}
.u-fs20-mb-8{font-size:20px !important;margin-bottom:8px !important}
.u-fs26-navy{font-size:26px !important;color:var(--navy) !important}
.u-fs28-ink{font-size:28px !important;color:var(--ink) !important}
.u-fs28-navy{font-size:28px !important;color:var(--navy) !important}
.u-gold{color:#C8A24C !important}
.u-h100{height:100% !important}
.u-h20{height:20% !important}
.u-h40{height:40% !important}
.u-h60{height:60% !important}
.u-h80{height:80% !important}
.u-hero-title{font-size:clamp(32px,3.9vw,54px) !important;line-height:1.05 !important;letter-spacing:-.022em !important;font-weight:500 !important;color:var(--ink) !important}
.u-hero-title-2{font-size:clamp(30px,4.4vw,48px) !important;line-height:1.1 !important;letter-spacing:-.03em !important;margin:18px 0 14px !important}
.u-holiday{color:#F0CE8A !important}
.u-ink-fs17{color:var(--ink) !important;font-size:17px !important}
.u-ink-mb-10{color:var(--ink) !important;margin-bottom:10px !important}
.u-lh-6{line-height:1.6 !important}
.u-link-accent{color:var(--accent) !important;text-decoration:underline !important;text-underline-offset:2px !important}
.u-list-note{margin:0 !important;padding-left:20px !important;color:var(--ink-2) !important;font-size:14.5px !important;line-height:1.7 !important}
.u-list-steps{margin:0 !important;padding-left:20px !important;color:var(--ink-2) !important;font-size:14.5px !important;line-height:1.65 !important}
.u-m-10-0{margin:10px 0 !important}
.u-m-10-0-0{margin:10px 0 0 !important}
.u-m-10-0-20{margin:10px 0 20px !important}
.u-m-10-0-22{margin:10px 0 22px !important}
.u-m-12-0-22{margin:12px 0 22px !important}
.u-m-12-0-4{margin:12px 0 4px !important}
.u-m-14-0-0{margin:14px 0 0 !important}
.u-m-16-0-0{margin:16px 0 0 !important}
.u-m-16-0-28-fs17{margin:16px 0 28px !important;font-size:17px !important}
.u-m-18-0-8{margin:18px 0 8px !important}
.u-mb-10{margin:0 0 10px !important}
.u-mb-12{margin:0 0 12px !important}
.u-mb-16{margin-bottom:16px !important}
.u-mb-22{margin-bottom:22px !important}
.u-mb-26{margin-bottom:26px !important}
.u-mb-34{margin-bottom:34px !important}
.u-mb-6{margin:0 0 6px !important}
.u-mb-8{margin:0 0 8px !important}
.u-measure-center{max-width:52ch !important;margin:0 auto 12px !important}
.u-minw-520{min-width:520px !important}
.u-mt-10{margin-top:10px !important}
.u-mt-10-ink2{margin-top:10px !important;color:var(--ink-2) !important}
.u-mt-12{margin:12px 0 0 !important}
.u-mt-12-top{margin-top:12px !important}
.u-mt-14{margin-top:14px !important}
.u-mt-14-flex{margin-top:14px !important;display:flex !important;gap:10px !important;flex-wrap:wrap !important}
.u-mt-16{margin-top:16px !important}
.u-mt-16-flex{margin-top:16px !important;display:flex !important;gap:10px !important;flex-wrap:wrap !important}
.u-mt-18{margin-top:18px !important}
.u-mt-20{margin-top:20px !important}
.u-mt-22{margin-top:22px !important}
.u-mt-24{margin-top:24px !important}
.u-mt-6{margin-top:6px !important}
.u-mt-6-fs14{margin:6px 0 0 !important;font-size:14px !important}
.u-mt-8{margin-top:8px !important}
.u-mt-8-holiday{margin-top:8px !important;color:#F0CE8A !important}
.u-muted{color:#8C8678 !important}
.u-mw-340{max-width:340px !important}
.u-mw-380{max-width:380px !important}
.u-mw-780{max-width:780px !important}
.u-mw-800{max-width:800px !important}
.u-mw-820{max-width:820px !important}
.u-mw-840{max-width:840px !important}
.u-mw-880{max-width:880px !important}
.u-mw-920{max-width:920px !important}
.u-mw-960{max-width:960px !important}
.u-mx-auto-mb-30{margin:0 auto 30px !important}
.u-navy{color:var(--navy) !important}
.u-no-underline{text-decoration:none !important}
.u-pb-22{padding:0 0 22px !important}
.u-plain-box{font-family:sans-serif !important;padding:24px !important;line-height:1.6 !important}
.u-pointer{cursor:pointer !important}
.u-pt-88{padding-top:88px !important}
.u-quote{font-family:var(--serif) !important;font-size:21px !important;color:var(--ink) !important;line-height:1.5 !important}
.u-row-between{display:flex !important;justify-content:space-between !important;align-items:center !important;gap:20px !important;flex-wrap:wrap !important}
.u-row-center{display:flex !important;gap:12px !important;justify-content:center !important;flex-wrap:wrap !important}
.u-row-line{padding:12px 0 !important;border-bottom:1px solid var(--line) !important}
.u-title-sm{font-size:clamp(26px,3vw,38px) !important;color:var(--ink) !important}
.u-title-xs{font-size:clamp(24px,2.6vw,34px) !important;color:var(--ink) !important}
.u-vh{position:absolute !important;width:1px !important;height:1px !important;margin:-1px !important;padding:0 !important;overflow:hidden !important;clip-path:inset(50%) !important;white-space:nowrap !important;border:0 !important}
.u-w-full-center{width:100% !important;justify-content:center !important}
.u-w58{width:58% !important}
