/* Young Motorsports — site styles. Brand: black, white, pink (pink stays small). */

@font-face {
  font-family: "Anybody";
  src: url("/assets/fonts/anybody.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --black: #050505;
  --raised: #0f0f0f;
  --floating: #181818;
  --white: #f5f5f4;
  --paper: #ffffff;
  --line: rgb(255 255 255 / 0.14);
  --line-dark: rgb(0 0 0 / 0.16);
  --mute: #a9a9a9;
  --mute-dark: #565656;
  --pink: #f39ac1;
  --pink-hot: #ffb7d5;

  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 72px;
  --s9: 112px;
  --s10: 168px;

  --gutter: max(clamp(20px, 4.4vw, 72px), env(safe-area-inset-left), env(safe-area-inset-right));
  --max: 1560px;

  --display: "Anybody", "Arial Narrow", Arial, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --spring: cubic-bezier(0.22, 1.2, 0.36, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --inout: cubic-bezier(0.76, 0, 0.24, 1);

  --shadow-raised: 0 1px 1px rgb(0 0 0 / 0.18), 0 8px 18px -6px rgb(243 154 193 / 0.1), 0 24px 48px -16px rgb(0 0 0 / 0.5);
  --shadow-float: 0 2px 2px rgb(0 0 0 / 0.2), 0 18px 36px -10px rgb(0 0 0 / 0.55), 0 40px 80px -24px rgb(243 154 193 / 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; background: var(--black); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
/* picture should not create a box, so existing img/video layout rules stay put */
picture { display: contents; }
.no-js img[data-src] { display: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--pink); color: var(--black); }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 2px; }
.light :focus-visible { outline-color: var(--black); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: fixed; left: var(--s4); top: var(--s4); z-index: 200;
  padding: var(--s3) var(--s5); background: var(--pink); color: var(--black); font-weight: 600;
  transform: translateY(-200%); transition: transform 0.3s var(--out);
}
.skip:focus { transform: none; }

/* ---------- type ---------- */
.display, h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 780;
  letter-spacing: -0.028em;
  line-height: 0.96;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 1.2rem + 8.6vw, 10.2rem); }
h2 { font-size: clamp(2.1rem, 1rem + 4.4vw, 5.6rem); }
h3 { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); line-height: 1.04; letter-spacing: -0.02em; }
.lede { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.6rem); line-height: 1.5; max-width: 34ch; }
.copy { max-width: 62ch; color: inherit; }
.copy p + p { margin-top: var(--s4); }
.muted { color: var(--mute); }
.light .muted { color: var(--mute-dark); }
.small { font-size: 0.9rem; }

/* line masks for headline reveals (no JS = fully visible) */
.line { display: block; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.line > span { display: block; }
.js .reveal-lines .line > span { transform: translateY(108%); }
.js .reveal-lines.in .line > span { transform: none; transition: transform 1.1s var(--out); transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- layout ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(var(--s9), 14vw, var(--s10)); position: relative; }
.light { background: var(--white); color: var(--black); }
.raised { background: var(--raised); }

/* ---------- buttons ---------- */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s3);
  min-height: var(--h); padding: 0 var(--s6);
  border-radius: 999px; font-weight: 600; font-size: 1rem; letter-spacing: 0.005em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform 0.5s var(--spring), box-shadow 0.4s var(--out);
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}
.btn > span { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: var(--s3); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  transform: translateY(101%); transition: transform 0.55s var(--out);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:active { transform: scale(0.965); transition-duration: 0.12s; }
.btn-pink { background: var(--pink); color: var(--black); box-shadow: 0 10px 28px -12px rgb(243 154 193 / 0.55); }
.btn-pink::before { background: var(--white); }
.btn-pink:hover { box-shadow: 0 16px 38px -12px rgb(243 154 193 / 0.7); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--white); }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--black); }
.light .btn-ghost { box-shadow: inset 0 0 0 1.5px var(--line-dark); color: var(--black); }
.light .btn-ghost::before { background: var(--black); }
.light .btn-ghost:hover { color: var(--white); }
.btn-ink { background: var(--black); color: var(--white); }
.btn-ink::before { background: var(--pink); }
.btn-ink:hover { color: var(--black); }
.btn .ico { width: 18px; height: 18px; flex: none; }
.ripple {
  position: absolute; z-index: 3; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  background: rgb(255 255 255 / 0.55); pointer-events: none;
  animation: ripple 0.7s var(--out) forwards;
}
@keyframes ripple { from { transform: scale(0); opacity: 0.8; } to { transform: scale(14); opacity: 0; } }

.tlink { position: relative; display: inline-block; padding-block: 2px; font-weight: 600; }
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor;
  transform: scaleX(1); transform-origin: left; transition: transform 0.55s var(--out);
}
.tlink:hover::after { transform-origin: right; animation: underline 0.7s var(--out); }
@keyframes underline { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform: scaleX(0); transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: 76px;
  transition: transform 0.6s var(--out);
}
.hdr.hide { transform: translateY(-100%); }
.hdr-bg {
  position: absolute; inset: 0; background: var(--black); border-bottom: 1px solid var(--line);
  transform: translateY(-101%); transition: transform 0.55s var(--out);
}
.hdr.solid .hdr-bg { transform: none; }
.hdr-in { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.logo-link { display: inline-flex; align-items: center; height: 48px; padding-inline: var(--s2); margin-left: calc(var(--s2) * -1); }
.logo-link img { height: 44px; width: auto; transition: transform 0.6s var(--spring); }
.logo-link:hover img { transform: rotate(-4deg) scale(1.06); }
.hdr-actions { display: flex; align-items: center; gap: var(--s3); }
.hdr .btn { --h: 46px; padding: 0 var(--s5); font-size: 0.95rem; }
.menu-btn { display: inline-flex; align-items: center; gap: var(--s3); height: 46px; padding: 0 var(--s4); font-weight: 600; border-radius: 999px; }
.menu-btn .bars { position: relative; width: 22px; height: 10px; }
.menu-btn .bars i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.55s var(--out); }
.menu-btn .bars i:first-child { top: 0; }
.menu-btn .bars i:last-child { bottom: 0; }
.menu-open .menu-btn .bars i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn .bars i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-btn:hover .bars i:last-child { transform: scaleX(0.6); transform-origin: right; }
.menu-open .menu-btn:hover .bars i:last-child { transform: translateY(-4px) rotate(-45deg); }
.hdr .call-pill .num { display: none; }
@media (min-width: 640px) { .hdr .call-pill .num { display: inline; } }

/* ---------- menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 80; background: var(--black); visibility: hidden;
  display: flex; align-items: stretch;
}
.menu::before {
  content: ""; position: absolute; inset: 0; background: var(--raised); transform: translateY(-101%);
  transition: transform 0.8s var(--inout);
}
.menu-open .menu { visibility: visible; }
.menu-open .menu::before { transform: none; }
.menu-in { position: relative; width: 100%; padding: 108px var(--gutter) var(--s6); display: grid; gap: var(--s6); grid-template-columns: 1fr; align-content: space-between; overflow: auto; }
.menu-links a {
  display: flex; align-items: baseline; gap: var(--s4);
  font-family: var(--display); font-stretch: 106%; font-weight: 740; letter-spacing: -0.025em;
  font-size: clamp(1.55rem, 0.8rem + 2.3vw, 2.9rem); line-height: 1.18; padding-block: 2px;
  transform: translateY(40px); opacity: 0; transition: transform 0.6s var(--out), opacity 0.4s, color 0.3s;
}
.menu-open .menu-links a { transform: none; opacity: 1; transition-delay: calc(0.18s + var(--i) * 45ms); }
.menu-links a:hover, .menu-links a[aria-current="page"] { color: var(--pink); }
.menu-links a .arrow { width: 0.5em; height: 0.5em; align-self: center; transform: translateX(-12px); opacity: 0; transition: transform 0.5s var(--spring), opacity 0.3s; flex: none; }
.menu-links a:hover .arrow { transform: none; opacity: 1; }
.menu-side { display: none; }
.menu-foot { display: grid; gap: var(--s2); color: var(--mute); font-size: 0.95rem; }
.menu-foot a { color: var(--white); font-weight: 600; }
@media (min-width: 760px) {
  .menu-in { grid-template-columns: 1.35fr 0.65fr; align-content: stretch; gap: var(--s8); padding-top: 112px; padding-bottom: var(--s7); }
  .menu-left { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s6); }
  .menu-side { display: block; position: relative; border-radius: 10px; overflow: hidden; background: var(--floating); box-shadow: var(--shadow-float); min-height: 420px; }
  .menu-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 0.6s, transform 1.1s var(--out); }
  .menu-side img.on { opacity: 1; transform: none; }
}

/* ---------- page curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 300; background: var(--black); pointer-events: none;
  display: grid; place-items: center; transform: translateY(101%);
}
.curtain img { width: 76px; height: auto; opacity: 0; transform: scale(0.8); }
.curtain.cover, .arrive .curtain { transform: none; }
.curtain.cover img, .arrive .curtain img { opacity: 1; transform: none; }
.curtain.going { transition: transform 0.65s var(--inout); transform: none; pointer-events: all; }
.curtain.going img { opacity: 1; transform: none; transition: opacity 0.4s 0.2s, transform 0.6s 0.2s var(--spring); }
.curtain.leaving { transition: transform 0.85s var(--inout) 0.15s; transform: translateY(-101%); }
.curtain.leaving img { opacity: 0; transition: opacity 0.2s; }

/* ---------- progress + cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; background: var(--pink); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; display: none; opacity: 0; will-change: transform; transition: opacity 0.2s; }
.cursor i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.cursor b {
  position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / 0.6); display: grid; place-items: center;
  transition: transform 0.35s var(--spring), background 0.25s, border-color 0.25s;
  font-size: 0.66rem; font-weight: 700; color: var(--black); letter-spacing: 0.02em;
}
.cursor b em { font-style: normal; opacity: 0; transition: opacity 0.2s; }
.cursor.is-link b { transform: scale(1.45); border-color: var(--pink); }
.cursor.is-media b { transform: scale(1.7); background: var(--pink); border-color: var(--pink); }
.cursor.is-media b em { opacity: 1; }
.cursor.is-down b { transform: scale(0.8); }
@media (hover: hover) and (pointer: fine) {
  .js .cursor { display: block; }
  .js.has-cursor, .js.has-cursor a, .js.has-cursor button, .js.has-cursor summary { cursor: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); isolation: isolate; }
.hero-media { position: absolute; inset: -4% 0; z-index: -2; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
@media (max-width: 899px) { .hero-media img { object-position: 33% 50%; } }
.hero-video { display: none; }
@media (max-width: 899px) {
  .hero-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: 0; transition: opacity 1.2s var(--out); }
  .hero-video.on { opacity: 1; }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgb(5 5 5 / 0.92) 0%, rgb(5 5 5 / 0.6) 34%, rgb(5 5 5 / 0.12) 62%, rgb(5 5 5 / 0.4) 100%), linear-gradient(to right, rgb(5 5 5 / 0.62) 0%, rgb(5 5 5 / 0.3) 45%, rgb(5 5 5 / 0) 75%);
}
.hero-in { width: min(100% - var(--gutter) * 2, var(--max)); padding-block: 120px var(--s7); display: grid; gap: var(--s6); }
.hero h1 { font-size: clamp(2.7rem, 1rem + 6.3vw, 8rem); }
.hero h1 .small-line { font-size: 0.34em; font-stretch: 100%; font-weight: 620; letter-spacing: -0.01em; line-height: 1.2; display: block; padding-top: var(--s4); color: var(--white); }
.hero-sub { max-width: 40ch; color: rgb(255 255 255 / 0.86); font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem); line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-meta { display: none; }
@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1fr auto; align-items: end; padding-bottom: var(--s8); }
  .hero-meta { display: grid; gap: var(--s2); text-align: right; font-size: 0.95rem; color: rgb(255 255 255 / 0.85); padding-bottom: var(--s2); }
  .hero-meta strong { color: var(--white); font-weight: 600; }
}
.hero-scroll { position: absolute; right: var(--gutter); bottom: var(--s6); display: none; }
.intro { position: fixed; inset: 0; z-index: 400; background: var(--black); display: grid; place-items: center; pointer-events: none; }
.intro img { width: clamp(70px, 9vw, 110px); height: auto; }
.no-js .intro, .intro.done { display: none; }

/* ---------- statement ---------- */
.statement h2 { max-width: none; }
.statement .grid { display: grid; gap: var(--s7); }
.statement .copy { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); line-height: 1.6; }
@media (min-width: 900px) { .statement .grid { grid-template-columns: 1.9fr 1fr; align-items: end; gap: var(--s8); } }

/* ---------- diagnostics ---------- */
.diag .grid { display: grid; gap: var(--s8); }
.words span { display: inline-block; opacity: 0.18; will-change: opacity; }
.diag .lede { font-size: clamp(1.4rem, 1rem + 1.8vw, 2.4rem); line-height: 1.25; max-width: 24ch; font-family: var(--display); font-stretch: 105%; font-weight: 640; letter-spacing: -0.02em; }
.diag-photo { position: relative; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-float); background: var(--floating); aspect-ratio: 3 / 4; max-width: 560px; }
.diag-photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.diag-photo figcaption { position: absolute; left: var(--s4); bottom: var(--s4); right: var(--s4); font-size: 0.85rem; color: #fff; text-shadow: 0 1px 12px rgb(0 0 0 / 0.7); z-index: 2; }
.proof { display: grid; gap: 0; margin-top: var(--s7); }
.proof li { padding: var(--s5) 0 var(--s5) var(--s5); border-top: 1px solid var(--line); position: relative; font-size: 1.1rem; max-width: 52ch; }
.proof li:last-child { border-bottom: 1px solid var(--line); }
.proof li::before { content: ""; position: absolute; left: 0; top: var(--s5); bottom: var(--s5); width: 3px; background: var(--pink); transform: scaleY(0.35); transform-origin: top; transition: transform 0.7s var(--out); }
.proof li:hover::before, .proof li.on::before { transform: none; }
@media (min-width: 900px) {
  .diag .grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--s9); align-items: start; }
  .diag-photo { position: sticky; top: 110px; }
}

/* ---------- teardown (pinned) ---------- */
.td { position: relative; background: var(--black); border-top: 1px solid var(--line); }
.td-stage { position: relative; min-height: 100svh; display: grid; align-content: center; padding-block: 96px var(--s6); gap: var(--s5); }
.td-grid { display: grid; gap: var(--s5); align-items: center; }
.td-head h2 { max-width: none; font-size: clamp(2.1rem, 1rem + 3.6vw, 4.8rem); }
.td-steps { position: relative; margin-top: var(--s7); min-height: 8.5em; }
.td-step { position: absolute; inset: 0 auto auto 0; width: 100%; opacity: 0; }
.td-step:first-child { opacity: 1; }
.td-step h3 { color: var(--pink); }
.td-step p { margin-top: var(--s3); max-width: 38ch; font-size: 1.1rem; color: rgb(255 255 255 / 0.9); }
.no-js .td-step, .reduced .td-step { position: static; opacity: 1; margin-top: var(--s6); }
.td-frame { position: relative; width: min(100%, 440px); aspect-ratio: 4 / 5; margin-inline: auto; border-radius: 6px; overflow: hidden; background: var(--floating); box-shadow: var(--shadow-float); }
.td-shot { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.td-shot img, .td-shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.td-track { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgb(255 255 255 / 0.2); z-index: 5; }
.td-track i { position: absolute; inset: 0; background: var(--pink); transform: scaleX(0); transform-origin: left; }
.no-js .td-shot:not(:first-child), .reduced .td-shot:not(:first-child) { display: none; }
@media (min-width: 900px) {
  .td-grid { grid-template-columns: 1fr minmax(380px, 0.78fr); gap: var(--s9); }
  .td-frame { width: min(100%, 560px); margin-inline: 0 auto; max-height: 76svh; aspect-ratio: 4 / 5; }
  .td-steps { min-height: 10em; }
}
@media (max-width: 899px) {
  .td-stage { padding-block: 84px 92px; align-content: start; gap: 0; }
  .td-frame { width: auto; height: clamp(190px, calc(100svh - 450px), 480px); max-height: none; margin-inline: 0; }
  .td-head h2 { font-size: clamp(1.9rem, 8.6vw, 2.8rem); }
  .td-steps { margin-top: var(--s3); min-height: 8.2em; }
  .td-step p { font-size: 1rem; margin-top: var(--s2); }
  .td-grid { gap: var(--s4); }
}
@media (min-width: 700px) and (max-width: 899px) {
  .td-stage { padding-block: 100px 100px; }
  .td-head h2 { font-size: clamp(2.4rem, 6.4vw, 3.8rem); }
  .td-step p { font-size: 1.15rem; max-width: 46ch; }
  .td-steps { min-height: 9.5em; margin-top: var(--s5); }
  .td-grid { gap: var(--s6); }
  .td-frame { height: clamp(280px, calc(100svh - 520px), 600px); }
}
@media (min-width: 900px) { .td-frame { width: auto; height: min(76svh, 760px); margin-inline: 0 auto; max-height: none; } }
/* short landscape screens (phones turned sideways) */
@media (orientation: landscape) and (max-height: 600px) {
  .callbar { display: none; }
  body { padding-bottom: 0; }
  .hero { min-height: 100svh; }
  .hero-in { padding-block: 72px 24px; gap: var(--s4); }
  .hero h1 { font-size: clamp(1.9rem, 12svh, 3.6rem); }
  .hero h1 .small-line { font-size: 0.42em; padding-top: var(--s2); }
  .hero-sub { font-size: 0.95rem; margin-top: var(--s3) !important; }
  .hero-cta { margin-top: var(--s4) !important; }
  .hero-cta .btn { --h: 46px; }
  .td-stage { padding-block: 64px 20px; }
  .td-grid { grid-template-columns: 1fr auto; gap: var(--s6); align-items: center; }
  .td-frame { width: auto; height: min(78svh, 360px); }
  .td-head h2 { font-size: clamp(1.6rem, 8svh, 2.4rem); }
  .td-steps { margin-top: var(--s4); min-height: 6.5em; }
  .td-step p { font-size: 0.95rem; }
  .section { padding-block: var(--s8); }
  .place { min-height: 100svh; }
  .phero { padding-top: 92px; }
}

/* ---------- services list ---------- */
.svc h2 { margin-bottom: var(--s8); }
.svc-wrap { display: grid; gap: var(--s6); }
.svc-list { border-top: 1.5px solid var(--black); }
.svc-row { position: relative; display: grid; gap: var(--s2) var(--s5); padding: var(--s6) 0; border-bottom: 1px solid var(--line-dark); align-items: center; isolation: isolate; grid-template-columns: 1fr; }
.svc-row::before { content: ""; position: absolute; inset: 0 -20px; background: var(--black); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--out); border-radius: 4px; }
.svc-row h3 { font-size: clamp(1.7rem, 1rem + 2.6vw, 3.6rem); transition: transform 0.6s var(--out), color 0.4s; }
.svc-row p { color: var(--mute-dark); max-width: 44ch; transition: color 0.4s; }
.svc-row .go { display: none; width: 52px; height: 52px; border-radius: 50%; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-dark); transition: transform 0.5s var(--spring), background 0.3s, box-shadow 0.3s; }
.svc-row .go svg { width: 22px; height: 22px; }
.svc-row .thumb { width: 100%; max-width: 420px; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: #ddd; margin-top: var(--s3); }
.svc-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-preview { display: none; }
@media (min-width: 640px) and (max-width: 899px) {
  .svc-row { grid-template-columns: 1fr minmax(220px, 34%); align-items: center; }
  .svc-row h3 { grid-column: 1; }
  .svc-row p { grid-column: 1; }
  .svc-row .thumb { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; max-width: none; }
}
.svc-row.active::before { transform: none; }
.svc-row.active h3 { transform: translateX(var(--s4)); color: var(--white); }
.svc-row.active p { color: rgb(255 255 255 / 0.78); transform: translateX(var(--s4)); }
.svc-row p { transition: color 0.4s, transform 0.6s var(--out); }
.svc-row.active .go { background: var(--pink); box-shadow: none; transform: rotate(-45deg) scale(1.08); }
.svc-row.active .thumb img { transform: scale(1.04); }
.svc-row .thumb img { transition: transform 1.2s var(--out); }
@media (max-width: 899px) {
  .svc-row { padding-right: 72px; }
  .svc-row .go { display: grid; position: absolute; right: 8px; top: var(--s6); width: 44px; height: 44px; }
  .svc-row.active h3, .svc-row.active p { transform: translateX(var(--s2)); }
}
@media (min-width: 900px) {
  .svc-wrap { grid-template-columns: 1.25fr 0.75fr; gap: var(--s8); align-items: start; }
  .svc-row { grid-template-columns: 1fr 52px; padding: var(--s6) 0; }
  .svc-row h3 { grid-column: 1; }
  .svc-row p { grid-column: 1; }
  .svc-row .go { display: grid; grid-column: 2; grid-row: 1 / span 2; }
  .svc-row .thumb { display: none; }
  .svc-preview { display: block; position: sticky; top: 108px; aspect-ratio: 4 / 5; max-height: calc(100svh - 150px); border-radius: 6px; overflow: hidden; background: var(--floating); box-shadow: var(--shadow-float); justify-self: end; width: 100%; max-width: 460px; }
  .svc-shot { position: absolute; inset: 0; opacity: 0; transition: opacity 0.55s var(--out); }
  .svc-shot.on { opacity: 1; }
  .svc-shot img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
}

/* ---------- place (full-bleed) ---------- */
.place { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.place-media { position: absolute; inset: -8% 0; z-index: -2; will-change: transform; }
.place-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.place::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(5 5 5 / 0.88) 0%, rgb(5 5 5 / 0.3) 55%, rgb(5 5 5 / 0.1) 100%); }
.place-in { padding-block: var(--s9) var(--s8); display: grid; gap: var(--s5); }
.place h2 { max-width: none; }
.place .copy { max-width: 48ch; color: rgb(255 255 255 / 0.9); }

/* ---------- reel ---------- */
.reel-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s7); }
.reel { display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); padding-bottom: var(--s5); scrollbar-width: none; overscroll-behavior-x: contain; }
.reel::-webkit-scrollbar { display: none; }
.reel-card { position: relative; flex: none; width: min(72vw, 330px); aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; background: var(--floating); scroll-snap-align: center; box-shadow: var(--shadow-raised); transition: transform 0.6s var(--spring); }
.reel-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-card:hover { transform: translateY(-6px); }
@media (min-width: 900px) { .reel-card { width: 340px; } }
.reel.dragging { scroll-snap-type: none; }
.reel.dragging .reel-card { pointer-events: none; }

/* ---------- makes ---------- */
.makes .cols { display: grid; gap: var(--s8); }
.makes h2 { margin-bottom: var(--s8); }
.makes h3 { margin-bottom: var(--s4); }
.makes ul li { padding: var(--s3) 0; border-top: 1px solid var(--line-dark); font-size: 1.1rem; }
.makes ul li:last-child { border-bottom: 1px solid var(--line-dark); }
.makes ul li span { color: var(--mute-dark); }
@media (min-width: 900px) { .makes .cols { grid-template-columns: 1fr 1fr; gap: var(--s9); } }

/* ---------- CTA ---------- */
.cta { text-align: left; }
.cta h2 { max-width: none; margin-bottom: var(--s7); }
.cta-phone {
  display: inline-block; font-family: var(--display); font-stretch: 112%; font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(2.3rem, 0.6rem + 8.6vw, 9rem); line-height: 1; position: relative; padding-block: var(--s2);
  transition: transform 0.6s var(--out), color 0.3s;
}
.cta-phone:hover { color: var(--pink); transform: translateX(var(--s3)); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s7); }
.cta-hours { margin-top: var(--s6); color: var(--mute); }

/* ---------- footer ---------- */
.ftr { background: var(--raised); border-top: 1px solid var(--line); padding-block: var(--s9) var(--s6); }
.ftr-grid { display: grid; gap: var(--s7); }
.ftr h4 { font-family: var(--body); font-size: 0.9rem; font-weight: 600; color: var(--mute); margin: 0 0 var(--s4); letter-spacing: 0.01em; }
.ftr li + li { margin-top: var(--s2); }
.ftr a:hover { color: var(--pink); }
.ftr-logo img { width: min(220px, 56vw); height: auto; }
.ftr-base { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); color: var(--mute); font-size: 0.9rem; }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--s8); } }

/* ---------- mobile call bar ---------- */
.callbar {
  position: fixed; left: var(--s3); right: var(--s3); bottom: calc(var(--s3) + env(safe-area-inset-bottom)); z-index: 85;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s2); transform: translateY(160%); transition: transform 0.7s var(--out);
}
.callbar.show { transform: none; }
.callbar.tuck { transform: translateY(160%); }
@media (max-width: 899px) { body { padding-bottom: 88px; } }
.callbar .btn { --h: 54px; box-shadow: 0 14px 30px -10px rgb(0 0 0 / 0.7); }
.callbar .btn-ghost { background: var(--floating); }
.menu-open .callbar { transform: translateY(160%); }
@media (min-width: 900px) { .callbar { display: none; } }

/* ---------- inner pages ---------- */
.phero { position: relative; padding: 148px 0 var(--s8); overflow: hidden; }
.phero-grid { display: grid; gap: var(--s7); align-items: end; }
.phero h1 { font-size: clamp(2.4rem, 1rem + 5vw, 6.4rem); }
.phero .lede { margin-top: var(--s5); }
.phero-photo { position: relative; border-radius: 6px; overflow: hidden; background: var(--floating); box-shadow: var(--shadow-float); aspect-ratio: 4 / 3; }
.phero-photo.tall { aspect-ratio: 4 / 5; max-width: 480px; }
.phero-photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.crumbs { display: flex; gap: var(--s2); font-size: 0.9rem; color: var(--mute); margin-bottom: var(--s5); }
.crumbs a:hover { color: var(--pink); }
@media (min-width: 900px) { .phero-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s9); } .phero { padding-top: 172px; } }

.body-grid { display: grid; gap: var(--s8); }
.body-grid h2 { font-size: clamp(1.9rem, 1rem + 3vw, 3.6rem); max-width: 14ch; }
.stack > * + * { margin-top: var(--s5); }
.list-rule li { padding: var(--s4) 0; border-top: 1px solid var(--line); }
.list-rule li:last-child { border-bottom: 1px solid var(--line); }
.light .list-rule li { border-color: var(--line-dark); }
.list-rule li strong { display: block; font-weight: 600; }
.list-rule li span { color: var(--mute); }
.light .list-rule li span { color: var(--mute-dark); }
@media (min-width: 900px) { .body-grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--s9); } }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.light .faq details { border-color: var(--line-dark); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: var(--s5); align-items: center; padding: var(--s5) 0; cursor: pointer; font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.9vw, 1.7rem); letter-spacing: -0.015em; line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 22px; height: 22px; flex: none; transition: transform 0.5s var(--spring); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: currentColor; margin-top: -1px; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); color: var(--pink); }
.light .faq details[open] summary i { color: var(--black); }
.faq .ans { padding: 0 0 var(--s6); max-width: 60ch; color: var(--mute); }
.light .faq .ans { color: var(--mute-dark); }

.related { display: grid; gap: var(--s3); }
.related a { display: flex; justify-content: space-between; align-items: center; padding: var(--s5) var(--s5); background: var(--floating); border-radius: 8px; font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: 1.25rem; box-shadow: var(--shadow-raised); transition: transform 0.5s var(--spring), background 0.3s, color 0.3s; }
.related a:hover { transform: translateY(-4px); background: var(--pink); color: var(--black); }
.related a svg { width: 22px; height: 22px; transition: transform 0.5s var(--spring); }
.related a:hover svg { transform: translateX(6px); }
@media (min-width: 900px) { .related { grid-template-columns: repeat(3, 1fr); } }

.facts { display: grid; gap: var(--s5); }
.facts div { padding: var(--s5); background: var(--floating); border-radius: 8px; box-shadow: var(--shadow-raised); }
.facts dt { color: var(--mute); font-size: 0.9rem; }
.facts dd { font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); letter-spacing: -0.015em; line-height: 1.15; margin-top: var(--s2); }
.facts a:hover { color: var(--pink); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); } }

.gallery { display: grid; gap: var(--s4); }
.gallery figure { position: relative; border-radius: 6px; overflow: hidden; background: var(--floating); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .a { aspect-ratio: 16 / 10; }
.gallery .b { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .gallery { grid-template-columns: 1.4fr 1fr; } .gallery .a, .gallery .b { aspect-ratio: auto; min-height: 520px; } }

.band { position: relative; height: clamp(280px, 52vw, 680px); overflow: hidden; background: var(--floating); }
.band img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }

/* image placeholders (blur-up) */
img[data-lq] { background-size: cover; background-position: center; }

/* reduced motion + no-js */
.reduced *, .reduced *::before, .reduced *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
.reduced .line > span { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .intro, .curtain { display: none !important; }
}

@media (orientation: landscape) and (max-height: 600px) { .callbar { display: none; } }
