/* Lopburi Muay Thai: shared design system. Tokens first; every page reuses them. */

@font-face { font-family: "Kanit"; src: url("../fonts/kanit-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Kanit"; src: url("../fonts/kanit-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Kanit"; src: url("../fonts/kanit-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Colour */
  --ink: #0b0b0c;
  --ink-2: #131314;
  --ink-3: #1c1c1e;
  --char: #303030;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(11, 11, 12, .14);
  --red: #e71f26;
  --red-hover: #c9141b;
  --red-on-dark: #ff4a50;
  --red-on-light: #c4151c;
  --gold: #d4a64a;
  --gold-soft: rgba(212, 166, 74, .35);
  --bone: #f3ede3;
  --bone-2: #e9e1d3;
  --white: #ffffff;
  --text-dark: #f4f1ec;
  --muted-dark: #b3aea6;
  --text-light: #17171a;
  --muted-light: #57534d;

  /* Type */
  --font-display: "Kanit", "Arial Narrow", Impact, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
  --fs-h4: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-h3: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --fs-h2: clamp(2.25rem, 1.6rem + 2.8vw, 4rem);
  --fs-h1: clamp(3rem, 1.9rem + 5.4vw, 7rem);
  --fs-mega: clamp(5rem, 2rem + 14vw, 17rem);
  --lh-tight: .95;
  --lh-snug: 1.15;
  --lh-body: 1.65;
  --track-caps: .14em;

  /* Space */
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 9rem);
  --wrap: 1240px;
  --gutter: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  --header-h: 76px;

  /* Shape and motion */
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .5s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: var(--lh-tight); margin: 0; letter-spacing: -.01em; text-transform: uppercase; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }

.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 200; background: var(--white); color: var(--ink); padding: var(--s-3) var(--s-4); font-weight: 700; border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--s-4); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--flush-top { padding-top: 0; }
.section--ink-2 { background: var(--ink-2); }
.section--light { background: var(--bone); color: var(--text-light); }
.section--light .eyebrow { color: var(--red-on-light); }
.section--light .lede, .section--light .muted { color: var(--muted-light); }
.section--red { background: var(--red); color: #fff; }
.grid-2 { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

/* Type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-family: var(--font-body); font-weight: 700; font-size: var(--fs-xs); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--red-on-dark); margin-bottom: var(--s-5); }
.eyebrow .thai-num { font-family: var(--font-display); font-size: 1.5em; letter-spacing: 0; color: var(--gold); line-height: 1; }
.eyebrow::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .6; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
.h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); }
.h2 em, .h1 em, .h3 em { font-style: italic; color: var(--red-on-dark); }
.section--light .h2 em, .section--light .h3 em { color: var(--red-on-light); }
.lede { font-size: var(--fs-lg); color: var(--muted-dark); max-width: 38em; line-height: 1.6; }
.muted { color: var(--muted-dark); }
.thai { font-family: var(--font-display); font-weight: 700; text-transform: none; letter-spacing: 0; }
.section-head { max-width: 760px; margin-bottom: var(--s-8); }
.section-head .h2 { margin-bottom: var(--s-5); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .6; }

/* Buttons */
.btn { --btn-bg: var(--red); --btn-fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .85em 1.6em; border: 2px solid var(--btn-bg); border-radius: var(--radius-sm); background: var(--btn-bg); color: var(--btn-fg); font-family: var(--font-body); font-weight: 700; font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:hover { --btn-bg: var(--red-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .08); border-color: #fff; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--char); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--white:hover { --btn-bg: var(--bone); }
.btn--sm { min-height: 42px; padding: .55em 1.1em; font-size: var(--fs-xs); }
.btn--lg { min-height: 60px; padding: 1em 2em; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.section--light .btn--ghost { --btn-fg: var(--ink); border-color: rgba(11, 11, 12, .35); }
.section--light .btn--ghost:hover { --btn-bg: rgba(11, 11, 12, .05); border-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; background: rgba(11, 11, 12, .92); border-bottom: 1px solid var(--line-dark); transition: background .3s, border-color .3s, backdrop-filter .3s; }
.site-header--overlay { background: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent); border-bottom-color: transparent; }
.site-header.is-scrolled { background: rgba(11, 11, 12, .9); border-bottom-color: var(--line-dark); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-5); width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; flex: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.brand__text { display: none; line-height: 1; }
.brand__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; }
.brand__sub { display: block; font-size: .6875rem; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted-dark); margin-top: 4px; }
@media (min-width: 560px) { .brand__text { display: block; } }
.nav { display: none; margin-left: auto; }
.nav__list { display: flex; gap: clamp(.9rem, .2rem + 1.2vw, 1.8rem); list-style: none; margin: 0; padding: 0; }
.nav__link { position: relative; font-size: var(--fs-sm); font-weight: 700; text-decoration: none; padding-block: .5em; color: rgba(255, 255, 255, .86); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; }
.header-actions .btn--portal { display: none; }
@media (min-width: 1080px) {
  .nav { display: block; }
  .header-actions { margin-left: var(--s-5); }
  .header-actions .btn--portal { display: inline-flex; }
  .header-actions .menu-toggle { display: none; }
}
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); background: transparent; cursor: pointer; }
.menu-toggle__bars { position: relative; width: 22px; height: 2px; background: #fff; transition: background .2s; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff; transition: transform .25s var(--ease); }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 420px) { .header-actions .btn--cta { padding-inline: .9em; } }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--ink); padding: var(--s-6) var(--gutter) var(--s-8); overflow-y: auto; display: flex; flex-direction: column; gap: var(--s-6); }
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list a { display: flex; justify-content: space-between; align-items: baseline; padding: .55em 0; border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem); text-transform: uppercase; text-decoration: none; line-height: 1.1; }
.mobile-menu__list a span { font-size: 1rem; color: var(--gold); }
.mobile-menu__foot { display: grid; gap: var(--s-3); margin-top: auto; }
.mobile-menu__foot p { color: var(--muted-dark); font-size: var(--fs-sm); margin: var(--s-3) 0 0; }
body.menu-open { overflow: hidden; }

/* Page hero for inner pages */
.page-hero { position: relative; min-height: clamp(420px, 60vh, 620px); display: flex; align-items: flex-end; padding: calc(var(--header-h) + var(--s-8)) 0 var(--s-8); overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--ink) 4%, rgba(11, 11, 12, .55) 55%, rgba(11, 11, 12, .45)); }
.page-hero .h1 { max-width: 14ch; }
.page-hero .lede { margin-top: var(--s-5); color: rgba(255, 255, 255, .85); }
.breadcrumb { font-size: var(--fs-xs); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted-dark); margin-bottom: var(--s-4); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* Home hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.64); }
.hero__video { opacity: 0; transition: opacity .8s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__toggle { position: absolute; z-index: 2; right: var(--gutter); top: calc(var(--header-h) + var(--s-4)); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(11, 11, 12, .45); color: #fff; cursor: pointer; opacity: .75; transition: opacity .2s, border-color .2s; }
.hero__toggle[hidden] { display: none; }
.hero__toggle:hover, .hero__toggle:focus-visible { opacity: 1; border-color: #fff; }
.hero__toggle svg { width: 14px; height: 14px; }
.hero__toggle .hero__toggle-play { display: none; }
.hero__toggle[aria-pressed="true"] .hero__toggle-play { display: block; }
.hero__toggle[aria-pressed="true"] .hero__toggle-pause { display: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(to top, var(--ink) 0%, rgba(11, 11, 12, .88) 24%, rgba(11, 11, 12, .5) 62%, rgba(11, 11, 12, .68) 100%),
  linear-gradient(to right, rgba(11, 11, 12, .82) 0%, rgba(11, 11, 12, .35) 55%, rgba(11, 11, 12, .1) 100%); }
.hero__thai { position: absolute; z-index: -1; right: -.04em; top: calc(var(--header-h) - .05em); font-size: var(--fs-mega); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .2); pointer-events: none; user-select: none; }
.hero__content { padding-top: calc(var(--header-h) + var(--s-8)); padding-bottom: var(--s-7); }
.hero__eyebrow { color: #fff; }
.hero__eyebrow::after { background: var(--red); opacity: 1; }
@media (max-width: 479px) { .hero__eyebrow::after { display: none; } }
.hero__title { font-size: var(--fs-h1); max-width: 15ch; text-shadow: 0 2px 28px rgba(0, 0, 0, .6); }
.hero__title .accent { color: var(--red); display: block; }
.hero__lede { margin-top: var(--s-5); max-width: 36em; font-size: var(--fs-lg); color: rgba(255, 255, 255, .94); text-shadow: 0 1px 16px rgba(0, 0, 0, .7); }
.hero__ctas { margin-top: var(--s-6); }
.hero__facts { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-dark); margin-top: var(--s-7); }
.hero__fact { display: grid; grid-template-columns: 3.25rem 1fr; gap: var(--s-3); align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--line-dark); font-size: var(--fs-sm); color: rgba(255, 255, 255, .8); }
.hero__fact strong { font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; color: #fff; letter-spacing: .02em; }
.hero__fact .thai { color: var(--gold); font-size: 1.6rem; line-height: 1; text-align: center; }
@media (min-width: 760px) {
  .hero__facts { grid-template-columns: repeat(3, 1fr); }
  .hero__fact { border-bottom: 0; padding: var(--s-5) var(--s-5) var(--s-5) 0; }
  .hero__fact + .hero__fact { border-left: 1px solid var(--line-dark); padding-left: var(--s-5); }
}
.play-chip { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--ink); }
.play-chip svg { width: 12px; height: 12px; margin-left: 2px; }

/* Ribbon marquee */
.ribbon { background: var(--red); color: #fff; overflow: hidden; border-block: 1px solid rgba(0, 0, 0, .2); }
.ribbon__track { display: flex; width: max-content; animation: ribbon 38s linear 4; }
.ribbon:hover .ribbon__track, .ribbon:focus-within .ribbon__track, .motion-paused .ribbon__track { animation-play-state: paused; }
.ribbon__group { display: flex; align-items: center; flex: none; }
.ribbon__item { display: inline-flex; align-items: center; gap: 1.25rem; padding: .9rem 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, .9rem + .6vw, 1.4rem); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.ribbon__item::after { content: ""; width: 9px; height: 9px; background: #fff; transform: rotate(45deg); flex: none; margin-left: 1.25rem; }
.ribbon__item .thai { font-size: 1.1em; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* Ring ropes divider */
.ropes { display: grid; gap: 6px; padding-block: var(--s-2); }
.ropes span { display: block; height: 2px; background: var(--red); }
.ropes span:nth-child(2) { background: #fff; opacity: .7; }
.ropes span:nth-child(3) { background: var(--gold); }

/* Eight limbs */
.limbs { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.limbs { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1040px) { .limbs { grid-template-columns: repeat(4, 1fr); } }
.limb { position: relative; background: var(--ink); padding: var(--s-5) var(--s-4); min-height: 240px; display: flex; flex-direction: column; overflow: hidden; transition: background .3s; }
.limb:hover { background: var(--ink-3); }
@media (min-width: 640px) { .limb { padding: var(--s-6) var(--s-5); min-height: 300px; } }
.limb__count { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted-dark); }
.limb__thai { font-size: clamp(2.75rem, 2.2rem + 3vw, 5.25rem); line-height: 1.15; color: var(--red); margin-top: var(--s-4); }
.limb__name { font-size: var(--fs-h4); margin-top: var(--s-2); }
.limb__name small { display: block; font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: var(--track-caps); color: var(--gold); margin-top: 6px; }
.limb p { margin-top: auto; padding-top: var(--s-5); color: var(--muted-dark); font-size: var(--fs-sm); }
.clinch { display: grid; gap: var(--s-5); align-items: center; margin-top: var(--s-5); padding: var(--s-6) var(--s-5); border: 1px solid var(--gold-soft); border-radius: var(--radius); background: linear-gradient(120deg, rgba(212, 166, 74, .08), transparent 60%); }
@media (min-width: 900px) { .clinch { grid-template-columns: auto 1fr auto; gap: var(--s-7); padding-inline: var(--s-7); } }
.clinch .thai { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); color: var(--gold); line-height: 1.2; }
.clinch p { color: var(--muted-dark); max-width: 46em; }
.clinch h3 { font-size: var(--fs-h4); margin-bottom: var(--s-2); }

/* Media frames */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
figure.frame { margin: 0; }
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--5x3 { aspect-ratio: 5 / 3; }
.frame__caption { position: absolute; left: var(--s-4); bottom: var(--s-4); font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; background: rgba(11, 11, 12, .75); padding: .4em .8em; border-radius: var(--radius-sm); color: #fff; }

/* Kru section */
.kru { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .kru { grid-template-columns: 1.05fr 1fr; gap: var(--s-9); } }
.kru__visual { position: relative; padding: 0 0 var(--s-8) var(--s-6); }
.kru__photo { aspect-ratio: 3 / 2; }
.kru__cutout { position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 857 / 961; overflow: hidden; background: linear-gradient(160deg, var(--red) 0%, #8e0d12 100%); border-radius: var(--radius); box-shadow: var(--shadow); outline: 6px solid var(--ink-2); }
.kru__cutout img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.kru__tag { position: absolute; right: 0; bottom: var(--s-4); text-align: right; }
@media (max-width: 599px) { .kru__tag span:last-child { display: none; } .kru__visual { padding-left: var(--s-4); } }
.kru__tag .thai { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.5rem); color: var(--gold); line-height: 1; display: block; }
.kru__tag span:last-child { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted-dark); }
.pull { margin: var(--s-6) 0; padding-left: var(--s-5); border-left: 3px solid var(--red); }
.pull p { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: var(--fs-h4); line-height: 1.3; color: #fff; }
.pull cite { display: block; margin-top: var(--s-3); font-style: normal; font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted-dark); }
.section--light .pull p { color: var(--text-light); }
.section--light .pull cite { color: var(--muted-light); }
.coach-mini { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-6); padding: var(--s-4); border: 1px solid var(--line-dark); border-radius: var(--radius); max-width: 420px; }
.coach-mini img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--char); }
.coach-mini strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; }
.coach-mini span { font-size: var(--fs-sm); color: var(--muted-dark); }

/* Respect section */
.respect { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .respect { grid-template-columns: 1fr 1.1fr; gap: var(--s-9); } }
.respect__visual { position: relative; aspect-ratio: 4 / 5; max-height: 640px; width: 100%; max-width: 520px; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(120% 80% at 50% 100%, #2a2522 0%, #151312 60%); }
.respect__visual img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 94%; width: auto; max-width: none; }
.respect__visual .thai { position: absolute; top: var(--s-5); left: var(--s-5); font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 1; color: var(--gold); opacity: .9; }
.principles { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.principles li { display: grid; grid-template-columns: 3.25rem 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line-light); }
.principles .thai-num { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--red-on-light); }
.principles h3 { font-size: 1.25rem; line-height: var(--lh-snug); margin-bottom: 4px; }
.principles p { color: var(--muted-light); font-size: var(--fs-sm); }

/* Fight team mosaic */
.mosaic { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
.mosaic .frame { aspect-ratio: 1; }
.mosaic .frame--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; }
  .mosaic .frame { aspect-ratio: auto; }
  .mosaic .m-1 { grid-column: 1 / 8; grid-row: 1 / 5; }
  .mosaic .m-2 { grid-column: 8 / 13; grid-row: 1 / 4; }
  .mosaic .m-3 { grid-column: 8 / 13; grid-row: 4 / 7; }
  .mosaic .m-4 { grid-column: 1 / 4; grid-row: 5 / 7; }
  .mosaic .m-5 { grid-column: 4 / 8; grid-row: 5 / 7; }
}
.tracks { display: grid; gap: var(--s-4); margin-top: var(--s-7); }
@media (min-width: 760px) { .tracks { grid-template-columns: 1fr 1fr; } }
.track { padding: var(--s-6); border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--line-dark); }
.track--fight { background: linear-gradient(140deg, rgba(231, 31, 38, .22), rgba(231, 31, 38, .04) 60%), var(--ink-3); border-color: rgba(231, 31, 38, .4); }
.track__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold); }
.track h3 { font-size: var(--fs-h3); margin: var(--s-3) 0 var(--s-4); }
.track ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); color: var(--muted-dark); font-size: var(--fs-sm); }
.track li { display: flex; gap: var(--s-3); }
.track li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .6em; background: var(--red); transform: rotate(45deg); }

/* Reel band */
.reel { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 82vh; border: 0; padding: 0; background: var(--ink); cursor: pointer; overflow: hidden; border-radius: var(--radius-lg); color: #fff; text-align: left; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .1) 55%); }
.reel:hover img { transform: scale(1.03); }
.reel__inner { position: absolute; inset: auto 0 0 0; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); padding: clamp(1.25rem, .5rem + 3vw, 3rem); }
.reel__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--fs-h2); line-height: var(--lh-tight); }
.reel__meta { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: rgba(255, 255, 255, .8); margin-top: var(--s-3); font-family: var(--font-body); }
.reel__play { flex: none; display: grid; place-items: center; width: clamp(64px, 50px + 4vw, 112px); aspect-ratio: 1; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(231, 31, 38, .6); animation: pulse 2.4s infinite; }
.reel__play svg { width: 34%; height: 34%; margin-left: 6%; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(231, 31, 38, 0); } 100% { box-shadow: 0 0 0 0 rgba(231, 31, 38, 0); } }
.reel-dialog { width: min(1200px, 94vw); max-width: none; padding: 0; border: 0; background: #000; border-radius: var(--radius); overflow: visible; }
.reel-dialog::backdrop { background: rgba(0, 0, 0, .88); }
.reel-dialog video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); }
.reel-dialog__close { position: absolute; right: 0; top: -56px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.reel-dialog__close svg { width: 20px; height: 20px; }

/* Steps and offer */
.offer { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 1000px) { .offer { grid-template-columns: 1fr 480px; gap: var(--s-9); } }
.steps { list-style: none; margin: var(--s-6) 0 0; padding: 0; counter-reset: step; display: grid; gap: var(--s-5); }
.steps li { position: relative; padding-left: 4.25rem; }
.steps li::before { counter-increment: step; content: counter(step, thai); position: absolute; left: 0; top: -.1em; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; background: var(--red); }
.steps h3 { font-size: 1.3rem; line-height: var(--lh-snug); margin-bottom: 4px; }
.steps p { color: var(--muted-light); font-size: var(--fs-sm); }
.offer__note { margin-top: var(--s-6); font-size: var(--fs-sm); color: var(--muted-light); }
.offer__note a { font-weight: 700; color: var(--text-light); }

/* Lead form card */
.form-card { position: relative; background: var(--ink); color: var(--text-dark); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow); overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 60%, var(--gold) 60% 80%, #fff 80%); }
.form-card__badge { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-3); }
.form-card h3 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.form-card > p { color: var(--muted-dark); font-size: var(--fs-sm); margin-bottom: var(--s-5); }
.lead-form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.field input, .field select { width: 100%; min-height: 54px; padding: .8em 1em; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .22); background: var(--ink-3); color: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; background-size: 18px; padding-right: 2.75em; }
.field input::placeholder { color: rgba(255, 255, 255, .45); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field input:user-invalid { border-color: var(--red-on-dark); }
.field-row { display: grid; gap: var(--s-4); }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-legal { font-size: .75rem; color: var(--muted-dark); line-height: 1.5; }
.form-legal a { color: #fff; }
.form-status:empty { display: none; }
.form-status { font-size: var(--fs-sm); min-height: 1.2em; }
.form-status.is-error { color: var(--red-on-dark); }
.lead-form button[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-perks { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--muted-dark); }
.form-perks span { display: inline-flex; align-items: center; gap: 6px; }
.form-perks svg { width: 14px; height: 14px; color: var(--gold); }

/* Reviews */
.review-feature { display: grid; gap: var(--s-6); align-items: center; padding-bottom: var(--s-8); border-bottom: 1px solid var(--line-dark); margin-bottom: var(--s-7); }
@media (min-width: 960px) { .review-feature { grid-template-columns: 1.6fr 1fr; gap: var(--s-8); } }
.review-feature blockquote { margin: 0; }
.review-feature blockquote p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.25rem); line-height: 1.2; text-transform: none; letter-spacing: -.01em; }
.review-feature blockquote p::before { content: "\201C"; display: block; font-size: 2.2em; line-height: .5; height: .45em; color: var(--red); }
.review-feature cite, .review cite { display: flex; align-items: center; gap: var(--s-3); font-style: normal; margin-top: var(--s-5); font-weight: 700; font-size: var(--fs-sm); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.reviews { display: flex; gap: var(--s-3); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--s-3); scrollbar-width: thin; }
.reviews > .review { flex: 0 0 84%; scroll-snap-align: center; margin: 0; }
@media (min-width: 680px) { .reviews { display: block; columns: 2; column-gap: var(--s-4); overflow: visible; margin-inline: 0; padding: 0; } .reviews > .review { margin: 0 0 var(--s-4); } }
@media (min-width: 1040px) { .reviews { columns: 3; } }
.review { break-inside: avoid; margin: 0 0 var(--s-4); padding: var(--s-5); background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.review blockquote { margin: 0; }
.review p { font-size: var(--fs-sm); color: rgba(255, 255, 255, .86); margin-top: var(--s-3); }
.review cite { margin-top: var(--s-4); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.review-source { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-6); }

/* Private lessons card */
.private { display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-dark); }
@media (min-width: 900px) { .private { grid-template-columns: 1fr 1.1fr; } }
.private__media { min-height: 280px; position: relative; }
.private__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.private__body { padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
.private__body .h3 { margin-bottom: var(--s-4); }
.private__body .btn-row { margin-top: var(--s-6); }

/* Visit */
.visit { display: grid; gap: var(--s-6); }
@media (min-width: 960px) { .visit { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
.info-list { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.info-item { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-4); align-items: start; }
.info-item__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(231, 31, 38, .14); color: var(--red-on-dark); }
.info-item__icon svg { width: 20px; height: 20px; }
.info-item__wide { width: 100%; }
.info-item h3 { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: var(--track-caps); color: var(--muted-dark); margin-bottom: 4px; }
.info-item p, .info-item a { font-size: var(--fs-lg); font-weight: 700; text-decoration: none; line-height: 1.35; }
.info-item a:hover { color: var(--red-on-dark); }
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours th, .hours td { padding: .7em 0; border-bottom: 1px solid var(--line-dark); text-align: left; font-weight: 400; }
.hours th { color: var(--muted-dark); }
.hours td { text-align: right; font-weight: 700; }
.hours tr.is-today th, .hours tr.is-today td { color: #fff; }
.hours tr.is-today th::after { content: "Today"; margin-left: .6em; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--red); padding: .15em .5em; border-radius: 3px; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; background: var(--ink-3); border: 1px solid var(--line-dark); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.nearby { margin-top: var(--s-5); font-size: var(--fs-sm); color: var(--muted-dark); }

/* FAQ */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); padding: var(--s-5) 0; cursor: pointer; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease), background-color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--red-on-light); }
.faq__answer { padding: 0 3rem var(--s-5) 0; color: var(--muted-light); max-width: 52em; }
.section:not(.section--light) .faq, .section:not(.section--light) .faq details { border-color: var(--line-dark); }
.section:not(.section--light) .faq__answer { color: var(--muted-dark); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--red); color: #fff; padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .35; filter: grayscale(1) contrast(1.2); }
.cta-band::after { content: "มวยไทย"; position: absolute; z-index: -1; right: -.05em; bottom: -.28em; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-mega); line-height: 1; color: rgba(0, 0, 0, .18); pointer-events: none; }
.cta-band .h2 { max-width: 12ch; }
.cta-band p { font-size: var(--fs-lg); max-width: 34em; margin-top: var(--s-4); color: rgba(255, 255, 255, .92); }
.cta-band .btn-row { margin-top: var(--s-6); }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, .7); }

/* Prose for blog and legal pages */
.prose { max-width: 720px; font-size: 1.125rem; }
.prose h2 { font-size: var(--fs-h3); margin: 2em 0 .6em; line-height: var(--lh-snug); }
.prose h3 { font-size: var(--fs-h4); margin: 1.6em 0 .5em; line-height: var(--lh-snug); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--red-on-dark); text-underline-offset: 3px; }
.section--light .prose a { color: var(--red-on-light); }
.prose blockquote { margin: 1.6em 0; padding-left: var(--s-5); border-left: 3px solid var(--red); font-style: italic; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }

/* Cards for listing pages */
.card-grid { display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(231, 31, 38, .5); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.card__meta { font-size: var(--fs-xs); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold); font-weight: 700; }
.card__title { font-size: var(--fs-h4); line-height: var(--lh-snug); }
.card__body p { color: var(--muted-dark); font-size: var(--fs-sm); }

/* Footer */
.site-footer { background: #070707; color: var(--muted-dark); padding: var(--s-9) 0 var(--s-6); font-size: var(--fs-sm); border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-6); } }
.footer-brand img { width: 84px; height: 84px; border-radius: 50%; }
.footer-brand p { margin-top: var(--s-4); max-width: 30ch; }
.footer-brand .thai { color: var(--gold); font-size: 1.6rem; margin-top: var(--s-4); display: block; line-height: 1.2; }
.footer-col h2 { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: var(--track-caps); color: #fff; margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; display: grid; gap: var(--s-2); }
.socials { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: .5em .8em; border: 1px solid var(--line-dark); border-radius: 999px; font-size: var(--fs-xs); text-decoration: none; color: #fff; }
.socials a:hover { border-color: var(--red); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* Mobile sticky CTA */
.mobile-cta { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; gap: var(--s-2); padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom)); background: rgba(11, 11, 12, .95); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform .35s var(--ease); }
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 48px; }
.mobile-cta .btn--call { flex: 0 0 auto; }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* Reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

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

/* Builder 3: landing pages, booking, portal, legal, 404 */
.b3-lp-header { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.b3-lp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); max-width: 1400px; margin-inline: auto; padding: var(--s-4) var(--gutter); }
.b3-lp-header .brand__text { display: block; }
.b3-lp-header__badge { display: none; font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: .5em 1em; }
@media (min-width: 640px) { .b3-lp-header__badge { display: inline-flex; align-items: center; gap: .6em; } }
.b3-lp-header__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(231, 31, 38, .25); }
.b3-lp-header--solid { position: relative; background: var(--ink); border-bottom: 1px solid var(--line-dark); }

.b3-lp-hero { min-height: auto; justify-content: center; }
.b3-lp-hero .hero__content { padding-top: calc(var(--header-h) + var(--s-3)); padding-bottom: var(--s-7); }
.b3-lp-hero__grid { display: grid; gap: var(--s-5); grid-template-areas: "intro" "form" "proof"; }
.b3-lp-hero__intro { grid-area: intro; }
.b3-lp-hero__form { grid-area: form; }
.b3-lp-hero__proof { grid-area: proof; }
.b3-lp-hero__intro .hero__eyebrow { margin-bottom: var(--s-3); }
.b3-lp-hero__intro .hero__lede { margin-top: var(--s-4); font-size: var(--fs-base); }
.b3-lp-hero__proof .b3-checks { margin-top: 0; }
@media (min-width: 1000px) {
  .b3-lp-hero { min-height: min(100svh, 960px); }
  .b3-lp-hero .hero__content { padding-top: calc(var(--header-h) + var(--s-6)); padding-bottom: var(--s-8); }
  .b3-lp-hero__grid { grid-template-columns: 1fr 460px; grid-template-areas: "intro form" "proof form"; column-gap: var(--s-8); row-gap: 0; }
  .b3-lp-hero__intro { align-self: end; }
  .b3-lp-hero__proof { align-self: start; }
  .b3-lp-hero__form { align-self: center; }
  .b3-lp-hero__intro .hero__eyebrow { margin-bottom: var(--s-5); }
  .b3-lp-hero__intro .hero__lede { margin-top: var(--s-5); font-size: var(--fs-lg); }
  .b3-lp-hero__proof .b3-checks { margin-top: var(--s-6); }
}
.b3-lp-hero .hero__title { font-size: clamp(2.4rem, 1.6rem + 4.2vw, 5.75rem); max-width: 12ch; }
.b3-lp-hero .hero__thai { top: auto; bottom: -.18em; }
.b3-lp-hero .form-card { scroll-margin-top: var(--s-4); }
.b3-checks { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.b3-checks li { display: flex; gap: var(--s-3); align-items: flex-start; color: rgba(255, 255, 255, .9); font-weight: 700; }
.b3-checks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--red); color: #fff; margin-top: 1px; }
.b3-stars-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-6); font-size: var(--fs-sm); color: rgba(255, 255, 255, .8); }
.b3-stars-line .stars svg { width: 18px; height: 18px; }
.b3-linklike { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; cursor: pointer; font-size: inherit; }

.b3-pitch { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .b3-pitch { grid-template-columns: 1fr 1fr; gap: var(--s-9); } }
.b3-pitch .frame { aspect-ratio: 4 / 3; }
.b3-limbs-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: var(--s-6); background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.b3-limbs-mini div { background: var(--ink-2); padding: var(--s-4) var(--s-3); text-align: center; }
.b3-limbs-mini .thai { display: block; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); color: var(--red); line-height: 1.2; }
.b3-limbs-mini span:last-child { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted-dark); }

.b3-gallery { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
.b3-gallery .frame { aspect-ratio: 16 / 10; }

.b3-lp-footer { background: #070707; border-top: 1px solid var(--line-dark); padding: var(--s-6) var(--gutter) calc(var(--s-6) + 80px); text-align: center; font-size: var(--fs-xs); color: var(--muted-dark); }
@media (min-width: 900px) { .b3-lp-footer { padding-bottom: var(--s-6); } }
.b3-lp-footer a { text-decoration: none; }
.b3-lp-footer a:hover { color: #fff; }
.b3-lp-footer--book { padding-bottom: var(--s-6); }

.b3-dialog { width: min(640px, 92vw); max-height: 86vh; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--bone); color: var(--text-light); box-shadow: var(--shadow); }
.b3-dialog::backdrop { background: rgba(0, 0, 0, .8); }
.b3-dialog__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.b3-dialog__body .h3 { margin-bottom: var(--s-4); }
.b3-dialog__body p, .b3-dialog__body li { font-size: var(--fs-sm); color: var(--muted-light); }
.b3-dialog__body ul { padding-left: 1.2em; margin: 0 0 1em; }
.b3-dialog__close { position: sticky; top: 0; float: right; margin: var(--s-3) var(--s-3) 0 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); background: var(--bone); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.b3-dialog__close svg { width: 18px; height: 18px; }

.b3-book { padding: var(--s-7) 0 var(--section-y); }
.b3-book__head { max-width: 760px; margin-bottom: var(--s-6); }
.b3-book__head .h2 { margin-bottom: var(--s-4); }
.b3-progress { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5); font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted-dark); }
.b3-progress span { display: inline-flex; align-items: center; gap: .5em; }
.b3-progress span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; }
.b3-progress .is-done { color: var(--gold); }
.b3-progress .is-done::before { background: currentColor; }
.b3-progress .is-now { color: #fff; }
.b3-progress .is-now::before { background: var(--red); border-color: var(--red); }
.b3-progress i { width: 2.5rem; height: 1px; background: var(--line-dark); }
.b3-embed { background: #fff; border-radius: var(--radius-lg); padding: var(--s-2); min-height: 640px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.b3-embed::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 60%, var(--gold) 60% 80%, var(--ink) 80%); }
.b3-embed iframe { display: block; width: 100%; min-height: 620px; border: 0; }
.b3-reassure { display: grid; gap: var(--s-4); margin-top: var(--s-7); }
@media (min-width: 820px) { .b3-reassure { grid-template-columns: repeat(3, 1fr); } }
.b3-reassure article { padding: var(--s-6) var(--s-5); background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.b3-reassure .thai { display: block; font-size: 2rem; line-height: 1.1; color: var(--gold); margin-bottom: var(--s-3); }
.b3-reassure h2 { font-size: var(--fs-h4); line-height: var(--lh-snug); margin-bottom: var(--s-3); }
.b3-reassure p { color: var(--muted-dark); font-size: var(--fs-sm); }
.b3-reassure strong { color: #fff; }

.page-hero--compact { min-height: clamp(340px, 46vh, 480px); }
.page-hero__thai { position: absolute; z-index: -1; right: -.04em; top: calc(var(--header-h) + .1em); font-size: clamp(4rem, 2rem + 8vw, 10rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); pointer-events: none; user-select: none; }
.b3-legal { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .b3-legal { grid-template-columns: 1fr 280px; gap: var(--s-9); align-items: start; } }
.b3-legal__aside { padding: var(--s-5); border-radius: var(--radius); background: var(--bone-2); font-size: var(--fs-sm); }
@media (min-width: 1000px) { .b3-legal__aside { position: sticky; top: calc(var(--header-h) + var(--s-5)); } }
.b3-legal__aside h2 { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: var(--track-caps); margin-bottom: var(--s-3); }
.b3-legal__aside ul { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; gap: var(--s-2); }
.b3-legal__aside a { color: var(--text-light); }
.b3-legal__aside p { color: var(--muted-light); margin: 0; }
.prose .b3-meta { font-size: var(--fs-sm); color: var(--muted-light); }

.b3-portal { min-height: min(100svh, 960px); display: grid; place-items: center; padding: calc(var(--header-h) + var(--s-7)) 0 var(--s-8); position: relative; isolation: isolate; overflow: hidden; }
.b3-portal__bg { position: absolute; inset: 0; z-index: -2; }
.b3-portal__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: grayscale(.4); }
.b3-portal::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 50% 50%, rgba(11, 11, 12, .55), var(--ink) 85%); }
.b3-portal .form-card { width: min(460px, 100%); margin-inline: auto; text-align: left; }
.b3-portal__thai { display: block; font-size: 3rem; line-height: 1.1; color: var(--gold); margin-bottom: var(--s-2); }
.b3-portal__help { margin-top: var(--s-5); font-size: var(--fs-sm); color: var(--muted-dark); }
.b3-portal__help a { color: #fff; font-weight: 700; }

.b3-notice { display: grid; gap: var(--s-4); padding: var(--s-6); border-radius: var(--radius-lg); border: 1px solid var(--gold-soft); background: linear-gradient(120deg, rgba(212, 166, 74, .1), transparent 65%), var(--ink-3); }
@media (min-width: 820px) { .b3-notice { grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-6); } }
.b3-notice .thai { font-size: 2.75rem; line-height: 1.1; color: var(--gold); }
.b3-notice h2 { font-size: var(--fs-h4); line-height: var(--lh-snug); margin-bottom: var(--s-2); }
.b3-notice p { color: var(--muted-dark); }
.b3-timetable-wrap { overflow-x: auto; margin-top: var(--s-5); }
.b3-timetable { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.b3-timetable th, .b3-timetable td { padding: .85em 1em; border-bottom: 1px solid var(--line-dark); text-align: left; }
.b3-timetable thead th { font-size: var(--fs-xs); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold); }
.b3-timetable tbody th { color: #fff; }
.b3-timetable td { color: var(--muted-dark); }
.b3-member-grid { display: grid; gap: var(--s-5); margin-top: var(--s-7); }
@media (min-width: 900px) { .b3-member-grid { grid-template-columns: 1fr 1fr; } }
.b3-panel { padding: var(--s-6); border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--line-dark); }
.b3-panel .eyebrow { margin-bottom: var(--s-3); }
.b3-panel h2 { font-size: var(--fs-h3); line-height: var(--lh-snug); margin-bottom: var(--s-5); }
.b3-panel .hours th, .b3-panel .hours td { font-size: var(--fs-base); }
.b3-panel .btn-row { margin-top: var(--s-5); }
.b3-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); color: var(--muted-dark); font-size: var(--fs-sm); }
.b3-list li { display: flex; gap: var(--s-3); }
.b3-list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .6em; background: var(--red); transform: rotate(45deg); }
.b3-list strong { color: #fff; }

.b3-404 { min-height: min(100svh, 960px); display: flex; align-items: center; padding: calc(var(--header-h) + var(--s-8)) 0 var(--s-8); position: relative; isolation: isolate; overflow: hidden; }
.b3-404__bg { position: absolute; inset: 0; z-index: -2; }
.b3-404__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.b3-404::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, var(--ink) 15%, rgba(11, 11, 12, .6) 70%, rgba(11, 11, 12, .4)); }
.b3-404__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 3rem + 14vw, 15rem); line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--red); margin-bottom: var(--s-4); }
.b3-404 .h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5rem); max-width: 14ch; }
.b3-404 .lede { margin-top: var(--s-5); color: rgba(255, 255, 255, .85); }
.b3-404 .btn-row { margin-top: var(--s-6); }
.b3-404__links { display: flex; flex-wrap: wrap; gap: var(--s-5); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line-dark); max-width: 640px; }
.b3-redirect { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--s-7) var(--gutter); }
.b3-redirect img { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto var(--s-5); }
.b3-redirect p { color: var(--muted-dark); margin-bottom: var(--s-5); }
.b3-legal .prose > :first-child { margin-top: 0; }

/* Builder 2: inner pages and blog (b2- prefix) */
.b2-hero--short { min-height: clamp(360px, 50vh, 500px); }
.b2-hero__ctas { margin-top: var(--s-6); }
.page-hero .h1.b2-h1--post { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4.5rem); max-width: 22ch; line-height: 1; }
.b2-hero__meta { display: flex; flex-wrap: wrap; gap: .4em 1.4em; margin: var(--s-5) 0 0; font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.b2-hero__meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 1.4em; background: var(--red); transform: rotate(45deg) translateY(-2px); }
.breadcrumb span[aria-current] { color: rgba(255, 255, 255, .9); }

.b2-train { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .b2-train { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .b2-train { grid-template-columns: repeat(3, 1fr); } }
.b2-train__item { background: var(--ink); padding: var(--s-6) var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); transition: background .3s; }
.b2-train__item:hover { background: var(--ink-3); }
.b2-train__num { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--red); }
.b2-train__item h3 { font-size: var(--fs-h4); line-height: var(--lh-snug); }
.b2-train__item p { color: var(--muted-dark); font-size: var(--fs-sm); }
.b2-train__item--wide { grid-column: 1 / -1; background: linear-gradient(120deg, rgba(212, 166, 74, .1), transparent 60%), var(--ink); }
.b2-train__item--wide .b2-train__num { color: var(--gold); }
@media (min-width: 700px) { .b2-train__item--wide { flex-direction: row; align-items: center; gap: var(--s-6); } .b2-train__item--wide p { max-width: 60em; margin-top: var(--s-2); } }

.b2-phases { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .b2-phases { grid-template-columns: repeat(3, 1fr); } }

.b2-split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .b2-split { grid-template-columns: 1fr 1.1fr; gap: var(--s-8); } .b2-split--flip > :first-child { order: 2; } }
.b2-gallery { display: grid; gap: var(--s-3); grid-template-columns: 1fr 1fr; }
.b2-gallery .frame { aspect-ratio: 4 / 3; }
.b2-gallery .frame:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.b2-list-title { margin: var(--s-6) 0 var(--s-4); }
.b2-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.b2-checklist li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); align-items: start; color: var(--muted-light); font-size: var(--fs-sm); }
.b2-checklist svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--red-on-light); color: #fff; }
.b2-checklist strong { color: var(--text-light); }

.b2-small-link { margin-top: var(--s-5); }
.b2-story { display: grid; gap: var(--s-4); }
@media (min-width: 800px) { .b2-story { grid-template-columns: 1fr 1fr; } }
.b2-story__step { padding: var(--s-6); border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--line-dark); }
.b2-story__step--now { background: linear-gradient(140deg, rgba(231, 31, 38, .22), rgba(231, 31, 38, .04) 60%), var(--ink-3); border-color: rgba(231, 31, 38, .4); }
.b2-story__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold); }
.b2-story__step h3 { font-size: var(--fs-h3); margin: var(--s-3) 0 var(--s-4); }
.b2-story__step p { color: var(--muted-dark); }
.b2-story__step a { color: #fff; }
.b2-culture-photo { margin-bottom: var(--s-6); }

.b2-coaches { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .b2-coaches { grid-template-columns: 1fr 1fr; } }
.b2-coach { display: grid; grid-template-columns: 40% 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-dark); }
.b2-coach__img { position: relative; min-height: 280px; background: linear-gradient(160deg, var(--red) 0%, #8e0d12 100%); }
.b2-coach--alt .b2-coach__img { background: radial-gradient(120% 80% at 50% 100%, #2a2522 0%, #151312 60%); }
.b2-coach__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.b2-coach__body { padding: var(--s-6) var(--s-5); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.b2-coach__role { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold); }
.b2-coach h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
.b2-coach p { color: var(--muted-dark); font-size: var(--fs-sm); }
.b2-coach .link-arrow { margin-top: auto; }

.b2-uses { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .b2-uses { grid-template-columns: 1fr 1fr; } }
.b2-use { padding: var(--s-6); border-radius: var(--radius); background: #fff; border: 1px solid var(--line-light); }
.b2-use .thai-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--red-on-light); margin-bottom: var(--s-4); }
.b2-use h3 { font-size: var(--fs-h4); line-height: var(--lh-snug); margin-bottom: var(--s-3); }
.b2-use p { color: var(--muted-light); font-size: var(--fs-sm); }
.b2-feature-flush { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.b2-call__number { display: block; margin: var(--s-2) 0 var(--s-5); font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); line-height: 1; text-decoration: none; color: #fff; }
.b2-call__number:hover { color: var(--red-on-dark); }
.b2-call__actions { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); }
.b2-private-gap { margin-top: var(--s-7); }
@media (min-width: 1040px) { .b2-reviews-3 { columns: 3; } }

.b2-info-sub { margin: 4px 0 0; }
.info-item .b2-info-sub a { font-size: var(--fs-sm); font-weight: 400; color: var(--muted-dark); text-decoration: underline; text-underline-offset: 3px; }
.b2-map-col { display: grid; gap: var(--s-4); align-content: start; }
.b2-map-col .map { min-height: 420px; }
.b2-map-col .nearby { margin-top: 0; }

.b2-card-link { margin-top: auto; align-self: flex-start; color: #fff; }
.card .card__title { color: #fff; }

.b2-post { padding-top: var(--s-8); }
.b2-prose, .b2-narrow { margin-inline: auto; }
.b2-narrow { max-width: 720px; }
.b2-prose { color: var(--text-light); }
.b2-prose > p:first-child { font-size: var(--fs-lg); }
.b2-prose ul li::marker { color: var(--red-on-light); }
.b2-prose blockquote { font-style: normal; }
.b2-prose blockquote p { font-family: var(--font-display); font-style: italic; font-size: var(--fs-h4); line-height: 1.3; margin-bottom: var(--s-3); }
.b2-prose blockquote cite { display: block; font-style: normal; font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted-light); }
.b2-post-faq { margin-top: var(--s-8); }
.b2-post-faq .h3 { margin-bottom: var(--s-5); }
.b2-post-cta { position: relative; overflow: hidden; max-width: 720px; margin: var(--s-8) auto 0; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: var(--ink); color: var(--text-dark); box-shadow: var(--shadow); }
.b2-post-cta::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 60%, var(--gold) 60% 80%, #fff 80%); }
.b2-post-cta h2 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.b2-post-cta p { color: var(--muted-dark); }
.b2-post-cta .btn-row { margin-top: var(--s-5); }
.b2-more-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); margin-bottom: var(--s-6); }
.b2-page .h2 + .lede { margin-top: var(--s-5); }
.b2-page .form-card .btn--ghost, .b2-page .b2-post-cta .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .45); }
.b2-page .form-card .btn--ghost:hover, .b2-page .b2-post-cta .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .08); border-color: #fff; }
@media (min-width: 960px) { .b2-map-col .map { min-height: 620px; } }
.b2-page .section:not(.section--light) .faq summary::after { background-color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-dark); }
.b2-page .section:not(.section--light) .faq details[open] summary::after { background-color: var(--red); box-shadow: none; }
.b2-post-cta .btn { white-space: normal; text-align: center; max-width: 100%; }
@media (max-width: 479px) { .b2-post-cta .btn-row .btn { flex: 1 1 100%; padding-inline: 1em; } }
@media (max-width: 479px) { .b2-page .cta-band .btn-row .btn { flex: 1 1 100%; white-space: normal; text-align: center; padding-inline: 1em; } }
