/* GLIDE METHOD — mock build (homepage). Built from the GLIDE Figma file → Website page (v46), checkpoint 2a 2026-10-20.
   A self-contained site of its own (like the Wolfpack mock build): GLIDE's fonts and tokens only, no portfolio chrome
   except the thin mock bar on top. Desktop = "Homepage — Desktop 1440" (31:4) · phone = "Homepage — Phone 390" (91:631). */

/* ── fonts (self-hosted, latin) ── */
@font-face { font-family: 'Hanken Grotesk'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/hanken-grotesk-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/hanken-grotesk-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Gilda Display'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/gilda-display-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/bodoni-moda-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); }

/* ── tokens (GLIDE file → variables "Primitives" + "Place · La Jolla") ── */
:root {
  --salt: #F4EFE7;          /* bg/page */
  --surface: #E4DED3;       /* bg/surface — pale stone */
  --sand: #DCCDB8;
  --sea: #2C3431;           /* text/primary · action/fill · brand/mark — Sea Stone */
  --quiet: #6B6157;         /* text/quiet — driftwood */
  --accent: #545A33;        /* text/accent — olive */
  --line: #CFC2AF;          /* border/subtle */
  --glass: rgb(244 239 231 / .62);

  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --display: 'Gilda Display', Georgia, serif;
  --italic: 'Bodoni Moda', Didot, serif;

  --edge: 96px;             /* page gutter: 96 → 48 → 24 */
  --col: 1248px;
  --nav-h: 112px;
  --bar-h: 44px;            /* the portfolio mock bar */
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* the portfolio mock bar's own palette (same as Wolfpack's) */
  --mm-ink: #15120f; --mm-bone: #e8dfd3; --mm-muted: rgba(232, 223, 211, .68);
}
@media (max-width: 1100px) { :root { --edge: 48px; --nav-h: 76px; } }
@media (max-width: 700px)  { :root { --edge: 24px; --nav-h: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + var(--nav-h)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--salt); color: var(--sea); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 1px solid var(--sea); outline-offset: 4px; }

/* ── type styles (GLIDE/…) ── */
.label { font-size: 13px; line-height: 1.3; font-weight: 500; letter-spacing: 2.08px; text-transform: uppercase; }
.quiet { color: var(--quiet); }
.display-l { font-family: var(--display); font-weight: 400; font-size: 72px; line-height: 1.14; }
.display-m { font-family: var(--display); font-weight: 400; font-size: 48px; line-height: 1.16; }
.numeral { font-family: var(--display); font-size: 32px; line-height: 1.15; color: var(--accent); }
.heading { font-size: 22px; line-height: 1.3; font-weight: 500; }
.body-l { font-size: 18px; line-height: 1.6; }
.body-m { font-size: 16px; line-height: 1.55; }
@media (max-width: 700px) {
  .display-l { font-size: 40px; }
  .display-m { font-size: 30px; }
  .body-l { font-size: 16px; line-height: 1.55; }
}

/* ── buttons (GLIDE / Button) — sharp, Hanken label ── */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 18px 32px; border: 1px solid var(--sea);
       font-size: 13px; line-height: 1.3; font-weight: 500; letter-spacing: 2.08px; text-transform: uppercase; white-space: nowrap; cursor: pointer;
       transition: background-color .3s var(--ease), color .3s var(--ease); }
.btn--primary { background: var(--sea); color: var(--salt); }
.btn--primary:hover { background: #1f2523; }
.btn--secondary { background: transparent; color: var(--sea); }
.btn--secondary:hover { background: var(--sea); color: var(--salt); }

/* ── portfolio mock bar (not part of the GLIDE design) ── */
.mock-bar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 24px; height: var(--bar-h); padding: 0 24px;
            background: var(--mm-ink); color: var(--mm-bone); font-family: Inter, system-ui, sans-serif; font-size: 13px; line-height: 18px; }
.mock-bar__back { font-weight: 500; white-space: nowrap; }
.mock-bar__back:hover { text-decoration: underline; text-underline-offset: 3px; }
.mock-bar__label { color: var(--mm-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-bar__label strong { color: var(--mm-bone); font-weight: 600; }
.mock-bar__short { display: none; }
.mock-bar :focus-visible { outline-color: var(--mm-bone); }
@media (max-width: 760px) { .mock-bar__long { display: none; } .mock-bar__short { display: inline; } .mock-bar { gap: 16px; padding: 0 16px; } }

.toast { position: fixed; left: 50%; bottom: 32px; z-index: 70; transform: translate(-50%, 8px); opacity: 0; padding: 12px 18px; border-radius: 999px;
         background: var(--mm-ink); color: var(--mm-bone); font-family: Inter, system-ui, sans-serif; font-size: 14px; line-height: 20px;
         box-shadow: 0 10px 30px -10px rgb(0 0 0 / .45); transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── nav (GLIDE / Nav) — fixed glass over the hero ── */
.nav { position: sticky; top: var(--bar-h); z-index: 40; height: var(--nav-h); margin-bottom: calc(var(--nav-h) * -1);
       display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--edge);
       background: var(--glass); border-bottom: 1px solid var(--line);
       backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1); }
.nav__logo { justify-self: start; display: block; width: 104.3px; color: var(--sea); transition: opacity .25s; }
.nav__logo svg { width: 100%; height: auto; overflow: visible; }
/* the nav logo's own motion — the approved "B · Carriage loop" (GLIDE file, Logo page 18:184 → 18:190): on hover / keyboard
   focus the carriage tucks back (−16.6 % of its length) and glides out again, 1.4 s each way, ease-in-out. The hero logo keeps
   "A · Glide in" on load. */
@media (prefers-reduced-motion: no-preference) {
  .nav__logo.is-looping .carriage { animation: carriage-loop 2800ms cubic-bezier(.42, 0, .58, 1); }   /* class set by script.js — always finishes */
}
@keyframes carriage-loop { 50% { transform: translateX(-13.9px); } }
.nav__links { display: flex; gap: 40px; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__right { justify-self: end; display: flex; gap: 20px; align-items: center; }
.nav__menu { display: none; width: 24px; height: 24px; position: relative; border: 0; padding: 0; background: none; cursor: pointer; }
.nav__menu span { position: absolute; right: 0; height: 1.5px; background: var(--sea); }
.nav__menu span:first-child { top: 8px; width: 24px; }
.nav__menu span:last-child { top: 15px; width: 16px; }
.btn--sm { padding: 11px 16px; }
.nav__book-short { display: none; }
/* nav: links get tighter below 1400, and switch to the menu button below 1280 — between 1100 and 1280 they ran into
   Login (Meesh, 2026-10-20) */
@media (max-width: 1400px) { .nav__links { gap: 28px; } }
@media (max-width: 1280px) {
  .nav { display: flex; justify-content: space-between; background: rgb(244 239 231 / .74); border-bottom-color: rgb(255 255 255 / .7);
         backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-right: 20px; }
  .nav__links, .nav__login, .nav__book-long { display: none; }
  .nav__book-short { display: inline-flex; }
  .nav__menu { display: block; }
  .nav__right { gap: 16px; }
  .nav__logo { width: 80.3px; }
}

/* ── hero — the cream video loop, tagline, the giant logo (Glide in on load; scrolls with the page) ── */
.hero { position: relative; height: clamp(640px, calc(100svh - var(--bar-h)), 900px); }
.hero__media { position: absolute; inset: 0; overflow: hidden; background: var(--salt); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__content { position: relative; height: 100%; max-width: calc(var(--col) + var(--edge) * 2); margin: 0 auto;
                 padding: 0 var(--edge) 72px; display: flex; flex-direction: column; justify-content: flex-end; gap: 44px; }
.hero__tagline { display: flex; flex-direction: column; gap: 14px; }
.hero__strap { font-family: var(--italic); font-style: italic; font-weight: 400; font-size: 48px; line-height: 1.2; }
/* the logo fits the hero's HEIGHT as well as its width (Meesh, 10/20: on wide-but-short windows it pushed the tagline
   under the nav). Room for the logo = hero − nav − tagline (~100) − gap 44 − bottom 72 − breathing room 48; the full
   logo is 2.926 × as wide as it is tall. */
.hero__logo { position: relative; color: var(--sea);   /* sits under the glass nav as it scrolls */
              width: min(100%, calc((clamp(640px, 100svh - var(--bar-h), 900px) - var(--nav-h) - 264px) * 2.926)); }
.hero__logo svg { width: 100%; height: auto; overflow: visible; }
.js-glide .hero__logo .carriage { transform: translateX(-41.75px); }   /* tucked (A1) — in SVG units */
.js-glide.is-glided .hero__logo .carriage { transform: none; transition: transform 1600ms cubic-bezier(.42, 0, .58, 1); }
@media (max-width: 700px) {
  .hero { height: clamp(600px, calc(100svh - var(--bar-h)), 900px); }
  .hero__content { justify-content: space-between; padding-top: 128px; }
  .hero__tagline .label { font-size: 12px; letter-spacing: 1.6px; }
  .hero__strap { font-size: min(48px, 11.6vw); }   /* stays on one line, as in the 390 frame */
}

/* ── sections ── */
.sec { padding: 128px var(--edge); }
.sec__in { max-width: var(--col); margin: 0 auto; display: flex; flex-direction: column; }
.sec--surface { background: var(--surface); }
.head { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 700px) { .sec { padding-block: 72px; } }

/* The GLIDE difference */
.difference .sec__in { gap: 64px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.points li { border-top: 1px solid var(--sea); padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.points li div { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 900px) { .points { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 700px) { .difference .sec__in { gap: 40px; } }

/* Classes */
.classes { padding-top: 64px; }
.classes .sec__in { gap: 56px; }
.classes .head { gap: 12px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.card { display: flex; flex-direction: column; gap: 20px; }
.card__img { height: 300px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__img img { transform: scale(1.03); }
.card__name { font-size: 24px; line-height: 1.3; font-weight: 500; text-transform: uppercase; }
/* phone: the cards swipe (296 wide, the next one peeking in) */
@media (max-width: 900px) {
  .classes .sec__in { gap: 40px; }
  .cards { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--edge) * -1);
           padding: 0 var(--edge); scroll-padding-inline: var(--edge); scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 296px; scroll-snap-align: start; }
}

/* The building — Open / Enclosed */
.building .sec__in { gap: 56px; }
.building .head { gap: 14px; }
.building .head .body-l { max-width: 720px; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.mode { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.mode__img { width: 100%; height: 440px; overflow: hidden; }
.mode__img img { width: 100%; height: 100%; object-fit: cover; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 14px; background: var(--surface); }
.chip img { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .modes { grid-template-columns: 1fr; gap: 48px; }
  .building .sec__in { gap: 40px; }
  .mode__img { height: auto; aspect-ratio: 342 / 250; }
}

/* The machine — the live 3D reformer */
.machine__row { display: grid; grid-template-columns: 640px 1fr; gap: 96px; align-items: center; }
.machine__text { display: flex; flex-direction: column; gap: 24px; }
.stage3d { position: relative; aspect-ratio: 640 / 560; cursor: grab; background: var(--salt); overflow: hidden; }
.stage3d:active { cursor: grabbing; }
.stage3d .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease); }
.stage3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.stage3d.live .poster { opacity: 0; pointer-events: none; }
.stage3d .drag { position: absolute; right: 20px; bottom: 20px; z-index: 2; margin: 0; pointer-events: none; padding: 12px 16px;
                 background: var(--glass); border: 1px solid rgb(44 52 49 / .35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
                 font-size: 11px; line-height: 1; font-weight: 500; letter-spacing: 1.76px; text-transform: uppercase; }
.stage3d:not(.live) .drag { display: none; }
@media (max-width: 1100px) { .machine__row { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
@media (max-width: 900px) {
  .machine__row { grid-template-columns: 1fr; gap: 32px; }
  .stage3d { margin: 0 calc(var(--edge) * -1); aspect-ratio: 4 / 3; }
}

/* ============================== checkpoint 2b ============================== */

/* Studios — Coastal (open) + City (coming soon) */
.studios { padding-top: 64px; }
.studios .sec__in { gap: 56px; }
.studios .head { gap: 14px; }
.studio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.studio { display: flex; flex-direction: column; gap: 24px; padding: 24px 24px 40px; border: 1px solid var(--line); background: var(--salt); }
.studio__img { height: 400px; overflow: hidden; }
.studio__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.studio:hover .studio__img img { transform: scale(1.03); }
.studio__text { display: flex; flex-direction: column; gap: 14px; padding: 0 16px; align-items: flex-start; }
.studio__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 8px; }
.studio--city { background: #25272A; border-color: #46484B; color: var(--salt); }
.studio--city .quiet { color: var(--sand); }
.btn--olive { background: var(--accent); border-color: var(--accent); color: var(--salt); }
.btn--olive:hover { background: #474c2a; }
@media (max-width: 900px) {
  .studio-cards { grid-template-columns: 1fr; gap: 24px; }
  .studios .sec__in { gap: 40px; }
  .studio { padding: 16px 16px 32px; }
  .studio__img { height: auto; aspect-ratio: 4 / 3; }
  .studio__text { padding: 0 8px; }
}

/* Pricing — glass cards over the blurred studio */
.pricing { position: relative; overflow: hidden; padding-block: 140px; isolation: isolate; }
.pricing__backdrop { position: absolute; inset: -80px; z-index: -1; filter: blur(18px); }
.pricing__backdrop img { width: 100%; height: 100%; object-fit: cover; }
.pricing__backdrop::after { content: ''; position: absolute; inset: 0; background: rgb(244 239 231 / .38); }
.pricing .sec__in { gap: 48px; }
.pricing__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.pricing__head .head { gap: 12px; }
.glass { background: rgb(244 239 231 / .55); border: 1px solid rgb(255 255 255 / .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.toggle { display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgb(244 239 231 / .5); }
.toggle button { border: 0; background: none; cursor: pointer; padding: 12px 22px; border-radius: 999px; }
.toggle button[aria-pressed="true"] { background: var(--sea); color: var(--salt); }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price { display: flex; flex-direction: column; gap: 18px; padding: 40px 36px; border-radius: 16px; }
.price__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 26px; }
.price__amount { display: flex; gap: 8px; align-items: baseline; }
.price__amount strong { font-family: var(--display); font-weight: 400; font-size: 56px; line-height: 1; }
.price__amount span, .small { font-size: 13px; line-height: 1.5; }
.price hr { width: 100%; height: 1px; border: 0; margin: 0; background: rgb(43 51 48 / .2); }
.price ul { list-style: none; margin: 0; padding: 0 0 12px; display: flex; flex-direction: column; gap: 12px; }
.price li { display: flex; gap: 10px; align-items: center; }
.price li img { width: 16px; height: 16px; flex: none; }
.price .btn { width: 100%; }
.price--featured { background: var(--sea); color: var(--salt); box-shadow: 0 24px 48px rgb(43 51 48 / .25); }
.price--featured .quiet { color: var(--salt); }
.price--featured hr { background: rgb(244 239 231 / .2); }
.tag { padding: 6px 12px; border-radius: 999px; background: rgb(244 239 231 / .16); font-size: 11px; letter-spacing: 1.76px; }
.btn--glass { background: rgb(244 239 231 / .14); border-color: rgb(244 239 231 / .7); color: var(--salt); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgb(244 239 231 / .26); }
.price, .studio { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .price:not(.price--featured):hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(43 51 48 / .14); }
}
.starter { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 24px 24px 36px; border-radius: 16px; }
.starter__text { display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; }
.starter__act { display: flex; gap: 24px; align-items: center; }
.starter__act strong { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; }
@media (max-width: 1100px) { .prices { grid-template-columns: 1fr 1fr; } .price--featured { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .pricing { padding-block: 72px; }
  .pricing .sec__in { gap: 32px; }
  .prices { grid-template-columns: 1fr; }
  .price--featured { order: -1; }                 /* phones: Unlimited first (the 390 frame) */
  .price { padding: 32px 24px; }
  .starter { flex-direction: column; align-items: flex-start; padding: 24px; }
  .starter__act { width: 100%; justify-content: space-between; }
}

/* Your first class */
.first .sec__in { gap: 56px; }
.first .head { gap: 14px; }
.tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.tips li { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.tips img { width: 36px; height: 36px; }
@media (max-width: 1100px) { .tips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .tips { grid-template-columns: 1fr; gap: 32px; } .first .sec__in { gap: 40px; } }

/* The GLIDE app */
.app { padding-block: 96px; }
.app__row { display: grid; grid-template-columns: 640px 1fr; gap: 64px; align-items: center; }
.phones { position: relative; aspect-ratio: 640 / 620; }
/* realistic iPhones (Meesh, 10/20: "real" phone mockups, centre one too) — the case study's iPhone 14 Pro recipe:
   dark back plate · the screen inset 1.94 / 4.44 / 1.94 / 4.67 % · the frame PNG on top · Dynamic Island + lens */
.phone { position: absolute; aspect-ratio: 280 / 579.032; filter: drop-shadow(0 24px 30px rgb(43 51 48 / .22)); }
.phone__back { position: absolute; inset: 0 1%; border-radius: 16.67% / 8.06%; background: #091123; }
.phone__screen { position: absolute; top: 1.94%; left: 4.67%; width: 90.89%; height: 96.12%; object-fit: cover; border-radius: 5% / 2.42%; }
.phone__frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone__island { position: absolute; left: 36.67%; top: 3.22%; width: 26.67%; height: 3.87%; background: #000; border-radius: 50px; }
.phone__island img { position: absolute; left: 74.48%; top: 23.53%; width: 18.66%; height: auto; }
.phone--left, .phone--right { width: 35.94%; top: 12.5%; }
.phone--left { left: 7.5%; transform: rotate(-6deg); }
.phone--right { left: 56.6%; transform: rotate(6deg); }
.phone--mid { width: 40.6%; left: 29.7%; top: 0; z-index: 2; }
.app__text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: flex; flex-direction: column; padding: 10px 24px 10px 20px; border-radius: 10px; background: var(--sea); color: var(--salt); border: 0; cursor: pointer; text-align: left; }
.store small { font-size: 11px; line-height: 1.5; }
.store b { font-size: 20px; line-height: 1.3; font-weight: 500; }
@media (max-width: 1100px) { .app__row { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (max-width: 900px) { .app__row { grid-template-columns: 1fr; } .phones { max-width: 520px; width: 100%; margin: 0 auto; } }
@media (max-width: 700px) { .app { padding-block: 72px; } }

/* Closing call to action — golden hour */
.cta { position: relative; isolation: isolate; padding: 200px var(--edge); display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; color: var(--salt); }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }   /* logo sits clear above the headline (10/20) */
.cta__bg::after { content: ''; position: absolute; inset: 0; background: rgb(44 52 49 / .42); }
@media (max-width: 700px) { .cta { padding-block: 120px; gap: 28px; }
  .cta__bg img { object-position: 78% 60%; } }   /* phone: a narrow crop sliced the wall logo in half — show the sunset instead 

/* Footer */
.foot { padding: 96px var(--edge) 56px; }
.foot__in { max-width: var(--col); margin: 0 auto; display: flex; flex-direction: column; gap: 72px; }
.foot__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot__logo { width: 260px; color: var(--sea); }
.foot__logo svg { width: 100%; height: auto; }
.foot__cols { display: flex; gap: 96px; flex-wrap: wrap; }
.foot__cols div { display: flex; flex-direction: column; gap: 12px; }
.foot__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.foot__strap { font-family: var(--italic); font-style: italic; font-size: 32px; line-height: 1.2; color: var(--accent); }
@media (max-width: 1100px) { .foot__cols { gap: 48px; } }
@media (max-width: 700px) { .foot { padding-top: 72px; } .foot__in { gap: 48px; } .foot__logo { width: 200px; } .foot__cols { flex-direction: column; gap: 32px; } }

/* Founding-member pop-up — once per visit, after the first scroll */
.pop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgb(44 52 49 / .38);
       backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s var(--ease); }
.pop[hidden] { display: none; }
.pop.is-on { opacity: 1; }
.pop__card { display: grid; grid-template-columns: 380px 460px; max-width: 100%; max-height: calc(100svh - 48px); overflow: auto; border-radius: 20px;
             background: rgb(244 239 231 / .86); border: 1px solid rgb(255 255 255 / .8); box-shadow: 0 30px 60px rgb(43 51 48 / .3);
             backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); transform: translateY(16px); transition: transform .45s var(--ease); }
.pop.is-on .pop__card { transform: none; }
.pop__img { min-height: 100%; }
.pop__img img { width: 100%; height: 100%; object-fit: cover; }
.pop__text { display: flex; flex-direction: column; gap: 20px; padding: 48px 48px 44px; align-items: flex-start; }
.pop__top { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 16px; }
.pop__x { border: 0; background: none; cursor: pointer; padding: 4px; margin: -4px; font-size: 15px; line-height: 1; }
.offers { width: 100%; }
.offer { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 0; border-top: 1px solid rgb(43 51 48 / .15); }   /* name on top, price below — the longer "Regularly $289 → $249 / month" line (10/21) */
.offer__price { display: flex; gap: 10px; align-items: baseline; white-space: nowrap; }
.offer__price s { font-size: 13px; color: var(--quiet); text-decoration: none; }
.offer__price strong { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.15; }
.offer__price .per { font-size: 13px; color: var(--quiet); margin-left: -4px; }
.offer__sub { display: block; margin-top: 2px; }
.pop .btn--primary { width: 100%; }
.pop__later { border: 0; background: none; cursor: pointer; padding: 0; color: var(--quiet); }
.pop__later:hover { color: var(--sea); }
@media (max-width: 900px) {
  .pop__card { grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 460px; }
  .pop__img { height: 160px; min-height: 0; }
  .pop__text { padding: 28px 24px 28px; gap: 16px; }
  .pop .display-m { font-size: 30px; }
  .offer .heading { font-size: 17px; }
  .offer__price strong { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .pop, .pop__card { transition: none; } }

/* ============================== checkpoint 2c ============================== */

/* the phone / tablet menu — "Menu — Phone 390 (open)" 93:772: frosted glass over the page */
.menu { position: fixed; inset: 0; z-index: 90; background: rgb(244 239 231 / .74); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        opacity: 0; transition: opacity .3s var(--ease); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu.is-on { opacity: 1; }
.menu__in { min-height: 100%; display: flex; flex-direction: column; padding: 0 24px 40px; max-width: 560px; margin: 0 auto; }
.menu__top { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.menu__logo { width: 80.3px; color: var(--sea); }
.menu__logo svg { width: 100%; height: auto; }
.menu__close { position: relative; width: 24px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; }
.menu__close span { position: absolute; left: -1px; top: 11px; width: 26px; height: 1.5px; background: var(--sea); transform: rotate(45deg); }
.menu__close span + span { transform: rotate(-45deg); }
.menu__links { display: flex; flex-direction: column; padding-top: 48px; }
.menu__links a { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line);
                 font-family: var(--display); font-size: 30px; line-height: 1.16; }
.menu__links a[aria-current="page"]::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.menu__today { margin-top: auto; padding: 48px 0 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.menu__actions { display: flex; flex-direction: column; gap: 12px; }
.menu__actions .btn { width: 100%; }
.menu.is-on .menu__links a { animation: menu-in .5s var(--ease) both; }
.menu.is-on .menu__links a:nth-child(2) { animation-delay: .05s; }
.menu.is-on .menu__links a:nth-child(3) { animation-delay: .1s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .menu, .menu.is-on .menu__links a { transition: none; animation: none; } }

/* ── Schedule — "Schedule — Desktop 1440" 51:269 · phone 93:981 ── */
.sched { position: relative; isolation: isolate; overflow: hidden; }
.sched__backdrop { position: absolute; inset: -100px; z-index: -1; filter: blur(22px); }
.sched__backdrop img { width: 100%; height: 100%; object-fit: cover; }
.sched__backdrop::after { content: ''; position: absolute; inset: 0; background: rgb(244 239 231 / .3); }
.sched__wrap { max-width: calc(var(--col) + var(--edge) * 2); margin: 0 auto; padding: calc(var(--nav-h) + 78px) var(--edge) 120px; display: flex; flex-direction: column; }
.sched__title { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; }
.sched__title .head { gap: 12px; }
.loc { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; }
.loc button { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; padding: 16px 28px; border-radius: 999px; }
.loc button[aria-pressed="true"] { background: var(--sea); color: var(--salt); }
.loc button:not([aria-pressed="true"]) { color: var(--quiet); }
.loc em { font-family: var(--italic); font-size: 18px; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--accent); }

.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.day { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 20px; border-radius: 16px; cursor: pointer; text-align: left;
       transition: transform .3s var(--ease), background-color .3s var(--ease); }
.day:hover { transform: translateY(-2px); }
.day__name { color: var(--quiet); }
.day__num { font-family: var(--display); font-size: 48px; line-height: 1.16; letter-spacing: 0; }
.day__mode { display: flex; gap: 8px; align-items: center; }
.day__mode img { width: 16px; height: 16px; }
.day[aria-pressed="true"] { background: var(--sea); border-color: var(--sea); color: var(--salt); }
.day[aria-pressed="true"] .day__name { color: var(--salt); }
.day[aria-pressed="true"] .day__mode img { filter: brightness(0) invert(.94); }
.days + .small { margin: 32px 0 40px; }

.daylist__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; }
.daylist__head > div:first-child { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.chip--glass { border-radius: 999px; background: rgb(244 239 231 / .55); border: 1px solid rgb(255 255 255 / .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { padding: 10px 18px; border-radius: 999px; cursor: pointer; color: var(--quiet); }
.filters button[aria-pressed="true"] { background: var(--sea); border-color: var(--sea); color: var(--salt); }

.classes-list { border-radius: 24px; padding: 8px 32px; background: rgb(244 239 231 / .74); border: 1px solid rgb(255 255 255 / .7);
                backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); list-style: none; margin: 0; }
.row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 220px 180px 140px; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row[hidden] { display: none; }
.row__time strong { display: block; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.15; }
.row__meta { display: flex; flex-direction: column; gap: 6px; }
.row__name { font-size: 22px; line-height: 1.3; font-weight: 500; text-transform: uppercase; }
.row .btn { width: 140px; padding-inline: 0; }
.row .btn[disabled] { cursor: default; background: transparent; color: var(--accent); border-color: var(--accent); }
.sched__foot { margin-top: 16px; }

@media (max-width: 1100px) {
  .row { grid-template-columns: 110px minmax(0, 1fr) 150px 140px; gap: 20px; }
  .row__who { display: none; }
  .day { padding: 16px; }
  .day__num { font-size: 36px; }
}
/* tablets: the week strip goes compact like the 390 frame — day, date, mode icon */
@media (max-width: 900px) {
  .days { gap: 8px; }
  .day { padding: 14px 6px; align-items: center; gap: 6px; border-radius: 14px; }
  .day__name .long, .day__mode span { display: none; }
  .day__num { font-size: 32px; }
}
@media (max-width: 700px) {
  .sched__wrap { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 72px; }
  .sched__title { padding-bottom: 24px; }
  .loc { width: 100%; }
  .loc button { flex: 1; justify-content: center; padding: 12px 10px; white-space: nowrap; gap: 6px; }
  .loc em { font-size: 14px; }
  #day-chip { font-size: 11px; letter-spacing: 1.2px; flex-wrap: wrap; row-gap: 4px; }
  .days { gap: 6px; }
  .day { padding: 10px 4px; align-items: center; gap: 4px; border-radius: 12px; }
  .day__name { font-size: 10px; letter-spacing: 1px; }
  .day__name .long { display: none; }
  .day__num { font-size: 22px; }
  .day__mode span { display: none; }
  .days + .small { margin: 20px 0 28px; }
  .daylist__head .display-m { font-size: 26px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--edge) * -1); padding: 0 var(--edge); }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { white-space: nowrap; }
  .classes-list { padding: 4px 16px; border-radius: 18px; }
  .row { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; padding: 18px 0; }
  .row__time strong { font-size: 24px; }
  .row__time .small { font-size: 11px; white-space: nowrap; }
  .row__name { font-size: 16px; }
  .row__spots { display: none; }
  .row__meta .small { font-size: 12px; }
  .row .btn { width: auto; padding: 11px 14px; }
}

/* booking panel — "Schedule — booking panel" 52:381 → "booking confirmed" 52:557; phones: the bottom sheet 94:860 / 94:1030 */
.book { position: fixed; inset: 0; z-index: 85; }
.book[hidden] { display: none; }
.book__scrim { position: absolute; inset: 0; background: rgb(44 52 49 / .12); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
               opacity: 0; transition: opacity .35s var(--ease); }
.book__panel { position: absolute; top: 20px; right: 24px; bottom: 20px; width: 500px; max-width: calc(100% - 48px); overflow-y: auto;
               display: flex; flex-direction: column; gap: 28px; padding: 56px 48px 40px; border-radius: 28px;
               background: rgb(244 239 231 / .74); border: 1px solid rgb(255 255 255 / .7); box-shadow: 0 24px 56px rgb(43 51 48 / .16);
               backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transform: translateX(32px); opacity: 0;
               transition: transform .45s var(--ease), opacity .35s var(--ease); }
.book.is-on .book__scrim { opacity: 1; }
.book.is-on .book__panel { transform: none; opacity: 1; }
.book__top { display: flex; justify-content: space-between; align-items: center; }
.book__close { border: 0; background: none; cursor: pointer; padding: 4px; margin: -4px; }
.book__view { display: flex; flex-direction: column; gap: 24px; }
.book__view[hidden] { display: none; }
.book__sub { display: flex; flex-direction: column; gap: 6px; }
.map { position: relative; border-radius: 12px; background: rgb(255 255 255 / .38); border: 1px solid rgb(255 255 255 / .7);
       border-top: 2px solid rgb(169 181 181 / .9); padding: 34px 44px 18px; }
.map__ocean { position: absolute; top: 8px; left: 0; right: 0; text-align: center; }
.map__side { position: absolute; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); }
.map__side--l { left: 14px; }
.map__side--r { right: 14px; transform: translateY(-50%); }
.map__grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(5, auto); gap: 10px 40px; }
.ref { position: relative; height: 26px; border: 1px solid transparent; background: rgb(220 205 184 / .7); color: var(--quiet); text-align: left; padding: 0 12px;
       font-size: 13px; font-weight: 500; cursor: not-allowed; }
.ref::after { content: ''; position: absolute; right: 8px; top: 6px; bottom: 6px; width: 2px; background: currentColor; opacity: .7; }
.ref.is-free { background: rgb(255 255 255 / .55); border-color: var(--sea); color: var(--sea); cursor: pointer; }
.ref.is-free:hover { background: #fff; }
.ref.is-mine { background: var(--sea); border-color: var(--sea); color: var(--salt); }
.ref:focus-visible { outline-offset: 2px; }
.legend { display: flex; gap: 16px; font-size: 12px; line-height: 1.4; color: var(--quiet); }
.legend b { font-weight: 400; color: var(--sea); }
.note { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 14px; background: rgb(255 255 255 / .38); border: 1px solid rgb(255 255 255 / .7); }
.note__head { display: flex; gap: 8px; align-items: center; }
.note__head img { width: 16px; height: 16px; }
.book .btn--primary[disabled] { opacity: .45; cursor: not-allowed; }
.book__confirm { width: 100%; }
.details { display: flex; flex-direction: column; gap: 10px; }
.details div { display: flex; gap: 16px; align-items: baseline; }
.details dt { width: 80px; flex: none; }
.details dd { margin: 0; }
.book__italic { font-family: var(--italic); font-style: italic; font-size: 32px; line-height: 1.2; color: var(--accent); }
.book__acts { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 700px) {
  .book__panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; max-height: 92svh; border-radius: 28px 28px 0 0;
                 padding: 28px 24px 32px; gap: 20px; transform: translateY(40px); }
  .book__panel::before { content: ''; align-self: center; width: 40px; height: 4px; border-radius: 4px; background: rgb(44 52 49 / .2); margin: -12px 0 4px; }
  .map { padding: 30px 30px 14px; }
  .map__grid { gap: 8px 18px; }
  .book .display-l { font-size: 48px; }
  .book__italic { font-size: 26px; }
  .book__acts .btn { flex: 1; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) { .book__scrim, .book__panel { transition: none; } }
