/* Tecnel System — core stylesheet (shared across interior pages)
   Snapshot of the homepage system. Asset url()s are relative to /assets/. */
/* ----------------------------------------------------------
 * Tecnel System — Homepage
 * Built on the Deep Marketing visual system, retuned for
 * Tecnel: dark cinematic canvas dominant, red as accent
 * (was orange in reference), gold/yellow for highlights.
 * ---------------------------------------------------------- */
:root {
  --ts-red:        #D81F2A;
  --ts-red-deep:   #A8161E;
  --ts-red-glow:   rgba(216,31,42,0.35);
  --ts-yellow:     #F5C518;   /* small accent — numbers, hotspots, dots */
  --ts-yellow-soft:#FFE680;

  --ts-black:      #050505;
  --ts-ink:        #0B0B0C;   /* primary dark canvas */
  --ts-ink-2:      #111114;   /* subtly different dark for rhythm */
  --ts-ink-3:      #17171B;   /* card surface on dark */
  --ts-line-dark:  rgba(255,255,255,0.10);
  --ts-line-dim:   rgba(255,255,255,0.06);

  --ts-paper:      #F2EFEA;   /* warm light section */
  --ts-paper-2:    #E8E5DE;
  --ts-paper-line: #D9D5CD;

  --ts-white:      #FFFFFF;
  --ts-fg-on-dark: #E9E9EA;
  --ts-fg-mute:    #9A9A9F;

  /* DIREZIONE 02 — INDUSTRIALE
     Titoli: Saira Condensed · Dati/etichette: IBM Plex Mono · Corpo: Saira */
  --font-display:  'Saira Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:     'Saira', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:     'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  --ls-eyebrow:    0.24em;
  --ls-display:    0.01em;   /* condensed: tracking aperto, non stretto */

  --container:     1280px;
  --gutter:        clamp(24px, 5vw, 80px);

  --ease-std:      cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast:      140ms;
  --dur-base:      240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ts-fg-on-dark);
  background: var(--ts-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.005em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }

/* Generic helpers ------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
/* Eyebrow — in the reference it's just a short red dash, no accompanying text.
   We use a bare <span class="dash"></span> for that bar, and .eyebrow only when a
   text label is genuinely needed (e.g. footer columns). */
.dash {
  display: inline-block;
  width: 32px; height: 2px;
  background: var(--ts-red);
  margin-bottom: 22px;
  vertical-align: middle;
}
.dash.yellow { background: var(--ts-yellow); }
.dash.lg { width: 48px; height: 2px; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--ts-white);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.eyebrow::before {
  content: "";
  width: 32px; height: 2px;
  background: var(--ts-red);
}
.eyebrow.on-paper { color: var(--ts-ink); }
.eyebrow.muted    { color: var(--ts-fg-mute); }
.eyebrow.yellow::before { background: var(--ts-yellow); }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: var(--ls-display); line-height: 1.05; }
p { margin: 0; }

.display-xl { font-size: clamp(2.6rem, 5.4vw, 4.8rem); font-weight: 800; line-height: 1.02; }
.display-lg { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 800; }
.display-md { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 800; }
.h2         { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.h3         { font-size: 1.15rem; }

.lead { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--ts-fg-on-dark); font-weight: 300; max-width: 56ch; }
.body { font-size: 1rem; line-height: 1.7; color: var(--ts-fg-on-dark); font-weight: 300; }
.body.muted { color: var(--ts-fg-mute); }
.body.on-paper { color: #2A2A2C; }
.note { color: var(--ts-fg-mute); }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 26px;
  border-radius: 0;
  transition: background var(--dur-base) var(--ease-std), color var(--dur-base) var(--ease-std), transform var(--dur-fast) var(--ease-std);
  white-space: nowrap;
}
.btn .arr { display: inline-flex; width: 14px; height: 14px; align-items: center; justify-content: center; }
.btn .arr svg { width: 14px; height: 14px; }
.btn-primary { background: var(--ts-red); color: #fff; box-shadow: 0 10px 30px var(--ts-red-glow); }
.btn-primary:hover { background: var(--ts-red-deep); transform: translateY(-1px); }
.btn-ghost-dark { color: var(--ts-white); border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost-dark:hover { border-color: var(--ts-white); background: rgba(255,255,255,0.04); }
.btn-ghost-light { color: var(--ts-ink); border: 1px solid var(--ts-ink); }
.btn-ghost-light:hover { background: var(--ts-ink); color: #fff; }
.btn-text {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid var(--ts-red);
  color: var(--ts-white);
  transition: color var(--dur-base) var(--ease-std), gap var(--dur-base) var(--ease-std);
}
.btn-text.red { color: var(--ts-red); border-color: var(--ts-red); }
.btn-text:hover { gap: 16px; }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 18px 0;
  transition: background var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std), padding var(--dur-base) var(--ease-std), opacity var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std);
  border-bottom: 1px solid transparent;
  opacity: 0; transform: translateY(-100%); pointer-events: none;
}
.site-header.scrolled {
  background: rgba(5,5,5,0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--ts-line-dark);
  padding: 14px 0;
  opacity: 1; transform: none; pointer-events: auto;
}
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-nav { display: flex; gap: 36px; align-items: center; }
.site-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  transition: color var(--dur-fast) var(--ease-std);
}
.site-nav a:hover { color: var(--ts-white); }
.site-nav .lang { display: inline-flex; gap: 6px; align-items: center; color: rgba(255,255,255,0.55); }
.site-nav .lang .active { color: var(--ts-red); }
.site-nav .lang .slash { opacity: 0.4; }

/* Logo ------------------------------------------------------------------ */
.ts-logo__img { height: 64px; width: auto; display: block; }
.footer__brand .ts-logo__img { height: 76px; }
.ts-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ts-white); }
.ts-logo__bars {
  width: 40px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid currentColor;
  padding: 0 6px;
}
.ts-logo__bars span {
  display: inline-block;
  width: 4px; height: 22px;
  background: currentColor;
  margin-right: 3px;
}
.ts-logo__bars span:last-child { margin-right: 0; }
.ts-logo__word { display: flex; flex-direction: column; line-height: 1; }
.ts-logo__word .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.025em;
  text-transform: none;
}
.ts-logo__word .name .dots { letter-spacing: -0.05em; opacity: 0.9; }
.ts-logo__word .tag {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  margin-top: 3px;
  opacity: 0.8;
  text-transform: none;
}

/* HERO ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 120px;
  background: var(--ts-black);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url("hero-android.png");
  background-size: cover;
  background-position: 70% center;
  filter: saturate(1.1) contrast(1.06);
  opacity: 1;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* transparent until a <source> is supplied — the bg image shows through as poster */
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    /* strong left scrim so copy stays legible over a moving video */
    linear-gradient(102deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.62) 30%, rgba(0,0,0,0.22) 58%, rgba(0,0,0,0.34) 100%),
    radial-gradient(ellipse 95% 85% at 16% 50%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.28) 46%, rgba(0,0,0,0) 76%),
    /* top darken for the header, bottom darken for the section transition */
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) 58%, rgba(0,0,0,0.82) 100%);
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.hero__copy { max-width: 600px; }
.hero h1 {
  color: var(--ts-white);
  margin-top: 32px;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-shadow: 0 2px 40px rgba(0,0,0,0.55);
}
.hero h1 .accent { color: var(--ts-red); }
.hero__sub { margin-top: 36px; max-width: 38ch; color: rgba(255,255,255,0.86); font-size: 1.02rem; line-height: 1.65; font-weight: 300; letter-spacing: 0.005em; text-shadow: 0 1px 24px rgba(0,0,0,0.5); }
.hero__ctas { margin-top: 44px; display: inline-flex; flex-wrap: wrap; gap: 14px; }
.hero__chips { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  border-radius: 0;
}
.chip.yellow { color: var(--ts-yellow); border-color: rgba(245,197,24,0.45); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3;
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 10px; letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55);
}
.hero__scroll .line {
  display: block; width: 1px; height: 38px; background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1); }
}

/* Side index marker (the brand's three-bar mark in vertical orientation) */
.hero__side {
  position: absolute; right: 28px; top: 50%; transform: translateY(-50%) rotate(180deg); z-index: 3;
  writing-mode: vertical-rl;
  font-family: var(--font-display); font-weight: 800;
  font-size: 10px; letter-spacing: 0.4em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* SECTORS (modulo 02) --------------------------------------------------- */
.sectors {
  background: var(--ts-ink);
  padding: 140px 0 120px;
  border-top: 1px solid var(--ts-line-dim);
}
.sectors__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}
.sectors__head h2 {
  color: var(--ts-white);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  margin-top: 24px;
  line-height: 1.08;
}
.sectors__head h2 em {
  font-style: normal;
  color: var(--ts-red);
}
.sectors__head .body { color: rgba(255,255,255,0.75); max-width: 56ch; }

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--ts-line-dim);
  border: 1px solid var(--ts-line-dim);
}
.sector-card {
  position: relative;
  background: var(--ts-ink-2);
  padding: 36px 32px 32px;
  min-height: 340px;
  display: flex; flex-direction: column;
  transition: background var(--dur-base) var(--ease-std);
  overflow: hidden;
}
.sector-card:hover { background: var(--ts-ink-3); }
.sector-card.featured { background: var(--ts-red); color: #fff; }
.sector-card.featured:hover { background: var(--ts-red-deep); }
.sector-card.featured .sector-card__families li { color: rgba(255,255,255,0.92); }
.sector-card.featured .sector-card__families li::before { background: var(--ts-yellow); }
.sector-card.featured .sector-card__num { color: rgba(255,255,255,0.55); }

.sector-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ts-fg-mute);
}
.sector-card__icon {
  width: 44px; height: 44px;
  margin-top: 8px;
  color: var(--ts-red);
}
.sector-card.featured .sector-card__icon { color: var(--ts-yellow); }
.sector-card__title {
  margin-top: 22px;
  font-size: 1.2rem;
  color: var(--ts-white);
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.sector-card__desc {
  margin-top: 14px;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 48ch;
}
.sector-card.featured .sector-card__desc { color: rgba(255,255,255,0.92); }
.sector-card__families {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.sector-card__families li {
  position: relative; padding-left: 14px;
  font-family: var(--font-body); font-weight: 400;
}
.sector-card__families li::before {
  content: ""; position: absolute; left: 0; top: 0.7em;
  width: 6px; height: 1px; background: var(--ts-red);
}
.sector-card__cta {
  margin-top: auto; padding-top: 28px;
  display: inline-flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 800;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}
.sector-card__cta .arrow {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std);
}
.sector-card:hover .sector-card__cta .arrow { background: var(--ts-red); border-color: var(--ts-red); }
.sector-card.featured:hover .sector-card__cta .arrow { background: #fff; border-color: #fff; color: var(--ts-red); }

/* TRUST STRIP (modulo 03) ---------------------------------------------- */
.trust {
  background: var(--ts-black);
  border-top: 1px solid var(--ts-line-dim);
  border-bottom: 1px solid var(--ts-line-dim);
}
.trust__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust__cell {
  padding: 64px 36px;
  position: relative;
}
.trust__cell + .trust__cell { border-left: 1px solid var(--ts-line-dim); }
.trust__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  color: var(--ts-white);
  letter-spacing: -0.015em;
}
.trust__num .plus { color: var(--ts-yellow); }
.trust__num.iso { font-size: clamp(1.1rem, 1.5vw, 1.4rem); padding-top: 14px; }
.trust__label {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ts-fg-mute);
}
.trust__cell .dot {
  position: absolute; top: 24px; right: 24px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ts-yellow);
  opacity: 0.85;
}

/* SCENARI INTERATTIVI (modulo 04) -------------------------------------- */
.scenari {
  background: var(--ts-paper);
  padding: 150px 0;
  color: var(--ts-ink);
}
.scenari__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 88px;
  align-items: start;
}
.scenari__copy h2 {
  color: var(--ts-ink);
  margin-top: 24px;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.1;
}
.scenari__copy h2 em { font-style: normal; color: var(--ts-red); }
.scenari__copy .body { color: #3A3A3C; margin-top: 28px; max-width: 50ch; }
.scenari__copy .cta-row { margin-top: 44px; display: flex; gap: 18px; flex-wrap: wrap; }

.scene {
  position: relative;
  background: #0A0A0B;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18), 0 0 0 1px var(--ts-paper-line);
}
.scene__stage {
  position: relative;
  aspect-ratio: 16 / 11;
  background-size: cover;
  background-position: center;
  background-color: #0E0E10;
  transition: background-image var(--dur-base) var(--ease-std);
}
.scene__stage::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}

/* Stylized scenario panels (CSS only) — each evokes its industrial context. */
.scene__stage.scene--fabbrica {
  background:
    /* warm hotspot floor lamp */
    radial-gradient(ellipse 50% 30% at 22% 65%, rgba(255,170,40,0.32) 0%, rgba(216,31,42,0.10) 35%, rgba(0,0,0,0) 70%),
    radial-gradient(ellipse 40% 25% at 75% 35%, rgba(255,180,40,0.22) 0%, rgba(0,0,0,0) 60%),
    /* factory-floor grid */
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 80px),
    /* machinery block silhouettes */
    linear-gradient(180deg, transparent 0%, transparent 55%, #0E0E10 56%, #0E0E10 58%, transparent 58%, transparent 62%, #131316 62%, #131316 68%, transparent 68%),
    linear-gradient(180deg, #18181B 0%, #060608 100%);
}
.scene__stage.scene--automazione {
  background:
    /* amber conveyor light */
    linear-gradient(180deg, transparent 0%, transparent 45%, rgba(255,170,40,0.22) 47%, rgba(255,170,40,0.22) 49%, transparent 51%, transparent 100%),
    radial-gradient(circle at 55% 50%, rgba(245,197,24,0.20) 0%, rgba(216,31,42,0.08) 30%, rgba(0,0,0,0) 60%),
    /* conveyor dots */
    repeating-linear-gradient(90deg, rgba(255,255,255,0.10) 0 4px, transparent 4px 56px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 64px),
    linear-gradient(180deg, #1A1A1F 0%, #06060A 100%);
}
.scene__stage.scene--treno {
  background:
    /* horizontal motion blur trails */
    linear-gradient(180deg, transparent 0%, transparent 38%, rgba(255,180,40,0.10) 40%, rgba(255,180,40,0.10) 42%, transparent 42%, transparent 56%, rgba(216,31,42,0.18) 58%, rgba(216,31,42,0.18) 60%, transparent 60%, transparent 100%),
    /* train silhouette band */
    linear-gradient(180deg, transparent 0%, transparent 28%, rgba(255,255,255,0.06) 30%, rgba(255,255,255,0.06) 50%, transparent 50%, transparent 100%),
    /* tracks (rail dashes) */
    repeating-linear-gradient(90deg, rgba(255,255,255,0.10) 0 14px, transparent 14px 24px),
    radial-gradient(ellipse at 35% 50%, rgba(255,180,40,0.12) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #161620 0%, #050507 100%);
}
.scene__stage.scene--edificio {
  background:
    /* vertical entrance columns */
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 72px, rgba(255,255,255,0.10) 72px 76px, transparent 76px 144px),
    /* warm ambient at center */
    radial-gradient(ellipse 35% 40% at 50% 60%, rgba(255,200,80,0.20) 0%, rgba(216,31,42,0.05) 40%, rgba(0,0,0,0) 70%),
    /* floor reflection */
    linear-gradient(180deg, transparent 0%, transparent 70%, rgba(255,180,40,0.10) 90%, rgba(255,180,40,0.20) 100%),
    linear-gradient(180deg, #18181C 0%, #06060A 100%);
}
.hotspot {
  position: absolute;
  width: 28px; height: 28px;
  transform: translate(-50%, -50%);
  z-index: 4;
}
.hotspot__btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ts-red);
  box-shadow: 0 0 0 6px rgba(216,31,42,0.18), 0 0 0 14px rgba(216,31,42,0.10);
  border: 2px solid #fff;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-std);
}
.hotspot.alt .hotspot__btn { background: var(--ts-yellow); border-color: #fff; box-shadow: 0 0 0 6px rgba(245,197,24,0.22), 0 0 0 14px rgba(245,197,24,0.10); }
.hotspot__pulse {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--ts-red);
  opacity: 0.7;
  animation: pulse 2s ease-out infinite;
}
.hotspot.alt .hotspot__pulse { border-color: var(--ts-yellow); }
@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
.hotspot__tip {
  position: absolute;
  top: 38px; left: 50%; transform: translateX(-50%);
  background: #fff;
  color: var(--ts-ink);
  padding: 10px 14px;
  width: max-content;
  max-width: 220px;
  border-radius: 2px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std);
  transform: translate(-50%, 4px);
}
.hotspot:hover .hotspot__tip,
.hotspot:focus-within .hotspot__tip {
  opacity: 1; pointer-events: auto;
  transform: translate(-50%, 0);
}
.hotspot:hover .hotspot__btn { transform: scale(1.1); }
.hotspot__tip .t-name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hotspot__tip .t-sect {
  font-family: var(--font-display); font-weight: 700;
  font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ts-red);
  margin-top: 2px;
}

.scene__caption {
  position: absolute; left: 24px; bottom: 22px; z-index: 5;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 16px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 10px; letter-spacing: 0.2em;
  color: #fff; text-transform: uppercase;
}

.scene__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #0A0A0B;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.scene__tab {
  padding: 18px 12px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: transparent;
  position: relative;
  transition: color var(--dur-fast) var(--ease-std);
  text-align: center;
}
.scene__tab + .scene__tab { border-left: 1px solid rgba(255,255,255,0.06); }
.scene__tab:hover { color: var(--ts-white); }
.scene__tab[aria-selected="true"] { color: var(--ts-white); background: rgba(255,255,255,0.03); }
.scene__tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 2px; background: var(--ts-red);
}

/* WHY TECNEL (modulo 05) ----------------------------------------------- */
.why {
  background: var(--ts-paper);
  color: var(--ts-ink);
  padding: 150px 0;
  border-top: 1px solid var(--ts-paper-line);
}
.why__head { max-width: 880px; margin-bottom: 96px; }
.why__head h2 {
  color: var(--ts-ink);
  margin-top: 24px;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.1;
}
.why__head h2 em { font-style: normal; color: var(--ts-red); }
.why__head .body { margin-top: 28px; color: #3A3A3C; max-width: 60ch; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ts-paper-line); border-top: 1px solid var(--ts-paper-line); border-bottom: 1px solid var(--ts-paper-line); }
.pillar {
  background: #fff;
  padding: 56px 44px 64px;
  display: flex; flex-direction: column;
  position: relative;
}
.pillar__index {
  font-family: var(--font-display); font-weight: 800;
  font-size: 11px; letter-spacing: 0.24em;
  color: var(--ts-red);
}
.pillar__title {
  margin-top: 96px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.3rem;
  color: var(--ts-ink);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.pillar__body {
  margin-top: 24px;
  color: #4A4A4C;
  font-size: 0.97rem;
  line-height: 1.75;
  font-weight: 300;
}
.pillar__hl {
  margin-top: 36px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 10px; letter-spacing: 0.24em;
  color: var(--ts-red);
  text-transform: uppercase;
}
.pillar__hl::before { content: ""; width: 18px; height: 1px; background: var(--ts-red); }

/* MARCHI (modulo 06) ---------------------------------------------------- */
.brands {
  background: var(--ts-ink);
  padding: 140px 0;
  color: var(--ts-white);
  border-top: 1px solid var(--ts-line-dim);
}
.brands__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: end; margin-bottom: 64px; }
.brands__head h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  color: var(--ts-white);
  margin-top: 24px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  max-width: 20ch;
  line-height: 1.1;
}
.brands__head .body { color: rgba(255,255,255,0.72); max-width: 50ch; }
.brands__head .body a { color: var(--ts-red); border-bottom: 1px solid currentColor; }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--ts-line-dim);
  border: 1px solid var(--ts-line-dim);
}
.brand-grid .b {
  background: #fff;
  aspect-ratio: 3 / 2;
  display: flex; align-items: center; justify-content: center;
  padding: 26px 30px;
  transition: background var(--dur-base) var(--ease-std);
  position: relative;
}
.brand-grid .b img {
  max-width: 100%; max-height: 58px; width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.82;
  transition: opacity var(--dur-base) var(--ease-std), filter var(--dur-base) var(--ease-std);
}
a.brand-link { cursor: pointer; }
a.brand-link:hover img { opacity: 1; filter: grayscale(0); }
.brand-grid .b small {
  display: block;
  font-family: var(--font-body); font-weight: 400;
  font-size: 9px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-top: 5px;
  text-transform: uppercase;
}

/* RISORSE (modulo 07) -------------------------------------------------- */
.risorse {
  background: var(--ts-paper);
  color: var(--ts-ink);
  padding: 150px 0;
  border-top: 1px solid var(--ts-paper-line);
}
.risorse__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.res-card {
  background: #fff;
  border: 1px solid var(--ts-paper-line);
  padding: 56px 52px 52px;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 340px;
  transition: border-color var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std);
}
.res-card:hover { border-color: var(--ts-red); transform: translateY(-2px); }
.res-card.accent { border-top: 3px solid var(--ts-red); }
.res-card__icon { width: 44px; height: 44px; color: var(--ts-red); }
.res-card__eyebrow {
  margin-top: 28px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7C7C80;
}
.res-card__title {
  margin-top: 14px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--ts-ink);
  line-height: 1.15;
}
.res-card__body {
  margin-top: 24px;
  color: #4A4A4C;
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 42ch;
}
.res-card__cta { margin-top: auto; padding-top: 36px; }
.risorse .btn-text { color: var(--ts-ink); border-color: var(--ts-red); }
.res-card .meta {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 10px; letter-spacing: 0.22em;
  color: #7C7C80;
}

/* NEWS (modulo 08) ----------------------------------------------------- */
.news {
  background: var(--ts-ink);
  padding: 150px 0;
  color: var(--ts-white);
  border-top: 1px solid var(--ts-line-dim);
}
.news__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 72px; flex-wrap: wrap; }
.news__head .left { max-width: 580px; }
.news__head h2 {
  color: var(--ts-white);
  margin-top: 24px;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.news__head h2 em { font-style: normal; color: var(--ts-red); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.news-card {
  display: flex; flex-direction: column;
  background: transparent;
  transition: transform var(--dur-base) var(--ease-std);
}
.news-card:hover { transform: translateY(-3px); }
.news-card__media {
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  background-color: #1A1A1C;
  position: relative;
  overflow: hidden;
}

/* News card CSS-only media treatments — cinematic dark with gear-ring hint */
.news-card__media.news-bg-train {
  background:
    /* horizon line */
    linear-gradient(180deg, transparent 0%, transparent 55%, rgba(216,31,42,0.18) 56%, rgba(216,31,42,0.18) 57%, transparent 58%, transparent 100%),
    /* light glow center-right */
    radial-gradient(circle at 70% 50%, rgba(255,170,40,0.32) 0%, rgba(216,31,42,0.10) 20%, rgba(0,0,0,0) 50%),
    linear-gradient(180deg, #18181C 0%, #08080A 100%);
}
.news-card__media.news-bg-product {
  background:
    /* concentric thread pattern (pressacavi vibe) */
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 14px),
    radial-gradient(circle at 50% 50%, rgba(245,197,24,0.28) 0%, rgba(216,31,42,0.10) 22%, rgba(0,0,0,0) 55%),
    linear-gradient(180deg, #1A1A1F 0%, #08080A 100%);
}
.news-card__media.news-bg-tech {
  background:
    /* sensor cone */
    conic-gradient(from 230deg at 50% 100%, transparent 0deg, rgba(216,31,42,0.18) 50deg, rgba(255,170,40,0.10) 70deg, transparent 90deg, transparent 360deg),
    radial-gradient(circle at 50% 30%, rgba(255,180,40,0.22) 0%, rgba(0,0,0,0) 45%),
    linear-gradient(180deg, #1A1A1F 0%, #08080A 100%);
}
.news-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
}
.news-card__tag {
  position: absolute; bottom: 14px; left: 14px;
  z-index: 2;
  background: var(--ts-red);
  color: #fff;
  font-family: var(--font-display); font-weight: 700;
  font-size: 10px; letter-spacing: 0.2em;
  padding: 6px 10px;
  text-transform: uppercase;
}
.news-card__tag.yellow { background: var(--ts-yellow); color: #1A1A1C; }
.news-card__date {
  margin-top: 22px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 10px; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.news-card__title {
  margin-top: 14px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.1rem;
  color: var(--ts-white);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.news-card__excerpt {
  margin-top: 16px;
  font-family: var(--font-body); font-weight: 300;
  font-size: 0.97rem; line-height: 1.7;
  color: rgba(255,255,255,0.68);
}

/* FINAL CTA (modulo 09) ------------------------------------------------ */
.cta-final {
  background: var(--ts-red);
  color: #fff;
  padding: 140px 0 150px;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 88% 30%, rgba(245,197,24,0.18) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(0,0,0,0.25) 0%, transparent 50%);
}
.cta-final__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 72px; align-items: end;
}
.cta-final h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.cta-final h2 .yellow { color: var(--ts-yellow); }
.cta-final .body { color: rgba(255,255,255,0.92); max-width: 46ch; margin-top: 28px; font-size: 1.1rem; }
.cta-final__ctas { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-final__ctas .btn { width: 100%; justify-content: space-between; min-width: 260px; }
.cta-final__ctas .btn.dark { background: var(--ts-black); color: #fff; }
.cta-final__ctas .btn.dark:hover { background: #1A1A1C; }
.cta-final__ctas .btn.ghost { background: transparent; border: 1px solid #fff; }
.cta-final__ctas .btn.ghost:hover { background: rgba(0,0,0,0.15); }

.cta-final__meta {
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
}
.cta-final__meta .label { display: block; font-size: 9px; opacity: 0.7; margin-bottom: 6px; }

/* FOOTER --------------------------------------------------------------- */
.footer {
  background: var(--ts-black);
  color: rgba(255,255,255,0.7);
  padding: 100px 0 36px;
}
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.footer__brand .ts-logo { color: #fff; }
.footer__brand .body { color: rgba(255,255,255,0.6); font-size: 0.93rem; margin-top: 20px; max-width: 32ch; }
.footer__col h5 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--ts-white);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-family: var(--font-body); font-weight: 300;
  font-size: 0.93rem; color: rgba(255,255,255,0.65);
  transition: color var(--dur-fast) var(--ease-std);
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--ts-line-dim);
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap; gap: 16px;
}

/* MOSAIC SETTORI (cinematic, like reference) -------------------------- */
.mosaic { background: var(--ts-ink); padding-top: 4px; }
.mosaic-row { display: grid; gap: 4px; margin-bottom: 4px; background: var(--ts-black); }
.mosaic-row.r-3 { grid-template-columns: 0.95fr 1.2fr 0.95fr; }
.mosaic-row.r-4 { grid-template-columns: 1.1fr 0.95fr 0.95fr 1.1fr; }
.mosaic-row.r-c { grid-template-columns: 0.95fr 1.4fr; }
.mosaic .cell {
  position: relative;
  min-height: 360px;
  padding: 56px 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.mosaic .cell.text { background: var(--ts-ink-2); }
.mosaic .cell.text.dark { background: var(--ts-ink); }
.mosaic .cell.text.red { background: var(--ts-red); color: #fff; }
.mosaic .cell.img { background-size: cover; background-position: center; background-color: #0E0E10; min-height: 320px; }
.mosaic .cell.img-bleed { background-size: cover; background-position: center; min-height: 560px; background-color: #0E0E10; }

/* CSS-only cinematic macro panels — replace dependence on external photos.
   Each is a dark composition with red / amber spotlight + concentric gear-ring
   hints, evoking the reference's macro mechanical close-ups. */
.mosaic .cell.img.macro-1 {
  background:
    /* center bright amber spot */
    radial-gradient(circle at 55% 50%, rgba(255,170,40,0.55) 0%, rgba(216,31,42,0.18) 12%, rgba(0,0,0,0) 30%),
    /* concentric metallic rings */
    repeating-radial-gradient(circle at 55% 50%, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 18px),
    /* subtle red glow rim */
    radial-gradient(circle at 55% 50%, rgba(216,31,42,0.35) 0%, rgba(216,31,42,0) 50%),
    /* deep base */
    radial-gradient(ellipse at 55% 50%, #1a1410 0%, #050505 70%),
    #050505;
}
.mosaic .cell.img.macro-2 {
  background:
    /* diagonal spark trail */
    linear-gradient(115deg, transparent 0%, transparent 40%, rgba(255,180,60,0.45) 48%, rgba(255,230,120,0.85) 50%, rgba(255,180,60,0.45) 52%, transparent 60%, transparent 100%),
    /* hotspot at lower-left */
    radial-gradient(circle at 30% 70%, rgba(255,140,40,0.55) 0%, rgba(216,31,42,0.18) 15%, rgba(0,0,0,0) 40%),
    /* base */
    radial-gradient(ellipse at 30% 60%, #18120e 0%, #060606 70%),
    #060606;
}
.mosaic .cell.img.macro-3 {
  background:
    /* concentric bearing rings */
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 2px, transparent 2px, transparent 14px),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 14%, rgba(0,0,0,0) 32%),
    /* subtle amber light from corner */
    radial-gradient(circle at 85% 30%, rgba(255,150,40,0.35) 0%, rgba(0,0,0,0) 45%),
    radial-gradient(ellipse at 50% 50%, #161412 0%, #060606 70%),
    #060606;
}
.mosaic .cell.img-bleed.macro-bleed-dark {
  background:
    /* horizontal exploded-mechanism light trail */
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(255,160,40,0.18) 30%, rgba(216,31,42,0.25) 50%, rgba(255,160,40,0.18) 70%, rgba(0,0,0,0) 100%),
    /* layered concentric gears across the width */
    repeating-radial-gradient(circle at 22% 50%, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 20px),
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 2px, transparent 2px, transparent 22px),
    repeating-radial-gradient(circle at 78% 50%, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 18px),
    radial-gradient(ellipse at 50% 50%, #161210 0%, #050505 80%),
    #050505;
}
.mosaic-light .cell.img-bleed.macro-bleed-light {
  background:
    /* horizontal exploded-mechanism shadow on warm paper */
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.06) 30%, rgba(0,0,0,0.12) 50%, rgba(0,0,0,0.06) 70%, transparent 100%),
    /* concentric gear silhouettes */
    repeating-radial-gradient(circle at 22% 50%, rgba(20,20,22,0.10) 0px, rgba(20,20,22,0.10) 2px, transparent 2px, transparent 20px),
    repeating-radial-gradient(circle at 50% 50%, rgba(20,20,22,0.08) 0px, rgba(20,20,22,0.08) 2px, transparent 2px, transparent 22px),
    repeating-radial-gradient(circle at 78% 50%, rgba(20,20,22,0.10) 0px, rgba(20,20,22,0.10) 2px, transparent 2px, transparent 18px),
    /* hint of red */
    radial-gradient(circle at 50% 50%, rgba(216,31,42,0.06) 0%, transparent 50%),
    var(--ts-paper);
}
.mosaic .cell h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  max-width: 14ch;
}
.mosaic .cell.text.red h3 { color: #fff; max-width: 12ch; }
.mosaic .cell .arr-link {
  align-self: flex-end;
  color: var(--ts-red);
  display: inline-flex; width: 32px; height: 32px;
  align-items: center; justify-content: center;
  transition: transform var(--dur-base) var(--ease-std);
}
.mosaic .cell.text.red .arr-link { color: #fff; }
.mosaic .cell .arr-link svg { width: 22px; height: 22px; }
.mosaic .cell:hover .arr-link { transform: translate(3px, -3px); }

/* yellow accent point on one specific cell — guarda la regola "qualche punto giallo" */
.mosaic .cell .yellow-pt {
  position: absolute; top: 16px; right: 20px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ts-yellow);
  box-shadow: 0 0 0 4px rgba(245,197,24,0.15);
}

/* SETTORI HERO STRIP — 4 photographic cards directly under hero (reference) */
.settori-hero {
  background: var(--ts-black);
  padding: 112px 0 124px;
  border-top: 1px solid var(--ts-line-dim);
}
.settori-hero__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 56px;
  margin-bottom: 54px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--ts-line-dim);
}
.settori-hero__head-l { max-width: 60%; }
.settori-hero__count {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ts-red);
  margin-bottom: 22px;
}
.settori-hero__count::before { content: ""; width: 32px; height: 2px; background: var(--ts-red); }
.settori-hero__head h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.0; letter-spacing: -0.015em;
  color: #fff; text-transform: uppercase;
}
.settori-hero__head h2 em { font-style: normal; color: var(--ts-red); }
.settori-hero__lead {
  max-width: 40ch; margin: 0; flex: none; width: 38%;
  color: rgba(255,255,255,0.6);
  font-weight: 300; font-size: 1.02rem; line-height: 1.7; letter-spacing: 0.005em;
}
.settori-hero__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.sx-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0E0E10;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std);
}
.sx-card__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) brightness(0.86);
  transition: transform 700ms var(--ease-std), filter var(--dur-base) var(--ease-std);
}
.sx-card__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 28%, rgba(5,5,5,0.62) 62%, rgba(5,5,5,0.94) 100%);
  transition: background var(--dur-base) var(--ease-std);
}
.sx-card:hover { border-color: rgba(216,31,42,0.6); transform: translateY(-3px); }
.sx-card:hover .sx-card__img { transform: scale(1.06); filter: saturate(1.04) brightness(1); }
.sx-card:hover .sx-card__veil {
  background: linear-gradient(180deg, rgba(216,31,42,0.16) 0%, rgba(0,0,0,0) 26%, rgba(5,5,5,0.66) 60%, rgba(5,5,5,0.96) 100%);
}
.sx-card__num {
  position: absolute; top: 20px; left: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.78);
}
.sx-card__num::before { content: ""; width: 16px; height: 2px; background: var(--ts-red); }
.sx-card__foot {
  position: absolute; left: 26px; right: 24px; bottom: 26px; z-index: 2;
}
.sx-card__titlerow {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
}
.sx-card__foot h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  line-height: 1.0;
  letter-spacing: -0.012em;
  color: #fff;
  text-transform: uppercase;
}
.sx-card__rule {
  height: 2px; width: 28px; background: var(--ts-red);
  margin: 16px 0 14px;
  transition: width var(--dur-base) var(--ease-std);
}
.sx-card:hover .sx-card__rule { width: 52px; }
.sx-card__sub {
  margin: 0;
  font-family: var(--font-body); font-weight: 300;
  font-size: 0.86rem; line-height: 1.55;
  color: rgba(255,255,255,0.66);
  max-width: 30ch;
}
.sx-card__arr {
  flex: none;
  color: var(--ts-red);
  display: inline-flex; width: 30px; height: 30px;
  align-items: center; justify-content: center;
  transition: transform var(--dur-base) var(--ease-std);
}
.sx-card__arr svg { width: 28px; height: 20px; }
.sx-card:hover .sx-card__arr { transform: translateX(6px); }

/* LIGHT INTERLUDE — manifesto tipografico tra mosaico scuro e film-strip */
.mosaic-light {
  background: var(--ts-paper);
  color: var(--ts-ink);
  padding: 110px 0 120px;
  border-top: 1px solid var(--ts-paper-line);
}
.interlude__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 88px;
  align-items: end;
}
.interlude__copy h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.018em;
  text-transform: uppercase;
  color: var(--ts-ink);
  margin-top: 24px;
  max-width: 22ch;
}
.interlude__copy h2 em { font-style: normal; color: var(--ts-red); }
.interlude__copy .body {
  color: #4A4A4C;
  margin-top: 24px;
  max-width: 46ch;
  font-size: 0.97rem;
  line-height: 1.75;
}
.interlude__copy .cta-row { margin-top: 36px; }

.interlude__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ts-paper-line);
  border-top: 1px solid var(--ts-paper-line);
  border-bottom: 1px solid var(--ts-paper-line);
}
.interlude-fact {
  background: var(--ts-paper);
  padding: 28px 24px 30px;
  position: relative;
  display: flex; flex-direction: column;
}
.interlude-fact__l {
  font-family: var(--font-display); font-weight: 700;
  font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8A8A8E;
}
.interlude-fact__k {
  margin-top: 14px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ts-ink);
}
.interlude-fact__brands {
  margin-top: 16px;
  font-family: var(--font-body); font-weight: 400;
  font-size: 0.83rem;
  color: #5A5A5E;
  letter-spacing: 0.005em;
}
.interlude-fact .dot {
  position: absolute; top: 18px; right: 18px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ts-yellow);
  opacity: 0.85;
}

/* FILM STRIP — 4 settori thumbnails (matches bottom of reference) -------- */
.film-strip {
  background: var(--ts-paper);
  padding: 90px 0 140px;
  color: var(--ts-ink);
}
.film-strip__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}
.film-strip__head .eyebrow { color: var(--ts-ink); }
.film-strip__head h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  color: var(--ts-ink);
  text-transform: uppercase;
  letter-spacing: -0.018em;
  margin-top: 22px;
  max-width: 22ch;
  line-height: 1.1;
}
.film-strip__head .body { color: #4A4A4C; max-width: 52ch; font-size: 0.97rem; line-height: 1.7; }
.film-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.film-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #15151A;
  background:
    radial-gradient(circle at 50% 40%, rgba(216,31,42,0.18) 0%, rgba(216,31,42,0) 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #1A1A1F 0%, #0A0A0C 100%);
  display: block;
  transition: transform var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std);
}
.film-card.sect-aut {
  background:
    radial-gradient(circle at 50% 40%, rgba(245,197,24,0.18) 0%, rgba(245,197,24,0) 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #1A1A1F 0%, #0A0A0C 100%);
}
.film-card.sect-tra {
  background:
    radial-gradient(circle at 50% 40%, rgba(216,31,42,0.22) 0%, rgba(216,31,42,0) 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #18181C 0%, #050507 100%);
}
.film-card.sect-acc {
  background:
    radial-gradient(circle at 50% 40%, rgba(245,197,24,0.14) 0%, rgba(245,197,24,0) 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #1A1A1F 0%, #0A0A0C 100%);
}
.film-card__pict {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -64%);
  width: 86px; height: 86px;
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  transition: color var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std);
}
.film-card__pict svg { width: 86px; height: 86px; }
.film-card:hover .film-card__pict { color: var(--ts-red); transform: translate(-50%, -68%); }
.film-card.sect-aut:hover .film-card__pict { color: var(--ts-yellow); }
.film-card.sect-acc:hover .film-card__pict { color: var(--ts-yellow); }

.film-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
  transition: background var(--dur-base) var(--ease-std);
  pointer-events: none;
}
.film-card:hover { transform: translateY(-3px); }
.film-card:hover::after {
  background: linear-gradient(180deg, rgba(216,31,42,0.08) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.7) 100%);
}
.film-card .num {
  position: absolute; top: 18px; left: 20px; z-index: 2;
  font-family: var(--font-display); font-weight: 600;
  font-size: 10px; letter-spacing: 0.24em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}
.film-card .title {
  position: absolute; bottom: 22px; left: 22px; right: 22px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
}
.film-card .title h4 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.95rem; letter-spacing: -0.005em;
  color: #fff; text-transform: uppercase;
  line-height: 1.05; max-width: 12ch;
}
.film-card .title .arrow {
  color: #fff;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color var(--dur-fast) var(--ease-std), transform var(--dur-base) var(--ease-std);
}
.film-card:hover .title .arrow { color: var(--ts-red); transform: translate(3px, -3px); }
.film-card .yellow-pt {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ts-yellow);
  box-shadow: 0 0 0 4px rgba(245,197,24,0.18);
}

/* COSTRUIAMO INSIEME — bottom CTA strip (like reference) ----------------- */
.cta-strip {
  background: var(--ts-ink);
  border-top: 1px solid var(--ts-line-dim);
  padding: 110px 0 120px;
}
.cta-strip__row {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 72px; align-items: center;
}
.cta-strip__row h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  color: var(--ts-white);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
}
.cta-strip__row h2 .red { color: var(--ts-red); }
.cta-strip__cta { display: flex; justify-content: flex-end; align-items: center; }
.cta-strip__cta .btn {
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  background: transparent;
  padding: 20px 28px;
}
.cta-strip__cta .btn:hover { background: #fff; color: var(--ts-ink); }
.cta-strip__cta .btn .arr { color: var(--ts-red); }
.cta-strip__cta .btn:hover .arr { color: #fff; }

/* RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__bg { background-position: 90% center; }
  .sectors__head { grid-template-columns: 1fr; gap: 24px; }
  .scenari__grid { grid-template-columns: 1fr; gap: 40px; }
  .brands__head { grid-template-columns: 1fr; gap: 24px; }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-bottom: 1px solid var(--ts-line-dim); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .mosaic-row.r-3 { grid-template-columns: 1fr 1fr; }
  .mosaic-row.r-3 .cell.img { grid-column: span 2; aspect-ratio: 16 / 9; min-height: 0; }
  .mosaic-row.r-4 { grid-template-columns: 1fr 1fr; }
  .mosaic-row.r-c { grid-template-columns: 1fr; }
  .mosaic .cell.img-bleed { min-height: 360px; }
  .settori-hero__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .settori-hero__head { flex-direction: column; align-items: flex-start; gap: 26px; }
  .settori-hero__head-l { max-width: 100%; }
  .settori-hero__lead { width: 100%; max-width: 52ch; }
  .interlude__grid { grid-template-columns: 1fr; gap: 56px; }
  .film-grid { grid-template-columns: 1fr 1fr; }
  .film-strip__head { grid-template-columns: 1fr; gap: 18px; }
  .cta-strip__row { grid-template-columns: 1fr; }
  .cta-strip__cta { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .sector-grid { grid-template-columns: 1fr; }
  .trust__row { grid-template-columns: 1fr 1fr; }
  .trust__cell + .trust__cell { border-left: 0; }
  .trust__cell { border-top: 1px solid var(--ts-line-dim); }
  .trust__cell:nth-child(2) { border-left: 1px solid var(--ts-line-dim); }
  .trust__cell:nth-child(4) { border-left: 1px solid var(--ts-line-dim); }
  .risorse__cards { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-final__inner { grid-template-columns: 1fr; }
  .cta-final__meta { grid-template-columns: 1fr; gap: 18px; }
  .footer__top { grid-template-columns: 1fr; }
  .settori-hero__grid { grid-template-columns: 1fr; }
  .mosaic-row.r-3 { grid-template-columns: 1fr; }
  .mosaic-row.r-3 .cell.img { grid-column: span 1; }
  .mosaic-row.r-4 { grid-template-columns: 1fr 1fr; }
  .film-grid { grid-template-columns: 1fr; }
  .interlude__facts { grid-template-columns: 1fr; }
}

/* =====================================================================
 * DIREZIONE 02 — INDUSTRIALE · retune del sistema tipografico
 * Display: Saira Condensed · Dati/sigle/etichette: IBM Plex Mono · Corpo: Saira
 * Identità Tecnel: niente "titolo bianco + punto rosso" (era marchio DM).
 * ===================================================================== */

/* Titoli condensati: tracking aperto, mai stretto come l'ex Archivo */
h1, h2, h3, h4 { letter-spacing: 0.01em; }
.hero h1,
.sector-card__title, .pillar__title, .res-card__title, .news-card__title,
.mosaic .cell h3, .brands__head h3, .cta-final h2,
.news__head h2, .sectors__head h2 { letter-spacing: 0.012em; }
/* il wordmark a logo era stretto -0.025em: in condensed va azzerato */
.ts-logo__word .name { letter-spacing: 0; }

/* Etichette · sigle · numeri · nav · bottoni → monospace (registro "tech") */
.eyebrow, .btn, .btn-text, .site-nav a, .chip,
.hero__scroll, .hero__side, .sector-card__num, .sector-card__cta,
.trust__num, .trust__label, .pillar__index, .pillar__link,
.res-card__eyebrow, .res-card .meta, .news-card__tag, .news-card__date,
.footer__nav, .footer__col h5, .scene__tab,
.hotspot__tip .t-name, .hotspot__tip .t-sect, .hotspot__btn {
  font-family: var(--font-mono);
}

/* IBM Plex Mono non arriva a 800: normalizza i pesi delle etichette piccole */
.eyebrow, .site-nav a, .chip, .hero__scroll, .hero__side,
.sector-card__num, .sector-card__cta, .trust__label, .pillar__index, .pillar__link,
.res-card__eyebrow, .res-card .meta, .news-card__tag, .news-card__date,
.footer__nav, .footer__col h5, .scene__tab,
.hotspot__tip .t-name, .hotspot__tip .t-sect { font-weight: 500; }
.btn, .btn-text { font-weight: 600; }

/* Numeri-statistica in mono: peso 600, tracking neutro (readout strumentale) */
.trust__num { font-weight: 600; letter-spacing: 0; }

/* =====================================================================
 * HERO · VARIANTE B — poster cinematografico incorniciato (montato)
 * ===================================================================== */
.heroB {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--ts-black);
  isolation: isolate;
  --frame: clamp(20px, 2.4vw, 40px);
  --dur-slow: 600ms;
}
.heroB__bg { position: absolute; inset: 0; z-index: 0; }
.heroB__bg video,
.heroB__bg .poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 42% center;
}
.heroB__bg .poster {
  background-image: url("hero-train.jpg");
  background-size: cover;
  background-position: center center;
  filter: saturate(1.05) contrast(1.05);
}
.heroB__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(270deg, rgba(5,5,5,0.86) 0%, rgba(5,5,5,0.42) 34%, rgba(5,5,5,0.08) 60%, rgba(5,5,5,0.30) 100%),
    radial-gradient(ellipse 90% 85% at 35% 50%, rgba(5,5,5,0) 30%, rgba(5,5,5,0.55) 100%),
    linear-gradient(180deg, rgba(5,5,5,0.72) 0%, rgba(5,5,5,0) 22%, rgba(5,5,5,0) 64%, rgba(5,5,5,0.85) 100%);
}
.heroB__grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.05; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.heroB__frame {
  position: absolute; z-index: 6; pointer-events: none;
  inset: var(--frame);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
}
.heroB__frame::before,
.heroB__frame::after {
  content: ""; position: absolute; width: 26px; height: 26px;
  border: 1.5px solid var(--ts-red);
}
.heroB__frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 16px; }
.heroB__frame::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 16px; }
.heroB__inner {
  position: absolute; inset: var(--frame); z-index: 8;
  padding: clamp(20px, 2.6vw, 40px) clamp(24px, 3.2vw, 52px);
  display: block;
}
.heroB__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.heroB__menu {
  display: inline-flex; flex-direction: column; gap: 6px;
  width: 34px; padding: 6px 0;
}
.heroB__menu span { height: 2px; background: #fff; display: block; }
.heroB__menu span:first-child { width: 34px; }
.heroB__menu span:last-child  { width: 20px; }
.heroB__logo { justify-self: center; display: inline-flex; align-items: center; }
.heroB__logo img { height: 64px; width: auto; display: block; }
.heroB__top-r { justify-self: end; display: inline-flex; align-items: center; gap: 18px; }
.btn-cut {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; padding: 13px 22px;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
  transition: background var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std), color var(--dur-base) var(--ease-std);
}
.btn-cut:hover { background: var(--ts-red); border-color: var(--ts-red); color: #fff; }
.heroB__grip {
  display: inline-flex; gap: 3px; align-items: flex-end; height: 16px;
}
.heroB__grip i { width: 3px; background: rgba(255,255,255,0.6); display: block; }
.heroB__grip i:nth-child(1){ height: 8px; }
.heroB__grip i:nth-child(2){ height: 14px; }
.heroB__grip i:nth-child(3){ height: 6px; }
.heroB__grip i:nth-child(4){ height: 11px; }
.heroB__home {
  position: absolute;
  left: clamp(24px, 3.2vw, 52px); top: clamp(74px, 8vw, 104px);
  font-family: var(--font-mono); font-weight: 600;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #fff;
  padding: 10px 20px; border: 1px solid rgba(255,255,255,0.5);
}
.heroB__rail {
  position: absolute; left: clamp(20px, 2.6vw, 36px);
  top: 50%; transform: translateY(-50%); z-index: 7;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.heroB__vquote {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.heroB__vquote .src {
  display: block; margin-top: 14px;
  font-family: var(--font-mono); font-weight: 500; font-size: 9px;
  letter-spacing: 0.3em; color: var(--ts-red);
}
.heroB__rail-line { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }
.heroB__social { display: flex; flex-direction: column; gap: 16px; }
.heroB__social a {
  width: 18px; height: 18px; color: rgba(255,255,255,0.7);
  transition: color var(--dur-fast) var(--ease-std);
}
.heroB__social a:hover { color: var(--ts-red); }
.heroB__social svg { width: 18px; height: 18px; }
.heroB__circle {
  position: absolute; z-index: 9;
  left: clamp(120px, 17vw, 280px); top: 62%;
  width: clamp(118px, 13vw, 158px); aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px; color: #fff;
  font-family: var(--font-mono); font-weight: 600;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; text-align: center;
  transition: border-color var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std);
}
.heroB__circle::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1.5px solid transparent; border-top-color: var(--ts-red); border-right-color: var(--ts-red);
  transform: rotate(28deg);
  transition: transform var(--dur-slow, 600ms) var(--ease-std);
}
.heroB__circle .play {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  display: inline-flex; align-items: center; justify-content: center;
}
.heroB__circle .play svg { width: 10px; height: 10px; margin-left: 1px; }
.heroB__circle:hover { border-color: var(--ts-red); transform: scale(1.04); }
.heroB__circle:hover::after { transform: rotate(208deg); }
.heroB__copy {
  position: absolute; z-index: 9;
  right: clamp(28px, 4.5vw, 92px); top: 50%; transform: translateY(-50%);
  width: min(560px, 46vw);
  text-align: left;
}
.heroB__credit {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 13px; letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin: 0 0 22px;
}
.heroB__copy h1 {
  margin: 0;
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 5vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: 0.005em;
  color: #fff;
  text-shadow: 0 4px 60px rgba(0,0,0,0.6);
}
.heroB__copy h1 .dot { color: var(--ts-red); }
.heroB__more {
  margin-top: 38px;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-weight: 600;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff;
  padding: 15px 26px; border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
  transition: background var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std), gap var(--dur-base) var(--ease-std);
}
.heroB__more svg { width: 15px; height: 15px; }
.heroB__more:hover { background: var(--ts-red); border-color: var(--ts-red); gap: 20px; }
.heroB__foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 8;
  padding: 0 clamp(24px, 3.2vw, 52px) clamp(20px, 2.6vw, 40px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.heroB__badge { display: inline-flex; align-items: center; gap: 13px; }
.heroB__badge .emblem {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  border: 1px solid var(--ts-yellow);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 11px; color: var(--ts-yellow);
}
.heroB__badge .txt {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.5;
  color: rgba(255,255,255,0.78);
}
.heroB__badge .txt b { color: var(--ts-yellow); font-weight: 600; }
.heroB__legal {
  justify-self: center; text-align: center;
  font-family: var(--font-mono); font-weight: 400;
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.42); max-width: 60ch;
}
.heroB__marks { justify-self: end; display: inline-flex; align-items: center; gap: 14px; }
.heroB__marks span {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 5px 9px; border: 1px solid rgba(255,255,255,0.18);
}
@media (max-width: 1100px) {
  .heroB__circle { left: clamp(40px, 10vw, 120px); top: 66%; }
  .heroB__copy { max-width: 56vw; }
}
@media (max-width: 820px) {
  .heroB__bg video, .heroB__bg .poster { object-position: center center; }
  .heroB__bg .poster { background-position: center center; }
  .heroB__rail, .heroB__circle, .heroB__home { display: none; }
  .heroB__scrim {
    background:
      linear-gradient(180deg, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.2) 30%, rgba(5,5,5,0.55) 70%, rgba(5,5,5,0.92) 100%);
  }
  .heroB__copy {
    position: absolute; right: auto; left: clamp(24px, 6vw, 52px);
    top: auto; bottom: 132px; transform: none; max-width: 88vw;
  }
  .heroB__copy h1 { font-size: clamp(2.6rem, 12vw, 4.6rem); }
  .heroB__foot { grid-template-columns: 1fr; justify-items: start; gap: 12px; }
  .heroB__legal, .heroB__marks { justify-self: start; }
  .heroB__marks { display: none; }
}
@media (max-width: 520px) {
  .heroB__top { grid-template-columns: auto 1fr; }
  .heroB__top-r .btn-cut { display: none; }
  .heroB__logo { justify-self: end; }
}

/* ===== DOC / CATALOG MODAL ===== */
.dm-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.dm-modal.open { display: flex; }
.dm-modal__overlay { position: absolute; inset: 0; background: rgba(5,5,5,0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dm-modal__panel { position: relative; z-index: 1; width: min(520px, 100%); background: var(--ts-ink-3); border: 1px solid var(--ts-line-dark); border-top: 3px solid var(--ts-red); padding: 46px 46px 40px; max-height: calc(100vh - 48px); overflow-y: auto; }
.dm-modal__close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ts-line-dark); color: #fff; transition: border-color var(--dur-fast) var(--ease-std), color var(--dur-fast) var(--ease-std); }
.dm-modal__close:hover { border-color: var(--ts-red); color: var(--ts-red); }
.dm-modal__close svg { width: 16px; height: 16px; }
.dm-modal__eyebrow { font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ts-red); }
.dm-modal__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; color: #fff; margin: 14px 0 8px; line-height: 1.05; letter-spacing: 0.01em; }
.dm-modal__sub { color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.6; margin-bottom: 26px; }
.dm-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.dm-field label { font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.dm-field input, .dm-field select { font-family: var(--font-body); font-size: 0.95rem; color: #fff; background: #0C0C0E; border: 1px solid var(--ts-line-dark); padding: 13px 14px; border-radius: 0; }
.dm-field input:focus, .dm-field select:focus { outline: none; border-color: var(--ts-red); }
.dm-field select { appearance: none; -webkit-appearance: none; }
.dm-modal__actions { margin-top: 24px; }
.dm-modal__actions .btn-cut { width: 100%; justify-content: center; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.dm-modal__note { margin-top: 16px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); line-height: 1.7; }
.dm-modal__success { text-align: center; padding: 16px 0 8px; }
.dm-modal__success .ok { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ts-yellow); color: var(--ts-yellow); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
