/* ============================================================
   EBCS Design System — main.css
   ============================================================ */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  /* Brand — navy + soft blue (2026 rebrand, replaces the original green/teal) */
  --navy:          #132a60;
  --navy-dark:     #0d1d43;
  --navy-light:    #1e3d85;
  --accent:        #93c5c6;
  --accent-dark:   #437576;  /* deepened for 5.1:1 contrast on white — used for link text */
  --accent-light:  #b3d7d8;

  /* Readable navy for link/body text on white (accent alone is too light) */
  --link:          #132a60;
  --link-hover:    #1e3d85;

  /* Legacy aliases — kept so any older rule/template still resolves.
     Prefer --navy / --accent in new code. */
  --green:         var(--navy);
  --green-dark:    var(--navy-dark);
  --green-light:   var(--navy-light);
  --teal:          var(--accent);
  --teal-dark:     var(--accent-dark);
  --teal-light:    var(--accent-light);

  --white:         #ffffff;
  --bg-light:      #f4f7fb;
  --border:        #e0e0e0;
  --text:          #1a1a1a;
  --text-muted:    #6b7280;
  --text-light:    #9ca3af;

  /* Status */
  --status-green:  #15803d;
  --status-green-bg: #dcfce7;
  --status-amber:  #92400e;
  --status-amber-bg: #fef3c7;
  --status-red:    #991b1b;
  --status-red-bg: #fee2e2;
  --status-blue:   #1e40af;
  --status-blue-bg: #dbeafe;

  /* Spacing */
  --radius:        8px;
  --radius-sm:     6px;
  --radius-lg:     12px;
  --card-pad:      24px;
  --card-pad-sm:   16px;

  /* Typography */
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --transition:    0.15s ease;
  --transition-md: 0.25s ease;

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow:        0 2px 8px rgba(0,0,0,0.10);
  --shadow-lg:     0 4px 20px rgba(0,0,0,0.12);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  margin: 0;
  padding: 0;
}

body.ebcs-demo-active {
  padding-top: 44px;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--green); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 0.75em;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.5rem; }

/* ── Demo Banner ────────────────────────────────────────────── */
.ebcs-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fef3c7;
  border-bottom: 2px solid #f59e0b;
  color: #78350f;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  padding: 10px 16px;
  letter-spacing: 0.01em;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }
.container--wide   { max-width: 1400px; }

/* ── Site Header ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

body.ebcs-demo-active .site-header {
  top: 44px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 108px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green);
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
}
.site-header__logo:hover { color: var(--green-dark); text-decoration: none; }
.site-header__crest { width: 96px; height: 96px; display: block; }

.primary-nav { flex: 1; }
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav__list li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.primary-nav__list li a:hover,
.primary-nav__list li.current-menu-item > a {
  background: var(--bg-light);
  color: var(--green);
  text-decoration: none;
}

.primary-nav__actions { display: none; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(19,42,96,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--outline:hover {
  background: var(--green);
  color: var(--white);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

.btn--teal-outline {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal);
}
.btn--teal-outline:hover {
  background: var(--teal);
  color: var(--white);
}

/* Accent fill with navy text — white on --accent is only ~1.9:1. Header's
   "Become a Coach" route (Trevor, 22 Sep 2026). */
.btn--accent {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn--sm   { padding: 7px 16px; font-size: 0.875rem; }
.btn--lg   { padding: 14px 32px; font-size: 1.0625rem; }
.btn--full { width: 100%; }

.btn--primary.btn--lg {
  height: 48px;
}

/* ── Form elements ──────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group:last-child { margin-bottom: 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

textarea {
  height: auto;
  min-height: 100px;
  padding: 10px 12px;
  resize: vertical;
}

select {
  background-image: 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='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(19,42,96,0.12);
}

input.error, select.error, textarea.error {
  border-color: #dc2626;
}

.form-error {
  font-size: 0.8125rem;
  color: #dc2626;
  font-weight: 500;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Checkbox + radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  accent-color: var(--green);
}
.form-check label {
  font-weight: 400;
  cursor: pointer;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--card-pad);
  box-shadow: var(--shadow-sm);
}

.card--sm { padding: var(--card-pad-sm); }

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--green);
  margin: 0;
}

/* ── Status Pills ───────────────────────────────────────────── */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pill--green  { background: var(--status-green-bg);  color: var(--status-green); }
.pill--amber  { background: var(--status-amber-bg);  color: var(--status-amber); }
.pill--red    { background: var(--status-red-bg);    color: var(--status-red); }
.pill--blue   { background: var(--status-blue-bg);   color: var(--status-blue); }
.pill--grey   { background: #f3f4f6;                 color: #6b7280; }

/* ── Alert Banners ──────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.alert--red {
  background: var(--status-red-bg);
  color: var(--status-red);
  border: 1px solid #fca5a5;
}
.alert--amber {
  background: var(--status-amber-bg);
  color: var(--status-amber);
  border: 1px solid #fcd34d;
}
.alert--green {
  background: var(--status-green-bg);
  color: var(--status-green);
  border: 1px solid #86efac;
}
.alert--blue {
  background: var(--status-blue-bg);
  color: var(--status-blue);
  border: 1px solid #93c5fd;
}
.alert__icon { flex-shrink: 0; margin-top: 1px; }

/* ── Site Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--green);
  color: rgba(255,255,255,0.85);
  margin-top: 80px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 56px 24px;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-footer__brand img { width: 52px; height: 52px; }
.site-footer__tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,0.8);
}
.site-footer__links {
  display: grid;
  /* Four columns since Phase 9 added Trainers & Assessors — at three the Help
     column dropped onto a second row and left a hole beside it. */
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.site-footer__col h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 8px; }
.site-footer__col a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.site-footer__col a:hover { color: var(--white); text-decoration: none; }

.site-footer__bottom {
  background: var(--green-dark);
  padding: 16px 24px;
  text-align: center;
}
.site-footer__bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--green);
  color: var(--white);
  overflow: hidden;
}
.hero--with-image {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero__image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.25;
}
.hero__video,
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(19,42,96,0.78) 0%, rgba(13,29,67,0.82) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  text-align: center;
}
.hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .btn--white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.hero .btn--white:hover {
  background: rgba(255,255,255,0.9);
  color: var(--green-dark);
}
.hero .btn--white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.hero .btn--white-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* ── Membership cost banner ─────────────────────────────────── */
/* A white card pulled up over the hero's bottom edge. */
.membership-banner {
  background: var(--white);
  position: relative;
  z-index: 2;
}
.membership-banner__card {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(13, 29, 67, 0.16);
  padding: 28px 32px;
  margin-top: -44px;
}
.membership-banner__price {
  text-align: center;
  padding-right: 32px;
  border-right: 1px solid var(--border);
}
.membership-banner__amount {
  display: block;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
}
.membership-banner__per {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-top: 6px;
}
.membership-banner__text {
  flex: 1;
  min-width: 260px;
}
.membership-banner__text h3 {
  font-size: 1.125rem;
  color: var(--green);
  margin: 0 0 6px;
}
.membership-banner__text p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .membership-banner__card {
    flex-direction: column;
    text-align: center;
    margin-top: -28px;
  }
  .membership-banner__price {
    padding-right: 0;
    border-right: none;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
}

/* ── Pathway steps (How to Become a Coach) ──────────────────── */
.pathway-steps {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pathway-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.pathway-step__num {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pathway-step__body h3 {
  font-size: 1.125rem;
  margin: 0 0 8px;
  color: var(--green);
}
.pathway-step__body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.signup-list {
  margin: 0 0 20px 20px;
  padding: 0;
}
.signup-list li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* ── Home Page Sections ─────────────────────────────────────── */
.section {
  padding: 72px 0;
}
.section--light { background: var(--bg-light); }
.section--dark  { background: var(--green); color: var(--white); }

.section__header {
  text-align: center;
  margin-bottom: 48px;
}
.section__label {
  display: inline-block;
  color: var(--teal-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}
.section--dark .section__title { color: var(--white); }
.section__intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ── Feature Grid ───────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--card-pad);
  transition: box-shadow var(--transition-md), transform var(--transition-md);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
}
.feature-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}
.feature-card__body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Qualification Level Cards ──────────────────────────────── */
.level-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.level-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px var(--card-pad);
  text-align: center;
  transition: border-color var(--transition-md), box-shadow var(--transition-md);
}
.level-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}
.level-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 auto 16px;
  border: 2px solid var(--teal-light);
}
.level-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}
.level-card__body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── News / Posts ───────────────────────────────────────────── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.post-card { padding: 0; overflow: hidden; }
.post-card__thumb img { width: 100%; height: 200px; object-fit: cover; }
.post-card__body { padding: var(--card-pad); }
.post-card__date { font-size: 0.8125rem; color: var(--text-muted); display: block; margin-bottom: 8px; }
.post-card__title { font-size: 1.0625rem; margin-bottom: 10px; }
.post-card__title a { color: var(--text); }
.post-card__title a:hover { color: var(--green); text-decoration: none; }
.post-card__excerpt { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }

.posts-list { display: flex; flex-direction: column; gap: 32px; }
.news-item { border-bottom: 1px solid var(--border); padding-bottom: 32px; }
.news-item:last-child { border-bottom: none; }
.news-item__date { font-size: 0.8125rem; color: var(--text-muted); display: block; margin-bottom: 6px; }
.news-item__title { font-size: 1.25rem; margin-bottom: 10px; }
.news-item__title a { color: var(--text); }
.news-item__title a:hover { color: var(--green); text-decoration: none; }
.news-item__excerpt { color: var(--text-muted); margin-bottom: 12px; }

.link-arrow {
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.9rem;
}
.link-arrow:hover { color: var(--green); text-decoration: none; }

/* ── About / Two-col layout ─────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col--reverse .two-col__image { order: 2; }
.two-col__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.two-col__label {
  display: inline-block;
  color: var(--teal-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.two-col__title { font-size: 1.875rem; color: var(--green); margin-bottom: 16px; }
.two-col__body { color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; }

/* ── CTA Strip ──────────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); font-size: 2rem; margin-bottom: 12px; }
.cta-strip p  { color: rgba(255,255,255,0.85); font-size: 1.0625rem; max-width: 540px; margin: 0 auto 32px; }
.cta-strip .btn--white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.cta-strip .btn--white:hover {
  background: rgba(255,255,255,0.9);
}

/* ── Coaching Structure Page ────────────────────────────────── */
.pathway {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 40px;
}
.pathway::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--teal-light);
}
.pathway-step {
  position: relative;
  padding-bottom: 32px;
}
.pathway-step__dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 32px;
  height: 32px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  z-index: 1;
}
.pathway-step__title { font-size: 1.125rem; color: var(--green); margin-bottom: 6px; }
.pathway-step__body  { color: var(--text-muted); font-size: 0.9375rem; }

/* ── Contact Page ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info__item { display: flex; gap: 12px; align-items: flex-start; }
.contact-info__icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.contact-info__label { font-size: 0.8125rem; color: var(--text-muted); }
.contact-info__value { font-weight: 600; color: var(--text); }

/* ── Find a Coach ───────────────────────────────────────────── */
.coach-search {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: var(--card-pad);
  margin-bottom: 32px;
}
.coach-search__filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}
.coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.coach-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.coach-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}
.coach-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.coach-card__info { flex: 1; }
.coach-card__name  { font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 4px; }
.coach-card__meta  { font-size: 0.875rem; color: var(--text-muted); }
.coach-card__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.coach-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
}

/* ── Public Resources ───────────────────────────────────────── */
.resource-list { display: flex; flex-direction: column; gap: 12px; }
.resource-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: var(--card-pad-sm) var(--card-pad);
}
.resource-item__icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.resource-item__info { flex: 1; }
.resource-item__title { font-weight: 600; font-size: 0.9375rem; color: var(--text); margin-bottom: 2px; }
.resource-item__desc  { font-size: 0.8125rem; color: var(--text-muted); }
.resource-item__badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-light);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Login Page ─────────────────────────────────────────────── */
.login-page {
  min-height: calc(100vh - 68px);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.login-card__logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-card__logo img {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
}
.login-card__logo h2 {
  font-size: 1.125rem;
  color: var(--green);
  margin: 0;
}
.login-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--green);
  text-align: center;
  margin-bottom: 28px;
}
.login-card__forgot {
  font-size: 0.875rem;
  color: var(--teal-dark);
  text-align: right;
}
.login-card__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}
.login-card__register {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.login-card__register a { color: var(--teal-dark); font-weight: 600; }
.login-card__footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 16px;
}
.login-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* ── Step Indicator (Registration / Portals) ─────────────────── */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
}
.step-indicator__item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.step-indicator__item:last-child { flex: 0; }
.step-indicator__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.step-indicator__item.active .step-indicator__num {
  background: var(--green);
  color: var(--white);
}
.step-indicator__item.completed .step-indicator__num {
  background: var(--status-green-bg);
  color: var(--status-green);
}
.step-indicator__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.step-indicator__item.active .step-indicator__label { color: var(--green); font-weight: 600; }
.step-indicator__line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
}
.step-indicator__item.completed + .step-indicator__line { background: var(--teal-light); }

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Page content ───────────────────────────────────────────── */
.page-content { padding: 56px 0; }
.page-header  { margin-bottom: 32px; }
.page-title   { color: var(--green); font-size: 2rem; }
.page-body h2 { color: var(--green); font-size: 1.375rem; }
.page-body p  { line-height: 1.75; color: #374151; }

/* Article + FAQ content (27 Sep 2026: news notices and the Members' FAQ page) */
.page-body ul, .page-body ol { padding-left: 1.4em; margin: 0 0 1.2em; line-height: 1.75; color: #374151; }
.page-body li { margin-bottom: 4px; }
.page-body figure { margin: 0 0 28px; }
.page-body figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.page-body .note { background: var(--bg-light); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 16px 20px; margin: 0 0 24px; }
.page-body .note p:last-child { margin-bottom: 0; }
.page-body .faq-section { margin-top: 36px; }
.page-body details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); margin-bottom: 10px; }
.page-body summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 600; color: var(--navy); position: relative; list-style: none; }
.page-body summary::-webkit-details-marker { display: none; }
.page-body summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: var(--accent-dark); }
.page-body details[open] summary::after { content: '\2212'; }
.page-body details > div { padding: 0 18px 6px; }

/* ── Archive Header ─────────────────────────────────────────── */
.archive-header { margin-bottom: 40px; }
.archive-title  { color: var(--green); font-size: 2rem; }

/* ── 404 ────────────────────────────────────────────────────── */
.error-404 {
  padding: 80px 0;
  text-align: center;
}
.error-404 h1 {
  font-size: 6rem;
  color: var(--teal-light);
  margin-bottom: 0;
}
.error-404 h2 { color: var(--green); }
.error-404 p  { color: var(--text-muted); margin-bottom: 24px; }

/* ── Pagination ─────────────────────────────────────────────── */
.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.page-numbers:hover {
  background: var(--bg-light);
  text-decoration: none;
  color: var(--green);
}
.page-numbers.current {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* ── Post Navigation ────────────────────────────────────────── */
.post-navigation { margin-top: 40px; }
.post-hero-image { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }

/* ── Post Meta ──────────────────────────────────────────────── */
.post-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ── No results ─────────────────────────────────────────────── */
.no-results { color: var(--text-muted); font-size: 1rem; padding: 32px 0; }

/* ── Text utils ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-green  { color: var(--green); }
.text-teal   { color: var(--teal-dark); }

/* ── Responsive ─────────────────────────────────────────────── */
/* The header folds into the menu button below 1100px, not 768px: with three
   route buttons (Become a Coach · Sign In · Register, Sep 2026) the row runs
   out of room well before phone width. */
@media (max-width: 1100px) {
  .site-header__actions { display: none; }
  .nav-toggle { display: flex; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 16px;
    z-index: 99;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav__list { flex-direction: column; }
  .primary-nav__list li a { padding: 12px 16px; }
  .primary-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding: 16px 16px 4px;
    border-top: 1px solid var(--border);
  }
  .primary-nav__actions .btn { width: 100%; padding: 12px 16px; font-size: 1rem; }
}

@media (max-width: 1024px) {
  .level-cards { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col--reverse .two-col__image { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }

  .hero__title { font-size: 2.25rem; }
  .hero__inner { padding: 72px 0; }

  .feature-grid { grid-template-columns: 1fr; }
  .level-cards  { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__links { grid-template-columns: 1fr 1fr; }

  .coach-search__filters { grid-template-columns: 1fr; }

  .section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .site-footer__links { grid-template-columns: 1fr; }
  .login-card { padding: 28px 20px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   Phase 9 — the board on the About page, and the contact form's board list.
   ════════════════════════════════════════════════════════════════════════════ */

.director-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.director-card {
	background: #fff;
	border: 1px solid var(--border, #e0e0e0);
	border-radius: 8px;
	padding: 24px 22px;
	text-align: center;
	display: flex;
	flex-direction: column;
}

/* No photographs — the board declined them for now — so the initials disc does
   the work a portrait would, and keeps the cards from reading as unfinished. */
.director-card__initials {
	width: 62px;
	height: 62px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--navy, #132a60);
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: .04em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.director-card__name {
	margin: 0 0 4px;
	font-size: 1.0625rem;
	color: var(--navy, #132a60);
}

.director-card__role {
	margin: 0 0 14px;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--accent-dark, #437576);
}

.director-card__creds {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
}

.director-card__creds li {
	background: var(--bg-light, #f4f7fb);
	border-radius: 99px;
	padding: 4px 11px;
	font-size: .75rem;
	color: #334155;
}

.director-card__note {
	margin: auto 0 0;
	font-size: .875rem;
	line-height: 1.55;
	color: var(--text-muted, #64748b);
}

.director-vacancy {
	margin: 22px 0 0;
	padding: 14px 18px;
	background: var(--bg-light, #f4f7fb);
	border-radius: 8px;
	text-align: center;
	font-size: .9375rem;
	color: var(--text-muted, #64748b);
}

.contact-board {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: .875rem;
}

.contact-board li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
	border-bottom: 1px solid var(--border, #e0e0e0);
}

.contact-board li:last-child { border-bottom: 0; }

.contact-board__role { color: var(--text-muted, #64748b); }
.contact-board__name { font-weight: 600; color: var(--navy, #132a60); text-align: right; }
.contact-board__name.is-vacant { font-weight: 400; font-style: italic; color: var(--text-muted, #64748b); }

/* The contact form's honeypot. Kept out of the layout and out of the
   accessibility tree, but never `display:none` — some bots skip those. */
.ebcs-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.page-content--plain { padding-top: 40px; }

@media (max-width: 900px) {
	.director-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.director-grid { grid-template-columns: 1fr; }
	.contact-board li { flex-direction: column; gap: 2px; }
	.contact-board__name { text-align: left; }
}

/* ============================================================
   Home page warm-up — September 2026
   ------------------------------------------------------------
   The public site was structurally fine but cold: one photograph
   in the hero, buried under a 0.80 navy wash, and then nothing
   but white and pale blue all the way down. Everything below is
   about putting the Society's own photography to work — real
   greens, real coaches, real sessions — without touching the
   navy design system it sits inside.

   Photographs live in assets/images/photos/ and came off the
   old CMSMS site.
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
/* The old overlay was a flat 0.78–0.82 navy, which is why the
   photograph read as texture rather than as a picture. This is
   dark where it needs to be — behind the nav, behind the copy,
   and at the foot where the next section meets it — and clear
   through the middle where the green shows. The radial is doing
   the real work: it darkens only the ellipse the centred text
   sits in, so contrast is held without flattening the image. */
.hero--photo .hero__video-overlay {
  background:
    radial-gradient(ellipse 78% 62% at 50% 52%, rgba(9,20,48,0.72) 0%, rgba(9,20,48,0.10) 100%),
    linear-gradient(180deg, rgba(9,20,48,0.86) 0%, rgba(13,29,67,0.34) 38%,
                            rgba(13,29,67,0.40) 62%, rgba(9,20,48,0.88) 100%);
}
.hero--photo { min-height: 620px; }
.hero--photo .hero__photo { transform: scale(1.02); }
.hero--photo .hero__title,
.hero--photo .hero__subtitle,
.hero--photo .hero__eyebrow { text-shadow: 0 2px 18px rgba(6,15,38,0.55); }
.hero--photo .hero__title { font-size: clamp(2.4rem, 5vw, 3.6rem); }

/* A thin accent rule under the hero, so it lands on the banner
   rather than simply stopping. */
.hero--photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--navy-light) 50%, var(--accent) 100%);
  z-index: 1;
}

/* ── Photographs in the two-column band ─────────────────────── */
.two-col__image .ebcs-photo {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(13,29,67,0.18);
}
/* An accent corner, so the photograph is framed rather than
   floating in the white. */
.two-col__figure { position: relative; }
.two-col__figure::before {
  content: "";
  position: absolute;
  left: -14px; top: -14px;
  width: 96px; height: 96px;
  border-left: 4px solid var(--accent);
  border-top: 4px solid var(--accent);
  border-radius: 12px 0 0 0;
}
.two-col__caption {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── Level cards, with a photograph each ────────────────────── */
.level-card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.level-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.level-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.level-card--photo:hover .level-card__media img { transform: scale(1.05); }
.level-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,29,67,0.05) 0%, rgba(13,29,67,0.55) 100%);
}
/* The L1/L2/L3 disc moves onto the photograph, which is what
   makes the card read as one object rather than two stacked. */
.level-card--photo .level-card__badge {
  position: absolute;
  left: 20px; bottom: -22px;
  z-index: 2;
  margin: 0;
  border: 3px solid var(--white);
  box-shadow: 0 6px 18px rgba(13,29,67,0.28);
}
.level-card__content { padding: 38px 24px 26px; }

/* ── A photographic band, for the journey ───────────────────── */
.photo-band {
  position: relative;
  padding: 88px 0;
  color: var(--white);
  overflow: hidden;
}
.photo-band__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.photo-band__scrim {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, rgba(9,20,48,0.94) 0%, rgba(13,29,67,0.86) 45%, rgba(13,29,67,0.62) 100%);
}
.photo-band > .container { position: relative; z-index: 1; }
.photo-band .section__title,
.photo-band h2 { color: var(--white); }
.photo-band .section__label { color: var(--accent); }
.photo-band .section__intro { color: rgba(255,255,255,0.86); }

.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.journey__step {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 24px 22px;
  backdrop-filter: blur(2px);
}
.journey__num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 0.9375rem;
  margin-bottom: 14px;
}
.journey__step h4 { color: var(--white); font-size: 1.0625rem; margin-bottom: 8px; }
.journey__step p  { color: rgba(255,255,255,0.82); font-size: 0.9375rem; line-height: 1.55; margin: 0; }

/* ── Why-join, given a photograph to sit beside ─────────────── */
.benefits-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.benefits-split__media { position: sticky; top: 100px; }
.benefits-split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(13,29,67,0.18);
}
.benefits-split .feature-grid { grid-template-columns: repeat(2, 1fr); }

/* ── CTA strip, over a photograph ───────────────────────────── */
.cta-strip--photo { position: relative; overflow: hidden; background: var(--navy-dark); }
.cta-strip--photo .cta-strip__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.cta-strip--photo .cta-strip__scrim {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(9,20,48,0.90) 0%, rgba(13,29,67,0.80) 100%);
}
.cta-strip--photo > .container { position: relative; z-index: 1; }

/* ── News cards without a thumbnail ─────────────────────────── */
/* An article with no featured image used to collapse to a bare
   text card, so a three-up row could contain two pictures and a
   gap. The fallback keeps the row even. */
.post-card__thumb--fallback {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.post-card__thumb--fallback img { width: 100%; height: 100%; object-fit: cover; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .journey { grid-template-columns: repeat(2, 1fr); }
  .benefits-split { grid-template-columns: 1fr; gap: 32px; }
  .benefits-split__media { position: static; }
  .benefits-split__media img { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .journey { grid-template-columns: 1fr; }
  .benefits-split .feature-grid { grid-template-columns: 1fr; }
  .hero--photo { min-height: 520px; }
  .two-col__figure::before { display: none; }
}

/* ── Fixes found by looking at the rendered page ─────────────── */

/* `.btn--white` is only defined inside `.hero` and `.cta-strip`, so on the
   new photographic band it fell back to the outline button — white text on
   a pale scrim, effectively invisible. */
.photo-band .btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.photo-band .btn--white:hover { background: rgba(255,255,255,0.9); color: var(--navy-dark); }
.photo-band .btn--white-outline { color: var(--white); border-color: rgba(255,255,255,0.6); }

/* The hero photograph is a wide green: the players and the rink are in the
   upper half and the foreground is empty grass, so a centred crop landed on
   somebody's trouser leg. Bias the crop upwards. */
.hero--photo .hero__photo { object-position: 50% 42%; }

/* `.two-col` centres its columns, so a tall portrait photograph pushed the
   text into the middle and left a hole above it. Cap the photograph at the
   text's own height and top-align the pair. */
.two-col:has(.two-col__figure) { align-items: start; }
.two-col__figure .ebcs-photo { max-height: 460px; }

/* The journey band's photograph is busy in places; deepen the scrim behind
   the cards so the copy holds up wherever it lands. */
.photo-band__scrim {
  background: linear-gradient(120deg, rgba(9,20,48,0.95) 0%, rgba(13,29,67,0.90) 50%, rgba(13,29,67,0.78) 100%);
}
.journey__step { background: rgba(9,20,48,0.42); border-color: rgba(255,255,255,0.22); }

/* ── Post-meeting updates, Sep 2026 ──────────────────────────── */

/* The three routes under the hero buttons (board, Sep 2026): which button is
   for whom, in one line each. */
.hero__routes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin: 18px auto 0;
  max-width: 760px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.82);
  text-shadow: 0 2px 14px rgba(6,15,38,0.55);
}
.hero__routes strong { color: var(--white); }

/* `.btn--white-outline` was only styled inside `.hero` and `.photo-band`, so
   on a CTA strip it fell back to the plain outline button. */
.cta-strip .btn--white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.cta-strip .btn--white-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* The Society's postal address, under the footer tagline. */
.site-footer__address {
  font-style: normal;
  font-size: 0.8125rem;
  line-height: 1.6;
  margin-top: 10px;
  color: rgba(255,255,255,0.7);
}

/* The sign-in card now offers two routes, one per line. */
.login-card__register p { margin: 0 0 6px; }

/* ── Homepage welcome + free guides (28 Sep 2026) ───────────── */
.home-welcome__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.home-welcome__grid--single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.home-welcome__message .page-body h2 { font-size: 1.125rem; margin: 20px 0 6px; }
.home-welcome__guides { padding: 28px; }
.home-welcome__guides .card__title { margin-bottom: 4px; }
.home-welcome__guides .text-muted { font-size: 0.875rem; margin-bottom: 16px; }
.home-welcome__guides .resource-item { align-items: center; gap: 12px; }
.home-welcome__more { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--accent-dark); }
@media (max-width: 900px) { .home-welcome__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
