/* ══════════════════════════════════════════════════════════════════
   JRSE Ltd. — jrse.hk
   Palette and type are the "bright D" brand tokens from brand-notes.md.
   Layout devices are taken from the printed D card: split light/slate
   panels, graph-paper ground, clipped JR badge, letterspaced micro-labels.
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* — brand tokens (unchanged) — */
  --ground: #F4F6F9;
  --panel: #FFFFFF;
  --slate: #3A4F6A;
  --slate-mid: #4A607A;
  --slate-hi: #5B7190;
  --steel: #3D4A58;
  --steel-hi: #6B7C8E;
  --silver: #5C6B7A;
  --hair: #D0D7E0;
  --hair-dark: #2C3E52;
  --text: #1A2433;
  --text-on-dark: #F2F4F7;
  --muted: #5A6575;
  --faint: #7A8694;
  --faint-on-dark: #A8B4C4;
  --accent: #2F6F8A;
  --util: #E6EBF1;

  /* — derived — */
  --accent-soft: rgba(47, 111, 138, 0.10);
  /* --faint (#7A8694) and --faint-on-dark (#A8B4C4) land at 3.7:1 / 4.0:1 on their
     grounds, so small uppercase labels use these slightly firmer siblings instead
     and clear WCAG AA. Brand tokens above are unchanged. */
  --label: #5C6B7A;
  --label-on-dark: #BAC6D5;
  --muted-on-dark: #C8D2DF;
  --accent-on-dark: #A6CBDC;
  --grid-light: rgba(61, 74, 88, 0.055);
  --grid-dark: rgba(242, 244, 247, 0.055);
  --hair-on-dark: rgba(242, 244, 247, 0.14);

  --font-display: "Saira Condensed", "Arial Narrow", "Helvetica Neue Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, sans-serif;
  --font-label: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(26, 36, 51, 0.04);
  --shadow: 0 6px 20px -8px rgba(26, 36, 51, 0.16), 0 1px 2px rgba(26, 36, 51, 0.04);
  --shadow-lg: 0 24px 48px -24px rgba(26, 36, 51, 0.34), 0 2px 6px rgba(26, 36, 51, 0.05);

  --header-h: 72px;
  --max: 1180px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);
  --sec-y: clamp(3.75rem, 8vw, 6.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}

p { margin: 0; }

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--slate); }

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

.sr-only {
  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 {
  position: fixed;
  top: -120%;
  left: var(--gut);
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--slate);
  color: var(--text-on-dark);
  font-family: var(--font-label);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { top: 0; }

.shell {
  width: min(100% - 2 * var(--gut), var(--max));
  margin-inline: auto;
}

/* graph-paper ground, lifted from the printed card */
.graph-ground {
  background-image:
    linear-gradient(var(--grid-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-light) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* ─────────────────────────── shared bits ─────────────────────────── */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-rule {
  display: block;
  width: 1.75rem;
  height: 2px;
  background: var(--accent);
  flex: none;
}
.eyebrow-dark { color: var(--accent-on-dark); }
.eyebrow-dark .eyebrow-rule { background: var(--accent-on-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary {
  background: var(--slate);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--hair-dark);
  color: var(--text-on-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: var(--steel);
  border-color: var(--hair);
}
.btn-ghost:hover {
  border-color: var(--slate);
  background: var(--panel);
  color: var(--slate);
  transform: translateY(-1px);
}
.btn-sm { padding: 0.55rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 0.95rem; }

/* clipped JR badge — the card's monogram, in CSS so it uses the real font */
.badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  background: var(--steel);
  color: var(--ground);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  line-height: 1;
  border-radius: 3px;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%);
  user-select: none;
}
.badge-lg { width: 42px; height: 42px; font-size: 1.28rem; }

.brand-lockup { display: flex; flex-direction: column; gap: 0.08rem; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 0.95;
  letter-spacing: 0.055em;
  color: var(--text);
}
.brand-sub {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.185em;
  text-transform: uppercase;
  color: var(--label);
}

/* ─────────────────────────── header ─────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 246, 249, 0.86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--hair);
  box-shadow: 0 1px 12px -6px rgba(26, 36, 51, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand:hover .brand-name { color: var(--slate); }

.site-nav { display: flex; align-items: center; gap: 2rem; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  position: relative;
  display: block;
  padding: 0.35rem 0;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.045em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-list a:hover { color: var(--text); }
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-box { display: flex; flex-direction: column; gap: 5px; width: 18px; }
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--steel);
  transition: transform 0.22s ease, opacity 0.16s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────── hero ─────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(3rem, 7vw, 5.25rem);
  overflow: hidden;
  border-bottom: 1px solid var(--hair);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(var(--grid-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-light) 1px, transparent 1px),
    radial-gradient(120% 80% at 12% 0%, #FFFFFF 0%, var(--ground) 55%, var(--util) 100%);
  background-size: 30px 30px, 30px 30px, cover;
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.85rem);
  line-height: 1.04;
  color: var(--slate);
  margin-bottom: 1.1rem;
}
.hero-copy .lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.185rem);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 1.9rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* company card — the printed card, on screen */
.hero-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.5rem 1.25rem;
  background: linear-gradient(155deg, var(--slate) 0%, var(--hair-dark) 100%);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 3.75rem 100%, 0 calc(100% - 1.6rem));
  margin-bottom: clamp(-4.5rem, -6vw, -2.5rem);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero-card-ghost {
  position: absolute;
  right: -0.4rem;
  bottom: -1.9rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 8.5rem;
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(242, 244, 247, 0.055);
  pointer-events: none;
  user-select: none;
}
.hero-card > * { position: relative; z-index: 1; }

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--hair-on-dark);
}
.hero-card .badge { background: rgba(244, 246, 249, 0.13); color: var(--text-on-dark); }
.hero-card-lockup { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 0.95;
  letter-spacing: 0.055em;
}
.hero-card-sub {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--label-on-dark);
}

.hero-card-facts { display: grid; gap: 0.85rem; margin: 1.15rem 0 1.3rem; }
.hero-card-facts > div { display: grid; gap: 0.1rem; }
.hero-card-facts dt {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--label-on-dark);
}
.hero-card-facts dd {
  margin: 0;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-on-dark);
}
.hero-card-facts a { color: var(--text-on-dark); text-decoration: none; }
.hero-card-facts a:hover { color: var(--accent-on-dark); }

.hero-card-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hair-on-dark);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--label-on-dark);
}
.dash { display: block; width: 1.15rem; height: 2px; background: var(--accent-on-dark); flex: none; }

/* the horizon: skyline gets its own band, so type never sits on buildings.
   The image keeps its natural aspect and is bottom-anchored; the BAND carries
   the fade, so the crop line dissolves into the ground instead of cutting
   the towers off with a hard edge. */
.hero-horizon {
  position: relative;
  z-index: 1;
  height: clamp(210px, 30vw, 420px);
  margin-top: clamp(-5rem, -7vw, -3rem);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.62) 22%, #000 48%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.62) 22%, #000 48%);
}
.hero-horizon img {
  width: 100%;
  min-width: 1180px;
  margin-inline: auto;
  opacity: 0.88;
}

/* ─────────────────────────── credentials strip ─────────────────────────── */

.strip {
  background: var(--panel);
  border-bottom: 1px solid var(--hair);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.35rem 1.5rem 1.35rem 0;
  border-left: 1px solid var(--hair);
  padding-left: 1.5rem;
}
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-label {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--label);
}
.strip-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.02em;
  color: var(--slate);
}

/* ─────────────────────────── sections ─────────────────────────── */

.section { padding: var(--sec-y) 0; }
.section-band {
  background: var(--util);
  border-block: 1px solid var(--hair);
  background-image:
    linear-gradient(var(--grid-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-light) 1px, transparent 1px);
  background-size: 30px 30px;
}

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  margin-bottom: 0.9rem;
}
.section-lead {
  font-size: 1.11rem;
  color: var(--muted);
  max-width: 40rem;
}

/* ── about ── */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: stretch;
}
.about-prose {
  display: grid;
  gap: 1.15rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--hair);
}
.about-prose p { color: var(--muted); }
.about-prose strong { color: var(--text); font-weight: 600; }

/* trade flow figure */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1.02fr auto 1fr;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 1.75rem 1.4rem;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.flow-col { display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; }
.flow-head {
  margin-bottom: 0.15rem;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--label);
}
.flow-nodes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.flow-nodes li {
  padding: 0.62rem 0.6rem;
  background: var(--ground);
  border: 1px solid var(--hair);
  border-radius: 3px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--slate);
  text-align: center;
}
.flow-out .flow-nodes li { border-color: rgba(47, 111, 138, 0.35); background: var(--accent-soft); color: var(--accent); }

.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 0.7rem;
  align-self: center;
}
.flow-arrow svg {
  width: 100%;
  min-width: 34px;
  height: 12px;
  fill: var(--steel-hi);
  stroke: var(--steel-hi);
  stroke-width: 1.4;
}
.flow-arrow span {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.665rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
  white-space: nowrap;
}
.flow-arrow-out svg { fill: var(--accent); stroke: var(--accent); }
.flow-arrow-out span { color: var(--accent); }

.flow-hub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 1.35rem 0.75rem 3.5rem;
  background: linear-gradient(160deg, var(--slate) 0%, var(--hair-dark) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.flow-hub-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}
.flow-hub-sub {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--label-on-dark);
}
.flow-hub-sky {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.25rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 38%, #000 82%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 38%, #000 82%);
}
.flow-hub-sky img {
  width: 100%;
  min-width: 300px;
  opacity: 0.75;
}

/* ── capability cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.65rem;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--steel-hi);
  box-shadow: var(--shadow);
}
.card:hover::before { transform: scaleX(1); }

.card-index {
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--hair);
}
.card-icon { color: var(--accent); margin-bottom: 1rem; }
.card-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.02em;
  color: var(--slate);
  margin-bottom: 0.55rem;
}
.card > p { font-size: 0.98rem; color: var(--muted); flex: 1 1 auto; }

.card-list {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 1.05rem 0 0;
  border-top: 1px solid var(--hair);
  display: grid;
  gap: 0.5rem;
}
.card-list li {
  position: relative;
  padding-left: 1.1rem;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--silver);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 1px;
  background: var(--accent);
}

.card-feature { padding-bottom: 3.5rem; }
.card-schematic {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3rem;
  overflow: hidden;
  pointer-events: none;
}
.card-schematic img {
  width: 130%;
  max-width: none;
  opacity: 0.5;
  transform: translate(-8%, -12%);
  mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 100%);
}

/* ── process steps ── */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 1.75rem;
  border-top: 2px solid var(--hair);
}
.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--slate);
  margin-bottom: 0.45rem;
}
.step p { font-size: 0.96rem; color: var(--muted); }

/* ─────────────────────────── Hong Kong band ─────────────────────────── */

.hk {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--sec-y) 0 calc(var(--sec-y) + clamp(5rem, 13vw, 13.5rem));
  background: linear-gradient(165deg, var(--slate) 0%, var(--hair-dark) 62%, #253546 100%);
  color: var(--text-on-dark);
}
.hk::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hk-sky {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: clamp(180px, 26vw, 340px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 26%, #000 58%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 26%, #000 58%);
}
.hk-sky img {
  width: 100%;
  min-width: 1200px;
  margin-inline: auto;
  opacity: 0.62;
}

.hk-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.hk-copy h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  color: var(--text-on-dark);
  margin-bottom: 1rem;
}
.hk-lead { color: var(--muted-on-dark); font-size: 1.08rem; }

.hk-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}
.hk-points li { padding-top: 1rem; border-top: 1px solid var(--hair-on-dark); }
.hk-points h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--text-on-dark);
  margin-bottom: 0.4rem;
}
.hk-points p { font-size: 0.95rem; color: var(--muted-on-dark); }

/* ─────────────────────────── contact ─────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
}

.contact-main {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-person {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-bottom: 1.25rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--hair);
}
.contact-person strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--text);
}
.contact-person .role {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--label);
}

.contact-rows { display: grid; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 0.5rem 0.95rem 0;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.18s ease, background-color 0.18s ease;
}
.contact-row:hover { padding-left: 0.5rem; background: var(--ground); }
.contact-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  color: var(--accent);
  background: var(--ground);
}
.contact-row:hover .contact-icon { border-color: var(--accent); background: var(--accent-soft); }
.contact-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-text { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; }
.contact-label {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--label);
}
.contact-value {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--accent);
  overflow-wrap: anywhere;
}
.contact-cta { margin-top: auto; padding-top: 0; align-self: flex-start; }
.contact-rows { margin-bottom: 1.75rem; }

.contact-office {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.1rem) clamp(1.5rem, 3vw, 2.1rem) clamp(5.5rem, 10vw, 7.5rem);
  background: linear-gradient(155deg, var(--slate) 0%, var(--hair-dark) 100%);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.contact-office::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.contact-office > *:not(.office-sky):not(.hero-card-ghost) { position: relative; z-index: 1; }
.contact-office .hero-card-ghost {
  top: -1.5rem;
  bottom: auto;
  right: 0.4rem;
  font-size: clamp(6rem, 11vw, 9.5rem);
}

.office-label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  margin-bottom: 0.9rem;
}
.office-address {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.42;
  letter-spacing: 0.02em;
  color: var(--text-on-dark);
  margin-bottom: 1.6rem;
}
.office-facts {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hair-on-dark);
}
.office-facts > div { display: grid; gap: 0.1rem; }
.office-facts dt {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--label-on-dark);
}
.office-facts dd { margin: 0; font-weight: 500; color: var(--text-on-dark); }

.office-sky {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(78px, 12vw, 128px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 35%, #000 80%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 35%, #000 80%);
}
.office-sky img {
  width: 100%;
  min-width: 480px;
  opacity: 0.68;
}

/* ─────────────────────────── footer ─────────────────────────── */

.site-footer {
  position: relative;
  background: var(--hair-dark);
  color: var(--faint-on-dark);
  overflow: hidden;
}
.footer-horizon {
  height: clamp(110px, 15vw, 185px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--hair-on-dark);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 30%, #000 66%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 30%, #000 66%);
}
.footer-horizon img {
  width: 100%;
  min-width: 1100px;
  margin-inline: auto;
  opacity: 0.55;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 2rem 0 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.65rem; }
.footer-brand .badge { background: rgba(244, 246, 249, 0.14); color: var(--text-on-dark); }
.footer-brand .brand-name { color: var(--text-on-dark); }
.footer-brand .brand-sub { color: var(--faint-on-dark); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-nav a {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--label-on-dark);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--text-on-dark); }

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid var(--hair-on-dark);
}
.footer-legal p { font-size: 0.85rem; color: var(--label-on-dark); }
.footer-tag {
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.76rem;
}
.site-footer a { color: var(--label-on-dark); }
.footer-tag a { color: var(--text-on-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ─────────────────────────── reveal ─────────────────────────── */

.reveal, .js .will-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html:not(.js) .reveal { opacity: 1; transform: none; }
.reveal.is-in, .js .will-reveal.is-in { opacity: 1; transform: none; }

/* ─────────────────────────── responsive ─────────────────────────── */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .cards { grid-template-columns: 1fr; }
  .card-feature { padding-bottom: 3.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr auto 1.1fr auto 1fr; padding: 1.25rem 0.85rem; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.85rem var(--gut) 1.35rem;
    background: var(--panel);
    border-bottom: 1px solid var(--hair);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 0.75rem 0; border-bottom: 1px solid var(--hair); }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: 0.85rem; align-self: flex-start; }

  .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-card { max-width: 28rem; }
  .about-grid { grid-template-columns: 1fr; }
  .hk-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
}

@media (max-width: 680px) {
  .hero-horizon img, .hk-sky img, .footer-horizon img { min-width: 720px; }
  .flow {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.25rem;
  }
  .flow-arrow { flex-direction: row; gap: 0.6rem; padding: 0; }
  .flow-arrow svg { width: 2.5rem; transform: rotate(90deg); }
  .steps { grid-template-columns: 1fr; }
  .hk-points { grid-template-columns: 1fr; }
  .about-prose { padding-left: 1.1rem; }
  .hero-card-ghost { font-size: 6rem; }
  .footer-legal, .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--hair); }
  .strip-item:last-child { border-bottom: 0; }
  .actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .js .will-reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-toggle, .hero-horizon, .hk-sky, .footer-horizon, .actions, .contact-cta { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .hk, .contact-office, .hero-card { background: #fff !important; color: #000 !important; border: 1px solid #999; }
  .section { padding: 1rem 0; }
}
