/* ═══════════════════════════════════════════════════════
   CHRIS · InfiLinks — Cinematic Scroll Portfolio
   styles.css — Part A: Foundation, Scenes, Navigation
   ═══════════════════════════════════════════════════════ */

/* ═══ 1. THEME TOKENS ═══ */
:root {
  --c-canvas: #fefffc;
  --c-surface: #ffffff;
  --c-surface-alt: #f7f6f2;
  --c-text: #1f1f29;
  --c-text-muted: #6b6b76;
  --c-text-faint: #9e9ea8;
  --c-accent: #41a1cf;
  --c-accent-hover: #3590bc;
  --c-accent-glow: rgba(65, 161, 207, 0.15);
  --c-border: rgba(31, 31, 41, 0.08);
  --c-border-strong: rgba(31, 31, 41, 0.15);
  --c-fill-dark: #1f1f29;
  --c-fill-light: #fefffc;
  --c-hero-overlay: rgba(12, 12, 15, 0.55);
  --c-grain-opacity: 0.035;
  --c-scene-dark: #0c0c0f;

  --f-serif: 'Fraunces', 'Georgia', serif;
  --f-sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --fs-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
  --fs-base: clamp(0.95rem, 0.88rem + 0.35vw, 1.05rem);
  --fs-md: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --fs-lg: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  --fs-xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --fs-2xl: clamp(2.8rem, 2rem + 4vw, 5.5rem);
  --fs-3xl: clamp(3.5rem, 2.5rem + 5vw, 7rem);

  --sp-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --sp-sm: clamp(0.75rem, 0.6rem + 0.75vw, 1.25rem);
  --sp-md: clamp(1.25rem, 1rem + 1.25vw, 2rem);
  --sp-lg: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  --sp-xl: clamp(3rem, 2rem + 5vw, 7rem);
  --sp-2xl: clamp(5rem, 3rem + 10vw, 12rem);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 24px;
  --r-pill: 50px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.6s;
  --dur-slow: 1s;
  --dur-cinema: 1.4s;

  --nav-h: 56px;
  --timeline-w: 48px;
  --content-max: 1100px;
  --content-wide: 1300px;
}

[data-theme="dark"] {
  --c-canvas: #0c0c0f;
  --c-surface: #16161a;
  --c-surface-alt: #1c1c22;
  --c-text: #e2e2e6;
  --c-text-muted: #8a8a96;
  --c-text-faint: #5a5a66;
  --c-accent: #5eaed6;
  --c-accent-hover: #7cc2e2;
  --c-accent-glow: rgba(94, 174, 214, 0.12);
  --c-border: rgba(226, 226, 230, 0.08);
  --c-border-strong: rgba(226, 226, 230, 0.15);
  --c-fill-dark: #e2e2e6;
  --c-fill-light: #0c0c0f;
  --c-hero-overlay: rgba(12, 12, 15, 0.4);
  --c-grain-opacity: 0.02;
}

/* ═══ 2. RESET & BASE ═══ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--c-accent) var(--c-canvas);
}

body {
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-canvas); }
::-webkit-scrollbar-thumb {
  background: var(--c-accent);
  border-radius: 3px;
}

::selection {
  background: var(--c-accent);
  color: #fff;
}

a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent-hover); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ═══ 3. SCROLL STAGE ═══ */
.scroll-stage {
  position: relative;
  width: 100%;
}

/* ═══ 4. SCENE SYSTEM ═══ */
.scene {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--sp-xl) var(--sp-md);
}

.scene-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.scene-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* — Scene-specific backgrounds — */
.scene-overview {
  background: linear-gradient(175deg, #0a0e1a 0%, #141828 40%, #1a2035 100%);
  min-height: 100vh;
}
.scene-overview .scene-content { color: #e8e8ec; }

.scene-domains {
  background: var(--c-canvas);
  min-height: 80vh;
}

.scene-work {
  background: linear-gradient(180deg, var(--c-surface-alt) 0%, var(--c-canvas) 100%);
  min-height: 100vh;
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
}

.scene-telecom {
  background: linear-gradient(170deg, #0f1520 0%, #162030 50%, #1a2840 100%);
  min-height: 100vh;
}
.scene-telecom .scene-content { color: #e0e4ea; }

.scene-services {
  background: var(--c-canvas);
  min-height: 100vh;
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
}

.scene-contact {
  background: linear-gradient(180deg, var(--c-surface-alt) 0%, var(--c-canvas) 60%);
  min-height: 100vh;
  padding-top: var(--sp-2xl);
}

.scene-credits {
  min-height: 50vh;
  background: var(--c-scene-dark);
  color: #8a8a96;
}

/* ═══ 5. PARALLAX LAYERS ═══ */
.parallax-layer {
  position: absolute;
  inset: -20% 0;
  will-change: transform;
  pointer-events: none;
}
.parallax-far  { opacity: 0.3; }
.parallax-mid  { opacity: 0.5; }
.parallax-near { opacity: 0.7; }

/* Overview — moonlit skyline */
.scene-overview .parallax-far {
  background:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 15%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 65% 25%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 40%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 50%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 55% 10%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 20%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 45%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(80px 80px at 75% 20%, rgba(200,210,230,0.08) 0%, transparent 100%);
}

.scene-overview .parallax-mid {
  background:
    linear-gradient(0deg, rgba(20,24,40,0.9) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200'%3E%3Crect x='50' y='80' width='40' height='120' fill='%23181c2e' rx='2'/%3E%3Crect x='100' y='50' width='30' height='150' fill='%23151929' rx='2'/%3E%3Crect x='140' y='90' width='50' height='110' fill='%231a1e30' rx='2'/%3E%3Crect x='220' y='30' width='35' height='170' fill='%23161a2c' rx='2'/%3E%3Crect x='270' y='70' width='45' height='130' fill='%23191d2f' rx='2'/%3E%3Crect x='350' y='60' width='55' height='140' fill='%23171b2d' rx='2'/%3E%3Crect x='430' y='40' width='30' height='160' fill='%23151929' rx='2'/%3E%3Crect x='480' y='85' width='60' height='115' fill='%231a1e30' rx='2'/%3E%3Crect x='570' y='25' width='40' height='175' fill='%23161a2c' rx='2'/%3E%3Crect x='630' y='65' width='50' height='135' fill='%23181c2e' rx='2'/%3E%3Crect x='710' y='45' width='35' height='155' fill='%23191d2f' rx='2'/%3E%3Crect x='770' y='75' width='55' height='125' fill='%23171b2d' rx='2'/%3E%3Crect x='850' y='55' width='40' height='145' fill='%23151929' rx='2'/%3E%3Crect x='920' y='35' width='45' height='165' fill='%231a1e30' rx='2'/%3E%3Crect x='990' y='70' width='50' height='130' fill='%23161a2c' rx='2'/%3E%3Crect x='1060' y='50' width='35' height='150' fill='%23181c2e' rx='2'/%3E%3Crect x='1110' y='80' width='60' height='120' fill='%23191d2f' rx='2'/%3E%3C/svg%3E") center bottom / 120% auto no-repeat;
}

.scene-overview .parallax-near {
  background:
    linear-gradient(0deg, rgba(10,14,26,1) 0%, rgba(10,14,26,0.6) 15%, transparent 35%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Crect x='0' y='40' width='80' height='80' fill='%2310142a' rx='1'/%3E%3Crect x='90' y='20' width='60' height='100' fill='%230e1226' rx='1'/%3E%3Crect x='180' y='50' width='100' height='70' fill='%23111528' rx='1'/%3E%3Crect x='320' y='10' width='70' height='110' fill='%230f1327' rx='1'/%3E%3Crect x='420' y='35' width='90' height='85' fill='%2310142a' rx='1'/%3E%3Crect x='550' y='25' width='65' height='95' fill='%230e1226' rx='1'/%3E%3Crect x='650' y='45' width='110' height='75' fill='%23111528' rx='1'/%3E%3Crect x='800' y='15' width='75' height='105' fill='%230f1327' rx='1'/%3E%3Crect x='910' y='30' width='85' height='90' fill='%2310142a' rx='1'/%3E%3Crect x='1030' y='50' width='70' height='70' fill='%230e1226' rx='1'/%3E%3Crect x='1120' y='20' width='80' height='100' fill='%23111528' rx='1'/%3E%3C/svg%3E") center bottom / 110% auto no-repeat;
}

/* Telecom — dawn fiber lines */
.scene-telecom .parallax-far {
  background:
    radial-gradient(ellipse 600px 200px at 50% 80%, rgba(65,161,207,0.06) 0%, transparent 100%),
    linear-gradient(0deg, rgba(22,32,48,0.8) 0%, transparent 50%);
}

.scene-telecom .parallax-mid {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200'%3E%3Cline x1='0' y1='150' x2='1200' y2='130' stroke='%2341a1cf' stroke-width='0.5' opacity='0.15'/%3E%3Cline x1='0' y1='160' x2='1200' y2='145' stroke='%2341a1cf' stroke-width='0.3' opacity='0.1'/%3E%3Cline x1='0' y1='170' x2='1200' y2='155' stroke='%235eaed6' stroke-width='0.4' opacity='0.08'/%3E%3Ccircle cx='200' cy='148' r='2' fill='%2341a1cf' opacity='0.3'/%3E%3Ccircle cx='500' cy='140' r='2' fill='%2341a1cf' opacity='0.25'/%3E%3Ccircle cx='800' cy='135' r='2' fill='%235eaed6' opacity='0.2'/%3E%3Ccircle cx='1050' cy='132' r='2' fill='%2341a1cf' opacity='0.3'/%3E%3C/svg%3E") center bottom / 120% auto no-repeat;
}

.scene-telecom .parallax-near {
  background: linear-gradient(0deg, rgba(15,21,32,1) 0%, transparent 25%);
}

/* Contact — cerulean wash */
.scene-contact .parallax-far {
  background:
    radial-gradient(ellipse 800px 400px at 30% 70%, var(--c-accent-glow) 0%, transparent 100%);
}

/* Work — meadow hint */
.scene-work .parallax-far {
  background:
    radial-gradient(ellipse 600px 300px at 70% 80%, rgba(120,160,80,0.04) 0%, transparent 100%);
}

.scene-work .parallax-mid {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100'%3E%3Cpath d='M0,80 Q100,60 200,75 T400,70 T600,78 T800,65 T1000,72 T1200,68 L1200,100 L0,100Z' fill='%23e8e6df' opacity='0.3'/%3E%3C/svg%3E") center bottom / 120% auto no-repeat;
}

[data-theme="dark"] .scene-work .parallax-mid {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100'%3E%3Cpath d='M0,80 Q100,60 200,75 T400,70 T600,78 T800,65 T1000,72 T1200,68 L1200,100 L0,100Z' fill='%231c1c22' opacity='0.5'/%3E%3C/svg%3E") center bottom / 120% auto no-repeat;
}

/* ═══ 6. GRAIN TEXTURE ═══ */
.scene-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: var(--c-grain-opacity);
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}

/* ═══ 7. FILM TIMELINE ═══ */
.film-timeline {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--timeline-w);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20vh 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
}

.film-timeline.visible { opacity: 1; }

.timeline-track {
  position: absolute;
  left: 50%;
  top: 15vh;
  bottom: 15vh;
  width: 1px;
  background: var(--c-border-strong);
  transform: translateX(-50%);
}

.timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--c-accent);
  transition: height 0.1s linear;
  border-radius: 1px;
}

.timeline-scenes {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  pointer-events: auto;
}

.timeline-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--c-border-strong);
  background: var(--c-canvas);
  color: var(--c-text-muted);
  font-family: var(--f-serif);
  font-size: 0.6rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease-out);
}

.timeline-dot:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.timeline-dot.active {
  border-color: var(--c-accent);
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 0 12px var(--c-accent-glow);
}

/* ═══ 8. FLOATING NAV ═══ */
.floating-nav {
  position: fixed;
  top: 0;
  left: var(--timeline-w);
  right: 0;
  height: var(--nav-h);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-md);
  background: transparent;
  transition: background var(--dur-med) var(--ease-out),
              backdrop-filter var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}

.floating-nav.scrolled {
  background: color-mix(in srgb, var(--c-canvas) 85%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 1px 0 var(--c-border);
}

.fnav-brand {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
}

.fnav-name {
  font-family: var(--f-serif);
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--c-text);
  font-feature-settings: "liga" 0;
  transition: color var(--dur-fast);
}

.fnav-handle {
  font-size: var(--fs-xs);
  color: var(--c-text-faint);
  letter-spacing: 0.02em;
}

.floating-nav.over-dark .fnav-name { color: #e8e8ec; }
.floating-nav.over-dark .fnav-handle { color: rgba(232,232,236,0.5); }
.floating-nav.over-dark .fnav-btn { color: #e8e8ec; }

.fnav-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.fnav-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: transparent;
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease-out);
}

.fnav-btn:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.lang-wrap { position: relative; }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 4px;
  min-width: 120px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 200;
}

.lang-menu[hidden] { display: none; }

.lang-menu button {
  display: block;
  width: 100%;
  padding: 6px 12px;
  border: none;
  background: transparent;
  color: var(--c-text);
  font-size: var(--fs-sm);
  text-align: left;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast);
}

.lang-menu button:hover {
  background: var(--c-accent-glow);
  color: var(--c-accent);
}

/* ═══ 9. CINEMA REVEALS ═══ */
.cinema-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--dur-cinema) var(--ease-out),
              transform var(--dur-cinema) var(--ease-out);
  transition-delay: calc(var(--reveal-delay, 0) * 1s);
}

.cinema-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.cinema-reveal[data-delay="0.1"]  { --reveal-delay: 0.1; }
.cinema-reveal[data-delay="0.15"] { --reveal-delay: 0.15; }
.cinema-reveal[data-delay="0.2"]  { --reveal-delay: 0.2; }
.cinema-reveal[data-delay="0.25"] { --reveal-delay: 0.25; }
.cinema-reveal[data-delay="0.3"]  { --reveal-delay: 0.3; }
.cinema-reveal[data-delay="0.35"] { --reveal-delay: 0.35; }
.cinema-reveal[data-delay="0.4"]  { --reveal-delay: 0.4; }
.cinema-reveal[data-delay="0.45"] { --reveal-delay: 0.45; }
.cinema-reveal[data-delay="0.5"]  { --reveal-delay: 0.5; }
.cinema-reveal[data-delay="0.6"]  { --reveal-delay: 0.6; }
.cinema-reveal[data-delay="0.7"]  { --reveal-delay: 0.7; }
.cinema-reveal[data-delay="0.8"]  { --reveal-delay: 0.8; }

.cinema-reveal.reveal-left {
  transform: translateX(-60px);
}
.cinema-reveal.reveal-left.revealed {
  transform: translateX(0);
}

.cinema-reveal.reveal-right {
  transform: translateX(60px);
}
.cinema-reveal.reveal-right.revealed {
  transform: translateX(0);
}

.cinema-reveal.reveal-scale {
  transform: scale(0.92);
}
.cinema-reveal.reveal-scale.revealed {
  transform: scale(1);
}

.cinema-reveal.reveal-fade {
  transform: none;
}

/* ═══ 10. TYPOGRAPHY ═══ */
.section-heading {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  color: var(--c-text);
  margin-bottom: var(--sp-md);
  letter-spacing: -0.01em;
}

.scene-act {
  font-family: var(--f-serif);
  font-size: var(--fs-sm);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  margin-bottom: var(--sp-xs);
}

.scene-title {
  font-family: var(--f-serif);
  font-size: var(--fs-xl);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-sm);
}

.scene-subtitle {
  font-size: var(--fs-md);
  font-weight: 300;
  line-height: 1.6;
  color: var(--c-text-muted);
  max-width: 600px;
  margin-bottom: var(--sp-lg);
}

/* ═══ 11. OVERTURE / HERO ═══ */
.overture {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.overture-act {
  font-family: var(--f-serif);
  font-size: var(--fs-xs);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--c-accent);
  margin-bottom: var(--sp-md);
}

.overture-title {
  font-family: var(--f-serif);
  font-size: var(--fs-2xl);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-md);
}

.title-line { display: block; }

.title-line.accent {
  color: var(--c-accent);
  font-size: 0.6em;
  line-height: 1.4;
}

.overture-sub {
  font-size: var(--fs-md);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(232, 232, 236, 0.7);
  max-width: 520px;
  margin: 0 auto var(--sp-md);
}

.overture-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.meta-chip {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.35em 0.9em;
  border: 1px solid rgba(232, 232, 236, 0.15);
  border-radius: var(--r-pill);
  color: rgba(232, 232, 236, 0.6);
  transition: all var(--dur-fast) var(--ease-out);
}

.meta-chip:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.scroll-cue {
  position: absolute;
  bottom: var(--sp-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(232, 232, 236, 0.35);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(232,232,236,0.3) 0%, transparent 100%);
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* Moon glow on hero */
.scene-overview::before {
  content: '';
  position: absolute;
  top: 12%;
  right: 18%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(220,225,240,0.15) 0%,
    rgba(200,210,230,0.05) 50%,
    transparent 70%);
  box-shadow: 0 0 60px 20px rgba(200,210,230,0.04);
  z-index: 1;
  pointer-events: none;
}
/* ═══ 12. DOMAIN GRID (Interstitial Scene) ═══ */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}

.domain-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  transition: all var(--dur-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.domain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}

.domain-card:hover::before {
  transform: scaleX(1);
}

.domain-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--c-accent-glow);
}

.domain-icon {
  font-size: 1.6rem;
  margin-bottom: var(--sp-xs);
  display: block;
}

.domain-name {
  font-family: var(--f-serif);
  font-size: var(--fs-md);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  margin-bottom: 0.3em;
  color: var(--c-text);
}

.domain-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* — Tag Cloud — */
.tag-cloud {
  text-align: center;
}

.tag-cloud-label {
  font-family: var(--f-serif);
  font-size: var(--fs-sm);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-text-faint);
  margin-bottom: var(--sp-sm);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tag-pill {
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 0.35em 0.85em;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  color: var(--c-text-muted);
  background: var(--c-surface);
  transition: all var(--dur-fast) var(--ease-out);
  letter-spacing: 0.02em;
}

.tag-pill:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-accent-glow);
}

/* ═══ 13. PROJECT REEL (Scene: Work) ═══ */
.project-reel {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: start;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.project-card:hover {
  border-color: var(--c-accent);
  box-shadow: 0 12px 40px var(--c-accent-glow);
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--c-accent);
  opacity: 0;
  transition: opacity var(--dur-fast);
}

.project-card:hover::after { opacity: 1; }

.project-card:nth-child(even) { direction: rtl; }
.project-card:nth-child(even) > * { direction: ltr; }

.project-number {
  font-family: var(--f-serif);
  font-size: var(--fs-3xl);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  color: var(--c-border);
  line-height: 1;
  margin-bottom: var(--sp-xs);
  transition: color var(--dur-fast);
}

.project-card:hover .project-number {
  color: var(--c-accent-glow);
}

.project-title {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  line-height: 1.2;
  margin-bottom: var(--sp-xs);
  color: var(--c-text);
}

.project-section-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-bottom: 0.3em;
  margin-top: var(--sp-sm);
}

.project-section-label:first-of-type { margin-top: 0; }

.project-text {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.65;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--sp-xs);
}

.project-stack-tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25em 0.65em;
  background: var(--c-surface-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  color: var(--c-text-muted);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: var(--sp-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
  border-radius: var(--r-pill);
  padding: 0.4em 1em;
  transition: all var(--dur-fast) var(--ease-out);
}

.project-link:hover {
  background: var(--c-accent);
  color: #fff;
}

.project-link .arrow {
  transition: transform var(--dur-fast) var(--ease-out);
}

.project-link:hover .arrow {
  transform: translateX(3px);
}

/* Project visual side */
.project-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--c-surface-alt);
  border: 1px solid var(--c-border);
}

.project-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  color: var(--c-text-faint);
  font-feature-settings: "liga" 0;
}

/* ═══ 14. TELECOM GRID (Scene: Telecom) ═══ */
.telecom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}

.telecom-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  transition: all var(--dur-fast) var(--ease-out);
  position: relative;
}

.telecom-card:hover {
  background: rgba(65, 161, 207, 0.06);
  border-color: rgba(65, 161, 207, 0.25);
  transform: translateY(-3px);
}

.telecom-icon {
  font-size: 1.5rem;
  margin-bottom: var(--sp-xs);
  display: block;
}

.telecom-name {
  font-family: var(--f-serif);
  font-size: var(--fs-md);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  color: #e0e4ea;
  margin-bottom: 0.3em;
}

.telecom-desc {
  font-size: var(--fs-sm);
  color: rgba(224, 228, 234, 0.6);
  line-height: 1.6;
}

/* — Certifications — */
.cert-stage {
  margin-top: var(--sp-lg);
}

.cert-heading {
  font-family: var(--f-serif);
  font-size: var(--fs-md);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  color: #e0e4ea;
  margin-bottom: var(--sp-sm);
}

.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.6em 1.2em;
  background: rgba(65, 161, 207, 0.08);
  border: 1px solid rgba(65, 161, 207, 0.2);
  border-radius: var(--r-pill);
  color: var(--c-accent);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: all var(--dur-fast) var(--ease-out);
}

.cert-badge:hover {
  background: rgba(65, 161, 207, 0.15);
  border-color: var(--c-accent);
}

.cert-badge-icon {
  font-size: 1.1em;
}

/* ═══ 15. SERVICES GRID (Scene: Services) ═══ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}

.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  transition: all var(--dur-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--c-accent-glow);
}

.service-icon {
  font-size: 1.5rem;
  margin-bottom: var(--sp-xs);
  display: block;
}

.service-name {
  font-family: var(--f-serif);
  font-size: var(--fs-md);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  color: var(--c-text);
  margin-bottom: 0.4em;
}

.service-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.65;
}

.service-items {
  list-style: none;
  margin-top: var(--sp-xs);
  padding: 0;
}

.service-items li {
  font-size: var(--fs-xs);
  color: var(--c-text-faint);
  padding: 0.2em 0;
  padding-left: 1em;
  position: relative;
}

.service-items li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-accent);
}

/* — Process Line — */
.process-stage {
  margin-top: var(--sp-lg);
}

.process-heading {
  font-family: var(--f-serif);
  font-size: var(--fs-md);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  color: var(--c-text);
  margin-bottom: var(--sp-md);
  text-align: center;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  position: relative;
}

.process-line::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--c-border-strong);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 var(--sp-xs);
}

.process-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-border-strong);
  background: var(--c-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-xs);
  position: relative;
  z-index: 2;
  transition: all var(--dur-fast) var(--ease-out);
}

.process-step:hover .process-dot {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-accent-glow);
}

.process-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 0.2em;
}

.process-desc {
  font-size: 0.7rem;
  color: var(--c-text-faint);
  line-height: 1.5;
}

/* ═══ 16. CONTACT (Scene: Contact) ═══ */
.contact-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.form-group label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-text-muted);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  color: var(--c-text);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 0.7em 0.9em;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b76' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8em center;
  padding-right: 2.2em;
}

/* — Buttons — */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--c-accent);
  background: transparent;
  border: 1px solid var(--c-accent);
  border-radius: var(--r-pill);
  padding: 0.7em 1.8em;
  transition: all var(--dur-fast) var(--ease-out);
  cursor: pointer;
  align-self: flex-start;
}

.btn-primary:hover {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--c-accent-glow);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* — Contact Aside — */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding-top: var(--sp-sm);
}

.aside-block h4 {
  font-family: var(--f-serif);
  font-size: var(--fs-sm);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-faint);
  margin-bottom: var(--sp-xs);
}

.link-decode {
  display: block;
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--c-accent);
  background: none;
  border: none;
  padding: 0.3em 0;
  text-align: left;
  transition: color var(--dur-fast);
}

.link-decode:hover {
  color: var(--c-accent-hover);
}

/* — Social Links — */
.social-list {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  transition: color var(--dur-fast);
  padding: 0.2em 0;
}

.social-link:hover {
  color: var(--c-accent);
}

.social-link-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* ═══ 17. CREDITS / FOOTER ═══ */
.credits-content {
  text-align: center;
  max-width: 700px;
}

.credits-statement {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: 400;
  font-feature-settings: "liga" 0;
  font-style: italic;
  line-height: 1.4;
  color: rgba(226, 226, 230, 0.5);
  margin-bottom: var(--sp-lg);
}

.credits-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  font-size: var(--fs-xs);
  color: rgba(226, 226, 230, 0.3);
  letter-spacing: 0.04em;
}

.credits-brand {
  font-family: var(--f-serif);
  font-weight: 400;
  font-feature-settings: "liga" 0;
}

/* ═══ 18. TOAST ═══ */
.toast {
  position: fixed;
  bottom: var(--sp-md);
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--c-fill-dark);
  color: var(--c-fill-light);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 0.7em 1.5em;
  border-radius: var(--r-pill);
  z-index: 500;
  opacity: 0;
  transition: all var(--dur-med) var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══ 19. SCENE TRANSITIONS (Cinematic Wipes) ═══ */
.scene-overview .scene-content {
  animation: sceneFadeIn 1.5s var(--ease-out) both;
}

@keyframes sceneFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Horizontal light sweep across dark scenes */
.scene-overview::after,
.scene-telecom::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(65, 161, 207, 0.02) 40%,
    rgba(65, 161, 207, 0.04) 50%,
    rgba(65, 161, 207, 0.02) 60%,
    transparent 100%);
  z-index: 1;
  pointer-events: none;
  animation: lightSweep 8s var(--ease-in-out) infinite;
}

@keyframes lightSweep {
  0%   { left: -60%; }
  100% { left: 120%; }
}

/* ═══ 20. RESPONSIVE ═══ */
@media (max-width: 960px) {
  :root {
    --timeline-w: 0px;
  }

  .film-timeline { display: none; }

  .floating-nav {
    left: 0;
    padding: 0 var(--sp-sm);
  }

  .fnav-handle { display: none; }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(even) { direction: ltr; }

  .project-visual { display: none; }

  .contact-split {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .process-line {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-sm);
  }

  .process-line::before { display: none; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .overture-title {
    font-size: var(--fs-xl);
  }

  .scene {
    padding: var(--sp-lg) var(--sp-sm);
  }

  .scene-work,
  .scene-services {
    padding-top: var(--sp-xl);
    padding-bottom: var(--sp-xl);
  }
}

@media (max-width: 600px) {
  .domain-grid {
    grid-template-columns: 1fr;
  }

  .telecom-grid {
    grid-template-columns: 1fr;
  }

  .cert-row {
    flex-direction: column;
  }

  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .overture-meta {
    flex-direction: column;
    align-items: center;
  }

  .credits-bar {
    flex-direction: column;
    gap: var(--sp-xs);
  }

  .scene-telecom::after,
  .scene-overview::after {
    display: none;
  }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .scene { min-height: auto; padding: var(--sp-lg) var(--sp-md); }
  .scroll-cue { display: none; }
  .overture-title { font-size: var(--fs-xl); }
}

/* ═══ 21. RTL SUPPORT ═══ */
[dir="rtl"] .fnav-brand {
  flex-direction: row-reverse;
}

[dir="rtl"] .fnav-controls {
  flex-direction: row-reverse;
}

[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-menu button {
  text-align: right;
}

[dir="rtl"] .project-card:nth-child(even) { direction: ltr; }
[dir="rtl"] .project-card:nth-child(even) > * { direction: rtl; }

[dir="rtl"] .project-card::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .project-link .arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .project-link:hover .arrow {
  transform: scaleX(-1) translateX(3px);
}

[dir="rtl"] .service-items li {
  padding-left: 0;
  padding-right: 1em;
}

[dir="rtl"] .service-items li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .link-decode {
  text-align: right;
}

[dir="rtl"] .service-card::before {
  transform-origin: right;
}

[dir="rtl"] .domain-card::before {
  transform-origin: right;
}

[dir="rtl"] .form-group select {
  background-position: left 0.8em center;
  padding-right: 0.9em;
  padding-left: 2.2em;
}

[dir="rtl"] .film-timeline {
  left: auto;
  right: 0;
}

[dir="rtl"] .floating-nav {
  left: 0;
  right: var(--timeline-w);
}

/* ═══ 22. REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .cinema-reveal {
    opacity: 1;
    transform: none;
  }

  .parallax-layer {
    transform: none !important;
  }

  .scroll-cue-line { animation: none; opacity: 0.5; }
}
/* ═══ 23. SVG ILLUSTRATIONS ═══ */
.illustration {
  color: var(--c-accent);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-sm);
}

.illustration svg {
  width: 100%;
  height: auto;
  max-height: 140px;
}

.illustration-card {
  max-width: 180px;
  margin: 0 auto var(--sp-sm);
}

.illustration-sm {
  max-width: 100px;
  margin: 0 auto var(--sp-xs);
}

.illustration-sm svg {
  max-height: 75px;
}

.illustration-project {
  max-width: 100%;
  margin: 0;
}

.illustration-project svg {
  max-height: 220px;
  width: 100%;
}

/* Dark scene illustrations get lighter color */
.scene-telecom .illustration,
.scene-overview .illustration {
  color: var(--c-accent);
  opacity: 0.85;
}

/* Subtle hover glow on card illustrations */
.domain-card:hover .illustration,
.telecom-card:hover .illustration,
.service-card:hover .illustration {
  filter: drop-shadow(0 0 8px var(--c-accent-glow));
  transition: filter var(--dur-fast) var(--ease-out);
}

/* Hero scene SVG backgrounds */
.hero-svg-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-svg-bg svg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  min-width: 1200px;
  height: auto;
  opacity: 0.12;
}

[data-theme="dark"] .hero-svg-bg svg {
  opacity: 0.08;
}

.scene-telecom .hero-svg-bg svg {
  opacity: 0.15;
}
/* ═══ 24. HERO SCENE SVG ILLUSTRATIONS ═══ */
.hero-ill {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  min-width: 1000px;
  max-width: 1800px;
  height: auto;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* Per-scene sizing and positioning */
.scene-overview .hero-ill {
  bottom: -5%;
  opacity: 0.18;
}

.scene-telecom .hero-ill {
  bottom: -8%;
  opacity: 0.2;
}

.scene-work .hero-ill {
  bottom: -3%;
  opacity: 0.12;
}

.scene-services .hero-ill {
  bottom: 0;
  opacity: 0.06;
  width: 90%;
}

.scene-contact .hero-ill {
  bottom: -5%;
  opacity: 0.1;
}

/* Dark mode adjustments */
[data-theme="dark"] .scene-overview .hero-ill { opacity: 0.12; }
[data-theme="dark"] .scene-telecom .hero-ill  { opacity: 0.15; }
[data-theme="dark"] .scene-work .hero-ill      { opacity: 0.08; }
[data-theme="dark"] .scene-services .hero-ill  { opacity: 0.04; }
[data-theme="dark"] .scene-contact .hero-ill   { opacity: 0.07; }

/* Hero SVG color overrides for dark scenes */
.scene-overview .hero-ill { color: #8ab4d0; }
.scene-telecom .hero-ill  { color: #5eaed6; }
.scene-work .hero-ill     { color: var(--c-accent); }
.scene-services .hero-ill { color: var(--c-text-faint); }
.scene-contact .hero-ill  { color: var(--c-accent); }

/* Parallax depth for hero illustrations */
.hero-ill[data-depth="far"]  { transform: translateX(-50%) scale(1.1); }
.hero-ill[data-depth="mid"]  { transform: translateX(-50%) scale(1.05); }
