/* ==========================================================================
   ALGH Enterprises Inc. — Website v2 Stylesheet
   Design language: light, Warm White pages, charcoal headings, teal accents,
   diagonal geometric motifs — derived from the Aug 2026 company profile.
   Type: Montserrat (headings) + Nunito Sans (body).
   --------------------------------------------------------------------------
   BRAND PALETTE (design tokens — everything derives from these):
     Deep Charcoal  #263640  primary text, dark surfaces, core brand
     Midnight Navy  #0E2530  large background areas, panels, deep contrast
     Teal           #008F91  diagonal elements, dividers, icons, highlights
     Electric Cyan  #20C9D2  sparing: light effects, active states, emphasis
     Warm White     #F7F9F8  main light background
   ========================================================================== */

:root {
  /* Brand */
  --charcoal: #263640;
  --charcoal-dark: #1b272e;
  --charcoal-soft: #3e4e56;   /* body copy — softened charcoal */
  --navy: #0e2530;
  --navy-deep: #0a1c24;
  --teal: #008f91;
  --teal-dark: #006f72;
  --teal-tint: #e3f1f1;       /* light teal wash for chips/soft fills */
  --cyan: #20c9d2;
  --warm-white: #f7f9f8;
  --white: #ffffff;
  --border: #e2e7e5;

  /* Effects */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(14, 37, 48, 0.06);
  --shadow-md: 0 14px 34px rgba(14, 37, 48, 0.12);
  --transition: 0.25s ease;
  --header-height: 76px;

  /* Type */
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal-soft);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--charcoal);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--teal); }

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

ul { list-style: none; }

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

/* Mobile guards: clip horizontal overflow — decorative accents (corner
   triangles, glow circles) extend past the container edge; `clip` (not
   `hidden`) keeps position:sticky working */
html, body { overflow-x: clip; }

/* keep anchor targets (#quote, section anchors) clear of the sticky header */
section[id], [id="quote"] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* cleaner taps on touch screens */
a, button {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-logo {
  height: 42px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 6px 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-nav a.active {
  color: var(--teal);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.nav-drop-btn {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-drop-btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  translate: -50% 0;
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  line-height: 1.4;
}

.dropdown a::after { display: none; }

.dropdown a:hover {
  background: var(--teal-tint);
  color: var(--teal-dark);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1.2;
}

.btn-lg { padding: 16px 36px; font-size: 0.95rem; }

.btn-accent {
  background: var(--teal);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--charcoal);
}

.btn-light:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost-light:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.header-cta {
  padding: 11px 22px;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Diagonal motifs — the ALGH signature
   -------------------------------------------------------------------------- */

/* Thin diagonal accent stripes used behind section headings and hero text */
/* Diagonal slash divider between sections */
.diag-divider {
  height: 6px;
  background: repeating-linear-gradient(
    115deg,
    var(--teal) 0 42px,
    var(--cyan) 42px 46px,
    transparent 46px 92px
  );
  opacity: 0.9;
}

/* Diagonal top edge — used on dark bands */
.diag-top {
  clip-path: polygon(0 46px, 100% 0, 100% 100%, 0 100%);
  margin-top: -46px;
  padding-top: calc(46px + 84px);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--white);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
  position: relative;
}

.section-head.left {
  margin-inline: 0;
  text-align: left;
}

.section-head .lead {
  font-size: 1.06rem;
  color: var(--charcoal-soft);
  margin-top: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--teal);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* --------------------------------------------------------------------------
   Home hero — split layout
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(24deg, rgba(32, 201, 210, 0.14) 0%, transparent 34%),
    linear-gradient(140deg, var(--navy-deep) 0%, var(--navy) 58%, var(--charcoal) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: min(540px, calc(100vh - var(--header-height)));
}

.hero-copy {
  align-self: center;
  padding: 56px 56px 56px 0;
  position: relative;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.hero-kicker::before {
  content: "";
  width: 15px;
  height: 15px;
  background: var(--teal);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.hero-copy h1 {
  margin-bottom: 22px;
  color: var(--white);
}

.hero-copy .hero-sub {
  font-size: 1.14rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 40px 56px 0;
}

/* the 3D logo — full view, centered, tighter breathing room for the
   shorter hero copy */
.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 9%;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: min(92%, 480px);
  max-height: 100%;
  height: auto;
  filter:
    /* teal stroke hugging the letterform's silhouette */
    drop-shadow(2px 0 0 var(--teal))
    drop-shadow(-2px 0 0 var(--teal))
    drop-shadow(0 2px 0 var(--teal))
    drop-shadow(0 -2px 0 var(--teal))
    /* ambient depth glow */
    drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5))
    /* greater soft glow surrounding the icon */
    drop-shadow(0 0 45px rgba(32, 201, 210, 0.4))
    drop-shadow(0 0 90px rgba(32, 201, 210, 0.3));
}

.hero-media::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 201, 210, 0.2) 0%, rgba(0, 143, 145, 0.1) 45%, transparent 72%);
  filter: blur(6px);
}

/* cyan glow behind the card â€” 3x intensity: a hot white-cyan core plus a
   broad teal halo, blended additively (screen) so it luminates the dark
   hero background instead of just overlaying it */
.hero-media::before {
  content: "";
  position: absolute;
  width: 132%;
  aspect-ratio: 1 / 1;
  left: 50%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(32, 201, 210, 1) 0%, rgba(32, 201, 210, 0.6) 14%, transparent 34%),
    radial-gradient(circle, rgba(32, 201, 210, 0.55) 0%, rgba(0, 143, 145, 0.3) 40%, transparent 66%);
  filter: blur(8px);
  mix-blend-mode: screen;
}



/* --------------------------------------------------------------------------
   Split section (Who We Are etc.)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.split-copy .eyebrow { margin-bottom: 8px; }
.split-copy h2 { margin-bottom: 18px; }

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Teal corner accent behind media */
.split-media::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.85;
  border-radius: var(--radius);
  z-index: -1;
}

/* Checklist panel — boxed column (Who We Are) */
.check-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 28px;
}

.check-panel h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Product line cards
   -------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card:hover::before { transform: scaleX(1); }

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  margin-bottom: 20px;
  transform: skew(-6deg);
}

.card .icon svg {
  width: 24px;
  height: 24px;
  transform: skew(6deg);
}

.card h3 { margin-bottom: 10px; }

.card p {
  font-size: 0.94rem;
  margin-bottom: 0;
}

.card-link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal);
  transition: transform var(--transition);
}

.card-link:hover { color: var(--teal-dark); }

a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.card:hover .card-link {
  color: var(--teal-dark);
  transform: translateX(4px);
}

/* Dark gradient cards — home product lines */
.card-dark {
  background:
    radial-gradient(260px 140px at 100% 0%, rgba(32, 201, 210, 0.16), transparent 70%),
    linear-gradient(150deg, #17414f 0%, var(--navy) 62%, #0b1f29 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-dark h3 { color: var(--white); }

.card-dark p { color: rgba(255, 255, 255, 0.72); }

.card-dark .card-link { color: var(--cyan); }

.card-dark .card-link:hover,
a.card-dark:hover .card-link { color: var(--cyan); }

.card-dark:hover {
  border-color: rgba(32, 201, 210, 0.45);
  box-shadow: var(--shadow-md);
}

.card-dark .icon {
  background: linear-gradient(135deg, var(--cyan), var(--teal));
}

/* --------------------------------------------------------------------------
   How We Work — process steps
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
  background: linear-gradient(115deg, var(--teal), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step::after {
  /* diagonal connector between steps */
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 16px;
  height: 2px;
  background: var(--teal);
  transform: rotate(-32deg);
}

.step:last-child::after { display: none; }

.step h3 { margin-bottom: 8px; font-size: 1.08rem; }
.step p { font-size: 0.94rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   How We Work — journey timeline (home)
   -------------------------------------------------------------------------- */
.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* the rail — navy→teal→cyan base with a faint flowing dash texture,
   like current on a live wire */
.journey::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background:
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(255, 255, 255, 0.35) 16px 22px),
    linear-gradient(90deg, var(--navy) 0%, var(--teal) 50%, var(--cyan) 100%);
  animation: rail-flow 1.2s linear infinite;
}

/* shift only the dash layer by exactly one period for a seamless loop */
@keyframes rail-flow {
  to { background-position: 22px 0, 0 0; }
}

/* the data packet — a glowing dot that hops phase 01 → 02 → 03, parking
   at each node (behind it, so the node's ripple + lighting is the arrival
   cue), then sweeps back to restart. Keyframe percentages mirror
   journey-lit exactly, so arrivals and lighting stay in sync */
.journey::after {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(100% / 6 - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    0 0 0 3px rgba(32, 201, 210, 0.25),
    0 0 14px 2px rgba(32, 201, 210, 0.8);
  z-index: 0;
  pointer-events: none;
  animation: journey-hop 9s linear 0.3s infinite;
}

@keyframes journey-hop {
  0%, 29%   { left: calc(100% / 6 - 6px); }
  33%, 62%  { left: calc(100% / 2 - 6px); }
  66%, 94%  { left: calc(100% * 5 / 6 - 6px); }
  100%      { left: calc(100% / 6 - 6px); }
}

/* sonar ripple on each node when the packet arrives */
.journey-node::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(32, 201, 210, 0.7);
  opacity: 0;
  pointer-events: none;
}

.journey-step:nth-child(1) .journey-node::after { animation: journey-ripple 9s ease-out 0.3s infinite; }
.journey-step:nth-child(2) .journey-node::after { animation: journey-ripple 9s ease-out 3.3s infinite; }
.journey-step:nth-child(3) .journey-node::after { animation: journey-ripple 9s ease-out 6.3s infinite; }

@keyframes journey-ripple {
  0%   { opacity: 0.9; transform: scale(0.4); }
  12%  { opacity: 0;   transform: scale(1.9); }
  100% { opacity: 0;   transform: scale(1.9); }
}

.journey-step {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #8d9aa1;
  opacity: 1;
  filter: grayscale(1) brightness(1.05) contrast(0.8);
  transform: translateY(12px);
  animation:
    journey-in 0.55s ease forwards,
    journey-lit 9s linear infinite;
  animation-delay:
    calc(0.3s + var(--i, 0) * 0.35s),
    calc(0.3s + var(--i, 0) * 3s);
}

/* sliding selection box — removed; the rail's traveling packet took over */

@keyframes journey-lit {
  0%, 29%   { opacity: 1; filter: none; color: var(--charcoal); }
  33%, 94%  { opacity: 1; filter: grayscale(1) brightness(1.05) contrast(0.8); color: #8d9aa1; }
  100%      { opacity: 1; filter: none; color: var(--charcoal); }
}

.journey-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--border), var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.journey-step:nth-child(2) .journey-node { background: linear-gradient(135deg, #0b4a52 0%, var(--teal) 85%); }
.journey-step:nth-child(3) .journey-node { background: linear-gradient(135deg, var(--teal) 0%, #14b8c0 100%); }

.journey-step h3 { margin: 18px 0 8px; font-size: 1.05rem; color: inherit; }
.journey-step p {
  font-size: 0.94rem;
  color: inherit;
  margin: 0 auto;
  max-width: 30ch;
}

@keyframes journey-in {
  to { transform: none; }
}

@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 30px; }

  .journey::after { display: none; }

  .journey-step {
    opacity: 1;
    filter: none;
    color: var(--charcoal);
    animation: journey-in 0.5s ease forwards;
    animation-delay: calc(0.3s + var(--i, 0) * 0.25s);
  }

  /* no journey-level rail: it over-extends past the last circle because
     step text height varies. Each step draws its own connector, running
     from its node's center down to the NEXT node's center
     (30px gap + 30px into the next step). The last step draws none. */
  .journey::before { display: none; }

  .journey-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 30px;          /* own node center (node is 60px, at step top) */
    bottom: -60px;      /* 30px grid gap + 30px into the next step = next node center */
    left: 29px;         /* node column center (x=30), 2px wide */
    width: 2px;
    background: linear-gradient(180deg, var(--navy) 0%, var(--teal) 100%);
  }

  .journey-step:nth-last-child(2)::after {
    background: linear-gradient(180deg, var(--teal) 0%, var(--cyan) 100%);
  }

  .journey-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 18px;
    text-align: left;
    align-items: start;
  }

  /* explicit tracks: auto-placement was dropping the <p> into the narrow
     node column (row 2, col 1), overlapping the rail */
  .journey-node { grid-column: 1; grid-row: 1; }
  .journey-step h3 { grid-column: 2; grid-row: 1; margin: 4px 0 6px; }
  .journey-step p { grid-column: 2; grid-row: 2; max-width: none; margin: 0; }
}

/* --------------------------------------------------------------------------
   Value props (Integrated / Secure / Scalable)
   -------------------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 28px 26px;
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.value-card h3 .icon {
  color: var(--teal);
  display: inline-flex;
}

.value-card h3 .icon svg { width: 22px; height: 22px; }

.value-card p { font-size: 0.94rem; margin-bottom: 0; }

/* Compact stacked rows — narrow split column (Why ALGH, home) */
.values-list {
  margin-top: 10px;
}

.value-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
}

.value-row + .value-row {
  border-top: 1px solid var(--border);
}

.value-row .icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal);
}

.value-row .icon svg { width: 22px; height: 22px; }

.value-row h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.value-row p {
  font-size: 0.94rem;
  color: var(--charcoal-soft);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Partner teaser strip (home) + logo wall (partners page)
   -------------------------------------------------------------------------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.logo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  min-height: 86px;
  transition: all var(--transition);
}

.logo-card img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: all var(--transition);
}

.logo-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.logo-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Scrolling logo belt — partners teaser (home)
   Two identical .belt-set copies inside .logo-track; translateX(-50%) loops
   one full set. Cropped at the container margins by overflow + edge fade. */
.logo-belt {
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: belt-scroll 44s linear infinite;
}

.belt-set { display: flex; }

@keyframes belt-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-cell {
  flex: 0 0 auto;
  width: 200px;
  min-height: 96px;
  margin-right: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  transition: transform var(--transition), border-color var(--transition),
              box-shadow var(--transition), background var(--transition);
}

.logo-cell img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter var(--transition), opacity var(--transition);
}

.logo-cell:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Logo nearest the belt's center — enlarged + colored (set by js/main.js) */
.logo-cell.is-center {
  transform: scale(1.14);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.logo-cell.is-center img {
  filter: grayscale(0);
  opacity: 1;
}

/* Centered call-to-action row under a full-width block */
.section-cta {
  text-align: center;
  margin-top: 36px;
}

/* --------------------------------------------------------------------------
   Dark bands — page hero, CTA, footer
   -------------------------------------------------------------------------- */
.band-dark {
  position: relative;
  background:
    linear-gradient(24deg, rgba(32, 201, 210, 0.14) 0%, transparent 34%),
    linear-gradient(140deg, var(--navy-deep) 0%, var(--navy) 58%, var(--charcoal) 100%);
  color: rgba(255, 255, 255, 0.85);
}

.band-dark h1, .band-dark h2,
.band-dark h1 { color: var(--white); }

/* Subpage hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background:
    linear-gradient(24deg, rgba(32, 201, 210, 0.16) 0%, transparent 40%),
    linear-gradient(140deg, var(--navy-deep) 0%, var(--navy) 58%, var(--charcoal) 100%);
  color: rgba(255, 255, 255, 0.85);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 680px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.breadcrumb {
  margin-bottom: 18px;
}

.breadcrumb ol {
  display: flex;
  gap: 10px;
  list-style: none;
  font-size: 0.84rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover { color: var(--cyan); }

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumb [aria-current="page"] {
  color: var(--cyan);
  font-weight: 600;
}

/* CTA band */
.cta-band {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: 88px 0;
  background:
    radial-gradient(700px 300px at 82% 0%, rgba(32, 201, 210, 0.22), transparent 60%),
    linear-gradient(140deg, var(--navy-deep), var(--charcoal));
  color: var(--white);
}

.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 560px; margin: 0 auto 32px; }
.cta-band .hero-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

/* the white card that holds Office / Email / Phone beside the heading */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 34px;
}

.contact-info h2 { margin-bottom: 26px; }

.contact-line {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-line:last-child { border-bottom: 0; }

.contact-line .icon {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-line .icon svg { width: 24px; height: 24px; }

.contact-line h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-line p, .contact-line a {
  margin-bottom: 0;
  color: var(--charcoal-soft);
}

.contact-line a:hover { color: var(--teal); }

.contact-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 34px;
}

.person-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.person-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.person-card p { font-size: 0.92rem; margin-bottom: 6px; }
.person-card a { font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Checklist
   -------------------------------------------------------------------------- */
.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 12px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 52px;
}

.site-footer .brand-logo { height: 48px; }
.footer-about {
  font-size: 0.92rem;
  margin-top: 18px;
  max-width: 300px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.86rem;
  font-family: var(--font-head);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.footer-col a:hover { color: var(--cyan); }

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom p { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Solution page content
   -------------------------------------------------------------------------- */
.solution-body {
  max-width: 780px;
}

.solution-body h2 { margin: 44px 0 16px; font-size: 1.5rem; }
.solution-body h2:first-child { margin-top: 0; }

.feature-media {
  margin: 0 0 52px;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--teal-dark);
  background: var(--teal-tint);
  border: 1px solid rgba(0, 143, 145, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
}


/* --------------------------------------------------------------------------
   Quote form (contact.html)
   -------------------------------------------------------------------------- */
.quote-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px 32px;
}

.quote-form h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.quote-form > p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group label .req {
  color: #d33;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--warm-white);
  color: var(--charcoal);
  transition: all var(--transition);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(32, 201, 210, 0.2);
}

.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: #e6f6ec;
  color: #1a7a3c;
  border: 1px solid #b5e3c4;
}

.form-status.error {
  display: block;
  background: #fdeceb;
  color: #b02a25;
  border: 1px solid #f5c2c0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-copy { padding-right: 24px; }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: min(320px, 84vw);
    height: calc(100vh - var(--header-height));
    background: var(--white);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 32px 28px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

  .site-nav.open { transform: translateX(0); }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .site-nav ul > li { width: 100%; }

  .site-nav a,
  .nav-drop-btn {
    display: block;
    padding: 12px 0;
    font-size: 0.95rem;
  }

  .dropdown {
    position: static;
    translate: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--teal);
    border-radius: 0;
    margin: 0 0 8px 14px;
    padding: 4px 0 4px 8px;
    display: none;
  }

  .has-dropdown.open .dropdown { display: block; }

  .nav-toggle { display: flex; }

  .header-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  /* cleaner mobile hero: the 3D mark is desktop-only */
  .hero-media { display: none; }
  .hero-copy { padding: 48px 0 56px; }

  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-media { max-width: 560px; }

  .steps-grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
  /* connectors only make sense in the 3-across row */
  .steps-band .steps-grid::before,
  .steps-band .steps-grid::after { display: none; }

  .values-grid { grid-template-columns: 1fr; }

  .contact-wrap { grid-template-columns: 1fr; gap: 44px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  :root { --header-height: 64px; }

  .form-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 24px 20px; }
  .section { padding: 60px 0; }
  .page-hero { padding: 56px 0 48px; }

  /* 16px+ on inputs stops iOS Safari auto-zoom on focus */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  .cards-grid { grid-template-columns: 1fr; }

  .value-row { gap: 14px; padding: 16px 0; }
  .value-row .icon { width: 42px; height: 42px; border-radius: 10px; }

  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .logo-card { min-height: 72px; padding: 12px 10px; }
  .logo-card img { max-height: 34px; }

  .contact-people { grid-template-columns: 1fr; }

  /* tuck the corner accent in; overflow-x clip on body guards the page */
  .split-media::before { width: 90px; height: 90px; top: -10px; right: -10px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 40px); }

  .section { padding: 48px 0; }
  .page-hero { padding: 44px 0 40px; }

  .header-inner { gap: 16px; }
  .brand-logo { height: 36px; }

  .hero-copy { padding: 36px 0 48px; }

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

  .check-panel { padding: 24px 20px; }
}

/* --------------------------------------------------------------------------
   Contact page — "What Happens Next" signal band
   -------------------------------------------------------------------------- */
.steps-band {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(700px 300px at 82% 0%, rgba(32, 201, 210, 0.22), transparent 60%),
    linear-gradient(140deg, var(--navy-deep), var(--charcoal));
  color: var(--white);
  border-block: 1px solid rgba(32, 201, 210, 0.18);
}

.steps-band .section-head h2 { color: var(--white); }
.steps-band .eyebrow { color: var(--cyan); }

/* glass panels over the particle network.
   transition keeps opacity on the reveal contract (0.6s + stagger delay)
   so the scroll-in fade isn't overridden by the hover feel below */
.steps-band .step {
  position: relative;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 34px 30px 30px;
  transition:
    opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0ms),
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.steps-band .step:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(32, 201, 210, 0.55);
  box-shadow: 0 16px 34px rgba(4, 16, 22, 0.35);
}

/* numbers get a slow shimmering sweep so the trio feels "lit" */
.steps-band .step::before {
  font-size: 3rem;
  background:
    linear-gradient(115deg,
      rgba(32, 201, 210, 0.55) 0%,
      var(--cyan) 38%,
      var(--cyan) 55%,
      rgba(32, 201, 210, 0.55) 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: num-shimmer 5.5s ease-in-out infinite;
}

@keyframes num-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.steps-band .step:nth-child(2)::before { animation-delay: 0.6s; }
.steps-band .step:nth-child(3)::before { animation-delay: 1.2s; }

.steps-band .step h3 { color: var(--white); }
.steps-band .step p  { color: rgba(255, 255, 255, 0.74); }

/* rails — simple capsule bars that live inside the gaps, linking the
   panels without touching the glass. 10px thick — 5× the 2px original. */
.steps-band .steps-grid {
  position: relative;
}

.steps-band .steps-grid::before,
.steps-band .steps-grid::after {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -5px;
  height: 10px;
  width: 28px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
}

/* gaps sit at panel W = (100% − 56px)/3: gap1 [W, W+28], gap2 [2W+28, 2W+56] */
.steps-band .steps-grid::before { left: calc((100% - 56px) / 3); }
.steps-band .steps-grid::after  { left: calc((100% - 56px) * 2 / 3 + 28px); }

/* alternating pulse — the two rails brighten in opposite phase so the
   row reads as one flowing sequence 01 → 02 → 03 */
.steps-band .steps-grid::before {
  animation: rail-pulse 2.4s ease-in-out infinite;
}
.steps-band .steps-grid::after {
  animation: rail-pulse 2.4s ease-in-out infinite reverse;
}

@keyframes rail-pulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .journey::after { display: none; }
  .journey-step { opacity: 1; transform: none; filter: none; color: var(--charcoal); }
  .logo-track { animation: none; }
  .scroll-progress { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   Motion & polish — smooth, high-tech, professional
   (scroll reveals are JS-tagged only when motion is allowed; see main.js)
   -------------------------------------------------------------------------- */

/* page loads with a quick settle — never a slideshow, just 400ms of ease */
@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
main { animation: page-in 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) both; }

/* scroll-reveal: small distance, group stagger, once */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* button sheen sweep + press */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn:hover::after { left: 135%; transition: left 0.55s ease; }
.btn:active { transform: scale(0.97); }

/* cursor spotlight on cards (JS sets --mx / --my) */
.spot { position: relative; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(32, 201, 210, 0.12),
    transparent 65%
  );
  border-radius: inherit;
}
.spot:hover::after { opacity: 1; }

/* scroll progress bar under the header */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 101;
  pointer-events: none;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(10, 28, 36, 0.08);
}

/* hero ambience — the 3D mark carries a teal stroke and a traveling band
   of light that sweeps through the letterform; the glow behind breathes */
.hero-media::before { animation: glow-breathe 5s ease-in-out infinite alternate; }

@keyframes glow-breathe {
  from { transform: translate(-50%, -50%) scale(0.92); opacity: 0.9; }
  to   { transform: translate(-50%, -50%) scale(1.18); opacity: 1; }
}
/* detail polish */
::selection { background: rgba(0, 143, 145, 0.28); color: var(--charcoal); }
html { scrollbar-color: var(--teal) var(--warm-white); scrollbar-width: thin; }

/* --------------------------------------------------------------------------
   Micro-interactions — pass 2 (hover states, ambient drift, focus cues)
   -------------------------------------------------------------------------- */

/* buttons settle on hover, press cleanly */
.btn { transition: all var(--transition); }
.btn-accent:hover { transform: translateY(-2px); }

/* dropdown items nudge right on hover */
.dropdown a { transition: transform var(--transition), background var(--transition), color var(--transition); }
.dropdown a:hover { transform: translateX(4px); }

/* partner logo tiles lift slightly */
.logo-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

/* split-section photos ease in a subtle zoom */
.split-media img { transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1); }
.split:hover .split-media img { transform: scale(1.03); }

/* journey nodes answer the cursor */
.journey-node { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.journey-step:hover .journey-node {
  transform: scale(1.06);
  box-shadow: 0 0 0 1px var(--border), 0 0 18px rgba(32, 201, 210, 0.45);
}

/* form labels pick up brand color as their field gains focus */
.form-group label { transition: color var(--transition); }
.form-group:focus-within label { color: var(--teal-dark); }

/* footer links slide forward on hover */
.footer-col a {
  display: inline-block;
  transition: color var(--transition), transform var(--transition);
}
.footer-col a:hover { transform: translateX(3px); color: var(--white); }

/* subpage heroes drift their gradient very slowly — ambient, not busy */
@keyframes page-drift {
  from { background-position: 0% 0%, 0% 0%; }
  to   { background-position: 100% 100%, 100% 100%; }
}
.page-hero {
  background-size: 160% 160%;
  animation: page-drift 24s ease-in-out infinite alternate;
}

/* particle-network canvas behind subpage hero content. isolation makes
   .page-hero a stacking context, so z-index:-1 paints the canvas above
   the hero's gradient but below its text */
.page-hero { isolation: isolate; }
.hero-net {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Live checklist (Why Teams Choose ALGH)
   -------------------------------------------------------------------------- */

/* when JS is on, badges become plain circles and the animated tick takes over */
.tick-anim li::before { background: var(--teal); }

.tick {
  position: absolute;
  left: 0;
  top: 5px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* base = a fully drawn, visible check: the resting state whenever the
     animation is off (reduced motion, or animation unsupported) */
  stroke-dasharray: 23;
  stroke-dashoffset: 0;
  opacity: 1;
}

/* soft glow pulse per check icon - a cyan halo swells and fades, the
   three badges rippling in sequence down the list */
.checklist li::before {
  animation: check-glow 4.5s ease-in-out infinite;
}
.checklist li:nth-child(2)::before { animation-delay: 1.5s; }
.checklist li:nth-child(3)::before { animation-delay: 3s; }

@keyframes check-glow {
  0%, 35% { box-shadow: 0 0 0 1px var(--border), var(--shadow-sm); }
  12%     { box-shadow: 0 0 0 1px var(--border),
                     0 0 0 6px rgba(32, 201, 210, 0.35),
                     0 0 16px 4px rgba(32, 201, 210, 0.4); }
  100%    { box-shadow: 0 0 0 1px var(--border), var(--shadow-sm); }
}


