:root {
  /* taken from the photos: forest, the red jacket, the yellow instructor uniform, rattan */
  --ink: #130d0c; --ink-2: #211513; --bone: #f0e4c8; --red: #a8141a; --red-hi: #d6232b; --gold: #f2b21b;
  --mute: #b8a99c; --line: rgba(242,178,27,.24);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .42 0 0 0 0 .3 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  --pad: clamp(20px, 5vw, 80px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--ink); color: var(--bone); font: 400 17px/1.6 Barlow, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }

h1, h2, h3, .giant { font-family: 'Big Shoulders Display', Impact, sans-serif; font-weight: 900; text-transform: uppercase; line-height: .9; }
h2 { font-size: clamp(46px, 6.4vw, 100px); letter-spacing: -.005em; }
h3 { font-size: 34px; }
.kicker { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.kicker::before { content: ""; width: 36px; height: 2px; background: var(--red-hi); }

.btn { display: inline-block; padding: 15px 26px; border: 1px solid currentColor; font-size: 14px; font-weight: 600; background: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hi); border-color: var(--red-hi); color: #fff; }

.nav { position: fixed; inset: 0 0 auto; z-index: 10; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.nav.solid { background: var(--ink); border-color: var(--line); }
.mark { font-stretch: 125%; font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.nav nav { display: flex; gap: 34px; font-size: 14px; color: var(--mute); }
.nav nav a:hover { color: var(--bone); }
.nav .btn { padding: 10px 18px; font-size: 13px; }

/* hero */
.hero { position: relative; height: 100svh; min-height: 680px; display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); grid-template-rows: minmax(0, 1fr) auto; }
.hero-copy { align-self: center; padding: 72px 0 0 var(--pad); position: relative; z-index: 2; }
h1 { font-size: clamp(76px, min(12vw, 20svh), 220px); line-height: .83; margin-bottom: 30px; }
h1 span { display: block; }
.red { color: var(--red-hi); }
.lede { max-width: 38ch; color: #cbc4ba; margin-bottom: 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.stage { position: relative; min-height: 0; }
.slab { position: absolute; top: 0; bottom: 0; right: 0; left: 15%; background: var(--red); clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
.slab::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10,4,3,.3), transparent 30%, transparent 62%, rgba(10,4,3,.45)); }
canvas#fighter { position: absolute; top: 56px; left: 0; width: 100%; height: calc(100% - 56px); touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity .6s; }
canvas#fighter:active { cursor: grabbing; }
.stage.ready canvas#fighter { opacity: 1; }
.fallback { display: none; position: absolute; inset: 72px 0 0; width: 100%; height: calc(100% - 72px); object-fit: cover; }
.no-gl .fallback { display: block; }
.hint { position: absolute; right: var(--pad); bottom: 18px; font-size: 12px; color: rgba(255,255,255,.7); pointer-events: none; }

.player { grid-column: 1 / -1; position: relative; display: flex; border-top: 1px solid var(--line); background: var(--ink); }
.track { position: absolute; left: 0; right: 0; top: -1px; height: 2px; }
.track i { display: block; height: 100%; background: var(--bone); transform-origin: left; transform: scaleX(0); }
.player ol { flex: 1; list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); }
.player li { border-right: 1px solid var(--line); }
.player ol button { width: 100%; height: 100%; text-align: left; background: none; border: 0; padding: 16px clamp(10px, 1.4vw, 22px) 18px; cursor: pointer; color: var(--mute); transition: background .15s; }
.player ol button:hover { background: var(--ink-2); }
.player b { display: block; font-stretch: 75%; font-weight: 700; font-size: 19px; text-transform: uppercase; line-height: 1.1; white-space: nowrap; }
.player small { font-size: 12px; white-space: nowrap; }
.player ol button.on { background: var(--bone); color: var(--ink); }
.transport { display: flex; flex-direction: column; justify-content: center; }
.transport button { background: none; border: 0; padding: 5px 24px; font-size: 13px; text-align: left; cursor: pointer; white-space: nowrap; }
.transport button[aria-pressed="true"] { color: #ff5a60; }

/* about */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 7vw, 120px); align-items: center; padding: clamp(80px, 11vw, 170px) var(--pad); background: var(--bone); color: var(--ink); }
.about-photo img { width: 100%; height: auto; }
.about-photo { position: relative; }
.about-photo::before { content: ""; position: absolute; width: 42%; height: 42%; left: -18px; bottom: -18px; background: var(--red); z-index: 0; }
.about-photo img { position: relative; }
.big { font-size: clamp(21px, 2vw, 28px); line-height: 1.4; margin: 30px 0 18px; max-width: 30ch; }
.about-copy > p:not(.big):not(.kicker) { max-width: 52ch; color: #514a43; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 2px solid var(--ink); }
.facts div { display: flex; flex-direction: column-reverse; padding: 18px 12px 0 0; }
.facts dd { font-stretch: 62%; font-weight: 800; font-size: clamp(48px, 5vw, 76px); line-height: 1; }
.facts dt { font-size: 13px; color: #514a43; }
.about-copy .note { font-size: 12px; margin-top: 14px; }

/* arts */
.arts, .coaching, .gallery { padding: clamp(80px, 10vw, 150px) var(--pad); }
.head { margin-bottom: 64px; }
.arts-list { list-style: none; counter-reset: a; border-bottom: 1px solid var(--line); }
.arts-list li { position: relative; display: grid; grid-template-columns: 5fr 5fr 2fr; gap: 24px; align-items: center; padding: 30px 12px; border-top: 1px solid var(--line); isolation: isolate; }
.arts-list li::before { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.8,.2,1); z-index: -1; }
.arts-list li:hover::before { transform: scaleX(1); }
.arts-list h3 { font-size: clamp(34px, 4.4vw, 68px); }
.arts-list p { color: #cbc4ba; max-width: 44ch; }
.arts-list li:hover p, .arts-list li:hover span { color: #fff; }
.arts-list span { font-size: 13px; color: var(--mute); text-align: right; }

.wide { position: relative; height: min(86vh, 780px); overflow: hidden; background: #000; }
.wide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.wide figcaption { position: absolute; inset: auto 0 0; padding: 120px var(--pad) 46px; background: linear-gradient(transparent, rgba(8,6,5,.92)); }
.wide p { font-stretch: 62%; font-weight: 700; font-size: clamp(34px, 4.6vw, 70px); line-height: 1; text-transform: uppercase; }
.wide small { color: var(--mute); display: block; margin-top: 14px; }

/* coaching */
.coaching { background: var(--bone); color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.plans article { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3vw, 46px); }
.plans article + article { border-left: 1px solid var(--ink); }
.plans h3 { font-size: clamp(36px, 3.6vw, 52px); margin-bottom: 16px; }
.plans ul { list-style: none; width: 100%; margin: 30px 0 44px; font-size: 15px; }
.plans li { padding: 12px 0; border-top: 1px solid currentColor; border-color: rgba(120,100,90,.35); }
.price { margin-top: auto; font-weight: 700; margin-bottom: 18px; }
.plans .btn { width: 100%; text-align: center; }
.plans .btn:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.plans .featured { background: var(--red); color: #fff; }
.plans .featured li { border-color: rgba(255,255,255,.35); }
.plans .featured .btn { background: #fff; border-color: #fff; color: var(--ink); }
.plans .featured .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* gallery */
.shots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.shot { position: relative; overflow: hidden; border: 0; background: #000; cursor: zoom-in; padding: 0; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.shot:hover img { transform: scale(1.035); }
.shot span { position: absolute; left: 0; bottom: 0; background: var(--ink); padding: 9px 16px; font-size: 13px; }
.s1 { grid-column: span 7; aspect-ratio: 4/5; grid-row: span 2; }
.s2 { grid-column: span 5; }
.s3 { grid-column: span 5; }
.s4 { grid-column: 1 / -1; aspect-ratio: 21/9; }
.s4 img { object-position: 50% 24%; }
dialog { margin: auto; border: 0; background: var(--ink); color: var(--bone); max-width: 94vw; }
dialog::backdrop { background: rgba(6,4,4,.92); }
dialog img { max-height: 84vh; width: auto; }
dialog button { width: 100%; background: none; border: 0; padding: 12px; cursor: pointer; }

/* booking */
.book { display: grid; grid-template-columns: 5fr 7fr; background: var(--red); color: #fff; }
.book-copy { padding: clamp(70px, 9vw, 130px) var(--pad); }
.book .kicker::before { background: #fff; }
.book-copy > p:not(.kicker) { margin: 24px 0 48px; max-width: 36ch; }
.book dl div { display: grid; grid-template-columns: 90px 1fr; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.35); font-size: 15px; }
.book dt { opacity: .75; }
form { background: var(--bone); color: var(--ink); padding: clamp(40px, 6vw, 100px) var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-content: center; }
label { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; }
input, select, textarea { margin-top: 6px; background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 9px 0; font-weight: 400; font-size: 16px; color: var(--ink); resize: vertical; }
.full { grid-column: 1 / -1; }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--bone); padding: 19px; }
.btn-ink:hover { background: var(--red); border-color: var(--red); color: #fff; }
.sent { font-size: 14px; border-left: 3px solid var(--red); padding-left: 14px; }

footer { padding: 40px var(--pad) 26px; overflow: hidden; }
.giant { font-size: 38vw; line-height: .8; text-align: center; color: var(--ink-2); user-select: none; }
footer div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding-top: 22px; font-size: 13px; color: var(--mute); }

@media (max-width: 1180px) {
  .player { flex-direction: column; }
  .transport { flex-direction: row; justify-content: flex-start; border-top: 1px solid var(--line); }
  .transport button { padding: 11px 20px; }
}

@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav nav, .nav .btn { display: none; }
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .hero-copy { padding: 100px 20px 28px; }
  h1 { font-size: 27vw; }
  .stage { height: 68svh; min-height: 440px; }
  .slab { left: 0; clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%); }
  canvas#fighter { top: 20px; height: calc(100% - 20px); }
  .player ol { display: flex; overflow-x: auto; scrollbar-width: none; }
  .player li { flex: 0 0 auto; min-width: 126px; }
  .about, .book { grid-template-columns: 1fr; }
  .about-photo { margin-left: 10px; }
  .arts-list li { grid-template-columns: 1fr; gap: 10px; }
  .arts-list span { text-align: left; }
  .plans { grid-template-columns: 1fr; }
  .plans article + article { border-left: 0; border-top: 1px solid var(--ink); }
  .shots { grid-template-columns: 1fr; }
  .shot { grid-column: 1 !important; grid-row: auto !important; aspect-ratio: 4/5 !important; }
  .s3 { aspect-ratio: 4/3 !important; }
  form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ================= the look: Filipino martial arts poster ================= */
.kicker { color: var(--gold); font-weight: 700; }
.kicker::before { width: 15px; height: 13px; background: currentColor; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.about .kicker, .coaching .kicker { color: var(--red); }
.btn { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .06em; border-width: 2px; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding: 13px 30px; }
.btn-red { box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
.nav.solid { background: rgba(19,13,12,.96); border-color: var(--gold); }
.mark { display: flex; align-items: center; gap: 12px; font: 900 22px/1 'Big Shoulders Display', sans-serif; letter-spacing: .05em; }
.mark svg { width: 30px; color: var(--gold); }
.nav nav { color: var(--bone); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.nav nav a:hover { color: var(--gold); }

/* woven band, after the trim on the red jacket */
.weave { height: 22px; background:
  linear-gradient(var(--ink) 0 3px, var(--gold) 3px 5px, transparent 5px 17px, var(--gold) 17px 19px, var(--ink) 19px),
  repeating-linear-gradient(45deg, var(--red) 0 7px, #14100c 7px 10px, var(--bone) 10px 12px, #14100c 12px 15px, var(--gold) 15px 19px, #14100c 19px 22px); }

.hero { background: var(--grain), radial-gradient(ellipse 60% 75% at 72% 46%, #4a1210, transparent 72%), #130d0c; }
.slab { left: 20%; background: var(--grain), linear-gradient(165deg, #c01a21, #8c0f15 55%, #5c080d); clip-path: polygon(34% 0, 82% 0, 62% 100%, 14% 100%); }
.slab::after { background:
  repeating-linear-gradient(45deg, var(--gold) 0 5px, #14100c 5px 9px, var(--bone) 9px 11px, #14100c 11px 16px);
  clip-path: polygon(82% 0, 85% 0, 65% 100%, 62% 100%); }
.sun { position: absolute; width: min(46vw, 620px); aspect-ratio: 1; left: 52%; top: 46%; translate: -50% -50%; border-radius: 50%; border: 2px solid var(--gold); box-shadow: 0 0 0 14px rgba(19,13,12,.4), 0 0 0 16px rgba(242,178,27,.45); opacity: .55; }
h1 { text-shadow: 5px 6px 0 rgba(0,0,0,.55); line-height: .84; }
h1 span:nth-child(2) { color: var(--gold); }
h1 .red { color: var(--red-hi); }
.lede { color: var(--bone); font-size: 19px; }
.player { background: #0d0908; border-top: 3px solid var(--gold); }
.track { top: -3px; height: 3px; }
.track i { background: var(--red-hi); }
.player b { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 20px; }
.player ol button.on { background: var(--gold); color: #14100c; }
.transport button[aria-pressed="true"] { color: var(--gold); }

.ribbon { background: var(--gold); color: #14100c; overflow: hidden; border-bottom: 4px solid #14100c; }
.ribbon p { display: flex; width: max-content; animation: run 28s linear infinite; font: 900 30px/1 'Big Shoulders Display', sans-serif; text-transform: uppercase; padding: 14px 0; }
.ribbon span { display: flex; align-items: center; white-space: nowrap; }
.ribbon span::after { content: ""; width: 20px; height: 17px; margin: 0 34px; background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
@keyframes run { to { transform: translateX(-50%); } }

/* photographs as mounted prints */
.about { background: var(--grain), var(--bone); }
.about-photo { rotate: -1.6deg; }
.about-photo img { border: 12px solid #fffaf0; box-shadow: 0 30px 50px -18px rgba(30,18,6,.55); }
.about-photo::before { left: -26px; bottom: -26px; width: 55%; height: 55%; background: repeating-linear-gradient(45deg, var(--red) 0 12px, #14100c 12px 16px, var(--gold) 16px 22px, #14100c 22px 26px); }
.about-photo::after { content: ""; position: absolute; z-index: 2; top: -16px; left: 38%; width: 130px; height: 34px; background: rgba(242,178,27,.78); rotate: 3deg; }
.facts { border-top: 4px solid var(--red); }
.facts dd { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; color: var(--red); }

.arts { background: var(--grain), linear-gradient(160deg, #1d100e, #130d0c 55%, #240d0c); }
.arts-list { counter-reset: art; }
.arts-list li { grid-template-columns: 70px 5fr 5fr 2fr; counter-increment: art; }
.arts-list li > h3 { grid-column: 2; }
.arts-list li::after { content: ""; position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 38px; height: 34px; background: var(--gold); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
/* rattan stick as the divider */
.arts-list li { border-top: 0; background: linear-gradient(90deg, transparent 0 18%, #3d2009 18% 18.4%, transparent 18.4% 81.6%, #3d2009 81.6% 82%, transparent 82%) top / 100% 7px no-repeat, linear-gradient(#d9a35c, #8a5524) top / 100% 7px no-repeat; }
.arts-list { border-bottom: 7px solid #a96d34; }

.wide { height: min(90vh, 820px); }

.coaching { background: var(--grain), var(--bone); }
/* plans styled as uniform patches: stitched double border */
.plans { gap: 26px; border: 0; }
.plans article, .plans article + article { background: #17100e; color: var(--bone); border: 3px solid var(--gold); outline: 6px solid #17100e; outline-offset: 0; box-shadow: 0 24px 40px -20px rgba(30,18,6,.7); position: relative; margin: 6px; }
.plans article::before { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(242,178,27,.55); pointer-events: none; }
.plans article > * { position: relative; }
.plans h3 { color: var(--gold); }
.plans .featured { background: var(--red); color: #fff; outline-color: var(--red); }
.plans .featured h3 { color: #ffd25a; }
.plans .btn { color: var(--gold); }
.plans .btn:hover { background: var(--gold); border-color: var(--gold); color: #14100c; }
.plans .featured .btn { background: var(--gold); border-color: var(--gold); color: #14100c; }
.price { font: 800 26px/1 'Big Shoulders Display', sans-serif; text-transform: uppercase; }

.gallery { background: var(--grain), #241209; }
.shot { border: 9px solid #fffaf0; box-shadow: 0 26px 36px -18px #000; }
.shot span { font: 800 20px/1 'Big Shoulders Display', sans-serif; text-transform: uppercase; background: var(--gold); color: #14100c; }
.s1 { rotate: -.8deg; } .s2 { rotate: 1.1deg; } .s3 { rotate: -.9deg; } .s4 { rotate: .5deg; margin-top: 12px; }
.shot:hover { z-index: 2; rotate: 0deg; }

.book { background: var(--grain), linear-gradient(150deg, #b9171e, #6f0a10); }
.book .kicker { color: #ffd25a; }
form { background: var(--grain), var(--bone); }
.facts dt { font-weight: 600; }
footer { background: #0c0807; }
.giant { color: transparent; -webkit-text-stroke: 2px rgba(242,178,27,.4); }

@media (max-width: 900px) {
  .slab { left: 0; clip-path: polygon(30% 0, 88% 4%, 68% 100%, 10% 100%); }
  .slab::after { clip-path: polygon(88% 4%, 93% 4%, 73% 100%, 68% 100%); }
  .sun { width: 94vw; left: 50%; }
  .arts-list li { grid-template-columns: 1fr; padding-left: 64px; }
  .arts-list li > h3 { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { .ribbon p { animation: none; } }

/* outline buttons keep square ends so their borders stay whole */
.btn:not(.btn-red):not(.btn-ink):not(.plans .featured .btn) { clip-path: none; }
