/* Nippon Picks — editorial comparison site */
:root {
  --ink: #14171c;
  --body: #2b3038;
  --muted: #6b7280;
  --line: #e7e3db;
  --paper: #fbf9f5;
  --card: #ffffff;
  --indigo: #17324d;
  --indigo-soft: #eef2f6;
  --vermilion: #d63b2f;
  --vermilion-dark: #b32b20;
  --gold: #c99a2e;
  --good: #1f9d63;
  --shadow: 0 1px 2px rgba(20,23,28,.04), 0 8px 24px rgba(20,23,28,.06);
  --maxw: 760px;
  --sans: -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Roboto, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--paper);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Masthead ---------- */
.site-header {
  background: var(--indigo);
  color: #fff;
  border-bottom: 3px solid var(--vermilion);
}
.site-header .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .2px;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand .mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--vermilion);
  display: inline-block; position: relative; flex: none;
}
.brand .mark::after { /* rising-sun dot */
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  background: #fff; opacity: .92;
}
.brand-tagline { color: #c7d3df; font-size: 14px; }
.site-nav { margin-left: auto; display: flex; gap: 18px; align-self: center; }
.site-nav a { color: #c7d3df; text-decoration: none; font-size: 14px; font-family: var(--sans); font-weight: 600; }
.site-nav a:hover { color: #fff; }
@media (max-width: 620px) {
  .site-nav {
    min-width: 0; margin-left: 0; width: 100%; gap: 7px 14px;
    flex-wrap: wrap; overflow: visible;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: none; white-space: nowrap; }
}

/* ---------- Layout ---------- */
.content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 34px 20px 12px;
}
/* ---------- Hero image ---------- */
.hero { margin: 0 0 22px; }
.hero img {
  display: block; width: 100%; height: auto; border-radius: 14px;
  box-shadow: var(--shadow);
}
.hero-large img { aspect-ratio: 16 / 7; object-fit: cover; }
.hero-gallery-images {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px;
  overflow: hidden; border-radius: 14px; box-shadow: var(--shadow);
  aspect-ratio: 16 / 7; background: var(--line);
}
.hero-gallery-1 .hero-gallery-images { grid-template-columns: minmax(0, 1fr); }
.hero-gallery-2 .hero-gallery-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-gallery .hero-gallery-images img {
  width: 100%; height: 100%; min-width: 0; aspect-ratio: auto;
  object-fit: cover; border-radius: 0; box-shadow: none;
}
.hero-large video {
  display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover;
  border-radius: 14px; box-shadow: var(--shadow);
}
.hero-video .hero-fallback { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-video video { display: none; }
  .hero-video .hero-fallback { display: block; }
}

.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--vermilion); margin: 0 0 10px;
}
.content h1 {
  font-family: var(--serif);
  font-size: 40px; line-height: 1.18; letter-spacing: -.01em;
  color: var(--ink); margin: 0 0 14px; font-weight: 700;
}
.article-meta {
  color: var(--muted); font-size: 14.5px; margin: 0 0 22px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}
.article-meta .by { font-weight: 600; color: var(--body); }

.content h2 {
  font-family: var(--serif);
  font-size: 27px; line-height: 1.3; color: var(--ink);
  margin: 44px 0 14px; padding-left: 14px;
  border-left: 4px solid var(--vermilion);
}
.content h3 {
  font-size: 20.5px; color: var(--indigo); font-weight: 700;
  margin: 30px 0 8px;
}
.content p { margin: 0 0 17px; }
.content a { color: var(--vermilion-dark); text-decoration: underline; text-underline-offset: 2px; }
.content a:hover { color: var(--vermilion); }
.content ul, .content ol { margin: 0 0 18px; padding-left: 22px; }
.content li { margin: 7px 0; }
.content strong { color: var(--ink); font-weight: 700; }

/* first paragraph = lead */
.content > p:first-of-type { font-size: 20px; color: var(--ink); }

/* ---------- Editorial article layout ---------- */
.layout {
  width: min(calc(100% - 48px), 1240px); margin: 0 auto; padding: 8px 0;
  display: grid; grid-template-columns: minmax(0,780px) minmax(280px,320px); gap: clamp(34px,4vw,56px);
  align-items: start;
}
.layout .col-main { max-width: none; margin: 0; padding: 26px 0 12px; }
.layout > .rail-left { display: none; }
.layout-city-hub {
  width: min(calc(100% - 48px), 1240px); grid-template-columns: minmax(0,1fr);
}
.layout-city-hub > .rail { display: none; }
.layout-city-hub .col-main { width: 100%; }
.rail { position: sticky; top: 18px; font-family: var(--sans); }
.rail:empty { display: none; }
.rail-title {
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #5c6570; margin: 0 0 10px;
}
/* TOC */
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a {
  display: block; padding: 6px 0 6px 14px; margin-left: -2px;
  border-left: 2px solid transparent; color: var(--muted);
  font-size: 14px; text-decoration: none; line-height: 1.4;
}
.toc a:hover { color: var(--vermilion-dark); border-left-color: var(--vermilion); }
/* Pick box */
.pick-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; box-shadow: var(--shadow); margin-top: 18px;
}
.pick-name { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); margin: 2px 0 4px; }
.pick-note { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
/* Mascot */
.mascot {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 10px 8px; box-shadow: var(--shadow); text-align: center;
}
.mascot img { width: 100%; height: auto; display: block; border-radius: 8px; }
.mascot figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 600; }

/* ---------- Provider logo chip in table ---------- */
.logo-cell { display: flex; align-items: center; gap: 9px; }
.logo-cell img { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; flex: none; }
.logo-name { font-weight: 700; color: var(--ink); }

/* ---------- BEST VALUE badge ---------- */
.badge {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: #fff; background: var(--vermilion);
  padding: 2px 7px; border-radius: 6px; margin-left: 6px; vertical-align: middle;
  white-space: nowrap;
}
.badge.gold { background: var(--gold); }
tr.is-pick td { background: #fff8ef !important; box-shadow: inset 3px 0 0 var(--gold); }

/* ---------- yes / no marks ---------- */
.yes { color: var(--good); font-weight: 800; }
.no { color: #c0554e; font-weight: 800; }

/* ---------- CTA in table ---------- */
.content td .cta { padding: 7px 12px; font-size: 13px; white-space: nowrap; }
.content .cta::after { content: " \2192"; font-weight: 700; }

/* ---------- Affiliate disclosure ---------- */
.affiliate-disclosure {
  background: var(--indigo-soft);
  border: 1px solid #dbe3ec;
  border-left: 3px solid var(--indigo);
  padding: 12px 16px; font-size: 14.5px; color: #45525f;
  border-radius: 8px; margin: 0 0 30px;
}
.affiliate-disclosure strong { color: var(--indigo); }

/* ---------- Decision-first article summary ---------- */
.thirty-seconds {
  margin: -12px 0 30px;
  padding: 18px 20px 17px;
  background: #faf8f4;
  border: 1px solid #e3dcd2;
  border-left: 4px solid var(--vermilion);
  border-radius: 8px;
}
.thirty-seconds-title {
  margin: 0 0 12px;
  color: var(--vermilion-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
.thirty-seconds ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.thirty-seconds li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  margin: 0;
  color: #2b3540;
  font-size: 14.5px;
  line-height: 1.45;
}
.thirty-seconds-check {
  color: var(--vermilion);
  font-weight: 800;
  line-height: 1.45;
}

/* ---------- Comparison table ---------- */
.content .table-wrap, .content > table { margin: 24px 0 30px; }
.content table {
  border-collapse: separate; border-spacing: 0;
  width: 100%; font-size: 14.5px;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow);
  display: block; overflow-x: auto; white-space: nowrap;
}
.content thead th {
  background: var(--indigo); color: #fff; font-weight: 600;
  text-align: left; padding: 12px 14px; position: sticky; top: 0;
  border-bottom: none;
}
.content tbody td {
  padding: 11px 14px; border-top: 1px solid var(--line);
  vertical-align: top;
}
.content tbody tr:nth-child(even) td { background: #faf8f4; }
.content tbody tr:hover td { background: var(--indigo-soft); }
.content tbody td:first-child { font-weight: 700; color: var(--ink); }
/* highlight prices/checks written in markdown */
.content td:has(> strong) { color: var(--good); }

/* ---------- CTA buttons (for affiliate links later) ---------- */
.content a.cta, .content .cta a {
  display: inline-block; background: var(--vermilion); color: #fff;
  text-decoration: none; font-weight: 700; padding: 10px 18px;
  border-radius: 8px; box-shadow: var(--shadow);
}
.content a.cta:hover { background: var(--vermilion-dark); }

/* ---------- Index (home) ---------- */
.index-intro { font-size: 20px; color: var(--body); margin: 4px 0 26px; }
.index-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.index-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease;
  overflow: hidden; display: grid; grid-template-columns: 240px 1fr; align-items: stretch;
}
.index-item .index-body { padding: 18px 22px; }
.index-thumb { display: block; height: 100%; }
.index-thumb img {
  display: block; width: 100%; height: 100%; min-height: 150px;
  object-fit: cover; background: var(--line);
}
@media (max-width: 640px) {
  .index-item { grid-template-columns: 1fr; }
  .index-thumb img { min-height: 0; aspect-ratio: 16 / 9; }
}
.index-item:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(20,23,28,.10); }
.index-item a {
  font-family: var(--serif); font-size: 23px; font-weight: 700;
  color: var(--ink); text-decoration: none; line-height: 1.3;
}
.index-item a:hover { color: var(--vermilion-dark); }
.index-item p { color: var(--muted); font-size: 15.5px; margin: 8px 0 10px; }
.index-date {
  font-size: 12.5px; color: var(--muted); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 46px; background: var(--indigo); color: #c7d3df;
}
.site-footer .wrap {
  max-width: 1180px; margin: 0 auto; padding: 26px 20px 40px;
  font-size: 13.5px;
}
.site-footer strong { color: #fff; }
.footer-note { color: #9fb0c1; margin-top: 8px; }
.footer-note a { color: #c7d3df; }
.footer-note a:hover { color: #fff; }

/* ---------- Responsive ---------- */
/* tablet: keep the writing column calm and single-track */
@media (max-width: 1040px) {
  .layout { width: min(calc(100% - 40px), 800px); grid-template-columns: minmax(0,1fr); gap: 0; }
  .layout > .rail { display: none; }
  .layout-city-hub { width: min(calc(100% - 40px), 920px); }
}
/* mobile: single column, no rails */
@media (max-width: 820px) {
  /* Keep the reading column inside the viewport even in browser engines that
     calculate a block's percentage width before its horizontal padding. */
  .layout { display: block; width: calc(100% - 40px); margin-inline: auto; padding: 8px 0; }
  .rail { display: none; }
  .layout .col-main { width: 100%; min-width: 0; padding-top: 20px; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .content h1 { font-size: 31px; }
  .content h2 { font-size: 23px; }
  .content > p:first-of-type { font-size: 18.5px; }
  .hero-gallery-images { gap: 3px; aspect-ratio: 4 / 3; }
  .hero-gallery-3 .hero-gallery-images {
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: repeat(2, 1fr);
  }
  .hero-gallery-3 .hero-gallery-images img:first-child { grid-row: 1 / 3; }
  /* Long English titles, credits, and disclosures must make a new line rather
     than widening the whole document on a 390px screen. */
  .layout .col-main, .article-meta, .affiliate-disclosure, .thirty-seconds, .hero-credit,
  .content p, .content li, .content a { overflow-wrap: anywhere; }
  .article-meta > * { min-width: 0; }
  .np-partner { white-space: normal; overflow-wrap: anywhere; }
}

@media (max-width: 620px) {
  .brand {
    /* Keep the logo and a translated 14-character brand name together.
       At 320px: 14 × 16px + 26px mark + 9px gap = 259px < 280px wrap. */
    min-width: 0;
    max-width: 100%;
    min-height: 26px;
    font-size: clamp(16px, 5vw, 21px);
    letter-spacing: 0;
    white-space: nowrap;
  }
  .brand-tagline { font-size: 12px; }
  .thirty-seconds { margin-top: -14px; padding: 16px; }
  .thirty-seconds ul { grid-template-columns: 1fr; gap: 9px; }
}


/* ---- 共通収益ブロック（NP-Checklist）------------------------------------
   正本は template/revenue_block.html。build.py が全記事末尾へ機械挿入する。 */
.np-checklist {
  margin: 3rem 0 0;
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid #e3dcd2;
  border-radius: 10px;
  background: #faf8f5;
}
.np-checklist h2 {
  margin: 0 0 .35rem;
  font-size: 20px;
  line-height: 1.3;
}
.np-checklist-lead {
  margin: 0 0 1rem;
  font-size: 14px;
  color: #6b6259;
}
.np-checklist-items {
  margin: 0;
  padding: 0;
  list-style: none;
}
.np-checklist-items > li {
  padding: .6rem 0;
  border-top: 1px solid #ece5db;
  font-size: 15px;
  line-height: 1.65;
}
.np-checklist-items > li:first-child { border-top: 0; }
.np-slot-label {
  display: block;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #675e57;
  margin-bottom: .15rem;
}
.np-checklist a { color: #b23a2f; }
.np-partner {
  font-size: 12px;
  color: #675e57;
  white-space: nowrap;
}
.np-self { color: #675e57; }

@media (max-width: 640px) {
  .np-checklist { padding: 1.1rem 1rem; }
}

/* 借り物画像のクレジット（教師 trulytokyo の「画像 © …」と同じ作法・2026-08-24） */
.hero-large { position: relative; }
.hero-credit {
  font-size: 12px;
  color: #57524d;
  text-align: right;
  padding: 0.3rem 0.6rem 0;
  font-style: italic;
}

/* 本文に散らす記事画像（借り物・クレジット付き・2026-08-24）。左右交互に回り込ませて集中を避ける */
.inline-shot {
  max-width: 320px;
  margin: 0.4rem 0 1rem;
  background: #f7f5f0;
  border-radius: 10px;
  padding: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.inline-shot img { width: 100%; height: auto; border-radius: 6px; display: block; }
.inline-shot figcaption { font-size: 0.7rem; color: #6b6b6b; font-style: italic; padding-top: 0.35rem; text-align: right; }
.inline-shot.right { float: right; margin-left: 1.4rem; }
.inline-shot.left  { float: left;  margin-right: 1.4rem; }
@media (max-width: 640px) {
  .inline-shot.right, .inline-shot.left { float: none; margin: 1rem auto; max-width: 100%; }
}

/* roundup の比較入口: 既存の販売者公式商品画像を加工せずに並べる。 */
.matcha-tool-visual-compare {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0;
}
.matcha-tool-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.65rem;
  border: 1px solid #e3dcd2;
  border-radius: 10px;
  background: #faf8f5;
  color: inherit;
  text-decoration: none;
}
.matcha-tool-card:hover { border-color: #b23a2f; }
.matcha-tool-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}
.matcha-tool-card strong { margin-top: 0.65rem; font-size: 0.92rem; line-height: 1.28; }
.matcha-tool-card span { margin-top: 0.2rem; color: #b23a2f; font-size: 0.8rem; font-weight: 700; }
.matcha-tool-card small { margin-top: auto; padding-top: 0.6rem; color: #6b6b6b; font-size: 0.67rem; line-height: 1.25; }
@media (max-width: 760px) {
  .matcha-tool-visual-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .matcha-tool-visual-compare { grid-template-columns: 1fr; }
  .matcha-tool-card { display: grid; grid-template-columns: 92px 1fr; column-gap: 0.75rem; align-items: start; }
  .matcha-tool-card img { grid-row: span 3; }
  .matcha-tool-card strong { margin-top: 0; }
  .matcha-tool-card small { padding-top: 0.3rem; }
}

/* ---------- Editorial homepage (scoped; article layout remains unchanged) ---------- */
.home-page { background: #f3efe7; }
.home-page .page { overflow: hidden; }
.home-page .site-header {
  background: rgba(243,239,231,.96); color: var(--ink); border-bottom: 1px solid #d9d1c4;
}
.home-page .brand { color: var(--indigo); }
.home-page .brand-tagline { color: #5f625f; }
.home-page .site-nav a { color: #46505a; }
.home-page .site-nav a:hover { color: var(--vermilion-dark); }
.home-page .site-footer { margin-top: 0; }
.home-shell { --home-max: 1480px; color: #1b242b; }
.home-hero {
  max-width: var(--home-max); min-height: 690px; margin: 0 auto; padding: 64px 28px 76px;
  display: grid; grid-template-columns: minmax(320px,.78fr) minmax(480px,1.22fr);
  align-items: center; gap: clamp(36px,6vw,92px);
}
.home-hero-copy { position: relative; z-index: 1; }
.home-eyebrow {
  margin: 0 0 18px; color: #8f2e24; font-size: 12px; line-height: 1.4; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.home-hero h1 {
  margin: 0; color: #17222b; font: 700 clamp(58px,6.4vw,94px)/.96 var(--serif);
  letter-spacing: -.045em;
}
.home-lead { max-width: 540px; margin: 30px 0 0; font-size: clamp(18px,1.55vw,22px); line-height: 1.55; color: #46505a; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.home-button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 19px;
  border: 1px solid var(--indigo); text-decoration: none; font-size: 14px; font-weight: 750;
  transition: color .16s ease, background-color .16s ease, transform .16s ease;
}
.home-button-primary { background: var(--indigo); color: #fff; }
.home-button-secondary { color: var(--indigo); background: transparent; }
.home-button:hover { transform: translateY(-2px); }
.home-button-primary:hover { background: #244660; }
.home-button-secondary:hover { background: #fff; }
.home-hero-image { min-width: 0; position: relative; }
.home-hero-scenes {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  background: #dce8e6 url("/heroes/home-scenic-grid-a.webp") center / cover no-repeat;
}
.home-hero-scenes > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-paths {
  max-width: var(--home-max); margin: 0 auto; padding: 0 28px 88px; display: grid;
  grid-template-columns: repeat(3,1fr); border-top: 1px solid #cdc4b7;
}
.home-paths a { padding: 24px 28px 0 0; color: inherit; text-decoration: none; border-top: 3px solid transparent; }
.home-paths a:hover { border-top-color: var(--vermilion); }
.home-paths span, .home-paths small { display: block; font-size: 12px; color: #626966; }
.home-paths strong { display: block; margin: 9px 0 3px; font: 700 clamp(19px,2vw,25px)/1.2 var(--serif); color: var(--ink); }
.home-section { padding: 104px max(28px,calc((100vw - var(--home-max))/2)); background: #fbf8f2; }
.home-section-head { display: grid; grid-template-columns: 1.45fr .55fr; gap: 72px; align-items: end; margin-bottom: 50px; }
.home-section-head h2, .home-closing h2 {
  max-width: 760px; margin: 0; color: var(--ink); font: 700 clamp(38px,4.4vw,64px)/1.06 var(--serif); letter-spacing: -.025em;
}
.home-section-head > p { margin: 0; color: #59615d; font-size: 16px; }
.home-grid { display: grid; gap: 26px; }
.home-grid-pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
.home-grid-feature-stack { grid-template-columns: minmax(0,1.45fr) minmax(300px,.72fr); }
.home-grid-feature-stack .home-story:nth-child(3) { grid-column: 2; }
.home-grid-destinations { grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-grid-destinations .home-story-featured { grid-column: span 2; grid-row: span 2; }
.home-grid-destinations .home-story-featured .index-thumb img { aspect-ratio: 16/9; }
.home-grid-destinations .home-story:not(.home-story-featured) .home-story-copy { padding: 20px 22px 24px; }
.home-grid-destinations .home-story:not(.home-story-featured) h3 { font-size: clamp(21px,1.8vw,29px); }
.home-grid-destinations .home-story:not(.home-story-featured) .home-story-copy > p:not(.home-kicker) {
  display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.home-story { background: #fff; min-width: 0; }
.home-grid-feature-stack .home-story-featured { grid-row: span 2; }
.home-story .index-thumb { display: block; height: auto; overflow: hidden; }
.home-story .index-thumb img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .45s ease; }
.home-story-featured .index-thumb img { aspect-ratio: 16/10; }
.home-grid-pair .home-story .index-thumb img { aspect-ratio: 16/8.5; }
.home-story:hover .index-thumb img { transform: scale(1.018); }
.home-story-copy { padding: 26px 28px 30px; }
.home-kicker { margin: 0 0 8px; color: #7b382e; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-story h3 { margin: 0; font: 700 clamp(24px,2.4vw,36px)/1.13 var(--serif); letter-spacing: -.015em; }
.home-story h3 a { color: var(--ink); text-decoration: none; }
.home-story-copy > p:not(.home-kicker) { margin: 14px 0 17px; color: #626966; font-size: 14px; line-height: 1.62; }
.home-text-link { color: #8f2e24; font-size: 14px; font-weight: 800; text-decoration: none; }
.home-text-link span { display: inline-block; transition: transform .16s ease; }
.home-text-link:hover span { transform: translateX(4px); }
.home-section-ink { background: #172d3e; color: #f5f0e7; }
.home-section-ink .home-eyebrow { color: #e98772; }
.home-section-ink .home-section-head h2 { color: #fff; }
.home-section-ink .home-section-head > p { color: #c1cbd0; }
.home-section-home { background: #dfe5d5; }
.home-section-gateway { background: #f7f3eb; }
.home-section-neighborhoods { background: #f7f3eb; }
.home-neighborhood-grid {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px;
}
.home-neighborhood-card {
  display: flex; min-width: 0; min-height: 278px; flex-direction: column;
  padding: 0 20px 21px; color: var(--ink); text-decoration: none; background: #fff;
  border-bottom: 3px solid var(--indigo); box-shadow: 0 1px 0 rgba(20,23,28,.09), 0 10px 24px rgba(20,23,28,.045);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.home-neighborhood-card:hover { transform: translateY(-3px); box-shadow: 0 13px 28px rgba(20,23,28,.1); border-bottom-color: var(--vermilion); }
.home-neighborhood-media { margin: 0 -20px 16px; overflow: hidden; background: var(--indigo); }
.home-neighborhood-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.home-neighborhood-media small { display: block; padding: 5px 8px; color: #d8e0e6; font-size: 12px; line-height: 1.3; }
.home-neighborhood-card > span { color: #7b382e; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-neighborhood-card strong { margin-top: 8px; color: var(--ink); font: 700 clamp(23px,2vw,30px)/1.08 var(--serif); letter-spacing: -.018em; }
.home-neighborhood-card p { margin: 11px 0 16px; color: #59616a; font-size: 14px; line-height: 1.55; }
.home-neighborhood-card em { margin-top: auto; color: #8f2e24; font-size: 14px; font-style: normal; font-weight: 800; }
.home-neighborhood-card b { margin-left: 3px; transition: transform .16s ease; }
.home-neighborhood-card:hover b { display: inline-block; transform: translateX(4px); }
.home-neighborhood-card-text { justify-content: flex-end; padding-top: 24px; background: #fbfaf7; }
.home-neighborhood-card-text::before { content: ""; width: 32px; height: 3px; margin-bottom: auto; background: var(--gold); }
.home-neighborhood-footer { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.home-gateway-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.home-gateway-card {
  min-height: 270px; padding: 28px 27px 24px; display: flex; flex-direction: column;
  color: var(--ink); text-decoration: none; background: #fff; border-top: 4px solid var(--indigo);
  box-shadow: 0 1px 0 rgba(20,23,28,.09), 0 10px 24px rgba(20,23,28,.045);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.home-gateway-card:nth-child(2) { border-top-color: var(--vermilion); }
.home-gateway-card:nth-child(3) { border-top-color: #79883e; }
.home-gateway-card:hover { transform: translateY(-3px); box-shadow: 0 13px 28px rgba(20,23,28,.1); }
.home-gateway-card span { color: #7b382e; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.home-gateway-card strong { margin-top: 14px; font: 700 clamp(25px,2.2vw,35px)/1.08 var(--serif); letter-spacing: -.02em; }
.home-gateway-card p { margin: 15px 0 22px; color: #626966; font-size: 14.5px; line-height: 1.6; }
.home-gateway-card em { margin-top: auto; color: #8f2e24; font-size: 13px; font-style: normal; font-weight: 800; }
.home-gateway-card b { margin-left: 3px; transition: transform .16s ease; }
.home-gateway-card:hover b { display: inline-block; transform: translateX(4px); }

/* ---------- Tokyo planning hubs ---------- */
.hub-lead { max-width: 760px; font-size: 20px; color: var(--ink); }
.hub-jump-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 24px 0 38px; }
.hub-jump-list a {
  padding: 12px 14px; color: var(--indigo); text-decoration: none; background: #f3f0e9;
  border-left: 3px solid var(--vermilion); font-size: 14px; font-weight: 750; line-height: 1.35;
}
.hub-jump-list a:hover { background: #e9eef1; color: var(--vermilion-dark); }
.hub-topic-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 22px 0 34px; }
.hub-topic-card { overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.hub-topic-card img { display: block; width: 100%; aspect-ratio: 16/8.5; object-fit: cover; }
.hub-topic-card-body { padding: 20px 20px 21px; }
.hub-topic-card small { display: block; margin-bottom: 7px; color: #7b382e; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hub-topic-card h3 { margin: 0; color: var(--ink); font: 700 26px/1.16 var(--serif); }
.hub-topic-card h3 a { color: inherit; text-decoration: none; }
.hub-topic-card h3 a:hover { color: var(--vermilion-dark); }
.hub-topic-card p { margin: 12px 0 16px; color: #59616a; font-size: 14.5px; line-height: 1.62; }
.hub-topic-card .hub-card-link { color: #8f2e24; font-size: 13px; font-weight: 800; text-decoration: none; }
.hub-topic-card .hub-card-link:hover { color: var(--vermilion); }
.hub-image-credit { margin: 0; padding: 0 20px 14px; color: #777; font-size: 11px; font-style: italic; }
.hub-next { margin: 32px 0 0; padding: 23px 24px; background: var(--indigo-soft); border-left: 4px solid var(--indigo); }
.hub-next h2 { margin: 0 0 9px; padding: 0; border: 0; font-size: 25px; }
.hub-next p { margin: 0; font-size: 15px; }

/* ---------- City -> neighborhood -> experience routing ---------- */
.neighborhood-route {
  display: flex; flex-wrap: wrap; gap: 0; margin: 28px 0 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.neighborhood-route span {
  flex: 1 1 180px; padding: 12px 16px 12px 0; color: var(--muted);
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.neighborhood-route span + span { padding-left: 16px; border-left: 1px solid var(--line); }
.neighborhood-jump-list { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 50px; }
.neighborhood-entry {
  display: grid; grid-template-columns: minmax(0,.94fr) minmax(280px,1.06fr); gap: 0;
  margin: 20px 0 0; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.neighborhood-entry-reverse .neighborhood-photo { order: 2; }
.neighborhood-photo { margin: 0; min-width: 0; background: var(--indigo); }
.neighborhood-photo img { display: block; width: 100%; height: 100%; min-height: 278px; object-fit: cover; }
.neighborhood-photo figcaption {
  padding: 7px 12px; background: rgba(23,50,77,.96); color: #dce5ea; font-size: 12px; line-height: 1.3;
}
.neighborhood-copy { align-self: center; padding: 29px 31px 27px; }
.neighborhood-copy p { margin: 0 0 14px; font-size: 15px; line-height: 1.65; }
.neighborhood-copy p:last-child { margin-bottom: 0; }
.neighborhood-copy strong { color: var(--indigo); }
.neighborhood-entry-text {
  grid-template-columns: 1fr; margin-left: 14%; border-left: 4px solid var(--vermilion);
  background: #fffdf9;
}
.neighborhood-entry-text .neighborhood-copy { max-width: 760px; }

/* First-decision panels for individual neighborhood pages.  They keep the
   opening choice readable on a full desktop column and stack naturally on a phone. */
.district-choice-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  margin: 22px 0 26px;
}
.district-choice {
  padding: 19px 20px 18px; background: #fff; border-top: 3px solid var(--indigo);
  box-shadow: var(--shadow);
}
.district-choice + .district-choice { border-top-color: var(--vermilion); }
.district-choice strong { display: block; color: var(--indigo); font-size: 15px; }
.district-choice p { margin: 9px 0 0; color: #4f5962; font-size: 14.5px; line-height: 1.58; }

/* Nightlife products are decision cards: the photo proves which experience is
   being discussed, while the copy names the real difference before the CTA. */
.nightlife-product-grid {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px;
  margin: 24px 0 34px;
}
.nightlife-product-grid-single { grid-template-columns: minmax(0,1fr); }
.nightlife-product-card {
  min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.nightlife-product-card > img { display: block; width: 100%; aspect-ratio: 16 / 8.7; object-fit: cover; background: var(--indigo); }
.nightlife-product-card > div { padding: 20px 20px 21px; }
.nightlife-card-kicker { margin: 0 0 8px; color: #7b382e; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nightlife-product-card h3 { margin: 0; color: var(--ink); font: 700 26px/1.16 var(--serif); letter-spacing: -.012em; }
.nightlife-product-card p:not(.nightlife-card-kicker) { margin: 12px 0; color: #4f5962; font-size: 14.5px; line-height: 1.62; }
.nightlife-product-card .cta { margin: 17px 0 12px; }
.nightlife-product-card small { display: block; color: #6f706e; font-size: 12px; line-height: 1.35; }
.nightlife-decision-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin: 22px 0 34px;
}
.nightlife-decision-card {
  min-width: 0; padding: 18px 17px 17px; background: #fff;
  border-top: 3px solid var(--indigo); box-shadow: var(--shadow);
}
.nightlife-decision-card h3 {
  margin: 0; color: var(--ink); font: 700 21px/1.14 var(--serif); letter-spacing: -.01em;
}
.nightlife-decision-card > p:not(.nightlife-card-kicker) {
  margin: 12px 0 0; color: #4f5962; font-size: 14px; line-height: 1.55;
}
.nightlife-decision-card a { font-weight: 800; }

/* The rail is an editorial routing device, not a decorative empty column. */
.article-rail-card {
  margin-top: 18px; padding: 18px 17px 16px; background: #f7f3eb;
  border-top: 3px solid var(--vermilion); box-shadow: 0 1px 0 rgba(20,23,28,.08);
}
.article-rail-card h2 {
  margin: 0 0 9px; color: var(--ink); font: 700 21px/1.13 var(--serif); letter-spacing: -.01em;
}
.article-rail-card > p:not(.rail-title) { margin: 0 0 13px; color: #59616a; font-size: 14px; line-height: 1.55; }
.article-rail-primary { display: block; color: var(--indigo); font-size: 14px; font-weight: 800; line-height: 1.35; text-decoration: none; }
.article-rail-primary:hover { color: var(--vermilion-dark); }
.article-rail-links { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid #ded6c8; }
.article-rail-links li { margin: 0; border-bottom: 1px solid #ded6c8; }
.article-rail-links a { display: block; padding: 9px 0; color: #4e5960; font-size: 14px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.article-rail-links a:hover { color: var(--vermilion-dark); }
.home-closing { padding: 104px max(28px,calc((100vw - 820px)/2)); text-align: center; background: #f3efe7; }
.home-closing .home-eyebrow { margin-bottom: 14px; }
.home-closing h2 { margin-inline: auto; }
.home-closing > p:not(.home-eyebrow) { max-width: 620px; margin: 24px auto 20px; color: #626966; }
.home-page a:focus-visible { outline: 3px solid #d1634f; outline-offset: 4px; }

@media (max-width: 900px) {
  .home-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 54px; }
  .home-hero-copy { max-width: 660px; }
  .home-hero-image { width: min(94%,680px); margin-left: auto; }
  .home-section-head { grid-template-columns: 1fr; gap: 20px; }
  .home-neighborhood-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .home-page .site-header .wrap { align-items: center; }
  .home-page .brand-tagline { display: none; }
  .home-page .site-nav { gap: 10px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .home-page .site-nav::-webkit-scrollbar { display: none; }
  .home-page .site-nav a { white-space: nowrap; font-size: 12px; }
  .home-hero { padding: 46px 20px 58px; gap: 42px; }
  .home-hero h1 { font-size: clamp(51px,16vw,70px); }
  .home-hero-image { width: 100%; }
  .home-actions { align-items: stretch; flex-direction: column; }
  .home-paths { padding: 0 20px 66px; grid-template-columns: 1fr; }
  .home-paths a { padding: 18px 0; border-top: 1px solid #cdc4b7; }
  .home-section { padding: 76px 20px; }
  .home-section-head { margin-bottom: 34px; }
  .home-grid-pair, .home-grid-feature-stack, .home-grid-destinations { grid-template-columns: 1fr; }
  .home-neighborhood-grid { grid-template-columns: 1fr; }
  .home-gateway-grid, .hub-topic-grid, .hub-jump-list, .neighborhood-jump-list { grid-template-columns: 1fr; }
  .neighborhood-route { display: block; }
  .neighborhood-route span { display: block; padding: 10px 0; }
  .neighborhood-route span + span { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .neighborhood-entry, .neighborhood-entry-reverse { grid-template-columns: 1fr; }
  .neighborhood-entry-reverse .neighborhood-photo { order: 0; }
  .neighborhood-photo img { min-height: 0; aspect-ratio: 16 / 9; }
  .neighborhood-copy { padding: 22px 20px; }
  .neighborhood-entry-text { margin-left: 0; }
  .district-choice-grid { grid-template-columns: 1fr; }
  .nightlife-product-grid, .nightlife-product-grid-single, .nightlife-decision-grid { grid-template-columns: 1fr; }
  .home-gateway-card { min-height: 0; padding: 24px 20px; }
  .home-grid-feature-stack .home-story:nth-child(3) { grid-column: auto; }
  .home-grid-destinations .home-story-featured { grid-column: auto; grid-row: auto; }
  .home-story-featured { grid-row: auto; }
  .home-story .index-thumb img,
  .home-story-featured .index-thumb img { height: clamp(132px,38vw,156px); aspect-ratio: auto; }
  .home-story-copy { padding: 22px 20px 25px; }
  .home-neighborhood-card { min-height: 0; }
  .home-neighborhood-card-text { min-height: 220px; }
  .home-neighborhood-footer { flex-direction: column; }
  .home-closing { padding: 78px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-button, .home-story .index-thumb img, .home-text-link span { transition: none; }
  .home-button:hover, .home-story:hover .index-thumb img, .home-text-link:hover span { transform: none; }
}
