/* =========================================================
   Bosco Dance Company · one-page site
   Light theme by default · dark via [data-theme="dark"]
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --surface-2: #F2EDE4;
  --text: #16130F;
  --muted: #6B6359;
  --gold: #8A6518;
  --gold-accent: #B8892E;
  --gold-grad: linear-gradient(100deg, #6B4B10 0%, #A97C25 48%, #7A5512 100%);
  --line: rgba(22, 19, 15, .10);
  --line-strong: rgba(22, 19, 15, .18);
  --btn-bg: #16130F;
  --btn-text: #FAF7F2;
  --shadow: 0 1px 2px rgba(22, 19, 15, .06), 0 12px 40px -12px rgba(22, 19, 15, .18);
  --shadow-lg: 0 2px 6px rgba(22, 19, 15, .06), 0 30px 80px -20px rgba(22, 19, 15, .28);
  --glass: color-mix(in srgb, var(--bg) 74%, transparent);
  --chat-bg: #EFE7DD;
  --chat-head: #F0F2F5;
  --chat-out: #D9FDD3;
  --chat-in: #FFFFFF;
  --map-filter: grayscale(.55) contrast(1.05);

  --font-display: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --nav-h: 76px;
  --logo-shadow: drop-shadow(0 1px 1px rgba(110, 75, 15, .22));
  --logo-glow: drop-shadow(0 22px 44px rgba(138, 101, 24, .22));
  --edge: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  --radius-card: 28px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0C0B0A;
  --surface: #171513;
  --surface-2: #211E1B;
  --text: #F4EFE7;
  --muted: #A69D91;
  --gold: #D9AE55;
  --gold-accent: #D9AE55;
  --gold-grad: linear-gradient(100deg, #F1D58F 0%, #D9AE55 45%, #B8892E 100%);
  --line: rgba(244, 239, 231, .10);
  --line-strong: rgba(244, 239, 231, .20);
  --btn-bg: #D9AE55;
  --btn-text: #0C0B0A;
  --shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);
  --chat-bg: #0B141A;
  --chat-head: #202C33;
  --chat-out: #005C4B;
  --chat-in: #202C33;
  --map-filter: invert(.92) hue-rotate(180deg) grayscale(.5) brightness(.9);
  --logo-shadow: drop-shadow(0 0 10px rgba(217, 174, 85, .18));
  --logo-glow: drop-shadow(0 0 70px rgba(217, 174, 85, .26));
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}
img, video, svg, iframe { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; flex: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold-accent); color: #16130F; }
:focus-visible { outline: 2px solid var(--gold-accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
html.is-locked, html.is-locked body { overflow: hidden; }
.qa h3 { margin: 0; font: inherit; }

.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.015em; }
.display em, .h2 em { font-style: italic; }
.h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 54ch; text-wrap: pretty; }
.eyebrow { font: 600 12px/1.2 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.eyebrow--light { color: rgba(255, 255, 255, .7); }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.text-link:hover { border-color: var(--gold-accent); color: var(--gold); }
.text-link svg { font-size: 15px; }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--btn-bg); color: var(--btn-text); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--font-sans); letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .18s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn svg { font-size: 18px; }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); }
.btn--primary:hover { box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--btn-bg) 70%, transparent); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--gold { background: linear-gradient(100deg, #F1D58F, #D9AE55 50%, #C2953A); color: #16130F; }
.btn--gold:hover { box-shadow: 0 12px 36px -10px rgba(217, 174, 85, .6); }
.btn--wa { background: #25D366; color: #06210F; }
.btn--wa:hover { background: #2EE372; }
.btn--link { height: auto; padding: 8px 4px; color: var(--muted); }
.btn--link:hover { color: var(--text); }

.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--text); transition: background-color .2s; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { font-size: 20px; }
.icon-btn--sm { width: 32px; height: 32px; }
.icon-btn--sm svg { font-size: 16px; }

.round-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow); transition: transform .18s var(--ease-out), background-color .2s; }
.round-btn:hover { background: var(--surface-2); }
.round-btn:active { transform: scale(.94); }
.round-btn svg { font-size: 18px; }
.round-btn--glass { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.round-btn--glass:hover { background: rgba(255, 255, 255, .24); }

.glass-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(20, 16, 12, .34); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
.glass-btn svg { font-size: 16px; }
[data-paused="true"] .i-pause, .i-play { display: none; }
[data-paused="true"] .i-play { display: block; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  font: 500 14px/1.2 var(--font-sans); cursor: pointer; user-select: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .18s var(--spring);
}
.chip:hover { border-color: var(--text); }
.chip:active { transform: scale(.96); }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-selected="true"], .chip:has(input:checked) { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.chip:has(input:focus-visible) { outline: 2px solid var(--gold-accent); outline-offset: 2px; }
.chips--sm .chip { min-height: 36px; padding: 6px 14px; font-size: 13.5px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Brand ---------- */
.brand { display: inline-grid; line-height: 1; gap: 3px; }
.brand__logo { height: 56px; width: auto; filter: var(--logo-shadow); }
.menu .brand__logo { height: 48px; }
.brand--lg .brand__logo { height: auto; width: clamp(190px, 20vw, 250px); }
@media (max-width: 599px) { .nav .brand__logo { height: 48px; } }

/* Logo shine: a soft glint sweeps across the gold, masked to the logo's own shape */
.hero__shine {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: linear-gradient(105deg, transparent 0 38%, rgba(255, 248, 225, .75) 47%, rgba(255, 255, 255, .95) 50%, rgba(255, 248, 225, .75) 53%, transparent 62% 100%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0;
  mix-blend-mode: overlay;
  animation: shine 7s var(--ease-in-out) 1.6s infinite;
}
@keyframes shine { 0% { background-position: 130% 0; } 26%, 100% { background-position: -30% 0; } }

/* BDC watermark on every video surface */
.wm { position: absolute; z-index: 2; top: var(--wm-top, 16px); right: var(--wm-right, 16px); width: var(--wm-w, 58px); height: auto; opacity: .9; pointer-events: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .55)) drop-shadow(0 0 1px rgba(0, 0, 0, .4)); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h); transition: transform .45s var(--ease-out), background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: var(--glass); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; gap: 30px; font-size: 14.5px; font-weight: 500; }
.nav__links a { color: var(--muted); transition: color .2s; }
.nav__links a:hover, .nav__links a.is-current { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 6px; }
.nav__menu-btn { display: none; }
.theme-toggle svg { transition: transform .5s var(--ease-out), opacity .3s; }
.theme-toggle { position: relative; }
.theme-toggle svg { position: absolute; }
.theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-theme="dark"] .theme-toggle__sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(.6); }

@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: inline-grid; }
}
@media (max-width: 420px) { .nav__book { display: none; } }

.menu { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: flex; flex-direction: column; animation: menu-in .35s var(--ease-out); }
.menu__head { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.menu__links { display: grid; gap: 4px; margin-top: 4vh; }
.menu__links a { font: 400 clamp(2.6rem, 12vw, 3.6rem)/1.15 var(--font-display); padding: 6px 0; border-bottom: 1px solid var(--line); }
.menu__foot { margin-top: auto; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- 1 · Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(20px, 4vw, 56px)); text-align: center; }
.hero__copy { display: grid; justify-items: center; gap: clamp(18px, 3vw, 30px); }
.hero__text { display: grid; justify-items: center; }
.hero__logo { position: relative; width: min(80vw, 420px); }
.hero__logo img { width: 100%; height: auto; filter: var(--logo-glow); }
.js .hero__logo { opacity: 0; transform: translateY(14px) scale(.94); filter: blur(10px); transition: opacity 1.2s var(--ease-out), transform 1.5s var(--ease-out), filter 1.2s var(--ease-out); }
.is-loaded .hero__logo { opacity: 1; transform: translateY(var(--ly, 0px)); filter: none; }
.hero__title { font-size: clamp(2.9rem, 7.4vw, 6.6rem); line-height: .98; letter-spacing: -.03em; text-wrap: balance; }
@media (min-width: 960px) {
  .hero { text-align: left; }
  .hero__copy { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; justify-items: stretch; gap: clamp(32px, 5vw, 80px); }
  .hero__logo { width: 100%; max-width: 560px; justify-self: start; margin-left: -2%; }
  .hero__text { justify-items: start; }
  .hero__title { font-size: clamp(3rem, 5.2vw, 5.4rem); }
  .hero__actions, .proof { justify-content: flex-start; }
}
.hero__title em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.mask > span { display: inline-block; }
.js .mask > span { transform: translateY(108%); transition: transform 1.1s var(--ease-out); }
.js .mask:nth-child(2) > span { transition-delay: .1s; }
.is-loaded .mask > span { transform: none !important; }
.hero__sub { margin-top: 26px; max-width: 620px; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--muted); text-wrap: pretty; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.proof { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-accent); margin-right: 18px; margin-left: -8px; }
.proof__laurel { font-size: 26px; color: var(--gold); margin-block: -4px; }
@media (max-width: 519px) { .proof { gap: 6px 18px; } .proof li + li::before { display: none; } }

.hero__stage { --p: 0; margin-top: clamp(44px, 6vw, 76px); }
.hero__frame {
  position: relative; overflow: hidden; background: #0C0B0A;
  height: min(82vh, 800px); min-height: 420px;
  clip-path: inset(0 calc((100% - min(var(--maxw), 100% - 2 * var(--gutter))) / 2 * (1 - var(--p))) round calc(34px * (1 - var(--p))));
  will-change: clip-path;
}
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.06 - .06 * var(--p))); }
.hero__scrim { position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent); pointer-events: none; }
.hero__toggle { position: absolute; right: calc(20px + (100% - min(var(--maxw), 100% - 2 * var(--gutter))) / 2 * (1 - var(--p))); bottom: 20px; }
.hero__caption { position: absolute; left: calc(22px + (100% - min(var(--maxw), 100% - 2 * var(--gutter))) / 2 * (1 - var(--p))); bottom: 26px; display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 600 11px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; }
.hero__caption .dot, .bosco__reel .dot { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 4px rgba(255, 77, 77, .25); animation: pulse 2s infinite; }
.hero__wm { --wm-w: clamp(64px, 6.5vw, 96px); --wm-top: 22px; --wm-right: calc(22px + (100% - min(var(--maxw), 100% - 2 * var(--gutter))) / 2 * (1 - var(--p))); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 77, 77, 0); } }
@media (max-width: 699px) {
  .hero__frame { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
}

/* ---------- Marquee (dancers strip) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee__track { display: flex; width: max-content; align-items: center; animation: marquee var(--dur, 46s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(88px, 12vw, 160px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin-top: 18px; }
.section-head--split { max-width: none; display: grid; gap: 18px 48px; align-items: end; }
.section-head--split .lead { margin-top: 0; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.15fr .85fr; } .section-head--split .lead { justify-self: end; } }
.section-head--center { margin-inline: auto; text-align: center; }


/* ---------- 4 · Work / Apple cards ---------- */
.work { padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.work__filters { margin-bottom: 28px; }
@media (max-width: 699px) {
  .work__filters, .services__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .work__filters::-webkit-scrollbar, .services__tabs::-webkit-scrollbar { display: none; }
  .work__filters .chip, .services__tabs .chip { flex: none; }
}
.carousel { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: clamp(14px, 1.6vw, 20px); width: max-content; padding: 6px var(--edge) 10px; transition: opacity .22s var(--ease-out), transform .22s var(--ease-out); }
.carousel__track.is-swapping { opacity: 0; transform: translateY(10px) scale(.99); }
.carousel__item { scroll-snap-align: start; flex: none; width: clamp(272px, 29vw, 380px); }
.card {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-card); background: #14110e; color: #fff; text-align: left;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.card__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out), opacity .5s; }
.card__video { opacity: 0; }
.card.is-playing .card__video { opacity: 1; }
.card.is-active.no-loop .card__poster { animation: kenburns 7s var(--ease-in-out) both; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translateY(-1.5%); } }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 5, 4, .86) 0%, rgba(6, 5, 4, .35) 38%, transparent 62%); }
.card__body { position: absolute; inset: auto 0 0; padding: clamp(18px, 2vw, 26px); display: grid; gap: 6px; justify-items: start; }
.card__eyebrow { font: 600 11px/1.2 var(--font-sans); letter-spacing: .15em; text-transform: uppercase; color: rgba(255, 255, 255, .74); }
.card__title { font: 400 clamp(1.7rem, 2.4vw, 2.15rem)/1.04 var(--font-display); text-wrap: balance; }
.card__chip { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; font: 600 13px/1 var(--font-sans); background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background-color .3s; }
.card__chip svg { font-size: 12px; }
.card .wm { --wm-w: clamp(48px, 4.2vw, 60px); --wm-top: 14px; --wm-right: 16px; }
.card__credit { position: absolute; top: 16px; left: 18px; font: 500 10.5px/1 var(--font-sans); letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .card:hover .card__chip { background: rgba(255, 255, 255, .3); }
}
.carousel__controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; }
.carousel__buttons { display: flex; gap: 10px; }
.dots { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dot-pill { position: relative; width: 8px; height: 8px; border-radius: 999px; background: var(--line-strong); overflow: hidden; transition: width .5s var(--ease-out), background-color .3s; }
.dot-pill.is-active { width: 40px; }
.dot-pill i { position: absolute; inset: 0; background: var(--text); transform-origin: left; transform: scaleX(var(--fill, 0)); border-radius: inherit; }
.empty-card { display: grid; place-items: center; text-align: center; gap: 14px; padding: 32px; width: clamp(272px, 29vw, 380px); aspect-ratio: 4 / 5; border-radius: var(--radius-card); border: 1px dashed var(--line-strong); color: var(--muted); }
.empty-card .display { font-size: 1.8rem; color: var(--text); line-height: 1.1; }

/* ---------- 5 · Process ---------- */
.work { padding-bottom: clamp(56px, 7vw, 96px); }
.process { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 72px); }
.process__grid { display: grid; gap: clamp(32px, 6vw, 88px); }
@media (min-width: 900px) { .process__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.steps { --progress: 0; position: relative; padding-left: 34px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--line); }
.steps::after { background: var(--gold-grad); transform-origin: top; transform: scaleY(var(--progress)); transition: transform .2s linear; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 6px; padding: 26px 0; border-top: 1px solid var(--line); opacity: .4; transition: opacity .5s var(--ease-out); }
.step:first-child { border-top: 0; }
.step.is-active { opacity: 1; }
.step::before { content: ""; position: absolute; left: -33px; top: 36px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); transition: border-color .4s, background-color .4s; z-index: 1; }
.step.is-active::before { border-color: var(--gold-accent); background: var(--gold-accent); }
.step__num { font: 400 1.4rem/1.6 var(--font-display); color: var(--gold); }
.step__title { font: 400 clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--font-display); margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 44ch; }
@media (min-width: 900px) { .step { min-height: 34vh; align-content: start; } .step:last-child { min-height: 30vh; } }

.process__aside { position: sticky; top: calc(var(--nav-h) + 4vh); }
.process__media { position: relative; aspect-ratio: 4 / 5; width: min(100%, calc((100vh - var(--nav-h) - 10vh) * .8)); margin-inline: auto; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-lg); }
.visual { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease-out), transform 1.2s var(--ease-out); }
.visual.is-active { opacity: 1; transform: none; }
.visual > img, .visual > video { width: 100%; height: 100%; object-fit: cover; }
/* one shared watermark for the process frame (no ghosting while visuals crossfade); hidden on the chat illustration */
.process__wm { --wm-w: clamp(52px, 5vw, 68px); --wm-top: 18px; --wm-right: 18px; z-index: 3; transition: opacity .5s var(--ease-out); }
.process__media.is-chat .process__wm { opacity: 0; }
@media (max-width: 899px) {
  .process__grid { display: flex; flex-direction: column; }
  .process__aside { order: 2; top: calc(var(--nav-h) + 8px); z-index: 2; }
  .process__main { display: contents; }
  .process__main .section-head { order: 1; margin-bottom: 0; }
  .steps { order: 3; }
  .process__media { aspect-ratio: 4 / 5; height: 44vh; width: auto; max-width: 100%; }
  .step { min-height: 46vh; align-content: start; }
  .step:last-child { min-height: 30vh; }
}

/* chat illustration */
.visual--chat { background: var(--chat-bg); display: flex; }
.chat { display: flex; flex-direction: column; width: 100%; font-size: 13.5px; line-height: 1.45; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--chat-head); }
.chat__head small { display: block; color: var(--muted); font-size: 12px; }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #16130F; overflow: hidden; }
.chat__avatar img { width: 30px; height: auto; }
.chat__body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 18px; background-image: radial-gradient(color-mix(in srgb, var(--text) 6%, transparent) 1px, transparent 1px); background-size: 18px 18px; }
.bubble { position: relative; max-width: 84%; padding: 9px 12px 20px; border-radius: 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.bubble--out { align-self: flex-end; background: var(--chat-out); border-top-right-radius: 4px; }
.bubble--in { align-self: flex-start; background: var(--chat-in); border-top-left-radius: 4px; }
.bubble__time { position: absolute; right: 10px; bottom: 5px; font-size: 10.5px; color: var(--muted); }
.visual--chat .bubble { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.visual--chat.is-active .bubble--out { opacity: 1; transform: none; transition-delay: .25s; }
.visual--chat.is-active .bubble--in { opacity: 1; transform: none; transition-delay: 1.1s; }

/* ---------- 6 · Bosco ---------- */
.bosco__grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .bosco__grid { grid-template-columns: .9fr 1.1fr; } }
.bosco__portrait { position: relative; isolation: isolate; }
.bosco__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-card); box-shadow: var(--shadow-lg); }
.bosco__portrait figcaption { margin-top: 12px; font-size: 12.5px; color: var(--muted); max-width: 52%; }

/* "Bosco at work" video card overlapping the portrait */
.bosco__reel { position: absolute; z-index: 1; right: clamp(-34px, -3.5vw, -10px); bottom: -6%; width: 44%; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; border-radius: 22px; background: #111; color: #fff; text-align: left; border: 6px solid var(--bg); box-shadow: var(--shadow-lg); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.bosco__reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bosco__reel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .1) 48%, transparent 70%); }
.bosco__reel .wm { --wm-w: 40px; --wm-top: 10px; --wm-right: 10px; }
.bosco__reel-tag { position: absolute; left: 12px; right: 12px; bottom: 44px; display: flex; align-items: center; gap: 8px; font: 600 9.5px/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.bosco__reel .dot { flex: none; width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(255, 77, 77, .25); }
.bosco__reel-cta { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; font: 400 1.15rem/1 var(--font-display); }
.bosco__reel-cta svg { width: 24px; height: 24px; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (hover: hover) { .bosco__reel:hover { transform: translateY(-6px) rotate(-1.2deg); } }
@media (max-width: 899px) { .bosco__portrait { margin-bottom: clamp(56px, 13vw, 88px); } }
@media (max-width: 599px) { .bosco__reel { width: 50%; border-width: 5px; border-radius: 18px; } .bosco__reel-cta { font-size: 1rem; } }
.bosco__twenty { position: absolute; z-index: -1; top: -14%; left: -14%; display: flex; align-items: flex-start; gap: clamp(10px, 1.4vw, 18px); pointer-events: none; transform: translateY(var(--py, 0)); }
.bosco__twenty-num { font-size: clamp(11rem, 26vw, 23rem); line-height: .8; letter-spacing: -.04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .16; }
.bosco__twenty-label { margin-top: clamp(16px, 2.4vw, 34px); font: 400 clamp(1.7rem, 3vw, 2.9rem)/1 var(--font-display); letter-spacing: -.01em; color: var(--gold); white-space: nowrap; }
.bosco__role { margin-top: 10px; font-weight: 500; color: var(--muted); }
.prose { margin-top: 26px; display: grid; gap: 16px; max-width: 58ch; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.prose strong { color: var(--text); font-weight: 600; }
.bosco__links { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }

.stats { margin-top: clamp(110px, 12vw, 160px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; gap: 4px; padding: 30px 20px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dd { font: 400 clamp(3rem, 6.4vw, 5.4rem)/1 var(--font-display); letter-spacing: -.03em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat dt { font-size: 13.5px; color: var(--muted); }
.stat { position: relative; }
.stat__logo { position: absolute; top: 28px; right: 16px; width: clamp(38px, 3.6vw, 54px); height: auto; filter: var(--logo-shadow); opacity: .95; }
@media (max-width: 759px) { .stat__logo { top: 30px; right: 10px; width: 36px; } }
@media (max-width: 759px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 28px; }
}

.troupe { margin-top: clamp(64px, 8vw, 110px); }
.troupe__label { font-size: 13.5px; color: var(--muted); font-weight: 500; margin-bottom: 20px; }
.marquee--photos .marquee__track { gap: 14px; --dur: 70s; }
.marquee--photos li { flex: none; }
.marquee--photos img { height: clamp(180px, 22vw, 260px); width: auto; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; border-radius: 18px; }

/* ---------- Bosco's vision (YouTube loop) ---------- */
.vision { padding-top: clamp(40px, 6vw, 80px); }
.vision__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; border-radius: var(--radius-card); background: #0C0B0A; box-shadow: var(--shadow-lg); }
.vision__player { position: absolute; inset: 0; z-index: 0; }
.vision__player video { width: 100%; height: 100%; object-fit: cover; }
.vision__placeholder { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; background: radial-gradient(55% 60% at 50% 50%, #2b2114 0%, #0C0B0A 75%); transition: opacity .9s var(--ease-out); pointer-events: none; }
.vision__placeholder img { width: clamp(90px, 11vw, 150px); height: auto; opacity: .9; animation: breathe 2.6s var(--ease-in-out) infinite; }
@keyframes breathe { 50% { opacity: .55; transform: scale(.97); } }
.vision__frame.is-playing .vision__placeholder { opacity: 0; }
.vision__hit { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.vision__hit::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(to top, rgba(0, 0, 0, .5), transparent); }
.vision__frame .wm { --wm-w: clamp(56px, 6vw, 86px); --wm-top: 20px; --wm-right: 20px; z-index: 3; }
.vision__sound { position: absolute; z-index: 3; right: 20px; bottom: 18px; }
.vision__sound .i-vol-on, .vision__sound[data-muted="false"] .i-vol-off { display: none; }
.vision__sound[data-muted="false"] .i-vol-on { display: block; }
.vision__foot { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 24px; }
@media (max-width: 599px) { .vision__sound { right: 12px; bottom: 10px; } .vision__frame .wm { --wm-top: 12px; --wm-right: 12px; } }

/* ---------- Some of our best work (coverflow) ---------- */
.showcase { padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.showcase__stage { --sw: min(940px, 74vw); position: relative; height: calc(var(--sw) * 9 / 16); touch-action: pan-y; user-select: none; }
.showcase__track { position: absolute; inset: 0; }
.slide { position: absolute; top: 0; left: 50%; width: var(--sw); margin-left: calc(var(--sw) / -2); aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; border-radius: var(--radius-card); background: #0C0B0A; box-shadow: var(--shadow-lg); transition: transform .85s var(--ease-out), opacity .85s var(--ease-out); will-change: transform; }
.slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.slide__shade { position: absolute; inset: 0; z-index: -1; background: rgba(12, 11, 10, .5); transition: opacity .85s var(--ease-out); }
.slide.is-active .slide__shade { opacity: 0; }
.slide__chip { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 15px 0 13px; border-radius: 999px; color: #fff; font: 600 13px/1 var(--font-sans); background: rgba(20, 16, 12, .38); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.slide__chip svg { font-size: 12px; }
.slide.is-active .slide__chip { opacity: 1; transform: none; transition-delay: .35s; }
@media (hover: hover) { .slide.is-active:hover .slide__chip { background: rgba(20, 16, 12, .6); } }
.showcase__bar { margin-top: clamp(22px, 3vw, 32px); display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 18px 32px; }
.showcase__caption { display: grid; gap: 6px; max-width: 640px; animation: rise .5s var(--ease-out); }
.showcase__caption .eyebrow { margin-bottom: 0; }
.showcase__title { font: 400 clamp(1.7rem, 2.6vw, 2.3rem)/1.05 var(--font-display); }
.showcase__credits { font-size: 13.5px; color: var(--muted); }
.showcase__actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.showcase__nav { display: flex; align-items: center; gap: 10px; }
.showcase__nav .dots { margin-right: 8px; }
@media (max-width: 699px) {
  .showcase__stage { --sw: 86vw; }
  .slide { border-radius: 20px; }
  .slide__chip { left: 12px; bottom: 12px; height: 32px; font-size: 12px; }
}

/* ---------- 7 · Awards ---------- */
.awards { background: var(--surface-2); }
:root[data-theme="dark"] .awards { background: #100F0D; }
.awards__grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .awards__grid { grid-template-columns: 1fr 1.15fr 1fr; align-items: stretch; } }
.award { display: grid; align-content: center; justify-items: center; text-align: center; gap: 10px; padding: clamp(32px, 4vw, 48px) 28px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.award__laurel { font-size: 60px; color: var(--gold-accent); margin-bottom: 6px; }
.award__laurel .draw, .award .draw { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.6s var(--ease-out) .2s; }
.award.in .draw { stroke-dashoffset: 0; }
.award__level { font: 600 12px/1 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.award__title { font: 400 clamp(1.6rem, 2.3vw, 2rem)/1.1 var(--font-display); text-wrap: balance; }
.award__cat { color: var(--muted); font-size: 14.5px; max-width: 30ch; }
.award__meta { margin-top: 10px; font-size: 12.5px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.award--gold { background: radial-gradient(120% 90% at 50% 0%, #3a2c14 0%, #16130F 60%); color: #F4EFE7; border-color: rgba(217, 174, 85, .28); }
.award--gold .award__laurel, .award--gold .award__level { color: #D9AE55; }
.award--gold .award__cat, .award--gold .award__meta { color: rgba(244, 239, 231, .7); }
.award--gold .award__meta { border-color: rgba(244, 239, 231, .14); }
.award--photo { padding: 0; overflow: hidden; align-content: start; }
.award--photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 28%; }
.award--photo .award__body { display: grid; gap: 10px; justify-items: center; padding: 26px 24px 32px; }

/* ---------- 8 · Services ---------- */
.services__tabs { margin-bottom: 24px; }
.bento { display: grid; gap: 16px; transition: opacity .25s var(--ease-out); }
.bento.is-swapping { opacity: 0; }
.bento--4 { grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(3, auto); }
.bento--4 .svc--feature { grid-row: span 3; }
.bento--2 { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 759px) { .bento--4, .bento--2 { grid-template-columns: 1fr; } .bento--4 .svc--feature { grid-row: auto; } }
.svc { position: relative; display: grid; align-content: start; gap: 8px; padding: 26px 26px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .3s, transform .5s var(--ease-out); animation: rise .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.svc:hover { border-color: color-mix(in srgb, var(--gold-accent) 55%, transparent); }
.svc__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold); margin-bottom: 8px; }
.svc__icon svg { font-size: 20px; }
.svc__title { font: 400 clamp(1.45rem, 2vw, 1.75rem)/1.1 var(--font-display); }
.svc__line { color: var(--muted); font-size: 15px; max-width: 42ch; }
.svc__cta { margin-top: 8px; justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--gold); }
.svc__cta svg { transition: transform .3s var(--ease-out); }
.svc__cta:hover svg { transform: translateX(3px); }
.svc--feature { min-height: 420px; align-content: end; color: #fff; overflow: hidden; isolation: isolate; border: 0; background: #14110e; }
.svc--feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.svc--feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 5, 4, .88), rgba(6, 5, 4, .2) 60%, transparent); }
.svc--feature .svc__line { color: rgba(255, 255, 255, .8); }
.svc--feature .svc__cta { color: #F1D58F; }
.svc--feature .svc__icon { background: rgba(255, 255, 255, .14); color: #F1D58F; backdrop-filter: blur(10px); }
.svc--feature:hover img { transform: scale(1.04); }
.svc--feature .svc__title { font-size: clamp(2rem, 3vw, 2.6rem); }

/* ---------- 10 · FAQ ---------- */
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: .8fr 1.2fr; align-items: start; } .faq__grid .section-head { position: sticky; top: calc(var(--nav-h) + 40px); } }
.faq .section-head .btn { margin-top: 26px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font: 500 clamp(1.05rem, 1.5vw, 1.2rem)/1.35 var(--font-sans); }
.qa__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: transform .4s var(--ease-out), background-color .3s, color .3s; }
.qa__icon svg { font-size: 16px; }
.qa.is-open .qa__icon { transform: rotate(45deg); background: var(--text); color: var(--bg); border-color: var(--text); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { color: var(--muted); max-width: 60ch; padding-right: 48px; }
.qa__a .text-link { margin: 14px 0 26px; font-size: 14px; }

/* ---------- 11 · CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; margin: 0 auto; width: min(1440px, 100% - 2 * clamp(10px, 2vw, 28px)); border-radius: clamp(24px, 3vw, 40px); background: #0C0B0A; color: #F4EFE7; text-align: center; padding: clamp(100px, 14vw, 190px) 0; }
.cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; z-index: -2; filter: saturate(1.1); }
.cta__scrim { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(12, 11, 10, .35), rgba(12, 11, 10, .9)); }
.cta__inner { display: grid; justify-items: center; gap: 22px; }
.cta__logo { position: relative; display: block; width: clamp(120px, 13vw, 170px); margin-bottom: 4px; animation: float 6s var(--ease-in-out) infinite; }
.cta__logo img { width: 100%; height: auto; filter: drop-shadow(0 0 40px rgba(217, 174, 85, .35)); }
@keyframes float { 50% { transform: translateY(-8px); } }
.cta .h2 { max-width: 16ch; font-size: clamp(2.5rem, 6vw, 5rem); }
.cta .h2 em { background: linear-gradient(100deg, #F1D58F, #D9AE55 45%, #B8892E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta .lead { color: rgba(244, 239, 231, .72); }
.cta .btn { margin-top: 10px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1.05fr .95fr; align-items: center; } }
.contact__map { display: grid; gap: 14px; }
.contact__map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-card); background: var(--surface-2); filter: var(--map-filter); }
.contact__pin { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14.5px; color: var(--muted); }
.contact__pin > svg { font-size: 18px; color: var(--gold); }
.contact__pin .text-link { margin-left: auto; font-size: 14px; }
.contact__list { display: grid; gap: 10px; }
.contact-row { width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; transition: transform .4s var(--ease-out), border-color .3s; }
.contact-row:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.contact-row small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.contact-row > span:nth-child(2) { flex: 1; font-weight: 600; font-size: 1.05rem; word-break: break-word; }
.contact-row__icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold); }
.contact-row__icon svg { font-size: 21px; }
.contact-row__icon--wa { background: #25D366; color: #06210F; }
.contact-row__go { color: var(--muted); font-size: 18px; transition: transform .3s var(--ease-out); }
.contact-row:hover .contact-row__go { transform: translateX(3px); color: var(--text); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 28px; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr .8fr; align-items: start; } }
.footer__tagline { margin-top: 16px; font-size: 1.4rem; color: var(--muted); }
.footer__links { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 40px; font-weight: 500; }
.footer__links a { color: var(--muted); transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__also small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 8px; }
.footer__base { margin-top: clamp(48px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--muted); }
.footer__base a { color: var(--text); font-weight: 600; }
@media (max-width: 767px) { .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .footer__base { padding-right: 84px; } }

/* ---------- Floating WhatsApp + mobile bar ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: flex; align-items: center; gap: 12px; transition: opacity .3s, transform .4s var(--ease-out); }
.fab.is-hidden { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }
.fab__btn { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(18, 140, 74, .55), inset 0 0 0 1px rgba(0, 0, 0, .06); transition: transform .3s var(--spring); }
.fab__btn:hover { transform: scale(1.07); }
.fab__btn svg { font-size: 28px; }
.fab__tip { background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: 13.5px; white-space: nowrap; opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.fab__tip.is-shown { opacity: 1; transform: none; }
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .fab { display: none; }
  .mobile-bar { display: block; position: fixed; inset: auto 0 0; z-index: 55; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--glass); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease-out); }
  .mobile-bar.is-visible { transform: none; }
}

/* ---------- Film player ---------- */
.film { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #060504; color: #fff; overflow: hidden; }
.film::backdrop { background: transparent; }
.film[open] { display: flex; flex-direction: column; animation: fade-in .35s var(--ease-out); }
@keyframes fade-in { from { opacity: 0; } }
.film__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 72px clamp(12px, 3vw, 40px) 12px; }
.film__frame { position: relative; height: 100%; max-width: 100%; aspect-ratio: var(--ar, 16 / 9); border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9); animation: film-in .5s var(--ease-out); }
.film__frame.is-wide { height: auto; width: min(100%, (100dvh - 200px) * 16 / 9); }
@keyframes film-in { from { opacity: 0; transform: scale(.96); } }
.film__frame iframe, .film__frame video { width: 100%; height: 100%; border: 0; background: #000; }
.film__frame .wm { --wm-w: clamp(54px, 5vw, 76px); --wm-top: 16px; right: auto; left: 16px; }
.film__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 18px clamp(16px, 3vw, 40px) calc(22px + env(safe-area-inset-bottom)); }
.film__meta .eyebrow { margin-bottom: 6px; }
.film__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.05; }
.film__actions { display: flex; align-items: center; gap: 10px; }
.film__close { position: absolute; top: 18px; right: 18px; }
@media (max-width: 599px) { .film__actions .btn { flex: 1; } .film__actions { width: 100%; } }

/* ---------- Enquiry sheet ---------- */
.sheet { width: min(560px, 100% - 32px); max-height: min(780px, 100dvh - 40px); padding: 0; border: 0; border-radius: 28px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); overflow: hidden; }
.sheet::backdrop { background: rgba(10, 8, 6, .48); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] { display: flex; animation: sheet-in .4s var(--ease-out); }
.sheet[open]::backdrop { animation: fade-in .3s var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.sheet__panel { display: flex; flex-direction: column; width: 100%; max-height: inherit; }
.sheet__head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 22px 14px 26px; }
.sheet__handle { display: none; }
.sheet__title { font-size: 2rem; line-height: 1; }
.sheet__dots { display: flex; gap: 6px; margin-top: 12px; }
.sheet__dots li { width: 22px; height: 4px; border-radius: 4px; background: var(--line-strong); transition: background-color .3s, width .4s var(--ease-out); }
.sheet__dots li.is-on { background: var(--text); width: 34px; }
.sheet__body { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 26px 20px; overscroll-behavior: contain; }
.sheet__step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; animation: rise .4s var(--ease-out); }
.sheet__q { font: 600 1.15rem/1.3 var(--font-sans); padding: 0 0 4px; }
.sheet__hint { margin-top: 0; font-size: 13.5px; color: var(--muted); }
.sheet__title:focus, .film__title:focus { outline: none; }
.sheet__error { color: #C0392B; font-size: 13.5px; font-weight: 500; }
:root[data-theme="dark"] .sheet__error { color: #FF8A7A; }
.look-group { display: grid; gap: 10px; }
.look-group + .look-group { margin-top: 18px; }
.look-group__title { font: 600 11px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field { display: grid; gap: 8px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font-size: 16px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.input:focus { outline: none; border-color: var(--gold-accent); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold-accent) 18%, transparent); }
.input:disabled { opacity: .45; }
textarea.input { resize: vertical; min-height: 72px; line-height: 1.45; }
.chips--quick { margin-top: -8px; }
.stepper { display: inline-flex; align-items: center; height: 48px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface-2); width: max-content; }
.stepper button { width: 44px; height: 100%; font-size: 20px; color: var(--text); border-radius: 14px; }
.stepper button:hover { background: color-mix(in srgb, var(--text) 6%, transparent); }
.stepper output { min-width: 30px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.toggle { display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; cursor: pointer; width: max-content; max-width: 100%; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__ui { position: relative; flex: none; width: 42px; height: 26px; border-radius: 999px; background: var(--line-strong); transition: background-color .25s; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--spring); }
.toggle input:checked + .toggle__ui { background: var(--gold-accent); }
.toggle input:checked + .toggle__ui::after { transform: translateX(16px); }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--gold-accent); outline-offset: 2px; }
.more { border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.more summary { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 14px 16px; font-weight: 600; cursor: pointer; border-radius: 18px; }
.more summary::-webkit-details-marker { display: none; }
.more summary svg { font-size: 18px; color: var(--gold); transition: transform .35s var(--ease-out); }
.more[open] summary svg { transform: rotate(45deg); }
.more summary small { color: var(--muted); font-weight: 400; font-size: 13px; }
.more__inner { display: grid; gap: 14px; padding: 4px 16px 18px; }
.more__title { font: 600 11px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
.inspired { display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 18px; border-radius: 16px; background: var(--surface-2); }
.inspired img { width: 46px; height: 56px; object-fit: cover; border-radius: 10px; }
.inspired p { flex: 1; line-height: 1.25; }
.inspired small { display: block; color: var(--muted); font-size: 12px; }
.sheet__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.sheet__foot [data-sheet-back] { margin-right: auto; }
.sheet__fine { flex-basis: 100%; text-align: right; font-size: 12px; color: var(--muted); }
.sheet__done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 30px 6px 12px; animation: rise .5s var(--ease-out); }
.sheet__done h3 { font-size: 2.2rem; line-height: 1; }
.sheet__done p { color: var(--muted); max-width: 40ch; }
.sheet__done .sheet__hint { margin-top: 0; }
.sheet__done .sheet__hint a { color: var(--text); font-weight: 600; text-decoration: underline; }
.sheet__done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #06210F; animation: pop .5s var(--spring); }
.sheet__done-icon svg { font-size: 30px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

@media (max-width: 639px) {
  .sheet { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 92dvh; border-radius: 26px 26px 0 0; }
  .sheet[open] { animation: sheet-up .45s var(--ease-out); }
  @keyframes sheet-up { from { transform: translateY(100%); } }
  .sheet__handle { display: block; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 5px; background: var(--line-strong); }
  .sheet__head { padding-top: 26px; }
  .field-row { grid-template-columns: 1fr; }
  .sheet__foot .btn--wa { flex: 1; }
  .sheet__fine { text-align: center; }
}

/* ---------- Theme switch (View Transitions) ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .mask > span { transform: none; }
  .hero__frame { clip-path: inset(0 calc((100% - min(var(--maxw), 100% - 2 * var(--gutter))) / 2) round 34px); }
  .hero__video { transform: none; }
}

/* =========================================================
   Mobile & touch polish
   ========================================================= */
button, a, label, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Bigger invisible tap areas for small links, without changing how they look */
.text-link, .svc__cta, .footer__links a, .footer__base a, .nav__links a { position: relative; }
.text-link::after, .svc__cta::after, .footer__links a::after, .footer__base a::after { content: ""; position: absolute; inset: -12px -8px; }

/* Enquiry form: no horizontal overflow, error and toggles behave on small screens */
.sheet__step, .more__inner { grid-template-columns: minmax(0, 1fr); }
.toggle { width: auto; justify-self: start; min-height: 32px; }
.sheet__error { scroll-margin: 16px; }
.btn.is-nudge { animation: nudge .4s var(--ease-out); }
@keyframes nudge { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* Film player: the "turn your phone" hint (portrait phones, landscape films only) */
.film__hint { display: none; margin: -2px auto 0; padding: 0 16px; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.film__hint svg { display: inline-block; vertical-align: -3px; margin-right: 6px; font-size: 16px; }
.film__close { top: calc(14px + env(safe-area-inset-top)); right: calc(14px + env(safe-area-inset-right)); z-index: 2; }

/* Touch devices: comfortable 44px targets */
@media (pointer: coarse) {
  .btn--sm { --h: 44px; }
  .icon-btn { width: 44px; height: 44px; }
  .chips--sm .chip, .chip { min-height: 42px; }
  .toggle { min-height: 44px; }
  .sheet__skip { min-height: 44px; padding: 0 14px; }
  .stepper { height: 50px; }
  .stepper button { width: 48px; }
}

/* Phones (portrait) */
@media (max-width: 599px) {
  .qa__a p { padding-right: 0; }
  .film[open].is-wide-film .film__hint { display: block; }
  .film__stage { padding-top: calc(66px + env(safe-area-inset-top)); }
  .svc--feature { min-height: 340px; }
}

/* Phones turned sideways (short screens): use the full height */
@media (max-height: 520px) and (orientation: landscape) {
  .film[open] { flex-direction: row; }
  .film__stage { padding: 10px; min-width: 0; }
  .film__frame { border-radius: 12px; }
  .film__frame.is-wide { height: auto; width: min(100%, calc((100dvh - 20px) * 16 / 9)); }
  .film__bar { flex: 0 0 clamp(170px, 24vw, 220px); width: clamp(170px, 24vw, 220px); min-width: 0; flex-direction: column; align-items: stretch; justify-content: center; flex-wrap: nowrap; gap: 12px; padding: calc(60px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) 4px; }
  .film__meta { min-width: 0; }
  .film__meta .eyebrow { font-size: 10.5px; line-height: 1.4; }
  .film__title { font-size: 1.25rem; }
  .film__actions { flex-wrap: wrap; width: auto; }
  .film__actions .btn { flex: 1 1 100%; white-space: normal; height: auto; min-height: 44px; padding: 10px 14px; line-height: 1.25; text-align: center; }
  .film__hint { display: none !important; }
  .sheet { max-height: calc(100dvh - 16px); }
  .sheet__head { padding: 12px 18px 8px 22px; }
  .sheet__title { font-size: 1.5rem; }
  .sheet__dots { margin-top: 6px; }
  .sheet__body { padding-top: 2px; }
  .sheet__foot { padding: 8px 18px calc(8px + env(safe-area-inset-bottom)); }
  .sheet__fine { display: none !important; }
  .sheet__handle { display: none; }
  .menu__links a { font-size: 1.9rem; padding: 2px 0; }
  .menu__links { margin-top: 0; }
}

/* ---------- Partners: a slim marquee of names (logos can join later) ---------- */
.partners { padding-block: clamp(36px, 5vw, 64px) clamp(16px, 3vw, 40px); }
.partners__title { text-align: center; margin: 0 0 clamp(18px, 2.4vw, 28px); }
.marquee--names { border-block: 1px solid var(--line); }
.marquee--names .marquee__track { --dur: 80s; }
.marquee--names li { flex: none; display: flex; align-items: center; gap: clamp(26px, 4vw, 52px); padding: clamp(18px, 2.4vw, 26px) clamp(26px, 4vw, 52px) clamp(18px, 2.4vw, 26px) 0; font: 400 clamp(1.6rem, 3.2vw, 2.6rem)/1 var(--font-display); letter-spacing: -.01em; color: var(--text); white-space: nowrap; }
.marquee--names li::after { content: ""; flex: none; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-accent); opacity: .85; }
