/* AQUA-HOP — "Engineered Water" design system
   Palette derived from the AQUA-HOP logo: navy lettering, royal blue, leaf green.
   Green is an accent only (treated / positive states), never a surface colour. */

:root {
  --ah-ink: #0a1a2b;
  --ah-navy: #0f2e52;
  --ah-navy-2: #143a66;
  --ah-blue: #1766c8;
  --ah-blue-hover: #0f55ab;
  --ah-aqua: #3cc3e6;
  --ah-green: #4fae2e;
  --ah-paper: #ffffff;
  --ah-mist: #f2f5f7;
  --ah-line: #dce3e9;
  --ah-slate: #51606e;
  --ah-text: #0e1a26;
  --ah-on-dark: #e8eef3;
  --ah-on-dark-muted: #9fb0c0;
  --ah-line-dark: rgba(232, 238, 243, 0.14);

  --ah-font-head: var(--font-heading--family);
  --ah-font-body: var(--font-body--family);
  --ah-font-mono: var(--font-accent--family);

  --ah-gutter: clamp(16px, 4vw, 48px);
  --ah-max: 1240px;
  --ah-section-y: clamp(72px, 10vw, 136px);
  --ah-radius: 4px;
  --ah-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
.ah {
  font-family: var(--ah-font-body);
  color: var(--ah-text);
  background: var(--ah-paper);
  -webkit-font-smoothing: antialiased;
}
.ah *,
.ah *::before,
.ah *::after { box-sizing: border-box; }
.ah--mist { background: var(--ah-mist); }
.ah--dark { background: var(--ah-ink); color: var(--ah-on-dark); }
.ah--navy { background: var(--ah-navy); color: var(--ah-on-dark); }

.ah-wrap {
  width: 100%;
  max-width: calc(var(--ah-max) + 2 * var(--ah-gutter));
  margin-inline: auto;
  padding-inline: var(--ah-gutter);
}
.ah-section { padding-block: var(--ah-section-y); position: relative; }

.ah h1, .ah h2, .ah h3, .ah h4 {
  font-family: var(--ah-font-head);
  font-weight: var(--font-heading--weight, 600);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  color: inherit;
  text-wrap: balance;
}
.ah p { margin: 0; line-height: 1.65; text-wrap: pretty; }
.ah a { color: inherit; }

.ah-h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.ah-h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.ah-h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -0.01em; line-height: 1.25; }
.ah-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ah-slate); max-width: 62ch; }
.ah--dark .ah-lead, .ah--navy .ah-lead { color: var(--ah-on-dark-muted); }
.ah-muted { color: var(--ah-slate); }
.ah--dark .ah-muted, .ah--navy .ah-muted { color: var(--ah-on-dark-muted); }

/* Technical label: "01 — The Challenge" */
.ah-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ah-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ah-blue);
  margin-bottom: 20px;
}
.ah-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.ah--dark .ah-kicker, .ah--navy .ah-kicker { color: var(--ah-aqua); }

.ah-mono {
  font-family: var(--ah-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ah-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 780px; }
.ah-head--split {
  max-width: none;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .ah-head--split { grid-template-columns: 1.1fr 1fr; gap: 48px; }
}

/* ---------- Buttons ---------- */
.ah-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--ah-radius);
  font-family: var(--ah-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ah-ease), color 0.2s var(--ah-ease), border-color 0.2s var(--ah-ease);
  white-space: nowrap;
}
.ah-btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ah-ease); }
.ah-btn:hover svg { transform: translateX(3px); }
.ah-btn--primary,
.ah a.ah-btn--primary { background: var(--ah-blue); color: #fff; }
.ah-btn--primary:hover { background: var(--ah-blue-hover); }
.ah-btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.ah-btn--ghost:hover { background: rgba(127, 150, 170, 0.12); }
.ah-btn:focus-visible,
.ah a:focus-visible,
.ah input:focus-visible,
.ah select:focus-visible,
.ah textarea:focus-visible,
.ah summary:focus-visible {
  outline: 2px solid var(--ah-aqua);
  outline-offset: 3px;
}
.ah-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Reveal motion ---------- */
/* Hidden only once aqua.js has confirmed it can reveal them */
/* Uses the separate `translate` property so hover/tilt `transform`s on the same element still work */
.ah-js .ah-reveal { opacity: 0; translate: 0 18px; transition: opacity 0.8s var(--ah-ease), translate 0.8s var(--ah-ease), transform 0.45s var(--ah-ease), box-shadow 0.45s var(--ah-ease); }
.ah-js .ah-reveal.is-in { opacity: 1; translate: none; }
.ah-reveal[data-delay="1"] { transition-delay: 0.08s; }
.ah-reveal[data-delay="2"] { transition-delay: 0.16s; }
.ah-reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .ah-reveal { opacity: 1; translate: none; transition: none; }
  .ah-flow-dash { animation: none !important; }
}

/* ---------- Header ---------- */
/* Pin the whole header group: the section wrapper is only as tall as the
   header, so sticky on .ah-header itself has no room to stick. */
#header-group { position: sticky; top: 0; z-index: 60; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.ah[id] { scroll-margin-top: 72px; }

.ah-header {
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--ah-line);
}
.ah-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.ah-header__brand { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.ah-header__brand img { display: block; height: 26px; width: auto; }
.ah-header__brand span {
  font-family: var(--ah-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ah-slate);
  white-space: nowrap;
}
.ah-nav { display: none; }
.ah-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.ah-nav a {
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--ah-text);
  padding-block: 8px;
  background-image: linear-gradient(var(--ah-blue), var(--ah-blue));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s var(--ah-ease), color 0.2s;
}
.ah-nav a:hover,
.ah-nav a.is-current { color: var(--ah-blue); background-size: 100% 1px; }
.ah-nav a.is-current,
.ah-nav:not(:has(.is-current)) a[aria-current="page"] { color: var(--ah-blue); background-size: 100% 2px; }
.ah-header__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--ah-progress, 0));
  background: linear-gradient(90deg, var(--ah-blue), var(--ah-aqua) 70%, var(--ah-green));
  pointer-events: none;
}
.ah-header__cta { display: none; }

.ah-menu { position: relative; }
.ah-menu > summary {
  list-style: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
  border-radius: var(--ah-radius);
}
.ah-menu > summary::-webkit-details-marker { display: none; }
.ah-menu__icon { width: 22px; height: 14px; position: relative; }
.ah-menu__icon::before,
.ah-menu__icon::after,
.ah-menu__icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ah-text);
  transition: transform 0.3s var(--ah-ease), opacity 0.2s;
}
.ah-menu__icon::before { top: 0; }
.ah-menu__icon span { top: 6px; }
.ah-menu__icon::after { bottom: 0; }
.ah-menu[open] .ah-menu__icon::before { transform: translateY(6px) rotate(45deg); }
.ah-menu[open] .ah-menu__icon span { opacity: 0; }
.ah-menu[open] .ah-menu__icon::after { transform: translateY(-6px) rotate(-45deg); }
.ah-menu__panel {
  position: fixed;
  inset: 72px 0 auto 0;
  background: var(--ah-paper);
  border-bottom: 1px solid var(--ah-line);
  padding: 8px var(--ah-gutter) 28px;
  box-shadow: 0 24px 40px -24px rgba(10, 26, 43, 0.25);
}
.ah-menu__panel ul { list-style: none; margin: 0 0 20px; padding: 0; }
.ah-menu__panel li + li { border-top: 1px solid var(--ah-line); }
.ah-menu__panel a:not(.ah-btn) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--ah-text);
}
.ah-menu__panel .ah-btn { width: 100%; }
.ah-menu__panel a svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--ah-blue); }

/* Small screens: compact brand, no wrapping tagline */
@media (max-width: 599px) {
  .ah-header__bar { min-height: 64px; }
  .ah-header__brand img { height: 22px; }
  .ah-header__brand span { display: none; }
  .ah-menu__panel { inset: 64px 0 auto 0; max-height: calc(100dvh - 64px); overflow-y: auto; }
  .ah-hero .ah-hero__eyebrow i { display: none; }
  .ah-hero .ah-hero__eyebrow { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Small screens: show the schematic larger and pan slowly along the treatment train */
@media (max-width: 899px) {
  .ah-flow__viewport { overflow: hidden; margin-inline: calc(var(--ah-gutter) * -1); padding-inline: var(--ah-gutter); }
  .ah-flow .ah-flow__viewport svg { width: 190%; max-width: none; animation: ah-pan 16s ease-in-out infinite alternate; }
}
@keyframes ah-pan { 0%, 8% { transform: translateX(0); } 92%, 100% { transform: translateX(calc(-100% + 100vw - 2 * var(--ah-gutter))); } }
@media (prefers-reduced-motion: reduce) { .ah-flow .ah-flow__viewport svg { animation: none; width: 100%; } }

@media (min-width: 1024px) {
  .ah-nav { display: block; }
  .ah-header__cta { display: inline-flex; }
  .ah-menu { display: none; }
  .ah-header__brand img { height: 30px; }
}

/* ---------- Floating header (overrides the base header above) ---------- */
@property --ah-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
#header-group { pointer-events: none; }
body:has(.ah-hero, .ah-phero) #header-group { margin-bottom: -92px; }
.ah[id] { scroll-margin-top: 96px; }
.ah-header { background: transparent; border: 0; padding: 12px var(--ah-gutter) 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ah-header__float {
  pointer-events: auto;
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 22px 44px -20px rgba(10, 26, 43, 0.55), 0 2px 6px rgba(10, 26, 43, 0.08);
}
/* animated gradient ring */
.ah-header__float::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--ah-angle), #1766c8, #3cc3e6, #4fae2e, #3cc3e6, #1766c8);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ah-ring 8s linear infinite;
  pointer-events: none;
}
@keyframes ah-ring { to { --ah-angle: 360deg; } }
.ah-header__bar { min-height: 68px; padding: 0 10px 0 22px; gap: 18px; }
.ah-header__brand img { height: 30px; }
@media (min-width: 1024px) { .ah-header__brand img { height: 36px; } }
.ah-nav ul { gap: 4px; }
.ah-nav a {
  display: inline-block;
  padding: 9px 15px;
  border-radius: 999px;
  background-image: none !important;
  font-weight: 500;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.ah-nav a:hover { background-color: rgba(23, 102, 200, 0.09); color: var(--ah-blue); }
.ah-nav a.is-current,
.ah-nav:not(:has(.is-current)) a[aria-current="page"] { background-color: var(--ah-blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(23, 102, 200, 0.9); }
.ah-header__cta { border-radius: 12px; animation: ah-cta-glow 2.8s ease-in-out infinite; }
@keyframes ah-cta-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(23, 102, 200, 0.45); } 50% { box-shadow: 0 0 0 7px rgba(23, 102, 200, 0); } }
.ah-header__progress { left: 18px; right: 18px; width: auto; bottom: 0; border-radius: 2px; }
.ah-menu__panel { inset: 92px 12px auto 12px; border-radius: 16px; border: 0; box-shadow: 0 30px 60px -20px rgba(10, 26, 43, 0.5); }
@media (max-width: 599px) {
  .ah-header { padding-top: 8px; }
  .ah-header__bar { min-height: 60px; padding-left: 16px; }
  .ah-header__brand img { height: 26px; }
  .ah-menu__panel { inset: 80px 10px auto 10px; }
  body:has(.ah-hero, .ah-phero) #header-group { margin-bottom: -72px; }
}
.ah-hero__inner, .ah-phero__inner { padding-top: calc(clamp(56px, 8vw, 96px) + 88px) !important; }
@media (prefers-reduced-motion: reduce) { .ah-header__float::before, .ah-header__cta { animation: none; } }

/* ---------- Hero ---------- */
.ah-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(23, 102, 200, 0.28), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(60, 195, 230, 0.12), transparent 60%),
    var(--ah-ink);
  color: var(--ah-on-dark);
}
.ah-hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ah-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--ah-line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.ah-hero__inner {
  position: relative;
  display: grid;
  gap: 48px;
  padding-block: clamp(64px, 10vw, 128px) clamp(56px, 8vw, 96px);
}
.ah-hero__copy { display: grid; gap: 28px; max-width: 760px; }
.ah-hero__side { display: grid; gap: 28px; align-content: end; }
@media (min-width: 1024px) {
  .ah-hero__inner { gap: 40px; padding-block: 72px 64px; }
  .ah-hero__copy {
    max-width: none;
    grid-template-columns: 1.3fr 1fr;
    grid-template-areas: "eyebrow eyebrow" "title side";
    column-gap: clamp(40px, 5vw, 80px);
    row-gap: 24px;
    align-items: end;
  }
  .ah-hero__eyebrow { grid-area: eyebrow; }
  .ah-hero__copy .ah-h1 { grid-area: title; font-size: clamp(2.6rem, 4.6vw, 4.2rem); }
  .ah-hero__side { grid-area: side; padding-bottom: 6px; }
  .ah-hero__sub { font-size: 1.08rem; }
}
.ah-hero__eyebrow {
  font-family: var(--ah-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ah-aqua);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
.ah-hero__eyebrow b { color: #fff; font-weight: 500; }
.ah-hero__eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: var(--ah-green); display: inline-block; }
.ah-hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ah-on-dark-muted); max-width: 60ch; }
.ah-hero__sub strong { color: var(--ah-on-dark); font-weight: 500; }
.ah-hero .ah-btn--ghost { color: var(--ah-on-dark); border-color: rgba(232, 238, 243, 0.4); }
.ah-hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--ah-line-dark);
  margin: 0;
  position: relative;
}
.ah-hero__meta div { padding: 20px 20px 0 0; }
.ah-hero__meta dt { font-family: var(--ah-font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ah-on-dark-muted); margin-bottom: 6px; }
.ah-hero__meta dd { margin: 0; font-size: 0.98rem; }

/* Treatment-train schematic */
.ah-flow { position: relative; }
.ah-flow svg { display: block; width: 100%; height: auto; overflow: visible; }
.ah-flow__caption {
  margin-top: 14px;
  font-family: var(--ah-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ah-on-dark-muted);
}
.ah-flow__labels {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 12px;
}
@media (min-width: 900px) { .ah-flow__labels { grid-template-columns: repeat(6, 1fr); } }
.ah-flow__labels li {
  display: grid;
  gap: 4px;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--ah-on-dark);
  padding-top: 10px;
  border-top: 1px solid var(--ah-line-dark);
  hyphens: manual;
}
.ah-flow__labels span { font-family: var(--ah-font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--ah-aqua); }
.ah-flow__labels .is-out span { color: var(--ah-green); }
.ah-flow-dash { animation: ah-flow 1.6s linear infinite; }
.ah-flow-dash--slow { animation-duration: 2.4s; }
@keyframes ah-flow { to { stroke-dashoffset: -24; } }
.ah-flow-down { animation: ah-flow-down 1.8s linear infinite; }
@keyframes ah-flow-down { to { stroke-dashoffset: -20; } }

/* Each unit brightens as the lead particle passes (7s cycle, delay = --d) */
.ah-unit { animation: ah-unit 7s var(--d, 0s) infinite; }
@keyframes ah-unit {
  0%, 100% { stroke-opacity: 0.6; filter: none; }
  4% { stroke-opacity: 1; filter: drop-shadow(0 0 6px rgba(60, 195, 230, 0.55)); }
  14% { stroke-opacity: 0.6; filter: none; }
}
.ah-flow__labels li { animation: ah-label 7s var(--d, 0s) infinite; }
@keyframes ah-label {
  0%, 100% { border-top-color: var(--ah-line-dark); }
  4% { border-top-color: var(--ah-aqua); color: #fff; }
  16% { border-top-color: var(--ah-line-dark); }
}
.ah-flow__labels .is-out { animation-name: ah-label-out; }
@keyframes ah-label-out {
  0%, 100% { border-top-color: var(--ah-line-dark); }
  4% { border-top-color: var(--ah-green); color: #fff; }
  16% { border-top-color: var(--ah-line-dark); }
}
.ah-led { animation: ah-led 1.6s steps(2, jump-none) infinite; }
@keyframes ah-led { 50% { opacity: 0.25; } }
.ah-spark { animation: ah-spark 0.9s ease-in-out infinite alternate; }
@keyframes ah-spark { from { stroke-opacity: 0.2; } to { stroke-opacity: 1; } }

/* Hero: slow drifting water lines along the bottom edge */
.ah-hero__waves { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; overflow: hidden; pointer-events: none; opacity: 0.5; }
.ah-hero__waves svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.ah-hero__waves path { fill: none; stroke: var(--ah-aqua); stroke-width: 1; }
.ah-hero__waves .w1 { animation: ah-drift 22s linear infinite; stroke-opacity: 0.35; }
.ah-hero__waves .w2 { animation: ah-drift 34s linear infinite reverse; stroke-opacity: 0.22; }
.ah-hero__waves .w3 { animation: ah-drift 46s linear infinite; stroke-opacity: 0.14; }
@keyframes ah-drift { to { transform: translateX(-50%); } }

/* Hero: soft light that follows the pointer on desktop */
.ah-hero__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  left: 0;
  top: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 195, 230, 0.16), transparent 65%);
  transform: translate(calc(var(--mx, 70vw) - 50%), calc(var(--my, 30%) - 50%));
  transition: transform 0.9s var(--ah-ease);
  pointer-events: none;
}

/* Word-by-word heading reveal */
.ah-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ah-w > span { display: inline-block; }
.ah-js .ah-split .ah-w > span { transform: translateY(105%); transition: transform 0.9s var(--ah-ease); transition-delay: calc(var(--i) * 45ms); }
.ah-js .ah-split.is-in .ah-w > span { transform: none; }
.ah-js .ah-split.ah-reveal { opacity: 1; translate: none; }

/* ---------- Cards / grids ---------- */
.ah-grid { display: grid; gap: 1px; background: var(--ah-line); border: 1px solid var(--ah-line); }
.ah-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .ah-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ah-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.ah-cell { background: var(--ah-paper); padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.ah--mist .ah-cell { background: var(--ah-paper); }
.ah-cell__num { font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--ah-blue); }
.ah-cell p { color: var(--ah-slate); font-size: 0.98rem; }

/* Compliance note */
.ah-note {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  border-left: 3px solid var(--ah-blue);
  background: var(--ah-paper);
}
@media (min-width: 900px) { .ah-note { grid-template-columns: 240px 1fr; gap: 48px; } }
.ah-note__refs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ah-tag {
  font-family: var(--ah-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border: 1px solid var(--ah-line);
  border-radius: 2px;
  color: var(--ah-slate);
  background: var(--ah-mist);
}
.ah--dark .ah-tag, .ah--navy .ah-tag { border-color: var(--ah-line-dark); background: transparent; color: var(--ah-on-dark-muted); }

/* ---------- Technology ---------- */
.ah-stages { display: grid; gap: 0; counter-reset: stage; border-top: 1px solid var(--ah-line-dark); }
.ah-stage {
  display: grid;
  gap: 14px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ah-line-dark);
}
@media (min-width: 900px) {
  .ah-stage { grid-template-columns: 90px 1.1fr 1.4fr; gap: 32px; align-items: start; padding: 32px 0; }
}
.ah-stage__num { font-family: var(--ah-font-mono); font-size: 0.8rem; letter-spacing: 0.12em; color: var(--ah-aqua); padding-top: 4px; }
.ah-stage__title { display: grid; gap: 8px; }
.ah-stage__title small { font-family: var(--ah-font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ah-on-dark-muted); }
.ah-stage__body { display: grid; gap: 14px; }
.ah-stage__body p { color: var(--ah-on-dark-muted); }
.ah-stage__targets { display: flex; flex-wrap: wrap; gap: 6px; }

.ah-tech-media { display: grid; gap: 24px; margin-top: clamp(48px, 7vw, 88px); }
@media (min-width: 900px) { .ah-tech-media { grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; } }

.ah-figure { margin: 0; }
.ah-figure__img { position: relative; overflow: hidden; border-radius: var(--ah-radius); background: var(--ah-navy); }
.ah-figure__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ah-ease); }
.ah-figure:hover .ah-figure__img img { transform: scale(1.03); }
.ah-figure figcaption { margin-top: 12px; font-size: 0.82rem; color: var(--ah-slate); display: flex; gap: 10px; align-items: baseline; }
.ah--dark .ah-figure figcaption, .ah--navy .ah-figure figcaption { color: var(--ah-on-dark-muted); }
.ah-figure figcaption .ah-mono { color: var(--ah-blue); flex-shrink: 0; }
.ah--dark .ah-figure figcaption .ah-mono, .ah--navy .ah-figure figcaption .ah-mono { color: var(--ah-aqua); }

/* Comparison table */
.ah-compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.ah-compare caption { text-align: left; margin-bottom: 18px; }
.ah-compare th, .ah-compare td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--ah-line-dark); vertical-align: top; }
.ah-compare thead th { font-family: var(--ah-font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ah-on-dark-muted); font-weight: 400; }
.ah-compare tbody th { font-weight: 500; color: var(--ah-on-dark); width: 26%; }
.ah-compare td { color: var(--ah-on-dark-muted); }
.ah-compare td:last-child { color: var(--ah-on-dark); }
.ah-compare td:last-child::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ah-green); margin-right: 10px; vertical-align: middle; }
.ah-compare-note { margin-top: 16px; font-size: 0.8rem; color: var(--ah-on-dark-muted); }
@media (max-width: 699px) {
  .ah-compare thead { display: none; }
  .ah-compare tr { display: grid; padding: 16px 0; border-bottom: 1px solid var(--ah-line-dark); }
  .ah-compare th, .ah-compare td { border: 0; padding: 4px 0; width: auto; }
  .ah-compare td::after { content: attr(data-label); display: block; font-family: var(--ah-font-mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ah-on-dark-muted); opacity: 0.7; margin-top: 2px; }
}

/* ---------- Solutions ---------- */
.ah-solutions { display: grid; gap: 48px; }
@media (min-width: 1024px) { .ah-solutions { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; } }
.ah-service { display: grid; gap: 10px; padding: 28px 0; border-top: 1px solid var(--ah-line); }
@media (min-width: 700px) { .ah-service { grid-template-columns: 64px 1fr; gap: 24px; } }
.ah-service:last-of-type { border-bottom: 1px solid var(--ah-line); }
.ah-service__num { font-family: var(--ah-font-mono); font-size: 0.8rem; color: var(--ah-blue); padding-top: 4px; }
.ah-service p { color: var(--ah-slate); margin-top: 8px; }
.ah-service ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.ah-callout { margin-top: 32px; padding: 24px; background: var(--ah-mist); border-radius: var(--ah-radius); display: grid; gap: 12px; }
.ah-callout p { color: var(--ah-slate); font-size: 0.95rem; }
.ah-solutions .ah-figure__img { aspect-ratio: 4 / 5; }
@media (min-width: 1024px) { .ah-solutions__media { position: sticky; top: 104px; } }

/* ---------- Industries ---------- */
.ah-industries { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ah-line); }
.ah-industry {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ah-line);
  transition: padding-left 0.35s var(--ah-ease);
}
@media (min-width: 800px) { .ah-industry { grid-template-columns: 64px 1fr 1.3fr; align-items: baseline; padding: 28px 0; } }
.ah-industry:hover { padding-left: 12px; }
.ah-industry__num { font-family: var(--ah-font-mono); font-size: 0.75rem; color: var(--ah-blue); }
.ah-industry h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.ah-industry p { grid-column: 2; color: var(--ah-slate); }
@media (min-width: 800px) { .ah-industry p { grid-column: auto; } }

/* ---------- Projects ---------- */
.ah-project { display: grid; gap: 0; background: var(--ah-paper); border: 1px solid var(--ah-line); border-radius: var(--ah-radius); overflow: hidden; }
@media (min-width: 900px) { .ah-project { grid-template-columns: 7fr 5fr; } }
.ah-project__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ah-navy); }
@media (min-width: 900px) { .ah-project__media { aspect-ratio: auto; min-height: 420px; } }
.ah-project__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ah-project__body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; align-content: start; }
.ah-specs { display: grid; margin: 0; border-top: 1px solid var(--ah-line); }
.ah-specs div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ah-line); }
.ah-specs dt { font-family: var(--ah-font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ah-slate); padding-top: 3px; }
.ah-specs dd { margin: 0; }
.ah-gallery { display: grid; gap: 16px; margin-top: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .ah-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ah-gallery:has(> :nth-child(3)) { grid-template-columns: repeat(3, 1fr); } }
.ah-gallery .ah-figure__img { aspect-ratio: 16 / 10; }
.ah-gallery > :only-child { grid-column: 1 / -1; }
@media (min-width: 700px) { .ah-gallery > :only-child .ah-figure__img { aspect-ratio: 21 / 8; } }
.ah-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ah-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ah-slate);
}
.ah-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ah-green); }

/* Laboratory results */
.ah-labs { margin-top: clamp(48px, 7vw, 80px); display: grid; gap: 28px; }
.ah-labs__head { display: grid; gap: 10px; max-width: 640px; }
.ah-labs__grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .ah-labs__grid { grid-template-columns: repeat(2, 1fr); } }
.ah-lab { display: grid; gap: 18px; align-content: start; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--ah-line); border-top: 3px solid var(--ah-green); border-radius: var(--ah-radius); background: var(--ah-paper); }
.ah-lab__head { display: grid; gap: 10px; }
.ah-lab__table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.ah-lab__table th, .ah-lab__table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ah-line); vertical-align: top; }
.ah-lab__table thead th { font-family: var(--ah-font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ah-slate); font-weight: 400; }
.ah-lab__table tbody th { font-weight: 500; }
.ah-lab__table td:nth-child(2) { font-variant-numeric: tabular-nums; color: var(--ah-navy); font-weight: 500; }
.ah-lab__table td:last-child { color: var(--ah-slate); }
.ah-lab .ah-btn { justify-self: start; color: var(--ah-blue); }
.ah-lab__note { font-size: 0.78rem; color: var(--ah-slate); padding-top: 14px; border-top: 1px dashed var(--ah-line); }

/* ---------- Pillars ---------- */
.ah-pillars { display: grid; gap: 1px; background: var(--ah-line-dark); border-block: 1px solid var(--ah-line-dark); }
@media (min-width: 900px) { .ah-pillars { grid-template-columns: repeat(3, 1fr); } }
.ah-pillar { background: var(--ah-navy); padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.ah-pillar svg { width: 40px; height: 40px; color: var(--ah-aqua); }
.ah-pillar p { color: var(--ah-on-dark-muted); }

/* ---------- JEMAN ---------- */
.ah-about { display: grid; gap: 40px; }
@media (min-width: 1024px) { .ah-about { grid-template-columns: 5fr 7fr; gap: 80px; } }
.ah-lockup { display: grid; gap: 10px; padding: 32px 0; border-block: 1px solid var(--ah-line); }
.ah-lockup img { width: min(320px, 100%); height: auto; }
.ah-lockup span { font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ah-slate); }
.ah-lockup strong { font-weight: 500; color: var(--ah-text); }
.ah-poweredby { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.ah-lockup .ah-poweredby img { width: 52px; height: auto; flex-shrink: 0; }
.ah-about__body { display: grid; gap: 22px; }
.ah-about__body p { color: var(--ah-slate); font-size: 1.05rem; }
.ah-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--ah-line); border: 1px solid var(--ah-line); margin-top: 8px; }
.ah-fact { background: var(--ah-paper); padding: 24px; display: grid; gap: 6px; }
.ah-fact b { font-family: var(--ah-font-head); font-size: 2.2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ah-navy); line-height: 1; }
.ah-fact span { font-size: 0.9rem; color: var(--ah-slate); }

/* ---------- Social ---------- */
.ah-social { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ah-line); border: 1px solid var(--ah-line); }
@media (min-width: 900px) { .ah-social { grid-template-columns: repeat(4, 1fr); } }
.ah-social a {
  background: var(--ah-paper);
  padding: 28px 24px;
  display: grid;
  gap: 18px;
  text-decoration: none;
  min-height: 150px;
  align-content: space-between;
  transition: background-color 0.25s var(--ah-ease), color 0.25s var(--ah-ease);
}
.ah-social a:hover { background: var(--ah-navy); color: var(--ah-on-dark); }
.ah-social svg { width: 28px; height: 28px; }
.ah-social strong { display: block; font-weight: 500; font-size: 1.05rem; }
.ah-social small { display: block; font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ah-slate); margin-top: 4px; word-break: break-all; }
.ah-social a:hover small { color: var(--ah-on-dark-muted); }

/* ---------- Inquiry ---------- */
.ah-inquiry { display: grid; gap: 48px; }
@media (min-width: 1024px) { .ah-inquiry { grid-template-columns: 5fr 7fr; gap: 80px; } }
.ah-inquiry__intro { display: grid; gap: 24px; align-content: start; }
.ah-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ah-line-dark); }
.ah-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--ah-line-dark); color: var(--ah-on-dark-muted); }
.ah-steps li span { font-family: var(--ah-font-mono); font-size: 0.75rem; color: var(--ah-aqua); padding-top: 3px; }

.ah-contact { display: grid; gap: 0; margin: 8px 0 0; }
.ah-contact div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ah-line-dark); }
.ah-contact dt { font-family: var(--ah-font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ah-on-dark-muted); padding-top: 3px; }
.ah-contact dd { margin: 0; }
.ah-contact a { text-decoration: none; border-bottom: 1px solid rgba(60, 195, 230, 0.4); transition: border-color 0.2s, color 0.2s; }
.ah-contact a:hover { color: var(--ah-aqua); border-color: var(--ah-aqua); }
.ah-footer .ah-contact { margin-top: 20px; }
.ah-footer .ah-contact a { padding: 0; display: inline; }

.ah-form { display: grid; gap: 18px; background: var(--ah-paper); color: var(--ah-text); padding: clamp(24px, 4vw, 44px); border-radius: var(--ah-radius); }
.ah-form__row { display: grid; gap: 18px; }
@media (min-width: 700px) { .ah-form__row--2 { grid-template-columns: 1fr 1fr; } }
.ah-field { display: grid; gap: 8px; }
.ah-field label, .ah-field legend { font-size: 0.85rem; font-weight: 500; }
.ah-field label small { font-weight: 400; color: var(--ah-slate); }
.ah-field input,
.ah-field select,
.ah-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--ah-text);
  background: var(--ah-mist);
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius);
  transition: border-color 0.2s, background-color 0.2s;
}
.ah-field textarea { min-height: 120px; resize: vertical; }
.ah-field input:focus, .ah-field select:focus, .ah-field textarea:focus { border-color: var(--ah-blue); background: var(--ah-paper); outline: none; }
.ah-choice { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.ah-choice legend { margin-bottom: 8px; }
.ah-choice label { position: relative; }
.ah-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ah-choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius);
  font-size: 0.92rem;
  cursor: pointer;
  background: var(--ah-mist);
  transition: all 0.2s;
}
.ah-choice input:checked + span { border-color: var(--ah-blue); background: rgba(23, 102, 200, 0.08); color: var(--ah-blue); }
.ah-choice input:focus-visible + span { outline: 2px solid var(--ah-aqua); outline-offset: 2px; }
.ah-form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.ah-form__foot p { font-size: 0.8rem; color: var(--ah-slate); max-width: 40ch; }
.ah-form__msg { padding: 14px 16px; border-radius: var(--ah-radius); font-size: 0.95rem; }
.ah-form__msg--ok { background: rgba(79, 174, 46, 0.1); color: #2b6b16; border: 1px solid rgba(79, 174, 46, 0.35); }
.ah-form__msg--err { background: #fdecec; color: #8a1c1c; border: 1px solid #f3c2c2; }

/* ---------- Footer (light, so the full-colour logo reads as designed) ---------- */
.ah-footer { background: var(--ah-mist); color: var(--ah-text); padding-block: clamp(56px, 8vw, 96px) 32px; border-top: 1px solid var(--ah-line); }
.ah-footer__top { display: grid; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--ah-line); }
@media (min-width: 900px) { .ah-footer__top { grid-template-columns: 5fr 3fr 4fr; } }
.ah-footer__brand { display: grid; gap: 14px; align-content: start; }
.ah-footer__logo { width: 200px; height: auto; margin-bottom: 6px; }
.ah-footer__brand p { color: var(--ah-slate); font-size: 0.95rem; }
.ah-footer__brand .ah-mono { color: var(--ah-slate); }
.ah-footer__tagline { font-family: var(--ah-font-head); font-size: 1.35rem !important; letter-spacing: -0.01em; color: var(--ah-navy) !important; }
.ah-footer .ah-poweredby { display: flex; align-items: center; gap: 12px; line-height: 1.5; }
.ah-footer .ah-poweredby img { width: 36px; height: auto; flex-shrink: 0; }
.ah-footer h2 { font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ah-slate); font-weight: 400; margin-bottom: 16px; }
.ah-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ah-footer__nav ul { grid-template-columns: 1fr 1fr; }
.ah-footer a { text-decoration: none; color: var(--ah-text); display: inline-block; padding: 6px 0; transition: color 0.2s; }
.ah-footer a:hover { color: var(--ah-blue); }
.ah-footer .ah-contact div { border-bottom-color: var(--ah-line); }
.ah-footer .ah-contact dt { color: var(--ah-slate); }
.ah-footer .ah-contact a { border-bottom-color: rgba(23, 102, 200, 0.35); }
.ah-footer__social { display: flex; gap: 8px; margin-top: 20px; }
.ah-footer__social a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius);
  background: var(--ah-paper);
  transition: border-color 0.2s, color 0.2s, transform 0.3s var(--ah-ease);
}
.ah-footer__social a:hover { border-color: var(--ah-blue); transform: translateY(-3px); }
.ah-footer__social svg { width: 20px; height: 20px; }
.ah-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 28px; font-size: 0.82rem; color: var(--ah-slate); }
.ah-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.ah-footer__bottom a { color: var(--ah-slate); padding: 4px 0; }

/* ---------- Inner pages ---------- */

/* Page hero */
.ah-phero { position: relative; overflow: hidden; background: radial-gradient(1000px 500px at 90% 0%, rgba(23, 102, 200, 0.3), transparent 60%), var(--ah-ink); color: var(--ah-on-dark); }
.ah-phero__inner { position: relative; display: grid; gap: 28px; padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 88px); }
.ah-crumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ah-on-dark-muted); }
.ah-crumbs li + li::before { content: "/"; margin-right: 10px; opacity: 0.5; }
.ah-crumbs a { text-decoration: none; }
.ah-crumbs a:hover { color: var(--ah-aqua); }
.ah-phero__grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .ah-phero__grid { grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; } }
.ah-phero .ah-h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.ah-phero__intro { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ah-on-dark-muted); max-width: 56ch; }
.ah-phero .ah-flow { margin-top: 24px; }

/* Brand architecture */
.ah-arch { display: grid; gap: 0; max-width: 820px; margin-inline: auto; position: relative; }
.ah-arch__tier { position: relative; display: grid; gap: 8px; padding: 28px 32px; background: var(--ah-paper); border: 1px solid var(--ah-line); border-radius: var(--ah-radius); text-align: center; justify-items: center; }
.ah-arch__tier.is-primary { border-color: var(--ah-blue); box-shadow: 0 24px 48px -32px rgba(23, 102, 200, 0.55); }
.ah-arch__tier img { width: min(300px, 80%); height: auto; }
.ah-arch__tier strong { font-family: var(--ah-font-head); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 600; letter-spacing: -0.01em; }
.ah-arch__tier p { color: var(--ah-slate); max-width: 52ch; font-size: 0.98rem; }
.ah-arch__link { height: 56px; width: 2px; margin-inline: auto; position: relative; background: var(--ah-line); overflow: hidden; }
.ah-arch__link::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: linear-gradient(180deg, transparent, var(--ah-aqua), transparent); animation: ah-drop 1.8s var(--ah-ease) infinite; }
@keyframes ah-drop { to { top: 100%; } }

/* Columns (mission / vision etc.) */
.ah-cols { display: grid; gap: 1px; background: var(--ah-line); border: 1px solid var(--ah-line); }
@media (min-width: 900px) { .ah-cols { grid-template-columns: repeat(var(--cols, 2), 1fr); } }
.ah-col { background: var(--ah-paper); padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; align-content: start; }
.ah-col__label { font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ah-blue); }
.ah-col .ah-rte { color: var(--ah-slate); font-size: 1.02rem; }
.ah-col .ah-rte p + p { margin-top: 12px; }
.ah-col .ah-rte ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.ah--dark .ah-cols, .ah--navy .ah-cols { background: var(--ah-line-dark); border-color: var(--ah-line-dark); }
.ah--dark .ah-col, .ah--navy .ah-col { background: transparent; }
.ah--dark .ah-col .ah-rte, .ah--navy .ah-col .ah-rte { color: var(--ah-on-dark-muted); }
.ah--dark .ah-col__label, .ah--navy .ah-col__label { color: var(--ah-aqua); }

/* Stage explorer (tabs) */
.ah-explorer { display: grid; gap: 24px; }
@media (min-width: 1024px) { .ah-explorer { grid-template-columns: 320px 1fr; gap: 48px; align-items: start; } }
.ah-explorer__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--ah-gutter) * -1); padding-inline: var(--ah-gutter); }
.ah-explorer__tabs::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .ah-explorer__tabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; position: sticky; top: 104px; } }
.ah-tab {
  position: relative;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 4px 12px;
  text-align: left;
  padding: 16px 18px;
  border: 1px solid var(--ah-line-dark);
  border-radius: var(--ah-radius);
  background: transparent;
  color: var(--ah-on-dark-muted);
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.ah-tab span { font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--ah-aqua); }
.ah-tab strong { font-weight: 500; font-size: 0.98rem; white-space: nowrap; }
.ah-tab:hover { color: var(--ah-on-dark); border-color: rgba(60, 195, 230, 0.4); }
.ah-tab[aria-selected="true"] { color: #fff; border-color: var(--ah-aqua); background: rgba(60, 195, 230, 0.08); }
.ah-tab__timer { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--ah-aqua); transform-origin: 0 50%; transform: scaleX(0); }
.ah-explorer.is-auto .ah-tab[aria-selected="true"] .ah-tab__timer { animation: ah-timer var(--ah-auto, 7s) linear forwards; }
@keyframes ah-timer { to { transform: scaleX(1); } }
.ah-panel { display: grid; gap: 24px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--ah-line-dark); border-radius: var(--ah-radius); background: rgba(255, 255, 255, 0.02); }
.ah-panel[hidden] { display: none; }
.ah-panel.is-shown { animation: ah-panel-in 0.6s var(--ah-ease); }
@keyframes ah-panel-in { from { opacity: 0; transform: translateY(12px); } }
.ah-panel__head { display: grid; gap: 10px; }
.ah-panel__head small { font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ah-aqua); }
.ah-panel .ah-rte { color: var(--ah-on-dark-muted); font-size: 1.02rem; }
.ah-panel .ah-rte p + p { margin-top: 12px; }
.ah-panel__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--ah-line-dark); }
.ah-panel__steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ah-line-dark); color: var(--ah-on-dark); opacity: 0; transform: translateX(-8px); animation: ah-step-in 0.5s var(--ah-ease) forwards; animation-delay: calc(var(--i) * 90ms + 0.15s); }
.ah-panel__steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--ah-font-mono); font-size: 0.75rem; color: var(--ah-aqua); padding-top: 3px; }
@keyframes ah-step-in { to { opacity: 1; transform: none; } }
.ah-js .ah-explorer:not(.is-in) .ah-panel__steps li { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ah-panel__steps li { opacity: 1; transform: none; animation: none; }
  .ah-panel.is-shown { animation: none; }
  .ah-arch__link::after, .ah-cta__flow path { animation: none; }
}
.ah-panel__foot { display: grid; gap: 10px; }

/* Data table */
.ah-table-wrap { overflow-x: auto; border: 1px solid var(--ah-line); border-radius: var(--ah-radius); background: var(--ah-paper); }
.ah-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 620px; }
.ah-table th, .ah-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--ah-line); vertical-align: top; }
.ah-table thead th { font-family: var(--ah-font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ah-slate); font-weight: 400; background: var(--ah-mist); }
.ah-table tbody th { font-weight: 500; white-space: nowrap; }
.ah-table tbody tr { transition: background-color 0.2s; }
.ah-table tbody tr:hover { background: rgba(23, 102, 200, 0.04); }
.ah-table tbody tr:last-child > * { border-bottom: 0; }
.ah-table td:nth-child(2) { color: var(--ah-navy); }
.ah-table td:last-child { color: var(--ah-slate); }
.ah-table-note { margin-top: 16px; font-size: 0.82rem; color: var(--ah-slate); max-width: 90ch; }

/* CTA band */
.ah-cta { position: relative; overflow: hidden; background: var(--ah-navy); color: var(--ah-on-dark); }
.ah-cta__inner { position: relative; display: grid; gap: 28px; padding-block: clamp(64px, 9vw, 112px); }
@media (min-width: 900px) { .ah-cta__inner { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 64px; } }
.ah-cta__inner p { color: var(--ah-on-dark-muted); font-size: 1.1rem; max-width: 52ch; }
.ah-cta .ah-btn--ghost { color: var(--ah-on-dark); border-color: rgba(232, 238, 243, 0.4); }
.ah-cta__flow { position: absolute; inset: 0; pointer-events: none; opacity: 0.35; }
.ah-cta__flow svg { width: 100%; height: 100%; }
.ah-cta__flow path { fill: none; stroke: var(--ah-aqua); stroke-width: 1; stroke-dasharray: 2 12; animation: ah-flow 2.2s linear infinite; }

/* "Learn more" link under homepage section heads */
.ah-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; color: var(--ah-blue); padding-block: 6px; border-bottom: 1px solid currentColor; justify-self: start; width: fit-content; }
.ah--dark .ah-more, .ah--navy .ah-more { color: var(--ah-aqua); }
.ah-more svg { width: 14px; height: 14px; transition: transform 0.25s var(--ah-ease); }
.ah-more:hover svg { transform: translateX(4px); }

/* ---------- Issue illustrations (challenge cards) ---------- */
.ah-cell--art { padding: 0; gap: 0; overflow: hidden; }
.ah-cell--art .ah-cell__body { display: grid; gap: 12px; padding: clamp(22px, 3vw, 32px); }
.ah-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.ah-art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.6s var(--ah-ease); }
.ah-cell--art:hover .ah-art svg { transform: scale(1.05); }
.ah-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(15, 46, 82, 0.08); }
.ah-art--odour { background: linear-gradient(160deg, #fff6dc, #fddc9a); }
.ah-art--grease { background: linear-gradient(160deg, #fff0d6, #ffc877); }
.ah-art--solids { background: linear-gradient(160deg, #e9f4fd, #b9daf3); }
.ah-art--unstable { background: linear-gradient(160deg, #ffeceb, #ffbfb8); }
.ah-art--space { background: linear-gradient(160deg, #efeaff, #c5bbff); }
.ah-art--ageing { background: linear-gradient(160deg, #e2f6f1, #a9e0d3); }
.ah-cell--art .ah-cell__num { display: inline-flex; align-items: center; gap: 8px; }
.ah-cell--art .ah-cell__num::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--art, var(--ah-blue)); }
.ah-cell--art:has(.ah-art--odour) { --art: #d99a1e; }
.ah-cell--art:has(.ah-art--grease) { --art: #f08c00; }
.ah-cell--art:has(.ah-art--solids) { --art: #2f86c9; }
.ah-cell--art:has(.ah-art--unstable) { --art: #e5484d; }
.ah-cell--art:has(.ah-art--space) { --art: #6a5cc7; }
.ah-cell--art:has(.ah-art--ageing) { --art: #1f9e84; }
.ah-cell--art::before { background: var(--art, var(--ah-blue)); height: 3px; z-index: 1; }

/* scene motion */
.ah-art svg * { transform-box: fill-box; }
/* explicit pixel pivots are given in drawing coordinates */
.ah-art svg [style*="transform-origin"] { transform-box: view-box; }
.art-center { transform-origin: center; }
.art-rise { animation: art-rise 2.4s ease-in infinite; }
@keyframes art-rise { 0% { transform: translateY(8px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-26px); opacity: 0; } }
.art-drift { animation: art-drift 3s ease-in-out infinite; }
@keyframes art-drift { 0% { transform: translateX(-10px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateX(26px); opacity: 0; } }
.art-pop { transform-origin: center; animation: art-pop 1.8s ease-out infinite; }
@keyframes art-pop { 0% { transform: scale(0.2); opacity: 0; } 60% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.art-glow { animation: art-glow 3s ease-in-out infinite alternate; transform-origin: center; }
@keyframes art-glow { to { transform: scale(1.12); opacity: 0.8; } }
.art-drop { animation: art-drop 2.1s ease-in infinite; }
@keyframes art-drop { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(40px); opacity: 0; } }
.art-choke { transform-origin: center; animation: art-choke 3.2s ease-in-out infinite alternate; }
@keyframes art-choke { from { transform: scale(1); } to { transform: scale(0.72); } }
.art-orbit { animation: art-orbit 9s linear infinite; }
.art-orbit--rev { animation-direction: reverse; animation-duration: 6s; }
@keyframes art-orbit { to { transform: rotate(360deg); } }
.art-beam { animation: art-beam 2.6s ease-in-out infinite alternate; }
@keyframes art-beam { from { opacity: 0.55; } to { opacity: 1; } }
.art-draw { stroke-dasharray: 420; stroke-dashoffset: 420; animation: art-draw 4s ease-in-out infinite; }
@keyframes art-draw { 0% { stroke-dashoffset: 420; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -420; } }
.art-alert { transform-origin: center; animation: art-alert 1s ease-in-out infinite alternate; }
@keyframes art-alert { from { transform: scale(0.85); opacity: 0.6; } to { transform: scale(1.1); opacity: 1; } }
.art-wobble { transform-origin: center bottom; animation: art-wobble 1.6s ease-in-out infinite alternate; }
@keyframes art-wobble { from { transform: rotate(-6deg) scaleY(0.95); } to { transform: rotate(6deg) scaleY(1.05); } }
.art-blink { animation: art-blink 2.8s steps(2, jump-none) infinite; }
@keyframes art-blink { 50% { opacity: 0.25; } }
.art-bob { animation: art-bob 2.6s ease-in-out infinite; }
@keyframes art-bob { 0%, 100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(22px) rotate(0); } 55% { transform: translateY(18px) rotate(-2deg); } 70% { transform: translateY(20px) rotate(2deg); } }
.art-needle { transform-origin: 50% 100%; animation: art-needle 3s ease-in-out infinite; }
@keyframes art-needle { 0%, 20% { transform: rotate(40deg); } 70%, 85% { transform: rotate(-62deg); } 100% { transform: rotate(40deg); } }
.art-drip { animation: art-drip 1.8s ease-in infinite; }
@keyframes art-drip { 0% { transform: translateY(0) scaleY(0.6); opacity: 0; } 15% { opacity: 1; transform: translateY(0) scaleY(1); } 100% { transform: translateY(34px); opacity: 0.2; } }
.art-ripple { transform-origin: center; animation: art-ripple 1.8s ease-out infinite; }
@keyframes art-ripple { from { transform: scale(0.4); opacity: 1; } to { transform: scale(3); opacity: 0; } }

.art-flow { animation: art-flow 1.4s linear infinite; }
@keyframes art-flow { to { stroke-dashoffset: -28; } }
.art-sway { animation: art-sway 3.2s ease-in-out infinite alternate; }
@keyframes art-sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.art-wave { animation: art-wave 4s linear infinite; }
.art-wave--slow { animation-duration: 6.5s; animation-direction: reverse; }
@keyframes art-wave { to { transform: translateX(-40px); } }
.art-puff { transform-origin: center; animation: art-puff 2.4s ease-out infinite; }
@keyframes art-puff { 0% { transform: translate(0, 8px) scale(0.4); opacity: 0; } 25% { opacity: 0.95; } 100% { transform: translate(14px, -24px) scale(1.5); opacity: 0; } }

/* ---------- Inquiry thank-you panel ---------- */
.ah-form[hidden], .ah-form-wrap .ah-form[hidden] { display: none !important; }
.ah-form-wrap { align-self: start; }
.ah-form-wrap .ah-thanks { position: relative; z-index: 1; }
.ah-thanks {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 12px;
  background: #fff;
  color: var(--ah-text);
  outline: none;
  animation: ah-panel-in 0.6s var(--ah-ease);
}
.ah-thanks__icon svg { width: 56px; height: 56px; }
.ah-thanks__icon circle { fill: rgba(79, 174, 46, 0.12); stroke: var(--ah-green); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: ah-draw 0.8s var(--ah-ease) forwards; }
.ah-thanks__icon path { fill: none; stroke: var(--ah-green); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: ah-draw 0.5s var(--ah-ease) 0.6s forwards; }
@keyframes ah-draw { to { stroke-dashoffset: 0; } }
.ah-thanks .ah-h3 { color: var(--ah-navy); }
.ah-thanks p { color: var(--ah-slate); }
.ah-thanks__summary { width: 100%; margin: 4px 0 6px; display: grid; border-top: 1px solid var(--ah-line); }
.ah-thanks__summary div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ah-line); }
@media (max-width: 599px) { .ah-thanks__summary div { grid-template-columns: 1fr; gap: 2px; } }
.ah-thanks__summary dt { font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ah-slate); padding-top: 2px; }
.ah-thanks__summary dd { margin: 0; overflow-wrap: anywhere; }
.ah-thanks .ah-btn--ghost { color: var(--ah-blue); }
.ah-form button.ah-send.is-sending { opacity: 0.8; cursor: progress; animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ah-thanks__icon circle, .ah-thanks__icon path { animation: none; stroke-dashoffset: 0; } }

/* ---------- Developer signature (Phoenix) ---------- */
.ah-credit {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  background:
    radial-gradient(600px 160px at 12% 50%, rgba(255, 196, 64, 0.16), transparent 70%),
    linear-gradient(90deg, #0b0906, #16110a 50%, #0b0906);
  border-top: 1px solid rgba(255, 196, 64, 0.35);
  color: #f3e7c7;
  overflow: hidden;
}
.ah-credit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 214, 120, 0.14) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: ah-credit-sheen 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ah-credit-sheen { 0%, 60% { transform: translateX(-100%); } 90%, 100% { transform: translateX(100%); } }
.ah-footer { padding-bottom: 0; }
.ah-footer__bottom { padding-bottom: 28px; }
.ah-credit__inner { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 20px; padding-block: 18px; }
@media (min-width: 900px) { .ah-credit__inner { grid-template-columns: auto 1fr auto; } }
.ah-credit__mark { width: 52px; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 196, 64, 0.4), 0 10px 22px -10px rgba(255, 170, 40, 0.7); transition: transform 0.5s var(--ah-ease); }
.ah-credit:hover .ah-credit__mark { transform: translateY(-3px) scale(1.06); }
.ah-credit__copy { display: grid; gap: 4px; min-width: 0; }
.ah-credit .ah-credit__hook { font-size: 0.98rem; color: #f3e7c7; line-height: 1.4; }
.ah-credit__hook strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ffe6a3, #e0a93a 60%, #b8791d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ah-credit .ah-credit__sub { font-size: 0.82rem; color: #bfae86; }
.ah-credit__save { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ah-ease), opacity 0.4s; }
.ah-credit:hover .ah-credit__save, .ah-credit:focus-within .ah-credit__save { max-height: 40px; opacity: 1; }
.ah-credit__save li { padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255, 196, 64, 0.4); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #d9c79c; }
.ah-credit__save b { color: #ffcf5a; }
.ah-footer a.ah-credit__btn {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd66e, #e0a93a 55%, #b8791d);
  color: #1a1206;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 0 0 rgba(255, 196, 64, 0.5), 0 10px 24px -12px rgba(255, 170, 40, 0.9);
  animation: ah-credit-pulse 2.8s ease-out infinite;
  transition: transform 0.3s var(--ah-ease);
}
@media (min-width: 900px) { .ah-footer a.ah-credit__btn { grid-column: auto; } }
.ah-footer a.ah-credit__btn:hover { color: #1a1206; transform: translateY(-2px); }
.ah-credit__btn svg { width: 14px; height: 14px; transition: transform 0.3s var(--ah-ease); }
.ah-credit__btn:hover svg { transform: translateX(4px); }
@keyframes ah-credit-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 196, 64, 0.5), 0 10px 24px -12px rgba(255, 170, 40, 0.9); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 196, 64, 0), 0 10px 24px -12px rgba(255, 170, 40, 0.9); } }
@media (prefers-reduced-motion: reduce) { .ah-credit::before, .ah-footer a.ah-credit__btn { animation: none; } }

/* ---------- Glossary pop-ups ---------- */
.ah-gloss { cursor: help; text-decoration: underline dotted rgba(23, 102, 200, 0.6); text-underline-offset: 3px; outline: none; transition: transform 0.2s var(--ah-ease), box-shadow 0.2s; }
.ah--dark .ah-gloss, .ah--navy .ah-gloss { text-decoration-color: rgba(60, 195, 230, 0.7); }
.ah-gloss:hover, .ah-gloss:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 14px -8px rgba(15, 46, 82, 0.6); }
.ah-gloss:focus-visible { outline: 2px solid #3cc3e6; outline-offset: 2px; }
g.ah-gloss { text-decoration: none; }
g.ah-gloss:hover { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)); }
.ah-tip {
  position: fixed;
  z-index: 90;
  max-width: 300px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, #10355f, #0a1a2b);
  color: #e8eef3;
  font: 400 0.88rem/1.45 var(--ah-font-body, system-ui);
  box-shadow: 0 0 0 1px rgba(60, 195, 230, 0.35), 0 24px 44px -18px rgba(0, 0, 0, 0.75);
  opacity: 0;
  translate: 0 6px;
  pointer-events: none;
  transition: opacity 0.18s, translate 0.18s var(--ah-ease);
}
.ah-tip.is-on { opacity: 1; translate: 0 0; }
.ah-tip strong { display: block; margin-bottom: 4px; font-family: var(--ah-font-head); font-size: 0.98rem; font-weight: 600; color: #fff; }
.ah-tip span { display: block; color: #b9cbda; }
.ah-tip hr { border: 0; height: 1px; margin: 10px 0; background: rgba(255, 255, 255, 0.12); }
.ah-tip::after { content: ""; position: absolute; left: var(--ax, 50%); bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: #0b1f33; transform: rotate(45deg); box-shadow: 1px 1px 0 rgba(60, 195, 230, 0.35); }
.ah-tip.is-below::after { bottom: auto; top: -6px; background: #10355f; box-shadow: -1px -1px 0 rgba(60, 195, 230, 0.35); }

/* ---------- Ambient sound toggle ---------- */
.ah-sound {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border: 1px solid rgba(60, 195, 230, 0.45);
  border-radius: 999px;
  background: rgba(10, 26, 43, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #e8eef3;
  font: 500 0.82rem/1 var(--ah-font-body, system-ui);
  cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.7);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}
.ah-sound:hover { transform: translateY(-2px); border-color: #3cc3e6; }
.ah-sound.is-lifted { translate: 0 calc(var(--lift, 0px) * -1); }
.ah-sound { transition: background-color 0.3s, border-color 0.3s, transform 0.3s, translate 0.4s var(--ah-ease); }
.ah-sound:focus-visible { outline: 2px solid #3cc3e6; outline-offset: 3px; }
.ah-sound.is-on { background: linear-gradient(135deg, rgba(23, 102, 200, 0.92), rgba(60, 195, 230, 0.85)); border-color: transparent; }
.ah-sound__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.ah-sound__bars i { width: 3px; height: 4px; border-radius: 2px; background: #3cc3e6; transition: height 0.3s; }
.ah-sound.is-on .ah-sound__bars i { background: #fff; animation: ah-eq 0.9s ease-in-out infinite alternate; }
.ah-sound.is-on .ah-sound__bars i:nth-child(2) { animation-delay: 0.2s; }
.ah-sound.is-on .ah-sound__bars i:nth-child(3) { animation-delay: 0.4s; }
.ah-sound.is-on .ah-sound__bars i:nth-child(4) { animation-delay: 0.1s; }
@keyframes ah-eq { from { height: 3px; } to { height: 14px; } }
@media (max-width: 599px) { .ah-sound { left: 12px; bottom: 12px; padding: 10px; } .ah-sound__label { display: none; } }
@media (prefers-reduced-motion: reduce) { .ah-sound.is-on .ah-sound__bars i { animation: none; height: 10px; } }

/* ---------- Cursor spotlight (injected by aqua.js into each section) ---------- */
section.ah, footer.ah { position: relative; }
.ah > .ah-wrap { position: relative; z-index: 1; }
.ah-spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ah-ease);
  background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 50%), var(--spot, rgba(23, 102, 200, 0.09)), transparent 70%);
}
[data-tone="dark"] > .ah-spot { --spot: rgba(60, 195, 230, 0.16); }
[data-tone="light"] > .ah-spot { --spot: rgba(23, 102, 200, 0.09); }
.ah-soc-sec > .ah-spot { --spot: rgba(255, 255, 255, 0.1); }
.ah-comp > .ah-spot { --spot: rgba(255, 138, 141, 0.12); }
.is-spot > .ah-spot { opacity: 1; }
.ah-hero__glow { display: none; }
.ah-ticker { position: relative; }
.ah-ticker__track { position: relative; z-index: 1; }

/* ---------- Decorative backdrops (aqua-fx) ---------- */
.ah-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ah-fx ~ .ah-wrap { position: relative; z-index: 1; }
.ah-fx__glow { position: absolute; border-radius: 50%; filter: blur(70px); animation: ah-float 18s ease-in-out infinite alternate; }
.ah-fx--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(159, 216, 238, 0.22) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.ah-fx--dark .ah-fx__glow--a { width: 560px; height: 560px; left: -160px; top: -120px; background: rgba(23, 102, 200, 0.45); }
.ah-fx--dark .ah-fx__glow--b { width: 520px; height: 520px; right: -160px; bottom: -160px; background: rgba(60, 195, 230, 0.28); animation-duration: 22s; }
.ah-fx__streams { position: absolute; inset: 0; width: 100%; height: 100%; }
.ah-fx--flip .ah-fx__streams { transform: scaleX(-1); }
.ah-fx__streams path { fill: none; stroke-linecap: round; }
.ah-fx__streams .s1 { stroke: #3cc3e6; stroke-opacity: 0.4; stroke-width: 2; stroke-dasharray: 2 14; animation: ah-stream 3.2s linear infinite; }
.ah-fx__streams .s2 { stroke: #1766c8; stroke-opacity: 0.55; stroke-width: 3; stroke-dasharray: 60 28; animation: ah-stream 9s linear infinite reverse; }
.ah-fx__streams .s3 { stroke: #4fae2e; stroke-opacity: 0.3; stroke-width: 1.5; stroke-dasharray: 3 18; animation: ah-stream 5s linear infinite; }
@keyframes ah-stream { to { stroke-dashoffset: -176; } }

.ah-fx--soft::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 102, 200, 0.14) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
.ah-fx--soft .ah-fx__glow { opacity: 0.5; }
.ah-fx--soft .ah-fx__glow--a { width: 420px; height: 420px; left: -120px; top: 10%; background: #ffd1bf; }
.ah-fx--soft .ah-fx__glow--b { width: 460px; height: 460px; left: 40%; bottom: -200px; background: #b6f0e4; animation-duration: 24s; }
.ah-fx--soft .ah-fx__glow--c { width: 380px; height: 380px; right: -100px; top: -60px; background: #c9c1ff; animation-duration: 20s; }
.ah-fx__bubbles i { position: absolute; bottom: -30px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; border: 1.5px solid rgba(23, 102, 200, 0.28); background: rgba(255, 255, 255, 0.35); animation: ah-bubble var(--d) linear infinite; animation-delay: var(--delay); }
@keyframes ah-bubble { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translate(14px, -45vh); } 100% { transform: translate(-8px, -95vh); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ah-fx *, .ah-fx__streams path { animation: none !important; } }

/* ---------- Water backdrop (challenge section) ---------- */
.ah-water {
  background:
    linear-gradient(180deg, #e4f1f9 0%, #f3f8fb 38%, #eaf4fa 72%, #dcecf6 100%);
  overflow: hidden;
  isolation: isolate;
}
.ah-water__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ah-water__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 102, 200, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 102, 200, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
}
.ah-water__glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; animation: ah-float 16s ease-in-out infinite alternate; }
.ah-water__glow--a { width: 520px; height: 520px; left: -140px; top: 18%; background: #9fdcf2; }
.ah-water__glow--b { width: 480px; height: 480px; right: -120px; top: 44%; background: #b9cff6; animation-duration: 20s; }
@keyframes ah-float { to { transform: translate(60px, -40px) scale(1.08); } }
.ah-water__lines { position: absolute; left: 0; bottom: 60px; width: 200%; height: 200px; }
.ah-water__lines path { fill: none; stroke: #3cc3e6; stroke-width: 1.5; }
.ah-water__lines .w1 { stroke-opacity: 0.35; animation: ah-drift 26s linear infinite; }
.ah-water__lines .w2 { stroke-opacity: 0.22; animation: ah-drift 38s linear infinite reverse; }
.ah-water--edge { padding-bottom: calc(var(--ah-section-y) + 40px); }
.ah-water__edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 80px); z-index: 0; }
.ah-water__edge path { fill: var(--ah-ink); }

/* Technology stages on the light water backdrop */
.ah-tech--light { color: var(--ah-text); }
.ah-tech--light .ah-lead { color: var(--ah-slate); }
.ah-tech--light .ah-kicker { color: var(--ah-blue); }
.ah-tech--light .ah-stages { border-top-color: rgba(15, 46, 82, 0.12); }
.ah-tech--light .ah-stage { border-bottom-color: rgba(15, 46, 82, 0.12); }
.ah-tech--light .ah-stage__num { color: var(--ah-blue); }
.ah-tech--light .ah-stage__num::before { background: #eaf4fa; border-color: rgba(15, 46, 82, 0.2); }
.ah-tech--light .ah-stage__title small { color: var(--ah-slate); }
.ah-tech--light .ah-stage__body p { color: var(--ah-slate); }
.ah-js .ah-tech--light .ah-stage:not(.is-active) .ah-stage__title h3 { color: #6b7b8a; }
.ah-tech--light .ah-stage.is-active .ah-stage__title h3 { color: var(--ah-navy); }
.ah-tech--light .ah-stage.is-active .ah-stage__body p { color: var(--ah-text); }
.ah-tech--light .ah-stage.is-active .ah-stage__num::before { background: var(--ah-blue); border-color: var(--ah-blue); box-shadow: 0 0 0 6px rgba(23, 102, 200, 0.15); }
.ah-tech--light .ah-stages__line { background: rgba(15, 46, 82, 0.12); }
.ah-tech--light .ah-tag { border-color: rgba(15, 46, 82, 0.14); background: rgba(255, 255, 255, 0.7); color: var(--ah-slate); }
.ah-tech--light .ah-stage.is-active .ah-tag { border-color: rgba(23, 102, 200, 0.4); color: var(--ah-blue); background: #fff; }
.ah-tech--light .ah-stage.is-active { background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0)); }
.ah-tech--light .ah-more { color: var(--ah-blue); }

/* Soft-backdrop sections, columns and tables as floating cards */
.ah-soft-sec { overflow: hidden; background: linear-gradient(180deg, #f6f3ff 0%, #f2f8fb 45%, #eefaf6 100%); }
.ah-water .ah-cols, .ah-soft-sec .ah-cols { background: none; border: 0; gap: 20px; }
.ah-water .ah-col, .ah-soft-sec .ah-col { border-radius: 18px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 1px 0 rgba(15, 46, 82, 0.05), 0 24px 48px -30px rgba(15, 46, 82, 0.5); border-top: 3px solid var(--ah-blue); }
.ah-soft-sec .ah-col:nth-child(2), .ah-water .ah-col:nth-child(2) { border-top-color: var(--ah-green); }
.ah-soft-sec .ah-col:nth-child(3), .ah-water .ah-col:nth-child(3) { border-top-color: var(--ah-aqua); }
.ah-water .ah-table-wrap { border: 0; border-radius: 16px; box-shadow: 0 30px 60px -36px rgba(15, 46, 82, 0.55); }
.ah-water .ah-table thead th { background: #eef5fb; }
.ah-water .ah-arch__tier { border: 0; box-shadow: 0 24px 48px -30px rgba(15, 46, 82, 0.5); border-radius: 16px; }
.ah-water .ah-arch__tier.is-primary { box-shadow: 0 0 0 2px var(--ah-blue), 0 30px 60px -30px rgba(23, 102, 200, 0.6); }

/* Footer: faint dot grid and a soft wave at the top */
.ah-footer {
  overflow: hidden;
  background:
    radial-gradient(rgba(23, 102, 200, 0.12) 1px, transparent 1.4px) 0 0 / 22px 22px,
    radial-gradient(800px 300px at 10% 0%, rgba(60, 195, 230, 0.14), transparent 70%),
    radial-gradient(700px 300px at 95% 100%, rgba(79, 174, 46, 0.1), transparent 70%),
    linear-gradient(180deg, #eef5fa, #f4f7f9);
}

/* Cards on the water backdrop: separate rounded tiles */
.ah-water .ah-grid { background: none; border: 0; gap: 20px; }
.ah-water .ah-cell {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(15, 46, 82, 0.05), 0 22px 44px -30px rgba(15, 46, 82, 0.5);
  transition: transform 0.45s var(--ah-ease), box-shadow 0.45s var(--ah-ease);
}
.ah-water .ah-cell:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 1px 0 rgba(15, 46, 82, 0.05), 0 30px 54px -28px rgba(15, 46, 82, 0.55); }
.ah-water .ah-cell--art::before { border-radius: 16px 16px 0 0; }
@media (prefers-reduced-motion: reduce) {
  .ah-water__glow, .ah-water__lines path { animation: none; }
}

/* ---------- Compliance: clock + moments ---------- */
.ah-comp { background: var(--ah-ink); color: var(--ah-on-dark); overflow: hidden; }
.ah-comp__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 480px at 18% 62%, rgba(229, 72, 77, 0.22), transparent 65%),
    radial-gradient(700px 480px at 86% 40%, rgba(23, 102, 200, 0.28), transparent 65%);
  pointer-events: none;
}
.ah-comp .ah-wrap { position: relative; }
.ah-comp .ah-lead { color: var(--ah-on-dark-muted); }
.ah-comp .ah-lead strong { color: #fff; font-weight: 500; }
.ah-comp .ah-kicker { color: #ff8a8d; }
.ah-comp__grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .ah-comp__grid { grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: stretch; } }

/* Clock panel */
.ah-clock {
  display: grid;
  gap: 26px;
  align-content: start;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(229, 72, 77, 0.14), rgba(255, 255, 255, 0.03) 55%);
  border: 1px solid rgba(255, 138, 141, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ah-clock__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ah-clock__top .ah-mono { color: var(--ah-on-dark-muted); }
.ah-clock__live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(229, 72, 77, 0.16); color: #ff8a8d; font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.ah-clock__live i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d55; box-shadow: 0 0 0 0 rgba(255, 77, 85, 0.6); animation: ah-live 1.6s ease-out infinite; }
@keyframes ah-live { 70% { box-shadow: 0 0 0 10px rgba(255, 77, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 85, 0); } }
.ah-clock__main { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(16px, 3vw, 28px); }
.ah-clock__ring { width: clamp(96px, 12vw, 132px); height: auto; }
.ah-clock__track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 6; }
.ah-clock__ticks line { stroke: rgba(255, 255, 255, 0.25); stroke-width: 1.5; }
.ah-clock__sweep { fill: none; stroke: #ff4d55; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transform: rotate(-90deg); transform-origin: 60px 60px; filter: drop-shadow(0 0 6px rgba(255, 77, 85, 0.7)); }
.ah-clock.is-running .ah-clock__sweep { animation: ah-sweep 60s linear infinite; }
@keyframes ah-sweep { to { stroke-dashoffset: 0; } }
.ah-clock__value { display: grid; gap: 6px; min-width: 0; }
.ah-clock__value small { font-size: 0.82rem; color: var(--ah-on-dark-muted); }
.ah-clock__amount { font-family: var(--ah-font-head); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 28px rgba(255, 77, 85, 0.45); white-space: nowrap; }
.ah-clock__bars { display: grid; gap: 12px; }
.ah-bar { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 14px; position: relative; }
.ah-bar span { grid-column: 2; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); position: relative; overflow: hidden; }
.ah-bar span::after { content: ""; position: absolute; inset: 0; width: var(--w); min-width: 6px; border-radius: 6px; background: linear-gradient(90deg, #ff9f43, #ff4d55); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ah-ease); }
.ah-clock.is-in .ah-bar span::after { transform: scaleX(1); }
.ah-bar:nth-child(2) span::after { transition-delay: 0.25s; }
.ah-bar:nth-child(3) span::after { transition-delay: 0.5s; }
.ah-bar b { grid-column: 1; grid-row: 1; font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ah-on-dark-muted); font-weight: 400; }
.ah-bar em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; min-width: 92px; text-align: right; }
.ah-clock__note { font-size: 0.85rem; color: var(--ah-on-dark-muted); border-top: 1px solid var(--ah-line-dark); padding-top: 18px; }

/* Moments panel (the calm side) */
.ah-moments {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: 18px;
  background: #fff;
  color: var(--ah-text);
  box-shadow: 0 40px 80px -40px rgba(23, 102, 200, 0.6);
}
.ah-moments__list { display: grid; gap: 10px; }
.ah-moment {
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 16px 12px 12px;
  border: 1.5px solid var(--ah-line);
  border-radius: 12px;
  background: var(--ah-mist);
  color: var(--ah-text);
  font: 500 0.98rem/1.3 var(--ah-font-body);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, transform 0.25s var(--ah-ease), box-shadow 0.25s;
}
.ah-moment:hover { border-color: rgba(23, 102, 200, 0.5); transform: translateX(4px); }
.ah-moment__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #fff; color: var(--ah-blue); box-shadow: 0 4px 10px -6px rgba(15, 46, 82, 0.4); transition: background-color 0.25s, color 0.25s; }
.ah-moment__icon svg { width: 24px; height: 24px; }
.ah-moment__check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ah-line); transition: all 0.25s; }
.ah-moment[aria-pressed="true"] { border-color: var(--ah-blue); background: rgba(23, 102, 200, 0.07); box-shadow: 0 10px 24px -16px rgba(23, 102, 200, 0.7); }
.ah-moment[aria-pressed="true"] .ah-moment__icon { background: var(--ah-blue); color: #fff; }
.ah-moment[aria-pressed="true"] .ah-moment__check { border-color: var(--ah-blue); background: var(--ah-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ah-moment:focus-visible { outline: 2px solid var(--ah-aqua); outline-offset: 2px; }
.ah-moments.is-waiting .ah-moment { animation: ah-nudge 3.6s ease-in-out infinite; }
.ah-moments.is-waiting .ah-moment:nth-child(2) { animation-delay: 0.15s; }
.ah-moments.is-waiting .ah-moment:nth-child(3) { animation-delay: 0.3s; }
.ah-moments.is-waiting .ah-moment:nth-child(4) { animation-delay: 0.45s; }
.ah-moments.is-waiting .ah-moment:nth-child(5) { animation-delay: 0.6s; }
@keyframes ah-nudge { 0%, 80%, 100% { transform: none; border-color: var(--ah-line); } 88% { transform: translateX(5px); border-color: rgba(23, 102, 200, 0.45); } }
.ah-moments__answer { min-height: 72px; padding: 16px 18px; border-radius: 12px; background: linear-gradient(135deg, rgba(60, 195, 230, 0.12), rgba(79, 174, 46, 0.1)); border-left: 3px solid var(--ah-green); }
.ah-moments__answer > [data-answer] { display: none; color: var(--ah-navy); font-size: 1rem; }
.ah-moments__answer > [data-answer].is-active { display: grid; gap: 10px; animation: ah-panel-in 0.45s var(--ah-ease); }
.ah-moments__prompt { color: var(--ah-slate) !important; }
.ah-moments__next { display: grid; gap: 3px; padding-top: 10px; border-top: 1px dashed rgba(31, 122, 69, 0.35); font-weight: 600; color: #1f7a45; }
.ah-moments__next span { font-family: var(--ah-font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; color: #2f8f55; }
.ah-moments__cta { width: 100%; min-height: 54px; font-size: 1rem; }
/* Chosen card: glowing ring; the others step back */
.ah-moment[aria-pressed="true"] { box-shadow: 0 0 0 3px rgba(23, 102, 200, 0.18), 0 14px 30px -14px rgba(23, 102, 200, 0.8); transform: translateX(6px); }
.ah-moments.is-chosen .ah-moment[aria-pressed="false"] { opacity: 0.62; }
.ah-moments.is-chosen .ah-moment[aria-pressed="false"]:hover { opacity: 1; }
/* Button bounces as it takes on the situation's action */
.ah-moments__cta.is-pop { animation: ah-cta-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), ah-cta-glow 2.4s ease-in-out 0.55s infinite; }
@keyframes ah-cta-pop { 0% { transform: scale(0.96); } 55% { transform: scale(1.04); } 100% { transform: scale(1); } }
/* Urgent situation: the clock pulses red and shows the urgent line */
.ah-clock__urgent { display: none; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: rgba(229, 72, 77, 0.18); border: 1px solid rgba(255, 138, 141, 0.5); color: #ffd4d5; font-weight: 600; }
.ah-clock__urgent i { width: 9px; height: 9px; border-radius: 50%; background: #ff4d55; animation: ah-live 1.2s ease-out infinite; flex-shrink: 0; }
.ah-clock.is-urgent .ah-clock__urgent { display: flex; animation: ah-panel-in 0.45s var(--ah-ease); }
.ah-clock.is-urgent { animation: ah-urgent 1.6s ease-in-out infinite; }
@keyframes ah-urgent { 0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 0 rgba(255, 77, 85, 0); border-color: rgba(255, 138, 141, 0.28); } 50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 6px rgba(255, 77, 85, 0.16); border-color: rgba(255, 138, 141, 0.8); } }
@media (prefers-reduced-motion: reduce) { .ah-clock.is-urgent, .ah-moments__cta.is-pop, .ah-clock__urgent i { animation: none; } }

.ah-comp__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 28px; }
.ah-comp__foot p { font-size: 0.8rem; color: var(--ah-on-dark-muted); }

/* Situation chip in the inquiry form */
.ah-form__situation { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--ah-radius); background: rgba(23, 102, 200, 0.08); color: var(--ah-navy); font-size: 0.9rem; }
.ah-form__situation[hidden] { display: none; }
.ah-form__situation button { margin-left: auto; border: 0; background: none; color: var(--ah-blue); font: inherit; text-decoration: underline; cursor: pointer; padding: 4px; }

@media (prefers-reduced-motion: reduce) {
  .ah-clock__live i, .ah-moments.is-waiting .ah-moment { animation: none; }
  .ah-clock.is-running .ah-clock__sweep { animation: none; stroke-dashoffset: 0; }
}

.ah-ind-sec { overflow: hidden; background: linear-gradient(180deg, #f6f3ff 0%, #f2f8fb 45%, #eefaf6 100%); }
.ah-water .ah-project { border: 0; border-radius: 18px; box-shadow: 0 30px 60px -36px rgba(15, 46, 82, 0.55); }
.ah-water .ah-figure__img { border-radius: 14px; box-shadow: 0 24px 48px -32px rgba(15, 46, 82, 0.6); }
.ah-water .ah-specs { border-top-color: rgba(15, 46, 82, 0.1); }

/* ---------- Contact call to action ---------- */
.ah-cta-sec { overflow: hidden; background: radial-gradient(900px 600px at 80% 30%, #12427a, transparent 65%), linear-gradient(160deg, #0a1a2b, #0c2544); }
.ah-cta-stream { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; display: none; }
@media (min-width: 1024px) { .ah-cta-stream { display: block; } }
.ah-cta-stream__line { animation: ah-stream 2.4s linear infinite; }
.ah-cta-stream circle { filter: drop-shadow(0 0 6px #3cc3e6); }
.ah-cta-title { background: linear-gradient(90deg, #fff 0%, #fff 40%, #9fe6ff 50%, #fff 60%, #fff 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: ah-shimmer 5s ease-in-out infinite; }
@keyframes ah-shimmer { 0%, 30% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
.ah-cta-cue { display: inline-flex; align-items: center; gap: 12px; justify-self: start; padding: 12px 18px; border-radius: 999px; background: rgba(60, 195, 230, 0.12); border: 1px solid rgba(60, 195, 230, 0.35); color: #cdefff; font-weight: 500; }
.ah-cta-cue svg { width: 18px; height: 18px; color: var(--ah-aqua); animation: ah-nudge-x 1.2s ease-in-out infinite; }
@keyframes ah-nudge-x { 50% { transform: translateX(6px); } }
@media (max-width: 1023px) { .ah-cta-cue svg { transform: rotate(90deg); animation-name: ah-nudge-y; } }
@keyframes ah-nudge-y { 0%, 100% { transform: rotate(90deg) translateX(0); } 50% { transform: rotate(90deg) translateX(6px); } }

/* Form card: rotating gradient border, badge, progress, guided glow */
.ah-form-wrap { position: relative; }
.ah-form-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: conic-gradient(from var(--ah-angle), #1766c8, #3cc3e6, #4fae2e, #ffd36b, #1766c8);
  animation: ah-ring 6s linear infinite;
  filter: blur(0.5px);
}
.ah-form-wrap::after { content: ""; position: absolute; inset: 10%; z-index: -1; border-radius: 50%; background: #3cc3e6; filter: blur(80px); opacity: 0.35; }
.ah-form-wrap .ah-form { position: relative; border-radius: 12px; }
.ah-form-badge { position: absolute; z-index: 2; top: -14px; right: 22px; padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, #4fae2e, #7ed957); color: #fff; font-weight: 600; font-size: 0.8rem; box-shadow: 0 10px 20px -10px rgba(79, 174, 46, 0.9); animation: art-alert 1.6s ease-in-out infinite alternate; }
.ah-form__progress { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.ah-form__progress span { height: 6px; border-radius: 4px; background: var(--ah-line); position: relative; overflow: hidden; }
.ah-form__progress span::after { content: ""; position: absolute; inset: 0; width: var(--p, 0%); border-radius: 4px; background: linear-gradient(90deg, #1766c8, #3cc3e6, #4fae2e); transition: width 0.5s var(--ah-ease); }
.ah-form__progress em { font-style: normal; font-family: var(--ah-font-mono); font-size: 0.72rem; color: var(--ah-slate); min-width: 3ch; text-align: right; }
.ah-form.is-guiding > .ah-choice label span { animation: ah-choice-glow 2.4s ease-in-out infinite; }
.ah-form.is-guiding > .ah-choice label:nth-child(3) span { animation-delay: 1.2s; }
@keyframes ah-choice-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(23, 102, 200, 0); } 30% { box-shadow: 0 0 0 5px rgba(23, 102, 200, 0.25); border-color: var(--ah-blue); } }
.ah-form.is-guiding .ah-field input,
.ah-form.is-guiding .ah-field select,
.ah-form.is-guiding .ah-field textarea { animation: ah-field-glow 6s ease-in-out infinite; }
.ah-form.is-guiding .ah-form__row:nth-of-type(1) .ah-field:nth-child(2) input { animation-delay: 0.5s; }
.ah-form.is-guiding .ah-form__row:nth-of-type(2) .ah-field:nth-child(1) input { animation-delay: 1s; }
.ah-form.is-guiding .ah-form__row:nth-of-type(2) .ah-field:nth-child(2) input { animation-delay: 1.5s; }
.ah-form.is-guiding .ah-form__row:nth-of-type(3) .ah-field select { animation-delay: 2s; }
.ah-form.is-guiding .ah-form__row:nth-of-type(3) .ah-field input { animation-delay: 2.5s; }
.ah-form.is-guiding .ah-form__row:nth-of-type(4) .ah-field input { animation-delay: 3s; }
.ah-form.is-guiding .ah-field textarea { animation-delay: 3.5s; }
@keyframes ah-field-glow { 0%, 12%, 100% { border-color: var(--ah-line); box-shadow: none; } 6% { border-color: #3cc3e6; box-shadow: 0 0 0 4px rgba(60, 195, 230, 0.18); } }
.ah-form button[type="submit"] { animation: ah-cta-glow 2.4s ease-in-out infinite; }
.ah-form__assure { color: var(--ah-green); font-weight: 600; }
.ah-visits { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; color: var(--ah-on-dark-muted); }
.ah-visits b { font-family: var(--ah-font-head); font-size: 2rem; color: #fff; font-variant-numeric: tabular-nums; }
/* --- Contact refinements --- */
/* Badge: larger, centred on the top edge */
.ah-form-wrap { padding-top: 22px; }
.ah-form-wrap::before { top: 20px; }
.ah-form-badge {
  top: 0; right: auto; left: 50%;
  translate: -50% 0;
  padding: 13px 34px;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 4px rgba(79, 174, 46, 0.25), 0 14px 28px -10px rgba(79, 174, 46, 0.9);
  white-space: nowrap;
}

/* Cue: bigger capsule, long arrow reaching across toward the form */
.ah-cta-cue {
  position: relative;
  z-index: 3;
  display: flex;
  justify-self: stretch;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(60, 195, 230, 0.22), rgba(23, 102, 200, 0.18));
  border: 1.5px solid rgba(60, 195, 230, 0.6);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  box-shadow: 0 0 0 0 rgba(60, 195, 230, 0.5);
  animation: ah-cue-pulse 2.2s ease-out infinite;
}
@keyframes ah-cue-pulse { 0% { box-shadow: 0 0 0 0 rgba(60, 195, 230, 0.5); } 70%, 100% { box-shadow: 0 0 0 12px rgba(60, 195, 230, 0); } }
.ah-cta-cue__text { flex-shrink: 0; }
.ah-cta-cue__arrow { flex: 1; display: flex; align-items: center; min-width: 60px; color: var(--ah-aqua); }
.ah-cta-cue__arrow i { flex: 1; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, #3cc3e6 0 12px, transparent 12px 20px); background-size: 20px 4px; animation: ah-cue-dash 0.8s linear infinite; }
@keyframes ah-cue-dash { to { background-position: 20px 0; } }
.ah-cta-cue__arrow svg { width: 38px; height: 38px; flex-shrink: 0; margin-left: -4px; filter: drop-shadow(0 0 8px rgba(60, 195, 230, 0.8)); animation: ah-nudge-x 1s ease-in-out infinite; }
.ah-cta-cue > svg { display: none; }
@media (min-width: 1024px) {
  /* stretch across the column gap so the arrow lands at the form's Name field */
  .ah p.ah-cta-cue { margin-right: -118px; }
}
@media (max-width: 1023px) {
  .ah-cta-cue__arrow { flex: 0 0 auto; min-width: 0; }
  .ah-cta-cue__arrow i { display: none; }
  .ah-cta-cue__arrow svg { transform: rotate(90deg); animation-name: ah-nudge-y; }
}

/* Reassurance: blinking amber capsule */
.ah-form__foot p.ah-assure {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 44ch;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff4d6, #ffe3a3);
  border: 1.5px solid #f0b429;
  color: #6b4a00;
  font-size: 0.82rem;
  line-height: 1.35;
  animation: ah-assure-blink 1.8s ease-in-out infinite;
}
.ah-assure strong { color: #a35f00; font-weight: 700; }
.ah-assure__dot { width: 9px; height: 9px; flex-shrink: 0; border-radius: 50%; background: #f59f00; box-shadow: 0 0 0 0 rgba(245, 159, 0, 0.6); animation: ah-live 1.4s ease-out infinite; }
@keyframes ah-assure-blink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(240, 180, 41, 0); } 50% { opacity: 0.62; box-shadow: 0 0 0 5px rgba(240, 180, 41, 0.22); } }

/* Send button: gradient flow, glow ring, shine sweep, bouncing arrow */
.ah-form button.ah-send {
  position: relative;
  min-height: 56px;
  padding: 0 30px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 14px;
  background: linear-gradient(90deg, #1766c8, #1e8fe0, #3cc3e6, #1e8fe0, #1766c8);
  background-size: 300% 100%;
  animation: ah-send-flow 3s linear infinite, ah-send-ring 1.8s ease-out infinite, ah-send-bob 2.4s ease-in-out infinite;
}
@keyframes ah-send-flow { to { background-position: 300% 0; } }
@keyframes ah-send-ring { 0% { box-shadow: 0 0 0 0 rgba(60, 195, 230, 0.6), 0 12px 24px -10px rgba(23, 102, 200, 0.9); } 70%, 100% { box-shadow: 0 0 0 14px rgba(60, 195, 230, 0), 0 12px 24px -10px rgba(23, 102, 200, 0.9); } }
@keyframes ah-send-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
.ah-send::after { transition: none; animation: ah-send-shine 2.6s ease-in-out infinite; }
@keyframes ah-send-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.ah-send__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.ah-send__icon svg { width: 15px; height: 15px; animation: ah-nudge-x 0.9s ease-in-out infinite; }
.ah-send:hover { animation-play-state: paused, running, paused; }

@media (prefers-reduced-motion: reduce) {
  .ah-cta-cue, .ah-cta-cue__arrow i, .ah-cta-cue__arrow svg, .ah-assure, .ah-assure__dot, .ah-form .ah-send, .ah-send::after, .ah-send__icon svg { animation: none !important; }
  .ah-cta-title, .ah-cta-cue svg, .ah-form-wrap::before, .ah-form-badge, .ah-form *, .ah-cta-stream__line { animation: none !important; }
  .ah-cta-title { color: #fff !important; background: none; }
}

/* ---------- Social: finish with a bang ---------- */
.ah-soc-sec { background: #070f1c; color: var(--ah-on-dark); overflow: hidden; }
.ah-soc-sec .ah-lead { color: var(--ah-on-dark-muted); margin-inline: auto; }
.ah-soc-sec__glows i { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); opacity: 0.35; animation: ah-float 14s ease-in-out infinite alternate; }
.ah-soc-sec__glows i:nth-child(1) { left: -8%; top: 20%; background: #1877f2; }
.ah-soc-sec__glows i:nth-child(2) { left: 26%; bottom: -30%; background: #dd2a7b; animation-duration: 18s; }
.ah-soc-sec__glows i:nth-child(3) { right: 22%; top: -25%; background: #ff0000; animation-duration: 16s; opacity: 0.25; }
.ah-soc-sec__glows i:nth-child(4) { right: -8%; bottom: 0; background: #25f4ee; animation-duration: 20s; opacity: 0.22; }
.ah-soc-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .ah-soc-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.ah-soc {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 260px;
  padding: 26px 24px 24px;
  border-radius: 24px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  transition: transform 0.45s var(--ah-ease), box-shadow 0.45s var(--ah-ease);
}
.ah-soc:hover { transform: translateY(-10px) scale(1.02); }
.ah-soc--facebook { background: linear-gradient(150deg, #3b8bff, #1877f2 45%, #0b4fb8); }
.ah-soc--facebook:hover { box-shadow: 0 40px 70px -26px rgba(24, 119, 242, 0.8); }
.ah-soc--instagram { background: linear-gradient(145deg, #feda75 0%, #fa7e1e 22%, #d62976 50%, #962fbf 76%, #4f5bd5 100%); }
.ah-soc--instagram:hover { box-shadow: 0 40px 70px -26px rgba(214, 41, 118, 0.8); }
.ah-soc--youtube { background: linear-gradient(150deg, #ff4e45, #ff0000 45%, #b3000c); }
.ah-soc--youtube:hover { box-shadow: 0 40px 70px -26px rgba(255, 0, 0, 0.7); }
.ah-soc--tiktok { background: linear-gradient(150deg, #1c1c1c, #000); box-shadow: inset 3px 0 0 #25f4ee, inset -3px 0 0 #fe2c55, 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.ah-soc--tiktok:hover { box-shadow: inset 3px 0 0 #25f4ee, inset -3px 0 0 #fe2c55, 0 40px 70px -26px rgba(254, 44, 85, 0.6); }
.ah-soc--tiktok .ah-soc__icon svg { filter: drop-shadow(-2px -1px 0 #25f4ee) drop-shadow(2px 1px 0 #fe2c55); }
.ah-soc__icon { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 22px; background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.ah-soc__icon svg { width: 44px; height: 44px; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ah-soc:hover .ah-soc__icon svg { transform: scale(1.18) rotate(-8deg); }
.ah-soc__name { font-family: var(--ah-font-head); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.ah-soc__handle { font-family: var(--ah-font-mono); font-size: 0.8rem; opacity: 0.85; word-break: break-all; }
.ah-soc__cta { margin-top: 18px; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; color: #0e1a26; font-weight: 600; font-size: 0.9rem; transition: gap 0.3s var(--ah-ease); }
.ah-soc__cta svg { width: 14px; height: 14px; }
.ah-soc:hover .ah-soc__cta { gap: 14px; }
.ah-soc__shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.9s var(--ah-ease); }
.ah-soc:hover .ah-soc__shine { transform: translateX(120%); }
.ah-soc::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; bottom: -90px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, 0.08); z-index: -1; transition: transform 0.6s var(--ah-ease); }
.ah-soc:hover::after { transform: scale(1.2) rotate(20deg); }

/* ---------- JEMAN section ---------- */
.ah-lockup-card { margin-top: 36px; display: grid; justify-items: center; gap: 12px; padding: 32px 28px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -36px rgba(15, 46, 82, 0.6); text-align: center; }
.ah-lockup-card__aqua { width: min(360px, 100%); height: auto; }
.ah-lockup-card__desc { font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ah-slate); }
.ah-lockup-card__rule { width: 100%; display: flex; align-items: center; gap: 12px; margin: 8px 0 4px; color: var(--ah-slate); }
.ah-lockup-card__rule::before, .ah-lockup-card__rule::after { content: ""; flex: 1; height: 1px; background: var(--ah-line); }
.ah-lockup-card__rule i { font-style: normal; font-family: var(--ah-font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
.ah-lockup-card__jeman { display: flex; align-items: center; gap: 18px; text-align: left; }
.ah-lockup-card__jeman img { width: 120px; height: auto; flex-shrink: 0; filter: drop-shadow(0 10px 16px rgba(15, 46, 82, 0.25)); }
.ah-lockup-card__jeman strong { font-family: var(--ah-font-head); font-size: 1.25rem; font-weight: 600; color: var(--ah-navy); line-height: 1.25; max-width: 14ch; }
.ah-jeman { display: grid; gap: 14px; margin-top: 8px; }
.ah-jeman__title { font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ah-blue); }
.ah-jeman__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .ah-jeman__grid { grid-template-columns: repeat(3, 1fr); } }
.ah-jeman__item { --c: #1766c8; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; font-weight: 500; font-size: 0.92rem; line-height: 1.25; box-shadow: 0 14px 30px -24px rgba(15, 46, 82, 0.6); border-left: 4px solid var(--c); transition: transform 0.35s var(--ah-ease), box-shadow 0.35s; }
.ah-jeman__item:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -22px color-mix(in srgb, var(--c) 70%, transparent); }
.ah-jeman__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.ah-jeman__icon svg { width: 24px; height: 24px; }
.ah-jeman__item--solar { --c: #e8a100; }
.ah-jeman__item--electrical { --c: #f06a00; }
.ah-jeman__item--cctv { --c: #1766c8; }
.ah-jeman__item--maintenance { --c: #1f9e84; }
.ah-jeman__item--mechanical { --c: #6a3fc7; }
.ah-jeman__item--fabrication { --c: #e5484d; }
.ah-more-btn {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  margin-top: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ah-navy), var(--ah-blue));
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 16px 32px -16px rgba(23, 102, 200, 0.8);
  transition: transform 0.3s var(--ah-ease), box-shadow 0.3s;
}
.ah-more-btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ah-ease); }
.ah-more-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(23, 102, 200, 0.9); }
.ah-more-btn:hover svg { transform: translateX(4px); }
.ah-about-sec .ah-fact { border-radius: 0; }
.ah-about-sec .ah-facts { border-radius: 14px; overflow: hidden; border: 0; box-shadow: 0 14px 30px -24px rgba(15, 46, 82, 0.6); }

/* ---------- Premium pillars ---------- */
.ah-pillars-sec { overflow: hidden; background: radial-gradient(1200px 600px at 50% 0%, #163f70, var(--ah-navy) 60%); }
.ah-pil-grid { display: grid; gap: 22px; perspective: 1200px; }
@media (min-width: 900px) { .ah-pil-grid { grid-template-columns: repeat(3, 1fr); } }
.ah-pil {
  --c1: #1766c8; --c2: #3cc3e6;
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 34px 30px 36px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.7);
}
.ah-pil--technology { --c1: #6a3fc7; --c2: #3cc3e6; }
.ah-pil--environment { --c1: #1f9e5a; --c2: #3cc3e6; }
.ah-pil::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(140deg, var(--c2), transparent 40%, transparent 60%, var(--c1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.ah-pil__num { position: absolute; right: 22px; top: 10px; font-family: var(--ah-font-head); font-weight: 700; font-size: 5.5rem; line-height: 1; color: #fff; opacity: 0.06; letter-spacing: -0.04em; }
.ah-pil__medal { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; color: var(--c1); background: linear-gradient(145deg, var(--c2), var(--c1)); box-shadow: 0 18px 36px -14px var(--c1), inset 0 1px 0 rgba(255, 255, 255, 0.4); margin-bottom: 6px; transition: transform 0.5s var(--ah-ease); }
.ah-pil:hover .ah-pil__medal { transform: translateY(-4px) rotate(-4deg) scale(1.04); }
.ah-pil__medal svg { width: 84px; height: 84px; }
.ah-pil h3 { font-size: 1.5rem; }
.ah-pil p { color: var(--ah-on-dark-muted); }
.ah-pil__glow { position: absolute; width: 260px; height: 260px; right: -90px; bottom: -120px; border-radius: 50%; background: var(--c1); filter: blur(70px); opacity: 0.35; transition: opacity 0.4s; pointer-events: none; }
.ah-pil:hover .ah-pil__glow { opacity: 0.6; }
.pil-gear { animation: art-orbit 10s linear infinite; }
.pil-gear--rev { animation-duration: 6s; animation-direction: reverse; }
.pil-orbit { animation: art-orbit 12s linear infinite; }
.pil-pulse { transform-box: fill-box; transform-origin: center; animation: art-alert 1.2s ease-in-out infinite alternate; }
.pil-wave { animation: art-wave 3.5s linear infinite; }
.pil-wave--b { animation-duration: 5s; animation-direction: reverse; }
.ah-pil svg [style*="transform-origin"] { transform-box: view-box; }
@media (prefers-reduced-motion: reduce) { .ah-pil svg * { animation: none !important; } .ah-pil { transform: none !important; } }

/* ---------- Solution cards (tilt) ---------- */
.ah-svc-grid { display: grid; gap: 22px; grid-template-columns: 1fr; perspective: 1200px; }
@media (min-width: 700px) { .ah-svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .ah-svc-grid { grid-template-columns: repeat(4, 1fr); } }
.ah-svc {
  --c1: #1766c8; --c2: #3cc3e6; --soft: #e8f2fd;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 46, 82, 0.05), 0 24px 48px -30px rgba(15, 46, 82, 0.55);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
  transition: transform 0.25s ease-out, box-shadow 0.4s var(--ah-ease);
}
.ah-svc:hover { --lift: -6px; box-shadow: 0 1px 0 rgba(15, 46, 82, 0.05), 0 36px 60px -28px color-mix(in srgb, var(--c1) 60%, transparent); }
.ah-svc--orange { --c1: #e8751a; --c2: #ffb547; --soft: #fff1e2; }
.ah-svc--green { --c1: #1f9e5a; --c2: #7ed957; --soft: #e6f8ec; }
.ah-svc--violet { --c1: #6a3fc7; --c2: #b18cff; --soft: #f0eaff; }
.ah-svc__art { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(150deg, var(--c2), var(--c1)); overflow: hidden; }
.ah-svc__art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.6s var(--ah-ease); }
.ah-svc:hover .ah-svc__art svg { transform: scale(1.05) translateZ(20px); }
.ah-svc__art svg * { transform-box: fill-box; }
.ah-svc__art svg [style*="transform-origin"] { transform-box: view-box; }
.ah-svc__body { display: grid; gap: 10px; align-content: start; padding: 22px 22px 26px; }
.ah-svc__label { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--c1); font-family: var(--ah-font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.ah-svc__body p { color: var(--ah-slate); font-size: 0.96rem; }
.ah-svc__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 6px 0 0; padding: 0; }
.ah-svc__tags li { padding: 5px 10px; border-radius: 8px; background: var(--soft); color: var(--c1); font-size: 0.78rem; font-weight: 500; transition: transform 0.3s var(--ah-ease), background-color 0.3s, color 0.3s; }
.ah-svc:hover .ah-svc__tags li { background: var(--c1); color: #fff; }
.ah-svc:hover .ah-svc__tags li:nth-child(2) { transition-delay: 0.05s; }
.ah-svc:hover .ah-svc__tags li:nth-child(3) { transition-delay: 0.1s; }
.ah-svc:hover .ah-svc__tags li:nth-child(4) { transition-delay: 0.15s; }
.ah-svc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--ah-ease); }
.ah-svc:hover::after { transform: scaleX(1); }
.ah-svc__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.35), transparent 45%); opacity: 0; transition: opacity 0.3s; }
.ah-svc:hover .ah-svc__shine { opacity: 1; }
/* card art motion */
.art-sketch { stroke-dasharray: 260; stroke-dashoffset: 260; animation: art-sketch 5s ease-in-out infinite; }
@keyframes art-sketch { 0% { stroke-dashoffset: 260; } 35%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.art-pencil { animation: art-pencil 5s ease-in-out infinite; }
@keyframes art-pencil { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-120px, 60px); } 50% { transform: translate(-40px, 30px); } 75% { transform: translate(-150px, 20px); } }
.art-lower { animation: art-lower 4s ease-in-out infinite; }
@keyframes art-lower { 0%, 15% { transform: translateY(-34px); } 60%, 85% { transform: translateY(0); } 100% { transform: translateY(-34px); } }
.art-recover { transform-origin: 50% 100%; animation: art-recover 4.2s ease-in-out infinite; }
@keyframes art-recover { 0%, 15% { transform: rotate(-58deg); } 60%, 90% { transform: rotate(52deg); } 100% { transform: rotate(-58deg); } }
.art-turn { transform-origin: 50% 100%; animation: art-turn 1.6s ease-in-out infinite alternate; }
@keyframes art-turn { from { transform: rotate(-24deg); } to { transform: rotate(18deg); } }
.art-spark { transform-origin: center; animation: art-alert 0.9s ease-in-out infinite alternate; }
.art-counter { transform-origin: center; animation: art-orbit 9s linear infinite reverse; }
@media (prefers-reduced-motion: reduce) { .ah-svc__art svg * { animation: none !important; } .art-sketch { stroke-dashoffset: 0; } .ah-svc { transform: none !important; } }

/* ---------- Industry cards ---------- */
.ah-ind-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ah-ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ah-ind-grid { grid-template-columns: repeat(5, 1fr); } }
.ah-ind {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--ah-paper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15, 46, 82, 0.06), 0 18px 40px -28px rgba(15, 46, 82, 0.45);
  transition: transform 0.45s var(--ah-ease), box-shadow 0.45s var(--ah-ease);
}
.ah-ind:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(15, 46, 82, 0.06), 0 28px 50px -26px rgba(15, 46, 82, 0.55); }
.ah-ind .ah-art { aspect-ratio: 4 / 3; }
.ah-ind:hover .ah-art svg { transform: scale(1.06); }
.ah-ind__body { display: grid; gap: 8px; align-content: start; padding: 20px 22px 24px; border-top: 3px solid var(--art, var(--ah-blue)); }
.ah-ind__body span { font-family: var(--ah-font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--art, var(--ah-blue)); }
.ah-ind__body h3 { font-size: 1.3rem; }
.ah-ind__body p { color: var(--ah-slate); font-size: 0.95rem; }
.ah-art--restaurant { background: linear-gradient(165deg, #ffefe6, #ffb89c); }
.ah-art--hotel { background: linear-gradient(165deg, #3b4bb8, #1c2463); }
.ah-art--resort { background: linear-gradient(165deg, #e6fbff, #a8ecf2); }
.ah-art--factory { background: linear-gradient(165deg, #f1f4f8, #c9d3de); }
.ah-art--subdivision { background: linear-gradient(165deg, #eaf8ff, #bfe6ff); }
.ah-ind:has(.ah-art--restaurant) { --art: #e2574c; }
.ah-ind:has(.ah-art--hotel) { --art: #3b4bb8; }
.ah-ind:has(.ah-art--resort) { --art: #13a3b8; }
.ah-ind:has(.ah-art--factory) { --art: #d48a00; }
.ah-ind:has(.ah-art--subdivision) { --art: #3f9e2a; }

@media (prefers-reduced-motion: reduce) {
  .ah-art svg * { animation: none !important; }
  .art-draw { stroke-dashoffset: 0; }
}

/* ---------- Stage explorer illustration ---------- */
.ah-explorer__side { display: grid; gap: 18px; align-content: start; min-width: 0; }
@media (min-width: 1024px) {
  .ah-explorer__side { position: sticky; top: 104px; }
  .ah-explorer__side .ah-explorer__tabs { position: static; }
}
.ah-xart { margin: 0; display: grid; gap: 10px; }
.ah-xart__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #eef3f7;
  box-shadow: 0 0 0 1px rgba(60, 195, 230, 0.35), 0 24px 50px -24px rgba(0, 0, 0, 0.7);
}
.ah-xart__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); pointer-events: none; }
.ah-xart__scene { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 0.6s var(--ah-ease), transform 0.9s var(--ah-ease); }
.ah-xart__scene.is-active { opacity: 1; transform: scale(1); }
.ah-xart__scene img, .ah-xart__scene svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ah-xart figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.85rem; color: var(--ah-on-dark); }
.ah-xart__cap { display: none; align-items: center; gap: 8px; }
.ah-xart__cap.is-active { display: inline-flex; animation: ah-panel-in 0.45s var(--ah-ease); }
.ah-xart__cap b { font-family: var(--ah-font-mono); font-size: 0.72rem; font-weight: 400; color: var(--ah-aqua); }
.ah-xart figcaption em { font-style: normal; font-family: var(--ah-font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ah-on-dark-muted); }
@media (max-width: 1023px) { .ah-xart { max-width: 520px; } }

/* scene motion (SVG in 640 × 480 drawing space) */
.xa-fx * { transform-box: fill-box; }
.xa-flow { animation: xa-flow 1.2s linear infinite; }
.xa-flow--up { animation-duration: 1s; }
@keyframes xa-flow { to { stroke-dashoffset: -40; } }
.xa-pulse { animation: xa-pulse 1.1s ease-in-out infinite alternate; }
@keyframes xa-pulse { from { opacity: 0.1; } to { opacity: 0.55; } }
.xa-spark { animation: xa-flow 0.6s linear infinite reverse; }
.xa-led { transform-origin: center; animation: art-alert 0.9s ease-in-out infinite alternate; }
.xa-layer { opacity: 0.25; animation: xa-layer 3.6s ease-in-out infinite; }
@keyframes xa-layer { 0%, 100% { opacity: 0.25; } 12%, 30% { opacity: 1; } 45% { opacity: 0.25; } }
.xa-shimmer { animation: xa-shimmer 2.6s ease-in-out infinite; }
@keyframes xa-shimmer { 0% { transform: translateX(-90px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(90px); opacity: 0; } }
.xa-callout { animation: art-alert 1.4s ease-in-out infinite alternate; transform-origin: left center; }
.xa-uv { animation: ap-uv 1.6s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  .xa-fx * { animation: none !important; }
  .ah-xart__scene { transition: opacity 0.2s; transform: none; }
}

/* ---------- Process illustration (slide-10 artwork + animation layer) ---------- */
.ap { margin: 0; display: grid; gap: 12px; }
.ap__viewport { border-radius: 10px; background: #eef3f7; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.6); overflow: hidden; }
.ap__stage { position: relative; }
.ap__img { display: block; width: 100%; height: auto; }
.ap__fx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ap__note { font-family: var(--ah-font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ah-on-dark-muted); }

.ap-pipe { fill: none; stroke: #3cc3e6; stroke-width: 9; stroke-opacity: 0.4; stroke-dasharray: 4 18; stroke-linecap: round; animation: ap-pipe 1.4s linear infinite; }
@keyframes ap-pipe { to { stroke-dashoffset: -44; } }
.ap-drops circle { filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9)); }

/* Phase highlight ring */
.ap-ring { fill: rgba(60, 195, 230, 0.06); stroke: #1766c8; stroke-width: 5; stroke-dasharray: 10 8; opacity: 0; transition: opacity 0.5s var(--ah-ease); animation: ap-ring 1.2s linear infinite; }
@keyframes ap-ring { to { stroke-dashoffset: -36; } }
.ap-phase.is-active .ap-ring { opacity: 1; }
/* Phase effects run all the time, and brighten when their phase is active */
.ap-phase { opacity: 0.55; transition: opacity 0.5s var(--ah-ease); }
.ap-phase.is-active { opacity: 1; }

.ap-pulse { animation: ap-pulse 1.1s ease-in-out infinite alternate; }
@keyframes ap-pulse { from { opacity: 0.15; } to { opacity: 0.75; } }
.ap-floc { animation: ap-floc 2.4s ease-in-out infinite alternate; }
@keyframes ap-floc { from { stroke-opacity: 0.25; } to { stroke-opacity: 0.8; } }
.ap-spin { animation: ap-spin 0.9s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ap-spin { to { transform: rotate(360deg); } }
.ap-down { animation: ap-down 1.2s linear infinite; }
@keyframes ap-down { to { stroke-dashoffset: -22; } }
.ap-led { animation: ah-led 1.4s steps(2, jump-none) infinite; }
.ap-needle { animation: ap-needle 2.2s ease-in-out infinite alternate; transform-origin: 0 0; }
@keyframes ap-needle { from { transform: rotate(-35deg); } to { transform: rotate(40deg); } }
.ap-uv { animation: ap-uv 1.8s ease-in-out infinite alternate; }
@keyframes ap-uv { from { stroke-opacity: 0.2; } to { stroke-opacity: 0.85; } }

/* Labels */
.ap-tag {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid rgba(15, 46, 82, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ah-navy);
  font: 500 clamp(0.62rem, 0.9vw, 0.82rem) / 1 var(--ah-font-body);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(10, 26, 43, 0.35);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ah-ease);
}
.ap-tag b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ah-navy); color: #fff; font-size: 0.72rem; font-weight: 600; }
.ap-tag:hover { border-color: var(--ah-blue); }
.ap-tag.is-active { background: var(--ah-blue); color: #fff; border-color: var(--ah-blue); transform: translate(-50%, -50%) scale(1.06); }
.ap-tag.is-active b { background: #fff; color: var(--ah-blue); }
.ap-tag:last-of-type b { background: var(--ah-green); }
.ap-tag:focus-visible { outline: 2px solid var(--ah-aqua); outline-offset: 3px; }

/* Caption: in the open lower-right area of the artwork on wide screens */
.ap-caption { display: grid; gap: 10px; color: var(--ah-text); }
.ap-caption__item { display: none; gap: 6px; }
.ap-caption__item.is-active { display: grid; animation: ah-panel-in 0.5s var(--ah-ease); }
.ap-caption__item .ah-mono { color: var(--ah-blue); }
.ap-caption__item strong { font-family: var(--ah-font-head); font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ah-navy); }
.ap-caption__item p { color: var(--ah-slate); font-size: 0.98rem; max-width: 52ch; }
.ap-caption__dots { display: flex; gap: 6px; }
.ap-caption__dots i { width: 22px; height: 3px; border-radius: 2px; background: rgba(15, 46, 82, 0.15); transition: background-color 0.3s, width 0.3s; }
.ap-caption__dots i.is-active { background: var(--ah-blue); width: 40px; }
.ap { position: relative; }
@media (min-width: 1100px) {
  /* bottom offset = note line + grid gap, so the caption sits inside the artwork's open corner */
  .ap-caption { position: absolute; left: 34%; right: 4%; bottom: calc(28px + 3.5%); pointer-events: none; }
}
@media (max-width: 1099px) {
  .ap-caption { padding: 18px 20px 20px; background: #fff; border-radius: 10px; }
}

/* Phones: let the artwork run wider than the screen; aqua.js keeps the active phase in view */
@media (max-width: 699px) {
  .ap__viewport { overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
  .ap__viewport::-webkit-scrollbar { display: none; }
  .ap__stage { width: 760px; }
}
/* Below wide desktop the step names collide (3/4/5 sit close together): show numbers only; the caption names the step */
@media (max-width: 1099px) {
  .ap-tag span { display: none; }
  .ap-tag { padding: 4px; }
  .ap-tag b { width: 26px; height: 26px; font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ap-pipe, .ap-ring, .ap-pulse, .ap-floc, .ap-spin, .ap-down, .ap-led, .ap-needle, .ap-uv { animation: none; }
}

/* ---------- Motion layer ---------- */

/* Kicker rule draws in */
.ah-js .ah-kicker.ah-reveal::before { width: 0; transition: width 0.9s var(--ah-ease) 0.2s; }
.ah-js .ah-kicker.ah-reveal.is-in::before { width: 28px; }

/* Photos wipe open, then drift gently with scroll (parallax set by aqua.js) */
.ah-js .ah-figure.ah-reveal .ah-figure__img,
.ah-js .ah-project.ah-reveal .ah-project__media { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ah-ease) 0.1s; }
.ah-js .ah-figure.ah-reveal.is-in .ah-figure__img,
.ah-js .ah-project.ah-reveal.is-in .ah-project__media { clip-path: inset(0 0 0 0); }
[data-parallax] img { transform: translate3d(0, var(--py, 0px), 0) scale(1.12); will-change: transform; }
.ah-figure:hover .ah-figure__img[data-parallax] img { transform: translate3d(0, var(--py, 0px), 0) scale(1.15); }

/* Cards: a blue rule runs across the top on hover */
.ah-cell { position: relative; transition: background-color 0.3s var(--ah-ease); }
.ah-cell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ah-blue), var(--ah-aqua));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ah-ease);
}
.ah-cell:hover::before { transform: scaleX(1); }
.ah-cell:hover { background: #fbfdfe; }

/* Buttons: light sweep on hover */
.ah-btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.ah-btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ah-ease);
  z-index: -1;
}
.ah-btn--primary:hover::after { transform: translateX(120%); }

/* Social tiles: icon lifts */
.ah-social svg { transition: transform 0.4s var(--ah-ease), color 0.3s; }
.ah-social a:hover svg { transform: translateY(-4px) scale(1.08); color: var(--ah-aqua); }

/* Technology stages: flow line fills as you scroll, active stage lights up */
.ah-stages-wrap { position: relative; }
.ah-stages__line { position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: var(--ah-line-dark); pointer-events: none; }
.ah-stages__line span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #7f98ab, var(--ah-aqua) 60%, var(--ah-green));
  transform-origin: 50% 0;
  transform: scaleY(var(--ah-fill, 0));
}
.ah-stage { padding-left: 32px; }
@media (min-width: 900px) { .ah-stage { padding-left: 36px; } }
.ah-stage__num { position: relative; }
.ah-stage__num::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ah-ink);
  border: 2px solid var(--ah-line-dark);
  transition: border-color 0.4s, box-shadow 0.4s, background-color 0.4s;
}
@media (max-width: 899px) { .ah-stage__num::before { left: -32px; } }
.ah-stage .ah-stage__title h3,
.ah-stage .ah-stage__body p { transition: color 0.5s var(--ah-ease); }
.ah-js .ah-stage:not(.is-active) .ah-stage__title h3 { color: var(--ah-on-dark-muted); }
.ah-stage.is-active .ah-stage__num::before { border-color: var(--ah-aqua); background: var(--ah-aqua); box-shadow: 0 0 0 6px rgba(60, 195, 230, 0.15); }
.ah-stage.is-active .ah-stage__body p { color: var(--ah-on-dark); }
.ah-stage .ah-tag { transition: border-color 0.4s, color 0.4s; }
.ah-stage.is-active .ah-tag { border-color: rgba(60, 195, 230, 0.45); color: var(--ah-on-dark); }

/* Facts: numbers count up (aqua.js) */
.ah-fact b { font-variant-numeric: tabular-nums; }

/* Process ticker */
.ah-ticker { background: var(--ah-navy); color: var(--ah-on-dark); overflow: hidden; border-block: 1px solid var(--ah-line-dark); }
.ah-ticker__track { display: flex; width: max-content; animation: ah-ticker var(--ah-ticker-speed, 40s) linear infinite; }
.ah-ticker:hover .ah-ticker__track { animation-play-state: paused; }
.ah-ticker__group { display: flex; align-items: center; flex-shrink: 0; }
.ah-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 22px 18px;
  font-family: var(--ah-font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ah-ticker__item::after { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, var(--ah-aqua), transparent); }
.ah-ticker__item.is-end { color: var(--ah-green); }
.ah-ticker__item.is-end::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ah-green); box-shadow: 0 0 0 5px rgba(79, 174, 46, 0.18); }
@keyframes ah-ticker { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .ah-unit, .ah-flow__labels li, .ah-led, .ah-spark, .ah-flow-down,
  .ah-hero__waves path, .ah-ticker__track { animation: none !important; }
  .ah-js .ah-split .ah-w > span { transform: none !important; }
  .ah-js .ah-figure.ah-reveal .ah-figure__img,
  .ah-js .ah-project.ah-reveal .ah-project__media { clip-path: none !important; }
  [data-parallax] img { transform: none !important; }
  .ah-hero__glow { display: none; }
}

/* Visually hidden */
.ah-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* --- Private visit summary (owner browsers only) --- */
.ah-owner-stats { position: fixed; right: 18px; bottom: 18px; z-index: 70; min-width: 210px; padding: 12px 16px 14px; border: 1px solid rgba(60, 195, 230, 0.45); border-radius: 14px; background: rgba(10, 26, 43, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #e8eef3; font: 500 0.78rem/1.3 var(--ah-font-body, system-ui); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.7); }
.ah-owner-stats__t { margin: 0 22px 8px 0; color: #9fb3c4; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.ah-owner-stats dl { display: flex; gap: 16px; margin: 0; }
.ah-owner-stats dt { color: #9fb3c4; font-size: 0.7rem; }
.ah-owner-stats dd { margin: 2px 0 0; font-family: var(--ah-font-head); font-size: 1.25rem; color: #fff; font-variant-numeric: tabular-nums; }
.ah-owner-stats__x { position: absolute; top: 6px; right: 8px; border: 0; background: none; color: #9fb3c4; font-size: 1.1rem; cursor: pointer; }
.ah-owner-stats__live { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; color: #9fb3c4; font-size: 0.68rem; }
.ah-owner-stats__live i { width: 7px; height: 7px; border-radius: 50%; background: #3fd27f; box-shadow: 0 0 0 0 rgba(63, 210, 127, 0.6); animation: ah-live 2s infinite; }
@keyframes ah-live { 70% { box-shadow: 0 0 0 7px rgba(63, 210, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 210, 127, 0); } }
.ah-owner-stats dd.is-bump { animation: ah-bump 0.6s var(--ah-ease, ease); }
@keyframes ah-bump { 40% { color: #3cc3e6; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .ah-owner-stats__live i, .ah-owner-stats dd.is-bump { animation: none; } }

/* ---------- Phones held sideways (landscape: wide but short) ---------- */
/* Notch / rounded corners: keep content clear of the sides (viewport-fit=cover lets the page run under them) */
:root { --ah-gutter: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
@media (orientation: landscape) and (max-height: 540px) and (max-width: 1100px) {
  :root { --ah-section-y: clamp(44px, 6vw, 72px); }
  /* Slimmer sticky header so it doesn't eat a fifth of the screen */
  .ah-header { padding-top: 6px; }
  .ah-header__bar { min-height: 50px; padding-left: 16px; }
  .ah-header__brand img { height: 22px; }
  .ah-header__brand span { display: none; }
  body:has(.ah-hero, .ah-phero) #header-group { margin-bottom: -56px; }
  .ah[id] { scroll-margin-top: 64px; }
  .ah-menu__panel { inset: 62px var(--ah-gutter) auto var(--ah-gutter); max-height: calc(100dvh - 72px); overflow-y: auto; }
  /* Hero and page heroes: less top padding, smaller headlines */
  .ah-hero__inner, .ah-phero__inner { padding-top: calc(28px + 56px) !important; padding-bottom: 40px; gap: 28px; }
  .ah-hero__copy, .ah-hero__side { gap: 18px; }
  .ah-h1, .ah-hero__copy .ah-h1, .ah-phero .ah-h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); }
  .ah-h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
  .ah-head { margin-bottom: 28px; gap: 14px; }
  .ah-hero__waves { height: 70px; }
  .ah-cta__inner { padding-block: 48px; }
  /* Floating buttons: compact and clear of the notch */
  .ah-sound { left: max(12px, env(safe-area-inset-left, 0px)); bottom: 10px; padding: 9px; }
  .ah-sound__label { display: none; }
  .ah-owner-stats { right: max(12px, env(safe-area-inset-right, 0px)); bottom: 10px; min-width: 0; padding: 8px 12px 10px; }
  .ah-owner-stats dd { font-size: 1.05rem; }
  .ah-owner-stats__live { display: none; }
  .ah-tip { max-height: calc(100dvh - 24px); overflow-y: auto; }
}

/* ---------- Performance: the first screen never waits for scripts ---------- */
/* Hero text is visible from the first paint (Google's "Largest Contentful Paint"); a gentle
   CSS-only rise replaces the script-driven fade for this area */
.ah-js .ah-hero .ah-reveal, .ah-js .ah-phero .ah-reveal { opacity: 1; translate: none; animation: ah-first-in 0.7s var(--ah-ease) both; }
.ah-js .ah-hero .ah-reveal[data-delay="1"], .ah-js .ah-phero .ah-reveal[data-delay="1"] { animation-delay: 0.06s; }
.ah-js .ah-hero .ah-reveal[data-delay="2"], .ah-js .ah-phero .ah-reveal[data-delay="2"] { animation-delay: 0.12s; }
.ah-js .ah-hero .ah-reveal[data-delay="3"], .ah-js .ah-phero .ah-reveal[data-delay="3"] { animation-delay: 0.18s; }
@keyframes ah-first-in { from { transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .ah-js .ah-hero .ah-reveal, .ah-js .ah-phero .ah-reveal { animation: none; } }

/* ---------- Performance: animations only where they can be seen ---------- */
/* aqua.js marks sections that are off screen; their looping effects pause until they scroll back in */
.ah.ah-paused, .ah.ah-paused *, .ah.ah-paused *::before, .ah.ah-paused *::after { animation-play-state: paused !important; }
/* Sound button equalizer: animate a cheap transform instead of height (no page re-layout every frame) */
.ah-sound.is-on .ah-sound__bars i { height: 14px; transform-origin: 50% 100%; animation-name: ah-eq-s; }
@keyframes ah-eq-s { from { transform: scaleY(0.22); } to { transform: scaleY(1); } }

/* ---------- Phones (upright): lighter first screen ---------- */
/* Fewer always-running effects for faster loading on phones. Desktop and sideways phones keep them all.
   The treatment illustration starts still and comes alive when the visitor touches it (aqua.js "calm"). */
@media (max-width: 699px) {
  .ah-header__float::before, .ah-header__cta, .ah-hero__waves * { animation: none !important; }
  .ap.ah-calm, .ap.ah-calm *, .ap.ah-calm *::before, .ap.ah-calm *::after { animation-play-state: paused !important; }
}

/* ---------- Desktop: each section fits the screen (height-aware) ---------- */
/* Spacing and visuals shrink on shorter desktop screens (e.g. 1366x768, 1600x900) and grow back on
   taller ones, so a section's main content is visible at once without scrolling inside it.
   Checked at 1366x768, 1600x900 and 1920x1080 on every page. */
@media (min-width: 1024px) {
  :root { --ah-section-y: clamp(36px, 6vh, 112px); }
  .ah-head { margin-bottom: clamp(20px, 3.2vh, 56px); }
  .ah-h2 { font-size: clamp(2rem, min(3.4vw, 5.4vh), 3.25rem); }

  /* Hero and page heroes: less space above the headline; the illustration is capped so it fits underneath */
  .ah-hero__inner, .ah-phero__inner { padding-top: calc(88px + clamp(12px, 2.5vh, 72px)) !important; }
  .ah-hero__inner { gap: clamp(20px, 3vh, 40px); padding-bottom: clamp(24px, 4vh, 64px); }
  .ah-phero__inner { padding-bottom: clamp(24px, 4vh, 88px) !important; gap: clamp(18px, 3vh, 28px); }
  .ah-hero .ap { max-width: min(100%, calc((100vh - 470px) * 2.515)); margin-inline: auto; }
  .ah-phero .ap { max-width: min(100%, calc((100vh - 420px) * 2.515)); margin-inline: auto; }

  /* Challenge cards: shorter art strip and body so both rows fit */
  .ah-cell--art .ah-art { aspect-ratio: auto; height: clamp(96px, 12vh, 225px); }
  .ah-cell--art .ah-cell__body { padding: clamp(14px, 2.2vh, 32px) clamp(18px, 1.6vw, 32px); gap: 6px; }
  .ah-cell--art .ah-cell__body p { font-size: clamp(0.9rem, 1.7vh, 1rem); line-height: 1.5; }

  /* Compliance: clock and "Which moment are you in?" side by side, fully visible */
  .ah-moments { gap: clamp(10px, 1.6vh, 18px); padding: clamp(20px, 3vh, 40px); }
  .ah-moments__list { gap: clamp(6px, 0.9vh, 10px); }
  .ah-moment { grid-template-columns: clamp(32px, 4vh, 44px) 1fr 22px; padding-block: clamp(6px, 1vh, 12px); }
  .ah-moment__icon { width: clamp(32px, 4vh, 44px); height: clamp(32px, 4vh, 44px); }
  .ah-moments__answer { min-height: 0; padding-block: clamp(10px, 1.6vh, 16px); }
  .ah-clock__note { padding-top: 12px; }

  /* Technology stages, comparison table, projects and gallery */
  .ah-stage { padding-block: clamp(10px, 1.2vh, 32px); }
  .ah-compare th, .ah-compare td { padding-block: clamp(8px, 1.3vh, 16px); }
  .ah-tech-media, .ah-labs { margin-top: clamp(24px, 3.5vh, 88px); }
  .ah-tech-media .ah-figure__img { max-height: calc(100vh - 330px); }
  .ah-project__media { min-height: clamp(280px, 42vh, 420px); }
  .ah-project__body { padding: clamp(20px, 3vh, 44px); gap: clamp(12px, 1.8vh, 20px); }
  .ah-gallery .ah-figure__img { max-height: clamp(150px, 20vh, 340px); }
  .ah-gallery .ah-figure__img img { height: 100%; object-fit: cover; }

  /* Inquiry form */
  .ah-form { gap: clamp(10px, 1.6vh, 18px); padding: clamp(20px, 3vh, 44px); }

  /* About: brand architecture reads left to right on desktop (was a tall vertical stack) */
  .ah-arch { max-width: none; display: flex; align-items: stretch; }
  .ah-arch__tier { flex: 1 1 0; min-width: 0; align-content: center; padding: clamp(18px, 2.6vh, 28px) clamp(18px, 1.6vw, 28px); }
  .ah-arch__tier img { width: min(260px, 85%); }
  .ah-arch__tier strong { font-size: clamp(1.15rem, 1.5vw, 1.45rem); }
  .ah-arch__link { flex: 0 0 clamp(28px, 3vw, 56px); height: 2px; width: auto; align-self: center; margin-inline: 0; }
  .ah-arch__link::after { top: 0; bottom: 0; left: -40%; right: auto; width: 40%; height: auto; background: linear-gradient(90deg, transparent, var(--ah-aqua), transparent); animation-name: ah-drop-x; }
}
@keyframes ah-drop-x { from { left: -40%; } to { left: 100%; } }
/* The last process tag ("Treated water") sits at the artwork's right edge; keep it inside the frame */
@media (min-width: 1100px) { .ap-tag:last-of-type { translate: -22px 0; } }

/* ---------- Compliance: "The cost of waiting" (replaces the live clock) ---------- */
/* Honest urgency: the visitor chooses the number of days and sees BOTH ends of the legal range,
   then the escalation path, each step opening the matching "Which moment are you in?" option. */
.ah-cost { gap: clamp(14px, 2vh, 22px); }
.ah-cost__range-label { color: #ff9a9d; }
.ah-cost__ask { display: grid; gap: 12px; }
.ah-cost__q { font-size: 1rem; color: var(--ah-on-dark); }
.ah-cost__q output { font-weight: 700; color: #fff; white-space: nowrap; }
.ah-cost__slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 6px; cursor: pointer; background: linear-gradient(90deg, #ff9f43, #ff4d55) 0 / var(--p, 7%) 100% no-repeat, rgba(255, 255, 255, 0.1); }
.ah-cost__slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid #ff4d55; box-shadow: 0 4px 14px rgba(255, 77, 85, 0.5); }
.ah-cost__slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid #ff4d55; box-shadow: 0 4px 14px rgba(255, 77, 85, 0.5); }
.ah-cost__slider:focus-visible { outline: 2px solid #3cc3e6; outline-offset: 6px; }
.ah-cost__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ah-cost__chips button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ah-line-dark); background: rgba(255, 255, 255, 0.04); color: var(--ah-on-dark-muted); font: 500 0.8rem/1 var(--ah-font-body); cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.ah-cost__chips button:hover { border-color: rgba(255, 138, 141, 0.6); color: #fff; }
.ah-cost__chips button[aria-pressed="true"] { background: rgba(255, 77, 85, 0.18); border-color: rgba(255, 138, 141, 0.7); color: #fff; }
.ah-cost__out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ah-cost__out div { display: grid; gap: 4px; padding: clamp(12px, 1.8vh, 18px) 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--ah-line-dark); min-width: 0; }
.ah-cost__out small { font-size: 0.78rem; color: var(--ah-on-dark-muted); }
.ah-cost__out b { font-family: var(--ah-font-head); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ah-cost__out .is-max { background: rgba(229, 72, 77, 0.14); border-color: rgba(255, 138, 141, 0.4); }
.ah-cost__out .is-max b { color: #ffb3b5; }
.ah-cost__path { display: grid; gap: 10px; }
.ah-cost__path-title { color: var(--ah-on-dark-muted); }
.ah-cost__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.ah-cost__steps::before { content: ""; position: absolute; left: 10px; right: 10px; top: 9px; height: 2px; background: linear-gradient(90deg, rgba(60, 195, 230, 0.6), #ff9f43, #ff4d55); }
.ah-cost__step { position: relative; display: grid; gap: 3px; justify-items: start; width: 100%; padding: 26px 8px 4px 0; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; font: inherit; }
.ah-cost__step::before { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #0a1a2b; border: 3px solid #ff9f43; transition: transform 0.25s var(--ah-ease), background-color 0.25s; }
.ah-cost__steps li:first-child .ah-cost__step::before { border-color: #3cc3e6; }
.ah-cost__steps li:nth-child(n+3) .ah-cost__step::before { border-color: #ff4d55; }
.ah-cost__step b { font-size: 0.9rem; font-weight: 600; }
.ah-cost__step span { font-size: 0.76rem; color: var(--ah-on-dark-muted); line-height: 1.35; }
.ah-cost__step:hover::before, .ah-cost__step:focus-visible::before { transform: scale(1.25); background: #fff; }
.ah-cost__step:hover b { color: #9fe6ff; }
.ah-cost__step:focus-visible { outline: 2px solid #3cc3e6; outline-offset: 4px; border-radius: 6px; }
.ah-cost__hint { font-size: 0.78rem; color: var(--ah-on-dark-muted); }
@media (max-width: 599px) {
  .ah-cost__out { grid-template-columns: 1fr; }
  .ah-cost__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .ah-cost__steps::before { display: none; }
}
@media (max-width: 599px) {
  .ah-cost .ah-clock__top { flex-wrap: wrap; row-gap: 4px; }
  .ah-cost__range-label { white-space: nowrap; }
}
