/* ==========================================================================
   TDR Industries Group — site stylesheet
   --------------------------------------------------------------------------
   Everything shared across pages lives here: the base type scale, the site
   header and footer, the article sub-nav, and the image slots.
   Page-specific layout still lives in inline styles on each page.
   ========================================================================== */

:root {
  --red: #E10600;
  --ink: #111111;
  --ink-2: #383838;
  --ink-3: #6B6B6B;
  --ink-4: #9A9A9A;
  --line: #E5E5E5;
  --line-soft: #F0EFEC;
  --paper: #FFFFFF;
  --paper-2: #F6F6F4;

  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  /* Height of the whole header (utility strip + bar). Used by the immersive
     hero to tuck itself under a transparent header, and by the dropdown
     panels to align to the bottom edge of the header. */
  --nav-util-h: 32px;
  --nav-bar-h: 64px;
  --nav-h: 96px;
  --gutter: clamp(24px, 4.5vw, 56px);
}

/* --------------------------------------------------------------- base ---- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  animation: pagefade 0.5s ease both;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

img, svg, video { max-width: 100%; }

::selection { background: var(--red); color: #FFFFFF; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pagefade { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ------------------------------------------------- hover helper classes ---
   The design export carried hover styles as inline attributes; they are
   collected here so hover is real CSS. Add one of these classes to any
   element that should pick up the same behaviour. */

.hv-red { transition: color 0.2s ease; }
.hv-red:hover { color: var(--red); }

.hv-underline { transition: border-color 0.2s ease; }
.hv-underline:hover { border-bottom-color: var(--red) !important; }

.hv-lift { transition: transform 0.35s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.6, 0.2, 1); }
.hv-lift:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(17, 17, 17, 0.08); color: var(--ink); }

.hv-row { transition: background 0.2s ease, color 0.2s ease; }
.hv-row:hover { background: var(--paper-2); color: var(--red); }

/* Card / arrow micro-interactions carried over from the design. */
[data-card-frame] > *,
[data-card-frame] > .img-slot { transition: transform 0.45s cubic-bezier(0.2, 0.6, 0.2, 1); }
[data-card]:hover [data-card-frame] > * { transform: scale(1.05); }
[data-card] [data-card-title] { transition: color 0.2s ease; }
[data-card]:hover [data-card-title] { color: var(--red); }
[data-arrow] [data-arrow-i] { display: inline-block; transition: transform 0.2s ease; }
[data-arrow]:hover [data-arrow-i] { transform: translateX(5px); }

/* --------------------------------------------------------- image slots ---
   Every picture on the site is an .img-slot. Drop a file into /images with
   the slot's name (see images/README.md) and it appears. Until then a
   labelled placeholder is shown instead of a broken image. */

.img-slot { display: block; background: #EFEEEB; }
.img-slot[data-fit="cover"] { object-fit: cover; }
.img-slot[data-fit="contain"] { object-fit: contain; }
.img-slot[data-shape="circle"] { border-radius: 50%; }

.img-slot--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  background:
    repeating-linear-gradient(
      -45deg,
      #F4F3F0 0 12px,
      #EFEEEB 12px 24px
    );
  border: 1px dashed #D6D4CF;
  color: var(--ink-4);
  overflow: hidden;
}
.img-slot--empty .img-slot__name {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: #8A8781;
  word-break: break-all;
}
.img-slot--empty .img-slot__note {
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.5;
  color: #A9A69F;
}
/* In tight slots there is no room for the description. */
.img-slot--empty[data-compact="true"] .img-slot__note { display: none; }

/* The immersive hero carries the transparent, white-ink header on top of it.
   Until a photo is dropped in, the placeholder has to be dark enough for that
   header to stay readable. */
.hero-immersive .img-slot--empty {
  background: repeating-linear-gradient(-45deg, #2B2A28 0 14px, #232221 14px 28px);
  border-color: #3A3937;
}
.hero-immersive .img-slot--empty .img-slot__name { color: #9C9892; }
.hero-immersive .img-slot--empty .img-slot__note { color: #7E7A75; }

/* ================================================================ header == */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  font-family: var(--sans);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  transition: background 0.2s ease, border-color 0.2s ease;

  --nav-ink: var(--ink);
  --nav-ink-util: #555555;
  --nav-ink-faint: #9A9A9A;
  --nav-divider: var(--line);
  --nav-util-border: var(--line-soft);
}

.site-nav.is-scrolled { border-bottom-color: var(--line); }

/* Transparent treatment over a full-bleed hero, until the page is scrolled
   past it or a menu is opened. */
.site-nav[data-overlay="true"]:not(.is-past-hero):not(.is-open) {
  background: rgba(255, 255, 255, 0);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(0, 0, 0, 0);

  --nav-ink: #FFFFFF;
  --nav-ink-util: rgba(255, 255, 255, 0.88);
  --nav-ink-faint: rgba(255, 255, 255, 0.6);
  --nav-divider: rgba(255, 255, 255, 0.4);
  --nav-util-border: rgba(255, 255, 255, 0.22);
}

/* ---- utility strip ---- */

.site-nav__util {
  height: var(--nav-util-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 0 var(--gutter);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  overflow: hidden;
  border-bottom: 1px solid var(--nav-util-border);
  transition: height 0.25s ease, opacity 0.2s ease;
}
.site-nav.is-scrolled .site-nav__util { height: 0; opacity: 0; }

.site-nav__lang { display: flex; align-items: center; gap: 8px; }
.site-nav__lang b { color: var(--nav-ink); font-weight: 600; }
.site-nav__lang i { font-style: normal; color: var(--nav-ink-faint); }
.site-nav__lang s { text-decoration: none; color: var(--nav-ink-util); cursor: default; }
.site-nav__util a { color: var(--nav-ink-util); }
.site-nav__util a:hover { color: var(--red); }

/* ---- main bar ---- */

.site-nav__bar {
  position: relative;
  height: var(--nav-bar-h);
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 44px);
  padding: 0 var(--gutter);
}

.site-nav__brand { display: flex; align-items: center; gap: 16px; flex: none; }
.site-nav__brand a { display: flex; align-items: center; }
.site-nav__logo img { height: 30px; width: auto; display: block; }
.site-nav__logo .logo--light { display: none; }
.site-nav[data-overlay="true"]:not(.is-past-hero):not(.is-open) .site-nav__logo .logo--dark { display: none; }
.site-nav[data-overlay="true"]:not(.is-past-hero):not(.is-open) .site-nav__logo .logo--light { display: block; }

.site-nav__divider { width: 1px; height: 16px; background: var(--nav-divider); }

.site-nav__hpz {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--nav-ink-util);
  transition: color 0.2s ease;
}
.site-nav__hpz:hover { color: var(--red); }

.site-nav__spacer { flex: 1; }

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  min-width: 0;
}

.site-nav__primary {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 30px);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav__secondary {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border-left: 1px solid var(--nav-divider);
  padding-left: clamp(16px, 2vw, 30px);
}
.site-nav__secondary a { color: var(--nav-ink-util); padding: 22px 0; transition: color 0.2s ease; }
.site-nav__secondary a:hover { color: var(--red); }

.nav-item { display: flex; }

.nav-item__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 21px 0;
  color: var(--nav-ink);
  border-bottom: 2px solid rgba(0, 0, 0, 0);
  margin-bottom: -2px;
  transition: color 0.2s ease;
}
.nav-item__link:hover { color: var(--red); }

.nav-item__caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4.5px solid var(--nav-ink-faint);
  transform: translateY(1px);
}

/* Active section marker — driven by data-active on .site-nav. */
.site-nav[data-active="company"] .nav-item__link[data-section="company"],
.site-nav[data-active="innovation"] .nav-item__link[data-section="innovation"],
.site-nav[data-active="responsibility"] .nav-item__link[data-section="responsibility"],
.site-nav[data-active="hpz"] .nav-item__link[data-section="hpz"] {
  color: var(--red);
  border-bottom-color: var(--red);
}
.site-nav[data-active="newsroom"] .site-nav__secondary a[data-section="newsroom"],
.site-nav[data-active="media"] .site-nav__secondary a[data-section="media"],
.site-nav[data-active="careers"] .site-nav__secondary a[data-section="careers"] {
  color: var(--red);
}

/* ---- mega menu panels ---- */

.nav-panel {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 48px 80px rgba(17, 17, 17, 0.09);
  z-index: 55;
  display: none;
}
.site-nav.is-scrolled .nav-panel { top: var(--nav-bar-h); }
.nav-item.is-open > .nav-panel { display: block; animation: menuIn 0.28s cubic-bezier(0.2, 0.6, 0.2, 1) both; }

.nav-panel__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px var(--gutter) 44px;
  display: grid;
  grid-template-columns: minmax(150px, 200px) minmax(260px, 1.3fr) minmax(240px, 320px);
  gap: clamp(22px, 2.6vw, 44px);
  align-items: start;
  white-space: normal;
}

.nav-panel__eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-panel__blurb { margin: 18px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); max-width: 30ch; }
.nav-panel__overview {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.nav-panel__overview:hover { color: var(--red); }

.nav-panel__links { display: flex; flex-direction: column; gap: 2px; }
.nav-panel__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  transition: color 0.2s ease;
}
.nav-panel__links a:hover { color: var(--red); }
.nav-panel__links span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: normal;
}
.nav-panel__links svg { flex: none; opacity: 0.3; }

.nav-panel__feature { display: block; border-left: 1px solid var(--line); padding-left: clamp(20px, 2.5vw, 32px); }
.nav-panel__feature-frame { height: 300px; overflow: hidden; }
.nav-panel__feature-frame > * { width: 100%; height: 100%; }
.nav-panel__feature-meta {
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---- mobile ---- */

.site-nav__toggle {
  display: none;
  flex: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--nav-ink);
}
.site-nav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.site-nav.is-open .site-nav__toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-nav.is-open .site-nav__toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open .site-nav__toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-item__expand { display: none; }

@media (max-width: 1100px) {
  .site-nav__util { display: none; }
  .site-nav { --nav-util-h: 0px; --nav-h: 64px; }
  .site-nav__toggle { display: block; }
  .site-nav__spacer { display: none; }

  /* The header's backdrop-filter makes it the containing block for fixed
     children, so the drawer is sized explicitly rather than with bottom: 0. */
  .site-nav__menu {
    position: fixed;
    top: var(--nav-bar-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-bar-h));
    height: calc(100dvh - var(--nav-bar-h));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 48px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-nav.is-open .site-nav__menu { display: flex; }

  .site-nav__primary,
  .site-nav__secondary {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    white-space: normal;
    border-left: none;
    padding-left: 0;
  }
  .site-nav__secondary { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
  .site-nav__secondary a { padding: 16px 0; color: var(--ink); font-size: 16px; }

  .nav-item { display: block; position: relative; border-bottom: 1px solid var(--line); }
  .nav-item__link {
    padding: 16px 48px 16px 0;
    font-size: 16px;
    color: var(--ink);
    border-bottom: none;
    margin-bottom: 0;
  }
  .nav-item__caret { display: none; }

  .nav-item__expand {
    display: block;
    position: absolute;
    top: 4px;
    right: 0;
    width: 44px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink-3);
  }
  .nav-item__expand::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin: 0 auto;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.25s ease;
  }
  .nav-item.is-open .nav-item__expand::after { transform: rotate(225deg) translate(-2px, -2px); }

  .nav-panel {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--line-soft);
    animation: none;
  }
  .nav-item.is-open > .nav-panel { display: block; animation: none; }
  .nav-panel__inner { display: block; padding: 4px 0 20px; }
  .nav-panel__blurb,
  .nav-panel__overview,
  .nav-panel__feature { display: none; }
  .nav-panel__eyebrow { display: none; }
  .nav-panel__links a { padding: 12px 0; }
  .nav-panel__links span { font-size: 15px; font-family: var(--sans); font-weight: 500; }

  /* The drawer is always on paper, so keep the overlay treatment off it. */
  .site-nav.is-open { background: rgba(255, 255, 255, 0.98); }
}

/* ======================================================= article sub-nav == */

.article-nav {
  position: sticky;
  /* The collapsed header is the bar plus two hairline borders. */
  top: calc(var(--nav-bar-h));
  z-index: 40;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(252, 251, 250, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #ECEAE6;
  font-family: var(--sans);
}

.article-nav__crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
}
.article-nav__crumbs a { color: var(--ink-3); }
.article-nav__crumbs a:hover { color: var(--red); }
.article-nav__sep { color: #C9C7C2; }
.article-nav__here { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

.article-nav__right { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); }
.article-nav__menu { display: flex; align-items: center; }

.article-nav__button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.article-nav__button::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4.5px solid var(--red);
  transform: translateY(0.5px);
}

.article-nav__list {
  position: absolute;
  top: 100%;
  right: clamp(16px, 4vw, 48px);
  min-width: 320px;
  max-width: min(440px, calc(100vw - 32px));
  padding: 12px 0;
  background: var(--paper);
  border: 1px solid #ECECEA;
  box-shadow: 0 32px 64px rgba(17, 17, 17, 0.1);
  z-index: 45;
  display: none;
  flex-direction: column;
}
.article-nav__menu.is-open .article-nav__list { display: flex; animation: menuIn 0.24s cubic-bezier(0.2, 0.6, 0.2, 1) both; }

.article-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 24px;
  font-size: 14px;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease;
}
.article-nav__list a:hover { background: var(--paper-2); color: var(--red); }
.article-nav__list a.is-current { color: var(--red); font-weight: 600; }
.article-nav__list b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  color: var(--red);
  flex: none;
}

.article-nav__contact { font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.article-nav__contact:hover { color: var(--red); }
.article-nav__rule { width: 1px; height: 14px; background: var(--line); }

.article-nav__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width 0.08s linear;
  pointer-events: none;
}

@media (max-width: 700px) {
  .article-nav__crumbs a, .article-nav__sep { display: none; }
  .article-nav__contact, .article-nav__rule { display: none; }
}

/* ====================================================== newsroom filters == */

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(48px, 6vw, 64px);
}
.news-filter {
  padding: 10px 0 14px;
  margin-bottom: -1px;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(0, 0, 0, 0);
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.news-filter:hover { color: var(--ink); }
.news-filter.is-active { color: var(--red); border-bottom-color: var(--red); }

/* ================================================================ footer == */

.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  font-family: var(--sans);
}
.site-footer__inner { max-width: 1280px; margin: 0 auto; padding: clamp(64px, 8vw, 104px) var(--gutter) 0; }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(40px, 5vw, 42px);
  align-items: start;
}
.site-footer__about { display: flex; flex-direction: column; gap: 20px; }
.site-footer__about img { height: 15px; width: auto; align-self: flex-start; }
.site-footer__about p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-3); max-width: 260px; }
.site-footer__col { display: flex; flex-direction: column; gap: 14px; }
.site-footer__col h2 {
  margin: 0 0 4px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.site-footer__col a { font-size: 14.5px; }
.site-footer__base {
  margin-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.site-footer__copy { font-size: 13px; color: var(--ink-4); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; }
.site-footer__legal a { color: var(--ink-3); }

.stickobject {position: sticky; top: 116px;}


/* ====================================== responsive repairs for page body == */
/* The design was laid out for a wide viewport; these keep every page
   readable down to a phone without touching the page markup. */

@media (max-width: 900px) {
  [style*="grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr)"],
  [style*="grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)"],
  [style*="grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr)"],
  [style*="grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr)"],
  [style*="grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr)"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1.1fr 0.9fr"],
  [style*="grid-template-columns: 0.9fr 1.1fr"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  /* Keep the hero image inside its own viewport on tablets and phones.
     The previous negative offset made the image extend past the right edge. */
  .hero-immersive {
    overflow: hidden;
  }

  .hero-immersive img.img-slot {
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    /* The motorcycle sits on the right side of the source image. Positioning
       that area at the centre keeps it visible on narrow phone screens. */
    object-position: 75% center;
  }
.stickobject {position: static;}
.nvhide {display:none;}

}

@media (max-width: 600px) {
  /* Mobile homepage: use a dedicated square hero asset, followed by the
     content panel. This intentionally replaces the desktop overlay layout. */
  .hero-immersive {
    height: auto !important;
    min-height: 0 !important;
    margin-top: calc(-1 * var(--nav-h));
    overflow: visible;
    background: #ffffff;
  }

  .hero-immersive__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .hero-immersive__media .img-slot {
    position: relative !important;
    inset: auto !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
  }

  .hero-immersive__shade {
    height: 150px !important;
  }

  .hero-immersive__content {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(32px, 9vw, 48px) 24px !important;
    border: 10px solid rgba(17, 17, 17, 0.85);
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: none !important;
  }

  .hero-immersive__content h1 {
    font-size: clamp(40px, 11vw, 56px) !important;
  }

  .hero-immersive__content p {
    font-size: 16px !important;
  }

  /* HPZ: make the wide storefront image a deliberate square composition on
     phones, keeping the TDR signage in the crop. Desktop retains its layout. */
  .hpz-store-hero {
    height: auto !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .hpz-store-hero__image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: 78% center;
  }

  [style*="grid-template-columns: repeat(2,"],
  [style*="grid-template-columns: repeat(3,"],
  [style*="grid-template-columns: repeat(4,"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Tables and wide blocks never push the page sideways. */
table { display: block; max-width: 100%; overflow-x: auto; }
