/* Grid children must not retain the full-page shell width. */
.letter__copy.page-shell {
  width: auto;
  margin-inline: 0;
}

/* Keep the agenda's heading, guidance, and priority chooser in one visual sequence. */
@media (min-width: 901px) {
  .agenda__mast {
    display: flex;
    align-items: baseline;
    gap: clamp(1.25rem, 3vw, 3rem);
  }

  .agenda__mast h2 {
    max-width: 760px;
    font-size: clamp(3.35rem, 4.25vw, 4.8rem);
  }

  .agenda__mast h2 br {
    display: none;
  }

  .agenda__stage {
    grid-template-columns: minmax(285px, .62fr) minmax(0, 1.38fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    margin-top: 1.8rem;
  }

  /* Keep the active commitment in view while its details are being read. */
  .agenda__tabs { position: sticky; top: 112px; }
  .agenda__panels article { padding-top: 0; scroll-margin-top: 112px; }
  .agenda__panels h3 { margin-top: .35rem; font-size: clamp(2.5rem, 3.55vw, 3.9rem); }
  .agenda__statement { margin: .7rem 0 1rem; }
}

/* A denser, more useful platform section. */
.agenda { padding: clamp(4.5rem, 7vw, 6.5rem) 0; }
.agenda__panels article { min-height: 0; padding: .4rem 0 1rem; }
.agenda__panels h3 { margin-top: .65rem; font-size: clamp(2.85rem, 4vw, 4.3rem); }
.agenda__statement { max-width: 720px; margin: 1rem 0 1.15rem; color: #d6e0ea; font: 400 1.02rem/1.45 var(--serif); }
.agenda__points { display: grid; gap: .75rem; max-width: 720px; padding: 0; margin: 0; list-style: none; }
.agenda__points li { display: grid; grid-template-columns: minmax(150px, .34fr) 1fr; gap: 1rem; padding-top: .65rem; border-top: 1px solid rgba(255,255,255,.22); }
.agenda__points strong { color: #fff; font-size: .8rem; line-height: 1.35; letter-spacing: .01em; }
.agenda__points span { color: #c9d5e2; font-size: .84rem; line-height: 1.45; }
.agenda__footer { display: flex; gap: 1rem 1.5rem; align-items: end; justify-content: space-between; max-width: 720px; margin-top: 1rem; }
.agenda__footer .agenda__promise { max-width: 430px; padding-top: .85rem; font-size: 1rem; }
.agenda__source { flex: 0 0 auto; padding-bottom: .2rem; border-bottom: 1px solid #ff969a; color: #fff; font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.agenda__source:hover { color: #ffb0b4; }

/* A quieter, balanced campaign contact panel. */
.involved__grid { grid-template-columns: minmax(360px, .9fr) 1.1fr; }
.involved__intro { min-height: 0; padding: clamp(3.2rem, 5vw, 5rem); }
.involved__intro h2 { margin: 1rem 0 1.25rem; font-size: clamp(3.2rem, 4vw, 4.65rem); }
.involved__intro > span { max-width: 390px; font-size: 1rem; }
.sign-showcase { display: grid; grid-template-columns: minmax(0, 1fr) 126px; gap: .9rem; align-items: stretch; margin-top: 1.8rem; padding-top: 0; }
.sign-showcase__preview { display: grid; min-height: 170px; place-items: center; padding: .7rem; border: 1px solid rgba(255,255,255,.25); background: #f8fafc; box-shadow: 0 12px 24px rgba(0,0,0,.15); }
.sign-showcase__preview img { position: static; right: auto; bottom: auto; left: auto; width: 100%; max-width: none; height: 150px; object-fit: contain; filter: drop-shadow(0 8px 6px rgba(2,28,61,.16)); transform: none; }
.sign-showcase__choices { display: grid; gap: .45rem; }
.sign-showcase__choices button { display: grid; align-content: center; gap: .14rem; padding: .55rem .65rem; border: 1px solid rgba(255,255,255,.3); color: #fff; background: transparent; text-align: left; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.sign-showcase__choices button:hover, .sign-showcase__choices button[aria-pressed="true"] { border-color: #ff969a; color: var(--navy); background: #fff; }
.sign-showcase__choices span { font-size: .76rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.sign-showcase__choices small { font-size: .64rem; opacity: .76; }
.contact { margin: 2rem 0; padding: clamp(2.2rem, 4.2vw, 4.25rem); }
.contact__heading { max-width: none; margin-bottom: 2rem; }
.contact__heading h3 { margin: .65rem 0 1.2rem; font-size: clamp(2.6rem, 4vw, 4.2rem); }
.contact__direct { display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.contact__direct a { display: grid; gap: .08rem; color: var(--navy); }
.contact__direct small { color: var(--muted); font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.contact__direct strong { border-bottom: 1px solid var(--red); font-size: .9rem; line-height: 1.35; }
.contact__direct a:hover { color: var(--red); }

/* Opening utility line reads against any part of the family photograph. */
.opening__utility { align-items: center; gap: .55rem; }
.opening__utility p { padding: .36rem .55rem; border: 1px solid rgba(255,255,255,.45); color: #fff; background: rgba(2,28,61,.74); box-shadow: 0 4px 14px rgba(0,0,0,.16); text-shadow: none; }
.opening__utility > span { width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.45); }

/* A single official release, deliberately compact. */
.press-release { padding: 3rem 0; color: var(--ink); background: #fff; }
.press-release__grid { display: grid; grid-template-columns: minmax(235px, .58fr) 1.42fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.press-release__intro > p, .donate__grid > div:first-child > p, .donate__card > p { color: var(--red); font-size: .7rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.press-release__intro h2 { margin: .5rem 0 0; font-size: clamp(2rem, 3.2vw, 3.4rem); }
.donate h2 { margin: .9rem 0 1.2rem; font-size: clamp(3.25rem, 5.2vw, 5.6rem); }
.press-release__card { padding: 1.15rem 1.35rem; border-left: 4px solid var(--red); background: #eff3f6; box-shadow: none; }
.press-release__card > p { color: var(--red); font-size: .66rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.press-release__card h3 { max-width: 600px; margin: .35rem 0 .5rem; font-size: clamp(1.45rem, 2.15vw, 2.25rem); }
.press-release__card > span { display: block; max-width: 530px; color: var(--muted); }
.press-release__pending { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; align-items: center; margin-top: .9rem; padding: .65rem .75rem; border: 1px dashed #8292a2; color: var(--navy); background: #fff; }
.press-release__pending strong { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.press-release__pending small { color: var(--muted); font-size: .76rem; }

/* Styled contribution area, ready to receive the live redirect. */
.donate { padding: 6.5rem 0; color: #fff; background: var(--navy-deep); }
.donate__grid { display: grid; grid-template-columns: minmax(280px, .9fr) 1.1fr; gap: clamp(2.5rem, 8vw, 9rem); align-items: center; }
.donate h2 em { color: #ff969a; font-style: normal; }
.donate__grid > div:first-child > span { display: block; max-width: 390px; color: #c9d5e2; }
.donate__card { padding: clamp(2rem, 4vw, 4rem); color: var(--ink); background: #fff; }
.donate__card h3 { margin: .7rem 0 1rem; font-size: clamp(2rem, 3.2vw, 3.4rem); }
.donate__card > span { display: block; max-width: 480px; color: var(--muted); }
.donate__card button { width: 100%; margin: 2rem 0 .8rem; padding: 1rem 1.25rem; border: 0; color: #fff; background: var(--red); font-size: .88rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; opacity: .72; cursor: not-allowed; }
.donate__card small { color: var(--muted); font-size: .72rem; }

/* Let the long-form story read as one campaign narrative rather than a stack of sealed-off blocks. */
@media (min-width: 901px) {
  .letter,
  .agenda,
  .maintenance,
  .press-release,
  .donate,
  .involved {
    position: relative;
  }

  .letter::after,
  .agenda::after,
  .maintenance::after,
  .press-release::after,
  .donate::after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: -2.5rem;
    left: 0;
    height: 5rem;
    content: "";
    pointer-events: none;
  }

  .letter::after { background: #fff; clip-path: ellipse(65% 52% at 50% 0); }
  .agenda::after { background: var(--navy-deep); clip-path: ellipse(65% 52% at 50% 0); }
  .maintenance::after { background: #edf1f4; clip-path: ellipse(65% 52% at 50% 0); }
  .press-release::after { background: #fff; clip-path: ellipse(65% 52% at 50% 0); }
  .donate::after { background: var(--navy-deep); clip-path: ellipse(65% 52% at 50% 0); }

  .agenda,
  .maintenance,
  .press-release,
  .donate,
  .involved { isolation: isolate; }

  .agenda { margin-top: -1.4rem; padding-top: clamp(5.5rem, 8vw, 7.5rem); }
  .maintenance { margin-top: -1.4rem; padding-top: 1.4rem; }
  .press-release { margin-top: -1.4rem; padding-top: 4.4rem; }
  .donate { margin-top: -1.4rem; padding-top: 7.5rem; }
  .involved { margin-top: -1.4rem; }
}

/* Preview access screen. */
.access-page { display: grid; min-height: 100svh; place-items: center; padding: 1.25rem; color: var(--ink); background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.access-card { width: min(100%, 510px); padding: clamp(2rem, 6vw, 4rem); background: #fff; box-shadow: 0 24px 65px rgba(0,0,0,.28); }
.access-card__mark { width: min(100%, 260px); margin-bottom: 2.5rem; }
.access-card > p { color: var(--red); font-size: .68rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.access-card h1 { margin: .75rem 0 1rem; font-size: clamp(2.6rem, 8vw, 4.5rem); }
.access-card > span { display: block; max-width: 340px; color: var(--muted); }
.access-card form { display: grid; gap: .55rem; margin-top: 2rem; }
.access-card label { color: var(--navy); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.access-card input { min-height: 58px; padding: .8rem 1rem; border: 1px solid #9baebe; border-radius: 0; color: var(--ink); font-size: 1.35rem; font-weight: 800; letter-spacing: .2em; outline: none; }
.access-card input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7,54,107,.14); }
.access-card form > span:not(:empty) { color: #a20a10; font-size: .78rem; font-weight: 700; }
.access-card button { min-height: 54px; margin-top: .75rem; border: 0; color: #fff; background: var(--red); font-size: .84rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.access-card button:hover { background: #8f080e; }

/* Footer: keep only the useful campaign and legal content, with a layout that
   stays readable instead of wrapping into a dense, uneven block. */
.site-footer { padding: clamp(2.75rem, 5vw, 4.25rem) 0 2rem; }
.site-footer__grid { grid-template-columns: minmax(210px, .5fr) 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.footer-mark { width: min(100%, 230px); }
.site-footer__right { display: grid; min-width: 0; gap: 1.35rem; align-self: center; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem 1.25rem; }
.footer-nav a { font-size: .68rem; line-height: 1.25; }
.footer-tagline { max-width: 540px; margin: 0; color: #d4e0eb; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.footer-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.3); }
.disclaimer, .copyright { margin: 0; color: #b9cce0; font-size: .64rem; }

@media (max-width: 900px) {
  .agenda__points li { grid-template-columns: 1fr; gap: .25rem; }
  .agenda__footer { align-items: flex-start; flex-direction: column; }
  /* This rule follows the desktop contact split above, so explicitly collapse it
     before either column can impose its desktop minimum width on a phone. */
  .involved__grid { grid-template-columns: minmax(0, 1fr); }
  .involved__intro { min-height: auto; }
  .sign-showcase { margin-top: 1.5rem; }
  .contact { min-width: 0; margin: 0; }
  .press-release { padding: 2.5rem 0; }
  .donate { padding: 4.8rem 0; }
  .press-release__grid, .donate__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (max-width: 580px) {
  /* Restore the shared mobile inset: desktop needs a grid-sized copy column,
     while a phone needs the page shell's side padding. */
  .letter__copy.page-shell {
    width: var(--shell);
    margin-inline: auto;
  }

  /* A whole family portrait is more important than a full-bleed crop on a narrow screen. */
  .site-header { color: var(--navy); background: rgba(255,255,255,.98); box-shadow: 0 3px 14px rgba(2,28,61,.12); }
  .opening { display: flex; min-height: 0; flex-direction: column; padding-top: 76px; background: var(--navy-deep); }
  .opening__photo { position: relative; inset: auto; order: 1; width: 100%; height: auto; background: #fff; }
  .opening__photo img { width: 100%; height: auto; object-fit: contain; object-position: center; }
  .opening__shade { position: absolute; inset: 76px 0 auto; height: min(66.667vw, 387px); background: linear-gradient(0deg, rgba(2,28,61,.12), transparent 42%); }
  .opening__candidate { position: relative; inset: auto; order: 2; padding: 1.75rem 1rem .65rem; }
  .opening__candidate p { font-size: clamp(3rem, 15vw, 4.5rem); }
  .opening__candidate span { max-width: none; margin-top: .65rem; }
  .opening__utility { position: relative; z-index: 1; order: 3; display: flex; justify-content: flex-start; gap: .3rem; padding: .45rem 1rem 1.35rem; }
  .opening__utility p:first-child { display: block; }
  .opening__utility p { padding: .3rem .4rem; font-size: .5rem; letter-spacing: .055em; }
  .opening__utility > span { display: none; }
  .campaign-dock { position: relative; inset: auto; order: 4; height: 138px; }
  .letter__photo img { object-position: 60% 30%; }
  .maintenance__image img { object-position: 35% center; }
  .agenda__mast { gap: .55rem; }
  .agenda__stage { display: grid; gap: 1.35rem; margin-top: 1.4rem; }
  .agenda__tabs { display: grid; grid-template-columns: 1fr; gap: 0; overflow: visible; padding: 0; border-top: 1px solid rgba(255,255,255,.25); scroll-snap-type: none; }
  .agenda__tabs button { min-width: 0; min-height: 59px; padding: .72rem .25rem; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); scroll-snap-align: none; }
  .agenda__tabs button[aria-selected="true"] { padding-left: .7rem; border-left: 3px solid #ff969a; background: rgba(255,255,255,.07); }
  .agenda__tabs button strong { font-size: .93rem; line-height: 1.2; }
  .agenda__statement { font-size: 1rem; }
  .agenda__panels h3 { font-size: clamp(2.75rem, 12.5vw, 4rem); }
  .agenda__footer { gap: 1rem; }
  .contact__direct { gap: .75rem; }
  .contact__direct a { width: 100%; }
  .contact {
    padding: 2.25rem 1rem;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
  .sign-showcase { grid-template-columns: 1fr; gap: .7rem; }
  .sign-showcase__preview { min-height: 155px; }
  .sign-showcase__preview img { height: 136px; }
  .sign-showcase__choices { grid-template-columns: repeat(3, 1fr); }
  .sign-showcase__choices button { min-height: 62px; padding: .45rem; text-align: center; }
  .sign-showcase__choices span { font-size: .62rem; }
  .sign-showcase__choices small { display: none; }
  .press-release__grid { gap: 1rem; }
  .press-release__card { padding: 1.1rem; }
  .press-release__pending { grid-template-columns: 1fr; gap: .2rem; }
  .donate__card { padding: 1.6rem; }
  .site-footer { padding: 2.5rem 0 1.75rem; }
  .footer-mark { width: min(100%, 225px); }
  .site-footer__right { gap: 1.25rem; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; }
  .footer-tagline { font-size: 1.08rem; line-height: 1.35; }
  .footer-meta { flex-direction: column; gap: .3rem; padding-top: .85rem; }
}

/* Standalone pages need to reserve space for the persistent site header. */
.text-page-body { display: flex; min-height: 100svh; flex-direction: column; }
.text-page-body .site-header { position: fixed; color: var(--navy); background: rgba(255,255,255,.98); box-shadow: 0 3px 14px rgba(2,28,61,.12); }
.text-page-body main { display: flex; flex: 1; }
.text-page { flex: 1; padding: clamp(9rem, 12vw, 11rem) 0 clamp(4.5rem, 8vw, 7rem); background: #fff; }
.text-page__inner { max-width: 800px; }
.text-page h1 { margin-bottom: 1.75rem; color: var(--navy); font-size: clamp(3rem, 5vw, 4.75rem); }
.text-page h2 { margin-top: 2.25rem; color: var(--navy); font-size: clamp(1.9rem, 3vw, 2.7rem); }
.text-page p { max-width: 760px; margin-top: .7rem; color: #334b6c; font-size: clamp(1rem, 1.35vw, 1.2rem); }
.text-page p + h2 { margin-top: 2.25rem; }
.text-page a { color: var(--navy); font-weight: 800; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .18em; }

@media (max-width: 580px) {
  .text-page { padding: 7.35rem 0 4rem; }
  .text-page h1 { margin-bottom: 1.3rem; }
  .text-page h2 { margin-top: 1.8rem; }
}
