/* =============================================
   EbolvEx — Premium Portfolio Styles
   ============================================= */

:root {
  /* Backgrounds — pure black depth */
  --bg-primary:    #000000;
  --bg-secondary:  #0a0a0a;
  --bg-tertiary:   #111111;
  --bg-glass:      rgba(0, 0, 0, 0.72);

  /* Brand — blood red + white */
  --accent-blue:         #d42b2b;
  --accent-blue-light:   #ff4444;
  --accent-blue-dark:    #b82222;
  --accent-blue-glow:    rgba(212, 43, 43, 0.22);
  --accent-orange:       var(--accent-blue);
  --accent-orange-glow:  var(--accent-blue-glow);
  --accent-cyan:         #ffffff;
  --accent-cyan-glow:    rgba(255, 255, 255, 0.08);

  /* Text hierarchy */
  --text-primary:   #ffffff;
  --text-secondary: #d1d1d1;
  --text-muted:     #9a9a9a;

  /* Borders & dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow:   rgba(212, 43, 43, 0.45);

  /* Section rhythm */
  --section-y:         100px;
  --section-y-mobile:  60px;
  --surface-a:         #0d0d0d;
  --surface-b:         #111111;
  --accent-red:        #e03030;

  /* Gradients — minimal, no purple */
  --gradient-hero:   #000000;
  --gradient-card:   linear-gradient(145deg, #0a0a0a, #111111);
  --gradient-orange: linear-gradient(135deg, #b82222, #d42b2b);
  --gradient-text:   linear-gradient(90deg, #ffffff, #d42b2b);

  /* Compatibility aliases */
  --bg-void:         var(--bg-primary);
  --bg-deep:         var(--bg-secondary);
  --bg-surface:      var(--bg-tertiary);
  --bg-raised:       #141414;
  --bg-card:         var(--bg-secondary);
  --bg-elevated:     var(--bg-tertiary);
  --text-white:      var(--text-primary);
  --text-body:       var(--text-secondary);
  --border-dark:     var(--border-subtle);
  --red-primary:     var(--accent-blue);
  --red-hot:         var(--accent-blue-light);
  --red-deep:        var(--accent-blue-dark);
  --red-glow:        var(--accent-blue-glow);
  --red-glow-strong: rgba(212, 43, 43, 0.35);
  --red-subtle:      rgba(212, 43, 43, 0.08);
  --border-red:      var(--border-glow);
  --border-red-hot:  rgba(212, 43, 43, 0.7);
  --gradient-red:    var(--gradient-orange);
  --gradient-bg:     var(--gradient-hero);
  --accent-primary:  var(--accent-blue);
  --accent-secondary: var(--accent-blue-light);
  --copper:          var(--accent-blue);
  --copper-light:    var(--accent-blue-light);
  --copper-dark:     var(--accent-blue-dark);
  --ember:           var(--accent-blue);
  --ember-glow:      var(--accent-blue-glow);
  --silver:          var(--text-secondary);
  --silver-light:    var(--text-primary);
  --silver-muted:    var(--text-muted);
  --border:          var(--border-subtle);
  --glow-copper:     var(--accent-orange-glow);
  --glow-white:      rgba(255, 255, 255, 0.06);

  --font-heading: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Bebas Neue', sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1.0625rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;

  /* Leading & tracking */
  --leading-tight:  1.15;
  --leading-snug:   1.4;
  --leading-body:   1.65;
  --leading-relaxed: 1.75;
  --tracking-tight:  -0.02em;
  --tracking-normal: -0.011em;
  --tracking-wide:   0.04em;
  --tracking-wider:  0.12em;
  --tracking-widest: 0.22em;

  --radius:         0;
  --radius-sm:      0;
  --radius-md:      2px;
  --radius-lg:      4px;
  --radius-xl:      8px;
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.87, 0, 0.13, 1);
  --duration-fast:  200ms;
  --duration-mid:   500ms;
  --duration-slow:  900ms;
  --transition:     0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-height: 92px;
  --container: 1200px;
  --phoenix-black: #000000;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: rgba(138, 138, 144, 0.45) var(--bg-primary);
}

html::-webkit-scrollbar {
  width: 6px;
}

html::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(212, 43, 43, 0.35), rgba(212, 43, 43, 0.55));
  border-radius: 100px;
}

html::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 43, 43, 0.65);
}

html::-webkit-scrollbar-corner {
  background: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-normal);
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.03em;
  line-height: 1.08;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

p {
  color: var(--text-secondary);
  font-weight: 400;
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-normal);
}

.highlight-orange,
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(212, 43, 43, 0.4);
}

.section-title .highlight-cyan,
.philosophy__headline-main .highlight-cyan {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.philosophy__headline-main .highlight-cyan {
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  background-clip: unset;
  color: var(--text-primary);
  text-shadow: none;
}

.section-separator {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.section-separator__accent {
  display: block;
  width: 60px;
  height: 2px;
  margin: 0 auto;
  background: var(--accent-red);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity 0.6s ease;
  position: relative;
  z-index: 2;
}

.section-separator.is-drawn .section-separator__accent {
  transform: scaleX(1);
  opacity: 1;
}

.section-separator__svg {
  display: block;
  width: 100%;
  height: clamp(40px, 5vw, 60px);
}

.section-separator__shape {
  fill: var(--surface-a);
}

.section-separator--fill-a .section-separator__shape {
  fill: var(--surface-a);
}

.section-separator--fill-b .section-separator__shape {
  fill: var(--surface-b);
}

.section-separator--fill-black .section-separator__shape {
  fill: #000000;
}

/* Fade from previous section into separator */
.section-separator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  transform: translateY(-100%);
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.65));
  pointer-events: none;
  z-index: 1;
}

.hero + .section-separator::before {
  display: none;
}

/* Unified section spacing + alternating surfaces */
.philosophy,
.about,
.services,
.styles-showcase,
.portfolio,
.process,
.testimonials,
.onboarding,
.cta {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  border-top: 1px solid rgba(224, 48, 48, 0.3);
}

.philosophy,
.services,
.portfolio,
.testimonials,
.cta {
  background-color: var(--surface-a);
}

.about,
.styles-showcase,
.process,
.onboarding {
  background-color: var(--surface-b);
}

@media (max-width: 768px) {
  .philosophy,
  .about,
  .services,
  .styles-showcase,
  .portfolio,
  .process,
  .testimonials,
  .onboarding,
  .cta {
    padding-top: var(--section-y-mobile);
    padding-bottom: var(--section-y-mobile);
  }
}

/* Legacy alias */
.section-divider {
  display: none;
}

/* ---- Scroll Progress ---- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient-orange);
  z-index: 9999;
  box-shadow: 0 0 10px var(--accent-blue-glow);
  transition: width 0.1s linear;
  pointer-events: none;
}

html.smooth-scroll {
  scroll-behavior: auto;
}

body.loading {
  overflow: hidden;
}

body.cursor-active {
  cursor: crosshair;
}

body.cursor-active a,
body.cursor-active button,
body.cursor-active .btn,
body.cursor-active [role="button"],
body.cursor-active input[type="submit"],
body.cursor-active label[for],
body.cursor-active select {
  cursor: crosshair;
}

@media (max-width: 768px) {
  body.cursor-active,
  body.cursor-active a,
  body.cursor-active button,
  body.cursor-active .btn,
  body.cursor-active [role="button"],
  body.cursor-active input[type="submit"],
  body.cursor-active label[for],
  body.cursor-active select {
    cursor: auto;
  }
}

/* Subtle background particles */
.particles-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@keyframes particleFloat {
  from { transform: translateY(100vh); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  to { transform: translateY(-10vh); opacity: 0; }
}

/* ---- Page Loader ---- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(0 0 0 0);
  transition: visibility 0s linear 0.9s;
}

.page-loader.is-revealing {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-loader.hidden {
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.loader-counter {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.loader-counter__value {
  display: inline-block;
  min-width: 2ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.loader-counter__symbol {
  font-size: 0.55em;
  color: var(--accent-primary);
}

.loader-logo-wrap {
  position: relative;
  height: 280px;
  width: auto;
}

.loader-logo-wrap .logo-img {
  opacity: 0;
  animation: logoFadeIn 1s ease 0.2s forwards;
  filter: drop-shadow(0 0 16px rgba(212, 43, 43, 0.1));
}

@keyframes logoFadeIn {
  0% { opacity: 0; transform: scale(0.85); filter: brightness(2); }
  60% { filter: brightness(1.4); }
  100% { opacity: 1; transform: scale(1); filter: brightness(1); }
}

/* ---- Logo & Ember Canvas ---- */
.logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.logo-img {
  position: relative;
  z-index: 2;
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 0 18px rgba(212, 43, 43, 0.12));
}

.logo-wrap--philosophy .logo-img,
.logo-wrap--hero .logo-img,
.logo-wrap--nav .logo-img,
.logo-wrap--footer .logo-img {
  filter: drop-shadow(0 0 16px rgba(212, 43, 43, 0.1));
}


.ember-canvas {
  position: absolute;
  inset: -25% -15%;
  width: 130%;
  height: 150%;
  z-index: 3;
  pointer-events: none;
}

.ember-canvas--hero {
  inset: auto;
  left: 50%;
  top: 50%;
  width: 130%;
  height: 130%;
  transform: translate(-50%, -50%);
}

.logo-wrap--hero {
  height: clamp(280px, 42vw, 460px);
  padding: 0;
  margin-inline: auto;
  overflow: visible;
}

.logo-wrap--hero .logo-img {
  display: block;
  margin-inline: auto;
  object-position: center center;
}

/* KITT scanner — below EBOLVEX on logo */
.kitt-scanner {
  position: relative;
  width: clamp(180px, 50vw, 260px);
  height: 1px;
  margin: 10px auto 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0;
  overflow: hidden;
}

.kitt-scanner--logo {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(140px, 54%, 280px);
  height: 1px;
  margin: 0;
  z-index: 6;
  overflow: visible;
  background: transparent;
  pointer-events: none;
}

.kitt-scanner--logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 12%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(255, 255, 255, 0.06) 88%,
    transparent 100%
  );
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.04);
}

.kitt-scanner--logo::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 8px;
  transform: translateY(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 72%
  );
  pointer-events: none;
}

.kitt-beam {
  position: absolute;
  top: 50%;
  left: -48px;
  width: 52px;
  height: 1px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 18%,
    rgba(255, 255, 255, 0.75) 42%,
    #ffffff 50%,
    rgba(255, 255, 255, 0.75) 58%,
    rgba(255, 255, 255, 0.12) 82%,
    transparent 100%
  );
  box-shadow:
    0 0 1px 0 rgba(255, 255, 255, 1),
    0 0 4px 0 rgba(255, 255, 255, 0.95),
    0 0 10px 1px rgba(255, 255, 255, 0.55),
    0 0 22px 2px rgba(186, 210, 255, 0.35),
    0 0 36px 4px rgba(212, 43, 43, 0.18);
  animation: kitt-sweep 2s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  will-change: left, opacity;
}

.kitt-beam::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: #ffffff;
  box-shadow:
    0 0 3px 0 #ffffff,
    0 0 8px 1px rgba(255, 255, 255, 0.85);
}

.kitt-beam::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 6px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(200, 220, 255, 0.2) 45%,
    transparent 72%
  );
  pointer-events: none;
}

@keyframes kitt-sweep {
  0% {
    left: -48px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.logo-wrap--nav {
  height: auto;
  padding: 8px 6px 10px;
  flex-shrink: 0;
}

.logo-wrap--nav .logo-img,
.logo-img--nav {
  display: block;
  height: auto;
  max-height: calc(var(--nav-height) - 22px);
  width: auto;
  max-width: clamp(76px, 16vw, 118px);
  object-fit: contain;
  object-position: center center;
}

.ember-canvas--nav {
  inset: -6% -8%;
  width: 116%;
  height: 116%;
}

.logo-wrap--philosophy {
  height: clamp(340px, 38vw, 520px);
  padding: 0;
}

.logo-wrap--philosophy .logo-img--philosophy {
  filter: drop-shadow(0 0 30px rgba(224, 48, 48, 0.3));
  transition: filter 0.45s ease;
  animation: philosophy-logo-breathe 4s ease-in-out infinite;
  transform-origin: center center;
}

.logo-wrap--philosophy:hover .logo-img--philosophy {
  filter: drop-shadow(0 0 30px rgba(224, 48, 48, 0.6));
}

@keyframes philosophy-logo-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-wrap--philosophy .logo-img--philosophy {
    animation: none;
  }
}

.ember-canvas--philosophy {
  inset: auto;
  left: 50%;
  top: 50%;
  width: 150%;
  height: 150%;
  transform: translate(-50%, -50%);
}

.logo-wrap--footer {
  height: 72px;
  padding: 0;
}

@media (max-width: 768px) {
  :root {
    --nav-height: 88px;
  }

  .logo-wrap--nav {
    padding: 7px 4px 9px;
  }

  .logo-wrap--nav .logo-img,
  .logo-img--nav {
    max-height: calc(var(--nav-height) - 20px);
    max-width: clamp(68px, 22vw, 96px);
  }

  .logo-wrap--hero {
    height: clamp(220px, 55vw, 320px);
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, box-shadow 0.3s ease, background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before { opacity: 1; }

.btn--copper,
.btn--primary,
.btn-primary,
button[type="submit"].btn {
  background: var(--gradient-orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(212, 43, 43, 0.25);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  isolation: isolate;
  z-index: 0;
}

.btn--fire {
  overflow: visible;
  animation: btnFireGlow 2.8s ease-in-out infinite;
}

.btn--fire:hover,
.btn--fire:focus-visible,
.btn--fire.is-fire-active {
  animation: btnFireGlow 1s ease-in-out infinite;
}

.btn-fire-canvas {
  position: absolute;
  left: -10px;
  right: -10px;
  top: 42%;
  bottom: -16px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.45;
  mix-blend-mode: screen;
  transition: opacity 0.35s ease;
}

.btn--fire:hover .btn-fire-canvas,
.btn--fire:focus-visible .btn-fire-canvas,
.btn--fire.is-fire-active .btn-fire-canvas {
  opacity: 1;
}

@keyframes btnFireGlow {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(212, 43, 43, 0.28),
      0 0 0 1px rgba(255, 100, 50, 0.12),
      inset 0 -8px 16px rgba(255, 80, 40, 0.08);
  }
  40% {
    box-shadow:
      0 6px 28px rgba(212, 43, 43, 0.48),
      0 -6px 22px rgba(255, 90, 40, 0.28),
      0 0 0 1px rgba(255, 130, 60, 0.22),
      inset 0 -10px 20px rgba(255, 100, 50, 0.12);
  }
  70% {
    box-shadow:
      0 5px 24px rgba(255, 68, 68, 0.38),
      0 -3px 16px rgba(255, 120, 60, 0.2),
      0 0 0 1px rgba(255, 110, 55, 0.18),
      inset 0 -6px 14px rgba(255, 70, 45, 0.1);
  }
}

@keyframes btnGhostFire {
  0%, 100% {
    box-shadow:
      0 0 0 rgba(212, 43, 43, 0),
      inset 0 0 0 rgba(255, 80, 40, 0);
  }
  50% {
    box-shadow:
      0 0 22px rgba(212, 43, 43, 0.22),
      inset 0 -6px 14px rgba(255, 80, 40, 0.08);
  }
}

.btn--copper::after,
.btn--primary::after,
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.btn--copper:hover,
.btn--primary:hover,
.btn-primary:hover {
  transform: translateY(-3px);
}

.btn--copper:hover::after,
.btn--primary:hover::after,
.btn-primary:hover::after {
  left: 140%;
}

.btn--copper:active,
.btn--primary:active,
.btn-primary:active {
  transform: translateY(-1px);
}

.btn--ghost,
.btn-secondary {
  border: 1px solid var(--border-dark);
  color: var(--text-white);
  background: transparent;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  backdrop-filter: none;
}

.btn--ghost:hover,
.btn-secondary:hover {
  border-color: rgba(255, 100, 60, 0.55);
  color: var(--text-primary);
  background: rgba(212, 43, 43, 0.08);
  animation: btnGhostFire 1.4s ease-in-out infinite;
  transform: translateY(-2px);
}

.btn--sm { padding: 10px 22px; font-size: 0.85rem; }
.btn--lg { padding: 18px 40px; font-size: 1.05rem; }

/* ---- Typography ---- */
.luxury-label,
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.luxury-label {
  color: var(--silver);
}

.section-eyebrow {
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.section-eyebrow.luxury-label {
  color: var(--silver);
  font-weight: 500;
  letter-spacing: 0.24em;
}

.section-header::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  margin: 28px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.35;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  transform: translateY(48px) scale(0.96);
}

.reveal-scale.visible {
  transform: translateY(0) scale(1);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-left.visible {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-right.visible {
  transform: translateX(0);
}

.reveal-stagger > .reveal {
  transition-delay: calc(var(--stagger, 0) * 90ms);
}

.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.15em);
  animation: wordSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--word-delay, 0ms);
  animation-play-state: paused;
}

body.loaded .word-reveal {
  animation-play-state: running;
}

@keyframes wordSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-gradient.word-reveal,
.highlight-orange.word-reveal,
.highlight-cyan.word-reveal {
  -webkit-background-clip: text;
  background-clip: text;
}

.highlight-cyan.word-reveal {
  -webkit-text-fill-color: currentColor;
  color: var(--accent-cyan);
}

body.loaded .hero .reveal {
  opacity: 0;
  transform: translateY(30px);
}

body.loaded .hero .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: background 0.5s var(--ease-out), border-color 0.5s ease, box-shadow 0.5s ease;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.96);
  border-bottom-color: rgba(212, 43, 43, 0.35);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  flex-shrink: 0;
  padding-block: 2px;
}

.philosophy__brand,
.brand-wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-light);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-blue);
  transition: width var(--transition-fast);
}

.nav__links a:not(.btn):hover {
  color: var(--text-primary);
}

.nav__links a:not(.btn):hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 10;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--silver);
  transition: var(--transition-fast);
  transform-origin: center;
}

.nav__toggle.active span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.nav__toggle.active span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }

  .nav__links.open {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav__links a:not(.btn) {
    font-size: 1.2rem;
  }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: transparent;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
  background: transparent;
}

.hero__video {
  position: absolute;
  inset: -3px;
  z-index: 0;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  object-fit: cover;
  object-position: center 42%;
  transform: none;
  background: transparent;
  filter: none;
  opacity: 1;
  box-shadow: none;
}

@media (max-width: 768px) {
  .hero__video {
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  .hero__video.is-ready {
    opacity: 1;
  }
}

.hero__layout {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
  padding-top: var(--nav-height);
  background: transparent;
}

.hero__phoenix-space {
  flex: 1 1 auto;
  min-height: min(52vh, calc(100dvh - var(--nav-height) - 300px));
  pointer-events: none;
}

.hero__panel {
  flex-shrink: 0;
  width: 100%;
  padding-bottom: clamp(1.25rem, 3vh, 2rem);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero__panel-inner,
.hero__trust {
  position: relative;
  z-index: 1;
}

.hero__panel-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 8px clamp(0.5rem, 2vh, 1rem);
}

.hero__content,
.hero-content {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95), 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  color: var(--text-primary);
  text-transform: uppercase;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.85);
  -webkit-font-smoothing: antialiased;
}

.hero__title-line {
  display: inline;
}

.hero__title-sep {
  display: inline-block;
  margin: 0 0.28em;
  color: var(--text-primary);
  opacity: 1;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.hero__title-line--accent {
  display: block;
  margin-top: 0.12em;
  color: var(--accent-blue);
  text-shadow: 0 0 32px rgba(212, 43, 43, 0.4);
}

.hero-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.8em);
  animation: letterReveal 0.65s var(--ease-out) forwards;
  animation-delay: var(--letter-delay, 0ms);
}

@keyframes letterReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__subtitle {
  font-size: clamp(var(--text-sm), 1.8vw, var(--text-base));
  font-weight: 400;
  color: #e8e8e8;
  max-width: 480px;
  margin: 0 auto 20px;
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-normal);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  text-shadow:
    0 0 24px rgba(0, 0, 0, 0.95),
    0 2px 18px rgba(0, 0, 0, 0.95),
    0 1px 2px rgba(0, 0, 0, 0.85);
}

.hero__subtitle.visible,
body.loaded .hero__subtitle {
  opacity: 1;
  transform: translateY(0);
}

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero__stats {
  display: grid;
  grid-template-columns: minmax(120px, 180px);
  justify-content: center;
  gap: clamp(2rem, 8vw, 5rem);
  margin-bottom: 20px;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.hero-stat {
  text-align: center;
}

.hero-stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--text-primary);
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-stat__suffix {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--accent-blue);
}

.hero-stat__label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85);
}

.hero__trust {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--accent-blue);
  backdrop-filter: none;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  text-align: left;
  flex: 1;
}

.trust-pill__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  background: var(--red-subtle);
  border: 1px solid var(--border-glow);
}

.trust-pill__icon svg {
  width: 20px;
  height: 20px;
}

.trust-pill__text strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  line-height: 1.3;
}

.trust-pill__text span {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
  max-width: 240px;
}

.trust-pill__divider {
  width: 1px;
  align-self: stretch;
  margin: 12px 0;
  background: var(--border-subtle);
}

.hero__scroll {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.hero__scroll span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

@media (max-width: 900px) {
  .hero__video {
    object-position: center 40%;
  }

  .hero__phoenix-space {
    min-height: min(46vh, calc(100dvh - var(--nav-height) - 340px));
  }

  .hero__trust {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-pill {
    padding: 16px 18px;
  }

  .trust-pill__text span {
    max-width: none;
  }

  .trust-pill__divider {
    width: auto;
    height: 1px;
    margin: 0 12px;
  }
}

@media (max-width: 600px) {
  .hero__trust {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }
}

/* ---- Modernize Andorra Showcase ---- */
.modernize-showcase {
  background: var(--surface-a);
}

.modernize-header {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(108px, 14vw, 148px) 0 clamp(52px, 7vw, 80px);
  text-align: center;
  background:
    radial-gradient(ellipse 100% 120% at 50% 0%, rgba(212, 43, 43, 0.14), transparent 62%),
    radial-gradient(ellipse 140% 80% at 50% 100%, rgba(224, 48, 48, 0.06), transparent 55%),
    linear-gradient(to bottom, #050505 0%, #0a0a0a 48%, #050505 100%);
  border-bottom: 1px solid rgba(212, 43, 43, 0.28);
  overflow: hidden;
  isolation: isolate;
}

.modernize-header__inner {
  position: relative;
  z-index: 3;
}

.modernize-header__content {
  position: relative;
  z-index: 3;
}

.modernize-growth-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.modernize-growth-chart.is-fading {
  opacity: 0.35;
}

.modernize-growth-chart:not(.is-fading) {
  opacity: 0.72;
}

.modernize-growth-chart__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.modernize-growth-chart__line {
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#modernizeGrowthGlow);
}

.modernize-growth-chart__dot {
  fill: #e03030;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 2px;
  filter: drop-shadow(0 0 6px rgba(224, 48, 48, 0.85));
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
}

.modernize-growth-chart.is-dots-visible .modernize-growth-chart__dot {
  animation: growthChartDotPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: var(--dot-delay, 0ms);
}

.modernize-growth-chart__label {
  fill: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.8));
  opacity: 0;
  transform: scale(0.92);
  transform-box: fill-box;
  transform-origin: left center;
}

.modernize-growth-chart.is-dots-visible .modernize-growth-chart__label {
  animation: growthChartLabelIn 0.4s ease forwards;
  animation-delay: calc(var(--dot-delay, 0ms) + 60ms);
}

.modernize-growth-chart.is-complete .modernize-growth-chart__dot,
.modernize-growth-chart.is-complete .modernize-growth-chart__label {
  opacity: 1;
  transform: scale(1);
}

@keyframes growthChartDotPop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes growthChartLabelIn {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .modernize-growth-chart {
    opacity: 0.55;
    transition: none;
  }

  .modernize-growth-chart__dot {
    opacity: 1;
    transform: scale(1);
  }

  .modernize-growth-chart__label {
    opacity: 0.7;
    transform: none;
  }
}

.modernize-header .section-eyebrow {
  font-size: 0.8125rem;
  color: var(--text-primary);
  opacity: 0.9;
}

.modernize-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 20px 0 24px;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.modernize-header__accent {
  color: var(--accent-blue);
  text-shadow: 0 0 36px rgba(212, 43, 43, 0.55);
}

.modernize-header__lead {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(var(--text-md), 2.2vw, 1.35rem);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-normal);
  color: var(--text-primary);
  opacity: 0.92;
}

.modernize-banner {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: var(--bg-primary);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.modernize-banner__statement {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  text-align: center;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.modernize-banner__statement.is-on-first-video.is-visible {
  opacity: 1;
  visibility: visible;
}

.modernize-statement {
  position: relative;
  margin: 0;
  padding: clamp(20px, 4vw, 36px) clamp(24px, 5vw, 48px);
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28em;
  max-width: min(920px, 100%);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.modernize-statement__line {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.95),
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 2px 8px rgba(0, 0, 0, 0.85),
    0 6px 24px rgba(0, 0, 0, 0.65);
}

.modernize-banner__statement.is-visible .modernize-statement__line {
  animation: modernizeStatementIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modernize-statement__line--1 {
  font-size: clamp(22px, 3.2vw, 32px);
  letter-spacing: 0.18em;
  color: #ffffff;
  animation-delay: 0.5s;
}

.modernize-statement__line--2 {
  font-size: clamp(52px, 8.5vw, 80px);
  letter-spacing: 0.12em;
  color: #e83232;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.45);
  paint-order: stroke fill;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 1),
    0 1px 0 rgba(0, 0, 0, 1),
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 14px rgba(0, 0, 0, 0.85);
  animation-delay: 1s;
}

.modernize-statement__line--3 {
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: 0.14em;
  color: #ffffff;
  animation-delay: 1.5s;
}

.modernize-banner__statement.is-visible .modernize-statement__line--3 {
  animation-name: modernizeStatementInMuted;
}

@keyframes modernizeStatementIn {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes modernizeStatementInMuted {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 0.96;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 640px) {
  .modernize-statement {
    padding: 16px 18px;
    gap: 0.22em;
  }
}

.modernize-banner__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(320px, 48vw, 580px);
  max-height: 85vh;
  background: var(--bg-primary);
  overflow: hidden;
  overflow: clip;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: aspect-ratio 0.85s var(--ease-out), min-height 0.85s var(--ease-out);
}

.modernize-banner__media::-webkit-scrollbar {
  display: none;
}

.modernize-banner__video,
.video-cinematic__layer {
  position: absolute;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  display: block;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  z-index: 0;
  will-change: transform, opacity;
  transition: object-position 0.85s var(--ease-out);
}

.modernize-banner__video[data-sequence="0"] {
  object-position: center center;
}

.modernize-banner__video[data-sequence="1"] {
  object-position: center 42%;
}

.modernize-banner__video[data-sequence="2"] {
  object-position: center center;
}

.video-cinematic.is-transitioning .video-cinematic__layer.is-incoming,
.modernize-showcase.is-transitioning .modernize-banner__video.is-incoming {
  z-index: 2;
  animation: videoCrossfadeIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.video-cinematic.is-transitioning .video-cinematic__layer.is-outgoing,
.modernize-showcase.is-transitioning .modernize-banner__video.is-outgoing {
  z-index: 3;
  animation: videoCrossfadeOut 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes videoCrossfadeIn {
  0% {
    opacity: 0;
    transform: scale(1.018);
  }
  100% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes videoCrossfadeOut {
  0% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: 0;
    transform: scale(1.028);
  }
}

/* Epic cut: vídeo 1 → vídeo 2 */
.video-cinematic.is-transition-epic.is-transitioning .video-cinematic__layer.is-incoming,
.modernize-showcase.is-transition-epic.is-transitioning .modernize-banner__video.is-incoming {
  z-index: 2;
  animation: videoEpicIn 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.video-cinematic.is-transition-epic.is-transitioning .video-cinematic__layer.is-outgoing,
.modernize-showcase.is-transition-epic.is-transitioning .modernize-banner__video.is-outgoing {
  z-index: 3;
  animation: videoEpicOut 1.3s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes videoEpicIn {
  0% {
    opacity: 0;
    filter: brightness(2.6) contrast(1.12) blur(10px);
    transform: scale(1.12);
  }
  22% {
    opacity: 0.55;
    filter: brightness(1.9) blur(4px);
    transform: scale(1.07);
  }
  48% {
    opacity: 0.92;
    filter: brightness(1.25) blur(1px);
    transform: scale(1.03);
  }
  100% {
    opacity: 1;
    filter: brightness(1) contrast(1) blur(0);
    transform: scale(1);
  }
}

@keyframes videoEpicOut {
  0% {
    opacity: 1;
    filter: brightness(1) blur(0);
    transform: scale(1);
  }
  30% {
    opacity: 0.88;
    filter: brightness(0.75) contrast(1.1) blur(1px);
    transform: scale(1.07);
  }
  100% {
    opacity: 0;
    filter: brightness(0.12) contrast(1.25) blur(8px);
    transform: scale(1.14);
  }
}

.video-cinematic.is-transition-epic.is-transitioning .modernize-banner__grain,
.modernize-showcase.is-transition-epic.is-transitioning .modernize-banner__grain {
  opacity: 0.2;
  animation: bannerGrainShift 0.35s steps(4) infinite;
}

.video-cinematic.is-transition-epic.is-transitioning .modernize-banner,
.modernize-showcase.is-transition-epic.is-transitioning .modernize-banner {
  animation: bannerEpicPulse 1.3s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.video-cinematic.is-transition-epic.is-transitioning .modernize-header__title,
.modernize-showcase.is-transition-epic.is-transitioning .modernize-header__title {
  animation: bannerTitleEpic 1.3s ease-out;
}

.video-cinematic.is-transition-epic .modernize-banner__flash.is-playing,
.modernize-showcase.is-transition-epic .modernize-banner__flash.is-playing {
  animation: bannerFlashEpic 1.3s ease-out forwards;
}

.video-cinematic.is-transition-epic .modernize-banner__sweep.is-playing,
.modernize-showcase.is-transition-epic .modernize-banner__sweep.is-playing {
  animation: bannerSweepEpic 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes bannerEpicPulse {
  0%, 100% { transform: scale(1); }
  18% { transform: scale(1.012); }
  45% { transform: scale(1.004); }
}

@keyframes bannerTitleEpic {
  0%, 100% { opacity: 1; letter-spacing: 0.04em; transform: scale(1); }
  20% { opacity: 0.5; letter-spacing: 0.1em; transform: scale(0.96); }
  55% { opacity: 1; letter-spacing: 0.02em; transform: scale(1.03); }
}

@keyframes bannerFlashEpic {
  0% { opacity: 0; }
  14% { opacity: 0.9; }
  32% { opacity: 0.35; }
  100% { opacity: 0; }
}

@keyframes bannerSweepEpic {
  0% {
    opacity: 0;
    transform: translateX(-140%) skewX(-16deg);
  }
  12% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translateX(140%) skewX(-16deg);
  }
}

@keyframes bannerCrossfadeIn {
  0% {
    opacity: 0;
    transform: scale(1.018);
  }
  100% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes bannerCrossfadeOut {
  0% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: 0;
    transform: scale(1.028);
  }
}

.modernize-banner__video.is-active,
.video-cinematic__layer.is-active {
  opacity: 1;
  z-index: 1;
  filter: brightness(1.05) saturate(1.06);
}

.modernize-banner__video.is-preloading,
.video-cinematic__layer.is-preloading {
  opacity: 0;
  z-index: 2;
}

.modernize-banner__vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 58%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, 0.22) 100%);
}

.modernize-banner__grain {
  position: absolute;
  inset: -40%;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  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)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  transition: opacity 0.35s ease;
}

.modernize-showcase.is-transitioning .modernize-banner__grain,
.video-cinematic.is-transitioning .video-cinematic__grain {
  opacity: 0.06;
}

.modernize-banner__letterbox {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}

.modernize-banner__letterbox-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 0;
  background: #000;
  transition: height 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.modernize-banner__letterbox-bar--top { top: 0; }
.modernize-banner__letterbox-bar--bottom { bottom: 0; }

.modernize-banner__letterbox.is-playing .modernize-banner__letterbox-bar {
  height: 12%;
}

.modernize-banner__letterbox.is-playing .modernize-banner__letterbox-bar--top {
  animation: letterboxInTop 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modernize-banner__letterbox.is-playing .modernize-banner__letterbox-bar--bottom {
  animation: letterboxInBottom 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes letterboxInTop {
  0% { height: 0; }
  18% { height: 14%; }
  55% { height: 12%; }
  100% { height: 0; }
}

@keyframes letterboxInBottom {
  0% { height: 0; }
  18% { height: 14%; }
  55% { height: 12%; }
  100% { height: 0; }
}

@keyframes bannerGrainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

.modernize-banner__flash {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 240, 200, 0.95) 0%, rgba(255, 180, 80, 0.55) 22%, rgba(212, 43, 43, 0.5) 45%, transparent 72%);
  mix-blend-mode: screen;
}

.modernize-banner__flash.is-playing {
  animation: bannerFlash 1.4s ease-out forwards;
}

.modernize-banner__sweep {
  position: absolute;
  inset: -20% -40%;
  z-index: 9;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.04) 44%,
    rgba(255, 230, 160, 0.65) 50%,
    rgba(212, 43, 43, 0.35) 52%,
    rgba(255, 255, 255, 0.04) 56%,
    transparent 62%
  );
  transform: translateX(-120%) skewX(-14deg);
}

.modernize-banner__sweep.is-playing {
  animation: bannerSweep 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.modernize-showcase.is-transitioning .modernize-header__title {
  transition: opacity 0.9s ease;
  opacity: 0.92;
}

@keyframes bannerFlash {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.12; }
}

@keyframes bannerSweep {
  0% {
    opacity: 0;
    transform: translateX(-130%) skewX(-14deg);
  }
  20% { opacity: 0.35; }
  100% {
    opacity: 0;
    transform: translateX(130%) skewX(-14deg);
  }
}

@keyframes bannerShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

@keyframes bannerTextPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    letter-spacing: 0.04em;
  }
  20% {
    opacity: 0.55;
    transform: scale(0.96);
    letter-spacing: 0.1em;
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
    letter-spacing: 0.02em;
  }
}

@media (max-width: 640px) {
  .modernize-header__title {
    letter-spacing: 0.02em;
  }
}

@media (max-width: 768px) {
  .modernize-showcase {
    display: flex;
    flex-direction: column;
  }

  .modernize-header {
    min-height: 0;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(32px, 7vw, 48px) 16px 12px;
    box-sizing: border-box;
  }

  .modernize-header__inner {
    width: 100%;
  }

  .modernize-header__title {
    margin: 10px 0 12px;
  }

  .modernize-header__lead {
    margin: 0 auto;
    padding-inline: 8px;
    max-width: 34ch;
    line-height: 1.45;
  }

  .modernize-banner {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    margin-top: 0;
  }

  .modernize-banner__media {
    width: 100%;
    max-width: 100%;
    aspect-ratio: unset;
    min-height: clamp(300px, 85vw, 560px);
    height: clamp(300px, 85vw, 560px);
    max-height: none;
  }

  .modernize-banner__video,
  .video-cinematic__layer {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .modernize-statement {
    padding: clamp(16px, 4vw, 24px) clamp(12px, 3vw, 20px);
    max-width: 100%;
  }

  .modernize-statement__line--1 {
    font-size: clamp(18px, 4.8vw, 26px);
  }

  .modernize-statement__line--2 {
    font-size: clamp(44px, 13vw, 72px);
  }

  .modernize-statement__line--3 {
    font-size: clamp(14px, 3.6vw, 18px);
  }

  .modernize-showcase.is-mobile-single .modernize-banner__media {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: clamp(260px, 72vw, 440px);
    max-height: min(72vw, 440px);
  }

  .modernize-showcase.is-mobile-single .modernize-banner__video[data-sequence="0"] {
    object-position: center 38%;
    will-change: auto;
    transition: opacity 0.45s ease;
  }

  .modernize-showcase.is-mobile-single .modernize-banner__video.is-mobile-hidden,
  .modernize-showcase.is-mobile-single .modernize-banner__video[data-sequence="1"],
  .modernize-showcase.is-mobile-single .modernize-banner__video[data-sequence="2"] {
    display: none !important;
    visibility: hidden;
  }

  .modernize-showcase.is-mobile-single.is-transitioning .modernize-banner__video {
    animation: none !important;
  }

  .modernize-showcase.is-mobile-single .modernize-banner__grain,
  .modernize-showcase.is-mobile-single .modernize-banner__letterbox,
  .modernize-showcase.is-mobile-single .modernize-banner__flash,
  .modernize-showcase.is-mobile-single .modernize-banner__sweep {
    display: none;
  }

  .modernize-banner:not(.is-video-ready) .modernize-banner__video[data-sequence="0"].is-active {
    opacity: 0;
  }

  .modernize-banner.is-video-ready .modernize-banner__video[data-sequence="0"].is-active {
    opacity: 1;
  }
}

/* ---- Philosophy ---- */
.philosophy {
  position: relative;
  overflow: hidden;
}

.philosophy::after {
  display: none;
}

.philosophy__video {
  position: absolute;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  display: block;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  filter: brightness(0.88) saturate(0.92) contrast(1.04);
}

.philosophy__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.78) 45%, rgba(18, 4, 4, 0.55) 100%),
    radial-gradient(ellipse 80% 60% at 72% 50%, rgba(224, 48, 48, 0.06), transparent 70%);
}

.ember-canvas--philosophy-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.5;
  pointer-events: none;
}

.section-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.section-ambient img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.16;
  transform: scale(1.04);
  filter: saturate(0.85) contrast(1.05);
}

.section-ambient__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.88) 100%),
    radial-gradient(circle at 70% 40%, rgba(212, 43, 43, 0.08), transparent 55%);
}

.section-ambient--right img {
  object-position: 75% center;
  opacity: 0.14;
}

.section-ambient--left img {
  object-position: 25% center;
  opacity: 0.13;
}

.section-ambient--cta img {
  opacity: 0.22;
  object-position: center 35%;
}

.section-ambient--cta .section-ambient__veil {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.82) 100%),
    radial-gradient(circle at 50% 50%, rgba(212, 43, 43, 0.12), transparent 60%);
}

.philosophy .container,
.services .container,
.testimonials .container,
.onboarding .container,
.cta .container {
  position: relative;
  z-index: 3;
}

.philosophy__glow {
  position: absolute;
  top: 50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 43, 43, 0.04), transparent 70%);
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.philosophy__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr);
  gap: 48px 72px;
  align-items: center;
}

.philosophy__border {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, #e03030, rgba(224, 48, 48, 0.65), #e03030, transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(224, 48, 48, 0.25);
}

.philosophy__content {
  padding-left: 56px;
  max-width: 640px;
}

.philosophy__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 28px;
}

.philosophy__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.philosophy__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  margin-bottom: 36px;
}

.philosophy__emphasis {
  font-style: italic;
  font-weight: 400;
  color: #e03030;
}

.philosophy__headline-main {
  display: block;
  margin-top: 0.15em;
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.philosophy__headline-main .highlight-cyan,
.philosophy__headline-main .philosophy__headline-accent {
  background: linear-gradient(135deg, #e03030 0%, #a01818 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #e03030;
}

.philosophy__body {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 36px;
}

.philosophy__body p {
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  letter-spacing: var(--tracking-normal);
  margin-bottom: 0;
}

.philosophy__highlight {
  color: #e03030;
  font-weight: 500;
  border-bottom: 1px solid rgba(224, 48, 48, 0.45);
}

.philosophy__closing {
  position: relative;
  margin: 0;
  padding: 28px 0 0 28px;
  border: none;
}

.philosophy__closing::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: #e03030;
  text-shadow: 0 0 28px rgba(224, 48, 48, 0.35);
}

.philosophy__closing p {
  font-family: var(--font-body);
  font-size: clamp(var(--text-lg), 2.4vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
  color: var(--text-primary);
  margin: 0;
}

.philosophy__ember {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

@media (max-width: 768px) {
  .philosophy__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .philosophy__ember {
    justify-self: center;
    max-width: 360px;
  }

  .logo-wrap--philosophy {
    height: clamp(280px, 70vw, 380px);
  }

  .philosophy__content {
    padding-left: 36px;
    max-width: none;
  }

  .philosophy__headline {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }
}

/* ---- About ---- */
.about {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: transparent;
  padding-top: 0;
  padding-bottom: 0;
}

.about::after {
  display: none;
}

.about__intro {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.about__video {
  position: absolute;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  display: block;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  filter: none;
  opacity: 1;
}

.about__container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.about__grid {
  display: flex;
  justify-content: center;
}

.about__visual {
  display: none;
}

.about__container {
  width: 100%;
}

.about__content {
  position: relative;
  z-index: 1;
  max-width: min(560px, 92%);
  margin-inline: auto;
  text-align: center;
  padding: clamp(28px, 4vw, 44px);
  background: rgba(8, 8, 8, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid rgba(224, 48, 48, 0.75);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.about__line,
.draw-line {
  display: block;
  width: 64px;
  height: 2px;
  margin: 0 auto 24px;
  background: #e03030;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1s var(--ease-out);
}

.draw-line.is-drawn,
.about.is-visible .about__line {
  transform: scaleX(1);
}

.about__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.about__headline-em {
  color: #e03030;
  text-shadow: 0 0 24px rgba(224, 48, 48, 0.35);
}

.about__subheadline {
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  font-weight: 400;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
  color: #f0f0f0;
  margin-bottom: 24px;
  max-width: 480px;
  margin-inline: auto;
}

.about .section-eyebrow {
  color: #f0f0f0;
}

.about__promise {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-weight: 500;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 28px;
}

.about__body p {
  font-size: var(--text-md);
  line-height: 1.7;
  letter-spacing: var(--tracking-normal);
  color: #e8e8e8;
}

@media (max-width: 900px) {
  .about__content {
    max-width: min(520px, 94%);
  }
}

@media (max-width: 768px) {
  .about__intro {
    padding-top: var(--section-y-mobile);
    padding-bottom: var(--section-y-mobile);
  }
}

/* ---- About: ALCAFILMS partner ---- */
.about__partner {
  --partner-scale: 1.2;
  --partner-viewport: calc(100dvh - var(--nav-height));
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: var(--partner-viewport);
  padding: calc(clamp(14px, 2vh, 22px) * var(--partner-scale)) 0;
  scroll-margin-top: var(--nav-height);
  background-color: var(--surface-b);
  border-top: 1px solid rgba(224, 48, 48, 0.22);
  display: flex;
  align-items: center;
  font-family: var(--font-body);
}

.about-partner__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-partner__ambient img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.12;
  transform: scale(1.05);
  filter: saturate(0.7) contrast(1.08);
}

.about-partner__ambient-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.94) 55%, rgba(0, 0, 0, 0.98) 100%),
    radial-gradient(circle at 30% 20%, rgba(224, 48, 48, 0.1), transparent 50%);
}

.about-partner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: calc(clamp(10px, 1.6vh, 16px) * var(--partner-scale));
  max-height: calc(var(--partner-viewport) - calc(clamp(28px, 4vh, 44px) * var(--partner-scale)));
}

.about-partner__header {
  max-width: calc(720px * var(--partner-scale));
  margin: 0 auto;
  text-align: center;
  flex-shrink: 0;
}

.about-partner__header .section-eyebrow {
  font-family: var(--font-body);
  font-size: calc(var(--text-xs) * var(--partner-scale));
  letter-spacing: 0.24em;
}

.about-partner__header .about__line {
  margin-bottom: calc(12px * var(--partner-scale));
}

.about-partner__title {
  font-family: var(--font-display);
  font-size: clamp(1.74rem, 3.12vw, 2.58rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: calc(8px * var(--partner-scale));
}

.about-partner__title-em {
  display: block;
  color: #e03030;
  text-shadow: 0 0 24px rgba(224, 48, 48, 0.35);
}

.about-partner__lead {
  max-width: calc(560px * var(--partner-scale));
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.44vw, 1.14rem);
  line-height: 1.35;
  color: #e8e8e8;
}

.about-partner__body {
  display: flex;
  flex-direction: column;
  gap: calc(clamp(10px, 1.4vh, 14px) * var(--partner-scale));
  min-height: 0;
  flex: 1 1 auto;
}

.about-partner__showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: calc(clamp(8px, 1.1vh, 12px) * var(--partner-scale));
  min-height: 0;
  flex: 1 1 auto;
  height: clamp(252px, 55.2vh, 432px);
}

.about-partner__reel {
  position: relative;
  overflow: hidden;
  grid-row: 1 / -1;
  grid-column: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid rgba(224, 48, 48, 0.75);
  background: #080808;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  min-height: 0;
}

.about-partner__reel-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-partner__reel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.about-partner__reel-badge {
  position: absolute;
  left: calc(clamp(10px, 1.4vw, 16px) * var(--partner-scale));
  bottom: calc(clamp(10px, 1.4vw, 16px) * var(--partner-scale));
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: calc(8px * var(--partner-scale)) calc(12px * var(--partner-scale));
  background: rgba(8, 8, 8, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid #e03030;
}

.about-partner__brand {
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.44vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
}

.about-partner__brand-url {
  font-family: var(--font-body);
  font-size: calc(0.68rem * var(--partner-scale));
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
}

.about-partner__photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #080808;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.about-partner__photo:nth-of-type(1) {
  grid-column: 2;
  grid-row: 1;
}

.about-partner__photo:nth-of-type(2) {
  grid-column: 2;
  grid-row: 2;
}

.about-partner__photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.7s var(--ease-out);
}

.about-partner__photo:hover img {
  transform: scale(1.04);
}

.about-partner__photo--camera {
  background: #050505;
}

.about-partner__photo--camera img {
  object-fit: cover;
  object-position: 54% 50%;
  filter: saturate(0.92) contrast(1.06);
}

.about-partner__photo--camera:hover img {
  transform: scale(1.03);
}

.about-partner__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: calc(8px * var(--partner-scale)) calc(10px * var(--partner-scale));
  font-family: var(--font-display);
  font-size: calc(0.62rem * var(--partner-scale));
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
}

.about-partner__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: calc(clamp(12px, 2vw, 20px) * var(--partner-scale));
  align-items: center;
  padding: calc(clamp(12px, 1.8vh, 18px) * var(--partner-scale)) calc(clamp(14px, 2vw, 22px) * var(--partner-scale));
  background: rgba(8, 8, 8, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid rgba(224, 48, 48, 0.75);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  flex-shrink: 0;
}

.about-partner__copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(clamp(10px, 1.6vw, 18px) * var(--partner-scale));
  text-align: left;
}

.about-partner__copy p {
  font-family: var(--font-body);
  font-size: clamp(0.936rem, 1.14vw, 1.056rem);
  line-height: 1.45;
  color: #e8e8e8;
  margin: 0;
}

.about-partner__cta {
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: calc(1rem * var(--partner-scale));
  letter-spacing: 0.08em;
}

@media (max-width: 1024px) {
  .about-partner__copy {
    grid-template-columns: 1fr;
  }

  .about-partner__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-partner__copy {
    text-align: center;
  }

  .about-partner__cta {
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .about__partner {
    min-height: auto;
    max-height: none;
    padding-top: var(--section-y-mobile);
    padding-bottom: var(--section-y-mobile);
  }

  .about-partner {
    max-height: none;
  }

  .about-partner__showcase {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }

  .about-partner__reel {
    grid-row: auto;
    grid-column: auto;
    aspect-ratio: 16 / 9;
  }

  .about-partner__reel-video {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .about-partner__photo:nth-of-type(1),
  .about-partner__photo:nth-of-type(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .about-partner__photo img {
    aspect-ratio: 16 / 10;
    height: auto;
  }
}

/* ---- Services ---- */
.services {
  position: relative;
  overflow: hidden;
}

.services__intro {
  max-width: 680px;
  margin: 28px auto 0;
  text-align: center;
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-normal);
  color: var(--text-secondary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  padding: 0;
  background: #141414;
  border: 1px solid #222;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    transform var(--duration-mid) var(--ease-out),
    box-shadow var(--duration-mid) var(--ease-out);
}

.service-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
  height: 100%;
  padding: 24px 20px 28px;
}

.service-card h3,
.service-card p,
.service-card__cta,
.service-card .diagnostic-panel {
  margin-left: 0;
  margin-right: 0;
}

.service-card::before {
  display: none;
}

.service-card:hover {
  border-color: #e03030;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.service-card h3 {
  font-family: 'Barlow Condensed', var(--font-display), sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #fff;
}

.service-card p {
  font-family: 'Barlow', var(--font-body), sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #888;
  line-height: 1.55;
  letter-spacing: 0.01em;
  flex: 1;
}

.service-card--diagnostic.is-expanded {
  z-index: 3;
  overflow: visible;
}

.testimonial-card,
.onboarding__form-wrap {
  padding: 36px 28px;
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  border-left: 2px solid var(--accent-blue);
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration-mid) var(--ease-out),
              transform var(--duration-mid) var(--ease-out),
              box-shadow var(--duration-mid) var(--ease-out);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-mid) var(--ease-out);
  z-index: 3;
}

.testimonial-card:hover {
  border-color: var(--border-red);
  border-left-color: var(--accent-blue-light);
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px var(--border-glow),
    0 0 40px var(--accent-blue-glow);
}

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

.service-card__cta {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin: 22px 0 0;
  padding: 11px 12px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  letter-spacing: 0.05em;
  font-size: clamp(0.62rem, 1.1vw, 0.78rem);
  flex-shrink: 0;
}

.service-card .btn--fire {
  overflow: hidden;
}

.service-card .btn-fire-canvas {
  left: 0;
  right: 0;
  bottom: -8px;
}

.diagnostic-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    max-height 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease,
    margin-top 0.45s ease;
  margin-top: 0;
}

.diagnostic-panel.is-open {
  max-height: 520px;
  opacity: 1;
  pointer-events: auto;
  margin-top: 20px;
}

.diagnostic-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.diagnostic-form .form-field input {
  padding: 16px 12px 10px;
  min-height: 52px;
  font-size: 0.82rem;
}

.diagnostic-form .form-field label {
  left: 12px;
  max-width: calc(100% - 24px);
  font-size: 0.85rem;
}

.diagnostic-form .form-field:focus-within input,
.diagnostic-form .form-field.is-filled input {
  padding-top: 26px;
  padding-bottom: 8px;
}

.diagnostic-form .form-field:focus-within label,
.diagnostic-form .form-field.is-filled label {
  top: 8px;
  transform: translateY(0) scale(0.72);
}

.diagnostic-form .btn--submit {
  width: 100%;
  margin-top: 4px;
}

.diagnostic-form__status {
  min-height: 1.3em;
  font-size: 0.78rem;
  text-align: center;
  color: var(--text-muted);
}

.diagnostic-form__status.is-success {
  color: #6ecf8a;
}

.diagnostic-form__status.is-error {
  color: #ff8a7a;
}

@media (max-width: 1200px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

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

  .service-card__content {
    padding: 20px 18px 24px;
  }
}

/* Styles showcase → css/style-showcase.css */

/* ---- Portfolio ---- */
.portfolio {
  position: relative;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

.portfolio-item__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.portfolio-item--featured {
  grid-column: auto;
}

.portfolio-item--featured .browser-frame__screen {
  aspect-ratio: 16 / 10;
}

.portfolio-item {
  transition: transform var(--transition);
}

.portfolio-item.reveal-scale {
  transform: translateY(48px) scale(0.96);
}

.portfolio-item.reveal-scale.visible {
  transform: translateY(0) scale(1);
}

.portfolio-item.reveal-scale.visible:hover {
  transform: translateY(-4px) scale(1);
}

.portfolio-item:hover {
  transform: translateY(-4px);
}

.browser-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.portfolio-item:hover .browser-frame {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5),
              0 0 40px var(--accent-cyan-glow);
  border-color: var(--border-glow);
}

.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-frame__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.browser-frame__bar span:first-child { background: #ff5f57; }
.browser-frame__bar span:nth-child(2) { background: #febc2e; }
.browser-frame__bar span:nth-child(3) { background: #28c840; }

.browser-frame__url {
  flex: 1;
  margin-left: 12px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.browser-frame__screen {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.portfolio-preview {
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-live {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg-primary);
  z-index: 1;
  clip-path: inset(0 14px 0 0 round 0);
}

.portfolio-live iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 210%;
  height: 200%;
  border: 0;
  transform: scale(0.48);
  transform-origin: top left;
  pointer-events: none;
  overflow: hidden;
  scrollbar-width: none;
}

.portfolio-preview--valkiria {
  background: linear-gradient(160deg, var(--bg-secondary) 0%, var(--bg-tertiary) 45%, var(--bg-primary) 100%);
}

.portfolio-preview--valkiria::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(180, 130, 60, 0.12), transparent),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.45));
  z-index: 0;
}

.portfolio-preview--valkiria::after {
  content: 'VALKIRIA';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  color: rgba(180, 140, 80, 0.18);
  z-index: 0;
  pointer-events: none;
}

.portfolio-preview--gb97 {
  background: linear-gradient(160deg, var(--bg-secondary) 0%, var(--bg-tertiary) 45%, var(--bg-primary) 100%);
}

.portfolio-preview--gb97::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 45% at 50% 25%, rgba(201, 168, 76, 0.14), transparent),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.5));
  z-index: 0;
}

.portfolio-preview--gb97::after {
  content: 'GB97';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: rgba(201, 168, 76, 0.2);
  z-index: 0;
  pointer-events: none;
}

.portfolio-preview--nlvip {
  background: linear-gradient(160deg, var(--bg-secondary) 0%, var(--bg-tertiary) 45%, var(--bg-primary) 100%);
}

.portfolio-preview--nlvip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(46, 204, 113, 0.16), transparent),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(192, 57, 143, 0.1), transparent),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.5));
  z-index: 0;
}

.portfolio-preview--nlvip::after {
  content: 'NLVIP PRO';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(46, 204, 113, 0.22);
  z-index: 0;
  pointer-events: none;
}

.portfolio-item:hover .portfolio-preview:not(.portfolio-preview--soon) {
  transform: scale(1.02);
}

.portfolio-item:hover .portfolio-live iframe {
  transform: scale(0.5);
}

.portfolio-preview--soon {
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-preview__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.portfolio-preview__overlay span {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--copper-light);
  padding: 10px 24px;
  border: 1px solid rgba(212, 43, 43, 0.4);
  border-radius: 100px;
  font-size: 0.85rem;
}

.portfolio-item:hover .portfolio-preview__overlay {
  opacity: 1;
}

.portfolio-soon {
  text-align: center;
}

.portfolio-soon__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.portfolio-soon p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.portfolio-item__info {
  flex: 1;
  padding: 16px 2px 0;
}

.portfolio-item__info h3 {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 600;
  margin-bottom: 4px;
}

.portfolio-item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.portfolio-item__meta h3 {
  margin-bottom: 0;
}

.portfolio-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--copper-light);
  background: rgba(212, 43, 43, 0.12);
  border: 1px solid rgba(212, 43, 43, 0.25);
  border-radius: 100px;
}

.portfolio-item__info p {
  font-size: clamp(0.72rem, 1.1vw, 0.8125rem);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-normal);
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ---- Process / Timeline ---- */
.process {
  position: relative;
  overflow: hidden;
}

.process__headline {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.process__headline .section-title {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}

.process-compare {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(12px, 2vw, 24px) clamp(16px, 3vw, 40px) clamp(48px, 6vw, 80px);
  margin-bottom: clamp(56px, 7vw, 88px);
}

.process-compare::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(224, 48, 48, 0.08), transparent 70%),
    linear-gradient(180deg, transparent, rgba(224, 48, 48, 0.04) 50%, transparent);
  pointer-events: none;
}

.process-compare__stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(12px, 2vw, 28px);
  align-items: stretch;
  max-width: 1560px;
  margin-inline: auto;
}

.process-compare__panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.process-compare__panel--before {
  filter: saturate(0.82) brightness(0.94);
}

.process-compare__panel--after {
  z-index: 1;
}

.process-compare__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px;
  min-height: 28px;
}

.process-compare__label {
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.2vw, 0.85rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.process-compare__label--accent {
  color: #e03030;
  text-shadow: 0 0 20px rgba(224, 48, 48, 0.35);
}

.process-compare__tag {
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.process-compare__tag--muted {
  color: #888;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.process-compare__tag--accent {
  color: #fff;
  background: rgba(224, 48, 48, 0.18);
  border: 1px solid rgba(224, 48, 48, 0.45);
  box-shadow: 0 0 18px rgba(224, 48, 48, 0.25);
}

.process-compare__browser {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.5s var(--ease-out);
}

.process-compare__browser--after {
  border-color: rgba(224, 48, 48, 0.45);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(224, 48, 48, 0.12),
    0 0 40px rgba(224, 48, 48, 0.14);
}

.process-compare__panel--after:hover .process-compare__browser--after {
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(224, 48, 48, 0.2),
    0 0 52px rgba(224, 48, 48, 0.2);
}

.process-compare__screen {
  position: relative;
  flex: 1;
  width: 100%;
  height: clamp(320px, 38vh, 520px);
  min-height: clamp(320px, 38vh, 520px);
  max-height: clamp(320px, 38vh, 520px);
  overflow: hidden;
  background: #111;
}

.process-compare__screen--before {
  background: #ececec;
}

.process-compare__screen img,
.process-compare__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.process-compare__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.process-compare__veil--before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.06));
}

.process-compare__veil--after {
  background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, 0.35) 100%);
}

.process-compare__divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 0 2px;
}

.process-compare__divider-line {
  width: 2px;
  height: clamp(48px, 8vh, 96px);
  background: linear-gradient(180deg, transparent, rgba(224, 48, 48, 0.65), transparent);
}

.process-compare__divider-badge {
  display: grid;
  place-items: center;
  width: clamp(44px, 4vw, 56px);
  height: clamp(44px, 4vw, 56px);
  border-radius: 50%;
  color: #fff;
  background: #e03030;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 0 0 6px rgba(224, 48, 48, 0.12),
    0 0 32px rgba(224, 48, 48, 0.45);
  animation: processComparePulse 2.8s ease-in-out infinite;
}

.process-compare__divider-badge svg {
  width: 22px;
  height: 22px;
}

.process-compare__caption {
  margin: 0;
  padding: 0 4px;
  min-height: 3.1em;
  font-size: clamp(var(--text-sm), 1.4vw, var(--text-base));
  line-height: 1.55;
  letter-spacing: var(--tracking-normal);
  color: var(--text-muted);
  text-align: center;
}

.process-compare__caption--accent {
  color: #f0f0f0;
}

@keyframes processComparePulse {
  0%, 100% {
    box-shadow:
      0 0 0 6px rgba(224, 48, 48, 0.12),
      0 0 32px rgba(224, 48, 48, 0.45);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(224, 48, 48, 0.08),
      0 0 48px rgba(224, 48, 48, 0.6);
    transform: scale(1.06);
  }
}

@media (max-width: 960px) {
  .process-compare {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding-inline: clamp(16px, 4vw, 24px);
    overflow-x: clip;
  }

  .process-compare__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: clamp(20px, 4vw, 32px);
    width: 100%;
    max-width: 100%;
  }

  .process-compare__panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .process-compare__panel--before,
  .process-compare__panel--after {
    filter: none;
  }

  .process-compare__meta {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    padding: 0;
  }

  .process-compare__label {
    letter-spacing: 0.14em;
    font-size: clamp(0.65rem, 2.8vw, 0.78rem);
    flex: 1 1 auto;
    min-width: 0;
  }

  .process-compare__tag {
    flex-shrink: 0;
    letter-spacing: 0.08em;
    font-size: 0.58rem;
    padding: 4px 9px;
    white-space: nowrap;
  }

  .process-compare__browser {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .process-compare__browser--after,
  .process-compare__browser--after.video-ambient.is-playing {
    box-shadow:
      0 16px 40px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(224, 48, 48, 0.12);
  }

  .browser-frame__bar {
    min-width: 0;
    padding: 10px 12px;
    gap: 5px;
  }

  .browser-frame__url {
    min-width: 0;
    flex: 1;
    margin-left: 8px;
    padding: 4px 8px;
    font-size: 0.62rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .process-compare__screen {
    height: clamp(220px, 56vw, 400px);
    min-height: clamp(220px, 56vw, 400px);
    max-height: clamp(220px, 56vw, 400px);
    width: 100%;
    max-width: 100%;
    aspect-ratio: unset;
  }

  .process-compare__screen img,
  .process-compare__video {
    max-width: 100%;
  }

  .process-compare__divider {
    flex-direction: row;
    padding: 4px 0;
    width: 100%;
  }

  .process-compare__divider-line {
    width: clamp(48px, 12vw, 96px);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(224, 48, 48, 0.65), transparent);
  }

  .process-compare__divider-badge svg {
    transform: rotate(90deg);
  }

  .process-compare__caption {
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    padding: 0;
    max-width: 100%;
    min-height: 0;
    font-size: clamp(0.82rem, 3.6vw, 0.95rem);
    line-height: 1.5;
  }

  .process-compare .reveal-left,
  .process-compare .reveal-right,
  .process-compare .reveal-left.visible,
  .process-compare .reveal-right.visible {
    transform: none;
  }

  .process-compare__divider-badge {
    animation: none;
    transform: none;
    box-shadow:
      0 0 0 4px rgba(224, 48, 48, 0.12),
      0 0 20px rgba(224, 48, 48, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-compare__divider-badge {
    animation: none;
  }
}

.timeline {
  position: relative;
}

.timeline__track {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 0;
}

.timeline__line {
  position: absolute;
  inset: 0;
  background: var(--border-subtle);
  border-radius: 1px;
}

.timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue-dark), var(--accent-blue-light));
  border-radius: 1px;
  box-shadow: 0 0 12px var(--accent-cyan-glow);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.timeline-step {
  text-align: center;
  padding: 0 12px;
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: opacity var(--transition-fast);
}

.timeline-step:hover .timeline-step__dot {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan-glow);
}

.timeline-step:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 6px;
  border-radius: var(--radius-sm);
}

.timeline-step__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto 24px;
  transition: border-color var(--transition), box-shadow var(--transition),
              background var(--transition);
}

.timeline-step.active .timeline-step__dot {
  border-color: var(--copper);
  background: var(--copper);
  box-shadow: 0 0 16px var(--ember-glow);
}

.timeline-step__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  color: var(--silver-light);
}

.timeline-step p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-normal);
  margin-bottom: 18px;
}

.timeline-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  color: var(--accent-blue);
  border: 1px solid rgba(212, 43, 43, 0.22);
  background: rgba(212, 43, 43, 0.06);
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s var(--ease-out),
              box-shadow 0.35s ease;
}

.timeline-step__icon svg {
  width: 44px;
  height: 44px;
}

.timeline-step:hover .timeline-step__icon,
.timeline-step.active .timeline-step__icon {
  border-color: rgba(212, 43, 43, 0.55);
  background: rgba(212, 43, 43, 0.12);
  box-shadow: 0 0 24px rgba(212, 43, 43, 0.18);
}

.timeline-step.active .timeline-step__icon {
  transform: translateY(-3px);
}

/* Listen — sound waves */
.timeline-icon__wave {
  transform-origin: center;
  animation: timelineWave 1.4s ease-in-out infinite;
}

.timeline-icon__wave--2 {
  animation-delay: 0.2s;
}

.timeline-icon__pulse {
  transform-origin: center;
  animation: timelinePulse 1.8s ease-in-out infinite;
}

/* Design — drawing stroke */
.timeline-icon__stroke {
  animation: timelineDraw 2.4s ease-in-out infinite;
}

.timeline-icon__pen {
  transform-origin: 32px 32px;
  animation: timelinePen 2.8s ease-in-out infinite;
}

.timeline-icon__dot {
  animation: timelinePulse 1.6s ease-in-out infinite;
}

/* Code — brackets + cursor */
.timeline-icon__bracket--l {
  animation: timelineBracketL 2s ease-in-out infinite;
}

.timeline-icon__bracket--r {
  animation: timelineBracketR 2s ease-in-out infinite;
}

.timeline-icon__slash {
  animation: timelineSlash 2.2s ease-in-out infinite;
}

.timeline-icon__cursor {
  animation: timelineCursor 1s step-end infinite;
}

/* Launch — rocket */
.timeline-icon__rocket {
  transform-origin: 32px 38px;
  animation: timelineRocket 2.4s ease-in-out infinite;
}

.timeline-icon__flame {
  transform-origin: 32px 38px;
  animation: timelineFlame 0.55s ease-in-out infinite alternate;
}

.timeline-icon__flame--1 { animation-delay: 0s; }
.timeline-icon__flame--2 { animation-delay: 0.12s; }
.timeline-icon__flame--3 { animation-delay: 0.24s; }

.timeline-icon__trail {
  animation: timelineTrail 2.4s ease-in-out infinite;
}

@keyframes timelineWave {
  0%, 100% { transform: scaleY(0.45); opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes timelinePulse {
  0%, 100% { transform: scale(0.85); opacity: 0.55; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes timelineDraw {
  0%, 20% { stroke-dashoffset: 24; opacity: 0.35; }
  55%, 100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes timelinePen {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-2px); }
}

@keyframes timelineBracketL {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(-3px); opacity: 1; }
}

@keyframes timelineBracketR {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(3px); opacity: 1; }
}

@keyframes timelineSlash {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes timelineCursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes timelineRocket {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes timelineFlame {
  0% { transform: scaleY(0.75); opacity: 0.55; }
  100% { transform: scaleY(1.15); opacity: 1; }
}

@keyframes timelineTrail {
  0%, 100% { opacity: 0.2; transform: scaleX(0.85); }
  50% { opacity: 0.55; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-step__icon *,
  .timeline-step__icon {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .timeline__track { display: none; }

  .timeline__steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline-step {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 20px;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.06);
  }

  .timeline-step__dot {
    grid-row: 1 / 6;
    margin: 4px 0 0;
    justify-self: start;
  }

  .timeline-step__num,
  .timeline-step h3,
  .timeline-step p,
  .timeline-step__icon {
    grid-column: 2;
  }

  .timeline-step__icon {
    margin: 4px 0 0;
    justify-self: start;
  }

  .timeline-step.active {
    border-left-color: var(--copper);
  }
}

/* ---- Testimonials ---- */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
  color: var(--accent-orange);
  font-size: 0.9rem;
}

.testimonial-card blockquote {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-normal);
  margin-bottom: 24px;
  font-style: normal;
  font-weight: 400;
}

.testimonial-card footer strong {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--silver-light);
  margin-bottom: 2px;
}

.testimonial-card footer span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.testimonial-card {
  padding: 36px 28px;
}

@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.onboarding__visual {
  position: relative;
  margin-bottom: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 10;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.onboarding__visual video,
.onboarding__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.02) saturate(1.08);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.onboarding__intro:hover .onboarding__visual video,
.onboarding__intro:hover .onboarding__visual img {
  transform: scale(1.03);
  filter: brightness(1.08) saturate(1.12);
}

.onboarding__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .onboarding__visual {
    margin-bottom: 32px;
  }
}

/* ---- Onboarding Form ---- */
.onboarding {
  position: relative;
  overflow: hidden;
}

.onboarding__glow {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 700px;
  height: 700px;
  transform: translateY(-50%);
  background: radial-gradient(circle, var(--accent-cyan-glow), transparent 68%);
  pointer-events: none;
}

.onboarding__layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(56px, 8vw, 96px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.onboarding__intro .section-eyebrow {
  font-size: 0.78rem;
  margin-bottom: 20px;
}

.onboarding__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.8vw, 4.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.onboarding__subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  color: var(--text-secondary);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-normal);
  margin-bottom: clamp(40px, 6vw, 56px);
  max-width: 540px;
}

.onboarding__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 44px);
}

.onboarding__benefits li {
  display: flex;
  gap: clamp(20px, 3vw, 28px);
  align-items: flex-start;
}

.onboarding__benefit-icon {
  flex-shrink: 0;
  width: clamp(48px, 5vw, 58px);
  height: clamp(48px, 5vw, 58px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--copper-light);
  background: rgba(212, 43, 43, 0.1);
  border: 1px solid rgba(212, 43, 43, 0.35);
  border-radius: 50%;
}

.onboarding__benefits strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver-light);
  margin-bottom: 8px;
  line-height: 1.15;
}

.onboarding__benefits p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-normal);
  max-width: 480px;
}

.onboarding__form-wrap {
  padding: 36px;
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.onboarding-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-field {
  position: relative;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 20px 16px 12px;
  min-height: 58px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.45;
  letter-spacing: var(--tracking-normal);
  color: var(--text-primary);
  background: rgba(17, 17, 17, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
              background var(--transition-fast), padding var(--transition-fast);
  outline: none;
  appearance: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.form-field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  max-width: calc(100% - 32px);
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--text-muted);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform var(--transition-fast), color var(--transition-fast),
              font-size var(--transition-fast), top var(--transition-fast);
  transform-origin: left center;
}

.form-field--textarea label {
  top: 20px;
  transform: none;
  white-space: normal;
}

.form-optional {
  font-size: 0.78rem;
  opacity: 0.75;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.form-field:focus-within label,
.form-field.is-filled label,
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field select:focus + label,
.form-field select:valid + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: 9px;
  transform: translateY(0) scale(0.72);
  color: var(--text-secondary);
}

.form-field:focus-within input,
.form-field.is-filled input,
.form-field:focus-within textarea,
.form-field.is-filled textarea {
  padding-top: 30px;
  padding-bottom: 10px;
}

.form-field--textarea:focus-within label,
.form-field--textarea.is-filled label,
.form-field--textarea textarea:focus + label,
.form-field--textarea textarea:not(:placeholder-shown) + label {
  top: 9px;
  transform: translateY(0) scale(0.72);
}

.form-field--textarea:focus-within textarea,
.form-field--textarea.is-filled textarea {
  padding-top: 34px;
}

.form-field--select select {
  padding-right: 40px;
  cursor: pointer;
  color-scheme: dark;
}

.form-field--select:focus-within select,
.form-field--select.is-filled select {
  padding-top: 30px;
  padding-bottom: 10px;
}

.form-field select option,
.form-field select optgroup {
  background: #111111;
  color: #f0f0f0;
}

.form-field select optgroup {
  font-weight: 600;
  color: var(--text-secondary);
}

.form-field select option:checked,
.form-field select option:hover {
  background: #1a1a1a;
  color: #ffffff;
}

.form-field--select::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: translateY(-30%) rotate(45deg);
  pointer-events: none;
}

.form-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.form-toggle__label {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.form-toggle__group {
  display: inline-flex;
  padding: 4px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.form-toggle__btn {
  padding: 8px 20px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 100px;
  transition: var(--transition-fast);
}

.form-toggle__btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  box-shadow: 0 4px 16px rgba(212, 43, 43, 0.3);
}

.form-upload__zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 160px;
  padding: 28px 20px;
  text-align: center;
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast),
              transform var(--transition-fast), box-shadow var(--transition-fast);
}

.form-upload__zone:hover,
.form-upload__zone:focus-visible {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.form-upload__zone.is-dragover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 40px rgba(212, 43, 43, 0.28);
  transform: scale(1.01);
}

.form-upload__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper-light);
  background: rgba(212, 43, 43, 0.12);
  border-radius: 50%;
}

.form-upload__icon svg {
  width: 22px;
  height: 22px;
}

.form-upload__label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--silver-light);
}

.form-upload__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-upload__list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-upload__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.form-upload__item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-upload__remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.form-upload__remove:hover {
  color: var(--copper-light);
  background: rgba(212, 43, 43, 0.12);
}

.btn--submit {
  width: 100%;
  margin-top: 8px;
  padding: 18px 32px;
  font-size: 1rem;
}

.btn--submit svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.btn--submit:hover svg {
  transform: translateX(4px);
}

.btn--submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.88rem;
  text-align: center;
  color: var(--text-muted);
}

.form-status.is-success {
  color: #6ecf8a;
}

.form-status.is-error {
  color: #ff8a7a;
}

@media (max-width: 1024px) {
  .onboarding__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .onboarding__subtitle {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .onboarding__form-wrap {
    padding: 24px 18px;
  }

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

  .form-toggle {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---- CTA ---- */
.cta {
  position: relative;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-orange-glow), transparent 70%);
  pointer-events: none;
}

.cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta__inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta__inner > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.cta__contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 20px;
}

.cta__contact-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.cta__contact-link:hover {
  color: var(--text-primary);
}

/* ---- Footer ---- */
.footer {
  padding: 64px 0 40px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.footer__logo {
  display: flex;
  justify-content: center;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}

.footer__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-normal);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--text-primary);
}

.footer__social {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  transition: color var(--transition-fast), background var(--transition-fast),
              transform var(--transition-fast);
}

.footer__social a svg { width: 16px; height: 16px; }

.footer__social a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-normal);
  color: var(--text-muted);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .footer__links {
    flex-direction: column;
    gap: 16px;
  }
}

/* ---- Premium Redesign Overrides ---- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
}

.section-eyebrow,
.luxury-label {
  color: var(--accent-blue);
  letter-spacing: 0.28em;
}

.highlight-orange,
.highlight-cyan {
  color: var(--accent-blue);
  -webkit-text-fill-color: var(--accent-blue);
  background: none;
}

.philosophy {
  background-color: var(--surface-a);
}

.philosophy__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}

.philosophy__border {
  background: #e03030;
  box-shadow: 0 0 20px rgba(224, 48, 48, 0.25);
}

.philosophy__highlight {
  color: #e03030;
}

.portfolio-item__link {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.6s var(--ease-out);
}

.portfolio-item:hover .portfolio-item__link {
  clip-path: inset(0 0 0 0);
}

.portfolio-item .browser-frame__screen {
  transition: transform 0.6s var(--ease-out);
}

.portfolio-item:hover .browser-frame__screen {
  transform: scale(1.02);
}

.testimonials__carousel {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.testimonials__track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  align-items: stretch;
  min-height: 0;
}

.testimonials__track .testimonial-card {
  position: relative;
  inset: auto;
  opacity: 0.58;
  transform: scale(0.94);
  filter: saturate(0.88);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out),
    filter 0.55s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
  border-radius: 0;
}

.testimonials__track .testimonial-card.is-active {
  opacity: 1;
  transform: scale(1);
  filter: none;
  cursor: default;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.testimonials__track .testimonial-card.is-prev,
.testimonials__track .testimonial-card.is-next {
  opacity: 0.72;
  transform: scale(0.97);
}

.testimonials__track .testimonial-card.is-prev:hover,
.testimonials__track .testimonial-card.is-next:hover {
  opacity: 0.9;
  transform: scale(0.99);
  border-color: var(--border-red);
}

.testimonials__track .testimonial-card.is-active:hover {
  transform: scale(1) translateY(-4px);
}

.testimonials__track .testimonial-card blockquote {
  font-size: var(--text-sm);
}

.testimonials__track .testimonial-card.is-active blockquote {
  font-size: var(--text-base);
}

@media (max-width: 900px) {
  .testimonials__track {
    display: block;
    position: relative;
    min-height: 280px;
  }

  .testimonials__track .testimonial-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(36px) scale(0.98);
    pointer-events: none;
    filter: none;
  }

  .testimonials__track .testimonial-card.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
  }

  .testimonials__track .testimonial-card.is-prev,
  .testimonials__track .testimonial-card.is-next {
    opacity: 0;
    pointer-events: none;
  }
}

.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.testimonials__btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.testimonials__btn:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.testimonials__dots {
  display: flex;
  gap: 8px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  background: var(--border-subtle);
  transition: background 0.3s, transform 0.3s;
}

.testimonials__dot.is-active {
  background: var(--accent-blue);
  transform: scale(1.2);
}

.footer {
  position: relative;
  overflow: hidden;
}

.footer__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.footer__watermark img {
  width: min(420px, 60vw);
  opacity: 0.04;
  filter: grayscale(1);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.timeline-step__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent-blue);
}

/* ---- Video Cinematic System (ambient) ---- */
.video-ambient {
  position: relative;
  overflow: hidden;
}

.video-ambient .video-ambient__target {
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-ambient:not(.is-ready) .video-ambient__target {
  opacity: 0;
}

.video-ambient.is-ready .video-ambient__target {
  opacity: 1;
}

.process-compare__browser--after.video-ambient.is-playing {
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(224, 48, 48, 0.3),
    0 0 80px rgba(224, 48, 48, 0.32);
  transition: box-shadow 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-cinematic.is-transitioning .modernize-header__title {
  transition: opacity 0.9s ease;
  opacity: 0.92;
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale { opacity: 1; transform: none; }
  .word-reveal,
  .hero-letter {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .page-loader.is-revealing {
    clip-path: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .video-ambient:not(.is-ready) .video-ambient__target {
    opacity: 1;
  }
  .modernize-banner__statement.is-visible .modernize-statement__line,
  .modernize-statement__line--3 {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .modernize-statement__line--3 {
    opacity: 0.96;
  }
}

/* ---- Mobile / tablet responsive (≤768px) ---- */
@media (max-width: 768px) {
  .page-loader {
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }

  .page-loader.is-revealing {
    clip-path: none;
    opacity: 0;
    pointer-events: none;
  }

  .page-loader.hidden {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  /* Sin fuego / ascuas en botones — móvil */
  .ember-canvas,
  .btn-fire-canvas {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .btn--copper,
  .btn--primary,
  .btn--fire,
  button[type="submit"].btn {
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(212, 43, 43, 0.25) !important;
  }

  .btn--copper:hover,
  .btn--copper:focus-visible,
  .btn--primary:hover,
  .btn--primary:focus-visible,
  .btn--fire,
  .btn--fire:hover,
  .btn--fire:focus-visible,
  .btn--fire.is-fire-active,
  button[type="submit"].btn:hover {
    box-shadow: 0 6px 24px rgba(212, 43, 43, 0.32) !important;
  }

  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .container {
    padding-inline: 16px;
  }

  .section-title {
    font-size: clamp(1.85rem, 9.5vw, 2.75rem);
    letter-spacing: 0.03em;
    overflow-wrap: break-word;
  }

  .modernize-header__title {
    font-size: clamp(1.75rem, 9vw, 2.6rem);
    letter-spacing: 0.03em;
    overflow-wrap: break-word;
  }

  .modernize-header__lead {
    font-size: clamp(var(--text-sm), 3.6vw, var(--text-base));
  }

  .hero__title {
    font-size: clamp(1.45rem, 6.8vw, 2.15rem);
    letter-spacing: 0.04em;
    overflow-wrap: break-word;
  }

  .hero__subtitle {
    font-size: clamp(var(--text-sm), 3.8vw, var(--text-base));
    padding-inline: 4px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    padding-inline: 8px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .hero__video,
  .philosophy__video,
  .about-partner__reel-video,
  .onboarding__video,
  .process-compare__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .btn,
  .btn--sm,
  .btn--lg,
  .service-card__cta,
  .about-partner__cta,
  .testimonials__btn {
    min-height: 44px;
  }

  .service-card__cta,
  .about-partner__cta {
    width: 100%;
  }

  .onboarding__title {
    font-size: clamp(2rem, 10vw, 2.8rem);
    overflow-wrap: break-word;
  }

  .onboarding__benefits li {
    gap: 16px;
  }

  .cta .btn--lg {
    width: 100%;
    max-width: 360px;
    min-height: 48px;
  }

  .cta__contact-links {
    flex-direction: column;
    gap: 12px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .video-ambient:not(.is-ready) .video-ambient__target {
    opacity: 1;
  }

  .footer__seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-floats {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-y-mobile: 48px;
  }

  .modernize-header__title {
    font-size: clamp(1.5rem, 8.5vw, 2.1rem);
  }

  .hero__title {
    font-size: clamp(1.3rem, 6.2vw, 1.85rem);
  }

  .section-title {
    font-size: clamp(1.65rem, 8.8vw, 2.35rem);
  }

  .philosophy__headline {
    font-size: clamp(1.65rem, 7.5vw, 2.2rem);
  }

  .process-compare__screen {
    height: clamp(200px, 54vw, 300px);
    min-height: clamp(200px, 54vw, 300px);
    max-height: clamp(200px, 54vw, 300px);
  }

  .process-compare__label {
    letter-spacing: 0.1em;
  }
}
