/* =========================================================
   Mix Las Vegas — styles
   Palette pulled from the primary logo:
   brass #C4A468  ·  charcoal #2C2C2C
   ========================================================= */

:root {
  --brass: #c4a468;
  --brass-light: #dcc28f;
  --brass-dark: #9c7f48;
  --charcoal: #2c2c2c;
  --bg: #222222;
  --bg-deep: #1a1a1a;
  --surface: #2c2c2c;
  --line: rgba(196, 164, 104, 0.22);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-mute: rgba(255, 255, 255, 0.5);

  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display-weight: 765; /* 15% lighter than Black (900) */
  --headline-shadow: 0 2px 4px rgba(0,0,0,.55), 0 6px 24px rgba(0,0,0,.45);
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --radius: 6px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brass); text-decoration: none; }
a:hover { color: var(--brass-light); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
figure { margin: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--brass); color: #111; padding: 8px 14px; border-radius: 4px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 18px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  text-shadow: var(--headline-shadow);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--brass);
  margin: 0;
  text-wrap: balance;
}
.section-sub { color: var(--text-soft); margin: 16px 0 0; max-width: 52ch; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 30px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 2px; border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn--brass { background: var(--brass); color: #1a1a1a; }
.btn--brass:hover { background: var(--brass-light); color: #1a1a1a; transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--text); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(26,26,26,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.nav__inner { height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 40px; }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 34px; margin-left: auto; }
.nav__links a { color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover { color: var(--brass); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 clamp(36px, 6vh, 72px);
  background:
    radial-gradient(70% 60% at 75% 40%, rgba(196,164,104,.10), transparent 70%),
    linear-gradient(180deg, #1c1c1c, var(--bg));
  overflow: hidden;
  isolation: isolate;
}
.hero__slides { position: absolute; top: 0; bottom: 0; right: 0; width: min(54vw, 860px); z-index: -1; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  transform: scale(1.06); transition: transform 7s linear;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(0deg, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(0deg, transparent 0%, #000 30%);
}
.hero__slide.is-active img { transform: scale(1); }
.hero__name {
  position: absolute; right: var(--gutter); bottom: clamp(130px, 22vh, 220px);
  font-family: var(--font-display); font-weight: var(--display-weight); text-transform: uppercase;
  font-size: clamp(40px, 5.4vw, 92px); line-height: .9; letter-spacing: -.02em; text-align: right;
  color: var(--brass);
  text-shadow: 0 2px 2px rgba(0,0,0,.7), 0 4px 14px rgba(0,0,0,.75), 0 10px 48px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease) .25s, transform .9s var(--ease) .25s;
}
.hero__slide.is-active .hero__name { opacity: 1; transform: none; }

.hero__content { position: relative; }
.hero__title {
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: clamp(40px, 5.6vw, 84px); line-height: .98; letter-spacing: -0.025em;
  color: var(--brass); margin: 0; max-width: 13ch; text-wrap: balance;
  text-shadow: var(--headline-shadow);
}
.hero__lede { max-width: 46ch; color: var(--text-soft); font-size: clamp(16px, 1.4vw, 19px); margin: 24px 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__controls { display: flex; align-items: center; gap: 18px; margin-top: clamp(40px, 8vh, 88px); max-width: 760px; }
.hero__arrow { width: 44px; height: 44px; flex: none; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: grid; place-items: center; font-size: 18px; transition: border-color .25s, color .25s; }
.hero__arrow:hover { border-color: var(--brass); color: var(--brass); }
.hero__progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; flex: 1; }
.hero__progress button { display: block; width: 100%; text-align: left; }
.hero__progress .bar { display: block; height: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.hero__progress .bar i { display: block; height: 100%; width: 0; background: var(--brass); }
.hero__progress button[aria-current="true"] .bar i { animation: progress var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero__progress button[aria-current="true"] .bar i { animation-play-state: paused; }
.hero__progress .lbl { display: block; padding-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); transition: color .3s; }
.hero__progress .lbl em { display: block; font-style: normal; font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: 12px; color: var(--text-mute); opacity: .8; }
.hero__progress button[aria-current="true"] .lbl,
.hero__progress button:hover .lbl { color: var(--text); }
.hero__progress button[aria-current="true"] .lbl em { color: var(--brass); opacity: 1; }
@keyframes progress { from { width: 0; } to { width: 100%; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-deep); padding: 22px 0; display: flex; align-items: center; overflow: hidden; }
.marquee__label { flex: none; margin: 0; padding: 0 28px 0 var(--gutter); font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--text-mute); white-space: nowrap; position: relative; z-index: 1; background: var(--bg-deep); box-shadow: 24px 0 24px var(--bg-deep); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee__list li { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 24px); text-transform: uppercase; letter-spacing: -.005em; font-weight: 600; color: var(--brass); white-space: nowrap; padding: 0 28px; position: relative; }
.marquee__list li::after { content: "\2022"; position: absolute; right: -4px; color: rgba(196,164,104,.4); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro__copy > p:not(.eyebrow) { color: var(--text-soft); margin: 28px 0 0; max-width: 56ch; }
.services { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.services li { border: 1px solid var(--line); padding: 8px 16px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.stats div { margin: 0; }
.stats dt { font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 40px); font-weight: var(--display-weight); color: var(--brass); line-height: 1; letter-spacing: -.02em; text-shadow: var(--headline-shadow); }
.stats dd { margin: 8px 0 0; font-size: 13px; color: var(--text-mute); line-height: 1.4; }
.intro__media { position: relative; }
.intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.intro__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line); border-radius: var(--radius); z-index: -1; }

/* ---------- Horizontal rows (reference-style card rails) ---------- */
.row {
  display: grid; grid-auto-flow: column; gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 12px;
  scrollbar-width: none;
}
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.row-arrows { display: flex; gap: 10px; flex: none; }
.row-arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; font-size: 18px; transition: border-color .25s, color .25s, opacity .25s; }
.row-arrows button:hover:not(:disabled) { border-color: var(--brass); color: var(--brass); }
.row-arrows button:disabled { opacity: .3; cursor: default; }

/* ---------- Engineer cards ---------- */
.engineers { background: linear-gradient(180deg, var(--bg), var(--bg-deep)); }
#engineer-row { grid-auto-columns: minmax(280px, calc((min(100vw, var(--maxw)) - 2 * var(--gutter) - 54px) / 4)); }
.card-eng {
  position: relative; display: block; text-align: left;
  aspect-ratio: 9 / 15; border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
}
.card-eng img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .8s var(--ease), filter .5s; }
.card-eng::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(15,15,15,.92) 88%); transition: opacity .4s; }
.card-eng:hover img { transform: scale(1.05); }
.card-eng__badge { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--brass); color: #1a1a1a; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; padding: 6px 10px; border-radius: 2px; display: inline-flex; align-items: center; gap: 6px; }
.card-eng .grammy-icon { position: static; inset: auto; display: block; width: 15px; height: 19px; flex: none; margin: -4px 0; object-fit: contain; transform: none; transition: none; }
.card-eng__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px 22px 22px; display: block; }
.card-eng__name { display: block; font-family: var(--font-display); font-weight: var(--display-weight); text-transform: uppercase; color: var(--brass); font-size: clamp(24px, 2.1vw, 32px); line-height: .95; letter-spacing: -.015em; text-shadow: 0 2px 2px rgba(0,0,0,.7), 0 4px 18px rgba(0,0,0,.7); }
.card-eng__role { display: block; margin-top: 10px; font-size: 13px; color: var(--text-soft); }
.card-eng__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--brass); padding-bottom: 4px; transition: gap .3s var(--ease), color .3s; }
.card-eng:hover .card-eng__more { gap: 14px; color: var(--brass); }

/* ---------- Credit cards (Muso) ---------- */
.credits { background: var(--bg-deep); }
.row--credits { grid-auto-columns: clamp(200px, 19vw, 250px); min-height: 330px; }
.card-credit { display: block; color: var(--text); }
.card-credit__art { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.card-credit__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-credit__art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); pointer-events: none; }
.card-credit:hover .card-credit__art img { transform: scale(1.05); }
.card-credit__title { margin: 14px 0 2px; font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-credit__artist { margin: 0; font-size: 14px; color: var(--brass); }
.card-credit__meta { margin: 6px 0 0; font-size: 12px; color: var(--text-mute); letter-spacing: .04em; }
.card-credit.is-skeleton { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(100deg, var(--surface) 30%, #363636 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.credits__fallback { color: var(--text-soft); margin: 8px 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid var(--brass); padding-bottom: 6px; transition: gap .3s var(--ease); }
.link-arrow:hover { gap: 16px; }

/* ---------- Studio gallery ---------- */
.row--gallery { grid-auto-columns: clamp(240px, 26vw, 380px); }
.card-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 2 / 3; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-photo:hover img { transform: scale(1.04); }
.card-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }

/* ---------- Book ---------- */
.book { background: radial-gradient(60% 50% at 50% 0%, rgba(196,164,104,.12), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.book__inner { max-width: 1040px; }
.book__head { text-align: center; margin: 0 auto 48px; max-width: 640px; }
.book__head > p:not(.eyebrow) { color: var(--text-soft); margin: 20px auto 0; }
.book__widget { background: var(--surface); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px var(--line); min-height: 640px; }
.book__widget iframe { display: block; width: 100%; border: 0; }
.book__alt { text-align: center; color: var(--text-mute); font-size: 14px; margin: 22px 0 0; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 80px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 220px; }
.footer h3 { font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); margin: 0 0 16px; }
.footer__ig-head { display: flex; align-items: center; gap: 8px; }
.ig-icon { width: 16px; height: 16px; flex: none; stroke-width: 2; }
.footer address { font-style: normal; }
.footer address a, .footer p a { color: var(--text); }
.footer address a:hover, .footer p a:hover { color: var(--brass); }
.footer p { margin: 0 0 18px; }
.footer__note { color: var(--text-mute); font-size: 14px; }
.footer__social { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__social a { color: var(--text); }
.footer__social a:hover { color: var(--brass); }
.footer__social span { color: var(--text-mute); font-size: 13px; margin-left: 6px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); color: var(--text-mute); font-size: 13px; }
.footer__base p { margin: 0; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }

/* ---------- Bio dialog ---------- */
.bio-dialog {
  width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  padding: 0; border: 1px solid var(--line); border-radius: 8px;
  background: var(--charcoal); color: var(--text);
  overflow: hidden;
}
.bio-dialog[open] { animation: dialogIn .45s var(--ease); }
.bio-dialog::backdrop { background: rgba(10,10,10,.78); backdrop-filter: blur(6px); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.bio-dialog__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(20,20,20,.7); display: grid; place-items: center; font-size: 20px; }
.bio-dialog__close:hover { color: var(--brass); }
.bio { display: grid; grid-template-columns: .85fr 1.15fr; max-height: inherit; }
.bio[hidden] { display: none; }
.bio__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; min-height: 100%; }
.bio__body { padding: clamp(32px, 5vw, 64px); overflow-y: auto; max-height: calc(100vh - 50px); max-height: calc(100dvh - 50px); }
.bio__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(32px, 3.6vw, 50px); line-height: 1; letter-spacing: -.025em; color: var(--brass); margin: 0 0 24px; text-shadow: var(--headline-shadow); }
.bio__body > p:not(.eyebrow) { color: var(--text-soft); margin: 0 0 16px; }
.bio__body em { color: var(--text); }
.bio__chips { list-style: none; padding: 0; margin: 26px 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.bio__chips li { border: 1px solid var(--line); padding: 6px 12px; font-size: 13px; color: var(--brass-light); border-radius: 2px; }
.bio__actions { display: flex; flex-wrap: wrap; gap: 12px; }
body.has-dialog { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__logo img { height: 32px; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; margin: 0;
    flex-direction: column; gap: 0; padding: 12px var(--gutter) 28px;
    background: rgba(26,26,26,.98); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { background: rgba(26,26,26,.98); }
  .nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.01em; text-transform: none; color: var(--brass); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav__links a::after { display: none; }

  .hero { display: block; min-height: 0; padding: var(--nav-h) 0 40px; }
  .hero__slides { position: relative; width: 100%; height: 44vh; height: 44svh; min-height: 300px; z-index: 0; }
  .hero__slide img {
    object-position: 50% 14%;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, rgba(0,0,0,.6) 30%, #000 65%);
    mask-image: linear-gradient(0deg, transparent 0%, rgba(0,0,0,.6) 30%, #000 65%);
    -webkit-mask-composite: source-over; mask-composite: add;
  }
  .hero__slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,26,.55) 0%, transparent 22%); }
  .hero__content .eyebrow { font-size: 11px; letter-spacing: .24em; }
  .hero__content { margin-top: 4px; z-index: 1; }
  .hero__title { font-size: clamp(36px, 10vw, 54px); max-width: none; }
  .hero__lede { margin: 18px 0 26px; }
  .hero__name { right: auto; left: var(--gutter); bottom: 34px; text-align: left; font-size: clamp(28px, 8vw, 40px); }
  .hero__controls { margin-top: 36px; }
  .hero__progress { gap: 8px; }
  .hero__progress .lbl { font-size: 10px; letter-spacing: .04em; }
  .hero__progress .lbl em { display: none; }
  .hero__arrow { display: none; }

  .section-head { margin-bottom: 28px; }
  .row-arrows { display: none; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { order: -1; max-width: 520px; }
  .intro__media::before { display: none; }
  .intro__media img { aspect-ratio: 4 / 3; }

  #engineer-row { grid-auto-columns: 72vw; }
  .row--gallery { grid-auto-columns: 64vw; }
  .row--credits { grid-auto-columns: 44vw; min-height: 260px; }
  .row { gap: 12px; }

  .bio { grid-template-columns: 1fr; overflow-y: auto; max-height: calc(100dvh - 32px); }
  .bio__media img { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .bio__body { max-height: none; overflow: visible; }
  .bio-dialog { max-height: calc(100dvh - 32px); }

  .mobile-cta {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
    height: 54px; border-radius: 2px;
    background: var(--brass); color: #1a1a1a;
    font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(0,0,0,.5);
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta:hover { color: #1a1a1a; }
  .footer { padding-bottom: 100px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .stats div { display: flex; align-items: baseline; gap: 14px; }
  .stats dd { margin: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .marquee__label { display: none; }
  .book__widget { margin: 0 calc(-1 * var(--gutter) + 8px); border-radius: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
