/* ============================================================================
   drapport.my — Shared luxury design system
   D'Rapport Residences → Cappella Embassy (雅益轩) independent archive
   Architectural restraint: warm charcoal · ivory · brass — "embassy-grade".
   Used across all EN / 中文 / BM pages. No framework. CLS-safe, fast.
   ========================================================================== */

/* ---- Self-hosted fonts (latin woff2) — no third-party round trip ---- */
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/playfair-400-normal.woff2') format('woff2');}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/playfair-600-normal.woff2') format('woff2');}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:400;font-display:swap;src:url('/assets/fonts/playfair-400-italic.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter-400-normal.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/inter-500-normal.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter-600-normal.woff2') format('woff2');}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/cormorant-600-normal.woff2') format('woff2');}
/* Metric-adjusted fallbacks: first paint matches the webfont's box → ~0 layout shift on swap */
@font-face{font-family:'Playfair Fallback';src:local('Times New Roman'),local('Georgia');ascent-override:96.55%;descent-override:22.36%;line-gap-override:0%;size-adjust:112.45%;}
@font-face{font-family:'Inter Fallback';src:local('Arial'),local('Helvetica Neue');ascent-override:90%;descent-override:22.43%;line-gap-override:0%;size-adjust:107%;}

:root {
  /* Surfaces */
  --bg-primary:    #FAF8F4;
  --bg-secondary:  #F2EDE5;
  --bg-slate:      #EDE8E0;
  --bg-card:       #FFFFFF;
  --bg-dark:       #1A1815;   /* warm architectural charcoal */
  --bg-darker:     #110F0C;

  /* Brass / champagne accent (embassy-crest warmth) */
  --gold:          #B8955A;
  --gold-lt:       #D4B483;
  --gold-dk:       #7C5E2C;   /* darkened for AA text contrast on cream/white */

  /* Ink */
  --text-primary:  #1A1A1A;
  --text-body:     #3D3530;
  --text-muted:    #6A5E54;   /* darkened for AA contrast */
  --text-light:    #7C7067;   /* darkened for AA contrast */
  --white:         #FFFFFF;

  /* Lines */
  --border:        rgba(184, 149, 90, 0.25);
  --border-bright: rgba(184, 149, 90, 0.50);
  --divider:       rgba(60, 50, 40, 0.10);

  --shadow-sm: 0 2px 12px rgba(60, 50, 40, 0.08);
  --shadow-md: 0 8px 32px rgba(60, 50, 40, 0.12);
  --shadow-lg: 0 20px 60px rgba(60, 50, 40, 0.16);

  --font-serif:  'Playfair Display', 'Playfair Fallback', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --font-zh:     'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;

  --text-hero:  clamp(2.4rem, 5vw, 4.2rem);
  --text-h1:    clamp(1.8rem, 3.5vw, 2.8rem);
  --text-h2:    clamp(1.3rem, 2.2vw, 1.85rem);
  --text-h3:    clamp(1.05rem, 1.4vw, 1.25rem);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm:  4px;
  --radius-md:  10px;
  --radius-lg:  18px;
  --content-max: 1140px;
  --nav-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-primary);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
:lang(zh) { font-family: var(--font-zh); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold-dk); outline-offset: 3px; border-radius: 2px; }

.container { max-width: var(--content-max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- Skip link ---- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--bg-dark); color: var(--white); padding: 0.7rem 1.2rem; border-radius: 0 0 var(--radius-sm) 0; }
.skip-link:focus { left: 0; }

/* ---- Notice bar ---- */
.notice-bar {
  background: var(--bg-dark); color: var(--gold-lt);
  font-size: 0.75rem; letter-spacing: 0.08em; text-align: center;
  padding: 0.65rem 1rem;
}
.notice-bar .en { text-transform: uppercase; letter-spacing: 0.1em; }
.notice-bar .zh { display: inline-block; margin-left: 0.5rem; font-family: var(--font-zh); opacity: 0.85; }
.notice-bar a { color: var(--white); border-bottom: 1px solid var(--gold); padding-bottom: 1px; font-weight: 600; }
.notice-bar a:hover { color: var(--gold-lt); }

/* ---- Nav ---- */
#site-nav {
  position: sticky; top: 0; z-index: 1000; height: var(--nav-height);
  background: rgba(250, 248, 244, 0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.nav-logo { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--text-primary); letter-spacing: 0.02em; white-space: nowrap; }
.nav-logo small { font-family: var(--font-sans); font-size: 0.62rem; color: var(--gold-dk); letter-spacing: 0.15em; text-transform: uppercase; display: block; margin-top: 2px; font-weight: 500; }
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); font-weight: 500; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-dk); }

/* Language switcher */
.lang-switch { display: inline-flex; align-items: center; gap: 0.1rem; border: 1px solid var(--border-bright); border-radius: 100px; padding: 0.15rem; background: var(--white); }
.lang-switch a { font-size: 0.74rem; letter-spacing: 0.04em; padding: 0.3rem 0.6rem; border-radius: 100px; color: var(--text-muted); font-weight: 600; transition: all var(--transition); }
.lang-switch a[aria-current="true"] { background: var(--bg-dark); color: var(--white); }
.lang-switch a:not([aria-current="true"]):hover { color: var(--gold-dk); }

@media (max-width: 880px) { .nav-links .nav-section-link { display: none; } }
@media (max-width: 560px) { .nav-logo small { display: none; } }

/* ---- Breadcrumb ---- */
.breadcrumb { background: var(--bg-secondary); border-bottom: 1px solid var(--divider); font-size: 0.78rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; padding: 0.6rem 0; color: var(--text-muted); }
.breadcrumb li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--gold); opacity: 0.6; }
.breadcrumb a { color: var(--gold-dk); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--text-body); }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  padding: 5rem 0 4rem; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-slate), var(--bg-primary));
}
.hero.hero-compact { min-height: 52vh; padding: 3.5rem 0 3rem; }
.hero-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.85; }
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.02); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250,248,244,0.55) 0%, rgba(250,248,244,0.78) 55%, rgba(250,248,244,0.94) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 920px; }
.hero-title, .hero-sub, .hero-zh { text-shadow: 0 1px 2px rgba(255,255,255,0.6); }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); border: 1px solid var(--border-bright);
  padding: 0.45rem 1rem; border-radius: 100px;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-dk); font-weight: 600; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
}
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-title { font-family: var(--font-serif); font-size: var(--text-hero); color: var(--text-primary); font-weight: 600; line-height: 1.1; margin-bottom: 1.25rem; }
.hero-title em { font-style: italic; color: var(--gold-dk); font-weight: 400; }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--text-body); margin-bottom: 1rem; max-width: 720px; }
.hero-zh { font-family: var(--font-zh); font-size: 0.95rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 720px; line-height: 1.85; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.95rem 1.8rem; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; transition: all var(--transition); cursor: pointer; border: 1.5px solid transparent; }
.btn-primary { background: var(--bg-dark); color: var(--white); border-color: var(--bg-dark); }
.btn-primary:hover { background: var(--gold-dk); border-color: var(--gold-dk); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--gold); }
.btn-ghost:hover { background: var(--bg-secondary); }

/* ---- Sections / prose ---- */
section.content { padding: 4rem 0; }
section.content.alt { background: var(--bg-secondary); }
.section-eyebrow { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dk); font-weight: 600; margin-bottom: 0.75rem; }
h1.section-h1 { font-family: var(--font-serif); font-size: var(--text-h1); font-weight: 600; color: var(--text-primary); line-height: 1.2; margin-bottom: 0.5rem; }
h2.section-h2 { font-family: var(--font-serif); font-size: var(--text-h2); font-weight: 600; color: var(--text-primary); line-height: 1.25; margin-top: 2.5rem; margin-bottom: 0.4rem; }
h3.section-h3 { font-family: var(--font-sans); font-size: var(--text-h3); font-weight: 600; color: var(--gold-dk); margin-top: 1.5rem; margin-bottom: 0.3rem; letter-spacing: 0.02em; }
.h-zh { font-family: var(--font-zh); font-size: 0.92rem; color: var(--text-muted); font-weight: 500; margin-bottom: 1rem; display: block; }
p.lead { font-size: 1.05rem; color: var(--text-body); margin-bottom: 0.8rem; }
p { margin-bottom: 0.8rem; color: var(--text-body); }
.prose { max-width: 820px; }
.prose.wide { max-width: var(--content-max); }
.prose a { color: var(--gold-dk); border-bottom: 1px solid var(--gold); padding-bottom: 1px; font-weight: 500; transition: color var(--transition); }
.prose a:hover { color: var(--text-primary); }
.prose strong { color: var(--text-primary); font-weight: 600; }
.prose ul { margin: 0.5rem 0 1.2rem 1.5rem; }
.prose ul li { list-style: disc; margin-bottom: 0.4rem; color: var(--text-body); }
.zh { display: block; margin-top: 0.4rem; color: var(--text-muted); font-size: 0.93rem; font-family: var(--font-zh); line-height: 1.85; }

/* ---- Fact strip ---- */
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; background: var(--white); border: 1px solid var(--border); padding: 2rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin: 2rem 0 1rem; }
.fact-item { text-align: center; }
.fact-num { font-family: var(--font-serif); font-size: 1.85rem; color: var(--gold-dk); font-weight: 600; }
.fact-label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.35rem; font-weight: 500; }
.fact-label-zh { font-family: var(--font-zh); font-size: 0.78rem; color: var(--text-light); margin-top: 0.15rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
@media (max-width: 768px) { .fact-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---- Timeline ---- */
.timeline { margin: 1.5rem 0 2.5rem; border-left: 2px solid var(--border-bright); padding-left: 1.5rem; }
.timeline-item { margin-bottom: 1.75rem; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -1.6rem; top: 0.4rem; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.timeline-year { font-family: var(--font-accent); font-size: 0.98rem; color: var(--gold-dk); font-weight: 600; letter-spacing: 0.05em; }
.timeline-body { color: var(--text-body); margin-top: 0.25rem; }
.timeline-source { display: block; margin-top: 0.35rem; font-size: 0.78rem; color: var(--text-muted); }
.timeline-source a { border-bottom: 1px solid var(--border-bright); padding-bottom: 1px; color: var(--gold-dk); }

/* ---- Image grid ---- */
.img-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0 2rem; }
.img-row figure { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--bg-secondary); }
.img-row img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.img-row figcaption { font-size: 0.78rem; color: var(--text-muted); padding: 0.6rem 0.8rem; background: var(--white); font-style: italic; }
@media (max-width: 640px) { .img-row { grid-template-columns: 1fr; } }

/* ---- Compare grid ---- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0 2rem; }
.compare-col { background: var(--white); border: 1px solid var(--border); padding: 1.5rem; border-radius: var(--radius-md); }
.compare-col h3 { font-family: var(--font-serif); font-size: 1.1rem; color: var(--text-primary); margin-bottom: 0.4rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--divider); }
.compare-col .h-zh { margin-bottom: 0.75rem; padding-bottom: 0; border: 0; }
.compare-col ul li { list-style: none; padding-left: 1.2rem; position: relative; margin-bottom: 0.5rem; font-size: 0.95rem; }
.compare-col ul li::before { content: '•'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.compare-col ul li .zh-inline { display: block; font-family: var(--font-zh); font-size: 0.82rem; color: var(--text-light); margin-top: 0.15rem; }
@media (max-width: 720px) { .compare-grid { grid-template-columns: 1fr; } }

/* ---- Spec cards (residences) ---- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; margin: 1.75rem 0 1rem; }
.spec-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.spec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.spec-card .spec-type { font-family: var(--font-serif); font-size: 1.35rem; color: var(--text-primary); font-weight: 600; }
.spec-card .spec-alias { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dk); font-weight: 600; margin-bottom: 0.75rem; }
.spec-card .spec-size { font-family: var(--font-accent); font-size: 1.5rem; color: var(--gold-dk); font-weight: 600; }
.spec-card .spec-size small { font-family: var(--font-sans); font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.04em; }
.spec-card dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 0.8rem; margin-top: 0.9rem; font-size: 0.86rem; }
.spec-card dt { color: var(--text-muted); }
.spec-card dd { color: var(--text-body); font-weight: 500; text-align: right; }
.spec-card .spec-zh { display: block; font-family: var(--font-zh); font-size: 0.8rem; color: var(--text-light); margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--divider); }

/* ---- Data table ---- */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--border); border-radius: var(--radius-md); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--white); min-width: 560px; }
table.data caption { text-align: left; padding: 0.9rem 1rem; font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.04em; }
table.data th, table.data td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--divider); }
table.data thead th { background: var(--bg-secondary); color: var(--text-primary); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
table.data tbody tr:hover { background: var(--bg-primary); }
table.data td strong { color: var(--text-primary); }

/* ---- Amenity / feature grid ---- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.feature-item { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.feature-item h3 { font-size: 0.95rem; color: var(--text-primary); font-weight: 600; margin-bottom: 0.2rem; font-family: var(--font-sans); }
.feature-item p { font-size: 0.84rem; color: var(--text-muted); margin: 0; }
.feature-item .zh { margin-top: 0.3rem; font-size: 0.8rem; }

/* ---- Location / Map ---- */
.map-wrap { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); margin: 1.5rem 0 1rem; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-meta { display: flex; flex-wrap: wrap; gap: 1rem 2rem; padding: 1rem 1.25rem; background: var(--white); font-size: 0.88rem; color: var(--text-muted); border-top: 1px solid var(--divider); }
.map-meta strong { color: var(--text-primary); font-weight: 600; }
.map-meta a { color: var(--gold-dk); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }

/* Click-to-load map (no third-party request until the user opts in) */
.map-loader { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; height: 420px; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--bg-slate), var(--bg-secondary)); color: var(--text-muted); font-family: var(--font-sans); transition: background var(--transition); }
.map-loader:hover { background: linear-gradient(135deg, var(--bg-secondary), var(--bg-slate)); }
.map-loader__pin { font-size: 2rem; line-height: 1; }
.map-loader__t { font-size: 0.95rem; font-weight: 600; color: var(--text-body); text-align: center; }
.map-loader__t small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }
.map-loader::after { content: ''; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--gold); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237C5E2C' stroke-width='2'%3E%3Cpolygon points='5 3 19 12 5 21 5 3'/%3E%3C/svg%3E") center/16px no-repeat; margin-top: 0.4rem; }

/* Distance list */
.dist-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 2rem; margin: 1.25rem 0; }
.dist-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dotted var(--border); font-size: 0.92rem; }
.dist-list li .d-name strong { color: var(--text-primary); font-weight: 600; }
.dist-list li .d-val { color: var(--gold-dk); font-weight: 600; white-space: nowrap; font-family: var(--font-accent); font-size: 1.02rem; }
@media (max-width: 640px) { .dist-list { grid-template-columns: 1fr; } }

/* ---- Correction callout ---- */
.correction-card { background: linear-gradient(135deg, #FFF8EC 0%, #FFFCF5 100%); border: 1px solid var(--gold-lt); border-left: 5px solid var(--gold); border-radius: var(--radius-md); padding: 1.75rem clamp(1.25rem, 3vw, 2rem); margin: 1.5rem 0; box-shadow: var(--shadow-sm); }
.correction-card .badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--gold-dk); color: var(--white); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; padding: 0.35rem 0.8rem; border-radius: 100px; margin-bottom: 0.85rem; }
.correction-card h2, .correction-card h3 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--text-primary); margin-bottom: 0.25rem; font-weight: 600; }
.correction-card .h-zh { margin-bottom: 1rem; }
.correction-list { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.correction-item { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.8rem 1rem; }
.correction-wrong, .correction-right { font-family: var(--font-sans); font-size: 0.95rem; }
.correction-wrong { color: #B23A2C; text-decoration: line-through; text-decoration-color: rgba(178,58,44,0.55); }
.correction-wrong .lbl { display: block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.2rem; text-decoration: none; font-weight: 600; }
.correction-right { color: var(--gold-dk); font-weight: 600; }
.correction-right .lbl { display: block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.2rem; font-weight: 600; }
.correction-arrow { color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.correction-zh { display: block; font-family: var(--font-zh); font-size: 0.82rem; color: var(--text-light); margin-top: 0.25rem; font-weight: 400; }
@media (max-width: 560px) { .correction-item { grid-template-columns: 1fr; gap: 0.4rem; padding: 0.9rem 1rem; } .correction-arrow { transform: rotate(90deg); justify-self: start; } }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--divider); padding: 1.1rem 0; }
.faq-item h3 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; color: var(--text-primary); margin: 0 0 0.4rem; }
.faq-item p { margin-bottom: 0; }

/* ---- Spoke navigation cards ---- */
.spoke-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin: 1.75rem 0 0.5rem; }
.spoke-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.spoke-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-bright); }
.spoke-card .spoke-eyebrow { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dk); font-weight: 700; }
.spoke-card h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--text-primary); margin: 0.4rem 0 0.5rem; }
.spoke-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.spoke-card .spoke-go { display: inline-block; margin-top: 0.8rem; color: var(--gold-dk); font-weight: 600; font-size: 0.85rem; }

/* ---- CTA panel ---- */
.cta-panel { background: var(--bg-dark); color: var(--white); padding: 3rem clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-lg); text-align: center; margin: 3rem 0 1rem; }
.cta-panel h2 { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.5vw, 2.1rem); color: var(--white); margin-bottom: 0.5rem; }
.cta-panel .h-zh { color: var(--gold-lt); margin-bottom: 1rem; }
.cta-panel p { color: rgba(255,255,255,0.78); max-width: 620px; margin: 0 auto 1.5rem; }
.cta-panel .zh { color: rgba(255,255,255,0.6); margin-top: 0.4rem; }
.cta-panel .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--bg-dark); }
.cta-panel .btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); }

/* ---- Footer ---- */
footer.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 3rem 0 2rem; font-size: 0.85rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-grid h3 { color: var(--gold-lt); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.75rem; font-weight: 600; font-family: var(--font-sans); }
.footer-grid a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-grid a:hover { color: var(--gold-lt); }
.footer-grid ul li { margin-bottom: 0.45rem; }
.footer-grid .zh { color: rgba(255,255,255,0.55); }
.footer-langs { display: flex; gap: 0.75rem; margin-top: 0.4rem; }
.footer-langs a { border-bottom: 1px solid rgba(212,180,131,0.4); padding-bottom: 1px; }
.disclaimer { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; font-size: 0.74rem; color: rgba(255,255,255,0.66); line-height: 1.7; }
.disclaimer .zh { color: rgba(255,255,255,0.62); margin-top: 0.6rem; font-size: 0.76rem; }
.footer-fineprint { margin-top: 1.5rem; font-size: 0.72rem; color: rgba(255,255,255,0.6); text-align: center; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---- Lightbox ---- */
.img-row img, .lightbox-trigger { cursor: zoom-in; transition: transform var(--transition); }
.img-row figure:hover img { transform: scale(1.02); }
#lightbox-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(15, 12, 8, 0.92); display: none; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); cursor: zoom-out; opacity: 0; transition: opacity 0.25s ease; }
#lightbox-overlay.is-open { display: flex; opacity: 1; }
#lightbox-overlay img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,0.5); animation: lightboxZoom 0.3s ease; }
@keyframes lightboxZoom { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#lightbox-caption { position: absolute; bottom: clamp(1rem, 3vh, 2rem); left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.85); font-size: 0.85rem; font-style: italic; text-align: center; max-width: 80%; padding: 0.5rem 1rem; background: rgba(0,0,0,0.4); border-radius: var(--radius-sm); }
#lightbox-close { position: absolute; top: clamp(1rem, 2.5vh, 2rem); right: clamp(1rem, 2.5vw, 2rem); width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.4); background: rgba(0,0,0,0.3); color: var(--white); border-radius: 50%; font-size: 1.4rem; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); }
#lightbox-close:hover { background: var(--gold); color: var(--bg-dark); border-color: var(--gold); }

/* ---- Motion / a11y ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
