/* ============================================================
   聪联科技官网 — Design System
   稳重 · 适度科技感 · 政企可信
   ============================================================ */

:root {
  /* ---- Brand palette (deep navy / tech blue) ---- */
  --navy-900: #061626;
  --navy-800: #0a2138;
  --navy-700: #0e2c49;
  --navy-600: #14406a;
  --navy-500: #1b568f;

  /* accent — tweakable hue, kept measured. soft/tint derive from it */
  --accent: #1466c4;
  --accent-soft: color-mix(in srgb, var(--accent), white 40%);
  --accent-tint: color-mix(in srgb, var(--accent), white 90%);

  /* secondary accent — calm teal, used sparingly */
  --teal: #1f9e8f;
  --teal-tint: #e6f4f1;

  /* ---- Neutrals (cool gray) ---- */
  --ink: #11202e;
  --ink-soft: #3c4b59;
  --muted: #647585;
  --muted-2: #8a98a6;
  --line: #e3e8ee;
  --line-soft: #eef2f6;
  --paper: #f6f8fa;
  --paper-2: #eef2f7;
  --white: #ffffff;

  /* ---- Type ---- */
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Space Grotesk", "Noto Sans SC", monospace;
  --head: var(--serif); /* headline family — tweakable */

  /* type scale — 4 interface sizes (min 15px ≈ 11.3pt) + 2 display */
  --fs-1: 13px;  /* labels, meta, captions (min, >= 11px) */
  --fs-2: 17px;  /* body, nav, descriptions */
  --fs-3: 20px;  /* card / item titles, leads */
  --fs-4: 24px;  /* large statements, figures */
  --fs-display: clamp(38px, 5.2vw, 64px); /* hero */
  --fs-title: clamp(28px, 3.3vw, 42px);   /* section headings */

  /* ---- Layout ---- */
  --maxw: 1240px;
  --gutter: 40px;
  --radius: 14px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(10, 33, 56, 0.05), 0 2px 6px rgba(10, 33, 56, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 33, 56, 0.08), 0 2px 6px rgba(10, 33, 56, 0.04);
  --shadow-lg: 0 24px 60px rgba(6, 22, 38, 0.16);
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: var(--fs-2);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* shared section rhythm */
.section { padding: 116px 0; position: relative; }
.section--tight { padding: 88px 0; }

/* eyebrow / section label */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-1);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--light { color: var(--accent-soft); }
.eyebrow--light::before { background: var(--accent-soft); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-title {
  font-family: var(--head);
  font-size: var(--fs-title);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--ink);
}
.section-sub {
  margin-top: 20px;
  font-size: var(--fs-2);
  color: var(--muted);
  max-width: 640px;
  text-wrap: pretty;
}
.section--dark .section-title { color: var(--white); }
.section--dark .section-sub { color: #aabccd; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: var(--fs-2); font-weight: 500;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(20,102,196,0.25); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20,102,196,0.34); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,0.28); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn--outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   Top navigation
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(10,33,56,0.02);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--navy-700) 100%);
  position: relative; flex: none;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.5) 1.4px, transparent 1.8px),
    radial-gradient(circle at 32% 64%, rgba(255,255,255,0.85) 1.8px, transparent 2.2px);
}
.brand-name { font-family: var(--sans); font-weight: 700; font-size: var(--fs-3); letter-spacing: 0.02em; color: var(--ink); }
.brand-name .en { display: block; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.22em; color: var(--muted-2); margin-top: 1px; }
.nav.on-dark:not(.scrolled) .brand-name { color: #fff; }
.nav.on-dark:not(.scrolled) .brand-name .en { color: rgba(255,255,255,0.5); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: var(--fs-2); font-weight: 500; color: var(--ink-soft); white-space: nowrap;
  padding: 9px 14px; border-radius: 8px; transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav.on-dark:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.78); }
.nav.on-dark:not(.scrolled) .nav-links a:hover { color: #fff; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  font-size: var(--fs-2); font-weight: 500; padding: 10px 20px; border-radius: 999px;
  background: var(--accent); color: #fff; transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(20,102,196,0.3); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }
.nav.on-dark:not(.scrolled) .nav-toggle span { background: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(20,102,196,0.30), transparent 60%),
    radial-gradient(900px 600px at 8% 110%, rgba(31,158,143,0.14), transparent 55%),
    linear-gradient(165deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  padding: 168px 0 116px;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 78%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 56px; align-items: center; position: relative; z-index: 2; }

.hero-eyebrow {
  font-family: var(--mono); font-size: var(--fs-1); font-weight: 500; letter-spacing: 0.14em;
  color: var(--accent-soft); margin-bottom: 26px; display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(31,158,143,0.22); }
.hero h1 {
  font-family: var(--head); font-weight: 600;
  font-size: var(--fs-display); line-height: 1.22; letter-spacing: 0.01em;
  color: #fff;
}
.hero h1 .hl { color: var(--accent-soft); }
.hero-sub {
  margin-top: 28px; font-size: var(--fs-2); line-height: 1.85; color: #b8c8d6; max-width: 540px; text-wrap: pretty;
}
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { margin-top: 52px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-meta .item .k { font-family: var(--mono); font-size: var(--fs-4); font-weight: 600; color: #fff; }
.hero-meta .item .v { font-size: var(--fs-1); color: #8ba0b3; margin-top: 4px; }

/* hero abstract node graphic — simple primitives only */
.hero-art { position: relative; aspect-ratio: 1 / 1; }
.node-card {
  position: absolute; backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 12px 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}
.node-card .nlabel { font-size: var(--fs-1); color: #d7e3ee; font-weight: 500; white-space: nowrap; }
.node-card .ntag { font-family: var(--mono); font-size: var(--fs-1); letter-spacing: 0.12em; color: var(--accent-soft); margin-bottom: 6px; }
.hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 124px; height: 124px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, var(--accent) 0%, var(--navy-600) 78%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 18px 50px rgba(20,102,196,0.45), inset 0 0 0 1px rgba(255,255,255,0.18);
  z-index: 3;
}
.hub .hub-cn { font-family: var(--head); font-weight: 600; font-size: var(--fs-3); color: #fff; line-height: 1.1; }
.hub .hub-en { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); margin-top: 5px; }
.hub-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; }

/* ============================================================
   Core business — 3 blocks
   ============================================================ */
.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.core-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px 34px 34px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.core-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--teal)); transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.core-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.core-card:hover::before { transform: scaleX(1); }
.core-icon {
  width: 54px; height: 54px; border-radius: 13px; background: var(--accent-tint);
  display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 24px;
}
.core-icon svg { width: 26px; height: 26px; }
.core-num { position: absolute; top: 30px; right: 32px; font-family: var(--mono); font-size: var(--fs-1); color: var(--muted-2); letter-spacing: 0.1em; }
.core-card h3 { font-size: var(--fs-3); font-weight: 700; margin-bottom: 14px; }
.core-card p { font-size: var(--fs-2); color: var(--muted); line-height: 1.8; }
.core-link { margin-top: 22px; display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-2); font-weight: 500; color: var(--accent); }
.core-link .arr { transition: transform .25s ease; }
.core-card:hover .core-link .arr { transform: translateX(4px); }

/* ============================================================
   Why us — 4 points (dark band)
   ============================================================ */
.section--dark {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(20,102,196,0.18), transparent 60%),
    var(--navy-800);
  color: #fff;
}
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); overflow: hidden; }
.why-item { background: var(--navy-800); padding: 40px 38px; display: flex; gap: 22px; transition: background .3s ease; }
.why-item:hover { background: var(--navy-700); }
.why-idx { font-family: var(--mono); font-size: var(--fs-1); font-weight: 600; color: var(--accent-soft); padding-top: 4px; flex: none; }
.why-item h3 { font-size: var(--fs-3); font-weight: 600; color: #fff; line-height: 1.5; margin-bottom: 10px; }
.why-item p { font-size: var(--fs-2); color: #9fb2c2; line-height: 1.75; }

/* ============================================================
   Capabilities — 6 directions
   ============================================================ */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; position: relative;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--accent-soft); }
.cap-top { display: flex; align-items: center; justify-content: space-between; }
.cap-mark { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--accent); background: var(--paper); }
.cap-mark svg { width: 20px; height: 20px; }
.cap-num { font-family: var(--mono); font-size: var(--fs-1); color: var(--muted-2); letter-spacing: 0.1em; }
.cap-card h3 { font-size: var(--fs-3); font-weight: 700; }
.cap-card p { font-size: var(--fs-2); color: var(--muted); line-height: 1.75; }

/* ============================================================
   Scenarios — 5 typical scenes
   ============================================================ */
.scene-section { background: var(--paper); }
.scene-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.scene-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; transition: transform .3s ease, box-shadow .3s ease; position: relative; overflow: hidden;
}
.scene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.scene-card .scene-tag { font-family: var(--mono); font-size: var(--fs-1); letter-spacing: 0.12em; color: var(--teal); margin-bottom: 16px; }
.scene-card h3 { font-size: var(--fs-3); font-weight: 700; margin-bottom: 12px; }
.scene-card p { font-size: var(--fs-2); color: var(--muted); line-height: 1.78; }
.scene-card.wide { grid-column: span 3; }
.scene-card.third { grid-column: span 2; }
.scene-card .corner { position: absolute; right: -28px; bottom: -28px; width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--line-soft); }
.scene-note { margin-top: 28px; font-size: var(--fs-1); color: var(--muted-2); display: flex; align-items: center; gap: 10px; }
.scene-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ============================================================
   Process — 7 steps
   ============================================================ */
.process-section { background: var(--white); }
.flow { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; margin-top: 20px; }
.flow::before { content: ""; position: absolute; top: 21px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--accent-tint), var(--accent), var(--teal)); border-radius: 2px; }
.flow-step { position: relative; text-align: center; padding: 0 8px; }
.flow-dot {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--accent);
  color: var(--accent); font-family: var(--mono); font-weight: 600; font-size: var(--fs-1);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; position: relative; z-index: 2;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.flow-step:hover .flow-dot { background: var(--accent); color: #fff; transform: scale(1.08); }
.flow-step .fname { font-size: var(--fs-2); font-weight: 600; color: var(--ink); }
.flow-step .fdesc { font-size: var(--fs-1); color: var(--muted-2); margin-top: 6px; line-height: 1.55; }

/* ============================================================
   Training — 5 directions
   ============================================================ */
.train-section { background: var(--paper); }
.train-layout { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: start; }
.train-aside { position: sticky; top: 110px; }
.train-aside .lead { font-family: var(--head); font-size: var(--fs-4); font-weight: 600; line-height: 1.6; color: var(--ink); margin: 28px 0; }
.train-aside .lead .em { color: var(--accent); }
.train-pill { display: inline-flex; align-items: center; gap: 9px; background: var(--teal-tint); color: var(--teal); font-size: var(--fs-1); font-weight: 500; padding: 9px 16px; border-radius: 999px; }
.train-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.train-row {
  display: flex; align-items: center; gap: 26px; padding: 26px 8px; border-bottom: 1px solid var(--line);
  transition: padding .3s ease, background .3s ease; cursor: default;
}
.train-row:hover { padding-left: 20px; background: #fff; }
.train-row .tnum { font-family: var(--mono); font-size: var(--fs-1); color: var(--accent); font-weight: 600; flex: none; width: 34px; }
.train-row .tname { font-size: var(--fs-3); font-weight: 600; color: var(--ink); flex: 1; }
.train-row .tfor { font-size: var(--fs-1); color: var(--muted-2); flex: none; }
.train-row .arr { color: var(--muted-2); transition: transform .25s ease, color .25s ease; }
.train-row:hover .arr { transform: translateX(4px); color: var(--accent); }

/* ============================================================
   Contact / CTA
   ============================================================ */
.contact-section {
  background:
    radial-gradient(800px 460px at 12% 0%, rgba(20,102,196,0.22), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(31,158,143,0.12), transparent 55%),
    var(--navy-900);
  color: #fff;
}
.contact-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.contact-lead h2 { font-family: var(--head); font-size: var(--fs-title); font-weight: 600; line-height: 1.3; color: #fff; }
.contact-lead p { margin-top: 26px; font-size: var(--fs-2); color: #b8c8d6; line-height: 1.85; max-width: 480px; text-wrap: pretty; }
.contact-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 40px; backdrop-filter: blur(8px); }
.contact-rows { display: flex; flex-direction: column; gap: 4px; }
.crow { display: flex; align-items: flex-start; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.crow:last-child { border-bottom: none; }
.crow .clabel { font-family: var(--mono); font-size: var(--fs-1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-soft); width: 78px; flex: none; padding-top: 4px; }
.crow .cval { font-size: var(--fs-3); color: #fff; font-weight: 500; }
.crow .csub { font-size: var(--fs-1); color: #8ba0b3; margin-top: 3px; }
.qr-block { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.08); }
.qr-ph { width: 84px; height: 84px; border-radius: 10px; background:
  repeating-linear-gradient(45deg, rgba(255,255,255,0.14) 0 6px, rgba(255,255,255,0.04) 6px 12px);
  border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; flex: none; }
.qr-ph span { font-family: var(--mono); font-size: var(--fs-1); color: rgba(255,255,255,0.6); text-align: center; line-height: 1.4; }
.qr-text .t1 { font-size: var(--fs-2); font-weight: 600; color: #fff; }
.qr-text .t2 { font-size: var(--fs-1); color: #8ba0b3; margin-top: 4px; }

/* placeholder pill for unconfirmed info */
.ph-pill { display: inline-block; font-family: var(--mono); font-size: var(--fs-1); letter-spacing: 0.08em; color: var(--accent-soft); background: rgba(74,144,217,0.14); border: 1px dashed rgba(74,144,217,0.4); padding: 1px 8px; border-radius: 5px; margin-left: 8px; vertical-align: middle; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--navy-900); color: #fff; padding: 70px 0 36px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 18px; font-size: var(--fs-2); color: #8ba0b3; line-height: 1.8; max-width: 320px; }
.footer-col h4 { font-size: var(--fs-1); font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; font-weight: 500; }
.footer-col a { display: block; font-size: var(--fs-2); color: #c2d0dc; padding: 7px 0; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: var(--fs-1); color: #6f8295; flex-wrap: wrap; gap: 12px; }
.footer-bottom .links { display: flex; gap: 22px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* tweakable: hide hero grid */
body.no-grid .hero-grid-bg { display: none; }

/* ============================================================
   Mobile menu panel
   ============================================================ */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--navy-900); display: flex; flex-direction: column; padding: 100px 32px 40px; transform: translateX(100%); transition: transform .4s cubic-bezier(.6,0,.2,1); }
.mobile-menu.open { transform: none; }
.mobile-menu a { font-family: var(--head); font-size: var(--fs-4); font-weight: 600; color: #fff; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .train-layout { grid-template-columns: 1fr; gap: 40px; }
  .train-aside { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 920px) {
  :root { --gutter: 26px; }
  .section { padding: 84px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .core-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .scene-card.wide, .scene-card.third { grid-column: span 1; }
  .flow { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .flow::before { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 130px 0 80px; }
  .cap-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .hero-meta { gap: 26px; }
  .contact-card { padding: 28px; }
}
