@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-latin-wght-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  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";
  src: url("/assets/fonts/IBMPlexSans-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  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";
  src: url("/assets/fonts/IBMPlexSans-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 100 700;
  font-style: italic;
  font-display: swap;
  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";
  src: url("/assets/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url("/assets/fonts/Fraunces-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #FDF9F0;
  --navy: #080F34;
  --blue: #0F4AE1;
  --blue-hover: #0C3FC4;
  --sky: #1DA1F2;
  --ink: #1A1E33;
  --muted: #4A5060;
  --line: rgba(8, 15, 52, 0.14);
  --radius-btn: 4px;
  --radius-input: 4px;
  --radius-card: 6px;
  --radius-image: 10px;
  --header-h: 72px;
  --tech-chapters-h: 64px;
  --pad: 40px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

.page {
  min-height: 100svh;
  background: var(--cream);
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
  padding: 0 var(--pad);
  position: relative;
  z-index: 20;
  background: var(--cream);
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 152px;
  height: auto;
}

.desktop-nav {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.desktop-nav a:hover { color: var(--blue); }

.site-header .btn-compact { display: none; margin-left: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 550;
  font-size: 14px;
  letter-spacing: -0.01em;
  line-height: 1;
  border-radius: var(--radius-btn);
  padding: 11px 18px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: #1a2744;
}

.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

.btn-compact {
  padding: 9px 16px;
  font-size: 13px;
  border-radius: var(--radius-btn);
}

.menu-toggle {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

.mobile-nav {
  background: var(--cream);
  padding: 8px var(--pad) 28px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 16px;
  width: 100%;
  padding: 14px 18px;
  border-bottom: 0;
}

/* ---------- Hero (mobile first) ---------- */
.hero {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 0;
}

.hero-intro h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(2.15rem, 8.2vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 16px;
  font-variation-settings: "SOFT" 28, "WONK" 0;
}

.h1-line { display: inline; }

.lede {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 38em;
  font-weight: 430;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-actions .btn {
  width: 100%;
  padding: 15px 18px;
  border-radius: var(--radius-btn);
  font-size: 15px;
}

.hero-visual {
  margin: 0 0 8px;
  position: relative;
  order: 0;
}

.hero-stage {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}

.hero-visual img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.hero-city-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  pointer-events: none;
  border-radius: inherit;
}

.hero-visual.is-live .hero-city-canvas {
  display: block;
}

.hero-visual.is-live .hero-stage img {
  opacity: 0;
}

.hero-visual figcaption {
  margin: 8px 2px 16px;
  font-size: 11px;
  letter-spacing: 0.01em;
  color: #8A8E9A;
}

.hero-aside {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 1.15fr;
  gap: 16px;
  align-items: start;
  margin: 4px 0 8px;
}

.laptop-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px 10px;
  background: #FFFdf8;
  overflow: visible;
}

.laptop { width: 100%; }

.laptop-lid {
  background: #1c1d20;
  border-radius: 7px 7px 0 0;
  padding: 3px 3px 0;
  overflow: hidden;
}

.laptop-lid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 3px 3px 0 0;
  background: #dce6ea;
}

.laptop-base {
  height: 9px;
  width: 118%;
  margin: 0 0 2px -9%;
  background: linear-gradient(#f0f1f3, #c5c9cf);
  border-radius: 0 0 10px 10px;
  position: relative;
  box-shadow: 0 1px 0 #b0b4ba;
}

.laptop-base::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 2px;
  background: rgba(255,255,255,0.45);
}

.laptop-base::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1px;
  width: 22%;
  height: 3px;
  background: #9aa0a8;
  border-radius: 1px 1px 2px 2px;
}

.laptop-card figcaption {
  margin: 10px 2px 0;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--muted);
}

.team-teaser {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
}

.about-link {
  display: none;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 550;
  font-size: 13px;
}

.about-link:hover { text-decoration: underline; }

/* Mobile chapters (stacked) */
.chapters {
  padding: 12px 24px 8px;
}

.chapters ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chapters a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 15px;
  font-weight: 550;
  color: var(--navy);
}

.chapters .num {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 14px;
  min-width: 1.6em;
}

.chapters .is-active a { color: var(--navy); }

.cinematic-pin,
.cinematic-sticky {
  display: contents;
}

.cinematic-note { display: none; }

.chapter-end-wrap { margin: 0; }

.chapter-end {
  margin: 18px 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 36px 24px 0;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
}

.logo-footer img { width: 118px; }

.site-footer p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  :root { --pad: 40px; }

  .page-home {
    height: auto;
    max-height: none;
    overflow: visible;
    display: block;
  }

  .page-home .cinematic-pin {
    display: block;
    height: 200vh;
  }

  .page-home > .site-header {
    position: sticky;
    top: 0;
    z-index: 200;
  }
  .page-home .cinematic-sticky {
    display: grid;
    grid-template-rows: 1fr auto;
    grid-template-columns: 1fr;
    position: sticky;
    top: var(--header-h);
    height: calc(100svh - var(--header-h));
    max-height: calc(100svh - var(--header-h));
    overflow: hidden;
    background: var(--cream);
  }

  .site-header { padding: 0 40px 0 36px; }
  .logo img { width: 158px; }
  .desktop-nav { display: flex; gap: 16px; }
  .desktop-nav a { font-size: 13px; }
  .site-header .btn-compact { display: inline-flex; }
  .menu-toggle, .mobile-nav, .nav-backdrop { display: none !important; }

  .page-home .cinematic-sticky main {
    min-height: 0;
    position: relative;
    overflow: hidden;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(560px, 620px) 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "intro visual"
      "aside visual";
    height: 100%;
    padding: 0;
    position: relative;
    align-items: start;
  }

  .hero-intro {
    grid-area: intro;
    position: relative;
    z-index: 2;
    padding: 48px 20px 8px 48px;
  }

  .hero-intro h1 {
    font-size: 50px;
    line-height: 1.06;
    margin: 0 0 16px;
    max-width: 12.2em;
  }

  .page-home .h1-line {
    display: block;
    white-space: nowrap;
  }

  .lede {
    font-size: 15px;
    line-height: 1.5;
    max-width: 30em;
    margin: 0 0 22px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
  }

  .hero-actions .btn {
    width: auto;
    padding: 11px 18px;
    border-radius: var(--radius-btn);
    font-size: 14px;
  }

  .hero-aside {
    grid-area: aside;
    position: relative;
    z-index: 2;
    grid-template-columns: 176px 1fr;
    gap: 16px;
    max-width: 460px;
    align-items: center;
    padding: 12px 16px 16px 48px;
    margin: 0;
    align-self: end;
  }

  .laptop-card { padding: 10px 10px 8px; }

  .team-teaser {
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
  }

  .about-link {
    display: block;
    margin-top: 10px;
    font-size: 13px;
  }

  .hero-visual {
    grid-area: visual;
    position: relative;
    margin: 0;
    z-index: 1;
    height: 100%;
    min-height: 0;
  }

  .hero-stage {
    height: 100%;
    border-radius: 0;
  }

  .hero-visual img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 12% 46%;
  }

  .hero-visual::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 72px;
    background: linear-gradient(90deg, var(--cream) 0%, rgba(253,249,240,0) 100%);
    pointer-events: none;
    z-index: 1;
  }

  .hero-visual figcaption { display: none; }

  .chapter-end-wrap {
    flex: 0 1 400px;
    min-width: 300px;
    max-width: 42%;
    text-align: right;
    padding: 8px 0 8px 12px;
    align-self: center;
  }

  .cinematic-note {
    display: block;
    margin: 0 0 10px;
    font-size: 10.5px;
    letter-spacing: 0.01em;
    color: #8A8E9A;
    font-weight: 450;
  }

  .chapter-end {
    flex: none;
    padding: 0;
    white-space: normal;
  }

  .chapters {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 32px 0 36px;
    min-height: 78px;
    background: var(--cream);
  }

  .chapters ol {
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    gap: 0;
    min-width: 0;
  }

  .chapters li {
    flex: 1 1 0;
    position: relative;
    padding: 14px 16px 14px 0;
  }

  .chapters li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 36px;
    background: var(--line);
  }

  .chapters a {
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    font-weight: 550;
    padding-right: 16px;
  }

  .chapters .num {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy);
    min-width: 0;
  }

  .chapters .is-active .num,
  .chapters .is-active a { color: var(--blue); }

  .chapters .is-active a {
    box-shadow: inset 0 -2px 0 var(--blue);
    padding-bottom: 2px;
    align-self: flex-start;
    width: max-content;
  }

  .chapter-end {
    flex: 1 1 auto;
    margin: 0;
    align-self: center;
    text-align: right;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    padding: 10px 0 10px 12px;
    white-space: normal;
    text-wrap: pretty;
  }

  .chapter-end::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background: var(--navy);
    margin: 8px 0 0 auto;
  }

  .page-home .site-footer {
    display: flex;
    margin: 0 40px;
    padding: 28px 0 36px;
  }
}

@media (min-width: 1280px) {
  .hero { grid-template-columns: 600px 1fr; }
  .hero-intro { padding: 56px 16px 8px 48px; }
  .hero-intro h1 { font-size: 52px; }
  .desktop-nav { gap: 22px; }
  .desktop-nav a { font-size: 13.5px; }
}

@media (min-width: 1440px) {
  .hero-intro { padding-top: 64px; }
  .hero-intro h1 { font-size: 56px; }
}

/* Focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

body.nav-open { overflow: hidden; }

/* ============================================================
   CJK typography
   ============================================================ */
@font-face {
  font-family: "Noto Sans CJK HK";
  src: url("/assets/fonts/NotoSansCJKhk-Regular.woff2") format("woff2"),
       url("/assets/fonts/NotoSansCJKhk-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans CJK HK";
  src: url("/assets/fonts/NotoSansCJKhk-Bold.woff2") format("woff2"),
       url("/assets/fonts/NotoSansCJKhk-Bold.otf") format("opentype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif CJK HK";
  src: url("/assets/fonts/NotoSerifCJKhk-Bold.woff2") format("woff2"),
       url("/assets/fonts/NotoSerifCJKhk-Bold.otf") format("opentype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans CJK SC";
  src: url("/assets/fonts/NotoSansCJKsc-Regular.woff2") format("woff2"),
       url("/assets/fonts/NotoSansCJKsc-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans CJK SC";
  src: url("/assets/fonts/NotoSansCJKsc-Bold.woff2") format("woff2"),
       url("/assets/fonts/NotoSansCJKsc-Bold.otf") format("opentype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif CJK SC";
  src: url("/assets/fonts/NotoSerifCJKsc-Bold.woff2") format("woff2"),
       url("/assets/fonts/NotoSerifCJKsc-Bold.otf") format("opentype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

html[lang="zh-Hant"], html[lang="zh-Hant"] body {
  font-family: "Noto Sans CJK HK", "IBM Plex Sans", system-ui, sans-serif;
}
html[lang="zh-Hans"], html[lang="zh-Hans"] body {
  font-family: "Noto Sans CJK SC", "IBM Plex Sans", system-ui, sans-serif;
}
html[lang="zh-Hant"] h1,
html[lang="zh-Hant"] h2,
html[lang="zh-Hant"] .serif {
  font-family: "Noto Serif CJK HK", Fraunces, Georgia, serif;
  font-weight: 700;
  font-variation-settings: normal;
}
html[lang="zh-Hans"] h1,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] .serif {
  font-family: "Noto Serif CJK SC", Fraunces, Georgia, serif;
  font-weight: 700;
  font-variation-settings: normal;
}

/* ============================================================
   Shared: language switch, inner header/footer
   ============================================================ */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  flex: 0 0 auto;
}
.lang-switch a {
  color: var(--muted);
  padding: 2px 1px;
}
.lang-switch a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}
.lang-switch a:hover { color: var(--blue); }
.lang-switch .sep { color: var(--line); opacity: 0.9; }

.site-header .lang-switch {
  margin-left: 8px;
}

/* On desktop homepage, tuck the switch in before the CTA, quietly */
@media (min-width: 960px) {
  .site-header .lang-switch { margin-left: 4px; margin-right: 4px; }
}

.desktop-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--navy);
  padding-bottom: 2px;
}

/* Full footer (inner pages + mobile home) */
.site-footer-full {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin: 36px 24px 0;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
}
.site-footer-full .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  font-weight: 500;
}
.site-footer-full .footer-links a:hover { color: var(--blue); }
.site-footer-full .footer-meta {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}
.site-footer-full .tagline {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

@media (min-width: 960px) {
  .page-inner {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: visible;
    height: auto;
    max-height: none;
  }
  .page-inner main { overflow: visible; }
  .site-footer-full {
    margin: 0 40px;
    padding: 22px 0 32px;
    margin-top: auto;
  }
  .site-footer-full .tagline {
    width: 100%;
    text-align: center;
    font-size: 12px;
  }
}

/* ============================================================
   Inner pages
   ============================================================ */
.page-inner { background: var(--cream); }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
@media (min-width: 1280px) {
  .wrap { width: min(1180px, calc(100% - 80px)); }
}

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy);
  margin: 0 0 10px;
}

.inner-hero {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 8px;
  position: relative;
}
.inner-hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 28, "WONK" 0;
  font-size: clamp(2rem, 8vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 14px;
}
.inner-hero .lede {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 38em;
  font-weight: 430;
}
.inner-hero-visual {
  margin: 8px 0 8px;
  position: relative;
}
.inner-hero-visual img {
  width: 100%;
  border-radius: var(--radius-image);
  object-fit: cover;
  aspect-ratio: 16 / 10;
  display: block;
}
.inner-hero-visual figcaption,
.cine-caption {
  margin: 8px 2px 4px;
  font-size: 11px;
  color: #8A8E9A;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 4px 0 16px;
}
.hero-links a {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}
.hero-links a:hover { text-decoration: underline; }
.cue {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}

@media (min-width: 960px) {
  .inner-hero {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) 1.15fr;
    align-items: center;
    padding: 8px 0 0;
    min-height: 340px;
  }
  .inner-hero-copy {
    position: relative;
    z-index: 2;
    padding: 36px 24px 36px 48px;
  }
  .inner-hero h1 {
    font-size: clamp(2.25rem, 3.6vw, 3.05rem);
    line-height: 1.08;
    margin-bottom: 16px;
  }
  .inner-hero .lede {
    font-size: 15px;
    max-width: 34em;
  }
  .inner-hero-visual {
    margin: 0;
    height: 100%;
    min-height: 340px;
    align-self: stretch;
  }
  .inner-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border-radius: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: left center;
  }
  .inner-hero-visual.hero-corner img,
  .inner-hero-visual.hero-corner video {
    /* city-corner has a cropped rooftop LED at top-right; keep the bus and shopfronts in frame */
    object-position: 22% 78%;
  }
  .inner-hero-visual::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 90px;
    background: linear-gradient(90deg, var(--cream) 0%, rgba(253,249,240,0) 100%);
    pointer-events: none;
    z-index: 1;
  }
  .inner-hero-visual figcaption { display: none; }
}

/* Technology chapter bar */
.page-tech .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
}
.tech-chapters {
  position: sticky;
  top: var(--header-h);
  z-index: 25;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 8px 24px;
}
.tech-chapters ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 16px;
}
.tech-chapters a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
}
.tech-chapters .num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 12px;
  color: var(--blue);
  min-width: 1.6em;
}
.tech-chapters .is-active a {
  font-weight: 650;
  box-shadow: inset 0 -2px 0 var(--blue);
}
.tech-chapters a:hover { color: var(--blue); }

@media (min-width: 960px) {
  .tech-chapters {
    padding: 0 40px;
    min-height: var(--tech-chapters-h);
    display: flex;
    align-items: stretch;
  }
  .tech-chapters ol {
    display: flex;
    width: 100%;
    gap: 0;
    grid-template-columns: none;
  }
  .tech-chapters li {
    flex: 1 1 0;
    position: relative;
    display: flex;
  }
  .tech-chapters li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: var(--line);
  }
  .tech-chapters a {
    flex-direction: column;
    gap: 2px;
    padding: 12px 20px 12px 0;
    font-size: 15px;
    width: 100%;
  }
  .tech-chapters .num {
    font-size: 12px;
    color: var(--navy);
  }
  .tech-chapters .is-active .num,
  .tech-chapters .is-active a { color: var(--blue); }
  .tech-chapters .is-active a {
    box-shadow: inset 0 -2px 0 var(--blue);
  }
}

/* End-of-chapter turn */
.chapter-turn {
  display: grid;
  gap: 16px;
  margin: 8px 24px 0;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}
.chapter-prev {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  justify-self: start;
}
.chapter-prev .dir { margin-right: 6px; }
.chapter-prev:hover { color: var(--blue); }
.chapter-prev.is-empty { display: none; }
.chapter-next {
  display: block;
  padding: 22px 0 8px;
  color: var(--navy);
  border-top: 0;
}
.chapter-next .dir {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 6px;
}
.chapter-next .headline {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-weight: 550;
  font-size: clamp(1.45rem, 4vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy);
}
html[lang="zh-Hant"] .chapter-next .headline { font-family: "Noto Serif CJK HK", serif; font-weight: 700; }
html[lang="zh-Hans"] .chapter-next .headline { font-family: "Noto Serif CJK SC", serif; font-weight: 700; }
.chapter-next .headline .num {
  font-variant-numeric: tabular-nums;
  color: var(--blue);
  margin-right: 8px;
}
.chapter-next .teaser {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 36em;
}
.chapter-next:hover .headline { color: var(--blue); }
@media (min-width: 960px) {
  .chapter-turn {
    grid-template-columns: minmax(140px, 220px) 1fr;
    align-items: end;
    gap: 24px 40px;
    margin: 8px 48px 0;
    padding: 36px 0 12px;
  }
  .chapter-prev.is-empty { display: block; visibility: hidden; }
  .chapter-next { padding: 0; }
}

/* Sections */
.section {
  padding: 28px 24px 8px;
}
.section h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 20, "WONK" 0;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 20px;
}
.section h2.center, .center { text-align: center; }

/* Format / media cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 380px) {
  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .card-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
  .card-grid.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .section { padding: 40px 48px 16px; }
}

.media-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  color: inherit;
}
a.media-card:hover h3 { color: var(--blue); }
.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #ece8df;
  border-radius: var(--radius-image);
}
.media-card .card-body { padding: 12px 0 4px; }
.media-card h3 {
  font-family: "IBM Plex Sans", "Noto Sans CJK HK", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--navy);
}
html[lang="zh-Hant"] .media-card h3 { font-family: "Noto Sans CJK HK", sans-serif; font-weight: 700; }
html[lang="zh-Hans"] .media-card h3 { font-family: "Noto Sans CJK SC", sans-serif; font-weight: 700; }
.media-card p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 500;
  padding: 0 8px 0 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  line-height: 1.3;
}
.chip + .chip { border-left: 1px solid var(--line); padding-left: 8px; }

/* Streets-style: image left, copy right */
.split-card {
  display: grid;
  grid-template-columns: 1fr;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.splitter { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .split-card { grid-template-columns: 0.9fr 1.1fr; }
  .splitter.cols-2 { grid-template-columns: 1fr 1fr; }
  .split-card img { aspect-ratio: 5 / 6; height: 100%; object-fit: cover; border-radius: var(--radius-image); }
  .split-card .card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; justify-content: center; }
}

/* Numbered locker steps */
.num-label {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 6px;
}

/* Filters */
.filters { margin: 0 0 8px; }
.filters .label {
  font-size: 14px;
  font-weight: 550;
  margin: 0 0 10px;
  color: var(--navy);
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.filter-pill {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0 6px;
  border-radius: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.filter-pill[aria-pressed="true"],
.filter-pill.is-active {
  background: transparent;
  border-bottom-color: var(--blue);
  color: var(--blue);
  font-weight: 650;
}
.filter-note, .disclaimer, .muted {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.filter-note { margin: 10px 0 18px; }

/* Path / steps */
.path {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 8px 0 12px;
}
.path-step .num {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 6px;
}
.path-step h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--navy);
}
.path-step p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
}
@media (min-width: 960px) {
  .path.cols-6 {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .path-step { position: relative; z-index: 1; }
}

.steps-2col {
  display: grid;
  gap: 18px 32px;
}
@media (min-width: 800px) {
  .steps-2col { grid-template-columns: 1fr 1fr; }
}
.step-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px 10px;
  align-items: start;
}
.step-row .num { color: var(--blue); font-weight: 600; font-size: 18px; }
.step-row h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--navy); }
.step-row p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink); }

/* Plain cards (how it works, capabilities, agencies) */
.plain-grid { display: grid; gap: 16px; }
@media (min-width: 800px) {
  .plain-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .plain-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
  .plain-grid.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.plain-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--line);
}
.plain-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}
.plain-card .num {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.plain-card p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.plain-card.accent h3 { color: var(--blue); }

/* CTA band */
.cta-band {
  text-align: center;
  padding: 28px 24px 40px;
}
.cta-band .cta-line {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 16px;
}
html[lang="zh-Hant"] .cta-band .cta-line { font-family: "Noto Serif CJK HK", serif; font-weight: 700; }
html[lang="zh-Hans"] .cta-band .cta-line { font-family: "Noto Serif CJK SC", serif; font-weight: 700; }
.cta-band .disclaimer { margin: 0 0 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.navy-band {
  background: var(--navy);
  color: #fff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.navy-band p {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  letter-spacing: -0.03em;
  margin: 0;
  color: #fff;
}
html[lang="zh-Hant"] .navy-band p { font-family: "Noto Serif CJK HK", serif; font-weight: 700; }
html[lang="zh-Hans"] .navy-band p { font-family: "Noto Serif CJK SC", serif; font-weight: 700; }
.navy-band .btn-primary { background: var(--blue); }
.navy-band .btn-secondary { color: #fff; border-color: #fff; }
.navy-band .btn-secondary:hover { border-color: #9ec8ff; color: #9ec8ff; }
@media (min-width: 800px) {
  .navy-band {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    padding: 28px 48px;
  }
}

/* Filmstrip */
.filmstrip { margin: 8px 0 0; }
.filmstrip .caption {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}
.film-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 700px) {
  .film-row { grid-template-columns: 1fr 1fr 1fr; }
}
.film-row figure { margin: 0; }
.film-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-image);
}
.film-row figcaption {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--muted);
}

/* Mini plan/mix/schedule window */
.ui-window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 10px 12px 12px;
  max-width: 420px;
}
.ui-window .ui-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.ui-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.ui-cols h4 {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 600;
}
.ui-cols img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 6px;
}

/* AI planning UI */
.ai-ui {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 12px 14px 14px;
}
.ai-ui-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.ai-ui-bar .pill {
  font-size: 11px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}
.ai-ui-grid {
  display: grid;
  gap: 12px;
}
@media (min-width: 860px) {
  .ai-ui-grid { grid-template-columns: 1.1fr 1.15fr 0.95fr; }
}
.ai-col {
  background: #FBF8F1;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 12px;
}
.ai-col h3 { margin: 0 0 10px; font-size: 13.5px; font-weight: 600; }
.ai-col .map-tile {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: #dce6ea;
}
.mix-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0;
  margin-bottom: 0;
  font-size: 12.5px;
}
.mix-row .sample {
  font-size: 11px;
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap;
}
.signal-row { margin-top: 10px; font-size: 12px; }
.signal-row .chips { margin-top: 6px; }
.ai-ui-foot {
  margin: 10px 2px 0;
  font-size: 11.5px;
  color: var(--muted);
}

/* Bullets */
.bullets { list-style: none; margin: 0; padding: 0; }
.bullets li {
  position: relative;
  padding: 0 0 10px 22px;
  font-size: 14px;
  line-height: 1.5;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* About */
.pill-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}
@media (min-width: 720px) {
  .pill-row { grid-template-columns: repeat(4, 1fr); }
}
.soft-pill {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-left: 2px solid var(--blue);
  text-align: left;
  padding: 4px 0 4px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.paths {
  display: grid;
  gap: 28px;
  padding-top: 8px;
}
@media (min-width: 800px) {
  .paths { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.paths h2 { margin-bottom: 8px; }
.paths p { margin: 0 0 16px; font-size: 14px; line-height: 1.5; }

/* Form */
.contact-form {
  display: grid;
  gap: 12px;
  max-width: 920px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  background: #fff;
  color: var(--navy);
  width: 100%;
}
.contact-form textarea { min-height: 88px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.form-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 4px 0 0;
}
.form-thanks {
  margin: 8px 0 0;
  padding: 12px 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
  font-size: 14px;
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

/* Brands mix + brief steps */
.mix-row-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
@media (min-width: 800px) {
  .mix-row-visual { grid-template-columns: repeat(4, 1fr); }
}
.mix-item { text-align: center; }
.mix-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  background: #ece8df;
}
.mix-item p {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 550;
  color: var(--navy);
}
.brief-steps {
  display: grid;
  gap: 14px;
  margin: 8px 0 10px;
}
@media (min-width: 800px) {
  .brief-steps { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
}
.brief-steps div { font-size: 14px; line-height: 1.45; }
.brief-steps strong { color: var(--blue); margin-right: 6px; }

/* Campaign ideas */
.idea-list { display: grid; gap: 0; }
.idea {
  display: grid;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.idea:last-child { border-bottom: 1px solid var(--line); }
.idea img {
  width: 100%;
  border-radius: var(--radius-image);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.idea h2 { margin-bottom: 8px; }
@media (min-width: 800px) {
  .idea {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 32px;
    padding: 24px 0;
  }
}
.badge {
  display: inline;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--navy);
  border-radius: 0;
  padding: 0;
  margin: 0 0 16px;
}

/* Software modules */
.module-grid {
  display: grid;
  gap: 22px 16px;
}
@media (min-width: 800px) {
  .module-grid { grid-template-columns: 1fr 1fr; }
}
.module figure { margin: 0; }
.module img {
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: #fff;
  aspect-ratio: 16 / 7.2;
  object-fit: cover;
  object-position: top left;
}
.module-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}
.module-meta .cue { margin: 0; font-weight: 500; font-size: 11px; }

/* Platform walkthrough */
.platform-stage {
  margin: 0 0 28px;
}
.platform-stage img {
  width: 100%;
  border-radius: var(--radius-image);
  border: 1px solid var(--line);
  background: #fff;
}
.platform-stage h2 { margin: 12px 0 6px; font-size: 1.25rem; }
.platform-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.platform-nav a {
  font-size: 13px;
  font-weight: 500;
  padding: 4px 0 6px;
  border-radius: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  margin-right: 8px;
}
.platform-nav a:hover { border-bottom-color: var(--blue); color: var(--blue); }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}
.mb-0 { margin-bottom: 0; }
.section-lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 50em;
}

.mobile-nav .lang-switch {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.mobile-nav .lang-switch a { padding: 4px 2px; }

@media (max-width: 959px) {
  .site-header .lang-switch { display: none; }
  .about-link { display: block; }
}


/* Platform stills: keep a readable height */
.platform-stage img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  max-height: 520px;
}

/* Footer tagline always on its own row */
.site-footer-full {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer-full .footer-meta {
  flex: 1 1 100%;
  justify-content: center;
  text-align: center;
}
.site-footer-full .footer-meta .lang-switch {
  justify-content: center;
  margin-bottom: 4px;
}

.site-footer-full {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.site-footer-full .footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.site-footer-full .tagline {
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}
.site-footer-full .footer-lang {
  display: flex;
  justify-content: center;
}
@media (min-width: 960px) {
  .site-footer-full .tagline { font-size: 12px; text-align: center; width: 100%; }
}


/* Craft utilities added in the production pass */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  padding: 8px 0;
  border-radius: 0;
  background: none;
  border: 0;
}
.text-link:hover { text-decoration: underline; }
.hero-actions .text-link {
  width: auto;
  align-self: flex-start;
  padding: 12px 2px;
  font-size: 15px;
}
@media (min-width: 960px) {
  .hero-actions .text-link { padding: 11px 2px; font-size: 14px; }
  .hero-actions .btn { border-radius: var(--radius-btn); }
}

.navy-band .text-link { color: #fff; }
.navy-band .text-link:hover { color: #9ec8ff; }

.btn-block { width: 100%; padding: 14px 18px; }
.tight-top { margin-top: 18px; }
.filmstrip { margin-top: 28px; }

.rule-list {
  display: grid;
  gap: 0 40px;
}
@media (min-width: 800px) {
  .rule-list.cols-2 { grid-template-columns: 1fr 1fr; }
  .rule-list.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.rule-item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.rule-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
  color: var(--navy);
}
.rule-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

@media (min-width: 960px) {
  .card-grid.cols-feature {
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 24px 28px;
    align-items: start;
  }
  .card-grid.cols-feature .media-card:first-child img {
    aspect-ratio: 16 / 11;
  }
}

.ideas-h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 550;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 28, "WONK" 0;
  font-size: clamp(2rem, 6vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 8px 0 14px;
  color: var(--navy);
}
html[lang="zh-Hant"] .ideas-h1 { font-family: "Noto Serif CJK HK", serif; font-weight: 700; }
html[lang="zh-Hans"] .ideas-h1 { font-family: "Noto Serif CJK SC", serif; font-weight: 700; }
.ideas-lede { max-width: 46em; }

.mobile-nav .mobile-group {
  margin: 12px 0 0;
  padding: 12px 0 4px;
  border-bottom: 0;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}
.mobile-nav .mobile-sub {
  padding-left: 12px;
  font-size: 15px;
}
.mobile-nav a[aria-current="page"] { color: var(--blue); font-weight: 650; }

.page-tech { scroll-padding-top: calc(var(--header-h) + var(--tech-chapters-h)); }
.tech-section { scroll-margin-top: calc(var(--header-h) + var(--tech-chapters-h) + 8px); }
.tech-section + .tech-section { border-top: 1px solid var(--line); }
.tech-section .chapter-turn { margin-left: 0; margin-right: 0; padding-left: 24px; padding-right: 24px; }
@media (min-width: 960px) {
  .tech-section .chapter-turn { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 959px) {
  :root { --tech-chapters-h: 108px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Laptop card: keep a modest radius distinct from buttons */
.laptop-card { border-radius: var(--radius-card); }

/* Static accessibility / WebGL fallback does not reserve an inert animation runway. */
@media (min-width: 960px) {
  html:not(.city-live) .page-home .cinematic-pin { height: calc(100svh - var(--header-h)); }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .cinematic-pin { height: auto; }
}

/* Mobile homepage: large, obvious moving 3D, compact copy above it. */
@media (max-width: 959px) {
  .page-home .hero {
    padding: 0 0 8px;
  }
  .page-home .hero-intro {
    padding: 2px 20px 10px;
  }
  .page-home .hero-intro h1 {
    font-size: clamp(1.55rem, 7vw, 2.05rem);
    line-height: 1.1;
    margin: 0 0 8px;
  }
  .page-home .lede {
    font-size: 13px;
    line-height: 1.45;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .page-home .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 0;
  }
  .page-home .hero-actions .btn {
    width: auto;
    padding: 10px 14px;
    font-size: 13.5px;
  }
  .page-home .hero-actions .text-link {
    padding: 8px 2px;
    font-size: 14px;
  }
  .page-home .hero-visual {
    margin: 10px 0 0;
  }
  .page-home .hero-stage {
    width: 100%;
    border-radius: 0;
    height: clamp(400px, calc(100svh - 260px), 680px);
    min-height: 400px;
    background: #d8dee0;
  }
  .page-home .hero-visual img,
  .page-home .hero-visual.is-live .hero-stage img {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 28% 58%;
    border-radius: 0;
  }
  .page-home .hero-city-canvas { border-radius: 0; }
  .page-home .hero-visual figcaption {
    margin: 8px 20px 4px;
  }
  .page-home .hero-aside {
    margin: 8px 20px 8px;
  }
  .page-home .chapters {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-home .site-footer {
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-stage { /* still uses the large mobile stage with the static image */ }
}

/* ---------- Content pass: tracks, scenarios, dashboards, forms, logo walls ---------- */
.home-more {
  background: var(--cream);
}
.section-lead {
  max-width: 46em;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.track-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 800px) {
  .track-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.track-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px 24px;
}
.track-card .kicker {
  margin: 0 0 8px;
}
.track-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}
.track-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}
.track-owners {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.track-owners h3,
.track-owners .kicker { color: #fff; }
.track-owners p { color: rgba(255,255,255,0.82); }
.track-owners .btn-primary { background: var(--blue); border-color: var(--blue); }
.track-owners .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.55); }
.track-owners .btn-secondary:hover { border-color: #fff; color: #fff; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.home-close .contact-form,
.cta-band .contact-form,
.navy-band .contact-form {
  margin-top: 22px;
  max-width: 560px;
}
.navy-band .contact-form label { color: #fff; }
.navy-band .contact-form input,
.navy-band .contact-form textarea {
  background: rgba(255,255,255,0.96);
}

.dash-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 800px) {
  .dash-grid { grid-template-columns: 1fr 1fr; }
}
.dash-panel {
  margin: 0;
  background: #0e1a33;
  border-radius: 12px;
  overflow: hidden;
}
.dash-panel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.dash-panel figcaption {
  padding: 10px 14px 12px;
  color: #e8eef7;
  font-size: 13px;
  line-height: 1.4;
}
.dash-panel figcaption strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.sample-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.scenario-list { display: grid; gap: 48px; }
.scenario {
  display: grid;
  gap: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.scenario:last-child { border-bottom: 0; }
@media (min-width: 960px) {
  .scenario {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas: "copy visual" "video video";
    gap: 32px 40px;
    align-items: start;
  }
  .scenario:nth-child(even) {
    grid-template-columns: 0.9fr 1.1fr;
    grid-template-areas: "visual copy" "video video";
  }
  .scenario-copy { grid-area: copy; }
  .scenario-visual { grid-area: visual; }
  .scenario-video { grid-area: video; }
}
.scenario h2 { margin: 0 0 10px; }
.scenario h3 { margin: 18px 0 6px; font-size: 1.05rem; }
.scenario-formats { margin: 0 0 12px; padding-left: 1.1em; }
.scenario-formats li { margin: 0 0 8px; line-height: 1.5; }
.scenario-visual,
.scenario-video {
  margin: 0;
}
.scenario-visual img,
.scenario-video img,
.scenario-video video,
.inner-hero-visual video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}
.scenario-video video,
.inner-hero-visual video {
  aspect-ratio: 16 / 9;
  background: #1b2433;
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin: 8px 0 8px;
}
@media (min-width: 700px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .contact-cards { grid-template-columns: repeat(4, 1fr); }
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 20px 18px;
  min-height: 112px;
}
.contact-card-label {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card-slot {
  margin: 0;
  min-height: 2.1em;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #f7f4ec;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.18em;
  line-height: 1;
}

.logo-wall { margin: 0 0 40px; }
.mark-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 700px) {
  .mark-grid { grid-template-columns: repeat(6, 1fr); }
}
.mark-tile {
  margin: 0;
  background: #fff;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12%;
}
.mark-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.split-plain {
  display: grid;
  gap: 24px;
  align-items: start;
}
@media (min-width: 800px) {
  .split-plain { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.suit-list { margin: 0; padding-left: 1.15em; }
.suit-list li { margin: 0 0 8px; line-height: 1.5; }

.owner-quote {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.btn-block { width: 100%; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .scenario-video video,
  .inner-hero-visual video,
  video.scene-loop { display: none; }
  .scenario-video::after,
  .inner-hero-visual:has(video)::after { content: none; display: none; }
}

/* Homepage below-the-fold should not inherit the compact first-screen footer tightness */
.page-home .home-more .section { padding-left: var(--pad, 24px); padding-right: var(--pad, 24px); }
.page-home > .site-footer-full { margin-left: var(--pad, 24px); margin-right: var(--pad, 24px); }

@media (min-width: 960px) {
  .page-home .desktop-nav { gap: 12px; }
  .page-home .desktop-nav a { font-size: 12.5px; }
}

.cta-actions {
  width: 100%;
  margin: 0 0 20px;
}
.section > .cta-actions,
.cta-band > .cta-actions,
.navy-band > .cta-actions,
.home-close > .cta-actions,
.owner-quote .cta-actions {
  display: flex;
  width: 100%;
  margin: 4px 0 20px;
  justify-content: flex-start;
}

/* ---------- Richness pass: FAQ, format modes, roles, dwell ---------- */
.faq-list { display: grid; gap: 0; }
.faq-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
  color: var(--navy);
  line-height: 1.35;
}
.faq-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 46em;
}

.mode-grid,
.dwell-grid,
.roles-grid {
  display: grid;
  gap: 20px 32px;
}
@media (min-width: 800px) {
  .mode-grid,
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .dwell-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.mode-card,
.dwell-card,
.roles-col {
  padding: 16px 0 8px;
  border-top: 1px solid var(--line);
}
.mode-card h3,
.dwell-card h3,
.roles-col h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
  color: var(--navy);
}
.mode-card p,
.dwell-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 40em;
}
.roles-col .suit-list { margin-top: 4px; }

@media (min-width: 800px) {
  .path.cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .path.cols-5 { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 799px) {
  .faq-item h3 { font-size: 15px; }
  .mode-card h3,
  .dwell-card h3,
  .roles-col h3 { font-size: 15px; }
}


/* ---------- Morning pass: mobile drawer, footer legal, media photos, logo walls, video ---------- */
.menu-toggle {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  padding: 12px;
  z-index: 210;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle span { transition: transform 0.2s ease, opacity 0.2s ease; transform-origin: center; }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop { display: none; }

@media (max-width: 959px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--cream);
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 15, 52, 0.42);
    z-index: 180;
    border: 0;
  }
  .nav-backdrop[hidden] { display: none !important; }
  .mobile-nav {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 190;
    padding: calc(var(--header-h) + 12px) 24px 40px;
    background: var(--cream);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
  }
  .mobile-nav[hidden] { display: none !important; }
  .mobile-nav a {
    padding: 16px 0;
    font-size: 17px;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { box-shadow: 0 1px 0 var(--line); }
}

.footer-legal {
  display: block;
  width: 100%;
  max-width: 64em;
  margin: 6px auto 0;
  padding: 0 8px;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
  color: #9AA0AE;
}
.site-footer-full .footer-legal { color: #9AA0AE; }

.photo-band {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
}
.photo-band figure { margin: 0; }
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  display: block;
  background: #ece7dc;
}
@media (min-width: 700px) {
  .photo-band.band-2 { grid-template-columns: 1.15fr 0.85fr; }
  .photo-band.band-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.about-gallery img { aspect-ratio: 16 / 11; }

.about-team .team-photos { margin-top: 16px; }
@media (min-width: 800px) {
  .about-team {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
  }
  .about-team .team-photos { margin: 0; }
}

.logo-wall .mark-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 14px;
  background: transparent;
  border: 0;
}
@media (min-width: 700px) {
  .logo-wall .mark-grid { grid-template-columns: repeat(5, 1fr); gap: 20px 16px; }
}
.logo-wall .mark-tile {
  margin: 0;
  background: transparent;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  gap: 8px;
}
.mark-frame {
  width: 100%;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mark-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mark-name {
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
  padding: 0 4px;
}

video.scene-loop,
.scenario-video video,
.inner-hero-visual video {
  -webkit-appearance: none;
}
video.scene-loop::-webkit-media-controls,
video.scene-loop::-webkit-media-controls-enclosure,
video.scene-loop::-webkit-media-controls-panel,
video.scene-loop::-webkit-media-controls-start-playback-button,
.scenario-video video::-webkit-media-controls,
.scenario-video video::-webkit-media-controls-start-playback-button,
.inner-hero-visual video::-webkit-media-controls,
.inner-hero-visual video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  appearance: none;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
video.scene-loop { pointer-events: none; }

/* Afternoon pass: normal page flow, immediate motion, no pinned scroll dead-zone. */
.page-home .h1-line { display:block; white-space:normal; }
.hero-intro h1 { font-size:clamp(25px, 6.6vw, 36px); line-height:1.18; }
.owner-venues-grid {display:grid; gap:32px; align-items:center; grid-template-columns:minmax(0,1fr);}
.owner-venues-copy {min-width:0;}
.owner-venues-copy h2 {width:auto; max-width:none; margin-bottom:24px; font-size:clamp(26px,3vw,38px); line-height:1.25; word-break:normal;}
.owner-venues-copy .suit-list {display:block; padding-left:1.25em; font-size:17px;}
.owner-venues-copy li {margin-bottom:16px;}
.owner-venues-grid .scenario-visual {width:100%; min-width:0; margin:0;}
.contact-card-address .contact-card-slot, .footer-address {overflow-wrap:anywhere; word-break:normal; line-height:1.7; font-size:14px; font-style:normal;}
.footer-address {max-width:620px; margin:24px 0 12px;}
.google-form-host iframe {border:0; width:100%; min-height:1100px; background:white;}
.contact-form button:disabled {opacity:.55; cursor:not-allowed;}
.contact-form .form-thanks {font-size:13px; line-height:1.6; grid-column:1 / -1;}
@media(min-width:960px){
 .page-home .cinematic-pin, html:not(.city-live) .page-home .cinematic-pin {height:auto;}
 .page-home .cinematic-sticky {position:relative; top:auto; height:auto; max-height:none; overflow:visible;}
 .page-home .cinematic-sticky main {overflow:visible;}
 .page-home .hero {height:calc(100svh - var(--header-h) - 100px); min-height:620px; max-height:850px; grid-template-columns:minmax(480px, 43%) minmax(0,1fr);}
 .hero-intro {padding:45px 12px 16px 40px;}
 .hero-intro h1 {font-size:clamp(32px,3.3vw,52px); line-height:1.14;}
 html[lang="en"] .hero-intro h1 {font-size:clamp(35px,3.6vw,56px);}
 .page-home .h1-line {white-space:normal;}
 .owner-venues-grid {grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:56px;}
}
@media(max-width:959px){
 .page-home .hero-stage {height:560px; min-height:0;}
 .page-home .hero-visual {max-height:600px;}
 .page-home .hero-aside {margin-top:12px;}
 .hero-intro h1 {letter-spacing:-.035em;}
}
/* scenario-visual has a named grid-area inside scenario cards only; reset it in the owner split. */
.owner-venues-grid > .scenario-visual {grid-area:auto; grid-column:auto; grid-row:auto;}
.retail-film {margin:24px 0 0; border-radius:12px; overflow:hidden; background:#080f34;}
.retail-film video {display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover;}

.scene-poster {display:none !important;}
@media(prefers-reduced-motion:reduce){
 .retail-film video, video.scene-loop {display:none !important;}
 img.scene-poster {display:block !important; width:100%; height:auto; object-fit:cover;}
}


/* Native enquiry states — consent stays legible on desktop and narrow screens. */
.contact-form .form-wide {grid-column:1 / -1;}
.contact-form .form-consent {display:flex;flex-direction:row;align-items:flex-start;gap:12px;font-size:13px;line-height:1.6;}
.contact-form .form-consent input {width:19px;height:19px;min-height:19px;flex:0 0 19px;margin-top:2px;accent-color:#0F4AE1;}
.contact-form .form-honeypot {position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
.contact-form [aria-invalid="true"] {border-color:#af3131;outline:1px solid #af3131;}
.contact-form .form-thanks[data-state="error"] {color:#a12727;}
.contact-form .form-thanks[data-state="success"] {color:#24603d;}
.navy-band .contact-form .form-thanks {color:#fff;}
.navy-band .contact-form select {background:#fff;color:#080F34;}


/* Media type navigation — a link plus a separately operable disclosure. */
.media-nav { position: relative; min-width: 0; }
.media-nav-heading { display: flex; align-items: center; }
.media-nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; min-height: 44px; padding: 0; border: 0; border-radius: 4px;
  background: transparent; color: var(--navy); font: inherit; font-size: 20px; cursor: pointer;
}
.media-nav-toggle:hover { color: var(--blue); background: rgba(15,74,225,.06); }
.media-nav-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.media-nav-panel { list-style: none; margin: 0; padding: 8px 12px; }
.media-nav-panel[hidden] { display: none !important; }
.media-nav-panel a { display: block; line-height: 1.5; }
.media-nav-panel a[aria-current="page"] { color: var(--blue); font-weight: 700; }
@media (min-width: 960px) {
  .desktop-nav .media-nav-panel {
    position: absolute; top: 100%; left: -12px; width: 264px; z-index: 210;
    background: var(--cream); border: 1px solid var(--line); border-radius: 8px;
    box-shadow: 0 14px 32px rgba(8,15,52,.12);
  }
  .desktop-nav .media-nav-panel a { padding: 12px; font-size: 14px; border-radius: 4px; }
  .desktop-nav .media-nav-panel a:hover,
  .desktop-nav .media-nav-panel a:focus-visible { background: rgba(15,74,225,.06); }
}
@media (max-width: 959px) {
  .mobile-nav .media-nav-heading > a { flex: 1; }
  .mobile-nav .media-nav-toggle { width: 48px; min-height: 48px; }
  .mobile-nav .media-nav-panel { padding: 0 0 8px 18px; border-left: 2px solid var(--line); }
  .mobile-nav .media-nav-panel a { padding: 12px 8px; font-size: 16px; }
}
.media-type-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
.media-type-card { min-width: 0; }
.media-type-card img { aspect-ratio: 16 / 9; }
.media-type-card h3 { font-size: 18px; line-height: 1.4; }
.media-type-card p { font-size: 14px; line-height: 1.5; color: var(--blue); }
.media-type-card:focus-visible { outline-offset: 6px; border-radius: 8px; }
@media (min-width: 800px) {
  .media-type-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
}
@media (max-width: 359px) { .media-type-grid { grid-template-columns: 1fr; } }

/* Retail had nested two-column split cards: narrow copy, portrait crops and an orphan third card. */
.page-channel-retail .splitter { gap: 28px; }
.page-channel-retail .split-card {
  grid-template-columns: minmax(0,1fr); align-content: start; min-width: 0; gap: 0;
}
.page-channel-retail .split-card > img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 10px;
}
.page-channel-retail .split-card .card-body { padding: 18px 0 24px; display: block; min-width: 0; }
.page-channel-retail .split-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.4; font-weight: 700; }
.page-channel-retail .split-card p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.page-channel-retail .chip { font-size: 13px; line-height: 1.5; }
.page-channel-retail .lede,
.page-channel-retail .section-lead { font-size: 16px; line-height: 1.7; }
html[lang="zh-Hant"] .page-channel-retail :is(h1,h2,h3) {
  font-family: "Noto Sans CJK HK", "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 700; font-variation-settings: normal; letter-spacing: 0; line-height: 1.3;
}
html[lang="zh-Hans"] .page-channel-retail :is(h1,h2,h3) {
  font-family: "Noto Sans CJK SC", "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 700; font-variation-settings: normal; letter-spacing: 0; line-height: 1.3;
}
@media (min-width: 1100px) {
  .page-channel-retail .splitter.cols-2 { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* Resolution budgets use real pixels, not an upscale: 1600px films at <=800 CSS px. */
.inner-hero { max-width: 1440px; margin-inline: auto; }
.scenario-video, .retail-film { width: 100%; max-width: 800px; justify-self: center; margin-inline: auto; }
.platform-stage { max-width: 1200px; margin-inline: auto; }
.retail-photos { max-width: 1280px; margin-inline: auto; }
.retail-photos img { aspect-ratio: 16 / 9; height: auto; }
@media (min-width: 700px) { .photo-band.retail-photos { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* Every use of the 1280px photographs stays in a <=1280px, uncropped band. */
.photo-band-native { max-width: 1280px; margin-inline: auto; }
.photo-band-native img { aspect-ratio: 16 / 9; height: auto; }
@media (min-width: 700px) { .photo-band-native.band-2 { grid-template-columns: repeat(2,minmax(0,1fr)); } }

@media (min-width: 960px) and (max-width: 1279px) {
  .site-header { gap: 16px; }
  .desktop-nav { gap: 12px; }
}
.desktop-nav a { white-space: nowrap; }
