/* ==========================================================================
   Arena Animation Yelahanka — Landing page
   Apple-inspired: generous whitespace, big type, scroll-driven motion.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --yellow: #FFC700;
  --yellow-600: #F2B800;
  --yellow-50: #FFF6D1;
  --yellow-ink: #1B1400;
  --accent-ink: #8A6400;          /* yellow-family text with AA contrast on white */

  --ink: #1D1D1F;
  --ink-2: #424245;
  --muted: #6E6E73;
  --line: #E5E5EA;
  --bg: #FFFFFF;
  --gray: #F5F5F7;
  --dark: #000000;
  --dark-2: #1D1D1F;
  --dark-3: #2C2C2E;
  --dark-muted: #A1A1A6;
  --danger: #D70015;

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .06);
  --shadow: 0 18px 50px rgba(0, 0, 0, .10);

  --max: 1440px;
  --gutter: 24px;
  --nav-h: 64px;
  --pad-x: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));

  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
mark { color: inherit; }
cite { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ico {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.skip {
  position: fixed; top: -80px; left: 16px; z-index: 300;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; z-index: 150; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h); padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .25s, box-shadow .3s, color .25s;
}
.btn .ico--arrow { transition: transform .3s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(3px); }
.btn--primary { background: var(--yellow); color: var(--yellow-ink); }
.btn--primary:hover { background: var(--yellow-600); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255, 199, 0, .38); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-1px); }
.btn--ghost { background: rgba(0, 0, 0, .05); color: var(--ink); }
.btn--ghost:hover { background: rgba(0, 0, 0, .09); }
.btn--light { background: rgba(255, 255, 255, .14); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--light:hover { background: rgba(255, 255, 255, .24); }
.btn--sm { --h: 38px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn__play {
  display: grid; place-items: center; width: 26px; height: 26px; margin-left: -8px;
  border-radius: 50%; background: var(--ink); color: #fff;
}
.btn__play .ico { width: 10px; height: 10px; margin-left: 1px; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--yellow); }
.eyebrow--light, .section--dark .eyebrow { color: var(--yellow); }

.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--dark); color: #F5F5F7; }
.section__head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head--row { max-width: var(--max); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__title { font-size: clamp(34px, 5vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.section__lead { max-width: 640px; margin-top: 16px; font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); }
.center .section__lead { margin-inline: auto; }
.section--dark .section__lead { color: var(--dark-muted); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), border-color .3s;
}
.nav.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__img { height: 38px; width: auto; }
.brand__sub {
  padding-left: 12px; border-left: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: .18em; line-height: 1.6; color: var(--muted);
}
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav__links a { position: relative; padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--yellow); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current] { color: var(--ink); }
.nav__links a[aria-current]::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.hamburger { display: none; position: relative; width: 40px; height: 40px; border-radius: 50%; }
.hamburger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; border-radius: 2px; background: var(--ink);
  transition: transform .35s var(--ease);
}
.hamburger span:first-child { top: 16px; }
.hamburger span:last-child { top: 23px; }
.hamburger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .hamburger { display: block; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; height: calc(100dvh - var(--nav-h));
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 40px; overflow-y: auto;
    background: rgba(255, 255, 255, .98);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a {
    padding: 16px 0; border-bottom: 1px solid var(--line);
    font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--ink);
    opacity: 0; transform: translateY(-8px); transition: opacity .45s var(--ease), transform .45s var(--ease);
  }
  .nav__links a::after { display: none; }
  .nav__links.is-open a { opacity: 1; transform: none; }
  .nav__links.is-open a:nth-child(2) { transition-delay: .04s; }
  .nav__links.is-open a:nth-child(3) { transition-delay: .08s; }
  .nav__links.is-open a:nth-child(4) { transition-delay: .12s; }
  .nav__links.is-open a:nth-child(5) { transition-delay: .16s; }
  .nav__links.is-open a:nth-child(6) { transition-delay: .2s; }
}

/* ==========================================================================
   HERO — static by default; pinned + expanding stage when motion is allowed
   ========================================================================== */
.hero { position: relative; background: radial-gradient(1200px 620px at 50% -8%, #FFF6D6 0%, rgba(255, 255, 255, 0) 65%), var(--bg); }
.hero__sticky { position: relative; }
.hero__copy { position: relative; z-index: 1; padding-top: calc(var(--nav-h) + clamp(44px, 9vh, 96px)); text-align: center; }
.hero__title { font-size: clamp(42px, 7vw, 96px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
.hero__title .line { display: block; overflow: hidden; padding: .04em 0 .1em; }
.hero__title .line > span { display: inline-block; }
.hl {
  padding: 0 .14em; border-radius: .16em; background: var(--yellow); color: #000;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__sub { max-width: 600px; margin: 20px auto 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--muted); }
.hero__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.cat {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 15px; font-weight: 600; transition: box-shadow .3s, border-color .3s;
}
.cat:hover { border-color: #D2D2D7; box-shadow: var(--shadow); }
.cat .ico { color: var(--accent-ink); }

.hero__stage {
  position: relative; z-index: 2; isolation: isolate; overflow: hidden;
  height: min(70vh, 720px); margin: 48px var(--gutter) 0; border-radius: var(--radius-lg); background: #111;
}
.hero__media { position: absolute; inset: 0; }
.hero__img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .8s; }
.hero__video.is-playing { opacity: 1; }
.hero__stage::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .7));
}
.hero__caption { position: absolute; left: 0; right: 0; bottom: clamp(32px, 9vh, 96px); z-index: 2; padding-inline: var(--gutter); text-align: center; color: #fff; }
.hero__caption-title { font-size: clamp(32px, 5.4vw, 76px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }

@media (min-width: 768px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) {
  .js .hero { height: 240vh; }
  .js .hero__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  .js .hero__copy { will-change: transform, opacity; }
  .js .hero__stage {
    position: absolute; inset: 0; height: auto; margin: 0; border-radius: 34px;
    transform-origin: 50% 0; transform: translate3d(0, 80vh, 0) scale(.88); will-change: transform;
  }
  .js .hero__media { transform: scale(1.18); will-change: transform; }
  .js .hero__caption { opacity: 0; }
}

/* Load-in animation */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js [data-in] { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0s); }
  .js .hero__title .line > span { animation: lineUp 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
}

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0; transform: translate3d(0, 40px, 0);
    transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ==========================================================================
   PARTNERS MARQUEE
   ========================================================================== */
.partners { padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); }
.partners__head { margin-bottom: 36px; text-align: center; }
.partners__title { max-width: 640px; margin-inline: auto; font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  flex: none; display: flex; align-items: center; justify-content: space-around; min-width: 100%;
  gap: clamp(40px, 6vw, 96px); padding-right: clamp(40px, 6vw, 96px);
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.wordmark { white-space: nowrap; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.02em; color: #86868B; transition: color .3s; }
.wordmark:hover { color: var(--ink); }
.wm-caps { font-weight: 700; letter-spacing: .16em; }
.wm-serif { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: 0; }
.wm-light { font-weight: 400; letter-spacing: .02em; }

/* ==========================================================================
   STATEMENT + STATS
   ========================================================================== */
.statement { padding: clamp(96px, 14vw, 180px) 0 clamp(72px, 10vw, 140px); }
.statement__text {
  max-width: 1100px; margin-inline: auto; text-align: center;
  font-size: clamp(28px, 3.8vw, 54px); font-weight: 700; line-height: 1.18; letter-spacing: -.03em;
}
.statement__text .w { transition: color .4s; }
.statement.is-armed .w { color: #D2D2D7; }
.statement.is-armed .w.on { color: var(--ink); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 1100px; margin: clamp(64px, 8vw, 110px) auto 0; padding-top: 40px; border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column-reverse; gap: 6px; text-align: center; }
.stat dd { font-size: clamp(40px, 4.6vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat__suf { color: var(--yellow-600); }
.stat dt { font-size: 15px; color: var(--muted); }

/* ==========================================================================
   TABS / FILTERS
   ========================================================================== */
.tabs, .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs { justify-content: center; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 42px; padding: 0 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 600;
  transition: background-color .25s, color .25s, border-color .25s;
}
.tab:hover { border-color: #C7C7CC; color: var(--ink); }
.tab[aria-selected="true"], .tab[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #000; }
.section--dark .tab { background: var(--dark-2); border-color: var(--dark-3); color: #D2D2D7; }
.section--dark .tab:hover { border-color: #48484A; color: #fff; }
.section--dark .tab[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #000; }

/* ==========================================================================
   COURSE FEATURE
   ========================================================================== */
.feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(14px, 1.6vw, 20px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow);
}
.feature__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius-lg) - 8px); background: #E8E8ED; }
.feature__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .4s var(--ease), transform 1.2s var(--ease);
}
.feature:hover .feature__media img { transform: scale(1.03); }
.badge {
  position: absolute; top: 16px; left: 16px; z-index: 1; padding: 7px 13px; border-radius: 999px;
  background: var(--yellow); color: #000; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.feature__body { padding: clamp(8px, 2vw, 24px) clamp(8px, 2.4vw, 36px) clamp(8px, 2vw, 24px) 0; }
.feature__body > * { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.feature.is-swapping .feature__body > * { opacity: 0; transform: translateY(8px); }
.feature.is-swapping .feature__media img { opacity: 0; }
.feature__body h3 { font-size: clamp(26px, 2.8vw, 40px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.feature__body p { margin: 14px 0 22px; font-size: 18px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--gray); font-size: 14px; font-weight: 600; }
.chips li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow-600); }

/* ==========================================================================
   PROGRAMS — horizontal track (native swipe; pinned scroll-driven on desktop)
   ========================================================================== */
.hscroll { position: relative; }
.hscroll__sticky { padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.hscroll__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.hscroll__nav { display: flex; gap: 10px; }
.rnd {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark-2); color: #F5F5F7; transition: background-color .2s, opacity .2s;
}
.rnd:hover { background: var(--dark-3); }
.rnd:disabled { opacity: .35; cursor: default; }
.rnd--light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.rnd--light:hover { background: var(--gray); }
.hscroll__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px var(--pad-x) 8px; scroll-padding-inline: var(--pad-x);
}
.hscroll__track::-webkit-scrollbar { display: none; }
.pcard {
  position: relative; isolation: isolate; flex: none; overflow: hidden;
  width: clamp(270px, 26vw, 380px); aspect-ratio: 3 / 4; border-radius: var(--radius-lg);
  background: var(--dark-2); scroll-snap-align: start;
}
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__img { transform: scale(1.05); }
.pcard::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .1) 48%, rgba(0, 0, 0, .55) 100%);
}
.pcard__body { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; padding: clamp(22px, 2vw, 30px); color: #fff; }
.pcard__kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.pcard h3 { margin-top: 8px; font-size: clamp(22px, 2vw, 28px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.pcard p:not(.pcard__kicker) { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.pcard__link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto;
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .25s, color .25s;
}
.pcard__link:hover { background: var(--yellow); color: #000; }
.pcard--cta { background: var(--yellow); }
.pcard--cta::after { display: none; }
.pcard--cta .pcard__body { color: var(--yellow-ink); justify-content: center; }
.pcard--cta .pcard__kicker { color: var(--accent-ink); }
.pcard--cta p:not(.pcard__kicker) { color: rgba(27, 20, 0, .72); }
.pcard--cta .pcard__link { margin-top: 28px; background: var(--ink); color: #fff; }
.pcard--cta .pcard__link:hover { background: #000; color: #fff; }
.hscroll__bar { height: 3px; margin-top: 32px; overflow: hidden; border-radius: 3px; background: var(--dark-3); }
.hscroll__bar span { display: block; height: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }

/* Pinned mode — JS adds .is-pinned on wide screens when motion is allowed */
.hscroll.is-pinned .hscroll__sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center; padding: var(--nav-h) 0 24px;
}
.hscroll.is-pinned .hscroll__track { width: max-content; overflow: visible; scroll-snap-type: none; will-change: transform; }
.hscroll.is-pinned .pcard { width: auto; height: min(60vh, 560px); }

/* ==========================================================================
   JOURNEY — sticky image + scrolling steps
   ========================================================================== */
.journey { padding: clamp(80px, 10vw, 140px) 0; }
.journey__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.journey__media {
  position: sticky; top: calc(var(--nav-h) + 4vh);
  display: flex; align-items: center; justify-content: center; height: calc(100vh - var(--nav-h) - 8vh);
}
.journey__frame {
  position: relative; height: 100%; max-height: 720px; max-width: 100%; aspect-ratio: 4 / 5;
  overflow: hidden; border-radius: var(--radius-lg); background: var(--gray); box-shadow: var(--shadow);
}
.journey__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.journey__frame img.is-active { opacity: 1; transform: none; }
.journey__count {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; padding: 8px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums;
}
.journey__steps { padding-block: 8vh; }
.jstep { display: flex; flex-direction: column; justify-content: center; min-height: 72vh; transition: opacity .6s var(--ease); }
.js .jstep { opacity: .25; }
.js .jstep.is-active { opacity: 1; }
.jstep__img { display: none; }
.jstep__num { font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.jstep h3 { margin-top: 12px; font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.jstep p { max-width: 460px; margin-top: 16px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); }

/* ==========================================================================
   WHY
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why__grid > li { display: flex; }
.wcard {
  flex: 1; padding: clamp(24px, 2.4vw, 34px); border-radius: var(--radius); background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.wcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wcard__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 16px; background: var(--yellow-50); color: var(--accent-ink); }
.wcard__ico .ico { width: 26px; height: 26px; }
.wcard h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.wcard p { margin-top: 8px; font-size: 16px; color: var(--muted); }

/* ==========================================================================
   SHOWCASE
   ========================================================================== */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work.is-entering { animation: rise .6s var(--ease) both; }
.work__card {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--dark-2); color: #fff; text-align: left;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.work__card.is-tilting { transition: transform .12s linear, box-shadow .6s var(--ease); }
.work__card:hover { box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.work__media { position: absolute; inset: 0; overflow: hidden; }
.work__media img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; max-width: none; object-fit: cover; transition: scale .8s var(--ease); }
.work__card:hover .work__media img { scale: 1.05; }
.work__card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .78)); }
.work__glare {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .18), transparent 45%);
}
.work__card:hover .work__glare { opacity: 1; }
.work__info { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.work__cat { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.work__title { display: block; margin-top: 4px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.work__open {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .25s, color .25s, transform .4s var(--ease);
}
.work__card:hover .work__open { background: var(--yellow); color: #000; transform: rotate(90deg); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(90vh, 820px); overflow: hidden; background: #000; color: #fff; }
.cta-band__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cta-band__media img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; max-width: none; object-fit: cover; }
.cta-band__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .4) 65%, rgba(0, 0, 0, .25)); }
.cta-band__inner { padding-block: clamp(96px, 12vw, 160px); }
.cta-band h2 { max-width: 12ch; font-size: clamp(44px, 7vw, 104px); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.cta-band__inner > p:not(.eyebrow) { max-width: 520px; margin-top: 20px; font-size: clamp(17px, 1.5vw, 21px); color: rgba(255, 255, 255, .82); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.tslider__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px var(--pad-x) 24px; scroll-padding-inline: var(--pad-x);
}
.tslider__track::-webkit-scrollbar { display: none; }
.tcard { flex: none; width: min(440px, 84vw); scroll-snap-align: start; }
.tcard figure {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; height: 100%; min-height: 320px;
  padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--gray);
}
.tcard blockquote { font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; line-height: 1.4; letter-spacing: -.015em; }
.tcard blockquote::before { content: '\201C'; display: block; height: .45em; margin-bottom: 14px; font-size: 64px; font-weight: 800; line-height: .9; color: var(--yellow-600); }
.tcard figcaption { display: flex; align-items: center; gap: 14px; }
.avatar { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: #000; font-size: 15px; font-weight: 700; }
.tcard cite { display: block; font-weight: 700; }
.tcard__role { font-size: 14px; color: var(--muted); }
.tslider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.tslider__dots button { position: relative; width: 8px; height: 8px; border-radius: 999px; background: #D2D2D7; transition: width .35s var(--ease), background-color .35s; }
.tslider__dots button::before { content: ''; position: absolute; inset: -10px -6px; }
.tslider__dots button[aria-current="true"] { width: 28px; background: var(--ink); }

/* ==========================================================================
   EVENTS
   ========================================================================== */
.events { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(3, auto); gap: 20px; }
.event--feat {
  position: relative; isolation: isolate; grid-row: 1 / span 3; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 540px; padding: clamp(26px, 3vw, 40px); overflow: hidden; border-radius: var(--radius-lg); background: var(--dark-2); color: #fff;
}
.event__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.event__media img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; max-width: none; object-fit: cover; }
.event__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .85)); }
.event__flag {
  position: absolute; top: 24px; left: 24px; padding: 7px 13px; border-radius: 999px;
  background: var(--yellow); color: #000; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.event--feat h3 { font-size: clamp(30px, 3.4vw, 48px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
.event__desc { max-width: 460px; margin-top: 12px; color: rgba(255, 255, 255, .82); }
.event__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.event__meta span { display: inline-flex; align-items: center; gap: 8px; }
.event--feat .btn { align-self: flex-start; margin-top: 24px; }
.event {
  display: grid; grid-template-columns: 190px 1fr; overflow: hidden; border-radius: var(--radius); background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.event:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.event__thumb { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.event__body { display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; }
.event__date { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.event h3 { margin-top: 6px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.event p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ==========================================================================
   ENQUIRE
   ========================================================================== */
.enquire__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.enquire__info .section__title { font-size: clamp(34px, 4.2vw, 56px); }
.contact-list { display: grid; gap: 18px; margin-top: 40px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list__ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--gray); }
.contact-list strong { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.contact-list a, .contact-list li > span > span { font-weight: 600; }
.contact-list a:hover { color: var(--accent-ink); }

.eform {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px;
  padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--gray);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full, .eform > .btn, .eform__note, .eform__status, .success { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid #D2D2D7; background: #fff; font-size: 16px; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 199, 0, .35); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(215, 0, 21, .1); }
.field__error { font-size: 13px; color: var(--danger); }
.field__error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.eform > .btn { margin-top: 6px; }
.eform.is-loading > .btn { opacity: .65; pointer-events: none; }
.eform__note { font-size: 13px; color: var(--muted); }
.eform__status { font-size: 14px; font-weight: 600; }
.eform__status:empty { display: none; }
.eform__status.is-error { color: var(--danger); }
.success { padding: 32px 8px; text-align: center; outline: none; }
.success__ico { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--yellow); }
.success__ico .ico { width: 28px; height: 28px; stroke-width: 2.4; }
.success h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.success p { max-width: 380px; margin: 8px auto 0; color: var(--muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: clamp(56px, 7vw, 88px) 0 28px; background: var(--gray); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__logo { width: auto; height: 56px; }
.footer__about { max-width: 300px; margin-top: 18px; color: var(--muted); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); transition: background-color .25s, border-color .25s, transform .25s;
}
.social a:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }
.footer h2 { margin-bottom: 16px; font-size: 14px; font-weight: 700; }
.footer__links { display: grid; gap: 10px; }
.footer__links a, .footer__contact a { color: var(--muted); transition: color .2s; }
.footer__links a:hover, .footer__contact a:hover { color: var(--ink); }
.footer__contact { display: grid; gap: 12px; color: var(--muted); }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer__contact .ico { margin-top: 2px; }
.footer__bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid #D2D2D7; font-size: 13px; color: var(--muted);
}
.footer__bar nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bar a:hover { color: var(--ink); }

/* ---------- Floating WhatsApp ---------- */
.wa {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
  opacity: 0; transform: translateY(90px) scale(.8); pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s;
}
.wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa.is-visible:hover { transform: scale(1.06); }
.wa .ico { width: 26px; height: 26px; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100%; max-width: min(1100px, 92vw); padding: 0; border: 0; overflow: visible; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox[open] { animation: zoomIn .4s var(--ease); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } }
.lightbox__media { overflow: hidden; border-radius: var(--radius); background: #000; }
.lightbox__media img, .lightbox__media video { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox__media iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.lightbox__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 14px; }
.lightbox__title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.lightbox__cat { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.lightbox__close {
  position: absolute; top: -52px; right: 0; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255, 255, 255, .14); transition: background-color .2s;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .26); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature__body { padding: 8px 12px 16px; }
  .journey__grid { grid-template-columns: 1fr; }
  .journey__media { display: none; }
  .journey__steps { display: grid; gap: 64px; padding: 0; }
  .jstep, .js .jstep { min-height: 0; opacity: 1; }
  .jstep__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 22px; border-radius: var(--radius); }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .works { grid-template-columns: 1fr 1fr; }
  .events { grid-template-columns: 1fr; }
  .event--feat { grid-row: auto; min-height: 460px; }
  .enquire__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 720px) {
  .tabs, .filters {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .tabs::-webkit-scrollbar, .filters::-webkit-scrollbar { display: none; }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .brand__sub { display: none; }
  .brand__img { height: 34px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__stage { height: 56vh; }
  .why__grid, .works, .footer__grid { grid-template-columns: 1fr; }
  .work__card { aspect-ratio: 4 / 3; }
  .eform { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; }
  .event__thumb { aspect-ratio: 16 / 9; min-height: 0; }
  .wa { right: 16px; }
}
@media (max-width: 380px) {
  .nav__cta { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 20px; padding-right: 0; }
  .marquee__track[aria-hidden] { display: none; }
}
