:root {
  --paper: #f7fcff;
  --paper-2: #eaf7ff;
  --ink: #103456;
  --muted: rgba(16, 52, 86, 0.68);
  --soft: rgba(16, 52, 86, 0.48);
  --line: rgba(38, 132, 202, 0.15);
  --line-strong: rgba(38, 132, 202, 0.28);
  --blue: #218ce6;
  --blue-2: #69caff;
  --blue-3: #c9efff;
  --aqua: #3bd5e8;
  --violet: #7a8dff;
  --white: rgba(255, 255, 255, 0.88);
  --glass: rgba(255, 255, 255, 0.64);
  --shadow: 0 28px 80px rgba(33, 140, 230, 0.15);
  --shadow-strong: 0 40px 120px rgba(33, 140, 230, 0.22);
  --radius: 28px;
  --radius-sm: 18px;
  --shell: min(1180px, calc(100% - 48px));
  --ease: 220ms cubic-bezier(.2, .8, .2, 1);
  --cursor-x: 50vw;
  --cursor-y: 22vh;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #dff3ff;
  transition: opacity 520ms ease, visibility 520ms ease;
  animation: loaderAutoHide 3200ms ease forwards;
}

.site-loader img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) brightness(0.9);
  transform: scale(1.06);
  animation: loaderImageIn 1700ms cubic-bezier(.19, 1, .22, 1) both;
}

.site-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 45, 78, 0.62), rgba(10, 84, 132, 0.26), rgba(255,255,255,0.12)),
    radial-gradient(circle at 50% 44%, rgba(255,255,255,0.34), transparent 42%);
}

.loader-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  color: #fff;
  text-align: center;
  text-shadow: 0 8px 34px rgba(0, 32, 66, 0.46);
}

.loader-copy strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: 0.95;
  animation: loaderNameSettle 1700ms cubic-bezier(.19, 1, .22, 1) both;
}

.loader-copy span {
  font-size: clamp(.9rem, 1.65vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.loader-copy::after {
  content: "";
  width: min(420px, 58vw);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #fff 18%, #fff 82%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  animation: loaderUnderline 1100ms cubic-bezier(.19, 1, .22, 1) 650ms both;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.loader-lock {
  overflow: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(105, 202, 255, 0.30), transparent 26%),
    radial-gradient(circle at 86% 2%, rgba(122, 141, 255, 0.16), transparent 25%),
    linear-gradient(145deg, #fbfeff 0%, #ecf8ff 48%, #f8fcff 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(420px circle at var(--cursor-x) var(--cursor-y), rgba(255, 255, 255, 0.88), rgba(151, 219, 255, 0.20) 42%, transparent 72%),
    linear-gradient(rgba(33, 140, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 140, 230, 0.045) 1px, transparent 1px);
  background-size: auto, 92px 92px, 92px 92px;
  mask-image: radial-gradient(circle at 50% 32%, black 0 58%, transparent 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-wrap {
  position: relative;
  z-index: 1;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: var(--shell);
  margin: 0 auto;
  padding: 16px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand img {
  object-fit: contain;
  border-radius: 50%;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 10px -12px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(33, 140, 230, 0.10);
  backdrop-filter: blur(24px);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  flex: 0 0 auto;
}

.brand span {
  display: grid;
  line-height: 1.12;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--soft);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color var(--ease), background var(--ease), transform var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  background: rgba(105, 202, 255, 0.22);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
}

.header-cta {
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(201,239,255,.56));
  color: #135b93;
  white-space: nowrap;
}

.button {
  min-height: 54px;
  padding: 13px 22px;
  border: 1px solid transparent;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #15a4f2, #246bd8 58%, #778cff);
  box-shadow: 0 18px 45px rgba(33, 140, 230, 0.30);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255,255,255,.72);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}

.eyebrow,
.card-pill,
.timeline-tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(33, 140, 230, 0.18);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: #1479c4;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  min-height: 34px;
  padding: 8px 13px;
  margin-bottom: 18px;
}

.card-pill,
.timeline-tag {
  min-height: 31px;
  padding: 6px 12px;
}

h1,
h2,
.quote-feature p,
.quote-card p,
.preview-quote p {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.08;
}

p {
  margin: 0;
}

.hero-lab {
  position: relative;
  min-height: calc(100svh - 78px);
  overflow: clip;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 46px 0 64px;
  background:
    linear-gradient(90deg, rgba(247,252,255,.96) 0%, rgba(247,252,255,.88) 44%, rgba(247,252,255,.55) 100%),
    url("assets/nature-forward-home.jpg") center / cover no-repeat;
}

.hero-lab::before,
.hero-lab::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  filter: blur(1px);
  mix-blend-mode: screen;
  animation: prismDrift 11s ease-in-out infinite alternate;
}

.hero-lab::before {
  width: 64vw;
  height: 52vh;
  right: -12vw;
  top: 12vh;
  clip-path: polygon(8% 18%, 72% 0, 100% 42%, 72% 100%, 0 82%);
  background: linear-gradient(135deg, rgba(59,213,232,.34), rgba(122,141,255,.20) 48%, rgba(255,255,255,.42));
}

.hero-lab::after {
  width: 58vw;
  height: 48vh;
  left: -16vw;
  bottom: -5vh;
  clip-path: polygon(0 28%, 58% 0, 100% 52%, 42% 100%, 4% 80%);
  background: linear-gradient(145deg, rgba(255,255,255,.50), rgba(105,202,255,.30), rgba(59,213,232,.18));
  animation-delay: -4s;
}

.motion-field,
.hero-noise,
.hero-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.motion-field {
  width: 100%;
  height: 100%;
  display: block;
  z-index: -3;
}

.hero-noise {
  z-index: -2;
  background:
    linear-gradient(124deg, rgba(255,255,255,.52), rgba(105,202,255,.14) 36%, transparent 68%),
    conic-gradient(from 130deg at 76% 26%, rgba(122,141,255,.18), rgba(105,202,255,.25), rgba(255,255,255,.10), rgba(59,213,232,.18), rgba(122,141,255,.18));
  mix-blend-mode: soft-light;
}

.hero-scan {
  z-index: -1;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255,255,255,.48) 46%, transparent 58% 100%);
  animation: scanSweep 7.4s ease-in-out infinite;
  opacity: 0.54;
}

.hero-shell {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(370px, 0.98fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy h1 {
  max-width: 12.6ch;
  font-size: clamp(3.2rem, 6.5vw, 7.4rem);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.94;
}

.kinetic-word {
  position: relative;
  display: inline-block;
  color: #0b7ed5;
}

.kinetic-word::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.02em;
  bottom: 0.02em;
  height: 0.16em;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59,213,232,.42), rgba(122,141,255,.30));
  transform-origin: left center;
  animation: underlineBreath 2.8s ease-in-out infinite;
}

.hero-copy p {
  max-width: 58ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.09rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.proof-bar article,
.signal-card,
.outcome-card,
.cta-panel,
.page-mark,
.content-card,
.service-card,
.feature-card,
.timeline-card,
.quote-feature,
.quote-card,
.contact-form-panel,
.info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(244,251,255,.72)),
    rgba(255,255,255,.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.proof-bar article {
  min-height: 118px;
  padding: 18px;
}

.proof-bar strong {
  display: block;
  color: #096fc2;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1;
}

.proof-bar span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.clarity-engine {
  position: relative;
  min-height: 620px;
  border-radius: 40px;
}

.engine-portrait {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 13%;
  width: min(240px, 46%);
  aspect-ratio: 1;
  object-fit: cover;
  border: 10px solid rgba(255,255,255,.74);
  border-radius: 50%;
  box-shadow: 0 28px 80px rgba(33, 140, 230, 0.24);
  transform: translateX(-50%);
}

.engine-orbit {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(33, 140, 230, 0.20);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.88), rgba(201,239,255,.22) 45%, transparent 72%);
  box-shadow: inset 0 0 60px rgba(105,202,255,.14), 0 26px 90px rgba(33,140,230,.16);
  animation: orbitFloat 8s ease-in-out infinite;
}

.engine-orbit-two {
  inset: 20%;
  border-style: dashed;
  animation: spin 28s linear infinite;
}

.engine-orbit-three {
  inset: 32%;
  border-color: rgba(122, 141, 255, 0.22);
  animation: spinReverse 22s linear infinite;
}

.engine-node {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 126px;
  aspect-ratio: 1;
  border: 1px solid rgba(33, 140, 230, 0.22);
  border-radius: 50%;
  background: rgba(255,255,255,.76);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(33,140,230,.17);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), box-shadow var(--ease);
}

.engine-node span {
  color: #0f86db;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.engine-node strong {
  margin-top: -18px;
}

.engine-node-one {
  top: 8%;
  left: 10%;
  animation: nodeDrift 6.2s ease-in-out infinite;
}

.engine-node-two {
  top: 16%;
  right: 4%;
  animation: nodeDrift 6.8s ease-in-out infinite reverse;
}

.engine-node-three {
  bottom: 8%;
  left: 12%;
  animation: nodeDrift 7.4s ease-in-out infinite;
}

.engine-node.is-active,
.engine-node:hover {
  transform: translateY(-6px) scale(1.04);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(201,239,255,.82));
  box-shadow: var(--shadow-strong);
}

.engine-card {
  position: absolute;
  z-index: 4;
  right: 3%;
  bottom: 8%;
  width: min(360px, 74%);
  min-height: 320px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 32px;
  background: linear-gradient(150deg, rgba(255,255,255,.94), rgba(228,247,255,.78));
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(22px);
}

.engine-card span {
  color: #0d82d7;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.engine-card h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.05;
}

.engine-card p {
  margin-top: 16px;
  color: var(--muted);
}

.kinetic-strip {
  overflow: hidden;
  padding: 12px 0 28px;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.strip-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: stripMove 30s linear infinite;
}

.strip-track span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.story-intro,
.outcome-section,
.cta-section,
.page-section {
  padding-top: 96px;
}

.section-head {
  width: min(100%, 1080px);
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.static-head h2,
.page-hero-copy h1,
.cta-panel h2 {
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  font-weight: 650;
  line-height: 1.1;
}

.section-head h2,
.static-head h2 {
  max-width: 25ch;
  margin-inline: auto;
  text-wrap: balance;
}

.static-head {
  width: min(100%, 1080px);
  margin-inline: auto;
  text-align: center;
}

.content-card h2,
.service-card h2,
.panel-head h2 {
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
  font-weight: 650;
  line-height: 1.18;
  text-wrap: balance;
}

.section-head p,
.static-head p,
.page-hero-copy p,
.content-card p,
.service-card p,
.feature-card p,
.timeline-card p,
.info-card p,
.contact-form-panel p,
.form-note {
  color: var(--muted);
}

.section-head p,
.static-head p {
  max-width: 58ch;
  margin: 18px auto 0;
  text-wrap: pretty;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr .92fr;
  gap: 18px;
  margin-top: 32px;
}

.signal-card,
.outcome-card {
  padding: 28px;
}

.signal-card h3,
.outcome-card h3,
.feature-card h3,
.timeline-card h3,
.info-card h3 {
  margin: 16px 0 10px;
  font-size: 1.34rem;
  font-weight: 650;
  line-height: 1.16;
  text-wrap: balance;
}

.signal-card p,
.outcome-card p {
  color: var(--muted);
}

.signal-card-tall {
  min-height: 330px;
  background:
    radial-gradient(circle at 20% 20%, rgba(105,202,255,.26), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(244,251,255,.74));
}

.signal-card-blue {
  background:
    radial-gradient(circle at 80% 10%, rgba(122,141,255,.16), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(229,247,255,.78));
}

.immersion {
  margin-top: 105px;
  padding: 94px 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(105,202,255,.28), transparent 32%),
    linear-gradient(120deg, rgba(225,247,255,.78), rgba(255,255,255,.62));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.immersion-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  grid-template-areas:
    "copy copy"
    "steps stage";
  gap: 24px;
  align-items: stretch;
}

.immersion-copy {
  grid-area: copy;
  width: min(100%, 960px);
  margin: 0 auto 18px;
  text-align: center;
}

.immersion-copy h2 {
  max-width: 24ch;
  margin-inline: auto;
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  line-height: 1.1;
  text-wrap: balance;
}

.immersion-copy p {
  max-width: 66ch;
  margin-inline: auto;
  margin-top: 18px;
  color: var(--muted);
}

.immersion-stage {
  grid-area: stage;
  position: relative;
  min-height: 520px;
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,.92), rgba(201,239,255,.38) 44%, transparent 68%),
    rgba(255,255,255,.36);
  box-shadow: var(--shadow-strong);
}

.pulse-map {
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px dashed rgba(33,140,230,.22);
  animation: spin 24s linear infinite;
}

.pulse-map span {
  position: absolute;
  width: 24px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-2), var(--violet));
  box-shadow: 0 0 36px rgba(33,140,230,.34);
}

.pulse-map span:nth-child(1) { top: -12px; left: 50%; }
.pulse-map span:nth-child(2) { right: 8%; top: 28%; }
.pulse-map span:nth-child(3) { bottom: 9%; left: 20%; }
.pulse-map span:nth-child(4) { top: 34%; left: -12px; }

.stage-readout {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 22px 70px rgba(33,140,230,.14);
  backdrop-filter: blur(20px);
}

.stage-readout span {
  color: #0f86db;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.stage-readout h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1;
}

.stage-readout p {
  max-width: 46ch;
  color: var(--muted);
}

.readout-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.readout-list li {
  min-width: 0;
  min-height: 68px;
  padding: 12px 13px;
  border: 1px solid rgba(33, 140, 230, 0.14);
  border-radius: 16px;
  background: rgba(235, 248, 255, 0.74);
  color: #24587f;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.immersion-steps {
  grid-area: steps;
  display: grid;
  gap: 14px;
  align-content: start;
}

.journey-step {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.62);
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.journey-step.is-active,
.journey-step:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--line-strong);
  background: rgba(255,255,255,.90);
  box-shadow: 0 20px 50px rgba(33,140,230,.12);
}

.journey-step span {
  color: #0f86db;
  font-weight: 900;
}

.journey-step h3 {
  margin: 8px 0 6px;
}

.journey-step p {
  color: var(--muted);
}

.outcome-grid,
.feature-grid,
.timeline-grid,
.quote-grid,
.services-grid {
  display: grid;
  gap: 18px;
}

.outcome-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.outcome-card strong {
  color: #0f86db;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px;
}

.cta-panel h2 {
  max-width: 17ch;
}

.page-main {
  position: relative;
}

.page-hero {
  padding: 86px 0 18px;
  background:
    linear-gradient(90deg, rgba(247,252,255,.98) 0%, rgba(247,252,255,.9) 52%, rgba(247,252,255,.62) 100%),
    var(--page-visual, url("assets/nature-forward-about.jpg")) center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

body[data-page="about"] {
  --page-visual: url("assets/nature-forward-about.jpg");
}

body[data-page="services"] {
  --page-visual: url("assets/nature-forward-services.jpg");
}

body[data-page="contact"] {
  --page-visual: url("assets/nature-forward-contact.jpg");
}

body[data-page="testimonials"] {
  --page-visual: url("assets/nature-forward-services.jpg");
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 34px;
}

.page-hero-copy {
  max-width: 850px;
}

.page-hero-copy p {
  max-width: 62ch;
  margin-top: 18px;
}

.page-mark {
  display: grid;
  place-items: center;
  width: 188px;
  aspect-ratio: 1;
  justify-self: end;
  border-radius: 50%;
}

.hero-photo-card {
  width: min(250px, 100%);
  justify-self: end;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}

.hero-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}

.page-mark span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4.7rem;
  color: #0f86db;
}

.about-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: 18px;
  padding-top: 54px;
}

.content-card,
.service-card,
.feature-card,
.timeline-card,
.quote-feature,
.quote-card,
.contact-form-panel,
.info-card {
  padding: 30px;
}

.content-card h2,
.service-card h2,
.panel-head h2 {
  margin-top: 16px;
}

.content-card p + p {
  margin-top: 16px;
}

.timeline-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.milestone-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 18px;
  margin-top: 18px;
}

.milestone-carousel,
.milestone-photo-grid figure,
.named-testimonial {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(239,250,255,.78));
  box-shadow: var(--shadow);
}

.milestone-carousel {
  overflow: hidden;
}

.milestone-slides {
  position: relative;
  min-height: 440px;
  background: var(--paper-2);
}

.milestone-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 620ms ease, transform 900ms ease;
}

.milestone-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.milestone-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.milestone-carousel-copy {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  padding: 24px;
}

.milestone-carousel-copy h3 {
  margin: 14px 0 6px;
  font-size: 1.55rem;
}

.milestone-carousel-copy p {
  color: var(--muted);
}

.milestone-controls,
.milestone-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.milestone-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  cursor: pointer;
}

.milestone-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  background: rgba(33,140,230,.24);
}

.milestone-dots button.is-active {
  background: var(--blue);
}

.milestone-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.milestone-photo-grid figure {
  overflow: hidden;
  margin: 0;
}

.milestone-photo-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.milestone-photo-grid figcaption {
  padding: 13px 15px 15px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.credential-card img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 14px;
}

.image-band,
.certificate-grid,
.process-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.image-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-band img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.certificate-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.certificate-grid a {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow);
}

.certificate-grid img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.certificate-grid span {
  display: block;
  padding: 13px 6px 3px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.process-card,
.faq-card,
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(239,250,255,.78));
  box-shadow: var(--shadow);
}

.process-card {
  min-height: 260px;
  padding: 26px;
}

.process-card span {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #fff;
  font-weight: 900;
}

.process-card h3,
.faq-card h3 {
  margin: 18px 0 10px;
  font-size: 1.26rem;
  line-height: 1.16;
}

.process-card p,
.faq-card p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: #0f75c4;
  font-weight: 900;
}

.service-card h2 {
  font-size: clamp(2rem, 2.8vw, 3.2rem);
}

.service-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding: 8px 0 0 18px;
  color: var(--muted);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
}

.quote-feature p {
  max-width: 46ch;
  margin-top: 22px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
  text-wrap: pretty;
}

.quote-feature span:last-child,
.quote-card span,
.preview-quote span {
  display: block;
  margin-top: 16px;
  color: var(--soft);
}

.quote-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-card p {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.08rem, 1.3vw, 1.28rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0;
  text-wrap: pretty;
}

.quote-card-wide {
  grid-column: 1 / -1;
}

.quote-card-wide p {
  max-width: 82ch;
}

.quote-card-wide span {
  max-width: 72ch;
  line-height: 1.55;
}

.quote-card-wide span strong {
  color: var(--ink);
}

.named-testimonial-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.named-testimonial {
  display: grid;
  grid-template-columns: minmax(260px, .36fr) minmax(0, 1fr);
  gap: 28px;
  padding: 30px;
}

.testimonial-person {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.testimonial-person img {
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255,255,255,.86);
  box-shadow: 0 14px 34px rgba(33,140,230,.18);
}

.testimonial-person h3 {
  margin: 8px 0 6px;
  font-size: 1.25rem;
}

.testimonial-person span {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
}

.testimonial-copy {
  display: grid;
  gap: 14px;
}

.testimonial-copy p {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.72;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  color: var(--ink);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(33, 140, 230, 0.42);
  box-shadow: 0 0 0 4px rgba(105, 202, 255, 0.18);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: .72;
}

.form-status {
  min-height: 1.5em;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}

.form-status.is-success {
  color: #087747;
}

.form-status.is-error {
  color: #ad3440;
}

.form-note {
  margin-top: 18px;
  font-size: 0.94rem;
}

.contact-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.hero-whatsapp {
  margin-top: 24px;
}

.map-card {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  min-height: 230px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(221,246,255,.72)),
    url("assets/nature-forward-contact.jpg") center / cover no-repeat;
}

.map-card span {
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: #0f75c4;
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-card strong {
  max-width: 720px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 650;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1;
}

.faq-grid {
  grid-template-columns: 1fr;
  margin-top: 28px;
}

.faq-card {
  padding: 0;
  overflow: hidden;
}

.faq-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 28px;
  cursor: pointer;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary h3 {
  margin: 0;
}

.faq-card summary span {
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: #0f75c4;
  background: rgba(255,255,255,.8);
  font-size: 1.35rem;
  font-weight: 500;
  transition: transform var(--ease), background var(--ease);
}

.faq-card[open] summary span {
  transform: rotate(45deg);
  background: var(--blue-3);
}

.faq-answer {
  padding: 0 28px 28px;
  animation: faqReveal 240ms ease both;
}

.faq-answer p {
  max-width: 105ch;
}

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.info-card a {
  display: block;
  margin-top: 10px;
  color: #0f75c4;
  font-weight: 800;
}

.site-footer {
  width: var(--shell);
  margin: 78px auto 0;
  padding: 26px 0 44px;
  display: grid;
  gap: 12px;
  color: var(--soft);
}

.site-footer strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(37, 211, 102, 0.34);
}

.whatsapp-float::before {
  content: "WA";
  display: grid;
  place-items: center;
  width: 28px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  font-size: .72rem;
}

.footer-meta {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(.98);
  filter: blur(10px);
  transition: opacity 780ms ease, transform 1000ms cubic-bezier(.19, 1, .22, 1), filter 1000ms ease;
}

[data-reveal="hero"] {
  transform: translate3d(-36px, 26px, 0) scale(.98);
}

[data-reveal="stage"] {
  transform: translate3d(42px, 30px, 0) scale(.95);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

body.nav-open {
  overflow: hidden;
}

@keyframes scanSweep {
  0%, 32% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}

@keyframes underlineBreath {
  0%, 100% { transform: scaleX(.76); opacity: .72; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes orbitFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -12px, 0) scale(1.02); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes nodeDrift {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -16px; }
}

@keyframes stripMove {
  to { transform: translateX(-50%); }
}

@keyframes prismDrift {
  from { transform: translate3d(-18px, -10px, 0) rotate(-2deg) scale(1); }
  to { transform: translate3d(18px, 16px, 0) rotate(3deg) scale(1.05); }
}

@keyframes loaderImageIn {
  from { transform: scale(1.16); filter: saturate(.92) brightness(.78); }
  to { transform: scale(1.06); filter: saturate(1.04) brightness(.9); }
}

@keyframes loaderNameSettle {
  from { opacity: 0; transform: scale(1.42) translateY(18px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes loaderUnderline {
  to { transform: scaleX(1); }
}

@keyframes loaderAutoHide {
  0%, 84% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 1120px) {
  .hero-shell,
  .signal-grid,
  .immersion-layout,
  .about-layout,
  .contact-grid,
  .milestone-media-grid {
    grid-template-columns: 1fr;
  }

  .immersion-layout {
    grid-template-areas:
      "copy"
      "steps"
      "stage";
  }

  .clarity-engine {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }

  .outcome-grid,
  .quote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credential-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--ease), transform var(--ease);
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.nav-open .nav-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-cta {
    display: none;
  }

  .page-hero-grid,
  .services-grid,
  .timeline-grid,
  .outcome-grid,
  .quote-grid,
  .named-testimonial {
    grid-template-columns: 1fr;
  }

  .page-mark {
    justify-self: start;
  }

  .hero-photo-card {
    justify-self: start;
  }

  .image-band,
  .certificate-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 32px, 1180px);
  }

  .hero-lab {
    min-height: auto;
    padding: 34px 0 52px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .proof-bar {
    grid-template-columns: 1fr;
  }

  .clarity-engine {
    min-height: 540px;
  }

  .engine-node {
    width: 104px;
  }

  .engine-card {
    left: 18px;
    right: 18px;
    bottom: 24px;
    width: auto;
    padding: 22px;
  }

  .immersion {
    margin-top: 76px;
    padding: 68px 0;
  }

  .immersion-stage {
    min-height: 520px;
  }

  .readout-list {
    grid-template-columns: 1fr;
  }

  .field-grid,
  .feature-grid,
  .credential-grid,
  .process-grid,
  .milestone-photo-grid {
    grid-template-columns: 1fr;
  }

  .milestone-slides {
    min-height: 360px;
  }

  .milestone-carousel-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-card summary {
    padding: 21px 22px;
  }

  .faq-answer {
    padding: 0 22px 22px;
  }

  .cta-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .section-head h2,
  .static-head h2,
  .page-hero-copy h1,
  .cta-panel h2 {
    font-size: clamp(2rem, 9vw, 3.15rem);
  }

  .content-card h2,
  .service-card h2,
  .panel-head h2 {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: .9rem;
  }

  .brand small {
    font-size: .7rem;
  }

  .site-header::before {
    border-radius: 24px;
  }

  .eyebrow {
    font-size: .68rem;
    letter-spacing: .08em;
  }

  .engine-node-two {
    right: 0;
  }

  .engine-node-three {
    left: 8%;
  }

  .content-card,
  .service-card,
  .feature-card,
  .process-card,
  .faq-card,
  .timeline-card,
  .quote-feature,
  .quote-card,
  .contact-form-panel,
  .info-card,
  .signal-card,
  .outcome-card,
  .cta-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .whatsapp-float {
    left: 16px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
/* Google Map Section */
.map-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-container iframe {
    width: 100%;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: none;
}

.map-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border-radius: 16px;
    text-decoration: none;
}
}

/* Deployment hotfix: keep The Coaching Shift balanced on live hosting. */
.immersion-layout {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  grid-template-areas:
    "copy copy"
    "steps stage";
}

.immersion-copy {
  justify-self: center;
  max-width: 980px;
  text-align: center;
}

.immersion-copy h2 {
  max-width: 860px;
}

.immersion-stage {
  min-width: 0;
}

.stage-readout {
  overflow: hidden;
}

.readout-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

@media (min-width: 900px) {
  .immersion-layout {
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr) !important;
    grid-template-areas:
      "copy copy"
      "steps stage" !important;
  }

  .immersion-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 899px) {
  .immersion-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "copy"
      "steps"
      "stage" !important;
  }

  .immersion-copy h2 {
    max-width: 100%;
  }
}

/* ============================================================
   MOBILE PERFORMANCE & SMOOTHNESS FIXES
   ============================================================ */

/* Promote animated elements to their own GPU layers */
.engine-orbit,
.engine-node,
.strip-track,
.site-loader img,
.clarity-engine {
  will-change: transform;
}

[data-reveal] {
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  will-change: auto;
}

/* Contain layout for heavy sections to limit repaint scope */
.hero-lab,
.kinetic-strip,
.immersion,
.story-intro {
  contain: layout style;
}

/* Smooth scrolling on iOS */
html {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
}

/* Touch devices: disable expensive backdrop-filter on cards and nodes */
@media (hover: none) {
  .proof-bar article,
  .signal-card,
  .outcome-card,
  .cta-panel,
  .page-mark,
  .content-card,
  .service-card,
  .feature-card,
  .timeline-card,
  .quote-feature,
  .quote-card,
  .contact-form-panel,
  .info-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .engine-node {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .engine-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Replace backdrop-filter header with solid bg on mobile */
  .site-header::before {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(247, 252, 255, 0.97);
  }

  /* Disable expensive hero decorative pseudo-elements on touch */
  .hero-lab::before,
  .hero-lab::after {
    display: none;
  }

  /* Disable scanSweep animation on touch (GPU hog) */
  .hero-scan {
    display: none;
  }

  /* Disable hero noise gradient on touch */
  .hero-noise {
    display: none;
  }

  /* Disable body cursor light gradient repaint on touch —
     use a simple static gradient instead */
  body::before {
    background:
      linear-gradient(rgba(33, 140, 230, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(33, 140, 230, 0.04) 1px, transparent 1px);
    background-size: 92px 92px, 92px 92px;
    mask-image: none;
  }

  /* Slow down orbit animations on touch to reduce GPU work */
  .engine-orbit-two {
    animation-duration: 48s;
  }

  .engine-orbit-three {
    animation-duration: 38s;
  }

  /* Slow nodeDrift slightly */
  .engine-node-one { animation-duration: 9s; }
  .engine-node-two { animation-duration: 10s; }
  .engine-node-three { animation-duration: 11s; }

  /* Disable tilt hover states on touch */
  .signal-card:hover,
  .outcome-card:hover {
    transform: none;
  }
}

/* Extra-small phones: hide canvas, disable most animations */
@media (max-width: 480px) {
  .motion-field {
    display: none;
  }

  /* Keep strip scroll but slow it slightly for readability */
  .strip-track {
    animation-duration: 40s;
  }

  /* Reduce prismDrift on the hero container */
  .hero-lab::before,
  .hero-lab::after {
    animation: none;
  }
}

/* Ensure buttons have large enough tap targets on mobile */
@media (hover: none) {
  .nav-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }

  .engine-node {
    min-width: 88px;
    min-height: 88px;
  }

  .journey-step {
    cursor: pointer;
  }
}

/* Smooth font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}
