/* ==========================================================================
   Expert Trainers Academy — IOSH Level 6 Diploma
   Palette and typography follow experttrainersacademy.com
   Navy #032D58 · Ink #0A2051 · Signal orange #F94318 · Amber #FF8903
   ========================================================================== */

:root {
  --font-head: 'Outfit', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --navy: #032D58;
  --navy-deep: #021C39;
  --ink: #0A2051;
  --orange: #F94318;
  --orange-dark: #D33409;
  --amber: #FF8903;

  --paper: #FFFFFF;
  --tint: #F4F7FA;
  --tint-2: #EDF2F7;
  --line: #DCE3EC;
  --line-soft: #E9EEF4;

  --head: #0C1D33;
  --body: #4A5866;
  --muted: #7A8796;

  --shell: 1200px;
  --gut: 28px;

  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.3vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: var(--head);
}

.h3 {
  font-family: var(--font-head);
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--head);
}

.h4 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--head);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.kicker-rule {
  width: 34px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.kicker-light { color: var(--amber); }
.kicker-light .kicker-rule { background: var(--amber); }

.prose p + p { margin-top: 16px; }
.prose strong { color: var(--head); font-weight: 600; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color 0.22s var(--ease-soft),
              border-color 0.22s var(--ease-soft),
              color 0.22s var(--ease-soft),
              transform 0.22s var(--ease);
}

.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-solid { background: var(--orange); color: #FFFFFF; }
.btn-solid:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }

.btn-outline {
  border-color: var(--line);
  color: var(--head);
  background: var(--paper);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* --------------------------------------------------------------------------
   Scroll progress
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--orange);
  z-index: 2000;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   Utility bar
   -------------------------------------------------------------------------- */
.utility-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
  flex-wrap: wrap;
}

.utility-contact,
.utility-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.utility-contact a:hover { color: var(--amber); }

.utility-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utility-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.utility-social a:hover {
  color: var(--amber);
  transform: translateY(-1px);
}

.utility-social svg {
  width: 14px;
  height: 14px;
}

.utility-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
}

.utility-hours { color: rgba(255, 255, 255, 0.5); }

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease-soft);
}

.masthead.is-stuck { box-shadow: 0 1px 24px rgba(3, 45, 88, 0.09); }

.masthead-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
  transition: height 0.3s var(--ease-soft);
}

.masthead.is-stuck .masthead-inner { height: 66px; }

.masthead-brand img {
  height: 40px;
  width: auto;
  transition: height 0.3s var(--ease-soft);
}

.masthead.is-stuck .masthead-brand img { height: 34px; }

.masthead-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.masthead-nav a {
  position: relative;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--head);
  padding: 6px 0;
  transition: color 0.2s var(--ease-soft);
}

.masthead-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.32s var(--ease);
}

.masthead-nav a:hover { color: var(--orange); }
.masthead-nav a:hover::after,
.masthead-nav a.is-current::after { transform: scaleX(1); transform-origin: left center; }
.masthead-nav a.is-current { color: var(--orange); }

.masthead-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.masthead-phone {
  display: none;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.masthead-phone svg { width: 15px; height: 15px; }

.masthead-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.masthead-burger span {
  display: block;
  width: 17px;
  height: 1.6px;
  margin: 0 auto;
  background: var(--head);
  transition: transform 0.3s var(--ease), opacity 0.2s linear;
}

.masthead-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.masthead-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.masthead-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #FFFFFF;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(10, 32, 81, 0) 0%, rgba(2, 20, 41, 0.75) 100%),
    linear-gradient(180deg, rgba(3, 45, 88, 0) 60%, rgba(2, 20, 41, 0.6) 100%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
}

.hero-heading {
  font-family: var(--font-head);
  font-size: clamp(34px, 4.3vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: #FFFFFF;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero-heading em {
  font-style: normal;
  color: var(--amber);
}

.hero-lede {
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
  max-width: 54ch;
  margin-bottom: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 34px;
}

.hero-facts > div {
  padding: 18px 18px 18px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-facts > div:last-child { border-right: none; }
.hero-facts > div + div { padding-left: 18px; }

.hero-facts dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}

.hero-facts dd {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-note {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

/* hero media composition */
.hero-media { position: relative; }

.hero-figure {
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  border-radius: var(--r-md);
}

.hero-figure img,
.hero-figure-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-figure-sub {
  position: absolute;
  left: -52px;
  bottom: 74px;
  width: 47%;
  aspect-ratio: 4 / 3.1;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 6px solid var(--navy);
}

.hero-stat {
  position: absolute;
  right: 0;
  bottom: -26px;
  background: var(--orange);
  color: #FFFFFF;
  padding: 16px 24px 18px;
  border-radius: var(--r-md);
  min-width: 190px;
}

.hero-stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Recognition marquee
   -------------------------------------------------------------------------- */
.recognition {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 30px 0 34px;
  overflow: hidden;
}

.recognition-head { margin-bottom: 16px; }

.recognition-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 44s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }

.section-head {
  max-width: 660px;
  margin-bottom: 52px;
}

.section-head-wide { max-width: 760px; }

.section-lede {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--body);
  margin-top: 16px;
}

.section-lede a {
  color: var(--orange);
  border-bottom: 1px solid currentColor;
}

/* split layouts */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.split-wide { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }

.split-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.split-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 26px 22px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #FFFFFF;
  background: linear-gradient(180deg, rgba(2, 20, 41, 0) 0%, rgba(2, 20, 41, 0.9) 70%);
}

.marks { margin-top: 30px; }

.marks li {
  position: relative;
  padding-left: 30px;
  padding-bottom: 14px;
  font-size: 15.5px;
  color: var(--head);
}

.marks li:last-child { padding-bottom: 0; }

.marks li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 13px;
  height: 2px;
  background: var(--orange);
}

/* --------------------------------------------------------------------------
   Specification lists + counters
   -------------------------------------------------------------------------- */
.spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s var(--ease-soft);
}

.spec-row:hover { background: rgba(249, 67, 24, 0.035); }

.spec-row dt {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.spec-row dd {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--head);
}

.counters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  background: var(--line);
  border: 1px solid var(--line);
}

.counter {
  background: var(--paper);
  padding: 30px 26px;
}

.counter-num {
  display: block;
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin-bottom: 10px;
}

.counter-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Units
   -------------------------------------------------------------------------- */
.unit { padding: 44px 0; }
.unit + .unit { border-top: 1px solid var(--line-soft); }

.unit-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.unit-flip .unit-media { order: 2; }

.unit-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
}

.unit-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.unit-index {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.unit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 18px 0 20px;
}

.unit-meta span {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 5px 12px;
}

.unit-desc { font-size: 15.5px; }

.topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 26px;
  margin: 24px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.topics li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--head);
}

.topics li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 6px;
  height: 1px;
  background: var(--orange);
}

.unit-assess {
  font-size: 14px;
  color: var(--muted);
}

.unit-assess strong { color: var(--head); font-weight: 600; }

/* --------------------------------------------------------------------------
   Data table
   -------------------------------------------------------------------------- */
.table-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.data-table thead th {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  padding: 15px 20px;
}

.data-table tbody th,
.data-table tfoot th {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.03em;
}

.data-table td,
.data-table th { padding: 17px 20px; }

.data-table tbody tr { border-top: 1px solid var(--line-soft); }
.data-table tbody tr:hover { background: rgba(249, 67, 24, 0.03); }

.data-table td { color: var(--head); }
.data-table .num {
  font-family: var(--font-head);
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.data-table tfoot tr {
  background: var(--navy);
  color: #FFFFFF;
}

.data-table tfoot th { color: var(--amber); }
.data-table tfoot td { color: #FFFFFF; }

.chip {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 4px 11px;
  white-space: nowrap;
}

.chip-solid {
  background: var(--orange);
  border-color: var(--orange);
  color: #FFFFFF;
}

/* hours cards */
.hours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 40px;
}

.hours-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--r-md);
  padding: 32px 30px;
  font-size: 14.5px;
}

.hours-card-alt { border-top-color: var(--navy); }

.hours-num {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--head);
  margin-bottom: 12px;
}

.hours-unit {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hours-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--head);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Roles
   -------------------------------------------------------------------------- */
.split-media-right img { aspect-ratio: 4 / 4.7; }

.role-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.role-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--head);
  transition: color 0.2s var(--ease-soft), padding-left 0.3s var(--ease);
}

.role-list li:hover { color: var(--orange); padding-left: 8px; }

/* --------------------------------------------------------------------------
   Notes (entry requirements)
   -------------------------------------------------------------------------- */
.notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 34px 32px;
  font-size: 15px;
}

.note p + p { margin-top: 14px; }
.note strong { color: var(--head); font-weight: 600; }

.note-title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--head);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

/* --------------------------------------------------------------------------
   Assessment
   -------------------------------------------------------------------------- */
.assess {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.assess-item {
  display: flex;
  gap: 20px;
  padding: 34px 32px 34px 0;
  border-right: 1px solid var(--line);
  font-size: 14.5px;
}

.assess-item:last-child { border-right: none; }
.assess-item + .assess-item { padding-left: 32px; }

.assess-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  padding-top: 4px;
}

.assess-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--head);
  margin-bottom: 6px;
}

.assess-for {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.band {
  position: relative;
  margin-top: 56px;
  overflow: hidden;
  border-radius: var(--r-md);
}

.band img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.band figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 60px 36px 28px;
  max-width: 640px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #FFFFFF;
  background: linear-gradient(180deg, rgba(2, 20, 41, 0) 0%, rgba(2, 20, 41, 0.88) 72%);
}

/* --------------------------------------------------------------------------
   Progression
   -------------------------------------------------------------------------- */
.prog {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 56px;
  align-items: start;
}

.prog-lede {
  font-size: 15.5px;
  margin: 14px 0 32px;
  max-width: 62ch;
}

.ladder { border-top: 1px solid var(--line); }

.ladder li {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.ladder-step {
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 4px;
}

.ladder h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--head);
  margin-bottom: 6px;
}

.ladder p { font-size: 14.5px; }

.prog-aside {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 30px;
  font-size: 14.5px;
  overflow: hidden;
}

.prog-media {
  margin: -32px -30px 24px -30px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.prog-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform var(--speed-md) var(--ease-out);
}

.prog-aside:hover .prog-media img {
  transform: scale(1.03);
}

.prog-aside h3 { margin-bottom: 14px; }
.prog-aside p + p { margin-top: 14px; }

.prog-aside-note {
  padding: 16px 18px;
  background: var(--tint);
  border-left: 2px solid var(--orange);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--head);
  font-size: 14px;
}

.prog-aside .btn { margin-top: 24px; }

/* --------------------------------------------------------------------------
   Dark band
   -------------------------------------------------------------------------- */
.dark-band {
  position: relative;
  padding: 100px 0;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.dark-band-media {
  position: absolute;
  inset: 0;
}

.dark-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.dark-band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(2, 20, 41, 0.95) 12%, rgba(2, 20, 41, 0.76) 52%, rgba(3, 45, 88, 0.6) 100%);
}

.dark-band-inner { position: relative; }

.dark-band-head {
  max-width: 700px;
  margin-bottom: 56px;
}

.dark-band .h2 { color: #FFFFFF; }
.dark-band .section-lede { color: rgba(255, 255, 255, 0.7); }

.support {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.support li {
  background: rgba(2, 20, 41, 0.55);
  padding: 30px 28px;
  transition: background-color 0.3s var(--ease-soft);
}

.support li:hover { background: rgba(249, 67, 24, 0.12); }

.support h3 {
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.support p { font-size: 14px; line-height: 1.65; }

/* --------------------------------------------------------------------------
   Journey
   -------------------------------------------------------------------------- */
.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.journey li {
  position: relative;
  background: var(--paper);
  padding: 32px 30px 34px;
  transition: background-color 0.3s var(--ease-soft);
}

.journey li:hover { background: var(--tint); }

.journey-num {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 16px;
}

.journey h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--head);
  margin-bottom: 8px;
}

.journey p { font-size: 14.5px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}

.faq-intro { position: sticky; top: 118px; }

.faq { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--head);
  transition: color 0.2s var(--ease-soft);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--orange); }

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 1.6px solid var(--orange);
  border-bottom: 1.6px solid var(--orange);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary { color: var(--orange); }
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.faq-body {
  padding-bottom: 24px;
  max-width: 68ch;
  font-size: 15px;
  animation: faqOpen 0.4s var(--ease) both;
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */
.cta {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 92px 0;
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: start;
}

.cta .h2 { color: #FFFFFF; }

.cta-lede {
  font-size: 16px;
  line-height: 1.75;
  margin-top: 18px;
  max-width: 56ch;
}

.cta-contact {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-contact a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: padding-left 0.3s var(--ease);
}

.cta-contact a:hover { padding-left: 8px; }

.cta-contact span {
  flex: 0 0 96px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.cta-contact strong {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
}

.cta-contact a:hover strong { color: var(--amber); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.lead-form {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 34px 32px 30px;
}

.lead-form-title {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 600;
  color: var(--head);
  margin-bottom: 6px;
}

.lead-form-note {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.field { display: block; margin-bottom: 16px; }

.field > span {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 7px;
}

.field em { font-style: normal; color: var(--line); }

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--head);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  transition: border-color 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft);
}

.field textarea { resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--orange);
}

.lead-form .btn { margin-top: 8px; }

.lead-form-legal {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.form-done {
  padding: 14px 16px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--navy);
  background: rgba(249, 67, 24, 0.07);
  border-left: 2px solid var(--orange);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  height: 46px;
  width: auto;
  margin-bottom: 20px;
  opacity: 0.94;
}

.footer-brand p { max-width: 38ch; line-height: 1.7; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  transition: all 0.25s var(--ease);
}

.footer-social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(224, 90, 43, 0.35);
}

.footer-social-link svg {
  width: 17px;
  height: 17px;
}

.footer-col h3 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.footer-col a,
.footer-col address,
.footer-hours {
  display: block;
  margin-bottom: 10px;
  font-style: normal;
  line-height: 1.6;
  transition: color 0.2s var(--ease-soft), transform 0.25s var(--ease);
}

.footer-col a:hover { color: var(--amber); transform: translateX(3px); }

.footer-hours { color: rgba(255, 255, 255, 0.4); margin-top: 14px; }

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
}

.footer-disclaimer { max-width: 62ch; text-align: right; }

/* --------------------------------------------------------------------------
   WhatsApp float + modal
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 800;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--ease);
}

.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 26px; height: 26px; fill: #FFFFFF; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 20, 41, 0.6);
  backdrop-filter: blur(3px);
  animation: modalIn 0.25s var(--ease-soft) both;
}

.modal[hidden] { display: none; }

@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 40px 36px 32px;
  animation: panelIn 0.36s var(--ease) both;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 32px; height: 32px;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  border-radius: var(--r-sm);
  transition: color 0.2s, background-color 0.2s;
}

.modal-close:hover { color: var(--head); background: var(--tint); }

.modal-title {
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 600;
  color: var(--head);
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 26px;
}

.modal .lead-form { padding: 0; }

/* ==========================================================================
   MOTION SYSTEM
   ========================================================================== */

/* Initial (hidden) states are scoped to .js-anim, which the inline head script
   adds. If scripting is blocked the page renders fully visible instead of blank. */

/* fade-up ---------------------------------------------------------------- */
.js-anim [data-anim="fade-up"],
.js-anim [data-anim="stagger"] > * {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

[data-anim="fade-up"].is-in,
[data-anim="stagger"].is-in > * {
  opacity: 1;
  transform: none;
}

/* heading word mask ------------------------------------------------------ */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* room for descenders so the clip box never shaves a 'g' or 'y' */
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.js-anim .word-inner {
  display: inline-block;
  transform: translate3d(0, 108%, 0);
  transition: transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: transform;
}

[data-anim="lines"].is-in .word-inner { transform: none; }

/* image reveal ----------------------------------------------------------- */
.js-anim [data-anim="reveal-img"] {
  opacity: 0.1;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js-anim [data-anim="reveal-img"] img {
  transition: transform 1.2s var(--ease);
  will-change: transform;
}

[data-anim="reveal-img"].is-in {
  opacity: 1;
  transform: none;
}

[data-anim="reveal-img"].is-in img {
  transform: scale(1);
}

[data-anim="reveal-img"].is-in img[data-parallax] {
  transform: scale(1.08);
}

/* parallax --------------------------------------------------------------- */
[data-parallax] { will-change: transform; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .masthead-nav { display: none; }
  .masthead-burger { display: flex; }
  .masthead-phone { display: none; }

  .masthead-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px var(--gut) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(3, 45, 88, 0.1);
  }

  .masthead-nav.is-open a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }

  .masthead-nav.is-open a::after { display: none; }

  .hero-shell { grid-template-columns: 1fr; gap: 56px; padding-top: 64px; padding-bottom: 88px; }
  .hero-media { max-width: 560px; }
  .hero-figure { aspect-ratio: 4 / 3.4; }
  .hero-figure-sub { left: auto; right: -28px; bottom: -34px; width: 42%; }
  .hero-stat { right: auto; left: 0; bottom: -30px; }

  .split, .split-wide, .unit-shell, .prog, .faq-shell, .cta-shell {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .unit-flip .unit-media { order: 0; }
  .split-media img, .split-media-right img { aspect-ratio: 16 / 10; }
  .faq-intro { position: static; }

  .support, .journey, .assess { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assess-item { border-right: none; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .assess-item + .assess-item { padding-left: 0; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .dark-band { padding: 78px 0; }
  .cta { padding: 72px 0; }

  .spec { grid-template-columns: 1fr; gap: 0; }
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hours, .notes { grid-template-columns: 1fr; }
  .topics { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts > div { border-right: none; padding-left: 0 !important; }
  .hero-facts > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); padding-right: 18px; }
  .hero-facts > div:nth-child(even) { padding-left: 18px !important; }
  .hero-facts > div:nth-child(1), .hero-facts > div:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }

  .data-table thead { display: none; }
  .data-table tbody tr, .data-table tfoot tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 18px 20px; }
  .data-table tbody th, .data-table tfoot th { grid-column: 1 / -1; padding: 0 0 4px; }
  .data-table td { padding: 0; }
  .data-table tbody td:first-of-type, .data-table tfoot td:first-of-type { grid-column: 1 / -1; padding-bottom: 8px; }
  .data-table .num::before { content: attr(data-label) " "; font-weight: 400; color: var(--muted); }

  .ladder li { grid-template-columns: 1fr; gap: 8px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .footer-disclaimer { text-align: left; }
}

@media (max-width: 620px) {
  :root { --gut: 20px; }

  .utility-hide-sm { display: none; }
  .utility-inner { justify-content: center; text-align: center; }

  .support, .journey, .counters, .role-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-figure-sub { display: none; }
  .hero-stat { position: static; margin-top: 18px; display: inline-block; }
  .hero-actions .btn { width: 100%; }
  .band figcaption { padding: 40px 22px 22px; font-size: 13px; }
  .lead-form, .modal-panel { padding-left: 24px; padding-right: 24px; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  [data-anim="fade-up"],
  [data-anim="stagger"] > *,
  [data-anim="reveal-img"],
  [data-anim="reveal-img"] img,
  .word-inner {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  .marquee-track { animation: none; }
  .faq-body { animation: none; }
}
