/* CASTAWAY — site styles. Brand colours from the roll-up banner: navy #1f1e5b, orange #f15722 → amber #f6861f. */

@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(/fonts/poppins-500.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/fonts/poppins-600.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-var.woff2) format('woff2'); }

:root {
  --navy: #1f1e5b;
  --navy-800: #2b2a78;
  --navy-950: #13123a;
  --orange: #f15722;
  --amber: #f6861f;
  --cta: #d2410f;        /* orange dark enough for white text (4.6:1) */
  --cta-hover: #b5370b;
  --ink: #1e1d3a;
  --text: #34334f;
  --muted: #5f5e7a;
  --line: #e5e4ee;
  --line-strong: #cfcde0;
  --soft: #f6f5fb;
  --soft-2: #eceaf5;
  --white: #fff;
  --green: #136b35; --green-bg: #e6f5eb;
  --amber-ink: #85470a; --amber-bg: #fff3df;
  --blue: #24408f; --blue-bg: #e9eefc;
  --red: #a11a1a; --red-bg: #fdecec;
  --grey-bg: #efeff4;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(19, 18, 58, .06), 0 1px 1px rgba(19, 18, 58, .04);
  --shadow: 0 18px 40px -18px rgba(19, 18, 58, .35);
  --head: Poppins, 'Segoe UI', system-ui, sans-serif;
  --body: Inter, 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--cta); }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { left: -10000px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
.icon { flex-shrink: 0; }
.inline { display: inline; }
@media (max-width: 600px) { .container { padding: 0 16px; } body { font-size: 16px; } }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 16px/1.2 var(--body); padding: 12px 18px; border-radius: 10px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
/* Long labels wrap instead of running off narrow phone screens */
@media (max-width: 600px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cta); color: #fff; box-shadow: 0 6px 16px -8px rgba(210, 65, 15, .7); }
.btn--primary:hover { background: var(--cta-hover); color: #fff; }
.btn--secondary { background: var(--navy); color: #fff; }
.btn--secondary:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--soft-2); color: var(--navy); }
.btn--danger-ghost { background: #fff; color: var(--red); border-color: #efc4c4; }
.btn--danger-ghost:hover { border-color: var(--red); color: var(--red); }
.btn--lg { padding: 15px 24px; font-size: 17px; border-radius: 12px; }
.btn--sm { padding: 8px 12px; font-size: 14px; border-radius: 8px; }
.btn--block { width: 100%; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-copied { border-color: var(--green); color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* ── Logo ────────────────────────────────────────────────── */
.logo { display: inline-flex; flex-direction: column; font: 700 23px/0.82 var(--head); letter-spacing: -0.045em; color: var(--navy); text-decoration: none; }
.logo:hover { color: var(--navy); }
.logo__away { display: inline-flex; align-items: center; gap: 1px; margin-left: -1px; }
.logo__tri { color: var(--orange); width: .95em; height: .95em; margin-top: .08em; }
.logo--inverse, .logo--inverse:hover { color: #fff; }
.logo--inverse .logo__tri { color: var(--amber); }

/* ── Header ──────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-size: 15.5px; font-weight: 500; color: var(--text); text-decoration: none; }
.site-nav a:hover { color: var(--navy); text-decoration: underline; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; border-radius: 8px; }
.nav-toggle__close { display: none; }
@media (max-width: 900px) {
  .site-header__actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 70px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .site-nav a { display: block; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-open .site-nav { display: block; }
  .nav-open .nav-toggle__open { display: none; }
  .nav-open .nav-toggle__close { display: block; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #e8e6f7 0%, transparent 60%), linear-gradient(180deg, #faf9fd 0%, #fff 100%); padding: 64px 0 80px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__grid > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 22px; box-shadow: var(--shadow-sm); max-width: 100%; }
.eyebrow svg { color: var(--orange); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.03; letter-spacing: -0.035em; margin-bottom: 20px; }
.accent { color: var(--orange); }
.lede { font-size: 1.17rem; color: var(--text); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 28px; }
.trust li { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--navy); min-width: 0; }
.trust .icon { flex-shrink: 0; }
.trust .icon { color: var(--orange); }
.hero__media { position: relative; }
.hero__media::before { content: ''; position: absolute; width: 340px; height: 340px; right: -90px; top: -70px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.2 21 19.5H3Z' fill='none' stroke='%23f6861f' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain; opacity: .22; transform: rotate(14deg); pointer-events: none; z-index: 0; }
.hero__img { position: relative; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.hero__next { position: absolute; left: -28px; bottom: -30px; display: grid; gap: 2px; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); text-decoration: none; min-width: 260px; max-width: 320px; border: 1px solid var(--line); transition: transform .15s; }
.hero__next:hover { transform: translateY(-2px); }
.hero__next-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--cta); }
.hero__next-title { font: 600 16px/1.3 var(--head); color: var(--navy); }
.hero__next-meta { font-size: 14px; color: var(--muted); }
.hero__next-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--cta); margin-top: 6px; }
@media (max-width: 900px) {
  .hero { padding: 36px 0 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__next { position: relative; left: auto; bottom: auto; margin: -44px 16px 0; max-width: none; }
  .hero__media::before { width: 220px; height: 220px; right: -60px; top: -40px; }
}
@media (max-width: 600px) { .trust { grid-template-columns: 1fr 1fr; gap: 10px 12px; } .trust li { font-size: 14px; } }

/* ── Audience ────────────────────────────────────────────── */
.audience { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; background: #fff; }
.acronym { padding: 56px 0; background: #fff; border-bottom: 1px solid var(--line); }
.acronym__inner { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; align-items: center; }
.acronym__intro h2 { margin-bottom: 8px; }
.acronym__intro p:last-child { margin: 0; }
.acronym__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.acronym__item { display: grid; justify-items: center; gap: 6px; padding: 16px 4px 14px; border-radius: 14px; background: #faf9fd; border: 1px solid var(--line); text-align: center; min-width: 0; }
.acronym__letter { font: 800 clamp(1.9rem, 3.2vw, 2.6rem)/1 var(--head); color: var(--orange); }
.acronym__word { font-size: 12.5px; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.acronym__item--and { background: transparent; border-style: dashed; }
.acronym__item--and .acronym__letter { color: var(--navy); opacity: .55; }
.acronym__item--and .acronym__word { color: var(--muted); font-weight: 500; }
@media (max-width: 1000px) { .acronym__inner { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 640px) {
  .acronym { padding: 44px 0; }
  /* On phones the letters run down the page so CASTAWAY still reads top to bottom */
  .acronym__list { grid-template-columns: 1fr; gap: 0; border-left: 3px solid var(--orange); padding-left: 14px; }
  .acronym__item, .acronym__item--and { display: flex; align-items: baseline; gap: 12px; padding: 3px 0; background: none; border: 0; border-radius: 0; text-align: left; }
  .acronym__letter { font-size: 1.75rem; width: 1.2em; }
  .acronym__word { font-size: 16px; }
}
.audience__h { font: 600 13px/1.4 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 14px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14.5px; font-weight: 500; color: var(--navy); }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #fff; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--cta-hover); margin: 0 0 10px; }
.kicker a { color: inherit; }
.section h2, .page-head h1 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); font-weight: 700; }
.section__sub { font-size: 1.08rem; color: var(--muted); margin: 0; }
@media (max-width: 700px) { .section { padding: 60px 0; } .section__head { margin-bottom: 28px; } }

/* ── Courses ─────────────────────────────────────────────── */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.course { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.course--featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.course__flag { position: absolute; top: -13px; right: 22px; background: var(--cta); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.course__img { width: 104px; height: 104px; margin-bottom: 18px; }
.course__name { font-size: 1.35rem; font-weight: 600; margin: 0 0 2px; }
.course__short { color: var(--muted); font-weight: 500; margin: 0 0 14px; }
.course__price { margin: 0 0 10px; }
.course__amount { font: 700 2.2rem/1 var(--head); color: var(--navy); letter-spacing: -0.02em; }
.course__per { color: var(--muted); font-size: 15px; }
.course__summary { font-size: 15.5px; color: var(--text); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; }
.ticks .icon { color: var(--orange); margin-top: 2px; }
.course__ctas { margin-top: auto; display: grid; gap: 10px; }
@media (max-width: 960px) { .course-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* ── Sessions list ───────────────────────────────────────── */
.sessions { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.session__link { display: grid; grid-template-columns: 84px 1fr auto; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px 18px 18px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.session__link:hover { border-color: #b9b7d6; box-shadow: var(--shadow); transform: translateY(-1px); color: inherit; }
.datetile { display: grid; justify-items: center; background: var(--navy); color: #fff; border-radius: 14px; padding: 10px 0 9px; line-height: 1.1; }
.datetile__m { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--amber); }
.datetile__d { font: 700 30px/1.05 var(--head); }
.datetile__y { font-size: 12px; opacity: .75; }
.datetile--tbd { background: var(--soft-2); color: var(--navy); padding: 22px 0; }
.datetile__tbd { font: 700 17px/1 var(--head); letter-spacing: .04em; }
.session__title { font-size: 1.14rem; font-weight: 600; margin: 0 0 6px; }
.session__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: 14.5px; color: var(--muted); }
.session__meta span { display: inline-flex; align-items: center; gap: 6px; }
.session__includes { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.session__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.session__price { font: 700 1.4rem/1 var(--head); color: var(--navy); }
.session--past .session__link, .session--closed .session__link { opacity: .8; }
.sessions__foot { margin: 22px 0 0; color: var(--muted); }
.empty { text-align: center; padding: 40px 20px; background: #fff; border: 1.5px dashed var(--line-strong); border-radius: 18px; color: var(--muted); }
@media (max-width: 720px) {
  .session__link { grid-template-columns: 64px 1fr; gap: 14px; padding: 14px; }
  .datetile__d { font-size: 24px; }
  .session__side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
}

/* ── Badges ──────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.4; }
.badge--green { background: var(--green-bg); color: var(--green); }
.badge--amber { background: var(--amber-bg); color: var(--amber-ink); }
.badge--blue { background: var(--blue-bg); color: var(--blue); }
.badge--grey { background: var(--grey-bg); color: #4a4a60; }
.badge--red { background: var(--red-bg); color: var(--red); }
.badge--orange { background: #ffe9df; color: #9a3412; }

/* ── Band ────────────────────────────────────────────────── */
.band { background: linear-gradient(110deg, var(--navy) 0%, var(--navy-800) 100%); color: rgba(255, 255, 255, .85); padding: 44px 0; }
.band__inner { display: flex; align-items: center; gap: 28px; }
.band h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 6px; }
.band p { margin: 0; max-width: 46em; }
.band__tri { color: var(--amber); flex-shrink: 0; }
@media (max-width: 600px) { .band__inner { flex-direction: column; align-items: flex-start; gap: 14px; } }

/* ── The day ─────────────────────────────────────────────── */
.day { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.day__intro { position: sticky; top: 100px; }
.day__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.day__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline__item { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline__item:first-child { padding-top: 0; }
.timeline__time { font: 600 14px/1 var(--head); color: var(--navy); background: var(--soft-2); border-radius: 8px; padding: 7px 0; text-align: center; height: fit-content; }
.timeline__title { font: 600 1.05rem/1.35 var(--body); color: var(--navy); margin: 3px 0 0; letter-spacing: 0; }
.timeline__body { margin: 6px 0 0; font-size: 15.5px; color: var(--muted); }
.timeline__item--minor .timeline__title { font-weight: 500; color: var(--muted); }
@media (max-width: 900px) { .day { grid-template-columns: 1fr; gap: 32px; } .day__intro { position: static; } }

/* ── Quote ───────────────────────────────────────────────── */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote__mark { display: block; font: 700 110px/0.6 var(--head); color: var(--amber); height: 52px; }
.quote blockquote { margin: 0; }
.quote blockquote p { font: 500 clamp(1.22rem, 2.4vw, 1.65rem)/1.5 var(--head); color: #fff; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 22px; display: grid; gap: 2px; }
.quote figcaption strong { color: #fff; font-size: 17px; }
.quote figcaption span { color: rgba(255, 255, 255, .72); font-size: 15px; }

/* ── Gallery ─────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 12px; }
.gallery__item { margin: 0; overflow: hidden; border-radius: 16px; background: var(--soft-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item--0 { grid-column: span 2; grid-row: span 2; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .gallery__item--0 { grid-column: span 2; grid-row: span 2; } }

/* ── Instructor ──────────────────────────────────────────── */
.instructor { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; max-width: 1040px; }
.instructor__photos { position: relative; padding: 0 28px 36px 0; }
.instructor__photo { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); background: var(--line); }
.instructor__photo--inset { position: absolute; right: 0; bottom: 0; width: 48%; border: 6px solid #fff; border-radius: 18px; }
.instructor__p { font-size: 1.05rem; }
.instructor__contact { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 18px 0 0; }
.instructor__contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
@media (max-width: 900px) { .instructor { grid-template-columns: 1fr; gap: 28px; } .instructor__photos { max-width: 400px; padding: 0 22px 30px 0; } }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 1.08rem/1.4 var(--body); color: var(--navy); cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font: 400 28px/1 var(--body); color: var(--orange); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 40px 18px 0; color: var(--muted); }
.faq__a a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* ── Final CTA & footer ──────────────────────────────────── */
.cta-final { background: radial-gradient(700px 300px at 50% 120%, rgba(246, 134, 31, .25), transparent 70%), var(--navy); padding: 80px 0; text-align: center; }
.cta-final h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-final .hero__ctas { justify-content: center; margin-bottom: 0; }
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 60px 0 28px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1.3fr 1fr 1fr; gap: 36px; }
.site-footer__brand p { margin-top: 16px; max-width: 30em; }
.site-footer__h { font: 600 12.5px/1.4 var(--body); text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .55); margin: 0 0 14px; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__list a, .site-footer__list span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer__list a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; font-size: 13.5px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ── Inner pages ─────────────────────────────────────────── */
.page-head { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); padding: 40px 0 28px; }
.page-head .lede { margin: 0; color: var(--muted); }
.back { display: inline-block; font-size: 14.5px; color: var(--muted); text-decoration: none; margin-bottom: 14px; }
.back:hover { color: var(--navy); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-sm); }
@media (max-width: 600px) { .card { padding: 20px; border-radius: 16px; } }

/* Registration page */
.reg { display: grid; grid-template-columns: 1fr 440px; grid-template-rows: auto 1fr; grid-template-areas: 'facts form' 'course form'; gap: 8px 56px; padding-top: 12px; padding-bottom: 88px; align-items: start; }
.reg__facts { grid-area: facts; }
.reg__course { grid-area: course; }
.reg__form { grid-area: form; position: sticky; top: 94px; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts li > .icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--soft-2); color: var(--navy); }
.facts strong { display: block; color: var(--navy); font-size: 1.04rem; }
.facts span { display: block; color: var(--muted); font-size: 15px; }
.facts a { display: inline-flex; gap: 4px; align-items: center; font-size: 14.5px; font-weight: 600; margin-top: 2px; }
.facts--compact li { padding: 12px 0; gap: 12px; }
.facts--compact li > .icon { width: 34px; height: 34px; padding: 8px; }
.reg__notes { background: var(--amber-bg); color: var(--amber-ink); border-radius: 12px; padding: 14px 16px; margin: 20px 0 0; font-size: 15.5px; }
.reg__course { padding-top: 28px; }
.reg__course h2 { font-size: 1.35rem; }
.reg__form h2 { font-size: 1.4rem; margin-bottom: 16px; }
.form-intro { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) {
  .reg { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: 'facts' 'form' 'course'; gap: 24px; padding-bottom: 56px; }
  .reg__form { position: static; }
  .reg__course { padding-top: 0; }
}

/* Forms */
.field { margin-bottom: 16px; min-width: 0; }
.field label, .check label { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.req { color: var(--cta); }
.optional { color: var(--muted); font-weight: 400; font-size: 13px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=time], input:not([type]), select, textarea {
  width: 100%; font: 16px/1.4 var(--body); color: var(--ink); padding: 12px 14px; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 10px; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231f1e5b' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; }
textarea { resize: vertical; min-height: 64px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 30, 91, .15); }
.field--error input { border-color: var(--red); }
.field__hint { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.field__error { margin: 6px 0 0; font-size: 14px; color: var(--red); font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.field-row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .field-row, .field-row--3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 15px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.check label { font-weight: 500; color: var(--text); margin: 0; font-size: 15px; }
.check--error label { color: var(--red); }
.promo { margin: -4px 0 14px; }
.promo summary { cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.promo[open] summary { margin-bottom: 10px; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 15px; margin-bottom: 16px; }
.alert--error { background: var(--red-bg); color: var(--red); border: 1px solid #f3c6c6; }
.alert--info { background: var(--blue-bg); color: var(--blue); }
.form-foot { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.form-foot .icon { margin-top: 3px; }
.cf-turnstile { margin: 4px 0 16px; }
.closed h2 { font-size: 1.3rem; }
.closed .btn { margin-top: 10px; }

/* Booking page */
.booking { padding-top: 32px; padding-bottom: 80px; max-width: 1080px; }
.status-hero { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: 20px; }
.status-hero h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 4px; }
.status-hero p { margin: 0; }
.status-hero--pending { background: var(--amber-bg); }
.status-hero--paid { background: var(--green-bg); }
.status-hero--info { background: var(--blue-bg); }
.status-hero--muted { background: var(--grey-bg); }
.status-hero__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex-shrink: 0; background: var(--blue); }
.status-hero--pending .status-hero__icon { background: var(--cta); }
.status-hero--paid .status-hero__icon, .status-hero__icon--paid { background: var(--green); }
.status-hero--muted .status-hero__icon { background: var(--muted); }
.booking__grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; margin-top: 24px; align-items: start; }
.booking__main { display: grid; gap: 24px; }
.booking__summary { position: sticky; top: 94px; }
.booking__summary-h { font-size: 1.15rem; }
.booking__help { margin: 16px 0 0; }
.booking__bookmark { display: flex; gap: 6px; align-items: center; margin-top: 24px; }
@media (max-width: 900px) { .booking__grid { grid-template-columns: 1fr; } .booking__summary { position: static; } }
.card h2 { font-size: 1.3rem; }
.pay__steps { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; counter-reset: step; }
.pay__steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; counter-increment: step; }
.pay__steps li::before { content: counter(step); width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 14px/30px var(--head); text-align: center; }
.copyfield { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.copyfield__text { min-width: 0; }
.copyfield__label { display: block; font-size: 13px; color: var(--muted); }
.copyfield__value { display: block; font-size: 17px; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.copyfield--big { background: #fff; border: 2px dashed var(--orange); }
.copyfield--big .copyfield__value { font: 700 26px/1.2 var(--head); letter-spacing: .06em; color: var(--cta); white-space: nowrap; overflow-wrap: normal; }
.pay__note { display: flex; gap: 10px; align-items: flex-start; background: var(--blue-bg); color: var(--blue); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.pay__note .icon { margin-top: 3px; }
.doc-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
@media (max-width: 600px) { .doc-links { grid-template-columns: 1fr; } }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line-strong); border-radius: 14px; text-decoration: none; color: inherit; }
.doc-link:hover { border-color: var(--navy); color: inherit; }
.doc-link > .icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--soft-2); color: var(--navy); }
.doc-link strong { display: block; color: var(--navy); }
.doc-link small { color: var(--muted); font-size: 13.5px; }
.doc-link--disabled { border-style: dashed; background: var(--soft); }
.doc-link--disabled > .icon { background: #fff; color: var(--muted); }
.next-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 16px; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 4px 14px; counter-increment: ns; }
.next-steps li::before { content: counter(ns); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line-strong); color: var(--navy); font: 600 14px/28px var(--head); text-align: center; }
.next-steps li.done::before { content: '✓'; background: var(--green); border-color: var(--green); color: #fff; }
.next-steps strong { color: var(--navy); }
.next-steps span { color: var(--muted); font-size: 15px; }
.summary-list { margin: 16px 0; }
.summary-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; color: var(--navy); font-weight: 600; text-align: right; }
.summary-list__total { border-bottom: 0 !important; border-top: 2px solid var(--navy); margin-top: 4px; font: 700 1.15rem var(--head) !important; }
.summary-list__total dt { color: var(--navy); }

/* Host page */
.host { display: grid; grid-template-columns: 1fr 460px; gap: 56px; padding-top: 12px; padding-bottom: 88px; align-items: start; }
.host__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; margin-bottom: 32px; }
.host__info h2 { font-size: 1.4rem; margin-top: 8px; }
.host__info .next-steps { margin-bottom: 36px; }
.host__form { position: sticky; top: 94px; }
.host__form h2 { font-size: 1.4rem; }
.price-list { list-style: none; padding: 0; margin: 0; }
.host__brochure { margin: 0 0 32px; }
.mk-brochure { margin: 0 0 20px; background: #fff; max-width: 640px; }
.price-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-list strong { display: block; color: var(--navy); }
.price-list small { display: block; color: var(--muted); font-size: 14px; }
.price-list__amt { font: 700 1.25rem/1.1 var(--head); color: var(--navy); text-align: right; }
.sent { text-align: center; display: grid; justify-items: center; gap: 8px; }
.sent .status-hero__icon { margin-bottom: 8px; }
@media (max-width: 960px) { .host { grid-template-columns: 1fr; gap: 32px; } .host__form { position: static; order: -1; } }

/* Prose & message pages */
.prose { padding-bottom: 88px; font-size: 1.02rem; line-height: 1.7; }
.prose h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.prose li { margin-bottom: 8px; }
.message-page { text-align: center; padding: 96px 16px; }
.message-page__tri { color: var(--orange); margin: 0 auto 16px; width: 48px; }
.message-page h1 { font-size: 2rem; }
.message-page p { color: var(--muted); }

/* ── Printable documents ─────────────────────────────────── */
.doc-body { background: var(--soft-2); }
.doc-toolbar { position: sticky; top: 0; z-index: 5; display: flex; gap: 10px; justify-content: center; padding: 12px; background: #fff; border-bottom: 1px solid var(--line); }
.doc { position: relative; background: #fff; max-width: 820px; margin: 28px auto; padding: 52px 60px; box-shadow: var(--shadow); border-radius: 6px; font-size: 15.5px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
@media (max-width: 700px) { .stamp { position: static; display: inline-block; transform: rotate(-6deg); margin-bottom: 12px; font-size: 26px; } .doc { padding: 28px 20px; margin: 12px; overflow-wrap: anywhere; } .receipt__parties { grid-template-columns: 1fr; gap: 16px; } .receipt__title { text-align: left; } .receipt__title dl div { justify-content: flex-start; } }
.receipt__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 24px; border-bottom: 3px solid var(--navy); flex-wrap: wrap; }
.receipt__title { text-align: right; }
.receipt__title h1 { font-size: 30px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 10px; }
.receipt__title dl { margin: 0; display: grid; gap: 2px; font-size: 14.5px; }
.receipt__title dl div { display: flex; gap: 10px; justify-content: flex-end; }
.receipt__title dt { color: var(--muted); }
.receipt__title dd { margin: 0; font-weight: 600; color: var(--navy); min-width: 90px; }
.receipt__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; }
.receipt__parties h2 { font: 600 12px/1.4 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 6px; }
.receipt__table { width: 100%; border-collapse: collapse; margin-top: 32px; }
.receipt__table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-bottom: 2px solid var(--navy); padding: 10px 0; }
.receipt__table td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.receipt__table .num { text-align: right; white-space: nowrap; padding-left: 24px; }
.receipt__table tfoot th, .receipt__table tfoot td { font: 700 1.2rem var(--head); color: var(--navy); padding-top: 18px; border: 0; text-transform: none; letter-spacing: 0; }
.receipt__method { color: var(--muted); margin-top: 16px; }
.receipt__foot { display: flex; gap: 10px; align-items: flex-start; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.receipt__foot svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.stamp { position: absolute; top: 56px; left: 50%; transform: translateX(-50%) rotate(-12deg); border: 4px solid var(--red); color: var(--red); font: 700 38px/1 var(--head); text-transform: uppercase; padding: 8px 16px; border-radius: 8px; opacity: .8; }
.verified { display: flex; gap: 8px; align-items: center; justify-content: center; max-width: 1056px; margin: 16px auto 0; padding: 10px 16px; background: var(--green-bg); color: var(--green); border-radius: 10px; font-size: 14.5px; font-weight: 600; }
.doc-body--landscape .doc { max-width: 1056px; aspect-ratio: 11 / 8.5; padding: 28px; }
.cert { page: cert; }
.cert__frame { position: relative; height: 100%; border: 10px solid var(--navy); outline: 2px solid var(--orange); outline-offset: -20px; padding: 44px 72px 36px; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.2 21 19.5H3Z' fill='none' stroke='%23f6861f' stroke-width='.5' stroke-linejoin='round' opacity='.18'/%3E%3C/svg%3E") no-repeat center 58%/46%; }
.cert__top { margin-bottom: 18px; }
.cert__top .logo { font-size: 30px; }
.cert__kicker { font: 600 15px/1 var(--head); text-transform: uppercase; letter-spacing: .26em; color: var(--cta); margin: 0 0 18px; }
.cert__lead { color: var(--muted); margin: 0; font-size: 16px; }
.cert__name { font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 6px 0 8px; padding: 0 24px 8px; border-bottom: 2px solid var(--line-strong); letter-spacing: -0.02em; }
.cert__course { font-size: clamp(1.25rem, 2.4vw, 1.65rem); margin: 8px 0 2px; }
.cert__sub { color: var(--muted); font-size: 14.5px; margin: 0 0 8px; }
.cert__meta { margin: 0 0 12px; font-size: 15px; }
.cert__ceu { display: inline-block; background: var(--navy); color: #fff; font: 600 15px/1 var(--head); padding: 9px 18px; border-radius: 999px; margin: 0; }
.cert__bottom { margin-top: auto; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; padding-top: 20px; }
.cert__sig { display: grid; justify-items: start; text-align: left; }
.cert__signame { font: italic 500 22px/1 var(--head); color: var(--navy); margin-bottom: 6px; }
.cert__line { width: 220px; border-top: 1.5px solid var(--navy); }
.cert__role { font-size: 13px; color: var(--muted); margin-top: 6px; }
.cert__std { display: grid; justify-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.cert__std svg { color: var(--orange); }
.cert__id { display: grid; justify-items: end; text-align: right; font-size: 11.5px; color: var(--muted); gap: 2px; }
.cert__qr { width: 84px; height: 84px; margin-bottom: 4px; }
.cert__qr svg { width: 100%; height: 100%; display: block; }
.cert__url { font-size: 9.5px; overflow-wrap: anywhere; max-width: 240px; }
.attendance summary { cursor: pointer; font: 600 1.05rem var(--head); color: var(--navy); }
.attendance[open] summary { margin-bottom: 12px; }
.attendance__list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px 18px; }
.attendance__list .check { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.attendance__certs { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.attendee__fixed { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 9px 0; }
.attendee--locked .attendee__fixed strong { color: var(--navy); }
@media (max-width: 800px) { .doc-body--landscape .doc { aspect-ratio: auto; } .cert__frame { padding: 32px 22px; } .cert__bottom { grid-template-columns: 1fr; justify-items: center; } .cert__sig, .cert__id { justify-items: center; text-align: center; } }
.sheet h1 { font-size: 24px; margin-bottom: 4px; }
.sheet__table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
.sheet__table th, .sheet__table td { border: 1px solid #9a99b0; padding: 8px 10px; text-align: left; vertical-align: top; }
.sheet__table th { background: var(--soft-2); }
.sheet__table td { height: 46px; }
.sheet__sig { width: 32%; }

@page { size: letter; margin: 0.5in; }
@page cert { size: letter landscape; margin: 0.3in; }
@media print {
  body, .doc-body { background: #fff; font-size: 12pt; }
  .no-print, .site-header, .site-footer, .skip { display: none !important; }
  .doc { box-shadow: none; margin: 0; padding: 0; max-width: none; border-radius: 0; }
  .doc-body--landscape .doc { aspect-ratio: auto; height: 7.8in; padding: 0; }
  a { color: inherit; text-decoration: none; }
}

/* ── Admin ───────────────────────────────────────────────── */
body.admin { background: var(--soft); font-size: 16px; }
.admin-bar { background: var(--navy); }
.admin-bar__inner { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.admin-bar .logo { color: #fff; font-size: 20px; }
.admin-bar .logo__tri { color: var(--amber); }
.admin-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: 15px; font-weight: 600; min-width: 0; }
.admin-nav form { display: flex; }
.admin-nav .linklike { line-height: inherit; font-weight: 600; }
.admin-nav a, .admin-nav .linklike { color: rgba(255, 255, 255, .78); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; border-bottom: 2px solid transparent; }
.admin-nav a:hover, .admin-nav .linklike:hover { color: #fff; }
.admin-nav a[aria-current=page] { color: #fff; border-bottom-color: var(--amber); }
.admin-nav .count { background: var(--cta); color: #fff; border-radius: 999px; font-size: 12px; padding: 0 7px; margin-left: 2px; }
@media (max-width: 760px) { .admin-bar__inner { gap: 6px; padding-top: 12px; } .admin-nav { width: 100%; margin: 0; overflow-x: auto; gap: 18px; padding-bottom: 6px; white-space: nowrap; } }
.admin-main { padding-top: 28px; padding-bottom: 56px; max-width: 1100px; overflow-wrap: anywhere; }
.admin-main h1 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 4px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-head p { margin: 4px 0 0; }
.admin-h2 { font-size: 1.15rem; margin: 30px 0 12px; }
.admin-foot { font-size: 13px; color: var(--muted); padding-bottom: 32px; }
.toast { display: flex; align-items: center; gap: 8px; background: var(--green-bg); color: var(--green); border: 1px solid #bfe3cb; border-radius: 12px; padding: 12px 16px; font-weight: 600; margin-bottom: 18px; transition: opacity .4s; }
.toast.is-hidden { opacity: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.stats--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .stats, .stats--4 { grid-template-columns: 1fr 1fr; } }
.stat { display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; text-decoration: none; color: inherit; }
.stat--link:hover { border-color: var(--navy); color: inherit; }
.stat__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.stat__value { font: 700 1.7rem/1.15 var(--head); color: var(--navy); }
.stat__sub { font-size: 13px; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 20px; }
.panel--warn { background: var(--amber-bg); border-color: #f1d3a3; }
.panel h2, .panel__h { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0 0 10px; }
.mini-list { list-style: none; padding: 0; margin: 0; }
.mini-list li { display: grid; padding: 8px 0; border-top: 1px solid rgba(0, 0, 0, .06); }
.admin-sessions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .admin-sessions { grid-template-columns: 1fr; } }
.admin-session { padding: 20px; }
.admin-session__top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
.admin-session h3 { font-size: 1.1rem; margin: 0 0 4px; }
.admin-session h3 a { text-decoration: none; }
.admin-session h3 a:hover { text-decoration: underline; }
.counts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14.5px; margin-top: 10px; }
.counts strong { color: var(--navy); }
.counts__cap { margin-left: auto; color: var(--muted); }
.meter { position: relative; height: 8px; background: var(--soft-2); border-radius: 999px; overflow: hidden; margin-top: 10px; }
.meter span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; }
.meter__pending { background: #f7c48b; }
.meter__paid { background: var(--green); }
.admin-session__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; }
.admin-session__links { display: flex; gap: 14px; }
.past { margin-top: 36px; }
.past summary { cursor: pointer; font: 600 1.05rem var(--head); color: var(--navy); margin-bottom: 14px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.roster__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.roster-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.roster-item--pending { border-left: 4px solid var(--amber); }
.roster-item--paid { border-left: 4px solid var(--green); }
.roster-item--cancelled, .roster-item--refunded { opacity: .7; }
.roster-item__name { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.roster-item__name a { font: 600 1.05rem var(--head); text-decoration: none; }
.roster-item__name a:hover { text-decoration: underline; }
.roster-item p { margin: 4px 0 0; }
.roster-item__contact { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.roster-item__notes { font-style: italic; color: var(--muted); }
.roster-item__side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.roster-item__ref { font: 600 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--soft-2); color: var(--navy); padding: 2px 8px; border-radius: 6px; }
.roster-item__amt { font: 700 1.1rem var(--head); color: var(--navy); }
.roster-item__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.paid-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.paid-form select { max-width: 100%; }
.paid-form select, .status-form select { width: auto; font-size: 14px; padding: 7px 34px 7px 10px; }
@media (max-width: 680px) { .roster-item { grid-template-columns: minmax(0, 1fr); } .roster-item__side { align-items: flex-start; text-align: left; } .roster-item__actions { justify-content: flex-start; } }
.admin-form fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.admin-form legend { font: 600 1.05rem var(--head); color: var(--navy); margin-bottom: 12px; padding: 0; }
.reg-admin { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .reg-admin { grid-template-columns: 1fr; } }
.action-list { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.action { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--soft); }
.action .field { margin-bottom: 12px; }
.danger-zone { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; padding-top: 14px; border-top: 1px solid var(--line); }
.summary-list--admin dd { font-weight: 500; }
.admin-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 18px; font-size: 14.5px; }
.admin-table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--soft); padding: 10px 14px; }
.admin-table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
@media (max-width: 700px) { .admin-table { display: block; overflow-x: auto; } }
.email-body summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.email-body pre { white-space: pre-wrap; font-size: 12.5px; background: var(--soft); padding: 10px; border-radius: 8px; max-height: 320px; overflow: auto; }
.request-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.request { padding: 18px 20px; }
.request--closed { opacity: .65; }
.request__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.request h2 { font-size: 1.1rem; margin: 0; }
.request p { margin: 8px 0 0; }
.request__msg { background: var(--soft); padding: 10px 12px; border-radius: 10px; white-space: pre-wrap; }
.admin--auth { display: grid; place-items: start center; min-height: 100vh; padding: 10vh 16px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .logo { margin-bottom: 22px; }
.auth-card h1 { font-size: 1.45rem; }


/* ── Course pages ────────────────────────────────────────── */
.course-hero { background: linear-gradient(180deg, #faf9fd 0%, #fff 100%); padding: 40px 0 64px; }
.course-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.course-hero__title { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.course-hero__title img { width: 88px; height: 88px; flex-shrink: 0; }
.course-hero__title h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 0; }
.course-hero__short { margin: 4px 0 0; color: var(--muted); font-weight: 600; }
.course-hero__price { margin: 18px 0 0; }
.course-hero .lede { margin-bottom: 12px; }
.section--tight { padding: 56px 0; }
.course-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.course-detail h2 { font-size: 1.2rem; }
.course-detail .ticks { margin: 0; }
.h3 { font-size: 1.4rem !important; }
.other-courses { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.other-course { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; color: inherit; }
.other-course:hover { border-color: var(--navy); color: inherit; }
.other-course span { flex: 1; display: grid; }
.other-course strong { color: var(--navy); font-family: var(--head); }
.other-course small { color: var(--muted); }
.course__name a { color: inherit; text-decoration: none; }
.course__name a:hover { text-decoration: underline; }
.course__more { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 15px; padding: 6px; text-decoration: none; }
@media (max-width: 900px) { .course-hero__grid { grid-template-columns: 1fr; gap: 28px; } .course-detail { grid-template-columns: 1fr; } .other-courses { grid-template-columns: 1fr; } }

/* Early-bird & team link */
.session__was { display: block; font: 500 14px/1.2 var(--body); color: var(--muted); text-align: right; }
.early-tag { display: inline-block; vertical-align: middle; background: var(--green-bg); color: var(--green); font: 600 12px/1 var(--body); padding: 4px 8px; border-radius: 999px; margin-left: 6px; }
.team-link { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border: 1.5px dashed var(--line-strong); border-radius: 12px; text-decoration: none; color: var(--text); font-size: 14.5px; line-height: 1.4; }
.team-link:hover { border-color: var(--navy); color: var(--text); }
.team-link > .icon:first-child { color: var(--cta); }
.team-link strong { color: var(--navy); }
.pay__card { display: grid; gap: 8px; justify-items: center; margin: 18px 0 8px; text-align: center; }
.pay__or { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.feedback-cta { background: linear-gradient(120deg, #fff 0%, var(--amber-bg) 100%); }

/* Group booking */
.group { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding-top: 12px; padding-bottom: 88px; align-items: start; }
.group__form fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.group__form legend { font: 600 1.15rem var(--head); color: var(--navy); margin-bottom: 12px; padding: 0; }
.group__aside { position: sticky; top: 94px; display: grid; gap: 14px; }
.group__aside h2 { font-size: 1.15rem; }
.seat-picker { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: start; }
.seat-picker input[type=number] { width: 100%; font: 600 20px var(--body); padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; }
.seat-picker__total { display: grid; gap: 2px; background: var(--soft); border-radius: 12px; padding: 12px 16px; margin-top: 27px; }
.seat-picker__total strong { font: 700 1.6rem/1.1 var(--head); color: var(--navy); }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.radio-card { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 14px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--navy); background: var(--soft); box-shadow: 0 0 0 3px rgba(31, 30, 91, .1); }
.radio-card input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex-shrink: 0; }
.radio-card strong { display: block; color: var(--navy); }
.radio-card small { color: var(--muted); font-size: 13.5px; }
.attendees { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 8px; }
.attendee { display: grid; grid-template-columns: 28px 1fr 1fr 1.4fr; gap: 8px; align-items: center; }
.attendee__n { font: 600 14px var(--head); color: var(--muted); text-align: center; }
.attendee input { padding: 9px 11px; font-size: 15px; }
.attendee--cancelled, .attendee--refunded { opacity: .5; }
.prewrap { white-space: pre-line; }
.price-note { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; padding: 10px 14px; background: var(--green-bg); color: var(--green); border-radius: 10px; font-weight: 600; font-size: 15px; }
.stamp--paid { border-color: var(--green); color: var(--green); }
.invoice__pay, .invoice__att { margin-top: 24px; }
.invoice__pay h2, .invoice__att h2 { font: 600 12px/1.4 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 6px; }
@media (max-width: 960px) { .group { grid-template-columns: 1fr; } .group__aside { position: static; } }
@media (max-width: 600px) {
  .seat-picker, .radio-cards { grid-template-columns: 1fr; }
  .seat-picker__total { margin-top: 0; }
  .attendee { grid-template-columns: 24px 1fr 1fr; }
  .attendee input[type=email] { grid-column: 2 / -1; }
}

/* Feedback & testimonials */
.feedback { padding-top: 40px; padding-bottom: 80px; }
.feedback h1 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.stars-field { border: 0; padding: 0; margin: 8px 0 20px; }
.stars-field legend { font-weight: 600; color: var(--navy); margin-bottom: 8px; padding: 0; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 40px; line-height: 1; color: var(--line-strong); cursor: pointer; transition: color .1s, transform .1s; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: var(--amber); }
.stars input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.stars-static { color: var(--amber); letter-spacing: 1px; }
.stars-static__off { color: var(--line-strong); }
.rating-summary { text-align: center; color: rgba(255, 255, 255, .85); margin: 0 0 28px; font-size: 16px; }
.rating-summary__stars { color: var(--amber); letter-spacing: 2px; margin-right: 8px; }
.rating-summary strong { color: #fff; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 44px; }
.quote-card { margin: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 20px; }
.quote-card blockquote { margin: 0 0 12px; }
.quote-card p { color: #fff; margin: 0; font-size: 15.5px; }
.quote-card figcaption { display: grid; font-size: 14px; }
.quote-card strong { color: #fff; }
.quote-card span { color: rgba(255, 255, 255, .7); }

/* Admin additions */
.admin-search { padding-top: 14px; }
.admin-search form { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 14px; max-width: 1100px; }
.admin-search .icon { color: var(--muted); }
.admin-search input { border: 0; padding: 8px 4px; box-shadow: none !important; flex: 1; min-width: 0; }
.panel--info { background: var(--blue-bg); border-color: #cfd9f6; }
.cert-form { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.check--inline { margin: 0; font-size: 14px; align-items: center; }
.check--inline input { margin: 0; }
.import summary { cursor: pointer; font: 600 1rem var(--head); color: var(--navy); }
.import[open] summary { margin-bottom: 12px; }
.import { margin-top: 28px; }
.order-org { font: 600 1.05rem var(--head); color: var(--navy); }
.qr-out { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.qr-out__img { width: 220px; max-width: 100%; background: #fff; }
.qr-out__img svg { width: 100%; height: auto; display: block; }
.admin-table--flat { border: 0; margin-top: 0; }
.admin-table--flat th { background: transparent; padding-left: 0; }
.admin-table--flat td { padding-left: 0; }
code { font-size: .9em; background: var(--soft-2); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }


/* ── Educator brochure (one US-letter page) ─────────────── */
@page brochure { size: letter; margin: 0; }
.brochure { page: brochure; width: 8.5in; height: 11in; margin: 24px auto; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; font-size: 10.5pt; line-height: 1.45; color: var(--text); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.brochure h1, .brochure h2 { letter-spacing: -0.01em; }
.br-head { background: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: .3in; padding: .24in .5in; }
.br-head .logo { font-size: 30px; }
.br-head__text { text-align: right; }
.br-head__tag { font: 600 15pt/1.2 var(--head); color: #fff; margin: 0; }
.br-head__sub { font-size: 10.5pt; color: rgba(255, 255, 255, .75); margin: 2px 0 0; }
.br-intro { display: grid; grid-template-columns: 1fr 2.45in; gap: .28in; align-items: center; padding: .22in .5in .16in; }
.br-intro h1 { font: 700 19pt/1.15 var(--head); margin: 0 0 6px; }
.br-intro p { margin: 0 0 8px; font-size: 10pt; }
.br-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.br-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.br-chips li { display: inline-flex; align-items: center; gap: 5px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 9pt; font-weight: 600; color: var(--navy); }
.br-chips .icon { color: var(--orange); }
.br-courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: .14in; padding: 0 .5in; }
.br-course { display: flex; align-items: center; gap: 9px; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.br-course img { width: 44px; height: 44px; flex-shrink: 0; }
.br-course h2 { font: 600 10pt/1.2 var(--head); margin: 0; white-space: nowrap; }
.br-course__short { font-size: 8.5pt; color: var(--muted); margin: 1px 0 3px; }
.br-course__price { font: 700 14pt/1 var(--head); color: var(--navy); margin: 0; }
.br-course__price span { font: 400 8pt var(--body); color: var(--muted); }
.br-pricing-note { padding: 7px .5in 0; margin: 0; font-size: 9pt; color: var(--muted); }
.br-cols { display: grid; grid-template-columns: 1fr 1fr; gap: .16in; padding: .14in .5in 0; }
.br-stack { display: grid; gap: .14in; align-content: start; }
.br-box { background: var(--soft); border-radius: 12px; padding: 9px 13px; }
.br-box h2 { font: 600 11pt/1.2 var(--head); margin: 0 0 6px; }
.br-agenda { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; font-size: 9pt; line-height: 1.4; }
.br-agenda span { display: inline-block; width: 40px; font: 600 9pt var(--head); color: var(--navy); }
.br-steps { margin: 0; padding-left: 18px; display: grid; gap: 3px; font-size: 9pt; line-height: 1.4; }
.br-steps li::marker { color: var(--cta); font-weight: 700; }
.br-steps strong { color: var(--navy); }
.br-small { font-size: 8.8pt; color: var(--muted); margin: 6px 0 0; }
.br-box > .br-small:first-of-type { margin-top: 0; }
.br-quote { position: relative; margin: .14in .5in 0; padding: 8px 16px 8px 44px; border-left: 4px solid var(--orange); background: #fff8f4; border-radius: 0 12px 12px 0; }
.br-quote__tri { position: absolute; left: 13px; top: 13px; color: var(--orange); }
.br-quote blockquote { margin: 0; font: 500 9.5pt/1.4 var(--head); color: var(--navy); }
.br-quote figcaption { margin-top: 4px; font-size: 8.8pt; color: var(--muted); }
.br-quote figcaption strong { color: var(--navy); }
.br-foot { margin-top: auto; background: var(--navy); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: .3in; padding: .2in .5in; }
.br-foot h2 { font: 700 15pt/1.2 var(--head); color: #fff; margin: 0 0 6px; }
.br-contact { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: 10pt; font-weight: 600; }
.br-contact span { display: inline-flex; align-items: center; gap: 6px; }
.br-contact .icon { color: var(--amber); }
.br-foot .br-small { color: rgba(255, 255, 255, .72); }
.br-qr { display: grid; justify-items: center; gap: 4px; flex-shrink: 0; }
.br-qr__img { width: .95in; height: .95in; background: #fff; padding: 4px; border-radius: 6px; }
.br-qr__img svg { width: 100%; height: 100%; display: block; }
.br-qr span { font-size: 8pt; color: rgba(255, 255, 255, .8); }
@media print { .brochure { margin: 0; box-shadow: none; } }
@media screen and (max-width: 860px) { .brochure { transform-origin: top left; zoom: .45; } }

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