/* JandS Footwear — warm design system (ui-ux-pro-max: Feature-Rich Showcase + Trust, Soft UI, spacious; IBM Plex Sans "Financial Trust" type) */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/plex-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/plex-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/plex-vietnamese.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

:root {
  /* Navy palette taken from the company PDF: paper, navy ink, steel blue, terracotta */
  --bg: #F7F5EF;
  --surface: #FFFFFF;
  --sand: #E8EEF2;         /* pale steel tint for alternating sections */
  --sand-deep: #D5E0E8;
  --steel: #90ACBF;        /* PDF panel blue — navy text only on top (6.2:1) */
  --ink: #24353D;          /* navy — 12:1 on bg */
  --ink-soft: #4E5F68;     /* 6.5:1 on bg */
  --line: #D6DDE1;
  --accent: #AC5A3D;       /* PDF terracotta — 4.8:1 on bg */
  --accent-hover: #8E4630;
  --brass: #E9B9A3;        /* light terracotta, on navy only — 7.4:1 */
  --dark: #24353D;
  --dark-2: #2F4550;
  --on-dark: #F3F1EC;
  --on-dark-soft: #C5D2DA;

  --font-head: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 3px;
  --radius-sm: 3px;
  --shadow: 0 1px 2px rgba(36, 53, 61, .06), 0 8px 24px rgba(36, 53, 61, .07);
  --shadow-lg: 0 2px 4px rgba(36, 53, 61, .06), 0 18px 40px rgba(36, 53, 61, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .hero :focus-visible { outline-color: var(--brass); }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.eyebrow-light { color: var(--brass); }

/* Buttons — 48px min touch target */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.6rem; border-radius: 3px; letter-spacing: .06em;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid var(--accent); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(243, 241, 236, .7); color: var(--on-dark); }
.btn-ghost:hover { background: rgba(243, 241, 236, .12); border-color: var(--on-dark); color: var(--on-dark); }
.btn-sm { min-height: 44px; padding: 0 1.15rem; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 239, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(36, 53, 61, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: var(--brass); font: 700 1.3rem/1 var(--font-head); }
.brand-text { font: 700 1.2rem/1 var(--font-head); letter-spacing: -.01em; }
.brand-text span { color: var(--ink-soft); font-weight: 500; }
.brand:hover { color: var(--ink); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; border-radius: 3px; transition: background-color .2s var(--ease); }
.nav a:not(.btn):hover { background: var(--sand); color: var(--ink); }
.nav li:last-child { margin-left: .5rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav ul {
    position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .5rem var(--gutter) 1rem;
    display: none;
  }
  .nav ul.open { display: flex; }
  .nav a:not(.btn) { border-radius: var(--radius-sm); }
  .nav li:last-child { margin: .5rem 0 0; }
  .nav .btn { width: 100%; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; background: var(--dark); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 53, 61, .25) 0%, rgba(36, 53, 61, .55) 45%, rgba(18, 30, 36, .92) 100%); }
.hero-content { position: relative; padding-top: 8rem; padding-bottom: clamp(3rem, 8vw, 6rem); }
.hero h1 { max-width: 16ch; color: #fff; }
.hero .eyebrow { text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--on-dark); max-width: 56ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* Stats */
.stats { background: var(--dark); color: var(--on-dark); border-top: 1px solid rgba(144, 172, 191, .25); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2rem 1.25rem; border-left: 1px solid rgba(243, 241, 236, .12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { display: block; font: 600 clamp(1.9rem, 3.2vw, 2.6rem)/1.1 var(--font-head); letter-spacing: -.02em; color: var(--brass); font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: .35rem; font-size: .95rem; color: var(--on-dark-soft); }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.5rem 1rem; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(243, 241, 236, .12); }
}

/* Sections */
.section { padding: var(--section) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark p { color: var(--on-dark-soft); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.section-intro { font-size: 1.15rem; color: var(--ink-soft); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card p { color: var(--ink-soft); margin: 0; }
.icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sand); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.25rem; }
@media (max-width: 960px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards-3 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---- Traditional Chinese edition (v3) ---- */
:root {
  --font-head: "IBM Plex Sans", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", system-ui, sans-serif;
}
body { line-height: 1.8; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: .03em; line-height: 1.3; }
:lang(zh) .eyebrow { letter-spacing: .12em; }
.accent { color: var(--accent); }
.hero h1 { max-width: none; }
.hero h1 .accent { color: var(--brass); }
.brand-text small { display: block; margin-top: .3rem; font: 600 .62rem/1 var(--font-body); letter-spacing: .18em; color: var(--ink-soft); }
.nav a:not(.btn) { padding: 0 .7rem; }

.section-tight { padding: clamp(48px, 7vw, 88px) 0; }
.head-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1rem clamp(2rem, 6vw, 5rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head-row h2 { margin: 0; }
.head-row .section-intro { margin: 0; }
.section-dark .section-intro { color: var(--on-dark-soft); }
@media (max-width: 860px) { .head-row { grid-template-columns: 1fr; } }

/* Overview points */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.point { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.point .idx { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--accent); margin-bottom: .75rem; }
.point h3 { font-size: 1.35rem; }
.point p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .points { grid-template-columns: 1fr; } }

/* Floor plans */
.plan { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 2.5vw, 1.75rem); box-shadow: var(--shadow); }
.plan a { display: block; border-radius: var(--radius-sm); }
.plan img { width: 100%; height: auto; margin: 0 auto; transition: transform .3s var(--ease); }

.plan figcaption { margin-top: .9rem; font-size: .9rem; color: var(--ink-soft); }
.plan h3 { font-size: 1.45rem; margin-bottom: 1rem; }
.plan .eyebrow { margin-bottom: .5rem; }
.plan-wide img { max-width: 1000px; }
.plan-pair { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1.5rem; margin-top: 1.5rem; }
@media (max-width: 860px) { .plan-pair { grid-template-columns: 1fr; } }

/* Photo chapters */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); }
.shot { margin: 0; }
.shot img, .pair > img, .trio img, .duo img, .dev-grid img { width: 100%; object-fit: cover; border-radius: var(--radius); background: var(--sand-deep); }
.pair .shot img { aspect-ratio: 16 / 9; }
.pair-43 > img { aspect-ratio: 4 / 3; }
.shot figcaption { padding-top: 1rem; }
.shot figcaption h3 { font-size: 1.3rem; margin: 0 0 .25rem; }
.shot figcaption p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.chapter-note { margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink-soft); max-width: none; }
.trio { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.trio img { height: 100%; }
.trio .trio-main { grid-row: span 2; aspect-ratio: 4 / 3; }
.duo { display: grid; grid-template-columns: 1fr 2.6fr; gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
.duo img { height: 100%; }
.duo img:last-child { aspect-ratio: 4 / 3; }
@media (max-width: 700px) {
  .pair, .trio, .duo { grid-template-columns: 1fr; grid-template-rows: none; }
  .trio .trio-main { grid-row: auto; }
  .trio img, .duo img { aspect-ratio: 4 / 3; height: auto; }
}

/* Development */
.dev-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); }
.dev-grid img { height: clamp(260px, 30vw, 400px); }
.section-dark .shot h3 { color: var(--on-dark); }
.x { color: var(--brass); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(243, 241, 236, .18); }
.facts div { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; }
.facts div:last-child { justify-content: flex-end; }
.facts dt { color: var(--on-dark-soft); font-size: .95rem; }
.facts dd { margin: 0; color: var(--brass); font-weight: 700; }
@media (max-width: 700px) {
  .dev-grid, .facts { grid-template-columns: 1fr; }
  .dev-grid img { height: auto; aspect-ratio: 4 / 3; }
  .facts div, .facts div:last-child { justify-content: space-between; }
}

/* Audits */
.rows { margin: 0; border-bottom: 1px solid var(--line); }
.rows div { display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem 2rem; padding: clamp(1.25rem, 2.5vw, 1.75rem) 0; border-top: 1px solid var(--line); align-items: baseline; }
.rows dt { font: 600 clamp(1.25rem, 2.2vw, 1.6rem)/1.3 var(--font-head); letter-spacing: .03em; }
.rows dd { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.rows + .chapter-note { border-top: 0; }
@media (max-width: 700px) { .rows div { grid-template-columns: 1fr; } }

/* Location */
#location h2 { margin-bottom: clamp(2rem, 4vw, 3rem); }
.loc-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.mini-title { font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); margin: 0 0 .75rem; }
.kv { margin: 0 0 2rem; display: grid; grid-template-columns: repeat(3, auto); gap: 1rem; justify-content: start; }
.kv div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; }
.kv dt { font-size: .85rem; color: var(--ink-soft); }
.kv dd { margin: .15rem 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.conn { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.conn th, .conn td { padding: .75rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.conn tr:last-child th, .conn tr:last-child td { border-bottom: 0; }
.conn th { font-weight: 600; }
.conn th span { display: block; font-size: .8rem; font-weight: 400; color: var(--ink-soft); }
.conn td { text-align: right; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.map { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.map img { width: 100%; }
.map figcaption { margin-top: .75rem; font-size: .9rem; color: var(--ink-soft); text-align: center; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .kv { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact { padding-bottom: 0; background: var(--steel); }
.contact .section-intro, .contact .small, .contact .eyebrow { color: var(--ink); }
.contact .mail:hover { color: #6E2F1C; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-bottom: clamp(3rem, 6vw, 5rem); }
.contact h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.mail { display: inline-block; margin-top: 1rem; font: 600 clamp(1.3rem, 3vw, 2rem)/1.3 var(--font-head); color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; word-break: break-all; }
.mail:hover { color: var(--accent); }
.contact .small { color: var(--ink-soft); }
.contact-card { background: var(--surface); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-lg); }
.contact-card .eyebrow { color: var(--ink-soft); }
address { font-style: normal; font-size: 1.05rem; line-height: 1.8; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.contact-card h3 { font-size: 1.5rem; }
.contact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; color: var(--ink-soft); }
.contact-card li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: .7rem; vertical-align: middle; }
.contact-banner { width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; object-position: center 60%; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.small { font-size: .9rem !important; margin-top: 1.25rem; }

/* Footer */
.site-footer { background: #1B2A31; color: var(--on-dark-soft); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.site-footer p { margin: 0; }
.site-footer strong { color: var(--on-dark); }

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

/* ---- v5: PDF navy palette, logo, lightbox, video slideshow ---- */
.stats { background: var(--steel); color: var(--ink); border-top: 0; }
.stat { border-left-color: rgba(36, 53, 61, .2); }
.stat-num { color: var(--ink); font-weight: 500; }
.stat-label { color: var(--ink); }
@media (max-width: 860px) { .stat:nth-child(n+3) { border-top-color: rgba(36, 53, 61, .2); } }
.brand-logo { width: auto; height: 40px; }
.brand-text { font: 500 1rem/1 var(--font-head); letter-spacing: .2em; color: var(--ink); }
.brand-text small { letter-spacing: .2em; font-weight: 500; }
.footer-logo { height: 30px; width: auto; background: var(--bg); border-radius: 6px; padding: 4px 6px; margin-bottom: .5rem; }

/* Click-to-zoom (in place) */
.zoomable { cursor: zoom-in; }
.zoomable:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.zoom-hidden { visibility: hidden; }
.zoom-shade { position: fixed; inset: 0; z-index: 90; background: rgba(18, 30, 36, .82); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.zooming .zoom-shade { opacity: 1; pointer-events: auto; cursor: zoom-out; }
.zoom-img { position: fixed; z-index: 91; margin: 0; max-width: none; object-fit: cover; background: #fff; cursor: zoom-out; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); transition: top .32s var(--ease), left .32s var(--ease), width .32s var(--ease), height .32s var(--ease), border-radius .32s var(--ease); }

/* Video slideshow */
.vs-stage { position: relative; background: #0E171C; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.vs-stage video { width: 100%; height: 100%; object-fit: contain; background: #0E171C; }
.vs-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.vs-title { margin: 0; font-weight: 600; color: var(--on-dark); }
.vs-title span { color: var(--brass); margin-right: .6rem; font-variant-numeric: tabular-nums; }
.vs-nav { display: flex; gap: .5rem; flex-shrink: 0; }
.vs-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243, 241, 236, .35); background: transparent; color: var(--on-dark); cursor: pointer; transition: background-color .2s var(--ease); }
.vs-btn:hover { background: rgba(243, 241, 236, .12); }
.vs-thumbs { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: .6rem; }
.vs-thumb { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 3px; overflow: hidden; background: #0E171C; cursor: pointer; opacity: .6; transition: opacity .2s var(--ease), border-color .2s var(--ease); }
.vs-thumb:hover { opacity: .9; }
.vs-thumb[aria-current="true"] { opacity: 1; border-color: var(--brass); }
.vs-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 700px) { .vs-thumbs { grid-template-columns: repeat(4, 1fr); } .vs-stage { aspect-ratio: 4 / 5; } }
.vs-btn:focus-visible, .vs-thumb:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.vs-btn { border-radius: 3px; }
.brand-logo { border-radius: 0; }
.zoom-img { border-radius: 0 !important; }
/* Menu: never wrap, a little more air */
.nav a, .nav .btn { white-space: nowrap; }
.nav ul { gap: .35rem; }
.nav a:not(.btn) { padding: 0 .8rem; font-weight: 600; letter-spacing: .04em; }
.nav li:last-child { margin-left: 1rem; }
.brand-text { white-space: nowrap; }
@media (max-width: 1020px) { .nav li:last-child { margin-left: 0; } }
/* Compact menu whenever the links don't fit (e.g. browser-translated text) */
.brand { flex-shrink: 0; }
.site-header.compact .nav-toggle { display: inline-flex; }
.site-header.compact .nav ul {
  position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .5rem var(--gutter) 1rem;
  display: none;
}
.site-header.compact .nav ul.open { display: flex; }
.site-header.compact .nav li:last-child { margin: .5rem 0 0; }
.site-header.compact .nav .btn { width: 100%; }

/* v9: site area figures */
.stats-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:first-child { grid-column: 1 / -1; }
  .stat:nth-child(odd) { border-left: 1px solid rgba(36, 53, 61, .2); padding-left: 1rem; }
  .stat:nth-child(even), .stat:first-child { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+2) { border-top: 1px solid rgba(36, 53, 61, .2); }
}
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0 0; }
.areas div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; }
.areas dt { font-size: .9rem; color: var(--ink-soft); }
.areas dd { margin: .2rem 0 0; font: 600 1.35rem/1.3 var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.areas span { display: block; font-size: .85rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.areas-note { margin: .75rem 0 0; font-size: .85rem; color: var(--ink-soft); max-width: none; }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr 1fr; } }
