/* =============================================================
   NOT BORING STUDIO — stylesheet
   Clean, bold and easy to use. Brand orange comes from the logo.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --orange: #EF5509;
  --orange-hover: #FF6A1F;
  --orange-deep: #C44504;
  --orange-soft: #FFE9DD;
  --orange-glow: rgba(239, 85, 9, .35);

  --ink: #0B0B0C;
  --ink-2: #151517;
  --ink-3: #1E1E22;
  --ink-4: #2A2A30;

  --paper: #FAF8F4;
  --paper-2: #F2EFE9;
  --white: #FFFFFF;

  --text: #0F0F10;
  --muted: #5F5C57;
  --line: rgba(15, 15, 16, .12);
  --line-strong: rgba(15, 15, 16, .22);

  --on-dark: #F6F4EF;
  --on-dark-muted: #A9A59E;
  --line-dark: rgba(255, 255, 255, .12);
  --line-dark-strong: rgba(255, 255, 255, .28);

  --danger: #B3261E;

  --font-display: "Bricolage Grotesque", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 15, 16, .05), 0 10px 30px -12px rgba(15, 15, 16, .18);
  --shadow-lg: 0 30px 60px -24px rgba(15, 15, 16, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-pop: cubic-bezier(.34, 1.4, .64, 1);

  --gutter: 20px;
  --container: 1200px;
  --nav-h: 68px;
  --section: clamp(72px, 9vw, 128px);
}
@media (min-width: 768px) { :root { --gutter: 32px; --nav-h: 76px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-weight: 600; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--orange); color: var(--ink); font-weight: 700; text-decoration: none; transform: translateY(-200%); transition: transform .2s; }
.skip:focus { transform: none; }
body.locked { overflow: hidden; }

/* ---------- Type ---------- */
.h2 { margin-top: 16px; font: 800 clamp(2.1rem, 4.6vw, 3.5rem)/1.02 var(--font-display); letter-spacing: -.03em; max-width: 22ch; text-wrap: balance; }
.h3 { font: 700 1.375rem/1.15 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.lead { margin-top: 18px; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.55; color: var(--muted); max-width: 58ch; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .75rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow .num { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--orange); color: var(--ink); font-weight: 700; letter-spacing: .04em; transform: rotate(-4deg); }

/* stickers + stamps: the Gen Z sprinkle */
.sticker { display: inline-block; padding: 9px 12px; border-radius: 8px; background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font: 700 .75rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transform: rotate(var(--tilt, -2deg)); }
.sticker-orange { background: var(--orange); }
.hero .sticker { border-color: var(--on-dark); box-shadow: 3px 3px 0 var(--on-dark); }
.stamp { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 5px 8px; border-radius: 6px; background: var(--orange); color: var(--ink); font: 700 .625rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-4deg); box-shadow: 2px 2px 0 var(--ink); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(239, 85, 9, .25); }
.dark .eyebrow, .dark .lead { color: var(--on-dark-muted); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--ink); color: var(--on-dark); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head-row { display: grid; gap: 20px; align-items: end; }
@media (min-width: 900px) { .section-head-row { grid-template-columns: 1fr auto; } }

/* reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; font: 700 .9375rem/1 var(--font-body); text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 8px 24px -8px var(--orange-glow); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 14px 28px -10px var(--orange-glow); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--text); background: var(--white); transform: translateY(-2px); }
.btn-outline-light { background: rgba(255, 255, 255, .04); border-color: var(--line-dark-strong); color: var(--on-dark); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--on-dark); transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .875rem; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-dark-strong); color: var(--on-dark); background: rgba(255, 255, 255, .04); transition: background .2s, border-color .2s, opacity .2s; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); border-color: var(--on-dark); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.icon-btn:disabled:hover { background: rgba(255, 255, 255, .04); border-color: var(--line-dark-strong); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); color: var(--on-dark); background: rgba(11, 11, 12, .6); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.scrolled { background: rgba(11, 11, 12, .86); border-color: var(--line-dark); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.brand-name { font: 700 1.2rem/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; }
.brand-studio { font-weight: 500; opacity: .7; }
@media (max-width: 479px) { .brand-studio { display: none; } }
.nav-links { display: none; gap: 4px; margin-inline: auto; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--on-dark-muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--on-dark); background: rgba(255, 255, 255, .08); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-dark-strong); }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-toggle { display: none; } }

.mobile-menu { position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--on-dark); padding: calc(var(--nav-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mobile-links { display: grid; }
.mobile-links a { font: 700 clamp(2rem, 9vw, 3rem)/1.1 var(--font-display); letter-spacing: -.03em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-foot { margin-top: 32px; display: grid; gap: 16px; }
.mobile-foot .btn { width: 100%; }
.mobile-tag { color: var(--on-dark-muted); }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu.open .mobile-links a { animation: menuIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
  @keyframes menuIn { from { opacity: 0; transform: translateY(16px); } }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; padding-top: var(--nav-h); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08; 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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-sticker { margin-left: 2px; }
@media (max-width: 420px) { .hero-sticker { font-size: .6875rem; letter-spacing: .08em; } }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 45% at 85% 5%, rgba(239, 85, 9, .32), transparent 65%), radial-gradient(40% 35% at 0% 100%, rgba(239, 85, 9, .14), transparent 65%); }
.hero-in { position: relative; isolation: isolate; padding-block: clamp(56px, 9vw, 112px) clamp(40px, 5vw, 64px); max-width: 980px; }
/* Big "!" mark: sits beside the headline, behind the copy */
.hero-bang { position: absolute; z-index: -1; right: 14px; top: 22px; height: 84px; width: auto; overflow: visible; pointer-events: none; opacity: .7; transform: rotate(10deg); filter: drop-shadow(0 0 28px rgba(239, 85, 9, .4)); }
.hero-bang-stem { fill: url(#bangFill); stroke: var(--orange); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hero-bang-dot { fill: var(--orange); }
@media (max-width: 399px) { .hero-bang { right: 6px; top: 16px; height: 76px; } }
@media (min-width: 768px) { .hero-bang { right: 2%; top: 22%; height: 52%; opacity: .55; } }
@media (min-width: 1024px) { .hero-bang { right: 0; top: 47%; translate: 0 -50%; height: min(66%, 520px); opacity: .9; } .hero-bang-stem { stroke-width: 2.5; } }
@media (min-width: 1200px) { .hero-bang { right: -3%; } }
.hero-title { margin-top: 22px; font: 800 clamp(2.5rem, 8.2vw, 6.9rem)/.96 var(--font-display); letter-spacing: -.04em; }
.hero-title .line { display: block; overflow: hidden; padding: .04em 0 .1em; margin: -.04em 0 -.1em; }
.hero-title .line > span { display: inline-block; }
.hero-title .accent { color: var(--orange); }
.hero-title .bang { display: inline-block; margin-left: .055em; color: var(--on-dark); }
.hero-lead { margin-top: 26px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--on-dark-muted); max-width: 56ch; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 16px; color: var(--on-dark-muted); font-size: .875rem; font-weight: 500; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: .9375rem; font-weight: 500; }
.hero-proof li { display: flex; align-items: baseline; gap: 8px; }
.hero-proof b { font: 800 1.5rem/1 var(--font-display); letter-spacing: -.02em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
@media (max-width: 599px) {
  .hero-cta { display: grid; grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; font-size: .8125rem; line-height: 1.35; }
  .hero-proof li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-proof li + li { padding-left: 16px; border-left: 1px solid var(--line-dark); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .line > span { animation: rise .9s var(--ease) both; }
  .js .hero-title .line:nth-child(2) > span { animation-delay: .1s; }
  .js .hero-sticker { animation: fade .6s var(--ease) both; }
  .js .hero-lead { animation: fade .8s var(--ease) .25s both; }
  .js .hero-cta, .js .hero-note { animation: fade .8s var(--ease) .35s both; }
  .js .hero-proof { animation: fade .8s var(--ease) .45s both; }
  .hero-bang { animation: bangIn 1s var(--ease) .2s both, bangFloat 7s ease-in-out 1.2s infinite; }
  .hero-bang-dot { transform-box: fill-box; transform-origin: center; animation: dotPulse 3.5s ease-in-out 1.2s infinite; }
  .js .filmstrip { animation: fade 1s var(--ease) .5s both; }
}
@keyframes rise { from { transform: translateY(105%); opacity: 0; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }
@keyframes bangIn { from { opacity: 0; transform: rotate(24deg) scale(.85); } }
@keyframes bangFloat { 50% { transform: rotate(7deg) translateY(-14px); } }
@keyframes dotPulse { 50% { transform: scale(1.08); } }

/* filmstrip */
.filmstrip { --h: 160px; position: relative; padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.filmstrip-track { display: flex; width: max-content; }
.film-set { display: flex; gap: 14px; padding-right: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .filmstrip-track { animation: strip var(--dur, 70s) linear infinite; }
  .filmstrip:hover .filmstrip-track, .filmstrip:focus-within .filmstrip-track { animation-play-state: paused; }
}
@keyframes strip { to { transform: translateX(-50%); } }
.film { position: relative; flex: none; height: var(--h); border-radius: 14px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-dark); transition: transform .35s var(--ease), border-color .35s; }
.film.wide { width: calc(var(--h) * 16 / 9); }
.film.tall { width: calc(var(--h) * 9 / 16); }
.film img { width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11, 11, 12, .3); opacity: 0; transition: opacity .25s; }
.film-play span { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; }
.film-play svg { width: 22px; height: 22px; margin-left: 3px; }
.film:hover, .film:focus-visible { transform: translateY(-5px); border-color: var(--line-dark-strong); }
.film:hover .film-play, .film:focus-visible .film-play { opacity: 1; }
.film-views { position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; border-radius: 999px; background: rgba(11, 11, 12, .75); color: var(--on-dark); font: 600 .6875rem/1 var(--font-mono); letter-spacing: .08em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (prefers-reduced-motion: reduce) {
  .filmstrip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .film-set:last-child { display: none; }
}
@media (min-width: 768px) { .filmstrip { --h: 200px; } }
@media (min-width: 1200px) { .filmstrip { --h: 230px; } }

/* ticker */
.ticker { position: relative; background: var(--orange); color: var(--ink); border-top: 1.5px solid var(--ink); overflow: hidden; padding: 13px 0; }
.ticker-track { display: flex; width: max-content; }
.ticker-set { flex: none; display: flex; align-items: center; gap: 18px; padding-right: 18px; white-space: nowrap; font: 800 1rem/1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
.ticker-set i { font-style: normal; font-size: .8em; opacity: .75; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: strip 45s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { width: auto; }
  .ticker-set { white-space: normal; flex-wrap: wrap; row-gap: 8px; padding-inline: var(--gutter); }
  .ticker-set:last-child { display: none; }
}
@media (min-width: 768px) { .ticker-set { font-size: 1.125rem; gap: 22px; padding-right: 22px; } }

/* ---------- Made for ---------- */
.for { background: var(--paper); border-bottom: 1px solid var(--line); }
.for-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-block: 26px; }
.for-title { font: 700 .9375rem/1.3 var(--font-body); color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font: 600 .8125rem/1 var(--font-body); padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(239, 85, 9, .6); }
.service-num { position: absolute; top: 26px; right: 26px; color: var(--muted); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-deep); display: grid; place-items: center; transition: transform .3s var(--ease-pop), background .2s, color .2s; }
.service:hover .service-icon { transform: rotate(-6deg) scale(1.06); background: var(--orange); color: var(--ink); }
.service-icon svg { width: 26px; height: 26px; }
.service p { color: var(--muted); font-size: .9375rem; text-wrap: pretty; }
.service ul { display: grid; gap: 9px; margin-top: 4px; }
.service li, .plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; font-weight: 500; }
.service li::before, .plan li::before, .compare-col.not li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.services-cta { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 28px; border-radius: var(--radius); background: var(--orange-soft); border: 1px solid rgba(239, 85, 9, .25); }
.services-cta p { max-width: 56ch; }

/* ---------- Work ---------- */
.work-summary { color: var(--on-dark-muted); }
.clients-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 28px; }
.clients-label { color: var(--on-dark-muted); }
.client-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.client-tab { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 1.5px solid var(--line-dark); background: var(--ink-2); color: var(--on-dark); font-weight: 600; font-size: .9375rem; transition: background .2s, border-color .2s, color .2s; }
.client-tab img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--ink-3); }
.client-tab small { font-size: .8125rem; font-weight: 500; opacity: .65; }
.client-tab:hover { border-color: var(--line-dark-strong); }
.client-tab[aria-selected="true"] { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

.case { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); }
.case > * { min-width: 0; }
.client-band { display: grid; gap: 20px; padding: 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); }
.client-main { display: flex; gap: 18px; align-items: flex-start; }
.client-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--orange); background: var(--ink-3); }
.client-name { font: 800 1.5rem/1.1 var(--font-display); letter-spacing: -.02em; }
.client-meta { margin-top: 6px; color: var(--on-dark-muted); font-size: .9375rem; }
.client-meta a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--line-dark-strong); }
.client-meta a:hover { border-color: var(--orange); }
.client-blurb { margin-top: 10px; color: var(--on-dark-muted); max-width: 56ch; font-size: .9375rem; }
.client-stats { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.client-stats dt { font: 600 .6875rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.client-stats dd { margin-top: 6px; font: 800 1.5rem/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.client-services { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.client-services .mono { color: var(--on-dark-muted); margin-right: 6px; }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(239, 85, 9, .14); color: #FFB08A; border: 1px solid rgba(239, 85, 9, .3); font-size: .8125rem; font-weight: 600; }
@media (min-width: 900px) {
  .client-band { grid-template-columns: 1fr auto; align-items: center; padding: 28px 32px; }
  .client-services { grid-column: 1 / -1; }
}

.showcase { display: grid; gap: 20px; }
@media (min-width: 1024px) { .showcase { grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr); gap: 28px; align-items: start; } }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-dark); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-facade { position: absolute; inset: 0; width: 100%; height: 100%; display: block; text-align: left; }
.player-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.player-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, .1), rgba(11, 11, 12, .45)); }
.player-facade:hover img { transform: scale(1.03); }
.play-btn { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 84px; height: 84px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; box-shadow: 0 12px 36px rgba(239, 85, 9, .45); transition: transform .3s var(--ease-pop), background .2s; }
.play-btn svg { width: 34px; height: 34px; margin-left: 5px; }
.player-facade:hover .play-btn { transform: scale(1.08); background: var(--orange-hover); }
.player-tag { position: absolute; z-index: 2; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(11, 11, 12, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--on-dark); font: 600 .6875rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.player-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.player-caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 20px; margin-top: 16px; }
.player-now { color: var(--on-dark-muted); }
.player-title { margin-top: 6px; font: 700 1.125rem/1.3 var(--font-body); max-width: 40ch; }
.player-side { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--orange); color: var(--ink); font: 700 .75rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.playlist-label { color: var(--on-dark-muted); margin-bottom: 12px; }
.playlist { display: grid; gap: 8px; }
.playlist-item { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; padding: 8px; border-radius: 14px; border: 1.5px solid transparent; background: var(--ink-2); color: var(--on-dark); text-align: left; transition: background .2s, border-color .2s; }
.playlist-item:hover { background: var(--ink-3); }
.playlist-item[aria-current="true"] { border-color: var(--orange); }
.playlist-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--ink-3); }
.playlist-thumb img { width: 100%; height: 100%; object-fit: cover; }
.playlist-idx { position: absolute; left: 6px; top: 6px; padding: 3px 6px; border-radius: 6px; background: rgba(11, 11, 12, .75); font: 600 .625rem/1 var(--font-mono); }
.playlist-item[aria-current="true"] .playlist-idx { background: var(--orange); color: var(--ink); }
.playlist-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: .9rem; line-height: 1.35; }
.playlist-meta { display: block; margin-top: 4px; font-size: .8125rem; color: var(--on-dark-muted); }

.block-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.block-head h4 { font: 800 1.5rem/1.1 var(--font-display); letter-spacing: -.02em; }
.block-head p { margin-top: 4px; color: var(--on-dark-muted); font-size: .9375rem; }
.rail-nav { display: flex; gap: 8px; }
.video-grid { display: grid; gap: 20px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; } }
.vcard { display: block; width: 100%; text-align: left; border-radius: 14px; }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-dark); transition: border-color .3s, transform .3s var(--ease); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vcard:hover .vthumb { border-color: var(--line-dark-strong); transform: translateY(-3px); }
.vcard:hover .vthumb img { transform: scale(1.05); }
.play-mini { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .25s; background: rgba(11, 11, 12, .25); }
.play-mini span { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; }
.play-mini svg { width: 20px; height: 20px; margin-left: 3px; }
.vcard:hover .play-mini, .vcard:focus-visible .play-mini { opacity: 1; }
.vdur { position: absolute; right: 8px; bottom: 8px; padding: 4px 7px; border-radius: 6px; background: rgba(11, 11, 12, .8); color: var(--on-dark); font: 600 .6875rem/1 var(--font-mono); }
.vtitle { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; font-weight: 600; font-size: .9375rem; line-height: 1.35; }
.vmeta { display: block; margin-top: 4px; color: var(--on-dark-muted); font-size: .8125rem; }
.scard .vthumb { aspect-ratio: 9 / 16; border-radius: 18px; }
.show-more { margin-top: 24px; text-align: center; }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 12px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > li { flex: none; width: 168px; scroll-snap-align: start; }
@media (min-width: 768px) { .rail > li { width: 190px; } }
.rail.dragging { scroll-snap-type: none; cursor: grabbing; }
.rail:focus-visible { outline-offset: -3px; }
.case-foot { display: flex; justify-content: center; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.step { position: relative; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--orange); font-size: .875rem; }
.step h3 { margin-top: 22px; }
.step p { margin-top: 10px; color: var(--muted); font-size: .9375rem; }
@media (min-width: 1024px) { .step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -20px; width: 20px; height: 2px; background: var(--line-strong); } }

/* ---------- Compare ---------- */
.compare { display: grid; gap: 16px; }
@media (min-width: 768px) { .compare { grid-template-columns: 1fr 1fr; gap: 20px; } }
.compare-col { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.compare-col.not { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.compare-col h3 { color: var(--muted); }
.compare-col.not h3 { color: var(--orange); }
.compare-col ul { margin-top: 20px; display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.compare-col.boring li { color: var(--muted); }
.compare-col li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5C57' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* ---------- Plans ---------- */
.plans-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.plan.featured { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft), var(--shadow-lg); }
.plan-badge { position: absolute; top: -15px; left: 24px; }
.plan .h3 { font-size: 1.5rem; }
.plan-for { margin-top: 8px; color: var(--muted); }
.plan ul { margin: 22px 0 28px; display: grid; gap: 10px; }
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq-in { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font: 700 1.0625rem/1.35 var(--font-body); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange-deep); }
.faq summary svg { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-strong); transition: transform .3s var(--ease), background .2s, color .2s; }
.faq details[open] summary svg { transform: rotate(45deg); background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.faq-a { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--orange); color: var(--ink); overflow: hidden; }
.contact-bang { position: absolute; right: -24px; top: 48px; height: 340px; fill: var(--ink); opacity: .07; pointer-events: none; transform: rotate(12deg); }
@media (min-width: 1024px) { .contact-bang { right: auto; top: auto; left: -2%; bottom: -10%; height: 110%; transform: none; opacity: .06; } }
.contact-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1024px) { .contact-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; } }
.contact .eyebrow { color: rgba(11, 11, 12, .7); }
.contact :focus-visible { outline-color: var(--ink); }
.contact .form :focus-visible, .contact .hours-card :focus-visible { outline-color: var(--orange); }
.contact .eyebrow .num { background: var(--ink); color: var(--orange); }
.contact .lead { color: rgba(11, 11, 12, .78); }
.contact-sticker { margin-top: 22px; }
@media (max-width: 479px) { .contact-sticker { max-width: 100%; white-space: normal; font-size: .6875rem; line-height: 1.5; letter-spacing: .08em; } }
@media (max-width: 389px) { .contact-sticker { font-size: .625rem; letter-spacing: .05em; } }
.contact-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.contact-mail { margin-top: 16px; font-size: .9375rem; color: rgba(11, 11, 12, .75); }
.contact-mail a { font-weight: 700; color: var(--ink); }
.form { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.form-title { margin-bottom: 22px; font: 800 1.375rem/1.1 var(--font-display); letter-spacing: -.02em; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .9375rem; }
.optional { font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; color: var(--text); background: var(--paper); transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px var(--orange-soft); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.error { color: var(--danger); font-size: .8125rem; font-weight: 600; }
.needs { margin-bottom: 16px; }
.needs legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: .9375rem; }
.needs-list { display: flex; flex-wrap: wrap; gap: 8px; }
.needs label { position: relative; cursor: pointer; }
.needs input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.needs span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--white); font-weight: 600; font-size: .875rem; transition: background .2s, color .2s, border-color .2s; }
.needs input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.needs input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.form-status { min-height: 1.4em; margin-bottom: 10px; color: var(--danger); font-weight: 600; font-size: .9375rem; }
.form-send { width: 100%; }
.form-fine { margin-top: 12px; text-align: center; font-size: .8125rem; color: var(--muted); }
.form-ok { text-align: center; padding: 24px 8px; }
.form-ok-mark { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 20px; background: var(--ink); color: var(--orange); font: 800 2.5rem/1 var(--font-display); display: grid; place-items: center; }
.form-ok p { margin-top: 10px; color: var(--muted); }

/* call hours card (filled from contact.callHours) */
.hours-card { margin-top: 28px; max-width: 460px; padding: 22px 24px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); box-shadow: 5px 5px 0 rgba(11, 11, 12, .22); }
.hours-status { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); font-size: .8125rem; font-weight: 700; }
.hours-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark-muted); }
.hours-status.is-open i { background: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
@media (prefers-reduced-motion: no-preference) { .hours-status.is-open i { animation: livePing 2s ease-out infinite; } }
@keyframes livePing { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 100% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } }
.hours-main { display: grid; gap: 6px; margin-top: 18px; }
.hours-main .mono { color: var(--orange); font-size: .6875rem; }
.hours-main b { font: 800 clamp(1.6rem, 3vw, 2rem)/1 var(--font-display); letter-spacing: -.03em; }
.hours-main span:last-child { font-size: 1.0625rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.hours-local { margin-top: 6px; color: var(--on-dark-muted); font-size: .875rem; }
.hours-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: .8125rem; font-weight: 600; }
.hours-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hours-facts li::before { content: "✦"; color: var(--orange); font-size: .75em; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-block: 56px 32px; }
.footer-word { margin-bottom: 36px; font: 800 clamp(2.6rem, 15.5vw, 10.5rem)/.9 var(--font-display); letter-spacing: -.05em; text-transform: uppercase; white-space: nowrap; }
.footer-word span { display: inline-block; margin-left: .08em; color: var(--orange); }
.footer-top { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .footer-top { grid-template-columns: auto 1fr auto; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
@media (min-width: 900px) { .footer-links { justify-content: center; } }
.footer-links a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--on-dark-muted); transition: color .2s, background .2s; }
.footer-links a:hover { color: var(--on-dark); background: rgba(255, 255, 255, .08); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.footer-fine { font-size: .8125rem; color: var(--on-dark-muted); max-width: 70ch; }
.footer-top-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: .875rem; text-decoration: none; color: var(--on-dark-muted); }
.footer-top-link svg { width: 18px; height: 18px; }
.footer-top-link:hover { color: var(--on-dark); }

/* ---------- Lightbox ---------- */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: transparent; color: var(--on-dark); }
.lb::backdrop { background: rgba(5, 5, 6, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb-in { display: flex; flex-direction: column; width: 100%; max-width: 1120px; height: 100%; margin: 0 auto; padding: 16px var(--gutter) 20px; }
.lb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lb-client { color: var(--orange); }
.lb-title { margin-top: 6px; font: 700 1.0625rem/1.3 var(--font-body); max-width: 60ch; }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 16px 0; }
.lb-frame { width: min(100%, calc((100vh - 190px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); }
.lb.is-short .lb-frame { width: auto; height: min(calc(100vh - 190px), 780px); aspect-ratio: 9 / 16; max-width: 100%; }
.lb-frame iframe { width: 100%; height: 100%; border: 0; }
.lb-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.lb-nav { display: flex; align-items: center; gap: 12px; }
.lb-count { min-width: 7ch; text-align: center; color: var(--on-dark-muted); }
@media (prefers-reduced-motion: no-preference) {
  .lb[open] .lb-in { animation: lbIn .35s var(--ease) both; }
  @keyframes lbIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
}

/* ---------- Booking popup ---------- */
/* Opens with an orange wave then an ink wave bursting out of the button that was
   clicked (--x/--y, radius --r set from JS), then the panel springs in. */
.bk { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: transparent; color: var(--text); overflow: hidden; }
.bk::backdrop { background: transparent; }
.bk-wave { position: fixed; inset: 0; clip-path: circle(0 at var(--x, 50%) var(--y, 50%)); }
.bk-wave-orange { background: var(--orange); }
.bk-wave-ink { background: rgba(11, 11, 12, .9); }
.bk.is-open .bk-wave { clip-path: circle(var(--r, 150vmax) at var(--x, 50%) var(--y, 50%)); }
.bk.is-open .bk-wave-orange { opacity: 0; transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), opacity .5s ease .75s; }
.bk.is-open .bk-wave-ink { transition: clip-path .65s cubic-bezier(.7, 0, .2, 1) .12s; }
.bk.is-closing .bk-wave-orange { opacity: 0; }
.bk.is-closing .bk-wave-ink { transition: clip-path .45s cubic-bezier(.6, 0, .4, 1) .08s; }

.bk-stage { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px; }
.bk-panel { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: minmax(0, 1fr); width: min(100%, 980px); max-height: min(100%, 720px); border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
  opacity: 0; transform: translateY(48px) scale(.92) rotate(-1.5deg); }
.bk.is-open .bk-panel { opacity: 1; transform: none; transition: opacity .35s ease .3s, transform .8s var(--ease-pop) .3s; }
.bk.is-closing .bk-panel { opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .2s ease, transform .3s var(--ease); }

.bk-side { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 40px 36px; background: var(--ink); color: var(--on-dark); }
.bk-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 55% at 100% 0%, rgba(239, 85, 9, .4), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(239, 85, 9, .16), transparent 70%); }
.bk-bang { position: absolute; z-index: -1; right: 18px; top: 26px; height: 170px; overflow: visible; transform: rotate(12deg); filter: drop-shadow(0 0 24px rgba(239, 85, 9, .45)); }
.bk-bang-stem { fill: url(#bkBangFill); stroke: var(--orange); stroke-width: 2; vector-effect: non-scaling-stroke; }
.bk-bang-dot { fill: var(--orange); }
.bk-sticker { align-self: flex-start; }
.bk .bk-sticker { border-color: var(--on-dark); box-shadow: 3px 3px 0 var(--on-dark); }
.bk-title { margin-top: 26px; font: 800 clamp(2rem, 3.6vw, 2.9rem)/1 var(--font-display); letter-spacing: -.035em; max-width: 11ch; text-wrap: balance; }
.bk-title em { font-style: normal; color: var(--orange); }
.bk-sub { margin-top: 16px; color: var(--on-dark-muted); line-height: 1.55; max-width: 34ch; }
.bk-perks { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.bk-perks li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: .9375rem; }
.bk-hours { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-dark); color: var(--orange); font-size: .6875rem; line-height: 1.5; }
.bk-perks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

.bk-main { position: relative; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 40px 36px 0; }
.bk-close { position: absolute; z-index: 3; top: 16px; right: 16px; color: var(--text); border-color: var(--line-strong); background: var(--white); }
.bk-close:hover { background: var(--paper-2); border-color: var(--text); }
.bk-form { display: grid; }
.bk-form .field { margin-bottom: 14px; }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-row .field { margin-bottom: 0; }
.bk-hint { margin: 8px 0 22px; font-size: .8125rem; font-weight: 600; color: var(--muted); transition: color .2s; }
.bk-hint.is-error { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bk-slots { padding: 18px; margin-bottom: 8px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.bk-slots-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bk-slots legend { float: left; padding: 0; font-weight: 700; font-size: .9375rem; }
.bk-clear { font-weight: 700; font-size: .8125rem; color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; }
.bk-tz { clear: both; margin-top: 6px; color: var(--muted); font-size: .6875rem; }
.bk-days { display: flex; gap: 8px; margin: 14px -18px 0; padding: 2px 18px 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 18px; scrollbar-width: none; }
.bk-days::-webkit-scrollbar { display: none; }
.bk-day { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 3px; width: 62px; padding: 10px 0 9px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--paper); transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.bk-day small { font: 600 .625rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.bk-day b { font: 800 1.375rem/1 var(--font-display); letter-spacing: -.02em; }
.bk-day:hover { border-color: var(--text); transform: translateY(-2px); }
.bk-day[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.bk-day[aria-pressed="true"] small { color: var(--orange); opacity: 1; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 12px; }
.bk-part { grid-column: 1 / -1; }
.bk-part + .bk-part { margin-top: 6px; }
.bk-part-name { margin-bottom: 8px; color: var(--muted); font-size: .625rem; }
.bk-part-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.bk-time { min-height: 42px; padding: 8px 6px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--white); font-weight: 700; font-size: .875rem; font-variant-numeric: tabular-nums; transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease-pop); }
.bk-time:hover { border-color: var(--orange); color: var(--orange-deep); }
.bk-time:disabled { cursor: not-allowed; border-color: transparent; background: var(--paper-2); color: rgba(15, 15, 16, .32); text-decoration: line-through; }
.bk-time:disabled:hover { border-color: transparent; color: rgba(15, 15, 16, .32); }
.bk-day.is-full { border-style: dashed; color: rgba(15, 15, 16, .4); }
.bk-time[aria-pressed="true"] { background: var(--orange); border-color: var(--ink); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); transform: rotate(-2deg) scale(1.04); }
.bk-note { grid-column: 1 / -1; margin-top: 4px; color: var(--muted); font-size: .875rem; }
.bk-skel { height: 42px; border-radius: 999px; background: linear-gradient(90deg, var(--paper-2) 25%, var(--paper) 50%, var(--paper-2) 75%) 0 0 / 300% 100%; }
.bk-days .bk-skel { flex: none; width: 62px; height: 66px; border-radius: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .bk-skel { animation: shimmer 1.2s linear infinite; }
  .bk-times.fresh .bk-time { animation: timeIn .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms); }
}
@keyframes shimmer { to { background-position: -300% 0; } }
@keyframes timeIn { from { opacity: 0; transform: translateY(8px) scale(.94); } }

.bk-foot { position: sticky; bottom: 0; z-index: 2; margin: 0 -36px; padding: 14px 36px 28px; background: linear-gradient(180deg, rgba(250, 248, 244, 0), var(--paper) 18px); }
.bk-foot .form-status { margin-bottom: 8px; min-height: 0; }
.bk-foot .form-status:empty { margin: 0; }
.bk-send { width: 100%; }
.bk-send span { overflow: hidden; text-overflow: ellipsis; }

/* staggered entrance for the copy and the form rows */
.bk-side > *:not(.bk-bang), .bk-in, .bk-foot { opacity: 0; transform: translateY(14px); }
.bk.is-open .bk-side > *:not(.bk-bang), .bk.is-open .bk-in, .bk.is-open .bk-foot { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(.45s + var(--i, 0) * 60ms); }
.bk-bang { opacity: 0; translate: 0 -60px; }
.bk.is-open .bk-bang { opacity: 1; translate: 0 0; transition: opacity .3s ease .55s, translate .9s var(--ease-pop) .55s; }
@media (prefers-reduced-motion: no-preference) {
  .bk.is-open .bk-bang-dot { transform-box: fill-box; transform-origin: center; animation: dotPulse 3.5s ease-in-out 1.6s infinite; }
}

/* done state */
.bk-done { position: relative; display: grid; justify-items: center; text-align: center; padding: 36px 4px 40px; outline: none; }
.bk-done-mark { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 26px; background: var(--orange); color: var(--ink); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transform: rotate(-6deg); }
.bk-done-mark svg { width: 44px; height: 44px; stroke-dasharray: 30; stroke-dashoffset: 0; }
.bk-done-title { margin-top: 26px; font: 800 clamp(2rem, 4vw, 2.6rem)/1.02 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
.bk-done-text { margin-top: 12px; color: var(--muted); max-width: 40ch; }
.bk-done-text b { color: var(--text); }
.bk-ticket { position: relative; display: grid; gap: 4px; justify-items: center; margin-top: 24px; padding: 18px 34px; border-radius: 18px; background: var(--ink); color: var(--on-dark); transform: rotate(1.5deg); }
.bk-ticket::before, .bk-ticket::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--paper); }
.bk-ticket::before { left: -9px; }
.bk-ticket::after { right: -9px; }
.bk-ticket .mono { color: var(--orange); font-size: .6875rem; }
.bk-ticket b { font: 800 1.5rem/1.1 var(--font-display); letter-spacing: -.02em; }
.bk-ticket span:last-child { color: var(--on-dark-muted); font-weight: 600; }
.bk-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.bk-burst { position: absolute; left: 50%; top: 80px; width: 0; height: 0; pointer-events: none; }
.bk-burst i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--orange)); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .bk-done.show .bk-done-mark { animation: markPop .7s var(--ease-pop) both; }
  .bk-done.show .bk-done-mark svg { animation: draw .5s var(--ease) .35s both; }
  .bk-done.show > :not(.bk-burst):not(.bk-done-mark) { animation: fade .6s var(--ease) both; animation-delay: calc(.25s + var(--i, 0) * 80ms); }
  .bk-done.show .bk-burst i { animation: burst .9s cubic-bezier(.2, .8, .3, 1) .15s both; }
}
@keyframes markPop { from { transform: rotate(-30deg) scale(.3); opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 30; } }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); } }

/* phones: the panel becomes a bottom sheet */
@media (max-width: 759px) {
  .bk-stage { align-items: flex-end; padding: 0; }
  .bk-panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); width: 100%; max-height: calc(100% - 28px); border-radius: 26px 26px 0 0; transform: translateY(100%); }
  .bk.is-open .bk-panel { transition: opacity .2s ease .25s, transform .75s cubic-bezier(.2, 1.15, .35, 1) .25s; }
  .bk.is-closing .bk-panel { transform: translateY(100%); transition: transform .4s cubic-bezier(.6, 0, .8, .3); opacity: 1; }
  .bk-side { padding: 26px 20px 22px; }
  .bk-bang { height: 92px; right: 64px; top: 16px; }
  .bk-title { margin-top: 16px; font-size: 2rem; max-width: 12ch; }
  .bk-sub { margin-top: 10px; font-size: .9375rem; }
  .bk-perks { display: none; }
  .bk-hours { margin-top: 12px; padding-top: 0; border-top: 0; }
  .bk-close { top: 18px; right: 16px; color: var(--on-dark); border-color: var(--line-dark-strong); background: rgba(255, 255, 255, .06); }
  .bk-close:hover { background: rgba(255, 255, 255, .14); border-color: var(--on-dark); }
  .bk-panel { overflow-y: auto; overscroll-behavior: contain; }
  .bk-main { position: static; overflow: visible; padding: 24px 20px 0; }
  .bk-foot { margin: 0 -20px; padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); }
  .bk-row { grid-template-columns: 1fr; gap: 14px; }
  .bk-done { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .bk *, .bk-wave { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; translate: -50% 0; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--on-dark); border: 1px solid var(--line-dark-strong); font-weight: 600; font-size: .9375rem; text-align: center; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.toast.on { opacity: 1; transform: none; }
