/* 77 Leisure Club
   Palette: black, white and lime from the original site; brand blue as support */
:root {
  /* Brand colours from the original 77 Leisure Club site */
  --black: #000000;
  --surface: #121212;
  --surface-2: #1c1c1c;
  --lime: #D6EE6D;      /* --brand-accent */
  --lime-hi: #E6F6A0;
  --blue: #365F91;      /* --brand-primary */
  --white: #FFFFFF;
  --danger: #EE6D6D;    /* --state-danger */
  --cedar: #8E5B3A;
  --cedar-deep: #5E3A24;
  --muted: #A6A6A6;
  --line: rgba(255,255,255,.14);
  --navy: var(--black);

  --f: "Archivo", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  font-family: var(--f);
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.55;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Display type: condensed, heavy */
.display, .hero-title, .fac-name, .tier h3 {
  font-family: var(--f);
  font-variation-settings: "wdth" 62;
  font-weight: 850;
  line-height: .9;
  letter-spacing: -.01em;
  margin: 0;
}
.display { font-size: clamp(48px, 8vw, 120px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; background: none; font-family: inherit;
  cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), color .3s var(--ease), border-color .3s;
}
.btn span { position: relative; z-index: 1; transition: transform .25s var(--ease); display: inline-block; }
.btn::before { /* fill that grows from the cursor point */
  content: ""; position: absolute; z-index: 0;
  left: var(--fx, 50%); top: var(--fy, 50%);
  width: 0; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .45s var(--ease);
}
.btn:hover::before { width: max(240%, 180px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light::before { background: var(--lime); }
.btn-light:hover { color: var(--black); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost::before { background: #fff; }
.btn-ghost:hover { color: var(--black); border-color: #fff; }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 15px; background: var(--lime); color: var(--black); }
.btn-small::before { background: #fff; }
.btn-small:hover { color: var(--black); }
.site-header .btn-small:hover, .site-header .btn-small:focus-visible { transform: scale(1.08); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 14px var(--pad);
  color: #fff;
}
.site-header.scrolled { background: rgba(0,0,0,.94); padding-block: 8px; }
.brand { display: block; }
.brand img { width: 64px; height: auto; filter: invert(1); transition: transform .35s var(--ease); }
.brand:hover img, .brand:focus-visible img { transform: scale(1.15); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; display: inline-block; transition: transform .3s var(--ease); }
.nav a:hover, .nav a:focus-visible { transform: scale(1.1); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a::after { background: var(--lime); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 920px);
  color: #fff; background: var(--navy);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%;
  filter: grayscale(1) contrast(1.1);
  transform: scale(1.04);
  transition: transform .8s var(--ease);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.78) 42%, rgba(0,0,0,.3) 100%),
    linear-gradient(0deg, rgba(0,0,0,.9) 0%, transparent 40%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 104px var(--pad) 8px;
  display: grid; grid-template-columns: minmax(240px, 5fr) 7fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  flex: 1;
}
.hero-logo { perspective: 900px; }
.logo-anim {
  width: 100%; max-width: 460px; height: auto; fill: #fff; overflow: visible;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
}
.hero-kicker { font-weight: 600; font-size: 16px; color: var(--lime); margin: 0 0 18px; }
.hero-title { font-size: clamp(60px, 9.5vw, 156px); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-strip-wrap {
  position: relative; z-index: 2;
  margin-top: 24px; border-top: 1px solid var(--line);
  overflow: hidden; width: 100%;
}
.hero-strip {
  list-style: none; margin: 0; padding: 16px 0;
  display: flex; gap: 0; width: max-content;
  animation: strip 38s linear infinite;
}
.hero-strip li {
  font-variation-settings: "wdth" 62; font-weight: 750; font-size: 22px;
  padding: 0 28px; white-space: nowrap; color: rgba(255,255,255,.7);
  transition: color .2s;
}
.hero-strip li:hover { color: #fff; }
.hero-strip li::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-left: 56px; vertical-align: middle; }
@keyframes strip { to { transform: translateX(-25%); } } /* four identical sets: move one set per loop */

/* Hero title hover: the letter under the cursor turns green straight away, then fades back over 0.7s */
.hero-title .word { display: inline-block; white-space: nowrap; }
.hero-title .ch { display: inline-block; transition: color .7s ease-out; }
@media (hover: hover) {
  .hero-title .ch:hover { color: var(--lime); transition-duration: .08s; }
}

/* Logo load animation — the one big moment */
.lg-wreath, .lg-word, .lg-sevens { transform-box: fill-box; transform-origin: 50% 50%; }
.js .logo-anim { clip-path: circle(0% at 50% 48%); }
.js .lg-wreath { opacity: 0; transform: scale(.94); }
.js .lg-sevens { opacity: 0; transform: translateY(22px); }
.js .lg-word { opacity: 0; transform: translateY(8px); }
.hero-title .line > span { display: inline-block; }
.js .hero-title .line > span, .js .hero-kicker, .js .hero-actions { opacity: 0; }

/* one motion, one curve: badge opens from the centre, 77 rises, lettering settles */
.is-ready .logo-anim { animation: logoOpen 1s cubic-bezier(.22,1,.36,1) forwards; }
.is-ready .lg-wreath { animation: logoIn 1s cubic-bezier(.22,1,.36,1) forwards; }
.is-ready .lg-sevens { animation: logoIn .9s cubic-bezier(.22,1,.36,1) .15s forwards; }
.is-ready .lg-word { animation: logoIn .7s cubic-bezier(.22,1,.36,1) .35s forwards; }
.is-ready .lg-word:nth-of-type(3) { animation-delay: .39s; }
.is-ready .lg-word:nth-of-type(4) { animation-delay: .43s; }
.is-ready .lg-word:nth-of-type(5) { animation-delay: .47s; }
.is-ready .hero-kicker { animation: fade .6s ease .45s forwards; }
.is-ready .hero-title .line > span { animation: lineup .8s cubic-bezier(.22,1,.36,1) forwards; }
.is-ready .hero-title .line:nth-child(1) > span { animation-delay: .5s; }
.is-ready .hero-title .line:nth-child(2) > span { animation-delay: .58s; }
.is-ready .hero-actions { animation: fade .6s ease .8s forwards; }
@keyframes logoOpen { 0% { clip-path: circle(0% at 50% 48%); } 99% { clip-path: circle(75% at 50% 48%); } 100% { clip-path: none; } }
@keyframes logoIn { to { opacity: 1; transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes lineup { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }

/* Hover the logo: the 77 lifts */
.lg-sevens { transition: translate .4s var(--ease); }
.hero-logo:hover .lg-sevens { translate: 0 -8px; }

/* ---------- Club / about ---------- */
.club {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--pad) clamp(24px, 3vw, 40px);
  display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.club .display { color: var(--white); margin-bottom: 24px; }
.lede { font-size: clamp(21px, 2vw, 26px); line-height: 1.35; font-weight: 600; margin: 0 0 18px; max-width: 30ch; }
.club p { max-width: 58ch; color: var(--muted); }
.club .lede { color: var(--white); }
.club-photo { margin: 0; position: relative; border-radius: 28px; overflow: hidden; align-self: stretch; min-height: 520px; }
.club-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 50% 20%; object-fit: cover; filter: grayscale(1); transition: transform .7s var(--ease), filter .7s var(--ease); }
.club-photo:hover img { filter: grayscale(0); }
.club-photo figcaption {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--lime); color: var(--black); font-weight: 650; font-size: 14px;
  padding: 8px 14px; border-radius: 999px;
}

/* Tilt cards */
.tilt { transition: box-shadow .4s, border-color .3s; }

/* ---------- The building: 3D model, scroll-driven (draw, light up, one full lap) ---------- */
.building { position: relative; padding: 0 var(--pad) clamp(32px, 4vw, 56px); overflow: hidden; }
.bld-stage { position: relative; max-width: var(--max); margin: 0 auto; height: var(--stage-h, 300px); perspective: 2300px; perspective-origin: 50% 40%; }
.bld-model {
  position: absolute; left: 50%; top: 64%; width: 0; height: 0; transform-style: preserve-3d;
  transform: scale(var(--s, .6)) rotateX(-5deg) rotateY(var(--a, 20deg));
  will-change: transform;
}
.bld-f { position: absolute; left: 0; top: 0; transform-origin: 0 0; backface-visibility: hidden; }
.bld-f svg { display: block; overflow: visible; shape-rendering: geometricPrecision; }
.bld-f-roof-e, .bld-f-roof-w, .bld-f-roof-low-e, .bld-f-roof-low-w { backface-visibility: visible; }
/* fixed light from the south-east: each wall keeps its own shade as the building turns */
/* night look: black cladding, white outlines, lime-lit glazing; faces shaded for depth */
.bld-f-east-hall, .bld-f-east-low { filter: brightness(1.12); }
.bld-f-south-low, .bld-f-south-gable { filter: brightness(.95); }
.bld-f-west-hall, .bld-f-west-low { filter: brightness(.72); }
.bld-f-north { filter: brightness(.82); }
.bld-f-roof-e, .bld-f-roof-low-e { filter: brightness(1.1); }
.bld-f-roof-w, .bld-f-roof-low-w { filter: brightness(.85); }

.b-line { fill: none; stroke: rgba(255,255,255,.85); stroke-width: calc(1.8px / var(--s, 1)); stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 1)); }
.b-sign { stroke: rgba(255,255,255,.6); }
.b-clad { fill: url(#bClad) #141414; opacity: var(--lit, 1); }
.b-dark { fill: #050505; opacity: var(--lit, 1); }
.b-glass { fill: url(#bGlow) #4e5a2a; opacity: var(--lit, 1); }
.b-mull { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.2; opacity: var(--lit, 1); }
.b-logo { fill: var(--lime); opacity: var(--lit, 1); }
.b-roof-seams { opacity: var(--lit, 1); }
.bld-stage { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.bld-stage.dragging { cursor: grabbing; }
.bld-hint { position: absolute; right: max(var(--pad), calc((100% - var(--max)) / 2)); bottom: -30px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; pointer-events: none; transition: opacity .4s; }
.bld-hint svg { width: 22px; height: 22px; }
.bld-stage.spun .bld-hint { opacity: 0; }
.bld-cap { position: relative; max-width: var(--max); margin: 6px auto 0; color: var(--muted); font-size: 15px; min-height: 1.5em; transition: opacity .25s ease; }
.bld-cap.swap { opacity: 0; }

/* ---------- Facilities ---------- */
.facilities { background: var(--surface); color: #fff; padding: clamp(56px, 7vw, 96px) var(--pad); position: relative; overflow: hidden; }
.section-head { max-width: var(--max); margin: 0 auto 36px; display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 32px; align-items: end; }
.section-head p { margin: 0; color: inherit; opacity: .78; }
.fac-list { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); border-top: 1px solid var(--line); position: relative; z-index: 2; }
.fac { border-bottom: 1px solid var(--line); position: relative; contain: layout paint; }
.fac::before { /* court-line sweep on hover */
  content: ""; position: absolute; inset: 0; background: var(--lime);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1;
}
.fac.open::before { transform: scaleY(1); }
.fac.open { color: var(--black); }
@media (hover: hover) {
  .fac:hover::before { transform: scaleY(1); }
  .fac:hover { color: var(--black); }
  .fac:hover .fac-name { transform: translateX(16px); }
}
.fac { transition: color .3s; }
.fac-row {
  width: 100%; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 1fr auto 48px; gap: 24px; align-items: center;
  padding: 14px 16px;
}
.fac-name { font-size: clamp(52px, 8.5vw, 124px); transition: transform .45s var(--ease); will-change: transform; }
.fac.open .fac-name { transform: translateX(16px); }
.fac-stat { font-size: 17px; text-align: right; max-width: 22ch; opacity: .85; }
.fac-stat b { display: block; font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; opacity: 1; }
.fac-plus { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; transition: transform .4s var(--ease), background .3s; }
.fac-plus::before, .fac-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.fac-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.fac.open .fac-plus { transform: rotate(180deg); background: var(--black); color: var(--lime); border-color: var(--black); }
.fac.open .fac-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.fac-detail { display: grid; grid-template-rows: 0fr; }
.fac-detail > p { overflow: hidden; margin: 0; padding: 0 16px; max-width: 60ch; font-size: 18px; opacity: 0; translate: 0 -10px; transition: opacity .35s ease, translate .45s cubic-bezier(.22,1,.36,1); }
.fac.open .fac-detail > p { opacity: 1; translate: 0 0; }
.fac.open .fac-detail { grid-template-rows: 1fr; }
.fac.open .fac-detail > p { padding-bottom: 28px; }
/* line the open text up with the heading, which slides 16px in and has a little side bearing */
.fac-detail > p { padding-left: calc(32px + clamp(52px, 8.5vw, 124px) * .055); }

/* ---------- Membership ---------- */
.membership { padding: clamp(56px, 7vw, 96px) var(--pad); }
.membership .section-head .display { color: var(--white); }
.membership .section-head p { color: var(--muted); opacity: 1; }
.tiers { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: 30px; padding: 32px 28px 28px;
  border: 1px solid var(--line);
}
.tier:hover { box-shadow: 0 30px 60px -20px rgba(214,238,109,.25); border-color: rgba(214,238,109,.5); }
.tier h3 { font-size: clamp(40px, 3.8vw, 58px); color: var(--white); }
.tier-for { color: var(--muted); margin: 8px 0 24px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.tier li { padding: 11px 0 11px 30px; border-top: 1px solid var(--line); position: relative; font-size: 16px; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }
.tier-cta {
  display: block; text-align: center; text-decoration: none; font-weight: 700;
  padding: 14px; border-radius: 999px; border: 2px solid var(--white); color: var(--white);
  transition: background .25s, color .25s;
}
.tier-cta:hover { background: var(--lime); border-color: var(--lime); color: var(--black); }
.tier h3 { display: flex; align-items: center; gap: 14px; }
.tier-price { margin: 0 0 18px; display: flex; align-items: baseline; gap: 8px; font-size: 15px; }
.tier-price b { font-variation-settings: "wdth" 62; font-weight: 850; font-size: 64px; line-height: 1; letter-spacing: -.01em; }

/* metal cards: dark text, brushed gradient, soft top light */
.tier-bronze, .tier-silver, .tier-gold, .tier-platinum { color: #111; border: 0; overflow: hidden; isolation: isolate; }
.tier-bronze::after, .tier-silver::after, .tier-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px),
              radial-gradient(120% 60% at 30% 0%, rgba(255,255,255,.45), transparent 60%);
}
.tier-bronze { background: linear-gradient(150deg, #f0c09a 0%, #d99a63 40%, #c3834d 72%, #e0ab7e 100%); }
.tier-silver { background: linear-gradient(150deg, #f4f6f8 0%, #c9ced4 40%, #9aa1a9 72%, #dfe3e7 100%); }
.tier-gold   { background: linear-gradient(150deg, #fdeab0 0%, #e8c460 40%, #d1a73f 72%, #f0d27e 100%); }
.tier-bronze h3, .tier-silver h3, .tier-gold h3, .tier-platinum h3,
.tier-bronze .tier-for, .tier-silver .tier-for, .tier-gold .tier-for, .tier-platinum .tier-for,
.tier-bronze .tier-price, .tier-silver .tier-price, .tier-gold .tier-price, .tier-platinum .tier-price { color: #111; }
.tier-bronze .tier-for, .tier-silver .tier-for, .tier-gold .tier-for, .tier-platinum .tier-for,
.tier-bronze .tier-price span, .tier-silver .tier-price span, .tier-gold .tier-price span, .tier-platinum .tier-price span { opacity: 1; font-weight: 600; }
.tier-bronze li, .tier-silver li, .tier-gold li, .tier-platinum li { border-color: rgba(0,0,0,.16); }
.tier-bronze li::before, .tier-silver li::before, .tier-gold li::before, .tier-platinum li::before { border-color: #111; }
.tier-bronze .tier-cta, .tier-silver .tier-cta, .tier-gold .tier-cta, .tier-platinum .tier-cta { background: #111; border-color: #111; color: #fff; }
.tier-bronze .tier-cta:hover, .tier-silver .tier-cta:hover, .tier-gold .tier-cta:hover { background: #fff; border-color: #fff; color: #111; }
.tier-bronze:hover { box-shadow: 0 30px 60px -22px rgba(201,138,85,.55); }
.tier-silver:hover { box-shadow: 0 30px 60px -22px rgba(220,226,232,.45); }
.tier-gold:hover   { box-shadow: 0 30px 60px -22px rgba(233,199,104,.55); }

/* platinum: pearl that shifts colour, a light sweep and a running edge */
.tier-platinum {
  background: linear-gradient(120deg, #f7f8fa 0%, #dfe6ec 18%, #f3eefc 34%, #ffffff 48%, #dcf3ee 62%, #e6ebf0 78%, #fbfbfd 100%);
  background-size: 300% 300%;
  animation: pearl 9s ease-in-out infinite alternate;
  box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 30px 70px -30px rgba(220,230,255,.45);
}
@keyframes pearl { 0% { background-position: 0% 30%; } 100% { background-position: 100% 70%; } }
.tier-platinum::after { /* glint sweeping across */
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%; z-index: -1; pointer-events: none; will-change: transform;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.0) 20%, rgba(255,255,255,.85) 50%, rgba(255,255,255,0) 80%, transparent 100%);
  transform: translateX(-140%) skewX(-18deg);
  animation: glint 4.5s cubic-bezier(.6,0,.2,1) infinite;
}
@keyframes glint { 0%, 55% { transform: translateX(-140%) skewX(-18deg); } 100% { transform: translateX(290%) skewX(-18deg); } }
.tier-platinum::before { /* bright edge running round the border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 1; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 62%, #9fd8ff 72%, #ffffff 78%, #e5c8ff 84%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 5s linear infinite;
}
.tier-platinum .tier-price b {
  background: linear-gradient(100deg, #111 30%, #5b6b7d 50%, #111 70%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: priceShine 4.5s cubic-bezier(.6,0,.2,1) infinite;
}
@keyframes priceShine { 0%, 55% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.tier-platinum .tier-cta { background: #111; border-color: #111; color: #fff; }
.tier-platinum .tier-cta:hover { background: var(--lime); border-color: var(--lime); color: #111; }
.tier-platinum:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.8) inset, 0 34px 80px -26px rgba(190,215,255,.65); }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --ang: 360deg; } }
.fine { max-width: var(--max); margin: 24px auto 0; color: var(--muted); font-size: 14px; }

/* ---------- Find us ---------- */
.find {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--pad);
  display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; gap: clamp(28px, 4vw, 64px); align-items: stretch;
}
.find-info { display: flex; flex-direction: column; }
.find-address { font-size: clamp(20px, 2vw, 24px); line-height: 1.4; font-weight: 600; margin: 24px 0 28px; }
.find-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map-frame {
  position: relative; min-height: 480px; border-radius: 30px; overflow: hidden;
  background: #0b0b0b; border: 1px solid var(--line);
}
.map-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.m-zone { fill: #151515; stroke: #222; stroke-width: 2; }
.m-river { fill: none; stroke: #1f3247; stroke-width: 6; stroke-dasharray: 2 10; stroke-linecap: round; }
.m-road { fill: none; stroke: #3d3d3d; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; cursor: pointer; }
.m-road:hover { stroke: #6a6a6a; }
.m-key { stroke: #5a5a5a; }
.m-node circle { fill: #0c0c0c; stroke: #fff; stroke-width: 5; }
.m-node .m-node-in { fill: #fff; stroke: none; }
.m-labels text { fill: #8a8a8a; font: 650 22px var(--f); pointer-events: none; }
.m-labels .m-big { fill: #fff; font-size: 34px; font-weight: 800; }
.m-labels .m-strong { fill: var(--lime); font-weight: 750; }
.m-labels .m-river-label { fill: #4b6d93; font-size: 18px; font-style: italic; }
.m-dot { fill: var(--lime); stroke: #000; stroke-width: 6; cursor: pointer; }
.m-ring { fill: none; stroke: var(--lime); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: mring 2.4s cubic-bezier(.2,.6,.3,1) infinite; pointer-events: none; }
.m-ring2 { animation-delay: 1.2s; }
@keyframes mring { from { transform: scale(1); opacity: .9; } to { transform: scale(6); opacity: 0; } }

/* when the map scrolls into view: roads, then labels, then the pin */
.js .map-frame .m-road { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .map-frame .m-pin, .js .map-frame .m-labels, .js .map-frame .m-node { opacity: 0; }
.map-frame.in .m-road { animation: mdraw .9s cubic-bezier(.65,0,.35,1) forwards; }
.map-frame.in .m-node, .map-frame.in .m-labels { animation: fade .4s ease .6s forwards; }
.map-frame.in .m-pin { animation: pindrop .6s cubic-bezier(.22,1,.36,1) .9s forwards; }
@keyframes mdraw { to { stroke-dashoffset: 0; } }
@keyframes pindrop { from { opacity: 0; translate: 0 -40px; } to { opacity: 1; translate: 0 0; } }

.map-tip {
  position: absolute; left: 0; top: 0; margin: 0; pointer-events: none;
  background: #fff; color: #000; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px;
  transform: translate(var(--tx, 0), var(--ty, 0)) translate(-50%, -150%);
  opacity: 0; transition: opacity .15s; white-space: nowrap;
}
.map-tip.show { opacity: 1; }
.map-open {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  background: rgba(0,0,0,.75); backdrop-filter: blur(6px); color: #fff; text-decoration: none;
  font-weight: 650; font-size: 14px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  transition: background .2s, color .2s;
}
.map-open:hover { background: var(--lime); color: #000; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; filter: grayscale(1) invert(.9) contrast(.95) brightness(.95); opacity: 0; transition: opacity .6s ease; }
.map-frame iframe.loaded { opacity: 1; }
.map-frame.drawn .m-road { stroke-dashoffset: 0; }
.map-frame.drawn .m-pin, .map-frame.drawn .m-labels, .map-frame.drawn .m-node { opacity: 1; }

/* hover: lift, enlarge slightly and a shine sweeps across */
.tier { transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s, border-color .3s; }
.tier:hover, .tier:focus-within { transform: translateY(-6px) scale(1.03); z-index: 2; }
.tier-bronze::before, .tier-silver::before, .tier-gold::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 50%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 80%, transparent 100%);
  transform: translateX(-140%) skewX(-18deg); opacity: 0;
}
.tier-bronze:hover::before, .tier-silver:hover::before, .tier-gold:hover::before,
.tier-bronze:focus-within::before, .tier-silver:focus-within::before, .tier-gold:focus-within::before { animation: tierShine .9s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes tierShine { 0% { transform: translateX(-140%) skewX(-18deg); opacity: 1; } 100% { transform: translateX(260%) skewX(-18deg); opacity: 1; } }
.tier-platinum:hover::after, .tier-platinum:focus-within::after { animation-duration: 1.6s; }

/* ---------- Register ---------- */
.register {
  background: var(--lime); color: var(--black);
  padding: clamp(56px, 7vw, 96px) var(--pad);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px);
}
.register-intro p { font-size: 20px; max-width: 32ch; margin-top: 24px; }
.form, .form-done { max-width: 720px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field label, .chips legend { display: block; font-weight: 650; font-size: 15px; margin-bottom: 8px; }
.req { font-weight: 400; opacity: .75; }
.field input, .field select {
  width: 100%; min-height: 54px; padding: 0 18px;
  font: inherit; color: var(--black); background: #fff;
  border: 2px solid transparent; border-radius: 14px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.field input:hover, .field select:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(0,0,0,.35); }
.field input:focus, .field select:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 4px rgba(0,0,0,.15); }
.field.invalid input { border-color: #b3261e; }
.err { color: #8c1d18; font-weight: 600; font-size: 14px; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.chips { border: 0; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { margin-bottom: 12px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span {
  display: inline-block; padding: 10px 18px; border-radius: 999px; border: 2px solid rgba(0,0,0,.45);
  font-weight: 600; transition: background .2s, color .2s, transform .2s, border-color .2s; user-select: none;
}
.chips label:hover span { transform: translateY(-2px); border-color: var(--black); }
.chips input:checked + span { background: var(--black); color: var(--lime); border-color: var(--black); }
.chips input:focus-visible + span { outline: 3px solid var(--black); outline-offset: 3px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; font-size: 15px; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--black); flex: none; }
.hp { position: absolute; left: -9999px; }
.btn-submit { margin-top: 28px; min-width: 240px; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.form-status { margin: 14px 0 0; }
.form-done h3 { font-variation-settings: "wdth" 62; font-weight: 850; font-size: clamp(48px, 6vw, 88px); line-height: .95; margin: 0 0 16px; }
.form-done p { font-size: 19px; max-width: 40ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line); color: #fff; padding: 64px var(--pad) 40px; display: grid; grid-template-columns: auto 1fr; gap: 32px 64px; align-items: start; }
.footer-logo { width: 120px; height: auto; filter: invert(1); }
.footer-cols { display: flex; gap: 64px; justify-content: flex-end; }
.footer-cols p { margin: 0; line-height: 1.9; }
.footer-cols a { text-decoration: none; opacity: .85; }
.footer-cols a:hover { opacity: 1; text-decoration: underline; }
.copy { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.copy p { margin: 0; opacity: .65; }
.copy .built { display: inline-flex; align-items: center; gap: 10px; opacity: .85; }
.copy .built img { width: 72px; height: auto; }
.copy .built a { display: inline-flex; transition: transform .3s var(--ease), opacity .3s; }
.copy .built a:hover, .copy .built a:focus-visible { transform: scale(1.1); }

/* ---------- Facility scenes ---------- */
.scenes { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.scene {
  position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #111;
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.scene svg { display: block; width: 100%; height: 100%; transition: scale .8s var(--ease); }
.scene:hover { transform: translateY(-6px) scale(1.04); box-shadow: 0 24px 50px -18px rgba(214,238,109,.35); border-color: rgba(214,238,109,.5); z-index: 1; }
.scene:hover svg { scale: 1.06; }
/* cards open one after another, top to bottom */
.js .scene.clip { clip-path: inset(0 0 100% 0 round 18px); transition: clip-path 1.2s cubic-bezier(.77,0,.18,1) calc(var(--i, 0) * 160ms), transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.js .scene.clip.is-in { clip-path: inset(0 0 0 0 round 18px); }
.js .scene.clip svg { scale: 1.25; transition: scale 1.6s cubic-bezier(.22,1,.36,1) calc(var(--i, 0) * 160ms); }
.js .scene.clip.is-in svg { scale: 1; }
.js .scene.clip.is-in:hover svg { scale: 1.06; transition-delay: 0s; transition-duration: .8s; }

.caustics { animation: caustic 14s linear infinite; }
@keyframes caustic { to { translate: -120px 80px; } }
.scenes.off * { animation-play-state: paused; }

/* continuous animations stop while their section is off screen */
.is-offscreen, .is-offscreen *, .is-offscreen::before, .is-offscreen::after,
.is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* ---------- Scroll motion ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none;
  background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}
.site-header { transition: background .35s, padding .35s, transform .45s var(--ease); }
.site-header.hide { transform: translateY(-100%); }

.hero-inner { translate: 0 var(--hy, 0); scale: var(--hs, 1); opacity: var(--ho, 1); will-change: translate, opacity; }

/* blocks rise in, staggered by --i */
.js .reveal {
  --d: calc(var(--i, 0) * 75ms);
  opacity: 0; translate: 0 36px;
  transition: opacity .9s var(--ease) var(--d), translate 1s cubic-bezier(.22,1,.36,1) var(--d),
              transform .45s cubic-bezier(.22,1,.36,1), color .3s, box-shadow .45s, border-color .3s, background-color .3s;
}
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* headings: words lift out of a mask */
.js .display .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js .display .w > span { display: inline-block; translate: 0 108%; transition: translate 1.05s cubic-bezier(.22,1,.36,1) calc(var(--w, 0) * 70ms); }
.js .display.is-in .w > span { translate: 0 0; }

/* photo and map open from a clipped frame */
.js .clip { clip-path: inset(14% 12% 14% 12% round 30px); transition: clip-path 1.4s cubic-bezier(.22,1,.36,1), transform .5s var(--ease); }
.js .clip.is-in { clip-path: inset(0 0 0 0 round 30px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tiers { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav, .site-header > .btn-small { display: none; }
  .menu-toggle {
    display: block; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative;
  }
  .menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s var(--ease); }
  .menu-toggle span:first-child { top: 17px; } .menu-toggle span:last-child { top: 26px; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-nav:not([hidden]) {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 40; background: var(--black);
    padding: 110px var(--pad) 40px; gap: 6px;
  }
  .mobile-nav a { color: #fff; text-decoration: none; font-variation-settings: "wdth" 62; font-weight: 850; font-size: 56px; line-height: 1.1; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 110px; }
  .logo-anim { max-width: 240px; }
  .club, .register, .section-head, .find { grid-template-columns: 1fr; }
  .map-frame { min-height: 0; aspect-ratio: 4 / 3; }
  .map-svg { inset: 0; width: 100%; height: 100%; transform: none; }
  .fac-row { grid-template-columns: 1fr 40px; padding: 18px 4px; }
  .fac-stat { grid-column: 1; grid-row: 2; text-align: left; }
  .fac-plus { grid-column: 2; grid-row: 1 / span 2; width: 40px; height: 40px; }
  .fac:hover .fac-name { transform: none; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-cols { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .tiers, .form-grid { grid-template-columns: 1fr; }
  .btn-submit { width: 100%; }
}

/* ---------- Phones: photo behind the club text, compact memberships, bigger map ---------- */
@media (max-width: 860px) {
  .club { position: relative; padding-top: 0; }
  .club-text { position: relative; z-index: 1; padding-top: 300px; }
  .club-photo {
    position: absolute; top: 0; left: 0; right: 0; height: 700px; min-height: 0; aspect-ratio: auto;
    margin: 0; border-radius: 0; z-index: 0; pointer-events: none;
  }
  .club-photo img { object-position: 72% 12%; }
  .club-photo::after { /* fade the photo into the page so the text stays readable */
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.82) 52%, #000 78%);
  }
  .club-photo figcaption { display: none; }

  .map-frame { aspect-ratio: 1 / 1; }
  .map-open { display: inline-flex; right: 10px; bottom: 10px; padding: 9px 14px; font-size: 13px; }
}
@media (max-width: 560px) {
  .tiers { gap: 12px; }
  .tier { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 20px 20px 18px; border-radius: 22px; }
  .tier h3 { grid-column: 1; grid-row: 1; font-size: 42px; }
  .tier-for { grid-column: 1; grid-row: 2; margin: 4px 0 12px; font-size: 15px; }
  .tier-price { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: start; margin: 0; flex-direction: column; align-items: flex-end; gap: 0; }
  .tier-price b { font-size: 46px; }
  .tier-price span { font-size: 13px; }
  .tier ul { grid-column: 1 / -1; margin: 0 0 14px; }
  .tier li { padding: 7px 0 7px 26px; font-size: 14.5px; }
  .tier li::before { top: 12px; }
  .tier-cta { grid-column: 1 / -1; padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-anim { transform: none !important; }
  .tier:hover, .tier:focus-within { transform: none; }
  .tier-platinum, .tier-platinum::after, .tier-platinum::before, .tier-platinum .tier-price b { animation: none !important; }
  .caustics { animation: none !important; }
  .js .reveal, .js .display .w > span { opacity: 1 !important; translate: none !important; }
  .js .clip { clip-path: none !important; }
  .hero-inner { translate: none !important; scale: none !important; opacity: 1 !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-strip { animation: none; }
}

.register :focus-visible { outline-color: var(--black); }
.register .btn-light { background: var(--black); color: var(--lime); }
.register .btn-light::before { background: #fff; }
.register .btn-light:hover { color: var(--black); }
.register a { color: var(--black); }

/* ---------- Phones: compact facilities, calmer model, bigger hero ---------- */
@media (max-width: 860px) {
  .fac-row { grid-template-columns: auto 1fr 36px; align-items: center; column-gap: 14px; padding: 12px 2px; }
  .fac-name { font-size: clamp(38px, 11vw, 60px); }
  .fac-stat { grid-column: 2; grid-row: 1; text-align: right; font-size: 13px; line-height: 1.25; max-width: none; }
  .fac-stat b { font-size: 18px; }
  .fac-plus { grid-column: 3; grid-row: 1; width: 36px; height: 36px; }
  .bld-stage { perspective: 4200px; perspective-origin: 50% 45%; }
}
@media (max-width: 560px) {
  .hero-title { font-size: 18.5vw; line-height: .9; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
}

@media (max-width: 860px) {
  .fac-detail > p { padding-left: calc(18px + clamp(38px, 11vw, 60px) * .055); padding-right: 4px; }
}

/* ---------- Padel membership: a wide lime card under the four levels ---------- */
.tier-padel { max-width: var(--max); margin: 16px auto 0; display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: center;
  background: linear-gradient(150deg, #e6f59a 0%, #d6ee6d 45%, #c3dc55 100%); color: #111; border: 0; overflow: hidden; isolation: isolate; }
.tier-padel h3, .tier-padel .tier-for, .tier-padel .tier-price { color: #111; }
.tier-padel .tier-for, .tier-padel .tier-price span { opacity: 1; font-weight: 600; }
.tier-padel ul { margin: 0; }
.tier-padel li { border-color: rgba(0,0,0,.16); }
.tier-padel li::before { border-color: #111; }
.tier-padel .tier-cta { background: #111; border-color: #111; color: #fff; white-space: nowrap; }
.tier-padel .tier-cta:hover { background: #fff; border-color: #fff; color: #111; }
.tier-padel:hover { box-shadow: 0 30px 60px -22px rgba(214,238,109,.5); }
.tier-padel .tp-end { display: flex; align-items: center; gap: 28px; }
.tier-padel .tier-price { margin: 0; }
.find-email { margin-top: 14px; }
.find-email a { color: var(--lime); text-decoration: none; border-bottom: 1px solid currentColor; }
@media (max-width: 860px) {
  .tier-padel { grid-template-columns: 1fr; gap: 18px; }
}
@media (min-width: 861px) { .fac-stat b { white-space: nowrap; } }
@media (max-width: 860px) {
  .tier-padel .tp-end { align-items: stretch; }
  .tier-padel .tier-cta { text-align: center; }
}
@media (max-width: 860px) {
  .tier-padel .tp-end { flex-direction: column; align-items: stretch; gap: 14px; }
}
.form-grid .field:has(#email) { grid-column: 1 / -1; }

/* Touch screens: open instantly on tap, no hover state to get stuck on */
.fac-row, .tier-cta, .btn, .nav a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .fac, .fac::before, .fac-name, .fac-plus, .fac-plus::after, .fac-detail > p { transition: none !important; }
}
@media (max-width: 860px) {
  .bld-hint { top: 10px; bottom: auto; right: var(--pad); }
}



/* Header: logo + Facebook and Instagram on the left */
.head-left { display: flex; align-items: center; gap: 18px; }
.head-social { display: flex; gap: 8px; }
.social { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  transition: transform .25s var(--ease), filter .25s; touch-action: manipulation; }
.social svg { width: 19px; height: 19px; display: block; }
.social-fb { background: #1877F2; }
.social-fb svg { width: 29px; height: 29px; }
.social-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social:hover, .social:focus-visible { transform: scale(1.1); filter: brightness(1.08); }
/* Phones: at the top the big hero logo is on screen, so the icons sit fully top left;
   once you scroll, the nav logo slides back in and pushes them aside */
@media (max-width: 860px) {
  .head-left { gap: 0; }
  .site-header .brand { overflow: hidden; max-width: 64px; margin-right: 14px; transition: max-width .45s var(--ease), margin .45s var(--ease), opacity .3s ease; }
  .site-header:not(.scrolled) .brand { max-width: 0; margin-right: 0; opacity: 0; pointer-events: none; }
  .social { width: 34px; height: 34px; }
  .social svg { width: 17px; height: 17px; }
  .social-fb svg { width: 26px; height: 26px; }
}
/* Footer on small phones: logo, then the two columns stacked, nothing wider than the screen */
@media (max-width: 560px) {
  .site-footer { grid-template-columns: 1fr; }
  .footer-cols { flex-wrap: wrap; justify-content: flex-start; gap: 20px 40px; }
  .footer-cols a { overflow-wrap: anywhere; }
}
/* Small phones: the level name and price share a row, so both scale down with the screen */
@media (max-width: 560px) {
  .tier h3 { font-size: clamp(30px, 10.5vw, 42px); min-width: 0; }
  .tier-price b { font-size: clamp(32px, 11.5vw, 46px); }
  .tier-padel h3 { font-size: clamp(30px, 10.5vw, 42px); }
}

/* ---------- GloPadel: press the padel court for night mode ---------- */
#scene-padel { cursor: pointer; -webkit-tap-highlight-color: transparent; }
#scene-padel:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
#scene-padel .pc-sur, #scene-padel .pc-sur2, #scene-padel .pc-floor { transition: fill .6s ease; }
#scene-padel .pc-lines > * { stroke-dasharray: 1; stroke-dashoffset: 0; }
#scene-padel .pc-logo-glo { opacity: 0; pointer-events: none; }
#scene-padel .pc-words { transition: opacity .35s; }
#scene-padel .pc-glo { fill: #d6ee6d; }
#scene-padel .pc-pad { fill: #ff4fd8; }
#scene-padel .pc-hint { transition: opacity .4s; }
#scene-padel .pl-b, #scene-padel .pc-ball, #scene-padel .pc-logo, #scene-padel .pc-lines { transition: fill .5s, color .5s; }

#scene-padel.glow .pc-sur { fill: #020308; }
#scene-padel.glow .pc-sur2 { fill: #05070f; }
#scene-padel.glow .pc-floor { fill: #070a18; }
#scene-padel.glow .pc-hint { opacity: 0; }
#scene-padel.glow .pc-lines { stroke: #3df5ff; filter: url(#neon); }
#scene-padel.glow .pc-lines > * { animation: pc-draw .45s cubic-bezier(.5,0,.3,1) both; }
#scene-padel.glow .pc-lines > :nth-child(2) { animation-delay: .1s; }
#scene-padel.glow .pc-lines > :nth-child(3) { animation-delay: .2s; }
#scene-padel.glow .pc-glass { stroke: #ff4fd8; stroke-opacity: .8; filter: url(#neon); }
#scene-padel.glow .pc-net { stroke: #f4f4ff; filter: url(#neon); }
#scene-padel.glow .pc-logo { fill: #d6ee6d; opacity: 1; filter: url(#neonSoft); animation: pc-flicker 1.3s .35s both; }
#scene-padel.glow .pl[data-team="a"] { color: #ff4fd8 !important; --skin: #ffd0f4 !important; --hair: #2a0730 !important; }
#scene-padel.glow .pl[data-team="b"] { color: #3df5ff !important; --skin: #d2fbff !important; --hair: #032a30 !important; }
#scene-padel.glow .pl-b { filter: url(#neon); }
#scene-padel.glow .pc-ball { fill: #f4ff5a; stroke: #fff; filter: url(#neon); }
#scene-padel.glow .pc-shadow { opacity: 0 !important; }
#scene-padel.glow .pc-rings { stroke: #f4ff5a; filter: url(#neon); }
#scene-padel.glow .pc-words { opacity: 0; }
#scene-padel .pc-logo-glo { transform-box: fill-box; transform-origin: 50% 60%; }
#scene-padel.glow .pc-logo-glo { animation: pc-title 1.6s .55s both, pc-pulse 2.2s 2.2s ease-in-out infinite; }
#scene-padel.glow .pc-pad { animation: pc-flicker 1.1s 1s both; }

@keyframes pc-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.045); opacity: .82; }
}
@keyframes pc-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pc-flicker {
  0% { opacity: 0; } 10% { opacity: .9; } 14% { opacity: .1; } 22% { opacity: 1; } 30% { opacity: .3; }
  38% { opacity: 1; } 60% { opacity: .85; } 64% { opacity: 1; } 100% { opacity: 1; }
}
@keyframes pc-title {
  0% { opacity: 0; } 12% { opacity: 1; } 16% { opacity: .2; } 24% { opacity: 1; }
  30% { opacity: .5; } 40%, 100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #scene-padel.glow .pc-lines > *, #scene-padel.glow .pc-logo, #scene-padel.glow .pc-logo-glo, #scene-padel.glow .pc-pad { animation: none; opacity: 1; transform: none; }
}
/* light grey prompt under the padel card */
.pc-press { grid-column: 2; justify-self: center; white-space: nowrap; margin: 2px 0 0; color: #b9bdc3; font-size: 12.5px; line-height: 1.3; text-align: center; }

/* Padel membership in court blue; Pilates in cream rose gold */
.tier-padel:not(.tier-pilates) { background: linear-gradient(150deg, #4f86e0 0%, #2d5cb4 50%, #22478e 100%); color: #fff; }
.tier-padel:not(.tier-pilates) h3, .tier-padel:not(.tier-pilates) .tier-price { color: #fff; }
.tier-padel:not(.tier-pilates) .tier-cta { background: #fff; border-color: #fff; color: #1d3f80; }
.tier-padel:not(.tier-pilates) .tier-cta:hover { background: #111; border-color: #111; color: #fff; }
.tier-padel:not(.tier-pilates):hover { box-shadow: 0 30px 60px -22px rgba(77,134,224,.55); }
.tier-pilates { background: linear-gradient(150deg, #fbeee3 0%, #f0d2c0 45%, #dfae96 100%); color: #3b2a24; }
.tier-pilates h3, .tier-pilates .tier-price { color: #3b2a24; }
.tier-pilates .tier-cta { background: #3b2a24; border-color: #3b2a24; color: #fbeee3; }
.tier-pilates .tier-cta:hover { background: #fff; border-color: #fff; color: #3b2a24; }
.tier-pilates:hover { box-shadow: 0 30px 60px -22px rgba(223,174,150,.55); }
@media (min-width: 861px) { .tiers .tier h3 { font-size: clamp(30px, 3vw, 46px); white-space: nowrap; } }
