/* Blue Zone HK — v4 navy-sun, shared across the public site. */
:root {
  color-scheme: light;
  --font-body: "Noto Sans HK", "PingFang HK", sans-serif;
  --font-head: "Chiron GoRound TC", "Noto Sans HK", sans-serif;
  --font-display: "Plus Jakarta Sans", "Noto Sans HK", sans-serif;
  --navy: #072970;
  --navy-mid: #526A9B;
  --acc: #FFD43B;
  --acc-tint: #FFF6D6;
  --acc-ink: #072970;
  --tint: #EBEEF4;
  --tint-2: #CDD4E2;
  --bg: #FFFFFF;
  --ink: #072970;
  --line: #E1E5EE;
  --focus: #072970;
  --header-bg: rgba(255, 255, 255, .95);
  --brand-ink: #072970;
  --nav-ink: #072970;
  --chip-bg: #FFD43B;
  --chip-ink: #072970;
  --btn-bg: #FFD43B;
  --btn-ink: #072970;
  --btn2-bg: #FFFFFF;
  --btn2-ink: #072970;
  --btn2-line: #072970;
  --radius: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; scroll-padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
body { margin: 0; min-width: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); line-height: 1.75; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-head); }
button, a, summary { -webkit-tap-highlight-color: transparent; }
.nw { display: inline-block; font-style: normal; white-space: nowrap; }
.wrap { width: calc(100% - 32px); max-width: 1160px; margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--btn-bg); color: var(--btn-ink); font-weight: 800; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Shared header: only the current page gets a filled navigation pill. */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 16px; padding: 8px 0 4px; }
.site-brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-family: var(--font-display); font-weight: 800; text-decoration: none; color: var(--brand-ink); font-size: 1.05rem; letter-spacing: .01em; }
.site-brand img { width: 32px; height: 32px; object-fit: contain; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: auto; padding: 0;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--navy); cursor: pointer;
}
.nav-toggle:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.nav-toggle-box { position: relative; display: block; width: 18px; height: 14px; }
.nav-toggle-bar {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle-bar:nth-child(1) { top: 0; }
.nav-toggle-bar:nth-child(2) { top: 6px; }
.nav-toggle-bar:nth-child(3) { top: 12px; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.site-nav {
  display: none; flex-basis: 100%; flex-direction: column; align-items: stretch;
  gap: 2px; margin: 0; padding: 4px 0 10px;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px;
  border-radius: 12px; text-decoration: none; font-weight: 700; font-size: .95rem;
  color: var(--nav-ink); white-space: nowrap;
}
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { background: var(--tint); }
.site-nav-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; margin-top: 8px; padding: 10px 18px;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-ink);
  font-weight: 800; font-size: .98rem; text-decoration: none; white-space: nowrap;
}
.site-nav a.site-nav-cta:hover { text-decoration: none; box-shadow: 0 6px 18px rgba(7, 41, 112, .16); }
.site-nav a.site-nav-cta[aria-current="page"] {
  background: var(--btn-bg); color: var(--btn-ink);
  box-shadow: inset 0 0 0 2px var(--navy);
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border: 2px solid transparent; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); font-weight: 800; font-size: 1.02rem; text-align: center; text-decoration: none; transition: box-shadow .2s ease; }
.button:hover { box-shadow: 0 6px 18px rgba(7, 41, 112, .16); }
.button.secondary { background: var(--btn2-bg); color: var(--btn2-ink); border-color: var(--btn2-line); }
.arrow { flex-shrink: 0; font-size: 1.15em; line-height: 1; }
.hero .actions .button, .way .actions .button, .contact .actions .button { flex: 1 1 100%; }

/* Type and general page sections */
section { padding: 56px 0; }
.eyebrow { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--bg); color: var(--navy); font-family: var(--font-display); font-weight: 800; letter-spacing: .02em; font-size: .82rem; }
h1 { margin: 16px 0 18px; color: var(--navy); font-size: clamp(2.9rem, 14.6vw, 6rem); line-height: 1.12; font-weight: 900; letter-spacing: 0; }
h1 span { display: block; color: var(--navy); font-weight: 700; }
/* Optional title underline: remove this one rule to remove it everywhere. */
h1 span i { background: linear-gradient(transparent 64%, #FFD43B 64%, #FFD43B 94%, transparent 94%); }
.section-no { color: var(--navy-mid); font-family: var(--font-body); font-weight: 700; letter-spacing: .04em; font-size: .9rem; }
.section-title { margin: 8px 0 22px; color: var(--navy); font-weight: 700; font-size: clamp(1.9rem, 8.6vw, 3rem); line-height: 1.3; }
.section-head { max-width: 720px; }
.lead { color: var(--navy-mid); font-size: 1.06rem; }
.body-copy { max-width: 620px; color: var(--navy-mid); }

/* Heroes: text and an uncropped photo on a light gold background. */
.hero { background: var(--acc-tint); padding: 28px 0; }
.hero-copy { color: var(--navy); font-size: 1.06rem; }
.hero-copy strong { font-family: var(--font-head); font-weight: 900; }
.hero-note { margin: 14px 0 0; color: var(--navy-mid); font-size: .9rem; }
.hero .actions { margin-top: 22px; }
.hero-visual { width: calc(100% - 32px); max-width: 1160px; margin: 24px auto 0; }
.hero-media img { border-radius: 20px; }
.hero-mark { display: none; }
/* The coach page keeps its existing markup, with the photo after the copy. */
.hero:not(.hero-home) { display: flex; flex-direction: column; }
.hero:not(.hero-home) > .hero-media { order: 1; width: calc(100% - 32px); max-width: 1160px; margin: 24px auto 0; }
.hero:not(.hero-home) h1 { font-size: clamp(2.4rem, 11.5vw, 4.6rem); }
.hero:not(.hero-home) .nw { white-space: normal; }
.brand-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; }
.brand-logo { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; }
.page-hero { padding: 44px 0 30px; background: var(--acc-tint); }
.page-hero h1 { margin: 12px 0 14px; font-size: clamp(2.4rem, 10vw, 4.6rem); }
.page-hero .lead { max-width: 680px; margin: 0; }
.page-hero .actions { margin-top: 26px; }
.notfound .actions { margin-top: 28px; }

/* Home: three staggered, light cards. */
.pillars { padding: 44px 0 24px; }
.pillar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pillar { display: grid; gap: 10px; padding: 20px 20px 22px; border-radius: var(--radius); background: var(--tint); }
.pillar:nth-child(2) { margin-left: 28px; background: var(--acc-tint); }
.pillar:nth-child(3) { margin-right: 28px; }
.pillar b { display: inline-flex; width: fit-content; padding: 4px 16px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-ink); font-family: var(--font-head); font-size: 1rem; }
.pillar h3 { margin: 0; color: var(--navy); font-weight: 700; font-size: 1.28rem; }
.pillar p { margin: 0; color: var(--navy-mid); }
.pillars-photo { margin: 16px 0 0; }
.pillars-photo img { border-radius: 24px; }
.photo-note { margin: 10px 0 0; color: var(--navy-mid); font-size: .85rem; }
.pillar-link { margin-top: 10px !important; }
.pillar-link a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-weight: 700; }
.pillar-row .pillar:nth-child(n) { margin-inline: 0; }

/* Coach / trial cards */
.ways { padding: 40px 0 24px; }
.ways-grid, .contact-grid { display: grid; gap: 16px; }
.way { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 20px 22px; border-radius: 28px; }
.way h3, .way .h3-like { margin: 10px 0 6px; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.4; font-weight: 700; }
.way .actions { align-self: stretch; margin-top: auto; }
.tag { display: inline-flex; padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 800; }
.way.primary { --focus: var(--acc); background: var(--navy); color: #FFFFFF; }
.way.primary .tag, .way.primary .button { background: var(--acc); color: var(--acc-ink); }
.way.primary .button.secondary { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.secondary-way { background: var(--acc-tint); }
.secondary-way .tag { background: var(--bg); color: var(--navy); }
.secondary-way p { color: var(--navy-mid); }
.msg-preview { align-self: stretch; margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid var(--acc); border-radius: 0 16px 16px 0; background: var(--bg); color: var(--ink); font-size: .95rem; }
.msg-preview span { display: block; color: var(--navy-mid); font-size: .8rem; font-weight: 700; letter-spacing: .06em; }

/* Shared contact block */
.contact { padding: 24px 0 40px; }
.contact-box { display: grid; gap: 14px; padding: 30px 20px 22px; border-radius: 28px; background: var(--tint); }
.contact h2 { margin-bottom: 12px; color: var(--navy); font-weight: 700; font-size: clamp(2rem, 9.4vw, 3.4rem); line-height: 1.25; }
.contact p { color: var(--navy-mid); }
.contact-box .actions { flex-direction: column; flex-wrap: nowrap; }
.contact-box .actions .button { flex: 0 0 auto; width: 100%; }
.contact .button:not(.secondary) { background: var(--navy); color: #FFFFFF; }

/* Coach / about: fit cards and gains */
.fit-grid { display: grid; gap: 12px; }
.fit-card { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); }
.fit-card b { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; }
.fit-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.45; font-weight: 700; }
.fit-card p { margin: 0; color: var(--navy-mid); font-size: .95rem; }
.gains { background: var(--tint); }
.gains-grid { display: grid; gap: 26px; align-items: center; }
.gains-photo { margin: 0; }
.gains-photo img { border-radius: 24px; }
.gain-list { display: grid; list-style: none; margin: 8px 0 0; padding: 0; }
.gain-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--tint-2); }
.gain-list li:last-child { border-bottom: 1px solid var(--tint-2); }
.gain-list b { color: var(--navy); font-family: var(--font-display); font-size: 1.2rem; }
.gain-list h3 { margin: 0 0 4px; font-size: 1.15rem; font-weight: 700; }
.gain-list p { margin: 0; color: var(--navy-mid); }

/* Existing step layouts, with light surfaces and gold number pills. */
.path { background: var(--tint); }
.path-head { display: grid; gap: 18px; margin-bottom: 30px; }
.path-head .lead { margin-bottom: 8px; }
.steps { counter-reset: step; display: grid; border-top: 1px solid var(--tint-2); border-bottom: 1px solid var(--tint-2); }
.step { counter-increment: step; padding: 20px 0; border-bottom: 1px solid var(--tint-2); }
.step:last-child { border-bottom: 0; }
.step::before { content: "0" counter(step); display: inline-flex; margin-bottom: 10px; padding: 3px 12px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-family: var(--font-display); font-weight: 800; letter-spacing: .04em; }
.step h3 { margin-bottom: 6px; font-size: 1.18rem; font-weight: 700; }
.step p { margin-bottom: 0; color: var(--navy-mid); }

/* Coach story: the photo retains its proportions, beside a light copy block. */
.coach { padding: 32px 0; background: var(--acc-tint); }
.coach-image { width: calc(100% - 32px); max-width: 1160px; margin-inline: auto; }
.coach-image img { border-radius: 24px; }
.coach-content { padding-top: 30px; }
.coach-copy { max-width: 600px; }

/* FAQ */
.faq-grid { display: grid; gap: 26px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--acc); color: var(--acc-ink); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -6px 0 22px; color: var(--navy-mid); }

/* Course cards */
.class-grid { display: grid; gap: 14px; }
.class-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.class-photo { margin: 0; }
.class-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; }
.class-en { color: var(--navy-mid); font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .16em; }
.class-body h3 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.3; font-weight: 700; }
.class-body p { margin: 0; color: var(--navy-mid); }
.class-body .class-meta { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--tint-2); color: var(--ink); font-size: .92rem; }

/* Venue cards */
.venue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.venue { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow-wrap: anywhere; }
.venue h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 700; }
.venue p { margin: 0; color: var(--navy-mid); }
.venue p.venue-hint { margin-top: 8px; color: var(--navy); font-size: .88rem; }
.venue-list--after-steps { margin-top: 32px; }
.fine-print { margin: 22px 0 0; color: var(--navy-mid); font-size: .92rem; }
.venue-more { margin: 22px 0 0; }
.venue-more .text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--navy); font-weight: 700; text-decoration: none; }
.venue-more .text-link:hover { text-decoration: underline; }
.venue-region { padding: 0; }
.venue-region + .venue-region { margin-top: 40px; }
.venue-region-title { margin: 0 0 16px; padding-left: 12px; border-left: 3px solid var(--acc); font-size: 1.35rem; line-height: 1.35; }

/* Footer and mobile CTA */
footer { padding: 32px 0 calc(132px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg); color: var(--navy); font-size: .92rem; }
.footer-row { display: grid; gap: 12px; }
.footer-nav, .footer-links { display: flex; flex-wrap: wrap; gap: 0 4px; margin-inline: -8px; }
.footer-nav a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--navy); font-weight: 700; text-decoration: none; }
.footer-nav a:hover, .footer-links a:hover { text-decoration: underline; }
.mobile-cta { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; transform: translateY(170%); visibility: hidden; box-shadow: 0 0 0 3px #FFFFFF, 0 10px 24px rgba(7, 41, 112, .28); transition: transform .25s ease, visibility .25s; }
.mobile-cta.is-on { transform: none; visibility: visible; }

@media (min-width: 561px) {
  .fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { padding: 24px; border-right: 1px solid var(--tint-2); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-last-child(-n+2) { border-bottom: 0; }
  .step::before { margin-bottom: 24px; }
  .venue-list--tw { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 761px) {
  .class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (min-width: 900px) {
  html { scroll-padding-top: 80px; scroll-padding-bottom: 24px; }
  section { padding: 80px 0; }
  .site-header .wrap { flex-wrap: nowrap; padding: 6px 0; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; flex-basis: auto; flex-direction: row; flex-wrap: wrap;
    align-items: center; gap: 6px; margin: 0; padding: 0;
  }
  .site-nav a { padding: 4px 9px; border-radius: 999px; }
  .site-nav-cta { margin-top: 0; margin-left: 6px; min-height: 40px; padding: 6px 16px; font-size: .9rem; }
  .hero { padding: 0; }
  .hero-home, .hero:not(.hero-home) { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding: 56px max(24px, calc((100% - 1160px) / 2)); }
  .hero .wrap { width: auto; margin: 0; }
  .hero-visual { width: auto; margin: 0; }
  .hero:not(.hero-home) .hero-inner { grid-column: 1; grid-row: 1; }
  .hero:not(.hero-home) > .hero-media { grid-column: 2; grid-row: 1; width: auto; margin: 0; }
  h1 { font-size: clamp(2.9rem, 6.5vw, 5.2rem); }
  .hero:not(.hero-home) h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
  .hero .actions .button, .way .actions .button, .contact .actions .button { flex: 0 0 auto; }
  .page-hero { padding: 72px 0 40px; }
  .pillars { padding: 44px 0 24px; }
  .pillars-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .pillar:nth-child(2) { margin-left: 48px; }
  .pillar:nth-child(3) { margin-right: 48px; }
  .pillars-photo { margin: 0; }
  .pillar-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ways { padding: 40px 0 24px; }
  .ways-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .contact { padding: 40px 0 80px; }
  .contact-box { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 12px 48px; padding: 48px; }
  .gains-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .path-head { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; margin-bottom: 48px; align-items: end; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step:nth-child(n) { padding: 30px 24px; border-right: 1px solid var(--tint-2); border-bottom: 0; }
  .step:first-child { padding-left: 0; }
  .step:last-child { padding-right: 0; border-right: 0; }
  .step::before { margin-bottom: 36px; }
  .coach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 40px; padding: 56px max(24px, calc((100% - 1160px) / 2)); }
  .coach-image { width: auto; margin: 0; }
  .coach-content { padding: 0; }
  .coach-content .wrap { width: auto; }
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
  .faq-list summary { padding: 22px 0; font-size: 1.12rem; }
  .faq-list details p { padding-right: 48px; }
  .venue-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .footer-row { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
  footer { padding-bottom: 40px; }
  .mobile-cta { display: none; }
}

@media (min-width: 1001px) {
  .fit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
