/* ============================================================
   Tokyo Local Guide — v74 layer
   Dark editorial vermilion. Consumes tokens.css (no raw hex here).
   Mobile-first → 1280px centered desktop.
   ============================================================ */

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
/* Clip the ROOT too (body alone left <html> at ~396px on a 360 screen, which
   triggered iOS shrink-to-fit = the "full on load, shrinks to ~75% on scroll" bug).
   overflow-x:hidden is the fallback for iOS < 16 (which silently ignores `clip`);
   the second declaration upgrades modern engines to `clip`, which keeps <html>
   from becoming a scroll container. Both guard against shrink-to-fit. */
html{ overflow-x:hidden; overflow-x:clip; max-width:100%; }
body{
  background:var(--bg); color:var(--text);
  font-family:var(--font-body); font-size:var(--fs-base); line-height:var(--lh-normal);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  min-height:100dvh; padding-bottom:calc(var(--bottomnav-h) + 64px + env(safe-area-inset-bottom));
  overflow-x:hidden;
}
@media(min-width:900px){ body{ padding-bottom:0; } }
img{ max-width:100%; height:auto; display:block; }
button{ font:inherit; cursor:pointer; color:inherit; }
a{ color:inherit; }
:lang(ja), .jp, .kanji{ font-family:var(--font-kanji); }
::selection{ background:var(--accent); color:var(--text-on-accent); }
[hidden]{ display:none !important; }

/* focus — 2px vermilion outline at 2px offset, keyboard only */
:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; border-radius:4px; }
:focus:not(:focus-visible){ outline:none; }

/* modern clip-path hide (no off-screen 9999px box, which can trigger iOS shrink-to-fit) */
.skip-link{ position:absolute; top:0; left:0; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; background:var(--text); color:var(--bg); padding:10px 14px; z-index:9999; border-radius:0 0 var(--r-sm) 0; font-weight:600; }
.skip-link:focus{ width:auto; height:auto; clip-path:none; overflow:visible; }

/* warm vermilion glow under everything */
body::before{
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(115% 62% at 84% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(90% 55% at 0% 102%, var(--surface-1), transparent 55%);
}

/* ============================================================
   APP BAR
   ============================================================ */
.appbar{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; gap:var(--s-4);
  height:var(--appbar-h-mobile); padding:0 var(--s-4);
  background:color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter:saturate(140%) blur(14px); -webkit-backdrop-filter:saturate(140%) blur(14px);
  border-bottom:1px solid var(--border);
}
@media(min-width:900px){ .appbar{ height:var(--appbar-h); padding:0 var(--edge); gap:var(--s-5); } }

/* wordmark — TOKYO cream + LOCAL GUIDE tracked label */
.wordmark{ background:none; border:0; padding:4px 2px; min-height:44px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:1px; line-height:1; flex:0 0 auto; }
.wordmark__tokyo{ font-family:var(--font-display); font-weight:700; font-size:21px; letter-spacing:0.01em; color:var(--text); }
.wordmark__label{ font-size:9px; font-weight:700; letter-spacing:0.34em; text-transform:uppercase; color:var(--text-muted); }
@media(min-width:900px){ .wordmark__tokyo{ font-size:23px; } .wordmark__label{ font-size:9.5px; } }

/* center search */
.search{ position:relative; align-items:center; flex:1 1 auto; max-width:420px; margin:0 auto; display:none; }
@media(min-width:760px){ .search{ display:flex; } }
.search__icon{ position:absolute; left:14px; top:50%; transform:translateY(-50%); width:16px; height:16px; color:var(--text-muted); pointer-events:none; }
.search input{
  width:100%; border:1px solid var(--border-strong); background:var(--surface-1); color:var(--text);
  padding:11px 16px 11px 38px; border-radius:var(--r-pill); font-size:var(--fs-sm); font-family:inherit;
  transition:border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.search input::placeholder{ color:var(--text-faint); }
.search input:focus{ border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); outline:none; }

/* mobile: reveal search inline below the bar */
.appbar.is-search-open{ height:auto; flex-wrap:wrap; padding-top:8px; padding-bottom:8px; }
.appbar.is-search-open .search{ display:flex; order:5; flex-basis:100%; max-width:none; margin:6px 0 2px; }

/* utility toggles (theme + larger text + mobile search) */
.appbar__utils{ display:flex; align-items:center; gap:6px; flex:0 0 auto; margin-left:auto; }
@media(min-width:900px){ .appbar__utils{ margin-left:0; order:2; } .appbar__nav{ order:3; } .search{ order:1; } }
.util-btn{ width:44px; height:44px; border-radius:var(--r-pill); border:1px solid var(--border-strong); background:var(--surface-1); color:var(--text); display:inline-grid; place-items:center; flex:0 0 auto;
  transition:background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
@media(max-width:899px){ .util-btn{ width:48px; height:48px; } }
.util-btn:hover{ background:var(--surface-2); border-color:var(--text-muted); }
.util-btn svg{ width:20px; height:20px; }
.util-btn[aria-pressed="true"]{ border-color:var(--accent); color:var(--accent-2); background:var(--accent-soft); }
.util-btn--mobile{ display:inline-grid; }
@media(min-width:900px){ .util-btn--mobile{ display:none; } }
:root:not([data-theme="light"]) .ico-moon{ display:none; }
:root[data-theme="light"] .ico-sun{ display:none; }

.appbar__nav{ margin-left:auto; display:none; align-items:center; gap:var(--s-2); flex:0 0 auto; }
@media(min-width:900px){ .appbar__nav{ display:flex; } }

/* mobile-only search trigger */
.searchtoggle{ margin-left:auto; width:44px; height:44px; border-radius:var(--r-pill); border:1px solid var(--border); background:var(--surface-1); color:var(--text); display:inline-grid; place-items:center; flex:0 0 auto; }
.searchtoggle svg{ width:20px; height:20px; }
@media(min-width:900px){ .searchtoggle{ display:none; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.navbtn{
  display:inline-flex; align-items:center; gap:7px; min-height:40px; padding:8px 14px;
  border-radius:var(--r-pill); border:1px solid transparent; background:transparent;
  color:var(--text); font-weight:600; font-size:var(--fs-sm); text-decoration:none; white-space:nowrap;
  transition:background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.navbtn svg{ width:17px; height:17px; }
.navbtn:hover{ background:var(--surface-2); }

.buypill{
  display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:10px 18px;
  border-radius:var(--r-pill); background:var(--accent); color:var(--text-on-accent); border:1px solid var(--accent);
  font-weight:700; font-size:var(--fs-sm); text-decoration:none; white-space:nowrap;
  box-shadow:var(--shadow-cta);
  transition:background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.buypill b{ font-variant-numeric:tabular-nums; }
.buypill:hover{ background:var(--accent-deep); transform:translateY(-1px); }
.buypill:active{ transform:translateY(0); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px;
  padding:10px 18px; border-radius:var(--r-pill); border:1px solid transparent;
  font-weight:600; font-size:var(--fs-sm); text-decoration:none; color:var(--text); background:var(--surface-3);
  transition:transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.btn svg{ width:18px; height:18px; }
.btn:hover{ transform:translateY(-1px); }
.btn:active{ transform:translateY(0) scale(.99); }
.btn--ghost{ background:transparent; border-color:var(--border-strong); }
.btn--ghost:hover{ border-color:var(--text-muted); background:var(--surface-2); }
.btn--primary{ background:var(--accent); color:var(--text-on-accent); border-color:var(--accent); box-shadow:var(--shadow-cta); }
.btn--primary:hover{ background:var(--accent-deep); border-color:var(--accent-deep); }
.btn--ink{ background:var(--text); color:var(--bg); border-color:var(--text); }
.btn--ink:hover{ background:var(--text-muted); border-color:var(--text-muted); }
.btn--lg{ font-size:var(--fs-md); padding:15px 26px; min-height:54px; }
.btn span{ white-space:nowrap; }
.iconbtn{ width:44px; height:44px; border-radius:var(--r-pill); border:1px solid var(--border-strong); background:var(--surface-1); color:var(--text); display:inline-grid; place-items:center; flex:0 0 auto; }
.iconbtn svg{ width:18px; height:18px; }

/* ============================================================
   CONTAINER / VIEWS
   ============================================================ */
.container{ max-width:var(--container); margin:0 auto; padding:var(--s-6) var(--edge); }
@media(max-width:680px){ .container{ padding:var(--s-5) var(--s-4); } }
.view{ animation:viewIn .4s var(--ease); }
@keyframes viewIn{ from{ transform:translateY(8px); } to{ transform:none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero{ position:relative; overflow:hidden; border-bottom:1px solid var(--border); }
.hero__inner{ position:relative; max-width:var(--container); margin:0 auto; padding:var(--s-7) var(--edge) var(--s-6); }
@media(max-width:680px){ .hero__inner{ padding:var(--s-6) var(--s-4) var(--s-5); } }

.hero__kanji{
  position:absolute; right:1%; top:48%; transform:translateY(-50%);
  font-family:var(--font-kanji); font-weight:700; line-height:.78;
  font-size:clamp(180px, 34vw, 440px); color:var(--accent); opacity:.28;
  pointer-events:none; z-index:0; user-select:none; letter-spacing:-.04em;
}
@media(max-width:680px){ .hero__kanji{ font-size:clamp(160px,62vw,300px); right:-4%; opacity:.22; } }

.hero__copy{ position:relative; z-index:1; max-width:none; }
.hero__eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:11px; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:var(--accent-2); margin:0 0 var(--s-4); }
.hero__eyebrow::before{ content:""; width:22px; height:1.5px; background:var(--accent); }
.hero__headline{
  font-family:var(--font-display); font-weight:560; color:var(--text);
  font-optical-sizing:auto; font-variation-settings:'opsz' 144;
  font-size:clamp(34px, 6.2vw, 78px); line-height:1.02; letter-spacing:-0.03em; margin:0;
  max-width:18ch;
}
.hero__headline .hl-lead{ display:block; }
.hero__headline .hl-tail{ display:block; }
.hero__headline em{ font-style:italic; font-weight:500; }
.hero__headline .hl-br{ display:inline; }
@media(max-width:380px){ .hero__headline{ max-width:none; } .hero__headline .hl-br{ display:none; } .hero__headline .hl-tail{ text-wrap:balance; } }
.hero__sub{ position:relative; z-index:1; margin:var(--s-4) 0 0; color:var(--text-muted); font-size:var(--fs-md); line-height:1.5; max-width:46ch; }
@media(min-width:900px){ .hero__sub{ font-size:18px; } }

/* primary funnel — ready-made plan card (this is #planToggle) */
.plancard{
  position:relative; z-index:1; display:flex; align-items:center; gap:var(--s-4);
  width:100%; max-width:660px; margin:var(--s-5) 0 0; text-align:left;
  background:var(--surface-2); border:1.5px solid var(--accent); border-radius:var(--r-lg);
  padding:var(--s-4) var(--s-5); color:var(--text); font-family:inherit;
  box-shadow:var(--shadow-1);
  transition:transform var(--t-med) var(--spring), box-shadow var(--t-med) var(--ease), border-color var(--t-fast) var(--ease);
}
.plancard:hover{ transform:translateY(-3px); box-shadow:var(--shadow-2); border-color:var(--accent-2); }
.plancard__ico{ flex:0 0 auto; width:48px; height:48px; border-radius:var(--r-md); background:var(--accent-soft); color:var(--accent-2); display:grid; place-items:center; font-size:24px; }
.plancard__txt{ flex:1; min-width:0; }
.plancard__kick{ display:block; font-size:11px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--accent-2); margin-bottom:3px; }
.plancard__line{ display:block; font-family:var(--font-display); font-size:var(--fs-lg); font-weight:600; line-height:1.2; letter-spacing:-0.01em; color:var(--text); }
.plancard__line strong{ color:var(--text); }
.plancard__chev{ flex:0 0 auto; font-size:20px; color:var(--accent-2); transition:transform var(--t-med) var(--ease); }
.plancard[aria-expanded="true"] .plancard__chev{ transform:rotate(90deg); }
@media(max-width:560px){ .plancard{ padding:var(--s-4); gap:var(--s-3); } .plancard__ico{ width:42px; height:42px; font-size:21px; } .plancard__line{ font-size:var(--fs-md); } }

/* ============================================================
   PLAN PANEL (expands under hero) — itinerary cards
   ============================================================ */
.planbar{ border-bottom:1px solid var(--border); background:var(--bg); }
.planbar__panel{ max-width:var(--container); margin:0 auto; padding:var(--s-5) var(--edge) var(--s-6); animation:planDrop .32s var(--spring); }
@media(max-width:680px){ .planbar__panel{ padding:var(--s-5) var(--s-4); } }
@keyframes planDrop{ from{ opacity:0; transform:translateY(-10px); } to{ opacity:1; transform:none; } }

.itin-feature{
  position:relative; display:grid; gap:var(--s-4); width:100%; text-align:left; font-family:inherit; color:var(--text);
  background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r-lg); padding:var(--s-5);
  overflow:hidden; cursor:pointer; margin-bottom:var(--s-4);
  transition:transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-fast) var(--ease);
}
.itin-feature::before{ content:""; position:absolute; top:0; left:0; right:0; height:4px; background:var(--accent); }
.itin-feature:hover{ transform:translateY(-2px); box-shadow:var(--shadow-2); border-color:var(--accent); }
.itin-feature__kick{ font-size:11px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--accent-2); }
.itin-feature__title{ font-family:var(--font-display); font-weight:600; font-size:clamp(26px,4vw,38px); line-height:1.05; letter-spacing:-0.02em; margin:8px 0 0; }
.itin-feature__sub{ font-size:var(--fs-base); line-height:1.55; color:var(--text-muted); margin:10px 0 0; max-width:64ch; }
.itin-feature__foot{ display:flex; align-items:center; gap:var(--s-4); margin-top:var(--s-4); flex-wrap:wrap; }
.itin-feature__stat{ display:flex; align-items:baseline; gap:6px; font-size:13px; color:var(--text-muted); }
.itin-feature__stat b{ font-family:var(--font-display); font-size:var(--fs-lg); color:var(--text); font-variant-numeric:tabular-nums; }
.itin-feature__go{ margin-left:auto; display:inline-flex; align-items:center; gap:7px; font-weight:700; color:var(--accent-2); font-size:var(--fs-sm); }
@media(min-width:760px){ .itin-feature{ grid-template-columns:1.7fr 1fr; padding:var(--s-6); align-items:center; } .itin-feature__media{ grid-row:1 / span 2; } }
.itin-feature__media{ position:relative; border-radius:var(--r-md); overflow:hidden; aspect-ratio:16/10; min-height:140px;
  background:linear-gradient(135deg, var(--accent-deep), color-mix(in srgb, var(--accent) 60%, var(--bg)));
  display:grid; place-items:center; }
.itin-feature__media .daydots{ display:flex; gap:10px; }
.itin-feature__media .daydot{ width:46px; height:46px; border-radius:50%; display:grid; place-items:center;
  background:color-mix(in srgb, var(--text) 16%, transparent); border:1.5px solid color-mix(in srgb, var(--text) 42%, transparent);
  color:var(--text); font-family:var(--font-display); font-weight:700; font-size:18px; }

.itin-strip__or{ display:flex; align-items:center; gap:10px; margin:var(--s-3) 0 var(--s-4); }
.itin-strip__or .rule{ flex:1; height:1px; background:var(--border); }
.itin-strip__or span{ font-size:11px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--text-faint); }

.itin-cards{ display:grid; grid-template-columns:1fr; gap:var(--s-3); }
@media(min-width:560px){ .itin-cards{ grid-template-columns:1fr 1fr; } }
@media(min-width:980px){ .itin-cards{ grid-template-columns:repeat(4,1fr); } }
.itin-card{ position:relative; background:var(--surface-1); border:1px solid var(--border); border-radius:var(--r-md);
  padding:var(--s-4); text-align:left; cursor:pointer; font-family:inherit; color:var(--text);
  display:flex; flex-direction:column; gap:6px; overflow:hidden;
  transition:transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease); }
.itin-card::before{ content:""; position:absolute; top:0; left:0; right:0; height:3px; background:var(--itin-color,var(--accent)); }
.itin-card:hover{ transform:translateY(-3px); border-color:var(--itin-color,var(--accent)); box-shadow:var(--shadow-2); }
.itin-card__kick{ font-size:10px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-muted); }
.itin-card__title{ font-family:var(--font-display); font-weight:600; font-size:var(--fs-lg); letter-spacing:-0.01em; line-height:1.15; }
.itin-card__sub{ font-size:13px; color:var(--text-muted); line-height:1.5; }
.itin-card__meta{ margin-top:auto; padding-top:8px; font-size:11.5px; color:var(--text-faint); font-style:italic; }

/* ============================================================
   CHIP ROWS
   ============================================================ */
.chiprow{ position:sticky; top:var(--appbar-h-mobile); z-index:30;
  background:color-mix(in srgb,var(--bg) 90%, transparent); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border); }
@media(min-width:900px){ .chiprow{ top:var(--appbar-h); } }
.chiprow__inner{ display:flex; gap:var(--s-2); overflow-x:auto; overflow-y:hidden; padding:var(--s-3) var(--edge);
  scrollbar-width:none; -webkit-overflow-scrolling:touch; scroll-snap-type:x proximity; max-width:var(--container); margin:0 auto;
  mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent); -webkit-mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent); }
@media(max-width:680px){ .chiprow__inner{ padding:var(--s-3) var(--s-4); } }
.chiprow__inner::-webkit-scrollbar{ display:none; }
.chiprow--sub{ position:relative; top:auto; background:var(--bg); }

.chip{ display:inline-flex; align-items:center; gap:7px; padding:9px 15px; min-height:44px; scroll-snap-align:start;
  border-radius:var(--r-pill); border:1px solid var(--border-strong); background:transparent; color:var(--text-muted);
  font-size:var(--fs-sm); font-weight:600; white-space:nowrap; font-family:inherit;
  transition:background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.chip:hover{ border-color:var(--accent-2); color:var(--text); transform:translateY(-1px); }
.chip[aria-selected="true"], .chip.is-active{ background:var(--accent); color:var(--text-on-accent); border-color:var(--accent); }
.chip__count{ font-size:11px; color:var(--text-faint); background:var(--surface-3); padding:1px 7px; border-radius:var(--r-pill); font-variant-numeric:tabular-nums; }
.chip[aria-selected="true"] .chip__count, .chip.is-active .chip__count{ background:color-mix(in srgb, var(--text) 20%, transparent); color:var(--text); }
.chip__ico{ display:inline-grid; place-items:center; flex:0 0 auto; color:currentColor; }
.chip__ico svg{ width:16px; height:16px; display:block; }

/* category groups */
.catgroups{ max-width:var(--container); margin:0 auto; padding:var(--s-3) var(--edge) var(--s-4); display:flex; flex-direction:column; gap:8px; }
@media(max-width:680px){ .catgroups{ padding:var(--s-3) var(--s-4); } }
.catgroup{ display:flex; align-items:center; gap:12px; }
.catgroup__label{ flex:0 0 auto; width:42px; font-size:10px; font-weight:800; letter-spacing:0.14em; color:var(--text-faint); }
.catgroup__chips{ display:flex; gap:7px; overflow-x:auto; scrollbar-width:none; flex:1; padding-bottom:2px; scroll-snap-type:x proximity; }
.catgroup__chips::-webkit-scrollbar{ display:none; }
@media(max-width:899px){ .catgroup__chips{ mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent); -webkit-mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent); } }
.catgroup .chip{ font-size:13px; padding:8px 13px; min-height:40px; }
.chiprow--tags .chip{ font-size:12.5px; padding:8px 13px; min-height:40px; }

/* active filters */
.active-filters{ max-width:var(--container); margin:0 auto; display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  padding:var(--s-3) var(--edge); border-bottom:1px solid var(--border); }
@media(max-width:680px){ .active-filters{ padding:var(--s-3) var(--s-4); } }
.active-filters__pill{ display:inline-flex; align-items:center; gap:6px; padding:6px 8px 6px 12px; background:var(--accent-soft);
  color:var(--accent-2); border-radius:var(--r-pill); font-size:12.5px; font-weight:600; }
.active-filters__pill button{ background:none; border:0; color:inherit; font-size:16px; line-height:1; padding:0 2px; min-width:24px; min-height:24px; }
.active-filters__clear{ background:none; border:0; color:var(--text-muted); font-weight:600; font-size:12.5px; text-decoration:underline; min-height:32px; }

/* ============================================================
   NEIGHBORHOOD HEADER + VIDEO
   ============================================================ */
.nbhd{ max-width:var(--container); margin:0 auto; padding:var(--s-5) var(--edge) 0; display:grid; gap:var(--s-4); }
@media(max-width:680px){ .nbhd{ padding:var(--s-5) var(--s-4) 0; } }
@media(min-width:900px){ .nbhd{ grid-template-columns:1.2fr 1fr; align-items:center; } }
.nbhd__title{ font-family:var(--font-display); font-weight:600; font-size:var(--fs-2xl); margin:0 0 6px; letter-spacing:-0.015em; display:flex; align-items:baseline; gap:10px; }
.nbhd__title .jp{ font-size:var(--fs-lg); color:var(--text-muted); font-weight:500; }
.nbhd__blurb{ margin:0; color:var(--text-muted); font-size:var(--fs-md); line-height:1.55; }
.nbhd__video-card{ background:var(--surface-1); border:1px solid var(--border); border-radius:var(--r-md); overflow:hidden; }
.nbhd__video-summary{ display:flex; align-items:center; gap:var(--s-3); padding:var(--s-3) var(--s-4); cursor:pointer; list-style:none; font-weight:600; min-height:54px; }
.nbhd__video-summary::-webkit-details-marker{ display:none; }
.nbhd__video-summary:hover{ background:var(--surface-2); }
.nbhd__video-icon{ width:38px; height:38px; display:grid; place-items:center; background:var(--accent); color:var(--text); border-radius:50%; font-size:13px; flex:0 0 38px; }
.nbhd__video-label{ font-family:var(--font-display); font-weight:600; font-size:var(--fs-md); }
.nbhd__video-hint{ margin-left:auto; font-size:12px; color:var(--text-muted); }
.nbhd__video{ aspect-ratio:16/9; background:var(--surface-2); position:relative; border-top:1px solid var(--border); display:grid; place-items:center; }
.nbhd__video iframe{ width:100%; height:100%; border:0; }

/* ============================================================
   VIEW TOGGLE (mobile tabs) + SPLIT (list 60 / map 40)
   ============================================================ */
.view-toggle{ display:flex; gap:6px; padding:var(--s-3) var(--s-4); max-width:var(--container); margin:0 auto; position:sticky; top:var(--appbar-h-mobile); z-index:25; background:color-mix(in srgb,var(--bg) 92%, transparent); backdrop-filter:blur(8px); }
.view-toggle__btn{ flex:1; padding:13px; border:1.5px solid var(--border-strong); background:var(--surface-1); color:var(--text);
  font-weight:700; font-size:15px; border-radius:var(--r-pill); min-height:50px; display:inline-flex; align-items:center; justify-content:center; gap:8px;
  transition:background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.view-toggle__btn svg{ width:18px; height:18px; }
.view-toggle__btn.is-active{ background:var(--accent); color:var(--text-on-accent); border-color:var(--accent); }
@media(min-width:900px){ .view-toggle{ display:none; } }

.split{ display:grid; gap:0; grid-template-columns:minmax(0,1fr); max-width:var(--container); margin:0 auto; }
.split__map{ position:relative; height:58dvh; border-top:1px solid var(--border); border-bottom:1px solid var(--border); overflow:hidden; contain:layout paint; }
#map{ width:100%; height:100%; background:var(--surface-2); }
.split__list{ padding:var(--s-4); width:100%; min-width:0; }
@media(max-width:899px){
  .split[data-mobile-view="list"] .split__map{ display:none !important; height:0 !important; }
  .split[data-mobile-view="map"] .split__list{ display:none; }
  .split[data-mobile-view="map"] .split__map{ height:calc(100dvh - var(--appbar-h-mobile) - 150px); min-height:380px; }
}
@media(min-width:900px){
  .split{ grid-template-columns:1.5fr 1fr; padding:var(--s-6) var(--edge); gap:var(--s-6); align-items:start; }
  .split__list{ padding:0; order:1; }
  .split__map{ order:2; position:sticky; top:calc(var(--appbar-h) + 16px); height:calc(100dvh - var(--appbar-h) - 40px);
    border:1px solid var(--border); border-radius:var(--r-md); }
}
.map__legend{ position:absolute; bottom:12px; left:12px; background:color-mix(in srgb,var(--surface-1) 92%, transparent);
  backdrop-filter:blur(6px); padding:8px 12px; border:1px solid var(--border); border-radius:var(--r-md);
  font-size:11px; color:var(--text-muted); display:flex; gap:7px 14px; flex-wrap:wrap; z-index:400; max-width:calc(100% - 24px); }
.map__legend > span{ display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.map__legend .lg-pin{ width:14px; height:14px; border-radius:50%; background:var(--accent); border:1.5px solid var(--text); display:inline-block; }
.map__legend .lg-pick{ width:14px; height:14px; border-radius:50%; background:var(--accent); border:2px solid var(--gold); display:inline-block; box-shadow:0 0 0 1px var(--accent); }

/* leaflet marker glyph pins */
.pin{ width:30px; height:30px; border-radius:50%; background:var(--accent); border:2px solid var(--text-on-accent);
  display:grid; place-items:center; font-size:14px; box-shadow:var(--shadow-2); color:var(--text-on-accent); }
.pin--pick{ border-color:var(--gold); box-shadow:0 0 0 2px var(--accent), var(--shadow-2); }
.cluster-wrap{ background:none; border:0; }
.cluster{ width:40px; height:40px; border-radius:50%; background:var(--accent); border:2px solid var(--text-on-accent); color:var(--text-on-accent); display:grid; place-items:center; font-weight:700; font-size:14px; box-shadow:var(--shadow-2); font-variant-numeric:tabular-nums; }
.pin__glyph{ filter:grayscale(.1); line-height:1; }
.leaflet-tooltip{ background:var(--surface-1); color:var(--text); border:1px solid var(--border); box-shadow:var(--shadow-2); font-family:var(--font-body); font-weight:600; }
.leaflet-tooltip-top::before{ border-top-color:var(--border); }
.leaflet-control-zoom a{ background:var(--surface-1) !important; color:var(--text) !important; border-color:var(--border) !important; }

/* list meta */
.listmeta{ display:flex; align-items:baseline; justify-content:space-between; margin:0 0 var(--s-4); color:var(--text-muted); font-size:var(--fs-sm); flex-wrap:wrap; gap:4px var(--s-3); }
.listmeta__count{ color:var(--text); font-weight:600; }
.listmeta__count b{ font-family:var(--font-display); color:var(--text); }
.listmeta__sort{ white-space:nowrap; color:var(--text-faint); }

/* section headers */
.cards-section{ list-style:none; margin:0 0 var(--s-5); padding:0; }
.cards-section__head{ display:flex; align-items:center; gap:var(--s-2); padding:10px 2px; margin-bottom:var(--s-3);
  border:0; border-bottom:2px solid var(--accent-deep); width:100%; background:none; cursor:pointer; text-align:left; min-height:44px; }
.cards-section__title{ font-family:var(--font-display); font-weight:600; font-size:var(--fs-lg); letter-spacing:-0.01em; color:var(--text); }
.cards-section__count{ margin-left:auto; font-size:11px; font-weight:700; color:var(--text-muted); background:var(--surface-3); padding:3px 9px; border-radius:var(--r-pill); font-variant-numeric:tabular-nums; }

/* ============================================================
   CARDS
   ============================================================ */
.cards{ list-style:none; padding:0; margin:0; display:grid; gap:var(--s-4); }
.cards--grid{ grid-template-columns:1fr; }
@media(min-width:720px){ .cards--grid{ grid-template-columns:1fr 1fr; } }

.card{ position:relative; background:var(--surface-1); border:1px solid var(--border); border-radius:var(--r-md);
  padding:var(--s-4); display:grid; grid-template-columns:92px 1fr; gap:var(--s-4); cursor:pointer; text-align:left;
  width:100%; font-family:inherit; color:var(--text); touch-action:manipulation; -webkit-tap-highlight-color:transparent;
  transition:border-color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), transform var(--t-fast) var(--ease); }
.card > *{ pointer-events:none; }
@media(hover:hover){ .card:hover{ border-color:var(--border-strong); box-shadow:var(--shadow-2); transform:translateY(-2px); } }
.card:active{ transform:scale(0.99); }
.card.is-active{ border-color:var(--accent); box-shadow:0 0 0 2px var(--accent-soft); }

.card__thumb{ width:92px; height:92px; border-radius:var(--r-sm); overflow:hidden; position:relative; display:grid; place-items:center; }
.card__thumb img{ width:100%; height:100%; object-fit:cover; }
.card__thumb--blank{ background:linear-gradient(150deg, color-mix(in srgb, var(--cat,#999) 20%, var(--surface-2)), color-mix(in srgb, var(--cat,#999) 40%, var(--surface-3))); }
.card__thumb--blank::after{ content:""; position:absolute; inset:0; opacity:.4;
  background-image:radial-gradient(circle at 1px 1px, color-mix(in srgb,var(--cat,#999) 40%, transparent) 1px, transparent 0); background-size:9px 9px; }
.card__glyph{ font-size:34px; position:relative; z-index:1; }
@media(max-width:420px){ .card{ grid-template-columns:72px 1fr; gap:var(--s-3); } .card__thumb{ width:72px; height:72px; } .card__glyph{ font-size:28px; } }

.card__body{ min-width:0; display:flex; flex-direction:column; }
.card__titlerow{ display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.card__title{ font-family:var(--font-display); font-weight:600; font-size:var(--fs-md); margin:0; letter-spacing:-0.01em; line-height:1.2; color:var(--text); }
.card__jp{ font-size:12px; color:var(--text-muted); font-weight:500; white-space:nowrap; }
.card__meta{ display:flex; flex-wrap:wrap; gap:6px 10px; font-size:12px; color:var(--text-muted); margin:5px 0 7px; align-items:center; }
.card__meta .mi{ display:inline-flex; align-items:center; gap:4px; }
.card__meta .mi svg{ width:13px; height:13px; opacity:.7; }
.card__why{ margin:0; font-size:var(--fs-sm); color:var(--text-muted); line-height:1.45; }
.card__badges{ display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; }

/* editorial pin card (vertical, photo-forward) */
.pcard{ background:var(--surface-1); border:1px solid var(--border); border-radius:var(--r-md); overflow:hidden; display:flex; flex-direction:column;
  transition:border-color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), transform var(--t-fast) var(--ease); }
@media(hover:hover){ .pcard:hover{ border-color:var(--border-strong); box-shadow:var(--shadow-2); transform:translateY(-2px); } }
.pcard__main{ cursor:pointer; display:block; }
.pcard__photo{ position:relative; aspect-ratio:16/9; display:grid; place-items:center; border-bottom:1px solid var(--border); }
.pcard__glyph{ font-size:52px; opacity:.9; }
.pcard__cat{ position:absolute; left:0; top:14px; background:var(--accent); color:var(--text-on-accent); font-size:10px; font-weight:800; letter-spacing:0.1em; text-transform:uppercase; padding:5px 12px 5px 10px; border-radius:0 var(--r-pill) var(--r-pill) 0; }
.pcard__pick{ position:absolute; right:12px; top:12px; display:inline-flex; align-items:center; gap:5px; background:var(--gold); color:var(--gold-ink); font-size:10px; font-weight:700; padding:5px 10px; border-radius:var(--r-pill); }
.pcard__pick svg{ width:12px; height:12px; }
.pcard__body{ padding:var(--s-4); display:flex; flex-direction:column; gap:10px; }
.pcard__titlerow{ display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.pcard__name{ font-family:var(--font-display); font-weight:600; font-size:var(--fs-lg); margin:0; letter-spacing:-0.01em; line-height:1.15; color:var(--text); }
.pcard__jp{ font-family:var(--font-kanji); font-size:13px; color:var(--text-muted); }
.pcard__price{ margin-left:auto; font-size:13px; font-weight:700; color:var(--text); font-variant-numeric:tabular-nums; }
.pcard__badges{ display:flex; flex-wrap:wrap; gap:6px; }
.pcard__quote{ font-family:var(--font-display); font-style:italic; font-weight:500; font-size:22px; line-height:1.3; margin:2px 0; padding-left:14px; border-left:3px solid var(--accent); color:var(--text); text-wrap:pretty; letter-spacing:-0.005em; }
.pcard__grid{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--border); border:1px solid var(--border); border-radius:var(--r-sm); overflow:hidden; }
.pcard__cell{ background:var(--surface-2); padding:9px 11px; min-width:0; }
.pcard__cl{ display:block; font-size:9.5px; font-weight:800; letter-spacing:0.09em; text-transform:uppercase; color:var(--text-faint); }
.pcard__cv{ display:block; font-size:12.5px; color:var(--text); margin-top:3px; line-height:1.4; }
.pcard__actions{ display:grid; grid-template-columns:repeat(4,1fr); gap:6px; padding:10px var(--s-4) var(--s-4); border-top:1px solid var(--border); margin-top:auto; }
.pcard__act{ display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:48px; border-radius:var(--r-sm); border:1px solid var(--border-strong); background:var(--surface-2); color:var(--text); font-size:10.5px; font-weight:600; text-decoration:none;
  transition:background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.pcard__act svg{ width:17px; height:17px; }
.pcard__act:hover{ background:var(--surface-3); }
.pcard__act--primary{ background:var(--accent); border-color:var(--accent); color:var(--text-on-accent); box-shadow:var(--shadow-cta); }
.pcard__act--primary:hover{ background:var(--accent-deep); border-color:var(--accent-deep); }
.pcard__act[aria-disabled="true"]{ opacity:.38; pointer-events:none; }
.pcard__act[data-saved="true"]{ background:var(--gold); border-color:var(--gold); color:var(--gold-ink); }
.pcard__act[data-saved="true"] svg{ fill:var(--gold-ink); }

/* badges */
.badge{ display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:600; padding:3px 9px; border-radius:var(--r-pill);
  background:var(--surface-3); color:var(--text-muted); border:1px solid var(--border); line-height:1.3; letter-spacing:0.01em; }
.badge--cat{ color:#fff; border-color:transparent; }
/* credentials = trust signals → olive */
.badge--michelin, .badge--hyakumeiten, .badge--tabelog-award{ background:color-mix(in srgb, var(--olive) 18%, var(--surface-1)); color:var(--olive-2); border-color:color-mix(in srgb, var(--olive) 40%, transparent); }
.badge--michelin::before, .badge--hyakumeiten::before, .badge--tabelog-award::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--olive); }
.badge--book{ background:var(--accent-soft); color:var(--accent-2); border-color:transparent; }
.badge--new{ background:color-mix(in srgb, var(--accent) 20%, var(--surface-1)); color:var(--accent-2); border-color:transparent; }
.badge--price{ background:transparent; font-variant-numeric:tabular-nums; }
/* concierge pick = gold (used in cards + drawer) */
.badge--pick{ background:var(--gold); color:var(--gold-ink); border-color:transparent; font-weight:700; }
.badge--pick svg{ width:12px; height:12px; }

/* empty */
.empty{ padding:var(--s-6) var(--s-4); text-align:center; color:var(--text-muted); border:1px dashed var(--border-strong); border-radius:var(--r-md); margin-top:var(--s-3); }
.empty p{ margin:0; }

/* Till3 banner (sibling product — its own warmth) */
.till3banner{ margin-top:var(--s-5); padding:var(--s-4) var(--s-5); background:linear-gradient(135deg,var(--surface-2),var(--surface-3));
  border-radius:var(--r-md); border:1px solid var(--border); display:flex; flex-wrap:wrap; align-items:center; gap:var(--s-4); justify-content:space-between; }
.till3banner__copy strong{ display:block; font-family:var(--font-display); font-weight:600; font-size:var(--fs-lg); }
.till3banner__copy span{ color:var(--text-muted); font-size:var(--fs-sm); }

/* ============================================================
   DETAIL SHEET — bottom sheet (mobile) / side panel (desktop)
   ============================================================ */
.sheet-backdrop{ position:fixed; inset:0; background:color-mix(in srgb, var(--bg) 60%, transparent); z-index:80; opacity:0; transition:opacity var(--t-med) var(--ease); }
.sheet-backdrop[data-open="true"]{ opacity:1; }
.sheet{ position:fixed; left:0; right:0; bottom:0; background:var(--surface-1); z-index:90;
  border-radius:var(--r-xl) var(--r-xl) 0 0; height:75dvh; max-height:75dvh; display:flex; flex-direction:column; overflow:hidden;
  box-shadow:var(--shadow-3); transform:translateY(100%); transition:transform var(--t-med) var(--spring);
  padding-bottom:env(safe-area-inset-bottom); border-top:1px solid var(--border); }
.sheet[data-open="true"]{ transform:translateY(0); }
.sheet[data-dragging="true"]{ transition:none; }
@media(min-width:900px){
  .sheet{ left:auto; top:0; bottom:0; right:0; width:460px; height:100dvh; max-height:100dvh; border-radius:0;
    transform:translateX(100%); border-left:1px solid var(--border); border-top:0; }
  .sheet[data-open="true"]{ transform:translateX(0); }
}
.sheet__grab{ position:absolute; top:8px; left:50%; transform:translateX(-50%); width:44px; height:4px; border-radius:99px; background:var(--border-strong); z-index:3; }
@media(min-width:900px){ .sheet__grab{ display:none; } }
.sheet__head{ position:relative; z-index:2; display:flex; align-items:center; gap:var(--s-3); padding:var(--s-5) var(--s-4) var(--s-3);
  flex:0 0 auto; touch-action:none; }
.sheet__meta{ flex:1 1 auto; display:flex; justify-content:flex-end; align-items:center; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.sheet__title{ font-family:var(--font-display); font-weight:600; font-size:var(--fs-lg); margin:0; letter-spacing:-0.01em; flex:1; min-width:0; }
.sheet__title .jp{ display:block; font-size:12px; color:var(--text-muted); font-weight:500; margin-top:2px; }
.sheet__body{ padding:0 var(--s-5) var(--s-6); overflow-y:auto; flex:1 1 auto; scrollbar-width:none; }
.sheet__body::-webkit-scrollbar{ display:none; }
@media(max-width:680px){ .sheet__body{ padding:0 var(--s-4) var(--s-6); } }

/* drawer top: glyph + identity */
.sh-id{ display:flex; gap:var(--s-4); align-items:flex-start; margin:var(--s-2) 0 var(--s-4); }
.sh-glyph{ flex:0 0 auto; width:72px; height:72px; border-radius:var(--r-md); display:grid; place-items:center; font-size:40px;
  background:linear-gradient(150deg, color-mix(in srgb,var(--cat,#999) 22%, var(--surface-2)), color-mix(in srgb,var(--cat,#999) 46%, var(--surface-3))); }
.sh-id__main{ flex:1; min-width:0; }
.sh-id__name{ font-family:var(--font-display); font-weight:600; font-size:var(--fs-xl); line-height:1.1; letter-spacing:-0.01em; margin:0; }
.sh-id__jp{ font-family:var(--font-kanji); font-size:var(--fs-md); color:var(--text-muted); margin:3px 0 0; }
.sh-id__line{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:8px; }
.sh-cat{ display:inline-flex; align-items:center; gap:7px; font-size:11px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--text-muted); }
.sh-cat .dot{ width:8px; height:8px; border-radius:50%; }
.sh-price{ font-size:13px; font-weight:700; color:var(--text); font-variant-numeric:tabular-nums; }

.sh-badges{ display:flex; gap:6px; flex-wrap:wrap; margin:var(--s-3) 0; }

/* optional photo hero (real data only) */
.sh-photo{ aspect-ratio:16/9; border-radius:var(--r-md); overflow:hidden; margin:0 0 var(--s-4); background:var(--surface-2); }
.sh-photo img{ width:100%; height:100%; object-fit:cover; }
/* ordering signals (real data only) */
.sh-ordering{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 var(--s-3); }
.sh-ord{ font-size:11px; font-weight:600; color:var(--text-muted); background:var(--surface-3); border:1px solid var(--border); border-radius:var(--r-pill); padding:4px 10px; }

/* concierge pick gold pill — top right of drawer header */
.sh-pick{ display:inline-flex; align-items:center; gap:5px;
  background:var(--gold); color:var(--gold-ink); font-size:11px; font-weight:700; padding:6px 12px; border-radius:var(--r-pill); letter-spacing:0.02em; }
.sh-pick svg{ width:13px; height:13px; }

/* the editorial moment — pull quote */
.sh-why{ font-family:var(--font-display); font-style:italic; font-weight:500; font-size:28px; line-height:1.28; color:var(--text);
  margin:var(--s-4) 0; padding-left:var(--s-4); border-left:3px solid var(--accent); letter-spacing:-0.01em; text-wrap:pretty; }
@media(max-width:680px){ .sh-why{ font-size:24px; } }
.sh-special{ font-size:var(--fs-sm); color:var(--text-muted); line-height:1.55; margin:0 0 var(--s-4); }

/* best-window bar */
.bestwin{ margin:var(--s-4) 0; }
.bestwin__lbl{ font-size:10px; font-weight:800; letter-spacing:0.12em; text-transform:uppercase; color:var(--text-faint); display:flex; justify-content:space-between; }
.bestwin__bar{ display:flex; height:14px; border-radius:5px; overflow:hidden; margin:7px 0 5px; border:1px solid var(--border); }
.bestwin__seg{ flex:1; }
.bestwin__seg.green{ background:var(--olive); } .bestwin__seg.yellow{ background:var(--gold); } .bestwin__seg.red{ background:var(--accent); }
.bestwin__scale{ display:flex; justify-content:space-between; font-size:9.5px; color:var(--text-faint); font-variant-numeric:tabular-nums; }
.bestwin__summary{ font-size:13px; color:var(--text-muted); line-height:1.5; margin:8px 0 0; }
.bestwin__key{ display:flex; gap:12px; margin-top:8px; font-size:11px; color:var(--text-faint); flex-wrap:wrap; }
.bestwin__key span{ display:inline-flex; align-items:center; gap:5px; }
.bestwin__key i{ width:9px; height:9px; border-radius:2px; display:inline-block; }

/* 2-column detail grid */
.dgrid{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--border); border:1px solid var(--border); border-radius:var(--r-md); overflow:hidden; margin:var(--s-4) 0; }
.dgrid__cell{ background:var(--surface-2); padding:13px 14px; min-width:0; }
.dgrid__cell--wide{ grid-column:1 / -1; }
.dgrid__l{ font-size:10px; font-weight:800; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-faint); display:flex; align-items:center; gap:6px; }
.dgrid__l svg{ width:13px; height:13px; color:var(--accent-2); }
.dgrid__v{ font-size:14px; color:var(--text); margin-top:5px; line-height:1.45; }
.dgrid__v--verified{ color:var(--olive-2); font-weight:600; }

/* sticky action row inside drawer */
.sh-actions{ position:sticky; bottom:0; z-index:5; display:flex; gap:8px; padding:var(--s-3) var(--s-5) calc(var(--s-3) + env(safe-area-inset-bottom));
  margin:var(--s-4) calc(-1 * var(--s-5)) calc(-1 * var(--s-6)); background:color-mix(in srgb, var(--surface-1) 94%, transparent);
  backdrop-filter:blur(10px); border-top:1px solid var(--border); }
@media(max-width:680px){ .sh-actions{ margin-left:calc(-1 * var(--s-4)); margin-right:calc(-1 * var(--s-4)); padding-left:var(--s-4); padding-right:var(--s-4); } }
.sh-act{ flex:1; display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:52px;
  border-radius:var(--r-md); border:1px solid var(--border-strong); background:var(--surface-2); color:var(--text);
  font-size:11px; font-weight:600; text-decoration:none; transition:background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.sh-act svg{ width:19px; height:19px; }
.sh-act:hover{ background:var(--surface-3); }
.sh-act--primary{ background:var(--accent); border-color:var(--accent); color:var(--text-on-accent); box-shadow:var(--shadow-cta); }
.sh-act--primary:hover{ background:var(--accent-deep); border-color:var(--accent-deep); }
.sh-act[aria-disabled="true"]{ opacity:.4; pointer-events:none; }
.sh-act[data-saved="true"]{ background:var(--gold); border-color:var(--gold); color:var(--gold-ink); }
.sh-act[data-saved="true"] svg{ fill:var(--gold-ink); }

/* ============================================================
   ABOUT / PITCH
   ============================================================ */
.about{ max-width:760px; margin:0 auto; }
.pitch{ background:var(--surface-2); color:var(--text); padding:var(--s-7) var(--s-5); border-radius:var(--r-lg); text-align:center; margin-bottom:var(--s-6); position:relative; overflow:hidden; border:1px solid var(--border); }
.pitch::before{ content:"東京"; position:absolute; right:-10px; top:-30px; font-family:var(--font-kanji); font-weight:700; font-size:180px; color:color-mix(in srgb, var(--accent) 20%, transparent); line-height:.7; pointer-events:none; }
.pitch__kicker{ font-size:12px; text-transform:uppercase; letter-spacing:0.14em; color:var(--text-muted); margin:0 0 var(--s-3); position:relative; }
.pitch__h1{ font-family:var(--font-display); font-weight:600; font-size:clamp(30px,6vw,46px); line-height:1.08; margin:0 0 var(--s-3); color:var(--text); position:relative; letter-spacing:-0.01em; }
.pitch__lede{ font-size:var(--fs-md); line-height:1.5; max-width:54ch; margin:0 auto var(--s-4); color:var(--text-muted); position:relative; }
.pitch__lede strong{ color:var(--text); }
.pitch__guarantees{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:var(--s-4) 0 var(--s-5); position:relative; }
.guarantee-pill{ display:inline-flex; align-items:center; gap:5px; background:var(--surface-3); border:1px solid var(--border); color:var(--text); padding:8px 14px; border-radius:var(--r-pill); font-size:12px; font-weight:600; }
.pitch__cta{ display:inline-flex; align-items:center; gap:8px; background:var(--accent); color:var(--text-on-accent); padding:16px 30px; border-radius:var(--r-pill); font-size:17px; font-weight:700; text-decoration:none; position:relative; box-shadow:var(--shadow-cta); transition:transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.pitch__cta:hover{ transform:translateY(-1px); background:var(--accent-deep); }
.pitch__cta--xl{ padding:18px 36px; font-size:19px; }
.pitch__guarantee{ margin:var(--s-4) 0 0; font-size:13px; color:var(--text-faint); position:relative; }
.pitch--closer{ margin-top:var(--s-7); margin-bottom:0; }
.about__h2{ font-family:var(--font-display); font-weight:600; font-size:var(--fs-xl); margin:var(--s-6) 0 var(--s-4); color:var(--text); letter-spacing:-0.01em; }
.checks, .anti-checks{ list-style:none; padding:0; margin:0 0 var(--s-4); display:grid; gap:var(--s-3); }
.checks li, .anti-checks li{ position:relative; padding-left:34px; font-size:var(--fs-md); line-height:1.55; color:var(--text-muted); }
.checks li::before, .anti-checks li::before{ position:absolute; left:0; top:2px; width:23px; height:23px; border-radius:50%; display:grid; place-items:center; font-size:13px; font-weight:700; }
.checks li::before{ content:"✓"; background:var(--accent); color:var(--text-on-accent); }
.anti-checks li::before{ content:"✕"; background:var(--surface-3); color:var(--text); border:1px solid var(--border); }
.checks li strong, .anti-checks li strong{ color:var(--text); }
.about__note{ background:var(--surface-1); border:1px solid var(--border); border-radius:var(--r-md); padding:var(--s-5); margin-top:var(--s-5); }
.about__note p{ font-size:var(--fs-md); line-height:1.65; margin:0 0 var(--s-3); color:var(--text-muted); }
.about__sig{ font-family:var(--font-display); font-style:italic; color:var(--text); }

/* ============================================================
   REFERENCE — 3-column at full width
   ============================================================ */
.section__head{ margin-bottom:var(--s-5); }
.section__head h2{ font-family:var(--font-display); font-weight:600; font-size:var(--fs-2xl); margin:0 0 var(--s-2); letter-spacing:-0.015em; }
.section__head p{ margin:0; color:var(--text-muted); }
.tabs{ display:flex; gap:4px; border-bottom:1px solid var(--border); margin-bottom:var(--s-5); overflow-x:auto; scrollbar-width:none; }
.tabs::-webkit-scrollbar{ display:none; }
.tab{ padding:12px var(--s-4); background:none; border:0; color:var(--text-muted); font-weight:600; border-bottom:2px solid transparent; white-space:nowrap; min-height:48px; }
.tab[aria-selected="true"]{ color:var(--text); border-bottom-color:var(--accent); }
.refpanels{ display:grid; gap:var(--s-4); }
@media(min-width:760px){ .refpanels{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1040px){ .refpanels{ grid-template-columns:repeat(3,1fr); } }
.refblock{ background:var(--surface-1); border:1px solid var(--border); border-radius:var(--r-md); padding:var(--s-6) var(--s-5); transition:background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), transform var(--t-fast) var(--ease); }
.refblock:hover{ background:var(--surface-2); box-shadow:var(--shadow-2); transform:translateY(-2px); }
.refblock--flash{ border-color:var(--accent); box-shadow:0 0 0 2px var(--accent-soft); }
.refblock h3{ font-family:var(--font-display); font-weight:600; margin:0 0 var(--s-3); font-size:var(--fs-xl); letter-spacing:-0.01em; color:var(--text); }
.refblock h3::before{ content:""; display:block; width:32px; height:2px; background:var(--accent); margin-bottom:var(--s-3); border-radius:1px; }
.refblock p, .refblock li{ color:var(--text-muted); font-size:var(--fs-base); line-height:1.7; margin:0 0 var(--s-3); }
.refblock p:last-child, .refblock li:last-child{ margin-bottom:0; }
.refblock strong{ color:var(--text); }
.refblock ul{ padding-left:var(--s-5); }

/* Till3 page */
.till3card{ background:var(--surface-2); color:var(--text); border:1px solid var(--border); border-radius:var(--r-lg); padding:var(--s-7) var(--s-5); text-align:center; }
.till3card h2{ font-family:var(--font-display); font-weight:600; font-size:var(--fs-2xl); margin:0 0 var(--s-3); color:var(--text); }
.till3card p{ margin:0 0 var(--s-4); font-size:var(--fs-md); color:var(--text-muted); }
.till3card__small{ font-size:var(--fs-sm); color:var(--text-faint); margin-top:var(--s-4); }

/* ============================================================
   ITINERARY DETAIL
   ============================================================ */
.itin-detail{ max-width:780px; margin:0 auto; }
.itin-detail__head{ background:var(--surface-2); color:var(--text); padding:var(--s-6) var(--s-5); border-radius:var(--r-lg); position:relative; overflow:hidden; margin-bottom:var(--s-5); border:1px solid var(--border); }
.itin-detail__head::before{ content:""; position:absolute; top:0; left:0; right:0; height:4px; background:var(--itin-color,var(--accent)); }
.itin-detail__kicker{ font-size:11px; text-transform:uppercase; letter-spacing:0.12em; color:var(--accent-2); margin:0 0 var(--s-2); font-weight:700; }
.itin-detail__title{ font-family:var(--font-display); font-weight:600; font-size:clamp(28px,5vw,40px); margin:0 0 var(--s-2); color:var(--text); line-height:1.05; letter-spacing:-0.01em; }
.itin-detail__sub{ margin:0; font-size:var(--fs-md); color:var(--text-muted); line-height:1.55; }
.itin-detail__back{ display:inline-flex; align-items:center; gap:6px; margin-bottom:var(--s-4); font-weight:600; color:var(--text-muted); text-decoration:none; font-size:var(--fs-sm); min-height:40px; }
.itin-stops{ list-style:none; padding:0; margin:0; }
.itin-day__head{ display:flex; align-items:baseline; gap:12px; padding:11px 15px; background:var(--surface-2); color:var(--text); border-radius:var(--r-md); border-left:4px solid var(--itin-color,var(--accent)); margin:var(--s-5) 0 var(--s-3); }
.itin-day__head:first-child{ margin-top:0; }
.itin-day__num{ font-family:var(--font-display); font-weight:700; font-size:var(--fs-lg); }
.itin-day__sub{ font-size:13px; color:var(--text-muted); font-style:italic; }
.itin-stop{ display:grid; grid-template-columns:38px 1fr; gap:13px; align-items:start; }
.itin-stop__pin{ width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:var(--itin-color,var(--accent)); color:var(--text); font-weight:700; font-family:var(--font-display); font-size:15px; }
.itin-stop__card{ background:var(--surface-1); border:1px solid var(--border); border-radius:var(--r-md); padding:var(--s-3) var(--s-4); text-align:left; cursor:pointer; font-family:inherit; color:var(--text); display:flex; flex-direction:column; gap:4px; width:100%; margin-bottom:var(--s-2); transition:border-color var(--t-fast) var(--ease); }
.itin-stop__card:hover{ border-color:var(--border-strong); }
.itin-stop__time{ font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:var(--text-faint); font-weight:700; }
.itin-stop__name{ font-family:var(--font-display); font-weight:600; font-size:var(--fs-md); color:var(--text); }
.itin-stop__note{ font-size:13px; color:var(--text-muted); line-height:1.5; }
.itin-connector{ padding:5px 0 5px 50px; font-size:12px; color:var(--text-faint); font-style:italic; position:relative; }

/* ============================================================
   STICKY BUY (mobile bottom bar) / BOTTOM NAV / TOP / FOOTER
   ============================================================ */
.sticky-buy{ position:fixed; z-index:55; text-decoration:none; background:var(--accent); color:var(--text-on-accent); font-weight:700;
  display:flex; align-items:center; justify-content:center; gap:10px; box-shadow:var(--shadow-3);
  left:0; right:0; bottom:calc(var(--bottomnav-h) + env(safe-area-inset-bottom)); padding:14px 18px; font-size:16px; min-height:54px; }
.sticky-buy__line1{ font-weight:600; }
.sticky-buy__price{ font-weight:800; font-variant-numeric:tabular-nums; }
body:has(.sheet[data-open="true"]) .sticky-buy{ opacity:0; pointer-events:none; }
@media(min-width:900px){ .sticky-buy{ display:none; } }

.bottomnav{ position:fixed; bottom:0; left:0; right:0; height:calc(var(--bottomnav-h) + env(safe-area-inset-bottom));
  padding-bottom:env(safe-area-inset-bottom); background:color-mix(in srgb,var(--surface-1) 95%, transparent);
  backdrop-filter:blur(12px); border-top:1px solid var(--border); display:grid; grid-template-columns:repeat(4,1fr); z-index:60; }
.bottomnav__item{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; color:var(--text-muted); font-size:11px; font-weight:600; text-decoration:none; min-height:44px; }
.bottomnav__item svg{ width:22px; height:22px; }
.bottomnav__item[aria-current="page"]{ color:var(--accent-2); }
@media(min-width:900px){ .bottomnav{ display:none; } }

.scrolltop{ position:fixed; z-index:54; right:16px; bottom:calc(var(--bottomnav-h) + 78px); width:44px; height:44px; border-radius:50%;
  background:var(--surface-3); color:var(--text); border:1px solid var(--border-strong); display:grid; place-items:center; box-shadow:var(--shadow-2);
  opacity:0; pointer-events:none; transform:translateY(8px); transition:opacity .25s ease, transform .25s var(--ease); }
.scrolltop.is-visible{ opacity:1; pointer-events:auto; transform:translateY(0); }
.scrolltop:hover{ background:var(--accent); border-color:var(--accent); }
.scrolltop svg{ width:18px; height:18px; }
@media(min-width:900px){ .scrolltop{ bottom:24px; right:24px; } }

.sitefoot{ border-top:1px solid var(--border); margin-top:var(--s-6); }
.sitefoot__inner{ max-width:var(--container); margin:0 auto; padding:var(--s-6) var(--edge); display:flex; flex-wrap:wrap; gap:var(--s-4); justify-content:space-between; align-items:baseline; }
@media(max-width:680px){ .sitefoot__inner{ padding:var(--s-6) var(--s-4); } }
.sitefoot__brand strong{ font-family:var(--font-display); font-weight:600; font-size:var(--fs-lg); }
.sitefoot__wordmark{ display:inline-flex; align-items:baseline; gap:8px; }
.sitefoot__tokyo{ font-family:var(--font-display); font-weight:700; font-size:var(--fs-lg); letter-spacing:0.01em; color:var(--text); }
.sitefoot__label{ font-size:9px; font-weight:700; letter-spacing:0.28em; text-transform:uppercase; color:var(--text-muted); }
.sitefoot__brand span{ display:block; color:var(--text-muted); font-size:13px; margin-top:4px; }
.sitefoot__brand a{ color:var(--accent-2); text-decoration:none; }
.sitefoot__small{ color:var(--text-faint); font-size:12px; max-width:46ch; line-height:1.6; }
.sitefoot__small a{ color:var(--text-muted); }

/* mobile tap targets ≥ 48px */
@media(max-width:899px){
  .chip{ min-height:48px; }
  .catgroup .chip, .chiprow--tags .chip{ min-height:48px; }
  .btn{ min-height:48px; }
  .iconbtn{ width:48px; height:48px; }
  .navbtn{ min-height:48px; }
  .active-filters__pill button{ min-width:32px; min-height:32px; }
  .active-filters__clear{ min-height:44px; }
  .tab{ min-height:52px; }
}

@media (prefers-reduced-motion: reduce){ *{ animation-duration:.01ms !important; transition-duration:.01ms !important; } }
