/* Ashland Skateland — palette pulled from the building itself:
   rope-light pink/white/blue, maple floor, confetti rail carpet, red-on-yellow sign. */
:root {
  --ink: #0c0a1c;
  --ink-2: #16122e;
  --plum: #2a1846;
  --pink: #ff2e88;
  --cyan: #2ee6ff;
  --blue: #2b5fe0;
  --yellow: #ffd93a;
  --red: #e2352b;
  --maple: #b9643a;
  --maple-lt: #e9b083;
  --paper: #fff6ec;
  --text: #f4effa;
  --muted: #b9b0cf;
  --display: "Bungee", "Arial Black", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --r: 18px;
  --carpet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Crect width='160' height='160' fill='%232a1846'/%3E%3Cpath d='M12 30c8-10 16 10 24 0s16 10 24 0' fill='none' stroke='%23ff2e88' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M92 110c8-10 16 10 24 0s16 10 24 0' fill='none' stroke='%232ee6ff' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='120' cy='34' r='5' fill='%23ffd93a'/%3E%3Ccircle cx='40' cy='120' r='4' fill='%232ee6ff'/%3E%3Crect x='70' y='60' width='10' height='10' rx='2' transform='rotate(25 75 65)' fill='%23ff2e88'/%3E%3Cpath d='M18 78l8 14 8-14z' fill='%23ffd93a'/%3E%3Ccircle cx='145' cy='80' r='3' fill='%23fff'/%3E%3Ccircle cx='80' cy='145' r='3' fill='%23fff'/%3E%3Cpath d='M100 20a10 10 0 0 1 16 4' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'/%3E%3Crect x='130' y='135' width='9' height='9' rx='2' transform='rotate(-20 134 139)' fill='%232ee6ff'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.6 var(--body); overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(34px, 6vw, 72px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gut); }
.center { text-align: center; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }
.fine a { color: var(--cyan); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 15px/1 var(--body); letter-spacing: .02em; text-decoration: none;
  border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--pink { background: var(--pink); color: #fff; box-shadow: 0 0 0 0 rgba(255,46,136,.0), 0 10px 30px -10px var(--pink); }
.btn--pink:hover { box-shadow: 0 0 24px rgba(255,46,136,.6); }
.btn--cyan { background: var(--cyan); color: var(--ink); box-shadow: 0 10px 30px -10px var(--cyan); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(12,10,28,.35); backdrop-filter: blur(6px); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.kicker--dark { color: var(--pink); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 20px;
  padding: 12px var(--gut); background: linear-gradient(rgba(12,10,28,.75), rgba(12,10,28,0));
  transition: background .3s, box-shadow .3s;
}
.topbar.is-solid { background: rgba(12,10,28,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__wheel {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: radial-gradient(circle, var(--ink) 0 22%, var(--yellow) 23% 40%, var(--pink) 41% 100%);
  box-shadow: 0 0 14px rgba(255,46,136,.7);
}
.brand__name { font: 400 15px/1 var(--display); letter-spacing: .02em; }
.brand__name b { font-weight: 400; color: var(--pink); margin-left: 4px; }
.nav { display: none; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--cyan); }
@media (min-width: 900px) { .nav { display: flex; } }
@media (max-width: 420px) { .topbar .btn--sm { display: none; } }

/* ---------- HERO ---------- */
.hero { position: relative; height: 420svh; background: var(--ink); }
.hero__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  background: var(--ink) url("../assets/img/hero-poster.jpg") center/cover no-repeat;
}
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,10,28,.55) 0%, rgba(12,10,28,0) 28%, rgba(12,10,28,0) 55%, rgba(12,10,28,.85) 100%),
    radial-gradient(120% 80% at 50% 50%, transparent 55%, rgba(12,10,28,.55) 100%);
}
.rope { position: absolute; left: 0; top: 0; width: 100%; height: clamp(90px, 16vw, 220px); pointer-events: none; z-index: 2; overflow: visible; }
.rope path {
  fill: none; stroke: url(#ropeGrad); stroke-width: 6; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(255,46,136,.9)) drop-shadow(0 0 16px rgba(75,107,255,.7));
  stroke-dasharray: 1 1; stroke-dashoffset: 1; /* set in JS via pathLength */
}
.hero__copy { position: absolute; inset: 0; z-index: 3; display: grid; align-items: end; padding: 0 var(--gut) calc(84px + env(safe-area-inset-bottom)); }
.beat {
  grid-area: 1 / 1; align-self: end; max-width: 900px;
  opacity: 0; transform: translateY(28px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); pointer-events: none;
}
.beat.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hero__title { font-size: clamp(54px, 13vw, 184px); line-height: .88; text-shadow: 0 4px 40px rgba(0,0,0,.45); }
.hero__title span { display: block; }
.hero__title span:last-child { color: var(--yellow); -webkit-text-stroke: 0; text-shadow: 0 0 30px rgba(255,217,58,.35), 0 4px 30px rgba(0,0,0,.5); }
.hero__sub { margin-top: 18px; font-size: clamp(17px, 2vw, 21px); color: #fff; max-width: 30ch; }
.beat__big { font: 400 clamp(46px, 10vw, 128px)/.92 var(--display); margin: 0; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.beat--3 .beat__big { color: #fff; text-shadow: 0 0 22px rgba(255,46,136,.75), 0 0 60px rgba(75,107,255,.5); }
.beat__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__meter {
  position: absolute; z-index: 3; right: var(--gut); bottom: calc(30px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
.hero__meter i { position: relative; width: clamp(90px, 18vw, 200px); height: 3px; background: rgba(255,255,255,.22); border-radius: 3px; overflow: hidden; }
.hero__meter b { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--pink), #fff, var(--blue)); }
@media (max-width: 899px) { .hero__meter { display: none; } }

/* ---------- SCOREBOARD ---------- */
.tonight { position: relative; padding: clamp(64px, 10vw, 120px) 0; background: radial-gradient(90% 60% at 50% 0%, #241a52 0%, var(--ink) 70%); }
.board {
  position: relative; margin: -2px auto clamp(56px, 8vw, 90px); max-width: 980px;
  padding: 22px; border-radius: 14px; background: #120f13;
  border: 6px solid #2a2a33; box-shadow: inset 0 0 0 2px #000, 0 30px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04);
}
.board__screws::before, .board__screws::after { content: ""; position: absolute; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: #555; box-shadow: 0 calc(100% + 0px) 0 #555; }
.board__screws::before { left: 8px; } .board__screws::after { right: 8px; }
.board__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.board__cell { background: #050406; border-radius: 8px; padding: 12px 14px 14px; min-width: 0; }
.board__cell--wide { grid-column: 1 / -1; }
@media (min-width: 760px) { .board__row { grid-template-columns: 1fr 1fr 1fr 1.6fr; } .board__cell--wide { grid-column: auto; } }
.board__label { display: block; font: 700 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #8e8aa0; margin-bottom: 10px; }
.board__led {
  display: block; font: 400 clamp(26px, 4.4vw, 46px)/1 var(--display); color: #ff4a3d; letter-spacing: .06em;
  text-shadow: 0 0 8px rgba(255,74,61,.85), 0 0 22px rgba(255,74,61,.45);
  /* dot-matrix mask */
  -webkit-mask: radial-gradient(circle, #000 58%, transparent 62%) 0 0/4px 4px;
          mask: radial-gradient(circle, #000 58%, transparent 62%) 0 0/4px 4px;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.board__led--yellow { color: var(--yellow); text-shadow: 0 0 8px rgba(255,217,58,.8), 0 0 22px rgba(255,217,58,.4); }
.board__led--cyan { color: var(--cyan); text-shadow: 0 0 8px rgba(46,230,255,.8), 0 0 22px rgba(46,230,255,.4); }
.board.is-live .board__led--cyan { color: #5dff8a; text-shadow: 0 0 8px rgba(93,255,138,.9), 0 0 24px rgba(93,255,138,.5); }

.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { margin-bottom: 18px; }
.sec-head p { color: var(--muted); font-size: 18px; }
.sec-head--dark p { color: #4a3b5c; }

.week { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); }
.week > .day:not(.day--closed) { grid-column: 1 / -1; }
@media (max-width: 699px) { .day--closed { padding: 12px 8px; text-align: center; } .day--closed .day__note { font-size: 11px; line-height: 1.25; display: block; } }
@media (min-width: 700px) { .week > .day:not(.day--closed) { grid-column: auto; } .week > .day--big { grid-column: span 2; } }
@media (min-width: 1100px) { .week { grid-template-columns: repeat(4, .55fr) 1.1fr 1.6fr 1.1fr; } .week > .day--big { grid-column: auto; } }
.day {
  position: relative; border-radius: var(--r); padding: 18px; min-height: 120px;
  background: linear-gradient(160deg, #3a2414, #1e130c); border: 1px solid rgba(233,176,131,.25);
  overflow: hidden;
}
.day::before { /* maple boards */
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 2px, transparent 2px 38px), linear-gradient(160deg, var(--maple), #6a3218);
  mix-blend-mode: overlay;
}
.day > * { position: relative; }
.day__name { display: block; font: 400 24px/1 var(--display); margin-bottom: 12px; color: var(--maple-lt); }
.day--closed { background: #16131f; border-color: rgba(255,255,255,.06); min-height: 0; }
.day--closed::before { display: none; }
.day--closed .day__name { color: #6b6583; font-size: 18px; margin-bottom: 6px; }
.day__note { font-size: 13px; color: #8a83a3; }
.day.is-today { outline: 2px solid var(--pink); box-shadow: 0 0 30px -6px var(--pink); }
.day.is-today .day__name::after { content: "Today"; margin-left: 10px; font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--pink); vertical-align: middle; }
.sessions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.session { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 10px; background: rgba(12,10,28,.45); font-weight: 500; font-size: 15px; }
.session span { white-space: nowrap; }
.session b { font: 400 18px/1 var(--display); color: var(--yellow); }
.session.is-next { background: var(--pink); color: #fff; }
.session.is-next b { color: #fff; }
.extras { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.extras li { border: 1px solid rgba(46,230,255,.45); border-radius: 999px; padding: 10px 16px; font-size: 15px; }
.extras b { font-family: var(--display); font-weight: 400; color: var(--cyan); margin-right: 6px; }
.extras small { color: var(--muted); }

/* ---------- carpet ---------- */
.carpet { height: 22px; background: var(--carpet) 0 0/120px 120px; }
.carpet--edge { position: absolute; left: 0; right: 0; top: 0; }

/* ---------- STORY ---------- */
.story { position: relative; background: var(--paper); color: var(--ink); padding: clamp(80px, 11vw, 140px) 0 clamp(64px, 9vw, 120px); }
.story__grid { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .story__grid { grid-template-columns: 1fr 1.05fr; } }
.story__photo { margin: 0; transform: rotate(-2.5deg); background: #fff; padding: 12px 12px 44px; box-shadow: 0 30px 60px -30px rgba(42,24,70,.55); border-radius: 4px; }
.story__photo img { border-radius: 2px; }
.story__text h2 { color: var(--ink); margin-bottom: 24px; font-size: clamp(32px, 5vw, 60px); }
.story__text p { font-size: 18px; color: #3d3350; max-width: 56ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0 0; }
.stats div { border-top: 3px solid var(--pink); padding-top: 12px; }
.stats dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6a5e80; }
.stats dd { margin: 6px 0 0; font: 400 clamp(26px, 4vw, 40px)/1 var(--display); color: var(--ink); }
.stats small { display: block; font: 500 12px/1.3 var(--body); color: #6a5e80; margin-top: 6px; }

/* ---------- LAP (horizontal on scroll) ---------- */
.lap { position: relative; background: var(--ink-2); }
.lap__pin { padding: clamp(64px, 9vw, 110px) 0; }
.lap__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 30px; margin-bottom: 36px; }
.lap__head p { color: var(--muted); margin: 0; font-size: 18px; }
.lap__track { display: flex; gap: 18px; padding: 0 var(--gut) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lap__track::-webkit-scrollbar { display: none; }
.lap__card { flex: none; width: min(78vw, 520px); margin: 0; scroll-snap-align: start; }
.lap__card--tall { width: min(60vw, 330px); }
.lap__card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }
.lap__card--tall img { aspect-ratio: 3/4; }
.lap__card figcaption { margin-top: 12px; font-weight: 500; color: #ddd6ee; }
.lap__card figcaption b { font: 400 13px/1 var(--display); color: var(--pink); margin-right: 8px; }
/* desktop: pinned, vertical scroll drives the track */
.lap.is-pinned { height: var(--lap-h, 300vh); }
.lap.is-pinned .lap__pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.lap.is-pinned .lap__track { overflow: visible; will-change: transform; }
.lap.is-pinned .lap__card { width: min(42vw, 620px); }
.lap.is-pinned .lap__card--tall { width: min(24vw, 360px); }
.lap.is-pinned .lap__card--tall img { aspect-ratio: 3/4; max-height: 62svh; }

/* ---------- PARTIES: tickets ---------- */
.parties { padding: clamp(80px, 11vw, 140px) 0; background: radial-gradient(70% 50% at 80% 10%, rgba(255,46,136,.18), transparent 70%), var(--ink); }
.tickets { display: grid; gap: 28px; }
@media (min-width: 1000px) { .tickets { grid-template-columns: 1fr 1fr; } }
.ticket {
  --c: var(--pink);
  position: relative; display: grid; grid-template-columns: 1fr; color: var(--ink);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.45));
}
.ticket--cyan { --c: var(--cyan); }
.ticket__main, .ticket__stub { background: var(--paper); }
.ticket__main { padding: 28px 26px 24px; border-radius: var(--r) var(--r) 0 0; border-top: 10px solid var(--c);
  -webkit-mask: radial-gradient(circle at 0 100%, transparent 14px, #000 15px) 0 0/51% 100% no-repeat, radial-gradient(circle at 100% 100%, transparent 14px, #000 15px) 100% 0/51% 100% no-repeat;
          mask: radial-gradient(circle at 0 100%, transparent 14px, #000 15px) 0 0/51% 100% no-repeat, radial-gradient(circle at 100% 100%, transparent 14px, #000 15px) 100% 0/51% 100% no-repeat; }
.ticket__stub {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px;
  border-radius: 0 0 var(--r) var(--r); border-top: 3px dashed rgba(12,10,28,.25);
  background: var(--carpet) 0 0/120px 120px; color: #fff;
  -webkit-mask: radial-gradient(circle at 0 0, transparent 14px, #000 15px) 0 0/51% 100% no-repeat, radial-gradient(circle at 100% 0, transparent 14px, #000 15px) 100% 0/51% 100% no-repeat;
          mask: radial-gradient(circle at 0 0, transparent 14px, #000 15px) 0 0/51% 100% no-repeat, radial-gradient(circle at 100% 0, transparent 14px, #000 15px) 100% 0/51% 100% no-repeat;
}
@media (min-width: 640px) {
  .ticket { grid-template-columns: 1fr 200px; }
  .ticket__main { border-radius: var(--r) 0 0 var(--r); border-top: 0; border-left: 12px solid var(--c);
    -webkit-mask: radial-gradient(circle at 100% 0, transparent 14px, #000 15px) 0 0/100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 14px, #000 15px) 0 100%/100% 51% no-repeat;
            mask: radial-gradient(circle at 100% 0, transparent 14px, #000 15px) 0 0/100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 14px, #000 15px) 0 100%/100% 51% no-repeat; }
  .ticket__stub { flex-direction: column; justify-content: center; text-align: center; border-radius: 0 var(--r) var(--r) 0; border-top: 0; border-left: 3px dashed rgba(255,255,255,.5);
    -webkit-mask: radial-gradient(circle at 0 0, transparent 14px, #000 15px) 0 0/100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 14px, #000 15px) 0 100%/100% 51% no-repeat;
            mask: radial-gradient(circle at 0 0, transparent 14px, #000 15px) 0 0/100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 14px, #000 15px) 0 100%/100% 51% no-repeat; }
}
.ticket__type { font: 700 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #6a5e80; margin-bottom: 6px; }
.ticket__price { font: 400 clamp(64px, 9vw, 96px)/1 var(--display); margin: 0 0 14px; color: var(--ink); }
.ticket__price sup { font-size: .4em; vertical-align: .9em; margin-right: 2px; }
.ticket ul { margin: 0 0 14px; padding-left: 20px; }
.ticket li { margin-bottom: 6px; color: #2e2640; }
.ticket li::marker { color: var(--c); content: "★  "; font-size: 12px; }
.ticket--cyan li::marker { color: #0aa6c0; }
.ticket__more { font-weight: 700; font-size: 15px; margin: 0; color: var(--ink); }
.ticket__stub .btn { padding: 0 16px; white-space: nowrap; }
.ticket__admit { font: 700 12px/1.1 var(--body); letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 1px 6px #000; }
.ticket__admit b { display: block; font: 400 52px/1 var(--display); letter-spacing: 0; color: var(--yellow); }
.slots { margin-top: 14px; border-top: 1px solid rgba(12,10,28,.12); padding-top: 12px; }
.slots summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; color: #0a7f93; }
.slots ul { margin-top: 6px; }

/* ---------- RENTALS ---------- */
.rentals { position: relative; background: #fff1f7; color: var(--ink); padding: clamp(84px, 11vw, 140px) 0; }
.rentals h2 { color: var(--ink); }
.calc-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .calc-grid { grid-template-columns: 1fr 1fr; } }
.calc { --c: var(--pink); background: var(--ink); color: var(--text); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px -30px rgba(42,24,70,.6); }
.calc--cyan { --c: var(--cyan); }
.calc h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 18px; color: var(--c); }
.calc__intro { color: var(--muted); }
.calc__label { display: block; font-weight: 700; margin: 18px 0 6px; }
.calc__label output { color: var(--c); }
.calc input[type=range] { width: 100%; height: 44px; background: transparent; accent-color: var(--c); -webkit-appearance: none; appearance: none; }
.calc input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--c) var(--fill, 0%), rgba(255,255,255,.15) var(--fill, 0%)); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: radial-gradient(circle, var(--ink) 0 22%, var(--yellow) 23% 42%, var(--c) 43%); box-shadow: 0 0 14px var(--c); border: 0; }
.calc input[type=range]::-moz-range-track { height: 8px; border-radius: 8px; background: rgba(255,255,255,.15); }
.calc input[type=range]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--c); }
.calc input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; border: 0; background: radial-gradient(circle, var(--ink) 0 22%, var(--yellow) 23% 42%, var(--c) 43%); }
.calc__ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: -4px; }
.calc__result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 6px; }
.calc__result--one { grid-template-columns: 1fr; }
.calc__result div { background: rgba(255,255,255,.06); border-radius: 14px; padding: 14px 16px; }
.calc__result span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.calc__result strong { display: block; font: 400 clamp(32px, 4.6vw, 48px)/1.1 var(--display); color: #fff; margin-top: 6px; font-variant-numeric: tabular-nums; }
.calc .btn { margin-top: 14px; }
.plain { margin-top: 24px; border-collapse: collapse; }
.plain td, .plain th { padding: 6px 14px; border-bottom: 1px solid #ddd; text-align: left; }

/* ---------- LESSONS ---------- */
.lessons { padding: clamp(80px, 11vw, 140px) 0; background: linear-gradient(180deg, var(--ink) 0%, #1a1238 100%); }
.medals { display: grid; gap: 18px; }
@media (min-width: 820px) { .medals { grid-template-columns: repeat(3, 1fr); } }
.medal { --m1: #e9a36b; --m2: #8a4a22; text-align: left; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden; }
.medal--silver { --m1: #f3f4f8; --m2: #7d8396; }
.medal--gold { --m1: #ffe68a; --m2: #b07c0e; }
.medal__disc { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: radial-gradient(circle at 35% 30%, #fff 0 6%, var(--m1) 20%, var(--m2) 100%);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.25), inset 0 -6px 14px rgba(0,0,0,.35), 0 10px 30px -8px var(--m2); position: relative; }
.medal__disc::before { content: ""; position: absolute; bottom: 72px; left: 50%; width: 30px; height: 60px; transform: translateX(-50%); background: linear-gradient(90deg, var(--pink) 0 33%, #fff 33% 66%, var(--blue) 66%); z-index: -1; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); }
.medal__disc span { font: 400 30px/1 var(--display); color: rgba(0,0,0,.45); text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.medal__time { font: 400 18px/1 var(--display); color: var(--m1); margin-bottom: 8px; }
.medal h3 { margin-bottom: 10px; }
.medal p:last-child { color: var(--muted); margin: 0; }
.lessons__photo { margin: 36px 0 0; }
.lessons__photo img { width: 100%; max-height: 520px; object-fit: cover; object-position: center 70%; border-radius: 24px; }

/* ---------- VOICES ---------- */
.voices { padding: clamp(60px, 8vw, 100px) 0; background: var(--pink); color: #fff; }
.marquee { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.marquee li { font: 400 clamp(22px, 3.4vw, 40px)/1.15 var(--display); }
.marquee li:nth-child(2) { color: var(--ink); }
@media (min-width: 900px) { .marquee li:nth-child(2) { padding-left: 12%; } .marquee li:nth-child(3) { padding-left: 24%; } }
.voices .fine { color: rgba(255,255,255,.85); margin-top: 28px; }

/* ---------- VISIT ---------- */
.visit { display: grid; background: var(--ink); }
@media (min-width: 960px) { .visit { grid-template-columns: 1.2fr 1fr; min-height: 90svh; } }
.visit__photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.visit__card { padding: clamp(40px, 6vw, 80px) var(--gut); align-self: center; }
.visit__card h2 { font-size: clamp(30px, 4.4vw, 54px); margin-bottom: 26px; }
.visit address { font-style: normal; font-size: 22px; line-height: 1.4; font-weight: 500; }
.visit__lot { color: var(--muted); margin-top: 8px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 20px; }
.visit__mail a { color: var(--cyan); }
.visit__team { color: var(--muted); }
.visit__team a { color: var(--yellow); font-weight: 700; }

/* ---------- FOOTER / DOCK ---------- */
.foot { background: #07060f; padding-bottom: 90px; }
.foot__in { padding-top: 36px; padding-bottom: 20px; color: #8a83a3; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.foot__name { font: 400 18px/1 var(--display); color: #fff; }
@media (min-width: 900px) { .foot { padding-bottom: 0; } }
.dock {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(12,10,28,.88); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12);
  transform: translateY(140%); transition: transform .35s ease;
}
.dock.is-shown { transform: none; }
.dock a { min-height: 48px; display: grid; place-items: center; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; }
.dock__main { background: var(--pink); color: #fff; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- reduced motion / no-JS hero ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero__stage { position: relative; height: 100svh; }
  .beat { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
.no-scrub .hero { height: auto; }
.no-scrub .hero__stage { position: relative; height: 100svh; }
.no-scrub .beat--2 { display: none; }
