/* Shared page navigation and the October content restructuring. */
html {
  /* Keep the page width stable when opening the menu locks scrolling. */
  scrollbar-gutter: stable;
}
.js .menu-toggle {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
  padding: 10px 12px;
  color: var(--forest-deep);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 800;
}
.menu-toggle-icon { display: grid; width: 28px; gap: 6px; }
.menu-toggle-icon span { width: 100%; height: 1px; background: currentColor; }
.menu-toggle-icon span:last-child { width: 70%; justify-self: end; }
.nav-open .menu-toggle-icon span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-open .menu-toggle-icon span:last-child { width: 100%; transform: translateY(-3.5px) rotate(-45deg); }
.js .site-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  padding: 24px max(24px, calc((100vw - 1280px) / 2));
  background: var(--paper);
  border-block: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
}
.js .nav-open .site-nav { display: flex; align-items: stretch; flex-direction: column; gap: 4px; }
.js .site-nav > a:not(.button) { padding: 12px 4px; font-family: var(--serif); font-size: 1.35rem; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.js .site-nav > a:not(.button)::after { display: none; }
.header-inner { position: relative; }
@media (min-width: 1101px) {
  .js .menu-toggle { display: none; }
  .js .site-nav {
    position: static;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 24px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  .js .site-nav > a:not(.button) {
    padding: 12px 0;
    font-family: var(--sans);
    font-size: .82rem;
    white-space: nowrap;
  }
  /* The introduction already has a dedicated button beside the navigation. */
  .js .site-nav > a[href="/contact/"] { display: none; }
}
.membership h1 { max-width: 900px; font-size: clamp(2.7rem, 5vw, 4.8rem); }
.conversation h1, .members-welcome h1 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.conversation-copy h1 { margin-block: 20px 28px; font-size: clamp(2.3rem, 3.5vw, 3.5rem); }
.introduction-context { margin-bottom: 20px; }
.contact-method + .contact-method { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-method h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; }
.contact-method p { margin-block: 12px 18px; line-height: 1.65; }
.membership-individual { margin-top: 28px; }
.membership-individual a { text-decoration: underline; text-underline-offset: 3px; }
.contact-card h2 { margin-bottom: 24px; font-size: 2rem; }
.members-entry { min-height: 65vh; }
.members-welcome { max-width: 760px; margin-bottom: 40px; }
.members-welcome > p:last-child { margin-top: 24px; font-size: 1.2rem; }
.member-gate { max-width: 540px; }
.member-gate[hidden] { display: none; }
.member-gate label { display: block; font-size: 1.3rem; font-weight: 700; }
.member-gate input { display: block; width: 100%; padding: 14px; margin-top: 20px; border: 1px solid var(--muted); border-radius: 4px; background: var(--paper); font: inherit; }
#password-error { min-height: 1.5em; color: #874b3c; margin-block: 8px; }
.member-resources { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.resource-links > a { display: block; padding-block: 16px; border-bottom: 1px solid var(--line); }
.resource-links > p { margin-top: 24px; }
@media (max-width: 900px) {
  .member-resources { grid-template-columns: 1fr; }
  .member-resources .contact-card { width: 100%; max-width: none; }
}
@media (max-width: 700px) {
  .focused-refresh .hero h1 { font-size: clamp(3.2rem, 12vw, 5rem); }
  .header-cta { display: none; }
  .contact-card { justify-self: stretch; }
}
.membership h1, .conversation h1, .members-welcome h1, .about-copy h1 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.about-copy h1 { margin-top: 18px; font-size: clamp(3rem, 5vw, 5.5rem); }
.contact-card h2 { font-family: var(--serif); font-weight: 400; line-height: 1.2; }

/* Layout review: shared header and footer. */
html { font-variant-numeric: lining-nums; }
.site-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.header-cta { box-shadow: none; }
@media (min-width: 1101px) {
  /* Member login is a utility link, set apart from the prospect navigation. */
  .js .site-nav > a.nav-utility {
    margin-left: 4px;
    padding-left: 24px;
    color: var(--muted);
    border-left: 1px solid var(--line);
  }
}
.footer-top { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 0.8fr)); }
.footer-legal { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
.footer-legal p:nth-child(2) { grid-row: 2; text-align: left; }
.footer-legal p:last-child { grid-column: 2; grid-row: 1; }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)); }
  .footer-legal { grid-template-columns: 1fr; row-gap: 12px; }
  .footer-legal p:nth-child(2), .footer-legal p:last-child { grid-column: 1; grid-row: auto; }
}
@media (max-width: 700px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}

/* Layout review: homepage pathways. */
.pathways { background: var(--ivory); }
.pathways-title {
  margin-bottom: clamp(32px, 4vw, 48px);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.pathways-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pathway-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium) var(--radius-medium) 6px var(--radius-medium);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.pathway-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.pathway-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--forest-deep); }
.pathway-media img { width: 100%; height: 100%; object-fit: cover; }
.pathway-media-portrait img { object-position: center 18%; }
.pathway-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 28px 30px 32px; gap: 10px; }
.pathway-heading { font-family: var(--serif); font-size: clamp(1.7rem, 2.3vw, 2.1rem); line-height: 1.1; }
.pathway-text { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.pathway-link {
  margin-top: auto;
  padding-top: 12px;
  color: var(--forest-deep);
  font-size: 0.82rem;
  font-weight: 800;
}
.pathway-card:hover .pathway-link { color: var(--clay-deep); }
.pathway-card-cta { color: var(--ivory-light); background: var(--forest-deep); border-color: var(--forest-deep); }
.pathway-card-cta .pathway-body { justify-content: center; padding: clamp(32px, 4vw, 48px); }
.pathway-card-cta .pathway-text { color: rgba(252, 249, 242, 0.78); }
.pathway-button { margin-top: 18px; }
.pathway-card-cta:hover .pathway-button { background: var(--clay); }
@media (max-width: 900px) {
  .pathways-grid { grid-template-columns: 1fr; }
  .pathway-card:not(.pathway-card-cta) { flex-direction: row; }
  .pathway-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 220px; }
}
@media (max-width: 560px) {
  .pathway-card:not(.pathway-card-cta) { flex-direction: column; }
  .pathway-media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .pathway-body { padding: 24px; }
}

/* Layout review: closing next step shared by content pages. */
.next-step { padding-block: clamp(64px, 7vw, 104px); background: var(--ivory); }
.next-step-inner {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 96px);
}
.next-step-copy { max-width: 640px; }
.next-step h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.next-step-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; }
@media (max-width: 900px) {
  .next-step-inner { grid-template-columns: 1fr; align-items: start; }
}

/* Layout review: membership plans size rows to their content. */
.focused-refresh .membership-plan-fit,
.focused-refresh .membership-plan-metric { min-height: 0; }
/* Each plan's details sit directly below its card and read as one piece, so an
   opened plan grows on its own while the summary rows stay aligned. */
.membership-plans { row-gap: 0; }
.focused-refresh .membership-plan {
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  clip-path: inset(-80px -80px 0 -80px);
}
.membership-plan-more {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  overflow: clip;
  color: var(--ivory-light);
  border: 1px solid rgba(252, 249, 242, 0.3);
  border-top: 0;
  border-radius: 0 0 6px 24px;
  box-shadow: var(--shadow-card);
  clip-path: inset(0 -80px -80px -80px);
}
.membership-plan-more:last-child { margin-bottom: 0; }
.focused-refresh .membership-plan-more-bronze { background: var(--plan-bronze); }
.focused-refresh .membership-plan-more-silver { background: var(--plan-silver); }
.focused-refresh .membership-plan-more-gold { background: var(--plan-gold); }
@media (min-width: 1101px) {
  @supports (grid-template-rows: subgrid) {
    /* Each summary row lines up across the three plans without fixed heights. */
    .focused-refresh .membership-plans { grid-template-rows: repeat(10, auto); align-items: stretch; }
    .focused-refresh .membership-plan { display: grid; grid-row: 1 / span 9; grid-template-rows: subgrid; row-gap: 0; }
    .membership-plan-bronze, .membership-plan-more-bronze { grid-column: 1; }
    .membership-plan-silver, .membership-plan-more-silver { grid-column: 2; }
    .membership-plan-gold, .membership-plan-more-gold { grid-column: 3; }
    .focused-refresh .membership-plan-summary,
    .focused-refresh .membership-plan-metrics { display: contents; }
    .focused-refresh .membership-plan-heading,
    .focused-refresh .membership-plan-price,
    .focused-refresh .membership-plan-fit,
    .focused-refresh .membership-plan-metric { margin-inline: 30px; }
    .focused-refresh .membership-plan-heading { padding-top: 32px; }
    .focused-refresh .membership-plan-fit { margin-bottom: 26px; }
    .focused-refresh .membership-plan-metric { padding-block: 14px; }
    .focused-refresh .membership-plan-metric:first-child { border-top: 1px solid rgba(252, 249, 242, 0.18); }
    /* Only the opened plan's details extend; its neighbors keep their height. */
    .membership-plan-more { grid-row: 10; align-self: start; margin-bottom: 0; }
  }
}
@media (min-width: 701px) and (max-width: 1100px) {
  /* Wide single-column plans: summary beside a compact grid of included care. */
  .membership-plans { grid-template-columns: 1fr; }
  .focused-refresh .membership-plan-summary {
    grid-template-columns: minmax(190px, 0.75fr) minmax(0, 2fr);
    grid-template-rows: auto auto auto 1fr;
    align-items: start;
    column-gap: 40px;
    padding-bottom: 28px;
  }
  .focused-refresh .membership-plan-summary > :not(.membership-plan-metrics) { grid-column: 1; }
  .focused-refresh .membership-plan-metrics {
    display: grid;
    margin-top: 0;
    grid-column: 2;
    grid-row: 1 / span 4;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    border-top: 0;
  }
  .focused-refresh .membership-plan-metric { grid-template-columns: 1fr; align-content: start; gap: 4px; padding-block: 12px; }
  .focused-refresh .membership-plan-metric dd { text-align: left; }
  .membership-plan-more { border-top: 1px solid rgba(252, 249, 242, 0.18); }
}
@media (min-width: 701px) and (max-width: 900px) {
  .focused-refresh .membership-plan-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Layout review: introduction page. */
.conversation-copy h1 { margin-bottom: 24px; font-size: clamp(2.8rem, 5vw, 4.6rem); }
.introduction-lead {
  max-width: 34ch;
  margin-bottom: 24px;
  color: #334038;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.4;
}
.conversation-copy > p, .introduction-fine-print { max-width: 540px; }
.introduction-fine-print { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.introduction-fine-print > p { margin-bottom: 0; color: #334038; font-size: 0.9rem; }
.introduction-fine-print .safety-note strong { font-size: 0.9rem; }
.introduction-fine-print .safety-note p { color: #334038; font-size: 0.9rem; }
/* Contact methods are the card's top-level headings now that the card title is gone. */
.contact-card .contact-method h2 {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}
.introduction-fine-print .safety-note { margin-top: 20px; }

/* Layout review: member entry and resources. */
.members-entry { display: grid; align-items: center; }
.members-entry .shell {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  gap: clamp(40px, 8vw, 120px);
}
.members-entry .members-welcome { margin-bottom: 0; }
.members-welcome > p.members-prospect { margin-top: 32px; color: var(--muted); font-size: 0.95rem; }
.members-prospect a { color: var(--forest-deep); font-weight: 700; text-underline-offset: 3px; }
.member-resources { align-items: stretch; }
.member-resources .download-card {
  max-width: none;
  padding: clamp(30px, 5vw, 54px);
  border-radius: var(--radius-large) var(--radius-large) 8px var(--radius-large);
}
@media (max-width: 900px) {
  .members-entry .shell { grid-template-columns: 1fr; }
}
.members-welcome > p:not(.kicker, .members-prospect) { margin-top: 24px; font-size: 1.2rem; }

/* Layout review: what every plan includes, stated once, right before the plans. */
.membership-included {
  display: grid;
  align-items: center;
  margin-top: clamp(40px, 5vw, 60px);
  padding: clamp(24px, 3vw, 34px);
  background: rgba(252, 249, 242, 0.72);
  border: 1px solid rgba(35, 72, 59, 0.14);
  border-radius: var(--radius-medium) var(--radius-medium) var(--radius-medium) 6px;
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 2.45fr);
  gap: 20px clamp(24px, 3vw, 40px);
}
.membership-included h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.membership-included ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}
.membership-included li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2f3d35;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}
.membership-included-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  color: var(--forest);
  background: var(--sage-light);
  border-radius: 50%;
}
.membership-included-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
/* The included row and the plans read as one unit. */
.membership-included + .membership-plans { margin-top: 20px; }
@media (max-width: 1100px) {
  .membership-included { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .membership-included ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .membership-included ul { grid-template-columns: 1fr; gap: 14px; }
}

/* Layout review: a compact membership header with the headline on one line. */
.membership.section { padding-top: clamp(56px, 6vw, 88px); }
.membership .membership-copy { max-width: none; }
.membership .membership-copy h1 { max-width: none; margin-bottom: 20px; font-size: clamp(2.7rem, 4.4vw, 4.4rem); }
.membership .membership-copy .lead { max-width: none; margin-bottom: 16px; }

/* Layout review: the resources page leads with one descriptive heading. */
.members-welcome.resources-welcome { max-width: none; }
.resources-welcome h1 { margin-bottom: 0; font-size: clamp(2.4rem, 3.7vw, 3.5rem); }
