:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #033f63;
  --muted: #5a6a87;
  --line: #d6e5f1;
  --primary: #388fcd;
  --primary-dark: #033f63;
  --accent: #a97c32;
  --purple: #915d9c;
  --green: #809c5d;
  --bg-soft: #ecf5fb;
  --bg-warm: #fff0c7;
  --ok: #166534;
  --ok-bg: #dcfce7;
  --err: #991b1b;
  --err-bg: #fee2e2;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Gotham", "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--primary); }

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 8px 12px;
  z-index: 30;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(3, 63, 99, 0.06);
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--muted);
}

.nav-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.brand {
  text-decoration: none;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 250px;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

nav a {
  text-decoration: none;
  color: #2f3c56;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

nav a[aria-current="page"] {
  color: var(--primary);
}

.btn,
.btn-secondary {
  display: inline-block;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
}

.btn:hover { background: var(--primary-dark); }

.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary-dark);
  padding: 9px 13px;
}

.hero {
  padding: 44px 0 30px;
  background: linear-gradient(180deg, var(--bg-soft), #ffffff);
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  margin: 0;
  font-family: "Goudy Old Style", "Garamond", "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
}

.hero p {
  margin: 14px 0 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.hero-lead {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-logo {
  width: 42px;
  height: auto;
  flex-shrink: 0;
}

.notice {
  margin: 14px 0 0;
  padding: 10px 12px;
  background: var(--bg-warm);
  border-left: 4px solid var(--accent);
  font-size: 14px;
}

.page {
  padding: 28px 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(3, 63, 99, 0.04);
}

.grid-2 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

h1, h2, h3 {
  color: var(--primary-dark);
}

h2 {
  font-family: "Goudy Old Style", "Garamond", "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 12px;
  font-weight: 500;
}
h3 { margin: 0 0 8px; }

.section-mini {
  margin-top: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 16px;
}

p { line-height: 1.6; }

.kicker {
  margin: 0 0 8px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 12px;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-meta {
  color: var(--muted);
  font-size: 14px;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

label {
  display: block;
  margin: 0 0 6px;
  font-weight: 700;
  color: #2a4266;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #bfd0e8;
  border-radius: 6px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-group { margin-bottom: 12px; }

.form-help {
  color: var(--muted);
  font-size: 13px;
}

.inline-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}

.inline-checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.alert {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 6px;
  font-weight: 700;
}

.alert-ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.alert-err {
  background: var(--err-bg);
  color: var(--err);
}

.quote {
  font-style: italic;
  border-left: 4px solid #ccd9ed;
  padding-left: 12px;
  margin: 0;
}

.site-footer {
  margin-top: 30px;
  background: var(--primary-dark);
  color: #d7e3f5;
  padding-top: 26px;
}

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

.site-footer h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
}

.site-footer a {
  color: #d7e3f5;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li { margin: 0 0 6px; }

.footer-bottom {
  border-top: 1px solid rgba(215, 227, 245, 0.2);
  padding: 12px 0 18px;
  margin-top: 16px;
  font-size: 14px;
}

.embed-wrap iframe {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 8px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 8px 6px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid #c3d4ee;
  background: var(--bg-soft);
  color: var(--primary-dark);
}

.pill-links a {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 8px 14px;
  border: 1px solid #b8cdea;
  border-radius: 999px;
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 700;
  background: #f5f9ff;
}

.trainer-grid {
  align-items: stretch;
}

.trainer-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trainer-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.trainer-name {
  margin: 0;
  font-size: 24px;
}

.trainer-role {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .header-cta {
    margin-bottom: 6px;
  }

  .brand-logo {
    width: 190px;
    height: auto;
  }

  .grid-2,
  .grid-3,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}
/* Trainers Grid and Card Styles */
.trainer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .trainer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .trainer-grid {
    grid-template-columns: 1fr;
  }
}

.trainer-card {
  background: #ffffff;
  border: 1px solid #e3edf5;
  border-radius: 14px;
  padding: 22px 18px 26px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.trainer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
}

.trainer-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e6f2fb;
  background: #f3f9ff;
}

.trainer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainer-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #163a59;
}

.trainer-bio {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #4b647a;
  margin-bottom: 14px;
}

.trainer-card .btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 8px;
}

.trainer-note {
  margin-top: 32px;
  text-align: center;
  font-size: 0.95rem;
  color: #5d7388;
}
