/* Con Nhà Võ — site layout. Uses tokens.css + components/cnv-components.css.
   Mobile-first; only layout and page-level rules live here. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, iframe { display: block; max-width: 100%; }
/* No faux bold: Muli only ships 400/600, Phudu only 500. */
h1, h2, h3, h4, strong, b, th { font-weight: 600; }
h1, h2 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; text-wrap: balance; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
a { color: inherit; }
[data-theme] { background: var(--bg); color: var(--text); }
::selection { background: var(--cnv-bamboo); color: var(--cnv-black); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-3); }
@media (min-width: 768px) { .wrap { padding: 0 var(--space-6); } }

.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--space-3); top: -60px; z-index: 100; padding: var(--space-2) var(--space-3); background: var(--cnv-bamboo); color: var(--cnv-black); font-weight: 600; }
.skip-link:focus { top: var(--space-2); }
:focus-visible { outline: 2px solid var(--cnv-bamboo); outline-offset: 3px; }

/* Responsive type scale on top of the token classes */
.h1 { font-size: clamp(36px, 8vw, 72px); line-height: 1.02; }
.h2 { font-size: clamp(28px, 5vw, 40px); line-height: 1.08; }
.h3 { font-family: var(--font-body); font-size: clamp(20px, 2.4vw, 22px); line-height: 1.3; font-weight: 600; }
.lead { font-size: 18px; line-height: 1.6; max-width: 56ch; color: var(--text-muted); }
.caption { font-size: 13px; line-height: 1.5; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 479px) { .btn-row--stack, .btn-row--stack .cnv-btn { width: 100%; } }

/* ---------- Sections ---------- */
.section { padding: var(--space-8) 0; }
@media (min-width: 1024px) { .section { padding: var(--space-9) 0; } }
.section--alt { background: var(--bg-alt); }
.section__title { margin-bottom: var(--space-4); }
.section__title + .lead { margin-bottom: var(--space-6); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-header__logo { display: block; padding: var(--space-2) 0; }
.site-header__logo img { height: var(--logo-header-height); width: auto; }
.site-nav { display: none; }
.site-nav a {
  font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--text); padding: var(--space-2) 0; border-bottom: var(--line-hair) solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--cnv-bamboo); }
/* Section in view: bamboo underline (13.1) */
.site-nav a[aria-current="true"] { border-bottom: 3px solid var(--cnv-bamboo); padding-bottom: 6px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px; padding: 0;
  background: none; border: 0; color: var(--text); cursor: pointer;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  display: block; width: 22px; height: 1px; background: currentColor; position: relative; transition: transform .2s, background .2s;
}
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; top: 64px; left: 0; right: 0;
  padding: var(--space-2) var(--space-3) var(--space-4);
  background: var(--cnv-black); border-bottom: var(--line-hair) solid var(--divider);
}
.site-nav.is-open a { padding: var(--space-3) 0; font-size: 16px; border-bottom-color: var(--divider); }

@media (min-width: 900px) {   /* 5 items on sub-pages: menu button below 900px */
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; flex-direction: row; gap: var(--space-5); white-space: nowrap; position: static; padding: 0; background: none; border: 0; }
  .site-nav.is-open a { padding: var(--space-2) 0; font-size: 14px; border-bottom-color: transparent; }
}

/* ---------- Hero: layered photo (wall, nón lá, body) on a 1366×768 art box ----------
   Follows "hero demo.ai" (artboard 1366×768, layers Background → Hat → Body → Text):
   hat 28.18 / 5.99 / w 43.65 (UNDER the body) · body 21.39 / 32.21 / w 57.22 (on top) ·
   title printed on the back, all sizes in cqw of the art box so it scales with the figure
   on every screen (phone, tablet, desktop). CTA on the belt + side notes are page elements. */

/* Art box width per device; the title and figure scale together with it */
:root { --hero-art: 260vw; }                                   /* phones: torso fills the screen */
@media (min-width: 768px) { :root { --hero-art: 160vw; } }     /* tablets */

/* Phones / tablets: art band on the wall, then a black panel that continues the võ phục */
.hero {
  position: relative; overflow: hidden; color: var(--cnv-white);
  /* wall only behind the art band (48px + art height), black below */
  background: image-set(url("../public/images/hero-bg-800.webp") 1x, url("../public/images/hero-bg.webp") 2x) top center / auto calc(48px + var(--hero-art) * 768 / 1366) no-repeat, var(--cnv-black);
}
.hero__stage {
  position: relative; z-index: 60; pointer-events: none;   /* above the header so the hat can break the bar */
  display: flex; flex-direction: column; padding-top: 48px;
}
.hero.is-scrolled .hero__stage { z-index: 1; }              /* once scrolling, the header covers the hero again */
.hero__stage a, .hero__stage button { pointer-events: auto; }
.hero__art {
  position: relative; width: var(--hero-art); margin-left: calc(50% - var(--hero-art) / 2);
  aspect-ratio: 1366 / 768; overflow: hidden;
  container-type: inline-size;                                 /* cqw below = % of the art box width */
}
/* Hat placed from "hero demo.ai" as saved 27/11 10:56 (Hat layer 524x262 at x 427, y 76 on the 1366x768
   artboard): the brim is 410px wide, spans x 484-894, its edge at y 288.4, just above where the neck
   starts (y 291). hero-hat.webp has different transparent margins than the .ai image, so it is matched
   on the brim: widest row 479 (x 131-1077 of 1200) -> width 38.07%, left 31.28%, top 10.52%. */
.hero__hat  { position: absolute; left: 31.28%; top: 10.52%; width: 38.07%; height: auto; z-index: 1; }
.hero__body { position: absolute; left: 21.39%; top: 32.21%; width: 57.22%; height: auto; z-index: 2; transform-origin: 50% 100%; }

/* Title printed on the back. Lines placed from the artboard glyphs (baselines 413 / 461 / 517 / 552 of 768):
   Phudu 35.6 / 46 / 36.2px and Authenia 76.5px rotated −1.5° (fitted to the outlined text in the .ai) */
.hero__title { position: absolute; inset: 0; z-index: 3; margin: 0; color: var(--cnv-white); text-align: center; font-size: 1cqw; }
.hero__title .hero__beat { position: absolute; left: 0; right: 0; display: block; line-height: 1; white-space: nowrap; }
.hero__l1 { top: 49.55%; font-size: 2.607cqw; }
.hero__l2 { top: 53.05%; }
.hero__script {
  display: inline-block; transform-origin: 50% 70%;
  font-family: var(--font-script); font-weight: 400; text-transform: none; line-height: 1;
  color: var(--cnv-bamboo); font-size: 5.60cqw;
  transform: translateX(-0.37cqw) rotate(-1.5deg);
}
.hero__l3 { top: 61.86%; font-size: 3.364cqw; }
.hero__l4 { top: 67.56%; font-size: 2.650cqw; }

/* Primary booking button (WhatsApp): straight (13.1 dropped 18/11), larger, text + arrow */
.cnv-btn--book { padding: 0 var(--space-5); }
.cnv-btn--book > span { display: inline-flex; align-items: center; gap: var(--space-3); }
.hero__belt { position: relative; z-index: 3; margin: var(--space-5) auto 0; display: flex; width: max-content; min-height: 52px; font-size: 17px; }

.hero__scroll { display: none; }

.hero__side { position: relative; z-index: 3; padding: 0 var(--space-3); }
.hero__lead { margin-top: var(--space-5); }
.hero__lead p { font-size: 18px; line-height: 1.6; max-width: 40ch; margin: 0 auto; text-align: center; }
.hero__aside { display: grid; justify-items: center; gap: var(--space-4); padding-top: var(--space-5); padding-bottom: var(--space-7); text-align: center; }
.hero__aside .cnv-btn--secondary { color: var(--cnv-white); border-color: var(--cnv-white); }
.hero__aside .cnv-btn--secondary:hover { background: var(--cnv-white); color: var(--cnv-black); }
.hero__price { display: grid; gap: 2px; font-size: 16px; line-height: 1.5; color: #c4c4c4; }
.hero__price strong { color: var(--cnv-white); font-weight: 600; font-size: 18px; }
.hero__more { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--cnv-white); text-decoration: underline; text-decoration-color: var(--cnv-bamboo); text-underline-offset: 4px; }
.hero__more:hover { color: var(--cnv-bamboo); }

/* Desktop: everything sits on the stage, which scales to fit 100svh and rests on the bottom edge */
@media (min-width: 1024px) {
  .hero {
    height: 100svh; min-height: 620px; color: var(--cnv-black);
    background: #cfd0d0 url("../public/images/hero-bg.webp") center / cover no-repeat;
  }
  .hero__stage {
    position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto; display: block; padding: 0;
    width: min(100%, 100svh * 1366 / 768); aspect-ratio: 1366 / 768;
    container-type: inline-size;
  }
  .hero__art { position: absolute; inset: 0; width: auto; margin: 0; overflow: visible; }

  /* Belt line: centred under the hand, across the white belt */
  .hero__belt { position: absolute; left: 49.6%; top: 90.4%; margin: 0; translate: -50% -50%; min-height: 3.4cqw; padding: 0 2.2cqw; font-size: max(16px, 1.25cqw); box-shadow: 0 8px 24px rgba(0,0,0,.28); }
  .hero__scroll {
    display: flex; position: absolute; left: 50%; top: 96.6%; translate: -50% -50%;
    width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--cnv-white);
  }

  /* Side notes with a straight bamboo stroke */
  .hero__side { position: absolute; top: 52%; padding: 0 0 0 26px; }
  .hero__side::before {
    content: ""; position: absolute; left: 0; top: 12%; width: 3px; height: 5.4cqw; min-height: 64px;
    background: var(--cnv-bamboo);
  }
  /* Side columns use the wall outside the stage too (--gap = free width each side of the stage),
     sit at shoulder height, and their type scales with the stage so they never run off the hero. */
  .hero__stage { --gap: max(0px, (100vw - 100cqw) / 2); }
  .hero__side { top: 39%; }
  /* Anchored to the figure: lead ends at 25.5% of the stage, aside starts at 74.5% (just clear of the sleeves) */
  .hero__lead { left: auto; right: 74.5%; width: min(calc(var(--gap) + 23.5cqw - 32px), 360px); margin: 0; }
  .hero__lead p { font-size: clamp(15px, 1.2cqw, 19px); line-height: 1.55; text-align: left; margin: 0; color: var(--cnv-black); max-width: 34ch; }
  .hero__aside { left: 74.5%; right: auto; width: min(calc(var(--gap) + 23.5cqw - 32px), 360px); justify-items: start; text-align: left; gap: var(--space-3); padding-bottom: 0; padding-top: 0; }
  .hero__price { font-size: clamp(14px, 1.1cqw, 16px); }
  .hero__price strong { font-size: clamp(15px, 1.2cqw, 18px); }
  .hero__aside .cnv-btn--secondary { color: var(--cnv-black); border-color: var(--cnv-black); background: rgba(255,255,255,.35); white-space: nowrap; padding: 0 var(--space-3); }
  .hero__aside .cnv-btn--secondary:hover { background: var(--cnv-black); color: var(--cnv-white); }
  .hero__price { color: #222; }
  .hero__price strong { color: var(--cnv-black); }
  .hero__more { color: var(--cnv-black); }
  .hero__more:hover { color: var(--cnv-bamboo-dark); }
}
/* Taller-than-3:2 desktops (e.g. 1024×768): the stage is width-bound and leaves a band of wall above it.
   Move the side notes up into that band so they never run over the sleeves. */
@media (min-width: 1024px) and (max-aspect-ratio: 3/2) {
  .hero__side { top: calc(64px + 32px - (100svh - 100cqw * 768 / 1366)); }
  .hero__lead { left: 3%; right: auto; width: 24%; }
  .hero__aside { left: auto; right: 3%; width: 26%; }
}
/* Narrow desktops: side columns are only ~160–250px wide */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__aside .cnv-btn--secondary { font-size: 15px; padding: 0 var(--space-2); }
  .hero__price { font-size: 15px; }
  .hero__price strong { font-size: 16px; }
}

/* Signature moment (13.6): hat settles → three drum beats → "experienced" writes itself → body breathes */
.js .hero__hat { animation: hat-drop .8s cubic-bezier(.2,.75,.3,1) .1s both; }
.js .hero__beat--1 { animation: drum .22s ease-out 1s both; }
.js .hero__beat--2 { animation: drum .22s ease-out 1.45s both; }
.js .hero__script { animation: write .9s cubic-bezier(.45,.05,.35,1) 1.5s both; }
.js .hero__beat--3 { animation: drum .22s ease-out 2.75s both; }
.js .hero__body { animation: breathe 4.5s ease-in-out 3.2s infinite alternate; }
@keyframes hat-drop { from { transform: translateY(-38%); opacity: 0; } 40% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes drum { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.01); } }

/* ---------- Who are you: three numbered rows, hairline dividers, CTA with arrow on the right ---------- */
#start .wrap { max-width: 1440px; }                            /* wider measure so headlines sit on two lines */
.doors { list-style: none; padding: 0; margin: var(--space-6) 0 0; border-top: var(--line-hair) solid var(--text); }
.door {
  display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-4); row-gap: var(--space-3);
  padding: var(--space-5) 0; text-decoration: none; color: var(--text);
  border-bottom: var(--line-hair) solid var(--text);
}
/* number: Phudu, bamboo green (bamboo-dark on light backgrounds, ≥24px) */
.door__num {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); line-height: 1;
  color: var(--accent-text); white-space: nowrap; padding-top: .12em;
}
/* headline: large, tight, uppercase */
.door__who {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(30px, 4vw, 58px); line-height: .94; letter-spacing: -.01em; text-wrap: balance;
}
.door__body, .door__cta { grid-column: 2; }
.door__body { display: grid; gap: var(--space-1); }
.door__vi { font-size: 17px; font-weight: 600; }
.door__what { color: var(--text-muted); max-width: 40ch; }
.door__cta {
  display: inline-flex; align-items: center; gap: var(--space-3); justify-self: start;
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 24px; line-height: 1;
  color: var(--accent-text); min-height: 44px;
}
.door__cta svg { transition: transform .2s ease-out; }
.door:hover .door__cta svg, .door:focus-visible .door__cta svg { transform: translateX(6px); }
@media (min-width: 960px) {
  .door {
    grid-template-columns: 84px minmax(0, 1.6fr) minmax(0, 1fr) auto;
    column-gap: var(--space-5); align-items: center; padding: var(--space-6) 0;
  }
  .door__num, .door__who { align-self: start; }               /* number sits on the headline's first line */
  .door__body, .door__cta { grid-column: auto; }
  .door__cta { justify-self: end; }
}

/* ---------- What happens in class: editorial image + text, asymmetric, alternating ---------- */
/* Concrete background with the same light grain as the hero wall */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.class-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-7); }
/* ~14% shorter than before (72px / 1.02 → 66px / .95), tighter and aligned to the lead's last line */
.class-head__title {
  font-size: clamp(34px, 7.2vw, 66px); line-height: .95; letter-spacing: -.01em; max-width: 11ch;
}
.class-head .lead { margin: 0; }
@media (min-width: 960px) {
  .class-head { grid-template-columns: 7fr 5fr; align-items: end; column-gap: var(--space-7); margin-bottom: var(--space-8); }
  .class-head .lead { padding-bottom: .4em; }
}

.moments { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-7); }
.moment { display: grid; gap: var(--space-4); }
.moment__media { margin: 0; overflow: hidden; border-radius: var(--radius-sm); background: var(--cnv-line); }
.moment__media img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.moment__text h3 {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(26px, 2.6vw, 36px); line-height: 1; letter-spacing: -.005em; margin-bottom: var(--space-3);
}
/* bamboo hairline above each heading: the section's only accent */
.moment__text h3::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: var(--space-3); background: var(--cnv-bamboo); }
.moment__text p { color: var(--text-muted); max-width: 36ch; }
.moment:hover .moment__media img { transform: scale(1.03); }

/* crops chosen per photo: keep the people in frame */
.moment:nth-child(2) .moment__media img { object-position: 64% 45%; }
.moment:nth-child(4) .moment__media img { object-position: 52% 55%; }

@media (min-width: 600px) and (max-width: 959px) {
  .moment { grid-template-columns: 1fr 1fr; column-gap: var(--space-5); align-items: end; }
  .moment__media { grid-column: 1 / -1; }
  .moment__text { grid-column: 1 / -1; max-width: 60%; }
  .moment--tall .moment__text { justify-self: end; }
}

/* Desktop: 12-column editorial grid. Wide rows: landscape image left, text bottom-right.
   Tall rows: text upper-left, portrait image right. */
@media (min-width: 960px) {
  .moments { gap: var(--space-8); }
  .moment { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-5); align-items: end; }
  .moment--wide .moment__media { grid-column: 1 / 8; }
  .moment--wide .moment__text  { grid-column: 9 / 13; padding-bottom: var(--space-3); }
  .moment--tall .moment__text  { grid-column: 2 / 6; grid-row: 1; align-self: start; padding-top: var(--space-7); }
  .moment--tall .moment__media { grid-column: 7 / 12; grid-row: 1; }
  .moment--tall .moment__media img { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) { .moment__media img { transition: none; } .moment:hover .moment__media img { transform: none; } }
.class-cta { margin-top: var(--space-8); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.class-cta__btn, .class-cta__more { min-height: 52px; font-size: 17px; }   /* same booking button as the hero and the closing CTA */
@media (max-width: 479px) { .class-cta__btn, .class-cta__more { width: 100%; } }

/* ---------- Latest from class ---------- */
.social-grid { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .social-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.social-col__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-bottom: var(--space-3); margin-bottom: var(--space-4); border-bottom: var(--line-hair) solid var(--divider); }
.embed-slot { min-height: 200px; }
/* Reserve the TikTok creator embed's rendered height so the page doesn't jump when it loads */
.embed-slot--tiktok { min-height: 390px; }
@media (min-width: 900px) { .embed-slot--tiktok { min-height: 494px; } }
.embed-slot blockquote { margin: 0 auto !important; max-width: 540px; min-width: 0 !important; width: 100% !important; }
.embed-slot > blockquote > a, .embed-slot section > a { display: inline-block; padding: var(--space-3) 0; font-weight: 600; }
.embed-slot iframe { max-width: 100% !important; }
/* Instagram profile embed: header + footer (~210px) + 2 rows of 3 square posts — sized so it never scrolls inside */
.ig-frame { position: relative; max-width: 540px; margin: 0 auto; padding-top: calc(66.667% + 212px); border: var(--line-hair) solid var(--divider); border-radius: var(--radius-md); overflow: hidden; background: var(--cnv-white); }
.ig-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-slot.is-fallback > .ig-frame { display: none; }
.embed-fallback { display: none; }
.embed-slot.is-fallback, .embed-slot--tiktok.is-fallback { min-height: 0; }
.embed-slot.is-fallback .embed-fallback { display: block; padding: var(--space-5); background: var(--bg-alt); border-radius: var(--radius-md); }
.embed-fallback p { color: var(--text-muted); margin-bottom: var(--space-2); }
.embed-fallback a { font-weight: 600; }

/* ---------- Our story (layout from "our story demo.ai", artboard 1366×768) ---------- */
/* Background = faded concrete CONNHÀVÕ wall, used as-is at full strength (as in the .ai).
   Bamboo = separate PNG layer at 70% opacity, behind the type. */
.story {
  position: relative; overflow: hidden; padding-bottom: 0;
  background: #e9e9e9 url("../public/images/story-bg-800.webp") center / cover no-repeat;
}
@media (min-width: 768px) { .story { background-image: url("../public/images/story-bg.webp"); } }

.story__inner { position: relative; display: grid; gap: var(--space-5); max-width: 1440px; }
.story__head, .story__body { position: relative; z-index: 1; }
.story__eyebrow { color: var(--text); }
/* Headline sized from its own column so "OVER 200 WARS" always fits on one row; caps at the display token (72px) */
.story__head { container-type: inline-size; }
.story__title {
  margin-top: var(--space-3);
  font-size: min(11.5cqi, 72px); line-height: 1.05;
}
.story__line { display: block; white-space: nowrap; transform-origin: 0 100%; }
/* "200" is the hero of the line (1.75× as in the .ai); green on a light ground = bamboo-dark */
.story__num { font-size: 1.75em; line-height: .9; color: var(--accent-text); }
.story__body { display: grid; gap: var(--space-3); }
.story__body .lead { max-width: 42ch; }

/* Phone/tablet: bamboo closes the section under the text (never behind body copy) */
.story__bamboo {
  display: block; width: min(100%, 560px); height: auto; margin: 0 0 0 auto;
  opacity: .7; pointer-events: none;
}

/* Desktop: a stage with the artboard's ratio; every block placed by % of the stage, as in the .ai */
@media (min-width: 1200px) {
  .story { padding: 0; }
  .story__inner { display: block; aspect-ratio: 1366 / 768; padding: 0; }
  .story__head { position: absolute; left: 8.8%; top: 12%; width: 50%; }
  .story__title { font-size: min(5.3vw, 72px); }
  .story__body { position: absolute; left: 63.6%; top: 56%; width: 31.5%; }   /* .ai x 62.2%, nudged so no leaf crosses the first words */
  .story__bamboo { position: absolute; z-index: 0; left: 27.7%; top: 4.2%; width: 66.7%; max-width: none; margin: 0; }
}
@media (min-width: 1440px) {
  .story__title { font-size: 72px; }
}

/* Bamboo in the wind (13.6 motion, story section only).
   Bends, never breaks: a gust when the section comes into view, then a slow uneven sway while it
   stays in view. Pivot = the stems' root (bottom-left of the image). JS adds .is-windy in view and
   sets --wind (0–1) from scroll speed, so scrolling harder pushes the canes a little further. */
.js .story__bamboo {
  transform-origin: 18% 100%;
  rotate: calc(var(--wind, 0) * 1deg);
  opacity: 0;   /* fades in with the first gust (.has-wind stays once seen) */
  transition: rotate .9s cubic-bezier(.2, .7, .3, 1), opacity 1.2s ease-out;
  will-change: transform;
}
.js .story.has-wind .story__bamboo { opacity: .7; }
.js .story.is-windy .story__bamboo {
  animation:
    bamboo-gust 2.6s cubic-bezier(.3, .6, .3, 1) both,
    bamboo-sway 7s ease-in-out 2.6s infinite;
}
/* The canes bend sideways from the root (skew = top moves, root stays), only a touch of rotation,
   so the leaves sweep across the wall and never drop onto the paragraph */
@keyframes bamboo-gust {
  0%   { transform: skewX(4deg) rotate(-1deg); }
  25%  { transform: skewX(-3deg) rotate(.5deg); }
  48%  { transform: skewX(1.4deg) rotate(-.2deg); }
  70%  { transform: skewX(-.8deg); }
  86%  { transform: skewX(.3deg); }
  100% { transform: skewX(0) rotate(0); }
}
/* Uneven gusts: a push, a breath, a smaller push, rest */
@keyframes bamboo-sway {
  0%, 100% { transform: skewX(0) rotate(0); }
  18%      { transform: skewX(-1.8deg) rotate(.3deg); }
  34%      { transform: skewX(-.3deg); }
  52%      { transform: skewX(-1.1deg) rotate(.2deg); }
  70%      { transform: skewX(.5deg); }
}

/* Typography rides the same gust (first view only, .has-wind): eyebrow writes itself in,
   the headline lines are carried in from the left and settle,
   "200" counts up (js/home.js) and lands on a drum beat as in the hero, the paragraphs follow quietly. */
.js .story__eyebrow, .js .story__line, .js .story__body .lead { opacity: 0; }
.js .story.has-wind .story__eyebrow { animation: write .6s cubic-bezier(.45,.05,.35,1) both; opacity: 1; }
.js .story.has-wind .story__line { animation: wind-in .9s cubic-bezier(.2,.7,.3,1) both; }
.js .story.has-wind .story__line:nth-child(1) { animation-delay: .2s; }
.js .story.has-wind .story__line:nth-child(2) { animation-delay: .38s; }
.js .story.has-wind .story__line:nth-child(3) { animation-delay: .56s; }
.story__num { display: inline-block; text-align: center; transform-origin: 50% 80%; }   /* centred in its locked width while counting */
.js .story__num.is-landed { animation: drum .3s ease-out both; }
.js .story.has-wind .story__body .lead { animation: settle .8s ease-out both; }
.js .story.has-wind .story__body .lead:nth-child(1) { animation-delay: 1.3s; }
.js .story.has-wind .story__body .lead:nth-child(2) { animation-delay: 1.45s; }
@keyframes wind-in {
  0%   { opacity: 0; transform: translateX(-.5em); }
  55%  { opacity: 1; transform: translateX(.04em); }
  100% { opacity: 1; transform: none; }
}
@keyframes settle { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

/* ---------- Social proof ---------- */
.proof { padding: var(--space-7) 0; }
.proof__head { display: grid; gap: var(--space-2); }
.proof__head .lead { margin: 0; }
.proof__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); }
/* Padlet scrolls inside itself: on phones that traps the page scroll, so phones get only the
   "Read our love notes" button (opens Padlet full screen) and the iframe never loads. */
.padlet-embed { display: none; }
@media (min-width: 768px) { .padlet-embed { display: block; } }
@media (max-width: 767px) { .proof__inner { margin-bottom: 0; } }
.padlet-embed { width: 100%; overflow: hidden; border: var(--line-hair) solid var(--divider); border-radius: var(--radius-sm); background: #f4f4f4; }
.padlet-embed iframe { width: 100%; height: 608px; border: 0; }

/* ---------- Closing booking CTA (dark): headline left, prices + booking right ---------- */
.book { background: var(--cnv-black); }
.book__inner { display: grid; gap: var(--space-6); max-width: 1440px; }   /* same frame as "Who are you?" and Our story */
.book__title { font-size: clamp(44px, 11vw, 72px); line-height: 1; }
.book__nowrap { white-space: nowrap; }
.book__panel { display: grid; gap: var(--space-5); max-width: 520px; }

/* Prices: adult leads, child follows; Phudu numbers, bamboo labels, hairline between */
.book__prices { margin: 0; display: grid; border-top: var(--line-hair) solid var(--divider); }
.book__price { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: var(--line-hair) solid var(--divider); }
.book__price dt { color: var(--cnv-bamboo); }
.book__price dd { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1; color: var(--text-muted); white-space: nowrap; }
.book__amount { font-size: 32px; }
.book__unit { font-size: 16px; letter-spacing: .04em; }
.book__price--adult dd { color: var(--cnv-white); }
.book__price--adult .book__amount { font-size: 48px; }
.book__note { font-size: 16px; color: var(--text-muted); }

/* WhatsApp = primary booking button (as in the hero); GetYourGuide = quiet outline */
.book__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.book__wa { min-height: 52px; font-size: 17px; }
.book__wa:hover { background: var(--cnv-white); color: var(--cnv-black); }   /* default hover is black: invisible on this band */
.book__gyg { color: var(--cnv-white); border-color: #5c5c5c; }
.book__gyg:hover { background: transparent; color: var(--cnv-bamboo); border-color: var(--cnv-bamboo); }
@media (max-width: 479px) {
  .book__actions { display: grid; }
  .book__wa { width: 100%; }
  .book__gyg { width: 100%; }
}

@media (min-width: 900px) {
  .book__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-8); align-items: center; }
  .book__title { font-size: clamp(56px, 6.4vw, 96px); line-height: .95; max-width: 8ch; }
  .book__panel { max-width: none; }
}

/* Private Weapon Session: a small, quiet add-on that continues the dark booking band.
   Hairline on top, smaller type, no button: one text link. Same two columns as Price and booking. */
.xp-private { background: var(--cnv-black); color: var(--text); padding: 0 0 var(--space-8); }
.xp-private__inner { display: grid; gap: var(--space-4); max-width: 1440px; }
.xp-private__inner::before { content: ""; grid-column: 1 / -1; height: 0; border-top: var(--line-hair) solid var(--divider); margin-bottom: var(--space-4); }
.xp-private__head { display: grid; gap: var(--space-2); align-content: start; }
.xp-private__title { font-size: 24px; line-height: 1.1; }
.xp-private__kicker { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.xp-private__body { display: grid; gap: var(--space-3); max-width: 56ch; }
.xp-private__body > p { color: var(--text-muted); }
.xp-private__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); font-size: 15px; }
.xp-private__link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--cnv-bamboo); text-decoration: underline; text-decoration-color: var(--cnv-bamboo); text-underline-offset: 4px; }
.xp-private__link:hover { color: var(--cnv-white); }
@media (min-width: 900px) {
  .xp-private__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-8); }
}

/* ---------- Footer: brand / get in touch / follow us ---------- */
.site-footer { background: var(--cnv-black); padding: 0 0 var(--space-4); }   /* the CTA band above supplies the top space */
.site-footer__inner { display: grid; gap: var(--space-6); max-width: 1440px; }
/* Hairline across the content width only (not the gutters), lined up with the CTA above */
.site-footer__inner::before { content: ""; grid-column: 1 / -1; height: var(--line-hair); margin-bottom: var(--space-3); background: var(--divider); }
@media (min-width: 900px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-8); }   /* lines up with the CTA columns above */
  .site-footer__bottom { grid-column: 1 / -1; }
}

/* Brand: submark + tagline, then the in-page links */
.site-footer__brand { display: grid; gap: var(--space-4); align-content: start; }
.site-footer__id { display: grid; gap: var(--space-3); justify-items: start; }
.site-footer__logo { height: 56px; width: auto; }
.site-footer__tagline { font-size: 14px; line-height: 1.5; color: var(--text-muted); max-width: 28ch; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--cnv-white); transition: color .15s; }

/* Contact groups: bamboo label → muted key → white value */
.site-footer__groups { display: grid; gap: var(--space-6); }
@media (min-width: 600px) { .site-footer__groups { grid-template-columns: 1fr 1fr; } }
.site-footer__group h2 { margin: 0 0 var(--space-3); color: var(--cnv-bamboo); }
.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links a {
  display: grid; gap: 2px; align-content: center; min-height: 64px;
  padding: var(--space-2) 0; text-decoration: none; border-bottom: var(--line-hair) solid var(--divider);
}
.site-footer__links li:first-child a { border-top: var(--line-hair) solid var(--divider); }
.site-footer__k { font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.site-footer__v { font-size: 17px; line-height: 1.4; color: var(--cnv-white); overflow-wrap: anywhere; transition: color .15s; }

/* Hover: bamboo on every footer link */
.site-footer__nav a:hover, .site-footer__links a:hover .site-footer__v, .site-footer__top:hover { color: var(--cnv-bamboo); }

.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-4); border-top: var(--line-hair) solid var(--divider); color: var(--text-muted); }
.site-footer__top { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--text-muted); transition: color .15s; }

/* ---------- Sub-page header: current page + booking button ---------- */
.site-nav a[aria-current="page"] { border-bottom: 3px solid var(--cnv-bamboo); padding-bottom: 6px; }
.site-nav a.site-nav__book { color: var(--cnv-bamboo); }
@media (min-width: 900px) {
  .site-nav { align-items: center; }
  .site-nav a.site-nav__book {
    display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-3); margin-left: var(--space-2);
    border: 0; border-radius: var(--radius-sm); background: var(--cnv-bamboo); color: var(--cnv-black);
  }
  .site-nav a.site-nav__book:hover { background: var(--cnv-white); }
}

/* ---------- Experience page (martial arts class) ---------- */
/* Hero: concrete surface, text left, real photo bleeding off the right edge */
.xp-hero { padding: 64px 0 0; }                                   /* clears the fixed header */
.xp-hero__inner { display: grid; }
.xp-hero__text { display: grid; gap: var(--space-5); padding: var(--space-7) var(--space-3) var(--space-6); }
.xp-hero__title { font-size: clamp(40px, 10vw, 64px); line-height: 1; max-width: 14ch; }
.xp-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: var(--line-hair) solid var(--cnv-line); }
.xp-facts > div { padding: var(--space-3) 0; border-bottom: var(--line-hair) solid var(--cnv-line); }
.xp-facts > div:nth-child(odd) { padding-right: var(--space-3); }
.xp-facts dt { font-size: 13px; color: var(--text-muted); }
.xp-facts dd { margin: 0; font-size: 17px; font-weight: 600; }
.xp-hero__price { display: grid; gap: 2px; font-size: 16px; color: var(--text-muted); }
.xp-hero__price strong { color: var(--text); font-size: 18px; }
.xp-hero__media { margin: 0; }
.xp-hero__media img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 62% 75%; }   /* INS07940: keeps the pairs and the railing in frame */
@media (min-width: 768px) { .xp-hero__text { padding-left: var(--space-6); padding-right: var(--space-6); } }
@media (min-width: 960px) {
  .xp-hero__inner { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); min-height: min(720px, calc(100svh - 64px)); }
  .xp-hero__title { font-size: clamp(44px, 4vw, 60px); }
  .xp-hero__text { align-content: center; gap: var(--space-3); padding: var(--space-5) var(--space-7) var(--space-5) max(var(--space-6), calc((100vw - 1440px) / 2 + var(--space-6))); }
  .xp-hero__media { position: relative; }
  .xp-hero__media img { position: absolute; inset: 0; aspect-ratio: auto; }   /* the photo fills the column; the text sets the height */
}

/* About: description left, highlights right */
.xp-about { display: grid; gap: var(--space-6); margin-bottom: var(--space-7); }
.xp-about__desc { display: grid; gap: var(--space-4); }
.xp-about__intro { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; max-width: 30ch; }
.xp-about__highlights .h2 { margin-bottom: var(--space-4); }
@media (min-width: 960px) {
  .xp-about { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-8); }
}

/* Lists with a short bamboo rule instead of bullets */
.xp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.xp-list li { position: relative; padding-left: var(--space-5); }
.xp-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 16px; height: 2px; background: var(--cnv-bamboo); }

/* Class photos: native sideways scroll with snap (swipe on phones), arrow buttons from 768px */
.xp-gallery { display: grid; gap: var(--space-3); }
.xp-gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: var(--space-3);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin;
  padding-bottom: var(--space-2);
}
.xp-gallery__item { margin: 0; scroll-snap-align: start; border-radius: var(--radius-sm); overflow: hidden; background: var(--cnv-line); }
.xp-gallery__item img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.xp-gallery__nav { display: none; justify-content: flex-end; gap: var(--space-2); }
.xp-gallery__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: var(--line-hair) solid var(--text); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; transition: background .15s, color .15s;
}
.xp-gallery__btn:hover { background: var(--text); color: var(--bg); }
.xp-gallery__btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--text); }
@media (min-width: 768px) { .xp-gallery__track { grid-auto-columns: 46%; } .js .xp-gallery__nav { display: flex; } }
@media (min-width: 1200px) { .xp-gallery__track { grid-auto-columns: 38%; } }

/* Details: label left, content right, hairline rows */
.xp-details { border-top: var(--line-hair) solid var(--text); }
.xp-row { display: grid; gap: var(--space-2); padding: var(--space-5) 0; border-bottom: var(--line-hair) solid var(--cnv-line); }
.xp-row__label { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 22px; line-height: 1.1; }
.xp-row__body { display: grid; gap: var(--space-2); max-width: 60ch; }
.xp-row__body a { color: var(--text); text-decoration-color: var(--cnv-bamboo); text-underline-offset: 3px; }
@media (min-width: 768px) {
  .xp-row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-6); }
}

/* ---------- Experience page additions (calligraphy) ---------- */
.xp-hero__lead { font-size: 18px; line-height: 1.5; max-width: 40ch; color: var(--text-muted); }
.xp-hero__media--portrait img { object-position: 50% 40%; }

/* Photo strip with natural ratios (portrait + landscape mixed): same height, width follows the photo */
.xp-gallery--natural .xp-gallery__track { display: flex; }
.xp-gallery--natural .xp-gallery__item { flex: 0 0 auto; height: clamp(280px, 62vw, 460px); }
.xp-gallery--natural .xp-gallery__item img { width: auto; height: 100%; aspect-ratio: auto; }

/* Numbered steps (a real sequence) */
.xp-steps { list-style: none; margin: 0; padding: 0; border-top: var(--line-hair) solid var(--text); }
.xp-steps li { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: var(--line-hair) solid var(--cnv-line); }
.xp-steps__n { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1; color: var(--accent-text); }
.xp-steps h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 22px; line-height: 1.1; margin: 0 0 var(--space-1); }
.xp-steps p { max-width: 60ch; color: var(--text-muted); }
@media (min-width: 768px) {
  .xp-steps li { grid-template-columns: 96px minmax(0, 4fr) minmax(0, 7fr); align-items: baseline; }
  .xp-steps li > div { display: contents; }
  .xp-steps__n { font-size: 48px; }
}

/* Packages: two columns, the popular one marked with a bamboo top rule + tag */
.xp-packages { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .xp-packages { grid-template-columns: 1fr 1fr; align-items: start; } }
.xp-pack { display: grid; gap: var(--space-3); padding: var(--space-5); border: var(--line-hair) solid var(--cnv-line); border-radius: var(--radius-sm); }
.xp-pack--featured { border-top: 4px solid var(--cnv-bamboo); }
.xp-pack__tag { margin: 0; }
.xp-pack__name { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 26px; line-height: 1.1; }
.xp-pack__opt { display: block; font-family: var(--font-body); font-weight: 600; text-transform: none; font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-1); }
.xp-pack__price { font-size: 16px; color: var(--text-muted); }
.xp-pack__amount { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1; color: var(--text); }
.xp-pack__per { display: block; margin-top: var(--space-1); }
.xp-pack__time { font-weight: 600; padding-bottom: var(--space-3); border-bottom: var(--line-hair) solid var(--cnv-line); }

/* Dark booking band: schedule + address rows */
.xp-info { margin: 0; display: grid; border-top: var(--line-hair) solid var(--divider); }
.xp-info > div { display: grid; gap: var(--space-1); padding: var(--space-3) 0; border-bottom: var(--line-hair) solid var(--divider); }
.xp-info dt { color: var(--cnv-bamboo); }
.xp-info dd { margin: 0; font-size: 17px; line-height: 1.6; color: var(--cnv-white); }
.xp-info a { color: var(--cnv-white); text-decoration-color: var(--cnv-bamboo); text-underline-offset: 3px; }
.xp-info a:hover { color: var(--cnv-bamboo); }
.xp-info__map { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ---------- Experiences hub (/experience) ---------- */
.xp-hub { padding: calc(64px + var(--space-7)) 0 var(--space-8); }   /* clears the fixed header */
.xp-hub__head { display: grid; gap: var(--space-4); margin-bottom: var(--space-7); }
.xp-hub__title { font-size: clamp(40px, 9vw, 72px); line-height: 1; max-width: 14ch; }
@media (min-width: 960px) {
  .xp-hub__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-8); align-items: end; }
  .xp-hub__head .lead { padding-bottom: .4em; }
}

/* Two bookable experiences: photo, title, facts, book + details */
.xp-offers { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .xp-offers { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.xp-offer { display: grid; grid-template-rows: auto 1fr; background: var(--cnv-white); border-radius: var(--radius-sm); overflow: hidden; }
.xp-offer__media { display: block; overflow: hidden; }
.xp-offer__media img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.xp-offer:hover .xp-offer__media img { transform: scale(1.03); }
.xp-offer__body { display: grid; grid-template-rows: auto auto 1fr; gap: var(--space-4); padding: var(--space-5); }
.xp-offer__title { font-size: clamp(26px, 3vw, 34px); line-height: 1.05; }
/* Cards side by side: both names on one line at the same size, scaled to the card width
   (the longest, "Mindful Calligraphy Workshop", is ~13.9em wide in Phudu caps) */
@media (min-width: 900px) {
  .xp-offer__body { container-type: inline-size; }
  .xp-offer__title { font-size: min(7cqi, 34px); white-space: nowrap; }
}
.xp-offer__title a { text-decoration: none; color: inherit; }
.xp-offer__title a:hover { color: var(--accent-text); }
.xp-offer__meta { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: var(--line-hair) solid var(--cnv-line); }
.xp-offer__meta > div { display: contents; }
.xp-offer__meta dt, .xp-offer__meta dd { padding: var(--space-2) 0; border-bottom: var(--line-hair) solid var(--cnv-line); }
.xp-offer__meta dt { padding-right: var(--space-4); font-size: 13px; color: var(--text-muted); }
.xp-offer__meta dd { margin: 0; font-weight: 600; }
.xp-offer__actions { display: flex; flex-wrap: wrap; align-items: center; align-self: end; gap: var(--space-2) var(--space-4); }
.xp-offer__more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: var(--cnv-bamboo); text-underline-offset: 4px; }
.xp-offer__more:hover { color: var(--accent-text); }
@media (prefers-reduced-motion: reduce) { .xp-offer__media img { transition: none; } .xp-offer:hover .xp-offer__media img { transform: none; } }

/* Free extras: hairline rows with an arrow */
.xp-extras { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; border-top: var(--line-hair) solid var(--text); }
@media (min-width: 900px) { .xp-extras { grid-template-columns: 1fr 1fr; column-gap: var(--space-5); } }
.xp-extra { display: grid; grid-template-columns: 1fr auto; column-gap: var(--space-4); align-items: center; padding: var(--space-4) 0; border-bottom: var(--line-hair) solid var(--cnv-line); text-decoration: none; color: var(--text); min-height: 44px; }
.xp-extra__title { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 22px; line-height: 1.1; }
.xp-extra__text { grid-column: 1; color: var(--text-muted); }
.xp-extra__arrow { grid-column: 2; grid-row: 1 / span 2; transition: transform .2s; }
.xp-extra:hover .xp-extra__title { color: var(--accent-text); }
.xp-extra:hover .xp-extra__arrow { transform: translateX(4px); }

/* Why try this + about the host */
.xp-why { display: grid; gap: var(--space-7); }
.xp-why__main { display: grid; gap: var(--space-4); align-content: start; }
.xp-why__main .section__title { margin-bottom: 0; }
.xp-why__lead { font-weight: 600; }
.xp-why__host { display: grid; gap: var(--space-3); align-content: start; }
.xp-why__host h2 { padding-top: var(--space-3); border-top: 3px solid var(--cnv-bamboo); }   /* bamboo rule between the photo and the heading */
.xp-why__host p { color: var(--text-muted); max-width: 52ch; }
.xp-why__photo { margin: 0 0 var(--space-1); border-radius: var(--radius-sm); overflow: hidden; background: var(--cnv-line); }
.xp-why__photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 960px) { .xp-why { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: var(--space-8); } }

/* What people say */
.xp-say__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }

/* Breadcrumb on experience sub-pages */
.crumbs { font-size: 14px; color: var(--text-muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--cnv-line); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--cnv-bamboo); text-underline-offset: 3px; }

/* ---------- Guide (/guide) ---------- */
/* Muli ships no italic: show emphasis upright (no faux italic) */
.gd-block em { font-style: normal; font-weight: 600; }

.gd-intro { padding: calc(64px + var(--space-7)) 0 var(--space-7); }
.gd-intro__inner { display: grid; gap: var(--space-5); }
.gd-intro__title { font-size: clamp(44px, 10vw, 80px); line-height: 1; }
.gd-intro__host { display: grid; gap: var(--space-2); }
.gd-intro__host .lead { margin: 0; }
@media (min-width: 960px) {
  .gd-intro__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: var(--space-8); align-items: end; }
}

/* Jump links: stick under the fixed header */
.gd-toc { position: sticky; top: 64px; z-index: 40; background: var(--cnv-white); border-bottom: var(--line-hair) solid var(--cnv-line); }
.gd-toc__list { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-4); overflow-x: auto; scrollbar-width: none; }
.gd-toc__list::-webkit-scrollbar { display: none; }
.gd-toc a { display: inline-flex; align-items: center; min-height: 48px; white-space: nowrap; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text-muted); border-bottom: 3px solid transparent; }
.gd-toc a:hover { color: var(--text); }
.gd-toc a[aria-current="true"] { color: var(--text); border-bottom-color: var(--cnv-bamboo); }
.gd-block { scroll-margin-top: 112px; }   /* header + jump bar */

/* Before you come: info cards, emergency card dark */
.gd-cards { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .gd-cards { grid-template-columns: 1fr 1fr; } }   /* 4 cards: two by two from tablet up */
.gd-card { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-5); border: var(--line-hair) solid var(--cnv-line); border-radius: var(--radius-sm); }
.gd-card__title { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 22px; line-height: 1.1; }
.gd-card a { color: var(--text); text-decoration-color: var(--cnv-bamboo); text-underline-offset: 3px; }
.gd-say { display: inline-flex; align-items: baseline; gap: var(--space-1); margin: var(--space-1) var(--space-2) var(--space-1) 0; padding: 2px var(--space-2); border-radius: var(--radius-sm); background: var(--cnv-concrete); }
.gd-say__word { font-family: var(--font-display); font-weight: 500; font-size: 20px; text-transform: uppercase; }
.gd-say__mean { font-size: 13px; color: var(--text-muted); }
.gd-card--sos { background: var(--cnv-black); border-color: var(--cnv-black); color: var(--cnv-white); }
.gd-card--sos .gd-card__title { color: var(--cnv-bamboo); }
.gd-sos { margin: 0; display: grid; gap: var(--space-3); }
.gd-sos dt { font-size: 14px; color: #b3b3b3; }
.gd-sos dd { margin: 0; }
.gd-sos a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cnv-white); font-size: 20px; font-weight: 600; text-decoration-color: var(--cnv-bamboo); }
.gd-sos a.gd-sos__115 { font-family: var(--font-display); font-weight: 500; font-size: 56px; line-height: 1; text-decoration: none; }
.gd-sos a:hover { color: var(--cnv-bamboo); }

/* About VTMA: 30-second summary */
/* Same pattern as the features in How to engage: black title, muted text, one bamboo bar on top of each item.
   1 column on phones, 2 from 600px, 4 from 1100px, so lines never run the full width. */
.gd-quick__title { font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--text); margin: var(--space-6) 0 var(--space-4); }
.gd-quick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
.gd-quick li { display: grid; gap: var(--space-2); align-content: start; padding-top: var(--space-3); border-top: 3px solid var(--cnv-bamboo); }
.gd-quick li > span:last-child { color: var(--text-muted); max-width: 40ch; }
.gd-quick__big { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: clamp(26px, 3vw, 34px); line-height: 1; color: var(--text); }
@media (min-width: 600px) {
  .gd-quick { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-6); }
  .gd-quick__big { min-height: 2em; }   /* titles keep two lines of room so the texts start level */
}
@media (min-width: 1100px) {
  .gd-quick { grid-template-columns: repeat(4, 1fr); column-gap: var(--space-5); }
}

/* Folded full story */
.gd-more { margin-top: var(--space-5); border-top: var(--line-hair) solid var(--cnv-line); border-bottom: var(--line-hair) solid var(--cnv-line); }
.gd-more summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; list-style: none; font-weight: 600; }
.gd-more summary::-webkit-details-marker { display: none; }
.gd-more summary::after { content: "+"; font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--accent-text); }
.gd-more[open] summary::after { content: "\2212"; }
.gd-more summary:hover span { text-decoration: underline; text-decoration-color: var(--cnv-bamboo); text-underline-offset: 4px; }
.gd-more__body { display: grid; gap: var(--space-6); padding: var(--space-3) 0 var(--space-6); }
.gd-sub { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 26px; line-height: 1.1; }
.gd-story { display: grid; gap: var(--space-5); }
.gd-story__text { display: grid; gap: var(--space-3); }
.gd-story__text p { max-width: 68ch; }
@media (min-width: 960px) { .gd-story { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-7); align-items: start; } }

/* Lite YouTube: thumbnail, player on click */
.gd-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--cnv-black); }
.gd-video__btn, .gd-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gd-video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.gd-video__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; background: var(--cnv-bamboo); color: var(--cnv-black); transition: transform .2s; }
.gd-video__btn:hover .gd-video__play { transform: scale(1.06); }

.gd-quote { margin: 0; padding-left: var(--space-5); border-left: 3px solid var(--cnv-bamboo); display: grid; gap: var(--space-2); }
.gd-quote blockquote { margin: 0; }
.gd-quote p { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; max-width: 62ch; }
.gd-quote figcaption { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.gd-debate { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
.gd-debate a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--text); text-decoration-color: var(--cnv-bamboo); text-underline-offset: 3px; }

/* Vo Dao: full-bleed centred band on the ivory ink-wash art (guide-vo-dao-ivory; design system 7, exception).
   The art covers the band anchored at the bottom: text and the CSS quote frame sit on the empty paper,
   the mountains and the figure show below, then fade into ink for the closing words. */
.gd-flush { padding-bottom: 0; }
.gd-dao { --gd-paper: #fdf8ec; margin-top: var(--space-8); text-align: center; }   /* paper colour sampled from the art */
.gd-dao__scene { position: relative; isolation: isolate; overflow: hidden; background: var(--gd-paper); padding: var(--space-8) 0 330px; }   /* phones: room for the figure on the cliff below the quote */
.gd-dao__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.gd-dao__scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; z-index: -1; pointer-events: none; background: linear-gradient(transparent, rgba(0,0,0,.5) 50%, var(--cnv-black)); }   /* mist into ink */
.gd-dao__intro { display: grid; gap: var(--space-3); justify-items: center; }
.gd-dao__lead { max-width: 52ch; font-size: 18px; line-height: 1.6; }
/* Quote frame, drawn in CSS: warm translucent panel + one bamboo bar on the left */
.gd-dao__quote { margin: var(--space-6) 0 0; width: 100%; max-width: 880px; padding: var(--space-5) var(--space-5) var(--space-5) calc(var(--space-5) + 3px); background: rgba(214, 196, 166, .22); border-left: 3px solid var(--cnv-bamboo); }
.gd-dao__quote p { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: clamp(20px, 2.3vw, 30px); line-height: 1.25; color: var(--cnv-black); text-wrap: balance; }
@media (min-width: 768px) {
  .gd-dao__scene { padding-bottom: 34vw; }   /* art is 5:4; hills start ~38% from its bottom, the figure ~27%: text ends just above the hills */
  .gd-dao__quote { padding: var(--space-6) var(--space-7); }
}
/* The answer, on ink: definition read left-aligned in a narrow centred column, then Nhân · Trí · Dũng as the close */
.gd-dao__outro { background: var(--cnv-black); color: var(--text); padding: var(--space-5) 0 var(--space-8); }
.gd-dao__outro-inner { display: grid; gap: var(--space-6); justify-items: center; }
.gd-dao__outro-inner > p:first-child { max-width: 62ch; text-align: left; font-size: 18px; line-height: 1.65; }
.gd-dao__keys { list-style: none; margin: 0; padding: var(--space-6) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-5) var(--space-7); border-top: var(--line-hair) solid var(--divider); width: 100%; max-width: 62ch; }
.gd-dao__keys li { display: grid; gap: var(--space-1); justify-items: center; }
.gd-dao__keys .cnv-key { font-family: var(--font-quote); text-transform: uppercase; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; color: var(--accent-text); }
.gd-dao__keys li > span:last-child { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--text-muted); }
.gd-dao__outro-inner .caption { color: var(--text-muted); }

/* Philosophy: four principles, each with its historical illustration and caption (full Notion text) */
.gd-philo__intro { max-width: 44ch; margin-bottom: var(--space-4); }
.gd-philo__quote { margin-bottom: var(--space-4); }
.gd-principles { list-style: none; margin: var(--space-6) 0 0; padding: 0; border-top: var(--line-hair) solid var(--text); }
.gd-principle { display: grid; gap: var(--space-4); padding: var(--space-6) 0; border-bottom: var(--line-hair) solid var(--cnv-line); }
.gd-principle__head { display: grid; gap: var(--space-2); align-content: start; }
/* Principle names are sayings (câu đạo lý): SVN-Rebahan, its only weight (400, no faux bold) */
.gd-principle__vi { font-family: var(--font-quote); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15; }
.gd-principle__en { font-size: 19px; font-weight: 600; color: var(--accent-text); }
.gd-principle__body { display: grid; gap: var(--space-4); }
.gd-principle__idea { font-size: 18px; line-height: 1.65; max-width: 62ch; padding-left: var(--space-4); border-left: 3px solid var(--cnv-bamboo); }
.gd-art { margin: 0; display: grid; gap: var(--space-3); }
.gd-art img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); background: var(--cnv-concrete); }
.gd-art figcaption { font-size: 16px; line-height: 1.6; color: var(--text); max-width: 68ch; padding-left: var(--space-3); border-left: var(--line-hair) solid var(--cnv-line); }   /* full-size, full-contrast: these are the stories, not footnotes */
.gd-art figcaption strong { color: var(--text); }
.gd-logo-note { margin: 0; display: grid; grid-template-columns: 64px 1fr; gap: var(--space-3); align-items: center; padding: var(--space-3); background: var(--bg-alt); border-radius: var(--radius-sm); }
.gd-logo-note img { width: 64px; height: auto; }
.gd-logo-note figcaption { font-size: 16px; line-height: 1.5; }
@media (min-width: 900px) {
  .gd-principle { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-7); align-items: start; }
  .gd-principle__head { position: sticky; top: 136px; }   /* the name stays in view while reading the story */
}

/* The curriculum: tagline, text, three numbered layers (same rhythm as the principles list), schools folded */
.gd-curr { margin-top: var(--space-8); display: grid; gap: var(--space-3); }
.gd-curr__tag { max-width: 44ch; margin-top: var(--space-1); }
.gd-curr__text { max-width: 62ch; }
.gd-layers { list-style: none; margin: var(--space-4) 0 0; padding: 0; border-top: var(--line-hair) solid var(--text); }
.gd-layer { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--space-4); padding: var(--space-5) 0; border-bottom: var(--line-hair) solid var(--cnv-line); }
.gd-layer__num { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1; color: var(--accent-text); }   /* bamboo-dark, large text only */
.gd-layer__body { display: grid; gap: var(--space-3); align-content: start; }
.gd-layer__body > p { max-width: 62ch; }
.gd-layer__title { margin: 0; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 24px; line-height: 1.1; }
.gd-layer__title span { text-transform: none; font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--text-muted); }
@media (min-width: 900px) {
  .gd-layer { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-7); }
  .gd-layer__num { font-size: 48px; }
}
/* Explore the schools (folded): four regions, two columns from tablet */
.gd-schools { margin-top: var(--space-6); }
.gd-schools__body { display: grid; gap: var(--space-5); padding: var(--space-3) 0 var(--space-6); }
.gd-schools__intro { color: var(--text-muted); }
.gd-schools__grid { display: grid; gap: var(--space-6); }
@media (min-width: 768px) { .gd-schools__grid { grid-template-columns: 1fr 1fr; column-gap: var(--space-7); } }
.gd-region { display: grid; gap: var(--space-3); align-content: start; }
.gd-region__title { margin: 0; padding-top: var(--space-3); border-top: 3px solid var(--cnv-bamboo); font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 22px; line-height: 1.15; }
.gd-region__title span { text-transform: none; font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--text-muted); }
.gd-region__note { font-weight: 600; }
.gd-region__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.gd-region__list li { color: var(--text-muted); line-height: 1.6; }
.gd-region__list li > strong { color: var(--text); }
.gd-region__list li > strong::after { content: ":"; }   /* "Name: description", as in content/guide.md */
/* The long name lists fold away (the page is long on phones); open, they read the same as before */
.gd-fold { border-top: var(--line-hair) solid var(--cnv-line); }
.gd-fold summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; }
.gd-fold summary::-webkit-details-marker { display: none; }
.gd-fold summary::after { content: "+"; font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--accent-text); }
.gd-fold[open] summary::after { content: "\2212"; }
.gd-fold summary:hover span { text-decoration: underline; text-decoration-color: var(--cnv-bamboo); text-underline-offset: 4px; }
.gd-fold .gd-tags { padding-bottom: var(--space-2); }
.gd-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.gd-tags li { padding: 6px var(--space-3); border-radius: 999px; background: var(--cnv-white); border: var(--line-hair) solid var(--cnv-line); font-size: 14px; }
.gd-tags--pairs li { color: var(--text-muted); }
.gd-tags--pairs li span { color: var(--text); font-weight: 600; margin-right: 4px; }

/* Next: explore */
.gd-next__inner { display: grid; gap: var(--space-5); justify-items: start; }
.gd-next__title { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.05; max-width: 22ch; }
@media (min-width: 900px) { .gd-next__inner { grid-template-columns: 1fr auto; align-items: end; column-gap: var(--space-7); } }
@media (max-width: 479px) { .gd-next__actions, .gd-next__actions .cnv-btn { width: 100%; } }   /* two links stack full width on phones */

/* Reduced motion: show the final, complete poster immediately; nothing moves */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__hat, .js .hero__beat, .js .hero__script, .js .hero__body { animation: none; }
  .js .story__bamboo, .js .story.is-windy .story__bamboo { animation: none; rotate: none; transition: none; opacity: .7; }
  .js .story__eyebrow, .js .story__line, .js .story__body .lead, .js .story__num { animation: none !important; opacity: 1; }
}
