/* ============================================================
   SWC — /newsletter/*  (The Collective, the monthly member letter)
   A LIGHT section of an otherwise dark site. These pages load this
   file INSTEAD of style.css, so nothing here can force a ?v= bump on
   the shared stylesheet (same reasoning as /bondonmint). Tokens and
   type are lifted from style.css so the two still read as one brand.
   Shared with every issue: version this file, not the issue pages.
   ============================================================ */

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dmsans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2122;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dmsans-latin-ext.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC;
}

:root {
  /* the letter is a white sheet on a warm grey page, the way the email read in
     an inbox: surfaces step up from the page ground rather than all sharing it */
  --ink: #e9e5de;
  --ink-2: #f2efe9;
  --sheet: #ffffff;
  --sheet-alt: #f7f4ef;
  --card: #f2eee8;
  --line: rgba(26, 22, 19, 0.18);
  --line-soft: rgba(26, 22, 19, 0.09);
  --text: #1a1613;
  --muted: #57504a;
  --nav-bg: rgba(255, 255, 255, 0.88);
  --sheet-shadow: 0 18px 44px rgba(26, 22, 19, 0.12);
  --blue: #0084cc;
  --blue-vivid: #009de6;
  --blue-bright: #4db4f0;
  /* --blue is only ever a solid button fill; text on a light surface needs the
     darker step to hold contrast */
  --accent-text: #0271a9;
  --radius: 14px;
  --pad: clamp(22px, 4vw, 56px);
  --nav-h: clamp(58px, 3vw + 44px, 72px);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; overflow-y: scroll; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--blue); color: #fff; }

.wrap { max-width: 100%; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: 700px; }

/* ---------- the sheet ---------- */

.sheet {
  max-width: 960px;
  margin: clamp(18px, 3vh, 36px) auto clamp(40px, 6vh, 76px);
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sheet-shadow);
}
@media (max-width: 1000px) {
  .sheet { margin-left: clamp(12px, 3vw, 28px); margin-right: clamp(12px, 3vw, 28px); }
}

/* ---------- type ---------- */

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.display {
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.98;
}

h1.display { font-size: clamp(2.2rem, 5.6vw, 4.2rem); }
h2.display { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3.display { font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: 0.01em; }

.lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  max-width: 52ch;
}

p + p { margin-top: 1.1em; }
.body-copy { color: var(--muted); font-size: 1.03rem; max-width: 62ch; }
.body-copy strong { color: var(--text); font-weight: 650; }
.body-copy a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-vivid); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-text); color: var(--accent-text); }
.btn-sm { padding: 0.65em 1.3em; font-size: 0.85rem; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.brand .logo-badge { width: clamp(34px, 2.4vw + 26px, 46px); height: clamp(34px, 2.4vw + 26px, 46px); flex: none; }
.brand-name {
  font-weight: 700;
  font-size: clamp(0.72rem, 0.45vw + 0.6rem, 0.92rem);
  line-height: 1.14;
  letter-spacing: 0.01em;
}
.brand-name .plus { font-style: normal; color: var(--accent-text); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.2vw, 30px);
  font-size: clamp(0.8rem, 0.5vw + 0.66rem, 0.9rem);
  font-weight: 500;
}
.nav-links > a:not(.btn) { color: var(--muted); transition: color 0.2s ease; }
.nav-links > a:not(.btn):hover { color: var(--text); }
/* the nav sheds one thing at a time on the way down rather than emptying at
   a single width: long labels, then the rest of the links, then the wordmark */
@media (max-width: 880px) { .nav-links > a[href="#recovery"] { display: none; } }
@media (max-width: 760px) { .nav-links > a[href="#coaches"] { display: none; } }
@media (max-width: 660px) { .nav-links > a:not(.btn) { display: none; } }
/* 390px phones keep the wordmark; only below that does the badge go it alone */
@media (max-width: 358px) {
  .brand-name { display: none; }
  .nav-inner { gap: 12px; }
}

/* ---------- masthead ---------- */

.masthead { padding: 0 0 clamp(44px, 6vh, 68px); }
.masthead-banner { background: var(--card); border-bottom: 1px solid var(--line-soft); }
/* The strip is a 3:1 crop and it stays 3:1 at every width: the file is
   1050x350, so width:100% + height:auto reproduces the desktop proportions
   exactly, on a phone as well as at the sheet's 960px cap. It used to hold a
   taller box and let `cover` trim the sides toward the baked-in title, which
   kept the title big but cropped the photo to an unrecognisable slice on a
   phone. Daniel's call, 2026-09-04: show the whole picture. */
.masthead-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.masthead-body { padding-top: clamp(34px, 5vh, 56px); }
.masthead-body .eyebrow { display: block; margin-bottom: 16px; }
.masthead h1 { margin: 0; max-width: 16ch; }
.masthead h1 .quiet { color: var(--accent-text); white-space: nowrap; }
.masthead .lede { margin-top: 26px; }
.masthead .body-copy { margin-top: 26px; }

/* ---------- sections ---------- */

.section { padding: clamp(52px, 7vh, 84px) 0; }
.section-alt { background: var(--sheet-alt); }
.section + .section { border-top: 1px solid var(--line-soft); }

.section-head { margin-bottom: clamp(30px, 5vh, 52px); }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 { margin-bottom: 0; }

/* ---------- feature: image beside copy ---------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.4vw, 44px);
  align-items: start;
}
.feature.flip .feature-media { order: 2; }
.feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.feature-media img { width: 100%; height: auto; }
.feature-body .eyebrow { display: block; margin-bottom: 14px; }
.feature-body h2 { margin-bottom: 20px; }
.feature-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 780px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
}

/* ---------- full-bleed graphic ---------- */

.graphic {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.graphic img { width: 100%; height: auto; }
.graphic-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 20px;
  max-width: 62ch;
}

/* ---------- detail cards (schedule shifts) ---------- */

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(28px, 4vh, 44px);
}
.detail-card {
  padding: 30px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.detail-card .eyebrow { display: block; margin-bottom: 12px; }
.detail-card h3 { margin-bottom: 14px; color: var(--text); }
.detail-card p { color: var(--muted); font-size: 0.98rem; }
.detail-card strong { color: var(--text); font-weight: 650; }
@media (max-width: 760px) { .detail-grid { grid-template-columns: 1fr; } }

.times {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.times li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- closing ---------- */

.closing { text-align: center; }
.closing .lede { margin: 18px auto 0; }
.closing .feature-actions { justify-content: center; }

/* ---------- footer ---------- */

.footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0 44px;
}
@media (max-width: 1000px) { .footer { padding-left: clamp(12px, 3vw, 28px); padding-right: clamp(12px, 3vw, 28px); } }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  margin-bottom: 44px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { margin-bottom: 16px; }
.footer .brand .logo-badge { width: 84px; height: 84px; }
.footer .tagline { color: var(--muted); font-size: 0.92rem; max-width: 32ch; }
.footer h4 {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--text); font-size: 0.95rem; opacity: 0.85; transition: opacity 0.2s ease, color 0.2s ease; }
.footer ul a:hover { opacity: 1; color: var(--accent-text); }
.social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.social a:hover { color: var(--accent-text); border-color: var(--accent-text); }
.social svg { width: 19px; height: 19px; display: block; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- new class times ---------- */

.slot-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.slot-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.slot-list li:first-child { border-top: 1px solid var(--line-soft); }
.slot-name {
  font-weight: 650;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.slot-when { color: var(--text); font-size: 1.02rem; text-align: right; line-height: 1.4; }

/* ---------- coach cards ---------- */

.coach-grid {
  display: grid;
  /* four across on the 960px sheet is ~200px a tile, which squeezes a two-word
     name in the caption; two rows of two keeps the faces readable */
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}
.coach-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.coach-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.coach-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 22px 20px;
  background: linear-gradient(0deg, rgba(14,12,10,0.92) 20%, rgba(14,12,10,0) 100%);
  /* this caption sits on a photo, never on the sheet: it stays light in both
     themes, so it cannot inherit --text or --accent-text */
  color: #f7f6f4;
}
.coach-card figcaption .eyebrow { color: #4db4f0; }
.coach-card figcaption strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}
@media (max-width: 560px) {
  /* three tiles across a phone shrink the faces to thumbnails: run the same
     one-card-wide snap rail the main site uses for its event grid */
  .coach-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin: 0 calc(var(--pad) * -1);
    padding: 0 var(--pad) 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .coach-grid::-webkit-scrollbar { display: none; }
  .coach-card { flex: 0 0 68%; scroll-snap-align: start; }
}


/* ============================================================
   /newsletter/ — the issue index
   ============================================================ */

.hub { padding: clamp(44px, 7vh, 76px) 0 clamp(52px, 8vh, 88px); }
.hub-head { max-width: 60ch; }
.hub-head .eyebrow { display: block; margin-bottom: 16px; }
.hub-head h1 { margin-bottom: 20px; }
.hub-head .lede { max-width: 58ch; }

.issue-list {
  list-style: none;
  margin-top: clamp(34px, 5vh, 56px);
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.issue {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  padding: 20px;
  background: var(--sheet);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.issue:hover { border-color: var(--accent-text); transform: translateY(-2px); }
.issue-cover {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.issue-cover img { width: 100%; height: auto; aspect-ratio: 1200 / 628; object-fit: cover; }
.issue-body .eyebrow { display: block; margin-bottom: 10px; }
.issue-body h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin-bottom: 12px; }
.issue-body p { color: var(--muted); font-size: 0.98rem; max-width: 54ch; }
.issue-more {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent-text);
}
@media (max-width: 700px) {
  .issue { grid-template-columns: 1fr; padding: 16px; }
}

/* ---------- issue footer nav ---------- */

.issue-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
