:root {
  --ink: #11100e;
  --ink-soft: #24211d;
  --paper: #f2eadc;
  --paper-light: #fffaf0;
  --red: #d83a28;
  --red-dark: #9f2117;
  --gold: #cf9b43;
  --line: rgba(17, 16, 14, 0.16);
  --display: "Barlow Condensed", "Noto Sans Thai", sans-serif;
  --body: "Inter", "Noto Sans Thai", sans-serif;
  --pad: clamp(1.25rem, 4vw, 5rem);
  --radius: 0.35rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.55; }
body.no-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: 0.75rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }
.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; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 5.5rem; padding: 0 var(--pad); color: white; border-bottom: 1px solid rgba(255,255,255,.22); transition: background .25s, height .25s; }
.site-header.scrolled { height: 4.6rem; background: rgba(17,16,14,.96); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.7rem; aspect-ratio: 1; color: var(--paper-light); background: var(--red); border: 1px solid rgba(255,255,255,.45); transform: rotate(-4deg); font: 700 1.3rem/1 "Noto Sans Thai", sans-serif; }
.brand-copy { display: flex; flex-direction: column; line-height: .9; letter-spacing: .07em; }
.brand-copy strong { font: 800 1.12rem/1 var(--display); }
.brand-copy small { margin-top: .18rem; font: 700 .66rem/1 var(--body); letter-spacing: .22em; opacity: .72; }
.desktop-nav { display: flex; gap: clamp(1.2rem, 2.8vw, 2.7rem); }
.desktop-nav a { position: relative; font-size: .82rem; font-weight: 600; text-decoration: none; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 2px; background: var(--red); transition: right .2s; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.language-toggle { display: flex; align-items: center; gap: .38rem; padding: .45rem; border: 0; color: inherit; background: transparent; cursor: pointer; }
.language-toggle span { font-size: .75rem; opacity: .5; }
.language-toggle .active { opacity: 1; font-weight: 800; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .8rem 1.35rem; border: 1px solid var(--red); border-radius: var(--radius); color: white; background: var(--red); font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 .5rem 1.8rem rgba(123,25,18,.18); transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--red-dark); box-shadow: 0 .8rem 2rem rgba(123,25,18,.28); }
.button-small { min-height: 2.65rem; padding: .55rem 1rem; font-size: .78rem; }
.button-light { border-color: var(--paper-light); color: var(--ink); background: var(--paper-light); box-shadow: none; }
.button-light:hover, .button-light:focus-visible { background: white; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; padding: .7rem 0; color: white; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.6); }
.text-link.light { color: var(--paper-light); }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: white; background: #221d18; }
.hero-media { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(21,16,12,.05), rgba(21,16,12,.1)), url("assets/images/hero-training.jpg") center 42% / cover no-repeat; transform: scale(1.015); animation: hero-settle 1.4s ease both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,7,.83) 0%, rgba(8,8,7,.46) 48%, rgba(8,8,7,.17) 75%), linear-gradient(0deg, rgba(8,8,7,.74), transparent 55%); }
.hero-shade::after { content: ""; position: absolute; inset: 0; opacity: .1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.hero-content { position: relative; z-index: 2; width: min(56rem, 88vw); padding: 10rem var(--pad) clamp(5rem, 11vh, 8rem); }
.fight-alert { display: inline-grid; grid-template-columns: auto auto auto; align-items: center; gap: .65rem; margin-bottom: 1.5rem; padding: .52rem .65rem .52rem .75rem; border: 1px solid rgba(255,255,255,.3); color: white; background: rgba(17,16,14,.58); backdrop-filter: blur(12px); text-decoration: none; }
.fight-alert span { padding: .25rem .42rem; color: var(--ink); background: var(--gold); font-size: .58rem; font-weight: 800; letter-spacing: .12em; }
.fight-alert strong { font: 700 .82rem var(--body); }
.fight-alert i { color: var(--gold); font-style: normal; transition: transform .2s; }
.fight-alert:hover i, .fight-alert:focus-visible i { transform: translate(.18rem,.18rem); }
.eyebrow { margin: 0 0 .9rem; color: var(--gold); font: 700 .73rem/1.2 var(--body); letter-spacing: .22em; }
.eyebrow.dark { color: var(--red); }
.hero h1, .section h2, .final-cta h2 { margin: 0; font: 800 clamp(3.6rem, 9vw, 8.2rem)/.78 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.hero h1 em { color: var(--paper); font-weight: 600; }
.hero-lead { max-width: 40rem; margin: 1.7rem 0 2rem; font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.78); }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-stamp { position: absolute; z-index: 2; right: var(--pad); bottom: 3.2rem; display: flex; flex-direction: column; align-items: center; width: 9.2rem; padding: 1rem .5rem; border: 1px solid rgba(255,255,255,.43); transform: rotate(-6deg); font-family: var(--display); text-align: center; }
.hero-stamp span { color: var(--gold); font-size: .65rem; letter-spacing: .25em; }
.hero-stamp strong { margin: .28rem 0; font-size: 1.6rem; line-height: .9; }
.hero-stamp small { opacity: .64; font-size: .62rem; letter-spacing: .14em; }
@keyframes hero-settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1.015); } }

.proof-bar { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4,1fr); margin-top: -1px; padding: 1.35rem var(--pad); color: white; background: var(--red); }
.proof-bar > div { display: flex; align-items: baseline; justify-content: center; gap: .65rem; min-height: 2.5rem; padding: .35rem 1rem; border-right: 1px solid rgba(255,255,255,.24); }
.proof-bar > div:last-child { border-right: 0; }
.proof-bar strong { font: 800 2rem/1 var(--display); }
.proof-bar span { max-width: 8rem; font-size: .72rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .08em; opacity: .82; }

.section { padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.section-heading { max-width: 66rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-heading h2 { max-width: 55rem; font-size: clamp(3rem, 6.5vw, 6.1rem); line-height: .85; }
.section-heading.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; max-width: none; }
.section-heading.split p:last-child { max-width: 29rem; margin: 0; color: #645f57; }
.camp-grid { display: grid; grid-template-columns: minmax(18rem,.8fr) minmax(23rem,1.35fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.camp-copy .lead { margin-top: 0; font: 600 clamp(1.4rem,2.3vw,2rem)/1.25 var(--display); text-transform: uppercase; }
.camp-copy p:not(.lead) { color: #625d55; }
.check-list { margin: 2rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: .8rem 0 .8rem 2.2rem; border-top: 1px solid var(--line); font-weight: 600; }
.check-list li::before { content: "↗"; position: absolute; left: .2rem; color: var(--red); }
.feature-photo { position: relative; min-height: min(60vw, 40rem); margin: 0; background: #413a32 center/cover no-repeat; box-shadow: 1.2rem 1.2rem 0 var(--gold); }
.feature-photo figcaption { position: absolute; right: -1rem; bottom: 1.4rem; max-width: 15rem; padding: 1rem 1.3rem; color: white; background: var(--ink); font: 700 .88rem/1.3 var(--body); }
.photo-camp { background-image: url("assets/images/camp-training.jpg"); }

.session-section { padding-top: 0; padding-bottom: 0; }
.session-card { position: relative; display: grid; grid-template-columns: 1.4fr .8fr auto; align-items: center; gap: 3rem; padding: clamp(2rem,5vw,4.5rem); overflow: hidden; color: white; background: var(--red); }
.session-card::before { content: "๙"; position: absolute; right: 14%; top: 50%; transform: translateY(-54%); color: rgba(255,255,255,.075); font: 800 18rem/1 "Noto Sans Thai", sans-serif; }
.session-card > * { position: relative; }
.session-card h2 { font-size: clamp(3rem,5vw,5rem); }
.session-card p { max-width: 36rem; margin-bottom: 0; color: rgba(255,255,255,.75); }
.session-meta { display: flex; flex-direction: column; }
.session-meta span { padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.25); font-size: .83rem; }

.updates-section { background: #e8decd; }
.updates-heading-copy { max-width: 29rem; }
.updates-heading-copy p { margin-top: 0; color: #645f57; }
.updates-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(19rem,.65fr); gap: 1rem; }
.update-feature { display: grid; grid-template-columns: minmax(16rem,.92fr) minmax(17rem,1.08fr); min-height: 31rem; background: var(--paper-light); }
.update-feature-image { min-height: 26rem; background: #111 url("assets/images/udomlek-one-profile.jpg") center 24%/cover no-repeat; }
.update-feature-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(2rem,5vw,4rem); }
.update-feature-copy h3, .daily-update-card h3, .owner-demo-card h3 { margin: .75rem 0 1rem; font: 800 clamp(2.2rem,4vw,4rem)/.88 var(--display); text-transform: uppercase; }
.update-feature-copy p { margin: 0; color: #665f56; }
.update-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #777066; font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.update-meta span { color: var(--red); }
.dark-link { align-self: flex-start; margin-top: 1.4rem; color: var(--ink); border-color: rgba(17,16,14,.35); }
.owner-demo-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem,4vw,3rem); color: white; background: var(--ink); }
.demo-pill { align-self: flex-start; padding: .3rem .5rem; color: var(--ink); background: var(--gold); font-size: .58rem; font-weight: 800; letter-spacing: .14em; }
.owner-demo-card h3 { font-size: clamp(2.3rem,4vw,3.7rem); }
.owner-demo-card ol { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.owner-demo-card li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .75rem; align-items: center; padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.16); font-size: .77rem; }
.owner-demo-card li strong { color: var(--red); font: 800 1.1rem var(--display); }
.owner-demo-card > p { margin: 0 0 1.4rem; color: rgba(255,255,255,.57); font-size: .72rem; }
.owner-demo-card .button { width: 100%; }
.reset-updates { align-self: center; margin-top: 1rem; padding: .3rem; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.7); background: transparent; font-size: .68rem; cursor: pointer; }
.uploaded-updates { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-bottom: 1rem; }
.daily-update-card { min-width: 0; background: var(--paper-light); }
.daily-update-image { width: 100%; aspect-ratio: 16/10; border: 0; cursor: zoom-in; background: #302b26 center/cover no-repeat; }
.daily-update-card > div { padding: 1.3rem; }
.daily-update-card h3 { margin: .65rem 0 .5rem; font-size: clamp(1.55rem,2.6vw,2.25rem); }
.daily-update-card p { margin: 0; color: #665f56; font-size: .78rem; }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.profile-card { min-width: 0; background: var(--paper-light); }
.profile-image { aspect-ratio: 16/11; background: #3d3730 center/cover no-repeat; filter: saturate(.8) contrast(1.05); }
.photo-coaches { background-image: url("assets/images/coaching-team.jpg"); }
.photo-fighter { background-image: url("assets/images/fight-team.jpg"); }
.profile-card > div:last-child { padding: 1.6rem; }
.profile-card span { color: var(--red); font-size: .69rem; font-weight: 800; letter-spacing: .18em; }
.profile-card h3 { margin: .45rem 0 .7rem; font: 800 clamp(1.7rem,3vw,2.7rem)/.95 var(--display); text-transform: uppercase; }
.profile-card p { margin: 0; color: #69635a; }

.udomlek-section { display: grid; grid-template-columns: minmax(19rem,.9fr) minmax(24rem,1.1fr); gap: clamp(3rem,8vw,8rem); align-items: center; overflow: hidden; color: white; background: #0b0b0a; }
.udomlek-portrait { position: relative; align-self: stretch; min-height: 42rem; margin: 0; }
.udomlek-portrait::before { content: "ONE"; position: absolute; z-index: 0; left: -2rem; bottom: 0; color: rgba(255,255,255,.04); font: 800 17rem/.7 var(--display); }
.udomlek-portrait img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.udomlek-portrait figcaption { position: absolute; z-index: 2; left: 1rem; bottom: 1rem; padding: .45rem .6rem; color: rgba(255,255,255,.72); background: rgba(0,0,0,.68); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.udomlek-copy { padding: 2rem 0; }
.udomlek-copy h2 { font-size: clamp(3.3rem,6.3vw,6.5rem); }
.udomlek-copy h2 em { color: var(--gold); font-weight: 600; }
.udomlek-lead { max-width: 43rem; margin: 1.6rem 0 1rem; font: 600 clamp(1.25rem,2.2vw,1.8rem)/1.28 var(--display); text-transform: uppercase; }
.udomlek-copy > p:not(.eyebrow):not(.udomlek-lead) { max-width: 43rem; color: rgba(255,255,255,.62); }
.fighter-facts { display: grid; grid-template-columns: repeat(3,1fr); max-width: 45rem; margin: 2rem 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.fighter-facts > div { padding: 1rem; border-right: 1px solid rgba(255,255,255,.18); }
.fighter-facts > div:first-child { padding-left: 0; }
.fighter-facts > div:last-child { border-right: 0; }
.fighter-facts dt { margin-bottom: .3rem; color: rgba(255,255,255,.46); font-size: .58rem; font-weight: 700; letter-spacing: .12em; }
.fighter-facts dd { margin: 0; color: white; font: 700 1.05rem var(--display); text-transform: uppercase; }
.udomlek-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.udomlek-actions button.text-link { border: 0; border-bottom: 1px solid rgba(255,255,255,.6); background: transparent; cursor: pointer; }
.udomlek-copy > small { display: block; max-width: 43rem; margin-top: 1.4rem; color: rgba(255,255,255,.38); font-size: .62rem; }

.honours-section { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(3rem,7vw,7rem); color: white; background: var(--ink); }
.honours-intro { align-self: center; }
.honours-intro h2 { font-size: clamp(3.2rem,6vw,6rem); }
.honours-intro p:last-child { max-width: 30rem; color: rgba(255,255,255,.6); }
.honours-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.honours-gallery figure { position: relative; min-height: 20rem; margin: 0; background: #37312c center/cover no-repeat; }
.honour-large { grid-column: 1 / -1; min-height: 32rem !important; }
.photo-trophies { background-image: url("assets/images/achievement-award.jpg") !important; }
.photo-fight { background-image: url("assets/images/fight-night.jpg") !important; }
.honours-gallery figcaption { position: absolute; inset: auto 1rem 1rem; display: flex; flex-direction: column; padding: .85rem 1rem; background: rgba(17,16,14,.86); backdrop-filter: blur(8px); }
.honours-gallery figcaption strong { font: 800 1.45rem/1 var(--display); text-transform: uppercase; }
.honours-gallery figcaption span { margin-top: .3rem; color: rgba(255,255,255,.62); font-size: .7rem; }
.fight-proof { min-height: 20rem; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.7rem; border: 1px solid rgba(255,255,255,.15); background: #211f1c; }
.fight-proof > span { color: var(--red); font: 800 4.2rem/.8 var(--display); }
.fight-proof h3 { margin: 1rem 0 .4rem; font: 800 1.7rem/1 var(--display); text-transform: uppercase; }
.fight-proof p { margin: 0; color: rgba(255,255,255,.55); font-size: .84rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 13rem; gap: .8rem; }
.gallery-item { position: relative; border: 0; cursor: zoom-in; background: #3c3731 center/cover no-repeat; overflow: hidden; }
.gallery-item::after { content: "+"; position: absolute; right: .7rem; bottom: .7rem; display: grid; place-items: center; width: 2rem; height: 2rem; color: white; background: rgba(17,16,14,.78); opacity: 0; transition: opacity .2s, transform .2s; }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: rotate(90deg); }
.gallery-wide { grid-column: span 2; }
.gallery-tall { grid-row: span 2; }
.photo-gallery-1 { background-image: url("assets/images/hero-training.jpg"); }
.photo-gallery-2 { background-image: url("assets/images/outdoor-sparring.jpg"); }
.photo-gallery-3 { background-image: url("assets/images/camp-interior.jpg"); }
.photo-gallery-4 { background-image: url("assets/images/rajadamnern-team.jpg"); }
.photo-gallery-5 { background-image: url("assets/images/camp-training.jpg"); }

.visit-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem,7vw,7rem); color: white; background: var(--red); }
.visit-copy h2 { font-size: clamp(3rem,6vw,6rem); }
.visit-copy > p:not(.eyebrow) { max-width: 35rem; color: rgba(255,255,255,.7); }
.visit-copy address { margin: 2rem 0; font-style: normal; font-weight: 700; }
.visit-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.map-card { position: relative; min-height: 31rem; overflow: hidden; color: var(--ink); background: #e5dbc7; }
.map-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(17,16,14,.06) 1px, transparent 1px), linear-gradient(90deg,rgba(17,16,14,.06) 1px,transparent 1px); background-size: 3rem 3rem; }
.map-road { position: absolute; height: .5rem; background: white; box-shadow: 0 0 0 1px rgba(17,16,14,.08); transform-origin: left center; }
.road-one { width: 130%; left: -10%; top: 38%; transform: rotate(9deg); }
.road-two { width: 75%; left: 30%; top: 76%; transform: rotate(-48deg); }
.road-three { width: 52%; left: 3%; top: 13%; transform: rotate(68deg); }
.map-pin { position: absolute; left: 58%; top: 44%; display: grid; place-items: center; width: 4rem; aspect-ratio: 1; color: white; background: var(--red); border: .35rem solid var(--paper-light); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 1rem 2rem rgba(17,16,14,.2); }
.map-pin span { transform: rotate(45deg); font: 700 1.1rem "Noto Sans Thai", sans-serif; }
.map-label { position: absolute; left: 50%; top: 61%; display: flex; flex-direction: column; padding: .75rem 1rem; background: var(--paper-light); box-shadow: 0 .5rem 1rem rgba(17,16,14,.12); }
.map-label strong { font: 800 1.1rem var(--display); }
.map-label small { margin-top: .2rem; color: #6d665b; }

.faq-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(3rem,8vw,8rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font: 700 1.4rem/1.2 var(--display); text-transform: uppercase; list-style: none; }
.faq-list summary::after { content: "+"; color: var(--red); font-size: 1.8rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 45rem; color: #655f56; }

.final-cta { display: flex; flex-direction: column; align-items: center; padding: clamp(5rem,10vw,9rem) var(--pad); color: white; background: linear-gradient(rgba(17,16,14,.78),rgba(17,16,14,.86)), url("assets/images/final-cta.jpg") center/cover no-repeat; text-align: center; }
.final-cta h2 { max-width: 65rem; margin-bottom: 2.5rem; font-size: clamp(3rem,7vw,6.8rem); }
footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.3rem var(--pad); color: rgba(255,255,255,.62); background: #090908; font-size: .72rem; }
footer a { color: white; }
.footer-brand { color: white; }

.chat-launch { position: fixed; z-index: 28; right: 1.3rem; bottom: 1.3rem; display: flex; align-items: center; gap: .55rem; padding: .82rem 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 3rem; color: white; background: var(--ink); font-weight: 700; box-shadow: 0 1rem 3rem rgba(17,16,14,.25); cursor: pointer; }
.pulse-dot, .online-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 0 .25rem rgba(110,231,168,.13); }
.chat-panel { position: fixed; z-index: 30; right: 1.3rem; bottom: 5.1rem; width: min(23rem, calc(100vw - 2rem)); overflow: hidden; border: 1px solid rgba(17,16,14,.12); border-radius: .6rem; background: var(--paper-light); box-shadow: 0 1.5rem 4rem rgba(17,16,14,.3); transform: translateY(1rem) scale(.98); transform-origin: right bottom; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem; color: white; background: var(--ink); }
.chat-header > div { display: grid; grid-template-columns: auto 1fr; gap: .1rem .55rem; align-items: center; }
.chat-header strong { font: 700 1rem var(--display); text-transform: uppercase; }
.chat-header small { grid-column: 2; color: rgba(255,255,255,.55); font-size: .65rem; }
.chat-close, .dialog-close { width: 2.2rem; height: 2.2rem; border: 0; color: inherit; background: transparent; font-size: 1.6rem; cursor: pointer; }
.chat-messages { min-height: 12rem; max-height: 18rem; overflow-y: auto; padding: 1rem; }
.message { max-width: 88%; margin-bottom: .65rem; padding: .7rem .8rem; border-radius: .65rem .65rem .65rem .1rem; background: #e7dfd1; font-size: .82rem; }
.message.user { margin-left: auto; border-radius: .65rem .65rem .1rem .65rem; color: white; background: var(--red); }
.chat-options { display: flex; gap: .45rem; padding: 0 1rem 1rem; flex-wrap: wrap; }
.chat-options button { padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 2rem; color: var(--ink); background: white; font-size: .7rem; font-weight: 700; cursor: pointer; }
.chat-options .accent { border-color: var(--red); color: white; background: var(--red); }
.chat-compose { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--line); background: white; }
.chat-compose input { min-width: 0; padding: .8rem 1rem; border: 0; background: transparent; font-size: .78rem; }
.chat-compose button { width: 3rem; border: 0; color: white; background: var(--red); font-weight: 800; cursor: pointer; }

.booking-dialog, .update-dialog, .lightbox { width: min(48rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; color: var(--ink); background: var(--paper-light); box-shadow: 0 2rem 6rem rgba(0,0,0,.46); }
.booking-dialog::backdrop, .update-dialog::backdrop, .lightbox::backdrop { background: rgba(9,9,8,.78); backdrop-filter: blur(6px); }
.booking-shell { padding: clamp(1.4rem,4vw,2.6rem); }
.booking-top { display: flex; align-items: flex-start; justify-content: space-between; }
.booking-top h2 { margin: 0; font: 800 clamp(2.4rem,5vw,4.1rem)/.86 var(--display); text-transform: uppercase; }
.demo-notice { margin: 1.4rem 0; padding: .75rem 1rem; border-left: 3px solid var(--gold); background: #efe5d4; color: #60584e; font-size: .76rem; }
.booking-progress { display: flex; align-items: center; margin: 1.4rem 0 2rem; }
.booking-progress span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1px solid var(--line); border-radius: 50%; font: 800 .72rem var(--body); }
.booking-progress span.active { border-color: var(--red); color: white; background: var(--red); }
.booking-progress i { flex: 1; height: 1px; background: var(--line); }
.booking-step h3 { margin: 1.2rem 0 .7rem; font: 800 1.25rem var(--display); text-transform: uppercase; }
.date-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: .5rem; }
.date-grid button, .time-grid button { padding: .75rem .35rem; border: 1px solid var(--line); background: white; cursor: pointer; }
.date-grid button { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.date-grid small { color: #777065; font-size: .62rem; text-transform: uppercase; }
.date-grid strong { font: 800 1.45rem var(--display); }
.date-grid button.selected, .time-grid button.selected { border-color: var(--red); color: white; background: var(--red); }
.time-grid { display: grid; grid-template-columns: repeat(2, minmax(6rem,10rem)); gap: .6rem; }
.field-error { min-height: .9rem; margin: .3rem 0 0; color: var(--red-dark); font-size: .69rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid label { display: flex; flex-direction: column; gap: .35rem; font-size: .72rem; font-weight: 700; }
.form-grid input, .form-grid select { width: 100%; min-height: 3rem; padding: .6rem .7rem; border: 1px solid #c9bfae; border-radius: 0; background: white; }
.consent { display: flex; align-items: flex-start; gap: .6rem; margin-top: 1rem; font-size: .72rem; }
.consent input { margin-top: .2rem; accent-color: var(--red); }
.booking-actions { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1.5rem; }
.back-button { border: 0; background: transparent; font-weight: 700; cursor: pointer; }
.result-step { text-align: center; }
.success-mark { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto 1rem; border-radius: 50%; color: white; background: #2f9e68; font-size: 2rem; }
.result-step h3 { margin: .5rem 0; font: 800 2rem var(--display); }
.result-step > p:not(.eyebrow) { max-width: 34rem; margin: .8rem auto; color: #625c54; }
.request-summary { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; max-width: 28rem; margin: 1.3rem auto; padding: 1rem; background: #eee5d6; text-align: left; }
.request-summary dt { color: #746d63; font-size: .66rem; }
.request-summary dd { margin: 0; font-size: .75rem; font-weight: 700; text-align: right; }
.notification-flow { display: flex; align-items: center; justify-content: center; gap: .65rem; flex-wrap: wrap; margin-top: 1.4rem; font-size: .7rem; font-weight: 700; }
.notification-flow span { padding: .45rem .65rem; border: 1px solid var(--line); background: white; }
.notification-flow i { color: var(--red); font-style: normal; }

.update-dialog { width: min(55rem, calc(100vw - 2rem)); }
.update-shell { max-height: calc(100vh - 2rem); padding: clamp(1.4rem,4vw,2.6rem); overflow-y: auto; }
.update-shell h2 { margin: 0; font: 800 clamp(2.4rem,5vw,4.1rem)/.86 var(--display); text-transform: uppercase; }
.publisher-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.publisher-grid label { display: flex; flex-direction: column; gap: .35rem; font-size: .72rem; font-weight: 700; }
.publisher-grid input:not([type="file"]), .publisher-grid select, .publisher-grid textarea { width: 100%; min-height: 3rem; padding: .7rem; border: 1px solid #c9bfae; border-radius: 0; background: white; resize: vertical; }
.upload-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-drop { display: flex; flex-direction: column; justify-content: center; min-height: 8.5rem; padding: 1rem; border: 1px dashed #a89d8c; background: #eee5d6; cursor: pointer; text-align: center; }
.upload-drop strong { color: var(--red); font: 800 1.2rem var(--display); text-transform: uppercase; }
.upload-drop small { margin-top: .3rem; color: #736b61; font-weight: 500; }
.update-preview { display: grid; place-items: center; min-height: 10.3rem; color: #877d6e; background: #d7cbbb center/cover no-repeat; font-size: .68rem; text-transform: uppercase; }
.update-preview.has-image span { display: none; }
.publisher-caption { grid-column: 1 / -1; }
.update-actions { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 1rem; }
.publish-update:disabled { cursor: wait; opacity: .58; }

.lightbox { width: min(70rem, calc(100vw - 2rem)); background: var(--ink); }
.lightbox button { position: absolute; z-index: 2; top: .6rem; right: .6rem; width: 2.6rem; height: 2.6rem; border: 0; color: white; background: rgba(17,16,14,.75); font-size: 1.6rem; cursor: pointer; }
.lightbox-image { min-height: 75vh; background: center/contain no-repeat; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero-stamp { display: none; }
  .proof-bar { grid-template-columns: 1fr 1fr; }
  .proof-bar > div:nth-child(2) { border-right: 0; }
  .proof-bar > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.24); }
  .camp-grid, .honours-section, .visit-section, .faq-section, .udomlek-section { grid-template-columns: 1fr; }
  .session-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .updates-grid { grid-template-columns: 1fr; }
  .udomlek-portrait { min-height: min(105vw,46rem); }
  .udomlek-copy { padding: 0; }
  .section-heading.split { align-items: flex-start; flex-direction: column; }
  .honours-intro { max-width: 42rem; }
  .map-card { min-height: 25rem; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 620px) {
  :root { --pad: 1.15rem; }
  .site-header { height: 4.7rem; }
  .brand-copy { display: none; }
  .header-actions { gap: .3rem; }
  .button-small { display: none; }
  .hero-content { width: 100%; padding-bottom: 4.2rem; }
  .hero h1 { font-size: clamp(3.6rem,18vw,5.3rem); }
  .hero-lead { font-size: .94rem; }
  .proof-bar { padding: .8rem var(--pad); }
  .proof-bar > div { justify-content: flex-start; padding: .6rem; }
  .proof-bar strong { font-size: 1.6rem; }
  .proof-bar span { font-size: .61rem; }
  .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .camp-grid { gap: 2.5rem; }
  .feature-photo { min-height: 28rem; box-shadow: .7rem .7rem 0 var(--gold); }
  .session-section { padding-top: 0; padding-bottom: 0; }
  .session-card { margin: 0 calc(var(--pad) * -1); padding: 2.5rem var(--pad); }
  .fight-alert { grid-template-columns: auto 1fr auto; width: 100%; }
  .update-feature { grid-template-columns: 1fr; }
  .update-feature-image { min-height: 25rem; }
  .uploaded-updates { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .udomlek-portrait { margin: 0 calc(var(--pad) * -1); }
  .fighter-facts { grid-template-columns: 1fr; }
  .fighter-facts > div, .fighter-facts > div:first-child { padding: .8rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .fighter-facts > div:last-child { border-bottom: 0; }
  .honours-gallery { grid-template-columns: 1fr; }
  .honour-large { grid-column: 1; min-height: 25rem !important; }
  .gallery-grid { grid-auto-rows: 10rem; }
  .gallery-tall { grid-row: auto; }
  .visit-section { padding-top: 4.5rem; padding-bottom: 0; }
  .map-card { margin: 0 calc(var(--pad) * -1); min-height: 24rem; }
  .date-grid { grid-template-columns: repeat(3,1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .booking-dialog { width: 100%; max-width: 100%; max-height: 94vh; margin: auto 0 0; }
  .booking-shell { max-height: 94vh; overflow-y: auto; }
  .update-dialog { width: 100%; max-width: 100%; max-height: 94vh; margin: auto 0 0; }
  .update-shell { max-height: 94vh; }
  .publisher-grid { grid-template-columns: 1fr; }
  .publisher-caption { grid-column: 1; }
  .chat-panel { right: 1rem; bottom: 4.9rem; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
