/* =========================================================
   PRIDE GYM SHEFFIELD
   Fight-poster type · ring-canvas paper · blue corner
   ========================================================= */
:root {
  --ink: #07090f;
  --ink-2: #0c1019;
  --ink-3: #151b29;
  --paper: #ece8df;
  --paper-2: #e0dbcf;
  --blue: #009fe0;          /* Pride lion blue: fills (ink text on top) */
  --blue-text: #1fb0ee;     /* blue text on dark */
  --blue-ink: #006fa3;      /* blue text on paper */
  --blue-deep: #06324d;     /* photo duotone base */
  --muted: #8a92a6;
  --muted-paper: #5b5f6b;
  --line: rgba(236, 232, 223, 0.14);
  --line-paper: rgba(7, 9, 15, 0.16);
  --gutter: clamp(16px, 4.5vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --thai: "Kanit", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
code { font-size: .85em; background: var(--ink-3); padding: 2px 6px; }
::selection { background: var(--blue); color: var(--ink); }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 300; background: var(--blue); color: var(--ink); padding: 12px 18px; font-weight: 700; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 3px; }

/* Shared type */
.label, .rd, .hero-top, .nav-links, .btn, .tt-days, .chip, .coach-role, .vd-label, .footer-inner, .disc-num, .q-count, figcaption, .logo-sub, .menu-btn, .nav-cta, .link-arrow {
  font-family: var(--body); font-stretch: 75%; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px;
}
h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(56px, 9vw, 150px); line-height: .88; letter-spacing: -0.005em; }
.blue { color: var(--blue-text); }
.paper .blue { color: var(--blue-ink); }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.s { position: relative; padding: clamp(96px, 12vw, 180px) 0; }
.paper { background: var(--paper); color: var(--ink); }
.ink { background: var(--ink); }
.ink-2 { background: var(--ink-2); }
.blue-bg { background: var(--blue); color: var(--ink); }

.rd { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; color: var(--muted); }
.rd span:first-child { color: var(--blue-text); display: inline-flex; align-items: center; gap: 14px; }
.rd span:first-child::after { content: ""; width: 48px; height: 1px; background: currentColor; }
.paper .rd { color: var(--muted-paper); }
.paper .rd span:first-child { color: var(--blue-ink); }
.rd-light, .rd-light span:first-child { color: var(--ink) !important; }

.head { margin-bottom: clamp(48px, 7vw, 100px); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.head-aside { max-width: 340px; color: var(--muted); font-size: 16px; }
.paper .head-aside { color: var(--muted-paper); }

/* Buttons: sharp, with a wipe fill */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 19px 28px; font-size: 14px; letter-spacing: .1em; line-height: 1;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .5s var(--ease); }
@media (hover: hover) { .btn:hover::before { transform: translateY(0); } }
.btn-blue { background: var(--blue); color: var(--ink); }
.btn-blue::before { background: var(--paper); }
.btn-line { border: 1px solid currentColor; }
.btn-line::before { background: var(--paper); }
@media (hover: hover) { .btn-line:hover { color: var(--ink); border-color: var(--paper); } }
.arr { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.link-arrow { display: inline-flex; gap: 10px; margin-top: 32px; padding-bottom: 6px; border-bottom: 2px solid var(--blue); font-size: 14px; }
.link-arrow span { transition: transform .45s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Photos ----------
   Real <img> tags (indexable, with alt text). Every photo is blended onto the
   same deep blue so the set looks consistent; full colour on hover. */
.media { position: relative; overflow: hidden; display: block; background-color: var(--blue-deep); isolation: isolate; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; transition: transform .9s var(--ease); }
.media.pos-top img { object-position: center 22%; }
.hero-media img { object-position: center 30%; }

/* ---------- Grain, cursor, progress ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%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)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--blue); display: grid; place-items: center; opacity: 0;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s, opacity .3s;
  border: 1px solid transparent;
}
.cursor.on { opacity: 1; }
.cursor.hover { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: transparent; border-color: var(--blue-text); }
.cursor.label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--blue); }
.cursor span { font-family: var(--body); font-stretch: 75%; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 70; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: flex; flex-direction: column; justify-content: space-between; padding: 26px var(--gutter); }
.loader-meta { display: flex; justify-content: space-between; font-family: var(--body); font-stretch: 75%; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--muted); }
.loader-lion { width: clamp(64px, 9vw, 120px); height: auto; }
.loader-word { display: flex; overflow: hidden; font-family: var(--display); text-transform: uppercase; font-size: 31vw; line-height: .82; letter-spacing: -0.01em; }
.loader-word span { display: inline-block; }
.loader-ropes { display: grid; gap: 8px; }
.loader-ropes i { display: block; height: 3px; background: var(--paper); transform-origin: 0 50%; transform: scaleX(0); }
.loader-ropes i:nth-child(2) { background: var(--blue); }
html:not(.js-anim) .loader { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: 40px;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease), background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--ink); border-bottom-color: var(--line); padding-top: 12px; padding-bottom: 12px; }
.nav.hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-lion { width: 30px; height: auto; display: block; }
.logo-word { font-family: var(--display); text-transform: uppercase; font-size: 32px; line-height: 1; letter-spacing: .01em; }
.logo-sub { font-size: 10px; line-height: 1.15; letter-spacing: .16em; padding-left: 10px; border-left: 2px solid var(--blue); color: var(--paper); }
.nav-links { display: flex; gap: 30px; margin-left: auto; color: rgba(236, 232, 223, .75); }
.nav-links > a { position: relative; transition: color .3s; }
.nav-links > a span { font-size: 9px; color: var(--blue-text); margin-right: 5px; vertical-align: 5px; }
.nav-links > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links > a:hover, .nav-links > a.active { color: var(--paper); }
.nav-links > a:hover::after, .nav-links > a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links-foot { display: none; }
.nav-cta { background: var(--blue); color: var(--ink); padding: 12px 18px; font-size: 12px; transition: background .3s, color .3s; }
.nav-cta:hover { background: var(--paper); color: var(--ink); }
.menu-btn { display: none; }
.menu-close { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  padding: 110px var(--gutter) 36px;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media::before { left: auto; right: var(--gutter); bottom: auto; top: 110px; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,9,15,.95) 0%, rgba(7,9,15,.2) 45%, rgba(7,9,15,.55) 100%), linear-gradient(90deg, rgba(7,9,15,.6) 0%, transparent 60%); }
.hero-h1 { font: inherit; letter-spacing: inherit; text-transform: inherit; color: rgba(236, 232, 223, .9); }
.hero-top { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: rgba(236, 232, 223, .7); font-size: 12px; }
.hero-title { align-self: end; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .86; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }
.hero-title .line:first-child { font-size: clamp(40px, 7.2vw, 124px); padding-left: .06em; }
.line-big { font-size: clamp(130px, 28.5vw, 480px); line-height: .8; margin-left: -.03em; }
.line-big em { font-style: normal; color: var(--blue); }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-lede { max-width: 440px; font-size: 18px; color: rgba(236, 232, 223, .82); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-thai {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: var(--thai); font-weight: 700; font-size: clamp(48px, 6vw, 104px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(236, 232, 223, .4); pointer-events: none;
}

/* ---------- Fight tape ---------- */
.tapes { background: var(--ink); padding: 56px 0 72px; overflow: hidden; position: relative; z-index: 2; }
.tape { width: 110vw; margin-left: -5vw; padding: 16px 0; overflow: hidden; }
.tape-blue { background: var(--blue); color: var(--ink); transform: rotate(-2.5deg); position: relative; z-index: 1; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.tape-paper { background: var(--paper); color: var(--ink); transform: rotate(1.8deg); margin-top: -18px; }
.tape-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: tape 38s linear infinite; }
.tape-track.reverse { animation-direction: reverse; animation-duration: 44s; }
.tape span { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 3.2vw, 44px); line-height: 1; white-space: nowrap; }
.tape b { font-size: 16px; font-weight: 400; opacity: .7; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- Rd 01 About ---------- */
.statement { font-family: var(--display); text-transform: uppercase; font-size: clamp(44px, 7.2vw, 122px); line-height: .92; margin-bottom: clamp(64px, 9vw, 130px); max-width: 15ch; }
.statement .w { opacity: .14; }
.about { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: clamp(20px, 2.5vw, 36px); align-items: end; }
.about-copy { font-size: 19px; color: #2a2e38; align-self: start; max-width: 480px; }
.about-copy p + p { margin-top: 18px; }
.about-photo { aspect-ratio: 4 / 5; }
.about-photo-sm { aspect-ratio: 3 / 4; margin-bottom: 18%; }
.pillars { list-style: none; margin: clamp(80px, 10vw, 140px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--ink); }
.pillars li { padding: 30px 32px 0 0; }
.pillars li + li { padding-left: 32px; border-left: 1px solid var(--line-paper); }
.pillar-num { display: block; font-family: var(--display); font-size: 64px; line-height: 1; color: var(--blue-ink); margin-bottom: 18px; }
.pillars h3 { font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 26px; letter-spacing: .01em; line-height: 1.05; margin-bottom: 10px; }
.pillars p { color: var(--muted-paper); }

/* ---------- Team photo band ---------- */
.team-band { position: relative; height: min(78vh, 760px); margin: 0; }
.team-band img { height: 120%; top: -10%; }
.team-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,9,15,.85) 0%, transparent 45%); pointer-events: none; }
.team-cap { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vw, 48px); z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; }
.team-cap span { font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 7vw, 110px); line-height: .9; }
.team-cap strong { font-stretch: 75%; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--blue-text); }

/* ---------- Rd 02 Disciplines ---------- */
.disc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.disc { display: grid; grid-template-columns: 90px 1fr minmax(260px, 380px); align-items: center; gap: 32px; padding: clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); position: relative; }
.disc-num { color: var(--muted); align-self: start; padding-top: 1.2em; }
.disc-name { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(46px, 7.4vw, 124px); line-height: .9; transition: transform .7s var(--ease), color .4s, opacity .4s; }
.disc-desc { color: var(--muted); font-size: 16px; transition: color .4s; }
.disc-media { display: none; }
@media (hover: hover) and (pointer: fine) {
  .disc:hover .disc-name { color: var(--blue-text); transform: translateX(28px); }
  .disc:hover .disc-desc { color: var(--paper); }
  .disc-list:hover .disc:not(:hover) .disc-name { opacity: .28; }
  .coach:hover .coach-photo img, .g:hover img { mix-blend-mode: normal; }
  .g:hover img { transform: scale(1.04); }
}
.disc-float { position: fixed; left: 0; top: 0; z-index: 40; width: 320px; height: 400px; margin: -200px 0 0 -160px; pointer-events: none; overflow: hidden; transform: scale(0); }
.disc-float-img { position: absolute; inset: -10%; background-color: var(--blue-deep); background-size: cover; background-position: center; background-blend-mode: luminosity; }

/* ---------- Rd 03 Timetable ---------- */
.tt { border: 1px solid var(--line); background: var(--ink); }
.tt-days { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--line); }
.tt-day { position: relative; padding: 22px 6px; font-size: 15px; letter-spacing: .12em; color: var(--muted); transition: color .3s, background .3s; text-transform: uppercase; }
.tt-day + .tt-day { border-left: 1px solid var(--line); }
.tt-day:hover { color: var(--paper); background: var(--ink-3); }
.tt-day[aria-selected="true"] { background: var(--blue); color: var(--ink); }
.tt-day small { display: block; font-size: 9px; letter-spacing: .16em; margin-top: 4px; opacity: .8; }
.tt-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; transition: all .25s; }
.chip i { width: 9px; height: 9px; }
.chip[aria-pressed="true"] { color: var(--paper); border-color: rgba(236,232,223,.45); }
.chip[aria-pressed="false"] i { opacity: .25; }
.tt-list { min-height: 280px; }
.tt-row { display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 24px; padding: 26px 28px; border-bottom: 1px solid var(--line); transition: background .3s; }
.tt-row:last-child { border-bottom: 0; }
.tt-row:hover { background: var(--ink-3); }
.tt-time { font-family: var(--display); font-size: 44px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.tt-time small { font-family: var(--body); font-size: 14px; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.tt-name { font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 24px; letter-spacing: .02em; line-height: 1.1; }
.tt-meta { color: var(--muted); font-size: 15px; }
.tt-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-stretch: 75%; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--paper); padding: 8px 12px; border: 1px solid var(--line); white-space: nowrap; }
.tt-tag i { width: 9px; height: 9px; background: var(--c); }
.tt-empty { padding: 90px 20px; text-align: center; }
.tt-empty strong { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 48px; line-height: 1; margin-bottom: 10px; }
.tt-empty span { color: var(--muted); }
.tt-note { margin-top: 20px; color: var(--muted); font-size: 14px; }
.tt-note a { color: var(--paper); border-bottom: 1px solid var(--blue); }

/* ---------- Rd 04 Coaches ---------- */
.coaches { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 36px); align-items: start; }
.coach:nth-child(2) { margin-top: 90px; }
.coach:nth-child(3) { margin-top: 45px; }
.coach-photo { aspect-ratio: 3 / 4; }
.coach-info { padding-top: 20px; border-top: 3px solid var(--ink); margin-top: 16px; }
.coach-role { color: var(--blue-ink); display: block; margin-bottom: 10px; }
.coach h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 4.6vw, 76px); line-height: .9; }

/* ---------- Rd 05 Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(56px, 7vw, 104px); gap: clamp(8px, 1vw, 14px); }
.g { transition: transform .7s var(--ease); }
.g { cursor: zoom-in; }
.g { grid-row: span 5; }
.g-w4 { grid-column: span 4; }
.g-w5 { grid-column: span 5; }
.g-w6 { grid-column: span 6; }
.g-w7 { grid-column: span 7; }

.lightbox { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 64px 24px 24px; background: rgba(7, 9, 15, .96); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 84vh; }
.lb-close { position: absolute; top: 20px; right: var(--gutter); font-family: var(--body); font-stretch: 75%; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }

/* ---------- Rd 06 Reviews ---------- */
.quotes { display: grid; }
.q { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.q.is-active { opacity: 1; visibility: visible; }
.q blockquote { font-family: var(--display); text-transform: uppercase; font-size: clamp(36px, 5.6vw, 92px); line-height: .98; max-width: 20ch; }
.q blockquote strong { font-weight: 400; color: #fff; }
.q figcaption { margin-top: 32px; color: rgba(7, 9, 15, .75); }
.q-controls { display: flex; align-items: center; gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.q-count { white-space: nowrap; }
.q-bar { flex: 1; height: 2px; background: rgba(7, 9, 15, .2); }
.q-bar i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.q-btn { width: 60px; height: 60px; border: 1px solid var(--ink); font-size: 20px; transition: background .3s, color .3s; }
.q-btn:hover { background: var(--ink); color: var(--blue); }

/* ---------- Rd 07 Visit ---------- */
.visit-title { margin-bottom: clamp(56px, 7vw, 96px); }
.visit { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.vd { padding: 22px 0; border-top: 1px solid var(--line); }
.vd-label { display: block; color: var(--muted); margin-bottom: 8px; font-size: 12px; }
.vd a { font-stretch: 85%; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.01em; transition: color .3s; overflow-wrap: anywhere; }
.vd a:hover { color: var(--blue-text); }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 30px; border-top: 1px solid var(--line); }
.map { position: relative; min-height: 440px; background: var(--ink-3); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9) brightness(.95); }

/* ---------- Rd 07 FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .head { position: sticky; top: 110px; margin-bottom: 0; }
.faq { border-top: 3px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-paper); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2vw, 26px); letter-spacing: .01em; line-height: 1.15; }
.faq summary::after { content: "+"; flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--ink); font-size: 22px; line-height: 1; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
.faq details p { padding: 0 64px 28px 0; color: var(--muted-paper); font-size: 17px; max-width: 640px; }
.faq details a { color: var(--ink); border-bottom: 2px solid var(--blue); }

.visit-intro { color: var(--muted); font-size: 17px; max-width: 440px; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); overflow: hidden; padding-top: 24px; }
.ropes { display: grid; gap: 10px; padding: 0 var(--gutter); }
.ropes i { height: 3px; background: var(--paper); opacity: .9; }
.ropes i:nth-child(2) { background: var(--blue); opacity: 1; }
.footer-word { font-family: var(--display); text-transform: uppercase; font-size: 35vw; line-height: .78; text-align: center; color: var(--blue); margin: 4vw 0 2vw; user-select: none; letter-spacing: -0.01em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; font-size: 15px; color: rgba(236, 232, 223, .8); }
.footer-col p { max-width: 280px; margin-top: 14px; color: var(--muted); }
.footer-grid address { font-style: normal; line-height: 1.6; }
.footer-label { display: block; margin-bottom: 12px; font-stretch: 75%; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--blue-text); }
.footer-col a { transition: color .3s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--blue-text); }
nav.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-inner a:hover { color: var(--paper); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-brand img { width: 20px; height: auto; }

/* ---------- Reveal states (only when JS animation is running) ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(40px); }
.js-anim .reveal-img { clip-path: inset(100% 0 0 0); }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .02em; }
.wm > span { display: inline-block; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .nav-links > a span { display: none; }
}
@media (max-width: 900px) {
  .nav { gap: 16px; }
  .nav-cta { margin-left: auto; padding: 10px 14px; }
  .menu-btn { display: block; padding: 10px 14px; border: 1px solid var(--line); font-size: 12px; }
  .nav.open .menu-open { display: none; }
  .nav.open .menu-close { display: inline; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    flex-direction: column; gap: 0; justify-content: center;
    padding: 90px var(--gutter) 40px; background: var(--ink);
    color: var(--paper); font-family: var(--display); font-stretch: normal; font-weight: 400; letter-spacing: 0; font-size: clamp(44px, 12vw, 72px); line-height: 1.05;
    clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
  }
  .nav.open .nav-links { clip-path: inset(0 0 0 0); }
  .nav.open { background: transparent; border-bottom-color: transparent; }
  .nav-links > a::after { display: none; }
  .nav-links > a span { display: inline; font-family: var(--body); font-size: 12px; vertical-align: 1.6em; margin-right: 10px; }
  .nav-links-foot { display: grid; gap: 6px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--body); font-size: 15px; line-height: 1.4; color: var(--muted); }

  .hero-top .hide-sm, .hero-thai { display: none; }
  .hero-bottom { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { flex: 1 1 auto; }

  .head-row { flex-direction: column; align-items: flex-start; gap: 20px; }

  .about { grid-template-columns: 1fr 1fr; }
  .about-copy { grid-column: 1 / -1; margin-bottom: 16px; }
  .about-photo-sm { margin-bottom: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line-paper); }

  .disc { grid-template-columns: 44px 1fr; gap: 12px 16px; }
  .disc-desc { grid-column: 2; }
  .disc-media { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 10; margin-top: 12px; }
  .disc-float { display: none; }

  .tt-day { font-size: 12px; letter-spacing: .06em; padding: 18px 2px; }
  .tt-row { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 22px 18px; }
  .tt-time { grid-column: 1 / -1; font-size: 36px; }

  .coaches { grid-template-columns: 1fr; max-width: 480px; }
  .coach:nth-child(n) { margin-top: 0; }
  .coach + .coach { margin-top: 48px; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .g { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 4; }
  .g-w6, .g-w7 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .team-band { height: 62vw; }

  .visit { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .faq-wrap .head { position: static; margin-bottom: 40px; }
  .faq details p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .map { min-height: 320px; }
}
@media (max-width: 520px) {
  .logo-sub { display: none; }
  .hero { padding-top: 96px; }
  .hero-top { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .tape-track { animation: none; }
  .statement .w { opacity: 1; }
}
