/* ==========================================================================
   INFINITY 3D — corporate website stylesheet
   Author: built for Infinity (cn-infinity.com)
   Structure:  1. Tokens  2. Base  3. Layout  4. Header  5. Hero  6. Components
               7. Sections  8. Forms  9. Footer  10. Motion  11. Responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root{
  /* brand */
  --ink:            #0b1020;   /* near-black, from the booth panels        */
  --ink-2:          #131a2e;   /* raised dark surface                      */
  --ink-3:          #1e2740;   /* dark borders                             */
  --blue:           #2d7cff;   /* the LED band on the NEO3                 */
  --blue-600:       #1c63e0;
  --blue-300:       #7aaaff;
  --blue-tint:      #eef4ff;
  --teal:           #46c8c0;   /* the cast wax parts                       */

  /* neutrals */
  --white:          #ffffff;
  --paper:          #f6f8fc;
  --line:           #e2e8f2;
  --grey-700:       #56607a;
  --grey-500:       #7b85a0;
  --grey-400:       #9aa3b8;

  /* type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --h1: clamp(2.4rem, 5.4vw, 4.25rem);
  --h2: clamp(1.9rem, 3.4vw, 2.9rem);
  --h3: clamp(1.15rem, 1.6vw, 1.4rem);

  /* metrics */
  --wrap: 1200px;
  --gutter: 24px;
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 84px;
  --shadow-sm: 0 1px 2px rgba(11,16,32,.06), 0 4px 12px rgba(11,16,32,.05);
  --shadow-md: 0 12px 32px rgba(11,16,32,.10);
  --shadow-lg: 0 24px 64px rgba(11,16,32,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* 2. BASE ------------------------------------------------------------------ */
*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  font-family:var(--font);
  font-size:17px;
  line-height:1.65;
  color:var(--grey-700);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  color:var(--ink);
  font-weight:700;
  line-height:1.12;
  letter-spacing:-.022em;
  margin:0 0 .5em;
}
h1{ font-size:var(--h1); }
h2{ font-size:var(--h2); }
h3{ font-size:var(--h3); letter-spacing:-.012em; line-height:1.3; }
p{ margin:0 0 1.15em; }
a{ color:var(--blue-600); text-decoration:none; transition:color .18s var(--ease); }
a:hover{ color:var(--blue); }
img{ max-width:100%; height:auto; display:block; }
ul{ margin:0 0 1.15em; padding-left:1.15em; }
li{ margin-bottom:.4em; }
strong{ color:var(--ink); font-weight:650; }

:focus-visible{ outline:3px solid var(--blue); outline-offset:3px; border-radius:2px; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--ink); color:#fff; padding:12px 20px; font-weight:600;
}
.skip-link:focus{ left:8px; top:8px; color:#fff; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--gutter); }
.wrap--narrow{ max-width:820px; }

.section{ padding:clamp(64px,8vw,116px) 0; }
.section--tight{ padding:clamp(48px,5vw,72px) 0; }
.section--paper{ background:var(--paper); }
.section--dark{ background:var(--ink); color:#b9c2d6; }
.section--dark h2,.section--dark h3,.section--dark h4{ color:#fff; }
.section--dark a{ color:var(--blue-300); }
.section--dark strong,
.cta-band strong,
.hero strong{ color:#fff; }

.grid{ display:grid; gap:clamp(20px,2.4vw,32px); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }

.split{
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(32px,5vw,72px); align-items:center;
}
.split--wide-left{ grid-template-columns:1.15fr 1fr; }
.split--wide-right{ grid-template-columns:1fr 1.15fr; }
.split--top{ align-items:start; }

/* section heading block */
.eyebrow{
  display:inline-block;
  font-size:.75rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--blue-600); margin-bottom:14px;
}
.section--dark .eyebrow{ color:var(--blue-300); }
.section-head{ max-width:720px; margin-bottom:clamp(36px,4.5vw,60px); }
.section-head--center{ margin-inline:auto; text-align:center; }
.lede{ font-size:clamp(1.02rem,1.35vw,1.19rem); line-height:1.6; color:var(--grey-700); }
.section--dark .lede{ color:#a9b3c9; }

/* 4. HEADER ---------------------------------------------------------------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  height:var(--header-h);
  display:flex; align-items:center;
  background:rgba(11,16,32,0);
  transition:background .3s var(--ease), height .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(to bottom, rgba(11,16,32,.72), rgba(11,16,32,0));
  transition:opacity .3s var(--ease);
}
.site-header.is-solid{
  height:70px;
  background:rgba(11,16,32,.96);
  backdrop-filter:saturate(160%) blur(12px);
  box-shadow:0 1px 0 rgba(255,255,255,.08), 0 8px 30px rgba(0,0,0,.28);
}
.site-header.is-solid::before{ opacity:0; }

.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; width:100%; }
.brand{ display:flex; align-items:center; flex-shrink:0; }
.brand img{ height:30px; width:auto; transition:height .3s var(--ease); }
.site-header.is-solid .brand img{ height:26px; width:auto; }

.nav{ display:flex; align-items:center; gap:4px; }
.nav a{
  position:relative;
  padding:10px 16px;
  font-size:.94rem; font-weight:550; letter-spacing:.005em;
  color:rgba(255,255,255,.78);
  border-radius:var(--radius);
  transition:color .18s var(--ease);
}
.nav a:hover{ color:#fff; }
.nav a::after{
  content:""; position:absolute; left:16px; right:16px; bottom:2px; height:2px;
  background:var(--blue); transform:scaleX(0); transform-origin:left;
  transition:transform .26s var(--ease);
}
.nav a:hover::after{ transform:scaleX(1); }
.nav a[aria-current="page"]{ color:#fff; }
.nav a[aria-current="page"]::after{ transform:scaleX(1); }

.header-cta{ margin-left:8px; }

.nav-toggle{
  display:none;
  width:44px; height:44px; padding:0;
  background:transparent; border:1px solid rgba(255,255,255,.22); border-radius:var(--radius);
  cursor:pointer;
}
.nav-toggle span{
  display:block; width:18px; height:2px; margin:3.5px auto;
  background:#fff; transition:transform .28s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-5.5px) rotate(-45deg); }

/* 5. HERO ------------------------------------------------------------------ */
.hero{
  position:relative;
  min-height:min(88vh, 780px);
  display:flex; align-items:flex-end;
  padding:calc(var(--header-h) + 80px) 0 clamp(56px,7vw,92px);
  background:var(--ink);
  overflow:hidden;
}
.hero__media{ position:absolute; inset:0; z-index:0; }
.hero__media img{ width:100%; height:100%; object-fit:cover; object-position:center 42%; }
.hero__media::after{
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(to top, rgba(11,16,32,.96) 0%, rgba(11,16,32,.82) 34%, rgba(11,16,32,.42) 66%, rgba(11,16,32,.55) 100%),
    linear-gradient(to right, rgba(11,16,32,.85) 0%, rgba(11,16,32,.18) 62%);
}
.hero__inner{ position:relative; z-index:1; max-width:760px; }
.hero h1{ color:#fff; margin-bottom:.42em; }
.hero h1 em{ font-style:normal; color:var(--blue-300); }
.hero__lede{
  font-size:clamp(1.06rem,1.55vw,1.26rem); line-height:1.58;
  color:rgba(255,255,255,.8); max-width:600px; margin-bottom:2em;
}
.hero__actions{ display:flex; flex-wrap:wrap; gap:14px; }

.hero--page{
  min-height:auto;
  padding:calc(var(--header-h) + 76px) 0 clamp(48px,6vw,76px);
  align-items:center;
}
.hero--page .hero__inner{ max-width:800px; }
.hero--page h1{ margin-bottom:.35em; }
.hero--page .hero__media img{ object-position:center 45%; }
.hero--page .hero__media::after{
  background:
    linear-gradient(to top, rgba(11,16,32,.92), rgba(11,16,32,.78)),
    linear-gradient(to right, rgba(11,16,32,.9), rgba(11,16,32,.5));
}

/* breadcrumb */
.crumbs{ font-size:.82rem; letter-spacing:.02em; color:rgba(255,255,255,.5); margin-bottom:18px; }
.crumbs a{ color:rgba(255,255,255,.72); }
.crumbs a:hover{ color:#fff; }
.crumbs span{ margin:0 8px; opacity:.5; }

/* 6. COMPONENTS ------------------------------------------------------------ */

/* buttons */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 28px;
  font-family:inherit; font-size:.95rem; font-weight:650; letter-spacing:.01em;
  border:1px solid transparent; border-radius:var(--radius);
  cursor:pointer; text-align:center;
  transition:background .2s var(--ease), border-color .2s var(--ease),
             color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:translateY(0); }
.btn svg{ width:16px; height:16px; flex-shrink:0; }

.btn--primary{ background:var(--blue); color:#fff; box-shadow:0 6px 20px rgba(45,124,255,.32); }
.btn--primary:hover{ background:var(--blue-600); color:#fff; box-shadow:0 10px 28px rgba(45,124,255,.42); }

.btn--ghost{ background:rgba(255,255,255,.06); color:#fff; border-color:rgba(255,255,255,.3); }
.btn--ghost:hover{ background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.6); color:#fff; }

.btn--outline{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn--outline:hover{ border-color:var(--ink); color:var(--ink); background:var(--paper); }

.btn--sm{ padding:11px 20px; font-size:.88rem; }

/* text link with arrow */
.link-arrow{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:650; font-size:.94rem; color:var(--blue-600);
}
.link-arrow svg{ width:15px; height:15px; transition:transform .22s var(--ease); }
.link-arrow:hover svg{ transform:translateX(4px); }

/* stat bar */
.statbar{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--white); }
.statbar .grid{ gap:0; }
.stat{ padding:clamp(28px,3.4vw,44px) clamp(16px,2.4vw,32px); border-right:1px solid var(--line); }
.stat:last-child{ border-right:0; }
.stat__num{
  display:block; font-size:clamp(2rem,3.4vw,2.9rem); font-weight:750;
  color:var(--ink); letter-spacing:-.03em; line-height:1; margin-bottom:8px;
}
.stat__num span{ color:var(--blue); }
.stat__label{ font-size:.87rem; line-height:1.45; color:var(--grey-700); }

/* cards */
.card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:clamp(24px,2.6vw,34px);
  transition:transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:#cfd9ea; }
.card h3{ margin-bottom:.55em; }
.card p:last-child{ margin-bottom:0; }
.card__icon{
  width:46px; height:46px; margin-bottom:20px;
  display:grid; place-items:center;
  background:var(--blue-tint); border-radius:var(--radius);
  color:var(--blue-600);
}
.card__icon svg{ width:22px; height:22px; }

.card--dark{ background:var(--ink-2); border-color:var(--ink-3); color:#a9b3c9; }
.card--dark:hover{ border-color:#2e3a5c; box-shadow:0 20px 48px rgba(0,0,0,.4); }
.card--dark .card__icon{ background:rgba(45,124,255,.14); color:var(--blue-300); }

/* numbered step card */
.step{ position:relative; padding-top:8px; }
.step__no{
  font-size:.78rem; font-weight:750; letter-spacing:.14em;
  color:var(--blue); margin-bottom:14px; display:block;
}
.step::before{
  content:""; display:block; height:2px; background:var(--line); margin-bottom:18px;
}
.step--active::before{ background:var(--blue); }

/* application tiles */
.app-tile{
  position:relative; padding:26px 24px 24px;
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  transition:border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.app-tile:hover{ border-color:var(--blue); transform:translateY(-3px); box-shadow:var(--shadow-md); }
.app-tile h3{ font-size:1.05rem; margin-bottom:.4em; }
.app-tile p{ font-size:.92rem; margin-bottom:0; }
.app-tile__mark{
  width:34px; height:34px; margin-bottom:16px; color:var(--blue);
}
.app-tile__mark svg{ width:100%; height:100%; }

/* spec table */
.specs{ width:100%; border-collapse:collapse; font-size:.95rem; }
.specs caption{
  text-align:left; font-size:.75rem; font-weight:700; letter-spacing:.16em;
  text-transform:uppercase; color:var(--blue-600); padding-bottom:16px;
}
.specs th,.specs td{ padding:15px 4px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.specs th{ font-weight:550; color:var(--grey-700); width:46%; }
.specs td{ color:var(--ink); font-weight:600; }
.specs tr:last-child th,.specs tr:last-child td{ border-bottom:0; }

/* media frame */
.frame{ border-radius:var(--radius-lg); overflow:hidden; background:var(--ink); box-shadow:var(--shadow-lg); }
.frame img{ width:100%; }
.frame--flat{ box-shadow:var(--shadow-sm); border:1px solid var(--line); }

figure{ margin:0; }
figcaption{ font-size:.85rem; color:var(--grey-400); padding-top:12px; }

/* pill / badge */
.pill{
  display:inline-flex; align-items:center; gap:7px;
  padding:6px 13px; border-radius:100px;
  font-size:.76rem; font-weight:650; letter-spacing:.05em; text-transform:uppercase;
}
.pill--now{ background:rgba(45,124,255,.12); color:var(--blue-600); }
.pill--next{ background:rgba(70,200,192,.15); color:#1c8a83; }
.pill--dark{ background:rgba(255,255,255,.1); color:#fff; }
.pill::before{ content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }

/* accent rule (echoes the machine's LED band) */
.led{
  height:4px; width:72px; border-radius:100px;
  background:linear-gradient(90deg, var(--blue), var(--blue-300));
  margin-bottom:28px;
}

/* logo strip */
.brandline{
  display:flex; align-items:center; gap:clamp(20px,3vw,44px); flex-wrap:wrap;
  padding:22px 0;
}
.brandline img{ height:24px; opacity:.55; }
.brandline p{ margin:0; font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; color:var(--grey-400); }

/* CTA band */
.cta-band{
  background:linear-gradient(120deg, var(--ink) 0%, #16224a 55%, #1d3a7a 100%);
  color:#fff; text-align:center;
  padding:clamp(56px,7vw,96px) 0;
  position:relative; overflow:hidden;
}
.cta-band::after{
  content:""; position:absolute; left:50%; bottom:-160px; width:520px; height:320px;
  transform:translateX(-50%);
  background:radial-gradient(ellipse at center, rgba(45,124,255,.5), transparent 68%);
  filter:blur(22px); pointer-events:none;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color:rgba(255,255,255,.76); max-width:620px; margin-inline:auto; }
.cta-band .hero__actions{ justify-content:center; position:relative; z-index:1; }

/* 7. SECTIONS -------------------------------------------------------------- */

/* feature list with checks */
.checklist{ list-style:none; padding:0; margin:0 0 1.6em; }
.checklist li{
  position:relative; padding-left:32px; margin-bottom:14px; font-size:.98rem;
}
.checklist li::before{
  content:""; position:absolute; left:0; top:7px;
  width:18px; height:18px; border-radius:50%;
  background:var(--blue-tint);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d7cff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size:11px; background-repeat:no-repeat; background-position:center;
}
.section--dark .checklist li::before{ background-color:rgba(45,124,255,.2); }

/* timeline */
.timeline{ list-style:none; padding:0; margin:0; position:relative; }
.timeline::before{
  content:""; position:absolute; left:7px; top:10px; bottom:10px; width:2px; background:var(--line);
}
.section--dark .timeline::before{ background:var(--ink-3); }
.timeline li{ position:relative; padding-left:40px; padding-bottom:34px; margin:0; }
.timeline li:last-child{ padding-bottom:0; }
.timeline li::before{
  content:""; position:absolute; left:0; top:7px;
  width:16px; height:16px; border-radius:50%;
  background:var(--white); border:3px solid var(--blue);
}
.section--dark .timeline li::before{ background:var(--ink); }
.timeline h3{ font-size:1.06rem; margin-bottom:.3em; }
.timeline p{ margin-bottom:0; font-size:.95rem; }

/* contact info blocks */
.info-item{ display:flex; gap:16px; margin-bottom:28px; }
.info-item__icon{
  flex-shrink:0; width:42px; height:42px; border-radius:var(--radius);
  display:grid; place-items:center;
  background:var(--blue-tint); color:var(--blue-600);
}
.section--dark .info-item__icon{ background:rgba(45,124,255,.14); color:var(--blue-300); }
.info-item__icon svg{ width:19px; height:19px; }
.info-item h3{ font-size:.98rem; margin-bottom:.25em; }
.info-item p,.info-item address{
  margin:0; font-style:normal; font-size:.96rem; line-height:1.6;
}

/* map */
.map-embed{
  border:0; width:100%; height:100%; min-height:340px;
  display:block; filter:grayscale(.25) contrast(1.05);
}
.map-shell{ border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--line); background:var(--paper); }

/* 8. FORMS ----------------------------------------------------------------- */
.form{ display:grid; gap:20px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field{ display:flex; flex-direction:column; gap:7px; }
.field label{
  font-size:.83rem; font-weight:650; letter-spacing:.04em;
  text-transform:uppercase; color:var(--ink);
}
.field .req{ color:var(--blue); }
.field input,.field select,.field textarea{
  font-family:inherit; font-size:1rem; color:var(--ink);
  padding:13px 15px;
  background:var(--white);
  border:1px solid var(--line); border-radius:var(--radius);
  transition:border-color .18s var(--ease), box-shadow .18s var(--ease);
  width:100%;
}
.field textarea{ resize:vertical; min-height:140px; }
.field select{
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b85a0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:16px;
  padding-right:42px;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:0; border-color:var(--blue); box-shadow:0 0 0 3px rgba(45,124,255,.16);
}
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"]{
  border-color:#d94a4a; box-shadow:0 0 0 3px rgba(217,74,74,.13);
}
.field .error{ font-size:.82rem; color:#c53c3c; min-height:1em; }

.consent{ display:flex; gap:11px; align-items:flex-start; font-size:.88rem; line-height:1.55; }
.consent input{ width:17px; height:17px; margin-top:3px; flex-shrink:0; accent-color:var(--blue); }

.form-note{ font-size:.85rem; color:var(--grey-400); margin:0; }

.form-status{
  padding:15px 18px; border-radius:var(--radius); font-size:.94rem; font-weight:550;
  display:none;
}
.form-status.is-ok{ display:block; background:#e8f6ee; color:#1c6b41; border:1px solid #b9e3cb; }
.form-status.is-err{ display:block; background:#fdecec; color:#a83232; border:1px solid #f4c7c7; }

/* 9. FOOTER ---------------------------------------------------------------- */
.site-footer{ background:var(--ink); color:#8f9ab4; font-size:.93rem; padding:clamp(52px,6vw,76px) 0 0; }
.footer-grid{
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr;
  gap:clamp(28px,3.4vw,48px);
  padding-bottom:48px;
}
.site-footer h4{
  font-size:.76rem; letter-spacing:.16em; text-transform:uppercase;
  color:#fff; margin-bottom:20px; font-weight:700;
}
.site-footer ul{ list-style:none; padding:0; margin:0; }
.site-footer li{ margin-bottom:11px; }
.site-footer a{ color:#8f9ab4; }
.site-footer a:hover{ color:#fff; }
.footer-brand img{ height:32px; width:auto; margin-bottom:20px; }
.footer-brand p{ max-width:300px; font-size:.92rem; line-height:1.6; }
.footer-address{ font-style:normal; line-height:1.7; }

.socials{ display:flex; gap:10px; margin-top:22px; }
.socials a{
  width:40px; height:40px; border-radius:var(--radius);
  display:grid; place-items:center;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  color:#b9c2d6;
  transition:background .2s var(--ease), color .2s var(--ease),
             border-color .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover{ background:var(--blue); border-color:var(--blue); color:#fff; transform:translateY(-2px); }
.socials svg{ width:18px; height:18px; }

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.09);
  padding:24px 0 30px;
  display:flex; justify-content:space-between; align-items:center; gap:18px; flex-wrap:wrap;
  font-size:.85rem; color:#6d7893;
}
.footer-bottom nav{ display:flex; gap:24px; flex-wrap:wrap; }

/* back to top */
.to-top{
  position:fixed; right:22px; bottom:22px; z-index:90;
  width:46px; height:46px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--ink); color:#fff; border:1px solid rgba(255,255,255,.18);
  cursor:pointer; opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s;
}
.to-top.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.to-top:hover{ background:var(--blue); }
.to-top svg{ width:18px; height:18px; }

/* 10. MOTION --------------------------------------------------------------- */
.reveal{ opacity:0; transform:translateY(22px); }
.reveal.is-in{
  opacity:1; transform:none;
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal[data-delay="1"].is-in{ transition-delay:.09s; }
.reveal[data-delay="2"].is-in{ transition-delay:.18s; }
.reveal[data-delay="3"].is-in{ transition-delay:.27s; }
.reveal[data-delay="4"].is-in{ transition-delay:.36s; }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1 !important; transform:none !important; }
  *,*::before,*::after{
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}

/* 11. RESPONSIVE ----------------------------------------------------------- */
@media (max-width:1024px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:36px; }
  .statbar .grid-4 .stat:nth-child(2){ border-right:0; }
  .statbar .grid-4 .stat:nth-child(1),
  .statbar .grid-4 .stat:nth-child(2){ border-bottom:1px solid var(--line); }
}

@media (max-width:880px){
  body{ font-size:16px; }
  :root{ --header-h:70px; }

  .nav-toggle{ display:block; }
  .nav{
    position:fixed; inset:var(--header-h) 0 auto 0;
    flex-direction:column; align-items:stretch; gap:0;
    background:rgba(11,16,32,.98);
    backdrop-filter:blur(14px);
    padding:12px 24px 26px;
    border-bottom:1px solid rgba(255,255,255,.1);
    max-height:calc(100vh - var(--header-h)); overflow-y:auto;
    transform:translateY(-12px); opacity:0; visibility:hidden; pointer-events:none;
    transition:opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
  }
  .nav.is-open{ transform:none; opacity:1; visibility:visible; pointer-events:auto; }
  .nav a{ padding:15px 4px; font-size:1.02rem; border-bottom:1px solid rgba(255,255,255,.07); border-radius:0; }
  .nav a::after{ display:none; }
  .nav a[aria-current="page"]{ color:var(--blue-300); }
  .header-cta{ margin:18px 0 0; }
  .header-cta .btn{ width:100%; justify-content:center; }

  .split,.split--wide-left,.split--wide-right{ grid-template-columns:1fr; }
  .split .frame{ order:-1; }
  .grid-3{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }

  .hero{ min-height:auto; padding-top:calc(var(--header-h) + 64px); }
  .hero__media img{ object-position:60% center; }
}

@media (max-width:600px){
  :root{ --gutter:18px; }
  .grid-4{ grid-template-columns:1fr; }
  .statbar .stat{ border-right:0; border-bottom:1px solid var(--line); }
  .statbar .stat:last-child{ border-bottom:0; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .hero__actions .btn{ width:100%; justify-content:center; }
  .to-top{ right:14px; bottom:14px; }
}

/* print ------------------------------------------------------------------- */
@media print{
  .site-header,.to-top,.cta-band,.hero__media{ display:none !important; }
  body{ color:#000; font-size:12pt; }
  .section{ padding:18px 0; }
}
