:root {
  --cream: #F1EBDD;
  --cream-2: #E7DFCE;
  --card: #FBF7EE;
  --ink: #2E2433;
  --plum: #372C3C;
  --plum-2: #2A2130;
  --yellow: #E9E224;
  --yellow-deep: #B9A800;
  --lav: #A99CB0;
  --lav-band: #E7DEEA;
  --sand-band: #E8DABE;
  --mute: #7E7388;
  --line: rgba(46, 36, 51, 0.14);
  --serif: "Fraunces", Georgia, serif;
  --g: "Space Grotesk", system-ui, sans-serif;
  --m: "Space Mono", monospace;
  --disp: "Anton", sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--g);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--m);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--yellow);
  display: inline-block;
}

.btn {
  font-family: var(--g);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}

.btn:active { transform: scale(0.98); }

.btn-y {
  background: var(--yellow);
  color: #2A2710;
}

.btn-y:hover {
  background: #f1ec45;
  box-shadow: 0 8px 22px rgba(233, 226, 36, 0.3);
}

.btn-dark {
  background: var(--plum);
  color: var(--cream);
}

.btn-dark:hover { background: #46384e; }

.btn-link {
  background: none;
  padding: 8px 0;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* utility bar */
.util {
  background: var(--plum);
  color: var(--cream);
  font-family: var(--m);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.util .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 28px;
}

.util span { color: #cabcd0; }
.util b { color: var(--yellow); font-weight: 400; }

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(241, 235, 221, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 74px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand .word {
  font-family: var(--disp);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.18rem;
  color: var(--ink);
}

.links {
  display: flex;
  gap: 30px;
  justify-content: center;
  font-size: 0.95rem;
}

.links a { color: var(--ink); }
.links a:hover { color: var(--mute); }

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--m);
  font-size: 0.8rem;
  color: var(--mute);
}

.ig-link:hover { color: var(--ink); }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--ink);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 15px 28px;
  border-bottom: 1px solid var(--line);
}

section { padding: 96px 0; }

/* hero */
.hero {
  background: var(--lav-band);
  padding: 80px 0 92px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  max-width: 13ch;
}

.hero h1 em { font-style: italic; color: var(--ink); }

.hero p.lead {
  font-size: 1.14rem;
  color: #46394e;
  max-width: 42ch;
  margin: 24px 0 30px;
}

.hero .cta {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(46, 36, 51, 0.1);
  padding: 34px;
}

.card h3 { font-size: 1.7rem; }

.card .sub {
  color: var(--mute);
  font-size: 0.95rem;
  margin: 6px 0 22px;
}

.field {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 16px;
  height: 52px;
  font-family: var(--g);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.field::placeholder { color: var(--mute); }

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--mute);
  margin: 6px 0 18px;
}

.card .full { width: 100%; justify-content: center; }

.card .micro {
  text-align: center;
  font-size: 0.82rem;
  color: var(--mute);
  margin: 16px 0 0;
}

.card .micro b { color: var(--ink); font-weight: 500; }

.card .ok {
  font-family: var(--m);
  font-size: 0.78rem;
  color: var(--yellow-deep);
  text-align: center;
  min-height: 1em;
  margin-top: 10px;
  display: none;
}

/* reassurance band */
.reassure { background: var(--sand-band); }

.reassure .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  justify-content: center;
  align-items: center;
  padding: 22px 28px;
  font-family: var(--m);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a4f33;
}

.reassure .sep { color: var(--yellow-deep); }

/* pull quote */
.pull { text-align: center; padding: 110px 0; }

.pull p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.25;
  max-width: 20ch;
  margin: 0 auto;
  color: var(--ink);
}

.pull .by {
  font-family: var(--m);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 26px;
}

/* split feature */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.split h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  max-width: 14ch;
}

.split p {
  color: #46394e;
  max-width: 40ch;
  margin: 18px 0 22px;
}

.chart-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(46, 36, 51, 0.08);
  padding: 30px;
}

.chart {
  width: 100%;
  height: auto;
  display: block;
}

.chart-loading {
  font-family: var(--m);
  font-size: 0.78rem;
  color: var(--mute);
  text-align: center;
  padding: 40px 0;
}

.chart-stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.chart-stat .big {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 3rem;
  line-height: 1;
}

.chart-stat .of { color: var(--mute); font-size: 1.1rem; }

.chart-stat .meta {
  font-family: var(--m);
  font-size: 0.74rem;
  color: var(--mute);
  letter-spacing: 0.04em;
}

.chart-stat .meta a { border-bottom: 1px solid var(--mute); }
.chart-stat .meta a:hover { color: var(--ink); }

/* section head */
.sec-head {
  text-align: center;
  max-width: 42ch;
  margin: 0 auto 12px;
}

.sec-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }

.sec-head p {
  color: var(--mute);
  margin: 18px auto 0;
}

.center { text-align: center; }

/* stat cards */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 10px 30px rgba(46, 36, 51, 0.05);
}

.stat .n {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.7rem;
  line-height: 1;
}

.stat .n small {
  font-family: var(--g);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--mute);
}

.stat .l {
  color: var(--mute);
  font-size: 0.92rem;
  margin-top: 14px;
}

/* program / discipline cards */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 14px;
}

.prog {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(46, 36, 51, 0.06);
  transition: transform 0.18s ease;
}

.prog:hover { transform: translateY(-5px); }

.prog .body { padding: 24px 24px 26px; }

.prog .disc {
  font-family: var(--m);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.prog h3 { font-size: 1.45rem; margin: 6px 0 4px; }

.prog p {
  color: var(--mute);
  font-size: 0.95rem;
  margin: 10px 0 0;
}

.gfx {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gfx svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* photo placeholder */
.ph {
  background: var(--cream-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--mute);
  aspect-ratio: 4 / 3;
  position: relative;
}

.ph.tall {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.ph .pcap {
  font-family: var(--m);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* rides & fundraisers */
.rides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.fund-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 5px solid var(--yellow);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(46, 36, 51, 0.05);
  display: flex;
  flex-direction: column;
}

.fund-org {
  font-family: var(--m);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}

.fund-card h3 {
  font-size: 1.55rem;
  margin: 0 0 8px;
}

.fund-meta {
  font-family: var(--m);
  font-size: 0.78rem;
  color: var(--yellow-deep);
  margin: 0 0 14px;
}

.fund-blurb {
  color: var(--mute);
  font-size: 0.93rem;
  margin: 0 0 22px;
  flex: 1;
}

.fund-card .btn-y {
  align-self: flex-start;
}

/* orgs */
.orgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

.org {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(46, 36, 51, 0.05);
}

.org h3 { font-size: 1.25rem; }

.org h3 a {
  color: inherit;
  border-bottom: 2px solid var(--yellow);
}

.org h3 a:hover { color: var(--mute); }

.org .ods {
  color: var(--mute);
  font-size: 0.93rem;
  margin: 6px 0 16px;
}

.org-visit {
  font-family: var(--m);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  border-bottom: 1px solid var(--yellow-deep);
  display: inline-block;
  margin-top: 4px;
}

.org-visit:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.bwrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bar2 {
  flex: 1;
  height: 8px;
  background: var(--cream-2);
  border-radius: 6px;
  overflow: hidden;
}

.bar2 i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--yellow);
  border-radius: 6px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pct {
  font-family: var(--m);
  font-size: 0.8rem;
  min-width: 42px;
  text-align: right;
}

.votebtn {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink);
}

.votebtn:hover { background: var(--cream-2); }

.votebtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.org.voted { border-color: var(--yellow-deep); }

.votes-total {
  font-family: var(--m);
  font-size: 0.76rem;
  color: var(--mute);
  text-align: center;
  margin-top: 18px;
}

.vote-msg {
  font-family: var(--m);
  font-size: 0.78rem;
  color: var(--yellow-deep);
  text-align: center;
  margin-top: 14px;
}

/* ride feed */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.ride {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(46, 36, 51, 0.05);
}

.ride.run { border-left-color: var(--lav); }
.ride.swim { border-left-color: var(--plum); }

.ride-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.ride-disc {
  font-family: var(--m);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute);
}

.ride-mi {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
}

.ride h3 { font-size: 1.15rem; margin: 14px 0 6px; }

.ride p {
  color: var(--mute);
  font-size: 0.93rem;
  margin: 0;
}

.feed-foot {
  font-family: var(--m);
  font-size: 0.78rem;
  color: var(--mute);
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.strava-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FC4C02;
}

/* instagram */
.ig { background: var(--lav-band); }

.ig-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.ig-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.ig-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  border: 1px solid var(--line);
}

.ig-caption {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: #46394e;
  max-width: 52ch;
}

.photo-grade {
  filter: sepia(0.1) saturate(0.92) hue-rotate(318deg) brightness(1.03) contrast(0.98);
}

.igtile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.igtile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ig-empty {
  margin-top: 30px;
  padding: 48px 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  text-align: center;
  font-family: var(--m);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

.igtile .ov {
  position: absolute;
  inset: 0;
  background: rgba(42, 33, 48, 0.78);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--m);
  font-size: 0.72rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.igtile:hover .ov { opacity: 1; }

/* story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.story-photo {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  max-width: 15ch;
}

.story p {
  color: #46394e;
  max-width: 44ch;
  margin: 18px 0 0;
}

.story .sig {
  font-family: var(--m);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 22px;
}

/* cta */
.cta-band {
  background: var(--plum);
  color: var(--cream);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
}

.cta-band h2 em {
  font-style: italic;
  color: var(--yellow);
}

.cta-band p {
  color: #cabcd0;
  margin: 16px 0 30px;
}

/* footer */
footer {
  background: var(--plum-2);
  color: var(--cream);
  padding: 60px 0 40px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 36px;
}

.foot h4 {
  font-family: var(--m);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a8fa2;
  margin: 0 0 16px;
  font-weight: 400;
}

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

.foot li { margin: 0 0 10px; color: #cabcd0; }

.foot li a:hover { color: var(--cream); }

.foot .brand .word { color: var(--cream); }

.signup-row { display: flex; gap: 8px; }

.signup-row .field {
  margin: 0;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--cream);
  height: 48px;
}

.signup-row .btn-y {
  flex-shrink: 0;
  height: 48px;
  padding: 0 20px;
}

.email-ok {
  font-family: var(--m);
  font-size: 0.72rem;
  color: var(--yellow);
  margin-top: 8px;
  display: none;
}

.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--m);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9a8fa2;
}

.rv {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .rv {
  opacity: 0;
  transform: translateY(18px);
}

.js .rv.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav { grid-template-columns: auto auto; }
  .links { display: none; }
  .nav-right .btn-dark { display: none; }
  .menu-btn { display: block; }
  .hero-grid, .split, .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .prog-grid, .feed-grid, .orgs, .rides-grid { grid-template-columns: 1fr; }
  .ig-grid, .ig-strip { grid-template-columns: repeat(3, 1fr); }
  section { padding: 72px 0; }
  .pull { padding: 84px 0; }
  .util .wrap { justify-content: center; }
  .util span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; transition: none; }
  .bar2 i { transition: none; }
}

/* ============================================================
   Field Notes  (/field-notes/ and /field-notes/<slug>/)
   New classes only — appended so brand tokens/fonts carry over.
   ============================================================ */

/* —— masthead (index) —— */
.fn-masthead {
  background: var(--lav-band);
  padding: 84px 0 70px;
}

.fn-masthead .eyebrow { color: #5a4f6a; }

.fn-masthead h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.fn-num {
  font-family: var(--m);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 30px 0 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.fn-num .of { color: var(--mute); font-size: 0.42em; letter-spacing: 0; }

.fn-num-cap {
  font-family: var(--m);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 12px 0 0;
}

/* "the line is the log" — route line under the number */
.fn-line {
  position: relative;
  height: 4px;
  background: rgba(46, 36, 51, 0.16);
  border-radius: 6px;
  margin: 26px 0 0;
  overflow: hidden;
}

.fn-line i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--yellow);
  border-radius: 6px;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* —— post list (index) —— */
.fn-list {
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.fn-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 24px;
  align-items: baseline;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: background 0.16s ease, padding-left 0.16s ease;
}

.fn-row:hover {
  background: rgba(46, 36, 51, 0.03);
  padding-left: 14px;
}

.fn-row .fn-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  grid-column: 1;
}

.fn-row:hover .fn-title { color: var(--ink); }

.fn-row .fn-dek {
  grid-column: 1;
  color: var(--mute);
  font-size: 1rem;
  max-width: 56ch;
  margin: 0;
}

.fn-row .fn-rdate {
  grid-column: 2;
  grid-row: 1 / span 3;
  font-family: var(--m);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--mute);
  white-space: nowrap;
  text-align: right;
}

/* tag chip with discipline dot */
.fn-chip {
  font-family: var(--m);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  grid-column: 1;
}

.fn-chip::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mute);
  display: inline-block;
}

.fn-chip.place::before { background: var(--yellow); }
.fn-chip.mind::before { background: var(--lav); }

/* —— single post —— */
.fn-post { padding: 70px 0 0; }

.fn-article {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 28px;
}

.fn-meta {
  font-family: var(--m);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--mute);
  margin: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.fn-meta .dot { color: var(--yellow-deep); }

.fn-article h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.fn-lede {
  font-size: 1.28rem;
  line-height: 1.5;
  color: #46394e;
  margin: 26px 0 8px;
}

.fn-body { margin-top: 22px; }

.fn-body h2 {
  font-size: clamp(1.5rem, 3.5vw, 1.95rem);
  margin: 42px 0 0;
}

.fn-body h3 { font-size: 1.3rem; margin: 30px 0 0; }

.fn-body p {
  font-size: 1.06rem;
  line-height: 1.72;
  color: #3a3142;
  margin: 16px 0 0;
}

.fn-body ul, .fn-body ol { margin: 16px 0 0; padding-left: 1.3em; color: #3a3142; }
.fn-body li { margin: 8px 0 0; line-height: 1.6; }

.fn-body a {
  color: var(--ink);
  border-bottom: 2px solid var(--yellow);
}

.fn-body a:hover { color: var(--mute); }

.fn-body img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin: 28px 0 0;
}

/* signature pull-quote line */
.fn-body blockquote {
  margin: 34px 0 0;
  padding: 0 0 0 22px;
  border-left: 3px solid var(--yellow);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.32;
  color: var(--ink);
}

/* placeholder while real copy is pending from Robert */
.fn-todo {
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  font-family: var(--m);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--mute);
}

/* crisis line (mental-health pages) */
.fn-crisis {
  margin: 38px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--yellow-deep);
  background: rgba(233, 226, 36, 0.08);
  border-radius: 14px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink);
}

.fn-crisis strong { color: var(--ink); }

/* related links */
.fn-related {
  max-width: 38rem;
  margin: 56px auto 0;
  padding: 28px 28px 0;
  border-top: 1px solid var(--line);
}

.fn-related h2 {
  font-family: var(--m);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.fn-related a {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-top: 14px;
  color: var(--ink);
}

.fn-related a:hover { color: var(--mute); }

/* CTA funnel (every post ends with this) */
.fn-cta {
  background: var(--plum);
  color: var(--cream);
  border-radius: 22px;
  max-width: 38rem;
  margin: 48px auto 0;
  padding: 36px;
}

.fn-cta .fn-cta-num {
  font-family: var(--m);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--yellow);
}

.fn-cta .fn-cta-num .of { color: #cabcd0; font-size: 0.42em; }

.fn-cta p { color: #cabcd0; margin: 10px 0 22px; font-size: 0.98rem; }

.fn-cta .fn-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.fn-cta hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 26px 0;
}

.fn-cta .give { color: var(--cream); font-size: 1.05rem; margin: 0 0 16px; }

/* quiet resource footnote under the CTA */
.fn-note {
  max-width: 38rem;
  margin: 22px auto 0;
  padding: 0 28px;
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--mute);
}

.fn-back {
  max-width: 38rem;
  margin: 40px auto 0;
  padding: 0 28px 90px;
  font-family: var(--m);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--mute);
}

.fn-back a { border-bottom: 1px solid var(--mute); }
.fn-back a:hover { color: var(--ink); }

/* —— pillar / hub (type: pillar) —— */
.fn-pillar { padding: 0 0 90px; }

.fn-pillar-head {
  background: var(--lav-band);
  padding: 78px 0 60px;
}

.fn-pillar-head .eyebrow { color: #5a4f6a; }

.fn-pillar-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 18ch;
  margin: 14px 0 0;
}

.fn-pillar-intro {
  font-size: 1.2rem;
  line-height: 1.55;
  color: #46394e;
  max-width: 56ch;
  margin: 22px 0 0;
}

/* spoke grid — cards down to the route guides ("the whole point of the pillar") */
.fn-spokes-wrap { padding-top: 52px; }

.fn-spokes-head {
  font-family: var(--m);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 22px;
}

.fn-spokes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 18px;
}

.fn-spoke {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.fn-spoke:hover { border-color: var(--yellow-deep); transform: translateY(-2px); }

.fn-spoke .fn-spoke-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.fn-spoke .fn-spoke-dek {
  color: var(--mute);
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0;
}

.fn-spoke .fn-spoke-more {
  margin-top: auto;
  font-family: var(--m);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-deep);
}

/* the pillar reuses the same .fn-cta end-block as posts */
.fn-pillar .fn-cta { margin-top: 56px; }

@media (max-width: 640px) {
  .fn-row { grid-template-columns: 1fr; }
  .fn-row .fn-rdate { grid-column: 1; grid-row: auto; text-align: left; }
  .fn-cta, .fn-related { border-radius: 0; }
  .fn-pillar-head { padding: 60px 0 46px; }
}

/* ============================================================
   RESOURCES — mental-health portal (/resources/)
   The hub reuses the pillar shell (.fn-pillar*, .fn-spokes).
   Segment pages add the publication-style resource card below.
   Tokens only — no new colours, no new fonts.
   ============================================================ */

/* life-stage label on a hub spoke card (Teens / Young adults / Adults) */
.fn-spoke .fn-spoke-kicker {
  font-family: var(--m);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

/* short "who this is for" line under a segment masthead */
.res-intro-note {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #46394e;
  max-width: 58ch;
  margin: 20px 0 0;
}

/* card grid on each segment page */
.res-wrap { padding-top: 50px; }

.res-head {
  font-family: var(--m);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 22px;
}

.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 18px;
}

/* publication-style card — a headline + plain-language note + how to reach it.
   Deliberately NOT a bare directory link. */
.res-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 28px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.res-card .res-cat {
  font-family: var(--m);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow-deep);
}

.res-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.38rem;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

.res-card h3 a { color: inherit; border-bottom: 2px solid transparent; }
.res-card h3 a:hover { border-bottom-color: var(--yellow); }

.res-card .res-desc {
  color: #51475a;
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}

.res-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 6px;
}

.res-foot .res-contact {
  font-family: var(--m);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.res-foot .res-contact a {
  color: var(--ink);
  border-bottom: 1px solid var(--yellow-deep);
}
.res-foot .res-contact a:hover { color: var(--mute); }

.res-foot .res-out {
  font-family: var(--m);
  font-size: 0.71rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-deep);
}
