@charset "UTF-8";
/* ==========================================================================
   CUTI — Canadian Utilities Technologies Infrastructure Centre
   Design system: field-orange & deep navy, industrial slab-serif display,
   APWA locate-mark accents. Besley (display) · Archivo (text/UI) · Caveat (annotations)
   ========================================================================== */

:root {
  /* Brand color tokens */
  --orange: #ff6716;
  --orange-600: #ea5407;
  --orange-700: #cc4a08;
  --coral: #ff8a62;
  --coral-soft: #ffe1d3;
  --coral-mark: #ffcdb6;
  --navy: #1c2b4a;
  --navy-950: #101d36;
  --navy-800: #27395f;
  --navy-700: #33477a;
  --blue: #3f5faf;
  --slate: #4a5a6a;
  --slate-300: #93a3b3;
  --mist: #f4f9fc;
  --mist-deep: #e6eff6;
  --paper: #fffdfb;
  --white: #ffffff;
  --green: #36995e;

  /* APWA locate-mark colors — the industry's own color code */
  --apwa-electric: #d63e2e;
  --apwa-gas: #eebc2f;
  --apwa-telecom: #ff6716;
  --apwa-water: #2f7dd1;
  --apwa-sewer: #3e9b5f;
  --apwa-survey: #e8639c;
  --apwa-reclaimed: #8e5ba6;
  --apwa-excavation: #93a3b3;

  --font-marker: "Caveat", cursive;

  /* Type */
  --font-display: "Besley", "Georgia", serif;
  --font-text: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --h-hero: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem);
  --h-1: clamp(2.4rem, 1.7rem + 2.8vw, 4rem);
  --h-2: clamp(1.9rem, 1.45rem + 1.9vw, 2.9rem);
  --h-3: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --h-4: 1.1875rem;

  --container: 1180px;
  --container-wide: 1320px;

  /* Space scale — one clamp family: hits min @480px viewport, max @1440px */
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1.125rem;
  --sp-4: clamp(1.5rem, 1.125rem + 1.25vw, 2.25rem);
  --sp-5: clamp(2rem, 1.5rem + 1.67vw, 3rem);
  --sp-6: clamp(2.5rem, 1.75rem + 2.5vw, 4rem);
  --sp-7: clamp(3rem, 1.75rem + 4.17vw, 5.5rem);
  --sp-8: clamp(4rem, 2.25rem + 5.83vw, 7.5rem);
  --space-section: var(--sp-8);
  --space-section-tight: var(--sp-7);
  --space-hero: var(--sp-8);
  --space-head: var(--sp-6);
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
  --gap-split: clamp(2.5rem, 1.25rem + 4.17vw, 5rem);

  --green-700: #1f7a43;
  --radius-card: 16px;
  --radius-arch: 999px 999px 20px 20px;
  --shadow-card: 0 2px 6px rgba(16, 29, 54, 0.05), 0 18px 44px -18px rgba(16, 29, 54, 0.22);
  --shadow-chip: 0 8px 28px -6px rgba(16, 29, 54, 0.28);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--h-1); }
h2 { font-size: var(--h-2); }
h3 { font-size: var(--h-3); }
h4 {
  font-family: var(--font-text);
  font-size: var(--h-4);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
a { color: inherit; }
em { font-style: italic; }
h1 em, h2 em, h3 em, .display em { font-weight: 500; }

::selection { background: var(--coral-mark); color: var(--navy-950); }

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}
.container--wide { width: min(100% - var(--gutter) * 2, var(--container-wide)); }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: var(--space-section-tight); }

/* Same-background neighbors share one breath, not two */
:is(.section, .section--tight):not(.bg-mist):not(.bg-navy):not(.bg-navy-deep):not(.bg-orange)
  + :is(.section, .section--tight):not(.bg-mist):not(.bg-navy):not(.bg-navy-deep):not(.bg-orange),
.section.bg-mist + .section.bg-mist,
:is(.section.bg-navy, .section.bg-navy-deep) + :is(.section.bg-navy, .section.bg-navy-deep) {
  padding-top: var(--sp-6);
}
:is(.section.bg-navy, .section.bg-navy-deep):has(+ :is(.section.bg-navy, .section.bg-navy-deep)) {
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* bigcta always closes the page into the navy footer: one breath, visible seam */
main > .bigcta:last-child .bigcta__inner { padding-bottom: var(--sp-7); }
/* Program pages: pagehero -> facts strip reads as one unit */
.pagehero + .section--tight { padding-block: var(--sp-6); }

/* Section backgrounds */
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy); color: var(--mist); }
.bg-navy-deep { background: var(--navy-950); color: var(--mist); }
.bg-orange { background: var(--orange); color: var(--white); }

.bg-navy h2, .bg-navy h3, .bg-navy-deep h2, .bg-navy-deep h3 { color: var(--white); }
.bg-navy .muted, .bg-navy-deep .muted { color: var(--slate-300); }

.muted { color: var(--slate); }
.small { font-size: var(--text-sm); }
.footnote { font-size: var(--text-xs); color: var(--slate-300); }

/* Eyebrow label — the orange pill from the CUTI deck */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  border-radius: 6px;
  padding: 0.35em 1.1em;
  margin-bottom: 1.4rem;
}
.eyebrow--ghost {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid currentColor;
}

/* Highlight devices — the Teachable-style mark & outline pill */
.mark {
  background: var(--coral-mark);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0.02em 0.18em;
  border-radius: 4px;
}
.bg-navy .mark, .bg-navy-deep .mark,
.hero .mark, .pagehero .mark, .bigcta .mark {
  background: var(--orange);
  color: var(--white);
}
.pill-phrase {
  display: inline-block;
  border: 2.5px solid var(--orange);
  border-radius: 999px;
  padding: 0 0.4em 0.08em;
  line-height: 1.25;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 640;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
  padding: 1.02em 1.85em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .arr { transition: transform 0.25s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--orange-600);
  box-shadow: 0 10px 26px -10px rgba(255, 103, 22, 0.65);
  transform: translateY(-2px);
}
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(28, 43, 74, 0.35);
}
.btn--ghost:hover { border-color: var(--navy); background: rgba(28, 43, 74, 0.05); }
.bg-navy .btn--ghost, .bg-navy-deep .btn--ghost,
.hero .btn--ghost, .pagehero .btn--ghost, .bigcta .btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.bg-navy .btn--ghost:hover, .bg-navy-deep .btn--ghost:hover,
.hero .btn--ghost:hover, .pagehero .btn--ghost:hover, .bigcta .btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.btn--lg { font-size: 1.0625rem; padding: 1.12em 2.1em; }
.btn--sm { font-size: 0.9rem; padding: 0.8em 1.4em; }

.text-link {
  font-weight: 640;
  color: var(--orange-700);
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.text-link:hover { color: var(--orange); border-color: var(--orange); }
.bg-navy .text-link, .bg-navy-deep .text-link { color: var(--coral); }
.bg-navy .text-link:hover, .bg-navy-deep .text-link:hover { color: var(--white); }

/* ---------- Announcement marquee ---------- */

.marquee {
  background: var(--navy-950);
  color: var(--mist);
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 560;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  padding-block: 0.62em;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 2.2em;
  padding-right: 2.2em;
}
.marquee__item .star { color: var(--orange); font-size: 0.8em; }
.marquee a { color: var(--coral); text-decoration: none; font-weight: 700; }
.marquee a:hover { text-decoration: underline; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Header / nav ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 251, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 43, 74, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 76px;
}
.nav__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 44px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.nav__links a {
  display: inline-block;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 560;
  color: var(--navy);
  padding: 0.55em 0.9em;
  border-radius: 999px;
  transition: background-color 0.15s, color 0.15s;
}
.nav__links a:hover { background: var(--mist-deep); }
.nav__links a[aria-current="page"] { color: var(--orange-700); font-weight: 700; }
.nav__cta { display: flex; align-items: center; gap: 1.1rem; flex-shrink: 0; }
.nav__phone {
  font-size: 0.95rem;
  font-weight: 640;
  text-decoration: none;
  color: var(--navy);
  white-space: nowrap;
}
.nav__phone:hover { color: var(--orange-700); }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  margin: 5.5px 0;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav { gap: 1rem; }
  /* Order: logo · [free space] · Apply CTA · hamburger flush at the edge */
  .nav__toggle { display: block; order: 2; margin-right: -0.6rem; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: var(--paper);
    border-bottom: 1px solid rgba(28, 43, 74, 0.1);
    box-shadow: 0 30px 40px -20px rgba(16, 29, 54, 0.25);
    padding: 0.8rem 1.2rem 1.2rem;
    display: none;
  }
  .nav-open .nav__links { display: flex; }
  .nav__links a { padding: 0.8em 1em; font-size: 1.05rem; }
  .nav__cta { margin-left: auto; }
  .nav__phone { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(52rem 30rem at 112% -12%, rgba(63, 95, 175, 0.35), transparent 60%),
    radial-gradient(40rem 26rem at -14% 112%, rgba(255, 103, 22, 0.16), transparent 55%),
    var(--navy-950);
  color: var(--mist);
}
/* Giant locate-triangle, anchored far left so it stays clear of the media column */
.hero .tri-bg {
  position: absolute;
  left: clamp(-220px, -12vw, -120px);
  bottom: -24%;
  width: min(640px, 54vw);
  opacity: 0.13;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.2fr);
  gap: var(--gap-split);
  align-items: center;
  padding-block: var(--space-hero);
}
.hero h1 {
  font-size: var(--h-hero);
  color: var(--white);
  margin-bottom: 0.8em;
}
.hero__lede {
  font-size: var(--text-lg);
  color: var(--slate-300);
  max-width: 34em;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__actions:not(:last-child) { margin-bottom: var(--sp-5); }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  font-size: var(--text-sm);
  color: var(--slate-300);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.5em; }
.hero__meta svg { color: var(--coral); flex-shrink: 0; }

.hero__media { position: relative; }
.hero__media img.hero__photo {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  border-radius: var(--radius-arch);
  border: 6px solid rgba(255, 255, 255, 0.09);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-arch);
  border: 6px solid rgba(255, 255, 255, 0.09);
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.hero__video.is-live { opacity: 1; }

/* Ambient video in a feature split — same fade-over-poster pattern as the hero */
.feature__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-arch);
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.feature__video.is-live { opacity: 1; }
/* Work tags — locate-ticket stat tags pinned to the hero media */
.worktag {
  --paint: var(--orange);
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--mist-deep);
  border-radius: 4px;
  padding: 1rem 1.35rem 1.05rem;
  box-shadow: var(--shadow-chip);
}
.worktag__head {
  display: flex;
  align-items: center;
  gap: 0.65em;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
}
.worktag__head .paint { width: 38px; height: 9px; }
.worktag__value {
  display: flex;
  align-items: center;
  gap: 0.3em;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 640;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.worktag__value svg { color: var(--paint); flex-shrink: 0; margin-top: 0.1em; }
.worktag__sub { font-size: 0.8rem; font-weight: 500; color: var(--slate); }
.worktag--tr { top: 5%; right: -4%; animation: float 7s ease-in-out infinite; }
.worktag--bl { bottom: 10%; left: -8%; animation: float 8s 1.2s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Hand-marked callout — handwriting + arrow pointing into the hero photo */
.stamp {
  position: absolute;
  top: -2.7rem;
  left: 5%;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-marker);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--coral);
  transform: rotate(-3deg);
  white-space: nowrap;
}
.stamp svg { width: 40px; height: 28px; color: var(--coral); flex-shrink: 0; transform: translateY(0.35rem); }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; }
  .worktag { padding: 0.85rem 1.1rem 0.9rem; }
  .worktag__value { font-size: 1.3rem; }
  .worktag--tr { right: 0; }
  .worktag--bl { left: -2%; }
  .stamp { left: 0; top: -2.3rem; font-size: 1.3rem; }
  .stamp svg { width: 32px; height: 22px; }
}

/* ---------- Logo strip ---------- */

.logostrip { padding-block: var(--sp-5); border-bottom: 1px solid rgba(28, 43, 74, 0.07); }
.logostrip p {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.6rem;
}
.logostrip__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.2rem 3rem;
}
.logostrip__row img {
  height: 46px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.65;
  mix-blend-mode: multiply;
  transition: filter 0.25s, opacity 0.25s;
}
.logostrip__row img:hover { filter: none; opacity: 1; }

/* ---------- Statement — scroll-pinned, staged reveal ---------- */

.statement { text-align: center; }
.statement .display {
  font-family: var(--font-display);
  font-size: var(--h-1);
  font-weight: 520;
  line-height: 1.24;
  letter-spacing: -0.012em;
  max-width: 21em;
  margin: 0 auto;
  text-wrap: balance;
}

/* When JS is available, the section pins and stages in */
.statement--pinned { height: 260vh; padding-block: 0; }
.statement--pinned .statement__pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-block: var(--sp-7);
}
.statement--pinned .w {
  opacity: 0.1;
  transition: opacity 0.25s linear;
}
.statement--pinned .w.on { opacity: 1; }

/* Highlight sweeps in from the left, one rendered line at a time
   (JS splits a wrapping mark into .mark__seg spans, one per line) */
.statement--pinned .mark { background: none; padding: 0; }
.statement--pinned .mark__seg {
  padding: 0.02em 0.18em;
  border-radius: 4px;
  background: linear-gradient(var(--coral-mark), var(--coral-mark)) left center no-repeat;
  background-size: calc(var(--sweep, 0) * 100%) 100%;
}
/* Pill outline appears last */
.statement--pinned .pill-phrase {
  border-color: rgba(255, 103, 22, 0);
  transition: border-color 0.5s ease;
}
.statement--pinned.is-final .pill-phrase { border-color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  .statement--pinned { height: auto; }
  .statement--pinned .w { opacity: 1; }
  .statement--pinned .mark { background: var(--coral-mark); padding: 0.02em 0.18em; }
  .statement--pinned .pill-phrase { border-color: var(--orange); }
}

/* ---------- Stat band ---------- */

.statband { position: relative; overflow: hidden; padding-block: var(--space-section-tight); }
.statband .sechead { margin-bottom: var(--sp-5); }
.statband::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 9px;
  background: repeating-linear-gradient(135deg, rgba(16, 29, 54, 0.55) 0 16px, transparent 16px 32px);
  opacity: 0.6;
  z-index: 2;
}
.statband::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(30rem 18rem at 8% 120%, rgba(255, 255, 255, 0.14), transparent 60%),
    radial-gradient(26rem 16rem at 96% -30%, rgba(28, 43, 74, 0.25), transparent 60%);
  pointer-events: none;
}
.statband__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__num sup { font-size: 0.45em; }
.stat__label { margin-top: 0.6rem; font-weight: 640; }
.stat__sub { font-size: var(--text-xs); opacity: 0.85; margin-top: 0.25rem; }
.statband__grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .statband__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .statband__grid, .statband__grid--4 { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Section headers ---------- */

.sechead { max-width: 760px; margin-bottom: var(--space-head); }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead h2 { margin-bottom: 0.65em; }
.sechead > :last-child { margin-bottom: 0; }
.sechead p { font-size: var(--text-lg); color: var(--slate); margin: 0; }
.bg-navy .sechead p, .bg-navy-deep .sechead p { color: var(--slate-300); }

/* ---------- Cards ---------- */

.cardgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}
/* ---------- Paint strokes — spray-marked locate dashes ---------- */

.paint {
  display: inline-block;
  width: 74px;
  height: 13px;
  background: var(--paint, var(--orange));
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 26" preserveAspectRatio="none"><path d="M3 8Q28 2 62 5t76-1q34-3 56 2l3 9q-30 6-68 3t-70 2q-32 4-54-2Z"/></svg>') center / 100% 100% no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 26" preserveAspectRatio="none"><path d="M3 8Q28 2 62 5t76-1q34-3 56 2l3 9q-30 6-68 3t-70 2q-32 4-54-2Z"/></svg>') center / 100% 100% no-repeat;
}
.paint--multi {
  background: linear-gradient(90deg,
    var(--apwa-electric) 0 20%, var(--apwa-gas) 20% 40%, var(--apwa-telecom) 40% 60%,
    var(--apwa-water) 60% 80%, var(--apwa-sewer) 80% 100%);
}

/* Painted underline for display headlines */
.underpaint { position: relative; white-space: nowrap; }
.underpaint::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.12em;
  bottom: -0.18em;
  height: 0.24em;
  background: var(--orange);
  opacity: 0.95;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 26" preserveAspectRatio="none"><path d="M3 8Q28 2 62 5t76-1q34-3 56 2l3 9q-30 6-68 3t-70 2q-32 4-54-2Z"/></svg>') center / 100% 100% no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 26" preserveAspectRatio="none"><path d="M3 8Q28 2 62 5t76-1q34-3 56 2l3 9q-30 6-68 3t-70 2q-32 4-54-2Z"/></svg>') center / 100% 100% no-repeat;
}

/* Hand annotation — a locator's marker handwriting */
.scrawl {
  font-family: var(--font-marker);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--coral);
  transform: rotate(-4deg);
}
/* On light backgrounds the marker needs more ink */
.scrawl--deep { color: var(--orange-600); }


/* ---------- Strata — the buried-utilities section divider ---------- */

.strata { display: block; width: 100%; height: 74px; }
.strata line { stroke-width: 2.5; }
.strata .ground { stroke-width: 2; }
.strata text {
  font-family: var(--font-text);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

/* ---------- Ticket panels — programs as field locate tickets ---------- */

.ticketgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.6rem;
}
.ticket {
  --paint: var(--orange);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--mist-deep);
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  padding: 1.7rem 1.6rem 1.5rem;
  text-decoration: none;
  color: var(--navy);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
a.ticket:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(16, 29, 54, 0.06), 0 30px 60px -22px rgba(16, 29, 54, 0.32);
}
.ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.ticket__head .paint { transition: transform 0.35s var(--ease-out); transform-origin: left center; }
a.ticket:hover .ticket__head .paint { transform: scaleX(1.35); }
.ticket__code {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--slate-300);
}
.ticket h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 580;
  letter-spacing: -0.01em;
  margin-bottom: 0.4em;
}
.ticket p { font-size: var(--text-sm); color: var(--slate); margin-bottom: 1.3rem; }
.ticket__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px dashed var(--mist-deep);
  padding-top: 1rem;
}
/* Enrollment status + learn-more row */
.ticket__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.ticket__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--apwa-gas);
  flex-shrink: 0;
}
.ticket__go {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: var(--text-sm);
  font-weight: 640;
  color: var(--navy);
  white-space: nowrap;
}
.ticket__more {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--mist-deep);
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease-out);
}
a.ticket:hover .ticket__more {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateX(4px);
}
/* Field photo, printed flat into the work order */
.ticket__photo {
  display: block;
  width: 100%;
  margin: 0.35rem 0 1.45rem;
}
.ticket__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--mist-deep);
  filter: saturate(0.9) contrast(1.03);
  transition: filter 0.3s;
}
a.ticket:hover .ticket__photo img { filter: saturate(1) contrast(1.05); }
.ticket__photo-cap {
  display: block;
  padding-top: 0.55em;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-300);
}
/* Locate-flag tag — orange field-marker flag with a swallowtail notch */
.ticket__tag {
  position: absolute;
  top: -0.95rem;
  right: 1.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--navy-950);
  padding: 0.45em 1.5em 0.45em 1em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.7em) 50%, 100% 100%, 0 100%);
  transform: rotate(2deg);
  filter: drop-shadow(0 5px 8px rgba(16, 29, 54, 0.3));
}

/* ---------- Locate sheet — the full program register ---------- */

.sheet { border-top: 2px solid var(--navy); }
.sheet__row {
  --paint: var(--orange);
  display: grid;
  grid-template-columns: 96px minmax(0, 1.05fr) minmax(0, 1.6fr) 130px 44px;
  align-items: center;
  gap: 1.6rem;
  padding: 1.6rem 0.5rem;
  border-bottom: 1px solid var(--mist-deep);
  text-decoration: none;
  color: var(--navy);
  transition: background-color 0.2s;
}
.sheet__row:hover { background: var(--mist); }
.sheet__row .paint { width: 100%; height: 12px; }
.sheet__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 580;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.sheet__name small {
  display: block;
  font-family: var(--font-text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paint);
  margin-top: 0.45em;
}
.sheet__desc { font-size: var(--text-sm); color: var(--slate); }
.sheet__len {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: right;
}
.sheet__arr {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--mist-deep);
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease-out);
}
.sheet__row:hover .sheet__arr {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateX(4px);
}
@media (max-width: 900px) {
  .sheet__row { grid-template-columns: 64px minmax(0, 1fr) 44px; row-gap: 0.5rem; }
  .sheet__desc { grid-column: 2; grid-row: 2; }
  .sheet__len { display: none; }
  .sheet__row .paint { height: 10px; }
}

/* ---------- Flag list — operations roles as marker flags ---------- */

.flaglist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.1rem 2.6rem;
}
.flaglist li { list-style: none; display: flex; gap: 1rem; align-items: flex-start; }
.flag {
  flex-shrink: 0;
  width: 22px;
  height: 30px;
  margin-top: 0.2em;
}
.flaglist strong { display: block; font-size: 1.05rem; }
.flaglist p { margin: 0.15em 0 0; font-size: var(--text-sm); color: var(--slate); }

/* ---------- Legacy card (kept for panels that need it) ---------- */

.cardgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--mist-deep);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.9rem 1.7rem 1.6rem;
  text-decoration: none;
  color: var(--navy);
}

/* ---------- Steps (How CUTI works) ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 2rem;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 79px;
  left: 10%;
  right: 10%;
  border-top: 2.5px dashed rgba(255, 103, 22, 0.5);
  display: none;
}
@media (min-width: 1100px) { .steps::before { display: block; } }
.step { position: relative; text-align: center; }
.step__media {
  position: relative;
  width: min(158px, 60%);
  margin: 0 auto 1.5rem;
}
.step__media::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2.5px solid var(--sc, var(--coral));
  opacity: 0.65;
}
.step__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}
.step__num {
  counter-increment: step;
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 640;
  box-shadow: 0 6px 16px -4px rgba(255, 103, 22, 0.55);
}
.step__num::before { content: counter(step); }
.step h3 { font-family: var(--font-text); font-size: 1.12rem; font-weight: 700; letter-spacing: 0; }
.step p { font-size: var(--text-sm); color: var(--slate); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature split rows ---------- */

.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}
.feature + .feature { margin-top: clamp(4rem, 7vw, 6.5rem); }
.feature--flip .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media img {
  width: 100%;
  aspect-ratio: 1.04;
  object-fit: cover;
  border-radius: var(--radius-arch);
}
.feature h2 { margin-bottom: 0.55em; }
.feature .lede { font-size: var(--text-lg); color: var(--slate); margin-bottom: 1.4rem; }
.bg-navy .feature .lede, .bg-navy-deep .feature .lede { color: var(--slate-300); }

.arrowlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.arrowlist li {
  display: flex;
  gap: 0.8em;
  align-items: baseline;
  font-weight: 560;
}
.arrowlist li::before {
  content: "\2192";
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}
.arrowlist li > div { flex: 1; min-width: 0; }
.arrowlist li small { display: block; font-weight: 480; color: var(--slate); font-size: 0.92em; margin-top: 0.15em; }
.bg-navy .arrowlist li small, .bg-navy-deep .arrowlist li small { color: var(--slate-300); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.checklist li { display: flex; gap: 0.9em; align-items: flex-start; }
.checklist .tick {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-top: 0.15em;
}
.checklist strong { display: block; font-size: 1.08rem; }
.checklist p { margin: 0.15em 0 0; font-size: var(--text-sm); color: var(--slate); }

@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature__media { max-width: 440px; }
}

/* ---------- Comparison table ---------- */

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: var(--text-sm);
  table-layout: fixed;
}
.compare col.c-label { width: 44%; }
.compare col.c-plan { width: 28%; }
.compare th, .compare td {
  padding: 1em 1.3em;
  text-align: left;
  border-bottom: 1px solid var(--mist-deep);
  vertical-align: middle;
}
.compare thead th {
  background: var(--mist);
  font-size: 0.95rem;
  padding-block: 1.15em;
}
.compare thead th.hl { color: var(--orange-700); }
.compare td, .compare thead th:nth-child(2), .compare thead th:nth-child(3) { text-align: center; }
/* Highlighted plan column */
.compare th:nth-child(2), .compare td:nth-child(2) { background: #fff4ec; }
.compare thead th:nth-child(2) { background: #ffe9db; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th { font-weight: 560; }

.mk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  vertical-align: middle;
}
.mk--yes { background: #e2f3e9; color: var(--green); }
.mk--no { background: var(--mist); color: var(--slate-300); }
.compare .mk-note {
  display: block;
  font-size: 0.74rem;
  font-weight: 560;
  color: var(--slate);
  margin-top: 0.45em;
  line-height: 1.35;
}
.bg-navy .footnote, .bg-navy-deep .footnote { color: #b9c6d6; }

/* ---------- Quote / testimonial carousel ---------- */

.quotes { position: relative; }
.quote { display: none; }
.quote.is-active { display: block; animation: quoteIn 0.6s var(--ease-out); }
@keyframes quoteIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 5.4rem;
  line-height: 0.6;
  color: var(--coral);
  display: block;
  margin-bottom: 1.6rem;
}
.quote blockquote {
  margin: 0 0 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.15rem + 1.25vw, 2.1rem);
  font-weight: 480;
  line-height: 1.34;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 21em;
}
.quote figcaption { color: var(--slate-300); font-size: var(--text-md); }
.quote figcaption strong { color: var(--coral); display: block; font-size: 1.05em; }
.quotes__nav { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.2rem; }
.quotes__dots { display: flex; gap: 0.55rem; }
.quotes__dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.quotes__dots button.is-active { background: var(--orange); transform: scale(1.25); }
.quotes__arrows { display: flex; gap: 0.6rem; margin-left: auto; }
.quotes__arrows button {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.quotes__arrows button:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }

/* ---------- FAQ accordion ---------- */

.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--mist-deep);
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.faq details[open] { box-shadow: var(--shadow-card); border-color: transparent; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 1.6rem;
  font-weight: 640;
  font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--orange-700);
  font-size: 1.3rem;
  font-weight: 480;
  transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { content: "\2212"; transform: rotate(180deg); }
.faq .faq__body { padding: 0 1.5rem 1.4rem; color: var(--slate); font-size: var(--text-sm); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- Big CTA ---------- */

.bigcta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(46rem 30rem at 50% 135%, rgba(255, 103, 22, 0.3), transparent 62%),
    var(--navy-950);
  color: var(--mist);
}
.bigcta .tri-bg {
  position: absolute;
  left: 50%;
  bottom: -6%;
  transform: translateX(-50%);
  width: min(560px, 80vw);
  opacity: 0.1;
  pointer-events: none;
}
.bigcta__inner { position: relative; z-index: 1; padding-block: clamp(4.5rem, 7vw, 7rem); }
.bigcta h2 { font-size: var(--h-1); color: var(--white); max-width: 17em; margin-inline: auto; }
.bigcta p { color: var(--slate-300); font-size: var(--text-lg); max-width: 36em; margin: 0 auto 2.2rem; }
.bigcta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-950);
  color: var(--slate-300);
  font-size: var(--text-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.1fr 1fr 1.35fr;
  gap: 2.2rem;
  padding-block: 3.8rem 2.6rem;
}
.footer__brand img { height: 40px; margin-bottom: 1.1rem; }
.footer__brand p { max-width: 30em; }
.footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer a { color: var(--slate-300); text-decoration: none; transition: color 0.15s; }
.footer a:hover { color: var(--coral); }
.footer__contact li { display: flex; gap: 0.7em; align-items: baseline; }
.footer__contact svg { flex-shrink: 0; transform: translateY(2px); color: var(--orange); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-xs);
}
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.footer__social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Page hero (interior pages) ---------- */

.pagehero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(44rem 26rem at 108% -20%, rgba(63, 95, 175, 0.35), transparent 60%),
    radial-gradient(30rem 20rem at -10% 130%, rgba(255, 103, 22, 0.15), transparent 55%),
    var(--navy-950);
  color: var(--mist);
}
.pagehero__inner { padding-block: var(--space-hero); max-width: 820px; }
.ticket-idrow { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.pagehero h1 { color: var(--white); }
.pagehero p { color: var(--slate-300); font-size: var(--text-lg); margin: 0; max-width: 36em; }
.pagehero--split .pagehero__inner { max-width: none; }
.pagehero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.pagehero__grid img {
  width: 100%;
  aspect-ratio: 0.95;
  object-fit: cover;
  border-radius: var(--radius-arch);
  border: 5px solid rgba(255, 255, 255, 0.09);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  font-size: var(--text-xs);
  font-weight: 640;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-300);
}
.crumbs a { color: var(--coral); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 0.5em; opacity: 0.5; }
@media (max-width: 820px) {
  .pagehero__grid { grid-template-columns: 1fr; }
  .pagehero__grid img { max-width: 380px; aspect-ratio: 1.2; }
}

/* ---------- Detail page helpers ---------- */

.split-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.factbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: -2.6rem;
  position: relative;
  z-index: 5;
}
.fact {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.45rem 1.6rem;
}
.fact::before {
  content: "";
  display: block;
  width: 46px;
  height: 9px;
  margin-bottom: 0.7rem;
  background: var(--orange);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 26" preserveAspectRatio="none"><path d="M3 8Q28 2 62 5t76-1q34-3 56 2l3 9q-30 6-68 3t-70 2q-32 4-54-2Z"/></svg>') center / 100% 100% no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 26" preserveAspectRatio="none"><path d="M3 8Q28 2 62 5t76-1q34-3 56 2l3 9q-30 6-68 3t-70 2q-32 4-54-2Z"/></svg>') center / 100% 100% no-repeat;
}
.fact strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.fact span { font-size: var(--text-xs); color: var(--slate); font-weight: 640; letter-spacing: 0.05em; text-transform: uppercase; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--coral) 0 6px, transparent 6px 12px);
}
.timeline li { position: relative; padding: 0.35rem 0 2.7rem 4.1rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral-soft);
  color: var(--orange-700);
  font-weight: 700;
  font-size: 0.82rem;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--coral);
}
.timeline h3 { font-family: var(--font-text); font-size: 1.1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 0.3em; }
.timeline p { font-size: var(--text-sm); color: var(--slate); margin: 0; }

.panel {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(2rem, 3.5vw, 2.9rem);
  /* Panels sit on any section background, so they must own their text color —
     inheriting from .bg-navy turns them white-on-white. */
  color: var(--navy);
}
.panel h2, .panel h3 { color: var(--navy); }
.panel .muted { color: var(--slate); }
.panel--navy { background: var(--navy); color: var(--mist); }
.panel--navy h3 { color: var(--white); }
.panel--orange { background: var(--orange); color: var(--white); border-top: 0; }
.panel--orange h3 { color: var(--white); }

.taglist { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.taglist li {
  border: 1.5px solid rgba(28, 43, 74, 0.2);
  border-radius: 999px;
  padding: 0.42em 1.05em;
  font-size: var(--text-sm);
  font-weight: 560;
}
.bg-navy .taglist li, .panel--navy .taglist li { border-color: rgba(255, 255, 255, 0.28); }

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
label.field { display: grid; gap: 0.4rem; font-size: var(--text-sm); font-weight: 640; }
.field input, .field select, .field textarea {
  font: inherit;
  font-weight: 480;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid rgba(28, 43, 74, 0.18);
  border-radius: 12px;
  padding: 0.85em 1em;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 103, 22, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.form-note {
  display: flex;
  gap: 0.8em;
  align-items: flex-start;
  background: var(--coral-soft);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: var(--text-sm);
  color: var(--navy);
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Nav dropdowns ---------- */

.nav__drop { position: relative; }
.nav__drop > button {
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 640;
  color: var(--navy);
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.6em 0.95em;
  border-radius: 9px;
  transition: background-color 0.2s;
}
.nav__drop > button:hover { background: var(--mist-deep); }
.nav__drop > button.is-current { color: var(--orange-700); font-weight: 700; }
.nav__drop > button svg { transition: transform 0.25s var(--ease-out); }
.nav__drop.open > button svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  translate: -50% 8px;
  min-width: 236px;
  margin: 0;
  padding: 0.55rem;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--mist-deep);
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(16, 29, 54, 0.08), 0 26px 60px -18px rgba(16, 29, 54, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, translate 0.28s var(--ease-out), visibility 0.2s;
  z-index: 60;
}
.nav__menu::before {
  content: "";
  display: block;
  width: 52px;
  height: 9px;
  margin: 0.3rem 0 0.55rem 0.9rem;
  background: var(--orange);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 26" preserveAspectRatio="none"><path d="M3 8Q28 2 62 5t76-1q34-3 56 2l3 9q-30 6-68 3t-70 2q-32 4-54-2Z"/></svg>') center / 100% 100% no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 26" preserveAspectRatio="none"><path d="M3 8Q28 2 62 5t76-1q34-3 56 2l3 9q-30 6-68 3t-70 2q-32 4-54-2Z"/></svg>') center / 100% 100% no-repeat;
}
.nav__drop:hover .nav__menu,
.nav__drop:focus-within .nav__menu,
.nav__drop.open .nav__menu {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
}
.nav__menu a {
  display: block;
  padding: 0.62em 0.95em;
  border-radius: 9px;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .nav__drop { position: static; }
  .nav__drop > button { width: 100%; justify-content: space-between; padding: 0.8em 1em; font-size: 1.05rem; }
  .nav__menu {
    position: static;
    translate: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 0;
    padding: 0 0 0.4rem 1.1rem;
    border: 0;
    box-shadow: none;
    background: none;
  }
  .nav__menu::before { display: none; }
  .nav__drop:hover .nav__menu,
  .nav__drop:focus-within .nav__menu,
  .nav__drop.open .nav__menu { translate: none; }
  .nav__drop.open .nav__menu { display: block; }
  .nav__menu a { white-space: normal; }
}

/* ---------- Video cards (click-to-play YouTube) ---------- */

.vidgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.6rem;
}
.vidcard {
  position: relative;
  display: block;
  font: inherit;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-950);
  box-shadow: var(--shadow-card);
  text-align: left;
  color: var(--white);
}
.vidcard--feature { aspect-ratio: 16 / 9; }
.vidcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), opacity 0.3s;
}
.vidcard:hover img { transform: scale(1.045); }
.vidcard::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(16, 29, 54, 0.88));
  pointer-events: none;
}
.vidcard__meta {
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  bottom: 1.15rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.vidcard__play {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px -4px rgba(255, 103, 22, 0.65);
  transition: transform 0.25s var(--ease-out), background-color 0.2s;
}
.vidcard:hover .vidcard__play { transform: scale(1.12); background: var(--orange-600); }
.vidcard__play svg { translate: 1px 0; }
.vidcard__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.vidcard__meta small { font-size: var(--text-xs); font-weight: 640; opacity: 0.82; letter-spacing: 0.05em; }
.vidcard iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}
.vidcard:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Pay bars — weeks-to-income comparison ---------- */

.paybars { display: grid; gap: 1.9rem; max-width: 780px; }
.paybar__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.55rem;
  font-size: var(--text-sm);
  font-weight: 640;
}
.paybar__label strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 620; }
.paybar__track {
  height: 20px;
  border-radius: 999px;
  background: var(--mist-deep);
}
.bg-navy .paybar__track, .bg-navy-deep .paybar__track { background: rgba(255, 255, 255, 0.12); }
.paybar__fill {
  display: block;
  height: 100%;
  width: var(--w, 100%);
  border-radius: inherit;
  background: var(--slate-300);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease-out) 0.15s;
}
.paybar--cuti .paybar__fill {
  background: var(--orange);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 26" preserveAspectRatio="none"><path d="M3 8Q28 2 62 5t76-1q34-3 56 2l3 9q-30 6-68 3t-70 2q-32 4-54-2Z"/></svg>') left center / 100% 100% no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 26" preserveAspectRatio="none"><path d="M3 8Q28 2 62 5t76-1q34-3 56 2l3 9q-30 6-68 3t-70 2q-32 4-54-2Z"/></svg>') left center / 100% 100% no-repeat;
}
.reveal.in .paybar__fill, .no-reveal .paybar__fill { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .paybar__fill { transform: scaleX(1); transition: none; }
}

/* ---------- External link register (industry links) ---------- */

.sheet__row--ext { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) 180px 44px; }
.sheet__row--ext .sheet__name { font-size: 1.2rem; }
.sheet__row--ext .sheet__len { text-transform: none; letter-spacing: 0.02em; font-weight: 600; }
@media (max-width: 900px) {
  .sheet__row--ext { grid-template-columns: minmax(0, 1fr) 44px; }
  .sheet__row--ext .sheet__desc { grid-column: 1; }
}

/* ---------- Proof cluster — grad faces + rating ---------- */

.proof { display: flex; align-items: center; gap: 1rem; }
.proof__faces { display: flex; flex-shrink: 0; }
.proof__faces img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--white);
}
.proof__faces img + img { margin-left: -16px; }
.proof__text { display: grid; gap: 0.2rem; font-size: var(--text-sm); font-weight: 640; }
.proof__stars { display: inline-flex; gap: 2px; color: var(--apwa-gas); }
.hero .proof__text { color: var(--slate-300); }

/* Ticket grid without description copy */
.ticketgrid--bare .ticket h3 { margin-bottom: 0.75rem; }

/* Bento layout — featured program spans the full top row */
.ticketgrid--bento { grid-template-columns: repeat(3, 1fr); }
.ticket--wide { grid-column: 1 / -1; }
.ticket--wide .ticket__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: stretch;
  flex: 1;
}
.ticket--wide .ticket__body { display: flex; flex-direction: column; }
.ticket--wide h3 { font-size: 1.9rem; }
.ticket--wide .ticket__lede { font-size: var(--text-sm); color: var(--slate); margin-bottom: 1.3rem; max-width: 42ch; }
.ticket--wide .ticket__photo { margin: 0; height: 100%; }
.ticket--wide .ticket__photo img { height: 100%; aspect-ratio: auto; min-height: 240px; }
.ticket--wide .ticket__foot { margin-top: auto; }
@media (max-width: 880px) {
  .ticketgrid--bento { grid-template-columns: 1fr; }
  .ticket--wide .ticket__inner { grid-template-columns: 1fr; gap: 1.1rem; }
  .ticket--wide h3 { font-size: 1.5rem; }
  .ticket--wide .ticket__photo img { min-height: 0; aspect-ratio: 3 / 2; height: auto; }
}

/* ---------- Lesson stack — real course pages, fanned ---------- */

.lessonstack {
  position: relative;
  display: block;
  aspect-ratio: 0.92;
  width: min(100%, 470px);
  margin-inline: auto;
}
.lessonstack img {
  position: absolute;
  width: 66%;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--mist-deep);
  box-shadow: 0 4px 10px rgba(16, 29, 54, 0.08), 0 24px 48px -16px rgba(16, 29, 54, 0.3);
  transition: transform 0.5s var(--ease-out);
}
.lessonstack img:nth-child(1) { left: 0; top: 7%; transform: rotate(-5.5deg); }
.lessonstack img:nth-child(2) { right: 0; top: 0; transform: rotate(4deg); }
.lessonstack img:nth-child(3) { left: 16%; top: 15%; transform: rotate(-1deg); z-index: 2; }
a.lessonstack:hover img:nth-child(1) { transform: rotate(-8deg) translateX(-4%); }
a.lessonstack:hover img:nth-child(2) { transform: rotate(6.5deg) translateX(4%); }
a.lessonstack:hover img:nth-child(3) { transform: rotate(0deg) translateY(-2.5%); }
.lessonstack .scrawl { position: absolute; right: -2%; bottom: -2.6rem; z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  a.lessonstack:hover img { transform: none; }
}

/* ---------- Blog ---------- */

.postgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.2rem;
  max-width: 980px;
}
.postcard { display: block; text-decoration: none; color: var(--navy); }
.postcard figure {
  margin: 0 0 1.2rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 1.7;
}
.postcard figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.postcard:hover figure img { transform: scale(1.045); }
.postcard time {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-700);
}
.postcard h3 {
  font-size: var(--h-3);
  margin: 0.35em 0 0.3em;
  transition: color 0.2s;
}
.postcard:hover h3 { color: var(--orange-700); }
.postcard p { margin: 0; font-size: var(--text-sm); color: var(--slate); }

.article { max-width: 70ch; margin-inline: auto; }
.article > p { font-size: var(--text-md); line-height: 1.75; }
.article h2 { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); margin: 2.2em 0 0.6em; }
.article ul { padding-left: 1.2em; }
.article ul li { margin-bottom: 0.55em; line-height: 1.65; }
.article__hero {
  max-width: 980px;
  margin: -3.4rem auto 0;
  position: relative;
  z-index: 5;
}
.article__hero img {
  width: 100%;
  aspect-ratio: 2.2;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.article__cta {
  margin-top: 3.2rem;
  border-top: 2px solid var(--navy);
  padding-top: 1.8rem;
}
.article__cta p { margin: 0 0 1.2rem; }

/* ---------- Utilities ---------- */

.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--sp-4); }
.mt-2 { margin-top: var(--sp-5); }
.mt-3 { margin-top: var(--sp-6); }
.mb-1 { margin-bottom: var(--sp-4); }
.mb-2 { margin-bottom: var(--sp-5); }
.center { text-align: center; }
.actions-center { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
