/* ============================================================
   SET CASTING — DESIGN SYSTEM
   Typography: Bebas Neue (display) + Source Sans 3 (body)
   Palette: Near-black · Crimson red · Warm white
   ============================================================ */

:root {
  /* Colors */
  --black:      #060606;
  --surf-1:     #0F0F0F;
  --surf-2:     #171717;
  --surf-3:     #222222;
  --red:        #C62828;
  --red-hi:     #E53935;
  --red-glow:   rgba(198, 40, 40, 0.16);
  --red-subtle: rgba(198, 40, 40, 0.07);
  --white:      #F2EDE8;
  --w70:        rgba(242, 237, 232, 0.70);
  --w40:        rgba(242, 237, 232, 0.40);
  --w16:        rgba(242, 237, 232, 0.16);
  --w08:        rgba(242, 237, 232, 0.08);
  --w04:        rgba(242, 237, 232, 0.04);
  --muted:      #6E6B68;

  /* Typography */
  --f-display: 'Bebas Neue', 'Impact', 'Arial Narrow', Arial, sans-serif;
  --f-body:    'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --max-w:  1200px;
  --nav-h:  68px;
  --r:      2px;

  /* Easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snappy: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
button { border: 0; background: none; cursor: pointer; font: inherit; color: inherit; }

/* ============================================================
   FILM GRAIN OVERLAY
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.038;
  mix-blend-mode: overlay;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-hi);
}
.eyebrow--dark  { color: var(--red); }
.eyebrow--faded { color: rgba(242, 237, 232, 0.55); }

h1, h2, h3 {
  font-family: var(--f-display);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(4rem, 9vw, 8.5rem); }
h2 { font-size: clamp(2.8rem, 6vw, 6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2.2rem); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: min(var(--max-w), calc(100% - 3rem));
  margin-inline: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.8rem 1.6rem;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r);
  cursor: pointer;
  transition: background 200ms var(--ease-out),
              color 200ms var(--ease-out),
              border-color 200ms var(--ease-out),
              transform 200ms var(--ease-out),
              box-shadow 200ms var(--ease-out);
}
.btn svg { flex-shrink: 0; transition: transform 200ms var(--ease-out); }

.btn--red {
  background: var(--red);
  color: var(--white);
}
.btn--red:hover {
  background: var(--red-hi);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--red-glow);
}
.btn--red:hover svg { transform: translateX(3px); }

.btn--ghost {
  border: 1px solid var(--w40);
  color: var(--white);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: var(--w04);
}
.btn--ghost:hover svg { transform: translateX(3px); }

.btn--white {
  background: var(--white);
  color: var(--black);
  font-weight: 700;
}
.btn--white:hover {
  background: var(--red-hi);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--white:hover svg { stroke: var(--white); }

/* ============================================================
   SECTION INTRO
   ============================================================ */
.section-intro { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-intro .eyebrow { display: block; margin-bottom: 1rem; }
.section-intro h2 { max-width: 18ch; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid transparent;
  transition: background 320ms var(--ease-out),
              border-color 320ms var(--ease-out),
              backdrop-filter 320ms var(--ease-out);
}
.site-header.scrolled {
  background: rgba(6, 6, 6, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--w16);
}

.brand-logo img {
  width: clamp(130px, 17vw, 200px);
  height: auto;
}

.desk-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
}
.desk-nav a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w70);
  transition: color 180ms;
}
.desk-nav a:hover { color: var(--white); }

.nav-cta {
  padding: 0.45rem 1rem !important;
  border: 1px solid var(--w40) !important;
  border-radius: var(--r);
  color: var(--white) !important;
  transition: background 180ms, border-color 180ms, color 180ms !important;
}
.nav-cta:hover {
  background: var(--red) !important;
  border-color: var(--red) !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all 250ms var(--ease-out);
  transform-origin: center;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 190;
  background: rgba(6, 6, 6, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 380ms var(--ease-out);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav nav {
  display: flex;
  flex-direction: column;
}
.mobile-nav nav a {
  font-family: var(--f-display);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--white);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--w08);
  transition: color 200ms;
}
.mobile-nav nav a:hover { color: var(--red-hi); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  bottom: -8%;
  right: -4%;
  width: 55vw;
  height: 65vh;
  background: radial-gradient(ellipse at center, rgba(198,40,40,0.11) 0%, transparent 68%);
  filter: blur(50px);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--w04) 1px, transparent 1px),
    linear-gradient(90deg, var(--w04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 25% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 25% 50%, black 20%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max-w), calc(100% - 3rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr minmax(0, 460px);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
}

/* Hero copy */
.hero-copy { max-width: 640px; }
.hero-eyebrow { margin-bottom: 1.4rem; }

h1 .h-line { display: block; }
h1 .h-line--red { color: var(--red-hi); }

.hero-rule {
  width: 72px;
  height: 3px;
  background: var(--red);
  margin: 1.8rem 0;
  border-radius: 1px;
}

.hero-lede {
  color: var(--w70);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.72;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

/* ---- Hero animations (load-based, no scroll needed) ---- */
.hero-eyebrow {
  animation: fu 600ms 80ms both var(--ease-out);
}
h1 .h-line:nth-child(1) { animation: fu 700ms 200ms both var(--ease-out); }
h1 .h-line:nth-child(2) { animation: fu 700ms 300ms both var(--ease-out); }
h1 .h-line:nth-child(3) { animation: fu 700ms 400ms both var(--ease-out); }
.hero-rule   { animation: expand-w 500ms 550ms both var(--ease-out); }
.hero-lede   { animation: fu 600ms 620ms both var(--ease-out); }
.hero-actions { animation: fu 500ms 750ms both var(--ease-out); }
.hero-visual  { animation: fu 800ms 380ms both var(--ease-out); }

@keyframes fu {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes expand-w {
  from { width: 0; opacity: 0; }
  to   { width: 72px; opacity: 1; }
}

/* ---- Film Frame ---- */
.film-frame {
  border: 1px solid var(--w16);
  background: linear-gradient(150deg, rgba(198,40,40,0.10) 0%, var(--surf-1) 55%);
  overflow: hidden;
  transition: transform 400ms var(--ease-out);
}

.ff-header {
  border-bottom: 1px solid var(--w08);
  background: var(--surf-1);
}
.ff-perfs {
  display: flex;
  gap: 6px;
  padding: 7px 14px;
  border-bottom: 1px solid var(--w08);
}
.perf {
  width: 18px;
  height: 11px;
  border-radius: 2px;
  background: var(--surf-3);
  border: 1px solid var(--w16);
  flex-shrink: 0;
}
.ff-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w70);
}
.ff-label img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--w16);
}
.live-dot {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #4CAF50;
  font-size: 0.68rem;
}
.live-dot span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4CAF50;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.ff-scenes {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: clamp(0.8rem, 2vw, 1.2rem);
  background: var(--surf-2);
}

.ff-scene {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--w08);
  background: var(--surf-1);
  cursor: default;
  transition: border-color 300ms, background 300ms;
}
.ff-scene:hover,
.ff-scene.active {
  border-color: rgba(198,40,40,0.35);
  background: var(--surf-2);
}

.scene-num {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.scene-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-hi);
  margin-bottom: 0.3rem;
}
.ff-scene strong {
  font-family: var(--f-display);
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
}

.ff-status {
  padding: 1rem clamp(0.8rem, 2vw, 1.2rem);
  background: var(--surf-1);
  border-top: 1px solid var(--w08);
}
.ff-status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.ff-status-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ff-status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-hi);
  padding: 2px 6px;
  border: 1px solid rgba(198,40,40,0.4);
  border-radius: 2px;
}
.ff-status-name {
  font-family: var(--f-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.9rem;
}
.ff-bar {
  height: 2px;
  background: var(--w16);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 0.45rem;
}
.ff-bar-fill {
  height: 100%;
  width: 0;
  background: var(--red-hi);
  border-radius: 1px;
  animation: bar-fill 2.2s 0.6s var(--ease-out) forwards;
}
@keyframes bar-fill { to { width: 38%; } }
.ff-percent {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.ff-footer { background: var(--surf-1); border-top: 1px solid var(--w08); }

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  overflow: hidden;
  background: var(--red);
  padding: 0.75rem 0;
}
.marquee-inner {
  display: inline-flex;
  white-space: nowrap;
  font-family: var(--f-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: rgba(242,237,232,0.8);
  animation: marquee-scroll 26s linear infinite;
}
.marquee-inner span { flex-shrink: 0; }

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

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--black);
}

.service-list {
  border-top: 1px solid var(--w16);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr 40px;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--w16);
  cursor: default;
  transition: padding-left 250ms var(--ease-out);
}

/* Red left-bar on hover */
.service-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 300ms var(--ease-out);
}
.service-row:hover::before { transform: scaleY(1); }
.service-row:hover { padding-left: 1.5rem; }
.service-row:hover .service-num { color: var(--red-hi); }
.service-row:hover .service-arrow {
  color: var(--red-hi);
  transform: translate(4px, -4px);
}

.service-num {
  font-family: var(--f-display);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  color: var(--red);
  line-height: 1;
  transition: color 250ms;
}

.service-body h3 { margin-bottom: 0.6rem; }
.service-body p {
  color: var(--w70);
  font-size: 0.96rem;
  line-height: 1.72;
  max-width: 58ch;
}

.service-arrow {
  color: var(--w40);
  justify-self: end;
  transition: color 250ms, transform 250ms var(--ease-out);
}

/* ============================================================
   PLATFORM
   ============================================================ */
.platform {
  background: var(--surf-1);
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}
.platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 40%, transparent 100%);
}
.platform::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--w16) 40%, transparent 100%);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.platform-copy {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.platform-copy .eyebrow { display: block; margin-bottom: 1.2rem; }
.platform-copy h2 { font-size: clamp(2.4rem, 4vw, 4.2rem); margin-bottom: 1.4rem; }

.platform-desc {
  color: var(--w70);
  font-size: 1.03rem;
  line-height: 1.75;
  max-width: 46ch;
  margin-bottom: 2rem;
}

.invitalia-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--w16);
  border-left: 3px solid var(--red);
  background: var(--red-subtle);
}
.invitalia-note svg { color: var(--red-hi); flex-shrink: 0; margin-top: 1px; }
.invitalia-note p {
  font-size: 0.875rem;
  color: var(--w70);
  line-height: 1.6;
}

/* Flow visualization */
.platform-flow {
  position: relative;
  display: flex;
  flex-direction: column;
}

.flow-line {
  position: absolute;
  left: 9px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, var(--red) 0%, rgba(198,40,40,0.15) 100%);
}

.flow-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid var(--w08);
  position: relative;
  transition: background 200ms;
  border-radius: var(--r);
}
.flow-item:hover { background: var(--red-subtle); }

.flow-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: var(--surf-1);
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  z-index: 1;
  transition: background 220ms;
}
.flow-item:hover .flow-dot { background: var(--red); }

.flow-role {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-hi);
  margin-bottom: 0.4rem;
}
.flow-text strong {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
}

/* ============================================================
   METHOD
   ============================================================ */
.method {
  background: var(--white);
  color: var(--black);
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.method-title { color: var(--black); }

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(6,6,6,0.13);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.method-step {
  background: var(--white);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  min-height: 290px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 200ms;
}
.method-step:hover { background: #EDE8E3; }

.step-n {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  color: var(--red);
  line-height: 1;
}
.step-name {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2vw, 2rem);
  text-transform: uppercase;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.method-step p {
  color: rgba(6,6,6,0.55);
  font-size: 0.9rem;
  line-height: 1.68;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--red);
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, transparent 0 24%, rgba(255,255,255,0.04) 24% 24.5%, transparent 24.5%),
    linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,0.04) 18% 18.5%, transparent 18.5%);
  background-size: 100px 100px;
  pointer-events: none;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 820px;
}
.cta-inner .eyebrow { margin-bottom: -1rem; }
.cta-inner h2 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 14ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #040404;
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--w08);
}

.footer-brand img { width: min(190px, 65vw); margin-bottom: 0.9rem; }
.footer-brand p {
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-cols {
  display: flex;
  gap: clamp(2rem, 6vw, 5rem);
  flex-wrap: wrap;
}
.footer-col strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--w70);
  margin-bottom: 0.75rem;
}
.footer-col p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.75;
}
.footer-col a {
  color: var(--muted);
  transition: color 180ms;
}
.footer-col a:hover { color: var(--red-hi); }

.footer-bottom { padding: 1.2rem 0; }
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(110,107,104,0.5);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 680ms var(--ease-out), transform 680ms var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger on service rows */
.service-row:nth-child(1) { transition-delay: 0ms; }
.service-row:nth-child(2) { transition-delay: 90ms; }
.service-row:nth-child(3) { transition-delay: 180ms; }

/* Stagger on method steps */
.method-step:nth-child(1) { transition-delay: 0ms; }
.method-step:nth-child(2) { transition-delay: 70ms; }
.method-step:nth-child(3) { transition-delay: 140ms; }
.method-step:nth-child(4) { transition-delay: 210ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* 1024px — tablet landscape */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: 3rem;
  }
  .hero-visual { max-width: 480px; }
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .platform-copy { position: static; }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
}

/* 768px — tablet portrait */
@media (max-width: 768px) {
  .desk-nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: block; }

  .service-row {
    grid-template-columns: 80px 1fr;
  }
  .service-arrow { display: none; }

  .footer-inner { flex-direction: column; }
  .footer-cols   { flex-direction: column; gap: 1.5rem; }
}

/* 520px — mobile */
@media (max-width: 520px) {
  :root { --nav-h: 60px; }

  .container { width: calc(100% - 2.5rem); }
  h1 { font-size: clamp(3.4rem, 14vw, 4.5rem); }

  .hero { padding-block: 3rem; }
  .hero-visual { max-width: 100%; }
  .hero-lede .br-d { display: none; }

  .service-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .service-num { font-size: 2.8rem; }

  .method-steps { grid-template-columns: 1fr; }
  .method-step { min-height: 200px; }

  .platform-grid { gap: 2rem; }

  .film-frame { max-width: 100%; }

  .footer-brand img { width: min(160px, 55vw); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
