/* Responsive finishing touches: retain the centered single-column mobile flow. */
@media (max-width: 1023px) {
  .framework-intro-empty { display: none; }
  .hero {
    color: #fffaf5;
    background-color: #1c342a;
    background-image: linear-gradient(180deg, #1c342ae8 0%, #1c342acb 52%, #1c342a9c 100%), url('/assets/forest-background-clean.webp');
    background-position: center 42%;
    background-size: cover;
  }
  .hero h1 {
    color: #fffaf5;
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.025em;
    text-wrap: balance;
  }
  .hero h1 em { color: #f3cfd5; font-family: inherit; font-weight: 400; }
  .hero-copy > .hero-invitation { color: #f3dce0; }
  .hero-copy > .hero-audience { color: #fffaf5; }
  .hero .cta { color: #382b29; background: #f3d8dc; border-color: #f3d8dc; }
  .hero .cta-note {
    max-width: 430px;
    margin: 12px auto 0;
    color: #fffaf5;
    text-align: center;
  }
  .hero-deck {
    max-width: 650px;
    margin: 20px auto 0 !important;
    font-size: 16px;
    line-height: 1.85;
  }
  .framework-intro {
    padding: 26px 0 22px;
    background: var(--paper);
  }
  .framework-intro .wrap { width: calc(100% - 40px); }
  .framework-intro .hero-deck {
    max-width: 650px;
    margin: 0 auto !important;
    color: #253e33;
    text-align: center;
  }
  .progress-rail { display: none; }
  .lab-pair { grid-template-columns: 1fr; }
  .lab-card > span { display: none; }
  .lab-card img { display: block; width: 100%; height: auto; }
  .lab-context { margin: 10px 0 0 !important; font-size: 14px !important; }
  .lab-context summary {
    display: inline-flex;
    min-width: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #b99ca0;
    border-radius: 50%;
    color: #62434b;
    cursor: pointer;
    font-size: 19px;
    line-height: 1;
    list-style: none;
  }
  .lab-context summary::-webkit-details-marker { display: none; }
  .lab-context summary:focus-visible { outline: 2px solid #62434b; outline-offset: 3px; }
  .lab-context > div { max-width: 680px; padding-top: 9px; }
  .voices .section-heading { display: block; text-align: center; }
  .voices .section-heading > div { max-width: 950px; margin-inline: auto; }
  .voices .voices-promise { max-width: 950px; margin-inline: auto; text-align: center; }
  .voices .section-heading > p { max-width: 650px; margin: 24px auto 0; text-align: center; }
  .cell-heading { margin: 0 auto 32px; text-align: center; }
  .cell-heading h2 { margin-inline: auto; text-align: center; }
}

@media (min-width: 1024px) {
  :root {
    --ink: #342d2a;
    --green: #20382e;
    --rose: #85515e;
    --paper: #fffaf5;
    --line: #d8c9c1;
  }

  body { color: var(--ink); }
  main > .wrap,
  .section > .wrap,
  .site-footer > .wrap {
    width: min(1280px, calc(100% - 104px));
  }

  .hero {
    color: #fffaf5;
    background-color: #1c342a;
    background-image: linear-gradient(90deg, #1c342ae8 0%, #1c342acb 43%, #1c342a6b 100%), url('/assets/forest-background-clean.webp');
    background-position: center 42%;
    background-size: cover;
  }
  .hero-grid {
    display: grid;
    flex-direction: initial;
    width: min(1360px, calc(100% - 96px));
    max-width: none;
    min-height: 650px;
    grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
    gap: clamp(42px, 5vw, 76px);
    padding: 48px 0 52px;
  }
  .hero-copy { width: 100%; text-align: left; }
  .hero-copy > .hero-invitation {
    max-width: 560px;
    margin: 0 0 18px;
    color: #f3dce0;
    font-size: 12px;
    letter-spacing: .17em;
  }
  .hero-copy > .hero-audience {
    max-width: 560px;
    margin: 0 0 28px;
    color: #fffaf5;
    font-size: 17px;
    line-height: 1.65;
  }
  .hero h1 {
    max-width: 680px;
    margin: 0;
    color: #fffaf5;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(60px, 5.1vw, 78px);
    font-weight: 400;
    line-height: .99;
    letter-spacing: -.025em;
    text-wrap: balance;
    text-align: left;
  }
  .hero h1 br.hero-title-break { display: none; }
  .hero h1 em {
    display: inline;
    color: #f3cfd5;
    font-family: inherit;
    font-style: italic;
    font-weight: 400;
    letter-spacing: inherit;
    text-decoration: none;
    transform: none;
    box-shadow: none;
  }
  .hero-photo {
    max-width: none;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 600px;
    margin: 0;
    align-self: center;
    overflow: hidden;
  }
  .hero-photo > img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    object-fit: cover;
    object-position: 50% 39%;
    box-shadow: none;
  }
  .photo-caption {
    right: 18px;
    bottom: 18px;
    left: auto;
    max-width: 350px;
    padding: 11px 15px;
    color: #fffaf5;
    text-align: right;
    background: #17291f9c;
    box-shadow: none;
  }
  .photo-caption em {
    display: block;
    font: italic 22px/1.25 'Instrument Serif', Georgia, serif;
  }
  .photo-caption span {
    display: block;
    margin-top: 4px;
    color: #fffaf5;
    font-size: 9px;
    letter-spacing: .12em;
  }
  .hero .cta {
    min-width: 250px;
    min-height: 60px;
    margin-top: 30px;
    padding: 15px 28px;
    color: #382b29;
    background: #f3d8dc;
    border-color: #f3d8dc;
    box-shadow: none;
  }
  .hero .cta:hover {
    color: #382b29;
    background: #fff4ec;
    border-color: #fff4ec;
    box-shadow: none;
    transform: translateY(-1px);
  }
  .hero .cta-note {
    max-width: 430px;
    margin: 13px 0 0;
    color: #fffaf5;
    font-size: 12px;
    line-height: 1.65;
    text-align: left;
  }
  .progress-rail { left: auto; right: 24px; }

  .framework-intro {
    padding: 46px 0 39px;
    background: var(--paper);
  }
  .framework-intro .wrap {
    width: min(1000px, calc(100% - 104px));
  }
  .framework-intro .hero-deck {
    max-width: 960px;
    margin: 0 auto;
    color: #253e33;
    font-size: clamp(23px, 2.15vw, 29px);
    line-height: 1.55;
    text-align: center;
    text-wrap: pretty;
  }
  .framework-intro .hero-deck strong { font-weight: 700; }
  .framework-intro-empty { display: none; }

  .proof-strip {
    width: min(1320px, calc(100% - 104px));
    gap: 28px;
    padding: 31px 0 35px;
  }
  .proof-item { padding: 0 24px; }
  .proof-item strong {
    color: #274334;
    font: 400 clamp(38px, 3.2vw, 49px)/1.12 'Instrument Serif', Georgia, serif;
  }
  .proof-item span { color: #443d38; font-size: 15px; line-height: 1.65; }

  .science-quote {
    padding: 60px 0 65px;
    background: #f7efea;
  }
  .science-quote .wrap { width: min(1120px, calc(100% - 104px)); }
  .science-quote blockquote {
    max-width: 1000px;
    color: #45342f;
    font: italic clamp(38px, 4vw, 54px)/1.22 'Instrument Serif', Georgia, serif;
    text-wrap: balance;
  }
  .science-quote span { color: #644e48; font-size: 12px; }

  .section { padding: clamp(74px, 7vw, 104px) 0; }
  .section-heading { margin-bottom: 45px; }
  .section-heading h2,
  .story-copy h2,
  .cell-heading h2,
  .faq-intro h2 {
    color: #243c30;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(49px, 5vw, 70px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -.025em;
    text-wrap: balance;
  }
  .section-heading > p {
    max-width: 420px;
    color: #514640;
    font-size: 16px;
    line-height: 1.8;
  }
  .story-grid { display: block; }
  .story-copy {
    display: grid;
    grid-template-columns: minmax(310px, .82fr) minmax(0, 1.18fr);
    align-items: start;
    column-gap: clamp(48px, 6vw, 78px);
    row-gap: 18px;
  }
  .story-copy > .eyebrow,
  .story-copy > h2 { grid-column: 1 / -1; text-align: left; }
  .story-copy > .eyebrow { margin: 0; }
  .story-copy > h2 { margin: -6px 0 12px; font-size: clamp(54px, 5.1vw, 72px); }
  .story-portrait {
    grid-column: 1;
    grid-row: 3 / span 8;
    position: sticky;
    top: 125px;
    width: 100%;
    margin: 0;
    align-self: start;
  }
  .story-portrait img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 3px;
    object-fit: cover;
    object-position: 50% 38%;
  }
  .story-portrait figcaption {
    margin-top: 12px;
    color: #634d43;
    font: italic 25px/1.35 'Instrument Serif', Georgia, serif;
  }
  .story-copy > p:not(.lab-context):not(.story-plan-statement),
  .story-copy > .timeline,
  .story-copy > .lab-story-heading,
  .story-copy > .lab-pair,
  .story-copy > .lab-context,
  .story-copy > .story-plan-statement,
  .story-copy > .story-cta,
  .story-copy > details { grid-column: 2; }
  .story-copy > p:not(.lab-context):not(.story-plan-statement) {
    margin: 0;
    color: #38332f;
    font-size: 17px;
    line-height: 1.85;
  }
  .story-copy > .timeline { margin: 8px 0 12px; }
  .timeline-row { grid-template-columns: 118px 1fr; gap: 24px; padding: 20px 0; }
  .timeline-row strong { font-size: 14px; }
  .timeline-row p { font-size: 15px; line-height: 1.8; }
  .story-copy > .lab-story-heading {
    max-width: none;
    margin: 22px 0 0;
    padding: 30px 0 0;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-align: left;
  }
  .lab-pair { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .lab-card { padding: 18px; }
  .lab-card > span { display: none; }
  .story-copy details.lab-context {
    display: block;
    margin: 14px 0 0;
    border: 0;
  }
  .lab-context { font-size: 14px !important; line-height: 1.7; }
  .lab-context summary {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #b99ca0;
    border-radius: 50%;
    color: #62434b;
    cursor: pointer;
    font-size: 19px;
    line-height: 1;
    list-style: none;
  }
  .lab-context summary::-webkit-details-marker { display: none; }
  .lab-context summary:focus-visible { outline: 2px solid #62434b; outline-offset: 3px; }
  .lab-context > div { max-width: 680px; padding-top: 9px; }
  .story-plan-statement { font-size: 15px; }

  .voices { background: #f7efea; }
  .voices .section-heading { display: block; max-width: none; text-align: center; }
  .voices .section-heading > div { max-width: 950px; margin-inline: auto; }
  .voices .voices-promise { max-width: 950px; margin-inline: auto; font-size: clamp(48px, 4.7vw, 66px); line-height: 1.08; text-align: center; }
  .voices-promise > span + span { margin-top: 13px; color: #785661; font-size: .62em; line-height: 1.38; font-weight: 400; }
  .voices .section-heading > p { max-width: 650px; margin: 24px auto 0; text-align: center; }
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
  }
  .testimonial,
  .live-note-stack .testimonial {
    min-height: 0;
    padding: 30px 32px;
    margin-top: 0;
    border-color: #e2d5cb;
    border-radius: 3px;
    background: #fffdf9;
  }
  .testimonial blockquote,
  .live-note-stack blockquote { font-size: 17px; line-height: 1.8; }
  .testimonial-card-top,
  .testimonial-card-bottom { font-size: 12px; }
  .testimonial-quote-mark { margin-top: 13px; font-size: 42px; }
  .voices-bottom { margin-top: 32px; }
  .voices-bottom p { max-width: 720px; font-size: 14px; line-height: 1.75; }

  .cell-section { background: #fcf7f1; }
  .cell-section > .wrap { width: min(1280px, calc(100% - 104px)); }
  .cell-heading { max-width: 1000px; margin: 0 auto 48px; text-align: center; }
  .cell-heading h2 { margin: 16px auto 0; text-align: center; }
  .cell-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 76px; align-items: center; }
  .cell-layout > div:first-child { max-width: 600px; }
  .cell-stage { max-width: 560px; }
  .cell-layout > div:last-child { margin-top: 0; }
  .cell-tabs { gap: 14px; }
  .cell-tabs button { min-height: 95px; padding: 14px 5px; }
  .cell-tabs .letter { font: 44px/1 'Instrument Serif', Georgia, serif; }
  .cell-tabs .name { min-height: 36px; font-size: 12px; line-height: 1.4; }
  .cell-panel { min-height: 265px; padding-top: 30px; }
  .cell-panel h3 { margin-bottom: 17px; font: 400 40px/1.15 'Instrument Serif', Georgia, serif; }
  .cell-panel p { font-size: 17px; line-height: 1.85; }

  .inside { background: #f5e9e5; }
  .inside .section-heading { align-items: end; }
  .inside .section-heading h2 { max-width: 790px; }
  .inside .section-heading > p { max-width: 365px; }
  .program-preview {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 26px 72px;
    margin: 46px auto 60px;
  }
  .program-pages {
    grid-column: 1;
    width: 100%;
    gap: 14px;
    padding: 12px 0 0;
  }
  .program-cover,
  .program-tracker { width: 47%; }
  .program-cover { margin-top: 17px; }
  .program-community {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 0;
    padding: 23px;
    border-color: #ddcbc2;
    border-radius: 3px;
    background: #fffaf5;
    box-shadow: none;
    transform: none;
  }
  .program-preview figcaption {
    grid-column: 1 / -1;
    margin: 0;
    color: #4e443e;
    font: italic 30px/1.35 'Instrument Serif', Georgia, serif;
  }
  .inside-grid { gap: 32px; }
  .inside-item { padding-top: 22px; }
  .inside-item h3 { color: #284438; font: 400 36px/1.15 'Instrument Serif', Georgia, serif; }
  .inside-item p { font-size: 16px; line-height: 1.8; }

  .faq-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 92px; }
  .faq-intro { position: sticky; top: 130px; align-self: start; }
  .faq-intro h2 { margin-top: 18px; }
  .faq-list summary { padding-top: 25px; padding-bottom: 25px; font-size: 17px; }
  .faq-list details > div { max-width: 740px; font-size: 16px; line-height: 1.8; }

  .closing.your-story-invitation {
    padding: 95px 32px 105px;
    color: #fffaf5;
    background-color: #20382e;
    background-image: linear-gradient(#1d382eb5, #1d382ec9), url('/assets/palms.webp');
    background-position: center 42%;
    background-size: cover;
  }
  .closing .closing-inner { width: min(1160px, calc(100% - 80px)); }
  .closing h2 {
    color: #fffaf5;
    font: 400 clamp(72px, 7vw, 102px)/1.02 'Instrument Serif', Georgia, serif;
    letter-spacing: -.025em;
  }
  .closing h2 em {
    color: #f3cfd5;
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
  }
  .closing h2 em:after { display: none; }
  .closing p { color: #fffaf5; font-size: 17px; line-height: 1.8; }
  .closing .cta {
    min-width: 250px;
    color: #382b29;
    border-color: #f3d8dc;
    border-radius: 3px;
    background: #f3d8dc;
    box-shadow: none;
  }
  .closing .cta:hover { color: #382b29; border-color: #fff4ec; background: #fff4ec; }
  .footer-note { font-size: 12px; line-height: 1.8; }
}
