/* 567 Studio — palette taken from the feed: brick-wall orange spotlights,
   violet washes, the blue workshop posters and the cream of the logo. */
:root {
  --ink: #14100e;
  --ink-2: #1f1915;
  --cream: #f4ece0;
  --cream-dim: #c9bfb1;
  --hot: #ff6a2b;
  --brick: #b8341f;
  --violet: #6d3fd1;
  --blue: #4a72ec;
  --line: rgba(244, 236, 224, .16);

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --radius: 26px;
  --soft-line: rgba(20, 16, 14, .14);
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

/* Film grain over everything, like a stage photo */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--hot); color: var(--ink); padding: 8px 14px; }
.skip:focus { top: 16px; }

.eyebrow {
  margin: 0 0 1rem;
  font: 600 .78rem/1 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hot);
}
.mega {
  font: 500 clamp(2.8rem, 8vw, 7.4rem)/.98 var(--display);
  letter-spacing: -.035em;
}
.mega em, .hero__title em { color: var(--hot); font-style: normal; }
.hot { color: var(--hot); }
.serif { font-family: var(--serif); font-style: italic; text-transform: none; font-weight: 400; letter-spacing: 0; }
.small { font-size: .85rem; color: var(--cream-dim); }

/* Buttons: soft pills */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 1em 1.7em;
  font: 600 1rem/1 var(--display);
  text-decoration: none;
  border: 1.5px solid transparent; border-radius: 999px;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(255, 106, 43, .55); }
.btn--hot { background: var(--hot); color: var(--ink); }
.btn--hot:hover { background: var(--cream); }
.btn--blue { background: var(--blue); color: var(--cream); }
.btn--blue:hover { background: var(--cream); color: var(--blue); }
.btn--line { border-color: var(--cream); }
.btn--line:hover { background: var(--cream); color: var(--ink); }
.link { color: var(--hot); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background .4s, backdrop-filter .4s;
}
.nav.is-solid { background: rgba(20, 16, 14, .82); backdrop-filter: blur(12px); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.6rem/1 var(--display); letter-spacing: -.03em; }
.nav__brand img { border-radius: 50%; }
.nav__brand em { color: var(--hot); font-style: normal; }
.nav__menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.lang {
  margin-left: clamp(10px, 1.5vw, 20px); min-width: 44px; height: 40px; padding: 0 .9em;
  border: 1px solid rgba(244, 236, 224, .35); border-radius: 999px; background: none; color: var(--cream);
  font: 600 .85rem/1 var(--display); letter-spacing: .06em; cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.lang:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.nav__menu a { font: 500 .98rem/1 var(--display); text-decoration: none; }
.nav__menu a:not(.nav__cta) { position: relative; }
.nav__menu a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--hot); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__cta { padding: .75em 1.3em; background: var(--hot); color: var(--ink); border-radius: 999px; font-weight: 600 !important; }
.nav__toggle { display: none; }

/* HERO */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem;
  padding: 110px var(--gutter) 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(38% 46% at 72% 30%, rgba(255, 106, 43, .38), transparent 70%),
    radial-gradient(30% 40% at 92% 70%, rgba(184, 52, 31, .35), transparent 70%),
    radial-gradient(40% 50% at 8% 90%, rgba(109, 63, 209, .28), transparent 70%);
}
.hero__title { font: 500 clamp(3.6rem, 9.6vw, 9.2rem)/.95 var(--display); letter-spacing: -.045em; }
.count, .hero__and { display: block; animation: countIn .9s var(--ease) both; animation-delay: calc(var(--i) * .42s + .15s); }
.count:nth-child(2) { padding-left: .5em; }
.count:nth-child(3) { padding-left: 1em; }
.hero__and {
  margin-top: .3em;
  font: italic 400 clamp(1.8rem, 4vw, 3.4rem)/1 var(--serif);
  text-transform: none; letter-spacing: 0; color: var(--cream);
}
@keyframes countIn {
  from { opacity: 0; transform: translateY(.4em) skewY(4deg); }
  to { opacity: 1; transform: none; }
}
.hero__sub { max-width: 30ch; margin: 1.6rem 0 2rem; font-size: 1.1rem; color: var(--cream-dim); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* one tall video card, sized to fit the screen height */
.hero__reels { display: grid; place-items: center; }
.reel {
  margin: 0; width: min(100%, 380px, calc(76svh * 9 / 16)); aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius);
  rotate: 2deg; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55);
  animation: rise 1.2s var(--ease) .6s both;
}
.reel video { display: block; width: 100%; height: 100%; object-fit: cover; }
@keyframes rise { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }

/* MARQUEE */
/* Captions from the feed drift by in large serif, fading out at the edges */
.marquee {
  overflow: hidden; padding: clamp(20px, 3.4vw, 40px) 0; background: var(--ink);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  display: inline-flex; align-items: center; gap: clamp(36px, 4.8vw, 72px); padding-right: clamp(36px, 4.8vw, 72px);
  font: italic 400 clamp(1.9rem, 3.8vw, 3.4rem)/1.1 var(--serif); color: var(--cream); white-space: nowrap;
}
/* 5 captions per set: tint the 2nd and 4th of each set so the loop seam is invisible */
.marquee span:nth-child(5n + 2), .marquee span:nth-child(5n + 4) { color: var(--hot); }
.marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(244, 236, 224, .3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* STUDIO */
.studio {
  display: grid; grid-template-columns: 1fr 1fr .8fr; gap: clamp(24px, 4vw, 64px); align-items: end;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
}
.lead { font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.25 var(--serif); margin-top: 0; }
.lead em { color: var(--hot); }
.studio__text p:not(.lead) { color: var(--cream-dim); }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.facts li { padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--cream-dim); }
.facts strong { color: var(--cream); }
.studio__photo { margin: 0; position: relative; rotate: 3deg; }
.studio__photo img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: var(--radius); }
.studio__photo figcaption, .shot figcaption {
  margin-top: .6rem; font: italic 400 1.05rem/1.2 var(--serif); color: var(--cream-dim);
}

/* FIRST CLASS */
/* compact: heading beside a 3 x 2 grid of short steps */
.first {
  display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 2.25fr); gap: clamp(28px, 4vw, 64px); align-items: start;
  padding: clamp(56px, 7vw, 96px) var(--gutter); background: var(--ink-2);
}
.first .mega { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.4vw, 32px) clamp(20px, 2.6vw, 36px); }
.step h3 { margin: .45rem 0 .3rem; font: 500 1.1rem/1.25 var(--display); letter-spacing: -.01em; }
.step p { margin: 0; font-size: .93rem; line-height: 1.5; color: var(--cream-dim); max-width: 30ch; }
.step__n {
  display: block; font: 300 clamp(2.4rem, 3.4vw, 3rem)/.9 var(--display); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.2px var(--hot);
}

/* CLASSES */
.classes { padding: clamp(80px, 10vw, 140px) var(--gutter); background: var(--cream); color: var(--ink); }
.classes .eyebrow { color: var(--brick); }
.classes .mega em { color: var(--brick); }
.classes__dates { font: 400 1.1rem/1.4 var(--display); margin: 1.4rem 0 0; color: #4a4038; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 3rem 0 2rem; }
.chip {
  font: 500 .95rem/1 var(--display);
  padding: .7em 1.25em; border: 1px solid rgba(20, 16, 14, .25); background: rgba(255, 255, 255, .45); color: var(--ink); cursor: pointer;
  border-radius: 999px; transition: background .25s, color .25s;
}
.chip:hover { background: rgba(20, 16, 14, .08); }
.chip.is-on { background: var(--ink); color: var(--cream); }
.timetable { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.day__name {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font: 500 clamp(3.2rem, 6vw, 5.2rem)/1 var(--display); letter-spacing: -.04em;
  border-bottom: 1.5px solid var(--ink); padding-bottom: .5rem;
}
.day__name small { font: italic 400 1.3rem/1 var(--serif); letter-spacing: 0; color: var(--brick); }
.slots { list-style: none; margin: 0; padding: 0; }
.slot { border-bottom: 1px solid var(--soft-line); transition: opacity .35s, filter .35s; }
.slot.is-dim { opacity: .22; filter: grayscale(1); }
.slot summary {
  display: grid; grid-template-columns: 4.2rem 1fr auto; align-items: center; gap: 1rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
}
.slot summary::-webkit-details-marker { display: none; }
.slot time { font: 500 1.15rem/1 var(--display); color: var(--brick); }
.slot__name { font: 500 clamp(1.15rem, 1.8vw, 1.45rem)/1.15 var(--display); letter-spacing: -.01em; }
.slot__name small { display: block; margin-top: .25rem; font: italic 400 1.05rem/1 var(--serif); text-transform: none; color: #6b5f55; }
.slot__tag {
  font: 500 .8rem/1 var(--display);
  padding: .5em .95em; border-radius: 999px; background: rgba(184, 52, 31, .09); color: var(--brick); white-space: nowrap;
  transition: background .3s, color .3s;
}
.slot summary::after { content: "+"; grid-column: 3; grid-row: 1; justify-self: end; display: none; }
.slot details[open] summary .slot__tag { background: var(--ink); color: var(--cream); }
.slot details p { margin: -.2rem 0 1.3rem 5.2rem; max-width: 46ch; color: #4a4038; }
.classes__note { margin: 1.6rem 0 0; color: #6b5f55; font-size: .92rem; }

.passes {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: 2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: end;
}
.passes dl { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.passes dl > div { padding: 1.4rem 1.3rem; border-radius: var(--radius); background: rgba(255, 255, 255, .55); }
.passes .is-hot { background: #fff; box-shadow: 0 18px 40px -22px rgba(184, 52, 31, .5); }
.passes dt { font: 500 .95rem/1.2 var(--display); }
.passes dd { margin: .4rem 0; font: 500 clamp(2.4rem, 4vw, 3.6rem)/1 var(--display); }
.passes span { font-size: .85rem; color: #6b5f55; }
.passes .is-hot dd { color: var(--brick); }
.passes__cta p { margin-top: 0; color: #4a4038; }

.notice {
  display: inline-block; margin: 1.2rem 0 0; padding: .8em 1.2em; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-size: .95rem;
}

/* GALLERY */
.floor { padding: clamp(80px, 12vw, 160px) var(--gutter); position: relative; overflow: hidden; }
.floor::before {
  content: ""; position: absolute; inset: 20% -10% auto auto; width: 60vw; height: 60vw; z-index: -1;
  background: radial-gradient(closest-side, rgba(109, 63, 209, .35), transparent);
}
.floor__head .mega .serif { color: var(--hot); }
.floor__sub { max-width: 46ch; margin: 1.4rem 0 0; color: var(--cream-dim); font-size: 1.05rem; }
.film {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 2vw, 28px);
  margin-top: clamp(40px, 6vw, 80px);
}
.shot { margin: 0; }
.shot img { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; border-radius: var(--radius); transition: transform .7s var(--ease), filter .7s; filter: saturate(.9); }
.shot:hover img { transform: scale(1.03); filter: saturate(1.15); }
.shot { overflow: visible; }
.shot--1 { grid-column: 1 / span 4; }
.shot--2 { grid-column: 5 / span 3; margin-top: 18%; }
.shot--3 { grid-column: 8 / span 5; }
.shot--3 img { aspect-ratio: 4 / 5; }
.shot--4 { grid-column: 2 / span 4; margin-top: -10%; }
.shot--5 { grid-column: 6 / span 3; margin-top: 8%; }
.shot--6 { grid-column: 9 / span 4; margin-top: -6%; }
.floor__ig {
  display: inline-flex; align-items: baseline; gap: .4em; margin-top: clamp(40px, 6vw, 80px);
  font: 500 clamp(2rem, 6vw, 5rem)/1 var(--display); letter-spacing: -.035em; text-decoration: none;
}
.floor__ig span { font: italic 400 .45em/1 var(--serif); text-transform: none; color: var(--cream-dim); }
.floor__ig b { color: var(--hot); transition: transform .4s var(--ease); }
.floor__ig:hover b { transform: translate(6px, -6px); }

/* EVENTS */
.events { padding: clamp(80px, 10vw, 140px) var(--gutter); background: var(--ink-2); }
.feature {
  display: grid; grid-template-columns: minmax(0, .8fr) 1fr; gap: clamp(24px, 5vw, 80px); align-items: center;
  margin-top: 1.5rem;
}
.feature__img { width: 100%; rotate: -2deg; border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.feature__date { font: 500 1.05rem/1 var(--display); color: var(--blue); filter: brightness(1.3); }
.feature h3 { font: 500 clamp(2.6rem, 5.4vw, 4.8rem)/.98 var(--display); letter-spacing: -.035em; margin: 1rem 0 1.4rem; }
.feature h3 .serif { display: block; font-size: .5em; color: var(--blue); filter: brightness(1.35); margin-top: .3em; }
.feature p { color: var(--cream-dim); max-width: 42ch; }
.feature__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.feature__gcal { display: inline-block; margin-top: 1rem; font-weight: 500; }
.events__none {
  margin: 1.5rem 0 0; padding: clamp(24px, 4vw, 40px); max-width: 40rem;
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  font: 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.3 var(--serif); color: var(--cream-dim);
}
.events__none a { color: var(--hot); }

.community {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center;
  margin-top: clamp(80px, 10vw, 140px);
}
.community__img { margin: 0; order: 2; rotate: 2deg; }
.community__img img { border-radius: var(--radius); }
.community__text h3 { font: 500 clamp(2.4rem, 4.6vw, 4.2rem)/.98 var(--display); letter-spacing: -.035em; margin-bottom: 1.4rem; }
.community__text p { color: var(--cream-dim); max-width: 46ch; }
.community__text a { color: var(--hot); }

/* VISIT */
.visit { padding: clamp(80px, 12vw, 160px) var(--gutter); background: var(--hot); color: var(--ink); }
.visit .mega .hot { color: var(--cream); }
.visit .eyebrow { color: var(--ink); opacity: .7; }
.visit__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 7vw, 96px); border-top: 1.5px solid rgba(20, 16, 14, .35); padding-top: 2rem; }
.visit address, .visit__grid p:not(.eyebrow):not(.small) { font: 500 1.4rem/1.3 var(--display); font-style: normal; margin: 0 0 1rem; }
.visit__grid > div:last-child p:not(.eyebrow) { font: 400 1.05rem/1.5 var(--body); }
.visit .small { color: var(--ink); opacity: .75; }
.visit .link { color: var(--ink); text-decoration: underline; }
.visit .btn--hot { background: var(--ink); color: var(--cream); }
.visit .btn--hot:hover { background: var(--cream); color: var(--ink); }
.map {
  position: relative; margin-top: clamp(40px, 6vw, 72px); height: clamp(280px, 38vw, 440px);
  border-radius: calc(var(--radius) + 6px); overflow: clip; background: var(--ink);
  box-shadow: 0 30px 70px -30px rgba(20, 16, 14, .6);
}
/* tint the OpenStreetMap tiles to sit in the warm palette */
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.35) contrast(.95) brightness(.98); }
/* the embed is centred on the studio, so the pin sits dead centre */
.map::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; background: var(--hot); border: 4px solid var(--cream); pointer-events: none;
  box-shadow: 0 0 0 0 rgba(255, 106, 43, .6); animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { to { box-shadow: 0 0 0 22px rgba(255, 106, 43, 0); } }
.map__pin {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--ink); color: var(--cream);
  font: 500 .95rem/1 var(--display); text-decoration: none; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
  transition: transform .3s var(--ease);
}
.map__pin:hover { transform: translateY(-2px); }
.map__pin img { border-radius: 50%; }

/* FOOTER */
.foot { padding: 64px var(--gutter) 96px; display: grid; justify-items: center; gap: 1rem; text-align: center; }
.foot img { border-radius: 50%; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.foot nav a { font: 500 1rem/1 var(--display); text-decoration: none; }
.foot nav a:hover { color: var(--hot); }

/* Mobile action dock */
.dock { display: none; }

/* Spotlight that follows the cursor over the dark sections */
.spot {
  position: fixed; left: 0; top: 0; z-index: 1; width: 560px; height: 560px; margin: -280px 0 0 -280px;
  border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255, 128, 60, .2), rgba(255, 106, 43, .07) 55%, transparent);
  opacity: 0; transition: opacity .5s;
  transform: translate3d(var(--x, -999px), var(--y, -999px), 0);
}
.spot.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .spot { display: none; }
  /* on touch screens the hero light drifts on its own instead */
  .hero__glow { animation: drift 14s ease-in-out infinite alternate; }
}
@keyframes drift { to { transform: translate(-6%, 5%) scale(1.1); } }

/* Class finder */
.finder {
  /* clip, not hidden: a hidden box is a scroll container and focus() would scroll it sideways */
  display: none; position: relative; overflow: clip;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 56px);
  background: var(--ink); color: var(--cream); border-radius: calc(var(--radius) + 6px);
}
.js .finder { display: grid; }
.finder::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -20%; top: -40%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 106, 43, .3), transparent);
}
.finder > * { position: relative; }
.classes .finder .eyebrow { color: var(--hot); }
.finder h3 { font: 500 clamp(2.2rem, 4vw, 3.4rem)/1 var(--display); letter-spacing: -.035em; }
.finder h3 .serif { display: block; margin-top: .25em; font-size: .62em; color: var(--hot); }
.finder__step { margin: 0; font: 500 .75rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); }
.finder__q { margin: .7rem 0 .4rem; font: 500 clamp(1.5rem, 2.6vw, 2.2rem)/1.1 var(--display); letter-spacing: -.02em; outline: none; }
.finder__hint { margin: 0 0 .8rem; font: italic 400 1.1rem/1.3 var(--serif); color: var(--cream-dim); }
.finder__opts { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 8px; }
.finder__opt {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%;
  padding: 1rem 1.3rem; background: rgba(244, 236, 224, .06); border: 1px solid var(--line); border-radius: 999px;
  color: var(--cream); text-align: left; cursor: pointer;
  font: 500 clamp(1.05rem, 1.6vw, 1.2rem)/1.2 var(--display);
  transition: color .25s, background .3s, border-color .3s;
}
.finder__opt::after { content: "→"; color: var(--hot); transition: transform .35s var(--ease); }
.finder__opt:hover, .finder__opt:focus-visible { background: rgba(255, 106, 43, .12); border-color: rgba(255, 106, 43, .5); }
.finder__opt:hover::after { transform: translateX(4px); }
.finder__back {
  margin-top: 1rem; padding: .4rem 0; background: none; border: 0; cursor: pointer;
  color: var(--cream-dim); font: italic 400 1.05rem/1 var(--serif);
}
.finder__back:hover { color: var(--cream); }
.finder__title { margin: .6rem 0 .3rem; font: 500 clamp(2.2rem, 4.2vw, 3.4rem)/1 var(--display); letter-spacing: -.035em; color: var(--hot); outline: none; }
.finder__when { margin: 0 0 1rem; font: 500 1.1rem/1 var(--display); }
.finder__text { margin: 0 0 1.6rem; max-width: 44ch; color: var(--cream-dim); }
.finder__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.finder__body > * { animation: stepIn .5s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } }
.slot.is-match details summary .slot__tag { background: var(--hot); border-color: var(--hot); color: var(--ink); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .studio { grid-template-columns: 1fr 1fr; }
  .studio__photo { grid-column: 2; grid-row: 1 / span 2; }
  .passes { grid-template-columns: 1fr; }
  .passes dl { grid-template-columns: repeat(2, 1fr); }
  .first { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 7px; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; z-index: 2;
  }
  .nav__toggle i { display: block; width: 26px; height: 2px; background: var(--cream); transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }
  .nav__menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    padding: 0 24px; background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; }
  /* no backdrop-filter here: it would make the nav the containing block of the fixed overlay */
  .nav.is-solid { backdrop-filter: none; background: rgba(20, 16, 14, .96); }
  .menu-open .dock { transform: translateY(140%); }
  .nav__menu a { font: 500 2.4rem/1.2 var(--display); letter-spacing: -.03em; }
  .nav__menu a:not(.nav__cta)::after { display: none; }
  .nav__cta { margin-top: 1.2rem; font-size: 1.1rem !important; letter-spacing: 0 !important; padding: .9em 1.6em; }

  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 96px; gap: 0; }
  .hero__title { font-size: clamp(3.8rem, 20vw, 6rem); }
  /* height follows width, so the tilted photos always fit inside and never cover the text below */
  .hero__reels { order: -1; margin: 0 0 28px; }
  .reel { width: min(64%, 300px); }
  .hero__sub { font-size: 1rem; margin: 1.2rem 0 1.6rem; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }

  .studio { grid-template-columns: 1fr; }
  .studio__photo { grid-column: auto; grid-row: auto; rotate: 0deg; max-width: 78%; justify-self: end; }

  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chip { flex: none; }
  .timetable { grid-template-columns: 1fr; gap: 48px; }
  .slot summary { grid-template-columns: 3.4rem 1fr; }
  .slot__tag { grid-column: 2; justify-self: start; }
  .slot details p { margin-left: 4.4rem; }

  .passes dl { gap: 8px; }
  .passes dl > div { padding: 1.1rem 1rem; border-radius: 20px; }

  /* gallery becomes a swipeable film strip */
  .film {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none;
  }
  .shot { flex: 0 0 68%; scroll-snap-align: center; margin: 0 !important; }
  .shot img, .shot--3 img { aspect-ratio: 9 / 15; }
  .js .film .reveal { opacity: 1; transform: none; }

  .feature, .community { grid-template-columns: 1fr; }
  .feature__img { max-width: 86%; }
  .community__img { order: 0; max-width: 86%; justify-self: end; }

  .visit__grid { grid-template-columns: 1fr; }

  .lang { margin-left: auto; margin-right: 6px; height: 36px; min-width: 40px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .step { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 12px; }
  .step__n { grid-row: span 2; font-size: 2.4rem; }
  .step h3 { margin: .15rem 0 .2rem; }
  .map { height: 300px; }

  .finder { grid-template-columns: minmax(0, 1fr); }

  .dock {
    display: grid; grid-template-columns: 1fr 1.3fr 1fr; position: fixed; z-index: 40;
    left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    background: rgba(20, 16, 14, .9); backdrop-filter: blur(12px);
    border: 1px solid var(--line); border-radius: 999px; padding: 5px; gap: 4px;
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .7);
    transform: translateY(160%); transition: transform .45s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock a {
    display: grid; place-items: center; min-height: 46px; border-radius: 999px;
    font: 500 1rem/1 var(--display); text-decoration: none;
  }
  .dock__hot { background: var(--hot); color: var(--ink); font-weight: 600 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .spot { display: none; }
  .marquee__track { flex-wrap: wrap; width: auto; }
  .marquee span[aria-hidden] { display: none; }
}
