/* ─────────────────────────────────────────────────────────
   CHRONOSCOPE — Design System
   ───────────────────────────────────────────────────────── */

@font-face {
  font-family: "Voyage";
  src: url("./assets/brand/voyage-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black:      #080809;
  --charcoal:   #0d0d10;
  --ink:        #111114;
  --slate:      #25272d;
  --stone:      #a8a29e;
  --muted:      #6b6762;
  --off-white:  #f0f0ee;
  --cream:      #e8e4de;
  --terracotta: #f07a5a;
  --coral-pale: #f5a082;
  --mist:       #b9cde3;

  --line:       rgba(240, 240, 238, 0.08);
  --line-light: rgba(240, 240, 238, 0.14);

  --display: "Voyage", "Libre Bodoni", Didot, "Bodoni 72", Georgia, serif;
  --serif:   "Libre Bodoni", Didot, "Bodoni 72", Georgia, serif;
  --sans:    "Inter", system-ui, Arial, sans-serif;

  --nav-h: 72px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--charcoal);
  color: var(--off-white);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
  cursor: none;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: none; }
ul, li { list-style: none; }

/* ── GRAIN OVERLAY ──────────────────────────────────────── */
.grain {
  position: fixed;
  inset: -100%;
  z-index: 900;
  width: 300%;
  height: 300%;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: grainShift 0.18s steps(1) infinite;
  will-change: transform;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-8%, 12%); }
  50%  { transform: translate(12%, -6%); }
  75%  { transform: translate(-4%, -14%); }
  100% { transform: translate(8%, 4%); }
}

/* ── CURSOR ─────────────────────────────────────────────── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 950;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 5px; height: 5px;
  background: var(--off-white);
  transition: opacity 200ms, width 250ms var(--ease-out-expo),
              height 250ms var(--ease-out-expo), background 200ms;
}

.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(240, 240, 238, 0.44);
  transition: width 350ms var(--ease-out-expo),
              height 350ms var(--ease-out-expo),
              border-color 300ms, opacity 200ms;
}

body.cursor--hover .cursor-dot  { width: 7px; height: 7px; background: var(--terracotta); }
body.cursor--hover .cursor-ring { width: 54px; height: 54px; border-color: var(--terracotta); opacity: 0.6; }
body.cursor--out   .cursor-dot,
body.cursor--out   .cursor-ring { opacity: 0; }

/* ── PRELOADER ──────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: var(--black);
  transition: opacity 900ms var(--ease-out-expo), visibility 900ms;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-portal {
  position: relative;
  width: 72px; height: 72px;
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
}

.preloader-ring--outer {
  border-top-color: var(--terracotta);
  border-right-color: rgba(240, 122, 90, 0.3);
  animation: spin 1.4s linear infinite;
}

.preloader-ring--inner {
  inset: 12px;
  border-top-color: var(--mist);
  border-left-color: rgba(185, 205, 227, 0.3);
  animation: spin 1s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }

.preloader-label {
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.36em;
  color: rgba(240, 240, 238, 0.38);
  text-transform: uppercase;
}

/* ── NAV ────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--nav-h);
  padding-inline: clamp(22px, 5vw, 72px);
  transition: background 500ms ease, backdrop-filter 500ms ease,
              border-color 500ms ease;
}

.site-nav.is-scrolled {
  background: rgba(8, 8, 9, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  flex-shrink: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms var(--ease-out-expo);
}

.site-nav.nav--past-hero .nav-logo {
  opacity: 1;
  pointer-events: auto;
}

.nav-logo img {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(0,0,0,0.6));
  transition: opacity 200ms;
}
.nav-logo:hover img { opacity: 0.76; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
}

.nav-links a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 240, 238, 0.52);
  transition: color 200ms;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease-out-expo);
}

.nav-links a:hover { color: var(--off-white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  margin-left: 20px;
  flex-shrink: 0;
  padding: 10px 20px;
  min-height: 38px;
  font-size: 9px;
}

/* ── LANGUAGE SWITCH ───────────────────────────────────── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  flex-shrink: 0;
}
.lang-switch button {
  padding: 6px 4px;
  color: rgba(240, 240, 238, 0.36);
  text-transform: uppercase;
  transition: color 220ms;
}
.lang-switch button:hover { color: rgba(240, 240, 238, 0.78); }
.lang-switch button.active { color: var(--off-white); }
.lang-switch > span {
  color: rgba(240, 240, 238, 0.2);
  pointer-events: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  height: 1px;
  background: var(--off-white);
  transition: transform 300ms, opacity 300ms;
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ── BUTTONS ────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 26px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: transform 220ms var(--ease-out-expo),
              box-shadow 220ms var(--ease-out-expo),
              background 200ms, color 200ms, border-color 200ms;
}

.button:hover { transform: translateY(-2px); }

.button.primary {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--black);
}
.button.primary:hover {
  box-shadow: 0 20px 52px rgba(240, 122, 90, 0.32);
}

.button.secondary {
  background: rgba(240, 240, 238, 0.04);
  border-color: rgba(240, 240, 238, 0.22);
  color: var(--off-white);
}
.button.secondary:hover {
  background: rgba(240, 240, 238, 0.08);
  border-color: rgba(240, 240, 238, 0.38);
}

/* ── EYEBROW / KICKER ───────────────────────────────────── */
.eyebrow, .section-kicker {
  margin-bottom: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240, 240, 238, 0.42);
}

.eyebrow::before, .section-kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--terracotta);
  vertical-align: middle;
  margin-right: 14px;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h3 {
  font-family: var(--sans);
  font-weight: 700;
}

/* ─────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: var(--nav-h) clamp(22px, 5vw, 72px) 80px;
  text-align: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* ── HERO ATMOSPHERE (blurred glow image) ───────────────── */
.hero-atmosphere {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(560px, 90vw, 1200px);
  transform: translate(-50%, -48%);
  filter: blur(80px) saturate(1.2) brightness(0.52);
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ── CANVAS TIMELINE THREADS ────────────────────────────── */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── BRAND O — THE PORTAL LENS ──────────────────────────── */
.hero-portal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-o-svg {
  width: clamp(300px, 48vw, 620px);
  height: auto;
  animation: oSpin 90s linear infinite, oGlow 5s ease-in-out infinite alternate;
}

.o-fill {
  fill: url(#o-inner-glow);
}

.o-stroke {
  stroke: rgba(240, 240, 238, 0.28);
  stroke-width: 0.6;
  /* Draw-in on load */
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: oDrawIn 2.4s var(--ease-out-expo) 0.8s forwards;
}

@keyframes oSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes oGlow {
  from {
    filter:
      drop-shadow(0 0 18px rgba(240, 122,  90, 0.32))
      drop-shadow(0 0 44px rgba(240, 122,  90, 0.14));
  }
  to {
    filter:
      drop-shadow(0 0 38px rgba(240, 122,  90, 0.52))
      drop-shadow(0 0 88px rgba(240, 122,  90, 0.24))
      drop-shadow(0 0 140px rgba(185, 205, 227, 0.14));
  }
}

@keyframes oDrawIn {
  to { stroke-dashoffset: 0; }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(13, 13, 16, 0.62) 0%, transparent 20%, transparent 66%, rgba(13, 13, 16, 0.92) 100%),
    radial-gradient(ellipse at center, transparent 28%, rgba(13, 13, 16, 0.58) 78%),
    radial-gradient(ellipse 110% 80% at 50% 38%, rgba(185, 205, 227, 0.07), transparent 68%);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  padding-top: 48px;
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(240, 240, 238, 0.38);
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms var(--ease-out-expo), transform 800ms var(--ease-out-expo);
}

.hero-logo {
  width: min(74vw, 580px);
  margin-bottom: 38px;
  filter:
    drop-shadow(0 44px 64px rgba(0,0,0,0.72))
    drop-shadow(0 0 48px rgba(240, 240, 238, 0.06));
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition: opacity 1000ms var(--ease-out-expo) 80ms,
              transform 1000ms var(--ease-out-expo) 80ms;
}

h1#hero-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1.42;
  color: rgba(240, 240, 238, 0.72);
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.64);
  max-width: 560px;
  margin-bottom: 52px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms var(--ease-out-expo) 180ms,
              transform 900ms var(--ease-out-expo) 180ms;
}

/* Hero reveal states */
.hero-content [data-hero-step].is-visible { opacity: 1; transform: none; }

/* ── LOGO SPLIT ANIMATION ───────────────────────────────── */

/* Groups start hidden */
.logo-chrono,
.logo-rule,
.logo-scope { opacity: 0; }

/* Trigger when the SVG gets .is-visible */
[data-hero-step="1"].is-visible .logo-chrono {
  animation: logoChronoIn 900ms var(--ease-out-expo) 60ms both;
}
[data-hero-step="1"].is-visible .logo-rule {
  animation: logoRuleIn   500ms var(--ease-out-expo) 200ms both;
}
[data-hero-step="1"].is-visible .logo-scope {
  animation: logoScopeIn  900ms var(--ease-out-expo) 280ms both;
}

@keyframes logoChronoIn {
  from { opacity: 0; transform: translateY(-9px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes logoRuleIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes logoScopeIn {
  from { opacity: 0; transform: translateY(9px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: rgba(240, 240, 238, 0.14);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -24px;
  height: 24px;
  background: linear-gradient(to bottom, transparent, var(--off-white));
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: translateY(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(88px); opacity: 0; }
}

/* ─────────────────────────────────────────────────────────
   VIVATECH
   ───────────────────────────────────────────────────────── */
.vivatech-band {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vivatech-band p {
  font-size: 18px;
  font-weight: 400;
  color: var(--off-white);
}

/* ─────────────────────────────────────────────────────────
   MARQUEE
   ───────────────────────────────────────────────────────── */
.marquee-band {
  overflow: hidden;
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 20px;
}

.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
  will-change: transform;
}

.marquee-track span {
  display: inline-block;
  padding-inline: 32px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(240, 240, 238, 0.38);
}

.marquee-track em {
  font-style: normal;
  color: var(--terracotta);
  opacity: 0.72;
  padding-inline: 4px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────────────────
   INTRO BAND
   ───────────────────────────────────────────────────────── */
.intro-band {
  display: grid;
  grid-template-columns: 3px 1fr;
  align-items: center;
  gap: 44px;
  padding: 60px clamp(22px, 5vw, 72px);
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.intro-rule {
  height: 72px;
  width: 3px;
  background: linear-gradient(to bottom, var(--terracotta), var(--mist));
  border-radius: 2px;
}

.intro-band p {
  max-width: 680px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.9vw, 24px);
  line-height: 1.64;
  color: rgba(240, 240, 238, 0.78);
}

/* ─────────────────────────────────────────────────────────
   VIDEO
   ───────────────────────────────────────────────────────── */
.video-section {
  padding: 104px clamp(22px, 5vw, 72px) 120px;
  background:
    radial-gradient(circle at 14% 26%, rgba(240, 122, 90, 0.08), transparent 22%),
    radial-gradient(circle at 88% 14%, rgba(185, 205, 227, 0.07), transparent 28%),
    var(--charcoal);
  border-bottom: 1px solid var(--line);
}

.video-copy {
  display: grid;
  grid-template-columns: minmax(180px, 0.56fr) 1fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 52px;
}

.video-copy .section-kicker { align-self: start; margin-bottom: 0; }

.video-copy h2 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  color: var(--off-white);
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line-light);
  background: rgba(240, 240, 238, 0.02);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.4),
    0 0 0 1px rgba(240, 122, 90, 0.06) inset;
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
  object-fit: cover;
}

/* ─────────────────────────────────────────────────────────
   GALLERY
   ───────────────────────────────────────────────────────── */
.gallery-section {
  padding: 104px clamp(22px, 5vw, 72px) 120px;
  background:
    radial-gradient(circle at 88% 5%, rgba(185, 205, 227, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(16, 17, 20, 0.97), rgba(16, 17, 20, 0.92)),
    url("./assets/site/back_post.jpg") center/cover;
  border-bottom: 1px solid var(--line);
}

.gallery-header {
  margin-bottom: 56px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) 1fr;
  gap: 44px;
  align-items: end;
}

.section-heading h2 {
  font-size: clamp(36px, 4.8vw, 68px);
  color: var(--off-white);
  margin-bottom: 0;
}

.section-heading p {
  color: rgba(240, 240, 238, 0.5);
  font-size: 16px;
  line-height: 1.68;
  margin-bottom: 6px;
}

/* Editorial grid */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.32fr 1fr 1fr;
  grid-auto-rows: 288px;
  gap: 5px;
}

.image-tile {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--slate);
  display: block;
  outline: none;
}

.image-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 36%, rgba(0,0,0,0.78));
  transition: opacity 400ms ease;
}

.image-tile:hover::after { opacity: 0.72; }

.image-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.5) contrast(1.06) brightness(0.76);
  transition: transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 500ms ease;
  will-change: transform;
}

.image-tile:hover img {
  transform: scale(1.07);
  filter: saturate(0.8) contrast(1.08) brightness(0.88);
}

/* Focus ring */
.image-tile:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.tile-era {
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 20px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(240, 240, 238, 0.88);
}

.tile-large { grid-row: span 2; }

/* ─────────────────────────────────────────────────────────
   ADVANTAGES
   ───────────────────────────────────────────────────────── */
.advantage-section {
  position: relative;
  padding: 104px clamp(22px, 5vw, 72px) 120px;
  background:
    radial-gradient(circle at 14% 12%, rgba(240, 122, 90, 0.09), transparent 20%),
    linear-gradient(180deg, rgba(8, 8, 9, 0.96), rgba(20, 20, 24, 0.84)),
    url("./assets/site/back_vik.jpg") center/cover;
  border-bottom: 1px solid var(--line);
}

.advantage-section h2 {
  font-size: clamp(44px, 5.6vw, 80px);
  color: var(--off-white);
  margin-bottom: 64px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.advantage-card {
  min-height: 340px;
  padding: 36px 28px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(240, 240, 238, 0.018);
  position: relative;
  overflow: hidden;
  transition: background 350ms ease;
}

.advantage-card::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--terracotta), var(--mist));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease-out-expo);
}

.advantage-card:hover { background: rgba(240, 240, 238, 0.04); }
.advantage-card:hover::before { transform: scaleX(1); }

.card-num {
  display: block;
  margin-bottom: 72px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(240, 240, 238, 0.18);
}

.advantage-card h3 {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 240, 238, 0.52);
}

.card-stat {
  display: block;
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--off-white);
}

.advantage-card p {
  font-size: 13px;
  line-height: 1.76;
  color: rgba(240, 240, 238, 0.44);
}

/* ─────────────────────────────────────────────────────────
   PRODUCT
   ───────────────────────────────────────────────────────── */
.product-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.68fr);
  align-items: center;
  gap: clamp(36px, 6vw, 100px);
  padding: 104px clamp(22px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 42%, rgba(185, 205, 227, 0.08), transparent 28%),
    var(--charcoal);
  border-bottom: 1px solid var(--line);
}

.product-copy h2 {
  font-size: clamp(36px, 4.6vw, 66px);
  color: var(--off-white);
  margin-bottom: 22px;
}

.product-copy p:not(.section-kicker) {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(240, 240, 238, 0.54);
}

.product-device {
  justify-self: center;
  width: min(100%, 450px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(240, 240, 238, 0.07);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 22%, rgba(240, 122, 90, 0.12), transparent 38%),
    rgba(240, 240, 238, 0.02);
  box-shadow: 0 44px 88px rgba(0,0,0,0.44);
}

.product-device img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  filter: drop-shadow(0 34px 52px rgba(0,0,0,0.62)) saturate(0.76);
  transition: opacity 600ms ease;
}

/* ─────────────────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────────────────── */
.contact-section {
  padding: 88px clamp(22px, 5vw, 72px);
  background:
    radial-gradient(circle at 50% 50%, rgba(240, 122, 90, 0.05), transparent 40%),
    var(--charcoal);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: end;
  gap: 14px 32px;
  padding: clamp(44px, 6vw, 80px);
  border: 1px solid rgba(240, 240, 238, 0.07);
  border-radius: 6px;
  background:
    radial-gradient(circle at 86% 10%, rgba(185, 205, 227, 0.1), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(240, 122, 90, 0.07), transparent 30%),
    rgba(240, 240, 238, 0.02);
}

.contact-panel .eyebrow { grid-column: 1 / -1; }

.contact-panel h2 {
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.04;
  color: var(--off-white);
}

/* ── CONTACT DIALOG ────────────────────────────────────── */
.contact-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  margin: auto;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  background:
    radial-gradient(circle at 88% 8%, rgba(185, 205, 227, 0.08), transparent 30%),
    radial-gradient(circle at 12% 96%, rgba(240, 122, 90, 0.08), transparent 32%),
    var(--charcoal);
  color: var(--off-white);
  overflow: hidden auto;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 320ms var(--ease-out-expo),
              transform 320ms var(--ease-out-expo),
              overlay 320ms allow-discrete,
              display 320ms allow-discrete;
}

.contact-dialog.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background 320ms var(--ease-out-expo),
              backdrop-filter 320ms var(--ease-out-expo),
              -webkit-backdrop-filter 320ms var(--ease-out-expo);
}

.contact-dialog.is-open::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
}

/* Restore the native OS cursor inside the contact dialog so the user
   can clearly see where they are typing or clicking in the form. */
.contact-dialog,
.contact-dialog * { cursor: auto; }
.contact-dialog input,
.contact-dialog textarea { cursor: text; }
.contact-dialog button,
.contact-dialog a,
.contact-dialog [role="button"] { cursor: pointer; }

/* Hide the custom dot/ring cursor while the contact dialog is open. */
body.dialog-open .cursor-dot,
body.dialog-open .cursor-ring { opacity: 0; }

.contact-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(240, 240, 238, 0.62);
  transition: color 200ms, background 200ms;
  z-index: 1;
}
.contact-dialog-close:hover {
  color: var(--off-white);
  background: rgba(240, 240, 238, 0.06);
}

.contact-dialog-content .eyebrow {
  margin-bottom: 14px;
}

.contact-dialog-content h3 {
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--off-white);
}

/* ── CONTACT FORM ──────────────────────────────────────── */
.contact-form {
  display: grid;
  gap: 18px;
  width: 100%;
}

.contact-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240, 240, 238, 0.5);
}

.contact-form .field-optional {
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(240, 240, 238, 0.32);
  margin-left: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(240, 240, 238, 0.18);
  color: var(--off-white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  cursor: none;
  transition: border-color 220ms;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(240, 240, 238, 0.28);
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-bottom-color: rgba(240, 240, 238, 0.36);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--terracotta);
}

.contact-form textarea {
  resize: vertical;
  min-height: 96px;
}

.contact-form input.has-error,
.contact-form textarea.has-error {
  border-bottom-color: var(--terracotta);
}

.contact-submit {
  margin-top: 8px;
  justify-self: start;
  min-width: 180px;
}

.contact-submit[disabled],
.contact-form.is-submitting .contact-submit {
  opacity: 0.55;
  pointer-events: none;
}

.form-status {
  min-height: 18px;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(240, 240, 238, 0.64);
  transition: color 220ms;
}

.form-status.is-error   { color: var(--coral-pale); }
.form-status.is-success { color: var(--mist); }

/* Honeypot — visually hidden, kept tab-unreachable, must stay empty */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--black);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 240, 238, 0.24);
}

.site-footer img {
  width: 132px;
  opacity: 0.5;
  filter: grayscale(1);
}

.site-footer a {
  transition: color 0.25s var(--ease-out-expo);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--terracotta);
}

/* ─────────────────────────────────────────────────────────
   LIGHTBOX
   ───────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.is-open { display: flex; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 9, 0.92);
  backdrop-filter: blur(16px) saturate(0.8);
  -webkit-backdrop-filter: blur(16px) saturate(0.8);
}

.lightbox img {
  position: relative;
  max-width: min(1100px, 88vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 64px 120px rgba(0,0,0,0.7);
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  z-index: 1;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(240, 240, 238, 0.18);
  border-radius: 50%;
  color: var(--off-white);
  transition: background 200ms, border-color 200ms;
}

.lightbox-close:hover {
  background: rgba(240, 240, 238, 0.08);
  border-color: rgba(240, 240, 238, 0.44);
}

/* ─────────────────────────────────────────────────────────
   SCROLL REVEAL
   ───────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 750ms var(--ease-out-expo),
              transform 750ms var(--ease-out-expo);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

[data-reveal][data-reveal-delay="1"] { transition-delay: 100ms; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 200ms; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 320ms; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { gap: 24px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; margin-left: 14px; }
  .nav-cta    { display: none; }
  .lang-switch { margin-left: auto; }

  .video-copy,
  .product-section { grid-template-columns: 1fr; }
  .video-copy h2   { grid-column: auto; }

  .section-heading { grid-template-columns: 1fr; gap: 20px; }

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

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

@media (max-width: 600px) {
  :root { --nav-h: 60px; }

  .hero-o-svg   { width: clamp(240px, 72vw, 400px); }

  .hero-actions { flex-direction: column; width: 100%; max-width: 290px; }
  .button       { width: 100%; justify-content: center; }

  .intro-band   { grid-template-columns: 3px 1fr; gap: 28px; }

  .editorial-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 310px;
  }
  .tile-large  { grid-row: span 1; }

  .advantage-grid { grid-template-columns: 1fr; }
  .advantage-card { min-height: 260px; }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .contact-form .field-row { grid-template-columns: 1fr; }
  .contact-submit          { width: 100%; }
}

@media (hover: none) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  button, a { cursor: pointer; }
}
