/* =========================================================================
   CIVIS TECH GLOBAL — Design System v2 "Quiet Infrastructure"
   Deep navy foundation · white & clean neutrals · controlled accents:
   energy green, deep water blue, light carbon blue.
   Soft organic geometry — no hard boxes, no clutter, generous air.
   ========================================================================= */

/* ----- Tokens ----- */
:root {
  /* Foundation */
  --navy-950: #041022;
  --navy-900: #06182f;
  --navy-800: #0a2340;
  --navy-700: #10305a;

  /* Accents (per brand direction) */
  --energy: #27b463;      /* controlled green — energy */
  --energy-deep: #14663a;
  --water: #1c56c9;       /* deep blue — water */
  --water-soft: #3f74e3;
  --carbon: #7fb6e8;      /* light blue — air & carbon */
  --carbon-soft: #b9defb;
  --teal: #14b8a6;        /* brand bridge from the mark */

  /* Neutrals — cool, architectural */
  --ink: #0e1e33;
  --ink-soft: #3b4d64;
  --muted: #64748b;
  --hairline: rgba(14, 30, 51, .08);
  --hairline-strong: rgba(14, 30, 51, .14);
  --paper: #ffffff;
  --mist: #f5f8fb;
  --mist-warm: #f7fafc;

  /* Semantic */
  --bg: var(--paper);
  --text: var(--ink);

  /* Gradients — soft, atmospheric, never loud */
  --grad-navy: radial-gradient(120% 140% at 20% 0%, #0d2848 0%, #06182f 48%, #041022 100%);
  --grad-brand: linear-gradient(115deg, var(--water-soft), var(--teal) 85%);
  --grad-energy: linear-gradient(115deg, var(--teal), var(--energy));
  --grad-hero-text: linear-gradient(100deg, #ffffff 10%, #cfe6ff 55%, #8fe6d5 100%);

  /* Type */
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Geometry — everything soft */
  --r-md: 20px;
  --r-lg: 30px;
  --r-xl: 40px;
  --r-2xl: 56px;
  --r-pill: 999px;
  --shadow-soft: 0 6px 30px rgba(10, 35, 64, .07);
  --shadow-float: 0 24px 70px rgba(10, 35, 64, .12);
  --shadow-deep: 0 40px 110px rgba(4, 16, 34, .22);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(22px, 5vw, 52px);
  --nav-h: 78px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-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(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--carbon); outline-offset: 3px; border-radius: 6px; }

/* ----- Typography ----- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.025em; line-height: 1.06; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.2; }
h4 { font-size: 1.06rem; letter-spacing: -.01em; line-height: 1.35; }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.06rem, 1.55vw, 1.26rem); line-height: 1.75; color: var(--ink-soft); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--energy);
  margin-bottom: 1.1rem;
}
.bg-navy .eyebrow, .page-hero .eyebrow { color: #7ee0c4; }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(84px, 11vw, 150px) 0; }
.section-sm { padding: clamp(56px, 7vw, 92px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.2rem; }
.grid { display: grid; gap: clamp(24px, 3.4vw, 40px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--grad-navy); color: #d6e3f4; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy p, .bg-navy .lead { color: #a6bdd9; }
.hr { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 1rem 1.8rem; border-radius: var(--r-pill); border: 0;
  color: #fff; background: var(--grad-brand);
  box-shadow: 0 14px 34px rgba(28, 86, 201, .25);
  transition: transform .3s cubic-bezier(.2,.6,.2,1), box-shadow .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(20, 184, 166, .3); }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--hairline-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--water-soft); color: var(--water); }
.btn-light { background: #fff; color: var(--navy-800); box-shadow: 0 16px 40px rgba(0,0,0,.22); }
.btn-outline-light { background: rgba(255,255,255,.04); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.65); }
.btn-lg { padding: 1.15rem 2.2rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ----- Header ----- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--hairline), 0 14px 40px rgba(10,35,64,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-head); }
.brand .mark { width: 52px; height: 52px; flex: none; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wordmark b { font-size: 1.15rem; letter-spacing: .05em; color: var(--navy-800); font-weight: 700; white-space: nowrap; }
.brand .wordmark span { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-top: 4px; white-space: nowrap; }
.site-header:not(.scrolled).on-dark .brand .wordmark b { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink-soft);
  padding: .6rem .9rem; border-radius: var(--r-pill); transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--water); background: rgba(28,86,201,.07); }
.site-header:not(.scrolled).on-dark .nav-links a { color: #c2d5ec; }
.site-header:not(.scrolled).on-dark .nav-links a:hover,
.site-header:not(.scrolled).on-dark .nav-links a.active { color: #fff; background: rgba(255,255,255,.09); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 50%; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .32s; }
.on-dark .nav-toggle span { background: #fff; }
.scrolled .nav-toggle span { background: var(--navy-800); }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(16px); padding: 18px var(--gutter) 30px;
    border-radius: 0 0 var(--r-xl) var(--r-xl); box-shadow: var(--shadow-float);
    transform: translateY(-130%); transition: transform .45s cubic-bezier(.3,0,.2,1);
  }
  body.nav-open .nav-links { transform: translateY(0); }
  /* dropdown sits on a white panel: force dark navy links even under the
     dark transparent header, and a light teal highlight on hover/tap */
  .nav-links a,
  .site-header:not(.scrolled).on-dark .nav-links a {
    color: var(--navy-800); font-weight: 600; padding: .9rem .7rem; font-size: 1.02rem;
  }
  .nav-links a:hover, .nav-links a.active,
  .site-header:not(.scrolled).on-dark .nav-links a:hover,
  .site-header:not(.scrolled).on-dark .nav-links a.active {
    color: var(--teal); background: rgba(20,184,166,.12);
  }
  .nav-cta .btn { display: none; }
}

/* =========================================================================
   SCROLL STORY — pinned hero where the living CTG mark narrates the triad
   ========================================================================= */
.story { position: relative; height: 460vh; background: var(--grad-navy); }
.story-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.story-canvas { position: absolute; inset: 0; }
.story-pin::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 100% at 50% 20%, transparent 45%, rgba(4,16,34,.6) 100%);
}
.story-stage { position: relative; z-index: 2; height: 100%; }
.story-panel {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 50%;
  transform: translateY(-46%); max-width: 620px;
  opacity: 0; pointer-events: none;
  transition: opacity .5s ease, transform .6s cubic-bezier(.2,.6,.2,1);
}
.story-panel.active { opacity: 1; pointer-events: auto; transform: translateY(-50%); }
.story-panel h1, .story-panel h2 { color: #fff; }
.story-panel .lead { color: #b6cbe6; margin-top: 1.3rem; max-width: 46ch; }
.story-kicker {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem;
  padding: .55rem 1.1rem; border-radius: var(--r-pill);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13);
  color: #d5e4f6; font-family: var(--font-head); font-size: .78rem; font-weight: 500; letter-spacing: .06em;
  backdrop-filter: blur(8px);
}
.story-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal); }
.story-num {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .26em;
  text-transform: uppercase; color: #7ee0c4; margin-bottom: 1.2rem; display: block;
}
.story-title-grad { background: var(--grad-hero-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story-metric { display: flex; align-items: baseline; gap: .8rem; margin-top: 1.8rem; }
.story-metric b { font-family: var(--font-head); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; background: var(--grad-hero-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story-metric span { color: #8fa8c6; font-size: .95rem; max-width: 24ch; line-height: 1.4; }
.story-progress {
  position: absolute; right: clamp(18px, 3vw, 44px); top: 50%; transform: translateY(-50%);
  z-index: 3; display: flex; flex-direction: column; gap: 14px;
}
.story-progress i {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22);
  transition: background .4s, transform .4s, box-shadow .4s;
}
.story-progress i.on { background: var(--teal); transform: scale(1.35); box-shadow: 0 0 16px var(--teal); }
.scroll-cue {
  position: absolute; z-index: 3; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: #8fa8c6; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: opacity .5s;
}
.story.deep .scroll-cue { opacity: 0; }
.scroll-cue .line { width: 1px; height: 44px; background: linear-gradient(to bottom, transparent, var(--teal)); animation: cueDrop 2.2s ease-in-out infinite; }
@keyframes cueDrop { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }
@media (max-width: 760px) {
  .story { height: 430vh; }
  .story-panel { top: auto; bottom: 9vh; transform: translateY(12px); max-width: none; }
  .story-panel.active { transform: translateY(0); }
  .story-progress { right: 16px; }
}

/* ----- Interior page hero ----- */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(64px, 9vw, 120px)) 0 clamp(64px, 8vw, 110px); background: var(--grad-navy); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 82% 10%, rgba(20,184,166,.16), transparent 60%), radial-gradient(50% 80% at 8% 95%, rgba(28,86,201,.2), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: #b6cbe6; max-width: 58ch; margin-top: 1.3rem; }
.breadcrumb { display: flex; gap: .55rem; align-items: center; font-size: .8rem; color: #8fa8c6; margin-bottom: 1.6rem; }
.breadcrumb a:hover { color: #7ee0c4; } .breadcrumb span { opacity: .45; }

/* =========================================================================
   SOFT COMPONENTS — no hard boxes anywhere
   ========================================================================= */

/* Panels: borderless, deeply rounded, floating */
.card {
  background: var(--paper); border-radius: 30px 30px 30px 30px;
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow: var(--shadow-soft);
  transition: transform .4s cubic-bezier(.2,.6,.2,1), box-shadow .4s;
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .97rem; }
.card.soft { background: var(--mist); box-shadow: none; }
.card.soft:hover { box-shadow: var(--shadow-soft); }
.card.glass { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #cfe0f5; box-shadow: none; backdrop-filter: blur(6px); }
.card.glass h3, .card.glass h4 { color: #fff; } .card.glass p { color: #a6bdd9; }

.card-icon {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.3rem; color: #fff;
  background: var(--grad-energy); box-shadow: 0 12px 28px rgba(39,180,99,.26);
}
.card-icon.blue { background: var(--grad-brand); box-shadow: 0 12px 28px rgba(28,86,201,.26); }
.card-icon.carbon { background: linear-gradient(115deg, var(--carbon), var(--water-soft)); box-shadow: 0 12px 28px rgba(127,182,232,.3); }
.card-icon svg { width: 26px; height: 26px; }

.tag {
  display: inline-block; font-family: var(--font-head); font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--energy-deep);
  background: rgba(39,180,99,.1); padding: .38rem .9rem; border-radius: var(--r-pill);
}
.tag.blue { color: var(--water); background: rgba(28,86,201,.08); }
.tag.carbon { color: #2a6ca3; background: rgba(127,182,232,.16); }

/* Open feature rows — icon chip + text, no box at all */
.feature-row { display: flex; gap: 1.25rem; align-items: flex-start; }
.feature-row + .feature-row { margin-top: 2rem; }
.feature-row .ic {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(39,180,99,.09); color: var(--energy-deep);
}
.feature-row .ic.blue { background: rgba(28,86,201,.08); color: var(--water); }
.feature-row .ic.carbon { background: rgba(127,182,232,.18); color: #2a6ca3; }
.bg-navy .feature-row .ic { background: rgba(45,212,191,.12); color: #7ee0c4; }
.feature-row .ic svg { width: 23px; height: 23px; }
.feature-row h4 { margin-bottom: .3rem; }
.feature-row p { font-size: .96rem; }

/* Big quiet numbers (no animation, per brand direction) */
.big-stat { text-align: center; padding: clamp(30px, 4vw, 48px) clamp(24px, 3vw, 44px); border-radius: var(--r-2xl); }
.big-stat .num { font-family: var(--font-head); font-weight: 600; letter-spacing: -.035em; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; }
.big-stat .cap { margin-top: 1rem; color: var(--ink-soft); font-size: .98rem; max-width: 30ch; margin-inline: auto; }
.big-stat.energy { background: linear-gradient(160deg, #eafbf1, #dbf5e6); } .big-stat.energy .num { color: var(--energy-deep); }
.big-stat.water { background: linear-gradient(160deg, #e9f2ff, #dcebff); } .big-stat.water .num { color: var(--water); }
.big-stat.carbon { background: linear-gradient(160deg, #eef7ff, #e2f1fd); } .big-stat.carbon .num { color: #2a6ca3; }

/* Loop / cycle steps — soft pebbles */
.cycle { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cycle-node {
  flex: 1 1 190px; max-width: 240px; text-align: center;
  padding: 30px 22px; border-radius: var(--r-xl);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px);
}
.cycle-node .n {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 1rem;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600;
  color: #fff; background: var(--grad-brand);
}
.cycle-node b { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.cycle-node small { display: block; margin-top: .45rem; color: #93aac8; font-size: .82rem; line-height: 1.45; }
.cycle-node.hi { background: rgba(20,184,166,.12); border-color: rgba(45,212,191,.3); }
.cycle-arrow { display: flex; align-items: center; color: #7ee0c4; font-size: 1.4rem; }
@media (max-width: 700px) { .cycle-arrow { display: none; } }

/* Light version for white sections */
.bg-mist .cycle-node, .section .cycle.light .cycle-node { background: #fff; border: 0; box-shadow: var(--shadow-soft); }
.cycle.light .cycle-node b { color: var(--ink); }
.cycle.light .cycle-node small { color: var(--muted); }
.cycle.light .cycle-arrow { color: var(--teal); }

/* Split sections */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; }
@media (max-width: 920px) { .split, .split.rev { grid-template-columns: 1fr; } }
.media-frame { border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-deep); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.float { animation: floaty 8s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Pill lists */
.pill-list { display: flex; flex-direction: column; gap: .6rem; }
.pill-list li { position: relative; padding-left: 1.7rem; color: var(--ink-soft); font-size: .96rem; }
.pill-list li::before { content: ""; position: absolute; left: 0; top: .52em; width: 9px; height: 9px; border-radius: 50%; background: var(--grad-energy); }
.bg-navy .pill-list li { color: #a6bdd9; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem;
  border-radius: var(--r-pill); background: var(--mist); font-size: .89rem; font-weight: 500; color: var(--ink-soft);
}
.chip svg { width: 15px; height: 15px; color: var(--energy); }

/* Partner rows — quiet, monochrome treatment */
.partner-row {
  display: flex; gap: 1.4rem; align-items: flex-start;
  padding: clamp(24px, 3vw, 34px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-soft);
  transition: transform .35s, box-shadow .35s;
}
.partner-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.partner-row .pmark {
  flex: none; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--navy-800); background: var(--mist);
}
.partner-row h3 { font-size: 1.15rem; margin-bottom: .15rem; }
.partner-row .prole { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: .5rem; }
.partner-row p { font-size: .94rem; }

/* Logo cloud */
.logo-cloud { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: center; }
.logo-cloud .lc { font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: 1.02rem; opacity: .75; }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.5rem 3rem 1.5rem 0; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.faq-q::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--teal); transition: transform .3s; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.faq-a p { padding: 0 0 1.5rem; color: var(--ink-soft); }

/* CTA band — soft super-ellipse */
.cta-band { position: relative; border-radius: var(--r-2xl); overflow: hidden; padding: clamp(52px, 7vw, 96px) clamp(28px, 5vw, 72px); text-align: center; background: var(--grad-navy); box-shadow: var(--shadow-deep); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 110% at 18% 0%, rgba(39,180,99,.2), transparent 55%), radial-gradient(60% 110% at 88% 100%, rgba(28,86,201,.28), transparent 55%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; } .cta-band p { color: #b6cbe6; max-width: 54ch; margin-inline: auto; }

/* Forms — rounded, calm */
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .88rem; margin-bottom: .5rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1.25rem; border: 1.5px solid var(--hairline-strong); border-radius: var(--r-md);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--water-soft); box-shadow: 0 0 0 4px rgba(63,116,227,.1); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-success { display: none; padding: 1.1rem 1.4rem; border-radius: var(--r-md); background: rgba(39,180,99,.1); color: var(--energy-deep); font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* Blog */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--grad-navy); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 12px; font-size: .8rem; color: var(--muted); margin-bottom: .8rem; align-items: center; flex-wrap: wrap; }
.post-card h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.post-card .body p { font-size: .94rem; flex: 1; }
.post-readmore { margin-top: 1.1rem; font-family: var(--font-head); font-weight: 600; color: var(--water); font-size: .92rem; display: inline-flex; gap: .4rem; align-items: center; }

/* Article */
.article { max-width: 740px; margin-inline: auto; }
.article h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.6rem 0 1.1rem; }
.article h3 { margin: 2rem 0 .85rem; }
.article p { margin-bottom: 1.2rem; font-size: 1.06rem; line-height: 1.85; }
.article ul.bul { margin: 0 0 1.2rem; }
.article ul.bul li { position: relative; padding-left: 1.8rem; margin-bottom: .65rem; color: var(--ink-soft); font-size: 1.03rem; }
.article ul.bul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--grad-energy); }
.article blockquote { margin: 2rem 0; padding: 1.4rem 1.9rem; border-radius: var(--r-lg); background: var(--mist); font-style: italic; color: var(--ink); font-size: 1.08rem; }
.callout { background: var(--mist); border-radius: var(--r-lg); padding: 1.4rem 1.7rem; margin: 1.8rem 0; }
.callout strong { color: var(--ink); }

/* Resource links */
.res-link {
  display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.3rem 1.4rem;
  border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-soft);
  transition: transform .3s, box-shadow .3s;
}
.res-link:hover { transform: translateX(5px); box-shadow: var(--shadow-float); }
.res-link .ic { flex: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(28,86,201,.08); color: var(--water); display: grid; place-items: center; }
.res-link .ic svg { width: 21px; height: 21px; }
.res-link h4 { font-size: .99rem; margin-bottom: .15rem; }
.res-link p { font-size: .88rem; }
.res-link .src { font-size: .76rem; color: var(--teal); font-weight: 600; }

/* Footer */
.site-footer { background: var(--grad-navy); color: #a6bdd9; padding: clamp(64px, 8vw, 100px) 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: clamp(32px, 4.5vw, 60px); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand .wordmark b { color: #fff; }
.footer-col h5 { font-family: var(--font-head); color: #fff; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 600; }
.footer-col a { display: block; padding: .36rem 0; color: #93aac8; font-size: .94rem; transition: color .25s; }
.footer-col a:hover { color: #7ee0c4; }
.footer-about p { font-size: .95rem; color: #93aac8; margin: 1.2rem 0 1.4rem; max-width: 40ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #cfe0f5; transition: background .3s; }
.footer-social a:hover { background: var(--grad-brand); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-legal { margin-top: clamp(44px, 5vw, 64px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.09); font-size: .8rem; color: #7089ab; line-height: 1.7; }
.footer-legal p { color: #7089ab; font-size: .8rem; max-width: 900px; }
.footer-bottom { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .82rem; color: #7089ab; }
.footer-bottom .fnav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #7ee0c4; }

/* Reveal */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1); }
html.js [data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { html.js [data-reveal] { opacity: 1; transform: none; } }

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 1.8rem; } .mt-3 { margin-top: 2.8rem; }
.hide-mobile {} @media (max-width: 700px) { .hide-mobile { display: none !important; } }

/* Quiet stats + pathway steps (investors) */
.stat { text-align: center; padding: 10px; }
.stat .num { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.03em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat .label { margin-top: .6rem; font-size: .93rem; color: var(--muted); }
.bg-navy .stat .num { background: var(--grad-hero-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 30px 26px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-soft); }
.step .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; color: #fff; background: var(--grad-brand); margin-bottom: 1.1rem; }
.step h4 { margin-bottom: .4rem; }
.step p { font-size: .93rem; }

/* ===================== Magazine blog (Insights) ===================== */
.blog-hero { padding-bottom: clamp(40px, 5vw, 70px); }
/* Featured post */
.mag-feature { display: grid; grid-template-columns: 1.08fr 1fr; gap: 0; align-items: stretch;
  background: var(--paper); border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-md);
  transition: transform .45s cubic-bezier(.2,.6,.2,1), box-shadow .45s; }
.mag-feature > * { min-width: 0; }
.mag-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mag-feature-media { position: relative; overflow: hidden; min-height: 360px; }
.mag-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.mag-feature:hover .mag-feature-media img { transform: scale(1.05); }
.mag-feature-copy { align-self: center; padding: clamp(28px, 3.4vw, 48px) clamp(28px, 3.4vw, 52px); }
.mag-feature-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin: .8rem 0 .8rem; line-height: 1.12; }
.mag-feature-copy p { font-size: 1.02rem; }
@media (max-width: 860px) { .mag-feature { grid-template-columns: 1fr; } .mag-feature-media { min-height: 240px; } .mag-feature-copy { align-self: auto; padding: clamp(24px,5vw,32px); } }

/* Toolbar: filter pills + search */
.mag-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: clamp(28px, 4vw, 44px); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-pill { font-family: var(--font-head); font-weight: 600; font-size: .88rem; padding: .6rem 1.15rem; border-radius: var(--r-pill);
  border: 0; background: var(--mist); color: var(--ink-soft); transition: background .25s, color .25s, transform .2s; }
.filter-pill:hover { transform: translateY(-1px); color: var(--water); }
.filter-pill.active { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(28,86,201,.24); }
.mag-search-link { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 600; font-size: .88rem; }
.mag-search-link svg { width: 16px; height: 16px; }

/* Card grid */
.mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 34px); }
@media (max-width: 900px) { .mag-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mag-grid { grid-template-columns: 1fr; } }
.mag-card { display: flex; flex-direction: column; background: var(--paper); border-radius: 30px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .4s cubic-bezier(.2,.6,.2,1), box-shadow .4s; }
.mag-card.in { animation: magIn .5s cubic-bezier(.2,.7,.2,1); }
@keyframes magIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.mag-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.mag-thumb { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--grad-navy); }
.mag-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.mag-card:hover .mag-thumb img { transform: scale(1.07); }
.mag-cat { position: absolute; top: 14px; left: 14px; font-family: var(--font-head); font-weight: 600; font-size: .7rem;
  letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(6,24,47,.62); backdrop-filter: blur(6px);
  padding: .4rem .8rem; border-radius: var(--r-pill); }
.mag-cat.solid { position: static; display: inline-block; background: rgba(20,184,166,.12); color: var(--teal-600); backdrop-filter: none; }
.mag-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.mag-meta { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: .7rem; }
.dotsep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.mag-card h3 { font-size: 1.14rem; line-height: 1.32; margin-bottom: .5rem; }
.mag-card p { font-size: .94rem; flex: 1; }
.mag-readmore { margin-top: 1.1rem; font-family: var(--font-head); font-weight: 600; color: var(--water); font-size: .92rem; display: inline-flex; align-items: center; gap: .45rem; }
.mag-readmore svg { width: 17px; height: 17px; transition: transform .3s; }
.mag-card:hover .mag-readmore svg, .mag-feature:hover .mag-readmore svg { transform: translateX(4px); }
.mag-readmore.lg { margin-top: 1.4rem; font-size: 1rem; }
.mag-empty { text-align: center; color: var(--muted); margin-top: 2rem; }
.linklike { background: none; border: 0; color: var(--water); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }

/* ============================================================
   v5 — Interior hero media, CTA imagery, animated sections
   ============================================================ */

/* ---- Interior page hero — image embedded into the backdrop ----
   The visual lives IN the background: it fades out of the navy on the
   left (under the copy), dissolves along its lower edge, and reveals
   with a left-to-right expansion on load. */
.page-hero { isolation: isolate; }
.page-hero .container { position: relative; z-index: 2; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 78% center; opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 30%, #000 58%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 30%, #000 58%);
  clip-path: inset(0 100% 0 0);
  animation: heroSweep 1.5s cubic-bezier(.22,.7,.24,1) .25s forwards,
             heroDrift 26s ease-in-out 1.8s infinite alternate; }
@keyframes heroSweep { from { clip-path: inset(0 100% 0 0); opacity: 0; }
  60% { opacity: 1; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes heroDrift { from { transform: scale(1.0); } to { transform: scale(1.08) translate3d(-1.2%, -1%, 0); } }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(70% 100% at 88% 30%, rgba(20,184,166,.14), transparent 62%); }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, var(--navy-950) 22%, rgba(4,16,34,.66) 46%, rgba(4,16,34,.08) 72%, rgba(4,16,34,.3) 100%),
    linear-gradient(0deg, var(--navy-950) 0%, rgba(4,16,34,.25) 26%, transparent 48%),
    linear-gradient(180deg, rgba(4,16,34,.55) 0%, transparent 30%); }
@media (max-width: 760px) {
  .hero-media img { object-position: 72% center;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.85) 0%, #000 40%, rgba(0,0,0,.25) 90%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,.85) 0%, #000 40%, rgba(0,0,0,.25) 90%); }
  .hero-media::after { background:
    linear-gradient(180deg, rgba(4,16,34,.42) 0%, rgba(4,16,34,.68) 55%, var(--navy-950) 96%); }
}
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; clip-path: none; opacity: 1; } }

/* ---- CTA band — image woven into the navy, not pasted on ---- */
.cta-band.has-img { background: var(--navy-950); }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5;
  mix-blend-mode: screen; transform: scale(1.06);
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.7) 34%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.7) 34%, #000 60%);
  animation: ctaBreath 18s ease-in-out infinite alternate; }
@keyframes ctaBreath { from { transform: scale(1.06); } to { transform: scale(1.14) translateX(-1.5%); } }
.cta-band .cta-bg::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 130% at 12% 0%, rgba(28,86,201,.3), transparent 55%); }
.cta-band .cta-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(100% 150% at 50% 115%, rgba(4,16,34,.1), rgba(4,16,34,.72) 78%); }
@media (prefers-reduced-motion: reduce) { .cta-band .cta-bg img { animation: none; } }

/* ---- Applications: animated model showcase (image + copy) ---- */
.app-models { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 120px); }
.app-model { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(30px, 5vw, 76px); align-items: center; }
.app-model > * { min-width: 0; }
.app-model.rev .app-model-visual { order: 2; }
@media (max-width: 900px) { .app-model, .app-model.rev { grid-template-columns: 1fr; } .app-model.rev .app-model-visual { order: 0; } }
.app-model-visual { position: relative; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-lg);
  transform: translateY(28px); opacity: 0; transition: transform .9s cubic-bezier(.16,.8,.24,1), opacity .9s; }
.app-model-visual.in { transform: none; opacity: 1; }
.app-model-visual::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 118%, rgba(20,184,166,.22), transparent 55%); }
.app-model-visual img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2,.6,.2,1); }
.app-model:hover .app-model-visual img { transform: scale(1.06); }
.app-model-tag { position: absolute; z-index: 3; top: 20px; left: 22px; font-family: var(--font-head);
  font-weight: 600; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #eafcff;
  background: rgba(6,24,47,.55); backdrop-filter: blur(8px); padding: .5rem .95rem; border-radius: var(--r-pill); }
.app-model-copy .eyebrow { color: var(--teal); }
.app-uses { list-style: none; margin-top: 1.4rem; display: grid; gap: .9rem; }
.app-uses li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-soft); }
.app-uses li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--grad-brand); box-shadow: 0 0 0 5px rgba(20,184,166,.1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/13px no-repeat; }

/* ---- TES: animated regenerative cycle (de-boxed) ---- */
.tes-cycle { position: relative; max-width: 940px; margin: clamp(20px,4vw,40px) auto 0; }
.tes-cycle-ring { position: relative; aspect-ratio: 1; max-width: 560px; margin-inline: auto; }
.tes-cycle-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tes-orbit { fill: none; stroke: rgba(127,182,232,.22); stroke-width: 1.4; }
.tes-orbit-run { fill: none; stroke: url(#cycleGrad); stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 6 340; animation: cycleRun 6s linear infinite; filter: drop-shadow(0 0 6px rgba(45,212,191,.7)); }
@keyframes cycleRun { to { stroke-dashoffset: -1038; } }
.tes-node { position: absolute; width: clamp(128px, 20vw, 168px); transform: translate(-50%,-50%); text-align: center; }
.tes-node .tes-dot { width: 54px; height: 54px; margin: 0 auto .7rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: #fff; background: var(--grad-brand);
  box-shadow: 0 12px 30px rgba(20,184,166,.32), 0 0 0 8px rgba(20,184,166,.08);
  animation: nodePulse 3.4s ease-in-out infinite; }
.tes-node:nth-child(2) .tes-dot { animation-delay: .4s; } .tes-node:nth-child(3) .tes-dot { animation-delay: .8s; }
.tes-node:nth-child(4) .tes-dot { animation-delay: 1.2s; } .tes-node:nth-child(5) .tes-dot { animation-delay: 1.6s; }
@keyframes nodePulse { 0%,100% { box-shadow: 0 12px 30px rgba(20,184,166,.32), 0 0 0 8px rgba(20,184,166,.06); }
  50% { box-shadow: 0 12px 34px rgba(20,184,166,.5), 0 0 0 14px rgba(20,184,166,.14); } }
.tes-node h4 { color: #eaf3ff; font-size: .98rem; margin-bottom: .25rem; }
.tes-node p { color: #9fb6d4; font-size: .8rem; line-height: 1.5; }
.tes-cycle-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46%; text-align: center; }
.tes-cycle-core .eyebrow { color: var(--teal); } .tes-cycle-core strong { display:block; color:#fff; font-family:var(--font-head); font-size: clamp(1.1rem,2vw,1.5rem); margin-top:.3rem; }
@media (max-width: 680px) {
  .tes-cycle-ring { max-width: 100%; aspect-ratio: auto; }
  .tes-cycle-ring svg { display: none; }
  .tes-cycle-nodes { display: grid; gap: 14px; }
  .tes-node { position: static; transform: none; width: auto; display: flex; align-items: center; gap: 14px; text-align: left;
    background: rgba(255,255,255,.04); border: 1px solid rgba(127,182,232,.16); border-radius: 22px; padding: 16px 18px; }
  .tes-node .tes-dot { margin: 0; flex: none; }
  .tes-cycle-core { position: static; transform: none; width: auto; margin-bottom: 8px; }
}

/* ---- TES / Standard targets: animated gauges infographic ---- */
.tes-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 720px) { .tes-gauges { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }
.gauge { text-align: center; }
.gauge-ring { position: relative; width: min(210px, 62vw); aspect-ratio: 1; margin: 0 auto .4rem; }
.gauge-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-ring .track { fill: none; stroke: rgba(127,182,232,.16); stroke-width: 9; }
.gauge-ring .arc { fill: none; stroke-width: 9; stroke-linecap: round; stroke: url(#gaugeGrad);
  stroke-dasharray: var(--circ); stroke-dashoffset: var(--circ); transition: stroke-dashoffset 1.6s cubic-bezier(.16,.8,.24,1); filter: drop-shadow(0 0 6px rgba(45,212,191,.45)); }
.gauge.in .arc { stroke-dashoffset: var(--target); }
.gauge-val { position: absolute; inset: 0; display: grid; place-content: center; align-content: center; padding: 0 15%; text-align: center; }
.gauge-val b { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: clamp(1.3rem, 2.9vw, 1.75rem); line-height: 1; white-space: nowrap; }
.gauge-val span { display: block; color: var(--teal); font-family: var(--font-head); font-weight: 600; font-size: clamp(.68rem, 1.4vw, .8rem); margin-top: .3rem; letter-spacing: .04em; white-space: nowrap; }
.gauge-label { color: #cfe0f2; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.gauge-sub { color: #93a9c6; font-size: .84rem; margin-top: .15rem; }

/* Partner name links */
.partner-link { color: inherit; background-image: linear-gradient(var(--teal), var(--teal)); background-size: 0% 2px;
  background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s, color .25s; }
.partner-link:hover { color: var(--water); background-size: 100% 2px; }
.partner-link::after { content: "↗"; font-size: .7em; margin-left: .3em; color: var(--teal); opacity: .75; vertical-align: super; }
.cine-dark .partner-link:hover, .bg-navy .partner-link:hover { color: #7ee0c4; }

/* v9 — larger brand on mobile without wrap */
@media (max-width: 480px) {
  .brand .mark { width: 46px; height: 46px; }
  .brand .wordmark b { font-size: 1.02rem; }
  .brand .wordmark span { font-size: .58rem; letter-spacing: .24em; }
}

/* ---- Deployments-in-the-field gallery ---- */
.deploy-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.6vw, 28px); }
@media (max-width: 720px) { .deploy-gallery { grid-template-columns: 1fr; } }
.deploy-card { position: relative; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow-float); }
.deploy-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
  transition: transform .9s cubic-bezier(.2,.6,.2,1); }
.deploy-card:hover img { transform: scale(1.05); }
.deploy-card::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(4,16,34,.78) 100%); pointer-events: none; }
.deploy-card figcaption { position: absolute; left: 22px; right: 22px; bottom: 16px; z-index: 2;
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: clamp(.95rem, 1.6vw, 1.1rem); }
.deploy-card figcaption small { display: block; color: #9cc3e8; font-weight: 500; font-size: .8rem; margin-top: 2px; }

/* ---- Model card photos (TES / Micro Facility / Micro Water Plant) ---- */
.card { overflow: hidden; }
.card-photo { position: relative; overflow: hidden;
  margin: calc(-1 * clamp(28px,3.4vw,40px)) calc(-1 * clamp(28px,3.4vw,40px)) clamp(18px,2.2vw,26px); }
.card-photo img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.card:hover .card-photo img { transform: scale(1.05); }
.card-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(6,24,47,.22) 100%); }

/* ---- Interactive model switcher (TES page) ---- */
.model-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: clamp(30px, 4vw, 46px); }
.model-tab { font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.6rem; border-radius: var(--r-pill); border: 1.5px solid var(--hairline-strong);
  background: var(--paper); color: var(--ink-soft); cursor: pointer;
  transition: color .25s, border-color .25s, background .3s, box-shadow .3s, transform .2s; }
.model-tab:hover { border-color: var(--water-soft); color: var(--water); transform: translateY(-1px); }
.model-tab.active { background: var(--grad-brand); border-color: transparent; color: #fff;
  box-shadow: 0 12px 30px rgba(20,184,166,.28); }
.model-pane { display: none; }
.model-pane.active { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4.5vw, 60px);
  align-items: center; animation: paneIn .5s cubic-bezier(.2,.7,.2,1); }
@keyframes paneIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.model-pane-visual { border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-float); }
.model-pane-visual img { display: block; width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.model-pane-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
@media (max-width: 860px) {
  .model-pane.active { grid-template-columns: 1fr; gap: 22px; }
  .model-pane-visual { border-radius: 28px; }
  .model-pane-visual img { aspect-ratio: 16/10; }
  .model-tab { font-size: .88rem; padding: .7rem 1.2rem; }
}
