/* ═══════════════════════════════════════════════════
   EIGHT LIMBS FIGHT CLUB — style.css
   Part 1: Reset · Variables · Typography · Body · Utils · Navbar · Hero
═══════════════════════════════════════════════════ */

/* ──────────────────────────────
   RESET
────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ──────────────────────────────
   DESIGN TOKENS
────────────────────────────── */
:root {
  /* Colors — unified dark palette */
  --c-black:      #080808;   /* single base dark */
  --c-near-black: #080808;   /* kept for backwards compat — same value */
  --c-dark:       #101010;   /* cards / insets */
  --c-dark-mid:   #181818;
  --c-mid:        #282828;
  --c-white:      #f5f4f0;
  --c-white-dim:  rgba(245,244,240,0.52);
  --c-white-faint:rgba(245,244,240,0.10);
  --c-red:        #8b1a1a;
  --c-red-glow:   rgba(139,26,26,0.16);
  /* Alternating section overlay — replaces different hex backgrounds */
  --c-section-alt: rgba(255,255,255,0.018);

  /* Typography */
  --f-display:   'Bebas Neue', sans-serif;
  --f-serif:     'Cormorant Garamond', Georgia, serif;
  --f-sans:      'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --sp-xs:   0.5rem;
  --sp-sm:   1rem;
  --sp-md:   2rem;
  --sp-lg:   4rem;
  --sp-xl:   8rem;
  --sp-2xl: 12rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --t-fast:   0.22s;
  --t-mid:    0.45s;
  --t-slow:   0.85s;
}

/* ──────────────────────────────
   BODY & GLOBAL
────────────────────────────── */
body {
  background-color: var(--c-black);
  color: var(--c-white);
  font-family: var(--f-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ──────────────────────────────
   GRAIN OVERLAY
────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;  /* slightly lighter — avoids over-graining on dark unified bg */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  animation: grain 1.4s steps(2) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(2px,-2px); }
}

/* ──────────────────────────────
   MOUSE GLOW
────────────────────────────── */
.mouse-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-red-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity var(--t-mid) var(--ease-out);
  opacity: 0;
}
/* mouse-glow opacity controlled exclusively by JS */

/* ──────────────────────────────
   TYPOGRAPHY SYSTEM
────────────────────────────── */
.section-overline {
  font-family: var(--f-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-white-dim);
  margin-bottom: var(--sp-md);
  display: block;
}

/* ──────────────────────────────
   BUTTON SYSTEM
────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-white);
  transform: translateX(-101%);
  transition: transform var(--t-mid) var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
}
.btn-primary::before { background: var(--c-red); }
.btn-primary:hover { color: var(--c-white); border-color: var(--c-red); }

.btn-ghost {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(245,244,240,0.3);
}
.btn-ghost::before { background: var(--c-white); }
.btn-ghost:hover { color: var(--c-black); border-color: var(--c-white); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border: 1px solid rgba(245,244,240,0.3);
  color: var(--c-white);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}
.btn-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #25D366;
  transform: translateX(-101%);
  transition: transform var(--t-mid) var(--ease-out);
  z-index: -1;
}
.btn-whatsapp:hover::before { transform: translateX(0); }
.btn-whatsapp:hover { color: var(--c-black); border-color: #25D366; }
.wa-icon { flex-shrink: 0; }

/* ──────────────────────────────
   REVEAL ANIMATIONS
────────────────────────────── */
.reveal-up,
.reveal-fade,
.reveal-left {
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}
.reveal-up   { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-fade { transform: translateY(16px); }

.reveal-up.is-visible,
.reveal-fade.is-visible,
.reveal-left.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ──────────────────────────────
   NAVBAR
────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  transition: background var(--t-mid) var(--ease-out),
              border-bottom var(--t-mid) var(--ease-out),
              padding var(--t-mid) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(5,5,5,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245,244,240,0.06);
  padding: 1rem 3rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-mascot {
  width: 32px;
  height: 32px;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  filter: brightness(1);
}
.nav-brand {
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--c-white);
}

/* Nav Links — desktop list removed; only hamburger remains */
.nav-links { display: none; }

/* Retain nav-link styles in case used elsewhere */
.nav-link {
  font-family: var(--f-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-white-dim);
  position: relative;
  transition: color var(--t-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-white);
  transition: width var(--t-mid) var(--ease-out);
}
.nav-link:hover { color: var(--c-white); }
.nav-link:hover::after { width: 100%; }

/* Hamburger — always visible (no desktop nav list) */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--c-white);
  transition: transform var(--t-mid) var(--ease-out),
              opacity var(--t-fast);
}
.nav-hamburger.open span:first-child {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--c-black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-mid) var(--ease-out),
              visibility var(--t-mid);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  position: absolute;
  top: 1.8rem;
  right: 2rem;
  font-size: 1.2rem;
  color: var(--c-white-dim);
  transition: color var(--t-fast);
}
.mobile-menu-close:hover { color: var(--c-white); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.mobile-nav-link {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: var(--c-white-dim);
  transition: color var(--t-fast);
}
.mobile-nav-link:hover,
.mobile-nav-cta { color: var(--c-white); }

.mobile-menu-footer {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--c-white-dim);
}

/* ──────────────────────────────
   HERO
────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  background: var(--c-black);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Giant decorative numeral */
.hero-bg-numeral {
  position: absolute;
  right: -0.1em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-size: clamp(30vw, 45vw, 50vw);
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,244,240,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Mascot */
.hero-mascot-wrap {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: clamp(340px, 44vw, 680px);
  z-index: 1;
  display: flex;
  align-items: flex-end;
}
.hero-mascot-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  mix-blend-mode: normal;
  filter: contrast(1.05);
  animation: mascot-float 6s ease-in-out infinite;
}
@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.hero-mascot-glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 200px;
  background: radial-gradient(ellipse, var(--c-red-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5vw var(--sp-xl);
  max-width: 55%;
}
.hero-eyebrow {
  font-family: var(--f-sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-white-dim);
  margin-bottom: var(--sp-md);
}
.hero-title {
  display: flex;
  flex-direction: column;
  font-family: var(--f-display);
  line-height: 0.92;
  margin-bottom: 1.8rem;
}
.hero-line-1 {
  font-size: clamp(5rem, 14vw, 14rem);
  color: var(--c-white);
}
.hero-line-2 {
  font-size: clamp(5rem, 14vw, 14rem);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-white);
}
.hero-line-3 {
  font-size: clamp(1.8rem, 4vw, 4.5rem);
  color: #7a1a1a;
  letter-spacing: 0.18em;
  margin-top: 0.4em;
}
.hero-sub {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 300;
  color: var(--c-white-dim);
  margin-bottom: var(--sp-md);
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Ticker */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  overflow: hidden;
  border-top: 1px solid rgba(245,244,240,0.08);
  z-index: 3;
  display: flex;
  align-items: center;
}
.hero-ticker-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  font-family: var(--f-sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--c-white-dim);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 60px;
  right: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}
.scroll-cue-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--c-white-dim));
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}
.scroll-cue span {
  font-family: var(--f-sans);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--c-white-dim);
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

/* ──────────────────────────────
   RESPONSIVE — Navbar & Hero
────────────────────────────── */
@media (max-width: 900px) {
  .navbar { padding: 1.2rem 1.5rem; }
  .navbar.scrolled { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  /* hamburger already always-flex; ensure display is correct size */

  .hero-content { max-width: 100%; padding: 0 1.5rem calc(var(--sp-xl) + 40px); }
  .hero-mascot-wrap {
    right: -5%;
    width: clamp(220px, 70vw, 400px);
    opacity: 0.35;
  }
  .hero-line-1, .hero-line-2 { font-size: clamp(4.5rem, 20vw, 8rem); }
  .hero-line-3 { font-size: clamp(1.2rem, 5vw, 2.5rem); }
  .scroll-cue { display: none; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   ABOUT / PHILOSOPHY
═══════════════════════════════════════════════════ */
.about {
  position: relative;
  padding: var(--sp-2xl) 5vw;
  background: var(--c-black); /* unified base */
  overflow: hidden;
}

/* Watermark mascot */
.about-watermark {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 38vw, 560px);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}
.about-watermark img { width: 100%; height: auto; }

/* Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-xl);
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
}

/* Left column */
.about-col-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0.4rem;
}
.about-large-num {
  font-family: var(--f-display);
  font-size: clamp(6rem, 12vw, 14rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,244,240,0.15);
  line-height: 1;
  user-select: none;
}
.about-sub-label {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--c-white-dim);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Right column */
.about-col-right {}
.about-heading {
  font-family: var(--f-serif);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--c-white);
  margin-bottom: var(--sp-lg);
}
.about-heading em {
  font-style: italic;
  color: var(--c-white-dim);
}
.about-body-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 560px;
}
.about-body-text p {
  font-family: var(--f-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--c-white-dim);
  line-height: 1.85;
}
.about-body-text strong {
  font-weight: 500;
  color: var(--c-white);
}

/* Pillars */
.about-pillars {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-top: var(--sp-lg);
  border-top: 1px solid rgba(245,244,240,0.08);
  padding-top: var(--sp-md);
}
.pillar {
  display: flex;
  flex-direction: column;
}
.pillar span {
  font-family: var(--f-sans);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-white-dim);
  position: relative;
  padding-left: 1rem;
  transition: color var(--t-fast);
}
.pillar span::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-red);
}
.pillar:hover span { color: var(--c-white); }

/* About responsive */
@media (max-width: 900px) {
  .about { padding: var(--sp-xl) 1.5rem; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
  .about-col-left {
    flex-direction: row;
    align-items: baseline;
    gap: var(--sp-md);
  }
  .about-large-num { font-size: clamp(4rem, 20vw, 8rem); }
  .about-watermark { display: none; }
}

/* ─────────────────────────────
   MASCOT DIVIDER
───────────────────────────── */
.mascot-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-lg) 5vw;
  overflow: hidden;
}
.divider-rule {
  flex: 1;
  height: 1px;
  background: rgba(245,244,240,0.1);
}
.divider-mascot-img {
  width: clamp(60px, 7vw, 100px);
  height: auto;
  opacity: 0.55;
  filter: contrast(1.1);
  transition: opacity var(--t-mid);
}
.mascot-divider:hover .divider-mascot-img { opacity: 0.9; }

/* ═══════════════════════════════════════════════════
   DISCIPLINES
═══════════════════════════════════════════════════ */
.disciplines {
  /* near-black == black now; subtle overlay gives visual separation */
  background: var(--c-black);
  box-shadow: inset 0 0 0 9999px var(--c-section-alt);
  padding: var(--sp-2xl) 0;
}

.disciplines-header {
  padding: 0 5vw;
  max-width: 1320px;
  margin: 0 auto var(--sp-xl);
}
.disciplines-heading {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 8vw, 9rem);
  line-height: 1;
  color: var(--c-white);
}
.disciplines-heading em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
}

/* Each discipline row */
.discipline-row {
  display: grid;
  grid-template-columns: 160px 1fr 380px;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(245,244,240,0.07);
  padding: var(--sp-lg) 5vw;
  position: relative;
  transition: background var(--t-mid) var(--ease-out);
  cursor: default;
  overflow: hidden;
}
.discipline-row:last-child { border-bottom: 1px solid rgba(245,244,240,0.07); }

.discipline-row::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--c-red);
  transition: width var(--t-slow) var(--ease-out);
}
.discipline-row:hover::after { width: 100%; }
.discipline-row:hover { background: rgba(255,255,255,0.018); }

/* Alt row - flip layout */
.discipline-row--alt {
  grid-template-columns: 380px 1fr 160px;
}

/* Meta col */
.disc-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.disc-meta--right {
  text-align: right;
  align-items: flex-end;
}
.disc-num {
  font-family: var(--f-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--c-red);
}
.disc-tag {
  font-family: var(--f-sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-white-dim);
}

/* Body col */
.disc-body {
  padding: 0 var(--sp-lg);
}
.disc-name {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 5rem);
  letter-spacing: 0.04em;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 0.8rem;
  transition: letter-spacing var(--t-mid) var(--ease-out);
}
.discipline-row:hover .disc-name { letter-spacing: 0.09em; }
.disc-desc {
  font-family: var(--f-sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--c-white-dim);
  line-height: 1.75;
  max-width: 480px;
}

/* Image col */
.disc-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.disc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: transform var(--t-slow) var(--ease-out),
              filter var(--t-slow) var(--ease-out);
}
.discipline-row:hover .disc-img {
  transform: scale(1.06);
  filter: grayscale(80%) contrast(1.15);
}

/* Disciplines responsive */
@media (max-width: 1100px) {
  .discipline-row,
  .discipline-row--alt {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }
  .disc-meta--right { align-items: flex-start; text-align: left; }
  .disc-body { padding: 0; }
  .disc-img-wrap { height: 260px; }
  /* Re-order alt rows */
  .discipline-row--alt .disc-img-wrap { order: -1; }
  .discipline-row--alt .disc-meta { order: 1; }
}
@media (max-width: 600px) {
  .discipline-row { padding: var(--sp-md) 1.5rem; }
  .disc-img-wrap { height: 200px; }
  .disciplines-header { padding: 0 1.5rem; }
}

/* ═══════════════════════════════════════════════════
   EXPERIENCE — KINETIC WORDS
═══════════════════════════════════════════════════ */
.experience {
  position: relative;
  padding: var(--sp-2xl) 5vw;
  background: var(--c-black); /* unified */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-xl);
}

/* Background mascot */
.exp-mascot-bg {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 45vw, 700px);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}
.exp-mascot-bg img { width: 100%; height: auto; }

/* Words */
.exp-words-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.exp-word {
  font-family: var(--f-display);
  font-size: clamp(4rem, 12vw, 14rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,244,240,0.12);
  transition: color var(--t-mid) var(--ease-out),
              -webkit-text-stroke var(--t-mid) var(--ease-out),
              transform var(--t-mid) var(--ease-out),
              letter-spacing var(--t-mid) var(--ease-out);
  cursor: default;
  padding: 0.08em 0;
  letter-spacing: 0.01em;
  transform-origin: left center;
}

.exp-word.is-active {
  color: var(--c-white);
  -webkit-text-stroke: 0px transparent;
  transform: translateX(1.5vw);
  letter-spacing: 0.03em;
}

/* Hover state */
.exp-word:hover {
  color: var(--c-white);
  -webkit-text-stroke: 0px transparent;
  letter-spacing: 0.04em;
}

/* Closing line */
.exp-closing {
  position: relative;
  z-index: 1;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 300;
  color: var(--c-white-dim);
  line-height: 1.6;
  border-left: 1px solid var(--c-red);
  padding-left: var(--sp-md);
  margin-top: var(--sp-sm);
}
.exp-closing em {
  display: block;
  color: var(--c-white);
}

/* Experience responsive */
@media (max-width: 768px) {
  .experience { padding: var(--sp-xl) 1.5rem; gap: var(--sp-lg); }
  .exp-word { font-size: clamp(3rem, 16vw, 7rem); }
  .exp-mascot-bg { opacity: 0.04; }
}

/* ═══════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════ */
.gallery {
  background: var(--c-near-black);
  padding: var(--sp-2xl) 5vw;
}

.gallery-header {
  max-width: 1320px;
  margin: 0 auto var(--sp-xl);
}
.gallery-heading {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 8vw, 9rem);
  line-height: 1;
  color: var(--c-white);
}
.gallery-heading em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
}

/* Masonry grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 6px;
  max-width: 1320px;
  margin: 0 auto;
}

.gal-item {
  position: relative;
  overflow: hidden;
  background: var(--c-dark);
  cursor: pointer;
  margin: 0;
}

.gal-tall { grid-row: span 2; }
.gal-wide { grid-column: span 2; }

.gal-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.85);
  transition: transform var(--t-slow) var(--ease-out),
              filter var(--t-slow) var(--ease-out);
  display: block;
}

.gal-item:hover .gal-img {
  transform: scale(1.06);
  filter: grayscale(60%) contrast(1.1) brightness(0.95);
}

/* Caption */
.gal-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(5,5,5,0.85) 0%, transparent 100%);
  font-family: var(--f-sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-white-dim);
  transform: translateY(100%);
  transition: transform var(--t-mid) var(--ease-out);
}
.gal-item:hover figcaption { transform: translateY(0); }

/* Gallery responsive */
@media (max-width: 900px) {
  .gallery { padding: var(--sp-xl) 1.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .gal-wide { grid-column: span 1; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gal-tall { grid-row: span 1; }
  .gal-img { min-height: 240px; }
}

/* ═══════════════════════════════════════════════════
   INSTAGRAM
═══════════════════════════════════════════════════ */
.instagram {
  background: var(--c-black); /* unified */
  box-shadow: inset 0 0 0 9999px var(--c-section-alt);
  padding: var(--sp-2xl) 5vw;
  border-top: 1px solid rgba(245,244,240,0.05);
}

.ig-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.ig-heading {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1;
  color: var(--c-white);
  margin-bottom: var(--sp-md);
}
.ig-heading em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--c-white-dim);
}
.ig-body {
  font-family: var(--f-sans);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--c-white-dim);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
  max-width: 420px;
}

/* Instagram visual card */
.ig-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
}
.ig-card {
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(245,244,240,0.1);
  background: var(--c-dark);
  overflow: hidden;
  transition: border-color var(--t-mid), transform var(--t-mid) var(--ease-out);
}
.ig-card:hover {
  border-color: rgba(245,244,240,0.25);
  transform: translateY(-4px);
}
.ig-card-img-wrap {
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.ig-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: transform var(--t-slow) var(--ease-out),
              filter var(--t-slow) var(--ease-out);
}
.ig-card:hover .ig-card-img-wrap img {
  transform: scale(1.04);
  filter: grayscale(70%) contrast(1.1);
}
.ig-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  border-top: 1px solid rgba(245,244,240,0.06);
}
.ig-at {
  font-family: var(--f-sans);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--c-white-dim);
}
.ig-insta-icon {
  width: 18px;
  height: 18px;
  color: var(--c-white-dim);
  font-size: 0.7rem;
}

/* Instagram responsive */
@media (max-width: 900px) {
  .instagram { padding: var(--sp-xl) 1.5rem; }
  .ig-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
  .ig-visual { align-items: flex-start; }
  .ig-card { max-width: 340px; }
}

/* ═══════════════════════════════════════════════════
   CONTACT / JOIN
═══════════════════════════════════════════════════ */
.contact {
  position: relative;
  background: var(--c-black); /* unified */
  box-shadow: inset 0 0 0 9999px var(--c-section-alt);
  padding: var(--sp-2xl) 5vw;
  overflow: hidden;
  border-top: 1px solid rgba(245,244,240,0.05);
}

/* Big background word */
.contact-bg-word {
  position: absolute;
  bottom: -0.15em;
  right: -0.05em;
  font-family: var(--f-display);
  font-size: clamp(15vw, 22vw, 28vw);
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,244,240,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
}

/* Left col */
.contact-heading {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 8vw, 9rem);
  line-height: 0.92;
  color: var(--c-white);
  margin-bottom: var(--sp-md);
}
.contact-heading em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--c-white-dim);
}
.contact-body {
  font-family: var(--f-sans);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--c-white-dim);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: var(--sp-lg);
}
.contact-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Right col — info card */
.contact-card {
  border: 1px solid rgba(245,244,240,0.08);
  background: rgba(245,244,240,0.02);
  overflow: hidden;
}
.contact-card-mascot {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(1.05) brightness(0.8);
  border-bottom: 1px solid rgba(245,244,240,0.06);
  display: block;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(245,244,240,0.05);
  transition: background var(--t-fast);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row:hover { background: rgba(245,244,240,0.03); }
.ci-label {
  font-family: var(--f-sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-white-dim);
}
.ci-value {
  font-family: var(--f-serif);
  font-size: 0.98rem;
  color: var(--c-white);
}
.ci-value a {
  color: var(--c-white-dim);
  transition: color var(--t-fast);
}
.ci-value a:hover { color: var(--c-white); }

/* Contact responsive */
@media (max-width: 900px) {
  .contact { padding: var(--sp-xl) 1.5rem; }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
  .contact-bg-word { display: none; }
}
@media (max-width: 480px) {
  .contact-ctas { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: var(--c-black); /* unified */
  border-top: 1px solid rgba(245,244,240,0.05);
  padding: var(--sp-md) 5vw;
  margin-bottom: 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
  max-width: 1320px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-mascot {
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: top center;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity var(--t-fast);
}
.footer-brand:hover .footer-mascot { opacity: 1; }
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.footer-name {
  font-family: var(--f-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--c-white);
}
.footer-sub {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.75rem;
  color: var(--c-white-dim);
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: var(--f-sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-white-dim);
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: var(--c-white); }

.footer-copy {
  font-family: var(--f-sans);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(245,244,240,0.25);
  width: 100%;
  text-align: center;
  padding-top: var(--sp-sm);
  border-top: 1px solid rgba(245,244,240,0.04);
  margin-top: var(--sp-xs);
}

/* Footer responsive */
@media (max-width: 768px) {
  .footer { padding: var(--sp-lg) 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: var(--sp-md); }
  .footer-nav { gap: 1.2rem; }
}

/* ═══════════════════════════════════════════════════
   GLOBAL ANIMATIONS
═══════════════════════════════════════════════════ */

/* Page entrance — stagger body fade */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
body {
  animation: page-enter 0.6s var(--ease-out) both;
}

/* Red accent pulse used on interactive elements */
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139,26,26,0); }
  50%       { box-shadow: 0 0 20px 4px rgba(139,26,26,0.18); }
}
.btn-whatsapp:focus-visible,
.btn-primary:focus-visible {
  animation: pulse-red 1.6s ease-in-out infinite;
  outline: none;
}

/* Focus ring for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 1px solid rgba(245,244,240,0.4);
  outline-offset: 3px;
}

/* Smooth section entry — avoid contain:layout which breaks fixed children */
section {
  contain: style;
}

/* ═══════════════════════════════════════════════════
   PRINT / REDUCED MOTION
═══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .grain-overlay { animation: none; }
  .hero-ticker-track { animation: none; }
  .hero-mascot-img { animation: none; }
  .scroll-cue-line { animation: none; }
}

/* ═══════════════════════════════════════════════════
   GLOBAL RESPONSIVE UTILITIES
═══════════════════════════════════════════════════ */

/* Prevent orphan CTA buttons stacking awkwardly */
@media (max-width: 400px) {
  .hero-ctas,
  .contact-ctas {
    flex-direction: column;
  }
  .btn,
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Large screen centering */
@media (min-width: 1600px) {
  .hero-content { padding-left: calc((100vw - 1320px) / 2); }
  .about,
  .experience,
  .instagram,
  .contact,
  .founder,
  .footer {
    padding-left: calc((100vw - 1320px) / 2);
    padding-right: calc((100vw - 1320px) / 2);
  }
  .disciplines-header,
  .discipline-row {
    padding-left: calc((100vw - 1320px) / 2);
    padding-right: calc((100vw - 1320px) / 2);
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE OVERHAUL — Full device coverage
   Appended optimization pass
═══════════════════════════════════════════════════ */

/* ─────────────────────────────
   iOS / Safari global fixes
───────────────────────────── */
html {
  /* Prevent iOS text size boost */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Safe area insets for notched devices */
.navbar {
  padding-top: max(1.4rem, env(safe-area-inset-top));
}
.footer-inner {
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}

/* Fix iOS vh bug — hero uses svh with dvh fallback */
.hero {
  min-height: 100svh;
  min-height: 100dvh;
}

/* Prevent horizontal overflow globally */
body, html {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Smooth momentum scroll on iOS */
body {
  -webkit-overflow-scrolling: touch;
}

/* Fix iOS button tap highlight */
a, button {
  -webkit-tap-highlight-color: transparent;
}

/* ─────────────────────────────
   TABLET — 1024px
───────────────────────────── */
@media (max-width: 1024px) {
  /* About */
  .about { padding: var(--sp-xl) 4vw; }
  .about-grid { grid-template-columns: 1fr 2.2fr; gap: var(--sp-lg); }
  .about-heading { font-size: clamp(1.5rem, 3vw, 2.4rem); }

  /* Disciplines */
  .discipline-row,
  .discipline-row--alt {
    grid-template-columns: 120px 1fr 280px;
    padding: var(--sp-md) 4vw;
  }
  .disc-name { font-size: clamp(2rem, 4vw, 3.8rem); }
  .disc-img-wrap { height: 180px; }

  /* Instagram */
  .instagram { padding: var(--sp-xl) 4vw; }
  .ig-inner { gap: var(--sp-lg); }
  .ig-heading { font-size: clamp(1.8rem, 4vw, 3.5rem); }

  /* Contact */
  .contact { padding: var(--sp-xl) 4vw; }
  .contact-heading { font-size: clamp(3rem, 6vw, 6rem); }

  /* Experience */
  .experience { padding: var(--sp-xl) 4vw; }
  .exp-word { font-size: clamp(3.5rem, 10vw, 11rem); }

  /* Founder */
  .founder { padding: var(--sp-xl) 0; }
}

/* ─────────────────────────────
   TABLET PORTRAIT — 900px
   (supplements existing rules)
───────────────────────────── */
@media (max-width: 900px) {
  /* Hero — tighten mascot, scale title */
  .hero-content {
    padding: 0 1.5rem calc(var(--sp-xl) + 40px);
    max-width: 100%;
    position: relative;
    z-index: 2;
  }
  .hero-mascot-wrap {
    right: -8%;
    width: clamp(200px, 65vw, 380px);
    opacity: 0.3;
    bottom: 40px;
  }
  .hero-bg-numeral { font-size: 55vw; opacity: 0.6; }
  .hero-line-1,
  .hero-line-2 { font-size: clamp(4rem, 18vw, 7rem); }
  .hero-line-3 { font-size: clamp(1.1rem, 4.5vw, 2.2rem); }
  .hero-sub { font-size: clamp(1rem, 2.5vw, 1.3rem); }
  .hero-eyebrow { font-size: 0.6rem; }

  /* About */
  .about-heading { font-size: clamp(1.5rem, 3.5vw, 2.6rem); }
  .about-body-text p { font-size: 0.9rem; }

  /* Disciplines — single column */
  .discipline-row,
  .discipline-row--alt {
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
    padding: var(--sp-md) 1.5rem;
  }
  .disc-body { padding: 0; }
  .disc-meta--right { align-items: flex-start; text-align: left; }
  .disc-img-wrap { height: 220px; order: -1; }
  .discipline-row--alt .disc-meta { order: 2; }
  .disc-name { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .disc-desc { font-size: 0.85rem; }

  /* Experience */
  .experience { padding: var(--sp-xl) 1.5rem; }
  .exp-word { font-size: clamp(3rem, 14vw, 8rem); }

  /* Instagram */
  .ig-inner { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .ig-card { max-width: 100%; }
  .ig-heading { font-size: clamp(1.8rem, 6vw, 3rem); }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .contact-heading { font-size: clamp(3rem, 10vw, 6rem); }
  .contact-bg-word { display: none; }
  .contact-card-mascot { max-height: 240px; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-md);
  }
  .footer-nav { gap: 1.2rem; flex-wrap: wrap; }
}

/* ─────────────────────────────
   MOBILE — 640px
───────────────────────────── */
@media (max-width: 640px) {
  /* Navbar */
  .navbar { padding: 1rem 1.2rem; }
  .navbar.scrolled { padding: 0.75rem 1.2rem; }
  .nav-brand { font-size: 0.95rem; }
  .nav-mascot { width: 26px; height: 26px; }

  /* Hero */
  .hero-content { padding: 0 1.2rem calc(var(--sp-lg) + 50px); }
  .hero-mascot-wrap {
    width: clamp(180px, 72vw, 320px);
    right: -10%;
    opacity: 0.25;
  }
  .hero-line-1,
  .hero-line-2 { font-size: clamp(3.8rem, 20vw, 6.5rem); }
  .hero-line-3 { font-size: clamp(1rem, 5vw, 1.8rem); letter-spacing: 0.12em; }
  .hero-sub { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-ctas { flex-direction: column; gap: 0.75rem; }
  .btn, .btn-whatsapp {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 1rem 1.5rem;
  }
  .hero-ticker-track { font-size: 0.55rem; gap: 2rem; }

  /* About */
  .about { padding: var(--sp-lg) 1.2rem; }
  .about-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
  .about-col-left {
    flex-direction: row;
    align-items: baseline;
    gap: var(--sp-sm);
  }
  .about-large-num { font-size: clamp(3.5rem, 18vw, 6rem); }
  .about-sub-label { font-size: 1rem; }
  .about-heading { font-size: clamp(1.4rem, 5.5vw, 2rem); line-height: 1.3; }
  .about-watermark { display: none; }
  .about-pillars { gap: 1rem; }

  /* Mascot divider */
  .mascot-divider { padding: var(--sp-md) 1.2rem; }

  /* Disciplines */
  .disciplines { padding: var(--sp-xl) 0; }
  .disciplines-header { padding: 0 1.2rem; margin-bottom: var(--sp-lg); }
  .disciplines-heading { font-size: clamp(2.5rem, 12vw, 5rem); }
  .discipline-row,
  .discipline-row--alt { padding: var(--sp-md) 1.2rem; }
  .disc-img-wrap { height: 200px; }
  .disc-name { font-size: clamp(2rem, 9vw, 3rem); }

  /* Experience */
  .experience { padding: var(--sp-lg) 1.2rem; gap: var(--sp-md); }
  .exp-word { font-size: clamp(2.5rem, 16vw, 6rem); line-height: 0.95; }
  .exp-closing { font-size: 1rem; padding-left: 1rem; }
  .exp-mascot-bg { display: none; }

  /* Instagram */
  .instagram { padding: var(--sp-lg) 1.2rem; }
  .ig-heading { font-size: clamp(1.5rem, 8vw, 2.5rem); }
  .ig-body { font-size: 0.85rem; }
  .ig-card { max-width: 100%; }
  .ig-card-img-wrap { aspect-ratio: 4/3; }

  /* Contact */
  .contact { padding: var(--sp-lg) 1.2rem; }
  .contact-heading { font-size: clamp(2.5rem, 12vw, 5rem); line-height: 0.95; }
  .contact-body { font-size: 0.85rem; }
  .contact-ctas { flex-direction: column; gap: 0.75rem; }
  .contact-card-mascot { max-height: 200px; }
  .ci-label { font-size: 0.58rem; }
  .ci-value { font-size: 0.9rem; }
  .contact-info-row { padding: 0.85rem 1.2rem; }

  /* Footer */
  .footer { padding: var(--sp-md) 1.2rem; }
  .footer-name { font-size: 0.75rem; }
  .footer-sub { font-size: 0.7rem; }
  .footer-nav { gap: 1rem; }
  .footer-nav a { font-size: 0.6rem; }

  /* Section overlines */
  .section-overline { font-size: 0.62rem; margin-bottom: 1rem; }
}

/* ─────────────────────────────
   SMALL MOBILE — 400px
───────────────────────────── */
@media (max-width: 400px) {
  .hero-line-1,
  .hero-line-2 { font-size: clamp(3.2rem, 22vw, 5.5rem); }
  .hero-line-3 { font-size: clamp(0.9rem, 5.5vw, 1.4rem); }
  .hero-mascot-wrap { opacity: 0.18; width: 80vw; }
  .hero-bg-numeral { display: none; }

  .about-heading { font-size: clamp(1.2rem, 6vw, 1.8rem); }
  .disciplines-heading { font-size: clamp(2rem, 14vw, 4rem); }
  .disc-name { font-size: clamp(1.8rem, 10vw, 2.8rem); }
  .exp-word { font-size: clamp(2rem, 18vw, 5rem); }
  .contact-heading { font-size: clamp(2rem, 14vw, 4rem); }
  .ig-heading { font-size: clamp(1.3rem, 9vw, 2rem); }

  .btn, .btn-whatsapp {
    font-size: 0.65rem;
    padding: 0.9rem 1.2rem;
  }
}

/* ─────────────────────────────
   PERFORMANCE — low-end devices
   Reduces animation cost on mobile
───────────────────────────── */
@media (max-width: 768px) {
  /* Disable continuous grain animation on mobile */
  .grain-overlay { animation: none; }

  /* Disable mascot float on mobile — saves GPU */
  .hero-mascot-img { animation: none; }

  /* Simplify scroll cue */
  .scroll-cue-line { animation: none; }

  /* Reduce blur cost */
  .navbar.scrolled {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  /* Disable mouse glow on mobile */
  .mouse-glow { display: none !important; }

  /* Improve image rendering performance */
  .disc-img,
  .gal-img,
  .ig-card-img-wrap img {
    image-rendering: auto;
  }
}

/* ─────────────────────────────
   LANDSCAPE MOBILE fix
   Prevents hero from collapsing
───────────────────────────── */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100svh;
    align-items: center;
    padding-top: 80px;
  }
  .hero-content { padding: 80px 1.5rem 60px; }
  .hero-mascot-wrap { display: none; }
  .hero-line-1,
  .hero-line-2 { font-size: clamp(3rem, 12vw, 5rem); }
  .hero-line-3 { font-size: clamp(0.9rem, 3.5vw, 1.5rem); }
  .hero-sub { display: none; }
  .hero-bg-numeral { display: none; }
}

/* ─────────────────────────────
   TOUCH TARGETS
   WCAG 2.5.5 — min 44x44px
───────────────────────────── */
@media (pointer: coarse) {
  .btn, .btn-whatsapp, .btn-nav-cta {
    min-height: 48px;
  }
  .nav-hamburger {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu-close {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Larger click area for discipline rows on touch */
  .discipline-row { cursor: pointer; }
  /* Disable heavy hover transitions on touch */
  .discipline-row::after { display: none; }
  .disc-img { transition: none; }
}

/* ---------------------------------------------------
   FOUNDER / HEAD COACH
--------------------------------------------------- */
.founder {
  position: relative;
  background: var(--c-black);
  box-shadow: inset 0 0 0 9999px var(--c-section-alt);
  padding: var(--sp-2xl) 0;
  overflow: hidden;
  border-top: 1px solid rgba(245,244,240,0.05);
}

.founder-bg-numeral {
  position: absolute;
  right: -0.08em;
  bottom: -0.15em;
  font-family: var(--f-display);
  font-size: clamp(18vw, 28vw, 34vw);
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,244,240,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.founder-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.founder-img-col {
  position: relative;
  align-self: stretch;
  min-height: 680px;
}

.founder-img-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  filter: grayscale(100%) contrast(1.12) brightness(0.72);
  transition: filter var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}

.founder-img-col:hover .founder-img {
  transform: scale(1.03);
  filter: grayscale(90%) contrast(1.14) brightness(0.76);
}

.founder-img-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  transparent 60%, var(--c-black) 100%),
    linear-gradient(to bottom, rgba(8,8,8,0.35) 0%, transparent 30%),
    linear-gradient(to top,    var(--c-black) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.founder-ring-tag {
  position: absolute;
  bottom: 2.2rem;
  left: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.founder-ring-tag span {
  font-family: var(--f-sans);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-white-dim);
  line-height: 1;
}
.founder-ring-tag span:first-child {
  color: var(--c-red);
  letter-spacing: 0.2em;
}

.founder-text-col {
  padding: var(--sp-xl) 5vw var(--sp-xl) clamp(2.5rem, 4vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.founder-name {
  display: flex;
  flex-direction: column;
  font-family: var(--f-display);
  line-height: 0.88;
  margin-bottom: 1.4rem;
}
.founder-name-first {
  font-size: clamp(4.5rem, 9vw, 11rem);
  color: var(--c-white);
  letter-spacing: 0.02em;
}
.founder-name-last {
  font-size: clamp(4.5rem, 9vw, 11rem);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-white);
  letter-spacing: 0.02em;
  padding-left: 0.12em;
}

.founder-role {
  font-family: var(--f-sans);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-white-dim);
  margin-bottom: 2.2rem;
}

.founder-rule {
  width: 3.5rem;
  height: 1px;
  background: var(--c-red);
  margin-bottom: 2.2rem;
}

.founder-quote {
  font-family: var(--f-serif);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 300;
  font-style: italic;
  color: var(--c-white);
  line-height: 1.5;
  border: none;
  margin: 0 0 2.2rem 0;
  padding: 0;
}
.founder-quote em {
  color: var(--c-white-dim);
  display: block;
}

.founder-bio {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 520px;
  margin-bottom: 3rem;
}
.founder-bio p {
  font-family: var(--f-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--c-white-dim);
  line-height: 1.85;
}
.founder-bio strong {
  color: var(--c-white);
  font-weight: 500;
}
.founder-bio em {
  font-style: italic;
  color: var(--c-white);
}

.founder-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--f-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-white-dim);
  position: relative;
  padding-bottom: 0.3rem;
  transition: color var(--t-fast) var(--ease-out),
              gap var(--t-mid) var(--ease-out);
}
.founder-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-white);
  transition: width var(--t-mid) var(--ease-out);
}
.founder-cta:hover { color: var(--c-white); gap: 1.5rem; }
.founder-cta:hover::after { width: 100%; }
.founder-cta-line { display: none; }

.founder-arrow {
  opacity: 0.6;
  transition: opacity var(--t-fast), transform var(--t-mid) var(--ease-out);
}
.founder-cta:hover .founder-arrow {
  opacity: 1;
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .founder-inner { grid-template-columns: 1fr 1.15fr; }
  .founder-img-col { min-height: 560px; }
  .founder-name-first,
  .founder-name-last { font-size: clamp(3.5rem, 8vw, 8rem); }
}

@media (max-width: 800px) {
  .founder-inner { grid-template-columns: 1fr; }
  .founder-img-col { min-height: 420px; align-self: auto; }
  .founder-img-fade {
    background:
      linear-gradient(to bottom, rgba(8,8,8,0.2) 0%, transparent 25%),
      linear-gradient(to top,    var(--c-black) 0%, transparent 35%);
  }
  .founder-ring-tag { bottom: 1.6rem; left: 1.5rem; }
  .founder-text-col { padding: var(--sp-lg) 1.5rem var(--sp-xl); }
  .founder-name-first,
  .founder-name-last { font-size: clamp(4rem, 18vw, 7rem); }
  .founder-bg-numeral { display: none; }
}

@media (max-width: 480px) {
  .founder-img-col { min-height: 320px; }
  .founder-bio { max-width: 100%; }
}

/* ---------------------------------------------------
   PRODUCTION POLISH  Final responsive pass
   Patches: founder mobile, hero padding, overflow fix
--------------------------------------------------- */

/* Remove redundant max-width:100vw  overflow-x:hidden is sufficient */
body, html { max-width: none; }

/* -- Founder: 640px mobile -- */
@media (max-width: 640px) {
  .founder { padding: var(--sp-lg) 0; }
  .founder-img-col { min-height: 280px; }
  .founder-text-col {
    padding: var(--sp-md) 1.2rem var(--sp-lg);
  }
  .founder-name-first,
  .founder-name-last { font-size: clamp(3.2rem, 16vw, 5.5rem); }
  .founder-quote { font-size: clamp(1rem, 4vw, 1.25rem); margin-bottom: 1.5rem; }
  .founder-bio { gap: 0.9rem; margin-bottom: 2rem; }
  .founder-bio p { font-size: 0.85rem; }
  .founder-role { font-size: 0.62rem; letter-spacing: 0.22em; margin-bottom: 1.6rem; }
  .founder-rule { margin-bottom: 1.6rem; }
  .founder-ring-tag { bottom: 1.2rem; left: 1.2rem; }
  .founder-ring-tag span { font-size: 0.52rem; }
}

/* -- Founder: 400px small phone -- */
@media (max-width: 400px) {
  .founder-name-first,
  .founder-name-last { font-size: clamp(2.8rem, 18vw, 4.5rem); }
  .founder-quote { font-size: 0.95rem; }
  .founder-cta { font-size: 0.6rem; letter-spacing: 0.2em; }
}

/* -- Hero content: tighter bottom on mid tablets -- */
@media (max-width: 1024px) and (min-width: 641px) {
  .hero-content { padding-bottom: calc(var(--sp-lg) + 40px); }
}

/* -- Founder: performance on mobile -- */
@media (max-width: 768px) {
  .founder-img { transition: none; }
  .founder-img-col:hover .founder-img { transform: none; }
}

/* -- Navbar safe-area: scrolled state must also use max() -- */
.navbar.scrolled {
  padding-top: max(1rem, env(safe-area-inset-top));
}

/* -- Footer: safe-area on very small phones -- */
@media (max-width: 400px) {
  .footer { padding-bottom: max(var(--sp-sm), env(safe-area-inset-bottom)); }
}

/* ---------------------------------------------------
   MOBILE HERO  Production Refinement Pass
   Target: phones + tablets (=900px)
   Strategy:
     - Switch to align-items:center so content fills
       the viewport height naturally (no empty-top void)
     - Compress all paddings  hero-content was ~170px bottom
     - Mascot pulled right/behind at very low opacity so it
       doesn't fight the text
     - Buttons become natural inline width, not 100% stretched
     - Typography scaled tighter for small viewports
--------------------------------------------------- */

/* -----------------------------
   TABLET 768900px
   Previously: align-items:flex-end (content at bottom)
   Now: center-anchored with compact padding
------------------------------ */
@media (max-width: 900px) {

  /* Re-anchor hero content vertically */
  .hero {
    align-items: center;
    padding-top: clamp(72px, 12vw, 100px); /* navbar clearance */
    padding-bottom: 48px;
    min-height: 100svh;
    min-height: 100dvh;
  }

  /* Hero content  tighter, full-width */
  .hero-content {
    max-width: 100%;
    padding: 0 clamp(1.2rem, 5vw, 2rem) 0; /* bottom handled by hero itself */
    margin-bottom: 0;
  }

  /* Eyebrow  slightly smaller */
  .hero-eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.25em;
    margin-bottom: 1.2rem;
  }

  /* Title line heights  tighter for compact feel */
  .hero-title { margin-bottom: 1.2rem; }

  .hero-line-1,
  .hero-line-2 { font-size: clamp(4rem, 17vw, 7rem); }

  .hero-line-3 {
    font-size: clamp(1rem, 4.2vw, 2rem);
    letter-spacing: 0.14em;
    margin-top: 0.35em;
  }

  /* Subtitle  compact */
  .hero-sub {
    font-size: clamp(0.9rem, 2.2vw, 1.15rem);
    margin-bottom: 1.6rem;
  }

  /* Mascot  pushed further right and lower opacity so it
     reads as atmosphere, not a competing element */
  .hero-mascot-wrap {
    right: -8%;
    bottom: 0;
    width: clamp(200px, 58vw, 360px);
    opacity: 0.22;
  }

  /* Decorative numeral  faint, hide on very small */
  .hero-bg-numeral {
    font-size: 58vw;
    opacity: 0.5;
  }

  /* Buttons  natural inline width, not stretched */
  .hero-ctas {
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .hero-ctas .btn {
    width: auto;
    padding: 0.8rem 1.6rem;
    font-size: 0.68rem;
  }

  /* Ticker height stays, text tightens */
  .hero-ticker { height: 36px; }
  .hero-ticker-track { font-size: 0.52rem; gap: 1.8rem; }
}

/* -----------------------------
   MOBILE 640px and below
------------------------------ */
@media (max-width: 640px) {

  .hero {
    padding-top: clamp(64px, 14vw, 88px);
    padding-bottom: 40px;
  }

  .hero-content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-line-1,
  .hero-line-2 { font-size: clamp(3.4rem, 19vw, 5.8rem); }

  .hero-line-3 {
    font-size: clamp(0.9rem, 4.5vw, 1.5rem);
    letter-spacing: 0.11em;
  }

  .hero-sub { font-size: 0.9rem; margin-bottom: 1.4rem; }

  .hero-eyebrow { font-size: 0.55rem; letter-spacing: 0.22em; margin-bottom: 1rem; }

  /* Buttons stack on very narrow screens */
  .hero-ctas { flex-direction: column; gap: 0.6rem; }

  .hero-ctas .btn {
    width: 100%;
    max-width: 320px; /* prevent absurdly wide on tablets in this range */
    padding: 0.85rem 1.4rem;
    font-size: 0.66rem;
    justify-content: center;
  }

  .hero-mascot-wrap {
    width: clamp(170px, 65vw, 300px);
    right: -10%;
    opacity: 0.18;
  }

  /* Ticker */
  .hero-ticker { height: 32px; }
  .hero-ticker-track { font-size: 0.5rem; gap: 1.5rem; }
}

/* -----------------------------
   SMALL PHONES =400px
------------------------------ */
@media (max-width: 400px) {

  .hero {
    padding-top: 60px;
    padding-bottom: 36px;
  }

  .hero-line-1,
  .hero-line-2 { font-size: clamp(3rem, 20vw, 5rem); }

  .hero-line-3 { font-size: clamp(0.85rem, 5vw, 1.3rem); }

  .hero-title { margin-bottom: 1rem; }

  .hero-sub { font-size: 0.85rem; margin-bottom: 1.2rem; }

  .hero-mascot-wrap {
    opacity: 0.14;
    width: 75vw;
    right: -12%;
  }

  .hero-bg-numeral { display: none; }

  .hero-ctas .btn {
    max-width: 100%;
    font-size: 0.63rem;
    padding: 0.8rem 1.2rem;
  }
}

/* -----------------------------
   LANDSCAPE MOBILE  short viewport
   Override: hero must not overflow, no mascot
------------------------------ */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {

  .hero {
    align-items: flex-start;
    padding-top: 70px;
    padding-bottom: 48px;
    min-height: auto;
  }

  .hero-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-line-1,
  .hero-line-2 { font-size: clamp(2.4rem, 9vw, 4rem); }
  .hero-line-3 { font-size: clamp(0.8rem, 3vw, 1.2rem); }
  .hero-sub { display: none; }
  .hero-mascot-wrap { display: none; }
  .hero-bg-numeral { display: none; }

  .hero-ctas {
    flex-direction: row;
    gap: 0.75rem;
  }
  .hero-ctas .btn {
    width: auto;
    padding: 0.7rem 1.4rem;
    font-size: 0.62rem;
  }
}
