/* Home hero from the slides document (inc/hero.php). A layer over home.css: the frame, the video slide and the breakpoints
   stay as they are there (phone: picture 4:3, text under it; 768-1199: picture 16:7; 1200+: picture behind, text on the left). */

/* ---------- Frame ---------- */
.hs .hero-copy { pointer-events: none; }
/* Only the text itself takes the pointer: the empty part of the text column lets it through to the picture (13.11: on "Your boat"
   the column, empty on wider screens, covered the panels and hovering them did nothing). */
.hs .slide-text.on { pointer-events: none; }
.hs .slide-text.on > * { pointer-events: auto; }
.hs .slide-media.t-hotspots, .hs .slide-media.t-photo, .hs .slide-media.t-shop, .hs .slide-media.t-tss { container-type: size; }
.hero.hs .hero-arrow { display: none; } /* the named tabs and the keyboard move the slides; arrows sat on the content */
.hs-pv { position: absolute; top: 12px; right: 12px; z-index: 5; margin: 0; padding: 6px 10px; background: var(--red); color: #fff; }
.hs-flag { display: inline-block; margin-bottom: 14px; padding: 5px 8px; background: var(--ink); color: #fff; }
.slide-text.dark .hs-flag { background: #fff; color: var(--ink); }

/* ---------- Slide bar: names instead of dots ---------- */
.hs .hero-controls .wrap { gap: 6px; padding-bottom: 6px; }
.hs-tabs { display: flex; gap: 0 22px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; flex: 0 1 auto; min-width: 0; scroll-behavior: smooth; }
.hs-tabs::-webkit-scrollbar { display: none; }
.hero.hs .hero-dot.hs-tab { width: auto; height: auto; flex: 0 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 9px; min-width: 56px; padding: 12px 0 10px; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink-soft); transition: color .2s; }
.hero.hs[data-on] .hero-dot span { height: auto; background: none; }
.hero.hs .hs-tab-l { display: block; font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; white-space: nowrap; line-height: 1.2; }
.hero.hs[data-on] .hero-dot .hs-bar { display: block; height: 2px; background: rgba(10,14,20,.14); position: relative; overflow: hidden; }
.hero.hs .hs-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red); }
.hero.hs .hs-tab[aria-selected="true"] { color: var(--ink); }
.hero.hs .hs-tab[aria-selected="true"]:not(.on) .hs-bar i { width: 100%; }
.hero.hs .hs-tab:hover { color: var(--ink); }
.hero.hs .hs-tab.is-preview .hs-tab-l::after { content: ' *'; color: var(--red); }
.hero.hs[data-on] .hero-pause { color: var(--ink); flex: 0 0 auto; }

/* ---------- Text blocks shared by several types ---------- */
.hs-chips-l { color: var(--ink-soft); margin-bottom: 10px; }
.hs-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 20px; }
.hs-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); background: #fff; color: var(--ink); font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; white-space: nowrap; }
.hs-chip:hover { border-color: var(--ink); }
.hs-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.hs-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hs-ask { align-self: center; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hs-ask:hover { color: var(--red); }
.hs-fine { margin-top: 14px; max-width: 46ch; font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.hs-motor-row { margin-bottom: 0; align-items: center; gap: 12px 20px; }

.t-motor .hero-sub, .t-motor .hs-fine { display: none; }

/* ---------- B. Kick-Back as a technical card ---------- */
.bp-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(10,14,20,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(10,14,20,.055) 1px, transparent 1px); background-size: 28px 28px; background-position: center; }
/* Centered without transform: a transform makes an isolated layer and multiply would leave the photo's white square. */
.bp-box { position: absolute; top: 6%; bottom: 6%; left: calc(50% - 34.1vw); aspect-ratio: 1100 / 1065; }
.bp-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bp-dot { position: absolute; left: calc(var(--x) * 100% - 7px); top: calc(var(--y) * 100% - 7px); width: 14px; height: 14px; border: 2px solid var(--red); border-radius: 50%; background: rgba(245,242,236,.7); transform: scale(0); transition: transform .4s cubic-bezier(.34,1.56,.64,1) var(--d, .5s); }
.bp-dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--red); }
.slide-media.on .bp-dot { transform: none; }
.bp-line, .bp-tag { display: none; }
.bp-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: -12px 0 24px; padding-top: 14px; border-top: 1px solid var(--rule); }
.bp-specs li { display: flex; flex-direction: column; gap: 2px; }
.bp-specs b { font-size: 24px; line-height: 1; }
.bp-specs span { font-size: 12px; line-height: 1.35; color: var(--ink-soft); }
.t-blueprint .hero-sub { display: none; }

/* ---------- C. Photos: cover frame that keeps points on their spot; slow camera move ---------- */
.hs-frame { position: absolute; left: 50%; top: 50%; width: max(100cqw, calc(100cqh * var(--arp))); aspect-ratio: var(--arp); transform: translate(-50%, -50%); }
.hs-frame img { width: 100%; height: 100%; object-fit: cover; }
.hs .hs-frame img.kb { animation: none; }
.slide-media.on .hs-frame { animation: hsKen 18s ease-out forwards; }
@keyframes hsKen { from { transform: translate(-50%, -50%) scale(1); } to { transform: translate(-50.6%, -50.4%) scale(1.07); } }
@keyframes hpPulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- F. Shop figures ---------- */
.hs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: -12px 0 24px; border-top: 1px solid var(--rule); }
.hs-stat { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px 0 0; }
.hs-stat b { font-size: 26px; line-height: 1; }
.hs-stat .mono { font-size: 9px; color: var(--ink-soft); line-height: 1.4; }
a.hs-stat:hover b { color: var(--red); }
.t-shop .hero-sub { display: none; }




/* ---------- Phone and tablet: the text sits on cream under the picture ---------- */
@media (max-width: 1199px) {
  .hs .cta-ghost.on-dark { background: #fff; color: var(--ink); border-color: var(--rule); }
}
@media (max-width: 767px) {
  /* every slide's text stays within the video slide's height, so the hero is not taller than before */
  .t-tss .hero-sub { display: none; }
  .hs-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .t-blueprint .cta-row, .t-tss .cta-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .t-blueprint .cta-row > *, .t-tss .cta-row > * { padding: 15px 8px; font-size: 14px; text-align: center; white-space: nowrap; }
  .hs .mb-8 { margin-bottom: 24px; }
}

/* ---------- 768 to 1199: picture 16:7 over the text ---------- */
@media (min-width: 768px) {
  .hs-frame { width: max(100cqw, calc(100cqh * var(--ar))); aspect-ratio: var(--ar); }
  .bp-box { left: calc(50% - 19.9vw); }
  .hs-chips { display: flex; flex-wrap: wrap; }
  .hs-brands { display: flex; }
  .t-motor .hero-sub, .t-hotspots .hero-sub, .t-shop .hero-sub { display: block; }
}

/* ---------- 1200+: picture behind, text on the left ---------- */
@media (min-width: 1200px) {
  .t-motor .hs-fine { display: block; }
  .hs-chips { margin-bottom: 24px; }

  .bp-grid { -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 55%); mask-image: linear-gradient(90deg, transparent 30%, #000 55%); }
  .bp-box { left: 47%; transform: none; top: 11%; bottom: 13%; }
  .bp-line { display: block; position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); height: 1px; width: calc((1 - var(--x)) * 100% + 30px); background: rgba(10,14,20,.45); transform-origin: left center; transform: scaleX(0); transition: transform .55s cubic-bezier(.16,1,.3,1) calc(var(--d, .5s) + .15s); }
  .bp-tag { display: flex; flex-direction: column; gap: 3px; position: absolute; left: calc(100% + 40px); top: calc(var(--y) * 100%); transform: translate(-8px, -50%); width: 190px; opacity: 0; transition: opacity .4s calc(var(--d, .5s) + .45s), transform .5s cubic-bezier(.16,1,.3,1) calc(var(--d, .5s) + .45s); }
  .bp-tag b { font-size: 30px; line-height: 1; letter-spacing: -.03em; }
  .bp-tag span { font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.45; }
  .slide-media.on .bp-line { transform: scaleX(1); }
  .slide-media.on .bp-tag { opacity: 1; transform: translate(0, -50%); }
  .bp-specs { display: none; }
  .t-blueprint .hero-sub { display: block; }



  .slide-text.tone-red .c-red { color: rgba(255,255,255,.85); }
  .slide-text.tone-red .hero-sub { color: rgba(255,255,255,.85); }
  .slide-text.tone-red .cta-primary { background: #fff; color: var(--red); }
  .slide-text.tone-red .cta-primary:hover { background: var(--ink); color: #fff; }
  .slide-text.tone-red .trust { color: rgba(255,255,255,.7); }

  .slide-text.dark .hs-chip { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
  .slide-text.dark .hs-chip:hover { border-color: #fff; }
  .slide-text.dark .hs-chips-l, .slide-text.dark .hs-stat .mono { color: rgba(255,255,255,.6); }
  .slide-text.dark .hs-stats, .slide-text.dark .hp-list { border-color: rgba(255,255,255,.2); }

  .hero.hs[data-tone="dark"] .hs-tab, .hero.hs[data-tone="red"] .hs-tab { color: rgba(255,255,255,.6); }
  .hero.hs[data-tone="dark"] .hs-tab[aria-selected="true"], .hero.hs[data-tone="red"] .hs-tab[aria-selected="true"],
  .hero.hs[data-tone="dark"] .hs-tab:hover, .hero.hs[data-tone="red"] .hs-tab:hover { color: #fff; }
  .hero.hs[data-tone="dark"] .hero-dot .hs-bar, .hero.hs[data-tone="red"] .hero-dot .hs-bar { background: rgba(255,255,255,.3); }
  .hero.hs[data-tone="red"] .hs-bar i { background: #fff; }
  .hero.hs[data-tone="dark"] .hero-pause, .hero.hs[data-tone="red"] .hero-pause { color: #fff; }
  .hs .hero-controls .wrap { padding-bottom: 14px; }
}

/* 1200 to 1439: the Kick-Back card is smaller, so the callouts keep inside the screen */
@media (min-width: 1200px) and (max-width: 1439px) {
  .bp-box { top: 15%; bottom: 21%; left: 45%; }
  .bp-tag { width: 165px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide-media.on .hs-frame, .hp-dot::after { animation: none !important; }
  .bt-p.open img { transform: none; }
  .mt-img img, .bt-p, .bt-p img, .bt-cap, .bt-v, .ts-card, .bp-dot, .bp-line, .bp-tag, .pr-card, .pr-big, .hp-c { transition: none !important; }
}

.hs .slide-media.t-motor, .hs .slide-media.t-blueprint, .hs .slide-media.t-boats { background: var(--hero-cream); }

/* ---------- A. Start with your motor: picture and answer in the container's grid, so nothing runs off on wide screens ---------- */
.mt-stage { position: absolute; inset: 0; }
.mt-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s cubic-bezier(.16,1,.3,1), visibility .45s; }
.mt-panel.on { opacity: 1; visibility: visible; }
.mt-in { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0 16px; padding: 6% 16px; }
.mt-img { height: 100%; min-height: 0; background: var(--hero-cream); isolation: isolate; }
.mt-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transform: translateY(10px) scale(.97); opacity: 0; transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .5s; }
.mt-panel.on .mt-img img { transform: none; opacity: 1; }
.mt-info { min-width: 0; }
.mt-for { color: var(--ink-soft); margin-bottom: 8px; }
.mt-name { font-size: 22px; line-height: 1.05; margin-bottom: 6px; }
.mt-name a:hover { color: var(--red); }
.mt-price { font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 700; font-size: 18px; color: var(--red); }
.mt-line, .mt-also, .mt-rest { display: none; }

/* ---------- D. TS&S in its own colors ---------- */
.hero.hs { transition: background-color .6s; }
.hero.hs[data-tone="tss"] { background: var(--tss-black); }
.hs .slide-media.t-tss { background: var(--tss-black); }
.ts-in { position: absolute; inset: 0; }
.ts-photo { position: absolute; inset: 0; overflow: hidden; }
.ts-photo .ts-ph { width: 100%; height: 100%; object-fit: cover; }
.slide-media.on .ts-photo .ts-ph { animation: kenBurns 18s ease-out forwards; }
.ts-cards { display: none; }
.slide-text.tone-tss, .slide-text.tone-tss .display { color: #fff; }
.slide-text.tone-tss .hero-sub { color: rgba(255,255,255,.75); }
.slide-text.tone-tss .c-red { color: var(--red-on-dark); }
.slide-text.tone-tss .trust, .slide-text.tone-tss .hs-chips-l { color: rgba(255,255,255,.55); }
.slide-text.tone-tss .hs-chip { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.slide-text.tone-tss .hs-chip:hover { border-color: #fff; }
.hs .slide-text.tone-tss .cta-ghost.on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.hero.hs[data-tone="tss"] .hs-tab { color: rgba(255,255,255,.6); }
.hero.hs[data-tone="tss"] .hs-tab[aria-selected="true"], .hero.hs[data-tone="tss"] .hs-tab:hover { color: #fff; }
.hero.hs[data-tone="tss"][data-on] .hero-dot .hs-bar { background: rgba(255,255,255,.25); }
.hero.hs[data-tone="tss"][data-on] .hero-pause { color: #fff; }

/* ---------- F. The shop: a short silent loop over its poster ---------- */
.hs-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.hs-vid.on { opacity: 1; }
.slide-media.on .hs-frame.has-vid { animation: none; }


.hs .slide-media.t-promo { background: var(--ink); overflow: hidden; }

@media (min-width: 768px) {
  .mt-in { padding: 5% 6%; gap: 0 40px; }
  .mt-name { font-size: 28px; }
  .mt-price { font-size: 22px; }
  .mt-line { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-soft); max-width: 40ch; }
}

@media (min-width: 1200px) {
  .mt-in { max-width: 1480px; margin: 0 auto; padding: 72px 40px 88px; grid-template-columns: 44% minmax(0, 1fr) minmax(250px, 300px); gap: 0 40px; }
  .mt-img { grid-column: 2; max-height: 440px; align-self: center; }
  .mt-info { grid-column: 3; }
  .mt-name { font-size: 30px; }
  .mt-also { display: block; color: var(--ink-soft); margin: 20px 0 6px; }
  .mt-rest { display: block; border-top: 1px solid rgba(10,14,20,.12); }
  .mt-rest a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(10,14,20,.12); font-size: 14px; }
  .mt-rest a:hover { color: var(--red); }
  .mt-rest b { font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; white-space: nowrap; }

  .ts-in { max-width: 1480px; margin: 0 auto; padding: 64px 40px 88px; display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 0 56px; }
  .ts-photo, .ts-cards { grid-column: 2; grid-row: 1; }
  .ts-photo { position: relative; inset: auto; }
  .ts-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,31,29,.85) 0%, rgba(23,31,29,0) 45%); }
  .ts-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-self: end; margin: 0 20px 20px; position: relative; z-index: 1; }
  .ts-cards-l { grid-column: 1 / -1; color: rgba(255,255,255,.7); margin-bottom: 2px; }
  .ts-card { display: flex; align-items: center; gap: 10px; padding: 8px; background: #fff; color: var(--ink); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--d, 0s), transform .6s cubic-bezier(.16,1,.3,1) var(--d, 0s); }
  .slide-media.on .ts-card { opacity: 1; transform: none; }
  .ts-card:hover b { color: var(--red); }
  .ts-card-img { flex: 0 0 52px; height: 52px; background: var(--hero-cream); isolation: isolate; }
  .ts-card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
  .ts-card-t { display: flex; flex-direction: column; min-width: 0; }
  .ts-card-t b { font-size: 12px; line-height: 1.25; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ts-card-t span { font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 700; color: var(--red); font-size: 15px; }
  .t-tss .hero-sub { display: block; }


}

/* ---------- Preview marks stay out of the flow: they never make the hero taller ---------- */
.hs .slide-text { position: relative; }
.hs .slide-text > .hs-flag { position: absolute; left: 0; bottom: 100%; margin: 0 0 10px; white-space: nowrap; }

/* ---------- D. TS&S head: the logo on the eyebrow's line ---------- */
.ts-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ts-logo { flex: 0 0 auto; width: 44px; height: 44px; }
.ts-head .mono { margin: 0; }

/* ---------- C. Points on the photo, cards always shown (lines drawn by hero.js) ---------- */
.hs-frame.is-still, .slide-media.on .hs-frame.is-still { animation: none; }
.hs-frame .hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hp { position: absolute; left: calc(var(--px) * 100%); top: calc(var(--py) * 100%); width: 44px; height: 44px; margin: -22px 0 0 -22px; z-index: 3; }
.hp-dot { position: absolute; inset: 9px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; box-shadow: 0 0 0 4px rgba(255,255,255,.35), 0 2px 10px rgba(0,0,0,.35); }
.hp-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: hpPulse 2.4s ease-out infinite; }
@keyframes hpPulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.hp.is-wait .hp-dot { background: var(--red); color: #fff; }
.hp-list { list-style: none; padding: 0; display: flex; flex-direction: column; margin: -12px 0 24px; border-top: 1px solid var(--rule); }
.hp-list a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.hp-list b { margin-left: auto; font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; }
.hp-list em { font-style: normal; color: var(--red); font-size: 9px; }
.hp-n2 { flex: 0 0 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; border-radius: 50%; }
.t-hotspots .hero-sub { display: none; }

/* ---------- G. Built for your boat: three panels across the whole hero ---------- */
.bt-acc { position: absolute; inset: 0; display: flex; gap: 3px; background: var(--ink); }
.bt-p { position: relative; display: block; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--ink); opacity: 0; transition: flex-grow .7s cubic-bezier(.16,1,.3,1), opacity .6s var(--d, 0s); }
.slide-media.on .bt-p { opacity: 1; }
.bt-p.open { flex-grow: 2.2; }
.bt-p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 4.5s cubic-bezier(.25,.1,.25,1); }
.bt-p.open img { transform: scale(1.08); } /* the slow camera move while a panel is open */
.bt-p::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,20,.85) 0%, rgba(10,14,20,.35) 40%, rgba(10,14,20,0) 70%); }
.bt-v { position: absolute; left: 50%; bottom: 14px; z-index: 1; color: #fff; font-size: 16px; white-space: nowrap; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); transition: opacity .3s; }
.bt-p.open .bt-v { opacity: 0; }
.bt-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .45s cubic-bezier(.16,1,.3,1); }
.bt-p.open .bt-cap { opacity: 1; transform: none; transition-delay: .2s; }
.bt-cap b { display: block; font-size: 20px; line-height: 1; }
.bt-cap span { display: none; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.88); margin-top: 8px; max-width: 34ch; }
.bt-go { display: inline-block; margin-top: 10px; padding: 8px 12px; background: var(--red); color: #fff; font-style: normal; font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; font-size: 13px; }
.bt-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.bt-list a { display: flex; flex-direction: column; gap: 2px; padding: 12px 24px 12px 0; border-bottom: 1px solid var(--rule); position: relative; }
.bt-list a::after { content: '\2192'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--red); }
.bt-list b { font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-size: 18px; font-weight: 600; }
.bt-list span { font-size: 13px; color: var(--ink-soft); }

/* ---------- H. Campaign slot: plates fanned out over a large discount ---------- */
.hs .slide-media.t-promo { background: var(--ink); overflow: hidden; }
.pr-in { position: absolute; inset: 0; }
.pr-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46%); font-size: 52vw; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--red); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 1s .2s, transform 1.4s cubic-bezier(.16,1,.3,1) .2s; }
.slide-media.on .pr-big { opacity: 1; transform: translate(-50%, -50%); }
.pr-fan { position: absolute; inset: 8% 4%; }
.pr-card { position: absolute; top: 50%; left: 50%; width: 34%; display: flex; flex-direction: column; padding: 8px 8px 10px; background: var(--hero-cream); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.55); transform: translate(-50%, -50%) rotate(var(--r, 0deg)) translate(var(--tx, 0), var(--ty, 0)); transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.pr-card:hover, .pr-card:focus-visible { transform: translate(-50%, -50%) rotate(0deg) translate(var(--tx, 0), calc(var(--ty, 0px) - 10px)) scale(1.04); z-index: 4; box-shadow: 0 28px 60px rgba(0,0,0,.6); }
.pr-fan.n3 .pr-c0 { --r: -9deg; --tx: -78%; --ty: 6%; z-index: 1; }
.pr-fan.n3 .pr-c1 { --r: 2deg; --tx: 0%; --ty: -6%; z-index: 3; }
.pr-fan.n3 .pr-c2 { --r: 10deg; --tx: 80%; --ty: 9%; z-index: 2; }
.pr-fan.n2 .pr-c0 { --r: -6deg; --tx: -42%; --ty: 3%; z-index: 1; }
.pr-fan.n2 .pr-c1 { --r: 7deg; --tx: 42%; --ty: -3%; z-index: 2; }
.pr-img { display: block; aspect-ratio: 1; isolation: isolate; background: var(--hero-cream); }
.pr-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pr-n { margin-top: 5px; font-size: 10px; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.pr-tag { position: absolute; right: -10px; top: 8px; display: flex; flex-direction: column; align-items: flex-end; padding: 5px 8px; background: var(--red); color: #fff; transform: rotate(6deg); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.pr-tag s { font-size: 10px; opacity: .8; }
.pr-tag b { font-size: 17px; line-height: 1; }
.pr-count { display: flex; gap: 6px; margin: -8px 0 24px; }
.pr-count span { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 9px 6px 7px; background: var(--ink); color: #fff; }
.pr-count b { font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.pr-count i { font-style: normal; font-size: 9px; color: rgba(255,255,255,.6); margin-top: 5px; }

@media (min-width: 768px) {
  .hp { left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); }
  .t-hotspots .hero-sub { display: block; }
  .bt-cap span { display: block; }
  .bt-cap b { font-size: 26px; }
  .bt-cap { left: 20px; right: 20px; bottom: 20px; }
  .bt-v { font-size: 20px; bottom: 20px; }
  .bt-list { display: none; }
  .pr-card { width: 22%; }
  .pr-n { font-size: 11px; }
  .pr-tag b { font-size: 22px; }
  .pr-tag s { font-size: 12px; }
}

@media (min-width: 1200px) {
  .bt-cap { left: 28px; right: 28px; bottom: 96px; }
  .bt-cap b { font-size: 34px; }
  .bt-v { font-size: 22px; bottom: 96px; }
  .pr-in { left: 44%; }
  .pr-big { font-size: min(560px, 34vw); }
  .pr-fan { inset: 12% 6% 16%; }
  .pr-card { width: min(250px, 17vw); }
  .slide-text.dark .pr-count span { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); }
  .slide-text.dark .hp-list { border-color: rgba(255,255,255,.2); }
}

/* ---------- Height: no slide makes the hero taller than the old one at any width (Egor 12.11) ---------- */
.t-motor .hero-sub { display: none !important; }
@media (min-width: 768px) and (max-width: 1199px) {
  .t-motor .hs-fine, .t-shop .hero-sub, .t-promo .hero-sub, .t-tss .hs-brands, .t-hotspots .hero-sub { display: none; } /* 13.11: On the water got buttons */
  .t-blueprint .trust, .t-photo .trust { display: none; }
  .bp-specs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ts-head { margin-bottom: 10px; }
  .ts-logo { width: 36px; height: 36px; }
}
/* the left card of the fan wears its price on the left: the middle card covers its right corner */
.pr-fan .pr-c0 .pr-tag { right: auto; left: -10px; align-items: flex-start; transform: rotate(-6deg); }

/* ---------- C. Points: each card next to its point, all shown from 1024 px; a numbered list below that ---------- */
.hp-c { display: none; }
@media (max-width: 1023px) { .t-hotspots .hp-list { display: flex; } }
/* 13.11: with its buttons On the water stays as low as the old hero at 768-1023: the three points side by side (the text is full width there) */
@media (min-width: 768px) and (max-width: 1023px) {
  .t-hotspots .hp-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; }
  .t-hotspots .hp-list li { min-width: 0; }
}
@media (min-width: 1024px) {
  .t-hotspots .hp-list { display: none; }
  .hp-c { position: absolute; z-index: 1; display: flex; align-items: center; gap: 8px; width: 172px; padding: 7px; background: #fff; color: var(--ink); text-align: left; box-shadow: 0 8px 24px rgba(10,14,20,.4); transition: box-shadow .25s; }
  .hp:hover .hp-c, .hp:focus-visible .hp-c { box-shadow: 0 0 0 2px #fff, 0 10px 28px rgba(10,14,20,.5); }
  .hp-c.is-wait { box-shadow: 0 0 0 2px var(--red), 0 8px 24px rgba(10,14,20,.4); }
  .side-left .hp-c { right: calc(100% + 12px); top: 50%; transform: translateY(calc(-50% + var(--shift, 0px))); }
  .side-right .hp-c { left: calc(100% + 12px); top: 50%; transform: translateY(calc(-50% + var(--shift, 0px))); }
  .side-below .hp-c { top: calc(100% + 12px); left: 50%; transform: translateX(calc(-50% + var(--shift, 0px))); }
  .side-above .hp-c { bottom: calc(100% + 12px); left: 50%; transform: translateX(calc(-50% + var(--shift, 0px))); }
  /* the pointer: from the dot's edge to the card */
  .hp::before { content: ''; position: absolute; background: #fff; box-shadow: 0 0 3px rgba(0,0,0,.4); }
  .side-left.hp::before { right: calc(100% - 9px); top: 50%; width: 21px; height: 2px; margin-top: -1px; }
  .side-right.hp::before { left: calc(100% - 9px); top: 50%; width: 21px; height: 2px; margin-top: -1px; }
  .side-below.hp::before { top: calc(100% - 9px); left: 50%; height: 21px; width: 2px; margin-left: -1px; }
  .side-above.hp::before { bottom: calc(100% - 9px); left: 50%; height: 21px; width: 2px; margin-left: -1px; }
  .hp-img { flex: 0 0 44px; height: 44px; background: var(--hero-cream); isolation: isolate; }
  .hp-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
  .hp-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
  .hp-l { color: var(--ink-soft); font-size: 8.5px; }
  .hp-n { font-size: 11.5px; line-height: 1.2; font-weight: 600; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .hp-p { font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 700; color: var(--red); font-size: 14px; }
  .hp-wait { color: var(--red); font-size: 8.5px; }
}
@media (min-width: 1200px) { .hp-c { width: 188px; padding: 8px; } .hp-img { flex-basis: 48px; height: 48px; } }
@media (min-width: 768px) and (max-width: 1023px) { .t-hotspots .hero-sub { display: none; } } /* the numbered list takes its place */
