/* SailorMom — Heritage Maritime
   Palette and motifs derive from the burgee logo: cream paper, navy ink,
   coral lettering. Type: Bevan (vintage slab display) + Spectral (editorial
   serif). Self-hosted — see the @font-face block below + assets/fonts/. */

/* ── Self-hosted fonts (SIL OFL; files in assets/fonts/) ─────────────── */
@font-face {
  font-family: 'Bevan';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/bevan-400-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bevan';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/bevan-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/spectral-400i-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/spectral-400i-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/spectral-400-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/spectral-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/spectral-500-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/spectral-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/spectral-600-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/spectral-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/spectral-700-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/spectral-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper:      #f4ead2;   /* cream — the burgee field   */
  --paper-2:    #efe1c2;   /* deeper cream for panels    */
  --paper-3:    #e9d8b4;   /* deepest cream / chips       */
  --ink:        #1d3a5c;   /* navy — the burgee border   */
  --ink-2:      #13273f;   /* deep navy — shadows         */
  --coral:      #e0614c;   /* the SAILOR MOM lettering    */
  --coral-deep: #c1462f;   /* coral pressed               */
  --taupe:      #7c6f55;   /* warm muted text             */
  --tan-rule:   #c9b58c;   /* hairline on cream           */

  --shadow-hard: 4px 4px 0 var(--ink-2);

  --serif:   "Spectral", Georgia, "Times New Roman", serif;
  --display: "Bevan", "Spectral", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: #ffffff;
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(140% 120% at 50% 120%, rgba(19,39,63,0.06), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* faint paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* ── Header ───────────────────────────────────────────────── */
.site-header { background: var(--ink); color: var(--paper); }
.site-header .inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand img {
  height: 58px; width: auto; display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}
.brand .wordmark {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--paper);
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand .wordmark small {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--coral);
  margin-top: 0.35rem;
}
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}
.site-nav a:hover { border-color: var(--coral); color: #fff; }

/* wave divider (echoes the burgee waves) — used under header & atop footer */
.wave-divider { display: block; width: 100%; height: 34px; color: var(--ink); }
.site-header + .wave-divider { margin-top: -1px; }

/* ── Page chrome ──────────────────────────────────────────── */
.page-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}
.page-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.05;
  color: var(--ink);
  margin: 0.5rem 0 1.25rem;
}
.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--coral);
  font-style: italic;
  text-decoration: none;
}
.back-link:hover { color: var(--coral-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ── Hero (index) ─────────────────────────────────────────── */
.hero { position: relative; padding: 2.6rem 0 2rem; overflow: hidden; }
.hero .eyebrow {
  font-weight: 600; font-size: 0.74rem;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--coral); margin: 0 0 0.9rem;
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 0.98;
  margin: 0 0 1rem;
  color: var(--ink);
  max-width: 14ch;
}
.hero-title em { font-style: normal; color: var(--coral); }
.hero .lede {
  font-size: 1.12rem; color: var(--taupe);
  max-width: 46ch; margin: 0;
}
.hero .compass {
  position: absolute; top: -10px; right: -30px;
  width: 230px; height: 230px;
  color: var(--ink); opacity: 0.06; pointer-events: none;
}

/* ── Section tabs (Camps & Clinics) ──────────────────────── */
.section-tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--ink);
}
.section-tab {
  font-family: var(--serif); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: 0.55rem 1.25rem;
  border: 1.5px solid var(--ink); border-bottom: none;
  margin-bottom: -2px;
  transition: background 0.14s, color 0.14s;
}
.section-tab + .section-tab { border-left: none; }
.section-tab:hover { background: var(--paper-2); color: var(--ink); }
.section-tab.is-active { background: var(--ink); color: var(--paper); }

/* ── Filter console ───────────────────────────────────────── */
.filters {
  position: relative;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-hard);
  border-radius: 3px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.4rem;
  align-items: flex-end;
}
.filters .legend {
  position: absolute;
  top: -0.8rem; left: 1.1rem;
  background: var(--ink); color: var(--paper);
  font-size: 0.66rem; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 600;
  padding: 0.25rem 0.7rem; border-radius: 2px;
}
.filter-group { display: flex; flex-direction: column; }
.filter-group label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--taupe); margin-bottom: 0.4rem;
}
.filter-group select {
  appearance: none; -webkit-appearance: none;
  font-family: var(--serif); font-size: 0.98rem; font-weight: 500;
  color: var(--ink); background-color: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 2px;
  padding: 0.5rem 2.2rem 0.5rem 0.8rem;
  min-width: 160px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23e0614c' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center;
}
.filter-group select:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.filter-clear {
  font-family: var(--serif); font-size: 0.82rem; font-style: italic;
  color: var(--coral); background: none; border: none; cursor: pointer;
  padding: 0.5rem 0; text-decoration: underline; text-underline-offset: 3px;
}
.filter-clear:hover { color: var(--coral-deep); }

.regatta-count {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
  color: var(--taupe); margin: 1.4rem 0 1.1rem;
}
.regatta-count::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 0 3px rgba(224,97,76,0.2);
}

/* ── Regatta cards ────────────────────────────────────────── */
.regatta-list { display: grid; gap: 1rem; }
.regatta-card {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  padding: 1.15rem 1.35rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.3rem 1.5rem;
  box-shadow: 2px 2px 0 rgba(19,39,63,0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.regatta-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-hard); }
.regatta-card[hidden] { display: none; }
.regatta-card::before {
  content: ""; position: absolute; left: 0; top: 1.1rem; bottom: 1.1rem;
  width: 4px; background: var(--coral); border-radius: 0 2px 2px 0;
}
.regatta-name {
  grid-column: 1;
  font-size: 1.22rem; font-weight: 600; line-height: 1.25;
  color: var(--ink); text-decoration: none;
}
.regatta-name:hover { color: var(--coral); }
.regatta-meta {
  grid-column: 1;
  font-size: 0.92rem; color: var(--taupe); margin-top: 0.15rem;
}
.regatta-meta .date { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.regatta-meta .sep { color: var(--tan-rule); margin: 0 0.5rem; }

.regatta-classes { grid-column: 1; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.class-tag {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: var(--paper-3);
  border: 1px solid var(--tan-rule); border-radius: 2px;
  padding: 0.18rem 0.5rem;
}
.class-tag.unspecified {
  color: var(--coral-deep); background: transparent;
  border: 1px dashed var(--coral);
  font-style: italic; text-transform: none; letter-spacing: 0;
}

.register-btn {
  grid-column: 2; grid-row: 1 / span 3; align-self: center;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--serif); font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--paper); background: var(--coral);
  border: 1.5px solid var(--ink-2);
  box-shadow: 3px 3px 0 var(--ink-2); border-radius: 3px;
  padding: 0.6rem 1.1rem; text-decoration: none; white-space: nowrap;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.register-btn:hover {
  background: var(--coral-deep);
  transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink-2);
}
.register-btn .arrow { transition: transform 0.18s; }
.register-btn:hover .arrow { transform: translateX(3px); }

.empty-state {
  display: none; text-align: center;
  padding: 3rem 1rem; font-style: italic; color: var(--taupe);
}

/* ── Landing page ─────────────────────────────────────────── */
.hero--landing { padding-bottom: 1.4rem; }
.hero--landing .hero-title { max-width: 16ch; }
.hero--landing .lede { max-width: 54ch; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.6rem;
  font-family: var(--serif); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--paper); background: var(--coral);
  border: 1.5px solid var(--ink-2); box-shadow: 3px 3px 0 var(--ink-2);
  border-radius: 3px; padding: 0.7rem 1.3rem; text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.btn-primary:hover { background: var(--coral-deep); transform: translate(1px,1px); box-shadow: 2px 2px 0 var(--ink-2); }
.btn-primary .arrow { transition: transform 0.18s; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.section-head {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--ink); margin: 0 0 1.25rem;
}
.features { margin-bottom: 2.75rem; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feature-card {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: 3px; padding: 1.6rem 1.7rem;
  box-shadow: 2px 2px 0 rgba(19,39,63,0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.feature-card:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-hard); }
.feature-card h3 { font-weight: 600; font-size: 1.32rem; margin: 0 0 0.5rem; color: var(--ink); }
.feature-card p { margin: 0 0 1.1rem; color: var(--taupe); }
.feature-go {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral);
}
.feature-go .arrow { transition: transform 0.18s; }
.feature-card:hover .feature-go .arrow { transform: translateX(3px); }

.closing {
  background: var(--ink); color: var(--paper);
  border: 1.5px solid var(--ink-2); border-radius: 4px;
  box-shadow: var(--shadow-hard);
  padding: 2.6rem 2rem; text-align: center;
}
.closing-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  color: var(--paper); margin: 0 0 0.75rem;
}
.closing p { margin: 0 auto; max-width: 50ch; color: rgba(244,234,210,0.85); font-size: 1.08rem; }

/* ── Regatta detail ───────────────────────────────────────── */
.regatta-detail { max-width: 720px; }
.detail-section { margin-bottom: 1.1rem; }
.detail-section strong {
  display: inline-block;
  font-family: var(--serif); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--taupe); margin-right: 0.4rem;
}
.detail-classes { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.regatta-detail .register-btn { grid-column: auto; grid-row: auto; margin-top: 0.5rem; }

/* ── Blog ─────────────────────────────────────────────────── */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-item { border-bottom: 1px solid var(--tan-rule); padding: 1.5rem 0; }
.post-item:first-child { padding-top: 0; }
.post-title { font-size: 1.45rem; font-weight: 600; margin: 0 0 0.3rem; line-height: 1.2; }
.post-title a { color: var(--ink); text-decoration: none; }
.post-title a:hover { color: var(--coral); }
.post-date {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--taupe); margin-bottom: 0.5rem;
}
.post-excerpt { font-size: 1.02rem; color: var(--ink); margin: 0; }
.post-body { max-width: 720px; font-size: 1.05rem; }
.post-body img { max-width: 100%; height: auto; border-radius: 4px; }
.post-hero {
  max-width: 100%; border-radius: 4px;
  border: 1.5px solid var(--ink); box-shadow: var(--shadow-hard);
  margin-bottom: 1.5rem;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { margin-top: 4rem; }
.footer-wave { color: var(--ink); transform: scaleY(-1); margin-bottom: -1px; }
.footer-band { background: var(--ink); color: var(--paper); }
.footer-band .inner {
  max-width: 1080px; margin: 0 auto;
  padding: 1.6rem 1.5rem 2rem; text-align: center;
}
.footer-band p { margin: 0.3rem 0; font-size: 0.86rem; color: rgba(244,234,210,0.8); }
.footer-band a { color: var(--coral); text-decoration: none; }
.footer-band a:hover { text-decoration: underline; }

/* ── Boat-class reference page ───────────────────────────────── */
.class-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
.class-card {
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 3px;
  box-shadow: 2px 2px 0 rgba(19,39,63,0.18);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.class-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-hard); }
.class-photo { width: 100%; height: 280px; object-fit: cover; object-position: 50% 80%; display: block; border-bottom: 1.5px solid var(--ink); }
.class-body { padding: 1.35rem 1.5rem 0.5rem; flex: 1; }
.class-name { font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--ink); margin: 0 0 0.6rem; }
.class-name .class-alt { font-family: var(--serif); font-weight: 500; font-size: 0.95rem; color: var(--taupe); font-style: italic; }
.class-desc { color: var(--ink); margin: 0 0 1rem; }
.class-facts { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.class-facts li {
  font-size: 0.78rem; color: var(--taupe); background: var(--paper-3);
  border: 1px solid var(--tan-rule); border-radius: 2px; padding: 0.3rem 0.6rem;
}
.class-facts strong { color: var(--ink); font-weight: 700; margin-right: 0.3rem; }
.class-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em;
  color: var(--coral); text-decoration: none;
}
.class-link:hover { color: var(--coral-deep); text-decoration: underline; text-underline-offset: 3px; }
.class-attribution {
  margin: 0; padding: 0.6rem 1.5rem 0.9rem;
  font-size: 0.7rem; color: var(--taupe); font-style: italic;
}
.class-attribution a { color: var(--taupe); text-decoration: underline; text-underline-offset: 2px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .site-header .inner { height: auto; padding-top: 1rem; padding-bottom: 1rem; flex-direction: column; gap: 0.9rem; }
  .brand .wordmark { display: none; }
  .regatta-card { grid-template-columns: 1fr; }
  .register-btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 0.9rem; }
  .filters { flex-direction: column; align-items: stretch; }
  .filter-group select { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .class-grid { grid-template-columns: 1fr; }
}
