/* ==========================================================================
   Resquare Life — editorial travel guide stylesheet
   Hand-written, no framework, no external requests.
   ========================================================================== */

:root {
  --paper: #faf6ec;
  --paper-soft: #f3ecdd;
  --paper-deep: #eae1ce;
  --ink: #17130f;
  --ink-soft: #4b443c;
  --ink-faint: #6f665b;
  --rule: #d9cfba;
  --rule-strong: #bdb09a;
  --shu: #ad3527;        /* vermilion */
  --shu-deep: #8a2a1f;
  --indigo: #234050;
  --moss: #4c5c40;
  --gold: #9c7b34;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1140px;
  --measure: 68ch;
  --step: clamp(1.5rem, 4vw, 3rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(120% 80% at 50% -20%, #fffdf7 0%, rgba(255, 253, 247, 0) 60%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--shu-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--shu); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 99;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--shu);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--shu);
  color: #fff8ec;
  font-family: var(--serif);
  font-size: 1rem;
  border-radius: 2px;
  letter-spacing: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.16rem;
  letter-spacing: 0.01em;
}

.brand-dot { color: var(--shu); }

.site-nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover { color: var(--ink); border-bottom-color: var(--rule-strong); }
.site-nav a.is-active { color: var(--ink); border-bottom-color: var(--shu); }

.header-cta {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ------------------------------------------------------------------ hero -- */
.hero {
  position: relative;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern-seigaiha.svg");
  background-size: 240px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(105deg, rgba(0, 0, 0, 0) 40%, #000 100%);
  -webkit-mask-image: linear-gradient(105deg, rgba(0, 0, 0, 0) 40%, #000 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  padding-block: clamp(3.2rem, 8vw, 6rem) clamp(2.4rem, 5vw, 3.6rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shu-deep);
  margin: 0 0 1.4rem;
}

.kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--shu);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--shu-deep);
}

.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.6;
}

.hero-side {
  border-left: 1px solid var(--rule);
  padding-left: clamp(1.2rem, 2.5vw, 2rem);
}

.hero-side h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.hero-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  font-size: 0.95rem;
}

.hero-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dotted var(--rule-strong);
}

.hero-list li span:last-child {
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.35rem;
  border-radius: 2px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--shu-deep); color: #fff; }
.btn-ghost { border-color: var(--rule-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(23, 19, 15, 0.04); color: var(--ink); }
.btn .arrow { font-family: var(--sans); }

/* ---------------------------------------------------------------- bands --- */
.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band + .band { border-top: 1px solid var(--rule); }
.band-tint { background: var(--paper-soft); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.8rem);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  margin: 0;
}

.section-head .section-more {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
}

.section-head .section-more:hover { color: var(--shu-deep); }

.section-note {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-top: -1.2rem;
  margin-bottom: 2.4rem;
}

/* ----------------------------------------------------------------- cards -- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.guide-card {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.5rem;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: background 0.25s ease;
  min-height: 320px;
}

.guide-card:hover { background: #fffdf6; }

.guide-card .card-region {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shu-deep);
  margin-bottom: 1.2rem;
}

.guide-card h3 {
  font-size: 1.5rem;
  line-height: 1.14;
  margin-bottom: 0.7rem;
}

.guide-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.guide-card .card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-top: 1px dotted var(--rule-strong);
  padding-top: 0.85rem;
}

.guide-card .card-foot .go { color: var(--shu-deep); }

/* --------------------------------------------------------------- regions -- */
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}

.region {
  background: var(--paper);
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 148px;
  text-decoration: none;
  color: var(--ink);
}

.region-name { font-family: var(--serif); font-size: 1.22rem; }
.region-jp { font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.06em; }
.region-count {
  margin-top: auto;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.region-count.live { color: var(--moss); }
a.region:hover { background: #fffdf6; }
a.region:hover .region-name { color: var(--shu-deep); }
.region.is-plain { color: var(--ink-faint); }

/* --------------------------------------------------------------- values --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.value h3 {
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
  display: inline-block;
}

.value p { font-size: 0.94rem; color: var(--ink-soft); }

/* --------------------------------------------------------------- quotes --- */
.pull {
  margin: clamp(2.5rem, 5vw, 4rem) 0;
  padding: clamp(1.5rem, 3vw, 2.2rem) 0;
  border-block: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
}

/* ==========================================================================
   Article pages
   ========================================================================== */
.article-header {
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(2.2rem, 5vw, 3.6rem) clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(180deg, rgba(255, 253, 246, 0.9), rgba(250, 246, 236, 0));
}

.breadcrumb {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb a { color: var(--ink-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--shu-deep); }
.breadcrumb .sep { opacity: 0.6; }

.article-header h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.03;
  max-width: 20ch;
  margin-bottom: 1.1rem;
}

.standfirst {
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.6;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  align-items: center;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

.byline strong { color: var(--ink); font-weight: 600; }

.article-body {
  padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) 260px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  justify-content: space-between;
}

.prose { font-size: 1.045rem; line-height: 1.72; }
.prose > p:first-of-type::first-letter { font-size: 1em; }

.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  margin-top: 2.6rem;
  margin-bottom: 0.7rem;
  scroll-margin-top: 96px;
}

.prose h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  margin-top: 1.9rem;
  margin-bottom: 0.4rem;
}

.prose h2 + p, .prose h3 + p { margin-top: 0.2rem; }

.prose ul, .prose ol { padding-left: 1.15rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--shu); }

.prose strong { font-weight: 600; }

.prose a { text-decoration-color: rgba(173, 53, 39, 0.35); }
.prose a:hover { text-decoration-color: var(--shu); }

.prose blockquote {
  margin: 1.8rem 0;
  padding: 0.2rem 0 0.2rem 1.3rem;
  border-left: 2px solid var(--shu);
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink-soft);
  font-style: italic;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.6rem 0;
}

/* tables */
.prose .table-wrap { overflow-x: auto; margin: 1.4rem 0 1.8rem; }

.prose table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-family: var(--sans);
}

.prose th, .prose td {
  text-align: left;
  padding: 0.7rem 0.9rem 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.prose th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--rule-strong);
  font-weight: 600;
  white-space: nowrap;
}

.prose td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* at a glance */
.glance {
  border: 1px solid var(--rule-strong);
  background: #fffdf6;
  padding: 1.35rem 1.4rem 1.1rem;
  margin: 0 0 2.4rem;
}

.glance h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shu-deep);
  margin: 0 0 1rem;
}

.glance dl {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 0.55rem 1rem;
  margin: 0;
  font-size: 0.92rem;
}

.glance dt {
  color: var(--ink-faint);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.15rem;
}

.glance dd { margin: 0; }

/* route timeline */
.route {
  list-style: none;
  margin: 1.6rem 0 2rem;
  padding: 0;
  border-left: 1px solid var(--rule-strong);
}

.route > li {
  position: relative;
  padding: 0 0 1.55rem 1.5rem;
  margin: 0;
}

.route > li::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--paper);
  border: 1.5px solid var(--shu);
  border-radius: 50%;
}

.route > li:last-child { padding-bottom: 0; }

.route .when {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--shu-deep);
  margin-bottom: 0.2rem;
}

.route .what { font-weight: 600; }
.route p { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* callout */
.callout {
  background: var(--paper-soft);
  border-left: 3px solid var(--gold);
  padding: 1.1rem 1.3rem;
  margin: 1.8rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.callout strong { color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }

/* sources */
.sources {
  margin-top: 2.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule-strong);
  font-size: 0.86rem;
  color: var(--ink-faint);
}

.sources h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 0.9rem;
}

.sources ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.sources li { margin-bottom: 0.4rem; }
.sources a { color: var(--ink-soft); }

/* sidebar */
.side {
  position: sticky;
  top: 96px;
  font-size: 0.86rem;
}

.side-block {
  border-top: 2px solid var(--ink);
  padding-top: 0.9rem;
  margin-bottom: 2rem;
}

.side-block h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.side-block ol, .side-block ul { list-style: none; margin: 0; padding: 0; }
.side-block li { margin-bottom: 0.55rem; }
.side-block a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); display: inline-block; line-height: 1.4; }
.side-block a:hover { color: var(--shu-deep); border-bottom-color: var(--shu); }

.side-fact { color: var(--ink-soft); line-height: 1.55; }
.side-fact strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.05rem; font-family: var(--serif); }

.next-guide {
  display: block;
  border: 1px solid var(--rule-strong);
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
  background: #fffdf6;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.next-guide:hover { border-color: var(--ink); background: #fff; }

.next-guide .next-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shu-deep);
  margin-bottom: 0.45rem;
}

.next-guide .next-title { font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; }

/* --------------------------------------------------------------- footer --- */
.site-footer {
  background: var(--ink);
  color: #d8cfc0;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.6rem;
  margin-top: 0;
}

.site-footer .brand { color: #f6f0e4; }
.site-footer .brand-mark { background: var(--shu); }
.site-footer a { color: #d8cfc0; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 0.7fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.2rem;
}

.footer-note {
  font-size: 0.9rem;
  color: #a89e8f;
  max-width: 40ch;
  margin-top: 1rem;
}

.footer-heading {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8d8375;
  margin-bottom: 0.9rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.footer-col li { margin-bottom: 0.55rem; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid rgba(216, 207, 192, 0.16);
  padding-top: 1.4rem;
  font-size: 0.76rem;
  color: #8d8375;
}

.footer-legal p { margin: 0; max-width: 72ch; }
.footer-legal-links { white-space: nowrap; }

/* ------------------------------------------------------------------- 404 -- */
.center-page {
  min-height: 52vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding-block: 5rem;
}
.center-page h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
  .side-block { margin-bottom: 0; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-side { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 1.6rem; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-card { min-height: 0; }
  .value-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .header-cta { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-inner { flex-wrap: wrap; min-height: 0; padding-block: 0.7rem 0; gap: 0.4rem 0.9rem; }
  .site-header { position: static; }
  .site-nav {
    order: 3;
    width: 100%;
    gap: 1.15rem;
    font-size: 0.7rem;
    letter-spacing: 0.09em;
    padding: 0.55rem 0 0.6rem;
    border-top: 1px solid var(--rule);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; }
  .brand-name { font-size: 1rem; }
  .brand-mark { width: 26px; height: 26px; font-size: 0.85rem; }
  .section-head { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .glance { padding: 1.1rem 1.1rem 0.9rem; }
  .glance dl { grid-template-columns: minmax(0, 1fr); gap: 0.15rem 0; }
  .glance dt { margin-top: 0.65rem; }
  .article-header h1 { max-width: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .region-grid { grid-template-columns: minmax(0, 1fr); }
  .prose h2 { margin-top: 2.2rem; }

  /* Tables become stacked rows so nothing needs sideways scrolling */
  .prose table.is-stacked { min-width: 0; display: block; }
  .prose table.is-stacked thead { display: none; }
  .prose table.is-stacked tbody { display: block; }
  .prose table.is-stacked tr {
    display: block;
    padding: 0.85rem 0 0.75rem;
    border-bottom: 1px solid var(--rule);
  }
  .prose table.is-stacked td {
    display: block;
    width: auto;
    border: 0;
    padding: 0 0 0.25rem;
  }
  .prose table.is-stacked td:first-child {
    font-family: var(--serif);
    font-size: 1.02rem;
    font-weight: 600;
    padding-bottom: 0.15rem;
  }
  .prose table.is-stacked td.num {
    color: var(--shu-deep);
    font-weight: 600;
    padding-top: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-nav, .side, .site-footer, .hero-actions, .header-cta { display: none !important; }
  body { background: #fff; }
  .article-layout { display: block; }
}
