/* ==========================================================
   PIARA TECHNOLOGY
   Cinematic dark theme — adapted from the Aether mockup.
   ----------------------------------------------------------
   1  Tokens          6  Story / topology
   2  Base            7  Coverage
   3  Header          8  Systems / FAQ / Contact
   4  Hero + console  9  Closing / footer
   5  Velocity rail  10  Keyframes / responsive
========================================================== */

/* ==========================================================
   1. TOKENS
========================================================== */

/* Nexa is reserved for the PIARA wordmark. */
/* Subset to the five glyphs the wordmark uses: 149 KB -> 2.6 KB */
@font-face {
  font-family: 'Nexa';
  src: url('assets/fonts/nexa-wordmark.woff2') format('woff2'),
       url('assets/fonts/nexa-wordmark.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Neutrals */
  --ink:       #050B0C;
  --ink-2:     #08161A;
  --paper:     #F5F8F6;
  --paper-2:   #EAF1EE;
  --muted:     #64736F;

  /* Colour system — one hue per service family */
  --cyan:      #00C6D4;
  --cyan-lt:   #7BEDF0;
  --sky:       #2E9BD6;
  --sky-lt:    #93D2F0;
  --jade:      #12B886;
  --jade-lt:   #7EE8C4;
  --sand:      #E0B36A;
  --sand-lt:   #F2DCB2;
  --emerald:   #2FA36B;
  --coral:     #D2664F;

  /* Active accent — swapped per tab / card */
  --accent:    var(--cyan);
  --accent-lt: var(--cyan-lt);

  --line:        rgba(10, 16, 28, 0.12);
  --line-dark:   rgba(255, 255, 255, 0.11);
  --page-scroll: 0px;

  --font:  'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --brand-font: 'Nexa', 'Inter', sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { overflow: clip; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
button, a { font: inherit; }
button { color: inherit; background: none; border: 0; cursor: pointer; }

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  border-radius: 9px;
  background: var(--cyan);
  color: #04252B;
  font-size: 13px;
  font-weight: 620;
  transition: top .2s;
}
.skip-link:focus { top: 14px; }

/* Shared type */
.eyebrow {
  margin: 0 0 18px;
  color: #778094;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .19em;
}

.section-heading h2,
.story-copy h2,
.climate-copy h2,
.systems-heading h2,
.marquee-head h2,
.faq-intro h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(42px, 4.6vw, 70px);
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: -.055em;
}

/* Outlined serif italic — the signature accent */
.hero h1 em,
.closing-section h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(123, 237, 240, .85);
}

/* On light sections the accent becomes a colour-filled serif */
.marquee-head h2 em,
.story-copy h2 em,
.climate-copy h2 em,
.faq-intro h2 em,
.contact-copy h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--sky), var(--cyan) 48%, var(--jade));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.story-copy h2 em { background: linear-gradient(100deg, var(--cyan-lt), var(--jade-lt)); -webkit-background-clip: text; background-clip: text; }

/* Only hide content when JS is present to reveal it again */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 47px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 590;
  transition: transform .25s, background .25s, box-shadow .25s, border-color .25s, color .25s;
}
.button svg { width: 18px; transition: transform .25s; }
.button:hover svg { transform: translateX(4px); }
.button:hover { transform: translateY(-2px); }

.button-light {
  color: #04252B;
  background: linear-gradient(120deg, #fff, #E6FBFD);
  box-shadow: 0 15px 50px rgba(0, 198, 212, .22);
}
.button-light:hover { box-shadow: 0 18px 60px rgba(0, 198, 212, .38); }

.button-ghost {
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .84);
  background: rgba(255, 255, 255, .05);
}
.button-ghost:hover { border-color: rgba(123, 237, 240, .5); color: #fff; background: rgba(0, 198, 212, .12); }

.button-dark {
  color: #fff;
  background: linear-gradient(120deg, var(--ink-2), #16263f);
  box-shadow: 0 14px 40px rgba(10, 16, 28, .22);
}
.button-full { width: 100%; }

/* ==========================================================
   3. HEADER
========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 3.5vw;
  color: #fff;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(5, 14, 15, .70);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(5, 14, 15, .90); height: 66px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-family: var(--brand-font);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: .05em;
}
/* piara-mark-light.png is a pre-inverted variant, so it needs no
   backing chip and no CSS filter — the cyan ring stays intact. */
.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 198, 212, .34));
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), filter .35s;
}
.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
  filter: drop-shadow(0 6px 20px rgba(0, 198, 212, .55));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, .72);
}
.nav-links a { position: relative; transition: color .25s; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--jade));
  transition: right .25s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 9px;
  font-size: 12px;
  background: rgba(255, 255, 255, .08);
  transition: background .25s, border-color .25s;
}
.header-cta svg { width: 18px; transition: transform .25s; }
.header-cta:hover { background: rgba(0, 198, 212, .16); border-color: rgba(0, 198, 212, .45); }
.header-cta:hover svg { transform: translateX(4px); }

.menu-button { display: none; }

/* ==========================================================
   4. HERO
========================================================== */
.hero {
  position: relative;
  min-height: auto;
  padding: 66px 5vw 0;
  color: #fff;
  background:
    radial-gradient(circle at 78% 26%, #10403C 0, #0A2628 22%, #06161A 55%, #030A0B 100%);
}
/* Colour bloom layered over the base gradient */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 38% at 14% 74%, rgba(18, 184, 134, .20), transparent 66%),
    radial-gradient(ellipse 40% 34% at 86% 78%, rgba(0, 198, 212, .15), transparent 68%);
}

/* Topographic contours — the landscape the network runs through */
.hero-grid {
  position: absolute;
  inset: -10% -5% 0;
  opacity: .38;
  background-image: url('assets/topo-dark.svg');
  background-size: cover;
  background-position: center top;
  mask-image: linear-gradient(to bottom, black 35%, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, black 35%, transparent 88%);
  transform: translateY(calc(var(--page-scroll) * -.05));
}

/* Positioned with transform, not left/top: those trigger layout on every
   move, which is what made it stutter. Origin is its own centre, so JS
   only has to hand it a translate. The easing is done in JS, not by a
   CSS transition, so it never fights a queued transition mid-move. */
.hero-aurora {
  position: absolute;
  left: 0;
  top: 0;
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
  pointer-events: none;
  will-change: transform;
  background:
    radial-gradient(circle, rgba(0, 198, 212, .22), transparent 60%),
    radial-gradient(circle at 62% 58%, rgba(18, 184, 134, .18), transparent 64%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 108px;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .58);
}
.kicker { align-items: flex-start; text-align: left; }
.kicker-text { display: block; }
.kicker-dot {
  flex-shrink: 0;
  margin-top: .42em;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--cyan-lt);
  box-shadow: 0 0 18px var(--cyan-lt);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  margin: 25px 0 20px;
  font-size: clamp(58px, 7.4vw, 112px);
  font-weight: 530;
  line-height: .9;
  letter-spacing: -.068em;
}

.hero-lede {
  max-width: 620px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .62);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 31px;
  flex-wrap: wrap;
}

/* Four things worth knowing before scrolling */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 940px;
  margin: 62px auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .07);
}
.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 20px 18px;
  text-align: left;
  background: rgba(5, 14, 15, .72);
}
.hero-facts strong {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: #fff;
}
.hero-facts span { font-size: 11.5px; color: rgba(255, 255, 255, .52); }

/* ==========================================================
   5. SCROLL-VELOCITY RAIL
========================================================== */
.marquee-section {
  position: relative;
  padding: 96px 0 104px;
  background: #FCFDFC;
}
.marquee-head {
  max-width: 1120px;
  margin: 0 auto 54px;
  padding: 0 6vw;
}

.velocity { position: relative; overflow: hidden; }

.velocity-row {
  display: flex;
  overflow: hidden;
  padding: 9px 0;
  white-space: nowrap;
}
/* The track is duplicated in JS so it can wrap seamlessly */
.velocity-track {
  display: flex;
  flex-shrink: 0;
  gap: 18px;
  padding-right: 18px;
  will-change: transform;
}

.velocity figure {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(25, 49, 83, .08);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s;
}
.velocity figure:hover { transform: translateY(-6px); box-shadow: 0 26px 55px rgba(25, 49, 83, .16); }
.velocity figure img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.velocity figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: -.01em;
  color: #33405a;
  background: #fff;
  border-top: 1px solid var(--line);
}
.velocity figcaption::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.velocity-row:nth-child(1) figure:nth-child(4n+1) figcaption::before { background: var(--cyan); }
.velocity-row:nth-child(1) figure:nth-child(4n+2) figcaption::before { background: var(--sky); }
.velocity-row:nth-child(1) figure:nth-child(4n+3) figcaption::before { background: var(--jade); }
.velocity-row:nth-child(1) figure:nth-child(4n)   figcaption::before { background: var(--sand); }
.velocity-row:nth-child(2) figure:nth-child(4n+1) figcaption::before { background: var(--emerald); }
.velocity-row:nth-child(2) figure:nth-child(4n+2) figcaption::before { background: var(--coral); }
.velocity-row:nth-child(2) figure:nth-child(4n+3) figcaption::before { background: var(--cyan); }
.velocity-row:nth-child(2) figure:nth-child(4n)   figcaption::before { background: var(--jade); }

/* Edge fades */
.velocity-fade {
  position: absolute;
  inset-block: 0;
  width: 18%;
  pointer-events: none;
  z-index: 4;
}
.velocity-fade-left  { left: 0;  background: linear-gradient(to right, #FCFDFC 12%, transparent); }
.velocity-fade-right { right: 0; background: linear-gradient(to left,  #FCFDFC 12%, transparent); }

/* ==========================================================
   6. PLATFORM / SERVICE TABS
========================================================== */
.platform-section { position: relative; padding: 120px 6vw 130px; background: linear-gradient(180deg, #FCFDFC, #F4F9F6); }
.section-heading, .systems-heading { max-width: 1120px; margin: 0 auto; }

.platform-tabs {
  max-width: 1120px;
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.platform-tab {
  position: relative;
  overflow: hidden;
  min-height: 66px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  border: 1px solid #e1e6ee;
  border-radius: 11px;
  background: #fff;
  color: #868e9e;
  transition: color .25s, border-color .25s, background .25s, box-shadow .25s;
}
.platform-tab strong { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.platform-tab small  { font-size: 11px; opacity: .8; }
.platform-tab:hover  { border-color: #c8d3e4; }
.platform-tab.active { color: #fff; border-color: transparent; background: #111926; box-shadow: 0 18px 40px rgba(17, 25, 38, .18); }
.platform-tab i { position: absolute; inset: auto auto 0 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-lt)); }
.platform-tab.active i { animation: tabProgress 6s linear forwards; }

/* Accent per tab index */
.platform-tab[data-index="0"] { --accent: var(--cyan);   --accent-lt: var(--cyan-lt); }
.platform-tab[data-index="1"] { --accent: var(--jade); --accent-lt: var(--jade-lt); }
.platform-tab[data-index="2"] { --accent: var(--sand);  --accent-lt: var(--sand-lt); }

.platform-stage {
  max-width: 1120px;
  min-height: 600px;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  overflow: hidden;
  border: 1px solid #dce3ed;
  border-radius: 22px;
  background: #f5f7fa;
  animation: stageIn .65s cubic-bezier(.16, 1, .3, 1);
}
.platform-stage[data-accent="0"] { --accent: var(--cyan);   --accent-lt: var(--cyan-lt);   --accent-ink: #0A6E7A; }
.platform-stage[data-accent="1"] { --accent: var(--jade); --accent-lt: var(--jade-lt); --accent-ink: #0A7A5C; }
.platform-stage[data-accent="2"] { --accent: var(--sand);  --accent-lt: var(--sand-lt);  --accent-ink: #8A6420; }

.platform-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 58px 46px;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 12% 8%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    #0A1E21;
}
.platform-copy > p { margin: 0; color: var(--accent-lt); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.platform-copy h3 { margin: 70px 0 18px; font-size: clamp(30px, 3vw, 43px); line-height: 1.05; letter-spacing: -.05em; font-weight: 520; }
.platform-copy > span { max-width: 380px; color: #9AA6B8; font-size: 15px; line-height: 1.7; }
.platform-metric {
  margin-top: auto;
  display: flex;
  align-items: end;
  gap: 12px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.platform-metric strong { font-size: 34px; letter-spacing: -.05em; color: var(--accent-lt); }
.platform-metric small  { padding-bottom: 5px; color: #7d8899; }

.app-window {
  margin: 44px 0 0 40px;
  display: grid;
  grid-template-columns: 54px 1fr;
  overflow: hidden;
  border: 1px solid #dbe1eb;
  border-radius: 16px 0 0;
  background: #fff;
  box-shadow: 0 30px 70px rgba(40, 61, 92, .15);
}
.app-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding-top: 20px;
  border-right: 1px solid #e3e7ee;
}
.app-rail img { opacity: .8; }
.app-rail i { width: 15px; height: 15px; border: 1px solid #b4becb; border-radius: 4px; }
.app-rail i:first-of-type { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }

.app-content { padding: 28px; }
.app-title { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.app-title b {
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 15%, #fff);
}

.health-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  background: #fafbfd;
}
.health-row div:first-child { display: flex; flex-direction: column; gap: 6px; }
.health-row small, .mini-grid small { color: #9099a7; font-size: 10px; }
.health-row strong { font-size: 21px; letter-spacing: -.03em; }
.health-ring {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border: 7px solid color-mix(in srgb, var(--accent) 18%, #fff);
  border-top-color: var(--accent);
  border-radius: 50%;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  animation: spin 4s linear infinite;
}

.chart {
  height: 150px;
  margin-top: 24px;
  display: flex;
  align-items: end;
  gap: 9px;
  padding: 20px 18px 0;
  border-bottom: 1px solid #e5eaf1;
}
.chart i {
  flex: 1;
  height: 30%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(var(--accent-lt), var(--accent));
  transform-origin: bottom;
  animation: bars 2.5s ease-in-out infinite alternate;
}
.chart i:nth-child(2n) { animation-delay: -.6s; }
.chart i:nth-child(3n) { animation-delay: -1.2s; }
.chart i:nth-child(4n) { animation-delay: -1.8s; }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.mini-grid > div { display: flex; justify-content: space-between; align-items: end; padding: 16px; border: 1px solid #e6ebf1; border-radius: 10px; }
.mini-grid > div > div { display: flex; flex-direction: column; gap: 4px; }
.mini-grid b { font-size: 20px; letter-spacing: -.03em; }

/* ==========================================================
   7. STORY / TOPOLOGY
========================================================== */
.story-section { position: relative; height: 230vh; color: #fff; background: #061417; }
.story-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 5vw;
  padding: 90px 6vw 45px;
}
.story-copy { max-width: 560px; }
.story-copy .eyebrow { color: #6C7A96; }
.story-list { margin-top: 50px; border-top: 1px solid rgba(255, 255, 255, .13); }
.story-step {
  width: 100%;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 17px;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  text-align: left;
  opacity: .36;
  transition: opacity .5s;
}
.story-step.active { opacity: 1; }
.story-step > span { padding-top: 3px; color: var(--cyan-lt); font-size: 10px; letter-spacing: .1em; }
.story-step strong { font-size: 17px; font-weight: 540; letter-spacing: -.02em; }
.story-step p { max-height: 0; overflow: hidden; margin: 0; color: #8592A6; line-height: 1.55; font-size: 14px; transition: max-height .5s, margin .5s; }
.story-step.active p { max-height: 90px; margin: 9px 0 0; }

.topology {
  position: relative;
  aspect-ratio: 1.18;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 30px;
  background: radial-gradient(circle at 50% 50%, #10403C, #0A2426 60%, #061417);
  box-shadow: inset 0 0 80px rgba(0, 198, 212, .08);
}
.topology::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle, black, transparent 80%);
}
.topology-glow {
  position: absolute;
  width: 38%;
  aspect-ratio: 1;
  left: 31%; top: 31%;
  border-radius: 50%;
  background: rgba(0, 198, 212, .18);
  filter: blur(35px);
  animation: breathe 3s ease-in-out infinite;
}
.topology-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.path { fill: none; stroke: rgba(123, 237, 240, .34); stroke-width: 1.5; stroke-dasharray: 4 9; animation: dash 8s linear infinite; }
.path-b { stroke: rgba(126, 232, 196, .34); animation-direction: reverse; }
.path-c { stroke: rgba(147, 210, 240, .32); }
.path-d { stroke: rgba(242, 220, 178, .30); animation-direction: reverse; }

.topology-node {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  color: #B4BED0;
  background: rgba(12, 30, 32, .95);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: border-color .5s, color .5s, transform .5s, box-shadow .5s;
}
.topology-node i { width: 6px; height: 6px; border-radius: 50%; background: #617087; transition: background .5s, box-shadow .5s; }
.core-node {
  width: 116px; height: 92px;
  left: calc(50% - 58px);
  top:  calc(50% - 46px);
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: rgba(14, 38, 40, .95);
  box-shadow: 0 0 45px rgba(0, 198, 212, .18);
}
.core-node img { opacity: .95; }
.core-node b { color: var(--emerald); font-size: 8px; font-weight: 550; }
.node-a { left: 12%; top: 23%; }
.node-b { right: 10%; top: 19%; }
.node-c { left: 15%; bottom: 18%; }
.node-d { right: 10%; bottom: 16%; }

/* Active node per story step — each step lights a different hue */
.topology-0 .node-a { color: #fff; border-color: var(--cyan);   transform: scale(1.08); box-shadow: 0 0 25px rgba(0, 198, 212, .3); }
.topology-0 .node-a i { background: var(--cyan-lt);   box-shadow: 0 0 12px var(--cyan-lt); }
.topology-1 .node-b { color: #fff; border-color: var(--jade); transform: scale(1.08); box-shadow: 0 0 25px rgba(18, 184, 134, .3); }
.topology-1 .node-b i { background: var(--jade-lt); box-shadow: 0 0 12px var(--jade-lt); }
.topology-1 .node-c { color: #fff; border-color: var(--sky);   transform: scale(1.04); }
.topology-1 .node-c i { background: var(--sky-lt);   box-shadow: 0 0 12px var(--sky-lt); }
.topology-2 .node-d { color: #fff; border-color: var(--sand);  transform: scale(1.08); box-shadow: 0 0 25px rgba(224, 179, 106, .28); }
.topology-2 .node-d i { background: var(--sand-lt);  box-shadow: 0 0 12px var(--sand-lt); }

.signal { position: absolute; z-index: 2; width: 7px; height: 7px; border-radius: 50%; animation: signal 3s ease-in-out infinite; }
.signal-a { left: 26%;  top: 31%;    background: var(--cyan-lt);   box-shadow: 0 0 13px var(--cyan-lt); }
.signal-b { right: 28%; top: 28%;    background: var(--jade-lt); box-shadow: 0 0 13px var(--jade-lt); animation-delay: -.8s; }
.signal-c { left: 30%;  bottom: 28%; background: var(--sky-lt);   box-shadow: 0 0 13px var(--sky-lt);   animation-delay: -1.5s; }
.signal-d { right: 27%; bottom: 27%; background: var(--sand-lt);  box-shadow: 0 0 13px var(--sand-lt);  animation-delay: -2.2s; }

/* ==========================================================
   8. RELIABILITY — climate band
========================================================== */
.climate-section {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: 5vw;
  padding: 120px 6vw;
  overflow: hidden;
  background: linear-gradient(180deg, #F5F8F6 0%, #E7F0EB 100%);
}
/* Terrain wash bleeding in from the left */
.climate-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/topo-light.svg') center / cover no-repeat;
  opacity: .5;
  mask-image: linear-gradient(105deg, black, transparent 62%);
  -webkit-mask-image: linear-gradient(105deg, black, transparent 62%);
  pointer-events: none;
}

.climate-copy { position: relative; z-index: 2; max-width: 560px; }
.climate-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.climate-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 34px 0;
}
.climate-item {
  --hue: var(--cyan);
  --hue-ink: #0A6E7A;
  display: flex;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(10, 40, 34, .10);
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .3s, box-shadow .3s;
}
.climate-item:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--hue) 42%, transparent);
  box-shadow: 0 18px 40px rgba(16, 48, 42, .10);
}
.climate-item[data-hue="jade"] { --hue: var(--jade); --hue-ink: #0A7A5C; }
.climate-item[data-hue="sand"] { --hue: var(--sand); --hue-ink: #8A6420; }
.climate-item[data-hue="sky"]  { --hue: var(--sky);  --hue-ink: #14607F; }

.climate-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--hue-ink);
  background: color-mix(in srgb, var(--hue) 16%, #fff);
  transition: background .3s, color .3s;
}
.climate-item:hover .climate-icon { background: var(--hue); color: #04252B; }
.climate-icon svg { width: 18px; height: 18px; }

.climate-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.climate-item p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* Night-terrain monitoring panel */
.climate-visual {
  position: relative;
  z-index: 2;
  aspect-ratio: 1 / 1.02;
  min-height: 460px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(10, 40, 34, .14);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 34%, #124240 0, #0A2A2C 46%, #061518 100%);
  box-shadow: 0 40px 90px rgba(12, 40, 36, .28);
}
.climate-terrain {
  position: absolute;
  inset: -6%;
  background: url('assets/topo-dark.svg') center / cover no-repeat;
  opacity: .55;
  animation: terrainDrift 26s ease-in-out infinite alternate;
}
/* Canopy light rising from the base */
.climate-canopy {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 46% at 50% 104%, rgba(18, 184, 134, .40), transparent 72%),
    radial-gradient(ellipse 60% 34% at 78% 8%,   rgba(0, 198, 212, .22), transparent 70%);
  animation: breathe 7s ease-in-out infinite;
}

.climate-core {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 22px 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  color: #fff;
  background: rgba(9, 26, 28, .94);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.climate-core strong { font-size: 17px; font-weight: 580; letter-spacing: -.03em; }
.climate-core small  { color: #7E9490; font-size: 11px; }
.climate-pulse {
  width: 9px; height: 9px;
  margin-bottom: 7px;
  border-radius: 50%;
  background: var(--jade-lt);
  box-shadow: 0 0 0 0 rgba(126, 232, 196, .5);
  animation: corePulse 2.6s ease-out infinite;
}

.readout {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 11px;
  background: rgba(10, 28, 30, .92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
  animation: float 5s ease-in-out infinite;
}
.readout span   { color: #7E9490; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.readout strong { font-size: 16px; font-weight: 600; letter-spacing: -.03em; }
.readout-1 { top: 13%; left: 8%;  color: var(--sand-lt); }
.readout-2 { top: 26%; right: 7%; color: var(--cyan-lt);  animation-delay: -1.6s; }
.readout-3 { bottom: 15%; left: 13%; color: var(--jade-lt); animation-delay: -3.1s; }

/* ==========================================================
   9. SYSTEMS CARDS
========================================================== */
.systems-section { padding: 130px 6vw; background: linear-gradient(180deg, #F4F9F6, #FCFDFC); }
.system-cards {
  max-width: 1120px;
  margin: 62px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.system-card {
  --card-x: 50%;
  --card-y: 50%;
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: 25px;
  border: 1px solid #DFE4EB;
  border-radius: 18px;
  background: #F7F9FB;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.system-card[data-accent="cyan"]   { --accent: var(--cyan);   --accent-lt: var(--cyan-lt);   --accent-ink: #0A6E7A; }
.system-card[data-accent="jade"] { --accent: var(--jade); --accent-lt: var(--jade-lt); --accent-ink: #0A7A5C; }
.system-card[data-accent="sand"]  { --accent: var(--sand);  --accent-lt: var(--sand-lt);  --accent-ink: #8A6420; }

.system-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--accent) 45%, #fff);
  box-shadow: 0 28px 60px rgba(25, 49, 83, .14);
}
.card-light {
  position: absolute;
  width: 300px; height: 300px;
  left: calc(var(--card-x) - 150px);
  top:  calc(var(--card-y) - 150px);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 68%);
  opacity: 0;
  transition: opacity .35s;
}
.system-card:hover .card-light { opacity: 1; }

.system-card > span { position: relative; z-index: 2; color: #8B94A3; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.system-icon {
  position: relative;
  width: 100%;
  height: 180px;
  display: grid;
  place-items: center;
  color: #fff;
}
.system-icon::before {
  content: "";
  position: absolute;
  width: 105px; height: 105px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--accent-lt), var(--accent));
  box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 25px 45px color-mix(in srgb, var(--accent) 35%, transparent);
  transform: rotate(-8deg);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.system-icon svg { position: relative; z-index: 2; width: 42px; height: 42px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .18)); }
.system-card:hover .system-icon::before { transform: rotate(3deg) translateY(-7px) scale(1.04); }
.system-icon-02::before { border-radius: 50%; }
.system-icon-03::before { width: 130px; height: 78px; border-radius: 16px; }

.system-card h3 { position: relative; z-index: 2; margin: 18px 0 12px; font-size: 23px; font-weight: 560; letter-spacing: -.04em; }
.system-card p  { position: relative; z-index: 2; min-height: 48px; margin: 0; color: #798294; font-size: 13px; line-height: 1.6; }
.system-card a  {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 560;
}
.system-card a svg { width: 17px; transition: transform .25s; }
.system-card a:hover svg { transform: translateX(4px); }

/* ==========================================================
   10. FAQ
========================================================== */
.faq-section { padding: 120px 6vw; background: linear-gradient(180deg, #FCFDFC, #EDF4F0); }
.faq-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.faq-intro { position: sticky; top: 110px; }
.faq-lede { margin: 24px 0 28px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.faq-list { display: flex; flex-direction: column; gap: 9px; }
.faq-item {
  overflow: hidden;
  border: 1px solid #DFE4EB;
  border-radius: 13px;
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item:hover { border-color: #C3D2E6; }
.faq-item[open] { border-color: color-mix(in srgb, var(--cyan) 45%, #fff); box-shadow: 0 16px 40px rgba(25, 49, 83, .08); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  font-size: 14px;
  font-weight: 560;
  letter-spacing: -.015em;
  list-style: none;
  cursor: pointer;
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #0A6E7A; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px; height: 9px;
  border-right: 2px solid #98A3B5;
  border-bottom: 2px solid #98A3B5;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s, border-color .25s;
}
.faq-item[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); border-color: var(--cyan); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 13.5px; line-height: 1.72; }

/* ==========================================================
   11. CONTACT
========================================================== */
.contact-section { padding: 120px 6vw; color: #fff; background: radial-gradient(circle at 20% 15%, #10403C, #08191C 46%, #040B0C 100%); }
.contact-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.contact-copy .eyebrow { color: #6C7A96; }
.contact-lede { margin: 24px 0 34px; max-width: 30em; color: #8592A6; font-size: 15px; line-height: 1.7; }

.contact-details { display: flex; flex-direction: column; gap: 10px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  transition: border-color .25s, background .25s, transform .25s;
}
a.contact-detail:hover { border-color: rgba(0, 198, 212, .45); background: rgba(0, 198, 212, .1); transform: translateX(3px); }
.contact-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--cyan-lt);
  background: rgba(0, 198, 212, .12);
}
.contact-detail:nth-child(2) .contact-icon { color: var(--emerald); background: rgba(47, 163, 107, .12); }
.contact-detail:nth-child(3) .contact-icon { color: var(--jade-lt); background: rgba(18, 184, 134, .14); }
.contact-icon svg { width: 17px; height: 17px; }
.contact-detail > div { display: flex; flex-direction: column; gap: 2px; }
.detail-label { color: #6C7A96; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.detail-value { font-size: 14px; font-weight: 520; }
.detail-value small { color: #6C7A96; font-weight: 400; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 12px; font-weight: 560; color: #B4BED0; letter-spacing: .01em; }
.req { color: var(--cyan-lt); }
.opt { color: #6C7A96; font-weight: 400; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #5D6982; }
.form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: rgba(255, 255, 255, .22); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--cyan);
  background: rgba(0, 198, 212, .07);
  box-shadow: 0 0 0 3px rgba(0, 198, 212, .16);
}
.form-group select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' fill='none' stroke='%236FE9F3' stroke-width='1.6'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-group select option { background: #0E1521; color: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255, 107, 92, .14); }
.field-error { min-height: 1em; color: var(--coral); font-size: 11.5px; }

.form-status { display: none; padding: 13px 16px; border-radius: 10px; font-size: 13px; line-height: 1.55; text-align: center; }
.form-status.success { display: block; color: #7BEFC0; background: rgba(47, 163, 107, .1);  border: 1px solid rgba(47, 163, 107, .3); }
.form-status.error   { display: block; color: #FFA79B; background: rgba(255, 107, 92, .1); border: 1px solid rgba(255, 107, 92, .3); }

/* ==========================================================
   12. CLOSING & FOOTER
========================================================== */
.closing-section {
  position: relative;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 6vw;
  text-align: center;
  color: #fff;
  background: radial-gradient(circle at 50% 45%, #12463F, #07171A 44%, #030A0B 73%);
}
.closing-section .eyebrow { position: relative; z-index: 2; color: #6C7A96; }
.closing-section h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 36px;
  font-size: clamp(52px, 6.8vw, 100px);
  line-height: .95;
  letter-spacing: -.062em;
  font-weight: 520;
}
.closing-section .hero-actions { position: relative; z-index: 2; }
.closing-orb {
  position: absolute;
  width: 570px; height: 570px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.closing-orb::before, .closing-orb::after { content: ""; position: absolute; border: 1px solid rgba(0, 198, 212, .14); border-radius: 50%; }
.closing-orb::before { inset: 13%; }
.closing-orb::after  { inset: 28%; border-color: rgba(18, 184, 134, .14); }
.closing-orb span { position: absolute; width: 8px; height: 8px; border-radius: 50%; }
.closing-orb span:nth-child(1) { left: 12%; top: 28%;    background: var(--cyan-lt);   box-shadow: 0 0 18px var(--cyan-lt); }
.closing-orb span:nth-child(2) { right: 7%; bottom: 37%; background: var(--jade-lt); box-shadow: 0 0 18px var(--jade-lt); }
.closing-orb span:nth-child(3) { left: 48%; bottom: -4px; background: var(--sand-lt); box-shadow: 0 0 18px var(--sand-lt); }

footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 26px 5vw;
  color: #98A3B5;
  background: #030A0B;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 11px;
}
footer .brand { color: #fff; }
footer .brand-mark { width: 44px; height: 44px; }
footer .brand { font-size: 21px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { transition: color .25s; }
.footer-nav a:hover { color: var(--cyan-lt); }
footer > span { justify-self: end; text-align: right; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  border-radius: 99px;
  background: #1FAF52;
  color: #fff;
  font-size: 13px;
  font-weight: 580;
  box-shadow: 0 10px 30px rgba(31, 175, 82, .34);
  transition: transform .25s, box-shadow .25s, background .25s, opacity .25s, visibility .25s;
}
.whatsapp-float svg { width: 18px; height: 18px; }
.whatsapp-float.is-tucked {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.9);
  pointer-events: none;
}
.whatsapp-float:hover { background: #1B9C49; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(31, 175, 82, .45); }

/* ==========================================================
   13. KEYFRAMES
========================================================== */
@keyframes pulse       { 50% { opacity: .45; transform: scale(.75); } }
@keyframes dash        { to  { stroke-dashoffset: -140; } }
@keyframes spin        { to  { transform: rotate(360deg); } }
@keyframes float       { 50% { transform: translateY(-9px); } }
@keyframes scrollLine  { 0% { transform: translateY(0); } 100% { transform: translateY(200%); } }
@keyframes tabProgress { to  { width: 100%; } }
@keyframes stageIn     { from { opacity: .4; transform: translateY(18px) scale(.99); } }
@keyframes bars        { from { transform: scaleY(.45); } to { transform: scaleY(1.25); } }
@keyframes breathe     { 50% { transform: scale(1.16); opacity: .65; } }
@keyframes signal      { 50% { transform: translate(22px, 17px); opacity: .35; } }
@keyframes productFloat{ 50% { transform: translateY(-14px); } }
@keyframes terrainDrift{ from { transform: scale(1) translate(0, 0); } to { transform: scale(1.06) translate(-1.5%, -1.5%); } }
@keyframes corePulse   { 70% { box-shadow: 0 0 0 16px rgba(0, 198, 212, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 198, 212, 0); } }

/* ==========================================================
   14. RESPONSIVE
========================================================== */
@media (max-width: 1100px) {
  .platform-stage  { grid-template-columns: 1fr; }
  .app-window      { margin: 0 0 0 24px; }
  .climate-section { grid-template-columns: 1fr; gap: 46px; }
  .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro { position: static; }
  .system-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Forced breaks in these headings orphan a word once the line wraps */
  .br-wide { display: none; }

  /* Phones: headings were floored at 42px, which ran into the edges */
  .section-heading h2,
  .story-copy h2,
  .climate-copy h2,
  .systems-heading h2,
  .marquee-head h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: clamp(29px, 8vw, 44px);
    letter-spacing: -.038em;
    line-height: 1.06;
  }
  .section-desc, .climate-copy > p:not(.eyebrow), .faq-lede, .contact-lede { font-size: 15px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .14em; margin-bottom: 14px; }

  /* two columns left ~140px of usable width — text wrapped 8 lines deep */
  .climate-list { grid-template-columns: 1fr; gap: 10px; }
  .climate-visual { width: 100%; max-width: 100%; min-height: 360px; }
  .climate-copy { max-width: none; }

  .kicker { font-size: 10.5px; letter-spacing: .12em; }

  .site-header { grid-template-columns: 1fr auto; padding: 0 20px; }
  .header-cta { display: none; }
  .menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 38px; height: 38px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 9px;
    background: rgba(255, 255, 255, .06);
  }
  .menu-button span { height: 1px; background: #fff; transition: transform .25s, opacity .25s; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

  .nav-links {
    position: absolute;
    top: 65px; left: 0; right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background: rgba(5, 14, 15, .97);
    backdrop-filter: blur(18px);
    transition: max-height .35s;
  }
  .nav-links.nav-open { max-height: 320px; padding-bottom: 16px; }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }

  .hero { min-height: 900px; padding-left: 20px; padding-right: 20px; }
  .hero-copy { padding-top: 108px; }
  .hero h1 { font-size: clamp(46px, 12vw, 76px); }
  .hero-lede { font-size: 16px; }
  .scroll-cue { display: none; }

  .platform-section { padding: 90px 20px; }
  .platform-tabs { grid-template-columns: 1fr; }
  .platform-copy { padding: 36px 26px; }
  .platform-copy h3 { margin: 42px 0 16px; }
  .app-window { height: 470px; margin: 0 0 0 18px; }
  .app-window { height: 470px; margin: 0 0 0 18px; }

  .story-section { height: auto; padding: 90px 20px; }
  .story-sticky { position: relative; display: flex; flex-direction: column; padding: 0; gap: 46px; }
  .story-copy { max-width: none; }
  .topology { width: 100%; min-height: 430px; }

  .climate-section { padding: 90px 20px; }
  .climate-copy { max-width: none; }
  .climate-visual { min-height: 400px; }

  .systems-section, .faq-section, .contact-section { padding: 90px 20px; }
  .system-cards { grid-template-columns: 1fr; }
  .system-card { min-height: 380px; }

  .closing-section { min-height: 620px; }
  .closing-orb { width: 420px; height: 420px; }

  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; padding: 34px 20px; }
  footer > span { justify-self: center; text-align: center; }
}

@media (max-width: 560px) {
  .hero-facts { grid-template-columns: 1fr; margin-top: 36px; }
  .hero-facts li { padding: 14px 16px; }
  .hero h1 { font-size: clamp(27px, 8.3vw, 42px); letter-spacing: -.03em; }
  .hero-lede { font-size: 15px; }
  .kicker { font-size: 10px; letter-spacing: .1em; }
  .container, .platform-section, .systems-section, .faq-section,
  .contact-section, .climate-section { padding-left: 18px; padding-right: 18px; }
  .hero { padding-left: 18px; padding-right: 18px; }

  /* hero no longer carries a fixed-height visual, so it can shrink to content */
  .hero { min-height: auto; }
  .hero-copy { padding-top: 92px; }
  .hero-actions { flex-direction: column; align-items: stretch; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .closing-section h2 { font-size: 46px; }
  .closing-orb { width: 300px; height: 300px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 13px; }
}

/* ==========================================================
   15. REDUCED MOTION
========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-grid { transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================
   16. RECURRING MARK
   The logo reappears as a faint watermark rather than a
   second logo — present, but never competing with content.
========================================================== */
.hero::after,
.story-section::after,
.contact-section::before,
.closing-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: url('piara-mark-light.png') no-repeat center / contain;
  opacity: .035;
}
.hero::after {
  width: 460px; height: 460px;
  right: -130px; top: 8%;
  animation: spin 190s linear infinite;
}
.story-section::after {
  width: 520px; height: 520px;
  left: -160px; bottom: 6%;
  opacity: .028;
  animation: spin 240s linear infinite reverse;
}
.contact-section::before {
  width: 560px; height: 560px;
  right: -170px; bottom: -110px;
  opacity: .03;
  animation: spin 210s linear infinite;
}
.closing-section::after {
  width: 620px; height: 620px;
  left: 50%; top: 50%;
  margin: -310px 0 0 -310px;
  opacity: .045;
  animation: spin 260s linear infinite reverse;
}
.contact-section { position: relative; }
.contact-layout, .closing-section > *, .story-sticky { position: relative; z-index: 1; }

/* Image attribution required by CC BY-SA */
footer .credit { display: inline-block; margin-top: 5px; color: #5C6B68; font-size: 10px; }
footer .credit a { text-decoration: underline; text-underline-offset: 2px; }
footer .credit a:hover { color: var(--cyan-lt); }

/* ==========================================================
   17. OFF-SCREEN ANIMATION GATING
   29 elements were animating continuously whether or not they
   were anywhere near the viewport. Sections park themselves
   when scrolled away.
========================================================== */
.anim-idle,
.anim-idle *,
.anim-idle *::before,
.anim-idle *::after { animation-play-state: paused !important; }
