/* ==========================================================================
   TerraOptimization Limited — Global Stylesheet
   Palette: deep navy + electric blue + cyan accent (data / flow / tech)
   Cinematic hero styles are at the very end of this file.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #071a2f;
  --navy-800: #0a2342;
  --navy-700: #0f2e57;
  --navy-600: #14406f;
  --blue-500: #1e5fa8;
  --blue-400: #2f7fd1;
  --cyan-500: #17c3e0;
  --cyan-400: #3dd7f0;
  --gold-500: #f2a41d;

  /* Neutrals */
  --white: #ffffff;
  --light: #f4f8fc;
  --light-2: #eaf1f8;
  --border: #dbe6f0;
  --slate-700: #34495e;
  --slate-600: #4a5f74;
  --slate-500: #64788d;
  --ink: #0b1f36;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(10, 35, 66, .06);
  --shadow-md: 0 10px 30px rgba(10, 35, 66, .10);
  --shadow-lg: 0 24px 60px rgba(10, 35, 66, .16);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --grad-navy: linear-gradient(135deg, #0a2342 0%, #0f2e57 55%, #14406f 100%);
  --grad-accent: linear-gradient(120deg, var(--cyan-500), var(--blue-400));
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font-head: "Sora", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
/* clip, not hidden: hidden on <body> is propagated to the viewport and so clips
   nothing, and hidden on either box would make it a scroller and break the sticky header. */
html, body { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-500); text-decoration: none; transition: color .2s; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--light { background: var(--light); }
.section--navy { background: var(--grad-navy); color: #cdddec; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue-500);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-accent); border-radius: 2px; }
.section--navy .eyebrow { color: var(--cyan-400); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
h2.title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3.title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--slate-600); margin-top: 14px; }
.section--navy .lead { color: #b7cbe0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .96rem;
  padding: 14px 26px; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-accent); color: #062036; box-shadow: 0 10px 26px rgba(23,195,224,.32); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(23,195,224,.44); color: #062036; }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-3px); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--blue-400); color: var(--blue-500); transform: translateY(-3px); }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--light:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateY(-3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
/* The blur lives on a pseudo-element: a backdrop-filter on the header itself would
   make it the containing block for the fixed drawer, which then widens the document. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 11px; background: var(--grad-navy);
  display: grid; place-items: center; color: #fff; font-family: var(--font-head);
  font-weight: 800; font-size: 1.02rem; letter-spacing: -.04em; box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: -.02em; }
.brand__sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--slate-500); font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .93rem; color: var(--slate-700);
  padding: 9px 14px; border-radius: 9px; position: relative; transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--navy-800); background: var(--light-2); }
.nav__links a.active { color: var(--blue-500); }
.nav__links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--grad-accent); border-radius: 2px;
}
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle span + span { margin-top: 6px; }
.nav__toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: block; z-index: 70; }
  .nav__links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(82vw, 340px);
    overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    background: #fff; padding: 100px 26px 40px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .4s var(--ease); z-index: 65;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { padding: 14px 16px; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav__links a.active::after { display: none; }
  .nav__cta { margin: 16px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(7,26,47,.5); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 64;
  }
  .nav-backdrop.open { opacity: 1; pointer-events: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(1000px 500px at 78% 12%, rgba(23,195,224,.18), transparent 60%),
              radial-gradient(700px 500px at 8% 92%, rgba(47,127,209,.20), transparent 55%);
}
.hero__inner { position: relative; z-index: 2; padding: clamp(84px, 13vw, 150px) 0 clamp(72px, 11vw, 130px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 100px;
  font-size: .82rem; color: #cfe6f3; margin-bottom: 26px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(61,215,240,.25); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(61,215,240,.25);} 50% { box-shadow: 0 0 0 8px rgba(61,215,240,0);} }
.hero h1 {
  color: #fff; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.06; letter-spacing: -.03em;
}
.hero h1 .accent { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 22px; font-size: clamp(1.05rem, 1.8vw, 1.24rem); color: #bcd3e8; max-width: 560px; }
.hero .btn-row { margin-top: 34px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 30px 44px; margin-top: 48px; }
.hero__stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; }
.hero__stat .num .accent { color: var(--cyan-400); }
.hero__stat .lbl { font-size: .82rem; color: #9fbdd6; letter-spacing: .04em; }

/* hero side panel */
.hero__panel {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 26px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
}
.hero__panel h4 { color: #fff; font-size: 1.02rem; margin-bottom: 4px; }
.hero__panel p.mini { font-size: .84rem; color: #a9c4dc; margin-bottom: 18px; }
.flow-track { display: grid; gap: 12px; }
.flow-node {
  display: flex; align-items: center; gap: 14px; padding: 13px 15px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.flow-node .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-accent); display: grid; place-items: center; color: #06263a; flex-shrink: 0; }
.flow-node .ico svg { width: 20px; height: 20px; }
.flow-node b { color: #fff; font-family: var(--font-head); font-size: .95rem; font-weight: 600; }
.flow-node span { display: block; font-size: .78rem; color: #9fbdd6; }
.flow-arrow { text-align: center; color: var(--cyan-400); font-size: .9rem; margin: -4px 0; }

.hero__marquee { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.1); }
.marquee { display: flex; gap: 44px; padding: 18px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 44px; flex-shrink: 0; animation: scrollx 26s linear infinite; }
.marquee span { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: #86a6c2; white-space: nowrap; letter-spacing: .04em; }
.marquee span::before { content: "●"; color: var(--cyan-500); margin-right: 44px; font-size: .5rem; vertical-align: middle; }
@keyframes scrollx { to { transform: translateX(calc(-50% - 22px)); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(23,195,224,.14), rgba(47,127,209,.14)); color: var(--blue-500);
}
.card__ico svg { width: 26px; height: 26px; }
.card h3, .card h4 { font-size: 1.16rem; margin-bottom: 10px; }
.card p { font-size: .96rem; color: var(--slate-600); }
.card__num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--light-2); z-index: 0; }
.card--navy { background: var(--navy-800); border-color: rgba(255,255,255,.08); color: #b7cbe0; }
.card--navy h3, .card--navy h4 { color: #fff; }
.card--navy p { color: #a9c4dc; }
.card--navy .card__ico { background: rgba(255,255,255,.08); color: var(--cyan-400); }

/* feature list */
.tick-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--slate-600); font-size: .96rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 19px; height: 19px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062036' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat,
    var(--grad-accent);
  box-shadow: 0 2px 6px rgba(23,195,224,.35);
}
.section--navy .tick-list li { color: #b7cbe0; }

/* stats band */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.statband .stat { text-align: center; padding: 24px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.section--navy .statband .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.statband .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statband .lbl { font-size: .88rem; color: var(--slate-600); margin-top: 4px; }
.section--navy .statband .lbl { color: #a9c4dc; }

/* pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { font-family: var(--font-head); font-size: .84rem; font-weight: 500; padding: 8px 15px; border-radius: 100px; background: var(--light); border: 1px solid var(--border); color: var(--slate-700); }
.section--navy .pill { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #cdddec; }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 66px); align-items: center; }
.split--reverse .split__media { order: 2; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); background: var(--grad-navy);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* timeline / process steps */
.steps { display: grid; gap: 22px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.step:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.step__n {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff; background: var(--grad-navy);
}
.step h4 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .95rem; }

/* process workflow phases */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: ph; }
.phase { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.phase__tag { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-500); }
.phase h4 { margin: 10px 0 12px; font-size: 1.16rem; }
.phase ol { padding-left: 18px; color: var(--slate-600); font-size: .9rem; }
.phase ol li { margin-bottom: 6px; }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.proc { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .92rem; }
table.proc th, table.proc td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.proc thead th { background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .86rem; letter-spacing: .02em; }
table.proc tbody tr:nth-child(even) { background: var(--light); }
table.proc tbody tr:hover { background: var(--light-2); }
table.proc td:first-child { font-weight: 600; color: var(--navy-800); font-family: var(--font-head); }

/* CTA band */
.cta-band { background: var(--grad-navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 66px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(23,195,224,.22), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cta-band p { color: #bcd3e8; max-width: 600px; margin: 14px auto 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: start; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.info-card:last-child { border-bottom: 0; }
.info-card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--light); color: var(--blue-500); display: grid; place-items: center; flex-shrink: 0; }
.info-card .ico svg { width: 22px; height: 22px; }
.info-card b { display: block; font-family: var(--font-head); color: var(--ink); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
.info-card a, .info-card p { color: var(--slate-600); font-size: 1rem; }

form.tform { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-size: .86rem; font-weight: 600; color: var(--navy-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 11px;
  font-family: var(--font-body); font-size: .98rem; color: var(--ink); background: var(--light);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-400); background: #fff; box-shadow: 0 0 0 4px rgba(47,127,209,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.two > div { margin: 0; }
.form-note { font-size: .82rem; color: var(--slate-500); margin-top: 4px; }
.form-status { display: none; margin-top: 14px; padding: 13px 16px; border-radius: 11px; font-size: .92rem; }
.form-status.ok { display: block; background: #e7f8ef; color: #147a4b; border: 1px solid #b6ebcf; }
.form-status.err { display: block; background: #fdecec; color: #b3261e; border: 1px solid #f5c2c0; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #e5534b; background: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #93aec8; padding: clamp(56px, 7vw, 80px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer .brand__name { color: #fff; }
.site-footer p { font-size: .92rem; color: #8ba7c2; margin-top: 16px; max-width: 300px; }
.footer-col h5 { font-family: var(--font-head); color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: #9db8d1; font-size: .94rem; padding: 5px 0; }
.footer-col a:hover { color: var(--cyan-400); }
.footer-contact li { display: flex; gap: 10px; font-size: .92rem; margin-bottom: 10px; color: #9db8d1; }
.footer-contact svg { width: 17px; height: 17px; color: var(--cyan-500); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 46px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .84rem; color: #789ab8; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #9db8d1; }
.footer-social a:hover { background: var(--grad-accent); color: #062036; }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--grad-navy); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 85% 10%, rgba(23,195,224,.18), transparent 60%); }
.page-hero__inner { position: relative; z-index: 1; padding: clamp(70px, 10vw, 120px) 0 clamp(50px, 7vw, 84px); max-width: 780px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.page-hero p { color: #bcd3e8; font-size: clamp(1.02rem, 1.7vw, 1.2rem); margin-top: 16px; }
.crumbs { display: flex; gap: 8px; font-size: .84rem; color: #8fb0cc; margin-bottom: 18px; }
.crumbs a { color: #bcd3e8; }
.crumbs a:hover { color: var(--cyan-400); }

/* dotted decoration */
.dots-bg { background-image: radial-gradient(var(--border) 1.4px, transparent 1.4px); background-size: 22px 22px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .phases { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 700px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .phases { grid-template-columns: 1fr; }
  .field.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; }
  .step__n { width: 48px; height: 48px; font-size: 1.2rem; border-radius: 13px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px 30px; }
}

/* ==========================================================================
   CINEMATIC HERO (motionsites-style) — landing page
   ========================================================================== */
.hero-cine {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  min-height: clamp(620px, 90vh, 880px); display: flex; align-items: stretch;
  background: #061627;
}

/* ---- Scene ---- */
.scene { position: absolute; inset: 0; z-index: 0; }
.scene__svg {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  transform-origin: 62% 78%; will-change: transform;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.14) translate(-1.4%, -1.8%); } }
.scene .layer { transition: transform .5s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.scene__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.scene__vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,14,26,.55) 0%, rgba(4,14,26,0) 26%, rgba(4,14,26,.15) 60%, rgba(4,14,26,.86) 100%),
    linear-gradient(90deg, rgba(4,14,26,.72) 0%, rgba(4,14,26,.15) 42%, rgba(4,14,26,0) 70%),
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(3,10,20,.55) 100%);
}

/* ---- Content layout ---- */
.hero-cine__inner {
  position: relative; z-index: 3; width: 100%; align-self: center;
  padding-top: clamp(64px, 9vw, 104px); padding-bottom: clamp(92px, 11vw, 128px);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 46px; align-items: center;
}
.hero-cine__content { max-width: 680px; }

.hero-cine .hero__badge { animation: fadeUp .8s .1s both; }

.hero-cine__title {
  color: #fff; font-family: var(--font-head); font-weight: 800;
  text-transform: uppercase; letter-spacing: -.02em; line-height: 1;
  font-size: clamp(2rem, 4vw, 3.3rem); margin-top: 6px;
  text-shadow: 0 6px 40px rgba(3,12,24,.5);
}
/* line = rise-up mask; extra vertical padding keeps glyphs off the clip edge,
   negative margin restores the tight display-type spacing between lines */
.hero-cine__title .line { display: block; overflow: hidden; padding: .06em 0 .14em; margin-bottom: -.12em; }
.hero-cine__title .line > span { display: block; transform: translateY(112%); animation: lineUp 1s var(--ease) forwards; }
.hero-cine__title .line:nth-child(1) > span { animation-delay: .12s; }
.hero-cine__title .line:nth-child(2) > span { animation-delay: .26s; }
.hero-cine__title .line:nth-child(3) > span { animation-delay: .40s; }
.hero-cine__title .accent {
  background: linear-gradient(100deg, var(--cyan-400), #7fe9ff 55%, var(--blue-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-cine__tag {
  font-size: clamp(1.05rem, 1.9vw, 1.34rem); color: #d5e6f5; max-width: 560px; margin-top: 22px;
  animation: fadeUp .8s .5s both;
}
.hero-cine__tag b { color: #fff; font-weight: 600; }
.hero-cine .btn-row { margin-top: 32px; animation: fadeUp .8s .66s both; }

.cine-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; animation: fadeUp .8s .8s both; }
.stat-chip {
  display: flex; align-items: center; gap: 13px; padding: 12px 18px 12px 14px;
  background: rgba(6,18,32,.64); border: 1px solid rgba(255,255,255,.18); border-radius: 14px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 34px rgba(3,12,24,.5);
}
.stat-chip .n { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #fff; line-height: 1; }
.stat-chip .n .accent { color: var(--cyan-400); }
.stat-chip .t { font-size: .78rem; color: #a9c4dc; letter-spacing: .02em; line-height: 1.25; max-width: 130px; }

/* ---- Live route panel (echoes the reference map/data card) ---- */
.route-card {
  background: rgba(6,18,32,.62); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg);
  padding: 22px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow-lg);
  animation: fadeUp .9s .6s both;
}
.route-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.route-card__head h4 { color: #fff; font-size: 1rem; }
.route-live { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-400); }
.route-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400); animation: pulse 2s infinite; }
.route-card p.mini { font-size: .82rem; color: #9fbdd6; margin-bottom: 18px; }
.route-svg { width: 100%; height: auto; display: block; }
.route-svg .track { stroke: rgba(150,200,235,.28); stroke-width: 2.4; fill: none; }
.route-svg .flow { stroke: url(#routeGrad); stroke-width: 2.8; fill: none; stroke-linecap: round; stroke-dasharray: 26 190; animation: dash 3.4s linear infinite; }
.route-svg .rn { fill: #0a2342; stroke: var(--cyan-400); stroke-width: 2.2; }
.route-svg .rn.hub { fill: var(--cyan-400); }
.route-svg .rlabel { fill: #bcd3e8; font-size: 13px; font-family: var(--font-body); }
@keyframes dash { to { stroke-dashoffset: -216; } }
.route-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.route-metrics div { text-align: center; padding: 10px 6px; background: rgba(255,255,255,.05); border-radius: 10px; }
.route-metrics b { display: block; font-family: var(--font-head); color: #fff; font-size: 1.05rem; }
.route-metrics span { font-size: .68rem; color: #9fbdd6; letter-spacing: .04em; }

/* scroll cue + marquee */
.hero-cine__marquee { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, transparent, rgba(4,14,26,.5)); }
.scroll-cue { position: absolute; z-index: 3; bottom: 64px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; gap: 6px; color: #9fbdd6; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; animation: fadeUp 1s 1.1s both; }
.scroll-cue .mouse { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.4); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 6px; background: var(--cyan-400); border-radius: 3px; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0%,100% { opacity: 0; transform: translate(-50%, 0);} 40% { opacity: 1; transform: translate(-50%, 8px);} }

@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px);} to { opacity: 1; transform: none;} }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero-cine__inner { grid-template-columns: 1fr; gap: 30px; }
  .route-card { max-width: 460px; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .hero-cine { min-height: 100svh; }
  .hero-cine__title { font-size: clamp(1.85rem, 10.2vw, 3rem); }
  .stat-chip { padding: 10px 14px; }
  .stat-chip .n { font-size: 1.4rem; }
  .route-metrics span { font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) {
  .scene__svg { animation: none; transform: scale(1.06); }
  .hero-cine__title .line > span { transform: none; animation: none; }
  .hero-cine .hero__badge, .hero-cine__tag, .hero-cine .btn-row, .cine-stats, .route-card, .scroll-cue { animation: none; opacity: 1; transform: none; }
  .route-svg .flow { animation: none; }
}

/* ==========================================================================
   SIMPLE SIDE PANELS  (plain text panels — used instead of illustrations)
   ========================================================================== */
.panel {
  position: relative; overflow: hidden; color: #cdddec;
  background: var(--grad-navy); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(26px, 3.4vw, 38px);
}
.panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 260px at 85% -10%, rgba(23,195,224,.18), transparent 62%);
}
.panel > * { position: relative; z-index: 1; }
.panel__tag {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-400);
}
.panel__tag::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-accent); }
.panel h3, .panel h4 { color: #fff; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.panel > p { font-size: .95rem; color: #a9c4dc; margin-top: 12px; }

/* labelled rows inside a panel */
.panel__rows { margin-top: 22px; }
.panel__rows li {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: baseline;
  padding: 15px 0; border-top: 1px solid rgba(255,255,255,.1);
}
.panel__rows li:last-child { padding-bottom: 0; }
.panel__rows i {
  font-style: normal; font-family: var(--font-head); font-weight: 800;
  font-size: .82rem; color: var(--cyan-400); letter-spacing: .04em;
}
.panel__rows b { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.panel__rows span { display: block; font-size: .9rem; color: #a9c4dc; margin-top: 2px; }

/* compact key/value strip at the foot of a panel */
.panel__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.panel__foot div { text-align: center; padding: 13px 8px; background: rgba(255,255,255,.05); border-radius: 12px; }
.panel__foot b { display: block; color: #fff; font-family: var(--font-head); font-size: 1.15rem; }
.panel__foot span { font-size: .7rem; color: #9fbdd6; letter-spacing: .04em; }

/* light variant for use on navy sections */
.panel--light { background: #fff; border-color: var(--border); box-shadow: var(--shadow-md); color: var(--slate-600); }
.panel--light::after { display: none; }
.panel--light h3, .panel--light h4 { color: var(--ink); }
.panel--light .panel__tag { color: var(--blue-500); }
.panel--light > p { color: var(--slate-600); }
.panel--light .panel__rows li { border-top-color: var(--border); }
.panel--light .panel__rows b { color: var(--ink); }
.panel--light .panel__rows span { color: var(--slate-600); }
.panel--light .panel__rows i { color: var(--blue-500); }

/* ==========================================================================
   SERVICE TILE ROW  (all boxes on one line)
   ========================================================================== */
.svc-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.svc-tile {
  display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.svc-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; color: inherit; }
.svc-tile .ico {
  width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(23,195,224,.14), rgba(47,127,209,.14)); color: var(--blue-500);
}
.svc-tile .ico svg { width: 23px; height: 23px; }
.svc-tile h3 { font-size: .96rem; line-height: 1.3; }
.svc-tile p { font-size: .82rem; color: var(--slate-500); margin-top: 7px; }
.section--navy .svc-tile, .cine-band .svc-tile { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section--navy .svc-tile h3, .cine-band .svc-tile h3 { color: #fff; }
.section--navy .svc-tile p, .cine-band .svc-tile p { color: #a9c4dc; }
.section--navy .svc-tile .ico, .cine-band .svc-tile .ico { background: rgba(255,255,255,.08); color: var(--cyan-400); }

@media (max-width: 1080px) { .svc-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .svc-row { grid-template-columns: repeat(2, 1fr); gap: 12px; } .svc-tile { padding: 18px 12px; } }

/* ==========================================================================
   CINEMATIC BANDS  (hero-like animated sections)
   ========================================================================== */
.cine-band { position: relative; overflow: hidden; background: var(--grad-navy); color: #cdddec; isolation: isolate; }
.cine-band__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.cine-band::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(820px 420px at 84% 6%, rgba(23,195,224,.16), transparent 60%),
              radial-gradient(620px 420px at 4% 96%, rgba(47,127,209,.18), transparent 55%);
}
.cine-band__inner { position: relative; z-index: 2; padding: clamp(60px, 8vw, 104px) 0; }
.cine-band h2 { color: #fff; }
.cine-band .lead { color: #b7cbe0; }
.cine-band__quote { max-width: 900px; margin-inline: auto; text-align: center; }
.cine-band__quote blockquote {
  font-family: var(--font-head); font-weight: 600; color: #fff; letter-spacing: -.01em;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.25;
}
.cine-band__quote .accent { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cine-band__quote cite { display: block; margin-top: 22px; font-style: normal; color: var(--cyan-400); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; }

.feature-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.feature-chips .fc {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: #dbeafc;
}
.feature-chips .fc svg { width: 18px; height: 18px; color: var(--cyan-400); }

/* stat cards sitting on a cinematic band should match the glass theme */
.cine-band .statband .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.cine-band .statband .lbl { color: #a9c4dc; }

/* ---------- Five-phase delivery framework ---------- */
.phase ul { padding-left: 18px; color: var(--slate-600); font-size: .9rem; list-style: disc; }
.phase ul li { margin-bottom: 6px; }
.phases--5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.phases--5 .phase { padding: 24px 18px; }
@media (max-width: 1180px) { .phases--5 { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (max-width: 760px)  { .phases--5 { grid-template-columns: 1fr; } }
