/* ==========================================================================
   Explorer Hong Kong — editorial stylesheet
   Paper, ink, rules. No framework, no preprocessor.
   ========================================================================== */

:root {
  --paper: #fdfcf9;
  --paper-2: #f5f2eb;
  --card: #ffffff;
  --ink: #14140f;
  --ink-2: #3b3b34;
  --muted: #6b6b61;
  --rule: #e3ded2;
  --rule-strong: #cdc6b6;
  --accent-fill: #b5342a;
  --accent: color-mix(in srgb, var(--accent-fill) 84%, #000);
  --accent-soft: rgba(181, 52, 42, 0.08);
  --max: 1180px;
  --narrow: 720px;
  --radius: 3px;
  --serif: ui-serif, Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(20, 20, 15, 0.05);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="dark"] {
  --paper: #0f100e;
  --paper-2: #171815;
  --card: #141512;
  --ink: #f0ede5;
  --ink-2: #cbc8bf;
  --muted: #98958b;
  --rule: #2a2b25;
  --rule-strong: #3a3b33;
  --accent: color-mix(in srgb, var(--accent-fill) 55%, #fff);
  --accent-soft: rgba(224, 110, 96, 0.14);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent-fill);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 28px;
}

.wrap-narrow {
  width: 100%;
  max-width: var(--narrow);
  margin-inline: auto;
  padding-inline: 28px;
}

@media (max-width: 620px) {
  .wrap,
  .wrap-narrow {
    padding-inline: 18px;
  }
}

.read-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 95;
  pointer-events: none;
}
.read-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent-fill);
  transition: width 0.1s linear;
}

/* ---------- masthead ---------------------------------------------------- */

.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 20px 14px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1;
  letter-spacing: -0.015em;
  font-weight: 500;
  white-space: nowrap;
}
.wordmark em {
  font-style: italic;
  font-weight: 600;
}
.wordmark-mark {
  width: 12px;
  height: 12px;
  flex: none;
  background: var(--accent-fill);
  transform: translateY(-1px);
}

.masthead-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dateline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 14px 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dateline-city {
  color: var(--ink);
  font-weight: 600;
}
.dateline-sep {
  opacity: 0.5;
}
.hk-clock { display: inline-flex; align-items: baseline; gap: 4px; color: var(--ink); font-weight: 600; }
.hk-clock-time { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; min-width: 6.5ch; display: inline-block; animation: hk-pulse 2s ease-in-out infinite; }
.hk-clock-label { font-size: 0.65rem; color: var(--muted); font-weight: 500; letter-spacing: 0.08em; }
.hk-temp { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.hk-temp-icon { font-size: 0.85em; line-height: 1; }
.hk-temp-val { letter-spacing: 0.02em; }
@keyframes hk-pulse { 0%,100%{opacity:1} 50%{opacity:.72} }

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.icon-btn:hover {
  background: var(--paper-2);
  color: var(--ink);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="light"] .i-moon,
[data-theme="dark"] .i-sun {
  display: none;
}

.menu-btn {
  display: none;
}

/* ---------- section bar ------------------------------------------------- */

.sectionbar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
}

.sectionbar-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 46px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sectionbar-inner::-webkit-scrollbar {
  display: none;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.section-link:hover {
  color: var(--ink);
}
.section-link.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.section-dot {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--c, var(--accent-fill));
  border-radius: 1px;
}

@media (max-width: 760px) {
  .menu-btn {
    display: grid;
  }
  .sectionbar {
    position: static;
    display: none;
    border-top: 0;
  }
  .masthead.is-open .sectionbar {
    display: block;
  }
  .sectionbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 6px 14px;
  }
  .section-link {
    padding: 11px 2px;
    border-bottom: 1px solid var(--rule);
  }
  .dateline {
    margin: 0 6px 0 0;
    font-size: 0.68rem;
    gap: 6px;
  }
  .dateline-city,
  .dateline > [data-today],
  .dateline-sep { display: none; }
  .hk-temp { padding-left: 6px; border-left: 1px solid var(--rule); }
  .masthead-inner {
    padding-block: 16px 12px;
  }
}

/* ---------- shared type ------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c, var(--accent));
}
.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 1px;
}
.kicker:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kicker-sm {
  margin-bottom: 6px;
  font-size: 0.66rem;
}

.rail-title {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}
.tag:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.tag-plain {
  border-style: dashed;
}

/* ---------- cover art --------------------------------------------------- */

.cover {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--c, var(--accent-fill));
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  isolation: isolate;
}

.cover-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-initial {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  color: #fff;
  opacity: 0.32;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-2%);
}

/* ---------- home: hero -------------------------------------------------- */

.hero {
  padding-top: 24px;
  padding-bottom: 12px;
}

.hero-crossfade {
  position: relative;
  width: 100%;
  height: clamp(200px, 32vw, 420px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-crossfade .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}
.hero-slide { opacity: 0; animation: heroSlide 25s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 5s); }
.hero-slide:first-child { opacity: 1; }
@keyframes heroSlide {
  0%, 16% { opacity: 1; }
  20%, 96% { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide:first-child { opacity: 1; }
}

/* ---------- home: lead -------------------------------------------------- */

.lead-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 56px;
  padding-top: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--ink);
}

.lead-title {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.6vw, 3.55rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.lead-title a:hover {
  color: var(--accent);
}

.lead-stand {
  margin: 0 0 18px;
  max-width: 54ch;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.lead-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.lead-cover-link {
  display: block;
}
.lead-cover {
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
  transition: filter 0.3s var(--ease);
}
.lead-cover-link:hover .lead-cover {
  filter: brightness(1.06);
}

.rail-latest {
  border-left: 1px solid var(--rule);
  padding-left: 40px;
  align-self: start;
}

.latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.latest-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.latest-list li:first-child {
  padding-top: 0;
}
.latest-link {
  display: block;
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.28;
  letter-spacing: -0.005em;
}
.latest-link:hover {
  color: var(--accent);
}
.latest-meta {
  margin: 5px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.rail-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.rail-more:hover span {
  display: inline-block;
  transform: translateX(3px);
  transition: transform 0.18s var(--ease);
}

@media (max-width: 900px) {
  .lead-wrap {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 28px;
  }
  .rail-latest {
    border-left: 0;
    border-top: 1px solid var(--ink);
    padding-left: 0;
    padding-top: 24px;
  }
}

/* ---------- rails + cards ---------------------------------------------- */

.rail {
  padding-top: 48px;
}

.rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ink);
}
.rail-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.rail-head a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
}
.rail-head a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 34px 30px;
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  min-width: 0;
}
.card-link {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.card-cover {
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
  transition: filter 0.3s var(--ease);
}
.card-link:hover .card-cover {
  filter: brightness(1.06);
}
.card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.card-link:hover .card-title {
  color: var(--accent);
}
.card-stand {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .grid,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- newsletter -------------------------------------------------- */

.newsletter {
  padding-top: 56px;
  padding-bottom: 8px;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  align-items: center;
  gap: 30px;
  padding: 30px clamp(22px, 3vw, 40px);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
}
.newsletter-inner h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.42rem;
  letter-spacing: -0.015em;
}
.newsletter-inner p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}
.newsletter-pending {
  font-size: 0.85rem !important;
  color: var(--muted);
}
.newsletter-pending code {
  font-size: 0.85em;
  padding: 2px 5px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
}
.newsletter-form button {
  padding: 11px 20px;
  border: 0;
  border-radius: 3px;
  background: var(--accent-fill);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}
.newsletter-form button:hover {
  filter: brightness(1.08);
}
.newsletter-note {
  grid-column: 1 / -1;
  color: var(--accent);
  font-size: 0.9rem;
}
@media (max-width: 760px) {
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ---------- section / page heads --------------------------------------- */

.section-head {
  padding-top: 44px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 34px;
}
.section-head h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.section-blurb {
  margin: 0;
  max-width: 62ch;
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--muted);
}
.empty {
  padding: 40px 0 80px;
  color: var(--muted);
}
.section-grid {
  padding-bottom: 72px;
}

/* ---------- story ------------------------------------------------------- */

.story-head {
  padding-top: 46px;
  padding-bottom: 26px;
}
.story-head h1 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.story-stand {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.story-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.byline-name {
  color: var(--ink);
  font-weight: 600;
}
.story-author-bio {
  margin: 10px 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 54ch;
}

.story-cover {
  max-width: 980px;
  margin: 8px auto 0;
  padding-inline: 28px;
}
.story-cover-art {
  aspect-ratio: 21 / 9;
  box-shadow: var(--shadow);
}
.story-cover .cover-initial {
  font-size: clamp(4rem, 10vw, 8rem);
}

.story-body {
  padding-top: 40px;
}

.story-foot {
  padding-top: 40px;
  padding-bottom: 72px;
}
.story-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.story-tags-label {
  margin-right: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.related {
  padding-top: 46px;
}
.related .rail-head {
  margin-bottom: 22px;
}

/* ---------- prose ------------------------------------------------------- */

.prose {
  font-family: var(--serif);
  font-size: 1.13rem;
  line-height: 1.72;
  color: var(--ink-2);
  max-width: var(--narrow);
  margin-inline: auto;
  padding-inline: 28px;
}

.prose > * + * {
  margin-top: 1.1em;
}
.prose > p {
  margin: 0;
}

.prose > p:first-of-type::first-letter {
  float: left;
  font-size: 3.5em;
  line-height: 0.82;
  padding: 0.06em 0.1em 0 0;
  color: var(--ink);
  font-weight: 600;
}

.prose h2,
.prose h3 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.018em;
  scroll-margin-top: 92px;
}
.prose h2 {
  margin: 1.9em 0 0.1em;
  font-size: 1.5rem;
}
.prose h3 {
  margin: 1.6em 0 0.1em;
  font-size: 1.18rem;
}
.prose h4 {
  margin: 1.5em 0 0.1em;
  font-size: 0.82rem;
  font-family: var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent-fill) 60%, transparent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: var(--accent);
}
.prose strong {
  color: var(--ink);
}
.prose ul,
.prose ol {
  margin: 0;
  padding-left: 1.3em;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}
.prose li::marker {
  color: var(--muted);
}

.prose blockquote {
  margin: 1.7em 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--accent-fill);
  color: var(--ink);
  font-size: 1.24rem;
  line-height: 1.5;
}
.prose blockquote p {
  margin: 0;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  padding: 0.15em 0.35em;
  border-radius: 3px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
}
.prose pre {
  margin: 1.4em 0;
  padding: 16px 18px;
  overflow-x: auto;
  border-radius: 4px;
  background: #14150f;
  color: #ece9e0;
  font-size: 0.86rem;
  line-height: 1.6;
}
.prose pre code {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.prose hr {
  margin: 2.2em auto;
  border: 0;
  border-top: 1px solid var(--rule);
}
.prose img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  margin: 1.6em 0;
}

@media (max-width: 620px) {
  .prose {
    padding-inline: 18px;
    font-size: 1.08rem;
  }
  .story-cover {
    padding-inline: 18px;
  }
}

/* ---------- latest archive --------------------------------------------- */

.latest-archive {
  padding-bottom: 80px;
}
.month-title {
  margin: 34px 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: 1.16rem;
  letter-spacing: -0.01em;
}
.month-group:first-child .month-title {
  margin-top: 0;
}
.story-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.story-list a {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--rule);
  transition: padding-left 0.18s var(--ease), color 0.18s var(--ease);
}
.story-list a:hover {
  padding-left: 8px;
  color: var(--accent);
}
.story-list-date {
  font-size: 0.76rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.story-list-kicker {
  display: block;
  margin-bottom: 2px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.story-list-title {
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.3;
}
.story-list-time {
  font-size: 0.74rem;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 620px) {
  .story-list a {
    grid-template-columns: 58px 1fr;
  }
  .story-list-time {
    display: none;
  }
}

/* ---------- about / 404 ------------------------------------------------ */

.about-body {
  padding-bottom: 80px;
}
.notfound {
  padding-top: 80px;
  padding-bottom: 110px;
}
.notfound-code {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 15vw, 8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--rule-strong);
}
.notfound h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
}
.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* ---------- footer ------------------------------------------------------ */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--ink);
  background: var(--paper-2);
  padding: 56px 0 0;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}
.footer-nav-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  min-width: 0;
}
.footer-main > * { min-width: 0; }
.footer-nav-group { min-width: 0; }
.footer-brand { min-width: 0; }
.footer-word {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.footer-note {
  margin: 0 0 10px;
  max-width: 34ch;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}
.footer-note:last-child { margin-bottom: 0; }
.footer-col { min-width: 0; }
.footer-label {
  margin: 0 0 16px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links a {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}
.footer-map-col { min-width: 0; }
.footer-map-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
}
.footer-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.footer-map-caption {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-map-caption:hover,
.footer-map-caption:focus-visible { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 24px;
  border-top: 1px solid var(--rule);
}
.footer-copy,
.footer-copy-right {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}
.footer-copy-right { text-align: right; }

@media (max-width: 1199px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 32px;
  }
  .footer-map-col { grid-column: span 2; max-width: 520px; }
}

@media (max-width: 767px) {
  .site-footer { padding-top: 48px; }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer-nav-col { gap: 24px; }
  .footer-map-col { grid-column: auto; max-width: 100%; }
  .footer-note { max-width: 100%; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 24px;
  }
  .footer-copy-right { text-align: left; }
}

/* ---------- search ------------------------------------------------------ */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: start center;
  padding: 10vh 18px 18px;
  background: color-mix(in srgb, #0a0a08 55%, transparent);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.search-overlay[hidden] {
  display: none;
}
.search-modal {
  width: 100%;
  max-width: 640px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent-fill);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.5);
  animation: pop 0.16s var(--ease);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--rule);
}
.search-bar svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.search-bar input {
  flex: 1;
  min-width: 0;
  padding: 17px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.search-bar input:focus {
  outline: none;
}
.search-close {
  padding: 5px 9px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.search-results {
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 56vh;
  overflow-y: auto;
}
.search-results li a {
  display: block;
  padding: 11px 12px;
  border-bottom: 1px solid var(--rule);
}
.search-results li:last-child a {
  border-bottom: 0;
}
.search-results li a:hover,
.search-results li.is-active a {
  background: var(--paper-2);
}
.search-result-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--ink);
}
.search-result-meta {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-hint {
  margin: 0;
  padding: 4px 18px 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- weather ----------------------------------------------------- */

.weather { padding-block: 28px 8px; }
.weather-shell { border: 1px solid var(--rule); background: linear-gradient(180deg, var(--card), var(--paper-2)); padding: 28px; border-radius: 6px; box-shadow: var(--shadow); }
.weather-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: end; margin-bottom: 22px; }
.weather-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; }
.weather-sub { margin: 10px 0 0; color: var(--muted); max-width: 62ch; }
.weather-sub a { text-decoration: underline; text-underline-offset: 2px; }
.weather-controls { display: grid; gap: 10px; }
.weather-search { display: flex; gap: 8px; }
.weather-search input { flex: 1; min-width: 0; border: 1px solid var(--rule-strong); background: var(--paper); padding: 10px 12px; border-radius: 4px; }
.weather-search button, .weather-btn { border: 1px solid var(--ink); background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 4px; cursor: pointer; font-size: 0.85rem; }
.weather-btn-ghost { background: transparent; color: var(--ink); }
.weather-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.weather-status { margin: 0; font-size: 0.82rem; color: var(--muted); min-height: 1.2em; }
.weather-status.is-error { color: #b5342a; }
.weather-hero-card { display: grid; grid-template-columns: 220px 1fr; min-height: 240px; overflow: hidden; }
.weather-quick { display: flex; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.weather-quick-item { display: flex; flex-direction: column; gap: 2px; }
.weather-quick-item strong { font-size: 1.05rem; color: var(--ink); }
.weather-more-toggle { margin-top: 18px; align-self: flex-start; background: none; border: 1px solid var(--rule-strong); color: var(--ink); padding: 10px 14px; border-radius: 4px; cursor: pointer; font-size: .84rem; font-weight: 600; letter-spacing: .01em; transition: background .2s, border-color .2s; }
.weather-more-toggle:hover { background: var(--paper-2); border-color: var(--ink); }
.weather-details { margin-top: 16px; }
.weather-details[hidden] { display: none !important; }
.weather-detail-note { padding: 0; }
.weather-detail-copy { margin: 0; padding: 18px; color: var(--muted); line-height: 1.7; font-size: .92rem; }
.weather-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cardish { border: 1px solid var(--rule); background: var(--card); border-radius: 6px; overflow: hidden; }
.weather-now { display: grid; grid-template-columns: 180px 1fr; min-height: 220px; }
.weather-scene { position: relative; min-height: 220px; background: linear-gradient(180deg, #8fd3ff 0%, #dff3ff 60%, #f7fbff 100%); overflow: hidden; }
[data-theme="dark"] .weather-scene { background: linear-gradient(180deg, #18324b 0%, #20384f 60%, #1a2430 100%); }
.wx-sky { position: absolute; inset: 0; }
.wx-sun { position: absolute; width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff5b0, #ffcc33 60%, #ff9f1a); top: 28px; left: 28px; box-shadow: 0 0 0 12px rgba(255,204,51,.18), 0 0 40px rgba(255,204,51,.35); animation: wx-spin 18s linear infinite; }
.wx-sun::before,.wx-sun::after{content:"";position:absolute;inset:-18px;border-radius:50%;border:2px dashed rgba(255,204,51,.35)}
.wx-cloud { position: absolute; background: rgba(255,255,255,.92); border-radius: 999px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.06)); }
[data-theme="dark"] .wx-cloud { background: rgba(210,220,235,.75); }
.wx-cloud::before,.wx-cloud::after{content:"";position:absolute;background:inherit;border-radius:inherit}
.wx-cloud-a { width: 110px; height: 38px; top: 88px; left: 30px; animation: wx-float 8s ease-in-out infinite; }
.wx-cloud-a::before{width:46px;height:46px;left:14px;top:-20px}.wx-cloud-a::after{width:58px;height:58px;left:42px;top:-30px}
.wx-cloud-b { width: 86px; height: 30px; top: 130px; left: 78px; opacity:.85; animation: wx-float 10s ease-in-out infinite reverse; }
.wx-cloud-b::before{width:34px;height:34px;left:10px;top:-16px}.wx-cloud-b::after{width:44px;height:44px;left:32px;top:-22px}
.wx-rain,.wx-snow,.wx-lightning{position:absolute;inset:0;opacity:0;pointer-events:none}
.wx-rain::before{content:"";position:absolute;inset:-20% 0;width:2px;height:18px;left:20%;top:20%;background:rgba(90,140,200,.7);box-shadow:20px 12px rgba(90,140,200,.6),40px -6px rgba(90,140,200,.65),60px 18px rgba(90,140,200,.5),80px 4px rgba(90,140,200,.7),100px 16px rgba(90,140,200,.55),120px -2px rgba(90,140,200,.65),30px 48px rgba(90,140,200,.5),70px 56px rgba(90,140,200,.55),110px 44px rgba(90,140,200,.6);animation: wx-rain 1s linear infinite}
.wx-snow::before{content:"";position:absolute;left:22%;top:18%;width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.95);box-shadow:24px 18px rgba(255,255,255,.85),52px 4px rgba(255,255,255,.9),78px 28px rgba(255,255,255,.8),104px 10px rgba(255,255,255,.9),126px 34px rgba(255,255,255,.75),38px 56px rgba(255,255,255,.8),86px 62px rgba(255,255,255,.85),116px 52px rgba(255,255,255,.8);animation: wx-snow 3s linear infinite}
.wx-lightning::before{content:"";position:absolute;top:74px;left:92px;width:0;height:0;border-left:10px solid transparent;border-right:4px solid transparent;border-top:28px solid rgba(255,245,180,.95);transform:skewX(-18deg);filter:drop-shadow(0 0 8px rgba(255,245,180,.9));animation: wx-flash 4s linear infinite}
.weather-scene[data-kind="clear"] .wx-cloud,.weather-scene[data-kind="clear"] .wx-rain,.weather-scene[data-kind="clear"] .wx-snow,.weather-scene[data-kind="clear"] .wx-lightning{opacity:0}
.weather-scene[data-kind="cloudy"] .wx-sun{opacity:.8;transform:scale(.85)} .weather-scene[data-kind="cloudy"] .wx-cloud{opacity:1}
.weather-scene[data-kind="rain"] .wx-sun{opacity:0} .weather-scene[data-kind="rain"] .wx-cloud{opacity:1;top:68px} .weather-scene[data-kind="rain"] .wx-cloud-b{top:102px} .weather-scene[data-kind="rain"] .wx-rain{opacity:1}
.weather-scene[data-kind="snow"] .wx-sun{opacity:0} .weather-scene[data-kind="snow"] .wx-cloud{opacity:1} .weather-scene[data-kind="snow"] .wx-snow{opacity:1}
.weather-scene[data-kind="storm"] .wx-sun{opacity:0} .weather-scene[data-kind="storm"] .wx-cloud{opacity:1;filter:brightness(.85)} .weather-scene[data-kind="storm"] .wx-rain{opacity:1} .weather-scene[data-kind="storm"] .wx-lightning{opacity:1}
.weather-scene[data-kind="fog"] .wx-sun{opacity:.35} .weather-scene[data-kind="fog"] .wx-cloud{opacity:.55;transform:scale(1.2)} .weather-scene[data-kind="fog"] .wx-cloud-b{top:118px;opacity:.45}
.weather-now-body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.weather-place { margin: 0; font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.weather-temp { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(3rem,6vw,4.5rem); line-height: .95; letter-spacing: -.04em; }
.weather-unit { font-size: .45em; vertical-align: top; margin-left: 2px; }
.weather-cond { margin: 10px 0 0; font-size: 1.1rem; color: var(--ink-2); }
.weather-updated { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.weather-metrics { padding: 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.weather-metric { padding: 12px 14px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); }
.wm-label { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.weather-metric strong { font-size: 1rem; color: var(--ink); }
.weather-forecast { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: 16px; }
.weather-block-head { padding: 16px 18px; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.weather-block-head h3 { margin: 0; font-family: var(--serif); font-size: 1.2rem; }
.weather-block-head p { margin: 0; font-size: .8rem; color: var(--muted); }
.weather-hourly { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(88px,1fr); overflow-x: auto; gap: 10px; padding: 16px; scroll-snap-type: x proximity; }
.wx-hour { scroll-snap-align: start; border: 1px solid var(--rule); border-radius: 4px; padding: 10px; background: var(--paper); text-align: center; min-height: 118px; }
.wx-hour-time,.wx-hour-temp,.wx-hour-cond,.wx-hour-icon,.wx-day-name,.wx-day-icon,.wx-day-cond,.wx-day-range{display:block}
.wx-hour-time{font-size:.72rem;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.wx-hour-icon,.wx-day-icon{font-size:1.35rem;margin:6px 0}
.wx-hour-temp{font-weight:700;font-size:1rem}
.wx-hour-cond{font-size:.72rem;color:var(--muted);margin-top:4px;line-height:1.3}
.weather-daily { padding: 8px 16px; }
.wx-day { display: grid; grid-template-columns: 1.3fr 40px 1.3fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: .92rem; }
.wx-day:last-child { border-bottom: 0; }
.wx-day-name { font-weight: 600; }
.wx-day-cond { color: var(--muted); font-size: .84rem; }
.wx-day-range { color: var(--muted); font-variant-numeric: tabular-nums; }
.wx-day-range strong { color: var(--ink); }
.weather-empty { padding: 16px; margin: 0; color: var(--muted); }
@keyframes wx-spin { from{transform:rotate(0)} to{transform:rotate(360deg)} }
@keyframes wx-float { 0%,100%{transform:translateX(0)} 50%{transform:translateX(8px)} }
@keyframes wx-rain { from{transform:translateY(-18px)} to{transform:translateY(72px)} }
@keyframes wx-snow { from{transform:translateY(-12px)} to{transform:translateY(72px)} }
@keyframes wx-flash { 0%,88%,100%{opacity:0} 90%,92%{opacity:1} 94%{opacity:.2} 96%{opacity:1} }
@media (max-width: 980px) { .weather-head,.weather-grid,.weather-forecast{grid-template-columns:1fr} .weather-hero-card,.weather-now{grid-template-columns:160px 1fr} }
@media (max-width: 620px) { .weather-shell{padding:18px} .weather-hero-card,.weather-now{grid-template-columns:1fr} .weather-scene{min-height:170px} .weather-metrics{grid-template-columns:1fr 1fr} .weather-quick{gap:14px} .wx-day{grid-template-columns:1fr 32px auto} .wx-day-cond{display:none} }

.prose table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.92rem}
.prose th,.prose td{border:1px solid var(--rule);padding:10px 12px;text-align:left;vertical-align:top}
.prose th{background:var(--paper-2);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.prose tr:nth-child(even) td{background:rgba(0,0,0,.015)}
[data-theme='dark'] .prose tr:nth-child(even) td{background:rgba(255,255,255,.02)}
@media(max-width:700px){.prose table{display:block;overflow-x:auto}}

.map-inline-link{ text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; }
.story-backlinks{ margin-top:2rem; padding:1.25rem 1.5rem; border:1px solid var(--rule); border-radius:6px; background:var(--paper-2); }
.story-backlinks h2{ margin-top:0; font-size:1.2rem; }
.story-backlinks ul{ margin:0; padding-left:1.2rem; }
.story-backlinks li{ margin:.35rem 0; }

/* Cantonese phrases page */
.phrases-page { margin-bottom: 48px; }
.phrase-note { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 10px; padding: 14px 16px; color: var(--ink); }
.phrase-search-wrap { margin: 20px 0 28px; }
.phrase-search { width: 100%; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px; font: inherit; background: var(--paper); color: var(--ink); }
.phrase-search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.phrase-group { margin: 32px 0; }
.phrase-group h2 { margin-bottom: 6px; }
.phrase-group p { margin-top: 0; color: var(--muted); }
.phrase-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.phrase-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.phrase-table th, .phrase-table td { padding: 12px 10px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.phrase-table th { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.phrase-en { font-weight: 500; }
.phrase-yue { font-size: 1.05rem; }
.phrase-jp { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88rem; }
.speak-btn { border: 1px solid var(--rule); background: var(--paper); color: var(--ink); padding: 7px 12px; border-radius: 999px; font: inherit; font-size: 0.85rem; cursor: pointer; white-space: nowrap; }
.speak-btn:hover, .speak-btn:focus-visible { border-color: var(--accent); color: var(--accent); }
@media (max-width: 720px) {
  .phrase-table th:nth-child(3), .phrase-table td:nth-child(3) { display: none; }
  .phrase-table th, .phrase-table td { padding: 10px 6px; font-size: 0.9rem; }
  .speak-btn { padding: 6px 10px; font-size: 0.8rem; }
}

.section-link.nav-highlight { color: #e6b800; font-weight: 700; }
.section-link.nav-highlight:hover, .section-link.nav-highlight:focus-visible { color: #ffcc00; }


/* ---- motion / reveal (inspired by top travel editorial sites) ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.card { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.hero-img-a, .hero-img-b, .hero-slide { will-change: opacity; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card { transition: none; }
}
