/* ══════════════════════════════════════════════════════════════════
   Seminars & Training — Sapphire Clinics East
   Public Hub · seminars.sapphireclinicseast.org

   Brand palette (2026.06 — Verdana brand · matched to verdanarehab.com):
     --narra    #244952   primary deep teal  (verdana dark-teal)
     --moss     #4A8073   secondary teal     (verdana teal)
     --sage     #5E837A   tertiary soft teal
     --sage-soft#CBD9AE   light blue         (verdana light-blue)
     --clay     #C69849   accent             (verdana orange)
     --sun      #FDF6EE   accent light       (verdana cream)
     --sun-deep #CF9D88   deep teal accent
     --paper    #F7FAFB   neutral ground     (verdana off-white)
     --ink      #1C2B30   type / fine rules  (verdana charcoal)

   Pairings used:
     Narra + Paper — default, calmest read
     Sage  + Paper — section openers, secondary surfaces
     Narra + Sun   — hero moment
     Moss  + Clay  — reserved editorial accent

   Fonts — system sans, matched to verdanarehab.com:
     system-ui / -apple-system / Segoe UI / Roboto — all text
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* Aura Health Institute palette — #244952 deep teal / #4a8073 teal-green /
     #c69849 gold / #cf9d88 terracotta / #edf3d9 cream */
  --narra:      #244952;
  --narra-deep: #17333B;
  --moss:       #4A8073;
  --sage:       #5E837A;
  --sage-soft:  #CBD9AE;
  --clay:       #C69849;
  --clay-deep:  #AD8238;
  --sun:        #EDF3D9;
  --sun-deep:   #CF9D88;

  --paper:      #F8FAEF;
  --paper-2:    #EDF3D9;
  --paper-3:    #DBE5C4;

  --ink:        #223038;
  --ink-soft:   #384A50;
  --mid:        #5F726C;

  --sage-tint:  rgba(74, 128, 115, 0.16);
  --moss-tint:  rgba(36, 73, 82, 0.10);
  --clay-tint:  rgba(198, 152, 73, 0.16);
  --sun-tint:   rgba(237, 243, 217, 0.50);

  --radius:     14px;
  --radius-sm:  10px;
  --max-w:      960px;

  --shadow:     0 2px 14px rgba(23, 51, 59, 0.06);
  --shadow-lg:  0 10px 32px rgba(23, 51, 59, 0.12);

  --font-display: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body:    system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--clay); text-decoration: none; }
a:hover { color: var(--clay-deep); }

/* ── Header — Aura gradient (coral → sage) ───────────────────
   Diagonal blend lifted from the Aura Academy marketing creative:
   coral / dusty rose at the top-left flowing into soft sage at the
   bottom-right, with a warm cream halo through the middle and thin
   sand orbital outlines for that airy, editorial feel.            */
.site-header {
  background:
    /* soft light halo through the centre */
    radial-gradient(900px 360px at 50% 35%, rgba(247, 250, 244, 0.22), transparent 60%),
    /* deep-teal lift in the top-left */
    radial-gradient(700px 360px at 8% 0%, rgba(36, 73, 82, 0.55), transparent 60%),
    /* teal-green settle in the bottom-right */
    radial-gradient(900px 420px at 100% 110%, rgba(74, 128, 115, 0.50), transparent 65%),
    /* the underlying deep-teal → teal-green diagonal */
    linear-gradient(135deg,
      #244952 0%,
      #2F5D54 38%,
      #3C7265 72%,
      #4A8073 100%);
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  /* Slightly stronger shadow once the page is scrolled, so the header
     reads as floating above the content instead of stacking flat. */
  box-shadow: 0 8px 22px -10px rgba(15, 35, 42, 0.30);
}
/* Two thin sand-outlined orbital rings — echoing the concentric
   circles in the Aura Academy creative. Both purely decorative. */
.site-header::before {
  content: '';
  position: absolute;
  top: -240px;
  right: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(247, 250, 251, 0.28);
  border-radius: 50%;
  pointer-events: none;
}
.site-header::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -260px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(247, 250, 251, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.header-brand-zone {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.header-logo {
  height: 54px;
  width: auto;
  flex-shrink: 0;
  /* Cream badge so the green Aura wordmark reads clearly on the teal header. */
  background: var(--sun);
  border-radius: 13px;
  padding: 7px 14px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(15, 35, 42, 0.16);
}
.header-text {}
.header-brand {
  font-family: var(--font-display);
  color: #fff;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 3px;
  text-shadow: 0 1px 2px rgba(15, 35, 42, 0.22);
}
.header-eyebrow {
  font-family: var(--font-display);
  color: var(--narra);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
  opacity: 0.85;
}
.header-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.014em;
  margin: 0;
  text-shadow: 0 1px 2px rgba(15, 35, 42, 0.18);
}
.header-sub {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12.5px;
  margin-top: 4px;
  line-height: 1.45;
  max-width: 340px;
  font-weight: 400;
  text-shadow: 0 1px 1px rgba(15, 35, 42, 0.12);
}

/* CTA cards on the upper right — side-by-side so the header stays a
   shallow band instead of a tall stack. */
.header-ctas {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* ── Account widget — rightmost zone ───────────────────────────── */
.header-account {
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}
.acct-loggedout {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.acct-label {
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.acct-btn-row { display: flex; gap: 6px; }
.acct-btn {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s ease-out, transform 0.12s ease-out, box-shadow 0.16s ease-out, color 0.16s ease-out;
}
.acct-btn-ghost {
  background: rgba(247, 250, 251, 0.12);
  color: #fff;
  border: 1px solid rgba(247, 250, 251, 0.55);
}
.acct-btn-ghost:hover {
  background: rgba(247, 250, 251, 0.22);
  transform: translateY(-1px);
}
.acct-btn-solid {
  background: var(--clay);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 2px 8px rgba(198, 152, 73, 0.30);
}
.acct-btn-solid:hover {
  background: var(--clay-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(198, 152, 73, 0.46);
}
.acct-btn:active { transform: scale(0.98); }

/* Logged-in chip + dropdown */
.acct-loggedin { position: relative; }
/* The [hidden] attribute must win over the display rules above so the
   widget can switch between logged-out buttons and the signed-in chip. */
.acct-loggedout[hidden], .acct-loggedin[hidden] { display: none !important; }
.acct-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: rgba(247, 250, 251, 0.14);
  border: 1px solid rgba(247, 250, 251, 0.50);
  color: #fff;
  cursor: pointer;
  transition: background 0.16s ease-out;
}
.acct-chip:hover { background: rgba(247, 250, 251, 0.24); }
.acct-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--clay);
  background-size: cover;
  background-position: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.acct-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acct-caret { font-size: 10px; opacity: 0.85; }
.acct-menu {
  position: fixed;
  min-width: 168px;
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  box-shadow: 0 12px 30px -8px rgba(15, 35, 42, 0.30);
  padding: 6px;
  z-index: 60;
}
.acct-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}
.acct-menu-item:hover { background: var(--paper, #f7fafb); color: var(--narra); }

/* ── Verify-status banner ──────────────────────────────────────── */
.verify-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 18px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
}
.verify-banner[hidden] { display: none; }
.verify-banner-ok  { background: #E8F6EE; color: #1B6B3A; border-bottom: 1px solid #BFE3CC; }
.verify-banner-err { background: #FCEDE9; color: #A23A22; border-bottom: 1px solid #F3CBBF; }
.verify-banner-close {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
}
.verify-banner-close:hover { opacity: 1; }

/* ── Auth modal (Sign in / Sign up) ────────────────────────────── */
.auth-card { max-width: 560px; width: 100%; }
.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--paper, #f7fafb);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 999px;
  padding: 4px;
  /* Right room so the close (×) button doesn't overlap the Sign up tab. */
  margin: 4px 44px 20px 0;
}
.auth-tab {
  flex: 1;
  padding: 9px 14px;
  border: none;
  background: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--sage, #5E837A);
  cursor: pointer;
  transition: background 0.16s ease-out, color 0.16s ease-out;
}
.auth-tab.active { background: var(--narra); color: #fff; }
.auth-form { display: block; }
.auth-form[hidden] { display: none; }
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-top: 6px;
}
.auth-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.auth-grid .auth-field { margin-bottom: 0; }
.auth-field-full { grid-column: 1 / -1; }
.auth-field label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.auth-field .req { color: var(--clay); }
.auth-field input,
.auth-field select {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.auth-field input:focus,
.auth-field select:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(36, 73, 82, 0.14);
}
.auth-hint {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--sage, #5E837A);
  margin: 14px 0 0;
  line-height: 1.45;
}
.auth-msg {
  font-family: var(--font-body);
  font-size: 13px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 9px;
  line-height: 1.4;
}
.auth-msg-ok  { background: #E8F6EE; color: #1B6B3A; }
.auth-msg-err { background: #FCEDE9; color: #A23A22; }
.auth-submit {
  width: 100%;
  margin-top: 18px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: var(--clay);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(198, 152, 73, 0.32);
  transition: background 0.16s ease-out, transform 0.12s ease-out;
}
.auth-submit:hover { background: var(--clay-deep); transform: translateY(-1px); }
.auth-submit:disabled { opacity: 0.7; cursor: default; transform: none; }
.auth-switch {
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--sage, #5E837A);
  margin: 14px 0 0;
}
.auth-switch button {
  background: none;
  border: none;
  color: var(--narra);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
}
.auth-switch button:hover { text-decoration: underline; }
.header-ctas .header-cta-card {
  width: 202px;
}

/* Header CTA — wrapped in a Sun-tinted glass card. Each card stacks
   text on top, button below, so the card stays narrow without making
   text wrap into 4+ lines. */
.header-cta-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  padding: 7px 12px;
  background:
    linear-gradient(135deg,
      rgba(247, 250, 251, 0.10) 0%,
      rgba(253, 246, 238, 0.20) 100%);
  border: 1px solid rgba(253, 246, 238, 0.55);
  border-radius: 12px;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.header-cta-card-row {
  /* The icon + text live on a single row at the top of the card.
     The button sits below as a full-width pill. Cleaner & narrower
     than the previous icon | text | button single-row layout. */
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.header-cta-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 246, 238, 0.30);
  color: var(--sun);
  font-size: 12px;
  flex-shrink: 0;
  border: 1px solid rgba(253, 246, 238, 0.50);
  margin-top: 1px;
}
.header-cta-body { flex: 1; min-width: 0; }
.header-cta-text {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.86);
  font-size: 11.5px;
  line-height: 1.28;
  margin: 0;
  font-weight: 400;
}
.header-cta-text-em {
  /* Inline (not its own line) so the card stays to ~2 text lines + button. */
  color: var(--sun);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: -0.005em;
  margin-left: 3px;
  white-space: nowrap;
}
.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  background: var(--clay);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 2px 8px rgba(198, 152, 73, 0.30);
  transition: background 0.18s ease-out, transform 0.12s ease-out, box-shadow 0.18s ease-out;
}
.header-cta-btn:hover {
  background: var(--clay-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(198, 152, 73, 0.46);
}
.header-cta-btn:active { transform: scale(0.98); }
.header-cta-arrow {
  display: inline-block;
  transition: transform 0.18s ease-out;
}
.header-cta-btn:hover .header-cta-arrow { transform: translateX(2px); }

/* Alternate CTA card — Sage-tinted so the two stacked cards read as
   distinct callouts (Apply / Sign-up) and don't look like duplicates. */
.header-cta-card-alt {
  background:
    linear-gradient(135deg,
      rgba(247, 250, 251, 0.10) 0%,
      rgba(74, 128, 115, 0.30) 100%);
  border-color: rgba(74, 128, 115, 0.55);
}
.header-cta-icon-alt {
  background: rgba(74, 128, 115, 0.32);
  color: var(--sun);
  border-color: rgba(74, 128, 115, 0.55);
}
.header-cta-btn-alt {
  background: var(--narra);
  color: #fff;
  box-shadow: 0 2px 10px rgba(23, 51, 59, 0.36);
  font-family: var(--font-display);
  cursor: pointer;
}
.header-cta-btn-alt:hover {
  background: var(--moss);
  box-shadow: 0 4px 16px rgba(23, 51, 59, 0.46);
}

/* ═══════════════════════════════════════════════════════════════
   Filter bar — sits under the sticky header on the list view.
   Sage-bordered card with select dropdowns; collapses on mobile
   into a single "Filter seminars" toggle.
   ═══════════════════════════════════════════════════════════════ */
.filter-bar {
  background: #fff;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}
.filter-bar.filter-bar-active {
  border-color: rgba(74, 128, 115, 0.55);
  box-shadow: 0 4px 18px rgba(74, 128, 115, 0.16);
}
.filter-bar-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
}
.filter-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto;
  gap: 12px 14px;
  flex: 1;
  align-items: end;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.filter-label {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--moss);
}
.filter-select {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--paper-3);
  border-radius: var(--radius-sm);
  padding: 9px 32px 9px 12px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%226%22%20viewBox%3D%220%200%2010%206%22%3E%3Cpath%20fill%3D%22%2326554B%22%20d%3D%22M0%200l5%206%205-6z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
  width: 100%;
}
.filter-select:hover  { border-color: var(--sage); }
.filter-select:focus  { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(74, 128, 115, 0.18); }

.filter-group-toggle {
  align-self: end;
  padding-bottom: 8px;
}
.filter-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  user-select: none;
}
.filter-checkbox-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.filter-checkbox-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--paper-3);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease-out, border-color 0.15s ease-out;
  flex-shrink: 0;
}
.filter-checkbox-label:hover .filter-checkbox-mark { border-color: var(--sage); }
.filter-checkbox-label input:checked + .filter-checkbox-mark {
  background: var(--narra);
  border-color: var(--narra);
}
.filter-checkbox-label input:checked + .filter-checkbox-mark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(0, -1px);
}
.filter-checkbox-label input:focus-visible + .filter-checkbox-mark {
  box-shadow: 0 0 0 3px rgba(74, 128, 115, 0.22);
}

.filter-clear {
  align-self: end;
  padding: 8px 16px;
  background: transparent;
  border: 1.5px solid var(--paper-3);
  color: var(--moss);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
  white-space: nowrap;
}
.filter-clear:hover {
  background: var(--sage-tint);
  border-color: var(--sage);
  color: var(--narra);
}

/* Mobile toggle — hidden on desktop */
.filter-mobile-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--narra);
  padding: 4px 0;
  cursor: pointer;
}
.filter-mobile-toggle-label { flex: 1; text-align: left; }
.filter-mobile-toggle-count {
  background: var(--narra);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 7px;
  min-width: 18px;
  text-align: center;
}
.filter-mobile-toggle-chevron {
  font-size: 14px;
  color: var(--sage);
  transition: transform 0.18s ease-out;
}

/* Filter empty-state — when filters yield zero results */
.filter-empty-state { margin-top: 8px; }

/* ── Main ───────────────────────────────────────────────────── */
.main {
  flex: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

/* ── Events Header ──────────────────────────────────────────── */
.events-header {
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--paper-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--narra);
  letter-spacing: -0.012em;
  margin-bottom: 6px;
}
.events-subtitle {
  font-family: var(--font-body);
  color: var(--mid);
  font-size: 14px;
  line-height: 1.55;
  max-width: 560px;
}

/* ── Loading ────────────────────────────────────────────────── */
.loading-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--mid);
  font-family: var(--font-body);
  font-size: 14px;
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--paper-3);
  border-top-color: var(--sage);
  border-radius: 50%;
  animation: spin .75s linear infinite;
  margin: 0 auto 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Empty state ────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--paper-3);
  box-shadow: var(--shadow);
}
.empty-icon {
  font-size: 44px;
  margin-bottom: 14px;
  display: block;
  filter: saturate(0.7);
}
.empty-state h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--narra);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.empty-state p {
  font-family: var(--font-body);
  color: var(--mid);
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   SEMINAR CARDS — Paper ground · Narra date column · Sage hover
   ═══════════════════════════════════════════════════════════════ */
.seminar-card {
  background: #fff;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  margin-bottom: 18px;
  cursor: pointer;
  display: flex;
  overflow: hidden;
  transition: border-color 0.22s ease-out, box-shadow 0.22s ease-out, transform 0.22s ease-out;
  box-shadow: var(--shadow);
}
.seminar-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Date column — Narra gradient with a subtle Sun under-glow */
.card-date-col {
  width: 90px;
  min-width: 90px;
  background:
    radial-gradient(180px 90px at 50% 100%, rgba(253, 246, 238, 0.25), transparent 70%),
    linear-gradient(180deg, var(--narra) 0%, var(--narra-deep) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 8px;
  color: #fff;
  text-align: center;
  flex-shrink: 0;
  position: relative;
}
.card-date-col::after {
  /* slim Sun rule, the only warm element on the date column */
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 14px;
  height: 1px;
  background: rgba(253, 246, 238, 0.55);
}
.card-month {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sun);
  line-height: 1;
  margin-bottom: 8px;
}
.card-day {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.card-year {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
  line-height: 1;
  letter-spacing: 0.04em;
}

/* Card body */
.card-body {
  flex: 1;
  padding: 22px 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* Format pill — Sage-tint base, Sun-tint for hybrid (only warm hint) */
.format-pill {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.format-virtual,
.format-face-to-face {
  background: var(--sage-tint);
  color: var(--moss);
  border-color: rgba(74, 128, 115, 0.28);
}
.format-hybrid {
  background: var(--sun-tint);
  color: var(--sun-deep);
  border-color: rgba(253, 246, 238, 0.42);
}

/* Fee badge — quiet by default, Clay reserved for paid emphasis */
.fee-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.fee-free {
  background: var(--moss-tint);
  color: var(--narra);
  border-color: rgba(36, 73, 82, 0.20);
}
.fee-paid {
  background: var(--clay-tint);
  color: var(--clay-deep);
  border-color: rgba(198, 152, 73, 0.30);
}
.fee-points {
  background: var(--sun-tint);
  color: var(--sun-deep);
  border-color: rgba(253, 246, 238, 0.42);
}
.slots-full {
  background: var(--paper-2);
  color: var(--mid);
  border-color: var(--paper-3);
}

/* Discipline tag — neutral Paper-2 */
.discipline-tag {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--mid);
  background: var(--paper-2);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid var(--paper-3);
}

/* Session classification — Webinar / Workshop / Conference / etc.
   Narra-tinted to distinguish from the Sage format pill (Virtual / In
   person / Hybrid) and from the CPD academic badge. */
.class-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--narra);
  background: var(--moss-tint);
  border: 1px solid rgba(36, 73, 82, 0.28);
  padding: 3px 11px;
  border-radius: 999px;
  cursor: help;
}

/* CPD classification badge — Sage tones for an "academic credit" feel,
   distinct from the format pill (sage-tint) and discipline tag (paper-2). */
.cpd-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--narra);
  background: linear-gradient(135deg, rgba(74, 128, 115, 0.18), rgba(36, 73, 82, 0.16));
  border: 1px solid rgba(36, 73, 82, 0.32);
  padding: 3px 11px;
  border-radius: 999px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 600;
  color: var(--narra);
  line-height: 1.3;
  letter-spacing: -0.012em;
  margin: 4px 0 0;
}

/* ── Section subheads ─────────────────────────────────────────
   Three tense-based buckets ("Upcoming" / "To be announced" /
   "Past seminars"). Subhead sits between sections with a faint
   rule on the right so the eye reads it as a sectional divider. */
.events-subhead {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 18px 0 12px;
}
.events-subhead:first-child { margin-top: 4px; }
.events-subhead-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--narra);
  margin: 0;
  white-space: nowrap;
}
.events-subhead-count {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--mid);
}
.events-subhead::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--paper-3);
}
.events-subhead-tbd  .events-subhead-title { color: var(--sun-deep); }
.events-subhead-past .events-subhead-title { color: var(--mid); }

/* Past-seminar cards — calm, archival treatment. No hover lift, no
   pointer cursor, dimmed greens; the date column reads grey instead
   of Narra so the eye groups them as history. */
.seminar-card-past { cursor: default; opacity: 0.92; }
.seminar-card-past:hover {
  transform: none;
  box-shadow: var(--shadow);
  border-color: var(--paper-3);
}
.seminar-card-past .card-date-col {
  background: linear-gradient(180deg, #7C8A8F 0%, #5A6A6F 100%);
}
.seminar-card-past .card-date-col::after { background: rgba(255, 255, 255, 0.18); }
.seminar-card-past .card-month  { color: rgba(255, 255, 255, 0.65); }
.seminar-card-past .card-day,
.seminar-card-past .card-year   { color: #fff; }
.seminar-card-past .btn-register-card {
  background: var(--paper-2);
  color: var(--mid);
  cursor: default;
  box-shadow: none;
}
.seminar-card-past .btn-register-card:disabled {
  background: var(--paper-2);
  color: var(--mid);
}

/* ── Per-seminar countdown ──────────────────────────────────────
   Slim card-internal strip with four pill blocks (Days · Hrs · Mins
   · Secs). Aesthetic: cream gradient ground, Narra numerals in
   tabular-nums Montserrat, Sun-deep eyebrow, and a soft pulse on the
   seconds block so the timer reads as alive.                       */
.card-countdown {
  margin-top: 4px;
  position: relative;
  background:
    radial-gradient(220px 60px at 8% 50%, rgba(253, 246, 238, 0.18), transparent 70%),
    linear-gradient(135deg, var(--paper-2) 0%, var(--paper) 60%, rgba(247, 250, 251, 0.92) 100%);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  overflow: hidden;
}
.card-countdown::before {
  /* Sun left rail to set the timer apart from the speaker block above. */
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--sun) 0%, var(--clay) 100%);
}
.cc-rail {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-left: 6px;
}
.cc-eyebrow {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--clay-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.cc-eyebrow-icon {
  font-size: 13px;
  line-height: 1;
  color: var(--sun-deep);
}
.cc-blocks {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cc-block {
  background: #fff;
  border: 1px solid var(--paper-3);
  border-radius: 8px;
  padding: 5px 10px 4px;
  min-width: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  box-shadow: inset 0 -1px 0 rgba(23, 51, 59, 0.04);
}
.cc-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--narra);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
.cc-lbl {
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 600;
  color: var(--mid);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-top: 3px;
}
.cc-sep {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: rgba(198, 152, 73, 0.45);
  margin: 0 -1px;
  align-self: flex-start;
  padding-top: 6px;
  user-select: none;
}

/* Subtle pulse on the seconds block so the timer reads as live. */
@keyframes cc-pulse {
  0%, 100% { box-shadow: inset 0 -1px 0 rgba(23, 51, 59, 0.04), 0 0 0 0 rgba(198, 152, 73, 0.00); }
  50%      { box-shadow: inset 0 -1px 0 rgba(23, 51, 59, 0.04), 0 0 0 4px rgba(198, 152, 73, 0.12); }
}
.cc-block-pulse {
  border-color: rgba(253, 246, 238, 0.50);
  animation: cc-pulse 1.4s ease-in-out infinite;
}
.cc-block-pulse .cc-num { color: var(--clay-deep); }

/* Live state — once the seminar has started, replace blocks with a
   single calm "Happening now" eyebrow with a Sun pulse dot. */
.card-countdown-live {
  background:
    linear-gradient(135deg, rgba(253, 246, 238, 0.20) 0%, rgba(198, 152, 73, 0.14) 100%);
  border-color: rgba(253, 246, 238, 0.50);
}
.card-countdown-live::before { background: var(--sun); }
.cc-eyebrow-live { color: var(--clay-deep); }
.cc-eyebrow-live .cc-eyebrow-icon {
  color: var(--clay);
  animation: cc-live-pulse 1.2s ease-in-out infinite;
}
@keyframes cc-live-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

@media (max-width: 520px) {
  .card-countdown   { padding: 9px 12px; }
  .cc-rail          { gap: 10px; }
  .cc-eyebrow       { font-size: 9.5px; letter-spacing: 0.12em; }
  .cc-block         { min-width: 40px; padding: 4px 8px 4px; }
  .cc-num           { font-size: 16px; }
  .cc-lbl           { font-size: 8px; }
  .cc-sep           { font-size: 14px; padding-top: 5px; }
}

/* Recruitment hook strip — shown on every card so non-staff readers
   see "Free for Internal Staff" and have a reason to apply. Sun-tinted
   surface with Clay sparkle keeps it warm and inviting. */
.card-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--sun-tint);
  border: 1px solid rgba(253, 246, 238, 0.40);
  border-radius: var(--radius-sm);
  margin-top: 4px;
}
.card-perk-mark {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
  color: var(--clay);
}
.card-perk-text {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-soft);
}
.card-perk-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--narra);
  letter-spacing: -0.005em;
}
.card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--mid);
}
.card-details span { white-space: nowrap; }

/* Speaker block — Sage-tint surface, Moss left rail */
.card-speaker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--sage-tint);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--sage);
}
.speaker-thumb {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
  flex-shrink: 0;
}
.speaker-thumb-placeholder {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--narra);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: var(--sun);
  border: 1px solid rgba(253, 246, 238, 0.35);
}
.speaker-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--narra);
  letter-spacing: -0.005em;
}
.speaker-title {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--mid);
  margin-top: 2px;
}

.card-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}
.card-desc p {
  margin: 0 0 8px;
}
.card-desc p:last-child { margin-bottom: 0; }
.card-desc strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--narra);
  letter-spacing: -0.005em;
}

/* About-this-workshop card on the registration view */
.reg-description-card {
  background: #fff;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.reg-description-card::before {
  /* subtle Sage left rail to echo the seminar list cards */
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--sage);
}
.reg-desc-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 12px;
}
.reg-desc-heading-sub {
  margin-top: 22px;
}
.reg-desc-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.reg-desc-body p {
  margin: 0 0 12px;
}
.reg-desc-body p:last-child { margin-bottom: 0; }
.reg-desc-body strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--narra);
  letter-spacing: -0.005em;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--paper-3);
  margin-top: 4px;
  gap: 12px;
}
.slots-badge {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--mid);
  font-weight: 500;
}

.btn-register-card {
  padding: 10px 22px;
  background: var(--narra);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s ease-out, transform 0.12s ease-out, box-shadow 0.18s ease-out;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(23, 51, 59, 0.18);
}
.btn-register-card:hover {
  background: var(--moss);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(23, 51, 59, 0.28);
}
.btn-register-card:disabled {
  background: var(--paper-3);
  color: var(--mid);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Slots full state */
.seminar-card-full { opacity: 0.62; cursor: default; }
.seminar-card-full:hover {
  transform: none;
  box-shadow: var(--shadow);
  border-color: var(--paper-3);
}
.seminar-card-full .card-date-col {
  background: linear-gradient(180deg, #7C8A8F 0%, #5A6A6F 100%);
}
.seminar-card-full .card-date-col::after { background: rgba(255, 255, 255, 0.18); }
.seminar-card-full .card-month { color: rgba(255, 255, 255, 0.7); }

/* ═══════════════════════════════════════════════════════════════
   REGISTRATION SECTION
   ═══════════════════════════════════════════════════════════════ */
.registration-section { max-width: 700px; margin: 0 auto; }

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--paper-3);
  color: var(--narra);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  transition: background 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}
.back-btn:hover {
  background: var(--paper-2);
  border-color: var(--sage);
  color: var(--moss);
}

/* Registration event card — same Narra hero treatment, smaller */
.reg-event-card {
  background:
    radial-gradient(640px 260px at 50% 30%, rgba(247, 250, 251, 0.20), transparent 60%),
    radial-gradient(520px 280px at 8% 0%, rgba(36, 73, 82, 0.55), transparent 60%),
    radial-gradient(700px 320px at 100% 110%, rgba(74, 128, 115, 0.55), transparent 65%),
    linear-gradient(135deg,
      #4A8073 0%,
      #4A8073 38%,
      #4A8073 72%,
      #5E837A 100%);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 35, 42, 0.28);
}
.reg-event-card::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(247, 250, 251, 0.32);
  border-radius: 50%;
  pointer-events: none;
}
.reg-event-card::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -200px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(247, 250, 251, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.reg-event-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.014em;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.28;
  position: relative;
  z-index: 1;
}
.reg-event-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  z-index: 1;
}
.reg-event-details strong { color: #fff; font-weight: 600; }

/* Two-column layout inside the registration event card: title + details
   on the left, speaker photo block on the right. The speakers panel only
   appears when at least one speaker has an uploaded headshot. */
.reg-event-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.reg-event-main { flex: 1; min-width: 0; }
.reg-speakers {
  flex-shrink: 0;
  width: 150px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.reg-speaker {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.reg-speaker-photo {
  width: 130px;
  height: 130px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.30);
  background: rgba(255, 255, 255, 0.06);
  display: block;
}
.reg-speaker-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: var(--sun);
  background: rgba(253, 246, 238, 0.20);
}
.reg-speaker-caption { display: block; }
.reg-speaker-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.reg-speaker-title {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.35;
  margin-top: 4px;
}

/* About Speaker button — sits below the photo block on the dark
   Narra hero card. Sun-tinted glass so it reads as a soft secondary
   action, not a primary CTA. */
.reg-speaker-btn {
  width: 100%;
  margin-top: 4px;
  padding: 8px 14px;
  background: rgba(253, 246, 238, 0.16);
  color: var(--sun);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(253, 246, 238, 0.45);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out;
}
.reg-speaker-btn:hover {
  background: rgba(253, 246, 238, 0.28);
  color: #fff;
  border-color: rgba(253, 246, 238, 0.70);
}
.reg-speaker-btn[aria-expanded="true"] {
  background: rgba(253, 246, 238, 0.30);
  color: #fff;
}

/* About-Speaker modal — opens from the "About Speaker" pill under
   the photo. Centred dialog with a soft Narra backdrop, fades in. */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 43, 48, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.18s ease-out;
  overflow-y: auto;
}
.modal-overlay.modal-open { opacity: 1; }
.modal-overlay[hidden] { display: none; }

body.modal-locked { overflow: hidden; }

.modal-card {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  padding: 28px 32px 30px;
  box-shadow: 0 18px 48px rgba(28, 43, 48, 0.40);
  position: relative;
  transform: translateY(8px);
  transition: transform 0.20s cubic-bezier(0.34, 1.18, 0.64, 1);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.modal-overlay.modal-open .modal-card { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--paper-3);
  background: #fff;
  color: var(--mid);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
  font-family: var(--font-body);
}
.modal-close:hover {
  background: var(--paper-2);
  color: var(--narra);
  border-color: var(--sage);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 36px; /* leave room for the close button */
  margin-bottom: 18px;
}
.modal-photo-wrap {
  display: flex;
  flex-shrink: 0;
}
.modal-photo-wrap:empty { display: none; }
.modal-photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(23, 51, 59, 0.22);
}
.modal-photo + .modal-photo { margin-left: -16px; }

.modal-titles { flex: 1; min-width: 0; }
.modal-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 4px;
}
.modal-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.012em;
  color: var(--narra);
  margin: 0;
  line-height: 1.2;
}
.modal-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--mid);
  line-height: 1.4;
  margin: 6px 0 0;
}

.modal-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  padding-top: 14px;
  border-top: 1px solid var(--paper-3);
}
.modal-body p { margin: 0 0 12px; }
.modal-body p:last-child { margin-bottom: 0; }
.modal-body strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--narra);
  letter-spacing: -0.005em;
}

@media (max-width: 640px) {
  .modal-card    { padding: 24px 22px 26px; }
  .modal-header  { gap: 14px; }
  .modal-photo   { width: 64px; height: 64px; }
  .modal-title   { font-size: 17px; }
}

@media (max-width: 640px) {
  .reg-event-row { flex-direction: column; gap: 18px; }
  .reg-speakers  { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
  .reg-speaker   { flex: 1 1 auto; min-width: 130px; }
  .reg-speaker-photo { width: 110px; height: 110px; }
  .reg-speaker-btn { width: 100%; flex: 0 0 100%; margin-top: 4px; }
  .reg-about-speaker { padding: 22px 22px; }
}

/* Registration form card */
.reg-form-card {
  background: #fff;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.reg-form-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--narra);
  letter-spacing: -0.012em;
  margin-bottom: 4px;
}
.reg-subtitle {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--mid);
  margin-bottom: 28px;
  line-height: 1.55;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--mid);
  margin-bottom: 8px;
}
.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--paper-3);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
  outline: none;
  background: #fff;
  color: var(--ink);
}
.form-group input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(74, 128, 115, 0.18);
}
.form-group input::placeholder { color: var(--paper-3); }

/* Payment method tabs */
.payment-method-tabs { display: flex; gap: 8px; margin-bottom: 6px; }
.pmtab {
  flex: 1;
  padding: 12px;
  border: 1.5px solid var(--paper-3);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--mid);
  transition: all 0.15s ease-out;
}
.pmtab:hover { border-color: var(--sage); color: var(--moss); }
.pmtab-active {
  border-color: var(--sage);
  color: var(--narra);
  background: var(--sage-tint);
}

/* Reward validation */
.btn-check-points {
  padding: 12px 18px;
  background: var(--narra);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease-out;
}
.btn-check-points:hover    { background: var(--moss); }
.btn-check-points:disabled { background: var(--paper-3); color: var(--mid); cursor: not-allowed; }
.reward-error {
  font-family: var(--font-body);
  color: var(--clay-deep);
  background: var(--clay-tint);
  border: 1px solid rgba(198, 152, 73, 0.28);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  margin: 10px 0 0;
}
.reward-success {
  font-family: var(--font-body);
  color: var(--narra);
  background: var(--sage-tint);
  border: 1px solid rgba(74, 128, 115, 0.28);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  margin: 10px 0 0;
}

/* Payment notice — Sun-tint, calm and editorial */
.payment-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--sun-tint);
  border: 1px solid rgba(253, 246, 238, 0.42);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 18px;
}
.payment-notice-icon { font-size: 22px; flex-shrink: 0; line-height: 1; }
.payment-notice strong {
  font-family: var(--font-display);
  color: var(--narra);
  font-weight: 600;
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
}
.payment-notice p {
  font-family: var(--font-body);
  color: var(--ink-soft);
  font-size: 13px;
  margin: 0;
  line-height: 1.55;
}

/* Primary register submit — Clay, the single-point CTA */
.btn-register {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--clay);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s ease-out, transform 0.12s ease-out, box-shadow 0.18s ease-out;
  margin-top: 10px;
  box-shadow: 0 4px 14px rgba(198, 152, 73, 0.30);
}
.btn-register:hover {
  background: var(--clay-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(198, 152, 73, 0.38);
}
.btn-register:disabled {
  background: var(--paper-3);
  color: var(--mid);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Payment verify */
.payment-verify-section { padding: 20px 0; }
.verify-card {
  background: #fff;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: 64px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.verify-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--narra);
  letter-spacing: -0.012em;
  margin-bottom: 10px;
}
.verify-card p {
  font-family: var(--font-body);
  color: var(--mid);
  font-size: 14px;
}

/* Success */
.success-card {
  background: #fff;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: 56px 36px;
  text-align: center;
  box-shadow: var(--shadow);
}
.success-icon { font-size: 48px; margin-bottom: 18px; display: block; }
.success-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--narra);
  letter-spacing: -0.014em;
  margin-bottom: 14px;
}
.success-card > p {
  font-family: var(--font-body);
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.55;
}
.success-card ul {
  list-style: none;
  padding: 18px 28px;
  margin: 0 auto 28px;
  text-align: left;
  display: inline-block;
  background: var(--paper);
  border-radius: var(--radius-sm);
  border: 1px solid var(--paper-3);
}
.success-card li {
  font-family: var(--font-body);
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  border-bottom: 1px solid var(--paper-3);
}
.success-card li:last-child { border-bottom: none; }

.btn-back {
  display: inline-block;
  padding: 13px 32px;
  background: var(--narra);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s ease-out, transform 0.12s ease-out, box-shadow 0.18s ease-out;
  margin-top: 4px;
  box-shadow: 0 2px 8px rgba(23, 51, 59, 0.22);
}
.btn-back:hover {
  background: var(--moss);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(23, 51, 59, 0.30);
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--paper-3);
  padding: 24px;
  margin-top: auto;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy {
  font-family: var(--font-body);
  color: var(--mid);
  font-size: 12px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 3px;
  max-width: 380px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--mid);
}
.footer-contact-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 2px;
}
.footer-contact-line {
  line-height: 1.45;
}
.footer-contact a {
  color: var(--clay);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease-out;
}
.footer-contact a:hover { color: var(--clay-deep); text-decoration: underline; }

/* ── Responsive ─────────────────────────────────────────────── */
/* ── Tablet & narrow desktop (≤960px) — header & filter rebalance ── */
@media (max-width: 1080px) {
  .header-inner   { flex-wrap: wrap; row-gap: 18px; padding: 28px 22px 30px; }
  .header-brand-zone { order: 1; }
  .header-account {
    order: 2;
    margin-left: auto;
  }
  .header-ctas {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    order: 3;
    gap: 10px;
  }
  .header-ctas .header-cta-card {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 12px 14px;
  }
  .filter-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-group-toggle { grid-column: 1 / -1; }
  .filter-clear { grid-column: 1 / -1; justify-self: start; }
}

/* ── Mobile (≤520px) — stack the two CTA cards vertically when side-by-side feels too cramped ── */
@media (max-width: 520px) {
  .header-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .header-ctas .header-cta-card {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* ── Mobile (≤640px) — sticky-friendly header + collapsible filters ── */
@media (max-width: 640px) {
  /* Compact mobile header — hide the recruitment/notify CTA cards and the
     tagline so the header stays a shallow band (brand + account only). The
     "Apply" and notification sign-up remain available lower on the page. */
  .header-inner   { gap: 10px; padding: 14px 18px 14px; row-gap: 10px; }
  /* Stack the logo above the tagline so the tagline gets full width (no clip). */
  .header-brand-zone { flex-direction: column; align-items: flex-start; gap: 8px; }
  .header-text    { min-width: 0; }
  .header-logo    { height: 42px; }
  .header-brand   { font-size: 21px; margin-bottom: 1px; }
  .header-eyebrow { font-size: 10px; letter-spacing: 0.16em; margin-bottom: 3px; }
  .header-title   { font-size: 17px; }
  .header-sub     { font-size: 12.5px; margin-top: 0; line-height: 1.4; max-width: 330px; }
  .header-ctas    { display: none; }
  .header-account { margin-top: 2px; }
  .acct-loggedout { flex-direction: row; align-items: center; gap: 8px; }
  .acct-label     { display: none; }

  /* Filter bar collapses to a single toggle on mobile */
  .filter-bar { padding: 12px 14px; }
  .filter-bar-row { display: block; }
  .filter-mobile-toggle { display: flex; }
  .filter-bar .filter-fields { display: none; }
  .filter-bar.filter-bar-open .filter-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--paper-3);
  }
  .filter-bar.filter-bar-open .filter-mobile-toggle-chevron { transform: rotate(180deg); }
  .filter-group-toggle { padding-bottom: 0; grid-column: 1; }
  .filter-clear { grid-column: 1; justify-self: stretch; text-align: center; }

  .main           { padding: 28px 16px 56px; }

  .seminar-card   { flex-direction: column; }
  .card-date-col {
    width: 100%;
    flex-direction: row;
    padding: 12px 20px;
    gap: 10px;
    justify-content: flex-start;
    align-items: baseline;
  }
  .card-date-col::after { display: none; }
  .card-day      { font-size: 22px; }
  .card-month, .card-year { font-size: 11px; align-self: center; margin: 0; }
  .card-body     { padding: 18px 20px 18px; }
  .card-title    { font-size: 17px; }

  .auth-grid     { grid-template-columns: 1fr; }
  .acct-name     { max-width: 90px; }
  .form-row      { grid-template-columns: 1fr; }
  .reg-form-card { padding: 24px; }
  .reg-description-card { padding: 22px 22px 22px 22px; }
  .footer-inner  { justify-content: center; text-align: center; }
  .footer-contact { align-items: center; text-align: center; max-width: none; }
  .payment-notice{ flex-direction: column; }
  .back-btn      { margin-bottom: 18px; }
}
@media (max-width: 380px) {
  .header-logo  { height: 46px; }
  .header-brand { font-size: 21px; }
  .card-title   { font-size: 16px; }
  .header-title { font-size: 19px; }
}

/* ═══════════════════════════════════════════════════════════════
   Future Seminar/Training Notification — bottom-of-page signup
   ═══════════════════════════════════════════════════════════════ */
.notify-section {
  margin-top: 36px;
  scroll-margin-top: 200px; /* leave room under sticky header */
}
.notify-card {
  background: #fff;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.notify-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--clay) 0%, var(--sun) 100%);
}
.notify-header { margin-bottom: 24px; }
.notify-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 8px;
}
.notify-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--narra);
  letter-spacing: -0.014em;
  margin: 0 0 6px;
}
.notify-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--mid);
  line-height: 1.55;
  margin: 0;
}

.notify-form .form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--mid);
  margin-bottom: 8px;
}
.notify-form .form-group input,
.notify-form .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--paper-3);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}
.notify-form .form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%226%22%20viewBox%3D%220%200%2010%206%22%3E%3Cpath%20fill%3D%22%2326554B%22%20d%3D%22M0%200l5%206%205-6z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.notify-form .form-group input:focus,
.notify-form .form-group select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(74, 128, 115, 0.18);
}
.notify-form .form-group input::placeholder { color: var(--paper-3); }

.btn-notify-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--clay);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s ease-out, transform 0.12s ease-out, box-shadow 0.18s ease-out;
  box-shadow: 0 4px 14px rgba(198, 152, 73, 0.30);
  margin-top: 4px;
}
.btn-notify-submit:hover {
  background: var(--clay-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(198, 152, 73, 0.38);
}
.btn-notify-submit:disabled {
  background: var(--paper-3);
  color: var(--mid);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.notify-result {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  border: 1px solid transparent;
}
.notify-result-success {
  background: var(--sage-tint);
  border-color: rgba(74, 128, 115, 0.32);
  color: var(--narra);
}
.notify-result-error {
  background: var(--clay-tint);
  border-color: rgba(198, 152, 73, 0.32);
  color: var(--clay-deep);
}

@media (max-width: 640px) {
  .notify-card  { padding: 24px 22px; }
  .notify-title { font-size: 20px; }
}

/* ── Gold (--clay) CTA buttons use dark ink text for contrast ─────── */
.acct-btn-solid,
.auth-submit,
.header-cta-btn,
.btn-register-card,
.save-btn { color: var(--narra); }
.acct-btn-solid:hover,
.auth-submit:hover,
.header-cta-btn:hover,
.btn-register-card:hover { color: var(--narra); }
/* …but the alt CTA button has a DARK background — keep its text white. */
.header-cta-btn.header-cta-btn-alt,
.header-cta-btn.header-cta-btn-alt:hover { color: #fff; }
