/* Geist and Geist Mono. Official woff2 from vercel/geist-font @ 10dc765 (OFL-1.1), same origin.
   Weights already used: Geist 300, 400, 500, 600 and Geist Mono 400, 500. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/Geist-Light.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Geist-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Geist-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Geist-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/GeistMono-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/GeistMono-Medium.woff2") format("woff2");
}

:root {
  --bg: #07070a;
  --bg-2: #0c0c10;
  --surface: #121218;
  --surface-2: #18181f;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --daily-mute: #c8c8d0;
  --faint: #71717a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #8b9cff;
  --accent-2: #5b6ef5;
  --glow: rgba(91, 110, 245, 0.35);
  --navy: var(--bg);
  --navy-2: var(--surface);
  --ink: var(--text);
  --bone: var(--text);
  --ivory: var(--bg);
  --brass: var(--accent);
  --brass-d: var(--accent);
  --serif: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --wrap: 1640px;
  --radius: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
[id] { scroll-margin-top: 96px; }
html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.014em;
  padding-top: 76px;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0.04;
  background-image: url("img/mesh.jpg");
  background-size: 700px;
  mix-blend-mode: overlay;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.give-photo {
  margin-top: 0;
  padding: 140px 0 56px;
  background: #07070a;
}
section:has(+ .give-photo) { padding-bottom: 24px; }

.give-photo img {
  display: block;
  width: min(var(--wrap), calc(100% - 48px));
  height: 280px;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.give-split .wrap {
  display: block;
  min-height: 280px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7,7,10,.55), rgba(7,7,10,.28) 18%, rgba(7,7,10,.72) 50%, rgba(7,7,10,.28) 82%, rgba(7,7,10,.55)),
    url("img/support-band.jpg?v=1") center / cover no-repeat;
  overflow: hidden;
}
.give-split .end-copy {
  grid-column: auto;
  text-align: center;
  margin: 0 auto;
  max-width: 34em;
  width: 100%;
  padding: 54px 24px;
}
.give-split .end-copy h2,
.give-split .end-copy .lede {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.give-split .lede { margin: 16px auto 24px; }
@media (max-width: 800px) {
  .give-split .wrap { min-height: 0; }
  .give-split .end-copy { padding: 40px 18px; }
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
h1, h2, h3, .display {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: inherit;
}
h1 { font-size: clamp(56px, 9vw, 96px); }
h2 { font-size: clamp(36px, 5vw, 58px); }
h3 { font-size: 26px; letter-spacing: -0.02em; }
.lede {
  font-family: var(--sans);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.018em;
  max-width: 36em;
}

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--accent); color: #07070a; padding: 8px 12px; z-index: 90;
}
.skip:focus { left: 12px; }

.nav {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 75;
  background: rgba(7, 7, 10, 0.92);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { height: 52px; width: auto; max-width: 200px; object-fit: contain; border-radius: 0; background: #07070a; }
.brand-name { display: none; }
.brand-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 15px; font-weight: 450; letter-spacing: -0.01em;
  transition: color .2s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta {
  background: var(--text); color: #07070a; text-decoration: none;
  font-size: 14px; font-weight: 500; padding: 10px 18px;
  border-radius: 8px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta:visited,
.nav-links a.nav-cta[aria-current="page"] {
  color: #07070a;
  background: #f4f4f5;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,255,255,.12); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 20px; }

.social-row { display: flex; gap: 8px; flex-wrap: wrap; }
.social-row a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 10px;
  border-radius: 8px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.social-row a:hover { border-color: var(--accent); background: rgba(139,156,255,.08); }

.socials-band {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
}
.socials-slim {
  position: relative;
  display: block;
  min-height: 88px;
}
.socials-slim .eyebrow {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .14em;
  z-index: 1;
}
.social-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  gap: clamp(8px, 2.2vw, 16px);
  box-sizing: border-box;
}
.social-dock .soc {
  flex: 1 1 0;
  max-width: 88px;
  min-width: 0;
  width: auto;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: clamp(8px, 1.6vw, 16px);
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.social-dock .soc svg {
  width: 46%;
  height: 46%;
  display: block;
}
.social-dock .soc span { display: none; }
.social-dock .soc:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255,255,255,.04);
}
@media (max-width: 800px) {
  .socials-slim {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    min-height: 0;
  }
  .socials-slim .eyebrow {
    position: static;
    transform: none;
    align-self: flex-start;
  }
}
@media (max-width: 420px) {
  .social-dock { max-width: 100%; }
}

.hero.hero-film {
  display: block;
  min-height: 100vh;
  grid-template-columns: none;
}
.hero-film .hero-art {
  position: absolute;
  inset: 0;
  min-height: 100%;
}
.hero-film .hero-art img { filter: saturate(.92) contrast(1.04) brightness(.96); object-position: center 22%; }
.hero-film .hero-art::after {
  background:
    linear-gradient(180deg, rgba(7,7,10,.15) 0%, rgba(7,7,10,.2) 40%, rgba(7,7,10,.88) 100%),
    linear-gradient(90deg, rgba(7,7,10,.55), transparent 45%);
}
.hero-film .hero-copy {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 56px);
  justify-content: flex-end;
  padding: 0 0 10vh;
  max-width: none;
}
.hero-film h1 { font-size: clamp(64px, 11vw, 128px); }

.hero {
  background: var(--bg);
  color: var(--text);
  min-height: calc(100vh - 56px);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70%;
  height: 80%;
  background:
    radial-gradient(closest-side, rgba(91,110,245,.38), transparent 70%),
    radial-gradient(closest-side, rgba(80,40,160,.28), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  animation: mesh 14s var(--ease) infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 20%, transparent 72%);
  pointer-events: none;
}
@keyframes mesh {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(-4%, 6%, 0) scale(1.08); }
}
.hero-copy {
  padding: 88px 7vw 88px 6vw;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  z-index: 1;
}
.hero h1 span {
  display: block; font-style: italic; font-weight: 400;
  font-size: 0.36em; letter-spacing: -0.02em; color: var(--accent); margin-top: 12px;
}
.hero .lede { color: var(--muted); margin: 22px 0 32px; }
.hero-art { position: relative; min-height: 560px; overflow: hidden; z-index: 1; }
.hero-art img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.86) contrast(1.04);
  transition: transform 1.4s var(--ease);
}
.hero-art:hover img { transform: scale(1.03); }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 28%);
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  text-decoration: none; font-size: 14px; font-weight: 500;
  letter-spacing: -0.016em; border: 0; cursor: pointer;
  border-radius: 9px;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-gold, .btn-ink {
  background: var(--text); color: #07070a;
}
.btn-gold:hover, .btn-ink:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(139,156,255,.22);
}
.btn-ghost {
  background: transparent; border: 1px solid var(--line-strong); color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(139,156,255,.08); }
.btn-line {
  background: transparent; border: 1px solid var(--line-strong); color: var(--text);
}
.btn-line:hover { border-color: var(--accent); }

.listen-hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.listen-hero .wash { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.listen-hero .wrap { position: relative; z-index: 1; }
.listen-hero h1 { max-width: 10ch; }
.listen-hero p { max-width: 36em; color: var(--muted); }
.listen-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; max-width: 720px; }
.listen-door {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 22px 18px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(12,12,16,.72); color: var(--text); text-decoration: none;
}
.listen-door svg { width: 22px; height: 22px; }
.listen-door b { font-size: 16px; font-weight: 500; }
.listen-door span { color: var(--muted); font-size: 13px; }
.listen-book { padding-top: 28px; }
.listen-split { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: center; }
.listen-split img { width: 100%; height: 220px; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
@media (max-width: 800px) {
  .listen-doors, .listen-split { grid-template-columns: 1fr; }
}
.marks-home { padding-bottom: 56px; }
.apps-home { padding-top: 56px; }
.band-navy {
  background:
    radial-gradient(800px 320px at 10% 0%, rgba(91,110,245,.16), transparent 60%),
    var(--bg-2);
  color: var(--text);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-navy .eyebrow { color: var(--accent); }
.band-navy .lede { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img {
  width: 100%; height: 560px; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--line);
}

.marks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.mark {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px 16px 18px;
  min-height: 0;
  height: 100%;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.mark:hover {
  transform: translateY(-4px);
  border-color: rgba(139,156,255,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.mark b {
  display: block; font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--accent); margin-bottom: 10px; letter-spacing: 0.08em;
}
.mark h3 { margin-bottom: 10px; font-size: 26px; }
.mark p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.mark-verse {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #c4c4cc;
  font-style: italic;
}
.mark .mark-verse { margin-top: auto; padding-top: 12px; }
.mark-verse cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}

.shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.store-grid { grid-template-columns: repeat(2, 1fr); }
.listen-row {
  margin: 96px auto 0;
  max-width: 720px;
  text-align: center;
}
.listen-row .lede { margin-left: auto; margin-right: auto; }
.listen-row .actions { justify-content: center; }
.listen-row .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.listen-row .btn { display: inline-flex; align-items: center; gap: 8px; }
.listen-row .btn svg { flex: 0 0 auto; }
.store-grid .btn svg { margin-right: 8px; flex: 0 0 auto; }
@media (max-width: 800px) {
  .listen-row { grid-template-columns: 1fr; }
}
.shop article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.shop article:hover { transform: translateY(-3px); border-color: rgba(139,156,255,.3); }
.shop img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.shop img.fit {
  object-fit: contain;
  background: #0a0a0e;
}
.shop .card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.split .buy-pair { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.shop .buy-pair { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 8px; }
.shop .buy-pair .btn { text-align: center; }
.shop .slot, .card .slot {
  margin-top: auto; font-size: 12px; color: var(--faint);
  border-top: 1px solid var(--line); padding-top: 12px;
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex; flex-direction: column; overflow: hidden;
}
.card img { height: 260px; width: 100%; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price {
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.price small { font-size: 15px; color: var(--muted); font-family: var(--sans); }
.featured { position: relative; box-shadow: inset 0 0 0 1px rgba(139,156,255,.5); }
.featured::before {
  content: "Most men start here";
  position: absolute; top: 16px; left: 16px;
  background: var(--text); color: #07070a;
  font-size: 11px; padding: 6px 10px; border-radius: 6px;
}

.quote { max-width: 780px; }
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.quote cite { display: block; margin-top: 20px; font-style: normal; font-size: 13px; color: var(--accent); }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.person img {
  height: 560px; width: 100%; object-fit: cover; object-position: top;
  border-radius: 14px; border: 1px solid var(--line);
}
.person h3 { margin: 18px 0 4px; }
.person .role { color: var(--muted); font-size: 14px; }
.person p + p { margin-top: 16px; }

.daily-home {
  padding: 36px 0 28px;
  background: transparent;
}
.daily-home .eyebrow { margin-bottom: 14px; }
.daily-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  overflow: hidden;
}
.daily-cell {
  min-width: 0;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: rgba(18, 18, 24, .35);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}
.daily-row {
  display: flex;
  flex-direction: column;
}
.daily-home .k {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.daily-home .verse-block {
  flex: 1;
}
.daily-home .verse {
  font-size: 20px;
  line-height: 1.4;
  margin: 0;
}
.daily-home .verse-ref {
  margin: 8px 0 0;
  color: var(--daily-mute);
  font: 500 12px/1.2 Geist, sans-serif;
}
.daily-home .acts {
  display: flex;
  gap: 14px;
  margin-top: auto;
  padding-top: 12px;
}
.daily-home .acts button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--daily-mute);
  font: 500 12px/1 Geist, sans-serif;
  cursor: pointer;
}
.daily-home .acts button.on,
.daily-home .acts button:hover { color: var(--text); }
.daily-cell b {
  display: block;
  margin: 8px 0 6px;
  font-weight: 400;
  letter-spacing: -.02em;
  font-size: 22px;
  font-family: var(--serif);
}
.daily-home .daily-cell small { color: var(--daily-mute); font-size: 15px; line-height: 1.45; }
.daily-home .tile-fill {
  margin: 12px 0 0;
  color: var(--daily-mute);
  font-size: 15px;
  line-height: 1.5;
}
.daily-read {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 36px;
}
.daily-read h3 { font-size: 28px; margin: 0 0 16px; }
.daily-read p { color: var(--muted); font-size: 17px; line-height: 1.65; }
@media (max-width: 800px) {
  .daily-read { grid-template-columns: 1fr; gap: 28px; }
}
.daily-cell .thumb {
  width: 100%;
  height: clamp(140px, 32vw, 200px);
  border-radius: 12px;
  object-fit: cover;
  object-position: center 18%;
  margin-top: 14px;
}
.daily-cell .thumb.round {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 16%;
  margin-top: auto;
  align-self: center;
}

.devotion-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.devotion-card img { height: 100%; min-height: 400px; object-fit: cover; }
.devotion-copy { padding: 48px; }
.devotion-copy h2 { margin: 8px 0 16px; }
.scripture {
  font-family: var(--serif); font-size: 24px; font-style: italic;
  color: var(--text); margin-bottom: 8px;
}
.verse-ref {
  margin: 0 0 16px;
  color: var(--muted);
  font: 500 12px/1 Geist, sans-serif;
}

.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; }
.faq details p { margin-top: 8px; color: var(--muted); }

footer {
  background: #050506;
  color: var(--faint);
  padding: 80px 0 36px;
  border-top: 1px solid var(--line);
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 48px; }
footer a { color: var(--text); text-decoration: none; display: block; margin: 8px 0; font-size: 13px; }
footer a:hover { color: var(--accent); }
footer .eyebrow { color: var(--faint); font-size: 11px; margin-bottom: 10px; letter-spacing: .08em; }
.tiny { font-size: 12px; color: var(--faint); }

form { display: grid; gap: 10px; }
input, textarea, select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; border-radius: 10px;
}
label { font-size: 12px; color: var(--muted); }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

.page-hero {
  background:
    radial-gradient(700px 280px at 80% 0%, rgba(91,110,245,.2), transparent 60%),
    var(--bg);
  color: var(--text);
  padding: 108px 0 72px;
  border-bottom: 1px solid var(--line);
}
.page-hero p { max-width: 34em; color: var(--muted); margin-top: 16px; }
.page-hero-tight { padding: 56px 0 14px; }
.mark-plate { position: relative; border-radius: 14px; }
.mark-plate .wash {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .32;
  pointer-events: none;
}
.mark-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(7,7,10,.88) 48%, rgba(7,7,10,.25) 100%);
  pointer-events: none;
}
.mark-plate > :not(.wash) {
  position: relative;
  z-index: 1;
  max-width: 58%;
  overflow-wrap: anywhere;
}
.mark-plate h2 { font-size: clamp(32px, 4vw, 48px); }
@media (max-width: 800px) {
  .mark-plate .wash { width: 34%; opacity: .22; }
  .mark-plate > :not(.wash) { max-width: 100%; padding-right: 28%; }
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.path-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.path-grid h3 a { color: inherit; text-decoration: none; }
.path-grid h3 a:hover { color: var(--accent); }
.yt-tile { cursor: pointer; }
.yt-tile.on { outline: 2px solid #3ddc97; }
.path-list { list-style: none; margin-top: auto; }
.path-list li {
  display: block;
  padding: 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.path-list a,
.path-list .row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 7px 0;
  color: inherit;
  text-decoration: none;
}
.path-list a:hover { color: var(--text); }
.path-list li b, .path-list a b, .path-list .row b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  padding-top: 2px;
}
.week-card { scroll-margin-top: 96px; }
.train-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.train-strip img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  opacity: .88;
}
.train-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.train-band .wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
  pointer-events: none;
}
.train-band .wrap { position: relative; z-index: 1; }
.deliver {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.deliver article {
  position: relative;
  overflow: hidden;
  background: #121218;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 24px;
  min-height: 240px;
}
.deliver article .wash {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 58%;
  max-width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  opacity: .45;
  pointer-events: none;
  -webkit-mask-image: -webkit-linear-gradient(left, transparent 0%, #000 42%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%);
  mask-image: linear-gradient(to right, transparent 0%, #000 42%);
}
.deliver article::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, #121218 0%, #121218 38%, rgba(18,18,24,.15) 68%, transparent 100%);
}
.deliver article > *:not(.wash) { position: relative; z-index: 1; }
.deliver article .eyebrow,
.deliver article h3,
.deliver article p { max-width: 34ch; }

.give-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cadence { display: flex; gap: 8px; margin-bottom: 16px; }
.cadence button, .amt {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font: 500 14px var(--sans);
  cursor: pointer;
}
.cadence button.on, .amt.on {
  background: var(--text);
  color: #07070a;
  border-color: transparent;
}
.amtgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.deliver h3 { margin: 8px 0 10px; }
.deliver p { color: var(--muted); font-size: 15px; line-height: 1.55; }

.weeks { display: grid; gap: 0; }
.week { display: grid; grid-template-columns: 80px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.week b { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 500; }

::selection { background: var(--accent); color: #07070a; }

.full-bleed {
  min-height: 72vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: grid;
  align-items: end;
  padding: 0;
}
.full-bleed::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,7,10,.1), rgba(7,7,10,.82));
}
.full-bleed .wrap { position: relative; z-index: 1; padding-bottom: 64px; color: var(--text); }

.sticky-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  background: var(--text); color: #07070a;
  text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 12px 16px; min-height: 44px; border-radius: 999px;
}
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.stats b {
  display: block; font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stats span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.stats > div { padding: 8px 8px 8px 0; }

.system { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 12px; }
.system article {
  background: var(--surface); padding: 32px; min-height: 200px;
  border: 1px solid var(--line); border-radius: 14px;
}
.system article:first-child { grid-row: span 2; background: var(--surface-2); }

.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 12px; font-weight: 500; color: var(--muted); }
.compare td:nth-child(3) { background: rgba(139,156,255,.06); }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.step { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.legal { max-width: 680px; }
.legal p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; }
.mega { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }

.rail-wrap { background: var(--bg-2); padding: 36px 0 40px; border-top: 1px solid var(--line); overflow: hidden; }
.rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  overflow: hidden;
}
.rail a {
  min-width: 0;
  text-decoration: none;
  color: var(--text);
  transition: transform .3s var(--ease);
}
.rail a:hover { transform: translateY(-4px); }
.rail img {
  height: 280px; width: 100%; object-fit: cover;
  background: var(--surface); border-radius: 12px; border: 1px solid var(--line);
}
.rail span { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }
.rail b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; }

.shop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.product-card {
  scroll-margin-top: 96px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
#run, #merch { scroll-margin-top: 96px; }
.product-card:hover { transform: translateY(-3px); border-color: rgba(139,156,255,.32); }
.product-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; background: var(--surface-2); }
.product-card img.fit { object-fit: contain; background: #0a0a0e; }
.product-card .buy-pair { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 8px; }
.product-card .buy-pair .btn { margin: 0; }
.product-card .pad { padding: 22px; }
.product-card h3 { margin: 6px 0 8px; }
.reviews { display: grid; gap: 16px; margin-top: 20px; }
.review { border-top: 1px solid var(--line); padding-top: 14px; }
.review p { color: var(--muted); font-size: 15px; }
.review cite { display: block; margin-top: 8px; font-size: 12px; font-style: normal; color: var(--accent); }

.slot {
  border: 1px dashed rgba(139,156,255,.35);
  background: rgba(139,156,255,.04);
  padding: 18px;
  margin-top: 16px;
  border-radius: 12px;
}
.slot p { font-size: 14px; color: var(--muted); }
.slot input[type=url], .slot input[type=file], .slot input[type=text] { margin-top: 8px; }
.slot .label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

.video-slot {
  background: var(--bg);
  min-height: 56vh;
  display: grid;
  place-items: center;
  color: var(--text);
  text-align: center;
  padding: 48px 24px;
  border-bottom: 1px solid var(--line);
}
.video-slot p { color: var(--muted); max-width: 36em; margin: 12px auto 0; }

.buy-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.look { display: grid; grid-template-columns: 2fr 1fr 1fr 1.15fr; gap: 8px; }
.look figure { margin: 0; overflow: hidden; height: 320px; border-radius: 12px; }
.look img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.look figure:hover img { transform: scale(1.04); }

.ticker { display: none; }
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise .7s var(--ease) forwards;
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

.cmd {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.55);
  display: none; place-items: start center;
  padding-top: 18vh;
}
.cmd.open { display: grid; }
.cmd-box {
  width: min(560px, calc(100% - 32px));
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.cmd input {
  border: 0; border-radius: 0; border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.cmd a {
  display: block; padding: 12px 16px; text-decoration: none; color: var(--text); font-size: 14px;
}
.cmd a:hover, .cmd a.active { background: rgba(139,156,255,.1); }

.lib-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lib-card {
  background: rgba(18,18,24,.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  min-height: 160px;
}
.lib-card h3 { margin: 6px 0 10px; font-size: 20px; }
.week-board { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.week-card { height: 100%; display: flex; flex-direction: column; }
.week-card > div { display: flex; flex-direction: column; height: 100%; }
.week-card .file-row { margin-top: auto; }
.mark-break { grid-column: 1 / -1; margin: 28px 0 4px; font-size: clamp(32px, 4vw, 48px); }
.lesson-intro { grid-column: 1 / -1; }
.week-card { max-width: none; }
.week-card.odd { grid-column: 1; }
.week-card.even { grid-column: 2; }
.act-ack { margin-top: 12px; border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.act-ack.on { border-color: #3ddc97; color: #3ddc97; }
.act-note { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 800px) {
  .week-board { grid-template-columns: 1fr; }
  .week-card.odd, .week-card.even, .mark-break, .lesson-intro { grid-column: 1; }
}
.week-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: rgba(18,18,24,.4);
  max-width: 860px;
}
.week-card .n {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}
.week-card h3 { margin: 4px 0 8px; font-size: 20px; }
.week-card .lede { max-width: none; margin: 0 0 14px; }
.yt-tile {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.yt-tile img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9) contrast(1.05); }
.yt-tile .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 64px; height: 44px; border-radius: 14px;
  background: #ff0000; color: #fff;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.yt-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 8px; }
.path-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: stretch; }
.path-top .lib-card { height: 100%; display: flex; flex-direction: column; }
.mark-agenda { display: grid; gap: 12px; margin-top: 16px; }
.mark-agenda .eyebrow { margin-top: 8px; }
.agenda-line { display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px; align-items: start; }
.agenda-line b { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 2px; }
#mark-name a { color: inherit; text-decoration: none; }
.agenda-line span a:hover { color: var(--accent); }
.mark-break { scroll-margin-top: 96px; }
.agenda-line i { grid-column: 2; height: 4px; border-radius: 99px; background: rgba(255,255,255,.12); display: block; margin-top: 4px; }
.agenda-line.on i { background: #3ddc97; }
.path-list li.on b { color: #3ddc97; }
.path-list li.on { box-shadow: inset 3px 0 #3ddc97; }
.plan-card .lede { color: var(--muted); max-width: none; }
.plan-card .print-line { margin-top: 40px; }
.print-line { display: flex; flex-wrap: wrap; gap: 8px; }
.print-line .btn { margin: 0; flex: 1 1 0; text-align: center; padding: 10px 8px; }
.group-mid { display: flex; justify-content: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.file-mid { margin-top: 28px; }
.file-mid .btn { color: #8b9cff; border-color: rgba(139,156,255,.55); }
body.member section { padding: 28px 0; }
@media (max-width: 900px) {
  .path-top { grid-template-columns: 1fr; }
  body.member section { padding: 20px 0; }
}
.count-row { display: flex; gap: 10px; margin-top: 14px; }
.count-row label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.count-row input { max-width: 88px; }
.pips i { width: 22px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.12); display: block; }
.pips i.on { background: var(--accent); }
.act-done { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.video-slot {
  position: relative;
  aspect-ratio: 16/9;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #0b0b10;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}
.video-slot video, .video-slot iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.file-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.file-row .btn { padding: 8px 12px; font-size: 13px; }
.subnav {
  display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 28px;
}
.subnav a {
  color: var(--muted); text-decoration: none; font-size: 13px;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}
.subnav a.on, .subnav a:hover { color: var(--text); border-color: var(--text); }
.mark-jump {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.mark-jump a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(18,18,24,.35);
}
.mark-jump a h3 { margin-top: auto; }
.mark-jump a:hover { border-color: var(--text); }
.bulk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.bulk-grid .lib-card { display: flex; flex-direction: column; height: 100%; }
.bulk-grid .lib-card .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 900px) {
  .shop-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail img { height: 220px; }
  .hero, .split, .marks, .cards, .shop, .people, .devotion-card, .foot-grid, .stats, .system, .steps, .look, .daily-box, .path-grid, .train-strip, .deliver, .give-grid, .lib-row, .mark-jump, .bulk-grid { grid-template-columns: 1fr; }
  .week-card { grid-template-columns: 1fr; }
  .amtgrid { grid-template-columns: 1fr 1fr; }
  .train-strip img { height: 200px; }
  .deliver article .wash {
    width: 100%;
    max-width: none;
    left: 0;
    right: 0;
    top: auto;
    height: 46%;
    object-position: 50% 40%;
    -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 100%);
    mask-image: linear-gradient(to top, #000 30%, transparent 100%);
  }
  .deliver article::after {
    background: linear-gradient(to top, transparent 0%, #121218 48%);
  }
  .deliver article { min-height: 280px; padding-bottom: 120px; }
  .hero { min-height: 0; }
  .hero.hero-film {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .hero-film .hero-art {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
  }
  .hero-film .hero-art img {
    object-fit: cover;
    object-position: center 28%;
  }
  .hero-film .hero-copy {
    min-height: 0;
    padding: 28px 24px 40px;
    justify-content: flex-start;
  }
  .hero-film h1 { font-size: clamp(40px, 12vw, 64px); }
  .hero-art { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-art img { object-position: center 28%; }
  .hero-art::after { background: linear-gradient(0deg, var(--bg), transparent 42%); }
  .full-bleed { min-height: 38vh; }
  .page-hero { padding: 56px 0 36px; }
  .devotion-card img { min-height: 220px; }
  .quote blockquote { font-size: clamp(22px, 7vw, 36px); }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 76px;
    background: #07070a; flex-direction: column; padding: 20px 24px 28px; align-items: flex-start;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .person img, .split img { height: auto; min-height: 280px; }
  .mark { min-height: 0; }
  .sticky-cta { left: 16px; right: 16px; text-align: center; }
  .look figure { height: 220px; }
  section { padding: 36px 0; }
}

@media (max-width: 600px) {
  .rail { grid-template-columns: 1fr; }
  .rail img,
  .product-card img,
  .card img,
  .shop article img,
  .look img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center;
    background: #0a0a0e;
  }
  .hero-film .hero-art,
  .hero-art { aspect-ratio: 5 / 4; }
  .wrap { width: calc(100% - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

button.daily-cell {
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
body.sheet-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}
.sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5,6,10,.72);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}
.sheet[hidden] { display: none !important; }
.sheet-card {
  width: min(720px, 100%);
  background: #12141c;
  border: 1px solid var(--line);
  border-radius: 24px 24px 16px 16px;
  padding: 18px 22px 28px;
  position: relative;
  max-height: min(84vh, 920px);
  max-height: min(84dvh, 920px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  touch-action: none;
  will-change: transform;
}
.sheet-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  min-height: 0;
  max-height: calc(min(84vh, 920px) - 88px);
  max-height: calc(min(84dvh, 920px) - 88px);
}
.sheet-handle {
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: rgba(197, 208, 234, .35);
  margin: 2px auto 14px;
  flex: 0 0 auto;
  touch-action: none;
  position: relative;
  z-index: 2;
}
.sheet-handle::after {
  content: "";
  position: absolute;
  left: -28px;
  right: -28px;
  top: -16px;
  bottom: -10px;
}
/* Sheets are moved onto <html> in site.js, outside body, so they must set their own text color and type. */
.sheet,
.sheet-card { color: var(--text); }
.sheet {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.014em;
}
.sheet-card h1,
.sheet-card h2,
.sheet-card h3 { color: var(--text); }
.sheet .k { color: var(--accent); }
.sheet-card h2 { font-size: 32px; margin: 8px 0 18px; letter-spacing: -.03em; }
.sheet-x {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* Four-marks blocks only: pull in the section that holds the tiles
   and the sections that sit directly above and below it. */
.rail-wrap:has(+ section .marks) { padding: 22px 0 24px; }
section:has(.marks),
section:has(.marks) + section,
section:has(.path-grid),
section:has(.path-grid) + section,
section.train-band:has(+ section .path-grid),
section:has(.mark-jump),
section:has(.mark-jump) + section,
section:has(+ section .mark-jump) {
  padding-top: 36px;
  padding-bottom: 36px;
}
section:has(.marks) > .wrap > h2 { margin-bottom: 22px !important; }
section:has(.path-grid) > .wrap > .lede { margin-bottom: 20px !important; }
section:has(.mark-jump) > .wrap > h2 { margin-bottom: 14px !important; }

@media (max-width: 900px) {
  .rail-wrap:has(+ section .marks) { padding: 16px 0 18px; }
  section:has(.marks),
  section:has(.marks) + section,
  section:has(.path-grid),
  section:has(.path-grid) + section,
  section.train-band:has(+ section .path-grid),
  section:has(.mark-jump),
  section:has(.mark-jump) + section,
  section:has(+ section .mark-jump) {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

body.groups .page-hero-tight { padding: 88px 0 64px; }
body.groups section { padding: 104px 0; }
body.groups section.train-band { padding: 120px 0; }
body.groups section.socials-band { padding: 88px 0 96px; }
@media (max-width: 900px) {
  body.groups .page-hero-tight { padding: 72px 0 48px; }
  body.groups section { padding: 72px 0; }
  body.groups section.train-band { padding: 80px 0; }
  body.groups section.socials-band { padding: 64px 0 72px; }
}

body.member .nav-links { flex: 1; justify-content: flex-end; }
body.member .nav-links .nav-end { margin-left: 18px; }

body.train .page-hero-tight { padding: 72px 0 40px; }
body.train section,
body.train section.train-band,
body.train section.socials-band,
body.train #inside,
body.train section:has(.faq) {
  margin: 0;
  padding: 40px 0;
  background: transparent;
}

body.inquiry section { margin: 0; padding: 28px 0; }
body.inquiry #bulk { padding-bottom: 0; }
body.inquiry #inquire { margin-top: 0; padding-top: 12px; background: transparent; }

@media (max-width: 700px) {
  .give-photo { padding: 40px 0 28px; }
  .give-photo img {
    height: auto;
    aspect-ratio: 2.35 / 1;
    object-fit: cover;
    object-position: center 42%;
  }
  .bulk-grid .lib-card .btn { width: 100%; text-align: center; }
  .actions { flex-wrap: wrap; }
  .path-list .row, .path-list a { gap: 8px; }
  .nav-links a.nav-cta { align-self: stretch; text-align: center; }
}

.quote-band {
  padding: 96px 0 108px;
  background:
    radial-gradient(900px 420px at 18% 55%, rgba(139,156,255,.22), transparent 62%),
    radial-gradient(700px 280px at 80% 40%, rgba(91,110,245,.12), transparent 70%),
    var(--bg-2);
}
.quote-band .quote { padding: 8px 0; }

/* Section break matches the homepage gap under the support band. */
body section,
body .rail-wrap,
body .socials-band,
body section.train-band,
body section:has(.path-grid),
body section:has(.marks),
body section:has(.faq),
body section:has(.mark-jump),
body.train section,
body.inquiry section,
body.member section,
body .daily-home,
body .give-photo,
body section:has(+ .give-photo) {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 48px;
  padding-bottom: 48px;
}
body .quote-band { padding-top: 96px; padding-bottom: 108px; }
body .page-hero,
body .page-hero-tight,
body .hero { padding-top: 72px; padding-bottom: 48px; }
