/* ═══════════════════════════════════════════════════════════
   ToP Training Theme — main.css
   Technology of Participation® National Training Platform
   Version: 1.0.0
═══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Brand colors (overridden by Customizer inline CSS) */
  --top-navy:        #1A2744;
  --top-navy-lt:     #253560;
  --top-orange:      #E05A1E;
  --top-orange-lt:   #F07848;
  --top-orange-dk:   #BB4410;
  --top-gold:        #C8922A;
  --top-gold-lt:     #E8B040;
  --top-blue:        #3A5FA0;
  --top-blue-lt:     #5A7FC0;
  --top-green:       #2D7D45;
  --top-cream:       #FAF7F2;
  --top-linen:       #F0EBE1;
  --top-warm-gray:   #E0D9CE;
  --top-slate:       #2D3B4E;
  --top-mist:        #6E8196;
  --top-charcoal:    #1C2530;
  --top-white:       #FFFFFF;

  /* Typography */
  --top-serif:  'DM Serif Display', Georgia, serif;
  --top-sans:   'Outfit', system-ui, -apple-system, sans-serif;
  --top-mono:   'Source Code Pro', 'Courier New', monospace;

  /* Spacing */
  --top-r:     10px;
  --top-r-lg:  18px;

  /* Shadows */
  --top-sh:    0 2px 18px rgba(26,39,68,.10);
  --top-sh-lg: 0 8px 48px rgba(26,39,68,.16);

  /* Section padding */
  --top-section-pad: 80px 60px;
  --top-section-max: 1280px;
}

/* ─── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--top-sans);
  background: var(--top-cream);
  color: var(--top-slate);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--top-sans); }
ul { list-style: none; }

/* ─── SKIP LINK ──────────────────────────────────────────── */
.top-skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--top-orange); color: #fff;
  padding: 10px 20px; border-radius: var(--top-r);
  font-weight: 700; z-index: 9999;
  transition: top .15s;
}
.top-skip-link:focus { top: 16px; }

/* ─── SITE HEADER ────────────────────────────────────────── */
.top-site-header {
  background: var(--top-navy);
  position: sticky; top: 0; z-index: 500;
  box-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.top-site-header__inner {
  max-width: var(--top-section-max);
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex; align-items: center; gap: 32px;
}

/* Logo */
.top-site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.top-site-header__logo .custom-logo { height: 48px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.top-site-header__logo-text { display: flex; flex-direction: column; gap: 2px; }
.top-site-header__logo-top {
  font-family: var(--top-serif); font-size: 22px;
  color: #fff; line-height: 1; letter-spacing: -.01em;
}
.top-site-header__logo-top sup { font-size: 11px; }
.top-site-header__logo-sub {
  font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}

/* Primary Nav */
.top-site-header__nav { display: flex; align-items: center; }
.top-nav__list { display: flex; gap: 2px; align-items: center; }
.top-nav__item { position: relative; }
.top-nav__link--top {
  display: block; padding: 8px 14px; border-radius: 6px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.65);
  transition: all .15s; white-space: nowrap;
}
.top-nav__link--top:hover,
.top-nav__item--active > .top-nav__link--top {
  background: rgba(255,255,255,.1); color: #fff;
}
.top-nav__chevron { font-size: 10px; margin-left: 3px; opacity: .6; }

/* Dropdown */
.top-nav__dropdown {
  display: none; position: absolute;
  top: 100%; left: 0; min-width: 200px;
  background: var(--top-navy-lt);
  border-radius: var(--top-r); border-top: 2px solid var(--top-orange);
  box-shadow: var(--top-sh-lg); padding: 8px 0; z-index: 200;
}
.top-nav__item--has-dropdown:hover .top-nav__dropdown,
.top-nav__item--has-dropdown:focus-within .top-nav__dropdown { display: block; }
.top-nav__link--sub {
  display: block; padding: 10px 18px;
  font-size: 13px; color: rgba(255,255,255,.7);
  transition: all .13s;
}
.top-nav__link--sub:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Actions */
.top-site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.top-site-header__mobile-toggle { display: none; background: none; border: none; color: rgba(255,255,255,.7); padding: 4px; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.top-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 26px; border-radius: var(--top-r);
  font-family: var(--top-sans); font-size: 14px;
  font-weight: 700; letter-spacing: .02em;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap; cursor: pointer;
  text-decoration: none;
}
.top-btn--lg  { padding: 15px 36px; font-size: 16px; }
.top-btn--sm  { padding: 8px 18px; font-size: 12px; }

.top-btn--orange        { background: var(--top-orange); color: #fff; border-color: var(--top-orange); }
.top-btn--orange:hover  { background: var(--top-orange-lt); border-color: var(--top-orange-lt); }

.top-btn--navy          { background: var(--top-navy); color: #fff; border-color: var(--top-navy); }
.top-btn--navy:hover    { background: var(--top-navy-lt); border-color: var(--top-navy-lt); }

.top-btn--outline-navy  { background: transparent; color: var(--top-navy); border-color: var(--top-navy); }
.top-btn--outline-navy:hover { background: var(--top-navy); color: #fff; }

.top-btn--ghost-light   { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.25); }
.top-btn--ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ─── SECTION SHELLS ─────────────────────────────────────── */
.top-section { width: 100%; }
.top-section--cream    { background: var(--top-cream); }
.top-section--linen    { background: var(--top-linen); }
.top-section--navy     { background: var(--top-navy); position: relative; overflow: hidden; }
.top-section--border-top { border-top: 1px solid var(--top-warm-gray); }

.top-section--navy::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 80% 55%, rgba(224,90,30,.16) 0%, transparent 60%);
  pointer-events: none;
}

.top-section__inner {
  max-width: var(--top-section-max);
  margin: 0 auto;
  padding: var(--top-section-pad);
  position: relative; z-index: 5;
}
.top-section__inner--narrow { max-width: 900px; }

/* Section header patterns */
.top-section__header { margin-bottom: 48px; }
.top-section__header--center { text-align: center; }
.top-section__header--center .top-eyebrow { justify-content: center; }
.top-section__header--center .top-section__sub { margin-left: auto; margin-right: auto; }
.top-section__header--split {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.top-section__title {
  font-family: var(--top-serif);
  font-size: 42px; line-height: 1.1;
  color: var(--top-navy); margin-bottom: 10px;
}
.top-section__title em    { font-style: italic; color: var(--top-orange); }
.top-section__title--light { color: #fff; }
.top-section__sub {
  font-size: 17px; font-weight: 300;
  color: var(--top-mist); line-height: 1.75;
  max-width: 640px; margin-bottom: 0;
}
.top-section__sub--light { color: rgba(255,255,255,.55); }

/* ─── EYEBROW ────────────────────────────────────────────── */
.top-eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--top-orange);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.top-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 2px;
  background: var(--top-orange); flex-shrink: 0;
}
.top-eyebrow--light { color: rgba(255,255,255,.6); }

/* ─── BADGES & TAGS ──────────────────────────────────────── */
.top-badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 4px;
  font-size: 9px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.top-badge.badge--found { background: var(--top-orange); color: #fff; }
.top-badge.badge--prac  { background: var(--top-blue);   color: #fff; }
.top-badge.badge--adv   { background: var(--top-navy);   color: #fff; }
.top-badge.badge--cert  { background: var(--top-gold);   color: #fff; }

.top-tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 20px;
  font-size: 10px; font-weight: 600; letter-spacing: .03em;
}
.top-tag--navy   { background: rgba(26,39,68,.08);    color: var(--top-navy); }
.top-tag--orange { background: rgba(224,90,30,.1);    color: var(--top-orange); }
.top-tag--gold   { background: rgba(200,146,42,.12);  color: var(--top-gold); }
.top-tag--blue   { background: rgba(58,95,160,.1);    color: var(--top-blue); }
.top-tag--mist   { background: var(--top-linen);      color: var(--top-mist); }
.top-tag--green  { background: rgba(45,125,69,.1);    color: var(--top-green); }

/* ─── HERO ───────────────────────────────────────────────── */
.top-hero {
  background: var(--top-navy);
  position: relative; overflow: hidden;
  min-height: 640px;
  background-size: cover; background-position: center;
  background-blend-mode: multiply;
}
.top-hero__pattern {
  position: absolute; inset: 0; opacity: .04; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.6) 0, rgba(255,255,255,.6) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0, rgba(255,255,255,.6) 1px, transparent 1px, transparent 60px);
}
.top-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 78% 55%, rgba(224,90,30,.18) 0%, transparent 62%),
    radial-gradient(ellipse 40% 55% at 5% 88%, rgba(58,95,160,.14) 0%, transparent 55%);
}
.top-hero__inner {
  max-width: var(--top-section-max); margin: 0 auto;
  padding: 88px 60px 80px;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 64px; align-items: center;
  position: relative; z-index: 10;
}

/* Hero copy */
.top-hero__copy .top-eyebrow { color: var(--top-orange); }
.top-hero__headline {
  font-family: var(--top-serif);
  font-size: 62px; color: #fff;
  line-height: 1.05; letter-spacing: -.02em;
  margin-bottom: 20px;
}
.top-hero__headline em { color: var(--top-orange); font-style: italic; }
.top-hero__body {
  font-size: 18px; font-weight: 300;
  color: rgba(255,255,255,.6); line-height: 1.75;
  max-width: 540px; margin-bottom: 36px;
}
.top-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.top-hero__stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
}
.top-hero__stat-n {
  font-family: var(--top-serif);
  font-size: 34px; color: #fff; line-height: 1; margin-bottom: 4px;
}
.top-hero__stat-l {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.4);
}

/* Hero panel (course finder) */
.top-hero__panel {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--top-r-lg);
  padding: 32px; backdrop-filter: blur(8px);
}
.top-hero__panel-kicker {
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--top-orange); margin-bottom: 6px;
}
.top-hero__panel-q {
  font-family: var(--top-serif);
  font-size: 21px; color: #fff; line-height: 1.25; margin-bottom: 20px;
}
.top-quiz-opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 16px; margin-bottom: 8px;
  border-radius: var(--top-r);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  font-size: 13px; font-weight: 400; line-height: 1.4;
  transition: all .14s; text-decoration: none;
  text-align: left;
}
.top-quiz-opt:hover {
  background: rgba(224,90,30,.2); border-color: rgba(224,90,30,.4); color: #fff;
}
.top-quiz-opt:last-of-type { margin-bottom: 0; }
.top-quiz-opt__key {
  width: 24px; height: 24px; border-radius: 6px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
  color: rgba(255,255,255,.5);
}
.top-hero__panel-note {
  font-size: 11px; color: rgba(255,255,255,.35);
  text-align: center; margin-top: 16px; line-height: 1.6;
}

/* ─── TRUST BAR ──────────────────────────────────────────── */
.top-trust-bar {
  background: var(--top-white);
  border-bottom: 1px solid var(--top-warm-gray);
}
.top-trust-bar__inner {
  max-width: var(--top-section-max); margin: 0 auto;
  padding: 22px 60px;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.top-trust-bar__label {
  font-size: 10px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--top-mist); flex-shrink: 0;
}
.top-trust-bar__sectors { display: flex; gap: 16px; flex-wrap: wrap; }
.top-trust-bar__sector {
  font-size: 12px; font-weight: 600; color: var(--top-mist);
  padding: 4px 14px; background: var(--top-linen); border-radius: 20px;
}
.top-trust-bar__stats { display: flex; gap: 28px; align-items: center; margin-left: auto; }
.top-trust-bar__stat { text-align: center; padding-left: 28px; border-left: 1px solid var(--top-warm-gray); }
.top-trust-bar__stat:first-child { border-left: none; }
.top-trust-bar__stat-n {
  font-family: var(--top-serif); font-size: 22px;
  color: var(--top-navy); line-height: 1;
}
.top-trust-bar__stat-l {
  font-size: 10px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--top-mist); margin-top: 2px;
}

/* ─── WHO IT'S FOR ───────────────────────────────────────── */
.top-for-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.top-for-card {
  background: var(--top-white);
  border-radius: var(--top-r-lg);
  padding: 28px 22px; text-align: center;
  box-shadow: var(--top-sh);
  border-bottom: 3px solid transparent;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.top-for-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--top-sh-lg);
  border-bottom-color: var(--top-orange);
}
.top-for-card__icon { font-size: 32px; height: 52px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.top-for-card__title { font-size: 14px; font-weight: 700; color: var(--top-navy); margin-bottom: 8px; line-height: 1.3; }
.top-for-card__desc  { font-size: 12px; color: var(--top-mist); line-height: 1.65; }
.top-for-card__link  { display: block; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--top-orange); }

/* ─── METHODS ────────────────────────────────────────────── */
.top-methods-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.top-methods__body {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,.65); line-height: 1.85;
  margin-bottom: 24px; max-width: 500px;
}
.top-method-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--top-r-lg); padding: 28px;
  margin-bottom: 16px; position: relative;
  transition: background .15s;
}
.top-method-card:hover { background: rgba(255,255,255,.1); }
.top-method-card:last-child { margin-bottom: 0; }
.top-method-card__num {
  font-family: var(--top-serif); font-size: 52px;
  color: rgba(255,255,255,.07); position: absolute;
  top: 12px; right: 20px; line-height: 1;
}
.top-method-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 14px;
}
.top-method-card--orange .top-method-card__icon { background: var(--top-orange); }
.top-method-card--blue   .top-method-card__icon { background: var(--top-blue); }
.top-method-card--gold   .top-method-card__icon { background: var(--top-gold); }
.top-method-card__title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.top-method-card__desc  { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 12px; }
.top-method-card__tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 4px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.5);
}

/* ─── COURSE CARDS ───────────────────────────────────────── */
.top-courses-placeholder-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
  margin-bottom: 32px;
}
.top-course-card {
  background: var(--top-white); border-radius: var(--top-r-lg);
  overflow: hidden; box-shadow: var(--top-sh);
  border-top: 4px solid var(--top-orange);
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.top-course-card:hover { transform: translateY(-3px); box-shadow: var(--top-sh-lg); }
.top-course-card--practitioner { border-top-color: var(--top-blue); }
.top-course-card--advanced     { border-top-color: var(--top-gold); }

.top-course-card__image {
  height: 160px; position: relative;
  background: linear-gradient(135deg, var(--top-navy) 0%, #253a6e 100%);
}
.top-course-card--practitioner .top-course-card__image { background: linear-gradient(135deg, #2a3a8a 0%, var(--top-blue) 100%); }
.top-course-card--advanced     .top-course-card__image { background: linear-gradient(135deg, #5a3a10 0%, var(--top-gold) 100%); }

.top-course-card__image-placeholder {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
}
.top-course-card__image .top-badge  { position: absolute; top: 14px; left: 14px; }
.top-course-card__feat {
  position: absolute; top: 14px; right: 14px;
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
}
.top-course-card__body { padding: 22px; flex: 1; }
.top-course-card__cat {
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--top-mist); margin-bottom: 6px;
}
.top-course-card__title {
  font-family: var(--top-serif); font-size: 18px;
  color: var(--top-navy); line-height: 1.2; margin-bottom: 10px;
}
.top-course-card__desc { font-size: 12px; color: var(--top-mist); line-height: 1.7; }
.top-course-card__foot {
  padding: 14px 22px; border-top: 1px solid var(--top-warm-gray);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.top-course-card__cta { margin-left: auto; }

.top-courses__bottom-cta { text-align: center; margin-top: 32px; }
.top-courses__bottom-cta p { font-size: 14px; color: var(--top-mist); margin-bottom: 16px; }

.top-courses-arlo-notice {
  background: rgba(58,95,160,.07); border: 1.5px dashed rgba(58,95,160,.3);
  border-radius: var(--top-r); padding: 14px 20px;
  font-size: 12px; color: var(--top-blue); margin-top: 24px; line-height: 1.6;
}
.top-courses-arlo-notice a { font-weight: 700; text-decoration: underline; }

/* ─── LEARNING PATHS ─────────────────────────────────────── */
.top-paths-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.top-path-card {
  background: var(--top-white); border-radius: var(--top-r-lg);
  overflow: hidden; box-shadow: var(--top-sh);
  transition: transform .15s, box-shadow .15s;
}
.top-path-card:hover { transform: translateY(-3px); box-shadow: var(--top-sh-lg); }
.top-path-card__header { padding: 28px 24px 20px; position: relative; }
.top-path-card--orange .top-path-card__header { background: var(--top-orange); }
.top-path-card--blue   .top-path-card__header { background: var(--top-blue); }
.top-path-card--gold   .top-path-card__header { background: var(--top-gold); }
.top-path-card--navy   .top-path-card__header { background: var(--top-navy); }
.top-path-card__num {
  font-family: var(--top-serif); font-size: 64px;
  color: rgba(255,255,255,.1); position: absolute;
  bottom: -10px; right: 16px; line-height: 1;
}
.top-path-card__icon    { font-size: 28px; margin-bottom: 10px; }
.top-path-card__name    { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 4px; position: relative; z-index: 2; }
.top-path-card__tagline { font-size: 11px; color: rgba(255,255,255,.7); position: relative; z-index: 2; }
.top-path-card__body    { padding: 22px; }
.top-path-card__prereq  {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--top-mist); margin-bottom: 14px;
}
.top-path-card__courses { margin-bottom: 20px; }
.top-path-card__courses li {
  font-size: 12px; color: var(--top-slate);
  padding: 7px 0; border-bottom: 1px solid var(--top-warm-gray);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.4;
}
.top-path-card__courses li::before { content: '→'; flex-shrink: 0; font-size: 12px; }
.top-path-card--orange .top-path-card__courses li::before { color: var(--top-orange); }
.top-path-card--blue   .top-path-card__courses li::before { color: var(--top-blue); }
.top-path-card--gold   .top-path-card__courses li::before { color: var(--top-gold); }
.top-path-card--navy   .top-path-card__courses li::before { color: var(--top-navy); }
.top-path-card__cta {
  display: block; width: 100%; padding: 11px; border-radius: var(--top-r);
  text-align: center; font-size: 13px; font-weight: 600; transition: all .14s;
  text-decoration: none;
}
.top-path-card--orange .top-path-card__cta { background: rgba(224,90,30,.1); color: var(--top-orange); }
.top-path-card--blue   .top-path-card__cta { background: rgba(58,95,160,.1); color: var(--top-blue); }
.top-path-card--gold   .top-path-card__cta { background: rgba(200,146,42,.1); color: var(--top-gold); }
.top-path-card--navy   .top-path-card__cta { background: rgba(26,39,68,.08); color: var(--top-navy); }
.top-path-card__cta:hover { opacity: .8; }

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.top-testimonials-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.top-testimonial-card {
  background: var(--top-white); border-radius: var(--top-r-lg);
  padding: 32px; box-shadow: var(--top-sh);
}
.top-testimonial-card__quote-mark {
  font-size: 56px; line-height: 1; color: var(--top-orange);
  opacity: .2; font-family: Georgia, serif; margin-bottom: -12px;
}
.top-testimonial-card__body {
  font-family: var(--top-serif); font-size: 15px; font-style: italic;
  color: var(--top-slate); line-height: 1.8; margin-bottom: 24px;
}
.top-testimonial-card__footer { display: flex; align-items: center; gap: 14px; }
.top-testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--top-linen); border: 2px solid var(--top-warm-gray);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.top-testimonial-card__avatar-img { width: 100%; height: 100%; object-fit: cover; }
.top-testimonial-card__avatar-placeholder { font-size: 20px; }
.top-testimonial-card__name   { font-size: 13px; font-weight: 700; color: var(--top-navy); }
.top-testimonial-card__role   { font-size: 11px; color: var(--top-mist); }
.top-testimonial-card__sector {
  margin-left: auto; font-size: 10px; font-weight: 600;
  padding: 4px 10px; border-radius: 4px;
  background: var(--top-linen); color: var(--top-mist); white-space: nowrap;
}

/* ─── ORGANIZATIONS ──────────────────────────────────────── */
.top-orgs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.top-orgs__image { border-radius: var(--top-r-lg); overflow: hidden; min-height: 320px; }
.top-orgs__img   { width: 100%; height: 100%; object-fit: cover; }
.top-orgs__image-placeholder {
  height: 320px; border-radius: var(--top-r-lg);
  border: 2px dashed rgba(255,255,255,.2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,.3); gap: 8px; font-size: 13px;
}
.top-orgs__image-placeholder small { font-size: 11px; opacity: .7; }
.top-orgs__body {
  font-size: 16px; font-weight: 300; color: rgba(255,255,255,.65);
  line-height: 1.85; margin-bottom: 28px;
}
.top-orgs__features { margin-bottom: 36px; }
.top-orgs__features li {
  font-size: 14px; color: rgba(255,255,255,.7);
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: flex-start; gap: 12px; line-height: 1.55;
}
.top-orgs__features li::before { content: '✓'; color: var(--top-orange); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ─── ToP NETWORK ────────────────────────────────────────── */
.top-network-grid {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 64px; align-items: center;
}
.top-network__body {
  font-size: 15px; color: var(--top-mist); line-height: 1.8; margin-bottom: 20px; max-width: 540px;
}
.top-network__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.top-network__card {
  background: var(--top-navy); border-radius: var(--top-r-lg);
  padding: 36px; box-shadow: var(--top-sh-lg);
}
.top-network__card-title {
  font-family: var(--top-serif); font-size: 24px;
  color: #fff; margin-bottom: 6px;
}
.top-network__card-url { font-family: var(--top-mono); font-size: 12px; color: var(--top-orange); margin-bottom: 20px; }
.top-network__card-url a { color: var(--top-orange); }
.top-network__card-body { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 20px; }
.top-network__card-required {
  background: rgba(224,90,30,.15); border: 1px solid rgba(224,90,30,.3);
  border-radius: var(--top-r); padding: 12px 16px;
  font-size: 12px; color: rgba(255,255,255,.8); line-height: 1.6; margin-bottom: 24px;
}
.top-network__card-required strong { color: var(--top-orange); }
.top-network__card-btns { display: flex; gap: 12px; }
.top-network__card-btns .top-btn { flex: 1; justify-content: center; }

/* ─── SITE FOOTER ────────────────────────────────────────── */
.top-site-footer {
  background: var(--top-charcoal);
  padding: 64px 60px 32px;
  color: rgba(255,255,255,.5);
}
.top-site-footer__inner { max-width: var(--top-section-max); margin: 0 auto; }
.top-site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.top-site-footer__logo .custom-logo { height: 36px; filter: brightness(0) invert(1); opacity: .6; margin-bottom: 16px; }
.top-site-footer__logo-text { font-family: var(--top-serif); font-size: 20px; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.top-site-footer__tagline  { font-size: 13px; line-height: 1.8; max-width: 280px; margin-bottom: 12px; }
.top-site-footer__ica-note { font-size: 11px; color: rgba(255,255,255,.3); line-height: 1.7; max-width: 280px; }
.top-site-footer__contact  { margin-top: 12px; }
.top-site-footer__contact-link { font-size: 13px; color: var(--top-orange); }
.top-site-footer__col-title {
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px;
}

/* Footer nav menus */
.top-site-footer__links     { list-style: none; }
.top-site-footer__links li  { margin-bottom: 10px; }
.top-site-footer__links a   { font-size: 13px; color: rgba(255,255,255,.5); transition: color .13s; }
.top-site-footer__links a:hover { color: rgba(255,255,255,.9); }
.top-site-footer__link--highlight { color: var(--top-orange) !important; }

.top-site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; flex-wrap: wrap; gap: 12px;
}
.top-site-footer__social { display: flex; gap: 10px; }
.top-social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: all .14s;
}
.top-social-btn:hover { background: rgba(255,255,255,.16); color: #fff; }

/* ─── ADMIN NOTICE (logged-in only) ─────────────────────── */
.top-admin-notice {
  text-align: center; margin-top: 24px;
  padding: 12px; border: 1.5px dashed rgba(58,95,160,.35);
  border-radius: var(--top-r); background: rgba(58,95,160,.05);
}
.top-admin-notice a { font-size: 13px; color: var(--top-blue); font-weight: 600; }

/* ─── PAGE CONTENT ───────────────────────────────────────── */
.top-page-content__header { margin-bottom: 32px; }
.top-page-content__title  { font-family: var(--top-serif); font-size: 48px; color: var(--top-navy); line-height: 1.1; }
.top-page-content__body   { font-size: 16px; line-height: 1.8; color: var(--top-slate); }
.top-page-content__body h2 { font-family: var(--top-serif); font-size: 30px; color: var(--top-navy); margin: 40px 0 16px; }
.top-page-content__body h3 { font-family: var(--top-serif); font-size: 22px; color: var(--top-navy); margin: 28px 0 12px; }
.top-page-content__body p  { margin-bottom: 20px; }
.top-page-content__body a  { color: var(--top-orange); text-decoration: underline; }

/* ─── ARLO WIDGET CONTAINER ──────────────────────────────── */
.top-arlo-widget {
  min-height: 200px;
  border-radius: var(--top-r-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .top-for-grid    { grid-template-columns: repeat(3,1fr); }
  .top-paths-grid  { grid-template-columns: repeat(2,1fr); }
  .top-courses-placeholder-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 1024px) {
  :root { --top-section-pad: 56px 32px; }
  .top-site-header__inner { padding: 0 24px; }
  .top-hero__inner { grid-template-columns: 1fr; padding: 64px 32px 56px; }
  .top-hero__panel { display: none; }
  .top-hero__headline { font-size: 44px; }
  .top-methods-grid  { grid-template-columns: 1fr; gap: 40px; }
  .top-orgs-grid     { grid-template-columns: 1fr; }
  .top-network-grid  { grid-template-columns: 1fr; }
  .top-network__card { width: 100%; }
  .top-testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .top-trust-bar__inner  { padding: 18px 32px; gap: 24px; }
  .top-trust-bar__stats  { margin-left: 0; }
  .top-site-footer__top  { grid-template-columns: 1fr 1fr; }

  /* Show mobile menu toggle */
  .top-site-header__nav   { display: none; }
  .top-site-header__mobile-toggle { display: flex; }
  .top-site-header__cta   { display: none; }

  /* Mobile nav open state */
  .top-site-header__nav.is-open {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--top-navy); z-index: 400;
    padding: 24px; overflow-y: auto;
  }
  .top-nav__list.is-open { flex-direction: column; gap: 4px; }
  .top-nav__link--top { font-size: 18px; padding: 12px 16px; }
  .top-nav__dropdown  { position: static; display: block; background: transparent; border: none; box-shadow: none; padding: 0 0 0 20px; }
}

@media (max-width: 768px) {
  .top-hero__headline { font-size: 36px; }
  .top-for-grid       { grid-template-columns: repeat(2,1fr); }
  .top-paths-grid     { grid-template-columns: 1fr; }
  .top-courses-placeholder-grid { grid-template-columns: 1fr; }
  .top-testimonials-grid { grid-template-columns: 1fr; }
  .top-section__header--split { flex-direction: column; align-items: flex-start; }
  .top-site-footer__top { grid-template-columns: 1fr; }
  .top-trust-bar__sectors { display: none; }
}

@media (max-width: 480px) {
  .top-hero__btns { flex-direction: column; }
  .top-for-grid   { grid-template-columns: 1fr; }
  .top-hero__stats { gap: 20px; }
  .top-site-footer { padding: 40px 24px 24px; }
}

/* ─── PRINT ──────────────────────────────────────────────── */
@media print {
  .top-site-header, .top-site-footer,
  .top-hero__panel, .top-trust-bar { display: none; }
}

/* ─── ACCESSIBILITY / FOCUS ──────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--top-orange);
  outline-offset: 3px;
  border-radius: 3px;
}
