﻿/* ============================================================
   PGS Energy Training — unified design system (v2, light)
   Identity: the classic PGS look — white, calm PGS blue, orange
   action — with modern spacing. Montserrat + Open Sans (as on
   the current live site).
   ============================================================ */

:root {
    --ink:        #333333;   /* charcoal — footer, as on the live site */
    --ink-2:      #142a5c;
    --navy:       #142a5c;
    --blue:       #0c4da2;
    --current:    #1a73e8;   /* light PGS blue — accent (was cyan) */
    --current-dk: #0c4da2;
    --accent:     #e87722;   /* orange — action only */
    --accent-dk:  #cf6516;
    --paper:      #f5f8fd;
    --line:       #e3e8f2;
    --ink-soft:   #5a678a;
    --text:       #333333;
    --muted:      #5d6b86;

    --gradient:   linear-gradient(135deg, #0c4da2 0%, #1a73e8 100%);
    --shadow:     0 18px 40px rgba(12, 31, 68, 0.10);
    --shadow-lg:  0 26px 60px rgba(12, 31, 68, 0.18);
    --radius:     14px;
    --maxw:       1180px;
    --mono:       "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --display:    "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --body:       "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }

/* ---------- accessibility baseline ---------- */
/* Visible only once focused, so keyboard users can jump past the nav. */
.skip-link {
    position: absolute; left: 0.5rem; top: -100%; z-index: 200;
    background: var(--blue); color: #fff; padding: 0.7rem 1.1rem;
    border-radius: 0 0 8px 8px; font-family: var(--display); font-weight: 600;
    text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }
/* One consistent, high-contrast focus ring that component styles don't strip. */
:focus-visible { outline: 3px solid var(--current); outline-offset: 2px; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: #fff; outline-offset: 3px; }
main:focus { outline: none; }

body {
    font-family: var(--body);
    line-height: 1.65;
    color: var(--text);
    margin: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5.5rem 0; position: relative; }
.section--tint { background: var(--paper); }
.section--ink { background: var(--paper); color: var(--text); }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; color: var(--navy); letter-spacing: -0.01em; }

.eyebrow {
    font-family: var(--mono);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--current-dk);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--current); display: inline-block; }
.section--ink .eyebrow, .hero .eyebrow { color: var(--current-dk); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.25rem; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 1rem; }
.section--ink .section-head h2 { color: var(--navy); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section--ink .section-head p { color: var(--muted); }

.lead { color: var(--muted); font-size: 1.1rem; max-width: 760px; margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
    --b: var(--accent);
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: var(--b); color: #fff;
    font-family: var(--display); font-weight: 600; font-size: 1.08rem;
    padding: 0.95rem 1.9rem; border: none; border-radius: 8px;
    text-decoration: none; cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: 0 10px 24px rgba(232, 119, 34, 0.28);
}
.btn:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232, 119, 34, 0.38); color:#fff; }
.btn i { font-size: 0.9em; }
.btn-lg { padding: 1.05rem 2.3rem; font-size: 1.15rem; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--line); box-shadow: none; }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-current { --b: var(--current-dk); box-shadow: 0 10px 24px rgba(12, 77, 162, 0.24); }
.btn-current:hover { background: #093c80; box-shadow: 0 14px 30px rgba(12, 77, 162, 0.32); }
.btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--navy); box-shadow: none; }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: #fff;
    position: sticky; top: 0; z-index: 100;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--current), var(--blue) 55%, var(--accent)) 1;
    box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(12,31,68,.05);
}
.site-header__inner { max-width: var(--maxw); margin: 0 auto; padding: 0.7rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-logo { flex-shrink: 0; display: flex; align-items: center; }
.site-logo img { max-height: 82px; width: auto; }

.main-nav { display: flex; align-items: center; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.main-nav > ul > li { position: relative; }
.main-nav a {
    display: block; text-decoration: none; color: var(--navy);
    font-weight: 600; font-size: 0.84rem; letter-spacing: 0.02em;
    text-transform: uppercase; padding: 0.5rem 0.75rem; border-radius: 6px;
    transition: color 0.2s ease; text-align: center; line-height: 1.2;
}
.main-nav > ul > li > a { position: relative; }
.main-nav > ul > li > a::after { content:""; position:absolute; left:0.85rem; right:0.85rem; bottom:0.35rem; height:2px; background: var(--current); transform: scaleX(0); transform-origin:left; transition: transform 0.22s ease; }
.main-nav > ul > li > a:hover::after { transform: scaleX(1); }
.main-nav a:hover { color: var(--blue); }
.main-nav .has-submenu > a:after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.55rem; margin-left: 0.4rem; opacity: 0.5; position: static; background: none; transform: none; }

.submenu {
    list-style: none; margin: 0; padding: 0.4rem; position: absolute; top: 100%; left: 0;
    min-width: 230px; background: #fff; box-shadow: var(--shadow); border-radius: 10px;
    border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all 0.18s ease; z-index: 50;
}
/* focus-within keeps the dropdown reachable by keyboard, not just by mouse. */
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { text-transform: none; font-weight: 500; font-size: 0.88rem; padding: 0.6rem 0.85rem; border-radius: 6px; }
.submenu a:hover { background: var(--paper); }

.btn-login {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--accent); color: #fff; text-decoration: none;
    font-family: var(--display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em;
    text-transform: uppercase; padding: 0.6rem 1.2rem; border-radius: 8px; white-space: nowrap;
    transition: background 0.2s ease, transform 0.1s ease; flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(232,119,34,.25);
}
.btn-login:hover { background: var(--accent-dk); color:#fff; }
.btn-login:active { transform: translateY(1px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 200; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: all .3s ease; }
.nav-overlay { position: fixed; inset: 0; background: rgba(10,23,51,.55); opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 90; }

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .header-login-desktop { display: none; }
    .site-logo img { max-height: 58px; }
    .main-nav { position: fixed; top: 0; right: -100%; width: 84%; max-width: 330px; height: 100vh; background: #fff; box-shadow: -5px 0 25px rgba(10,23,51,.15); padding: 5rem 0 2rem; overflow-y: auto; transition: right .3s ease; z-index: 100; display: block; }
    .main-nav.open { right: 0; }
    .nav-overlay.open { opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > ul > li { border-bottom: 1px solid var(--line); }
    .main-nav a { padding: 1rem 1.5rem; border-radius: 0; }
    .main-nav > ul > li > a::after { display:none; }
    .main-nav .has-submenu > a:after { float: right; }
    .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-radius: 0; max-height: 0; overflow: hidden; padding: 0; background: var(--paper); transition: max-height .3s ease; }
    .has-submenu.expanded > .submenu { max-height: 420px; }
    .submenu a { padding-left: 2.5rem; }
    .nav-login-mobile { display: block !important; border-bottom: 1px solid var(--line); }
    .nav-login-mobile a { background: var(--accent); color:#fff !important; margin: 1rem 1.25rem; padding: .9rem 1rem !important; border-radius: 8px; text-align: center; text-transform: uppercase; letter-spacing: .05em; font-family: var(--display); }
}
.nav-login-mobile { display: none; }
@media (min-width: 961px) { .nav-overlay { display: none; } }

/* ============================================================
   HERO — light and clean
   ============================================================ */
.hero { position: relative; background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); color: var(--text); overflow: hidden; padding: 5.5rem 0 5rem; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(12,77,162,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(12,77,162,.05) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(120% 100% at 70% 0%, #000 30%, transparent 75%); }
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
/* Hero with no media alongside it: one centred column instead of a half-empty grid. */
.hero__inner--text-only { grid-template-columns: 1fr; text-align: center; max-width: 900px; }
.hero__inner--text-only .eyebrow { justify-content: center; }
.hero__inner--text-only .hero__desc { max-width: 58ch; margin-left: auto; margin-right: auto; }
.hero__inner--text-only .hero__cta { justify-content: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--navy); letter-spacing: -0.015em; margin: 0 0 1.25rem; }
.hero h1 .spark { color: var(--current); }
.hero__desc { font-size: 1.12rem; color: var(--muted); max-width: 33ch; margin: 0 0 2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media .embed { box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hero__media::before { content:""; position: absolute; inset: -14px; border: 1px solid rgba(12,77,162,.14); border-radius: 20px; pointer-events: none; }

.hero__stats { position: relative; z-index: 2; max-width: var(--maxw); margin: 3.5rem auto 0; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { border-top: 1px solid var(--line); padding-top: 1rem; }
.stat b { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); display: block; line-height: 1; }
.stat b .u { color: var(--current); }
.stat span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

@media (max-width: 860px) {
    .hero { padding: 3.5rem 0; }
    .hero__inner { grid-template-columns: 1fr; gap: 2.25rem; }
    .hero__media { order: -1; }
    .hero__desc { max-width: none; }
    .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
    .hero__stats { grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
}

/* ============================================================
   INTERIOR PAGE HERO + PROSE (reused by all subpages)
   ============================================================ */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); color: var(--text); padding: 2.75rem 0 2.25rem; border-bottom: 1px solid var(--line); }

/* The gap under the banner rule was the single thing John asked to close:
   the listings sat far below the fold on a laptop. Scoped to the section
   that directly follows the banner, so the rhythm between later sections
   on long pages is untouched. */
.page-hero + .section { padding-top: 2.25rem; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--navy); font-size: clamp(2rem, 4vw, 3rem); margin: 0.4rem 0 0; }
.page-hero p { color: var(--muted); max-width: 62ch; margin: 1rem 0 0; font-size: 1.08rem; }

/* feature cards with a large icon chip (formats, etc.) */
.feature { text-align: left; }
.feature__icon { width: 66px; height: 66px; border-radius: 16px; background: var(--gradient); color: #fff; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 1.2rem; box-shadow: 0 10px 24px rgba(12,77,162,.28); }
.feature h3 { font-size: 1.3rem; margin: 0 0 1rem; color: var(--navy); }

/* benefit checks inside the hero */
.hero-checks { list-style: none; padding: 0; margin: 1.4rem 0 1.9rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; }
.hero-checks li { display: flex; align-items: flex-start; gap: 0.55rem; color: var(--text); font-size: 0.98rem; }
.hero-checks i { color: var(--current-dk); margin-top: 0.28rem; flex-shrink: 0; }
@media (max-width: 700px) { .hero-checks { grid-template-columns: 1fr; } }

/* detail hero with featured course image */
.page-hero__grid { display: grid; grid-template-columns: 1.5fr 0.95fr; gap: 2.75rem; align-items: center; }
.page-hero__media { position: relative; }
/* aspect-ratio, not width/height attributes: these images come from the CMS,
   so their intrinsic size varies per course. Reserving the box in CSS removes
   the layout shift without asserting dimensions we cannot know at render. */
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.page-hero__media::before { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(12,77,162,.14); border-radius: 18px; pointer-events: none; }
@media (max-width: 820px) {
    .page-hero__grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .page-hero__media { order: -1; max-width: 440px; }
}

.prose { max-width: 820px; margin: 0 auto; color: var(--text); font-size: 1.05rem; line-height: 1.85; }
.prose.wide { max-width: 1000px; }
.prose p { margin: 0 0 1.2rem; }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 1.4rem; }
.prose li { margin-bottom: 0.55rem; }
.prose strong { color: var(--navy); }
.prose a { color: var(--blue); font-weight: 600; }
.prose h3 { font-size: 1.4rem; margin: 2rem 0 1rem; }
.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.subhead { font-family: var(--display); color: var(--navy); font-size: 1.5rem; margin: 0 0 1.25rem; }

/* ============================================================
   TRACK CARDS (editorial, mono index)
   ============================================================ */
.embed { position: relative; overflow: hidden; padding-bottom: 56.25%; height: 0; border-radius: var(--radius); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.track {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2rem 1.9rem 1.75rem; display: flex; flex-direction: column; overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.track::before { content:""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--current), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.track:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.track:hover::before { transform: scaleX(1); }
.track__idx { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; color: var(--current-dk); }
.track__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--gradient); color: #fff; font-size: 1.3rem; margin: 0.9rem 0 1.1rem; box-shadow: 0 8px 18px rgba(12,77,162,.22); }
.track h3 { font-size: 1.35rem; margin: 0 0 0.6rem; }
.track p { color: var(--muted); font-size: 0.97rem; margin: 0 0 1.4rem; flex-grow: 1; }
.track__link { font-family: var(--display); font-weight: 600; color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: gap .2s ease, color .2s ease; }
.track__link i { color: var(--accent); transition: transform .2s ease; }
.track:hover .track__link { color: var(--blue); }
.track:hover .track__link i { transform: translateX(4px); }

/* ============================================================
   LISTING PAGES (seminars / online courses)
   ============================================================ */
.list-band {
    font-family: var(--display); font-weight: 700; color: var(--navy);
    font-size: 1.35rem; margin: 2.75rem 0 1.25rem; padding-bottom: 0.55rem;
    border-bottom: 2px solid var(--line);
    display: flex; align-items: center; gap: 0.7rem;
}
.list-band::before { content: ""; width: 26px; height: 3px; background: var(--current); border-radius: 2px; }
.list-band:first-of-type { margin-top: 0; }
.list-subhead { font-family: var(--display); color: var(--blue); font-weight: 700; font-size: 1.1rem; margin: 1.75rem 0 1rem; }

.course-row {
    display: grid; grid-template-columns: 160px 1fr auto; gap: 1.6rem; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.1rem 1.3rem; margin-bottom: 1rem;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.course-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.course-row__thumb { width: 160px; height: 104px; object-fit: cover; border-radius: 8px; background: var(--paper); }
.course-row__meta { min-width: 0; }
.course-row__code { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--current-dk); text-transform: uppercase; margin-bottom: 0.3rem; }
.course-row__title { font-family: var(--display); font-size: 1.22rem; font-weight: 700; margin: 0 0 0.4rem; line-height: 1.2; }
.course-row__title a { color: var(--navy); text-decoration: none; }
.course-row__title a:hover { color: var(--blue); }
.course-row__desc { color: var(--muted); font-size: 0.95rem; }
.course-row__avail { color: var(--current-dk); font-size: 0.85rem; font-weight: 600; margin-top: 0.4rem; }
.course-row__cta { white-space: nowrap; }
@media (max-width: 720px) {
    .course-row { grid-template-columns: 1fr; }
    .course-row__thumb { width: 100%; height: 170px; }
    .course-row__cta { justify-self: start; }
}

.cat-tiles { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 2.75rem; }
.cat-tile { position: relative; flex: 1 1 0; min-width: 150px; height: 142px; border-radius: 10px; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.cat-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,23,51,.25), rgba(10,23,51,.6)); transition: background .15s ease; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cat-tile:hover::before { background: linear-gradient(180deg, rgba(10,23,51,.12), rgba(10,23,51,.45)); }
.cat-tile span { position: relative; z-index: 1; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.15; text-shadow: 0 1px 6px rgba(0,0,0,.85); padding: 0 10px; }
@media (max-width: 720px) { .cat-tile { flex: 1 1 40%; height: 112px; } .cat-tile span { font-size: 1rem; } }

/* ============================================================
   DETAIL PAGES (clean v2 — no Webflow grid/classes)
   ============================================================ */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.detail-h { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 1.3rem; margin: 2.25rem 0 0.9rem; padding-bottom: 0.45rem; border-bottom: 2px solid var(--line); display: flex; align-items: center; gap: 0.6rem; }
.detail-h::before { content: ""; width: 22px; height: 3px; background: var(--current); border-radius: 2px; flex-shrink: 0; }
.detail-h:first-child { margin-top: 0; }
.detail-aside .detail-h { font-size: 1.12rem; }

.detail-prose { color: var(--text); line-height: 1.8; }
.detail-prose p { margin: 0 0 1rem; }
.detail-prose ul, .detail-prose ol { margin: 0 0 1rem; padding-left: 1.3rem; }
.detail-prose li { margin-bottom: 0.4rem; }
.detail-prose strong { color: var(--navy); }
.detail-prose a { color: var(--blue); font-weight: 600; }
.detail-lead { font-size: 1.1rem; color: var(--text); line-height: 1.8; margin: 0 0 1.75rem; }
.price-em { color: var(--navy); font-weight: 700; }
.detail-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.75rem 0; }

/* native <details> accordion for multi-session agendas */
.agenda details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 0.75rem; overflow: hidden; background: #fff; }
.agenda summary { cursor: pointer; padding: 1rem 1.2rem; font-family: var(--display); font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.agenda summary::-webkit-details-marker { display: none; }
.agenda summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.7rem; color: var(--current-dk); transition: transform .2s ease; flex-shrink: 0; }
.agenda details[open] summary::after { transform: rotate(180deg); }
.agenda summary:hover { background: var(--paper); }
.agenda__body { padding: 0 1.2rem 1.2rem; color: var(--text); line-height: 1.7; }
.agenda__info { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); font-weight: 500; margin: 0.2rem 0 0.6rem; }
.agenda__sub { font-family: var(--display); font-weight: 600; color: var(--blue); margin: 0.85rem 0 0.4rem; }

/* ---------- pricing tiers + tables (special programs) ---------- */
.tier { text-align: center; }
.tier .card__header h3 { font-size: 1.25rem; }
.tier__price { font-family: var(--display); font-size: 2.6rem; color: var(--navy); font-weight: 700; line-height: 1; margin: 0.5rem 0; }
.tier__price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.tier__note { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.tier--featured { outline: 2px solid var(--current); outline-offset: -2px; }

.price-table { width: 100%; border-collapse: collapse; margin: 0 auto; max-width: 760px; }
.price-table th, .price-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { font-family: var(--mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.price-table td { color: var(--text); }
.price-table .save { color: var(--current-dk); font-weight: 700; }

/* ---------- forms ---------- */
.pgs-form { max-width: 760px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 1.25rem; display: flex; flex-direction: column; }
.form-field label { font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.4rem; }
.pgs-form input:not([type=checkbox]):not([type=radio]), .pgs-form textarea, .pgs-form select {
    font-family: var(--body); font-size: 1rem; color: var(--text); width: 100%;
    padding: 0.75rem 0.9rem; border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.pgs-form input:not([type=checkbox]):not([type=radio]):focus, .pgs-form textarea:focus, .pgs-form select:focus {
    outline: none; border-color: var(--current); box-shadow: 0 0 0 3px rgba(26,115,232,.16);
}
.pgs-form input[type=checkbox], .pgs-form input[type=radio] {
    width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); margin: 0;
}
/* checkbox/radio rows: control next to its label; align to first line if it wraps */
.pgs-form label.w-checkbox { align-items: flex-start !important; line-height: 1.4; }
.pgs-form label.w-checkbox input[type=checkbox] { margin-top: 0.15rem; }
.pgs-form textarea { resize: vertical; min-height: 120px; }
.field-error { color: #c0392b; font-size: 0.82rem; margin-bottom: 0.3rem; }
.pgs-form .btn { margin-top: 0.5rem; }

/* ============================================================
   CHECKOUT / REGISTRATION FUNNEL
   ============================================================ */
.checkout-wrap { max-width: 880px; margin: 0 auto; }
.checkout-step { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--current-dk); margin-bottom: 0.5rem; }
.form-section-head { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 1.25rem; margin: 2rem 0 1.1rem; padding-bottom: 0.45rem; border-bottom: 2px solid var(--line); }
.req::after { content: " *"; color: var(--accent); }

.order-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; }
.order-table th { font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); text-align: left; padding: 0.6rem 0.75rem; border-bottom: 2px solid var(--line); }
.order-table td { padding: 0.75rem; border-bottom: 1px solid var(--line); color: var(--text); vertical-align: top; }
.order-table .ctr { text-align: center; }
.order-table .rt { text-align: right; white-space: nowrap; }
.order-table del { color: var(--muted); margin-left: 0.4rem; font-size: 0.9em; }
.order-total { text-align: right; font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 1.15rem; margin-top: 1rem; }
.order-total del { color: var(--muted); font-weight: 500; margin-left: 0.5rem; font-size: 0.9em; }
.order-discount { text-align: right; color: var(--current-dk); font-weight: 600; margin-top: 0.4rem; }

.discount-row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin: 0.75rem 0; }
.discount-row input { flex: 1 1 220px; padding: 0.75rem 0.9rem; border: 1.5px solid var(--line); border-radius: 8px; font-size: 1rem; }
.discount-row input:focus { outline: none; border-color: var(--current); box-shadow: 0 0 0 3px rgba(26,115,232,.16); }
.msg-success { color: var(--current-dk); font-weight: 600; margin: 0.3rem 0; }
.msg-error { color: #c0392b; font-weight: 600; margin: 0.3rem 0; }

.reg-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.5rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.reg-row__qty { width: 130px; padding: 0.6rem 0.7rem; border: 1.5px solid var(--line); border-radius: 8px; font-size: 1rem; }
.reg-row__qty:focus { outline: none; border-color: var(--current); box-shadow: 0 0 0 3px rgba(26,115,232,.16); }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 0.4rem 1rem; padding: 0.35rem 0; }
.kv dt { color: var(--muted); font-size: 0.9rem; }
.kv dd { margin: 0; color: var(--text); }
.error-box { background: #fdecea; border: 1px solid #f5c6cb; color: #a23a32; padding: 0.9rem 1.1rem; border-radius: 8px; margin-bottom: 1.5rem; }

/* client list (multi-column) */
.client-cols { columns: 3 240px; column-gap: 2.5rem; }
.client-cols .client { break-inside: avoid; padding: 0.4rem 0 0.4rem 1.1rem; position: relative; color: var(--text); border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.client-cols .client::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 6px; height: 6px; border-radius: 50%; background: var(--current); }
@media (max-width: 600px) { .client-cols { columns: 1; } }

/* ---------- icon list ---------- */
.icon-list { list-style: none; padding: 0; margin: 0; }
.icon-list li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.7rem; color: var(--text); }
.icon-list i { color: var(--accent); margin-top: 0.28rem; flex-shrink: 0; }

/* balanced 2-column credibility list (3 per column) */
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; max-width: 760px; margin: 0 auto; }
.cred-grid li { margin-bottom: 0; }
@media (max-width: 620px) { .cred-grid { grid-template-columns: 1fr; max-width: 360px; } }

/* ---------- client logos ---------- */
.logo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.5rem; align-items: center; justify-items: center; max-width: 980px; margin: 0 auto; }
.logo-strip img { max-height: 52px; width: auto; filter: grayscale(100%); opacity: .65; transition: all .25s ease; }
.logo-strip img:hover { filter: none; opacity: 1; }
@media (max-width: 700px) { .logo-strip { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: var(--gradient); color: #fff; text-align: center; padding: 4.5rem 1.5rem; }
.cta-band .hero__grid { background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); mask-image: radial-gradient(120% 120% at 50% 0%, #000 20%, transparent 70%); }
.cta-band > .container { position: relative; z-index: 2; }
.cta-band .eyebrow { color: rgba(255,255,255,.92); }
.cta-band .eyebrow::before { background: rgba(255,255,255,.7); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0 0 1rem; }
.cta-band p { color: #dbe8fb; max-width: 620px; margin: 0 auto 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #ddd; padding: 3.5rem 1.5rem 2rem; margin-top: auto; }
.footer-top { max-width: var(--maxw); margin: 0 auto 2.5rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { max-height: 34px; width: auto; opacity: .92; margin-bottom: 1.1rem; }
.footer-brand p { color: #bbb; font-size: 0.9rem; max-width: 30ch; }
/* Lighter than the brand orange: #e87722 on the #333 footer measures 4.27:1, just
   under the WCAG AA 4.5:1 minimum. #f08a3c reads as the same colour and clears it. */
.footer-col h4 { font-family: var(--mono); color: #f08a3c; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 1.1rem; font-weight: 700; }
.footer-col a { display: block; color: #ddd; text-decoration: none; margin-bottom: 0.7rem; font-size: 0.92rem; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-family: var(--mono); font-size: 0.78rem; color: #aaa; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- utilities & motion ---------- */
.text-center { text-align: center; }
/* Reveal is a progressive enhancement: only hidden once JS confirms support,
   so content is always visible without JS and for crawlers. */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal { opacity: 0; transform: translateY(22px); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .wire::after { display: none; }
}
