/* ==========================================================================
   AZ STUDIO — Abdelrazek Mahmoud
   Cinematic Espresso & Honey-Amber Theme · High-End Editorial Portfolio
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  --bg: #110E0A;
  --bg-2: #17120D;
  --surface: #1F1812;
  --surface-2: #281F17;
  --line: rgba(219, 155, 62, 0.16);
  --line-strong: rgba(219, 155, 62, 0.30);

  --text: #F4EEE6;
  --muted: #A99E90;
  --dim: #73685B;

  --orange: #DB9B3E;
  --orange-2: #EAAD54;
  --orange-ink: #171005;
  --blue: #DB9B3E;
  --green: #DB9B3E;
  --skin: #94662D;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --font-ar: "Cairo", "Inter", sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Light Mode Theme (Pure Studio White & Crisp Amber) ---------- */
html[data-theme="light"] {
  color-scheme: light;

  --bg: #FCFBF9;
  --bg-2: #F4F1EC;
  --surface: #FFFFFF;
  --surface-2: #F6F3ED;
  --line: rgba(24, 18, 11, 0.10);
  --line-strong: rgba(24, 18, 11, 0.18);

  --text: #16110B;
  --muted: #574B3D;
  --dim: #857666;

  --orange: #D4580A;
  --orange-2: #E86612;
  --orange-ink: #FFFFFF;
  --blue: #D4580A;
  --green: #D4580A;
  --skin: #F5F1EB;
}
html[data-theme="light"] .brand-mark {
  filter: invert(1) brightness(0.12);
}
html[data-theme="light"] .brand-word {
  color: #574B3D;
}
html[data-theme="light"] .site-header.is-scrolled {
  background: rgba(252, 251, 249, 0.92);
  border-color: var(--line);
}
html[data-theme="light"] .eyebrow {
  background: #FFFFFF;
  border-color: rgba(212, 88, 10, 0.34);
  color: #362B20;
  box-shadow: 0 6px 20px -8px rgba(24, 18, 11, 0.08);
}
html[data-theme="light"] .hl-orange {
  color: var(--orange);
  text-shadow: 0 2px 18px rgba(212, 88, 10, 0.14);
}
html[data-theme="light"] .hl-sell {
  color: #B84304;
  text-shadow: 0 0 22px rgba(212, 88, 10, 0.18);
}
html[data-theme="light"] .hero-lead {
  color: #3E3327;
}
html[data-theme="light"] .hero-gains li {
  background: #FFFFFF;
  border-color: rgba(212, 88, 10, 0.28);
  box-shadow: 0 8px 22px -10px rgba(24, 18, 11, 0.08);
}
html[data-theme="light"] .btn-accent {
  box-shadow: 0 12px 28px -8px rgba(212, 88, 10, 0.48);
}
html[data-theme="light"] .btn-accent:hover {
  box-shadow: 0 16px 34px -8px rgba(212, 88, 10, 0.65);
}
html[data-theme="light"] .btn-ghost {
  background: #FFFFFF;
  border-color: rgba(212, 88, 10, 0.38);
  color: var(--text);
}
html[data-theme="light"] .btn-ghost:hover {
  background: rgba(212, 88, 10, 0.09);
}
html[data-theme="light"] .social {
  background: #FFFFFF;
  border-color: rgba(212, 88, 10, 0.28);
  color: #362B20;
}
html[data-theme="light"] .social:hover {
  background: var(--orange);
  color: #FFFFFF;
}
html[data-theme="light"] .social-wa {
  background: #1C150D;
  border-color: #1C150D;
  color: #FFFFFF;
}
html[data-theme="light"] .social-wa:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #FFFFFF;
}
html[data-theme="light"] .hero-backdrop {
  background:
    radial-gradient(ellipse 46% 56% at 74% 48%, rgba(212, 88, 10, 0.34) 0%, rgba(212, 88, 10, 0.14) 46%, transparent 74%);
}
html[data-theme="light"] .viewfinder {
  background: #FFFFFF;
  border-color: rgba(212, 88, 10, 0.68);
  box-shadow:
    0 40px 100px -14px rgba(212, 88, 10, 0.56),
    0 0 64px rgba(212, 88, 10, 0.42),
    0 22px 54px -20px rgba(24, 18, 11, 0.22),
    inset 0 0 20px rgba(212, 88, 10, 0.16);
}
html[data-theme="light"] .hero-scene:hover .viewfinder {
  border-color: var(--orange);
  box-shadow:
    0 46px 115px -12px rgba(212, 88, 10, 0.68),
    0 0 80px rgba(212, 88, 10, 0.52),
    0 26px 60px -18px rgba(24, 18, 11, 0.26),
    inset 0 0 24px rgba(212, 88, 10, 0.22);
}
html[data-theme="light"] .vf-top {
  color: #16110B;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95);
}
html[data-theme="light"] .vf-bottom {
  color: #F4EEE6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}
html[data-theme="light"] .vf-corner.tl,
html[data-theme="light"] .vf-corner.tr {
  border-color: rgba(212, 88, 10, 0.78);
}
html[data-theme="light"] .vf-corner.bl,
html[data-theme="light"] .vf-corner.br {
  border-color: rgba(255, 244, 224, 0.92);
}
html[data-theme="light"] .vf-focus {
  border-color: rgba(255, 232, 198, 0.75);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.35), inset 0 0 10px rgba(212, 88, 10, 0.16);
}
html[data-theme="light"] .scene-tag {
  background: linear-gradient(135deg, rgba(255, 252, 248, 0.92) 0%, rgba(255, 244, 232, 0.84) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  backdrop-filter: blur(22px) saturate(1.8);
  border: 2px solid var(--orange);
  box-shadow:
    0 20px 46px -10px rgba(212, 88, 10, 0.55),
    0 0 30px rgba(212, 88, 10, 0.42),
    inset 0 1.5px 1px rgba(255, 255, 255, 1);
}
html[data-theme="light"] .hero-scene:hover .scene-tag,
html[data-theme="light"] .scene-tag:hover {
  border-color: var(--orange);
  box-shadow:
    0 26px 60px -10px rgba(212, 88, 10, 0.68),
    0 0 44px rgba(212, 88, 10, 0.52),
    inset 0 0 20px rgba(212, 88, 10, 0.20);
}
html[data-theme="light"] .scene-tag strong {
  color: #120D08;
}
html[data-theme="light"] .scene-tag span {
  color: #3D3226;
}
html[data-theme="light"] .gains,
html[data-theme="light"] .work,
html[data-theme="light"] .contact {
  background: rgba(244, 241, 236, 0.14);
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
}
html[data-theme="light"] .cv-strip {
  background: rgba(212, 88, 10, 0.08);
  border-color: rgba(212, 88, 10, 0.28);
  transition: transform .4s var(--ease), border-color .35s, background-color .35s, box-shadow .4s var(--ease);
}
html[data-theme="light"] .cv-strip p {
  color: var(--text);
}
html[data-theme="light"] .gain-card,
html[data-theme="light"] .stats,
html[data-theme="light"] .review-card,
html[data-theme="light"] .result-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .qa,
html[data-theme="light"] .contact-channels a,
html[data-theme="light"] .form-card,
html[data-theme="light"] .vcard {
  background: rgba(255, 255, 255, 0.46);
  -webkit-backdrop-filter: blur(6px) saturate(1.3);
  backdrop-filter: blur(6px) saturate(1.3);
  border-color: rgba(212, 88, 10, 0.28);
  box-shadow: 0 18px 42px -18px rgba(24, 18, 11, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
html[data-theme="light"] .project-card {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.18) 0%, rgba(255, 250, 244, 0.42) 55%, rgba(255, 248, 240, 0.56) 100%);
  -webkit-backdrop-filter: blur(5px) saturate(1.35);
  backdrop-filter: blur(5px) saturate(1.35);
  border: 1.5px solid rgba(212, 88, 10, 0.32);
  box-shadow:
    0 22px 48px -18px rgba(24, 18, 11, 0.16),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px rgba(212, 88, 10, 0.16);
}
html[data-theme="light"] .project-card::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.10) 32%, transparent 58%);
}
html[data-theme="light"] .project-cover::after {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0) 0%, rgba(255, 250, 244, 0.08) 45%, rgba(255, 248, 240, 0.22) 100%);
}
html[data-theme="light"] .project-body {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0) 0%, rgba(255, 250, 244, 0.36) 28%, rgba(255, 248, 240, 0.54) 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-top: 0;
  box-shadow: none;
}
html[data-theme="light"] .project-client {
  color: #6B5844;
}
html[data-theme="light"] .project-body h3 {
  color: #16110B;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.75);
}
html[data-theme="light"] .project-body p {
  color: #3E3225;
}
html[data-theme="light"] .fmt-pill {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(212, 88, 10, 0.32);
  color: #2E241A;
}
html[data-theme="light"] .hero-gains li:hover,
html[data-theme="light"] .gain-card:hover,
html[data-theme="light"] .cv-strip:hover,
html[data-theme="light"] .stats:hover,
html[data-theme="light"] .review-card:hover,
html[data-theme="light"] .result-card:hover,
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .qa:hover,
html[data-theme="light"] .qa[open],
html[data-theme="light"] .contact-channels a:hover,
html[data-theme="light"] .form-card:hover,
html[data-theme="light"] .vcard:hover {
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--orange);
  box-shadow:
    0 24px 56px -10px rgba(212, 88, 10, 0.52),
    0 0 38px rgba(212, 88, 10, 0.38),
    inset 0 0 18px rgba(212, 88, 10, 0.14);
}
html[data-theme="light"] .project-card:hover {
  background: rgba(255, 252, 248, 0.34);
  border-color: var(--orange);
  box-shadow:
    0 28px 64px -10px rgba(212, 88, 10, 0.56),
    0 0 40px rgba(212, 88, 10, 0.40),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.98),
    inset 0 0 20px rgba(212, 88, 10, 0.16);
}
html[data-theme="light"] .marquee-track li {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 250, 244, 0.28) 100%);
  -webkit-backdrop-filter: blur(8px) saturate(1.35);
  backdrop-filter: blur(8px) saturate(1.35);
  border-color: rgba(212, 88, 10, 0.24);
  box-shadow:
    0 14px 28px -16px rgba(24, 18, 11, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
html[data-theme="light"] .marquee-track li:hover {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 248, 240, 0.50) 100%);
  border-color: var(--orange);
  box-shadow:
    0 20px 44px -10px rgba(212, 88, 10, 0.48),
    0 0 32px rgba(212, 88, 10, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
html[data-theme="light"] .client-logo:not(.is-dark):not(.is-pixora):not(.is-blaban):not(.is-freelance) {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(212, 88, 10, 0.14);
  box-shadow: 0 8px 20px -12px rgba(24, 18, 11, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
}
html[data-theme="light"] .scroll-cue-pill i {
  background: rgba(212, 88, 10, 0.16);
  border-color: rgba(212, 88, 10, 0.42);
}
html[data-theme="light"] .skill {
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
html[data-theme="light"] .skill-intro-card {
  background: radial-gradient(circle at 50% 0%, rgba(212, 88, 10, 0.14), rgba(255, 255, 255, 0.48) 72%);
  -webkit-backdrop-filter: blur(3.5px) saturate(1.3);
  backdrop-filter: blur(3.5px) saturate(1.3);
  border-color: rgba(212, 88, 10, 0.38);
  box-shadow: 0 28px 70px -25px rgba(24, 18, 11, 0.15), 0 0 50px rgba(212, 88, 10, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
html[data-theme="light"] dialog::backdrop {
  background: rgba(12, 9, 6, 0.48);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
html[data-theme="light"] .viewer {
  background: rgba(250, 246, 240, 0.82);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  border-color: rgba(212, 88, 10, 0.34);
  box-shadow: 0 36px 90px -18px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}
html[data-theme="light"] .project-tag,
html[data-theme="light"] .project-count {
  color: #FFFFFF;
}
html[data-theme="light"] .project-tag {
  color: #F5B85B;
}
html[data-theme="light"] .qa summary::after {
  background: rgba(24, 18, 11, 0.06);
}
@media (max-width: 900px) {
  html[data-theme="light"] .nav-links,
  html[data-theme="light"] .site-header:has(.nav-links.is-open) {
    background: rgba(250, 246, 240, 0.98);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--orange-ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg:not(.sprite) { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--orange); color: var(--orange-ink); font-weight: 600;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
main, .site-footer { position: relative; z-index: 1; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn small { font-weight: 500; font-size: .75rem; opacity: .75; padding-left: .5em; border-left: 1px solid currentColor; margin-left: .15em; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .875rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--orange); color: var(--orange-ink); box-shadow: 0 10px 30px -10px rgba(219, 155, 62, .5); }
.btn-accent:hover { background: var(--orange-2); box-shadow: 0 16px 36px -12px rgba(219, 155, 62, .7); }
.btn-ghost { border-color: rgba(219, 155, 62, .38); background: rgba(26, 20, 14, .45); color: var(--text); }
.btn-ghost:hover { border-color: var(--orange); background: rgba(219, 155, 62, .12); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-wa { background: var(--orange); color: var(--orange-ink); }
.btn-wa:hover { background: var(--orange-2); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.icon-btn {
  position: relative;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  transition: background-color .2s, transform .2s var(--ease), border-color .2s;
}
.icon-btn:hover { background: var(--text); color: var(--bg); transform: rotate(0) scale(1.05); }
.icon-btn svg { width: 20px; height: 20px; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; color: var(--orange); font-weight: 600; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s, transform .6s var(--ease), opacity .6s var(--ease);
  border-bottom: 1px solid transparent;
}
body.hero-intro .site-header {
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
}
body.hero-ready .site-header {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.site-header.is-scrolled {
  background: rgba(17, 14, 10, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-color: var(--line);
}
.nav { width: min(100% - 40px, var(--container)); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.brand b { font-weight: 500; color: var(--muted); margin-left: 2px; }
.brand-mark { height: 24px; width: auto; display: block; object-fit: contain; }
.brand-word { font-family: var(--font-body); font-size: 1.08rem; font-weight: 500; letter-spacing: -.01em; color: #B7A48B; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--muted);
  transition: color .2s, background-color .2s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: rgba(219, 155, 62, .08); }
.nav-actions { display: inline-flex; align-items: center; gap: 8px; }
.theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--muted);
  cursor: pointer;
  transition: transform .3s var(--ease), color .22s, background-color .22s;
}
.theme-toggle:hover {
  transform: rotate(14deg) scale(1.08);
  color: var(--orange);
  background: rgba(219, 155, 62, 0.08);
}
.theme-toggle svg {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.theme-toggle .ico-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle .ico-moon { opacity: 0; transform: rotate(-75deg) scale(.5); }
html[data-theme="light"] .theme-toggle .ico-sun { opacity: 0; transform: rotate(75deg) scale(.5); }
html[data-theme="light"] .theme-toggle .ico-moon { opacity: 1; transform: rotate(0deg) scale(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: calc(var(--header-h) + 20px) 0 22px;
  overflow: hidden;
  background: transparent;
}
.hero-backdrop {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 50% at 74% 48%, rgba(219, 155, 62, 0.14) 0%, rgba(168, 108, 34, 0.04) 45%, transparent 72%);
}
.hero-backdrop img {
  display: none;
}
.hero-backdrop::after { display: none; }
.hero-backdrop::before {
  /* film grain */
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .035; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 15px 7px 12px; border-radius: 999px;
  background: rgba(31, 24, 18, .72); border: 1px solid rgba(219, 155, 62, .28);
  font-size: .82rem; font-weight: 500; color: #C8BDB0;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px rgba(219, 155, 62, .85), 0 0 0 0 rgba(219, 155, 62, .55); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 8px rgba(219, 155, 62, .85), 0 0 0 8px rgba(219, 155, 62, 0); } 100% { box-shadow: 0 0 8px rgba(219, 155, 62, .85), 0 0 0 0 rgba(219, 155, 62, 0); } }

.hero-title {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: clamp(2.35rem, 4.2vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
}
.hero-title .hl-line-1 {
  display: block;
  font-size: .64em;
  letter-spacing: -.025em;
  color: var(--text);
  white-space: nowrap;
}
.hero-title .hl-line-2 {
  display: block;
  font-size: .82em;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.hero-title .hl-line-3 {
  display: block;
  font-size: 1.46em;
  letter-spacing: -.015em;
  line-height: 1.0;
  white-space: nowrap;
}
.hl-orange { color: var(--orange); white-space: nowrap; }
.hl-blue { color: var(--orange); }
.hl-sell { color: #ECD09A; text-shadow: 0 0 28px rgba(219, 155, 62, .35); }
.hero-lead {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  max-width: 68ch;
  font-size: clamp(.92rem, 1.04vw, 1.01rem);
  line-height: 1.55;
  color: #C9BFB2;
}
.hero-lead > span { display: block; }
.stair-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.stair-text > span {
  display: block;
}
.hero-lead strong { color: var(--text); font-weight: 700; }

.hero-gains { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 20px; }
.hero-gains li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; border-radius: 11px;
  background: rgba(31, 24, 18, .82); border: 1px solid rgba(219, 155, 62, .22);
  font-size: .84rem; color: var(--muted); white-space: nowrap;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease), background-color .3s;
}
.hero-gains li:hover {
  transform: translateY(-3px);
  border-color: var(--orange-2);
  box-shadow: 0 14px 32px -8px rgba(219, 155, 62, .52), 0 0 22px rgba(219, 155, 62, .35);
}
.hero-gains b { color: var(--text); font-weight: 700; }
.hero-gains svg { color: var(--orange); width: 15px; height: 15px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.social {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 42px; height: 42px; padding: 0; border-radius: 50%;
  background: rgba(31, 24, 18, .72); border: 1px solid rgba(219, 155, 62, .26);
  color: #D8CBB8; font-size: .88rem; font-weight: 600;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.social svg { width: 18px; height: 18px; }
.social:hover { background: var(--orange); color: var(--orange-ink); border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 8px 20px -6px rgba(219, 155, 62, .5); }
.social-wa { width: auto; border-radius: 999px; background: #DFC08E; border-color: #E8CDA0; color: #1A1208; padding: 0 18px 0 15px; font-weight: 700; }
.social-wa:hover { background: #EAD0A3; color: #1A1208; border-color: #EAD0A3; }

/* ---------- Hero Intro Animation Scene ---------- */
body.hero-intro #heroTitle {
  position: relative;
  z-index: 10;
  transform-origin: center center;
  text-shadow: 0 20px 60px rgba(0, 0, 0, .9), 0 0 50px rgba(219, 155, 62, .25);
  will-change: transform, opacity, filter;
}

body.hero-intro .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(219, 155, 62, .2) 0%, rgba(219, 155, 62, .08) 35%, transparent 70%);
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  transition: opacity .8s var(--ease);
}
body.hero-ready .hero::before {
  opacity: 0;
}

body.hero-intro .eyebrow,
body.hero-intro .hero-lead,
body.hero-intro .hero-gains,
body.hero-intro .hero-ctas,
body.hero-intro .hero-copy .social-row,
body.hero-intro .hero-scene,
body.hero-intro .scroll-cue,
body.hero-intro .hero-clients {
  opacity: 0;
  pointer-events: none;
}

body.hero-intro .eyebrow { transform: translateY(-12px); }
body.hero-intro .hero-lead { transform: translateY(16px); }
body.hero-intro .hero-gains li { transform: translateY(14px) scale(.95); opacity: 0; }
body.hero-intro .hero-ctas { transform: translateY(18px); }
body.hero-intro .hero-copy .social-row { transform: translateY(14px); }
body.hero-intro .hero-scene { transform: scale(.92) translateY(24px); }
body.hero-intro .scroll-cue { transform: translateY(10px); }
body.hero-intro .hero-clients { transform: translateY(22px); }

body.hero-ready .eyebrow,
body.hero-ready .hero-lead,
body.hero-ready .hero-gains,
body.hero-ready .hero-ctas,
body.hero-ready .hero-copy .social-row,
body.hero-ready .hero-scene,
body.hero-ready .scroll-cue,
body.hero-ready .hero-clients {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body.hero-ready .eyebrow {
  transition: transform .6s var(--ease) .05s, opacity .6s var(--ease) .05s;
}
body.hero-ready .hero-lead {
  transition: transform .6s var(--ease) .12s, opacity .6s var(--ease) .12s;
}
body.hero-ready .hero-gains {
  opacity: 1;
}
body.hero-ready .hero-gains li {
  opacity: 1;
  transform: none;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
body.hero-ready .hero-gains li:nth-child(1) { transition-delay: .18s; }
body.hero-ready .hero-gains li:nth-child(2) { transition-delay: .26s; }
body.hero-ready .hero-gains li:nth-child(3) { transition-delay: .34s; }

body.hero-ready .hero-ctas {
  transition: transform .6s var(--ease) .40s, opacity .6s var(--ease) .40s;
}
body.hero-ready .hero-copy .social-row {
  transition: transform .6s var(--ease) .48s, opacity .6s var(--ease) .48s;
}
body.hero-ready .hero-scene {
  transition: transform .85s var(--ease) .20s, opacity .85s var(--ease) .20s;
}
body.hero-ready .scroll-cue {
  transition: transform .7s var(--ease) .56s, opacity .7s var(--ease) .56s;
}
body.hero-ready .hero-clients {
  transition: transform .75s var(--ease) .52s, opacity .75s var(--ease) .52s;
}

/* Accelerated hero intro when user scrolls down during intro */
body.hero-ready.hero-fast .eyebrow {
  transition: transform .24s var(--ease) 0s, opacity .24s var(--ease) 0s;
}
body.hero-ready.hero-fast .hero-lead {
  transition: transform .26s var(--ease) .03s, opacity .26s var(--ease) .03s;
}
body.hero-ready.hero-fast .hero-gains li {
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}
body.hero-ready.hero-fast .hero-gains li:nth-child(1) { transition-delay: .05s; }
body.hero-ready.hero-fast .hero-gains li:nth-child(2) { transition-delay: .08s; }
body.hero-ready.hero-fast .hero-gains li:nth-child(3) { transition-delay: .11s; }
body.hero-ready.hero-fast .hero-ctas {
  transition: transform .28s var(--ease) .10s, opacity .28s var(--ease) .10s;
}
body.hero-ready.hero-fast .hero-copy .social-row {
  transition: transform .28s var(--ease) .13s, opacity .28s var(--ease) .13s;
}
body.hero-ready.hero-fast .hero-scene {
  transition: transform .32s var(--ease) .04s, opacity .32s var(--ease) .04s;
}
body.hero-ready.hero-fast .scroll-cue {
  transition: transform .28s var(--ease) .14s, opacity .28s var(--ease) .14s;
}
body.hero-ready.hero-fast .hero-clients {
  transition: transform .30s var(--ease) .12s, opacity .30s var(--ease) .12s;
}

/* Viewfinder scene */
.hero-scene-mobile { display: none !important; }
.hero-scene { position: relative; justify-self: center; width: min(395px, 100%); }
.viewfinder {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--skin);
  border: 1.5px solid rgba(235, 178, 88, .75);
  box-shadow:
    0 40px 100px -24px rgba(219, 155, 62, .52),
    0 0 28px rgba(219, 155, 62, .28),
    inset 0 0 18px rgba(255, 218, 150, .18);
  transform: translate3d(0, 0, 0) rotate(1.5deg);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform .75s var(--ease), border-color .35s, box-shadow .45s;
}
.hero-scene:hover .viewfinder {
  transform: translate3d(0, 0, 0) rotate(0deg);
  border-color: rgba(242, 192, 108, .95);
  box-shadow:
    0 44px 110px -22px rgba(219, 155, 62, .68),
    0 0 36px rgba(219, 155, 62, .42),
    inset 0 0 22px rgba(255, 224, 165, .24);
}
.hero-scene:hover .scene-tag,
.scene-tag:hover {
  transform: translate3d(4px, -4px, 0) rotate(0deg);
  border-color: rgba(242, 192, 108, .98);
  box-shadow:
    0 26px 60px -10px rgba(219, 155, 62, .68),
    0 0 38px rgba(219, 155, 62, .48),
    inset 0 0 20px rgba(255, 224, 165, .24);
}
.vf-photo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; z-index: 0; }
.vf-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, 0, 0) scale(1.001);
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform .75s var(--ease), opacity .45s var(--ease);
}
.vf-photo .vf-img-dark { opacity: 1; z-index: 1; }
.vf-photo .vf-img-light { opacity: 0; z-index: 2; pointer-events: none; }
html[data-theme="light"] .vf-photo .vf-img-dark { opacity: 0; }
html[data-theme="light"] .vf-photo .vf-img-light { opacity: 1; }
.hero-scene:hover .vf-photo img { transform: translate3d(0, 0, 0) scale(1.035); }
.vf-focus {
  position: absolute; left: 50%; top: 19%; width: 42%; height: 39%; translate: -50% 0; z-index: 4;
  border: 1.5px solid rgba(255, 240, 215, .45);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .22), inset 0 0 8px rgba(255, 255, 255, .04);
  transform: translate(var(--fx, 0px), var(--fy, 0px)) scale(var(--fs, 1));
  transition: transform .22s cubic-bezier(0.22, 1, 0.36, 1), border-color .3s, box-shadow .3s;
  animation: focus 4s var(--ease) infinite;
}
.vf-focus::before, .vf-focus::after {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  background: rgba(219, 155, 62, .65); opacity: 0; transition: opacity .25s;
}
.vf-focus::before { width: 10px; height: 1.5px; }
.vf-focus::after { width: 1.5px; height: 10px; }
.hero-scene:hover .vf-focus {
  animation: focusLock .55s var(--ease) forwards;
  border-color: var(--orange-2);
  box-shadow: 0 0 18px rgba(219, 155, 62, .45), inset 0 0 12px rgba(219, 155, 62, .18);
}
.hero-scene:hover .vf-focus::before,
.hero-scene:hover .vf-focus::after { opacity: .85; }
@keyframes focus {
  0%, 100% { scale: 1; opacity: .55; }
  8% { scale: 1.04; opacity: .25; }
  16% { scale: 1; opacity: .65; }
}
@keyframes focusLock {
  0% { scale: 1.12; opacity: .4; }
  55% { scale: .95; opacity: 1; }
  100% { scale: 1; opacity: .95; }
}
.vf-corner { position: absolute; z-index: 4; width: 26px; height: 26px; border: 1.8px solid rgba(255, 244, 224, .88); transition: transform .35s var(--ease), border-color .3s; }
.vf-corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.vf-corner.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.vf-corner.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.vf-corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.hero-scene:hover .vf-corner { border-color: var(--orange-2); }
.hero-scene:hover .vf-corner.tl { transform: translate(4px, 4px); }
.hero-scene:hover .vf-corner.tr { transform: translate(-4px, 4px); }
.hero-scene:hover .vf-corner.bl { transform: translate(4px, -4px); }
.hero-scene:hover .vf-corner.br { transform: translate(-4px, -4px); }
.vf-top, .vf-bottom {
  position: absolute; left: 50px; right: 50px; z-index: 4;
  display: flex; justify-content: space-between; gap: 8px;
  font: 600 .72rem/1 var(--font-mono); letter-spacing: .04em; color: #F4EEE6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
  transition: transform .35s var(--ease), color .3s;
}
.hero-scene:hover .vf-top { transform: translateY(2px); }
.hero-scene:hover .vf-bottom { transform: translateY(-2px); }
.vf-top { top: 24px; }
.vf-bottom { bottom: 24px; opacity: .92; }
.vf-rec { display: inline-flex; align-items: center; gap: 6px; }
.vf-rec i { width: 8px; height: 8px; border-radius: 50%; background: #E5483B; box-shadow: 0 0 8px rgba(229, 72, 59, .75); animation: blink 1.8s ease-in-out infinite; }
.hero-scene:hover .vf-rec i { animation-duration: .8s; box-shadow: 0 0 12px rgba(229, 72, 59, 1); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .28; } }
.vf-scopes { position: absolute; right: 24px; bottom: 52px; z-index: 4; display: flex; align-items: flex-end; gap: 3px; height: 32px; opacity: .88; transition: transform .35s var(--ease); }
.hero-scene:hover .vf-scopes { transform: translateY(-2px) scaleY(1.12); }
.hero-scene:hover .vf-scopes i { animation-duration: .55s; }
.vf-scopes i { width: 3.5px; height: calc(var(--h) * 100%); background: rgba(244, 238, 230, .82); border-radius: 2px; animation: scope 1.6s ease-in-out infinite alternate; }
.vf-scopes i:nth-child(odd) { animation-delay: -.6s; }
.vf-scopes i:nth-child(3n) { background: var(--orange); }
@keyframes scope { to { height: calc((1 - var(--h)) * 100% + 10%); } }

.scene-tag {
  position: absolute; left: -24px; bottom: 52px; z-index: 6;
  display: grid; gap: 3px;
  padding: 12px 18px; border-radius: var(--r-md);
  background: rgba(26, 20, 14, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 2px solid var(--orange);
  box-shadow:
    0 22px 48px -12px rgba(219, 155, 62, .52),
    0 0 28px rgba(219, 155, 62, .36),
    inset 0 0 14px rgba(255, 218, 150, .16);
  transform: rotate(-1.2deg) translateX(-6px);
  transform-origin: center right;
  transition: transform .55s var(--ease), border-color .35s, box-shadow .45s var(--ease);
}
.scene-tag strong { font-family: var(--font-display); font-size: 1.02rem; color: var(--text); }
.scene-tag span { font-size: .78rem; color: var(--muted); }

.scroll-cue {
  position: relative;
  left: auto;
  bottom: auto;
  translate: none;
  z-index: 2;
  margin: 0 auto;
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text);
  opacity: .92;
  transition: transform .3s var(--ease), color .3s, opacity .3s;
}
.scroll-cue:hover {
  color: var(--orange);
  opacity: 1;
  transform: translateY(2px);
}
.scroll-cue-pill {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.scroll-cue-pill svg { width: 15px; height: 15px; color: var(--orange); animation: bob 1.8s ease-in-out infinite; order: 2; }
.scroll-cue-pill i {
  display: block; width: 46px; height: 6px; border-radius: 999px;
  border: 1px solid rgba(219, 155, 62, .55);
  background: rgba(219, 155, 62, .22);
  box-shadow: 0 0 14px rgba(219, 155, 62, .35);
  order: 1;
}
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 6.5vw, 88px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font: 600 .78rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.03em; }
.section-head h2 .muted { color: var(--dim); }
.section-sub { margin-top: 14px; font-size: 1.06rem; color: var(--muted); max-width: 60ch; }
.section-sub a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Gains ---------- */
.gains {
  padding: clamp(38px, 4.2vh, 54px) 0 clamp(64px, 7vw, 96px);
  background: rgba(23, 18, 13, .12);
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
  border-block: 1px solid var(--line);
}
.gains .section-head { margin-bottom: 24px; }
.gain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.gain-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 24px 22px; border-radius: var(--r-lg);
  background: rgba(31, 24, 18, .28);
  -webkit-backdrop-filter: blur(3px) saturate(1.2);
  backdrop-filter: blur(3px) saturate(1.2);
  border: 1px solid rgba(219, 155, 62, .24);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: border-color .35s, transform .4s var(--ease), background-color .35s, box-shadow .4s var(--ease);
}
.gain-card:hover {
  border-color: var(--orange-2);
  transform: translateY(-6px);
  background: rgba(40, 31, 23, .48);
  box-shadow:
    0 24px 56px -10px rgba(219, 155, 62, .58),
    0 0 36px rgba(219, 155, 62, .40),
    inset 0 0 18px rgba(255, 224, 165, .18);
}
.gain-card:nth-child(2) { transition-delay: .06s; }
.gain-card:nth-child(3) { transition-delay: .12s; }
.gain-card:nth-child(4) { transition-delay: .18s; }
.gain-num { position: absolute; top: 22px; right: 24px; font: 600 .78rem var(--font-mono); color: var(--dim); }
.gain-icon { width: 44px !important; height: 44px !important; padding: 10px; border-radius: 12px; background: rgba(219, 155, 62, .12); color: var(--orange); }
.gain-card h3 { font-size: 1.28rem; line-height: 1.22; }
.gain-card p { color: var(--muted); font-size: .89rem; line-height: 1.58; }
.gain-card .gain-proof { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: .8rem; white-space: nowrap; }
.gain-proof b { color: var(--text); }

.cv-strip {
  margin-top: 0; margin-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 22px; border-radius: var(--r-lg);
  background: rgba(219, 155, 62, .08); border: 1px solid rgba(219, 155, 62, .3);
  transition: border-color .35s, transform .4s var(--ease), background-color .35s, box-shadow .4s var(--ease);
}
.cv-strip:hover {
  border-color: var(--orange-2);
  transform: translateY(-4px);
  box-shadow:
    0 22px 52px -12px rgba(219, 155, 62, .52),
    0 0 32px rgba(219, 155, 62, .34);
}
.cv-strip p { color: #D6CFC4; }

/* ---------- Proof ---------- */
.stats {
  margin-top: 16px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(219, 155, 62, .24); border-radius: var(--r-lg); overflow: hidden;
  background: rgba(31, 24, 18, .28);
  -webkit-backdrop-filter: blur(3px) saturate(1.2);
  backdrop-filter: blur(3px) saturate(1.2);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: border-color .35s, transform .4s var(--ease), background-color .35s, box-shadow .4s var(--ease);
}
.stats:hover {
  border-color: var(--orange-2);
  transform: translateY(-4px);
  box-shadow:
    0 24px 56px -10px rgba(219, 155, 62, .56),
    0 0 36px rgba(219, 155, 62, .38),
    inset 0 0 18px rgba(255, 224, 165, .16);
}
.stat { padding: 22px 20px; display: grid; gap: 6px; transition: background-color .3s; }
.stat:hover { background: rgba(219, 155, 62, .10); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat:nth-child(2) b { color: var(--orange); }
.stat span { font-size: .85rem; color: var(--muted); }

.proof-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-top: clamp(56px, 6.5vh, 84px); align-items: stretch; }
.review-card {
  padding: 30px; border-radius: var(--r-lg);
  background: rgba(31, 24, 18, .28);
  -webkit-backdrop-filter: blur(3px) saturate(1.2);
  backdrop-filter: blur(3px) saturate(1.2);
  border: 1px solid rgba(219, 155, 62, .24);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .07);
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  transition: border-color .35s, transform .4s var(--ease), background-color .35s, box-shadow .4s var(--ease);
}
.review-card:hover {
  border-color: var(--orange-2);
  transform: translateY(-5px);
  background: rgba(40, 31, 23, .48);
  box-shadow:
    0 24px 56px -10px rgba(219, 155, 62, .58),
    0 0 36px rgba(219, 155, 62, .40),
    inset 0 0 18px rgba(255, 224, 165, .18);
}
.review-top { display: flex; align-items: center; gap: 18px; }
.rating-big { display: grid; justify-items: center; gap: 4px; padding: 12px 16px; border-radius: var(--r-md); background: rgba(219, 155, 62, .08); border: 1px solid rgba(219, 155, 62, .3); }
.rating-big b { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: #DB9B3E; }
.stars svg { width: 14px; height: 14px; }
.review-top h3 { font-size: 1.25rem; }
.review-quote { margin: 0; padding-left: 18px; border-left: 3px solid var(--orange); display: grid; gap: 10px; }
.review-quote p[lang="ar"] { font-family: var(--font-ar); font-size: 1.22rem; line-height: 1.8; font-weight: 500; }
.review-en { color: var(--muted); font-style: italic; }
.review-quote footer { font-size: .9rem; color: var(--muted); }
.review-quote footer b { color: var(--text); }
.rating-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.rating-bars li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 6px; gap: 6px 10px; font-size: .82rem; color: var(--muted); }
.rating-bars i { grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 999px; background: #DB9B3E; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.review-card.is-in .rating-bars i { transform: scaleX(1); }
.rating-bars b { color: var(--text); grid-row: 1; grid-column: 2; }

.results { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 16px; }
.result-card {
  padding: 26px 24px; border-radius: var(--r-lg);
  background: rgba(31, 24, 18, .28);
  -webkit-backdrop-filter: blur(3px) saturate(1.2);
  backdrop-filter: blur(3px) saturate(1.2);
  border: 1px solid rgba(219, 155, 62, .24);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .07);
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  transition: border-color .35s, transform .4s var(--ease), background-color .35s, box-shadow .4s var(--ease);
}
.result-card:hover {
  border-color: var(--orange-2);
  transform: translateY(-5px);
  background: rgba(40, 31, 23, .48);
  box-shadow:
    0 24px 56px -10px rgba(219, 155, 62, .58),
    0 0 36px rgba(219, 155, 62, .40),
    inset 0 0 18px rgba(255, 224, 165, .18);
}
.result-card:nth-child(2) { transition-delay: .06s; }
.result-card:nth-child(3) { transition-delay: .12s; }
.result-card:nth-child(4) { transition-delay: .18s; }
.result-num { font-family: var(--font-display); font-size: clamp(2.1rem, 3.2vw, 2.55rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--blue); }
.result-card:nth-child(odd) .result-num { color: var(--orange); }
.result-card p:last-child { font-size: .94rem; line-height: 1.55; color: var(--muted); }
.result-card b { color: var(--text); display: block; margin-bottom: 4px; font-size: 1rem; }

.proof { padding-bottom: 24px; }
.clients { margin-top: 8px; padding-block: 0; position: relative; z-index: 1; background: transparent; }
.hero-clients { margin-top: 0; width: 100%; background: transparent; }
.clients-title { display: none; }
.marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding-top: 48px;
  padding-bottom: 54px;
  margin-top: -26px;
  margin-bottom: -30px;
  background: transparent;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 68s linear infinite; background: transparent; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  text-align: center; gap: 11px;
  width: 224px; padding: 15px 15px 17px;
  border-radius: 22px;
  background: rgba(31, 24, 18, .32);
  -webkit-backdrop-filter: blur(8px) saturate(1.25);
  backdrop-filter: blur(8px) saturate(1.25);
  border: 1px solid rgba(219, 155, 62, .26);
  box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: transform .4s var(--ease), border-color .35s, background .35s, box-shadow .4s;
}
.marquee-track li:hover {
  transform: translateY(-5px) scale(1.015);
  background: rgba(40, 31, 23, .52);
  border-color: var(--orange-2);
  box-shadow:
    0 18px 36px -12px rgba(219, 155, 62, .56),
    0 0 26px rgba(219, 155, 62, .38),
    inset 0 1px 0 rgba(255, 255, 255, .16);
}
.client-logo {
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 1 / 1; height: auto;
  padding: 13px;
  border-radius: 15px;
  background: #FFFFFF;
  border: 1px solid rgba(219, 155, 62, .28);
  overflow: hidden; flex: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.client-logo.is-dark { background: #050505; }
.client-logo.is-pixora { background: #0C1019; }
.client-logo.is-blaban { background: #331709; padding: 0; }
.client-logo.is-freelance {
  background: #000000;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-logo-word {
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #F4F1EC;
  text-align: center;
  line-height: 1;
  transition: transform .5s var(--ease), color .3s;
}
.marquee-track li:hover .client-logo-word {
  transform: scale(1.05);
  color: var(--orange-2);
}
.client-logo img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  image-rendering: -webkit-optimize-contrast;
  transition: transform .5s var(--ease);
}
.marquee-track li:hover .client-logo img { transform: scale(1.04); }
.marquee-track strong {
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 800;
  color: var(--text); line-height: 1.22;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 1px;
}
.marquee-track small {
  font: 700 .66rem var(--font-mono); color: var(--orange);
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(219, 155, 62, .14); border: 1px solid rgba(219, 155, 62, .32);
  max-width: 100%; white-space: nowrap;
  margin-top: auto;
}
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }

/* ---------- Skills (12-step sequential Title -> Video scroll) ---------- */
.skills { position: relative; height: 520vh; background: transparent; margin-top: 0; scroll-margin-top: 0; }
.skills-stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.skills-inner { padding-top: var(--header-h); padding-bottom: 16px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 1.8vh, 18px); width: 100%; }
.skills .section-head { margin-bottom: 0; }
.skills .section-head .kicker { margin-bottom: 10px; font-size: .8rem; }
.skills .section-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -.03em; }

.skills-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 0; padding: 0; list-style: none;
}
.skill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  opacity: .55; cursor: pointer;
  transition: opacity .35s var(--ease), border-color .35s, background-color .35s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.skill:hover {
  opacity: .92;
  border-color: rgba(219, 155, 62, .55);
  box-shadow: 0 10px 24px -8px rgba(219, 155, 62, .35);
}
.skill-ico {
  flex: none; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--muted);
  transition: background-color .35s, color .35s, box-shadow .35s, border-color .35s;
}
.skill-ico svg { width: 15px; height: 15px; }
.skill h3 { font-size: .88rem; font-weight: 600; margin: 0; white-space: nowrap; }
.skill p { display: none; }
.skill.is-done { opacity: .75; }
.skill.is-done .skill-ico { color: var(--orange); border-color: rgba(219, 155, 62, .45); }
.skill.is-active {
  opacity: 1; background: rgba(219, 155, 62, .12);
  border-color: var(--orange); transform: translateY(-2px);
}
.skill.is-active .skill-ico { background: var(--orange); color: var(--orange-ink); border-color: var(--orange); box-shadow: 0 0 18px rgba(219, 155, 62, .55); }

.skills-center-stage {
  position: relative; width: 100%;
  min-height: min(56svh, 480px);
  display: grid; place-items: center;
}

.skill-intro-card {
  grid-area: 1 / 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 14px; width: min(640px, 92vw); padding: clamp(24px, 3.8vw, 42px);
  border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 0%, rgba(219, 155, 62, .15), rgba(20, 19, 18, .94) 72%);
  border: 1px solid rgba(219, 155, 62, .35);
  box-shadow: 0 30px 90px -25px rgba(0, 0, 0, .85), 0 0 60px rgba(219, 155, 62, .12);
  transition: opacity .5s var(--ease), transform .55s var(--ease), filter .45s var(--ease);
}
.skill-intro-step {
  font: 700 .76rem var(--font-mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); padding: 5px 14px; border-radius: 999px;
  background: rgba(219, 155, 62, .12); border: 1px solid rgba(219, 155, 62, .3);
}
.skill-intro-ico {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px;
  background: var(--orange); color: var(--orange-ink);
  box-shadow: 0 0 0 10px rgba(219, 155, 62, .14), 0 0 50px rgba(219, 155, 62, .55);
}
.skill-intro-ico svg { width: 36px; height: 36px; }
.skill-intro-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.3rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0;
}
.skill-intro-desc {
  font-size: clamp(.98rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 46ch; line-height: 1.6; margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.skill-intro-sub {
  display: block; font-size: clamp(.88rem, 1.2vw, 1.02rem); color: var(--text); font-weight: 500; opacity: .9;
}
.skill-intro-cue {
  margin-top: 4px; display: inline-flex; align-items: center; gap: 6px;
  font: 600 .74rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
}
.skill-intro-cue svg { width: 15px; height: 15px; color: var(--orange); animation: bounceCue 1.6s infinite; }
@keyframes bounceCue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.skills-video {
  grid-area: 1 / 1;
  display: grid; justify-items: center; gap: 10px; width: 100%;
  transition: opacity .5s var(--ease), transform .55s var(--ease), filter .45s var(--ease);
}

.skills-center-stage[data-phase="intro"] .skill-intro-card {
  opacity: 1; transform: translateY(0) scale(1); filter: blur(0); pointer-events: auto; z-index: 2;
}
.skills-center-stage[data-phase="intro"] .skills-video {
  opacity: 0; transform: translateY(28px) scale(.92); filter: blur(10px); pointer-events: none; z-index: 1;
}
.skills-center-stage[data-phase="video"] .skill-intro-card {
  opacity: 0; transform: translateY(-28px) scale(.92); filter: blur(10px); pointer-events: none; z-index: 1;
}
.skills-center-stage[data-phase="video"] .skills-video {
  opacity: 1; transform: translateY(0) scale(1); filter: blur(0); pointer-events: auto; z-index: 2;
}

.skills-video[data-mode="trio"] .single-skill-frame { display: none !important; }
.skills-video[data-mode="single"] .skills-trio { display: none !important; }
.skills-trio {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.8vw, 22px);
  width: 100%;
  max-width: 980px;
}
.skills-trio .trio-frame {
  height: min(50svh, 435px);
  width: auto;
  flex: 0 1 auto;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.skills-trio .trio-frame[data-ar="9/16"] { aspect-ratio: 9 / 16; }
.skills-trio .trio-frame[data-ar="4/5"] { aspect-ratio: 4 / 5; }
.skills-trio .trio-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 85px -24px rgba(219, 155, 62, .65), 0 0 0 1.5px var(--orange);
}
@media (max-width: 760px) {
  .skills-trio {
    gap: 8px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-inline: 12px;
  }
  .skills-trio .trio-frame {
    height: min(44svh, 340px);
    flex: 0 0 auto;
  }
}

.video-frame {
  position: relative;
  border-radius: var(--r-md); overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px -30px rgba(219, 155, 62, .45), 0 0 0 1px var(--line-strong);
  transition: width .35s var(--ease), height .35s var(--ease), aspect-ratio .35s var(--ease);
}
.video-frame[data-ar="16/9"] {
  width: min(860px, 88vw);
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: min(54svh, 460px);
}
.video-frame[data-ar="9/16"] {
  height: min(56svh, 480px);
  width: auto;
  aspect-ratio: 9 / 16;
  max-width: min(520px, 88vw);
}
.video-frame[data-ar="4/5"] {
  height: min(55svh, 470px);
  width: auto;
  aspect-ratio: 4 / 5;
  max-width: min(560px, 88vw);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-badge { display: none !important; }
.video-sound {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(17, 14, 10, .75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); color: #fff;
  font-family: inherit; font-size: .72rem; font-weight: 600; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.video-sound:hover { background: rgba(17, 14, 10, .92); border-color: var(--orange); }
.video-sound svg { width: 14px; height: 14px; }
.video-sound.is-unmuted { border-color: var(--orange); color: var(--orange); }
.video-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .15); z-index: 2; }
.video-progress i { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
@keyframes fadeIn { from { opacity: 0; } }
.skill-caption { display: block; min-height: 1.5em; max-width: 58ch; text-align: center; font-size: .88rem; color: var(--muted); margin: 4px 0 0; }
.skill-caption b { color: var(--text); font-family: var(--font-display); font-size: .96rem; margin-right: 8px; }

.skills-steps { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
.skills-steps i { width: 28px; height: 4px; border-radius: 999px; background: var(--line-strong); transition: background-color .4s, width .4s var(--ease); }
.skills-steps i.is-on { background: var(--orange); }
.skills-steps i.is-current { width: 48px; }

/* ---------- Work / Projects ---------- */
.work {
  background: rgba(23, 18, 13, .12);
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
  border-block: 1px solid var(--line);
  padding-top: clamp(44px, 6vw, 72px);
}
.work-format-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.work-fmt-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px 14px 14px;
  border-radius: var(--r-lg);
  background: rgba(28, 21, 15, .36);
  -webkit-backdrop-filter: blur(6px) saturate(1.25);
  backdrop-filter: blur(6px) saturate(1.25);
  border: 1.5px solid rgba(219, 155, 62, .24);
  box-shadow: 0 18px 42px -20px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .07);
  text-align: left;
  cursor: pointer;
  transition: transform .35s var(--ease), border-color .3s, background-color .3s, box-shadow .35s var(--ease);
}
.work-fmt-card:hover {
  transform: translateY(-3px);
  border-color: rgba(219, 155, 62, .65);
  background: rgba(36, 27, 19, .54);
  box-shadow: 0 22px 48px -12px rgba(219, 155, 62, .38), 0 0 26px rgba(219, 155, 62, .22);
}
.work-fmt-card.is-active {
  background: linear-gradient(135deg, rgba(46, 34, 22, .78) 0%, rgba(30, 22, 14, .65) 100%);
  border-color: var(--orange-2);
  box-shadow:
    0 24px 56px -10px rgba(219, 155, 62, .58),
    0 0 36px rgba(219, 155, 62, .42),
    inset 0 0 18px rgba(255, 224, 165, .18);
}
.wfc-collage {
  position: relative;
  width: 138px;
  height: 102px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wfc-c-item {
  position: absolute;
  border-radius: 9px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 232, 190, .42);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .75);
  background: #0B0907;
  transition: transform .42s var(--ease), border-color .3s, box-shadow .35s;
}
.wfc-c-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
/* Reels 9:16 trio fan */
.wfc-collage-reels .wfc-c-item {
  width: 50px;
  aspect-ratio: 9 / 16;
}
.wfc-collage-reels .wfc-c-item:nth-child(1) {
  transform: translateX(-31px) rotate(-10deg) scale(.9);
  opacity: .84;
  z-index: 1;
}
.wfc-collage-reels .wfc-c-item:nth-child(2) {
  transform: translateX(31px) rotate(10deg) scale(.9);
  opacity: .84;
  z-index: 1;
}
.wfc-collage-reels .wfc-c-item:nth-child(3) {
  transform: translateY(-2px) scale(1.04);
  z-index: 3;
  border-color: var(--orange-2);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .85), 0 0 18px rgba(219, 155, 62, .45);
}
.work-fmt-card:hover .wfc-collage-reels .wfc-c-item:nth-child(1) {
  transform: translateX(-35px) rotate(-13deg) scale(.93);
}
.work-fmt-card:hover .wfc-collage-reels .wfc-c-item:nth-child(2) {
  transform: translateX(35px) rotate(13deg) scale(.93);
}
.work-fmt-card:hover .wfc-collage-reels .wfc-c-item:nth-child(3) {
  transform: translateY(-4px) scale(1.08);
}

/* Horizontal 16:9 stacked cinema frames */
.wfc-collage-long .wfc-c-item {
  width: 112px;
  aspect-ratio: 16 / 9;
}
.wfc-collage-long .wfc-c-item:nth-child(1) {
  transform: translate(-10px, -13px) rotate(-5deg) scale(.92);
  opacity: .76;
  z-index: 1;
}
.wfc-collage-long .wfc-c-item:nth-child(2) {
  transform: translate(10px, -5px) rotate(4deg) scale(.95);
  opacity: .86;
  z-index: 2;
}
.wfc-collage-long .wfc-c-item:nth-child(3) {
  transform: translate(0, 9px) scale(1.02);
  z-index: 3;
  border-color: var(--orange-2);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .85), 0 0 18px rgba(219, 155, 62, .45);
}
.work-fmt-card:hover .wfc-collage-long .wfc-c-item:nth-child(1) {
  transform: translate(-13px, -16px) rotate(-7deg) scale(.94);
}
.work-fmt-card:hover .wfc-collage-long .wfc-c-item:nth-child(2) {
  transform: translate(13px, -7px) rotate(6deg) scale(.97);
}
.work-fmt-card:hover .wfc-collage-long .wfc-c-item:nth-child(3) {
  transform: translate(0, 11px) scale(1.06);
}
.wfc-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.wfc-kicker {
  font: 700 .7rem/1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
}
.wfc-body strong {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.18;
}
.wfc-body small {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.38;
}
html[data-theme="light"] .work-fmt-card {
  background: rgba(255, 255, 255, .48);
  border-color: rgba(212, 88, 10, .28);
  box-shadow: 0 16px 38px -18px rgba(24, 18, 11, .12), inset 0 1px 0 rgba(255, 255, 255, .92);
}
html[data-theme="light"] .work-fmt-card:hover {
  background: rgba(255, 255, 255, .72);
  border-color: var(--orange);
}
html[data-theme="light"] .work-fmt-card.is-active {
  background: linear-gradient(135deg, rgba(255, 252, 248, .92) 0%, rgba(255, 244, 230, .82) 100%);
  border-color: var(--orange);
  box-shadow:
    0 22px 50px -10px rgba(212, 88, 10, .48),
    0 0 34px rgba(212, 88, 10, .34),
    inset 0 1.5px 1px rgba(255, 255, 255, 1);
}
@media (max-width: 760px) {
  .work-format-switch { grid-template-columns: 1fr; gap: 12px; margin-bottom: 22px; }
  .work-fmt-card { padding: 12px 14px; gap: 14px; }
  .wfc-collage { width: 112px; height: 86px; }
  .wfc-collage-reels .wfc-c-item { width: 42px; }
  .wfc-collage-reels .wfc-c-item:nth-child(1) { transform: translateX(-25px) rotate(-10deg) scale(.9); }
  .wfc-collage-reels .wfc-c-item:nth-child(2) { transform: translateX(25px) rotate(10deg) scale(.9); }
  .wfc-collage-long .wfc-c-item { width: 92px; }
}
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 445px;
  border-radius: var(--r-lg); overflow: hidden; text-align: left;
  background: linear-gradient(180deg, rgba(24, 18, 12, .16) 0%, rgba(22, 16, 11, .34) 55%, rgba(18, 13, 9, .48) 100%);
  -webkit-backdrop-filter: blur(5px) saturate(1.35);
  backdrop-filter: blur(5px) saturate(1.35);
  border: 1.5px solid rgba(219, 155, 62, .32);
  box-shadow:
    0 24px 52px -20px rgba(0, 0, 0, .72),
    inset 0 1.5px 1px rgba(255, 255, 255, .22),
    inset 0 -1px 1px rgba(219, 155, 62, .18);
  transition: transform .5s var(--ease), border-color .35s, background-color .35s, box-shadow .5s var(--ease);
}
.project-card::before {
  content: "";
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .03) 30%, transparent 56%);
  opacity: .88;
  transition: opacity .4s var(--ease);
}
.project-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(180deg, rgba(30, 22, 15, .22) 0%, rgba(26, 19, 13, .42) 55%, rgba(22, 16, 11, .56) 100%);
  border-color: var(--orange-2);
  box-shadow:
    0 28px 64px -10px rgba(219, 155, 62, .62),
    0 0 40px rgba(219, 155, 62, .44),
    inset 0 1.5px 1.5px rgba(255, 255, 255, .34),
    inset 0 0 20px rgba(255, 224, 165, .20);
}
/* .project-card:first-child { grid-column: span 2; } */
.project-cover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  aspect-ratio: auto; overflow: hidden; background: transparent; z-index: 0;
}
/* .project-card:first-child .project-cover { aspect-ratio: 16 / 7.6; } */
.project-cover img {
  position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 64%;
  object-fit: cover; object-position: center 22%;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .98) 0%, rgba(0, 0, 0, .92) 56%, rgba(0, 0, 0, .32) 84%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .98) 0%, rgba(0, 0, 0, .92) 56%, rgba(0, 0, 0, .32) 84%, transparent 100%);
  transition: transform 1s var(--ease), filter .6s;
  filter: saturate(.96) contrast(1.03);
  z-index: 1;
}
.project-card:hover .project-cover img { transform: scale(1.05); filter: saturate(1.12) contrast(1.05); }
.project-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 10, 7, .04) 0%, rgba(14, 10, 7, .14) 48%, rgba(14, 10, 7, .28) 100%);
  transition: opacity .4s; z-index: 1; pointer-events: none;
}
.project-card:hover .project-cover::after { opacity: .65; }
.project-cover .poster-fallback { z-index: 0; opacity: .55; }
.project-cover:has(img) .poster-fallback { display: none; }
.project-tag, .project-count {
  position: absolute; top: 14px; z-index: 4;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(17, 14, 10, .68);
  -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .74rem; font-weight: 600;
}
.project-tag { left: 14px; color: var(--orange); border-color: rgba(219, 155, 62, .35); }
.project-count { right: 14px; display: inline-flex; align-items: center; gap: 6px; }
.project-count svg { width: 12px; height: 12px; }
.project-play {
  position: absolute; left: 50%; top: 26%; z-index: 4;
  transform: translate3d(-50%, -50%, 0) scale(.72);
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--orange); color: var(--orange-ink);
  opacity: 0;
  box-shadow: 0 14px 32px -8px rgba(0, 0, 0, .65), 0 0 24px rgba(219, 155, 62, .55);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.project-play svg { width: 24px; height: 24px; display: block; margin: 0; flex: none; }
.project-card:hover .project-play, .project-card:focus-visible .project-play {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}
.project-body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 195px;
  padding: 18px 22px 22px;
  flex: 0 0 auto;
  background: linear-gradient(180deg, rgba(18, 13, 9, 0) 0%, rgba(18, 13, 9, .32) 28%, rgba(16, 12, 8, .48) 100%);
}
.project-client { font: 600 .74rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #D8C8B4; }
.project-body h3 { font-size: 1.32rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
/* .project-card:first-child .project-body h3 { font-size: 1.7rem; } */
.project-body p { color: #D5CBBF; font-size: .9rem; }
.project-body p.stair-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; overflow: visible; -webkit-line-clamp: unset; }
.project-body p.stair-text span { display: block; line-height: 1.42; }
.project-formats {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px;
}
.fmt-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(24, 18, 12, .52);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(219, 155, 62, .32);
  font-size: .75rem; font-weight: 600; color: #E5DDD2;
  transition: background-color .22s, border-color .22s, color .22s, transform .22s;
}
.fmt-pill svg { width: 13px; height: 13px; color: var(--orange); flex: none; }
.fmt-pill b {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: rgba(219, 155, 62, .16);
  color: var(--orange); font-size: .7rem; font-weight: 700;
}
.fmt-pill:hover {
  border-color: var(--orange); color: var(--text);
  background: rgba(219, 155, 62, .12); transform: translateY(-1px);
}
.project-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .85rem; }
.project-metric { color: var(--text); font-weight: 600; }
.project-open { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 600; }
.project-open svg { transition: transform .3s var(--ease); }
.project-card:hover .project-open svg { transform: translateX(4px); }

/* Placeholder poster when no thumbnail exists */
.poster-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center; align-content: center; gap: 8px; padding: 16px;
  background: var(--surface-2); color: var(--muted); text-align: center;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 12px, transparent 12px 24px);
}
.poster-fallback svg { width: 34px; height: 34px; color: var(--orange); }
.poster-fallback strong { font-family: var(--font-display); font-size: clamp(1rem, 2.4vw, 2.2rem); color: var(--text); letter-spacing: -.02em; line-height: 1; }
.poster-fallback span { font: 600 .7rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--r-lg);
  background: rgba(31, 24, 18, .28);
  -webkit-backdrop-filter: blur(3px) saturate(1.2);
  backdrop-filter: blur(3px) saturate(1.2);
  border: 1px solid rgba(219, 155, 62, .24);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: border-color .3s, background-color .3s, transform .4s var(--ease), box-shadow .3s;
}
.service-card:hover {
  border-color: var(--orange-2);
  background: rgba(40, 31, 23, .48);
  transform: translateY(-6px);
  box-shadow:
    0 24px 56px -10px rgba(219, 155, 62, .58),
    0 0 36px rgba(219, 155, 62, .40),
    inset 0 0 18px rgba(255, 224, 165, .18);
}
.service-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(219, 155, 62, .12); color: var(--blue); }
.service-ico svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.35rem; }
.service-outcome { font-size: .85rem; font-weight: 600; color: var(--orange); }
.service-card > p { color: var(--muted); font-size: .94rem; }
.service-list { display: grid; gap: 8px; padding: 14px 0; border-block: 1px dashed var(--line-strong); }
.service-list li { display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.service-list svg { color: var(--green); width: 16px; height: 16px; }
.service-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.service-actions .btn { flex: 1 1 auto; }

/* ---------- FAQ / Q&A (details) ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list, .qa-list { display: grid; gap: 10px; }
.qa {
  border-radius: var(--r-md);
  background: rgba(31, 24, 18, .28);
  -webkit-backdrop-filter: blur(3px) saturate(1.2);
  backdrop-filter: blur(3px) saturate(1.2);
  border: 1px solid rgba(219, 155, 62, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .35s, background-color .35s, transform .35s var(--ease), box-shadow .4s var(--ease);
}
.qa:hover,
.qa[open] {
  border-color: var(--orange-2);
  background: rgba(40, 31, 23, .48);
  transform: translateY(-3px);
  box-shadow:
    0 20px 48px -12px rgba(219, 155, 62, .54),
    0 0 30px rgba(219, 155, 62, .36),
    inset 0 0 16px rgba(255, 224, 165, .16);
}
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 600; font-size: 1.02rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); font-size: 1.2rem; font-weight: 400;
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.qa[open] summary::after { transform: rotate(45deg); background: var(--orange); color: var(--orange-ink); }
.qa-body { padding: 0 20px 20px; color: var(--muted); }
.qa[open] .qa-body { animation: fadeIn .4s var(--ease); }

/* ---------- Contact ---------- */
.contact {
  background: rgba(23, 18, 13, .12);
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
  border-top: 1px solid var(--line);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-copy h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.03em; }
.contact-channels { display: grid; gap: 10px; margin-top: 32px; }
.contact-channels a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--r-md);
  background: rgba(31, 24, 18, .28);
  -webkit-backdrop-filter: blur(3px) saturate(1.2);
  backdrop-filter: blur(3px) saturate(1.2);
  border: 1px solid rgba(219, 155, 62, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .35s, background-color .35s, transform .35s var(--ease), box-shadow .4s var(--ease);
}
.contact-channels a:hover {
  border-color: var(--orange-2);
  background: rgba(40, 31, 23, .48);
  transform: translateX(4px) translateY(-2px);
  box-shadow:
    0 18px 42px -10px rgba(219, 155, 62, .52),
    0 0 28px rgba(219, 155, 62, .34);
}
.contact-channels b { display: block; }
.contact-channels small { color: var(--muted); font-size: .85rem; word-break: break-all; }
.ch-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); color: var(--orange); flex: none; }
.ch-ico.wa { background: var(--green); color: #171005; }

.form-card {
  padding: clamp(24px, 4vw, 36px); border-radius: var(--r-xl);
  background: rgba(31, 24, 18, .30);
  -webkit-backdrop-filter: blur(3px) saturate(1.2);
  backdrop-filter: blur(3px) saturate(1.2);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: border-color .35s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.form-card:hover {
  border-color: var(--orange-2);
  box-shadow:
    0 24px 56px -12px rgba(219, 155, 62, .52),
    0 0 34px rgba(219, 155, 62, .34),
    inset 0 1px 0 rgba(255, 255, 255, .14);
}
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 15px;
  border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--text);
  font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(219, 155, 62, .18); }
.field input:user-invalid, .field textarea:user-invalid, .field .is-invalid { border-color: #FF5A5F; }
.field-error { min-height: 0; font-size: .82rem; color: #FF7A7E; }
.field-error:empty { display: none; }
.field-hint { justify-self: end; font-size: .75rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.h-captcha { min-height: 78px; }
.h-captcha:empty { min-height: 0; }
.form-status { font-size: .92rem; padding: 0; border-radius: var(--r-sm); }
.form-status:empty { display: none; }
.form-status.is-success, .form-status.is-error { padding: 12px 14px; }
.form-status.is-success { background: rgba(219, 155, 62, .12); color: #6CF0A0; border: 1px solid rgba(219, 155, 62, .35); }
.form-status.is-error { background: rgba(255, 90, 95, .1); color: #FF8F92; border: 1px solid rgba(255, 90, 95, .35); }
.form-note { font-size: .78rem; color: var(--dim); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px; align-items: start; }
.footer-brand p { margin-top: 14px; max-width: 42ch; font-size: .9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 8px; }
.footer-nav a { color: var(--muted); font-size: .92rem; }
.footer-nav a:hover { color: var(--text); }
.site-footer .social-row { margin-top: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--dim); }
.footer-bottom a { color: var(--orange); font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }

.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: #171005;
  box-shadow: 0 14px 30px -10px rgba(219, 155, 62, .7);
  transition: transform .3s var(--ease), opacity .3s;
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
}
.fab-wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 28px; height: 28px; }

/* ---------- Viewer dialog (projects & services) ---------- */
dialog { color: var(--text); padding: 0; border: 0; }
dialog:modal { overscroll-behavior: contain; }
dialog::backdrop { background: rgba(8, 6, 4, .58); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); overflow: hidden; overscroll-behavior: contain; }

.viewer {
  width: min(100% - 24px, 1240px); height: calc(100dvh - 24px); max-width: none; max-height: none;
  margin: auto; border-radius: var(--r-xl);
  background: rgba(18, 14, 10, .74);
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
  backdrop-filter: blur(12px) saturate(1.25);
  border: 1px solid rgba(219, 155, 62, .32);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.viewer[open] { animation: viewerIn .5s var(--ease); }
@keyframes viewerIn { from { opacity: 0; transform: translateY(28px) scale(.98); } }
.viewer-shell { position: relative; height: 100%; display: flex; flex-direction: column; }
.viewer-bar { position: absolute; top: 16px; right: 16px; z-index: 6; display: flex; gap: 8px; }

/* Side navigation arrows inside project viewer */
.viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(24, 18, 13, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border: 1.5px solid rgba(219, 155, 62, .42);
  color: var(--text);
  box-shadow: 0 18px 42px -12px rgba(0, 0, 0, .75), 0 0 22px rgba(219, 155, 62, .18);
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .25s, background-color .25s, box-shadow .3s, padding .3s var(--ease);
}
.viewer-nav[hidden] { display: none !important; }
.viewer-prev { left: 16px; }
.viewer-next { right: 16px; }
.viewer-nav-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(219, 155, 62, .14);
  color: var(--orange);
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.viewer-nav-ico svg { width: 19px; height: 19px; }
.viewer-nav-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .32s var(--ease), opacity .25s var(--ease), padding .28s var(--ease);
}
.viewer-next .viewer-nav-meta { align-items: flex-end; text-align: right; }
.viewer-nav-meta small {
  font: 700 .62rem/1 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
}
.viewer-nav-meta strong {
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 700;
  color: var(--text);
}
.viewer-nav:hover {
  border-color: var(--orange-2);
  background: rgba(34, 26, 18, .95);
  box-shadow: 0 22px 48px -10px rgba(219, 155, 62, .55), 0 0 32px rgba(219, 155, 62, .38);
}
.viewer-prev:hover { transform: translateY(-50%) translateX(-2px); padding-right: 16px; }
.viewer-next:hover { transform: translateY(-50%) translateX(2px); padding-left: 16px; }
.viewer-nav:hover .viewer-nav-ico {
  background: var(--orange);
  color: var(--orange-ink);
}
.viewer-nav:hover .viewer-nav-meta {
  max-width: 150px;
  opacity: 1;
}
html[data-theme="light"] .viewer-nav {
  background: rgba(255, 252, 248, .88);
  border-color: rgba(212, 88, 10, .38);
  box-shadow: 0 18px 40px -14px rgba(24, 18, 11, .22), 0 0 20px rgba(212, 88, 10, .14);
}
html[data-theme="light"] .viewer-nav:hover {
  background: #FFFFFF;
  border-color: var(--orange);
  box-shadow: 0 22px 48px -10px rgba(212, 88, 10, .48), 0 0 30px rgba(212, 88, 10, .32);
}
@media (max-width: 900px) {
  .viewer-nav {
    top: 16px;
    transform: none;
    padding: 4px;
  }
  .viewer-prev { left: 14px; }
  .viewer-next { left: 64px; right: auto; }
  .viewer-nav-ico { width: 34px; height: 34px; }
  .viewer-nav-ico svg { width: 17px; height: 17px; }
  .viewer-nav-meta,
  .viewer-nav:hover .viewer-nav-meta { display: none; }
  .viewer-prev:hover,
  .viewer-next:hover { transform: scale(1.05); padding: 4px; }
}
.icon-btn.close { background: var(--text); color: var(--bg); border-color: var(--text); }
.icon-btn.close:hover { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); transform: rotate(90deg); }
.share-tip {
  position: absolute; top: calc(100% + 8px); right: 0; white-space: nowrap;
  padding: 6px 10px; border-radius: 8px; background: var(--text); color: var(--bg); font-size: .75rem; font-weight: 600;
  opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; pointer-events: none;
}
.share-tip.is-on { opacity: 1; transform: none; }
.viewer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 48px) 48px; }

.viewer-head { max-width: 820px; margin: 0 auto 36px; text-align: center; display: grid; justify-items: center; gap: 14px; padding-top: 12px; }
.viewer-head .kicker { margin: 0; }
.viewer-head h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); letter-spacing: -.03em; }
.viewer-head > p { color: var(--muted); font-size: 1.04rem; max-width: 66ch; }
.viewer-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--muted); }
.chip.accent { color: var(--orange); border-color: rgba(219, 155, 62, .35); }
.viewer-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }

.viewer-qa { max-width: 820px; margin: 0 auto 44px; }
.viewer-qa h3, .group-head h3 { font-size: 1.2rem; margin-bottom: 14px; }
.viewer-qa h3 { text-align: center; }

.video-group + .video-group { margin-top: 44px; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.group-head h3 { margin: 0; }
.group-head small { color: var(--dim); font-weight: 500; font-family: var(--font-body); font-size: .85rem; margin-left: 8px; }

/* Format Tabs (Long / Horizontal vs Reels) */
.format-section { display: flex; flex-direction: column; gap: 22px; }
.format-tabs {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 12px; margin: 0 auto 4px; padding: 6px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong);
  width: fit-content; max-width: 100%;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .55);
}
.video-group .format-tabs { margin: 0 0 4px; }
.format-tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 22px; border-radius: 999px;
  border: 1px solid transparent; background: transparent;
  color: var(--muted); font-family: var(--font-display);
  font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.format-tab svg { width: 18px; height: 18px; color: var(--orange); transition: color .25s; }
.format-tab .ft-sub {
  font: 600 .72rem var(--font-mono); letter-spacing: .04em;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); color: var(--dim);
  transition: background-color .25s, color .25s;
}
.format-tab .ft-count {
  display: inline-grid; place-items: center;
  min-width: 26px; height: 22px; padding: 0 7px;
  border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong);
  font: 700 .76rem var(--font-mono); color: var(--text);
  transition: background-color .25s, color .25s, border-color .25s;
}
.format-tab:hover:not(:disabled):not(.is-active) {
  color: var(--text); background: var(--surface-2); border-color: var(--line-strong);
}
.format-tab.is-active {
  background: var(--orange); color: var(--orange-ink);
  border-color: var(--orange);
  box-shadow: 0 10px 26px -8px rgba(219, 155, 62, .65);
}
.format-tab.is-active svg { color: var(--orange-ink); }
.format-tab.is-active .ft-sub {
  background: rgba(17, 14, 10, .16); color: var(--orange-ink);
}
.format-tab.is-active .ft-count {
  background: var(--orange-ink); color: var(--orange); border-color: var(--orange-ink);
}
.format-tab.is-empty, .format-tab:disabled {
  opacity: .38; cursor: not-allowed;
}

.video-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; align-items: stretch; }
.video-grid[hidden] { display: none !important; }
.video-grid[data-format-panel="long"] {
  justify-content: center;
}
.video-grid[data-format-panel="long"] .vcard,
.video-grid[data-format-panel="long"] .vcard[data-o="h"] {
  flex: 0 1 350px;
  width: min(100%, 350px);
}
.video-grid[data-format-panel="reels"] {
  justify-content: center;
}
.video-grid[data-format-panel="reels"] .vcard {
  flex: 0 1 245px;
  width: min(100%, 245px);
}
.viewer-head p.stair-text {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.viewer-head p.stair-text span { display: block; }
.vcard {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-md); overflow: hidden;
  background: rgba(31, 24, 18, .32);
  -webkit-backdrop-filter: blur(3px) saturate(1.2);
  backdrop-filter: blur(3px) saturate(1.2);
  border: 1px solid rgba(219, 155, 62, .24);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: border-color .3s, transform .4s var(--ease), background-color .3s, box-shadow .3s;
  cursor: pointer;
}
.vcard:hover {
  background: rgba(40, 31, 23, .52);
  border-color: var(--orange-2);
  transform: translateY(-6px);
  box-shadow:
    0 24px 56px -10px rgba(219, 155, 62, .62),
    0 0 38px rgba(219, 155, 62, .44),
    inset 0 0 18px rgba(255, 224, 165, .18);
}

/* Aspect ratios per video orientation */
.vcard[data-o="h"] { grid-column: span 2; }
.vcard[data-o="h"] .vcard-media { aspect-ratio: 16 / 9; }
.vcard[data-o="v"] { grid-column: span 1; }
.vcard[data-o="v"] .vcard-media { aspect-ratio: 9 / 16; }
.vcard[data-o="s"] { grid-column: span 1; }
.vcard[data-o="s"] .vcard-media { aspect-ratio: 1 / 1; }

.vcard-media { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; background: var(--surface-2); overflow: hidden; }
.vcard-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); z-index: 1; }
.vcard:hover .vcard-media > img { transform: scale(1.05); }
.vcard-media .poster-fallback { z-index: 0; }
.vcard-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate3d(-50%, -50%, 0) scale(1);
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(17, 14, 10, .62); border: 1.5px solid rgba(255, 255, 255, .85);
  color: #FFFFFF;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px -6px rgba(0, 0, 0, .6);
  transition: background-color .3s, transform .35s var(--ease), color .3s, border-color .3s, box-shadow .3s;
  z-index: 2;
}
.vcard-play svg { width: 20px; height: 20px; display: block; margin: 0; flex: none; }
.vcard:hover .vcard-play {
  background: var(--orange); color: var(--orange-ink); border-color: var(--orange);
  transform: translate3d(-50%, -50%, 0) scale(1.12);
  box-shadow: 0 14px 32px -6px rgba(219, 155, 62, .65);
}
.vcard-badge { position: absolute; top: 10px; left: 10px; padding: 5px 9px; border-radius: 999px; background: var(--orange); color: var(--orange-ink); font-size: .72rem; font-weight: 700; z-index: 2; }
.vcard-type { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(17, 14, 10, .7); z-index: 2; }
.vcard-type svg { width: 14px; height: 14px; }

/* Custom video card poster fallback */
.vcard-media .poster-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 16px 14px;
  background-color: var(--surface-2);
  background-image:
    radial-gradient(circle at 50% 32%, rgba(219, 155, 62, .18), transparent 60%),
    radial-gradient(circle at 85% 85%, rgba(219, 155, 62, .08), transparent 50%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .022) 0 12px, transparent 12px 24px);
  text-align: center;
  z-index: 0;
  user-select: none;
  box-sizing: border-box;
}
.vcard-media .poster-fallback .pf-brand {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 .62rem var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  opacity: .9;
}
.vcard-media .poster-fallback .pf-brand svg { width: 12px; height: 12px; }
.vcard-media .poster-fallback .pf-foot {
  display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%;
}
.vcard-media .poster-fallback .pf-title {
  font-family: var(--font-display);
  font-size: clamp(.82rem, 1.15vw, 1.05rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  max-width: 92%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -.01em;
}
.vcard-media .poster-fallback .pf-title[dir="rtl"] { font-family: var(--font-ar); }
.vcard-media .poster-fallback .pf-tag {
  font: 600 .62rem var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
}
.vcard-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 12px 14px 14px; }
.vcard-info h4 { font-family: var(--font-body); font-size: .92rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.vcard-info p { margin-top: 3px; font-size: .78rem; color: var(--dim); }
.vcard-info p[dir="rtl"] { font-family: var(--font-ar); }
.vcard-ext { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--muted); transition: background-color .2s, color .2s; }
.vcard-ext:hover { background: var(--surface-2); color: var(--text); }
.vcard-ext svg { width: 15px; height: 15px; }

.vcard.is-playing { border-color: var(--orange); transform: none; }
.vcard-media iframe, .vcard-media video, .vcard-media .vcard-full { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }

.viewer-foot { margin-top: 48px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.viewer-foot p { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }

/* Theater dialog: bigger display in the video's aspect ratio */
.theater-dialog {
  position: fixed; inset: 0; margin: 0; z-index: 200;
  width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh;
  background: rgba(10, 8, 5, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 0; padding: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.theater-dialog::backdrop { background: rgba(10, 8, 5, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.theater-shell {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  min-height: 100%; width: 100%; box-sizing: border-box; gap: 12px;
  padding: calc(env(safe-area-inset-top, 16px) + 12px) 20px calc(env(safe-area-inset-bottom, 16px) + 16px);
  margin: auto 0;
}
@media (min-height: 700px) {
  .theater-shell { justify-content: center; }
}
.theater-head { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1040px; gap: 14px; flex: none; }
.theater-info { min-width: 0; flex: 1; }
.theater-info h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: #fff; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theater-info p { margin-top: 3px; font-size: .82rem; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theater-info p[dir="rtl"] { font-family: var(--font-ar); }
.theater-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.theater-media-frame {
  position: relative; border-radius: var(--r-md); overflow: hidden; background: #000;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .95), 0 0 0 1px var(--line-strong);
  transition: aspect-ratio .3s var(--ease), width .3s var(--ease), height .3s var(--ease);
  flex: none;
}
.theater-media-frame[data-o="h"] { width: min(92vw, 1040px); aspect-ratio: 16 / 9; height: auto; max-height: calc(82dvh - 90px); }
.theater-media-frame[data-o="v"] { height: min(78dvh, 760px); width: auto; aspect-ratio: 9 / 16; max-width: 92vw; }
.theater-media-frame[data-o="s"] { height: min(72dvh, 640px); width: auto; aspect-ratio: 1 / 1; max-width: 92vw; }
#theaterMediaHolder { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; }
#theaterMediaHolder iframe.yt-frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: block;
}
#theaterMediaHolder iframe.drive-frame {
  position: absolute; top: -48px; left: 0; width: 100%; height: calc(100% + 48px);
  border: 0; display: block;
}
#theaterMediaHolder iframe.insta-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}
#theaterMediaHolder video,
#theaterMediaHolder img {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
  object-fit: contain; background: #000;
}
.theater-foot-bar { display: flex; justify-content: center; width: 100%; margin-top: 4px; flex: none; }
.theater-direct-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line-strong); color: var(--text);
  font-size: .82rem; font-weight: 500; text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.theater-direct-link:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.theater-direct-link svg { width: 13px; height: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .gain-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .proof-grid { grid-template-columns: 1fr; }
  .project-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .skill p { display: none; }
  .skill { align-items: center; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 4px;
    padding: 16px 20px 24px; background: rgba(17, 14, 10, .97); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateY(-110%); opacity: 0; visibility: hidden;
    transition: transform .4s var(--ease), opacity .3s, visibility .4s;
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .site-header:has(.nav-links.is-open) { background: rgba(17, 14, 10, .97); }

  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { min-width: 0; max-width: 100%; }
  .hero-title .hl-line-1,
  .hero-title .hl-line-2,
  .hero-title .hl-line-3,
  .hl-orange { white-space: normal; }
  .hero-lead,
  .stair-text { display: block; }
  .hero-lead > span,
  .stair-text > span { display: inline; }
  .hero-gains { flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .hero-gains li { font-size: .8rem; padding: 7px 11px; }
  .hero-scene-desktop { display: none !important; }
  .hero-scene-mobile {
    display: block !important;
    width: min(300px, 84%);
    margin: 18px auto 22px;
  }
  .scene-tag { left: 12px; right: 12px; bottom: 44px; padding: 9px 13px; transform: none; }
  .scene-tag strong { font-size: .9rem; }
  .scene-tag span { font-size: .72rem; }
  .hero { height: auto; min-height: auto; padding: calc(var(--header-h) + 16px) 0 28px; gap: 18px; }
  .hero-stage { position: relative; height: auto; padding: calc(var(--header-h) + 24px) 0 48px; }
  .marquee-track li { width: 178px; padding: 12px 12px 14px; gap: 8px; border-radius: 18px; }
  .marquee-track strong { font-size: .94rem; }
  .marquee-track small { font-size: .58rem; padding: 4px 8px; }
  .client-logo-word { font-size: 1.18rem; }

  .scroll-cue {
    position: relative;
    left: auto;
    bottom: auto;
    translate: none;
    margin-top: 12px;
    margin-inline: auto;
  }

  .section, .gains, .work { padding: 52px 0 64px; }
  .faq-layout, .contact-grid { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Skills: sequential intro card -> large video on mobile */
  .skills { height: 600vh; }
  .skills-stage { overflow: hidden; }
  .skills-inner { padding-top: calc(var(--header-h) + 10px); padding-bottom: 16px; justify-content: center; gap: 14px; }
  .skills-nav { gap: 6px; margin-bottom: 4px; }
  .skill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
    cursor: pointer;
  }
  .skill-ico { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-strong); }
  .skill-ico svg { width: 12px; height: 12px; }
  .skill h3 {
    font-size: .72rem; font-family: var(--font-body); font-weight: 600; margin: 0; line-height: 1.2;
    white-space: nowrap;
  }
  .skill p { display: none; }
  .skill.is-active {
    opacity: 1; filter: none; background: rgba(219, 155, 62, .14); border-color: var(--orange); transform: none;
  }
  .skill.is-active .skill-ico {
    background: var(--orange); color: var(--orange-ink); border-color: var(--orange); box-shadow: 0 0 16px rgba(219, 155, 62, .5);
  }
  .skills-center-stage { min-height: min(50svh, 410px); }
  .skill-intro-card { padding: 24px 18px; gap: 12px; }
  .skill-intro-ico { width: 62px; height: 62px; border-radius: 18px; }
  .skill-intro-ico svg { width: 30px; height: 30px; }
  .skills-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    padding-inline: 0;
    overflow: visible;
  }
  .skills-trio .trio-frame {
    width: 100%;
    height: auto;
    max-height: 42svh;
  }
  .skills-trio .trio-frame .video-sound span { display: none; }
  .skills-trio .trio-frame .video-sound { padding: 5px; right: 6px; bottom: 8px; }

  .video-frame {
    border-radius: var(--r-md);
    box-shadow: 0 16px 40px -15px rgba(219, 155, 62, .35), 0 0 0 1px var(--line-strong);
  }
  .video-frame[data-ar="16/9"] {
    aspect-ratio: 16 / 9;
    width: min(100%, 540px);
    height: auto;
    max-height: calc(100svh - 230px);
  }
  .video-frame[data-ar="9/16"] {
    aspect-ratio: 9 / 16;
    width: min(100%, 280px, calc((100svh - 240px) * 9 / 16));
    height: auto;
    max-height: calc(100svh - 240px);
    max-width: min(100%, 280px);
  }
  .video-frame[data-ar="4/5"] {
    aspect-ratio: 4 / 5;
    width: min(100%, 310px, calc((100svh - 240px) * 4 / 5));
    height: auto;
    max-height: calc(100svh - 240px);
    max-width: min(100%, 310px);
  }
  .skill-caption { display: block; min-height: 2em; font-size: .8rem; line-height: 1.3; margin: 0; padding: 0 8px; text-align: center; }
  .skills-steps { display: flex; margin-top: 4px; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(2rem, 7.6vw, 2.55rem); line-height: 1.06; }
  .container, .nav { width: min(100% - 28px, var(--container)); }
  .gain-grid, .project-grid, .service-grid, .results { grid-template-columns: 1fr; }
  .project-card:first-child { grid-column: auto; }
  .project-card:first-child .project-body h3 { font-size: 1.32rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(n + 2) { border-top: 1px solid var(--line); }
  .stat:nth-child(2) { border-top: 0; border-left: 1px solid var(--line); }
  .stat:nth-child(4) { border-left: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; }
  .rating-bars { grid-template-columns: 1fr; }
  .review-card { padding: 22px; }
  .hero-ctas .btn { width: 100%; }
  .social-wa { flex: 1 1 100%; }
  .btn small { display: none; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vcard[data-o="h"] { grid-column: 1 / -1; }
  .vcard[data-o="v"] { grid-column: span 1; }
  .vcard-info { padding: 10px; }
  .vcard-ext { display: none; }
  /* Full-screen immersive modal video player on mobile */
  .theater-dialog {
    position: fixed; inset: 0; margin: 0; padding: 0; border: 0;
    width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh;
    background: #000; overflow: hidden; z-index: 200;
  }
  .theater-dialog::backdrop { background: #000; }
  .theater-shell {
    position: relative; width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh;
    padding: 0; margin: 0; gap: 0; background: #000; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
  }
  .theater-head {
    position: absolute; top: 0; left: 0; right: 0; z-index: 30;
    padding: calc(env(safe-area-inset-top, 10px) + 8px) 14px 18px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .45) 60%, transparent 100%);
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    pointer-events: none; max-width: 100%;
  }
  .theater-info {
    min-width: 0; flex: 1; pointer-events: auto;
    display: flex; flex-direction: column; align-items: flex-start;
  }
  .theater-info h3 {
    font-size: .95rem; line-height: 1.25; color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .theater-info p {
    margin-top: 2px; font-size: .75rem; color: rgba(255, 255, 255, .7);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .theater-actions { display: flex; align-items: center; gap: 8px; flex: none; pointer-events: auto; }
  .theater-actions .icon-btn {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(18, 20, 26, .75); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .2); color: #fff;
    display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
  }
  .theater-actions .icon-btn:active { transform: scale(.92); }

  .theater-media-frame {
    position: relative; width: 100vw; max-width: 100vw;
    border-radius: 0; border: 0; box-shadow: none; background: #000;
    overflow: hidden;
  }
  .theater-media-frame[data-o="h"] {
    width: 100vw; max-width: 100vw; aspect-ratio: 16 / 9; height: auto; max-height: 100dvh;
  }
  .theater-media-frame[data-o="v"] {
    width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; aspect-ratio: auto;
  }
  .theater-media-frame[data-o="s"] {
    width: 100vw; max-width: 100vw; aspect-ratio: 1 / 1; height: auto; max-height: 100dvh;
  }

  /* Scaled down Google Drive player controls on mobile: compact, sleek & clean */
  #theaterMediaHolder { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; }
  #theaterMediaHolder iframe.yt-frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: block;
}
#theaterMediaHolder iframe.drive-frame {
    position: absolute;
    top: -48px;
    left: -7.5%;
    width: 115%;
    height: calc(115% + 48px);
    transform: scale(0.8695);
    transform-origin: top center;
    border: 0;
    display: block;
  }
  #theaterMediaHolder iframe.insta-frame {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
  }

  .theater-foot-bar {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 30;
    padding: 18px 14px calc(env(safe-area-inset-bottom, 10px) + 8px);
    background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .4) 60%, transparent 100%);
    display: flex; justify-content: center; pointer-events: none; margin-top: 0;
  }
  .theater-direct-link {
    pointer-events: auto;
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px;
    background: rgba(18, 20, 26, .75); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .2); color: #fff;
    font-size: .76rem; font-weight: 500; text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
  }
  .viewer { width: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .viewer-head { text-align: left; justify-items: start; padding-top: 40px; }
  .viewer-meta, .viewer-ctas { justify-content: flex-start; }
  .viewer-qa h3 { text-align: left; }
  .fab-wa { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .skill h3 { font-size: .72rem; }
}

@media (max-height: 700px) and (min-width: 901px) {
  .skill p { display: none; }
  .skills .section-head { margin-bottom: 12px; }
  .video-frame[data-ar="16/9"] { max-height: 48svh; }
  .video-frame[data-ar="9/16"], .video-frame[data-ar="4/5"] { height: 48svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track li[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ==========================================================================
   Section 03 Gorilla Glass Optical Bevel & Thumbnail Harmonization (2026-11)
   ========================================================================== */
.work-fmt-card {
  border: 1.5px solid rgba(219, 155, 62, 0.34);
  box-shadow:
    0 20px 46px -18px rgba(0, 0, 0, 0.74),
    inset 0 1.5px 1px rgba(255, 248, 232, 0.24),
    inset 0 -1px 1px rgba(219, 155, 62, 0.16);
}
.work-fmt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.14) 0%, rgba(255, 248, 232, 0.03) 34%, transparent 60%);
  z-index: 0;
}
.project-card {
  border: 1.5px solid rgba(219, 155, 62, 0.36);
  box-shadow:
    0 26px 56px -20px rgba(0, 0, 0, 0.78),
    inset 0 1.5px 1.5px rgba(255, 248, 232, 0.28),
    inset 0 -1.5px 1.5px rgba(219, 155, 62, 0.22);
}
.project-cover img {
  height: 66%;
  object-position: center 20%;
  filter: saturate(1.04) contrast(1.04);
}
.project-card:hover .project-cover img {
  transform: scale(1.045);
  filter: saturate(1.14) contrast(1.06);
}
.vcard {
  border: 1.5px solid rgba(219, 155, 62, 0.30);
  box-shadow:
    0 20px 44px -18px rgba(0, 0, 0, 0.74),
    inset 0 1.5px 1px rgba(255, 248, 232, 0.22),
    inset 0 -1px 1px rgba(219, 155, 62, 0.16);
}
.vcard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.14) 0%, rgba(255, 248, 232, 0.02) 32%, transparent 58%);
  z-index: 3;
}
.vcard-media > img {
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.04) contrast(1.04);
}
.vcard-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(17, 14, 10, 0.08) 0%, transparent 28%, rgba(14, 11, 8, 0.38) 100%),
    linear-gradient(135deg, rgba(255, 242, 214, 0.10) 0%, transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255, 248, 232, 0.22);
  z-index: 1;
}
html[data-theme="light"] .vcard {
  border: 1.5px solid rgba(212, 88, 10, 0.30);
  box-shadow:
    0 20px 44px -18px rgba(24, 18, 11, 0.14),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px rgba(212, 88, 10, 0.15);
}
html[data-theme="light"] .vcard::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 32%, transparent 58%);
}
html[data-theme="light"] .vcard-media::after {
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.04) 0%, transparent 32%, rgba(24, 18, 11, 0.24) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 44%);
}

/* Borderless AR/EN Language Toggle inside Verified Client Review Card */
.review-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-meta-wrap {
  flex: 1;
  min-width: 0;
}
.review-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.review-lang-btn {
  background: transparent;
  border: none;
  padding: 2px 4px;
  font: 600 .82rem/1.2 var(--font-sans, inherit);
  color: var(--muted);
  cursor: pointer;
  transition: color .2s ease, opacity .2s ease;
}
.review-lang-btn:hover {
  color: var(--text);
}
.review-lang-btn.is-active {
  color: var(--orange);
  font-weight: 700;
}
.review-lang-sep {
  color: var(--muted);
  opacity: .45;
  font-size: .78rem;
  user-select: none;
}
