/* ============================================================
   ENOLA REVENU — bright, animated, scroll-fun build
   One simple typeface (Plus Jakarta Sans) · bright palette
   Particles · gradient blobs · scroll motion
============================================================ */

:root {
  --bg:        #FFFFFF;
  --bg-soft:   #F5F6FF;
  --ink:       #0B0B14;
  --ink-soft:  #5A5A72;
  --ink-faint: #9A9AB2;
  --line:      #ECEDF7;
  --card:      #FFFFFF;

  --indigo: #6366F1;
  --violet: #A855F7;
  --pink:   #EC4899;
  --cyan:   #22D3EE;
  --amber:  #FACC15;

  --grad:      linear-gradient(120deg, #6366F1 0%, #A855F7 50%, #EC4899 100%);
  --grad-soft: linear-gradient(120deg, #EEF0FF 0%, #F7ECFF 50%, #FFEEF6 100%);
  --grad-cyan: linear-gradient(120deg, #22D3EE 0%, #6366F1 100%);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-sm: 0 6px 22px rgba(80, 60, 160, 0.08);
  --shadow:    0 22px 60px rgba(80, 60, 160, 0.14);
  --shadow-lg: 0 34px 90px rgba(80, 60, 160, 0.20);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
::selection { background: var(--violet); color: #fff; }

/* ============================================================
   BACKGROUND FX LAYER (fixed: blobs + particles)
============================================================ */

.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.2;
  animation: drift 46s ease-in-out infinite;
}
.blob.b1 { width: 540px; height: 540px; top: -180px; left: -140px; background: #C7D2FE; }
.blob.b2 { display: none; }
.blob.b3 { width: 560px; height: 560px; top: 56%;   left: -220px; background: #A5F3FC; animation-delay: -18s; }
.blob.b4 { width: 460px; height: 460px; bottom: -200px; right: 2%; background: #DDD6FE; animation-delay: -7s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(22px, -16px) scale(1.04); }
}

#fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.page { position: relative; z-index: 1; }

/* ============================================================
   SCROLL PROGRESS + CURSOR GLOW
============================================================ */

.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad); z-index: 200; border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 340px; height: 340px;
  margin: -170px 0 0 -170px; border-radius: 50%; z-index: 150; pointer-events: none;
  background: radial-gradient(circle, rgba(168,85,247,0.07), rgba(99,102,241,0.025) 45%, transparent 70%);
  mix-blend-mode: multiply; opacity: 0; transition: opacity 300ms;
}

/* ============================================================
   LAYOUT + TYPE
============================================================ */

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

.section { padding: 120px 0; position: relative; }
.section--soft { background: rgba(245, 246, 255, 0.7); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--violet);
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
  padding: 8px 14px; box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad);
  animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.35} }

.section-head { max-width: 660px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.h2 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; color: var(--ink);
  margin-top: 20px;
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); line-height: 1.6; margin-top: 22px; }

.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============================================================
   BUTTONS
============================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: 0.01em;
  padding: 14px 26px; border-radius: 12px; border: none; cursor: pointer;
  white-space: nowrap; position: relative; will-change: transform;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms;
}
.btn i { font-size: 18px; }
.btn-lg { font-size: 16px; padding: 17px 32px; }

.btn-grad { background: var(--grad); color: #fff; background-size: 160% 160%; box-shadow: 0 12px 30px rgba(168,85,247,0.34); }
.btn-grad:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(168,85,247,0.46); animation: gradShift 3s ease infinite; }
.btn-grad:active { transform: translateY(-1px) scale(0.98); }
@keyframes gradShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

.btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #E2D9FF; }

.btn-ghost { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.btn-ghost i { transition: transform 220ms var(--ease); color: var(--violet); }
.btn-ghost:hover i { transform: translateX(5px); }

/* ============================================================
   NAV
============================================================ */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color 220ms, box-shadow 220ms;
}
.nav.stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(80,60,160,0.06); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 15px 32px; display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.brand-name { display: inline-block; white-space: nowrap; }
.brand-name .scr { color: var(--ink-soft); }
.brand-mark { width: 32px; height: 32px; flex: 0 0 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; box-shadow: 0 6px 16px rgba(168,85,247,0.4); }
.brand-mark svg { width: 32px; height: 32px; display: block; overflow: visible; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: color 180ms; }
.nav-link:hover { color: var(--ink); }
.nav-cta { padding: 11px 22px; }

/* ============================================================
   HERO
============================================================ */

.hero { padding: 80px 0 110px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }

.hero-h1 {
  font-size: clamp(44px, 6.4vw, 88px); font-weight: 800; line-height: 0.98;
  letter-spacing: -0.04em; margin: 26px 0 24px;
}
.hero-sub { font-size: clamp(17px, 2vw, 21px); color: var(--ink-soft); line-height: 1.55; max-width: 520px; margin-bottom: 36px; }
.hero-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.hero-trust .pips { display: inline-flex; }
.hero-trust .pip { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-left: -7px; }
.hero-trust .pip:nth-child(1){background:var(--indigo)} .hero-trust .pip:nth-child(2){background:var(--violet)}
.hero-trust .pip:nth-child(3){background:var(--pink)} .hero-trust .pip:nth-child(4){background:var(--cyan)}

/* Hero video card */
.hero-visual { position: relative; }
.video-card {
  position: relative; border-radius: 32px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid #fff;
  transform: rotate(0deg); will-change: transform;
}
.video-card video { width: 100%; height: auto; display: block; }
.video-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 32px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6); pointer-events: none;
}
.video-badges { position: absolute; inset: 0; pointer-events: none; }
.vbadge {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-radius: 10px; padding: 9px 15px; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow); animation: floaty 5s ease-in-out infinite;
}
.vbadge i { font-size: 15px; }
.vbadge.live { top: 18px; left: 18px; color: var(--ink); }
.vbadge.live .ring { width: 8px; height: 8px; border-radius: 50%; background: #16C76A; box-shadow: 0 0 0 4px rgba(22,199,106,0.18); }
.vbadge.pct { bottom: 18px; right: 18px; color: var(--indigo); animation-delay: -2.5s; }

@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ============================================================
   MARQUEE
============================================================ */

.marquee-wrap { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.6); overflow: hidden; }
.marquee-label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.marquee { display: flex; gap: 56px; width: max-content; animation: scrollx 26s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee span { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); opacity: 0.55; transition: opacity 200ms; white-space: nowrap; }
.marquee span:hover { opacity: 1; }
.marquee span b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ============================================================
   THREE WAYS (do cards)
============================================================ */

.do-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 26px; padding: 36px 30px; overflow: hidden;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms;
}
.tile::before {
  content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.16), transparent 70%);
  left: var(--mx, 50%); top: var(--my, 0%); transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 300ms; pointer-events: none;
}
.tile:hover { --hover-y: -6px; box-shadow: var(--shadow); border-color: #E2D9FF; }
.tile:hover::before { opacity: 1; }

.tile-ico { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 27px; margin-bottom: 22px; box-shadow: 0 10px 24px rgba(99,102,241,0.3); }
.ico-indigo { background: linear-gradient(135deg,#6366F1,#818CF8); }
.ico-pink   { background: linear-gradient(135deg,#EC4899,#F472B6); box-shadow: 0 10px 24px rgba(236,72,153,0.3); }
.ico-cyan   { background: linear-gradient(135deg,#22D3EE,#38BDF8); box-shadow: 0 10px 24px rgba(34,211,238,0.3); }
.ico-violet { background: linear-gradient(135deg,#A855F7,#C084FC); box-shadow: 0 10px 24px rgba(168,85,247,0.3); }
.ico-amber  { background: linear-gradient(135deg,#FACC15,#FB923C); box-shadow: 0 10px 24px rgba(250,204,21,0.3); }

.tile-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; }
.tile-name { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.tile-desc { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; }
.tile-desc b { color: var(--ink); font-weight: 700; }

/* ============================================================
   CAPABILITIES (bento)
============================================================ */

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 26px 24px; overflow: hidden;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms;
}
.cap:hover { --hover-y: -5px; box-shadow: var(--shadow); border-color: #E2D9FF; }
.cap-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.cap-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.cap-name { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.cap-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

.cap-foot { margin-top: 44px; text-align: center; font-size: clamp(17px,2vw,22px); font-weight: 600; color: var(--ink-soft); }
.cap-foot b { font-weight: 800; }

/* ============================================================
   WORK
============================================================ */

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 26px; padding: 32px 30px; display: flex; flex-direction: column;
  min-height: 340px; overflow: hidden;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms;
}
.work::after { content:''; position:absolute; left:0; top:0; right:0; height:5px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease); }
.work:hover { --hover-y: -6px; box-shadow: var(--shadow); border-color: #E2D9FF; }
.work:hover::after { transform: scaleX(1); }

.work-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.work-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-faint); border: 1px solid var(--line); border-radius: 7px; padding: 5px 12px; }
.work-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #16C76A; }
.work-status .ring { width: 7px; height: 7px; border-radius: 50%; background: #16C76A; box-shadow: 0 0 0 4px rgba(22,199,106,0.16); }

.work-name { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.work-kicker { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.work-name.g1, .work-kicker.g1 { color: var(--indigo); }
.work-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

.flow { margin-top: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; font-weight: 700; }
.flow .fl { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 5px 11px; }
.flow i { color: var(--violet); font-size: 14px; }

.work-link { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--violet); }
.work-link i { transition: transform 200ms var(--ease); }
.work:hover .work-link i { transform: translate(3px, -3px); }
.work-link.muted { color: var(--ink-faint); }

/* ============================================================
   SYSTEM (stats + roster)
============================================================ */

.sys-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }

.stat-band { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-sm); }
.stat .n { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat:nth-child(1) .n { color: var(--indigo); } .stat:nth-child(2) .n { color: var(--pink); }
.stat:nth-child(3) .n { color: var(--cyan); } .stat:nth-child(4) .n { color: var(--violet); }
.stat .l { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; line-height: 1.4; }

.roster { display: flex; flex-direction: column; gap: 10px; }
.ros {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.ros:hover { --hover-x: 6px; box-shadow: var(--shadow-sm); }
.ros-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.ros:nth-child(1) .ros-dot{background:var(--violet)} .ros:nth-child(2) .ros-dot{background:var(--indigo)}
.ros:nth-child(3) .ros-dot{background:var(--pink)} .ros:nth-child(4) .ros-dot{background:var(--cyan)}
.ros:nth-child(5) .ros-dot{background:var(--amber)} .ros:nth-child(6) .ros-dot{background:#16C76A}
.ros:nth-child(7) .ros-dot{background:#FB923C}
.ros-name { font-size: 15px; font-weight: 800; width: 128px; flex-shrink: 0; }
.ros-role { font-size: 13.5px; color: var(--ink-soft); }
.sys-infra { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
.sys-infra b { color: var(--ink); }

/* ============================================================
   CONTACT
============================================================ */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.paths { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; }
.path {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms;
}
.path:hover { --hover-x: 6px; box-shadow: var(--shadow-sm); border-color: #E2D9FF; }
.path .p-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; }
.path .p-name { font-size: 15.5px; font-weight: 800; }
.path .p-meta { font-size: 13.5px; color: var(--ink-soft); }
.path .p-arrow { margin-left: auto; color: var(--ink-faint); font-size: 17px; }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: var(--shadow); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.field input, .field textarea {
  font-family: var(--font); font-size: 15px; color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; outline: none; transition: border-color 180ms, box-shadow 180ms, background 180ms; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(168,85,247,0.12); }
.form-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--ink-faint); }
.form-status { font-size: 14px; font-weight: 700; }
.form-status.ok { color: #16C76A; } .form-status.err { color: var(--pink); }

/* ============================================================
   ANAGRAM
============================================================ */

.anagram-sec { text-align: center; }
.anagram-video {
  margin: 14px auto 0; max-width: 1000px; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff;
}
.anagram-video video { width: 100%; height: auto; display: block; }
/* ============================================================
   FINAL CTA (gradient panel)
============================================================ */

.cta-panel {
  position: relative; background: var(--grad); background-size: 180% 180%;
  border-radius: 40px; padding: 80px 40px; text-align: center; overflow: hidden;
  animation: gradShift 9s ease infinite; box-shadow: var(--shadow-lg);
}
.cta-panel::before, .cta-panel::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.4;
}
.cta-panel::before { width: 300px; height: 300px; background: #fff; top: -120px; left: -60px; }
.cta-panel::after { width: 260px; height: 260px; background: #22D3EE; bottom: -120px; right: -40px; }
.cta-title { position: relative; font-size: clamp(30px,4.5vw,52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; color: #fff; max-width: 720px; margin: 0 auto 18px; }
.cta-sub { position: relative; font-size: 18px; color: rgba(255,255,255,0.88); max-width: 480px; margin: 0 auto 36px; }
.cta-ctas { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,0.18); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,0.26); }
.btn-clear { background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-clear:hover { background: rgba(255,255,255,0.26); transform: translateY(-3px); }

/* ============================================================
   FOOTER
============================================================ */

.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: rgba(255,255,255,0.7); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer-link { font-size: 14px; color: var(--ink-soft); transition: color 180ms; }
.footer-link:hover { color: var(--violet); }
.footer-copy { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-faint); }

/* ============================================================
   SCROLL REVEAL
============================================================ */

[data-parallax] {
  --parallax-y: 0px;
}
[data-parallax]:not([data-reveal]) {
  transform: translate3d(0, var(--parallax-y), 0);
  will-change: transform;
}
/* One calm, consistent reveal: a small fade + short rise. No blur, scale, or slide. */
[data-reveal] {
  --reveal-y: 18px;
  opacity: 0;
  transform: translate3d(0, calc(var(--reveal-y) + var(--parallax-y, 0px)), 0);
  transition: opacity 500ms var(--ease), transform 560ms var(--ease);
  transition-delay: calc(var(--i, 0) * 50ms);
  will-change: opacity, transform;
}
[data-reveal].in {
  --reveal-y: 0px;
  opacity: 1;
}
/* Keep motion at the section level: granular, repeated items just appear (no per-item animation). */
.cap[data-reveal], .ros[data-reveal], .path[data-reveal], .stat[data-reveal],
.field[data-reveal], .form-row[data-reveal], .form-submit[data-reveal] {
  opacity: 1;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  transition: none;
}

/* Mobile-only reordering (see the 640px block): anagram in the hero, revenue loop after Automations */
.hero-anagram { display: none; }
.mobile-loop-sec { display: none; }

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

@media (max-width: 960px) {
  .section { padding: 100px 0; }
  .section-head { margin-bottom: 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; max-width: 440px; margin: 0 auto; }
  .do-grid, .cap-grid, .work-grid { grid-template-columns: 1fr 1fr; }
  .sys-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-links .nav-link { display: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-inner { padding-left: 20px; padding-right: 20px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: 36px 0 64px; }
  .hero-h1 { font-size: clamp(38px, 11vw, 56px); }
  .do-grid, .cap-grid, .work-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .ros-name { width: 110px; }
  .cta-panel { padding: 52px 22px; border-radius: 22px; }
  .cursor-glow { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  /* Full-width, stacked CTAs read better on phones */
  .hero-ctas { gap: 14px; }
  .hero-ctas .btn { width: 100%; }
  .cta-ctas { flex-direction: column; align-items: stretch; }
  .cta-ctas .btn { width: 100%; }
  .form-submit { flex-direction: column; align-items: stretch; gap: 12px; }
  .form-submit .btn { width: 100%; }

  /* Reorder for phones: anagram clip leads the hero; revenue loop moves below Automations */
  .hero-anagram {
    display: block; order: -2; overflow: hidden;
    border-radius: 16px; border: 1px solid var(--line);
    box-shadow: var(--shadow); background: #fff;
  }
  .hero-anagram video { width: 100%; display: block; }
  .hero-visual { display: none; }
  .mobile-loop-sec { display: block; padding: 40px 0 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto; }
  [data-reveal], [data-reveal].in, [data-parallax] { opacity: 1; filter: none; transform: none !important; transition: none; }
}
