/* Premium layer — Luzzo MDF */

:root {
  --glow-orange: rgba(226, 159, 97, 0.45);
  --glow-navy: rgba(30, 54, 97, 0.35);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.35);
  --shadow-glow: 0 0 60px rgba(226, 159, 97, 0.18);
  --shadow-premium: 0 24px 64px rgba(21, 40, 71, 0.14), 0 2px 8px rgba(21, 40, 71, 0.06);
}

::selection {
  background: rgba(226, 159, 97, 0.35);
  color: var(--color-navy-dark);
}

/* Film grain + ambient light */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.04;
  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");
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: min(480px, 60vw);
  height: min(480px, 60vw);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(226, 159, 97, 0.14) 0%, rgba(30, 54, 97, 0.06) 40%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  mix-blend-mode: soft-light;
}

body.is-ready .cursor-glow {
  opacity: 1;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor-glow {
    display: none;
  }
}

/* Typography */
.hero__title {
  font-family: var(--font-ui);
  font-size: clamp(1.65rem, 4vw, 2.65rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.1rem;
  max-width: min(100%, 20em);
  text-wrap: balance;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.25);
  font-feature-settings: 'kern' 1, 'liga' 1, 'onum' 1;
}

.text-gradient {
  display: inline-block;
  white-space: nowrap;
  font-style: italic;
  background: linear-gradient(120deg, #fff 0%, var(--color-accent-light) 40%, var(--color-orange) 80%, #fff 120%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShimmer 6s ease-in-out infinite;
}

@keyframes textShimmer {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.section-title {
  font-family: var(--font-ui);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.14;
  text-wrap: balance;
}

.section-title::after {
  content: '';
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-orange), transparent);
}

.video-section__head .section-title::after,
.viz-head .section-title::after {
  margin-inline: auto;
}

.section-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-orange);
}

/* Ambient background orbs */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: clip;
  contain: strict;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: ambientDrift 22s var(--ease-premium) infinite alternate;
}

.ambient__orb--1 {
  top: -8%;
  left: -6%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  background: radial-gradient(circle, rgba(226, 159, 97, 0.22), transparent 68%);
}

.ambient__orb--2 {
  top: 38%;
  right: -10%;
  width: min(480px, 65vw);
  height: min(480px, 65vw);
  background: radial-gradient(circle, rgba(42, 74, 122, 0.18), transparent 70%);
  animation-delay: -8s;
}

.ambient__orb--3 {
  bottom: -12%;
  left: 28%;
  width: min(560px, 75vw);
  height: min(560px, 75vw);
  background: radial-gradient(circle, rgba(226, 159, 97, 0.12), transparent 72%);
  animation-delay: -14s;
}

@keyframes ambientDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3%, -4%, 0) scale(1.08);
  }
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-orange), var(--color-accent-light));
  box-shadow: 0 0 12px var(--glow-orange);
  transition: width 0.08s linear;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

/* Hero cinematic */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(226, 159, 97, 0.2), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(42, 74, 122, 0.35), transparent 50%);
  pointer-events: none;
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(15, 28, 50, 0.55) 0%, rgba(21, 40, 71, 0.82) 40%, rgba(21, 40, 71, 0.94) 100%),
    linear-gradient(115deg, rgba(21, 40, 71, 0.75) 0%, rgba(30, 54, 97, 0.5) 50%, transparent 100%);
}

.hero__logo {
  margin-bottom: 0.85rem;
  animation: heroLogoFloat 6s var(--ease-premium) infinite alternate;
}

@keyframes heroLogoFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

.hero__eyebrow {
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 159, 97, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.hero__badges li {
  backdrop-filter: blur(16px) saturate(1.3);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s var(--ease-premium), background 0.4s var(--ease-premium);
}

.hero__badges li:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

/* Premium buttons */
.btn--primary {
  background: linear-gradient(135deg, var(--color-orange) 0%, #f0b078 50%, var(--color-orange-dark) 100%);
  background-size: 200% 200%;
  color: var(--color-navy-dark);
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow:
    0 4px 24px var(--glow-orange),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: btnShimmer 4s ease infinite;
}

@keyframes btnShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.btn--primary:hover {
  box-shadow:
    0 8px 40px var(--glow-orange),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn--ghost {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--magnetic {
  transition: transform 0.2s var(--ease-out-expo);
}

/* Section mesh backgrounds */
.section--alt {
  background:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(226, 159, 97, 0.06), transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(30, 54, 97, 0.05), transparent 50%),
    var(--color-bg-alt);
}

.section--mesh {
  position: relative;
  overflow: hidden;
}

.section--mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(226, 159, 97, 0.07), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(30, 54, 97, 0.06), transparent 35%);
  pointer-events: none;
}

.section--mesh > .container {
  position: relative;
  z-index: 1;
}

/* Glass cards */
.glass-card,
.product-card,
.timeline-v__card:not(.timeline-v__card--quote):not(.timeline-v__card--highlight),
.metric-card,
.contact__form,
.mvv__block {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-premium);
}

.product-card,
.metric-card {
  position: relative;
  overflow: hidden;
}

.product-card::before,
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(226, 159, 97, 0.4), transparent 40%, rgba(30, 54, 97, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease-premium);
}

.product-card:hover::before,
.feature:hover::before {
  opacity: 1;
}

.product-card,
.mvv__block,
.feature {
  transition: transform 0.45s var(--ease-premium), box-shadow 0.45s var(--ease-premium);
}

.product-card:hover,
.mvv__block:hover,
.feature:hover {
  transform: translateY(-6px);
  box-shadow:
    var(--shadow-premium),
    0 0 0 1px rgba(226, 159, 97, 0.12),
    0 20px 60px rgba(30, 54, 97, 0.12);
}

.section-title--light::after,
.section--dark .section-title::after {
  background: linear-gradient(90deg, var(--color-accent-light), transparent);
}

/* Stats premium */
.stats-bar {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 50%, #243d6b 100%);
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.stats-bar__grid {
  position: relative;
  z-index: 1;
}

.stat__value,
.stat__suffix {
  font-family: var(--font-ui);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px var(--glow-orange);
}

/* Concept pulse premium */
.concept {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.concept__word {
  opacity: 0.7;
  transition: opacity 0.4s, color 0.4s, transform 0.4s var(--ease-premium);
}

.concept__word:hover {
  opacity: 1;
  color: var(--color-navy);
  transform: scale(1.05);
}

/* Features dark section */
.section--dark {
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(42, 74, 122, 0.5), transparent 55%),
    linear-gradient(180deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
}

.feature {
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

/* Photo premium zoom */
.photo-card--zoom {
  box-shadow: var(--shadow-premium);
}

.photo-card--zoom::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.5), transparent 50%, rgba(226, 159, 97, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.photo-card--zoom:hover::before {
  opacity: 1;
}

.photo-card--zoom:hover img {
  transform: scale(1.1);
}

/* Timeline premium */
.timeline-v__card {
  backdrop-filter: blur(16px);
}

.timeline-v__card--highlight {
  background: linear-gradient(155deg, var(--color-navy), var(--color-primary-light));
  border: none;
  color: #fff;
  box-shadow:
    var(--shadow-premium),
    0 0 80px rgba(30, 54, 97, 0.35);
}

.timeline-v__card--highlight h3,
.timeline-v__card--highlight .timeline-v__date,
.timeline-v__card--highlight p {
  color: #fff;
}

.timeline-v__card--highlight .timeline-v__date {
  color: var(--color-accent-light);
}

.timeline-v__card--highlight .timeline-v__stats li {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.timeline-v__card--highlight .timeline-v__stats strong {
  color: var(--color-accent-light);
}

.timeline-v__progress {
  box-shadow: 0 0 20px var(--glow-orange);
}

/* Logistics band */
.logistics-band {
  background: linear-gradient(90deg, var(--color-navy-dark), #1a3055, var(--color-navy-dark));
  background-size: 200% 100%;
  animation: bandShift 12s ease infinite;
}

@keyframes bandShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Contact form glow */
.contact__form {
  box-shadow: var(--shadow-premium), 0 0 0 1px rgba(30, 54, 97, 0.04);
}

.contact__form:focus-within {
  box-shadow: var(--shadow-premium), 0 0 0 3px rgba(226, 159, 97, 0.2);
}

/* Footer premium */
.footer {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(226, 159, 97, 0.08), transparent 60%),
    var(--color-navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Section divider wave */
.section-wave {
  display: block;
  width: 100%;
  height: 64px;
  margin-top: -1px;
  fill: var(--color-bg);
}

.section-wave--alt {
  fill: var(--color-bg-alt);
}

/* Reveal premium easing */
.reveal {
  transition:
    opacity 1.1s var(--ease-out-expo),
    transform 1.1s var(--ease-out-expo),
    filter 1.1s var(--ease-out-expo);
}

.reveal--up {
  transform: translateY(64px);
}

.reveal--scale {
  transform: scale(0.9);
}

/* Nav CTA glow */
.nav__cta {
  background: linear-gradient(135deg, var(--color-navy), #2a4a7a);
  box-shadow: 0 4px 20px var(--glow-navy);
  transition: all 0.4s var(--ease-premium);
}

.nav__cta:hover {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  box-shadow: 0 6px 28px var(--glow-orange);
  transform: translateY(-1px);
}

/* Loading entrance */
body {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.is-ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo,
  .btn--primary,
  .logistics-band,
  .ambient__orb,
  .text-gradient {
    animation: none !important;
  }

  body {
    opacity: 1;
  }
}

.section-title--light,
.section--dark .section-title {
  color: #fff;
}

.section--dark .section-title em {
  color: var(--color-orange);
}

@media (max-width: 768px) {
  .hero__title {
    max-width: none;
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
}

@media (max-width: 960px), (hover: none) {
  .ambient,
  .grain,
  .cursor-glow {
    display: none;
  }
}

/* Institutional video */
.video-section {
  padding-top: 0;
  padding-bottom: 0;
}

.video-section__head {
  max-width: 620px;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.video-section__head .section__intro {
  margin-inline: auto;
}

.video-player {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f1d35;
  box-shadow:
    0 24px 64px rgba(8, 16, 32, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 9;
}

.video-player__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0f1d35;
}

.video-player__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(15, 29, 53, 0.15), rgba(15, 29, 53, 0.72)),
    linear-gradient(180deg, rgba(15, 29, 53, 0.1), rgba(15, 29, 53, 0.55));
  color: #fff;
  cursor: pointer;
  transition: opacity 0.35s var(--ease-premium), visibility 0.35s;
}

.video-player__play-ring {
  position: absolute;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 12px rgba(226, 159, 97, 0.12);
  animation: video-pulse 2.4s ease-in-out infinite;
}

.video-player__play-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange), #c8844a);
  font-size: 1.35rem;
  line-height: 1;
  padding-left: 0.2rem;
  box-shadow: 0 16px 40px rgba(226, 159, 97, 0.35);
  transition: transform 0.3s var(--ease-premium);
}

.video-player__play-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-player__play:hover .video-player__play-icon {
  transform: scale(1.06);
}

.video-player.is-playing .video-player__play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-player.is-playing .video-player__media {
  object-fit: contain;
}

@keyframes video-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.45;
  }
}

@media (max-width: 640px) {
  .video-player__play-ring {
    width: 4.5rem;
    height: 4.5rem;
  }

  .video-player__play-icon {
    width: 3.6rem;
    height: 3.6rem;
    font-size: 1.1rem;
  }
}
