/* History: an industrial archive. Scoped to preserve the rest of the site. */
.history-page {--archive:#e9edf0;}
.history-page .history-hero {display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:5%;padding:96px max(24px,calc((100% - 1280px)/2));background:#102832;min-height:520px;}
.history-page .history-hero .hero-inner {margin:0;padding:0;max-width:740px;}
.history-page .history-hero h1 {font-size:clamp(3rem,5vw,5rem);max-width:12ch;}
.history-page .history-hero .lede {max-width:43ch;}
.history-datestamp {align-self:stretch;display:flex;flex-direction:column;justify-content:center;border-left:1px solid #526a75;padding-left:12%;color:#b7cbd4;}
.history-datestamp span {font:400 .8125rem var(--mono);letter-spacing:.12em;}
.history-datestamp strong {font:500 clamp(6rem,12vw,12rem)/1.2 var(--sans);letter-spacing:-.08em;color:#fff;margin-left:-.05em;}
.history-page section.band {padding:104px 0;}
.history-page .artifact-stack {max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:36px 56px;align-items:start;}
.history-page .artifact-stack .section-head {max-width:450px;}
.history-page .artifact-stack .lede {font-size:1.0625rem;line-height:1.85;}
.history-page .artifact {display:flex;flex-direction:column;min-width:0;}
.history-page .artifact-frame {border:0;box-shadow:none;background:#152730;border-radius:3px;padding:24px;display:flex;align-items:center;justify-content:center;aspect-ratio:1.15;}
.history-page .artifact-frame img {max-height:100%;width:100%;height:100%;object-fit:contain;}
.history-page .artifact figcaption {font:400 .875rem/1.65 var(--sans);margin-top:20px;padding-left:16px;border-left:2px solid #d27a4e;max-width:55ch;}
.history-page .history-people {background:#edf1f3;}
.history-people>.wrap {display:grid;grid-template-columns:.75fr 1.25fr;gap:64px;}
.history-page .portrait-row {margin:0;display:grid;grid-template-columns:151px 1fr;gap:32px;}
.history-page .portrait {width:151px;}
.history-page .portrait img {padding:0;box-shadow:none;border-radius:0;border:0;}
.history-page .portrait figcaption {font-size:.8125rem;line-height:1.6;}
.history-page .prose p {font-size:1.0625rem;line-height:1.85;color:var(--ink-2);max-width:none;}
.history-engineering .prose,.history-present .prose {max-width:none;display:grid;grid-template-columns:.85fr 1.15fr;gap:0 88px;align-items:start;}
.history-engineering .prose>.kicker,.history-present .prose>.kicker {grid-column:1;grid-row:1;}
.history-engineering .prose>h2,.history-present .prose>h2 {grid-column:1;grid-row:2 / span 3;max-width:13ch;margin:16px 0 0;font-size:clamp(2.3rem,3.7vw,3.65rem);}
.history-engineering .prose>p,.history-present .prose>p {grid-column:2;}
.history-engineering .prose>p:first-of-type,.history-present .prose>p:first-of-type {grid-row:1 / span 2;margin-top:0;}
.history-page .history-present {background:#102832;color:#fff;border-top:3px solid #e47a42;}
.history-present .prose p {color:#c5d4dc;}
.history-present .prose h2 {color:#fff;}
.history-present .kicker {color:#ffa16c;}
.history-present .prose p:last-child {font-size:1.5rem;font-weight:500;color:#fff;margin-top:18px;}
.history-page .timeline-journey {display:grid;grid-template-columns:1.15fr .85fr;max-width:none;gap:80px;}
.history-page .timeline {max-width:none;padding:0;}
.history-page .timeline::before {left:0;top:14px;bottom:20px;background:#d1dde2;width:1px;}
.history-page .tl-entry {display:block;padding:0 0 54px 36px;border:0;}
.history-page .tl-entry:last-child {padding-bottom:0;}
.history-page .tl-entry::before {left:-4px;top:15px;width:9px;height:9px;background:#c6d2d8;border-radius:0;box-shadow:0 0 0 5px #fff;transition:background .3s;}
.history-page .tl-entry.is-current::before {background:#d86126;}
.history-page .tl-year {text-align:left;padding:0;font:500 2.8rem/1.1 var(--sans);letter-spacing:-.05em;color:#a33b0b;margin-bottom:16px;}
.history-page .tl-body h3 {font-size:1.35rem;line-height:1.35;margin:0 0 12px;}
.history-page .tl-body p {color:#4d626e;font-size:1rem;line-height:1.8;max-width:49ch;}
.history-instrument {position:sticky;top:112px;align-self:start;min-width:0;background:#102832;border:1px solid #26434f;border-radius:6px;overflow:hidden;color:#fff;}
.history-instrument-heading {position:relative;z-index:1;padding:32px 32px 0;}
.history-instrument-heading .kicker {color:#ffac7b;margin-bottom:14px;}
.history-instrument-heading strong {display:block;font:500 3.5rem/1 var(--sans);letter-spacing:-.04em;}
.history-canvas-wrap {height:360px;position:relative;}
.history-canvas-wrap canvas {display:block;width:100%;height:100%;opacity:0;}
.history-instrument.is-ready canvas {opacity:1;}
.history-fallback {position:absolute;width:100%;height:100%;object-fit:contain;padding:28px;}
.history-instrument.is-ready .history-fallback {display:none;}
.history-instrument-footer {margin:0 28px;padding:18px 0 24px;border-top:1px solid #48626e;display:flex;align-items:center;justify-content:space-between;gap:16px;}
.history-instrument-footer span {font:400 .75rem/1.6 var(--mono);color:#becdd5;max-width:19ch;}
.history-instrument-footer button {border:1px solid #6f8996;background:transparent;padding:10px;color:#fff;border-radius:3px;font:400 .75rem var(--sans);cursor:pointer;min-height:42px;}
.history-instrument-footer button:hover {background:#294752;}
.history-instrument-footer button[hidden] {display:none;}
@media(min-width:981px) and (max-height:740px) {.history-canvas-wrap {height:260px;}.history-instrument-heading {padding-top:24px;}.history-instrument-heading strong {font-size:2.5rem;}}
@media(max-width:1100px) {
 .history-people>.wrap {grid-template-columns:1fr;gap:20px;}
 .history-page .portrait-row {grid-template-columns:190px 1fr;gap:40px;}
 .history-page .timeline-journey {gap:40px;}
 .history-engineering .prose,.history-present .prose {gap:0 48px;}
}
@media(max-width:800px) {
 .history-page .history-hero {padding-top:60px;padding-bottom:60px;grid-template-columns:1fr;gap:40px;}
 .history-page .history-hero h1 {max-width:15ch;}
 .history-datestamp {border-left:0;border-top:1px solid #526a75;padding:24px 0 0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;}
 .history-datestamp strong {grid-row:1 / 3;grid-column:2;font-size:5rem;line-height:1;}
 .history-datestamp span {font-size:.75rem;letter-spacing:.04em;}
 .history-page section.band {padding:64px 0;}
 .history-page .artifact-stack {gap:28px;}
 .history-page .artifact-stack>.section-head,.history-page .artifact-stack>.lede {grid-column:1 / -1;}
 .history-page .artifact-frame {padding:12px;}
 .history-engineering .prose,.history-present .prose {display:block;}
 .history-engineering .prose>h2,.history-present .prose>h2 {max-width:18ch;margin:0 0 28px;}
 .history-page .timeline-journey {grid-template-columns:1fr;}
 .history-instrument {position:relative;top:auto;grid-row:1;}
 .history-canvas-wrap {height:300px;}
 .history-instrument-heading {position:absolute;pointer-events:none;}
 .history-instrument-heading strong {font-size:2.3rem;}
}
@media(max-width:540px) {
 .history-page .artifact-stack {grid-template-columns:1fr;gap:32px;}
 .history-page .portrait-row {grid-template-columns:1fr;gap:28px;}
 .history-page .portrait {width:auto;margin:0;display:grid;grid-template-columns:110px 1fr;gap:22px;align-items:center;}
 .history-page .portrait img {width:110px;}
 .history-page .portrait figcaption {margin:0;}
 .history-page .tl-entry {padding-left:26px;}
 .history-page .tl-year {font-size:2.4rem;}
 .history-instrument-heading {position:relative;padding:24px 24px 0;}
 .history-canvas-wrap {height:320px;}
}
@media(prefers-reduced-motion:reduce) {.history-page * {transition:none!important;}}
@media print {.history-datestamp,.history-instrument {display:none!important;}.history-page .history-hero,.history-page .timeline-journey {display:block;}}

/* Transport sculpture: a full-width cinematic opening, followed by an archive. */
.history-page .history-hero {display:block;min-height:0;padding:68px max(24px,calc((100% - 1280px)/2)) 0;background:#081e27;overflow:hidden;}
.history-page .history-hero .hero-inner {max-width:none;display:grid;grid-template-columns:1.3fr 1fr;gap:12px 70px;align-items:end;}
.history-page .history-hero .hero-badge {grid-column:1 / -1;justify-self:start;}
.history-page .history-hero h1 {font-size:clamp(3.3rem,5.8vw,5.8rem);line-height:1.01;letter-spacing:-.065em;max-width:14ch;margin:16px 0 0;}
.history-page .history-hero .lede {font-size:1.0625rem;line-height:1.8;padding-bottom:9px;max-width:38ch;}
.transport-scene {position:relative;margin-top:20px;--era-progress:0%;}
.transport-viewport {position:relative;height:clamp(370px,36vw,520px);isolation:isolate;background:radial-gradient(ellipse at 50% 52%,#22495680,transparent 65%);}
.transport-viewport canvas {width:100%;height:100%;display:block;position:relative;z-index:2;opacity:0;}
.transport-scene.is-ready canvas {opacity:1;}
.transport-word {position:absolute;inset:0;display:flex;justify-content:center;align-items:center;padding-bottom:9%;font:600 clamp(6rem,20vw,20rem)/1 var(--sans);letter-spacing:-.06em;color:#13333f;z-index:0;user-select:none;}
.transport-fallback {position:absolute;inset:5% 20% 12%;width:60%;height:83%;object-fit:cover;opacity:.7;mask-image:linear-gradient(transparent,#000 20%,#000 80%,transparent);}
.transport-scene.is-ready .transport-fallback {display:none;}
.transport-caption {position:absolute;left:0;right:0;bottom:22px;z-index:3;display:flex;gap:20px;align-items:center;color:#d6e3e8;font:400 .8125rem var(--mono);letter-spacing:.055em;pointer-events:none;}
.transport-caption>span:first-child {color:#fa9b62;}
.transport-caption-end {margin-left:auto;color:#9cb7c3;}
.transport-controls {display:flex;align-items:stretch;justify-content:space-between;gap:32px;border-top:1px solid #38515d;}
.transport-controls[hidden] {display:none;}
.transport-modes {display:grid;grid-template-columns:repeat(4,1fr);width:min(760px,80%);}
.transport-modes button {position:relative;display:flex;align-items:center;gap:18px;background:transparent;border:0;color:#9cb4c0;padding:25px 18px 27px;text-align:left;cursor:pointer;font:500 1rem var(--sans);}
.transport-modes button span {font:400 .75rem var(--mono);opacity:.7;}
.transport-modes button::before {content:'';height:2px;position:absolute;left:0;right:0;top:-1px;background:transparent;}
.transport-modes button.is-active {color:#fff;background:linear-gradient(#ffffff06,transparent);}
.transport-modes button.is-active::before {background:linear-gradient(to right,#f3975a var(--era-progress),#40515a var(--era-progress));}
.transport-modes button:hover {color:#fff;background:#ffffff08;}
.transport-pause {align-self:center;border:1px solid #516976;border-radius:4px;background:transparent;color:#d6e3e8;padding:12px 15px;font:.8125rem var(--sans);cursor:pointer;white-space:nowrap;}
.transport-pause:hover {border-color:#f3975a;}
.transport-pause[hidden] {display:none;}
.history-page .history-artifacts {padding-top:116px;padding-bottom:110px;}
.history-page .artifact-stack {grid-template-columns:1fr 1.15fr;gap:48px 70px;}
.history-page .artifact-stack .section-head h2 {font-size:clamp(2.5rem,4vw,4rem);max-width:11ch;}
.history-page .artifact-stack .artifact:first-of-type {padding-top:76px;}
.history-page .artifact-stack .artifact:first-of-type .artifact-frame {aspect-ratio:1.4;background:#e9edef;padding:26px;}
.history-page .artifact-stack .artifact:last-of-type .artifact-frame {aspect-ratio:1.05;padding:22px;background:#142f3b;}
.history-page .artifact-frame {border-radius:0;}
.history-page .history-people {background:#e8edf0;border-top:1px solid #d2dce2;border-bottom:1px solid #d2dce2;}
.history-people .section-head h2 {font-size:clamp(2.7rem,4.3vw,4.3rem);max-width:10ch;}
.history-people .portrait-row {padding-top:8px;}
.history-page .history-engineering {background:#fff;padding-top:120px;padding-bottom:120px;}
.history-engineering .prose>.kicker {font:500 clamp(4.6rem,9vw,8rem)/1 var(--sans);letter-spacing:-.065em;color:#c04e1d;margin:0;}
.history-engineering .prose>h2 {font-size:clamp(2.2rem,3vw,3rem);margin-top:22px;}
.history-page .history-present {background:#173441;padding:90px 0;}
.history-present .prose>.kicker {font-size:1rem;letter-spacing:.07em;}
.history-page .history-record {padding:110px 0;}
.history-page .tl-entry {padding-bottom:65px;}
.history-page .tl-year {font-size:3.3rem;color:#142e3b;}
.history-page .tl-entry.is-current .tl-year {color:#bb4817;}
.history-era-card {background:#0d2732;border-radius:0;}
.history-era-card .history-instrument-heading {padding:35px;}
.history-era-card .history-instrument-heading strong {font-size:clamp(4rem,7vw,7rem);letter-spacing:-.07em;}
.history-era-card>img {width:100%;height:auto;max-height:360px;object-fit:contain;padding:0 32px 28px;mix-blend-mode:luminosity;}
.history-era-card .history-instrument-footer span {font-size:.875rem;letter-spacing:.06em;max-width:none;}
.history-page .cta-band {background:#071c25;}
@media(max-width:1000px) {
 .history-page .history-hero .hero-inner {gap:16px 36px;grid-template-columns:1.2fr 1fr;}
 .history-page .history-hero h1 {font-size:4rem;}
 .transport-caption-end {display:none;}
 .history-page .artifact-stack {gap:36px;}
 .transport-modes button {gap:12px;padding:24px 10px;}
}
@media(max-width:800px) {
 .history-page .history-hero {padding-top:46px;}
 .history-page .history-hero .hero-inner {display:block;}
 .history-page .history-hero h1 {font-size:clamp(3rem,8vw,4.5rem);max-width:16ch;margin:24px 0 22px;}
 .history-page .history-hero .lede {max-width:48ch;padding:0;}
 .transport-scene {margin-top:0;}
 .transport-viewport {height:370px;margin:0 -20px;}
 .transport-caption {left:20px;right:20px;bottom:16px;}
 .transport-controls {gap:16px;}
 .transport-modes {width:100%;}
 .transport-modes button {padding:21px 9px;gap:7px;font-size:.9375rem;}
 .transport-pause {font-size:.75rem;padding:10px;}
 .history-page .artifact-stack .artifact:first-of-type {padding-top:0;}
 .history-page .history-artifacts,.history-page .history-engineering,.history-page .history-record {padding:70px 0;}
 .history-engineering .prose>.kicker {font-size:5rem;margin-bottom:22px;}
 .history-era-card .history-instrument-heading {position:relative;}
 .history-era-card>img {max-height:260px;}
}
@media(max-width:540px) {
 .history-page .history-hero h1 {font-size:clamp(2.7rem,10vw,3.5rem);}
 .transport-viewport {height:300px;margin:0 -24px;}
 .transport-word {font-size:25vw;padding-bottom:12%;}
 .transport-caption {font-size:.75rem;letter-spacing:0;left:24px;}
 .transport-controls {flex-wrap:wrap;gap:0;padding-bottom:18px;}
 .transport-modes {width:100%;}
 .transport-modes button {justify-content:center;gap:8px;padding:19px 6px;}
 .transport-pause {margin-left:auto;}
 .history-page .artifact-stack {grid-template-columns:1fr;}
 .history-page .artifact-stack .section-head h2 {max-width:13ch;}
}
@media(prefers-reduced-motion:reduce) {.transport-modes button.is-active::before {background:#f3975a;}}
@media print {.transport-scene {display:none;}.history-page .history-hero .hero-inner {display:block;}}

/* Frame the photograph within the replacement archival clipping. The original
   PNG remains untouched; its blank upper/lower margins stay outside the frame. */
.history-page .history-people > .wrap {display:block;}
.history-page .history-people .section-head {max-width:none;margin-bottom:42px;}
.history-page .history-people .section-head h2 {max-width:none;font-size:clamp(2.5rem,4vw,3.7rem);}
.history-page .history-people .portrait-row {display:grid;grid-template-columns:320px minmax(0,1fr);gap:clamp(40px,6vw,88px);padding:0;align-items:start;}
.history-page .history-people .portrait {display:block;width:100%;max-width:320px;margin:0;padding:28px;background:#f8fafb;border:1px solid #d0dbe1;}
.history-page .portrait-crop {position:relative;width:151px;height:173px;overflow:hidden;margin:0 auto;background:#26333a;}
.history-page .portrait-crop img {position:absolute;top:-49px;left:0;width:151px;height:379px;max-width:none;padding:0;border:0;border-radius:0;}
.history-page .history-people .portrait figcaption {margin:24px 0 0;font-size:.875rem;line-height:1.7;max-width:none;color:#4c616d;}
.history-page .history-people .portrait figcaption strong {font-size:1rem;margin-bottom:8px;}
.history-page .history-people .prose {max-width:65ch;}
.history-page .history-people .prose p:first-child {margin-top:0;}
@media(max-width:800px) {
 .history-page .history-people .portrait-row {grid-template-columns:260px minmax(0,1fr);gap:30px;}
 .history-page .history-people .portrait {padding:22px;}
}
@media(max-width:640px) {
 .history-page .history-people .section-head {margin-bottom:30px;}
 .history-page .history-people .portrait-row {grid-template-columns:1fr;gap:32px;}
 .history-page .history-people .portrait {max-width:none;display:grid;grid-template-columns:151px minmax(0,1fr);gap:22px;align-items:center;padding:22px;}
 .history-page .history-people .portrait figcaption {margin:0;}
}
@media(max-width:440px) {
 .history-page .history-people .portrait {grid-template-columns:1fr;gap:22px;}
}

/* ============================================================
   HISTORY — IMAGE SYSTEM
   Replaces the accreted per-figure overrides at :127-131 and :148.
   Cause of the disorder: object-fit:contain inside frames whose
   aspect-ratio did not match the image, on two different mat
   colours, with a hand-typed 76px stagger on the first figure.
   Tokens confirmed defined before use: --archive (history.css:2),
   --panel-2 --ink --ink-soft --line --brass --dark-line --sans.
   The site defines no spacing, gap or rhythm tokens, so the three
   --fig-* vars below are component-scoped, following the
   existing --archive precedent on this same selector.
   ============================================================ */
.history-page{
  --fig-mat:clamp(16px,2vw,26px);     /* mat inset inside the frame */
  --fig-cap:18px;                     /* frame -> caption           */
  --fig-gap:clamp(44px,5.5vw,72px);   /* figure -> figure           */
}

/* 1. ONE frame, ONE mat. The frame stops dictating the ratio. */
.history-page .artifact-stack{gap:var(--fig-gap) 70px;align-items:start;}
.history-page .artifact-stack .artifact:first-of-type{padding-top:0;}
.history-page .artifact-frame,
.history-page .artifact-stack .artifact:first-of-type .artifact-frame,
.history-page .artifact-stack .artifact:last-of-type .artifact-frame{
  display:block;aspect-ratio:auto;border-radius:0;
  padding:var(--fig-mat);background:var(--archive);
  border:1px solid var(--line);box-shadow:none;
}
/* 2. Ratio lives on the image; cover means image edge == frame edge. */
.history-page .artifact-frame img{
  display:block;width:100%;height:auto;max-height:none;
  aspect-ratio:var(--ar,3/2);object-fit:cover;background:var(--ink);
}
.history-page .artifact-stack .artifact:first-of-type .artifact-frame img{
  --ar:2/1;object-position:50% 42%;            /* embossed lettering */
}
.history-page .artifact-stack .artifact:last-of-type .artifact-frame img{
  --ar:1/1;object-position:50% 50%;            /* drums + stylus     */
}

/* 3. Caption: one component across artifact and portrait. */
.history-page .artifact figcaption,
.history-page .history-people .portrait figcaption{
  position:relative;margin:var(--fig-cap) 0 0;padding:14px 0 0;
  border-left:0;font:400 .8125rem/1.62 var(--sans);
  color:var(--ink-soft);max-width:min(46ch,100%);text-align:left;
}
.history-page .artifact figcaption::before,
.history-page .history-people .portrait figcaption::before{
  content:'';position:absolute;top:0;left:0;width:36px;height:2px;
  background:var(--brass);
}
.history-page .history-people .portrait figcaption strong{
  display:block;color:var(--ink);
  font:600 .9375rem/1.35 var(--sans);margin-bottom:5px;
}

/* 4. THE PORTRAIT — measured: artwork occupies rows 49-220 of 379.
      Rows 221-377 are transparent padding and 378 is a stray opaque
      row in the source file; the 7/8 window excludes both.
      Box is hard-capped at native 151px and never upscaled. */
.history-page .history-people .portrait{
  display:block;width:100%;max-width:320px;margin:0;
  padding:clamp(22px,2.4vw,30px);background:var(--panel-2);
  border:1px solid var(--line);
}
.history-page .portrait-crop{
  position:relative;width:151px;max-width:151px;
  aspect-ratio:7/8;overflow:hidden;margin:0;background:var(--ink);
  box-shadow:0 1px 0 rgba(20,37,46,.10),0 10px 26px rgba(20,37,46,.13);
}
.history-page .portrait-crop img{
  position:absolute;top:-49px;left:0;width:151px;height:379px;
  max-width:none;padding:0;border:0;border-radius:0;box-shadow:none;
  filter:grayscale(1) contrast(1.07) brightness(1.03) sepia(.16) saturate(1.2);
}
.history-page .portrait-crop::after{               /* halftone screen */
  content:'';position:absolute;inset:0;pointer-events:none;
  background-image:radial-gradient(rgba(20,37,46,.55) .5px,transparent .6px);
  background-size:2.5px 2.5px;mix-blend-mode:multiply;opacity:.30;
}
@media (min-resolution:2dppx){                     /* moire guard */
  .history-page .portrait-crop::after{background-size:2px 2px;opacity:.18;}
}

/* 5. Hero fallback focal point (era-card image was cut, not restyled). */
.history-page .transport-fallback{object-position:50% 42%;}

/* 6. RESPONSIVE — 800px is already this page's dominant breakpoint. */
@media (max-width:800px){
  .history-page .artifact-stack{grid-template-columns:1fr;gap:var(--fig-gap);}
  .history-page .artifact-frame{padding:14px;}
  .history-page .artifact-stack .artifact:first-of-type .artifact-frame img{
    --ar:1600/837;object-position:50% 50%;        /* native, zero crop */
  }
}
@media (max-width:440px){
  .history-page .portrait-crop{margin:0;}
}

/* Photographic transport sequence, in the same hero position and dimensions. */
.transport-photographs {position:absolute;inset:0;overflow:hidden;background:#081e27;}
.transport-photo {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 58%;opacity:0;transition:opacity 1.4s ease;will-change:transform,opacity;}
.transport-photo.is-active {opacity:1;}
.transport-photographs::after {content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,30,39,.06) 45%,rgba(8,30,39,.88) 100%);pointer-events:none;}
.transport-caption {left:28px;right:28px;color:#fff;text-shadow:0 1px 4px #081e27;}
.transport-caption-end {color:#e0eaf0;}
.transport-modes button:disabled {opacity:.4;cursor:default;}
@media(max-width:620px) {
 .transport-photo {object-fit:contain;background:#081e27;}
 .transport-caption {left:24px;right:24px;}
}
@media(prefers-reduced-motion:reduce) {.transport-photo {transition:none;will-change:auto;}}

/* Photographic breakup / reassembly layer. */
.transport-viewport {overflow:hidden;}
.transport-viewport .photo-shatter {position:absolute;inset:0;width:100%;height:100%;z-index:1;display:none;opacity:1;pointer-events:none;}
.transport-scene.is-shattering .photo-shatter {display:block;}
.transport-scene.is-shattering .transport-photo {visibility:hidden;}
.transport-photographs::after {display:none;}
.transport-viewport::after {content:'';position:absolute;inset:0;z-index:2;background:linear-gradient(180deg,rgba(8,30,39,.06) 45%,rgba(8,30,39,.88) 100%);pointer-events:none;}
.transport-photo {transition:none;will-change:auto;}

/* Original Savage patent: full drawing, with a readable document caption. */
.history-page .patent-feature {grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(28px,5vw,72px);align-items:center;padding:40px;background:#edf1f3;border:1px solid #d3dde3;}
.patent-document {margin:0;min-width:0;}
.patent-document a {display:block;}
.patent-document img {display:block;width:100%;height:auto;max-height:720px;object-fit:contain;background:white;box-shadow:0 12px 32px #142e3b12;}
.history-page .patent-description h3 {font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.15;margin:0 0 20px;}
.patent-description p {font-size:1rem;line-height:1.75;color:#405762;margin:20px 0;}
.patent-description .patent-number {font-family:var(--mono);font-size:.9375rem;color:#a5431a;}
.patent-description dl {margin:26px 0;border-top:1px solid #c9d6dd;}
.patent-description dl>div {padding:14px 0;border-bottom:1px solid #c9d6dd;}
.patent-description dt {font-size:.875rem;color:#536873;}
.patent-description dd {margin:4px 0 0;font-size:1rem;font-weight:600;color:#142e3b;}
.patent-description .text-link {display:inline-block;font-size:1rem;}
@media(max-width:700px){.history-page .patent-feature {grid-template-columns:1fr;padding:22px;gap:28px;}.patent-document img {max-height:none;}}

/* Rotating contour studies within the existing timeline card. */
.device-study-stage {position:relative;height:380px;background:radial-gradient(ellipse at center,#21455360,transparent 70%);}
.device-study-stage canvas {width:100%;height:100%;display:block;opacity:0;}
.device-study.is-ready canvas {opacity:1;}
.device-study-fallback {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:22px;}
.device-study.is-ready .device-study-fallback {display:none;}
.device-study-controls {display:none;gap:10px;padding:0 28px 24px;}
.device-study.is-ready .device-study-controls {display:flex;}
.device-study-controls button {border:1px solid #587785;color:#dceaf0;background:transparent;border-radius:4px;padding:10px 13px;font:500 .8125rem var(--sans);cursor:pointer;min-height:40px;}
.device-study-controls button[aria-pressed="true"] {color:#ffb182;border-color:#dd8957;background:#f1975a0d;}
.device-study-controls [data-device-pause] {margin-left:auto;}
@media(min-width:801px) and (max-height:800px){.device-study-stage {height:290px;}.history-era-card .history-instrument-heading {padding:24px 28px 10px;}.history-era-card .history-instrument-heading strong {font-size:4rem;}}
@media(max-width:540px){.device-study-stage {height:320px;}}

/* Give the history title its own row so it reads on one line on desktop. */
@media (min-width:801px) {
 .history-page .history-hero .hero-inner {grid-template-columns:1fr;}
 .history-page .history-hero h1 {max-width:none;white-space:nowrap;font-size:clamp(2rem,4.8vw,4.6rem);}
 .history-page .history-hero .lede {max-width:70ch;margin-top:18px;}
}
