/* ============ 1.5 AEROSPACE & DEFENCE ============ */

/* ============ 0. SISTEMA - token, colori, trattamento foto (regia C 25/09, righe 36-192) ============ */

:root {
  --t-aero-h1: clamp(56px, 42.63px + 3.4286vw, 92px);
  --t-aero-capitolo: clamp(40px, 22.17px + 4.5714vw, 88px);
  --t-aero-enunciato: clamp(24px, 15.09px + 2.2857vw, 48px);
  --t-aero-nadcap: clamp(80px, 50.29px + 7.619vw, 160px);
  --t-aero-fascia: clamp(40px, 25.14px + 3.8095vw, 80px);
  --aero-paper-55: rgba(249, 249, 248, 0.55);
  --aero-blue-62: rgba(0, 79, 124, 0.62);
  --aero-blue-30: rgba(0, 79, 124, 0.30);
  --ease-power2-in: cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

/* riga che afferma in 700, riga che risponde in 300: mai sull'h2/h1 stesso, sempre su uno span figlio */
.aeroc-w700 { font-weight: 700; letter-spacing: -0.04em; }
.aeroc-w300 { font-weight: 300; letter-spacing: -0.03em; }

/* griglia CAD, sfondo di main: continua dalla hero fino a dove una sezione non la copre di suo
   (regia §1.3). Le sezioni #progetto/#processi/#record hanno un background proprio opaco e la
   coprono per forza, come previsto dal mandato: nessuna modifica al loro markup */
main.aeroc {
  background-color: var(--blue-deep);
  background-image:
    linear-gradient(90deg, var(--aero-blue-30) 1px, transparent 1px),
    linear-gradient(var(--aero-blue-30) 1px, transparent 1px),
    linear-gradient(90deg, var(--aero-blue-62) 1px, transparent 1px),
    linear-gradient(var(--aero-blue-62) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 192px 192px, 192px 192px;
  background-position: 0 0;
  background-attachment: scroll;
}

/* foto a colori (Samu 09/10): niente virata in bianco e nero e niente velo blu; la luminosita' ridotta resta per la leggibilita' del titolo */
.aeroc-foto__img { filter: brightness(0.72); }
.aeroc-foto__tint { display: none; }

/* ---------- 1.1 SOGLIA D'INGRESSO, variante scura (regia §1.1) ---------- */
.wipe--aero {
  background: var(--paper);
  transition: transform 0.8s var(--ease-wipe), background-color 0.3s var(--ease-power2-in);
}
.wipe--aero .wipe__brand { color: var(--ink); }
.wipe--aero .wipe__griglia {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, var(--aero-blue-30) 1px, transparent 1px),
    linear-gradient(var(--aero-blue-30) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0;
  pointer-events: none;
}
.wipe--aero.is-done { background-color: var(--blue-deep); }
.wipe--aero.is-done .wipe__brand { color: var(--paper); }
.wipe--aero.is-done .wipe__griglia { opacity: 1; transition: opacity 0.35s linear 0.1s; }
@media (prefers-reduced-motion: reduce) {
  .wipe--aero { background: var(--blue-deep); transition: none; }
  .wipe--aero .wipe__brand { color: var(--paper); }
  .wipe--aero .wipe__griglia { opacity: 1; }
}

/* ---------- 1.2 CORNICE DI STRUMENTO, fissa (regia §1.2) ---------- */
.aeroc-cornice {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  transition: opacity 0.3s linear;
}
.aeroc-cornice__croce { position: fixed; width: 16px; height: 16px; }
.aeroc-cornice__croce::before,
.aeroc-cornice__croce::after { content: ''; position: absolute; background: var(--aero-paper-55); }
.aeroc-cornice__croce::before { left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%); }
.aeroc-cornice__croce::after { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }
.aeroc-cornice__croce--tl { left: 12px; top: 96px; }
.aeroc-cornice__croce--tr { right: 12px; top: 96px; }
.aeroc-cornice__croce--bl { left: 12px; bottom: 16px; }
/* right 8 invece di 12: a 320/390 la striscia miniature arriva fino a ridosso del bordo,
   12px lasciava meno di 1px di distanza dalla miniatura 5 (regia M2) */
.aeroc-cornice__croce--br { right: 8px; bottom: 16px; }
@media (min-width: 1024px) {
  .aeroc-cornice__croce--tl, .aeroc-cornice__croce--tr { top: 100px; }
  .aeroc-cornice__croce--tl, .aeroc-cornice__croce--bl { left: 24px; }
  .aeroc-cornice__croce--tr, .aeroc-cornice__croce--br { right: 24px; }
}

.aeroc-cornice__scala {
  position: fixed;
  /* right 8 = bordo destro della scala a vw-8 come da regia §1.2, non vw-20 (regia M3) */
  right: 8px; top: 96px; bottom: 16px;
  width: 8px;
  background-image: repeating-linear-gradient(to bottom, var(--aero-paper-55) 0 1px, transparent 1px 24px);
  background-position: right top;
  background-size: 4px 100%;
  background-repeat: repeat-y;
}
.aeroc-cornice__scala::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(to bottom, var(--aero-paper-55) 0 1px, transparent 1px 96px);
  background-position: right top;
  background-size: 8px 100%;
  background-repeat: repeat-y;
}
@media (min-width: 1024px) { .aeroc-cornice__scala { right: 24px; top: 100px; } }

.aeroc-cornice__cursore {
  position: fixed;
  /* right 8, come .aeroc-cornice__scala: sotto 1024 il cursore era a 12, la scala a 8,
     4px di sfasamento che copriva il braccio del crocino tr (regia I8) */
  right: 8px;
  top: 96px;
  width: 8px; height: 24px;
  background: var(--blue);
}
@media (min-width: 1024px) { .aeroc-cornice__cursore { right: 24px; top: 100px; } }
@media (prefers-reduced-motion: reduce) { .aeroc-cornice__cursore { display: none; } }

/* ---------- TERRENO: foglio CAD del cliente sulle sezioni a fondo chiaro (passata comune 11/09) ---------- */
.foglio-cad { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.foglio-cad img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0.5; }

/* ---------- HERO RAIL, VARIANTE SCURA ---------- */

/* ---------- IL PROGETTO / I PROCESSI SU INK ---------- */
.aerodef-ink { background: transparent; border-top-color: rgba(249, 249, 248, 0.16); }
.aerodef-ink .beam { background: linear-gradient(90deg, transparent, rgba(249, 249, 248, 0.22), transparent); }
.aerodef-ink h2 { color: var(--paper); }

.aerodef-ink .anod-intro__copy p { color: var(--paper); }
.aerodef-ink .anod-intro__copy p + p { color: var(--muted-invert); }

.aerodef-ink .anod-system__segno { color: var(--muted-invert); }
.aerodef-ink .anod-system__segno b { color: var(--paper); }
.aerodef-ink .anod-system__lede { color: var(--paper); }
.aerodef-ink .anod-system__prose { color: var(--muted-invert); }
.aerodef-ink .anod-system__row { border-top-color: rgba(249, 249, 248, 0.16); }
.aerodef-ink .anod-system__row:last-child { border-bottom-color: rgba(249, 249, 248, 0.16); }
.aerodef-ink .anod-system__row:hover,
.aerodef-ink .anod-system__row.is-attiva { background: rgba(0, 79, 124, 0.18); box-shadow: -16px 0 0 rgba(0, 79, 124, 0.18); }
.aerodef-ink .anod-system__row > span:first-child { color: var(--muted-invert); }
.aerodef-ink .anod-system__nome { color: var(--muted-invert); }
.aerodef-ink .anod-system__row:hover .anod-system__nome,
.aerodef-ink .anod-system__row.is-attiva .anod-system__nome { color: var(--paper); }
.aerodef-ink .anod-system__voce { color: var(--muted-invert); }
.aerodef-ink .anod-system__voce b { color: var(--paper); }
.aerodef-ink .anod-system__voce b + br { display: none; }
.aerodef-ink .anod-system__voce + .anod-system__voce { margin-top: 16px; }
.aerodef-ink .anod-system__lista { margin-top: 40px; }
.aerodef-ink .anod-system__chiusa { color: var(--muted-invert); border-top-color: rgba(249, 249, 248, 0.16); }
.aerodef-ink .anod-system__chiusa { border-top: 0; }

@media (max-width: 1023px) {
  .aerodef-ink .anod-system__foto::before { height: clamp(360px, 55vh, 520px); max-height: none; }
}
@media (min-width: 1024px) {
  .aerodef-ink .anod-system__row { grid-template-columns: 52px 240px 1fr; }
}
@media (max-width: 767px) {
  .aerodef-ink .anod-system__row:hover,
  .aerodef-ink .anod-system__row.is-attiva { background: transparent; box-shadow: none; }
}

.aerodef-muted { color: var(--line-strong); }

/* ---------- IL RECORD DI PROCESSO (sezione firma) ---------- */
.aerodef-record {
  position: relative;
  overflow: clip;
  background: var(--blue-deep);
  color: var(--paper);
  padding: var(--space-section, clamp(6rem, 12vh, 10rem)) 0 clamp(5rem, 10vh, 7rem);
}
.aerodef-record__title {
  border-top: 1px solid rgba(168, 174, 182, 0.4);
  padding-top: 28px;
  margin: 0;
  font-family: var(--sans);
  font-weight: 720;
  font-size: clamp(1.9rem, 4vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.aerodef-record__title .line { display: block; overflow: hidden; }
.aerodef-record__lede {
  margin: 26px 0 0;
  max-width: 68ch;
  font-size: 1.125rem;
  line-height: 1.68;
  color: var(--muted-invert);
}

.aerodef-record__runway {
  position: relative;
  margin-top: clamp(2.8rem, 5.5vh, 3.5rem);
}
.aerodef-record__pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}
html:not(.motion-ready) .aerodef-record__pin,
.aerodef-record--static .aerodef-record__pin {
  position: relative;
  min-height: 0;
}

@media (min-width: 900px) {
  .aerodef-record__pin { padding-top: var(--nav-h); }
}

.aerodef-record__box {
  width: 100%;
  border: 1px solid var(--line-strong);
  background-color: rgba(249, 249, 248, 0.03);
  background-image:
    linear-gradient(rgba(168, 174, 182, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 174, 182, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  display: flex;
  flex-direction: column;
}
.aerodef-record__row {
  border-bottom: 1px solid rgba(135, 142, 150, 0.55);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 24px;
  flex-wrap: wrap;
  transition: background-color 0.4s var(--ease-out);
}
.aerodef-record__row:last-child { border-bottom: 0; }
.aerodef-record__row.is-current { background-color: rgba(226, 83, 3, 0.06); }

.aerodef-record__idx {
  font-family: var(--mono);
  font-size: 0.9375rem;
  width: 30px;
  flex: none;
  color: var(--accent);
  transition: color 0.4s var(--ease-out);
}
.aerodef-record__row.is-pending .aerodef-record__idx { color: var(--line-strong); }

.aerodef-record__label {
  width: 300px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aerodef-record__tag {
  font-family: var(--mono);
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  color: var(--paper);
}
.aerodef-record__row.is-pending .aerodef-record__tag { color: var(--muted-invert); }
.aerodef-record__statement {
  font-family: var(--sans);
  font-size: 1.375rem;
  line-height: 1.25;
  color: var(--paper);
  transition: color 0.4s var(--ease-out);
  text-wrap: balance;
}
.aerodef-record__row.is-pending .aerodef-record__statement { color: var(--muted-invert); }

.aerodef-record__desc {
  margin: 0;
  flex: 1 1 260px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-invert);
}

.aerodef-record__gauge {
  width: 200px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aerodef-record__bar {
  display: block;
  height: 2px;
  background: rgba(135, 142, 150, 0.45);
  position: relative;
  overflow: hidden;
}
.aerodef-record__bar i {
  display: block;
  height: 100%;
  width: var(--target);
  background: var(--accent);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.aerodef-record__row.is-pending .aerodef-record__bar i { transform: scaleX(0); }
.aerodef-record__ticks { display: flex; gap: 8px; }
.aerodef-record__ticks i {
  display: block;
  width: 14px;
  height: 1px;
  background: rgba(135, 142, 150, 0.5);
  transition: background-color 0.4s var(--ease-out);
}
.aerodef-record__ticks i.is-lit { background: var(--accent); }
.aerodef-record__row.is-pending .aerodef-record__ticks i.is-lit { background: rgba(135, 142, 150, 0.5); }

.aerodef-record__pannello { position: relative; overflow: hidden; border: 1px solid var(--line-strong); }
.aerodef-record__foto { margin: 0; }
.aerodef-record__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aerodef-record__foto:not(:first-child) { display: none; }

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .aerodef-record--scrub .aerodef-record__runway { height: 300vh; }
}
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .aerodef-record__row { padding: 22px 20px; align-items: flex-start; }
  .aerodef-record__gauge { width: 100%; order: 5; }
  .aerodef-record__desc { flex-basis: 100%; }
}
@media (max-width: 599px) {
  .aerodef-record__row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .aerodef-record__label { width: 100%; }
}

@media (min-width: 900px) {
  .aerodef-record__scena {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: clamp(40px, 4vw, 72px);
    align-items: stretch;
    min-height: calc(100vh - var(--nav-h) - 128px);
  }
  .aerodef-record__pannello {
    margin: 0;
    height: 514px;
  }
  .aerodef-record--scrub .aerodef-record__pannello { align-self: center; }
}
@media (max-width: 899px) {
  .aerodef-record__pannello { margin: 0 0 28px; }
  .aerodef-record__foto img { aspect-ratio: 800 / 600; }
}

@supports selector(:has(*)) {
  @media (min-width: 900px) {
    html.motion-ready .aerodef-record__foto:not(:first-child) { display: block; }
    html.motion-ready .aerodef-record__foto {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 0.5s ease;
    }
    html.motion-ready .aerodef-record__scena:has(.aerodef-record__row:nth-child(1).is-current) .aerodef-record__foto:nth-child(1),
    html.motion-ready .aerodef-record__scena:has(.aerodef-record__row:nth-child(2).is-current) .aerodef-record__foto:nth-child(2),
    html.motion-ready .aerodef-record__scena:has(.aerodef-record__row:nth-child(3).is-current) .aerodef-record__foto:nth-child(3) {
      opacity: 1;
    }
  }
}

@media (min-width: 900px) {
  html.motion-ready .aerodef-record__box {
    position: relative;
    border: 0;
    background: none;
    background-color: transparent;
    background-image: none;
    justify-content: center;
    padding-left: 68px;
  }
  html.motion-ready .aerodef-record__row {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 0 0 0 68px;
    border-bottom: 0;
    visibility: hidden;
    transition: visibility 0s linear 0.45s;
  }
  html.motion-ready .aerodef-record__row.is-current {
    visibility: visible;
    transition-delay: 0s;
  }
  html.motion-ready .aerodef-record__row.is-current,
  html.motion-ready .aerodef-record__row.is-pending {
    background-color: transparent;
  }

  html.motion-ready .aerodef-record__idx {
    visibility: visible;
    position: absolute;
    left: 0;
    font-size: 0.95rem;
    transition: color 0.35s;
  }
  html.motion-ready .aerodef-record__row:nth-child(1) .aerodef-record__idx { top: calc(50% - 52px); }
  html.motion-ready .aerodef-record__row:nth-child(2) .aerodef-record__idx { top: calc(50% - 8px); }
  html.motion-ready .aerodef-record__row:nth-child(3) .aerodef-record__idx { top: calc(50% + 36px); }

  html.motion-ready .aerodef-record__row.is-pending .aerodef-record__idx { color: rgba(198, 205, 214, 0.6); }
  html.motion-ready .aerodef-record__row:not(.is-pending):not(.is-current) .aerodef-record__idx { color: rgba(198, 205, 214, 0.62); }
  html.motion-ready .aerodef-record__row.is-current .aerodef-record__idx { color: var(--accent); font-weight: 700; }

  html.motion-ready .aerodef-record__label,
  html.motion-ready .aerodef-record__desc,
  html.motion-ready .aerodef-record__gauge {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
  html.motion-ready .aerodef-record__row.is-current .aerodef-record__label,
  html.motion-ready .aerodef-record__row.is-current .aerodef-record__desc,
  html.motion-ready .aerodef-record__row.is-current .aerodef-record__gauge {
    opacity: 1;
    transform: none;
  }

  html.motion-ready .aerodef-record__label { width: auto; gap: 14px; }
  html.motion-ready .aerodef-record__statement {
    font-size: clamp(1.9rem, 2.7vw, 2.7rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
  }
  html.motion-ready .aerodef-record__desc {
    flex: 0 1 auto;
    max-width: 46ch;
    font-size: 1.0625rem;
    line-height: 1.7;
  }
  html.motion-ready .aerodef-record__gauge { width: 260px; }
  html.motion-ready .aerodef-record__gauge { display: none; }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  html.motion-ready .aerodef-record__row { position: static; transform: none; visibility: visible; padding: 22px 20px; border-bottom: 1px solid rgba(135, 142, 150, 0.55); }
  html.motion-ready .aerodef-record__idx { position: static; }
  html.motion-ready .aerodef-record__label,
  html.motion-ready .aerodef-record__desc,
  html.motion-ready .aerodef-record__gauge { opacity: 1; transform: none; }
  html.motion-ready .aerodef-record__box { border: 1px solid var(--line-strong); padding-left: 0; }
}

/* ---------- CLIENTI, intestazione con segnaposto ---------- */
.aerodef-clients__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0 var(--margin);
}
.clients--cad .aerodef-clients__head { padding: 0 var(--margin); margin-bottom: 8px; }
.clients--cad .aerodef-clients__head .clients__title { margin: 0; padding: 0; }

.aerodef-record__foto--ui { background: #1A222C; }
.sv {
  --sv-bg: #1A222C; --sv-deep: #12171E; --sv-line: #2E3945; --sv-btn: #004F7C;
  --sv-ink: #F9F9F8; --sv-mute: #C9CED4; --sv-or: #EA580C; --sv-red: #B3261E;
  box-sizing: border-box; width: 100%; height: 100%; margin: 0;
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
  background: var(--sv-bg); color: var(--sv-ink);
  font-family: var(--sans, 'Jost', Arial, sans-serif);
  container-type: inline-size;
}
.sv p { margin: 0; }
.sv__top { display: flex; gap: 8px; }
.sv__tab {
  font-family: var(--mono, monospace); font-size: 14px; font-weight: 600; letter-spacing: .06em;
  padding: 8px 12px; min-height: 36px; display: flex; align-items: center;
  background: var(--sv-btn); border-radius: 3px; color: var(--sv-ink);
}
.sv__tab--al { margin-left: auto; background: var(--sv-red); animation: sv-pulse 2.4s ease-in-out infinite; }

.sv__grid { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 10px; }
.sv__tile { display: flex; flex-direction: column; gap: 6px; padding: 10px; min-width: 0; background: var(--sv-deep); border: 1px solid var(--sv-line); border-radius: 4px; }
.sv__lab { font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--sv-mute); }
.sv__chart {
  position: relative; flex: 1 1 auto; min-height: 56px; overflow: hidden;
  background-image: linear-gradient(var(--sv-line) 1px, transparent 1px), linear-gradient(90deg, var(--sv-line) 1px, transparent 1px);
  background-size: 100% 25%, 20% 100%;
}
.sv__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sv__chart path { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sv__set { stroke: #878E96; stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.sv__now { position: absolute; top: 0; bottom: 0; right: 10%; width: 2px; background: var(--sv-ink); opacity: .85; }
.c1 { --c: #EA580C; } .c2 { --c: #4DA3D9; } .c3 { --c: #F9F9F8; } .c4 { --c: #F59E6B; }
.sv__run { animation: sv-flow 12s linear infinite; }
.c2 .sv__run { animation-duration: 16s; }
.c3 .sv__run { animation-duration: 10s; }
.c4 .sv__run { animation-duration: 7s; }
@keyframes sv-flow { to { transform: translateX(-200px); } }

.sv__plant { display: grid; gap: 6px; padding: 10px; background: var(--sv-deep); border: 1px solid var(--sv-line); border-radius: 4px; }
.sv__track { position: relative; padding-top: 30px; }
.sv__tanks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.sv__tanks i { height: 28px; background: #2E3945; border: 1px solid #878E96; border-radius: 2px; }
.sv__tanks i.is-bad { background: var(--sv-red); border-color: #F9F9F8; animation: sv-pulse 2.4s ease-in-out infinite; }
.sv__carro {
  position: absolute; top: 0; left: calc((100% - 44px) / 12 * 6.5 + 24px); height: 24px; padding: 0 8px;
  display: flex; align-items: center; font-family: var(--mono, monospace); font-size: 14px; font-weight: 600; letter-spacing: .06em;
  background: var(--sv-or); color: var(--sv-deep); border-radius: 3px; animation: sv-carro 14s ease-in-out infinite;
}
.sv__carro::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 6px; background: var(--sv-or); }
@keyframes sv-carro { 0%, 100% { transform: translateX(calc(-50% - 110px)); } 40%, 70% { transform: translateX(-50%); } }

.sv__alarm {
  display: grid; grid-template-columns: auto auto 1fr; font-family: var(--mono, monospace); font-size: 14px; line-height: 1.3;
  background: var(--sv-btn); border-radius: 3px; overflow: hidden;
}
.sv__alarm span { padding: 8px 12px; }
.sv__alarm span + span { border-left: 1px solid rgba(249, 249, 248, .25); }
.sv__tab--al, .sv__run, .sv__carro, .sv__tanks i.is-bad { animation-play-state: paused; }
.sv.is-live .sv__tab--al, .sv.is-live .sv__run, .sv.is-live .sv__carro, .sv.is-live .sv__tanks i.is-bad { animation-play-state: running; }
@keyframes sv-pulse { 0%, 100% { background-color: #B3261E; } 50% { background-color: #C32E26; } }

@container (max-width: 560px) {
  .sv__alarm { grid-template-columns: auto 1fr; }
  .sv__alarm span:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(249, 249, 248, .25); }
}

@container (max-width: 400px) {
  .sv__lab { letter-spacing: .02em; }
}
@container (max-width: 340px) {
  .sv__grid { grid-template-columns: 1fr; }
  .sv { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sv__run, .sv__carro, .sv__tab--al, .sv__tanks i.is-bad { animation: none; }
  .sv__carro { transform: translateX(-50%); }
}

@media (max-width: 899px) {
  .aerodef-record__foto.aerodef-record__foto--ui { display: block; margin-top: 12px; }
}
@media (min-width: 900px) {
  html:not(.motion-ready) .aerodef-record__foto.aerodef-record__foto--ui { display: block; margin-top: 12px; }
}
