/* Medicare 101 — "when your plan is ending" RSVP page (/medicare-101/plan-ending, EN + ES), 2026-10-18.
   Loaded AFTER site.css and only on that page (body[data-page="m101_pe"]). site.css already gives it
   the class pages' headings, card, buttons and answer styles (it is in every :is() list there); this
   file adds what is new: the photo hero, the live line and countdown, the Saturday tiles with seat
   chips, the RSVP consents, the "You're in" ticket, and the warm sections below the form.
   Warmth, a real room of people, logistics at a glance, in the /call look (2026-11-05, Darel's decision):
   white and warm paper, navy ink, one action green, nothing dark, in site.css's tokens. See docs/DESIGN.md. */
body[data-page="m101_pe"] {
  --pe-sand: #f5f3ee;          /* the warm band behind the sections: the same wash as /call */
  --pe-sand-line: #e2e3df;
  --pe-live: #0e6b52;          /* the "live" dot */
  --pe-ink-on-photo: #ffffff;
  background: var(--ground);
}

/* ---- hero: the room, the headline, what's next ---- */
.pe-hero { background: var(--ground); }
.pe-hero-in { max-width: 1120px; margin: 0 auto; padding: 18px 20px 10px; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .pe-hero-in { grid-template-columns: 0.86fr 1.14fr; gap: 44px; padding-top: 18px; } }
.pe-hero .pill { margin-bottom: 14px; }
.pe-hero h1 { font-size: clamp(38px, 4.8vw, 56px); line-height: 1.05; margin: 0 0 16px; text-wrap: balance; }
.pe-hero h1 .h1-lead { display: block; font-size: 0.5em; font-weight: 500; color: var(--ink-soft); margin-bottom: 0.2em; letter-spacing: -0.005em; line-height: 1.2; }
.pe-hero .lede { max-width: 40ch; font-size: 20px; margin: 0 0 16px; text-wrap: pretty; }
.pe-hero .promise { gap: 8px 10px; margin: 4px 0 6px; }
.pe-hero .promise li { background: var(--gold-wash); padding: 6px 14px; border-radius: 999px; font-size: 16px; font-weight: 500; }
.pe-hero .promise li::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: 0.35em; vertical-align: -0.14em; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* The photo. Fixed aspect ratio so nothing jumps while it loads; faces sit centre-right, so phones
   crop from the left. The credit is small but always visible — it is AI-generated, and says so. */
.pe-photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--pe-sand); aspect-ratio: 16 / 10; }
.pe-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.pe-credit { position: absolute; right: 10px; bottom: 8px; margin: 0; padding: 3px 8px; border-radius: 6px; font-size: 11px; line-height: 1.3;
  color: #fff; background: rgba(21, 41, 74, 0.55); letter-spacing: 0.01em; }
.pe-credit-below { position: static; display: block; background: none; color: var(--ink-soft); padding: 6px 2px 0; }

/* The live line: the next real Saturday, from /api/events — hidden until it has loaded. */
.pe-live { display: inline-flex; align-items: center; gap: 10px; margin: 2px 0 8px; padding: 8px 14px 8px 12px; border-radius: 999px;
  background: var(--wash); font-size: 16px; line-height: 1.3; color: var(--ink); }
.pe-live b { font-weight: 700; }
.pe-dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--pe-live); }

/* ---- the card ---- */
body[data-page="m101_pe"] main.wrap { padding-top: 14px; }
@media (min-width: 900px) { body[data-page="m101_pe"] main.wrap { grid-template-columns: 1.1fr 0.9fr; } }
.pe-countdown { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 14px; padding: 10px 14px; border-radius: 16px; background: var(--gold-wash); color: var(--ink); font-size: 14px; }
.pe-countdown > span:first-child { color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.pe-countdown .countdown { margin: 0; gap: 6px; }
.pe-countdown .countdown span { padding: 3px 9px; font-size: 13px; }
.pe-countdown .countdown b { font-size: 17px; }

/* Each Saturday as a tile: a calendar block, then day · time · place · chips. */
.pe-session { display: grid; grid-template-columns: 62px 1fr; gap: 14px; align-items: center; padding: 12px 14px; }
.pe-session .ses-tile { display: grid; justify-items: center; align-content: center; gap: 0; width: 62px; height: 68px; border-radius: 14px;
  background: var(--gold-wash); color: var(--navy); line-height: 1.05; text-transform: uppercase; }
.pe-session .ses-tile small { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--gold); }
.pe-session .ses-tile b { font-family: var(--aep-serif, var(--serif)); font-size: 28px; font-weight: 560; }
.pe-session .ses-body { display: grid; gap: 2px; min-width: 0; }
.pe-session .ses-body > b { font-size: 19px; font-weight: 600; color: var(--ink); }
.pe-session .ses-body > span { display: block; margin: 0; font-size: 15.5px; font-weight: 500; color: var(--ink-soft); line-height: 1.35; }
.pe-session .ses-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ses-chips em { white-space: nowrap; font-style: normal; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--wash); color: var(--ink); }
.ses-chips .chip-lang { background: var(--gold-wash); color: var(--gold); }
.ses-chips .chip-seats { color: var(--gold); background: var(--gold-wash); }
.ses-chips .chip-full { color: #8a2a20; background: var(--warn-wash); }
.ses-chips .chip-test { color: #8a5a00; background: #fff8e1; }
.pe-session .ses-body i { font-style: normal; }
.pe-session[disabled] { opacity: 0.62; cursor: not-allowed; }
.pe-session[disabled] .ses-tile { background: var(--ground); }

/* Secondary on purpose: visible on the first steps and the confirmation, never louder than the next step. */
.pe-appt { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border-radius: 16px; background: var(--wash);
  font-size: 16px; font-weight: 600; color: var(--navy-2); text-decoration: none; }
.pe-appt svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pe-appt span { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .pe-appt:hover { background: var(--gold-wash); } }
.pe-other { margin: 12px 0 0; font-size: 16px; font-weight: 600; }
.pe-other a { color: var(--gold); }

/* Party size: four big square-ish answers in a row. */
.choices-row { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.choices-row .choice { text-align: center; display: grid; gap: 2px; justify-items: center; }
.choices-row .choice b { font-family: var(--aep-serif, var(--serif)); font-weight: 560; font-size: 28px; line-height: 1; }
.choices-row .choice span { font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.pe-hint { font-size: 15px; color: var(--ink-soft); margin: 10px 0 0; }
.pe-sub { margin: 4px 0 0; color: var(--ink-soft); font-size: 17px; }

/* The RSVP step */
.pe-summary { margin: 0 0 6px; padding: 9px 13px; border-radius: 14px; background: var(--gold-wash); font-size: 15.5px; font-weight: 600; color: var(--navy); }
.pe-products { border: 0; margin: 8px 0 0 38px; padding: 0; display: grid; gap: 6px; }
.pe-products label { display: flex; gap: 10px; align-items: center; font-size: 15.5px; color: var(--ink); }
.pe-products input { width: 22px; height: 22px; }
.pe-eventline { margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.pe-full { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--warn-wash); }
.pe-full p { margin: 0; font-size: 16px; }
.pe-full .btn { margin-top: 12px; }

/* ---- "You're in" ---- */
.pe-done .eyebrow { color: var(--pe-live); display: flex; align-items: center; gap: 8px; }
.pe-ticket { margin: 14px 0 0; border-radius: var(--radius); background: var(--gold-wash); color: var(--ink); padding: 18px 18px 16px; }
.pe-ticket p { margin: 0; }
.pe-ticket-when b { display: block; font-family: var(--aep-serif, var(--serif)); font-size: 24px; font-weight: 560; line-height: 1.15; }
.pe-ticket-when span { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 15.5px; }
.pe-ticket-place { margin-top: 12px !important; padding-top: 12px; border-top: 1px solid rgba(21, 41, 74, 0.14); font-size: 16px; line-height: 1.45; color: var(--ink); }
.pe-ticket-place b { color: var(--ink); }
.pe-ticket-seats { margin-top: 10px !important; display: inline-block; padding: 4px 12px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); }
.pe-ticket .btn { margin-top: 14px; background: #fff; color: var(--ink); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .pe-ticket .btn:hover { background: var(--wash); } }
.pe-done .cal a { font-size: 15px; }

/* "Bring with you": a short checklist in a soft panel, one small icon per thing to put in the bag (2026-10-20). */
.pe-bring { list-style: none; margin: 0.625rem 0 0.875rem; padding: 0.25rem 0.875rem; border: 1px solid var(--pe-sand-line); border-radius: 16px; background: var(--pe-sand); }
.pe-bring li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.75rem; align-items: center; padding: 0.625rem 0; font-size: 1rem; line-height: 1.35; }
.pe-bring li + li { border-top: 1px solid var(--pe-sand-line); }
.pe-bring-ic { width: 2.25rem; height: 2.25rem; border-radius: 10px; background: #fff; border: 1px solid var(--pe-sand-line); color: var(--navy); display: grid; place-items: center; }
.pe-bring-t { color: var(--ink); }
@media (max-width: 599px) { .pe-bring li { font-size: 0.9375rem; padding: 0.5rem 0; } .pe-bring-ic { width: 2rem; height: 2rem; border-radius: 9px; } .pe-bring li { grid-template-columns: 2rem 1fr; gap: 0.625rem; } }
.pe-calnote { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); }
.pe-invite { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pe-invite .btn { margin-top: 0; min-height: 52px; font-size: 17px; }
.pe-texted { margin: 14px 0 0; font-size: 16px; color: var(--ink-soft); }

/* ---- aside (desktop beside the card, phones below it) ---- */
.pe-aside .agent { margin-bottom: 4px; }
.pe-aside h3 { font-size: 21px; margin: 18px 0 8px; }
.pe-aside .facts li { font-size: 16px; }

/* ---- the warm sections below ---- */
.pe-band { background: var(--pe-sand); border-top: 1px solid var(--pe-sand-line); }
.pe-band.pe-plain { background: var(--ground); border-top: 1px solid var(--line); }
.pe-band-in { max-width: 1120px; margin: 0 auto; padding: 52px 18px 56px; }
.pe-band h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; margin: 0 0 10px; max-width: 24ch; }
.pe-band .pe-kicker { font-size: 15px; font-weight: 600; color: var(--gold); margin: 0 0 8px; }
.pe-band p.pe-intro { max-width: 60ch; color: var(--ink-soft); font-size: 18px; margin: 0 0 22px; }
.pe-split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 860px) { .pe-split { grid-template-columns: 0.85fr 1.15fr; gap: 44px; } .pe-split.pe-flip { grid-template-columns: 1.15fr 0.85fr; } .pe-split.pe-flip > figure { order: 2; } }
.pe-split figure { margin: 0; }
.pe-split figure img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--pe-sand); }
@media (max-width: 859px) { .pe-split figure img { aspect-ratio: 16 / 11; object-position: center 35%; } }
.pe-learn { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 600px) { .pe-learn { grid-template-columns: 1fr 1fr; } }
.pe-learn li { background: var(--panel); border: 1px solid var(--pe-sand-line); border-radius: 16px; padding: 16px 16px 15px; }
.pe-learn b { display: block; font-size: 17.5px; margin-bottom: 3px; }
.pe-learn span { color: var(--ink-soft); font-size: 16px; line-height: 1.45; }

/* The afternoon, as a timeline. Times come from the next real Saturday. */
.pe-day { list-style: none; margin: 0; padding: 0; position: relative; }
.pe-day::before { content: ""; position: absolute; left: 47px; top: 10px; bottom: 10px; width: 2px; background: var(--pe-sand-line); }
.pe-day li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; padding: 10px 0; position: relative; }
.pe-day time { justify-self: center; z-index: 1; background: var(--panel); border: 1px solid var(--pe-sand-line); border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 15px; white-space: nowrap; }
/* No Saturday loaded yet (or none scheduled): the steps still read in order, without made-up times. */
.pe-day time:empty { visibility: hidden; }
.pe-day b { display: block; font-size: 17.5px; }
.pe-day span { color: var(--ink-soft); font-size: 16px; }
.pe-day li.pe-opt b::after { content: attr(data-opt); margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--gold); background: var(--gold-wash); border-radius: 999px; padding: 2px 8px; vertical-align: 1px; }

/* Where: every upcoming address, for everyone. */
.pe-places { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .pe-places { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }
.pe-places li { display: grid; gap: 2px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.pe-places b { font-size: 17px; }
.pe-places span { color: var(--ink-soft); font-size: 16px; }
.pe-places a { margin-top: 6px; font-weight: 700; color: var(--gold); text-decoration: none; }

.pe-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .pe-check { grid-template-columns: 1fr 1fr; } }
.pe-check li { position: relative; padding: 12px 14px 12px 46px; background: var(--panel); border-radius: 14px; border: 1px solid var(--pe-sand-line); font-size: 17px; }
.pe-check li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.pe-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pe-cta .btn { width: auto; min-width: 260px; margin-top: 0; }
.pe-band .faq { max-width: 820px; }
.pe-band .faq .faq-a p { margin: 0 0 16px; color: var(--ink-soft); }
.pe-eventline-foot { color: var(--ink); }

/* ---- phones: the Saturdays first, the room as a short banner above the headline ---- */
@media (max-width: 599px) {
  .pe-hero-in { padding: 0 16px 4px; gap: 0; }
  .pe-photo { border-radius: 18px; aspect-ratio: auto; height: 124px; }
  .pe-live-area, .pe-session .ses-then, .pe-session .ses-area { display: none; }
  #quiz[data-mode=pe] .progress { margin-bottom: 10px; }
  .pe-credit { font-size: 10px; padding: 2px 6px; right: 6px; bottom: 6px; }
  .pe-photo img { object-position: 70% 38%; }
  .pe-copy { padding: 12px 0 0; }
  .pe-hero .pill { display: none; }
  .pe-hero h1 { font-size: 1.875rem; line-height: 1.08; margin: 0 0 8px; }
  .pe-hero h1 .h1-lead { font-size: 0.6em; }
  .pe-hero .lede, .pe-hero .promise { display: none; }
  .pe-live { font-size: 0.875rem; padding: 6px 12px 6px 10px; margin: 0; }
  body[data-page="m101_pe"] main.wrap { padding-top: 0.625rem; }
  .pe-countdown { display: none; }
  .pe-session { grid-template-columns: 50px 1fr; gap: 12px; padding: 10px 12px; }
  .pe-session .ses-tile { width: 50px; height: 58px; }
  .pe-session .ses-tile b { font-size: 23px; }
  .pe-session .ses-body > b { font-size: 1.0625rem; }
  .pe-session .ses-body > span { font-size: 0.875rem; }
  .pe-appt { margin-top: 12px; padding: 10px 12px; font-size: 0.9375rem; }
  .pe-band-in { padding: 34px 14px 38px; }
  .pe-band p.pe-intro { font-size: 1rem; }
  .pe-day li { grid-template-columns: 84px 1fr; }
  .pe-day::before { left: 41px; }
  .pe-invite { grid-template-columns: 1fr; }
  .pe-cta .btn { width: 100%; min-width: 0; }
}
@media (min-width: 600px) and (max-width: 899px) { .pe-photo { aspect-ratio: 16 / 8; } }

/* ---- phones: the COMPACT SCALE (Darel's rule, site.css "Phones: the compact scale", 2026-10-05) ----
   This file loads AFTER site.css, so every fixed-px size above beat site.css's rem scale on phones and the
   page read bigger than the other funnels ("the funnel doesn't look good on mobile", 2026-10-19). Here the
   same sizes are in rem (1rem = the visitor's own text size, so larger-text settings still work), inputs
   never go under 1rem (an iPhone zooms in on a smaller box), every tappable thing keeps touch-action:
   manipulation (no double-tap zoom), and nothing may be wider than the screen. Last in the file. */
@media (max-width: 599px) {
  .pe-session, .pe-appt, .pe-cta .btn, .pe-band summary, .choices-row .choice, .pe-invite .btn, .pe-places a { touch-action: manipulation; }
  body[data-page="m101_pe"] .stepnum { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
  /* the personal reply above each question: one calm line, not a block that pushes the question down */
  body[data-page="m101_pe"] .ack { margin: 0 0 0.625rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; line-height: 1.4; border-radius: 12px; }
  .pe-sub { font-size: 0.9375rem; margin-top: 0.125rem; }
  .pe-hint { font-size: 0.8125rem; margin-top: 0.5rem; }
  .pe-summary { font-size: 0.875rem; padding: 0.5rem 0.75rem; margin-bottom: 0.25rem; }
  .pe-eventline { font-size: 0.75rem; margin-top: 0.75rem; }
  .pe-appt { margin-top: 0.75rem; padding: 0.625rem 0.75rem; font-size: 0.9375rem; border-radius: 12px; }
  .pe-appt svg { width: 1.125rem; height: 1.125rem; }
  /* an empty error line takes no room (it stays in the page, so a screen reader still hears an error when one appears) */
  #quiz[data-mode=pe] .err:empty { min-height: 0; height: 0; margin: 0; padding: 0; }
  .pe-other { font-size: 0.9375rem; margin-top: 0.25rem; }
  .pe-other a { display: inline-block; padding: 0.625rem 0; }
  .pe-texted { font-size: 0.9375rem; margin-top: 0.75rem; }
  .pe-calnote { font-size: 0.8125rem; }

  /* the Saturdays: compact tiles, and chips that wrap instead of running off the edge */
  .pe-session { grid-template-columns: 3rem 1fr; gap: 0.75rem; padding: 0.625rem 0.75rem; max-width: 100%; }
  .pe-session .ses-tile { width: 3rem; height: 3.5rem; border-radius: 10px; }
  .pe-session .ses-tile small { font-size: 0.625rem; }
  .pe-session .ses-tile b { font-size: 1.375rem; }
  .pe-session .ses-body > b { font-size: 1rem; line-height: 1.25; }
  .pe-session .ses-body > span { font-size: 0.8125rem; line-height: 1.3; overflow-wrap: anywhere; }
  .pe-session .ses-chips { gap: 0.25rem; margin-top: 0.25rem; max-width: 100%; }
  .ses-chips em { white-space: normal; font-size: 0.75rem; padding: 0.125rem 0.5rem; max-width: 100%; }

  /* party size, company, consents */
  .choices-row { grid-template-columns: 1fr 1fr; }
  .choices-row .choice { padding: 0.5rem 0.5rem; min-height: 3.75rem; }
  .choices-row .choice b { font-size: 1.5rem; }
  .choices-row .choice span { font-size: 0.8125rem; }
  .pe-typeahead { margin-top: 0.75rem; padding-top: 0; border-top: 0; }
  .pe-typeahead input[type=text] { font-size: 1rem; min-height: 3rem; padding: 0.625rem 0.75rem; border-width: 2px; border-radius: 12px; }
  .pe-typeahead [data-carrier-results] { margin-top: 0.5rem; }
  .choices.tail { margin-top: 0.75rem; padding-top: 0.75rem; gap: 0.5rem; }
  .choices.tail .choice { font-size: 0.9375rem; font-weight: 600; min-height: 2.75rem; padding: 0.5rem 0.875rem; }
  .pe-products { margin-left: 2rem; gap: 0.25rem; }
  .pe-products label { font-size: 0.875rem; }
  .pe-full { padding: 0.75rem; } .pe-full p { font-size: 0.9375rem; }

  /* the confirmation ticket */
  .pe-ticket { padding: 0.875rem 0.875rem 0.75rem; border-radius: 16px; }
  .pe-ticket-when b { font-size: 1.375rem; }
  .pe-ticket-when span, .pe-ticket-place { font-size: 0.9375rem; }
  .pe-ticket-seats { font-size: 0.8125rem; }
  .pe-done .cal { gap: 0.5rem; }
  .pe-invite .btn { min-height: 3rem; font-size: 1rem; }

  /* the presenter card and the sections below the form */
  .pe-aside { padding: 0.875rem; }
  .pe-aside .agent img { width: 3.5rem; height: 3.5rem; }
  .pe-aside .agent b { font-size: 1rem; } .pe-aside .agent span { font-size: 0.8125rem; line-height: 1.35; }
  .pe-aside h3 { font-size: 1.125rem; margin: 0.75rem 0 0.375rem; }
  .pe-aside .facts li { font-size: 0.9375rem; }
  .pe-band-in { padding: 2.25rem 1rem 2.5rem; }
  .pe-band h2 { font-size: 1.75rem; line-height: 1.12; }
  .pe-band .pe-kicker { font-size: 0.875rem; }
  .pe-band p.pe-intro { font-size: 0.9375rem; margin-bottom: 0.875rem; }
  .pe-split { gap: 1rem; }
  .pe-split figure img { aspect-ratio: 16 / 9; border-radius: 16px; }
  .pe-learn { gap: 0.5rem; }
  .pe-learn li { padding: 0.75rem 0.875rem; border-radius: 12px; }
  .pe-learn b { font-size: 1rem; } .pe-learn span { font-size: 0.875rem; }
  .pe-day li { padding: 0.5rem 0; } .pe-day b { font-size: 1rem; } .pe-day span { font-size: 0.875rem; } .pe-day time { font-size: 0.8125rem; }
  .pe-places li { padding: 0.75rem 0.875rem; } .pe-places b { font-size: 1rem; } .pe-places span { font-size: 0.875rem; }
  .pe-check li { font-size: 0.9375rem; padding: 0.625rem 0.75rem 0.625rem 2.5rem; } .pe-check li::before { left: 0.75rem; top: 0.75rem; width: 1.125rem; height: 1.125rem; }
  .pe-cta { margin-top: 1rem; }
  .pe-band .faq .faq-a p { font-size: 0.9375rem; }

  .pe-hero-in, .pe-band-in, main.wrap, .pe-photo, .pe-session, .card { max-width: 100%; }
}

/* ---- the photo strip: ONE photo in the normal layout, three to swipe in layout B ---- */
.pe-track, .pe-slide { height: 100%; }
.pe-slide { position: relative; }
.pe-extra, .pe-dots, .pe-after { display: none; }

/* ---- LAYOUT B — the Turning 65 page's order, with the class photos where its video is (Darel, 2026-10-19) ----
   PREVIEW ONLY: it shows when the address ends in ?layout=b (the head script sets html[data-layout=b]); the normal page is
   untouched until Darel says so. Phones only. Top to bottom: the headline, the class photos (swipe), the next class,
   the one-line description, the four chips, THEN the class picker — and room under the picker, as under the ZIP box on T65.
   On a shorter phone the lede, then the chips, then part of the photo give way, so the first class is still on screen above
   the call bar (the fold rule). */
@media (max-width: 599px) {
  html[data-layout=b] .pe-hero-in { display: flex; flex-direction: column; align-items: flex-start; padding: 0.375rem 1rem 0.25rem; gap: 0; }
  html[data-layout=b] .pe-copy { display: contents; }
  html[data-layout=b] .pe-hero .pill { display: none; }
  html[data-layout=b] .pe-hero h1 { order: 1; font-size: 1.75rem; line-height: 1.08; margin: 0 0 0.625rem; }
  html[data-layout=b] .pe-hero h1 .h1-lead { display: block; font-size: 0.56em; margin-bottom: 0.3em; }
  html[data-layout=b] .pe-photo { order: 2; width: 100%; height: auto; aspect-ratio: 16 / 7; border-radius: 18px; }
  html[data-layout=b] .pe-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  html[data-layout=b] .pe-track::-webkit-scrollbar { display: none; }
  html[data-layout=b] .pe-slide { flex: 0 0 100%; scroll-snap-align: center; }
  html[data-layout=b] .pe-extra { display: block; }
  html[data-layout=b] .pe-photo img { object-position: 62% 40%; }
  html[data-layout=b] .pe-slide.pe-extra img { object-position: center 30%; }
  html[data-layout=b] .pe-credit { top: 0.375rem; bottom: auto; right: 0.375rem; }
  html[data-layout=b] .pe-dots { display: flex; position: absolute; left: 0; right: 0; bottom: 0.5rem; justify-content: center; gap: 0.3125rem; pointer-events: none; }
  .pe-dots i { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: rgba(255, 255, 255, 0.6); box-shadow: 0 0 0 1px rgba(21, 41, 74, 0.25); transition: width 160ms ease; }
  .pe-dots i.on { width: 1rem; background: #fff; }
  html[data-layout=b] .pe-live { order: 3; margin: 0.5rem 0 0; font-size: 0.875rem; }
  html[data-layout=b] .pe-live-area { display: inline; }
  html[data-layout=b] .pe-hero .lede { order: 4; display: block; max-width: none; font-size: 0.875rem; line-height: 1.4; margin: 0.5rem 0 0; }
  html[data-layout=b] .pe-hero .promise { order: 5; display: flex; flex-wrap: wrap; gap: 0.3125rem; margin: 0.625rem 0 0; }
  html[data-layout=b] .pe-hero .promise li { font-size: 0.8125rem; padding: 0.25rem 0.625rem; white-space: nowrap; }
  /* the picker, and the room under it */
  /* room between the chips and the class box (Darel, 2026-10-20: "some space") */
  html[data-layout=b] main.wrap { padding-top: 1.25rem; gap: 1.5rem; }
  /* a whole box worth of space under the line (Darel, 2026-10-20: "way more space"), like the gap under the ZIP box on T65 */
  html[data-layout=b] .pe-after { display: block; margin: 0.875rem 0.375rem 0; padding-bottom: 15rem; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-soft); }
  html[data-layout=b] .pe-aside { margin-top: 0.5rem; }
  /* the sentence under "Pick your Saturday" repeats the headline and chips above it */
  html[data-layout=b] #quiz .step:has([data-sessions]) > p:not(.stepnum):not(.err):not(.pe-other) { display: none; }
}
/* a shorter phone: the description goes first… */
@media (max-width: 599px) and (max-height: 799px) {
  html[data-layout=b] .pe-hero .lede { display: none; }
  html[data-layout=b] .pe-photo { aspect-ratio: 2.7 / 1; }
  html[data-layout=b] .pe-hero-in { padding-top: 0.25rem; }
  html[data-layout=b] main.wrap { padding-top: 1rem; }
}
/* …then the chips, and the photo gets shorter */
@media (max-width: 599px) and (max-height: 699px) {
  html[data-layout=b] .pe-hero .promise { display: none; }
  html[data-layout=b] .pe-photo { aspect-ratio: auto; height: 7.25rem; }
  html[data-layout=b] .pe-hero h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
}

/* The presenter card's two lines (name · role) each on their own line. */
.pe-aside .agent span { display: block; }
