:root {
  --white: #ffffff;
  --warm-white: #f7f5f1;
  --ink: #101114;
  --muted: #5f6368;
  --line: rgba(17, 17, 17, .1);
  --red: #a91122;
  --dark: #0d0d0d;
  --container: min(100% - 48px, 1180px);
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow-soft: 0 30px 90px rgba(12, 18, 28, .14);
  --hero-x: 0px;
  --hero-y: 0px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--white); }
body {
  margin: 0;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f8f8f6 48%, #fff 100%);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
p { margin: 0; color: var(--muted); line-height: 1.72; font-size: 17px; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: .96; }
h1 { max-width: 1120px; color: #fff; font-size: clamp(56px, 9vw, 132px); font-weight: 650; line-height: 1.1; text-transform: uppercase; }
h2 { font-size: clamp(36px, 4.5vw, 58px); font-weight: 620; }
h3 { font-size: clamp(23px, 2.4vw, 32px); font-weight: 620; letter-spacing: -.035em; }
.container { width: var(--container); margin-inline: auto; }

.intro-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: #000;
  opacity: 1;
  transition: opacity .82s cubic-bezier(.22, 1, .36, 1) .55s, visibility .82s .55s;
}
body.is-ready .intro-mask { opacity: 0; visibility: hidden; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 3.4vw, 48px);
  transition: background .35s ease, border .35s ease, padding .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  padding-block: 8px;
  background: rgba(255,255,255,.74);
  border-bottom: 1px solid rgba(17,17,17,.08);
  backdrop-filter: blur(22px) saturate(150%);
}
.brand { width: clamp(112px, 9vw, 152px); position: relative; z-index: 1; }
.brand img { height: auto; max-height: 30px; object-fit: contain; }
.site-header:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }
.header-nav { display: flex; align-items: center; gap: 0; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: rgba(255,255,255,.82); }
.site-header.is-scrolled .header-nav { color: rgba(17,17,17,.7); }
.header-nav > a:not(.phone-link) { transition: color .25s ease; }
.header-nav > a:not(.phone-link):hover { color: var(--red); }
.phone-link {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  backdrop-filter: blur(18px);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled .phone-link { color: var(--ink); background: rgba(255,255,255,.7); border-color: rgba(17,17,17,.1); }
.phone-link:hover { transform: translateY(-2px); border-color: rgba(169,17,34,.35); box-shadow: 0 16px 36px rgba(169,17,34,.16); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 760;
  letter-spacing: -.01em;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: linear-gradient(135deg, #a91122, #7d0c18); box-shadow: 0 22px 50px rgba(169,17,34,.28); }
.button-glass { color: #fff; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.12); backdrop-filter: blur(18px); }
.button-light { color: var(--ink); border-color: rgba(17,17,17,.12); background: rgba(255,255,255,.72); box-shadow: 0 18px 40px rgba(17,17,17,.08); }
.button-light:hover { border-color: rgba(169,17,34,.28); box-shadow: 0 22px 56px rgba(169,17,34,.14); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  transform: translate3d(var(--hero-x), var(--hero-y), 0) scale(1.025);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
  opacity: 0;
  animation: videoReveal 1s ease .62s forwards;
  will-change: transform;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); z-index: 1; }
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
}
.hero-content { position: relative; z-index: 3; padding: 10vh 0; text-align: center; opacity: 0; transform: translateY(24px); animation: contentReveal 1s ease .86s forwards; }
.eyebrow, .scene-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.scene-kicker { color: rgba(169,17,34,.85); }
.hero-lead { max-width: 760px; margin: 30px auto 0; color: rgba(255,255,255,.82); font-size: clamp(19px, 2vw, 27px); line-height: 1.42; }
.hero-meta { margin-top: 20px; color: rgba(15, 15, 15, 0.62); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 150px; }
.particle-field, .circuit-pulse { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.particle-field span { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.52); filter: blur(.2px); animation: floatParticle 13s ease-in-out infinite; }
.particle-field span:nth-child(1) { left: 18%; top: 30%; animation-delay: -2s; }
.particle-field span:nth-child(2) { left: 76%; top: 24%; animation-delay: -6s; }
.particle-field span:nth-child(3) { left: 62%; top: 63%; animation-delay: -9s; }
.particle-field span:nth-child(4) { left: 31%; top: 72%; animation-delay: -4s; }
.particle-field span:nth-child(5) { left: 87%; top: 58%; animation-delay: -11s; }
.circuit-pulse i {
  position: absolute;
  height: 1px;
  width: min(34vw, 520px);
  background: linear-gradient(90deg, transparent, rgba(169,17,34,.8), transparent);
  opacity: 0;
  transform: rotate(-18deg) translateX(-30vw);
  animation: redPulse 10s cubic-bezier(.5, 0, .2, 1) infinite;
}
.circuit-pulse i:nth-child(1) { left: 10%; top: 34%; }
.circuit-pulse i:nth-child(2) { left: 40%; top: 52%; animation-delay: 3.6s; }
.circuit-pulse i:nth-child(3) { left: 5%; top: 72%; animation-delay: 7.2s; }

.story { position: relative; background: var(--white); }
.cinema-section {
  position: relative;
  min-height: 112svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #101114;
}
.cinema-section + .cinema-section { margin-top: -1px; }
.scene-backdrop { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.scene-backdrop img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: translate3d(0, var(--scene-y, 0px), 0) scale(calc(1.08 + var(--scene-scale, 0)));
  filter: saturate(1.05) contrast(1.04);
  will-change: transform;
}
.scene-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.18) 48%, rgba(0,0,0,.58)), rgba(0,0,0,.1);
}
.light-scene, .white-scene { color: var(--ink); background: #f5f4f1; }
.light-scene .scene-backdrop::after { background: linear-gradient(90deg, rgba(255,255,255,.74), rgba(255,255,255,.22) 48%, rgba(255,255,255,.78)); }
.white-scene .scene-backdrop::after { background: linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.44) 48%, rgba(255,255,255,.9)); }
.scene-energy {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at calc(50% + var(--energy-x, 0px)) calc(50% + var(--energy-y, 0px)), rgba(169,17,34,.28), transparent 32%), linear-gradient(115deg, transparent 30%, rgba(255,255,255,.12), transparent 58%);
  mix-blend-mode: screen;
  opacity: .72;
  transform: translate3d(calc(var(--scene-y, 0px) * -.15), 0, 0);
  animation: energyDrift 9s ease-in-out infinite alternate;
}
.light-scene .scene-energy, .white-scene .scene-energy { mix-blend-mode: multiply; opacity: .42; }
.light-beams { background: linear-gradient(105deg, transparent 10%, rgba(255,255,255,.55) 42%, rgba(169,17,34,.16) 48%, transparent 68%); }
.airflow { background: repeating-linear-gradient(110deg, transparent 0 34px, rgba(255,255,255,.18) 35px 36px, transparent 37px 78px); opacity: .35; }
.scene-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(360px, .9fr); gap: clamp(36px, 7vw, 112px); align-items: center; padding: 120px 0; }
.scene-grid-reverse { grid-template-columns: minmax(360px, .9fr) minmax(0, .82fr); }
.scene-grid-reverse .glass-card { order: 2; }
.glass-card {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: clamp(28px, 4.2vw, 56px);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.16);
  box-shadow: 0 35px 90px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.35);
  backdrop-filter: blur(24px) saturate(150%);
}
.light-scene .glass-card, .white-scene .glass-card { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.56); box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.9); }
.glass-card h2 { margin-bottom: 24px; }
.glass-card .lead { color: currentColor; font-size: clamp(19px, 2vw, 24px); line-height: 1.34; opacity: .88; }
.glass-card p + p { margin-top: 18px; }
.glass-card p:not(.lead) { color: currentColor; opacity: .66; }
.glass-card .button { margin-top: 32px; }

.layered-scene {
  position: relative;
  z-index: 1;
  min-height: clamp(360px, 46vw, 620px);
  border-radius: 42px;
  perspective: 1200px;
  transform: translate3d(0, var(--media-y, 0px), 0) rotateX(var(--media-tilt, 0deg));
  will-change: transform;
}
.layered-scene::before {
  content: "";
  position: absolute;
  inset: 5% 2% 0 10%;
  border-radius: inherit;
  background: radial-gradient(circle at 54% 52%, rgba(169,17,34,.26), transparent 58%);
  filter: blur(26px);
  opacity: .74;
  transform: translate3d(var(--layer-glow-x, 0px), var(--layer-glow-y, 0px), 0);
}
.parallax-layer {
  position: absolute;
  display: block;
  aspect-ratio: 1672 / 941;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 34px;
  box-shadow: 0 34px 86px rgba(0,0,0,.28);
  will-change: transform;
  transition: transform .16s linear, filter .5s ease;
}
.layer-middle {
  z-index: 1;
  top: 7%;
  right: 0;
  width: min(92%, 620px);
  opacity: .94;
  filter: saturate(.96) contrast(1.02);
  transform: translate3d(var(--middle-x, 0px), var(--middle-y, 0px), 0) scale(1.01) rotateY(var(--middle-tilt, -4deg));
}
.layer-foreground {
  z-index: 2;
  left: 0;
  bottom: 4%;
  width: min(76%, 540px);
  opacity: .98;
  filter: saturate(1.08) contrast(1.04);
  transform: translate3d(var(--front-x, 0px), var(--front-y, 0px), 70px) scale(1.02) rotateY(var(--front-tilt, 5deg));
}
.connector-layered .layer-middle { clip-path: inset(0 38% 0 0); transform: translate3d(calc(var(--middle-x, 0px) - 18px), var(--middle-y, 0px), 0) scale(1.02) rotateY(var(--middle-tilt, -4deg)); }
.connector-layered .layer-foreground { clip-path: inset(0 0 0 38%); transform: translate3d(calc(var(--front-x, 0px) + 18px), var(--front-y, 0px), 70px) scale(1.02) rotateY(var(--front-tilt, 5deg)); }
.connection-flash { position: absolute; z-index: 3; inset: 42% 42%; border-radius: 999px; background: rgba(169,17,34,.34); filter: blur(22px); opacity: var(--flash, .2); transform: scale(calc(.8 + var(--flash, .2))); }


.reveal { opacity: 0; transform: translateY(44px); transition: opacity .9s ease, transform .9s cubic-bezier(.22, 1, .36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.advantages {
  position: relative;
  padding: clamp(88px, 12vw, 160px) 0;
  background: #fff;
  overflow: hidden;
  isolation: isolate;
}
.advantages .scene-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.advantages .scene-backdrop::after {
  display: none;
}
.advantages .scene-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.advantages .container {
  position: relative;
  z-index: 1;
}
.section-heading { max-width: 780px; margin-bottom: clamp(38px, 6vw, 72px); }
.section-heading .scene-kicker { margin-bottom: 18px; }
.section-heading p { max-width: 680px; margin-top: 24px; font-size: 19px; }

.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.advantages-grid .section-heading {
  grid-column: 1 / -1;
  max-width: 100%;
  margin-bottom: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #f8f8f6);
  box-shadow: 0 18px 56px rgba(12,18,28,.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.advantages-grid .section-heading p { max-width: 100%; margin-top: 18px; }

.advantage-card {
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #f8f8f6);
  box-shadow: 0 18px 56px rgba(12,18,28,.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.advantage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(169, 17, 34, 0.4);
  box-shadow: 0 24px 64px rgba(169, 17, 34, 0.12), 0 0 0 1px rgba(169, 17, 34, 0.08);
}
.advantage-card span { display: block; margin-bottom: 84px; color: var(--red); font-weight: 800; letter-spacing: .14em; }
.advantage-card h3 { margin-bottom: 16px; }
.advantage-card p { font-size: 15.5px; }
.cta { padding: clamp(80px, 10vw, 140px) 0; background: radial-gradient(circle at 18% 0%, rgba(169,17,34,.12), transparent 32%), #f7f5f1; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: clamp(34px, 5vw, 70px); border: 1px solid rgba(255,255,255,.84); border-radius: 42px; background: rgba(255,255,255,.68); box-shadow: var(--shadow-soft); backdrop-filter: blur(20px); }
.cta-panel div { max-width: 780px; }
.cta-panel p { margin-top: 22px; font-size: 19px; }
.site-footer { padding: 82px 0 32px; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .75fr; gap: 54px; align-items: start; }
.footer-brand img { width: auto; max-width: 100%; height: auto; max-height: 30px; object-fit: contain; margin-bottom: 24px; margin-left: -10px; }
.footer-brand p { max-width: 430px; }
.footer-column { display: grid; gap: 14px; font-style: normal; }
.footer-column h2 { margin-bottom: 12px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.footer-column a, .footer-column span { display: flex; align-items: center; gap: 12px; color: var(--muted); line-height: 1.45; }
.footer-column a span { position: relative; text-decoration: none; }
.footer-column a span::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--red); transition: width .7s ease; }
.footer-column a:hover span::after { width: 100%; }
.footer-column img { flex: 0 0 auto; filter: invert(18%) sepia(76%) saturate(2730%) hue-rotate(337deg) brightness(80%) contrast(98%); }
.footer-column:last-child img { filter: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-bottom p { font-size: 13px; }

@keyframes videoReveal { to { opacity: 1; } }
@keyframes contentReveal { to { opacity: 1; transform: translateY(0); } }
@keyframes floatParticle { 0%,100% { transform: translate3d(0,0,0); opacity: .18; } 45% { transform: translate3d(26px,-42px,0); opacity: .65; } }
@keyframes redPulse { 0%, 72% { opacity: 0; transform: rotate(-18deg) translateX(-30vw); } 80% { opacity: .7; } 92%, 100% { opacity: 0; transform: rotate(-18deg) translateX(46vw); } }
@keyframes energyDrift { from { transform: translate3d(-1.5%,0,0); } to { transform: translate3d(1.5%,0,0); } }

@media (max-width: 1040px) {
  .scene-grid, .scene-grid-reverse { grid-template-columns: 1fr; }
  .scene-grid-reverse .glass-card { order: 0; }
  .glass-card { max-width: 760px; }
 .layered-scene { min-height: 520px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --container: min(100% - 32px, 1180px); }
  p { font-size: 16px; }
  .site-header { padding: 10px 14px; }
  .brand { width: 116px; }
  .brand img { max-height: 24px; }
  .phone-link { padding: 8px 11px; font-size: 12.5px; }
  .hero { min-height: 760px; }
  h1 { font-size: clamp(44px, 14vw, 66px); }
  h2 { font-size: clamp(39px, 11vw, 58px); }
  .hero-content { padding-bottom: 58px; }
  .hero-actions, .button { width: 100%; }
  .cinema-section { min-height: auto; }
  .scene-grid { padding: 92px 0; gap: 30px; }
  .glass-card { padding: 26px; border-radius: 28px; }
 .layered-scene { min-height: 390px; margin-inline: -6px; }
  .parallax-layer { border-radius: 24px; }
  .layer-middle { width: 90%; }
  .layer-foreground { width: 80%; }
  .advantages-grid { grid-template-columns: 1fr; }
  .advantage-card { min-height: auto; }
  .advantage-card span { margin-bottom: 44px; }
  .cta-panel { display: grid; border-radius: 30px; }
  .footer-grid, .footer-bottom { display: grid; grid-template-columns: 1fr; }
}

.text-hyphen { display: none; }
@media (min-width: 1041px) {
  .text-no-hyphen { display: none; }
  .text-hyphen { display: inline; }
}

@media (min-width: 1041px) and (max-width: 1749px) {
  .layer-middle {
    width: min(92%, 900px);
    right: 0;
    left: auto;
    transform: translate3d(calc(var(--middle-x, 0px) * 0.6), var(--middle-y, 0px), 0) scale(1.01) rotateY(var(--middle-tilt, -4deg));
  }
  .layer-foreground {
    width: min(80%, 800px);
    left: 0;
    right: auto;
    transform: translate3d(calc(var(--front-x, 0px) * 0.6), var(--front-y, 0px), 70px) scale(1.02) rotateY(var(--front-tilt, 5deg));
  }
}

@media (min-width: 1750px) {
  .layer-middle {
    width: min(92%, 1000px);
    right: 50%;
    left: auto;
  }
  .layer-foreground {
    width: min(92%, 1000px);
    left: 50%;
    right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 1ms !important; }
  .hero-video, .scene-backdrop img, .layered-scene, .parallax-layer { transform: none !important; }
}
