/* ==========================================================================
   Blaze Badminton
   Colours are sampled from the logo (red, navy, black on white).
   The cobalt and green on this site only ever come from the real court photos.
   The slant comes from the diagonal band on the Blaze poster.
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-standard-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-rupee-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; unicode-range: U+20B9; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-rupee-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; unicode-range: U+20B9; }
@font-face { font-family: "Catamaran"; src: url("../fonts/catamaran-tamil-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0B82-0BFA, U+200C-200D, U+25CC; }

:root {
  --red: #E30B0B;
  --red-text: #C40909; /* same red, dark enough for small text on paper */
  --navy: #0B3044;
  --ink: #101214;
  --white: #fff;
  --paper: #F4F3EF;
  --line: rgb(16 18 20 / .16);
  --muted: #4c5257;

  --sans: "Archivo", "Catamaran", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5rem, 11vw, 10rem);
  --slant: 5.24vw; /* 3 degrees across any viewport width */
  --ease: cubic-bezier(.2, .8, .2, 1);

  --z-cursor: 70; --z-loader: 60; --z-box: 50; --z-nav: 40; --z-menu: 30; --z-dock: 20; --z-band: 5;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 clamp(1rem, .96rem + .2vw, 1.125rem)/1.55 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
section[id], [id="top"] { scroll-margin-top: 5rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.fees :focus-visible, .foot :focus-visible, .box :focus-visible, .slat :focus-visible { outline-color: #fff; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon--flip { transform: scaleX(-1); }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: var(--z-cursor); background: var(--ink); color: #fff; padding: .7rem 1rem; transition: top .2s; }
.skip:focus { top: 1rem; }

/* Type ------------------------------------------------------------------- */
.display {
  font-size: clamp(3rem, 8.2vw, 8.5rem); line-height: .9;
  font-weight: 900; font-style: italic; font-stretch: 68%;
  text-transform: uppercase; letter-spacing: -.012em; text-wrap: balance;
}
.eyebrow { font-weight: 700; font-size: .875rem; letter-spacing: .02em; color: var(--red-text); margin-bottom: 1rem; }
.lede { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.28; font-weight: 500; font-stretch: 92%; }
.ta, [lang="ta"] { font-family: "Catamaran", var(--sans); }
.ta { line-height: 1.5; font-weight: 500; }
.l-mask { padding: .06em .14em .04em 0; margin-bottom: -.1em; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 3.5rem; padding: .9em 1.6em;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font-weight: 800; font-stretch: 88%; line-height: 1.1;
  clip-path: polygon(.8em 0, 100% 0, calc(100% - .8em) 100%, 0 100%);
  position: relative; isolation: isolate; overflow: hidden;
  transition: scale .2s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover, var(--navy));
  transform: translateX(-110%) skewX(-18deg); transform-origin: left; transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(0) scaleX(1.1); }
.btn:active { scale: .97; }
.btn:focus-visible { outline-offset: -5px; outline-color: #fff; }
.btn--red { --bg: var(--red); --hover: var(--ink); }
.btn--ink { --bg: var(--ink); --hover: var(--red); }
.btn--glass { --bg: rgb(255 255 255 / .16); --hover: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: color .25s, scale .2s var(--ease); }
.btn--glass:hover, .btn--glass:focus-visible { color: var(--ink); }
.btn--glass:focus-visible { outline-color: var(--red); }
.btn--huge { font-size: clamp(1.25rem, 3.4vw, 2.75rem); font-weight: 900; font-style: italic; min-height: 2.2em; font-stretch: 78%; }

.link { font-weight: 700; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; text-decoration-color: var(--red); transition: text-underline-offset .2s; }
.link:hover { text-underline-offset: .5em; }

/* Shuttle ---------------------------------------------------------------- */
.shuttle { width: clamp(78px, 8.5vw, 124px); aspect-ratio: 96.3 / 67.7; overflow: visible; }

/* Opening ---------------------------------------------------------------- */
.loader { display: none; }
.js .loader {
  display: block; position: fixed; inset: 0; z-index: var(--z-loader); pointer-events: none;
  animation: loader-failsafe 0s 5s forwards;
}
@keyframes loader-failsafe { to { visibility: hidden; } }
.loader__half { position: absolute; inset: 0; background: #fff; }
.loader__half--a { clip-path: polygon(0 0, 100.5% 0, 100.5% .5%, .5% 100.5%, 0 100.5%); }
.loader__half--b { clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.loader__logo { position: absolute; left: 50%; top: 50%; width: min(52vw, 300px); translate: -50% -50%; }
.loader__shuttle { position: absolute; left: 0; top: 0; opacity: 0; }

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

/* Navigation ------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav);
  display: flex; align-items: flex-start; gap: 1.5rem;
  padding: 0 var(--gutter); pointer-events: none;
  transition: transform .45s var(--ease);
}
.nav > * { pointer-events: auto; }
.nav.is-away:not(:focus-within) { transform: translateY(-101%); }
.nav__logo {
  display: block; background: #fff; padding: .8rem 1.5rem 1rem 1rem;
  width: clamp(138px, 15vw, 214px);
  clip-path: polygon(0 0, 100% 0, calc(100% - 1rem) 100%, 0 100%);
  transition: width .4s var(--ease), padding .4s var(--ease);
}
.nav.is-small .nav__logo { width: 124px; padding: .45rem 1.2rem .5rem .6rem; }
.nav__links {
  margin-left: auto; margin-top: 1rem; display: flex; gap: .15rem; padding: .3rem;
  background: rgb(255 255 255 / .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .9375rem; font-weight: 600;
}
.nav__links a { position: relative; padding: .55rem .85rem; text-decoration: none; }
.nav__links a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }
.nav__call {
  margin-top: 1rem; display: inline-flex; align-items: center; gap: .5em; min-height: 2.85rem; padding: 0 1.2rem;
  background: var(--red); color: #fff; font-weight: 800; font-stretch: 88%; text-decoration: none; white-space: nowrap;
  transition: background .2s;
}
.nav__call:hover { background: var(--ink); }
.nav__toggle { display: none; margin: .75rem 0 0 auto; width: 3rem; height: 3rem; background: var(--ink); position: relative; }
.nav__toggle i { position: absolute; left: 25%; right: 25%; height: 2px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle i:nth-of-type(1) { top: 42%; }
.nav__toggle i:nth-of-type(2) { top: 58%; }
.nav__toggle[aria-expanded="true"] i { top: 50%; }
.nav__toggle[aria-expanded="true"] i:nth-of-type(1) { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:nth-of-type(2) { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--red); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1.5rem; padding: 6rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu a { text-decoration: none; }
.menu li a { display: flex; align-items: baseline; gap: .6rem; font-size: clamp(2.5rem, 12.5vw, 4.75rem); line-height: 1.02; font-weight: 900; font-style: italic; font-stretch: 68%; text-transform: uppercase; }
.menu small { font-size: .875rem; font-weight: 700; font-style: normal; width: 1.5rem; }
.menu__call { font-weight: 800; font-size: 1.25rem; border-top: 2px solid #fff; padding-top: 1rem; }

/* 01 Hero ---------------------------------------------------------------- */
.hero {
  position: relative; min-height: max(100svh, 620px); display: flex; align-items: flex-end;
  color: #fff; background: var(--navy); overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.hero__media { position: absolute; inset: 0; }
.hero__plate { position: absolute; left: 0; right: 0; top: -8%; height: 108%; will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.hero__lines path { stroke: var(--red); stroke-width: 5; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(11 48 68 / .72), rgb(11 48 68 / .18) 42%, rgb(11 48 68 / 0) 60%), linear-gradient(to right, rgb(11 48 68 / .55), rgb(11 48 68 / 0) 55%); }
.hero__copy { position: relative; width: 100%; padding: 0 var(--gutter) calc(var(--slant) + clamp(1.5rem, 3vw, 2.5rem)); }
.hero__tag { display: inline-block; background: var(--red); padding: .3rem 1.1rem .15rem; font-weight: 800; font-size: clamp(.95rem, 1.7vw, 1.4rem); transform: rotate(-3deg); transform-origin: left bottom; margin-bottom: 1rem; }
.hero__tag span { display: block; }
.hero__title {
  font-size: min(16.5vw, 25svh); line-height: .82; font-weight: 900; font-style: italic; font-stretch: 62%;
  text-transform: uppercase; letter-spacing: -.012em;
}
.ln { display: block; overflow: clip; overflow-clip-margin: .03em; padding: .02em .12em .02em 0; margin-right: -.12em; width: fit-content; }
.ln__in { display: block; will-change: transform; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-start; gap: 1.25rem 2.5rem; margin-top: clamp(1rem, 2.5vh, 1.75rem); }
.hero__lede { max-width: 25rem; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); line-height: 1.32; font-weight: 500; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Band ------------------------------------------------------------------- */
.band {
  position: relative; z-index: var(--z-band); width: 108vw; margin: calc(var(--slant) * -.92) -4vw 0;
  background: var(--red); color: #fff; overflow: hidden; transform: rotate(-3deg);
  font-size: clamp(1.25rem, 2.4vw, 2.25rem); font-weight: 900; font-style: italic; font-stretch: 66%; text-transform: uppercase; line-height: 1;
}
.band__track { display: flex; width: max-content; padding: .55rem 0 .5rem; will-change: transform; }
.band__track span { padding: 0 1.1rem; }
.band__track span::after { content: "/"; margin-left: 2.2rem; opacity: .6; }

/* 02 About --------------------------------------------------------------- */
.about {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.25rem;
  padding: var(--section) var(--gutter) calc(var(--section) * .6);
}
.about__text { grid-column: 1 / span 7; position: sticky; top: 7rem; align-self: start; display: grid; gap: 1.1rem; }
.about__text p:not(.lede):not(.eyebrow):not(.ta) { max-width: 34rem; color: var(--muted); }
.about__text .display { font-size: clamp(3.25rem, 7.4vw, 8rem); margin-bottom: .6rem; }
.about__text .lede { max-width: 34rem; }
.about__text .ta { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 800; color: var(--red-text); }
.about__media { grid-column: 8 / -1; position: relative; display: grid; gap: clamp(1.5rem, 6vw, 6rem); padding-top: 2rem; }
.swing { overflow: hidden; }
.swing img { width: 100%; height: 100%; object-fit: cover; }
.about__a { width: 78%; margin-left: auto; aspect-ratio: 4 / 5.2; clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%); }
.about__b { width: 92%; aspect-ratio: 3 / 2; clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%); }
.about__poster { position: absolute; left: 0; top: 18%; width: clamp(110px, 15vw, 210px); rotate: -7deg; background: #fff; padding: .4rem; box-shadow: 0 18px 40px -14px rgb(11 48 68 / .55); transition: rotate .35s var(--ease), scale .35s var(--ease); }
.about__poster:hover, .about__poster:focus-visible { rotate: -2deg; scale: 1.05; }

/* Rally numbers ---------------------------------------------------------- */
.rally { padding: 0 var(--gutter) var(--section); }
.js .rally.is-pinned { padding-block: 0; }
.rally__title { font-size: clamp(1.9rem, 3.4vw, 3.25rem); line-height: 1; font-weight: 900; font-style: italic; font-stretch: 68%; text-transform: uppercase; margin-bottom: clamp(.75rem, 2svh, 1.25rem); }
.rally__stage { position: relative; width: 100%; --rh: max(13.5rem, 36svh); }
.rally__court { position: absolute; inset: 0; color: var(--navy); }
.rally__court svg { width: 100%; height: 100%; }
.rally__stats { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: var(--rh) var(--rh); }
/* Each number sits inside a service box of the court drawn behind it */
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-left: 13%; }
.stat:nth-child(1), .stat:nth-child(2) { padding-top: calc(var(--rh) * .18); }
.stat:nth-child(3), .stat:nth-child(4) { padding-top: calc(var(--rh) * .06); }
.stat:nth-child(even) { padding-left: 32%; }
.stat dd { font-size: min(14vw, 19svh); font-weight: 900; font-style: italic; font-stretch: 62%; color: var(--red); line-height: .86; }
.stat dt { text-wrap: balance; font-weight: 700; line-height: 1.2; max-width: 16rem; margin-top: .5rem; font-size: clamp(.95rem, 1.3vw, 1.25rem); }
.rally__shuttle { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.rally.is-pinned { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }

/* 03 Booking ------------------------------------------------------------- */
.head { padding: 0 var(--gutter); margin-bottom: clamp(2rem, 5vw, 4rem); }
.head__note { max-width: 40rem; margin-top: 1.25rem; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); line-height: 1.35; font-weight: 500; }
.head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.booking { padding-bottom: var(--section); }

.slats { display: flex; gap: 4px; height: clamp(600px, 84svh, 860px); }
.slat {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: #fff; background: var(--navy);
  transition: flex-grow .7s var(--ease);
}
.slat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease), filter .6s; filter: saturate(.75) brightness(.8); }
.slat__img--top { object-position: 50% 60%; }
.slat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(11 48 68 / .96) 10%, rgb(11 48 68 / .55) 48%, rgb(11 48 68 / .1) 80%); transition: opacity .5s; pointer-events: none; }
.slat__rail { position: absolute; z-index: 2; inset: 0 auto 0 0; width: 100%; padding: 1.5rem 1.2rem; display: flex; flex-direction: column; justify-content: space-between; transition: opacity .3s; }
.slat__rail b { font-size: 1rem; font-weight: 800; }
.slat__rail span { writing-mode: vertical-rl; rotate: 180deg; font-size: clamp(2.5rem, 4.6vw, 4.75rem); line-height: 1; font-weight: 900; font-style: italic; font-stretch: 64%; text-transform: uppercase; white-space: nowrap; }
.slat__body {
  position: absolute; z-index: 3; left: clamp(1.25rem, 2.5vw, 2.25rem); bottom: clamp(1.25rem, 2.5vw, 2.25rem);
  width: min(560px, 44vw); display: grid; gap: .8rem;
  opacity: 0; transform: translateX(-1.5rem); transition: opacity .25s, transform .5s var(--ease); visibility: hidden;
}
.slat__body h3 { font-size: clamp(2.5rem, 5.4vw, 5.25rem); line-height: .92; font-weight: 900; font-style: italic; font-stretch: 66%; text-transform: uppercase; }
.slat__body p { max-width: 32rem; line-height: 1.4; font-weight: 500; }
.slat__body .ta { font-size: .98em; opacity: .92; }
.slat__cta { display: inline-flex; align-items: center; gap: .6em; width: fit-content; margin-top: .4rem; padding: .7em 1.15em; background: #fff; color: var(--ink); font-weight: 800; font-stretch: 88%; text-decoration: none; transition: background .2s, color .2s, gap .25s var(--ease); }
.slat__cta:hover { background: var(--red); color: #fff; gap: 1em; }

.slat--kids { background: var(--red); }
.slat--kids::after { background: linear-gradient(to top, rgb(150 5 5 / .75), transparent 62%); }
.slat__graphic { position: absolute; top: 7%; right: 6%; height: 66%; aspect-ratio: 610 / 1340; color: #fff; opacity: .75; rotate: 10deg; }
.slat__graphic svg { width: 100%; height: 100%; }
.slat__bird { position: absolute; z-index: 1; top: 16%; left: 24%; width: clamp(80px, 8vw, 130px); rotate: -28deg; transition: translate .9s var(--ease), rotate .9s var(--ease); }

@media (min-width: 1024px) {
  .slat:hover, .slat:focus-within,
  .slats:not(:hover):not(:focus-within) .slat:first-child { flex-grow: 4.6; }
  .slat:hover .slat__body, .slat:focus-within .slat__body,
  .slats:not(:hover):not(:focus-within) .slat:first-child .slat__body { opacity: 1; transform: none; visibility: visible; transition-delay: .18s; }
  .slat:hover .slat__rail, .slat:focus-within .slat__rail,
  .slats:not(:hover):not(:focus-within) .slat:first-child .slat__rail { opacity: 0; }
  .slat:hover .slat__img, .slat:focus-within .slat__img,
  .slats:not(:hover):not(:focus-within) .slat:first-child .slat__img { filter: none; scale: 1.03; }
  .slat--kids:hover .slat__bird, .slat--kids:focus-within .slat__bird { translate: 180% 30%; rotate: 12deg; }
  /* keep focusable links reachable while collapsed */
  .slat__body { visibility: visible; }
}

@media (max-width: 1023px) {
  .slats { flex-direction: column; height: auto; gap: 6px; }
  .slat { flex: none; min-height: 500px; display: flex; align-items: flex-end; }
  .slat__rail { display: block; height: auto; inset: 1.1rem auto auto 1.25rem; padding: 0; width: auto; }
  .slat__rail span { display: none; }
  .slat__body { position: relative; left: auto; bottom: auto; width: 100%; padding: clamp(11rem, 44vw, 20rem) 1.25rem 1.5rem; opacity: 1; transform: none; visibility: visible; }
  .slat__body h3 { font-size: clamp(2.75rem, 12vw, 4.5rem); }
  .slat__img { filter: none; }
  .slat__graphic { top: 4%; height: 54%; }
  .slat__bird { top: 12%; left: 12%; }
}

/* 04 Fees ---------------------------------------------------------------- */
.fees {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
  padding: calc(var(--section) + var(--slant)) 0 calc(var(--section) + var(--slant));
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.fees__lines { position: absolute; inset: 0; color: #fff; opacity: .1; pointer-events: none; }
.fees__lines svg { width: 100%; height: 100%; }
.fees > * { position: relative; }
.fees > .fees__lines { position: absolute; }
.head--light .eyebrow { color: #fff; }

.rates { border-top: 1px solid rgb(255 255 255 / .28); }
.rate {
  --x: -102%;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center; gap: .1rem 1.5rem;
  --num: clamp(4rem, 10.6vw, 11.5rem);
  grid-template-columns: minmax(8rem, 1fr) calc(var(--num) * 3.08) 5.5rem minmax(0, 1.25fr) minmax(9.5rem, .8fr);
  padding: clamp(.9rem, 1.6vw, 1.6rem) var(--gutter);
  border-bottom: 1px solid rgb(255 255 255 / .28);
}
.rate::before { content: ""; position: absolute; inset: 0 -6% ; z-index: -1; background: var(--red); transform: translateX(var(--x)) skewX(-14deg); transition: transform .55s var(--ease); }
.rate:hover, .rate.is-on { --x: 0%; }
.rate__name { font-size: clamp(1.15rem, 1.5vw, 1.5rem); line-height: 1.12; font-weight: 800; font-stretch: 86%; }
.rate__num { font-size: var(--num); line-height: .88; font-weight: 900; font-style: italic; font-stretch: 62%; font-variant-numeric: tabular-nums; letter-spacing: -.005em; transition: translate .5s var(--ease); white-space: nowrap; }
.rate:hover .rate__num { translate: .6rem 0; }
.rate__unit { font-weight: 800; font-stretch: 88%; font-size: 1.05rem; line-height: 1.15; }
.rate__detail { font-size: .98rem; line-height: 1.35; opacity: .86; }
.rate__dep { font-weight: 800; font-stretch: 88%; justify-self: end; text-align: right; line-height: 1.2; }
.rate__dep small { display: block; font-size: .82rem; font-weight: 500; font-stretch: 100%; }
.rate__dep--hot { background: #fff; color: var(--red-text); padding: .55em .8em; clip-path: polygon(.5em 0, 100% 0, calc(100% - .5em) 100%, 0 100%); }
.rate__dep--hot small { color: var(--ink); }

.day { padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter) 0; }
.day__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; margin-bottom: 1rem; }
.day__head h3 { font-size: clamp(1.75rem, 3vw, 3rem); line-height: 1; font-weight: 900; font-style: italic; font-stretch: 68%; text-transform: uppercase; }
.day__key { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font-size: .95rem; font-weight: 600; }
.day__key li { display: flex; align-items: center; gap: .5rem; }
.day__key i { width: 1.4rem; height: .7rem; background: #fff; }
.day__key i.is-kids { background: var(--red); }
.day__bar { display: grid; grid-template-columns: repeat(18, 1fr); gap: 3px; }
.day__bar li {
  position: relative; background: #fff; color: var(--navy); height: clamp(5rem, 8.5vw, 7rem); padding: .5rem .3rem;
  font-size: clamp(.6875rem, .86vw, .8125rem); line-height: 1.12; font-weight: 700; font-stretch: 80%;
  transition: opacity .3s, translate .3s var(--ease);
  display: flex; align-items: flex-end;
}
.day__bar li.is-kids { background: var(--red); color: #fff; }
.day__bar.is-kids li:not(.is-kids), .day__bar.is-open li.is-kids { opacity: .28; }
.day__bar.is-kids li.is-kids, .day__bar.is-open li:not(.is-kids) { translate: 0 -.35rem; }
.day__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: 1.5rem; }
.day__foot > div { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.day__foot .link { text-decoration-color: #fff; }

/* 05 Gallery ------------------------------------------------------------- */
.gallery { padding: var(--section) 0; }
.filters { display: flex; flex-wrap: wrap; gap: .3rem; }
.filters button { min-height: 2.75rem; padding: 0 1rem; font-weight: 700; font-stretch: 90%; border: 1.5px solid var(--ink); transition: background .2s, color .2s; }
.filters button:hover { background: rgb(16 18 20 / .08); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.shots {
  --u: clamp(52px, 6.2vw, 112px);
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: var(--u); grid-auto-flow: dense;
  gap: .75rem; padding: 0 var(--gutter);
}
.shot { position: relative; overflow: hidden; background: #d9d8d2; }
.shot[hidden] { display: none; }
.shot button { display: block; width: 100%; height: 100%; position: relative; }
.shot img { width: 100%; height: 118%; object-fit: cover; will-change: transform; transition: scale .9s var(--ease), filter .5s; }
.shot:hover img { scale: 1.05; }
.shot__cap {
  position: absolute; left: 0; bottom: 0; max-width: calc(100% - 1rem); background: #fff; color: var(--ink); padding: .4em 1.2em .4em .7em;
  font-size: .9375rem; font-weight: 700; font-stretch: 90%; line-height: 1.2; text-align: left;
  clip-path: polygon(0 0, 100% 0, calc(100% - .7em) 100%, 0 100%);
  transform: translateY(101%); transition: transform .4s var(--ease);
}
.shot:hover .shot__cap, .shot button:focus-visible .shot__cap { transform: none; }
.shot button:focus-visible { outline-offset: -6px; }
.shot--a { grid-column: span 8; grid-row: span 6; }
.shot--b { grid-column: span 4; grid-row: span 6; }
.shot--c { grid-column: span 5; grid-row: span 5; }
.shot--d { grid-column: span 7; grid-row: span 5; }
.shot--e { grid-column: span 3; grid-row: span 5; }
.shot--f { grid-column: span 5; grid-row: span 5; }
.shot--g { grid-column: span 4; grid-row: span 5; }
.shot--h { grid-column: span 9; grid-row: span 6; }
.shot--i { grid-column: span 3; grid-row: span 6; }
.shot--e img, .shot--i img { object-position: top; height: 100%; }
.shots.is-filtered .shot { grid-column: span 6; grid-row: span 6; }
.shots.is-filtered .shot.is-wide { grid-column: span 12; grid-row: span 8; }
/* Posters are documents: show them whole when they have the grid to themselves */
.shots[data-filter="print"] .shot { background: var(--ink); }
.shots[data-filter="print"] .shot img { object-fit: contain; object-position: center; height: 100%; transform: none !important; }

/* 06 Guidelines ---------------------------------------------------------- */
.rules { padding: 0 var(--gutter) var(--section); }
.rules__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.rules__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0; align-items: start; }
.rule { position: relative; padding: clamp(1.5rem, 3.4vw, 3.25rem); display: grid; gap: 1rem; }
.rule__icon { width: clamp(110px, 13vw, 190px); aspect-ratio: 120 / 64; overflow: visible; }
.rule--bird .rule__icon { aspect-ratio: 96.3 / 67.7; width: clamp(96px, 10vw, 150px); }
.rule h3 { font-size: clamp(2.5rem, 5.2vw, 5rem); line-height: .92; font-weight: 900; font-style: italic; font-stretch: 66%; text-transform: uppercase; }
.rule p { max-width: 34rem; font-weight: 500; line-height: 1.42; }
.rule .ta { font-size: 1.05em; }
.rule--bird { grid-column: 1 / span 7; background: #fff; }
.rule--shoe { grid-column: 6 / -1; background: var(--red); color: #fff; margin-top: -2.5rem; z-index: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 3.5% 100%); padding-left: clamp(2.75rem, 6vw, 5rem); }
.rule--shoe .rule__icon { color: var(--ink); }
.rule--bird { padding-bottom: clamp(4.5rem, 7vw, 6.5rem); }

/* 07 Where --------------------------------------------------------------- */
.where { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem 1.25rem; padding: 0 var(--gutter) var(--section); align-items: stretch; }
.where__text { grid-column: 1 / span 7; }
.where__text .display { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.where__list { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem 2rem; border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.where__list h3 { font-size: .875rem; font-weight: 800; color: var(--red-text); margin-bottom: .25rem; }
.where__list p { margin-bottom: 1rem; line-height: 1.4; font-weight: 500; }
.where__list .ta { display: block; }
.where__list a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: .2em; text-decoration-color: var(--red); overflow-wrap: anywhere; }
.where__list a.big { font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 900; font-style: italic; font-stretch: 74%; white-space: nowrap; }
.where__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.where__map { grid-column: 8 / -1; min-height: 480px; background: #d9d8d2; clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
.where__map iframe { width: 100%; height: 100%; border: 0; min-height: 480px; }

/* 08 Final --------------------------------------------------------------- */
.final {
  padding: 0 var(--gutter) calc(var(--section) * .9); overflow: hidden;
}
.final__title { font-size: min(19.4vw, 26rem); line-height: .84; font-weight: 900; font-style: italic; font-stretch: 62%; text-transform: uppercase; letter-spacing: -.01em; color: var(--ink); }
.final__title span { display: block; width: fit-content; padding-right: .1em; white-space: nowrap; }
.final__title span:nth-child(2) { margin-left: auto; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .final__title span {
    color: transparent; -webkit-background-clip: text; background-clip: text;
    background-image: url("../img/courts/overhead-court-1280.webp"); background-size: 118% auto; background-position: 50% var(--py, 40%);
  }
  .final__title span:nth-child(2) { background-image: url("../img/courts/corner-overhead-1280.webp"); }
}
.final__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: clamp(1.5rem, 3vw, 3rem); }
.final__row p { font-size: clamp(1.25rem, 2.2vw, 2rem); font-weight: 800; font-stretch: 86%; }

/* 09 Footer -------------------------------------------------------------- */
.foot { background: var(--ink); color: #fff; padding: clamp(3rem, 6vw, 5rem) var(--gutter) 1.5rem; font-size: .98rem; clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--slant) + clamp(2.5rem, 5vw, 4rem)); }
.foot__top { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.5fr; gap: 2rem; }
.foot__logo { display: block; background: #fff; width: min(240px, 80%); padding: .8rem 1.4rem .8rem .8rem; clip-path: polygon(0 0, 100% 0, calc(100% - 1rem) 100%, 0 100%); align-self: start; }
.foot h2 { font-size: .875rem; font-weight: 800; color: #ff5a5a; margin: 0 0 .7rem; }
.foot ul { display: grid; gap: .1rem; }
.foot ul a { display: inline-block; padding: .22rem 0; }
.foot a { text-decoration-color: rgb(255 255 255 / .35); text-underline-offset: .2em; }
.foot a:hover { color: #ff8a8a; }
.foot p { margin-bottom: .8rem; line-height: 1.45; }
.foot__fb { display: inline-flex; gap: .4em; align-items: center; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .22); font-size: .875rem; }
.foot__base p { margin: 0; }
.foot__base a { font-weight: 800; text-decoration: none; }
.foot__base a span { color: #ff5a5a; }

/* Dock ------------------------------------------------------------------- */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    position: fixed; inset: auto 0 0; z-index: var(--z-dock); display: grid; grid-template-columns: 1.5fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--ink);
    transition: transform .4s var(--ease);
  }
  .js .dock:not(.is-on) { transform: translateY(102%); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 3.5rem; color: #fff; font-weight: 800; font-stretch: 90%; text-decoration: none; }
  .dock a:first-child { background: var(--red); }
  .foot { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

/* Lightbox --------------------------------------------------------------- */
.box { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(8 16 22 / .96); color: #fff; overscroll-behavior: contain; }
.box::backdrop { background: rgb(8 16 22 / .96); }
.box[open] { display: grid; place-items: center; }
.box__fig { display: grid; justify-items: center; gap: .75rem; padding: 4.25rem 1rem 1rem; max-width: 100%; }
.box__img { max-width: min(92vw, 1500px); max-height: calc(100dvh - 8.5rem); width: auto; height: auto; object-fit: contain; }
.box__cap { font-weight: 600; text-align: center; max-width: 44rem; font-size: .98rem; line-height: 1.3; }
.box__count { color: #ff8a8a; font-weight: 800; margin-right: .6em; font-variant-numeric: tabular-nums; }
.box__btn { position: absolute; width: 3.25rem; height: 3.25rem; display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 1.15rem; transition: background .2s, color .2s; }
.box__btn:hover { background: var(--red); color: #fff; }
.box__close { top: .75rem; right: .75rem; }
.box__prev { left: .75rem; top: 50%; translate: 0 -50%; }
.box__next { right: .75rem; top: 50%; translate: 0 -50%; }
@media (max-width: 760px) { .box__prev, .box__next { top: auto; bottom: .75rem; translate: none; } .box__fig { padding-bottom: 4.5rem; } .box__img { max-height: calc(100dvh - 12rem); } }

/* Cursor ----------------------------------------------------------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: var(--z-cursor); width: 5rem; height: 5rem; margin: -2.5rem 0 0 -2.5rem; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 800; font-stretch: 86%; border-radius: 50%; pointer-events: none; opacity: 0; scale: .3; transition: opacity .25s, scale .35s var(--ease); }
.cursor.is-on { opacity: 1; scale: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Rally on small screens: the court stands upright ------------------------ */
@media (max-width: 760px) {
  .rally__stage { --rh: max(15rem, 37svh); }
  .stat { padding-left: 18%; padding-right: 3%; }
  .stat:nth-child(even) { padding-left: 7%; padding-right: 18%; }
  .stat:nth-child(1), .stat:nth-child(2) { padding-top: calc(var(--rh) * .13); }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: calc(var(--rh) * .31); }
  .stat dd { font-size: min(21vw, 11svh); }
  .stat dt { font-size: .8125rem; line-height: 1.15; }
}

/* Layout breakpoints ------------------------------------------------------ */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__call { margin-left: auto; }
  .nav__toggle { display: block; margin-left: .4rem; margin-top: 1rem; height: 2.85rem; width: 2.85rem; }
}
@media (max-width: 1100px) {
  .rate { --num: clamp(4.5rem, 20vw, 12rem); grid-template-columns: 1fr auto; grid-template-areas: "name dep" "num unit" "detail detail"; gap: .35rem 1rem; }
  .rate__name { grid-area: name; } .rate__dep { grid-area: dep; } .rate__num { grid-area: num; }
  .rate__unit { grid-area: unit; align-self: end; text-align: right; white-space: nowrap; padding-bottom: .4rem; } .rate__detail { grid-area: detail; }
  .day__bar { grid-template-columns: repeat(9, 1fr); }
}
@media (max-width: 900px) {
  .about { display: block; }
  .about__text { position: static; }
  .about__media { margin-top: 2.5rem; }
  .where { display: block; }
  .where__map { margin-top: 2rem; min-height: 380px; clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%); }
  .where__map iframe { min-height: 380px; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__logo { grid-column: 1 / -1; }
  .foot__top > div { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav__call { display: none; }
  .nav__toggle { margin: .75rem 0 0 auto; background: var(--ink); }
  .hero__title { font-size: min(26vw, 22svh); }
  .hero__cta, .hero__cta .btn { width: 100%; }
  .hero__tag { max-width: 92%; font-size: .9rem; line-height: 1.3; }
  .display { font-size: clamp(3rem, 15vw, 5.5rem); }
  .about__text .display { font-size: clamp(3.25rem, 16.5vw, 6rem); }
  .about__poster { top: 14%; }
  .rate__detail { font-size: .9rem; }
  .day__bar { grid-template-columns: repeat(6, 1fr); }
  .day__bar li { height: 4.25rem; font-size: .75rem; }
  .shots { --u: 15vw; gap: .5rem; }
  .shot--a, .shot--d, .shot--h, .shot--c { grid-column: span 12; grid-row: span 4; }
  .shot--b { grid-column: span 7; grid-row: span 5; }
  .shot--e { grid-column: span 5; grid-row: span 5; }
  .shot--f, .shot--g { grid-column: span 6; grid-row: span 3; }
  .shot--i { grid-column: span 6; grid-row: span 5; }
  .shot--h { grid-column: span 6; grid-row: span 5; }
  .shots.is-filtered .shot, .shots.is-filtered .shot.is-wide { grid-column: span 12; grid-row: span 4; }
  .shots[data-filter="print"] .shot { grid-row: span 8; }
  .shot__cap { transform: none; font-size: .8125rem; }
  .rule--bird, .rule--shoe { grid-column: 1 / -1; }
  .rule--shoe { margin-top: -1.5rem; padding-left: 1.5rem; clip-path: polygon(0 1.5rem, 100% 0, 100% 100%, 0 100%); padding-top: 3rem; }
  .where__list { grid-template-columns: 1fr; }
  .where__cta .btn { flex: 1 1 100%; }
  .final__title { font-size: 19.4vw; }
  .final__row .btn { width: 100%; }
  .foot__base { font-size: .8125rem; }
}

/* Motion off: everything sits still and fully visible --------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  .js .loader { display: none; }
}
