/* Emergency Picture Vehicles — "Night-set masthead, production fieldbook".
   One consolidated stylesheet (t_dab8ac7a): a dark signal-striped masthead and
   opening, then warm-paper reference material. System fonts only.
   Sections: tokens · base · masthead · type/actions · home · interior frame ·
   templates (category / tutorial / gallery / detail / brief) · comparisons ·
   site guide · footer · enlarged-text safeguards · motion.
   t_67476da6: AFR vehicle photography as explicit, uncropped figures. */
:root{
  --night:#07090b;--steel:#0e1418;--panel:#141c21;--line-dark:#26343c;
  --red:#e03a31;--red-button:#cc2f27;--red-deep:#a8211a;--blue:#2f86c6;--blue-soft:#82c3ee;--blue-ink:#1d669c;
  --paper:#fff;--mist:#f2f1ed;--line:#d9dad5;--rule:#bfc3c1;--ink:#14181b;--ink-2:#3c4448;--muted:#596265;--muted-dark:#aab7bc;--on-dark:#d3dde0;
  --tint:#e2e5e2;--output:#e4ecf1;
  --focus:#ffd84a;--focus-edge:#07090b;--radius:4px;
  --display:Bahnschrift,"DIN Alternate","Arial Narrow","Roboto Condensed","Helvetica Neue",Arial,sans-serif;
  --body:system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --lightbar:linear-gradient(90deg,var(--red) 0 50%,var(--blue) 50% 100%);
  --gap-major:4rem;
}

/* Base */
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:1.5rem;scroll-padding-bottom:1rem;-webkit-text-size-adjust:100%}
body{margin:0;color:var(--ink);background:var(--mist);font-family:var(--body);font-size:1.125rem;line-height:1.6;overflow-wrap:break-word}
/* Short pages (404, notices) keep the footer at the bottom of the window. */
body{min-height:100vh;display:flex;flex-direction:column}
body>main{flex:1 0 auto}
img{max-width:100%}
a{color:inherit;text-underline-offset:.2em}
p{margin:0 0 1rem;text-wrap:pretty}
h1,h2,h3{font-family:var(--display);font-weight:700;text-wrap:balance}
figure{margin:0}
/* Two-colour focus ring: a yellow band (>=3:1 on dark grounds) sandwiched between
   near-black bands (>=3:1 on white/mist grounds), so the ring contrasts with
   whatever surface it sits on. 0-2px dark, 2-5px yellow, 5-7px dark. */
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:2px;box-shadow:0 0 0 7px var(--focus-edge)}
.skip{position:absolute;z-index:30;top:-5rem;left:1rem;background:var(--focus);color:#000;padding:.65rem 1rem;font-weight:800}
.skip:focus{top:1rem}
[id]{scroll-margin-top:1.5rem}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* 1240px outer shell: 1200px content at wide desktop (x=120 at 1440). */
.shell{width:100%;max-width:1240px;margin:auto;padding-inline:1.25rem;container:shell/inline-size}

/* Masthead: wordmark + guides on row 1, slim "Vehicle planning" row 2 (desktop).
   Non-sticky. Below 1100px the same two groups sit behind the MENU disclosure. */
.site-header{position:relative;z-index:20;color:#fff;background:var(--night)}
.site-header::after{content:"";display:block;height:3px;background:var(--lightbar)}
/* Production phone line (t_daa3ce0e, raised in t_971c0140): the first band of the
   header at every width (never behind MENU), the number as a large red call target
   (>=44px tall). Padding keeps the 7px focus ring inside the viewport; the number
   never breaks, the label wraps before it on narrow screens. */
.phone-band{background:var(--steel);border-bottom:1px solid var(--line-dark)}
.phone-strip{max-width:1240px;margin:auto;padding:.5rem 1.25rem;display:flex;justify-content:flex-end}
.phone-line{margin:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.35rem .85rem;color:#fff;font-size:1.0625rem;font-weight:650;line-height:1.3;text-align:right}
.phone-line .phone-link{display:inline-flex;align-items:center;min-height:44px;padding:.3rem min(1rem,3vw);color:#fff;background:var(--red-button);border:2px solid var(--red-button);border-radius:var(--radius);font-size:min(1.375rem,7vw);font-weight:800;letter-spacing:.02em;line-height:1.2;text-decoration:none}
.phone-line .phone-link:hover{background:var(--red-deep);border-color:var(--red-deep)}
.phone-link{display:inline-block;padding:.3rem .15rem;color:#fff;font-weight:750;white-space:nowrap;text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px}
.phone-link:hover{text-decoration-color:#fff}
.footer-phone{margin:0 0 .75rem;color:#fff;font-size:1.0625rem;font-weight:650}
.footer-phone .phone-link{padding-block:.4rem}
.brief-phone{font-weight:650}
.brief-phone .phone-link{color:var(--blue-ink);text-decoration-color:currentColor}
.bar{max-width:1240px;margin:auto;padding:.75rem 1.25rem;display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr);align-items:center;gap:.5rem 2rem}
.brand{position:relative;justify-self:start;min-width:0;padding-left:.95rem;font-family:var(--display);font-size:.95rem;font-weight:700;line-height:1.02;letter-spacing:.12em;text-decoration:none}
.brand::before{content:"";position:absolute;left:0;top:.1rem;bottom:.1rem;width:4px;border-radius:2px;background:linear-gradient(180deg,var(--red) 0 50%,var(--blue) 50% 100%)}
.brand b{display:block;margin-top:.32rem;color:var(--blue-soft);font-size:.64rem;font-weight:600;letter-spacing:.2em}
.nav-toggle{display:none;justify-self:end;min-width:44px;min-height:44px;padding:.6rem .9rem;color:#fff;background:transparent;border:1px solid #6b777c;border-radius:var(--radius);font:700 .78rem/1 var(--body);letter-spacing:.12em;cursor:pointer}
.nav-toggle:hover,.nav-toggle[aria-expanded="true"]{border-color:#fff}
.nav{display:flex;flex-direction:column;align-items:flex-end;gap:0;min-width:0}
.nav-group{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.25rem 1.25rem;min-width:0}
.nav-group-label{margin:0;color:var(--muted-dark);font-size:.875rem;font-weight:600;letter-spacing:.02em}
.nav-guides .nav-group-label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.nav-vehicles{margin-top:.5rem;padding-top:.45rem;border-top:1px solid var(--line-dark)}
.nav-vehicles .nav-group-label{padding-right:.25rem}
.nav a{position:relative;padding-block:.4rem;color:#dfe6e8;font-size:.9375rem;font-weight:650;letter-spacing:.01em;text-decoration:none}
.nav-vehicles a{font-size:.875rem;color:#c9d3d6}
.nav a:not(.button):hover{color:#fff;text-decoration:underline;text-decoration-thickness:1px}
/* Current page: underline marker (not colour alone) plus aria-current in markup. */
.nav a[aria-current="page"]{color:#fff;text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:3px;text-underline-offset:.45em}
/* Detail page's vehicle family: quiet dotted marker only, never "current". */
.nav a.nav-family{color:#fff;text-decoration:underline dotted;text-decoration-thickness:1px;text-underline-offset:.45em}
.nav .button{margin-left:.25rem;padding:.55rem .9rem;color:#fff}

/* Buttons, overlines, notes */
.button{display:inline-block;max-width:100%;padding:.8rem 1.15rem;color:#fff;background:var(--red-button);border:2px solid var(--red-button);border-radius:var(--radius);font-size:1rem;font-weight:750;letter-spacing:.01em;line-height:1.25;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s}
.button:hover{background:var(--red-deep);border-color:var(--red-deep)}
.eyebrow{display:flex;align-items:center;gap:.6rem;margin:0 0 .8rem;font-size:.875rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
.eyebrow::before{content:"";flex:0 0 auto;width:26px;height:4px;border-radius:2px;background:var(--lightbar)}
.lede{max-width:44ch;color:var(--on-dark);font-size:1.25rem;line-height:1.55}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.75rem}
.section{padding-block:var(--gap-major)}
.section h2{margin:0 0 1rem;font-size:clamp(1.75rem,1.2rem + 1.4vw,2.25rem);line-height:1.1;letter-spacing:-.005em}
.dark{color:#fff;background:var(--steel)}
.dark p{color:var(--on-dark)}
.reading{max-width:48rem}
.reading>h2:not(:first-child){margin-top:2.5rem}
.link-list{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:.5rem 1.75rem}
.link-list a,.section-more a,.chooser-more a{font-weight:700}
.link-list a::after,.section-more a::after{content:" →";color:var(--red-deep)}

/* Home: "Vehicles in frame" opening (Visual Design brief t_4517eeb6 §4). Intro beside
   the native-16:9 lead photograph; then three equal photographic choices on the same
   dark ground; secondary links and actions close the opening. Photos are explicit
   figures on bounded surfaces: never cropped, no text over them. DOM order = reading
   order at every width; phone gets compact category jump links before the photo. */
.hero{color:#fff;background:var(--steel)}
.home-hero{container:hero/inline-size}
.home-opening{display:grid;grid-template-columns:minmax(0,1fr);gap:1.75rem;padding-block:3rem}
@container hero (min-width:56em){
  .home-opening{grid-template-columns:minmax(0,46fr) minmax(0,54fr);gap:2.25rem 3rem;align-items:center}
  .home-intro{grid-column:1;grid-row:1}
  .home-lead{grid-column:2;grid-row:1}
  .home-jumps{display:none}
  .home-chooser,.home-actions{grid-column:1/-1}
}
.home-intro{min-width:0}
.home-actions{padding-top:1.5rem;border-top:1px solid var(--line-dark)}
.hero h1{max-width:18ch;margin:0 0 1.25rem;font-size:clamp(2.25rem,1.4rem + 3.2vw,4rem);line-height:1.04;letter-spacing:-.015em}
.hero .lede{margin:0 0 1.5rem}
.home-jumps ul{display:flex;flex-wrap:wrap;gap:.5rem;margin:0;padding:0;list-style:none}
.home-jumps a{display:inline-block;padding:.55rem .85rem;color:#fff;font-size:1rem;font-weight:700;line-height:1.25;text-decoration:none;border:1px solid #6b777c;border-radius:var(--radius)}
.home-jumps a:hover{border-color:#fff;text-decoration:underline}
/* Photo surfaces: complete frame at its own aspect ratio (intrinsic width/height). */
.home-lead,.category-photo,.dossier-photo{min-width:0}
.home-lead img,.category-photo img,.dossier-photo img{display:block;width:100%;height:auto;background:#1b2328}
.photo-credit{margin-top:.6rem;font-size:.875rem;line-height:1.5;color:var(--muted)}
.photo-subject{font-weight:750;color:var(--ink)}
.hero .photo-credit{color:var(--on-dark)}
.hero .photo-subject{color:#fff}
.home-chooser{min-width:0;padding-top:1.5rem;border-top:3px solid transparent;border-image:var(--lightbar) 1;container:chooser/inline-size}
.home-chooser h2{margin:0 0 .5rem;font-size:1.5rem;line-height:1.2}
.chooser-intro{margin-bottom:1.25rem;color:var(--on-dark);font-size:1rem}
.choice-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
@container chooser (min-width:44rem){.choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}}
/* A card: 4:3 contain well (whole source frame, quiet neutral ground) + title link
   whose ::after stretches over the card; description stays outside the link name. */
.choice{position:relative;display:flex;flex-wrap:wrap;align-items:flex-start;gap:.75rem 1rem;min-width:0;padding:.75rem;background:var(--panel);border:1px solid var(--line-dark);border-radius:var(--radius)}
.choice-photo{flex:1 0 8rem;max-width:100%;aspect-ratio:4/3;background:#222c31}
.choice-photo img{display:block;width:100%;height:100%;object-fit:contain}
.choice-text{flex:999 1 11rem;min-width:0}
@container chooser (min-width:44rem){.choice{flex-direction:column;flex-wrap:nowrap;align-items:stretch}.choice-photo{flex:none;width:100%}.choice-text{flex:1 1 auto;padding:0 .25rem .25rem}}
.choice h3{margin:0 0 .3rem;font-size:1.5rem;line-height:1.15}
.choice h3 a{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:0 1rem;color:#fff;text-decoration:none}
.choice h3 a::after{content:"";position:absolute;inset:0;border-radius:var(--radius)}
.choice:hover{border-color:#6b777c}
.choice h3 a:hover,.choice:hover h3 a{text-decoration:underline;text-decoration-thickness:2px}
.choice-arrow{flex:0 0 auto;color:var(--blue-soft);font-family:var(--body);font-size:1.25rem;transition:transform .15s}
.choice:hover .choice-arrow{transform:translateX(3px)}
.choice p{margin:0;color:var(--on-dark);font-size:1rem;line-height:1.5}
.chooser-more{display:flex;flex-wrap:wrap;gap:0 2rem;margin:1.1rem 0 0;padding:0;list-style:none;font-size:1rem}
.chooser-more li{margin:0;padding:.4rem 0}
.chooser-more a{color:#fff}
.chooser-more a::after{content:" →";color:var(--blue-soft)}
/* Category overview: the same three choices on a dark band below the page header. */
.overview-choices{margin-top:2rem;padding:1.25rem;background:var(--steel);color:#fff}
.text-action{font-weight:700;color:#fff}
.text-action::after{content:" →";color:var(--blue-soft)}

/* Home: scene-to-scope strip on warm paper */
.section-intro{max-width:46rem;margin-bottom:2rem}
.section-intro .eyebrow,.spread-col .eyebrow,.faq-intro .eyebrow{color:var(--ink-2)}
.scene-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:0;margin:0;padding:0;list-style:none;border-block:1px solid var(--rule)}
.scene-steps li{min-width:0;padding:1.5rem 1.5rem 1.5rem 0}
.scene-steps li+li{padding-left:1.5rem;border-left:1px solid var(--rule)}
.scene-steps .step-index{display:block;margin-bottom:1rem;color:var(--red-deep);font-family:var(--display);font-size:3.5rem;font-weight:700;line-height:.9}
.scene-steps strong{display:block;margin-bottom:.4rem;font-family:var(--display);font-size:1.375rem;line-height:1.2}
.scene-steps span:not(.step-index){display:block;color:var(--ink-2);font-size:1.0625rem;line-height:1.55}
.section-more{margin:1.5rem 0 0}

/* Home: paired planning spread */
.planning-spread{background:var(--paper);border-block:1px solid var(--line)}
.spread{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,24rem),1fr));gap:2.5rem 4rem}
.spread-col{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0;align-content:start;min-width:0;padding-top:1.25rem;border-top:3px solid var(--ink)}
.spread-col>*{min-width:0}
.spread-col p{max-width:62ch;color:var(--ink-2)}

/* Home: FAQ with its own rhythm — narrow intro beside native details */
.faq-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1.5rem 4rem}
.faq-layout>.faq{grid-column:span 2}
.faq details{padding:1rem 0;border-top:1px solid var(--rule)}
.faq details:last-child{border-bottom:1px solid var(--rule)}
.faq summary{display:flex;justify-content:space-between;gap:1rem;cursor:pointer;font-size:1.125rem;font-weight:700;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:0 0 auto;color:var(--red-deep);font-size:1.4rem;line-height:1;font-weight:700}
.faq details[open] summary::after{content:"\2212"}
.faq p{max-width:66ch;margin:.75rem 0 0;color:var(--ink-2)}

/* Home: final dark brief band */
.brief-band{color:#fff;background:var(--night);position:relative}
.brief-band::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--lightbar)}
.brief-band-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem 3rem;padding-block:3rem}
.brief-band-copy{flex:1 1 26rem;min-width:0}
.brief-band h2{margin:0 0 .5rem;font-size:clamp(1.75rem,1.2rem + 1.4vw,2.25rem);line-height:1.1}
.brief-band p{margin:0;color:var(--on-dark);max-width:60ch}
.brief-band-action{flex:0 1 auto;min-width:0}

/* Interior frame: breadcrumb above, title beside intro on wide screens. */
.page-hero{padding-block:2.5rem;color:#fff;background:var(--steel)}
.page-hero p{max-width:760px;color:var(--on-dark)}
/* The editorial overline must wrap as prose, not a flex item's min-content box. */
.page-hero .eyebrow{display:block;font-size:.875rem;letter-spacing:.12em;color:var(--blue-soft)}
.page-hero .eyebrow::before{display:inline-block;vertical-align:middle;margin-right:.6rem}
.page-hero:not(.editorial-hero) h1{font-size:2.25rem;text-transform:none;line-height:1.12;margin:.25rem 0 1rem}
.interior-head{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,26rem),1fr));gap:1rem 3rem;align-items:end}
.breadcrumb{grid-column:1/-1;margin:0;font-size:1rem}
.breadcrumb a{color:var(--on-dark)}
.breadcrumb a:hover{color:#fff}
.interior-title{min-width:0}
.editorial-hero h1{max-width:24ch;margin:0;font-size:clamp(1.875rem,1.2rem + 2.2vw,3rem);line-height:1.12;letter-spacing:-.01em;text-transform:none}
.interior-intro{min-width:0}
.interior-intro .intro{margin:0 0 1rem;font-size:1.125rem}

/* Editorial layouts. Containers measure the shell, so enlarged text drops the
   rail exactly when the columns would get too narrow. */
.editorial-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:2rem;padding-block:2.5rem 3rem;align-items:start}
@container shell (min-width:56em){
  .layout-rail{grid-template-columns:14rem minmax(0,1fr);gap:3rem}
}
.editorial-body{min-width:0}
.editorial-body>section,.editorial-body>.section-flow>section,.editorial-body>.gallery-intro>section,.safety-note{margin-bottom:3rem}
.editorial-body h2{margin:0 0 1rem;font-size:clamp(1.5rem,1.2rem + .9vw,2rem);line-height:1.2}
.editorial-body h3{font-size:1.375rem;line-height:1.3}
.editorial-body p,.editorial-body li{max-width:68ch}
.editorial-body li{margin-bottom:.6rem}
.editorial-body ul{padding-left:1.25rem}
.editorial-body section>h2{padding-top:1.25rem;border-top:1px solid var(--rule)}
.editorial-body>section:first-child>h2,.editorial-body>.section-flow:first-child>section:first-child>h2{padding-top:0;border-top:0}

/* Contents rail (desktop) / closed native disclosure (phone; JS closes it there,
   no-JS keeps it open). The tutorial's start link stays visible outside it. */
.contents-column{min-width:0}
.start-link{margin:0 0 1rem;font-weight:700}
.start-link a::after{content:" ↓";color:var(--red-deep)}
.contents{min-width:0;padding-top:.75rem;border-top:3px solid var(--ink);font-size:1rem}
.contents summary{display:flex;justify-content:space-between;gap:1rem;padding-block:.25rem;cursor:pointer;font-family:var(--display);font-size:1.125rem;font-weight:700;list-style:none}
.contents summary::-webkit-details-marker{display:none}
.contents summary::after{content:"+";color:var(--red-deep);font-size:1.25rem;line-height:1}
.contents[open] summary::after{content:"\2212"}
.contents ul{margin:.5rem 0 0;padding:0;list-style:none}
.contents li{margin:0;border-bottom:1px solid var(--line)}
.contents li a{display:block;padding:.45rem 0;line-height:1.35;text-decoration:none}
.contents li a:hover{text-decoration:underline}
@container shell (max-width:56em){
  .contents ul{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem}
  .contents li{border:0}
  .contents li a{text-decoration:underline}
}
/* Gallery/detail: compact wrapping local contents above the full-width body. */
.local-contents{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem 1.5rem;padding:.75rem 0;border-block:1px solid var(--rule);font-size:1rem}
.local-contents-label{margin:0;font-weight:700}
.local-contents ul{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem;margin:0;padding:0;list-style:none}
.local-contents li{margin:0}
.local-contents a{display:inline-block;padding-block:.2rem}

/* Template A — categories: comparison spans the main column, prose stays ~68ch. */
.table-scroll{max-width:100%;overflow-x:auto;outline-offset:4px;container:comparison/inline-size;margin-block:1.5rem}
table{border-collapse:collapse;width:100%;font-size:1rem;line-height:1.5;background:var(--paper)}
th,td{padding:.85rem 1rem;text-align:left;vertical-align:top;border:0;border-bottom:1px solid var(--rule);min-width:10rem}
thead{background:var(--tint)}
thead th{font-size:.9375rem;font-weight:750;border-bottom:2px solid var(--ink)}
tbody th{font-weight:750}
/* Comparisons keep their columns only while every column has a readable measure
   (rem thresholds scale with enlarged root text: 38rem ~ 3 x 10rem cells + padding,
   27rem for 2 columns). Below that, each row becomes one visibly labeled record:
   identifier first, then each value under its own column label. ARIA roles in the
   markup keep table semantics through the display change. Visible labels use
   alt text "" so AT hears the column header once; browsers without CSS content
   alt-text support fall back to the plain label (read twice, never lost). */
@container comparison (max-width:38rem){
 .cols-3 table,.cols-3 thead,.cols-3 tbody,.cols-3 tr,.cols-3 th,.cols-3 td{display:block}
 .cols-3 table{background:none}
 .cols-3 thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 .cols-3 tbody tr{margin:0 0 1rem;background:#fff;border:1px solid #bfc3c1;border-top:3px solid var(--red-deep)}
 .cols-3 tbody th,.cols-3 tbody td{min-width:0;border:0;padding:.75rem 1rem}
 .cols-3 tbody th{font-size:1.125rem;line-height:1.3;background:#e2e5e2}
 .cols-3 tbody td+td{border-top:1px solid #d9dad5}
 .cols-3 tbody th::before,.cols-3 tbody td::before{content:attr(data-label);content:attr(data-label) / "";display:block;margin-bottom:.2rem;color:#465055;font-size:.875rem;font-weight:800;line-height:1.35}
}
@container comparison (max-width:27rem){
 .cols-2 table,.cols-2 thead,.cols-2 tbody,.cols-2 tr,.cols-2 th,.cols-2 td{display:block}
 .cols-2 table{background:none}
 .cols-2 thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 .cols-2 tbody tr{margin:0 0 1rem;background:#fff;border:1px solid #bfc3c1;border-top:3px solid var(--red-deep)}
 .cols-2 tbody th,.cols-2 tbody td{min-width:0;border:0;padding:.75rem 1rem}
 .cols-2 tbody th{font-size:1.125rem;line-height:1.3;background:#e2e5e2}
 .cols-2 tbody td+td{border-top:1px solid #d9dad5}
 .cols-2 tbody th::before,.cols-2 tbody td::before{content:attr(data-label);content:attr(data-label) / "";display:block;margin-bottom:.2rem;color:#465055;font-size:.875rem;font-weight:800;line-height:1.35}
}

/* Template B — rental tutorial: a numbered sequence, not a deep list indent.
   The <ol> keeps the order for AT; the visible counter is decorative. */
.rental-steps{margin:0;padding:0;list-style:none;counter-reset:none}
.rental-steps>li{display:grid;grid-template-columns:4.5rem minmax(0,1fr);gap:0 1.5rem;max-width:none;margin:0;padding:1.75rem 0;border-top:1px solid var(--rule)}
.rental-steps>li:last-child{border-bottom:1px solid var(--rule)}
.step-counter{color:var(--red-deep);font-family:var(--display);font-size:3rem;font-weight:700;line-height:.95;letter-spacing:-.02em}
.step-body{min-width:0}
.rental-steps h3{margin:.1rem 0 .6rem}
.output{max-width:68ch;margin:1rem 0;padding:.75rem 1rem;color:var(--ink);background:var(--output);border-left:3px solid var(--blue-ink)}
.output strong{display:block;font-size:.875rem;letter-spacing:.06em;text-transform:uppercase}
.step-link{margin:0;font-weight:700}
.step-link a::after{content:" →";color:var(--red-deep)}
@container shell (max-width:36em){
  .rental-steps>li{grid-template-columns:minmax(0,1fr)}
  .step-counter{font-size:2.25rem;margin-bottom:.5rem}
}

/* Template C/D — reference dossiers. AFR records: complete photograph (~40%) beside
   subject, description and next step (~60%); detail-page lead record gives the photo
   ~58%. Source metadata and status follow in readable type. Records without an
   allowlisted photograph are plain text references (no failed-image placeholder). */
.reference-list{display:grid;grid-template-columns:minmax(0,1fr);gap:0;border-top:3px solid var(--ink);container:dossiers/inline-size}
.reference-record{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem 2.5rem;align-items:start;min-width:0;padding:1.5rem 0;background:none;border-bottom:1px solid var(--rule)}
.dossier-text{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem;min-width:0;color:var(--ink);font-size:1rem;line-height:1.6}
.dossier-head h3{margin:0 0 .25rem;font-size:1.375rem;line-height:1.25}
.dossier-kind{margin:0;color:var(--muted);font-size:.9375rem;font-weight:650}
.dossier-body p{margin:0 0 .6rem;max-width:70ch}
.dossier-description{font-size:1.125rem}
.dossier-request{padding-top:.6rem;border-top:1px dashed var(--rule)}
.dossier-pictured{font-weight:650}
.dossier-pictured::before{content:"\2191  ";color:var(--blue-ink)}
.dossier-meta{display:grid;gap:.15rem;margin:0;font-size:.9375rem}
.dossier-meta div{display:block}
.dossier-meta dt{display:inline;font-weight:750}
.dossier-meta dd{display:inline;margin:0 0 0 .3rem}
.reference-id{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;font-size:.9375rem}
.reference-status{margin:0;max-width:75ch;padding:.75rem 1rem;color:#465055;font-size:.9375rem;background:var(--paper);border-left:3px solid var(--blue-ink)}
.text-only .reference-status{border-left-color:var(--rule)}
@container dossiers (min-width:42rem){
  .reference-record.has-photo{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
  .kind-detail .references .reference-record.has-photo:first-child{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
}
.references>h2,.reference-group>h2{border-top:0;padding-top:0}
/* Gallery: compact two-column intro, then grouped full-width indexes. */
.gallery-intro{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,24rem),1fr));gap:0 3rem;margin-bottom:1rem}
.gallery-intro h2{font-size:1.375rem}
.gallery-intro p{font-size:1rem;color:var(--ink-2)}
.reference-group{margin-bottom:3.5rem}
.reference-group>h2{display:flex;align-items:center;gap:.75rem}
.reference-group>h2::before{content:"";flex:0 0 auto;width:26px;height:4px;border-radius:2px;background:var(--lightbar)}
/* Detail: provenance first, then the planning prose. */
.kind-detail .references{margin-bottom:3rem}

/* Category lead photograph(s): one wide figure, or pumper + ladder as a pair. */
.category-photos{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem 1.5rem;padding-top:2rem}
.category-photos.count-1 .category-photo{max-width:52rem}
.category-photos.count-2{grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr))}

/* Shared notes and continuation */
.safety-note{max-width:72ch;padding:1.25rem 1.5rem;background:var(--tint);border-left:3px solid var(--blue-ink)}
.safety-note h2{margin:0 0 .5rem;padding:0;border:0;font-size:1.375rem}
.safety-note p{margin:0}
.next-links{padding:0!important;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:0 2rem}
.next-links li{margin:0;padding:.6rem 0;border-bottom:1px solid var(--line)}
.next-links a{font-weight:650}

/* Template E — brief and notice pages: one readable column, paper-like template. */
.layout-compact{max-width:52rem}
.brief-template{max-width:100%;margin:1.25rem 0 0;padding:1.5rem 1.75rem;font:inherit;font-size:1.0625rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:normal;word-break:normal;color:var(--ink);background:var(--paper);border:1px solid #a3aaa6;border-top:3px solid var(--ink)}
.kind-notice .editorial-body>.section-flow>section:first-child{padding:1.25rem 1.5rem;background:var(--paper);border-left:3px solid var(--red-deep)}

/* Site guide (route-matrix) */
.prose{max-width:900px}
.prose>p{font-size:1.06rem}
.route-list{padding:0;list-style:none}
.route-list li{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:2rem;padding:1rem 0;border-bottom:1px solid var(--line)}
.route-list a{font-weight:750;text-decoration-color:rgba(168,33,26,.6)}
.route-list span{color:var(--muted)}

/* Footer */
.site-footer{position:relative;padding-block:2.4rem;color:#c9d3d6;background:var(--night)}
.site-footer::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--lightbar)}
.footer-note{max-width:900px;margin:0;font-size:.9375rem}
.footer-note+.footer-note{margin-top:.5rem}
.footer-note a{color:#fff}
.footer-links{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;margin:1rem 0;padding:0;list-style:none}
.footer-links a{display:inline-block;padding-block:.4rem}

/* Phone/tablet masthead: MENU disclosure with the same two named groups, in flow. */
@media(max-width:1100px){
  .bar{grid-template-columns:minmax(0,1fr) auto}
  .nav-toggle{display:block}
  .nav{display:none;grid-column:1/-1;position:static;width:100%;align-items:stretch;margin:0;padding:.25rem 0 .75rem}
  .nav.open{display:flex}
  .nav-group{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding-top:.75rem}
  .nav-vehicles{margin-top:.5rem;padding-top:.75rem}
  .nav-guides .nav-group-label{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal}
  .nav-group-label{padding:0 0 .25rem}
  .nav a,.nav-vehicles a{padding:.7rem .25rem;font-size:1rem;border-bottom:1px solid #1d272d}
  .nav .button{margin:.75rem 0 .25rem;text-align:center;border-bottom:2px solid var(--red-button)}
}
@media(max-width:720px){
  :root{--gap-major:2.5rem}
  .home-opening{padding-block:1.75rem 2rem}
  .hero .lede{font-size:1.125rem}
  .scene-steps li,.scene-steps li+li{padding:1.25rem 0;border-left:0}
  .scene-steps li+li{border-top:1px solid var(--rule)}
  .scene-steps .step-index{font-size:2.75rem}
  .page-hero{padding-block:1.75rem}
  .interior-head{gap:.75rem 2rem}
  .editorial-layout{padding-block:1.75rem 2.5rem}
  .route-list li{grid-template-columns:minmax(0,1fr);gap:.25rem}
  .faq-layout>.faq{grid-column:auto}
}
@media(max-width:420px){
  .shell,.bar,.phone-strip{padding-inline:16px}
  .phone-strip{justify-content:flex-start}
  .phone-line{justify-content:flex-start;text-align:left;font-size:1rem}
  .phone-line .phone-link{font-size:min(1.25rem,7vw)}
  .brand{font-size:.74rem}
  .brand b{font-size:.54rem}
  .actions{align-items:stretch;flex-direction:column}
  .actions .button{width:100%;text-align:center}
}
/* The scene strip stacks inside a narrow shell (rem-aware, not a fixed breakpoint). */
@container shell (max-width:40em){
  .scene-steps li,.scene-steps li+li{padding:1.25rem 0;border-left:0}
  .scene-steps li+li{border-top:1px solid var(--rule)}
  .faq-layout>.faq{grid-column:auto}
}

/* Enlarged-text safeguards. Container em units follow the actual text size, unlike
   viewport px breakpoints: when text is large for the available width, headings
   shrink to a still-enlarged size and padding is reclaimed. No global word breaking. */
@container shell (max-width:12em){
  .hero h1{font-size:1.6rem;max-width:none}
  .page-hero h1,.editorial-hero h1{font-size:1.5rem;text-transform:none;max-width:none}
  .section h2,.brief-band h2{font-size:1.3rem}
  .home-chooser h2{font-size:1.25rem}
  .choice h3{font-size:1.2rem}
  .overview-choices{padding-inline:12px}
  .choice{padding:.6rem}
  .button{padding-inline:12px;letter-spacing:0}
  .scene-steps .step-index{font-size:2rem}
  .scene-steps strong{font-size:1.15rem}
  .editorial-body{font-size:1rem}
  .editorial-body p,.editorial-body li,.editorial-body pre,.editorial-body td,.editorial-body th{overflow-wrap:normal}
  .editorial-body h2,.safety-note h2{font-size:1.3rem}
  .editorial-body h3,.dossier-head h3{font-size:1.2rem}
  .step-counter{font-size:1.75rem}
  .output,.safety-note,.brief-template,.reference-status,.kind-notice .editorial-body>.section-flow>section:first-child{padding-inline:12px}
  .editorial-body ul{padding-left:1rem}
}
@container shell (min-width:10em) and (max-width:12em){
  .page-hero h1,.editorial-hero h1{font-size:1.7rem}
}
@container(max-width:12em){.page-hero:not(.editorial-hero) h1{font-size:1.5rem}}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*{transition:none!important}}
.reading>h1{margin:0 0 1rem;font-size:clamp(2rem,1.4rem + 2vw,3rem);line-height:1.1}
