/* Selectron — tokens, taken from the company's logo (blue orbit, graphite letters)
   abyss / deep / hull : the logo's blue, taken down to night; the page is a dark test bench
   steel / mist        : machined stainless and its shadow
   signal              : the logo's light blue, the 4–20 mA side: only for "live" things
   amber               : the pressure side, where the medium comes in (used in the 3D only, and sparingly)
   signal-ink / ceramic / ink : for the few light plates (old catalogue photographs, form options)   */

@font-face { font-family: "SX Display"; src: url("../fonts/SofiaSansExtraCondensed.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "SX Label";   src: url("../fonts/SofiaSansCondensed.woff2") format("woff2");      font-weight: 400 800; font-display: swap; }
@font-face { font-family: "SX Text";    src: url("../fonts/Commissioner.woff2") format("woff2");            font-weight: 400 800; font-display: swap; }

:root {
  --abyss: #040b12;
  --deep: #0a1c2c;
  --hull: #14344e;
  --steel: #e4e9ed;
  --mist: #9ab3c4;
  --signal: #45bdea;
  --signal-ink: #14739b;
  --ceramic: #f5f7f9;
  --ink: #1f2428;
  --amber: #ffa64d;
  --rule: rgba(228, 233, 237, 0.16);
  --rule-ink: rgba(31, 36, 40, 0.18);

  --f-display: "SX Display", "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --f-label: "SX Label", "Sofia Sans Condensed", "Arial Narrow", sans-serif;
  --f-text: "SX Text", "Commissioner", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--steel);
  font: 400 1.0625rem/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  /* bench light: one soft pool behind the instrument */
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 70% 40%, #0d3350 0%, #081d2e 38%, var(--abyss) 74%);
}
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
.nowrap { white-space: nowrap; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; opacity: 0; transition: opacity 0.9s ease; }
.is-ready #stage { opacity: 1; }
.is-inner #stage { transition-duration: 0.3s; }   /* coming from another page of the site: no second, slow entrance */
main, .site-footer { position: relative; z-index: 1; }
/* the current behind every page other than the home page (drawn by js/ambient.js) */
#ambient { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; opacity: 0; transition: opacity 1.4s ease; }
#ambient.is-on { opacity: 1; }

/* going from page to page: the old page blurs out and the new one comes into focus; the header stays put */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: sx-leave 0.16s ease both; }
::view-transition-new(root) { animation: sx-arrive 0.28s ease both; }
/* opacity only: blurring a whole page while it changes made phones stutter */
@keyframes sx-leave { to { opacity: 0; } }
@keyframes sx-arrive { from { opacity: 0; } }
.site-header { view-transition-name: site-header; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }


/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  height: var(--header);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  color: var(--steel);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s;
}
.site-header.is-scrolled {
  background: rgba(4, 11, 18, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--rule);
}
.logo { display: block; flex: none; }
.logo img { display: block; height: 50px; width: auto; }
.site-nav { display: flex; gap: clamp(14px, 1.9vw, 30px); }
.site-nav a {
  white-space: nowrap;
  font: 600 1.0625rem/1 var(--f-label);
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { border-bottom-color: currentColor; }

/* ---------- hero ---------- */

.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: end;
  padding: calc(var(--header) + 24px) var(--gutter) clamp(120px, 17vh, 170px);
}
.hero__copy { max-width: min(46rem, 54vw); }
.hero h1 {
  font: 800 clamp(3.2rem, 8.1vw, 8.2rem)/0.86 var(--f-display);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.hero__lede {
  margin-top: clamp(20px, 3vh, 34px);
  max-width: 33rem;
  font-size: clamp(1.0625rem, 1.25vw, 1.25rem);
  color: var(--mist);
}
.hero__actions { margin-top: clamp(24px, 4vh, 40px); display: flex; flex-wrap: wrap; gap: 12px; }
.hero__hint { display: none; margin-top: 22px; font: 500 0.9375rem/1.2 var(--f-label); letter-spacing: 0.01em; color: var(--mist); }
.hero__hint::before {
  content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 10px; vertical-align: -2px;
  border: 1px solid var(--signal); border-radius: 50%; box-shadow: 0 0 10px rgba(69, 189, 234, 0.7);
}
@media (pointer: fine) and (min-width: 900px) { .hero__hint { display: block; } }
.no-webgl .hero__hint, .no-webgl .dims { display: none; }

/* the headline arrives like a charge: each letter a blur of blue light that settles into steel;
   what follows it fades up once it has landed (letters are split by js/chrome.js) */
@media (prefers-reduced-motion: no-preference) {
  /* hidden before the first paint, so the headline is never seen finished and then written again; if the script
     never runs, it simply appears */
  .js:not(.has-split) [data-split] { opacity: 0; animation: sx-show 0.01s 1.5s forwards; }
}
@keyframes sx-show { to { opacity: 1; } }
.has-split [data-split] .wd { display: inline-block; white-space: nowrap; }
.has-split [data-split] .ch {
  display: inline-block; opacity: 0; color: var(--signal);
  filter: blur(14px); transform: translate3d(0.5em, 0, 0) scale(1.08);
  text-shadow: 0 0 28px rgba(69, 189, 234, 0.95);
  transition: opacity 0.5s, filter 0.8s, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), color 1.1s 0.35s, text-shadow 1.3s 0.35s;
  transition-delay: calc(var(--i) * 20ms + 150ms), calc(var(--i) * 20ms + 150ms), calc(var(--i) * 20ms + 150ms), calc(var(--i) * 20ms + 550ms), calc(var(--i) * 20ms + 550ms);
}
.is-lit [data-split] .ch { opacity: 1; color: inherit; filter: none; transform: none; text-shadow: 0 0 0 rgba(69, 189, 234, 0); }
.has-split .hero__lede, .has-split .hero__actions, .has-split .hero__hint,
.has-split .p-hero__kind, .has-split .p-hero__lede { opacity: 0; transform: translateY(14px); transition: opacity 0.8s 1.3s, transform 0.8s 1.3s; }
.has-split .hero__hint { transition-delay: 3s; }
.is-lit .hero__lede, .is-lit .hero__actions, .is-lit .hero__hint,
.is-lit .p-hero__kind, .is-lit .p-hero__lede { opacity: 1; transform: none; }
/* coming from another page of the site: the short form. The letters are written once, in under 0.8 s, while the page
   transition ends; a lighter blur, so the 3D behind keeps its frames; the rest of the text does not wait. */
.is-inner.has-split [data-split] .ch {
  filter: blur(6px); transform: translate3d(0.35em, 0, 0); text-shadow: 0 0 18px rgba(69, 189, 234, 0.9);
  transition: opacity 0.26s, filter 0.36s, transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s, text-shadow 0.34s;
  transition-delay: calc(var(--i) * var(--step, 14ms)), calc(var(--i) * var(--step, 14ms)), calc(var(--i) * var(--step, 14ms)), calc(var(--i) * var(--step, 14ms) + 140ms), calc(var(--i) * var(--step, 14ms) + 140ms);
}
.is-inner.is-lit [data-split] .ch { filter: none; transform: none; text-shadow: 0 0 0 rgba(69, 189, 234, 0); }
.is-inner.has-split .hero__lede, .is-inner.has-split .hero__actions, .is-inner.has-split .hero__hint,
.is-inner.has-split .p-hero__kind, .is-inner.has-split .p-hero__lede { opacity: 1; transform: none; transition: none; }

/* dimension lines on the instrument, as on its drawing (placed by js/main.js) */
.dims { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; }
.dims svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dims path { fill: none; stroke: var(--signal); stroke-width: 1; opacity: 0.8; }
.dim { position: absolute; left: 0; top: 0; display: grid; gap: 4px; white-space: nowrap; will-change: transform; transition: opacity 0.4s; }
.dim b { font: 700 1.5rem/1 var(--f-label); letter-spacing: 0.01em; font-variant-numeric: tabular-nums; color: var(--steel); }
.dim > span { font: 500 0.875rem/1 var(--f-label); letter-spacing: 0.02em; color: var(--mist); }
.dim--len { text-align: right; }
.dim--len b { font-size: 2.125rem; color: var(--signal); }
.dim--len.is-under { text-align: center; }
.dim--len.is-under > span { display: none; }
.dim--len.is-under b { font-size: 1.5rem; }
.dims.is-tall .dim--r { display: none; }
.dims.is-tall .dim--len b { font-size: 1.375rem; }
@media (max-width: 1180px) { .dim--r > span { display: none; } .dim b { font-size: 1.25rem; } }

.button {
  display: inline-block;
  font: 700 1.125rem/1 var(--f-label);
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 15px 22px 14px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--steel);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.button:hover { border-color: var(--steel); }
.button--solid { background: var(--signal); border-color: var(--signal); color: #04131d; box-shadow: 0 0 0 rgba(69, 189, 234, 0); transition: box-shadow 0.3s, background-color 0.2s, border-color 0.2s; }
.button--solid:hover { box-shadow: 0 0 34px rgba(69, 189, 234, 0.45); }
.button--solid:hover { background: #86d6f5; border-color: #86d6f5; }

/* the current runs behind everything on the home page: a soft shade keeps the words readable over it.
   Each shade fades to nothing before the top and bottom of its section, so no edge shows where two sections meet. */
.page-home .hero::before, .page-home .inside::before, .where__pin::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 62% at 0% 48%, rgba(4, 11, 18, 0.8) 0%, rgba(4, 11, 18, 0.45) 48%, rgba(4, 11, 18, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 72%, transparent 100%);
}
.page-home .inside::before {
  background: radial-gradient(60% 46% at 0% 24%, rgba(4, 11, 18, 0.8) 0%, rgba(4, 11, 18, 0.45) 48%, rgba(4, 11, 18, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 60%, transparent 82%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 60%, transparent 82%);
}
.page-home .hero { position: relative; }
.no-webgl.page-home .hero::before, .no-webgl .inside::before { display: none; }

/* ---------- inside (pinned) ---------- */

.inside {
  position: relative;
  height: 100vh; height: 100svh;
  padding: calc(var(--header) + clamp(12px, 4vh, 48px)) var(--gutter) 0;
  overflow: hidden;
}
.inside__head { max-width: 38rem; opacity: var(--head, 1); }
.inside__head > * { transition: opacity 0.3s; }
.inside h2, .where h2 {
  font: 800 clamp(2.5rem, 5.4vw, 5rem)/0.9 var(--f-display);
  text-wrap: balance;
}
.inside__intro { margin-top: 16px; max-width: 30rem; color: var(--mist); transition: opacity 0.3s; }
.inside.is-open .inside__intro { opacity: 0; }

.parts { position: absolute; left: var(--gutter); top: var(--parts-top, calc(var(--header) + clamp(12px, 4vh, 48px) + clamp(5.4rem, 11.4vw, 10.2rem))); max-width: 27rem; }
.parts li { display: none; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; }
.parts li.is-active { display: grid; }
.parts__n {
  grid-row: span 2;
  min-width: 0.62em;
  font: 800 clamp(3.4rem, 5vw, 4.6rem)/0.8 var(--f-display);
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}
.parts h3, .stops h3 { font: 700 1.625rem/1.05 var(--f-label); letter-spacing: 0.01em; }
.parts p, .stops p { margin-top: 8px; color: var(--mist); font-size: 1rem; }

.ticks {
  position: absolute; left: var(--gutter); bottom: clamp(40px, 7vh, 72px);
  display: flex; gap: 5px;
  opacity: 0; transition: opacity 0.3s;
}
.inside.is-walking .ticks { opacity: 1; }
.ticks i { width: 22px; height: 3px; background: var(--rule); }
.ticks i.is-on { background: var(--signal); }

.labels { position: absolute; inset: 0; pointer-events: none; }
.label {
  position: absolute; left: 0; top: 0;
  font: 600 0.875rem/1 var(--f-label);
  letter-spacing: 0.02em;
  color: var(--mist);
  white-space: nowrap;
  will-change: transform, opacity;
}
.label::before {
  content: "";
  position: absolute; left: 50%; bottom: calc(100% + 5px);
  width: 1px; height: var(--lead, 14px);
  background: currentColor; opacity: 0.55;
}
.label.is-active { color: var(--signal); }
.labels.is-tall .label::before {
  left: auto; right: calc(100% + 6px); bottom: auto; top: 50%;
  width: 12px; height: 1px;
}

/* tall screens (phones, portrait tablets): the view travels along the instrument,
   so the heading steps aside and the part text sits at the bottom */
.inside.is-tall.is-open .inside__head > * { opacity: 0; }
.inside.is-tall .parts { top: auto; left: 0; right: 0; bottom: 0; max-width: none; padding: 44px var(--gutter) 46px; min-height: 196px; z-index: 2; }
.inside.is-tall .parts li { max-width: 34rem; }
.inside.is-tall.is-walking .parts { background: linear-gradient(to top, var(--abyss) 70%, rgba(6, 17, 27, 0)); }
.inside.is-tall .ticks { bottom: 22px; z-index: 3; }

/* without WebGL the ten parts are simply a list */
.no-webgl #stage, .no-webgl .ticks, .no-webgl .labels { display: none; }
.no-webgl .inside { height: auto; padding-bottom: 80px; }
.no-webgl .inside__intro { display: none; }
.no-webgl .parts { position: static; max-width: none; margin-top: 40px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.no-webgl .parts li { display: grid; }

/* ---------- datasheet band ---------- */

.sheet {
  background: linear-gradient(180deg, #071623 0%, var(--abyss) 100%);
  color: var(--steel);
  border-top: 1px solid var(--rule);
  padding: clamp(72px, 12vh, 140px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.sheet h2 { font: 800 clamp(2.5rem, 5vw, 4.5rem)/0.9 var(--f-display); text-wrap: balance; }
.sheet__intro p { margin-top: 20px; max-width: 30rem; }
.photos .textlink { text-decoration-color: var(--signal-ink); }
.sheet__intro p { color: var(--mist); }
.sheet__intro h3 { margin-top: 26px; font: 700 1.375rem/1.1 var(--f-label); }
.sheet__intro h3 + p { margin-top: 8px; }
.sheet__intro .sheet__note { font-size: 0.875rem; color: var(--mist); border-left: 2px solid var(--signal); padding-left: 12px; }
.spec { border-top: 1px solid var(--steel); }
.spec > div {
  display: grid; grid-template-columns: minmax(8.5rem, 2fr) 5fr; gap: 16px;
  padding: 15px 0 14px;
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.25s;
}
.spec > div:hover { background: rgba(69, 189, 234, 0.06); }
.spec dt { font: 600 1.0625rem/1.3 var(--f-label); letter-spacing: 0.02em; color: var(--mist); }
.spec dd { font: 600 1.375rem/1.2 var(--f-label); font-variant-numeric: tabular-nums; }

/* ---------- instruments ---------- */

.range { background: var(--abyss); padding: clamp(72px, 12vh, 140px) var(--gutter); }
.range h2, .contact h2 { font: 800 clamp(2.5rem, 5.4vw, 5rem)/0.9 var(--f-display); text-wrap: balance; }
/* ---------- home: where the instruments go (a ship and a shore plant behind the words; js/home.js) ---------- */
.where { position: relative; height: calc((var(--stops, 5) + 1) * 100vh); }
.where__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding: calc(var(--header) + clamp(12px, 4vh, 48px)) var(--gutter) 0; }
.where__pin::before { background: radial-gradient(60% 56% at 0% 30%, rgba(4, 11, 18, 0.82) 0%, rgba(4, 11, 18, 0.45) 50%, rgba(4, 11, 18, 0) 100%); -webkit-mask-image: none; mask-image: none; }
.where h2 { max-width: 38rem; position: relative; z-index: 1; }
.stops { margin-top: clamp(18px, 3.4vh, 36px); max-width: 28rem; position: relative; z-index: 1; }
.stops li { display: none; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; }
.stops li.is-active { display: grid; animation: stop-in 0.45s ease both; }
@keyframes stop-in { from { opacity: 0; transform: translateY(10px); } }
.stops .stops__fam { font: 600 1rem/1.3 var(--f-label); color: var(--steel); margin-top: 14px; }
.stops__fam a { color: var(--signal); text-decoration: none; border-bottom: 1px solid rgba(69, 189, 234, 0.45); }
.stops__fam a:hover { border-bottom-color: var(--signal); }
.where__ticks { position: absolute; left: var(--gutter); bottom: clamp(22px, 5vh, 44px); display: flex; gap: 6px; z-index: 2; }
.where__ticks i { width: 22px; height: 3px; background: var(--rule); transition: background-color 0.3s; }
.where__ticks i.is-on { background: var(--signal); }
.readouts { position: absolute; inset: 0; pointer-events: none; }
.readout { position: absolute; left: 0; top: 0; padding: 1px 0 2px 11px; border-left: 1px solid var(--signal); font: 600 0.8125rem/1.2 var(--f-label); color: var(--mist); white-space: nowrap; opacity: 0; transition: opacity 0.35s; will-change: transform; }
.readout b { display: block; font: 700 1.375rem/1.05 var(--f-label); color: var(--steel); font-variant-numeric: tabular-nums; }
.readout.is-on { opacity: 1; }
.readout, .readout b { text-shadow: 0 1px 2px rgba(4, 11, 18, 0.95), 0 0 10px rgba(4, 11, 18, 0.85); }
.readout.is-alarm b { color: #fff; text-shadow: 0 0 16px var(--signal); }
.where.is-tall .stops { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; margin: 0; padding: 40px var(--gutter) 52px; min-height: 230px; background: linear-gradient(to top, var(--abyss) 72%, rgba(6, 17, 27, 0)); z-index: 2; }
.where.is-tall .stops li { max-width: 34rem; }
.where.is-tall .where__pin::before { background: linear-gradient(to bottom, rgba(4, 11, 18, 0.9) 0, rgba(4, 11, 18, 0.72) 130px, rgba(4, 11, 18, 0) 230px); }
.where.is-tall .where__ticks { bottom: 22px; z-index: 3; }
.where.is-tall .readout { font-size: 0.75rem; } .where.is-tall .readout b { font-size: 1.125rem; }
.page-where .hero__copy { position: relative; z-index: 1; }
.no-webgl .where { height: auto; }
.no-webgl .where__pin { position: static; height: auto; overflow: visible; padding-bottom: 80px; }
.no-webgl .where__pin::before, .no-webgl .where__ticks, .no-webgl .readouts { display: none; }
.no-webgl .stops { max-width: none; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 40px; }
.no-webgl .stops li { display: grid; animation: none; }

/* the models of a family: photographs, what sets each one apart, its datasheet */
.models { background: linear-gradient(180deg, var(--abyss) 0%, #071623 100%); border-top: 1px solid var(--rule); padding: clamp(56px, 9vh, 110px) var(--gutter); }
.models h2 { font: 800 clamp(1.9rem, 3vw, 2.75rem)/0.95 var(--f-display); }
.models__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 36px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.models__list li { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 10px; padding: clamp(20px, 2.2vw, 30px); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--header) + 16px); }
.models__list li:target { background: rgba(69, 189, 234, 0.07); }
.models__shots { display: flex; align-items: center; justify-content: center; gap: 14px; height: 210px; margin-bottom: 8px; background: radial-gradient(closest-side, rgba(69, 189, 234, 0.15), rgba(69, 189, 234, 0) 74%); }
.models__shots img { width: auto; height: auto; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.6)); }
.models__shots img:not(:only-child) { max-width: 46%; }
.models h3 { font: 800 clamp(1.6rem, 2.1vw, 2.1rem)/1 var(--f-display); }
.models li > p { color: var(--mist); font-size: 0.9375rem; }
.models .models__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.models__links .textlink { font-size: 1rem; }
.models .models__draw { display: flex; flex-wrap: wrap; gap: 8px; }
.drawlink { font: 600 0.8125rem/1 var(--f-label); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; color: var(--steel); padding: 7px 10px 6px; border: 1px solid var(--rule); border-radius: 2px; transition: border-color 0.2s, color 0.2s; }
.drawlink:hover, .drawlink:focus-visible { border-color: var(--signal); color: #fff; }
dialog.drawing { margin: auto; width: min(880px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--rule); border-radius: 3px; background: #071623; color: var(--steel); overflow: hidden; }
dialog.drawing[open] { display: flex; flex-direction: column; }
dialog.drawing::backdrop { background: rgba(2, 7, 12, 0.82); }
.drawing__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.drawing__bar h2 { font: 800 1.375rem/1.1 var(--f-display); }
.drawing__close { font: 700 0.875rem/1 var(--f-label); color: var(--steel); background: none; border: 1px solid var(--rule); border-radius: 2px; padding: 8px 12px; cursor: pointer; }
.drawing__close:hover, .drawing__close:focus-visible { border-color: var(--signal); color: #fff; }
.drawing__paper { background: #fff; overflow: auto; padding: 16px; display: flex; justify-content: center; min-height: 0; }
.drawing__paper img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); object-fit: contain; }

/* the families in one compact row (home, and under each family page) */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; margin-top: clamp(28px, 5vh, 52px); }
.strip a { display: grid; justify-items: center; align-content: start; gap: 6px; height: 100%; padding: 16px 8px 18px; text-align: center; text-decoration: none; color: inherit; border: 1px solid transparent; transition: border-color 0.25s, background-color 0.25s; }
.strip a:hover, .strip a:focus-visible { border-color: var(--rule); background: rgba(69, 189, 234, 0.06); }
.strip__shot { display: flex; align-items: center; justify-content: center; width: 100%; height: 112px; margin-bottom: 6px; }
.strip__shot img, .strip__shot .schematic { width: auto; height: auto; min-height: 0; max-width: 86%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.6)); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.strip__shot .schematic { height: 100%; filter: none; }
.strip a:hover img { transform: translateY(-5px) scale(1.05); }
.strip b { font: 800 1.4375rem/1 var(--f-display); }
.strip a > span:last-child { font: 500 0.8125rem/1.25 var(--f-label); color: var(--mist); }
.range__more { margin-top: 28px; }
.range--page { padding-top: 0; }
@media (max-width: 620px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip__shot { height: 88px; } }

/* applications and datasheets pages */
.apps, .docs { background: var(--abyss); padding: 0 var(--gutter) clamp(72px, 12vh, 140px); }
.apps__list { border-top: 1px solid var(--rule); margin-bottom: 36px; }
.apps__list > li { display: grid; grid-template-columns: auto minmax(0, 5fr) minmax(0, 4fr); gap: 10px clamp(18px, 3vw, 48px); align-items: start; padding: 30px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--header) + 16px); }
.apps h2 { font: 800 clamp(1.7rem, 2.6vw, 2.5rem)/1 var(--f-display); }
.apps__list p { margin-top: 10px; color: var(--mist); max-width: 34rem; }
.apps__fam { display: grid; gap: 3px; }
.apps__fam a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 14px 10px; text-decoration: none; border-left: 2px solid var(--signal); background: rgba(69, 189, 234, 0.05); transition: background-color 0.2s; }
.apps__fam a:hover { background: rgba(69, 189, 234, 0.13); }
.apps__fam b { font: 700 1.25rem/1 var(--f-label); }
.apps__fam span { font: 500 0.875rem/1.2 var(--f-label); color: var(--mist); text-align: right; }
@media (max-width: 760px) { .apps__list > li { grid-template-columns: auto 1fr; } .apps__fam { grid-column: 1 / -1; } }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); column-gap: clamp(20px, 3vw, 44px); }
.docs__group { padding: 26px 0 30px; border-top: 1px solid var(--rule); }
.docs h2 { font: 800 1.9rem/1 var(--f-display); }
.docs h2 a { text-decoration: none; }
.docs__group > p { margin: 6px 0 14px; color: var(--mist); font-size: 0.9375rem; }
.docs .plain li { padding: 5px 0; }
.docs .textlink { font-size: 1.0625rem; }

/* the line-up: every instrument with its photograph, in a ruled grid */
.lineup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 6vh, 64px); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.lineup--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lineup li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.lineup a { display: grid; grid-template-rows: auto auto auto 1fr; gap: 8px; height: 100%; padding: clamp(20px, 2.4vw, 34px); color: inherit; text-decoration: none; transition: background-color 0.3s; }
.lineup a:hover, .lineup a:focus-visible { background: rgba(69, 189, 234, 0.06); }
.lineup__shot { display: flex; align-items: center; justify-content: center; height: clamp(190px, 21vw, 280px); margin-bottom: 14px; background: radial-gradient(closest-side, rgba(69, 189, 234, 0.17), rgba(69, 189, 234, 0) 74%); }
.lineup--4 .lineup__shot { height: clamp(150px, 15vw, 210px); }
.lineup__shot img { width: auto; height: auto; min-height: 0; max-width: 78%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.6)); transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s; }
.lineup a:hover img, .lineup a:focus-visible img { transform: translateY(-8px) scale(1.05); filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 26px rgba(69, 189, 234, 0.28)); }
.lineup__shot--sketch .schematic { width: auto; height: 100%; max-width: 78%; }
.lineup h3 { justify-self: start; font: 800 clamp(1.9rem, 2.7vw, 2.75rem)/0.95 var(--f-display); background: linear-gradient(var(--signal), var(--signal)) 0 100% / 0 3px no-repeat; transition: background-size 0.25s; padding-bottom: 3px; }
.lineup a:hover h3, .lineup a:focus-visible h3 { background-size: 100% 3px; }
.lineup__kind { font: 600 1.125rem/1.25 var(--f-label); color: var(--signal); }
.lineup__facts { color: var(--mist); font-size: 0.9375rem; }
.lineup--4 .lineup__facts { font-size: 0.875rem; }
@media (max-width: 1080px) { .lineup, .lineup--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lineup .lineup__shot { height: clamp(160px, 30vw, 240px); } }
@media (max-width: 620px) {
  .lineup, .lineup--4 { grid-template-columns: 1fr; border-left: 0; }
  .lineup li { border-right: 0; }
  .lineup a { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; gap: 4px 16px; padding: 18px 0; }
  .lineup .lineup__shot { grid-row: 1 / -1; height: 124px; margin: 0; align-self: center; }
  .lineup__shot img, .lineup__shot--sketch .schematic { max-width: 100%; }
}

/* ---------- contact ---------- */

.contact { background: var(--deep); padding: clamp(72px, 12vh, 140px) var(--gutter) clamp(120px, 16vh, 180px); }
.contact h2 { max-width: 16ch; }
.contact__lede { margin-top: 18px; color: var(--mist); font-size: 1.1875rem; }
.contact__ways { margin-top: clamp(32px, 6vh, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 48px); border-top: 1px solid var(--rule); padding-top: 22px; }
.contact__ways dt { font: 600 1rem/1.3 var(--f-label); color: var(--mist); }
.contact__ways dd { margin-top: 4px; font: 700 clamp(1.25rem, 1.7vw, 1.625rem)/1.2 var(--f-label); }
.contact__ways dd .textlink { font-size: 1rem; }
.contact__ways a { text-decoration-color: var(--signal); text-underline-offset: 5px; text-decoration-thickness: 2px; }

.site-footer {
  background: var(--deep);
  border-top: 1px solid var(--rule);
  padding: 22px var(--gutter) 40px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  font-size: 0.875rem; color: var(--mist);
}

/* ---------- loop readout (in the header) ---------- */

.loop { display: flex; align-items: center; gap: 12px; margin: 0 auto 0 clamp(20px, 4vw, 64px); pointer-events: none; }
.loop__read { font: 700 1.25rem/1 var(--f-label); font-variant-numeric: tabular-nums; color: var(--signal); min-width: 4.5em; text-shadow: 0 0 18px rgba(69, 189, 234, 0.55); }
.loop__bar { width: 120px; height: 2px; background: var(--rule); }
.loop__bar i { display: block; height: 100%; width: 100%; background: var(--signal); box-shadow: 0 0 10px var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
.loop__cap { font: 500 0.875rem/1 var(--f-label); letter-spacing: 0.01em; color: var(--mist); }
@media (max-width: 1640px) { .loop__cap { display: none; } }
@media (max-width: 1440px) and (min-width: 1241px) { .loop__bar { display: none; } }

/* ---------- small shared pieces ---------- */

.skip { position: absolute; left: 12px; top: -80px; z-index: 20; background: var(--signal); color: #04131d; padding: 10px 14px; font: 700 1rem/1 var(--f-label); text-decoration: none; }
.skip:focus { top: 12px; }
.site-nav { align-items: center; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--signal); }
.site-nav a[aria-current] { border-bottom-color: var(--signal); }
.site-nav .lang { padding: 6px 9px 5px; border: 1px solid var(--rule); border-radius: 2px; font-weight: 700; }

/* ---------- the menu: a list of families under "Instruments", a quote button, and one panel on small screens ---------- */
.nav-group { position: relative; }
.nav-group > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: 0.7; }
.nav-sub { position: absolute; left: -18px; top: 100%; width: max-content; padding: 8px 0; background: rgba(4, 11, 18, 0.95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--rule); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.site-nav .nav-sub a { display: flex; justify-content: space-between; align-items: baseline; gap: 26px; padding: 10px 18px; border: 0; font-weight: 700; }
.nav-sub a span { font: 500 0.875rem/1.2 var(--f-label); letter-spacing: 0; color: var(--mist); }
.site-nav .nav-sub a:hover, .site-nav .nav-sub a[aria-current] { background: rgba(69, 189, 234, 0.1); }
.site-nav .nav-quote { padding: 11px 14px 10px; background: var(--signal); color: #04131d; border: 0; font-weight: 700; transition: background-color 0.2s, box-shadow 0.3s; }
.site-nav .nav-quote:hover { background: #86d6f5; box-shadow: 0 0 28px rgba(69, 189, 234, 0.4); }
.nav-toggle { display: none; }
@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; background: none; border: 1px solid var(--rule); border-radius: 2px; color: var(--steel); font: 700 1rem/1 var(--f-label); letter-spacing: 0.02em; cursor: pointer; }
  .nav-toggle i { display: block; width: 18px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; transition: height 0.2s; }
  .nav-open .nav-toggle i { height: 0; border-bottom: 0; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--header)); height: calc(100dvh - var(--header)); display: block; overflow-y: auto; padding: 10px var(--gutter) 48px; background: rgba(4, 11, 18, 0.98); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.22s, transform 0.22s, visibility 0.22s; }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { background: rgba(4, 11, 18, 0.98); border-bottom-color: var(--rule); }
  html.nav-open { overflow: hidden; }
  .site-nav > a, .nav-group > a { display: block; padding: 16px 0 14px; font: 800 2rem/1 var(--f-display); letter-spacing: 0; border-bottom: 1px solid var(--rule); }
  .nav-group > a::after { display: none; }
  .nav-sub { position: static; width: auto; opacity: 1; visibility: visible; transform: none; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; border-bottom: 1px solid var(--rule); padding: 6px 0 10px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .site-nav .nav-sub a { display: block; padding: 9px 0; font-size: 1.125rem; white-space: normal; }
  .nav-sub a span { display: block; margin-top: 3px; font-size: 0.8125rem; }
  .site-nav .nav-quote { margin-top: 24px; padding: 17px 16px 15px; text-align: center; font: 700 1.25rem/1 var(--f-label); border-bottom: 0; }
  .site-nav .lang { display: inline-block; margin-top: 20px; padding: 9px 13px 8px; font: 700 1rem/1 var(--f-label); border: 1px solid var(--rule); }
}
@media (max-width: 430px) { .nav-toggle span { display: none; } .nav-toggle { padding: 0 10px; } }
.site-nav .lang:hover { border-color: currentColor; }
.textlink { font: 700 1.125rem/1.2 var(--f-label); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.textlink:hover { text-decoration-color: currentColor; }
.contact__actions { margin-top: 28px; }

/* ---------- product pages ---------- */

.p-hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 72px);
  align-items: center;
  padding: calc(var(--header) + 32px) var(--gutter) clamp(40px, 7vh, 80px);
}
.p-hero--plain { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--header) + clamp(48px, 12vh, 120px)); padding-bottom: clamp(48px, 9vh, 96px); }
.p-hero h1, .quote h1 {
  font: 800 clamp(3.4rem, 9.2vw, 9rem)/0.84 var(--f-display);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.p-hero__kind { margin-top: 14px; font: 700 clamp(1.375rem, 2.1vw, 1.875rem)/1.1 var(--f-label); color: var(--signal); }
.p-hero__lede { margin-top: clamp(18px, 3vh, 30px); max-width: 33rem; font-size: clamp(1.0625rem, 1.25vw, 1.25rem); color: var(--mist); }
.p-hero__visual { min-width: 0; }

.viewer { margin: 0; position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; height: min(78vh, 780px); min-height: 440px; }
.viewer canvas, .viewer__poster { grid-area: 1 / 1; width: 100%; height: 100%; min-height: 0; }
.viewer__poster { object-fit: contain; padding: 3% 0; transition: opacity 0.5s; }
.viewer canvas { display: block; opacity: 0; transition: opacity 0.5s; cursor: grab; touch-action: pan-y; }
.viewer.is-dragging canvas { cursor: grabbing; }
.viewer.is-live canvas { opacity: 1; }
.viewer.is-live .viewer__poster { opacity: 0; }
.viewer figcaption { display: none; padding-top: 14px; border-top: 1px solid var(--rule); align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px; }
.viewer.is-live figcaption { display: flex; }
.viewer__slide { display: flex; align-items: center; gap: 14px; font: 600 1rem/1 var(--f-label); color: var(--steel); }
.viewer__hint { font-size: 0.875rem; color: var(--mist); }
.viewer input[type="range"] { -webkit-appearance: none; appearance: none; width: clamp(140px, 18vw, 260px); height: 28px; background: transparent; cursor: pointer; }
.viewer input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--mist); }
.viewer input[type="range"]::-moz-range-track { height: 2px; background: var(--mist); }
.viewer input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 26px; margin-top: -12px; background: var(--signal); border-radius: 1px; }
.viewer input[type="range"]::-moz-range-thumb { width: 12px; height: 26px; background: var(--signal); border: 0; border-radius: 1px; }

.drawing { margin: 0; display: grid; justify-items: center; gap: 14px; }
.schematic { width: auto; height: min(68vh, 640px); max-width: 100%; color: var(--steel); }
.schematic .sk-dim { opacity: 0.42; }
.schematic .sk-accent { stroke: var(--signal); }
.schematic .sk-fill { fill: var(--signal); }
.drawing figcaption { font-size: 0.875rem; color: var(--mist); }

.sheet__intro .sheet__note:first-of-type { margin-top: 24px; }

.opened { background: var(--deep); padding: clamp(56px, 9vh, 110px) var(--gutter); border-bottom: 1px solid var(--rule); }
.film { position: relative; max-width: 1500px; margin: 0 auto; }
.film video {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover;
  /* the edges melt into the band, so the film has no frame */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect;
}
.film__toggle {
  position: absolute; right: 0; bottom: 0;
  font: 600 0.9375rem/1 var(--f-label); color: var(--mist);
  background: rgba(10, 28, 44, 0.8); border: 1px solid var(--rule); border-radius: 2px; padding: 8px 11px 7px; cursor: pointer;
}
.film__toggle:hover { color: var(--steel); border-color: var(--mist); }
.opened p { margin-top: clamp(20px, 4vh, 40px); color: var(--mist); display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; }

.more { background: var(--deep); padding: clamp(64px, 10vh, 120px) var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(36px, 5vw, 80px); align-items: start; }
.more h2 { font: 800 clamp(1.9rem, 3vw, 2.75rem)/0.95 var(--f-display); padding-bottom: 14px; border-bottom: 1px solid var(--steel); }
.plain li { padding: 12px 0 11px; border-bottom: 1px solid var(--rule); font: 600 1.1875rem/1.25 var(--f-label); }
.series > div { padding: 12px 0 11px; border-bottom: 1px solid var(--rule); }
.series dt { font: 700 1.1875rem/1.25 var(--f-label); }
.series dd { color: var(--mist); font-size: 1rem; }

/* a page that opens with a photograph instead of a drawing */
.shot { margin: 0; display: grid; justify-items: center; }
.shot img { width: auto; height: auto; max-width: 100%; max-height: min(58vh, 520px); filter: drop-shadow(0 34px 40px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 60px rgba(69, 189, 234, 0.18)); animation: shot-float 7s ease-in-out infinite; }
@keyframes shot-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .shot img { animation: none; } }
.sheets li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.sheets span { font-size: 0.875rem; color: var(--mist); }

/* ---------- quote form ---------- */

.quote { padding: calc(var(--header) + clamp(40px, 9vh, 96px)) var(--gutter) clamp(64px, 10vh, 120px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.quote h1 { font-size: clamp(3.2rem, 7.4vw, 7rem); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px clamp(16px, 2vw, 28px); }
.field { display: grid; gap: 7px; min-width: 0; }
.field--wide, .form__error, .form__actions, .form__note { grid-column: 1 / -1; }
.field span { font: 600 1.0625rem/1.2 var(--f-label); color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0;
  font: 400 1.0625rem/1.4 var(--f-text);
  color: var(--steel);
  background: rgba(20, 52, 78, 0.55);
  border: 1px solid var(--rule); border-radius: 2px;
  padding: 12px 13px;
}
.field textarea { resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(135deg, var(--mist) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: var(--ink); background: var(--ceramic); }
.field input::placeholder, .field textarea::placeholder { color: rgba(154, 179, 196, 0.62); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--mist); }
.field input[aria-invalid="true"] { border-color: var(--signal); }
.form__error { color: var(--signal); font: 600 1.0625rem/1.3 var(--f-label); }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form__note { font-size: 0.875rem; color: var(--mist); }
button.button { cursor: pointer; background: transparent; }
button.button--solid { background: var(--signal); }
.prepared { grid-column: 2; display: grid; gap: 16px; padding-top: 28px; border-top: 1px solid var(--steel); scroll-margin-top: calc(var(--header) + 16px); }
.prepared[hidden] { display: none; }
.prepared:focus { outline: none; }
.prepared h2 { font: 800 clamp(1.9rem, 3vw, 2.75rem)/0.95 var(--f-display); }
.prepared__note { color: var(--mist); }
.form button[disabled] { opacity: 0.6; cursor: progress; }
.prepared pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 1rem/1.5 var(--f-text); color: var(--steel); background: rgba(20, 52, 78, 0.55); border: 1px solid var(--rule); border-radius: 2px; padding: 16px; }

/* photographs kept from the company's 2016 catalogue pages; they sit on white, as they were shot */
.photos { background: #fff; color: var(--ink); padding: clamp(56px, 9vh, 110px) var(--gutter); }
.photos h2 { font: 800 clamp(1.9rem, 3vw, 2.75rem)/0.95 var(--f-display); }
.photos__banner { display: block; width: 100%; max-width: 1240px; height: auto; margin-top: 26px; }
.photos__list { display: flex; flex-wrap: wrap; gap: 18px 30px; margin-top: 26px; }
.photos__list li { display: grid; gap: 6px; align-content: start; font: 600 1rem/1.2 var(--f-label); color: rgba(31, 36, 40, 0.78); }
.photos__list img { display: block; max-width: 100%; height: auto; }
/* the models, photographed: Selectron's studio pictures with the white ground cut away, standing on the dark page */
.photos.photos--cut { background: linear-gradient(180deg, var(--abyss) 0%, #071623 100%); color: var(--steel); border-top: 1px solid var(--rule); }
.photos.photos--cut .photos__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 44px 30px; margin-top: 40px; align-items: end; }
.photos.photos--cut .photos__list li { justify-items: center; text-align: center; gap: 16px; font: 700 1.25rem/1.1 var(--f-label); color: var(--steel); }
.photos.photos--cut .photos__list img { width: auto; height: 210px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.6)); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s; }
.photos.photos--cut .photos__list li:hover img { transform: translateY(-8px) scale(1.04); filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 26px rgba(69, 189, 234, 0.25)); }

@media (max-width: 1100px) { .contact__ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* long-form text on the light band (privacy) */
.sheet--text { display: block; }
.spec--text { max-width: 60rem; }
.spec--text dd { font: 400 1.0625rem/1.55 var(--f-text); }
.site-footer__slogan { flex-basis: 100%; font: 700 1.375rem/1.1 var(--f-label); letter-spacing: 0.01em; color: var(--steel); margin-bottom: 6px; }
.site-footer a { text-decoration-color: var(--signal); text-underline-offset: 4px; margin-left: 14px; }

/* the schematics move a little, to show what each instrument does */
@media (prefers-reduced-motion: no-preference) {
  .sk-bob { animation: sk-bob 5.5s ease-in-out infinite; }
  .sk-swell { animation: sk-swell 6s ease-in-out infinite; }
  .sk-flow { animation: sk-flow 2.6s linear infinite; }
  .sk-nudge { animation: sk-nudge 2.4s ease-in-out infinite; }
  .sk-pulse, .sk-ring { transform-box: fill-box; transform-origin: center; }
  .sk-pulse { animation: sk-pulse 2.4s ease-in-out infinite; }
  .sk-ring { animation: sk-ring 3s ease-in-out infinite; }
}
@keyframes sk-bob { 0%, 100% { transform: translateY(9px); } 50% { transform: translateY(-9px); } }
@keyframes sk-swell { 0%, 100% { transform: translateY(3px); } 50% { transform: translateY(-3px); } }
@keyframes sk-flow { 0% { transform: translateX(-9px); opacity: 0; } 25%, 75% { opacity: 1; } 100% { transform: translateX(9px); opacity: 0; } }
@keyframes sk-nudge { 0%, 100% { transform: translateY(5px); } 50% { transform: translateY(-3px); } }
@keyframes sk-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.7); } }
@keyframes sk-ring { 0%, 100% { transform: scale(0.82); opacity: 1; } 50% { transform: scale(1.12); opacity: 0.55; } }

@media (max-width: 900px) {
  .p-hero { grid-template-columns: 1fr; align-items: start; min-height: 0; padding-top: calc(var(--header) + 28px); }
  .viewer { height: min(64vh, 560px); min-height: 380px; }
  .schematic { height: min(52vh, 460px); }
  .quote { grid-template-columns: 1fr; }
  .prepared { grid-column: 1; }
}

/* ---------- narrow screens ---------- */

@media (max-width: 760px) {
  :root { --header: 58px; }
  .logo img { height: 38px; }

  .hero { align-items: start; padding-top: calc(var(--header) + 18px); padding-bottom: 0; }
  .hero__copy { max-width: none; }
  .hero h1 { font-size: clamp(2.7rem, 12.6vw, 4.2rem); }
  .hero__lede { font-size: 1rem; max-width: 26rem; }
  .button { padding: 13px 16px 12px; font-size: 1.0625rem; }

  .inside { padding-top: calc(var(--header) + 8px); }
  .inside h2 { font-size: clamp(2rem, 9.4vw, 3rem); max-width: 11ch; }
  .where h2 { font-size: clamp(2rem, 9.4vw, 3rem); }
  .inside__intro { font-size: 0.9375rem; max-width: 15rem; }
  .parts__n { font-size: 3rem; }
  .parts h3, .stops h3 { font-size: 1.375rem; }
  .parts p, .stops p { font-size: 0.9375rem; margin-top: 4px; }
  .ticks i { width: 16px; }
  .label { font-size: 0.8125rem; }

  .sheet { grid-template-columns: 1fr; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .spec dd { font-size: 1.25rem; }
  .contact__ways { grid-template-columns: 1fr; }

  .form { grid-template-columns: 1fr; }
  .film { margin: 0 calc(-1 * var(--gutter)); }
  .film__toggle { position: static; display: block; margin: 10px var(--gutter) 0 auto; }
  .p-hero h1 { font-size: clamp(2.6rem, 12.5vw, 4.6rem); }
  .quote h1 { font-size: clamp(2.8rem, 13vw, 4rem); }

  .loop { margin: 0 auto; gap: 8px; }
  .loop__read { font-size: 1.0625rem; min-width: 0; }
  .loop__bar { width: 26px; }
  .loop__read { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
