/* 7.Actual master program page (/programs/7-actual/). Loads after /css/bevp-shell.css and /css/readability.css and
   never restyles the shell. Breakpoints match the shell: 1100 desktop compositions, 900 stacked sections, 700 phone.
   Character: a human-performance field guide. Big Anton titles, field-note labels in JetBrains Mono, real 7X photographs
   at full scale, bone, paper and ink grounds, and a trail line for the program's stages. */

.sa{
  --sa-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --sa-pad-y:var(--rd-section);
  --sa-intro-gap:clamp(32px,3.4vw,52px);
  --sa-edge:max(0px,(100vw - var(--u-wrap)) / 2);
  background:var(--u-bone);
}
.sa section{position:relative;padding-block:var(--sa-pad-y)}
.sa-kicker{margin-bottom:var(--u-s4)}
.sa-mono{font-family:var(--sa-mono);font-size:13px;font-weight:500;letter-spacing:.04em;text-transform:uppercase}
.sa-credit{position:absolute;right:12px;bottom:12px;z-index:1;padding:5px 10px;border-radius:999px;background:rgba(14,13,11,.66);color:#fff;font-family:var(--u-ff-label);font-size:11px;letter-spacing:.08em;text-transform:uppercase;pointer-events:none}
.sa figure{position:relative}
.sa :focus-visible{outline:var(--u-focus);outline-offset:var(--u-focus-offset)}
.sa-origin :focus-visible,.sa-trail :focus-visible,.sa-std :focus-visible,.sa-close :focus-visible{outline-color:var(--u-bone)}

/* Section intros: a headline across the content width, or headline left and lead right, top-aligned */
.sa-intro{margin-bottom:var(--sa-intro-gap)}
/* A section intro is one block, so its headline and the copy under it run the full content width */
.sa-intro > *{grid-column:1 / -1}
.sa-intro__h,.sa-intro--stack .sa-intro__h{max-width:none;text-wrap:pretty}
.sa-intro__lead{grid-column:1 / -1;margin:var(--u-s5) 0 0;max-width:none}

/* ============================================================
   1. HERO: the title runs across the page, then the photograph and its copy share one row
   ============================================================ */
.sa .sa-hero{padding:0;background:var(--u-bone)}
.sa-hero__head{padding:clamp(28px,4vw,56px) var(--u-pad-x) clamp(24px,2.6vw,40px);max-width:calc(var(--u-wrap));margin-inline:auto;box-sizing:border-box}
.sa-hero .sa-kicker{color:var(--u-red)}
.sa-h1{margin:0;font-family:var(--u-ff-title);font-weight:400;text-transform:uppercase;font-size:clamp(46px,7.2vw,104px);line-height:.92;letter-spacing:.004em;text-wrap:balance}
.sa-hero__body{
  display:grid;grid-template-columns:calc(var(--sa-edge) + .58 * min(100vw,var(--u-wrap))) minmax(0,1fr);
  align-items:stretch;padding-bottom:clamp(48px,6vw,96px);
}
.sa-hero__media{margin:0;min-height:clamp(380px,40vw,620px)}
.sa-hero__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 55%}
.sa-hero__copy{display:flex;flex-direction:column;justify-content:flex-start;padding:0 calc(var(--sa-edge) + var(--u-pad-x)) 0 var(--rd-gap)}
.sa-hero__lead{margin:0;font-size:var(--rd-lead);line-height:1.55;max-width:34em;text-wrap:pretty}
.sa-hero__actions{margin-top:var(--u-s6)}
.sa-hero__note{margin-top:var(--u-s6)!important;font-size:var(--rd-body);line-height:1.6;color:var(--u-text-soft);max-width:36em;text-wrap:pretty}
.sa-status{margin-top:var(--u-s5)!important;font-size:var(--rd-note);line-height:1.6;color:var(--u-text-soft);max-width:36em}
.sa-status .sa-mono{display:block;margin-bottom:4px;color:var(--u-red)}

/* ============================================================
   2. WHERE IT BEGAN: expedition copy beside the dedication, then the route as a sideways strip of photographs
   (Asata index4 .feat-caro carousel, rebuilt with CSS scroll-snap and previous and next buttons)
   ============================================================ */
.sa .sa-origin{background:var(--u-ink);color:var(--u-bone);padding-bottom:clamp(48px,6vw,96px)}
.sa-origin .sa-kicker{color:var(--u-bone-soft)}
.sa-origin .rd-lead{color:var(--u-bone-soft);max-width:var(--rd-measure-lead)}
.sa-origin__grid{align-items:start}
.sa-origin__copy{grid-column:1 / span 7}
.sa-origin__h{max-width:15ch;text-wrap:balance;margin-bottom:var(--u-s6)}
.sa-dedication{grid-column:9 / -1;padding-top:calc(13px * 1.3 + var(--u-s4))}
.sa-dedication .sa-mono{color:var(--u-red);margin-bottom:var(--u-s4)}
.sa-dedication__name{font-family:var(--u-ff-edit);font-style:italic;font-size:clamp(24px,2.2vw,34px);line-height:1.25;color:var(--u-bone);text-wrap:balance}
.sa-dedication__note{margin-top:var(--u-s5)!important;font-size:var(--rd-body);line-height:1.6;color:var(--u-bone-soft);max-width:30em}

.sa-route{margin-top:clamp(56px,6vw,96px)}
.sa-route__bar{display:flex;align-items:center;justify-content:space-between;gap:var(--u-s4);margin-bottom:var(--u-s5)}
.sa-route__h{margin:0;color:var(--u-bone-soft)}
.sa-route__nav{display:flex;gap:8px;flex:none}
.sa-route__btn{all:unset;box-sizing:border-box;display:grid;place-items:center;width:48px;height:48px;border-radius:999px;border:1.5px solid var(--u-rule-bone);color:var(--u-bone);cursor:pointer;transition:background .2s ease,border-color .2s ease,opacity .2s ease}
.sa-route__btn svg{width:20px;height:20px}
.sa-route__btn[data-dir="-1"] svg{transform:scaleX(-1)}
.sa-route__btn:hover{background:rgba(236,227,208,.1);border-color:var(--u-bone-soft)}
.sa-route__btn:disabled{opacity:.3;cursor:default;background:none}
.sa-route__btn:focus-visible{outline:var(--u-focus);outline-color:var(--u-bone);outline-offset:3px}
.sa-route__track{
  list-style:none;margin:0;display:flex;gap:var(--u-s4);overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-padding-inline:calc(var(--sa-edge) + var(--u-pad-x));
  padding:0 calc(var(--sa-edge) + var(--u-pad-x)) var(--u-s4);scrollbar-width:thin;scrollbar-color:rgba(236,227,208,.3) transparent;
}
.sa-route__track:focus-visible{outline:var(--u-focus);outline-color:var(--u-bone);outline-offset:-3px}
.sa-route__track li{flex:none;scroll-snap-align:start}
.sa-route__track figure{margin:0;--sa-rh:clamp(240px,25vw,360px)}
.sa-route__track img{display:block;height:var(--sa-rh);width:calc(var(--sa-rh) * 1.5);max-width:none;object-fit:cover}
.sa-route__track li:nth-child(4) img,.sa-route__track li:nth-child(5) img,.sa-route__track li:nth-child(6) img{width:calc(var(--sa-rh) * .8)}
.sa-route__track figcaption{margin-top:var(--u-s3);font-size:var(--rd-note);color:var(--u-bone-soft)}
.sa-route__track figcaption span{display:block;font-family:var(--u-ff-title);font-size:clamp(22px,1.8vw,28px);line-height:1.05;text-transform:uppercase;color:var(--u-bone)}
.sa-route__credit{margin-top:var(--u-s4);color:var(--u-bone-dim)}

/* ============================================================
   3. TRUE NORTH (Eventes shop-details .shop-banner-area product split; .bakix-details-tab tabs)
   ============================================================ */
.sa .sa-book{background:var(--u-paper)}
.sa-book__grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--rd-gap);grid-template-rows:auto 1fr;align-items:start}
.sa-book__cover{grid-column:1 / span 5;grid-row:1 / span 2;margin:0;justify-self:start;width:min(100%,440px);position:sticky!important;top:calc(var(--u-header-h) + 32px)}
.sa-book__cover img{display:block;width:100%;height:auto;box-shadow:0 30px 60px -24px rgba(14,13,11,.45),0 8px 18px -8px rgba(14,13,11,.3)}
.sa-book__head{grid-column:7 / -1;grid-row:1}
.sa-book__body{grid-column:7 / -1;grid-row:2}
.sa-book__h{text-wrap:balance}
.sa-book__sub{margin-top:var(--u-s4)!important;font-family:var(--u-ff-edit);font-style:italic;font-size:var(--rd-deck);line-height:1.3;max-width:24em;text-wrap:balance}
.sa-book__body > .rd-lead{margin-top:var(--u-s6);max-width:var(--rd-measure-lead)}
.sa-book__actions{margin-top:var(--u-s6)}

/* Shared tab look: a row of text tabs with a red underline on the selected one */
.sa-tabs__list{display:flex;flex-wrap:wrap;gap:4px 28px;margin-top:var(--u-s6)}
.sa-tabs__list [role="tab"]{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;min-height:var(--u-tap);cursor:pointer;font-family:var(--sa-mono);font-size:14px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--u-text-soft);transition:color .2s ease}
.sa-tabs__list [role="tab"]:hover{color:var(--u-ink)}
.sa-tabs__list [aria-selected="true"]{color:var(--u-ink);text-decoration:underline;text-decoration-color:var(--u-red);text-decoration-thickness:2px;text-underline-offset:8px}
.sa-tabs__list [role="tab"]:focus-visible{outline:var(--u-focus);outline-offset:4px;border-radius:4px}
.sa-tabs__panel{padding-top:var(--u-s5);min-height:calc(3 * 1.15em * 1.6 + 2 * 1.6em)}
.sa-tabs__panel p{font-size:var(--rd-body);line-height:1.6;max-width:var(--rd-measure)}
.sa-tabs__panel:focus-visible{outline:var(--u-focus);outline-offset:6px}
.sa-subjects{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,max-content);gap:6px clamp(24px,3vw,48px)}
.sa-subjects li{font-family:var(--u-ff-title);font-size:clamp(26px,2.4vw,38px);line-height:1.1;text-transform:uppercase}
.sa-dims{margin-top:var(--u-s5)!important}
.sa-dims .sa-mono{display:block;margin-bottom:4px;color:var(--u-red)}

/* ============================================================
   4. HOW IT WORKS (Uevent index #faq .accordion beside a photograph that follows the open item)
   ============================================================ */
/* The photograph and the four areas are one block: same top, same bottom. Every open panel takes the height of the
   tallest one (--sa-panel-h, measured in 7-actual.js), so the block keeps one size whichever area is open and the
   photograph, which fills the row, never jumps. */
.sa-how__grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--rd-gap);align-items:stretch}
.sa-how__stage{grid-column:1 / span 6;position:relative;min-height:360px;overflow:hidden;background:var(--u-ink)}
.sa-how__stage figure{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .45s ease}
.sa-how__stage figure.is-on{opacity:1}
.sa-how__stage img{width:100%;height:100%;object-fit:cover}
.sa-acc{grid-column:7 / -1}
.sa-acc__item + .sa-acc__item{margin-top:var(--u-s2)}
.sa-acc__h{margin:0}
.sa-acc__h button{
  all:unset;box-sizing:border-box;display:flex;align-items:baseline;justify-content:space-between;gap:var(--u-s4);width:100%;
  min-height:64px;padding:14px 0;cursor:pointer;color:rgba(14,13,11,.5);transition:color .2s ease;
}
.sa-acc__h button:hover,.sa-acc__h button[aria-expanded="true"]{color:var(--u-ink)}
.sa-acc__h button:focus-visible{outline:var(--u-focus);outline-offset:4px;border-radius:4px}
.sa-acc__t{font-family:var(--u-ff-title);font-size:clamp(26px,2.3vw,36px);line-height:1.05;text-transform:uppercase;text-wrap:balance}
.sa-acc__tag{flex:none;color:var(--u-text-soft)}
.sa-acc__h button[aria-expanded="true"] .sa-acc__tag{color:var(--u-red)}
.sa-acc__panel{padding:var(--u-s2) 0 var(--u-s4);min-height:var(--sa-panel-h,0px)}
.sa-acc__panel p + p{margin-top:var(--u-s3)}
/* First title starts on the photograph's top line; the last area finishes on its bottom line */
.sa-acc__item:first-child .sa-acc__h button{padding-top:0;min-height:50px}
.sa-acc__item:last-child .sa-acc__h button{padding-bottom:0;min-height:50px}
.sa-acc__item:last-child .sa-acc__panel{padding:calc(var(--u-s2) + 14px) 0 0}
.sa-acc__panel p{font-size:var(--rd-lead);line-height:1.55;max-width:34em}
.sa-acc__media{display:none}

/* ============================================================
   5. HOW THE PROGRAM EVOLVES (Uevent schedule .schedule__item alternating timeline, redrawn as a trail)
   ============================================================ */
.sa .sa-trail{background:var(--u-ink);color:var(--u-bone)}
.sa-trail .sa-kicker,.sa-trail .rd-lead{color:var(--u-bone-soft)}
.sa-trail__stages{
  list-style:none;margin:0;padding:0;position:relative;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 120px auto;column-gap:var(--rd-gap);
}
/* The trail: one winding line through four waypoints, drawn behind the stages */
.sa-trail__stages::before{
  content:"";grid-column:1 / -1;grid-row:2;align-self:center;height:120px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 120' preserveAspectRatio='none'%3E%3Cpath d='M9 30 C90 30 187 90 269 90 C351 90 448 30 530 30 C612 30 709 90 791 90 C880 90 940 60 1000 60' fill='none' stroke='%23ECE3D0' stroke-opacity='.38' stroke-width='2.5' stroke-dasharray='2 9' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.sa-stage{position:relative;max-width:34ch}
.sa-stage:nth-child(odd){grid-row:1;align-self:end;padding-bottom:var(--u-s5)}
.sa-stage:nth-child(even){grid-row:3;align-self:start;padding-top:var(--u-s5)}
.sa-stage:nth-child(1){grid-column:1}.sa-stage:nth-child(2){grid-column:2}.sa-stage:nth-child(3){grid-column:3}.sa-stage:nth-child(4){grid-column:4}
/* Each waypoint sits on the trail directly above or below its stage */
.sa-stage::after{content:"";position:absolute;left:0;width:18px;height:18px;border-radius:50%;background:var(--u-red);box-shadow:0 0 0 6px var(--u-ink),0 0 0 7.5px rgba(236,227,208,.4)}
.sa-stage:nth-child(odd)::after{bottom:-39px}
.sa-stage:nth-child(even)::after{top:-39px}
.sa-stage__h{margin:0 0 var(--u-s3);font-family:var(--u-ff-title);font-weight:400;font-size:clamp(24px,2.1vw,32px);line-height:1.05;text-transform:uppercase;text-wrap:balance}
.sa-stage p{font-size:var(--rd-body);line-height:1.6;color:var(--u-bone-soft)}

/* ============================================================
   6. WHO IT SERVES (Eventes index #nav-tab .nav-tabs.nav-fill equal-width tabs)
   ============================================================ */
.sa .sa-who{background:var(--u-paper)}
.sa-who__list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--u-s2);margin-bottom:var(--u-s6)}
.sa-who__list > button{
  all:unset;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;gap:var(--u-s3);
  min-height:112px;padding:var(--u-s4) var(--u-s5);cursor:pointer;background:var(--u-bone);color:var(--u-ink);transition:background .2s ease,color .2s ease;
}
.sa-who__name{font-family:var(--u-ff-title);font-size:clamp(21px,1.75vw,28px);line-height:1.05;text-transform:uppercase;text-wrap:balance}
.sa-who__list > button .sa-mono{color:var(--u-text-soft)}
.sa-who__list > button:hover{background:#e3d8c1}
.sa-who__list > .is-sel{background:var(--u-ink);color:var(--u-bone)}
.sa-who__list > .is-sel .sa-mono{color:var(--u-bone-soft)}
.sa-who__list > button:focus-visible{outline:var(--u-focus);outline-offset:3px}
.sa-who__panel{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--rd-gap);align-items:center}
.sa-who__panel[hidden]{display:none}
.sa-who__panel:focus-visible{outline:var(--u-focus);outline-offset:8px}
.sa-who__media{grid-column:1 / span 7;margin:0;aspect-ratio:3 / 2;overflow:hidden}
.sa-who__media img{width:100%;height:100%;object-fit:cover}
.sa-who__copy{grid-column:8 / -1}
.sa-who__copy .rd-h3{margin-bottom:var(--u-s4)}
.sa-who__copy p{font-size:var(--rd-lead);line-height:1.55;max-width:34em}
.sa-who__copy .rd-actions{margin-top:var(--u-s6)}

/* ============================================================
   7. CONNECTIONS: copy beside a triangle of the three programs
   ============================================================ */
.sa-links__grid{align-items:center}
.sa-links__copy{grid-column:1 / span 6}
.sa-links__h{max-width:16ch;text-wrap:balance;margin-bottom:var(--u-s6)}
.sa-links__copy .rd-lead{max-width:var(--rd-measure-lead)}
.sa-links__copy p:not(.rd-lead):not(.sa-kicker){margin-top:var(--u-s5)!important;font-size:var(--rd-body);line-height:1.6;color:var(--u-text-soft);max-width:var(--rd-measure)}
.sa-links__go{display:flex;flex-wrap:wrap;gap:var(--u-s2) var(--u-s6);margin-top:var(--u-s6)}
.sa-links__go .rd-textlink{min-height:var(--u-tap);display:inline-flex;align-items:center}
.sa-links__fig{grid-column:7 / -1;margin:0}
.sa-tri{display:block;width:100%;height:auto;max-width:600px;margin-inline:auto;color:var(--u-red);overflow:visible}
.sa-tri__flows path{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}
.sa-tri__flows .f-x{stroke:rgba(14,13,11,.3)}
.sa-tri__nodes circle{fill:var(--u-bone);stroke:var(--u-ink);stroke-width:2}
.sa-tri__nodes .n-sa circle{fill:var(--u-ink)}
.sa-tri__nodes text{font-family:var(--u-ff-title);font-size:24px;text-transform:uppercase;text-anchor:middle;fill:var(--u-ink)}
.sa-tri__nodes .n-sa text{fill:var(--u-bone);font-size:28px}
.sa-tri__labels text{font-family:var(--sa-mono);font-size:17px;font-weight:500;letter-spacing:.03em;text-transform:uppercase;fill:var(--u-text-soft)}
.sa-flows{margin:var(--u-s6) 0 0;padding:0;list-style:none;display:grid;gap:var(--u-s3)}
.sa-flows li{position:relative;padding-left:28px;font-size:var(--rd-body);line-height:1.55;color:var(--u-text-soft)}
.sa-flows li::before{content:"";position:absolute;left:0;top:.62em;width:14px;height:2px;background:var(--u-red)}

/* ============================================================
   8. STANDARDS AND STATUS
   ============================================================ */
.sa .sa-std{background:var(--u-ink);color:var(--u-bone)}
.sa-std .sa-kicker{color:var(--u-bone-soft)}
.sa-std__commit{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--rd-gap)}
.sa-std__commit p{margin:0!important;font-size:var(--rd-lead);line-height:1.55;color:var(--u-bone)}
.sa-std__status{margin-top:clamp(56px,6vw,88px)}
.sa-std__h{margin:0 0 var(--u-s5);color:var(--u-red)}
.sa-std__cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--rd-gap)}
.sa-std__k{margin:0 0 var(--u-s4);font-family:var(--u-ff-title);font-weight:400;font-size:clamp(26px,2.3vw,36px);line-height:1.05;text-transform:uppercase}
.sa-std__cols ul{margin:0;padding:0;list-style:none;display:grid;gap:var(--u-s3)}
.sa-std__cols li{font-size:var(--rd-body);line-height:1.5;color:var(--u-bone-soft)}

/* ============================================================
   9. GET INVOLVED and the closing call to action
   ============================================================ */
.sa .sa-join{background:var(--u-paper)}
.sa-paths{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--rd-gap);row-gap:var(--u-s7)}
.sa-path{display:flex;flex-direction:column;align-items:flex-start}
.sa-path__h{margin:0 0 var(--u-s4);font-family:var(--u-ff-title);font-weight:400;font-size:clamp(26px,2.3vw,36px);line-height:1.05;text-transform:uppercase;text-wrap:balance}
.sa-path p{font-size:var(--rd-body);line-height:1.6;max-width:34em;flex:1}
.sa-path .u-btn{margin-top:var(--u-s5)}

.sa .sa-close{padding:0;background:var(--u-ink);color:var(--u-bone);display:grid;min-height:clamp(520px,62vw,720px)}
.sa-close > *{grid-area:1 / 1}
.sa-close__media{margin:0}
.sa-close__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 60%}
/* A long ramp from ink on the left keeps the copy readable while the aircraft and team stay clear on the right */
.sa-close__media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,13,11,.92) 0%,rgba(14,13,11,.88) 30%,rgba(14,13,11,.74) 46%,rgba(14,13,11,.46) 60%,rgba(14,13,11,.18) 76%,rgba(14,13,11,0) 92%)}
.sa-close__copy{position:relative;align-self:center;padding-block:var(--u-s9);width:100%;box-sizing:border-box}
.sa-close__h{margin:0;font-family:var(--u-ff-title);font-weight:400;font-size:var(--rd-display);line-height:.95;text-transform:uppercase;max-width:9ch}
.sa-close .rd-lead{margin-top:var(--u-s5);max-width:30em;color:var(--u-bone)}
.sa-close .rd-actions{margin-top:var(--u-s6)}
.sa-close__note{margin-top:var(--u-s7)!important;font-size:var(--rd-note);line-height:1.6;color:var(--u-bone-soft);max-width:48em}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1099px){
  .sa-origin__copy{grid-column:1 / span 7}
  .sa-dedication{grid-column:8 / -1}
  .sa-who__list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sa-who__list > button{min-height:88px}
  .sa-subjects{grid-template-columns:repeat(2,max-content)}
}

@media (max-width:899px){

  /* Hero: title, lead and actions first, then the photograph, then the note */
  .sa-hero__body{grid-template-columns:minmax(0,1fr);padding-bottom:var(--u-s8)}
  .sa-hero__copy{display:contents}
  .sa-hero__lead{order:1;padding-inline:var(--u-pad-x);max-width:60ch}
  .sa-hero__actions{order:2;padding-inline:var(--u-pad-x);margin-top:var(--u-s5)}
  .sa-hero__media{order:3;min-height:0;aspect-ratio:2 / 1;margin-top:var(--u-s7)}
  .sa-hero__note{order:4;padding-inline:var(--u-pad-x);margin-top:var(--u-s6)!important;max-width:calc(60ch + 2 * var(--u-pad-x))}
  .sa-status{order:5;padding-inline:var(--u-pad-x);max-width:calc(60ch + 2 * var(--u-pad-x))}

  .sa-origin__copy,.sa-dedication{grid-column:1 / -1}
  .sa-dedication{margin-top:var(--u-s7)}

  .sa-book__grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none}
  .sa-book__head,.sa-book__body,.sa-book__cover{grid-column:1;grid-row:auto}
  .sa-book__cover{width:min(56%,300px);margin:var(--u-s6) 0 var(--u-s2);position:relative!important;top:auto}

  /* Tablet keeps the photograph beside the areas */
  .sa-how__grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
  .sa-how__stage{grid-column:1;min-height:300px}
  .sa-acc{grid-column:2}
  .sa-acc__t{font-size:clamp(22px,3.2vw,28px)}
  .sa-acc__media{display:none;margin:var(--u-s2) 0 var(--u-s5);aspect-ratio:2 / 1;overflow:hidden}
  .sa-acc__media img{width:100%;height:100%;object-fit:cover}

  /* Trail: a vertical line on the left with the stages stacked beside it */
  .sa-trail__stages{grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:var(--u-s6);padding-left:44px}
  .sa-trail__stages::before{position:absolute;left:8px;top:6px;bottom:6px;width:2px;height:auto;grid-column:auto;grid-row:auto;align-self:stretch;background:repeating-linear-gradient(to bottom,rgba(236,227,208,.4) 0 3px,transparent 3px 11px)}
  .sa-stage,.sa-stage:nth-child(n){grid-column:1;grid-row:auto;padding:0;max-width:52ch}
  .sa-stage::after,.sa-stage:nth-child(n)::after{left:-44px;top:6px;bottom:auto}
  /* The dotted line joins one dot to the next and stops at the last */
  .sa-trail__stages::before{content:none}
  .sa-stage:not(:last-child)::before{content:"";position:absolute;left:-36px;top:15px;bottom:calc(-1 * (var(--u-s6) + 15px));width:2px;background:repeating-linear-gradient(to bottom,rgba(236,227,208,.4) 0 3px,transparent 3px 11px)}

  .sa-who__panel{grid-template-columns:minmax(0,1fr)}
  .sa-who__media,.sa-who__copy{grid-column:1}
  /* Phone order: title, photograph, text, action */
  .sa-who__copy{display:contents}
  .sa-who__copy .rd-h3{order:1}
  .sa-who__media{order:2;margin-bottom:var(--u-s5)!important}
  .sa-who__copy p{order:3}
  .sa-who__copy .rd-actions{order:4}
  .sa-who__panel .sa-who__media{aspect-ratio:2 / 1}

  .sa-links__copy,.sa-links__fig{grid-column:1 / -1}
  .sa-links__fig{margin-top:var(--u-s7)}

  .sa-std__commit,.sa-std__cols{grid-template-columns:minmax(0,1fr);row-gap:var(--u-s5)}
  .sa-std__cols{row-gap:var(--u-s6)}
  .sa-paths{grid-template-columns:minmax(0,1fr)}
  .sa-close__media::after{background:linear-gradient(180deg,rgba(14,13,11,.55) 0%,rgba(14,13,11,.82) 45%,rgba(14,13,11,.92) 100%)}
}

@media (max-width:699px){
  .sa-h1{font-size:clamp(40px,11.4vw,60px);line-height:.95}
  .sa-hero__media{aspect-ratio:3 / 2}
  .sa-route__track figure{--sa-rh:220px}
  .sa-route__btn{width:44px;height:44px}
  .sa-route__h{max-width:22ch}
  .sa-subjects{grid-template-columns:repeat(2,max-content);gap:4px 28px}
  .sa-tabs__list{gap:0 22px}
  /* Phones: the audiences as rows (see Who it serves below) */
  .sa-who__list{gap:6px}
  .sa-who__list > button{min-height:76px;padding:12px 14px}
  .sa-who__name{font-size:19px}
  .sa-who__list > button .sa-mono{font-size:11.5px}
  .sa-who__panel .sa-who__media{aspect-ratio:16 / 9}
  /* Phones stack the areas; each open area shows its own photograph and is only as tall as its copy */
  .sa-how__grid{grid-template-columns:minmax(0,1fr)}
  .sa-how__stage{display:none}
  .sa-acc{grid-column:1}
  .sa-acc__media{display:block}
  .sa-acc__panel{min-height:0}
  .sa-acc__item:first-child .sa-acc__h button,.sa-acc__item:last-child .sa-acc__h button{padding:14px 0;min-height:64px}
  .sa-acc__item:last-child .sa-acc__panel{padding:var(--u-s2) 0 var(--u-s4)}
  .sa-acc__t{font-size:24px}
  .sa-tri__labels text{font-size:24px}
  .sa-tri__nodes text{font-size:23px}
  .sa-tri__nodes .n-sa text{font-size:30px}
  .sa-close__copy{padding-block:var(--u-s8)}
  .sa-dedication{margin-top:var(--u-s6);padding-top:0}
  .sa-who .sa-intro__h{text-wrap:balance}
  /* Who it serves: one audience per row, its photograph and text open directly under it (7-actual.js) */
  .sa-who__list{grid-template-columns:minmax(0,1fr);margin-bottom:0}
  .sa-who__list > button{flex-direction:row;align-items:center;justify-content:space-between;gap:var(--u-s4);min-height:64px}
  .sa-who__list > button .sa-mono{text-align:right;max-width:12em}
  .sa-who__list .sa-who__panel{padding:var(--u-s4) 0 var(--u-s6)}
  .sa-who__list .sa-who__copy .rd-h3{display:none}
  /* The hero photograph keeps its place whether or not the image has arrived */
  .sa-hero__media{height:calc(100vw * 2 / 3);aspect-ratio:auto;background:#1a1916}
}

/* Short phones: a tighter hero so the first action clears the Donate/988 rail on the first screen */
@media (max-width:699px) and (max-height:740px){
  .sa-hero__head{padding-top:16px;padding-bottom:16px}
  .sa-hero .sa-kicker{margin-bottom:8px}
  .sa-h1{font-size:clamp(36px,10.6vw,52px)}
  .sa-hero__lead{font-size:17px;line-height:1.5}
  .sa-hero__actions{margin-top:var(--u-s4)}
}
/* The shortest phones: the actions sit directly under the title and the lead follows them */
@media (max-width:699px) and (max-height:600px){
  .sa-hero__actions{order:0;margin-top:0;margin-bottom:var(--u-s5)}
}

/* Short landscape phones: keep the paired compositions side by side and the hero within one screen */
@media (min-width:700px) and (max-width:899px) and (max-height:500px){
  .sa-hero__body{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
  .sa-hero__copy{display:flex;padding:0 var(--u-pad-x) 0 var(--rd-gap)}
  .sa-hero__media{order:0;aspect-ratio:auto;margin-top:0;min-height:300px}
  .sa-hero__lead,.sa-hero__actions,.sa-hero__note,.sa-status{padding-inline:0}
  .sa-book__grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:var(--rd-gap)}
  .sa-book__cover{grid-column:1;grid-row:1 / span 2;width:100%;margin:0}
  .sa-book__head,.sa-book__body{grid-column:2}
  .sa-who__panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--rd-gap);align-items:start}
  .sa-who__copy{order:0;grid-column:2;margin:0}
  .sa-who__media{grid-column:1;grid-row:1}
  /* How it works keeps the photograph beside the areas, sized to one screen */
  .sa-how__grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:var(--rd-gap)}
  .sa-how__stage{display:block;grid-column:1;aspect-ratio:4 / 3;top:calc(var(--u-header-h) + 12px)}
  .sa-acc{grid-column:2}
  .sa-acc__media{display:none}
}

@media (prefers-reduced-motion:reduce){
  .sa-how__stage figure,.sa-route__btn,.sa-who__list > button{transition:none}
  .sa-route__track{scroll-behavior:auto}
}
