/* RCFC — rebrand preview
   Built around the wordmark: geometric sans, navy #212730 (the logo's own
   background, so the PNG edges vanish), coral #FF5757 used only as a spark. */

:root {
  --navy: #212730;
  --navy-deep: #161A21;
  --navy-line: rgba(255, 255, 255, 0.12);
  --paper: #F4F2EE;
  --white: #FFFFFF;
  --ink: #161A21;
  --ink-2: #4A505B;
  --ink-3: #7C818B;
  --line: rgba(22, 26, 33, 0.12);
  --coral: #FF5757;
  --up: #3DBE8B;
  --down: #FF6B6B;

  --display: "Inter Tight", "Inter", "Noto Sans SC", system-ui, sans-serif;
  --sans: "Inter", "Noto Sans SC", system-ui, -apple-system, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(96px, 12vw, 168px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --tick-h: 68px;
}


*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px; font-size: 14px;
}
.skip:focus { top: 16px; }

/* ---------- Type primitives ---------- */
.eyebrow, .sec-label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow { color: rgba(255,255,255,.78); }
.eyebrow__dash { width: 28px; height: 2px; background: var(--coral); }

.sec-label { color: var(--ink-3); margin-bottom: 36px; }
.sec-label--light { color: rgba(255,255,255,.55); }
.sec-num {
  font-family: var(--display); font-weight: 600; letter-spacing: .04em;
  color: var(--coral);
}
.sec-num::after {
  content: ""; display: inline-block; width: 40px; height: 1px;
  background: currentColor; opacity: .5; vertical-align: middle; margin-left: 14px;
}

.statement {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 17ch;
  text-wrap: balance;
}
.statement [lang="zh-Hans"] { letter-spacing: -0.01em; line-height: 1.2; max-width: 16em; }
.statement--light { color: var(--white); }

.h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2 [lang="zh-Hans"] { letter-spacing: 0; line-height: 1.25; }

.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--ink); letter-spacing: -0.01em; }
.body { color: var(--ink-2); margin-top: 20px; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 18px;
  height: 56px; padding: 0 28px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), gap .3s var(--ease);
}
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--coral); color: var(--white); gap: 24px; }
.arrow {
  width: 14px; height: 14px; position: relative; flex: none;
}
.arrow::before {
  content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 1.5px;
  background: currentColor; transform: translateY(-50%);
}
.arrow::after {
  content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.link::after { content: "→"; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(4px); }
.link--light { color: var(--white); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--white);
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(33, 39, 48, .96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--navy-line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.brand__sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.menu { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 500; }
.menu a { position: relative; color: rgba(255,255,255,.82); transition: color .2s; }
.menu a:hover { color: var(--white); }
.menu a:not(.menu__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--coral); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.menu a:not(.menu__cta):hover::after { transform: scaleX(1); }
.menu__cta {
  color: var(--white) !important;
  padding: 10px 18px; border: 1px solid rgba(255,255,255,.4);
  transition: background .25s, border-color .25s, color .25s;
}
.menu__cta:hover { background: var(--white); color: var(--navy) !important; border-color: var(--white); }

.nav__tools { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; font-size: 13px; }
.lang__btn { padding: 6px 8px; color: rgba(255,255,255,.5); transition: color .2s; }
.lang__btn[aria-pressed="true"] { color: var(--white); font-weight: 600; }
.lang__btn + .lang__btn { border-left: 1px solid rgba(255,255,255,.25); }

.menu-toggle { display: none; width: 40px; height: 40px; position: relative; }
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* Pill nav (desktop): capsule menu with a rising fill and rolling label;
   once scrolled, the brand slips out to the left and the capsule glides to centre. */
.menu__dot { display: none; }
@media (min-width: 1081px) {
  .nav.is-scrolled {
    background: transparent; border-bottom-color: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .brand { transition: transform .8s var(--ease), opacity .6s var(--ease), visibility 0s linear 0s; }
  .nav.is-scrolled .brand {
    transform: translateX(-56px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .8s var(--ease), opacity .6s var(--ease), visibility 0s linear .8s;
  }

  .menu {
    position: relative; gap: 2px; padding: 4px; border-radius: 999px;
    background: rgba(22, 26, 33, .5); border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
    transition: transform .8s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
  }
  .nav.is-scrolled .menu {
    transform: translateX(var(--menu-x, 0px));
    background: rgba(22, 26, 33, .86);
    box-shadow: 0 12px 32px -14px rgba(0, 0, 0, .5);
  }
  .menu a {
    display: block; height: 38px; line-height: 38px; padding: 0 18px;
    border-radius: 999px; overflow: hidden; isolation: isolate;
    color: rgba(255, 255, 255, .86);
  }
  .menu a.is-active { color: var(--white); }
  /* Fill: a circle rises from below the pill. */
  .menu a::before {
    content: ""; position: absolute; z-index: -1; left: 50%; bottom: 0;
    width: max(130%, 120px); aspect-ratio: 1; border-radius: 50%;
    background: var(--white);
    transform: translate(-50%, 100%) scale(.5);
    transition: transform .5s var(--ease);
  }
  .menu a:hover::before, .menu a:focus-visible::before { transform: translate(-50%, 34%) scale(1); }
  /* Label roll: the label slides up and its shadow copy (in the fill colour's ink) slides in. */
  .menu a > .i18n {
    text-shadow: 0 38px 0 var(--navy);
    transition: opacity .18s ease, transform .5s var(--ease);
  }
  .menu a:hover > .i18n, .menu a:focus-visible > .i18n { transform: translateY(-38px); }
  .menu a:not(.menu__cta)::after { display: none; }

  .menu__cta {
    padding: 0 20px; border: 0; margin-left: 4px;
    background: var(--white); color: var(--navy) !important;
  }
  .menu__cta:hover { background: var(--white); }
  .menu__cta::before { background: var(--coral) !important; }
  .menu__cta > .i18n { text-shadow: 0 38px 0 var(--white) !important; }

  .menu__dot {
    display: block; position: absolute; left: 0; bottom: -11px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--coral);
    opacity: 0; pointer-events: none;
    transform: translateX(var(--dot-x, 0px));
    transition: transform .55s var(--ease), opacity .3s var(--ease);
  }
  .menu__dot.is-on { opacity: 1; }

  .lang {
    padding: 4px; border-radius: 999px;
    background: rgba(22, 26, 33, .5); border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
    transition: background .35s var(--ease);
  }
  .nav.is-scrolled .lang { background: rgba(22, 26, 33, .86); }
  .lang__btn { height: 30px; padding: 0 12px; border-radius: 999px; }
  .lang__btn + .lang__btn { border-left: 0; }
  .lang__btn[aria-pressed="true"] { background: rgba(255, 255, 255, .14); }
}

/* ---------- Hero ---------- */
.hero {
  /* First screen = hero + ticker; everything below scales with viewport height so the ticker sits on the fold. */
  position: relative; min-height: calc(100vh - var(--tick-h)); min-height: calc(100svh - var(--tick-h));
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--navy);
}
.hero:has(+ .ticker[hidden]) { min-height: 100vh; min-height: 100svh; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(22,26,33,.92) 0%, rgba(22,26,33,.7) 42%, rgba(22,26,33,.25) 100%),
    linear-gradient(0deg, rgba(22,26,33,.95) 0%, rgba(22,26,33,0) 45%);
}
@keyframes heroZoom { to { transform: scale(1); } }

/* Opening shot: the city fills the screen zoomed in, then the camera pulls back into the page.
   .intro = start frame, .intro-run = the pull-back, .intro-played = settled (no idle zoom afterwards). */
.intro .hero__media img { animation: none; transform: scale(1.7); filter: brightness(1.15) saturate(1.05); }
.intro .hero__media::after { opacity: 0; }
.intro .nav, .intro .hero__strip, .intro .ticker__viewport { opacity: 0; }
/* During the opening the photo runs under the (transparent) ticker band, so the whole screen is city. */
.hero:has(+ .ticker:not([hidden])) .hero__media { bottom: calc(-1 * var(--tick-h)); }
.intro .ticker { background: transparent; border-top-color: transparent; }
.intro-played .hero__media img { animation: none; transform: none; }
.intro-run .hero__media img { transition: transform 1.6s cubic-bezier(.22, .61, .2, 1), filter 1.1s var(--ease) .4s; }
.intro-run .hero__media::after { transition: opacity 1.1s var(--ease) .4s; }
.intro-run .nav { transition: opacity .7s var(--ease) 1.2s, background .35s var(--ease), border-color .35s var(--ease); }
.intro-run .hero__strip, .intro-run .ticker__viewport { transition: opacity .7s var(--ease) 1.3s; }
.intro-run .ticker { transition: background-color 1.1s var(--ease) .4s, border-color 1.1s var(--ease) .4s; }
/* Skipped by the visitor: same path, much faster. */
.intro-fast .hero__media img { transition-duration: .7s, .5s; transition-delay: 0s, 0s; }
.intro-fast .hero__media::after { transition-duration: .5s; transition-delay: 0s; }
.intro-fast .nav, .intro-fast .hero__strip, .intro-fast .ticker__viewport, .intro-fast .ticker { transition-delay: .3s; }

.hero__body { position: relative; padding-top: clamp(92px, 14svh, 160px); padding-bottom: clamp(28px, 5svh, 72px); }
.hero__title {
  margin-top: clamp(14px, 3svh, 32px);
  font-family: var(--display); font-weight: 600;
  font-size: clamp(44px, min(9.4vw, 12svh), 148px);
  line-height: .94; letter-spacing: -0.05em;
}
.hero__title > span { display: block; }
.hero__accent { color: rgba(255,255,255,.42); }
.hero__title [lang="zh-Hans"] { letter-spacing: 0; line-height: 1.12; font-weight: 700; font-size: clamp(40px, min(8vw, 11svh), 120px); }

.hero__foot {
  margin-top: clamp(22px, 5svh, 56px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.hero__lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: rgba(255,255,255,.78); }
.hero__lead [lang="en"] { max-width: 40ch; }
.hero__lead [lang="zh-Hans"] { max-width: 24em; }
.hero__ctas { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
@media (min-width: 761px) and (max-height: 700px) {
  .hero__title { font-size: clamp(44px, min(9.4vw, 11svh), 148px); }
  .hero__title [lang="zh-Hans"] { font-size: clamp(40px, min(8vw, 10svh), 120px); }
  .hero__lead { font-size: 17px; }
  .hero__foot { margin-top: 20px; }
}

.hero__strip { position: relative; border-top: 1px solid var(--navy-line); }
/* Narrow windows, tablets and phones: the strip wraps to two lines and pushes the ticker off the first screen. */
@media (max-width: 1100px) { .hero__strip { display: none; } }
.strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.strip li { padding: clamp(12px, 2.2svh, 22px) 0; }
.strip li + li { padding-left: 24px; border-left: 1px solid var(--navy-line); }

/* ---------- Live ticker ---------- */
.ticker {
  position: relative; display: flex; align-items: stretch;
  background: var(--navy-deep); color: var(--white);
  border-top: 1px solid var(--navy-line);
  height: var(--tick-h); overflow: hidden;
}
.ticker[hidden] { display: none; }
.ticker__viewport {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.ticker__track {
  display: flex; align-items: center; height: 100%; width: max-content;
  animation: tick var(--tick-dur, 70s) linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

.tk {
  display: flex; align-items: center; gap: 12px;
  padding: 0 30px; height: 100%;
  border-right: 1px solid var(--navy-line);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.tk__logo {
  width: 30px; height: 30px; flex: none; border-radius: 6px;
  background: var(--white); padding: 4px; object-fit: contain;
}
.tk__name { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; }
.tk__sym { font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.45); margin-left: -4px; }
.tk__px { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.92); }
.tk__chg { font-size: 13px; font-weight: 500; }
.tk__chg.is-up { color: var(--up); }
.tk__chg.is-down { color: var(--down); }
.tk__chg.is-flat { color: rgba(255,255,255,.5); }
.tk.flash-up .tk__px { animation: flashUp 1.8s var(--ease); }
.tk.flash-down .tk__px { animation: flashDown 1.8s var(--ease); }
@keyframes flashUp { 0%, 30% { color: var(--up); } 100% { color: rgba(255,255,255,.92); } }
@keyframes flashDown { 0%, 30% { color: var(--down); } 100% { color: rgba(255,255,255,.92); } }

/* ---------- Sections ---------- */
.section { padding: var(--sec) 0; }

/* 01 Club */
.club { background: var(--paper); }
.sec-head { margin-bottom: clamp(56px, 7vw, 96px); }
.club__grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start;
}
.club__text { padding-top: 8px; }
.club__quote {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line);
  font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.015em;
  color: var(--ink);
}
.club__quote::before { content: ""; display: block; width: 28px; height: 2px; background: var(--coral); margin-bottom: 20px; }

.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.city--offset { margin-top: 72px; }
.city__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); }
.city__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) contrast(1.05);
  transition: transform 1.2s var(--ease);
}
.city:hover .city__img img { transform: scale(1.04); }
.city figcaption {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.city__co { font-weight: 400; color: var(--ink-3); letter-spacing: .06em; font-variant-numeric: tabular-nums; }

/* 02 Programs */
.programs { background: var(--white); }
.programs__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); }
.programs__aside { align-self: start; position: sticky; top: 120px; }
.programs__img { margin-top: 48px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.programs__img img { width: 100%; height: 100%; object-fit: cover; }

.plist { border-top: 1px solid var(--ink); }
.pitem {
  display: grid; grid-template-columns: 72px 1fr; gap: 24px;
  padding: 44px 0 48px; border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease);
}
.pitem:hover { padding-left: 12px; }
.pitem__no {
  font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--coral);
  letter-spacing: .04em; padding-top: 10px;
}
.pitem__t {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -0.03em;
}
.pitem__t [lang="zh-Hans"] { letter-spacing: 0; }
.pitem__d { margin-top: 14px; color: var(--ink-2); max-width: 52ch; }

/* 03 Standard */
.standard { background: var(--navy); color: var(--white); }
.standard__head { margin-bottom: clamp(64px, 8vw, 112px); }
.tenets { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--navy-line); }
.tenet { padding: 40px 40px 8px 0; position: relative; }
.tenet + .tenet { padding-left: 40px; border-left: 1px solid var(--navy-line); }
.tenet::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0;
  background: var(--coral); transition: width .6s var(--ease);
}
.tenet + .tenet::before { left: 40px; }
.tenet:hover::before { width: 48px; }
.tenet__no {
  display: block; font-family: var(--display); font-weight: 500;
  font-size: clamp(64px, 7vw, 104px); line-height: 1; letter-spacing: -0.04em;
  color: rgba(255,255,255,.14);
}
.tenet__t {
  margin-top: 28px; font-family: var(--display); font-weight: 600;
  font-size: 26px; letter-spacing: -0.02em;
}
.tenet__d { margin-top: 12px; color: rgba(255,255,255,.64); font-size: 16px; max-width: 34ch; }
.standard__note {
  margin-top: clamp(64px, 8vw, 104px); padding-top: 28px; border-top: 1px solid var(--navy-line);
  font-size: 15px; color: rgba(255,255,255,.55); max-width: 60ch;
}

/* 04 Leadership */
.leadership { background: var(--paper); }
.leader {
  max-width: 880px;
}
.leader__role {
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--coral);
}
.leader__name {
  margin-top: 16px; font-family: var(--display); font-weight: 600;
  font-size: clamp(36px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.035em;
}
.leader__bio { margin-top: 28px; color: var(--ink-2); max-width: 64ch; }

.cv { margin: 40px 0 36px; border-top: 1px solid var(--ink); }
.cv__row {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.cv__row dt { font-weight: 600; }
.cv__row dd { color: var(--ink-2); }

/* 05 Membership */
.membership {
  position: relative; overflow: hidden; color: var(--white); background: var(--navy);
  padding: clamp(120px, 15vw, 200px) 0;
}
.membership__media { position: absolute; inset: 0; }
.membership__media img { width: 100%; height: 100%; object-fit: cover; }
.membership__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(22,26,33,.94) 0%, rgba(22,26,33,.78) 55%, rgba(22,26,33,.5) 100%);
}
.membership__body { position: relative; }
.membership__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(44px, 6.4vw, 96px); line-height: 1; letter-spacing: -0.045em;
  max-width: 12ch;
}
.membership__title [lang="zh-Hans"] { letter-spacing: 0; line-height: 1.15; }
.membership__line { margin: 28px 0 44px; font-size: clamp(18px, 1.5vw, 21px); color: rgba(255,255,255,.75); max-width: 40ch; }

/* ---------- Membership enquiry page (apply.html) ---------- */
.page-apply { background: var(--navy-deep); }
/* No section menu here, so the brand stays put when scrolled (the home page slides it out). */
.nav--page.is-scrolled .brand { transform: none !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
/* "Back" is a capsule matching the language switch beside it. */
.nav__back {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px;
  border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.86);
  background: rgba(22, 26, 33, .5); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nav__back::before { content: "←"; transition: transform .3s var(--ease); }
.nav__back:hover { background: var(--white); color: var(--navy); }
.nav__back:hover::before { transform: translateX(-3px); }

.applypage {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  color: var(--white); background: var(--navy);
}
.applypage__media { position: fixed; inset: 0; }
.applypage__media img { width: 100%; height: 100%; object-fit: cover; }
.applypage__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(22,26,33,.95) 0%, rgba(22,26,33,.84) 50%, rgba(22,26,33,.62) 100%);
}
.applypage__body {
  position: relative; flex: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: clamp(48px, 7vw, 112px); align-items: start;
  padding-top: clamp(128px, 18vh, 200px); padding-bottom: 80px;
}
.applypage__intro { position: sticky; top: 140px; }
.applypage__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(44px, 5.6vw, 88px); line-height: 1; letter-spacing: -0.045em;
  max-width: 11ch;
}
.applypage__title [lang="zh-Hans"] { letter-spacing: 0; line-height: 1.15; }
.applypage__line { margin-top: 28px; font-size: clamp(18px, 1.5vw, 21px); color: rgba(255,255,255,.75); max-width: 36ch; }
.applypage__base {
  position: relative; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between;
  padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--navy-line);
  font-size: 12px; color: rgba(255,255,255,.45);
}

/* The enquiry form posts to the club's Google Form (see main.js). */
.apply {
  position: relative;
  background: rgba(22, 26, 33, .74);
  border: 1px solid var(--navy-line);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  padding: clamp(28px, 3.4vw, 48px);
}
.apply [hidden] { display: none !important; }
.apply__form { display: grid; gap: 28px; }
.field { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { padding: 0; font-size: 14px; font-weight: 500; line-height: 1.45; color: rgba(255,255,255,.86); }
legend.field__label { margin-bottom: 10px; } /* a legend sits outside the fieldset's grid gap */
.field__opt { margin-left: 10px; font-size: 12px; font-weight: 400; color: rgba(255,255,255,.45); }
.field__input {
  width: 100%; margin: 0; border-radius: 0; -webkit-appearance: none; appearance: none;
  font: inherit; font-size: 16px; line-height: 1.4; color: var(--white);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.22);
  padding: 14px 16px;
  transition: border-color .2s, background-color .2s;
}
.field__input::placeholder { color: rgba(255,255,255,.34); }
.field__input:hover { border-color: rgba(255,255,255,.42); }
.field__input:focus { outline: none; border-color: var(--white); background: rgba(255,255,255,.07); }
.field__input[aria-invalid="true"] { border-color: var(--coral); }
.field__input:-webkit-autofill {
  -webkit-text-fill-color: var(--white); caret-color: var(--white);
  -webkit-box-shadow: 0 0 0 1000px #262C36 inset; transition: background-color 9999s;
}
.field__area { min-height: 128px; resize: vertical; }
.field__err { font-size: 13px; color: var(--coral); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  font-size: 14px; color: rgba(255,255,255,.86); cursor: pointer;
  border: 1px solid rgba(255,255,255,.22);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip:hover { border-color: rgba(255,255,255,.5); color: var(--white); }
.chip:has(input:checked) { background: var(--white); border-color: var(--white); color: var(--navy); }
.chip:has(input:focus-visible) { outline: 2px solid var(--coral); outline-offset: 3px; }

.apply__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply__fail { font-size: 14px; color: var(--coral); }
.apply__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.apply__submit[disabled] { opacity: .65; cursor: progress; }
.apply__alt {
  font-size: 13px; color: rgba(255,255,255,.55);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.28);
  transition: color .2s;
}
.apply__alt:hover { color: var(--white); }

.apply__done:focus { outline: none; }
.apply__done-dash { display: block; width: 28px; height: 2px; background: var(--coral); margin-bottom: 24px; }
.apply__done-t { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; letter-spacing: -0.02em; }
.apply__done-t [lang="zh-Hans"] { letter-spacing: 0; }
.apply__done-d { margin-top: 14px; color: rgba(255,255,255,.72); }
.apply__home { margin-top: 32px; }

@media (max-width: 1080px) {
  .applypage__body { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 120px; }
  .applypage__intro { position: static; }
}
@media (max-width: 760px) {
  .applypage__body { padding-top: 100px; padding-bottom: 48px; }
  .applypage__title { font-size: clamp(40px, 11vw, 56px); }
  .apply { padding: 24px 20px 28px; margin: 0 calc(-1 * var(--gutter) + 8px); }
  .apply__submit { width: 100%; justify-content: space-between; }
  .nav--page .nav__tools { gap: 10px; }
  .nav__back { height: 36px; padding: 0 14px; font-size: 13px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--white); padding-top: 80px; border-top: 1px solid var(--navy-line); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 64px; }
.footer__brand { display: flex; align-items: center; gap: 24px; }
.footer__brand img { width: 120px; height: 120px; flex: none; }
.footer__name { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.015em; }
.footer__zh { margin-top: 4px; font-family: "Noto Sans SC", sans-serif; font-size: 15px; color: rgba(255,255,255,.7); }
.footer__uni { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer__col { display: flex; flex-direction: column; gap: 14px; font-size: 14px; padding-top: 8px; }
.footer__col a { color: rgba(255,255,255,.7); width: fit-content; transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__base {
  display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between;
  padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--navy-line);
  font-size: 12px; color: rgba(255,255,255,.45);
}

/* ---------- Reveal ---------- */
.js-motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js-motion .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu {
    position: fixed; inset: 80px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy); padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--navy-line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open .menu { transform: none; opacity: 1; visibility: visible; }
  .menu a { width: 100%; padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--navy-line); }
  .menu a:not(.menu__cta)::after { display: none; }
  .menu__cta { margin-top: 20px; width: auto !important; text-align: center; }
  .menu-toggle { display: block; }

  .club__grid, .programs__grid { grid-template-columns: 1fr; }
  .programs__aside { position: static; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__inner { height: 68px; }
  .menu { inset: 68px 0 auto 0; }
  .brand__sub { display: none; }
  .brand__mark { width: 36px; height: 36px; }

  .hero__body { padding-top: clamp(96px, 14svh, 120px); padding-bottom: clamp(24px, 4svh, 48px); }
  .hero__foot { margin-top: clamp(20px, 4svh, 40px); }
  .hero__ctas { gap: 24px; flex-direction: column; align-items: flex-start; }
  .btn { height: 52px; padding: 0 22px; font-size: 14px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip li { padding: 14px 0; }
  .strip li + li { padding-left: 0; border-left: 0; }
  .strip li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--navy-line); }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
  .strip li:last-child { display: none; }

  :root { --tick-h: 60px; }
  .tk { padding: 0 20px; gap: 10px; }
  .tk__logo { width: 26px; height: 26px; }

  .cities { gap: 12px; }
  .city--offset { margin-top: 40px; }
  .city figcaption { font-size: 11px; letter-spacing: .1em; }

  .pitem { grid-template-columns: 44px 1fr; gap: 12px; padding: 32px 0 36px; }
  .pitem:hover { padding-left: 0; }

  .tenets { grid-template-columns: 1fr; }
  .tenet, .tenet + .tenet { padding: 32px 0 36px; border-left: 0; }
  .tenet + .tenet { border-top: 1px solid var(--navy-line); }
  .tenet + .tenet::before { left: 0; }
  .tenet__t { margin-top: 16px; }

  .cv__row { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand img { width: 88px; height: 88px; }
  .footer__base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img { animation: none; transform: none; }
  .ticker__track { animation: none; }
  .ticker__viewport { overflow-x: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* i18n: both languages occupy the same cell; the inactive one is invisible but keeps its space */
.i18n { display: grid; }
.i18n--inline { display: inline-grid; max-width: 100%; vertical-align: top; }
.i18n--inline > .is-off { display: none; }
.i18n > span { grid-area: 1 / 1; }
.i18n > span { transition: opacity .45s var(--ease), visibility 0s linear 0s; }
.i18n > .is-off { visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.i18n--inline, .tk__name { transition: opacity .18s ease; }
.lang-out .i18n--inline, .lang-out .tk__name { opacity: 0; }
.i18n > [lang="zh-Hans"] { font-family: "Noto Sans SC", "Inter", system-ui, sans-serif; }
