/* Tabi Notes — Japan travel guides (indigo × vermilion) */
:root {
  color-scheme: light;
  --navy: #14213D;
  --navy-2: #1F3157;
  --ink: #151B2C;
  --text: #2E3648;
  --muted: #667085;
  --line: #ECE7E1;
  --line-2: #DDD5CC;
  --bg: #FFFFFF;
  --soft: #FAF6F1;
  --accent: #E4572E;
  --accent-ink: #B5401D;
  --accent-soft: #FDEEE8;
  --cta: #E4572E;
  --cta-2: #C9461F;
  --warn: #FFF7ED;
  --warn-line: #F59E0B;
  --note: #EFF6FF;
  --note-line: #3B82F6;
  --marker: #FDE68A;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 8px 24px -12px rgba(15, 27, 45, .18);
  --shadow-lg: 0 2px 4px rgba(15, 27, 45, .05), 0 24px 48px -20px rgba(15, 27, 45, .35);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --latin: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.75; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
.figure { margin: 28px 0; }
.figure img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.figure figcaption { margin-top: 8px; font-size: .84rem; color: var(--muted); text-align: center; line-height: 1.5; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.icon { width: 1em; height: 1em; flex-shrink: 0; }
.nb { display: inline-block; }
.pc { display: inline; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700;
  font-size: .95rem; letter-spacing: .04em; text-decoration: none; border-radius: 999px; padding: 14px 26px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(228, 87, 46, .8); }
.btn-primary:hover { background: #0EA371; }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-cta { background: linear-gradient(180deg, var(--cta), var(--cta-2)); color: #fff; font-size: 1.05rem;
  padding: 18px 40px; min-width: min(100%, 360px); box-shadow: 0 12px 28px -12px rgba(234, 88, 12, .9); }
.btn-sm { display: inline-block; background: var(--cta); color: #fff; font-weight: 700; font-size: .8rem;
  padding: 6px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; text-decoration: none; }
.text-link .icon { width: 16px; height: 16px; transition: transform .15s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy);
  font-family: var(--latin); font-weight: 800; font-size: 1.12rem; letter-spacing: .16em; flex-shrink: 0; }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo-mark rect { fill: var(--navy); }
.logo-mark path { fill: none; stroke: var(--accent); stroke-width: 3.8; stroke-linecap: round; stroke-linejoin: round; }
.logo--light { color: #fff; }
.logo--light .logo-mark rect { fill: #fff; }
.cat-nav { display: flex; gap: 4px; margin-left: auto; }
.cat-nav a { color: var(--text); text-decoration: none; font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 999px; }
.cat-nav a:hover { background: var(--soft); color: var(--navy); }
.header-about { color: var(--muted); font-size: .85rem; font-weight: 700; text-decoration: none; padding: 8px 16px;
  border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; }
.header-about:hover { color: var(--navy); border-color: var(--navy); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 480px at 85% -10%, rgba(228, 87, 46, .28), transparent 60%),
              radial-gradient(700px 420px at -10% 110%, rgba(59, 130, 246, .22), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, #0A1629 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; color: #FBC9B8; background: rgba(228, 87, 46, .12); border: 1px solid rgba(228, 87, 46, .35);
  padding: 6px 16px; border-radius: 999px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(228, 87, 46, .25); }
.hero h1 { margin: 0; font-weight: 900; font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.3; letter-spacing: .02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { margin: 24px 0 0; color: #C3CEDD; font-size: 1.04rem; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-card { background: rgba(255, 255, 255, .97); color: var(--text); border-radius: 22px; padding: 28px 28px 22px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); transform: rotate(1.2deg); }
.hero-card-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 900; color: var(--navy); font-size: 1.05rem; }
.hero-card-title .logo-mark { width: 26px; height: 26px; }
.criteria { list-style: none; margin: 0; padding: 0; }
.criteria li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px dashed var(--line-2); line-height: 1.6; }
.criteria b { display: block; color: var(--ink); font-size: 1rem; }
.criteria small { color: var(--muted); font-size: .84rem; }
.tick { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); flex-shrink: 0; }
.tick .icon { width: 18px; height: 18px; stroke-width: 3; }
.hero-card-foot { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); font-weight: 500; }

/* ---------- sections ---------- */
.section { padding-top: 80px; padding-bottom: 80px; }
.section--tight { padding-top: 48px; padding-bottom: 72px; }
.section--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 30px; }
.kicker { margin: 0 0 4px; font-family: var(--latin); font-weight: 800; font-size: .76rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent-ink); }
.section-head h2 { margin: 0; font-weight: 900; color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.4; }

/* ---------- category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 20px; text-decoration: none;
  color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-tile::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, #fff); }
.cat-icon .icon { width: 26px; height: 26px; }
.cat-name { margin-top: 6px; font-weight: 900; font-size: 1.2rem; color: var(--ink); }
.cat-desc { font-size: .86rem; color: var(--muted); line-height: 1.7; flex: 1; }
.cat-count { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .82rem; font-weight: 700; color: var(--c); }
.cat-count .icon { width: 15px; height: 15px; transition: transform .15s; }
.cat-tile:hover .cat-count .icon { transform: translateX(3px); }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-img { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 18px; flex: 1; }
.card h3 { margin: 0; font-weight: 700; color: var(--ink); font-size: 1.08rem; line-height: 1.6; }
.card-desc { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin: auto 0 0; padding-top: 6px; display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.card--feature { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 24px; }
.card--feature { align-items: center; }
.card--feature .card-img { aspect-ratio: 1200 / 630; height: auto; }
.card--feature .card-body { padding: 36px 40px; justify-content: center; gap: 14px; }
.card--feature h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 900; line-height: 1.5; }
.card--feature .card-desc { font-size: .95rem; -webkit-line-clamp: 3; }
.card--feature .card-meta { margin-top: 6px; justify-content: flex-start; gap: 18px; }
.chip { align-self: flex-start; display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; line-height: 1.6;
  color: var(--c, var(--accent-ink)); background: color-mix(in srgb, var(--c, var(--accent)) 11%, #fff);
  padding: 3px 12px; border-radius: 999px; text-decoration: none; }
.empty { color: var(--muted); }

/* ---------- author band ---------- */
.author-band { display: flex; gap: 32px; align-items: center; padding: 40px 44px; border-radius: 24px; background: var(--soft);
  border: 1px solid var(--line); }
.author-band h2 { margin: 0 0 8px; font-weight: 900; color: var(--ink); font-size: 1.4rem; }
.author-band p { margin: 0 0 12px; }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.avatar .logo-mark { width: 34px; height: 34px; }
.avatar .logo-mark rect { fill: transparent; }
.avatar--lg { width: 104px; height: 104px; }
.avatar--lg .logo-mark { width: 56px; height: 56px; }
.avatar--sm { width: 40px; height: 40px; box-shadow: none; }
.avatar--sm .logo-mark { width: 22px; height: 22px; }

/* ---------- category hero / page hero ---------- */
.cat-hero { color: #fff; padding: 28px 0 56px;
  background: radial-gradient(700px 360px at 90% 0%, color-mix(in srgb, var(--c) 55%, transparent), transparent 70%),
              linear-gradient(160deg, var(--navy), #0A1629); }
.cat-hero-inner { display: flex; gap: 24px; align-items: center; margin-top: 28px; }
.cat-hero h1 { margin: 0; font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.3; }
.cat-hero p { margin: 6px 0 0; color: #C3CEDD; }
.cat-hero .cat-hero-count { font-family: var(--latin); font-weight: 700; color: #fff; font-size: .85rem; }
.cat-icon--lg { width: 76px; height: 76px; border-radius: 22px; color: #fff; background: var(--c); }
.cat-icon--lg .icon { width: 40px; height: 40px; }
.page-hero { background: linear-gradient(160deg, var(--navy), #0A1629); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { margin: 0; font-weight: 900; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.page-body { padding-top: 48px; padding-bottom: 96px; }

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 18px 0 0; font-size: .8rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.crumbs .icon { width: 12px; height: 12px; opacity: .6; }
.crumbs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.crumbs--light, .crumbs--light a { color: #9FB0C6; padding-top: 0; }

/* ---------- article layout ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-top: 22px; padding-bottom: 32px; }
.article { min-width: 0; }
.article-head h1 { margin: 14px 0 20px; font-weight: 900; color: var(--ink); font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.5; letter-spacing: .01em; }
.byline { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.byline p { margin: 0; line-height: 1.5; }
.byline-name { font-weight: 700; color: var(--ink); font-size: .92rem; }
.byline-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .78rem; color: var(--muted); }
.byline-meta .icon { width: 13px; height: 13px; }
.sep { margin: 0 6px; color: var(--line-2); }
.article-eyecatch { margin: 0 0 22px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.pr-label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: .78rem; line-height: 1.7; color: var(--muted);
  margin: 0 0 24px; padding: 10px 14px; background: var(--soft); border-radius: 10px; }
.pr-label span { font-family: var(--latin); font-weight: 800; font-size: .68rem; letter-spacing: .08em; color: #fff;
  background: var(--muted); border-radius: 4px; padding: 0 7px; margin-right: 10px; }
.lead { font-size: 1.04rem; color: var(--ink); margin: 0 0 30px; line-height: 2; }

.toc { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 44px; }
.toc-title, .side-title { margin: 0 0 8px; font-weight: 900; color: var(--ink); font-size: .95rem; }
.toc ol, .side-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li, .side-toc li { counter-increment: toc; display: flex; gap: 12px; padding: 7px 0; line-height: 1.6; }
.toc li + li { border-top: 1px dashed var(--line-2); }
.toc li::before, .side-toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--latin); font-weight: 800;
  color: var(--accent); font-size: .82rem; padding-top: 2px; }
.toc a, .side-toc a { color: var(--text); text-decoration: none; font-size: .93rem; }
.toc a:hover, .side-toc a:hover { color: var(--accent-ink); }

/* ---------- prose ---------- */
.prose { counter-reset: h2; }
.prose > :first-child { margin-top: 0; }
.prose h2 { counter-increment: h2; position: relative; margin: 64px 0 22px; padding: 0 0 14px 0; font-weight: 900; color: var(--ink);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.55; border-bottom: 2px solid var(--line); }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 2px; background: var(--accent); }
.prose h2::before { content: counter(h2, decimal-leading-zero); display: inline-grid; place-items: center; margin-right: 12px;
  width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: var(--accent); font-family: var(--latin);
  font-size: .85rem; font-weight: 800; vertical-align: 4px; }
.page-body .prose h2::before { display: none; }
.prose h3 { margin: 40px 0 12px; font-weight: 700; color: var(--ink); font-size: 1.15rem; padding-left: 16px; position: relative; line-height: 1.6; }
.prose h3::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 5px; border-radius: 3px; background: var(--accent); }
.prose p { margin: 0 0 1.4em; }
.prose ul, .prose ol { margin: 0 0 1.5em; padding-left: 1.4em; }
.prose li { margin: 6px 0; }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--accent-ink); font-weight: 700; font-family: var(--latin); }
.prose strong { color: var(--ink); background: linear-gradient(transparent 60%, var(--marker) 60%); }
.prose code { font-size: .88em; background: var(--soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }

.checklist { list-style: none; padding: 18px 22px !important; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.7; }
.checklist .cb { width: 22px; height: 22px; padding: 3px; margin-top: 3px; border-radius: 6px; border: 2px solid var(--line-2);
  color: transparent; stroke-width: 3.5; flex-shrink: 0; }
.checklist li.done .cb { background: var(--accent); border-color: var(--accent); color: #fff; }

.table-wrap { overflow-x: auto; margin: 26px 0 32px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .92rem; line-height: 1.7; }
th, td { padding: 13px 16px; text-align: left; vertical-align: top; }
td { min-width: 4.5em; border-top: 1px solid var(--line); }
th { background: var(--navy); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .04em; white-space: nowrap; }
tbody tr:nth-child(even) td { background: #FAFBFD; }
td:first-child { color: var(--ink); font-weight: 700; }
td strong { background: none; color: var(--accent-ink); }

.box { position: relative; margin: 30px 0; padding: 20px 24px 18px 60px; border-radius: 14px; background: var(--note);
  border: 1px solid color-mix(in srgb, var(--note-line) 22%, #fff); }
.box::before { content: "i"; position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--note-line); color: #fff; font-family: var(--latin); font-weight: 800; font-size: .85rem; line-height: 1; }
.box-point { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 25%, #fff); }
.box-point::before { content: "✓"; background: var(--accent); }
.box-warn { background: var(--warn); border-color: color-mix(in srgb, var(--warn-line) 30%, #fff); }
.box-warn::before { content: "!"; background: var(--warn-line); }
.box-offer { padding: 26px 28px; background: #fff; border: 2px solid var(--cta); box-shadow: var(--shadow); }
.box-offer::before { content: "PR"; left: auto; right: 16px; top: 14px; width: auto; height: auto; padding: 2px 8px; border-radius: 4px;
  background: var(--muted); font-size: .66rem; }
.box-offer .box-title { font-size: 1.15rem; }
.box-title { margin: 0 0 6px !important; font-weight: 900; color: var(--ink); }
.box p { margin: 6px 0; font-size: .95rem; }
.box ul, .box ol { margin: 6px 0; font-size: .95rem; }
.box strong { background: none; }
.cta { text-align: center; margin: 36px 0; }

/* ---------- share / author ---------- */
.share { margin: 44px 0 0; padding: 24px; border-radius: var(--radius); background: var(--soft); text-align: center; }
.share-title { margin: 0 0 12px; font-weight: 900; color: var(--ink); font-size: .95rem; }
.share-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sh { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 999px; border: 0;
  font: 700 .85rem var(--sans); color: #fff; text-decoration: none; cursor: pointer; }
.sh .icon { width: 15px; height: 15px; }
.sh-x { background: #111; }
.sh-pin { background: #E60023; }
.sh-reddit { background: #FF4500; }
.sh-fb { background: #1877F2; }
.sh-hatena { background: #00A4DE; font-family: var(--latin); }
.sh-copy { background: #fff; color: var(--text); border: 1px solid var(--line-2); }
.author-box { display: flex; gap: 20px; margin-top: 28px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.author-label { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; color: var(--accent-ink); }
.author-name { margin: 0 0 6px; font-weight: 900; color: var(--ink); font-size: 1.05rem; }
.author-text { margin: 0 0 10px; font-size: .88rem; line-height: 1.85; }

/* ---------- sidebar ---------- */
.sidebar-inner { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
.author-box--compact { flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; padding: 22px; }
.author-box--compact .author-text { font-size: .82rem; }
.side-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-toc { max-height: calc(100vh - 380px); overflow: auto; }
.side-toc li { padding: 5px 0; }
.side-toc a { font-size: .84rem; }
.side-cats { list-style: none; margin: 0; padding: 0; }
.side-cats a { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--text); text-decoration: none; font-weight: 700; font-size: .9rem; }
.side-cats li + li a { border-top: 1px solid var(--line); }
.side-cats .icon { width: 20px; height: 20px; color: var(--c); }
.side-cats span { margin-left: auto; font-family: var(--latin); font-size: .78rem; color: var(--muted); }
.side-cats a:hover { color: var(--accent-ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #AEBBCD; padding: 64px 0 32px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { margin: 16px 0 0; line-height: 1.9; max-width: 36em; }
.footer-title { margin: 0 0 10px; color: #fff; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #AEBBCD; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; font-size: .76rem; line-height: 1.8; color: #7E8DA3; }
.footer-bottom p { margin: 0 0 4px; }
.copy { font-family: var(--latin); letter-spacing: .06em; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { transform: none; max-width: 520px; }
  .card--feature { grid-template-columns: 1fr; }
  .card--feature .card-body { padding: 24px 28px 22px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow { padding: 0 16px; }
  .pc { display: none; }
  .header-inner { flex-wrap: wrap; height: auto; gap: 0; padding-top: 10px; }
  .logo { font-size: 1rem; }
  .logo-mark { width: 26px; height: 26px; }
  .header-about { margin-left: auto; padding: 6px 12px; font-size: .78rem; }
  .cat-nav { order: 3; width: calc(100% + 32px); margin: 8px -16px 0; padding: 0 12px 8px; overflow-x: auto; scrollbar-width: none; }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-nav a { flex-shrink: 0; font-size: .85rem; padding: 6px 12px; background: var(--soft); }
  html { scroll-padding-top: 120px; }
  .hero-grid { padding-top: 56px; padding-bottom: 64px; }
  .hero h1 { font-size: 2.05rem; }
  .hero-sub { font-size: .95rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-card { padding: 22px 20px 16px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .cat-grid { gap: 12px; }
  .cat-tile { padding: 18px 16px 16px; }
  .cat-desc { display: none; }
  .cat-name { font-size: 1.05rem; }
  .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .card--feature { grid-template-columns: 1fr; }
  .card--feature .card-img { aspect-ratio: 1200 / 630; }
  .card--feature .card-body { padding: 20px 22px 18px; }
  .author-band { flex-direction: column; align-items: flex-start; padding: 28px 22px; gap: 18px; }
  .avatar--lg { width: 76px; height: 76px; }
  .avatar--lg .logo-mark { width: 40px; height: 40px; }
  .article-eyecatch { border-radius: 12px; margin-left: -4px; margin-right: -4px; }
  .toc { padding: 18px 18px; }
  .prose h2 { margin-top: 52px; }
  .prose h2::before { width: 32px; height: 32px; margin-right: 10px; font-size: .78rem; vertical-align: 3px; }
  .box { padding: 16px 16px 14px 50px; }
  .box::before { left: 14px; top: 17px; width: 24px; height: 24px; }
  .box-offer { padding: 22px 18px; }
  .btn-cta { width: 100%; padding: 17px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .crumbs span { max-width: 22ch; }
}
