/* DigiPhyte showcase. Dark glass aesthetic, light generative hero. Tokens first. */

:root {
  /* dark page (teal-black, not green-black) */
  --bg:          #06201f;
  --bg-2:        #0a302d;
  --ink:         #eef5f3;
  --muted:       #a7c2bb;
  --line:        rgba(148, 233, 226, 0.10);
  --line-strong: rgba(148, 233, 226, 0.22);

  /* accents: teal = structure, lime = the one go-signal, cyan = links/eyebrows */
  --lime:        #b3d133;
  --lime-soft:   #d6ee92;
  --cyan:        #8ff0ea;
  --teal:        #2da0a0;
  --teal-bright: #46c7c2;
  --teal-deep:   #1a6566;

  /* hero (light) */
  --hero-ink:      #07271f;
  --hero-ink-soft: #134a3c;

  /* liquid glass (teal-tinted so refraction reads) */
  --glass-bg:     rgba(187, 249, 247, 0.06);
  --glass-bg-hi:  rgba(187, 249, 247, 0.10);
  --glass-border: rgba(187, 249, 247, 0.20);
  --glass-blur:   20px;
  --glass-shadow: 0 26px 54px -30px rgba(0, 20, 19, 0.85);

  /* scale */
  --maxw:       1180px;
  --gutter:     clamp(1.1rem, 4vw, 2.5rem);
  --header-h:   68px;
  --section-py: clamp(3.25rem, 7vh, 5.5rem);
  --radius:     20px;
  --radius-sm:  14px;
  --radius-xs:  8px;
  --card-pad:   clamp(1.4rem, 2.4vw, 2rem);
  --card-title: 1.25rem;
  --card-body:  1rem;
  --label:      0.75rem;

  /* spacing scale: one rhythm for the whole page */
  --space-2xs:  0.375rem;
  --space-xs:   0.625rem;
  --space-sm:   0.875rem;
  --space-md:   1.25rem;
  --space-lg:   1.75rem;
  --space-xl:   2.5rem;
  --space-2xl:  3.5rem;
  --space-3xl:  5rem;

  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sym:  "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols2", var(--font);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  /* teal-forward ambient pools so the glass panels have something to refract */
  background-image:
    radial-gradient(46rem 34rem at 10% 4%, rgba(45, 160, 160, 0.16), transparent 60%),
    radial-gradient(40rem 30rem at 92% 20%, rgba(179, 209, 51, 0.05), transparent 58%),
    radial-gradient(56rem 44rem at 50% 104%, rgba(26, 101, 102, 0.30), transparent 62%),
    radial-gradient(38rem 30rem at 78% 78%, rgba(70, 199, 194, 0.10), transparent 60%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cyan); text-decoration: none; }
h1, h2, h3 { line-height: 1.12; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: var(--radius-xs); }
/* on light / lime surfaces a lime ring is invisible, use the deep green instead */
.hero :focus-visible,
.btn--solid:focus-visible, .btn--solid-dark:focus-visible, .btn--outline-dark:focus-visible,
.skip-link:focus-visible, .carousel-dots .dot:focus-visible { outline-color: var(--hero-ink); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- liquid glass ---------- */
.glass {
  background: linear-gradient(180deg, var(--glass-bg-hi), var(--glass-bg));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(165%);
          backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(199, 249, 247, 0.28), inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

/* ---------- section system (natural height, never taller than the screen) ---------- */
.section {
  padding-block: var(--section-py);
  scroll-margin-top: var(--header-h);
}
.section > .wrap { width: 100%; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); }
/* light relief band: dark text on a pale teal ground, to break the run of dark sections.
   a soft gradient rather than a flat slab, and no hard 1px seams top/bottom */
.section--light { background: linear-gradient(180deg, #dcece6, #eff6f2 45%, #e3efe9); border: 0; color: var(--hero-ink); }
/* the hero's generative wave, running behind the solutions gallery */
#solutions { position: relative; overflow: hidden; }
#solutions > .wrap { position: relative; z-index: 1; }
.solutions-wave { opacity: 0.75; }
.section--light .eyebrow { color: var(--teal-deep); }
.section--light .section-title, .section--light h2, .section--light h3 { color: var(--hero-ink); }
.section--light .section-intro { color: var(--hero-ink-soft); }

.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 300;
  background: var(--lime); color: #0a2416; padding: 0.6rem 1rem;
  border-radius: var(--radius-xs); font-weight: 700; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- consistent headings ---------- */
.eyebrow {
  display: inline-block; color: var(--cyan);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 0.7rem; }
.section-title--xl { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.section-intro {
  color: var(--muted); font-size: 1.05rem; max-width: 60ch;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); text-wrap: pretty;
}
.section-intro--center { margin-inline: auto; text-align: center; text-wrap: balance; }
/* this intro reads as a single line on desktop, so let it use the full column width */
#products .section-intro { max-width: none; text-wrap: normal; }
.arr { font-family: var(--sym); font-weight: 400; }

/* ---------- buttons (identical box model so widths/heights always match) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 3.25rem; padding: 0 1.7rem; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1; text-align: center;
  border: 2px solid transparent; cursor: pointer; box-sizing: border-box;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
/* dark-section buttons */
.btn--solid   { background: var(--lime); color: #0a2416; border-color: var(--lime); }
.btn--solid:hover { background: var(--lime-soft); border-color: var(--lime-soft); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--lime-soft); border-color: var(--line-strong); }
.btn--outline:hover { background: rgba(255,255,255,0.06); border-color: var(--lime); transform: translateY(-2px); }
/* hero (light bg) buttons */
/* clean frosted glass (Apple-style): one flat translucent fill + heavy blur, hairline
   border, single soft shadow. Dark text stays legible and the hero wave shows through. */
/* primary hero CTA: teal-tinted frosted glass, leads the eye, but stays refined and understated */
.btn--solid-dark {
  background: linear-gradient(180deg, rgba(45,160,160,0.32), rgba(26,101,102,0.26)); color: var(--hero-ink);
  border: 1px solid rgba(255,255,255,0.5);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 14px 34px -16px rgba(7,39,31,0.34), inset 0 1px 0 rgba(255,255,255,0.45);
}
.btn--solid-dark:hover {
  background: linear-gradient(180deg, rgba(45,160,160,0.42), rgba(26,101,102,0.34)); border-color: rgba(255,255,255,0.62); transform: translateY(-2px);
  box-shadow: 0 20px 42px -16px rgba(7,39,31,0.4), inset 0 1px 0 rgba(255,255,255,0.55);
}
/* secondary hero CTA: clear frosted ghost, quietly recedes behind the primary */
.btn--outline-dark {
  background: rgba(255,255,255,0.14); color: var(--hero-ink-soft);
  border: 1px solid rgba(26,101,102,0.18);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 8px 22px -18px rgba(7,39,31,0.16);
}
.btn--outline-dark:hover { background: rgba(255,255,255,0.24); border-color: rgba(26,101,102,0.3); color: var(--hero-ink); transform: translateY(-2px); }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.cta-row--center { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(6, 32, 31, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border-bottom-color: var(--line);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; transition: opacity 0.35s var(--ease); }
/* logo hidden over the hero (the hero already shows the big logo), fades in on scroll */
.site-header:not(.scrolled) .brand { opacity: 0; pointer-events: none; }
.brand-logo { height: 32px; width: auto; }
.brand-logo--light { display: none; }
.site-header.scrolled .brand-logo--dark { display: none; }
.site-header.scrolled .brand-logo--light { display: block; }
.main-nav { display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
.main-nav a { color: var(--hero-ink); font-weight: 700; font-size: 0.95rem; transition: color 0.2s var(--ease); }
.main-nav a:hover { color: var(--hero-ink-soft); }
.site-header.scrolled .main-nav a { color: var(--muted); }
.site-header.scrolled .main-nav a:hover { color: var(--lime-soft); }
/* over the hero the brand is hidden, so centre the nav links; on scroll the brand returns and they move to the right */
@media (min-width: 861px) {
  .site-header:not(.scrolled) .brand { position: absolute; }
  .site-header:not(.scrolled) .site-header-inner { justify-content: center; }
}

/* mobile menu toggle (hamburger) */
.nav-toggle { display: none; width: 2.6rem; height: 2.6rem; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 22px; height: 2px; background: var(--hero-ink); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-toggle-bar { top: 50%; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.site-header.scrolled .nav-toggle-bar,
.site-header.scrolled .nav-toggle-bar::before,
.site-header.scrolled .nav-toggle-bar::after { background: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: absolute; top: var(--header-h); right: var(--gutter); left: var(--gutter);
    flex-direction: column; gap: 0.3rem; padding: 0.7rem;
    background: rgba(6, 32, 31, 0.94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--glass-shadow);
    max-height: calc(100svh - var(--header-h) - 1rem); overflow-y: auto;
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a, .site-header .main-nav a { color: var(--ink); padding: 0.65rem 0.6rem; border-radius: var(--radius-xs); }
  .main-nav a:hover { background: rgba(255,255,255,0.06); }
}

/* ---------- hero (light generative wave) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden; background: #dff7ec;
}
.hero-anim { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(130% 70% at 50% -10%, rgba(255,255,255,0.5), transparent 55%),
    radial-gradient(120% 80% at 50% 110%, rgba(214,242,224,0.55), transparent 60%);
}
/* logo, heading, sub-text and CTAs form one centred column with an identical gap between each */
/* wider column than the rest of the page so a big heading still holds three lines,
   which leaves the height for generous, even gaps */
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: min(1400px, 94vw); text-align: center;
  min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; gap: clamp(1.75rem, 6.5vh, 4.75rem);
  padding-block: calc(var(--header-h) + clamp(0.75rem, 1.5vh, 1.25rem)) clamp(1rem, 2vh, 1.5rem);
  transform-origin: center 40%; will-change: transform, opacity;
}
/* sized against BOTH width and height, so short laptop windows scale down smoothly
   instead of snapping to a cramped fallback */
.hero-logo { align-self: center; display: block; height: clamp(92px, min(10vw, 15vh), 140px); width: auto; margin: 0; }
.hero-title {
  color: var(--hero-ink); font-weight: 400; font-size: clamp(2.25rem, min(6.3vw, 9.6vh), 6.25rem);
  line-height: 1.05; letter-spacing: -0.02em; margin: 0;
}
.hero-sub {
  max-width: min(76rem, 94vw); margin: 0 auto;
  color: var(--hero-ink-soft); font-weight: 400; font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65; text-wrap: pretty;
}
/* each sentence sits on its own line (the <br> holds on desktop; wraps naturally when narrow) */
@media (max-width: 560px) {
  /* tighten the hero on phones so both CTAs clear the fold and the heading never overruns */
  .hero-inner { gap: clamp(0.9rem, 3vh, 1.6rem); padding-block: calc(var(--header-h) + 0.5rem) 1rem; }
  .hero-logo { height: clamp(58px, 15.5vw, 84px); }
  .hero-title { font-size: clamp(1.7rem, 7.6vw, 2.35rem); }
  .hero-sub { font-size: 0.94rem; line-height: 1.55; }
  .hero-cta { gap: 0.7rem; }
  .hero-cta .btn { height: clamp(3.1rem, 6.5vh, 3.6rem); font-size: 1.05rem; }
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-md); margin-bottom: 0; }
.hero-cta .btn { min-width: 17.5rem; height: clamp(3.75rem, 7.5vh, 4.25rem); padding: 0 2.4rem; font-size: 1.12rem; }
@media (max-width: 420px) { .hero-cta .btn { min-width: 0; width: 100%; } }
/* short landscape laptops: compress the hero so it never scrolls internally */
/* only genuinely tiny heights (phones in landscape) need a compact hero;
   normal laptop windows are handled by the vh-aware clamps above */
@media (max-height: 620px) and (orientation: landscape) {
  .hero-inner { padding-block: calc(var(--header-h) + 0.5rem) 0.75rem; gap: clamp(0.75rem, 2.5vh, 1.25rem); }
  .hero-logo { height: clamp(56px, 9.5vh, 84px); margin: 0; }
  .hero-title { font-size: clamp(1.75rem, 4.5vw, 2.75rem); margin: 0; }
  .hero-cta { margin-bottom: 0; }
  .hero-cta .btn { height: 3rem; font-size: 0.98rem; min-width: 14rem; }
  .hero-sub { margin: 0 auto; font-size: 0.9rem; }
}

/* ---------- recent successes carousel: one big card, neighbours shrink and fade to 0 ---------- */
/* tighter vertical rhythm here so the wide card fits the viewport top-to-bottom */
#successes { padding-block: clamp(1.75rem, 4vh, 3rem); }
#successes .section-intro { margin-bottom: clamp(1rem, 2vh, 1.5rem); }
.carousel {
  /* card width is driven by a height budget for the shot, so the whole 1.415:1 image always fits.
     the stage is then sized off the card, keeping the side screens the same distance out at any size. */
  --shot-h: clamp(220px, 40vh, 470px);
  --shot-w: calc(var(--shot-h) * 1.4151);
  /* a little breathing room either side of the shot, so the bubble reads landscape, not square */
  --card-extra: clamp(2rem, 4vw, 4.5rem);
  --card-w: min(calc(var(--shot-w) + var(--card-extra) + 2 * clamp(1.25rem, 2.2vw, 2rem)), 88vw);
  margin-top: 0; position: relative; left: 50%; transform: translateX(-50%);
  width: min(calc(var(--card-w) * 2.15), 95vw);
  overflow-x: clip;
}
.carousel-stage { position: relative; display: flex; align-items: center; gap: clamp(0.5rem, 1.5vw, 1rem); }
.carousel-viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; padding: clamp(0.75rem, 1.5vw, 1.1rem) 0; }
.carousel-track { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(0.75rem, 1.6vw, 1.5rem); transition: transform 0.6s var(--ease); will-change: transform; }
/* de-boxed card: subtle layered fill, hairline edge, one restrained shadow (no heavy glass) */
/* the shots are all 1800x1272 (1.415:1). The card is sized off a viewport-height budget for the
   shot, so the whole screenshot always shows: no cropping, and the bubble scales with the screen. */
.success {
  flex: 0 0 var(--card-w); min-width: 0;
  position: relative; z-index: 0;
  display: block;
  padding: clamp(1.25rem, 2.2vw, 2rem); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(148, 233, 226, 0.06), rgba(148, 233, 226, 0.022));
  border: 1px solid rgba(148, 233, 226, 0.08);
  box-shadow: 0 18px 40px -24px rgba(0, 12, 11, 0.65), inset 0 1px 0 rgba(199, 249, 247, 0.10);
}
/* coverflow: centre card full size, its two neighbours smaller and faded and tucked behind it,
   everything further out at 0. Only applied once JS drives the carousel, so no-JS shows every card. */
.carousel.is-ready .success {
  opacity: 0; transform: scale(0.78); pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.carousel.is-ready .success.is-prev,
.carousel.is-ready .success.is-next { opacity: 0.5; z-index: 1; }
/* the two side screens shrink right down and pull inward, so each sits complete inside the
   margin beside the main screen instead of running off the edge of the page */
.carousel.is-ready .success.is-prev { transform: translateX(25%) scale(0.3); }
.carousel.is-ready .success.is-next { transform: translateX(-25%) scale(0.3); }
.carousel.is-ready .success.is-active { opacity: 1; transform: scale(1); pointer-events: auto; z-index: 2; }
.success-img {
  width: min(100%, var(--shot-w)); height: auto; aspect-ratio: 1800 / 1272;
  border-radius: var(--radius-sm); margin: 0 auto clamp(1rem, 1.8vw, 1.4rem);
  background:
    radial-gradient(120% 150% at 25% 12%, rgba(70, 199, 194, 0.22), transparent 55%),
    linear-gradient(155deg, rgba(45, 160, 160, 0.16), rgba(26, 101, 102, 0.06));
  position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(199, 249, 247, 0.06);
}
.success-shot { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* sticker sits over the bottom-right corner of the shot */
.nda-sticker {
  position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.7rem; border-radius: 999px;
  background: rgba(4, 26, 25, 0.82); border: 1px solid rgba(148, 233, 226, 0.28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--cyan); font-size: var(--label); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}
.nda-lock { width: 14px; height: 14px; flex: none; color: var(--cyan); }
/* keep the copy on the same left/right edges as the shot above it */
.success-body { text-align: left; max-width: min(100%, var(--shot-w)); margin-inline: auto; }
.success-body h3 { font-size: clamp(1.3rem, 1.9vw, 1.75rem); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 0.6rem; }
.success-body p { color: var(--muted); font-size: clamp(0.98rem, 1.1vw, 1.02rem); line-height: 1.6; }
.success .more { margin-top: 0.7rem; }
.success .more > summary { list-style: none; cursor: pointer; color: var(--cyan); font-weight: 700; font-size: 0.95rem; }
.success .more > summary::-webkit-details-marker { display: none; }
.success .more[open] > summary { color: var(--lime-soft); }
.success .more p { margin-top: 0.55rem; color: var(--muted); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: clamp(1rem, 2vw, 1.4rem); }
.carousel-btn {
  flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; cursor: pointer;
  background: rgba(148, 233, 226, 0.04); border: 1px solid rgba(148, 233, 226, 0.14); color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.carousel-btn:hover { background: rgba(148, 233, 226, 0.09); border-color: var(--lime); }
.carousel-dots { display: flex; gap: 0.25rem; }
.carousel-dots .dot {
  width: 22px; height: 22px; padding: 7px; border: 0; cursor: pointer;
  background: rgba(148, 233, 226, 0.18); background-clip: content-box; border-radius: 50%;
  transition: background 0.2s var(--ease);
}
.carousel-dots .dot.active { background: var(--lime); background-clip: content-box; }

/* ---------- quote strip ---------- */
/* ---------- client logo strip ---------- */
.logos { position: relative; overflow: hidden; padding-block: clamp(2rem, 4.5vh, 3.4rem); background: var(--bg); border-top: 1px solid var(--line); }
/* soft aurora glow behind the strip; the glass pane over it refracts the colour */
.logos::before {
  content: ""; position: absolute; inset: -30% -12%; pointer-events: none;
  background:
    radial-gradient(38% 62% at 20% 28%, rgba(45, 160, 160, 0.30), transparent 70%),
    radial-gradient(42% 64% at 82% 72%, rgba(70, 199, 194, 0.22), transparent 72%),
    radial-gradient(34% 56% at 60% 16%, rgba(179, 209, 51, 0.15), transparent 70%);
  filter: blur(38px);
}
.logos .wrap { position: relative; z-index: 1; text-align: center; }
.logos-pane { max-width: 68rem; margin: 0 auto; padding: clamp(1.5rem, 3.4vw, 2.4rem) clamp(1.2rem, 3vw, 2.2rem); }
.logos-eyebrow {
  color: var(--muted); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.logos-row {
  list-style: none; margin: 0 auto; padding: 0; max-width: 62rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(0.7rem, 1.6vw, 1.1rem);
}
.logos-row li {
  flex: 0 0 auto; width: 150px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: var(--radius-sm);
  height: 62px; padding: 0.55rem 1rem;
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s var(--ease);
}
.logos-row li:hover { transform: translateY(-2px); }
.logos-row img { max-height: 38px; max-width: 128px; width: auto; height: auto; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .logos-row li { transition: none; } }
@media (max-width: 560px) {
  .logos-row li { width: 118px; height: 54px; padding: 0.5rem 0.85rem; }
  .logos-row img { max-height: 32px; max-width: 96px; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; text-align: center; }
.notfound-inner { max-width: 40rem; margin-inline: auto; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0.4rem 0 0.8rem; }
.notfound-lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.8rem; }

/* on the site's dark theme, but set apart by a lighter ground than the sections
   above (--bg #06201f) and below (--bg-2 #0a302d), plus its own aurora */
.quote-strip {
  position: relative; overflow: hidden; border: 0;
  min-height: clamp(280px, 42vh, 440px); display: flex; align-items: center;
  background: linear-gradient(180deg, #0c3630, #114741 50%, #0c3630);
}
.quote-strip::before {
  content: ""; position: absolute; inset: -30% -12%; pointer-events: none;
  background:
    radial-gradient(42% 58% at 50% 50%, rgba(70, 199, 194, 0.20), transparent 70%),
    radial-gradient(34% 48% at 78% 26%, rgba(179, 209, 51, 0.10), transparent 72%),
    radial-gradient(34% 48% at 20% 78%, rgba(45, 160, 160, 0.14), transparent 72%);
  filter: blur(44px);
}
.quote-strip .wrap { position: relative; z-index: 1; }
.quote {
  font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.22;
  letter-spacing: -0.015em; color: var(--ink); max-width: 46rem; margin: 0 auto;
  text-align: center; text-wrap: balance; position: relative;
}
.hl { padding: 0 0.06em; }
.hl--teal { background: linear-gradient(transparent 58%, rgba(70, 199, 194, 0.42) 58%); }
.hl--lime { background: linear-gradient(transparent 58%, rgba(179, 209, 51, 0.45) 58%); }

/* ---------- products (two offers): dark card floating on its own soft glow ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 3.2vw, 3rem); }
.offer {
  position: relative; isolation: isolate;
  padding: clamp(1.6rem, 2.6vw, 2.35rem); border-radius: 26px;
  display: flex; flex-direction: column;
}
/* halo, then the card surface painted over it, so the glow only escapes past the card edges.
   (a negative z-index would fall behind the section background instead) */
.offer::before {
  content: ""; position: absolute; inset: -19% -15%; border-radius: 54px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(64% 64% at 50% 48%, rgba(134, 244, 230, 0.80), rgba(70, 199, 194, 0.34) 50%, transparent 76%),
    radial-gradient(50% 50% at 72% 82%, rgba(179, 209, 51, 0.26), transparent 72%);
  filter: blur(46px);
}
.offer::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, #0e3a35, #0a2e2b);
  box-shadow: 0 34px 66px -36px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(199, 249, 247, 0.08);
}
.offer > * { position: relative; z-index: 2; }
.offer-tag {
  align-self: flex-start; color: var(--cyan); background: rgba(70, 199, 194, 0.16);
  border: 1px solid rgba(70, 199, 194, 0.30);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.42rem 0.85rem; border-radius: 999px; margin-bottom: 1.15rem;
}
.offer h3 { font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1.15; margin-bottom: 0.7rem; }
.offer p { color: var(--muted); font-size: var(--card-body); line-height: 1.6; }
.offer-list { list-style: none; margin: 1.6rem 0 1.75rem; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.offer-list li { color: var(--ink); font-weight: 700; font-size: 0.98rem; line-height: 1.35; display: flex; gap: 0.7rem; align-items: flex-start; }
.offer-list li::before {
  content: "\2713"; font-family: var(--sym); font-size: 0.72rem; line-height: 1; flex: none;
  width: 1.3rem; height: 1.3rem; margin-top: 0.05rem;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--teal-bright); border: 1.5px solid rgba(70, 199, 194, 0.55); border-radius: 50%;
}
.offer-cta {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--lime); color: #0a2416; font-weight: 700; font-size: 0.92rem;
  padding: 0.5rem 0.5rem 0.5rem 1.1rem; border-radius: 999px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.offer-cta:hover { background: var(--lime-soft); color: #0a2416; transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(179, 209, 51, 0.6); }
.offer-cta .arr {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 1.65rem; height: 1.65rem; border-radius: 50%;
  background: #0a2416; color: var(--lime); font-family: var(--sym); font-size: 0.8rem; line-height: 1;
}

/* ---------- building blocks (accordion) ---------- */
/* icon + heading, description tucked behind a chevron so the page reads lighter */
.disciplines {
  display: grid; grid-template-columns: repeat(2, 1fr); align-items: start;
  gap: clamp(1rem, 2vw, 1.5rem); max-width: 920px; margin-inline: auto; width: 100%;
}
.discipline {
  padding: clamp(1.15rem, 1.9vw, 1.5rem) clamp(1.2rem, 2.1vw, 1.65rem);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58));
  border: 1px solid rgba(26, 101, 102, 0.10);
  box-shadow: 0 20px 42px -32px rgba(7, 39, 31, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.discipline:hover { transform: translateY(-3px); border-color: rgba(45, 160, 160, 0.30); box-shadow: 0 28px 52px -30px rgba(7, 39, 31, 0.55); }
.discipline > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.9rem;
}
.discipline > summary::-webkit-details-marker { display: none; }
.discipline > summary::marker { content: ""; }
.discipline-icon {
  flex: none; width: 2.6rem; height: 2.6rem; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--teal-deep);
  background: linear-gradient(180deg, rgba(70, 199, 194, 0.22), rgba(45, 160, 160, 0.12));
  border: 1px solid rgba(45, 160, 160, 0.24);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.discipline-icon svg { width: 1.3rem; height: 1.3rem; }
.discipline:hover .discipline-icon { color: var(--teal); border-color: rgba(45, 160, 160, 0.45); }
.discipline h3 { flex: 1 1 auto; font-size: 1.12rem; margin: 0; color: var(--hero-ink); letter-spacing: -0.01em; }
.discipline-chevron {
  flex: none; width: 1.15rem; height: 1.15rem; color: var(--teal-deep); opacity: 0.75;
  transition: transform 0.25s var(--ease);
}
.discipline[open] .discipline-chevron { transform: rotate(180deg); }
.discipline p {
  color: var(--hero-ink-soft); font-size: var(--card-body); line-height: 1.6;
  margin-top: 0.9rem; padding-left: calc(2.6rem + 0.9rem);
}
.discipline[open] p { animation: discOpen 0.28s var(--ease); }
@keyframes discOpen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .disciplines { grid-template-columns: 1fr; }
  .discipline p { padding-left: 0; }
}

/* ---------- team ---------- */
.founder { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; }
/* sean.webp is a full rectangular headshot filling the frame edge to edge.
   Capped at 256px so the 512px source maps 1:1 at 2x DPR. */
.founder-portrait {
  width: clamp(190px, 22vw, 256px); aspect-ratio: 1; border-radius: var(--radius);
  overflow: hidden; flex: none; border: 1px solid rgba(148, 233, 226, 0.22);
  box-shadow: 0 26px 54px -26px rgba(0, 0, 0, 0.75);
  background: #0e3a35;
}
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder-body { flex: 1 1 340px; }
.founder-role { color: var(--lime-soft); font-weight: 700; font-size: var(--label); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.1rem; }
.founder-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: 0.65rem; }
.founder-list li { color: var(--ink); font-weight: 600; font-size: 1.02rem; display: flex; gap: 0.6rem; align-items: baseline; }
.founder-list li::before { content: "\21A6"; color: var(--teal-bright); font-family: var(--sym); flex: none; }

/* ---------- contact ---------- */
.closer { position: relative; overflow: hidden; }
.contact-wave { z-index: 0; }
.contact-veil { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(130% 100% at 50% 50%, rgba(5, 26, 24, 0.42), rgba(4, 20, 18, 0.8)); }
.contact .wrap { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact-points { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; margin-top: 2rem; }
.contact-point { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; }
.contact-point .ico { width: 22px; height: 22px; color: var(--teal); flex: none; }
.contact-point a { color: var(--ink); font-weight: 600; }
.contact-point a:hover { color: var(--lime-soft); }

/* contact dialog */
.contact-dialog { width: min(92vw, 460px); border: 0; padding: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); margin: auto; }
.contact-dialog::backdrop { background: rgba(2, 14, 12, 0.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.contact-dialog-close { position: absolute; top: 0.7rem; right: 0.9rem; background: 0; border: 0; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.contact-dialog-close:hover { color: var(--ink); }
.contact-dialog-title { font-size: 1.5rem; margin-bottom: 0.3rem; }
.contact-dialog-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.3rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.contact-form .field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form label { font-weight: 700; font-size: 0.85rem; color: var(--cyan); }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.8rem 1rem;
}
.contact-form textarea { resize: vertical; min-height: 4.5rem; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--lime); outline-offset: 1px; border-color: var(--lime); }
.contact-submit { margin-top: 0.4rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-status { font-size: 0.92rem; min-height: 1.1rem; color: var(--muted); }
.form-status.ok { color: var(--lime-soft); }
.form-status.err { color: #ff9b8a; }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 2; background: transparent; padding-block: 2.2rem; }
.site-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.site-footer img { height: 40px; width: auto; opacity: 0.9; }
/* one line across the full column: copyright hard left, credit hard right */
.footer-legal { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.35rem 2rem; flex-wrap: wrap; }
.footer-legal p { color: var(--muted); font-size: 0.92rem; }
.footer-legal a { color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.footer-legal a:hover { color: var(--lime-soft); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; }
}
/* narrow screens: the shot is width-bound rather than height-bound, so let the card fill more */
@media (max-width: 820px) {
  .carousel { width: 95vw; }
  .success { flex-basis: 74%; gap: 1.25rem; }
  .carousel.is-ready .success.is-prev { transform: translateX(43.4%) scale(0.155); }
  .carousel.is-ready .success.is-next { transform: translateX(-43.4%) scale(0.155); }
}
@media (max-width: 560px) {
  /* too narrow for one line: stack them and keep both centred under the logo */
  .footer-legal { justify-content: center; text-align: center; }
}
@media (max-width: 700px) {
  .carousel-stage { display: block; }
}
@media (max-width: 620px) {
  .founder { flex-direction: column; align-items: flex-start; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
  .carousel.is-ready .success { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .offer-cta:hover, .discipline:hover { transform: none; }
  .discipline[open] p { animation: none; }
  .discipline-chevron { transition: none; }
}

/* ---------- "Our solutions" product gallery (light section) ---------- */
.gallery { display: flex; flex-direction: column; gap: clamp(2.5rem, 6vw, 5rem); margin-top: clamp(2rem, 4vw, 3.2rem); }
.gallery-item { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.gallery-media {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid rgba(26, 101, 102, 0.14);
  box-shadow: 0 34px 64px -34px rgba(7, 39, 31, 0.5), 0 10px 24px -14px rgba(7, 39, 31, 0.22);
}
.gallery-media img,
.gallery-media video { width: 100%; height: auto; display: block; }
.gallery-item--rev .gallery-media { order: 2; }
.gallery-item--rev .gallery-text { order: 1; }
.gallery-text { max-width: 42ch; }
.gallery-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.75rem; }
.gallery-text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.gallery-text p { color: var(--hero-ink-soft); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.1rem; }
.gallery-link { font-weight: 700; color: var(--teal-deep); display: inline-flex; align-items: baseline; gap: 0.4rem; }
.gallery-link:hover { color: var(--teal); }
.gallery-link .arr { font-family: var(--sym); }
.gallery-status {
  flex: none; font-size: var(--label); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.28rem 0.65rem; border-radius: 999px; white-space: nowrap; border: 1px solid transparent;
}
.gallery-status--live { color: #3d6b1f; background: rgba(179, 209, 51, 0.22); border-color: rgba(179, 209, 51, 0.55); }
.gallery-status--free { color: var(--teal-deep); background: rgba(45, 160, 160, 0.15); border-color: rgba(45, 160, 160, 0.45); }
@media (max-width: 820px) {
  .gallery-item { grid-template-columns: 1fr; gap: 1.3rem; }
  .gallery-item--rev .gallery-media { order: 0; }
  .gallery-item--rev .gallery-text { order: 0; }
  .gallery-text { max-width: none; }
}

/* ---------- "How we work": animated progress circuit ---------- */
.circuit { position: relative; width: 100%; }
.circuit-board { width: 100%; height: auto; display: block; overflow: visible; }
.bus-base { stroke: rgba(70, 199, 194, 0.2); stroke-width: 2; stroke-linecap: round; }
/* the trace and comet must advance linearly: the nodes and cards below light on linear delays
   (0 / 1.5 / 3 / 4.5s), so any easing here puts the line ahead of the lit card. */
.bus-glow { stroke: var(--lime); stroke-width: 9; stroke-linecap: round; filter: url(#busGlow); opacity: 0.55; stroke-dasharray: 900 900; animation: busDraw 8s linear infinite; }
.bus-fill { stroke: url(#busGrad); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 900 900; animation: busDraw 8s linear infinite; }
.comet { fill: #f2fffb; filter: url(#busGlow); transform-box: fill-box; transform-origin: center; animation: cometRun 8s linear infinite; }
.node-core { fill: var(--teal-deep); stroke: rgba(70, 199, 194, 0.5); stroke-width: 1.5; animation: coreIgnite 8s var(--ease) infinite; }
.node-ring { fill: none; stroke: var(--lime-soft); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ringPulse 8s var(--ease) infinite; }
.node-glow { fill: var(--lime); opacity: 0; filter: url(#busGlow); animation: glowOn 8s var(--ease) infinite; }
.node:nth-of-type(2) .node-core, .node:nth-of-type(2) .node-ring, .node:nth-of-type(2) .node-glow { animation-delay: 1.5s; }
.node:nth-of-type(3) .node-core, .node:nth-of-type(3) .node-ring, .node:nth-of-type(3) .node-glow { animation-delay: 3s; }
.node:nth-of-type(4) .node-core, .node:nth-of-type(4) .node-ring, .node:nth-of-type(4) .node-glow { animation-delay: 4.5s; }
@keyframes busDraw {
  0% { stroke-dashoffset: 900; opacity: 1; }
  56.25% { stroke-dashoffset: 0; opacity: 1; }
  84% { stroke-dashoffset: 0; opacity: 1; }
  93% { stroke-dashoffset: 0; opacity: 0; }
  93.01% { stroke-dashoffset: 900; opacity: 0; }
  100% { stroke-dashoffset: 900; opacity: 0; }
}
@keyframes cometRun {
  0% { transform: translateX(0); opacity: 0; }
  4% { opacity: 1; }
  56.25% { transform: translateX(900px); opacity: 1; }
  64% { transform: translateX(900px); opacity: 0; }
  100% { transform: translateX(0); opacity: 0; }
}
@keyframes coreIgnite {
  0% { fill: var(--lime-soft); stroke: var(--lime-soft); }
  10% { fill: var(--lime); stroke: var(--lime); }
  55% { fill: var(--lime); stroke: var(--lime); }
  80% { fill: var(--teal-deep); stroke: rgba(70, 199, 194, 0.5); }
  100% { fill: var(--teal-deep); stroke: rgba(70, 199, 194, 0.5); }
}
@keyframes ringPulse { 0% { transform: scale(1); opacity: 0.9; } 45% { transform: scale(2.7); opacity: 0; } 100% { transform: scale(2.7); opacity: 0; } }
@keyframes glowOn { 0% { opacity: 0.7; } 55% { opacity: 0.7; } 80% { opacity: 0; } 100% { opacity: 0; } }
/* gap:0 + per-card side margins keeps each card centred on its column so the node above it lines up */
.circuit-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(1.1rem, 2vw, 1.6rem); }
.circuit-step { margin-inline: clamp(0.45rem, 0.8vw, 0.7rem); padding: clamp(1rem, 1.6vw, 1.35rem); border-radius: var(--radius); background: var(--glass-bg); border: 1px solid var(--line); animation: stepActive 8s var(--ease) infinite; }
.circuit-step:nth-of-type(2) { animation-delay: 1.5s; }
.circuit-step:nth-of-type(3) { animation-delay: 3s; }
.circuit-step:nth-of-type(4) { animation-delay: 4.5s; }
.cs-index {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 999px;
  font-weight: 800; font-size: 0.95rem; line-height: 1; margin-bottom: 0.75rem;
  background: transparent; color: var(--teal-bright); border: 2px solid var(--teal-deep);
  animation: badgeActive 8s var(--ease) infinite;
}
.circuit-step:nth-of-type(2) .cs-index { animation-delay: 1.5s; }
.circuit-step:nth-of-type(3) .cs-index { animation-delay: 3s; }
.circuit-step:nth-of-type(4) .cs-index { animation-delay: 4.5s; }
.circuit-step h3 { font-size: var(--card-title); margin-bottom: 0.4rem; }
.circuit-step p { color: var(--muted); font-size: var(--card-body); }
@keyframes stepActive {
  0% { border-color: var(--lime); box-shadow: 0 0 0 1px rgba(179, 209, 51, 0.6), 0 20px 44px -22px rgba(179, 209, 51, 0.55); }
  45% { border-color: rgba(179, 209, 51, 0.6); box-shadow: 0 0 0 1px rgba(179, 209, 51, 0.25), 0 20px 44px -24px rgba(179, 209, 51, 0.35); }
  72% { border-color: var(--line); box-shadow: none; }
  100% { border-color: var(--line); box-shadow: none; }
}
@keyframes badgeActive {
  0% { background: var(--lime); color: #0a2416; border-color: var(--lime); box-shadow: 0 0 0 6px rgba(179, 209, 51, 0.22); }
  50% { background: var(--lime); color: #0a2416; border-color: var(--lime); box-shadow: 0 0 0 5px rgba(179, 209, 51, 0.12); }
  80% { background: transparent; color: var(--teal-bright); border-color: var(--teal-deep); box-shadow: none; }
  100% { background: transparent; color: var(--teal-bright); border-color: var(--teal-deep); box-shadow: none; }
}
@media (max-width: 860px) {
  .circuit-board { display: none; }
  .circuit-steps { grid-template-columns: 1fr; gap: 0.85rem; margin-top: 0; }
  .circuit-step { margin-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bus-glow, .bus-fill, .comet, .node-core, .node-ring, .node-glow, .circuit-step, .cs-index { animation: none; }
  .bus-fill { stroke-dashoffset: 0; }
  .bus-glow { stroke-dashoffset: 0; opacity: 0.35; }
  .comet { opacity: 0; }
  .node-core { fill: var(--lime); stroke: var(--lime); }
  .cs-index { background: var(--lime); color: #0a2416; border-color: var(--lime); }
}
