@font-face {
  font-family: "Montserrat";
  src: url("./assets/Montserrat-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./assets/Montserrat-Italic-Variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-montserrat: "Montserrat";
  --navy: #052849;
  --deep-navy: #031b34;
  --court-blue: #0878e8;
  --sky: #a5d6ff;
  --electric: #19a8ff;
  --acid: #e5ef00;
  --green: #35ff3e;
  --white: #ffffff;
  --muted: #b8d6ef;
  --rule: rgba(255, 255, 255, 0.2);
  --header-height: 4.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 0.75rem);
  background: var(--deep-navy);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--deep-navy);
  color: var(--white);
  font-family: var(--font-montserrat), Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem clamp(0.9rem, 4vw, 4rem);
  border-bottom: 1px solid var(--rule);
  background: rgba(3, 27, 52, 0.9);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: flex;
  flex: 0 0 clamp(7.5rem, 14vw, 11rem);
  width: clamp(7.5rem, 14vw, 11rem);
  height: 3rem;
  align-items: center;
  overflow: hidden;
}

.site-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.product-nav {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-nav::-webkit-scrollbar {
  display: none;
}

.product-nav a {
  display: grid;
  flex: 0 0 9.75rem;
  min-width: 9.75rem;
  min-height: 2.5rem;
  place-items: center;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.67rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.product-nav a:hover,
.product-nav a:focus-visible {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--deep-navy);
  outline: none;
}

.mobile-menu-toggle,
.mobile-product-nav {
  display: none;
}

.hero {
  --hero-image: url("assets/hero-1920.webp");
  --hero-float: url("assets/hero-sts-float-1920.webp");
  --hero-position: 50% 58%;
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  grid-template-columns: minmax(18rem, 0.9fr) minmax(20rem, 1.1fr);
  grid-template-rows: 1fr auto;
  gap: 2rem clamp(2rem, 7vw, 8rem);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1rem, 5vw, 5.5rem) clamp(2rem, 4vw, 4rem);
  background: #8ba3c2;
  isolation: isolate;
}

/* All widths: the court photograph lives on its own layer (.hero::before) so
   its opacity can be adjusted without fading the product cutout, branding,
   copy, or overlays. Desktop and mobile each set their own layer files and
   opacities; the mobile backplate PNG already carries its fade in its alpha
   channel, so mobile runs the layer at full opacity. */
.hero {
  --hero-background-opacity: 0.45;
  --hero-gradient-opacity: .35;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: var(--hero-image) var(--hero-position) / cover no-repeat;
  opacity: var(--hero-background-opacity);
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 78% 32%, rgba(53, 255, 62, 0.08), transparent 18rem),
    linear-gradient(128deg, rgba(143, 203, 252, 0.44) 0%, rgba(92, 170, 240, 0.38) 32%, rgba(12, 114, 211, 0.32) 56%, rgba(16, 53, 97, 0.4) 83%, rgba(3, 27, 52, 0.52) 100%);
  opacity: var(--hero-gradient-opacity);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  z-index: -1;
  width: 45vw;
  height: 110%;
  top: -5%;
  right: 14%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(3, 27, 52, 0.3), transparent);
  transform: skewX(-16deg);
}

.hero-lockup {
  z-index: 2;
  align-self: start;
  grid-column: 1 / -1;
}

.parent-line {
  margin: 0 0 1.2rem;
  color: var(--navy);
  font-size: clamp(0.62rem, 1vw, 0.78rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-logo-wrap {
  position: relative;
  display: block;
  width: min(100%, 36rem);
}

/* hilo-logo-yellow.png is pre-filled with the acid yellow (#e5ef00), so no
   recolor filter or mask overlay is needed; opacity alone sets the look. */
.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  opacity: .95;
  filter: drop-shadow(0 0.5rem 1.5rem rgba(3, 27, 52, 0.12));
}

/* Product cutout. Same 2400x1600 frame as the hero background, drawn with the
   same cover/position so it stays pixel-aligned with the court at any width.
   Lives inside .hero-lockup so it can sit above the logo + title (z 1) and
   below the description (z 2). Positioned against .hero, so .hero-lockup must
   NOT be position: relative. */
.hero-float {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-float) var(--hero-position) / cover no-repeat;
  filter: drop-shadow(1.2rem 1.6rem 1.4rem rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.hero h1 {
  max-width: none;
  margin: clamp(1rem, 2vw, 1.75rem) 0 0;
  color: #e5ef00;
  font-size: clamp(3.5rem, 8.7vw, 8rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.78;
  text-transform: uppercase;
  text-shadow: 0 0.18rem 1.2rem rgba(3, 27, 52, 0.32);
  white-space: nowrap;
  opacity: .95;
}

.hero-description {
  position: relative;
  z-index: 2;
  max-width: 30rem;
  margin: clamp(1.25rem, 2.5vw, 2rem) 0 0;
  color: var(--white);
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 0.1rem 0.8rem rgba(3, 27, 52, 0.45);
}

/* Hero parallax, all widths. The inline script sets --hero-text-shift on
   .hero while the hero is in view: the lockup text holds still and stops above
   the "View the lineup" link, so the court photo and product cutout appear to
   rise away from it. The photo (.hero::before) and cutout (.hero-float) are
   pixel-aligned to the same frame and are deliberately left untransformed so
   they always move together. Transforms go on the individual text elements
   rather than on .hero-lockup, because a transformed .hero-lockup would become
   the containing block for the absolutely positioned .hero-float. Reduced
   motion disables the effect below. */
.hero-logo-wrap,
.hero h1,
.hero-powered,
.hero-description {
  transform: translate3d(0, var(--hero-text-shift, 0px), 0);
}

.hero-equipment {
  position: absolute;
  z-index: 1;
  width: min(35rem, 45vw);
  aspect-ratio: 1;
  right: 4vw;
  bottom: 0;
  transform: translateY(20%);
  filter: drop-shadow(1.8rem 2rem 1.5rem rgba(0, 0, 0, 0.3));
}

.hero-post {
  position: absolute;
  width: 20%;
  height: 66%;
  left: 39%;
  bottom: 10%;
  border: 0.45rem solid #111922;
  border-radius: 3rem 3rem 1.5rem 1.5rem;
  background: linear-gradient(90deg, #141a20, #4c535a 48%, #10151a);
}

.hero-camera {
  position: absolute;
  width: 44%;
  height: 24%;
  top: 11%;
  left: 29%;
  border: 0.4rem solid #111922;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 80% 50%, #333c43 0 8%, #0c1115 9% 16%, transparent 17%),
    linear-gradient(135deg, #555d64, #151a1f 60%);
  transform: rotate(-8deg);
}

.hero-strap {
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  right: -27%;
  bottom: -32%;
  border: 3.2rem solid #11171d;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.3rem #3d444b;
}

.hero-orbit {
  position: absolute;
  z-index: 3;
  top: 16%;
  left: -5%;
  padding: 0.75rem 2rem;
  border-radius: 999px 10% 999px 10%;
  background: var(--green);
  color: var(--court-blue);
  font-size: clamp(0.62rem, 1.2vw, 0.9rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.01em;
  transform: rotate(-8deg);
}

.hero-scroll {
  z-index: 4;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 1rem;
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  padding: 0.8rem 1.1rem;
  border: 2px solid var(--acid);
  background: var(--acid);
  color: var(--deep-navy);
  font-size: 0.76rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.catalog-heading {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: end;
  gap: 2rem;
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
  background: var(--deep-navy);
}

.catalog-heading p,
.catalog-heading span {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-heading span {
  justify-self: end;
  text-align: right;
}

.catalog-heading h2 {
  margin: 0;
  color: var(--electric);
  font-size: clamp(2rem, 4.7vw, 6.2rem);
  font-style: italic;
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: -0.025em;
  line-height: 0.85;
  text-align: center;
  text-transform: uppercase;
}

.catalog {
  width: min(100%, 100rem);
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 4vw, 4rem) clamp(4rem, 8vw, 8rem);
}

.product-section {
  min-height: min(52rem, calc(100svh - var(--header-height)));
  padding-block: clamp(1rem, 2.5vw, 2rem);
  scroll-margin-top: calc(var(--header-height) + 0.65rem);
}

.product-card {
  display: grid;
  min-height: min(44rem, calc(100svh - var(--header-height) - 2rem));
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  overflow: hidden;
  border: 1px solid var(--rule);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 38%),
    var(--navy);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.25);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.product-section:nth-child(even) .product-card {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.07), transparent 38%),
    #073661;
}

.product-section:target .product-card {
  box-shadow:
    0 0 0 0.35rem var(--acid),
    0 2rem 5rem rgba(0, 0, 0, 0.42);
  transform: translateY(-0.2rem);
}

.product-visual {
  position: relative;
  min-height: 31rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(53, 255, 62, 0.18), transparent 14rem),
    linear-gradient(145deg, var(--sky), var(--court-blue) 58%, #064e98);
}

.product-visual--gallery {
  overflow: clip;
}

.product-visual::after {
  position: absolute;
  width: 46%;
  height: 140%;
  top: -20%;
  right: 6%;
  content: "";
  background: rgba(255, 255, 255, 0.07);
  transform: skewX(-14deg);
  pointer-events: none;
}

.product-index {
  position: absolute;
  z-index: 5;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  pointer-events: none;
}

.product-stage {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 31rem;
  place-items: center;
  isolation: isolate;
}

.product-photo {
  position: absolute;
  z-index: 2;
  display: block;
  width: min(88%, 42rem);
  height: auto;
  max-width: 88%;
  max-height: 84%;
  top: 50%;
  left: 50%;
  object-fit: contain;
  filter: drop-shadow(1.5rem 2rem 1.2rem rgba(0, 0, 0, 0.34));
  transform: translate(-50%, -50%);
}

/* Frames slide horizontally. The inline script animates the incoming and
   outgoing (.is-leaving) frames with the Web Animations API, so no CSS
   transition is declared here. Frames that are neither active nor leaving
   are hidden. */
.product-gallery-frame {
  will-change: transform;
}

.product-gallery-frame:not(.is-active):not(.is-leaving) .product-photo {
  opacity: 0;
  visibility: hidden;
}

.product-stage--trainer .product-gallery-frame--fill .product-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  top: 0;
  left: 0;
  object-fit: cover;
  filter: none;
  transform: none;
}

.product-gallery-arrow {
  position: absolute;
  z-index: 4;
  width: 33.333333%;
  height: 100%;
  top: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--acid);
  font: inherit;
  transform: none;
  touch-action: manipulation;
  cursor: pointer;
}

.product-gallery-arrow--previous {
  left: 0;
}

.product-gallery-arrow--next {
  right: 0;
}

.product-gallery-arrow svg {
  position: absolute;
  width: clamp(1.8rem, 3vw, 2.8rem);
  height: clamp(3.6rem, 6vw, 5.6rem);
  top: 50%;
  fill: none;
  filter: drop-shadow(0 0.2rem 0.4rem rgba(3, 27, 52, 0.5));
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 14;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease;
}

.product-gallery-arrow--previous svg {
  left: 25%;
}

.product-gallery-arrow--next svg {
  left: 75%;
}

.product-gallery-arrow:hover svg,
.product-gallery-arrow:focus-visible svg {
  transform: translate(-50%, -50%) scale(1.12);
}

.product-gallery-arrow:focus-visible {
  border-radius: 999px;
  outline: 0.18rem solid var(--acid);
  outline-offset: -0.1rem;
}

.product-gallery-pause {
  position: absolute;
  z-index: 6;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(3, 27, 52, 0.72);
  color: var(--acid);
  backdrop-filter: blur(0.3rem);
  cursor: pointer;
  touch-action: manipulation;
}

.product-gallery-pause svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

/* Countdown ring: a circular stroke on the round pause button's edge that
   fills clockwise from 12 o'clock over the autoplay interval (the script
   animates stroke-dashoffset 100 -> 0; the SVG is rotated -90deg so the
   circle's path starts at the top). */
.product-gallery-pause svg.product-gallery-timer,
.catalog .product-gallery-pause svg.product-gallery-timer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--acid);
  stroke-width: 8;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  stroke-linecap: butt;
  transform: rotate(-90deg);
  pointer-events: none;
}

.product-gallery-pause__play,
.product-gallery-pause[aria-pressed="true"] .product-gallery-pause__pause {
  display: none;
}

.product-gallery-pause[aria-pressed="true"] .product-gallery-pause__play {
  display: block;
}

.product-gallery-pause:hover,
.product-gallery-pause:focus-visible {
  border-color: var(--acid);
}

.product-gallery-pause:focus-visible {
  outline: 0.18rem solid var(--acid);
  outline-offset: -0.1rem;
}

.product-gallery-pause[hidden] {
  display: none;
}

.product-gallery-count {
  position: absolute;
  z-index: 5;
  bottom: 1.25rem;
  left: 1.25rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(3, 27, 52, 0.72);
  font-size: 0.63rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(0.3rem);
}

.product-stage--fence .product-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  top: 0;
  left: 0;
  object-fit: cover;
  filter: none;
  transform: none;
}

.product-stage--trainer .product-photo,
.product-stage--mini .product-photo {
  width: auto;
  height: 84%;
}

.equipment {
  position: relative;
  z-index: 2;
  width: min(76%, 31rem);
  aspect-ratio: 1.15;
  filter: drop-shadow(1.5rem 2rem 1.2rem rgba(0, 0, 0, 0.38));
}

.equipment-core,
.equipment-arm,
.equipment-ring {
  position: absolute;
  display: block;
  border: 0.35rem solid #111920;
  background: linear-gradient(110deg, #151b21, #4f565c 48%, #11171c);
}

.equipment-core {
  width: 20%;
  height: 58%;
  left: 40%;
  bottom: 8%;
  border-radius: 3rem 3rem 1.2rem 1.2rem;
}

.equipment-arm {
  width: 43%;
  height: 12%;
  left: 47%;
  top: 19%;
  border-radius: 999px;
  transform-origin: left center;
  transform: rotate(-20deg);
}

.equipment-arm::after {
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  top: 50%;
  right: -8%;
  content: "";
  border: 0.3rem solid #111920;
  border-radius: 36%;
  background: #20272d;
  transform: translateY(-50%);
}

.equipment-arm--two {
  display: none;
  left: 10%;
  transform-origin: right center;
  transform: rotate(20deg);
}

.equipment-ring {
  width: 58%;
  aspect-ratio: 1;
  left: 21%;
  bottom: -8%;
  border-width: 2rem;
  border-radius: 50%;
  background: transparent;
}

.equipment-ring--two {
  display: none;
}

.product-stage--mini .equipment {
  width: min(58%, 23rem);
  transform: translateY(8%);
}

.product-stage--mini .equipment-ring {
  border-width: 1.45rem;
}

.product-stage--dual .equipment-arm--two {
  display: block;
}

.product-stage--dual .equipment-core {
  left: 40%;
}

.product-stage--clamp .equipment-core,
.product-stage--clamp .equipment-arm,
.product-stage--rings .equipment-core,
.product-stage--rings .equipment-arm {
  display: none;
}

.product-stage--clamp .equipment-ring {
  width: 85%;
  left: 7.5%;
  bottom: 2%;
  border-width: 3rem;
}

.product-stage--clamp .equipment::after {
  position: absolute;
  z-index: 3;
  width: 34%;
  height: 30%;
  top: 20%;
  left: 33%;
  content: "";
  border: 0.4rem solid #111920;
  border-radius: 1rem;
  background: linear-gradient(135deg, #4e555c, #10161b);
}

.product-stage--rings .equipment-ring {
  width: 54%;
  left: 2%;
  bottom: 10%;
  border: 1.7rem solid #1a2127;
  background: transparent;
  transform: rotateX(58deg);
}

.product-stage--rings .equipment-ring--two {
  display: block;
  left: 42%;
  bottom: 25%;
  border-color: #343c43;
}

.product-stage--rings .equipment::after {
  position: absolute;
  width: 54%;
  aspect-ratio: 1;
  top: 2%;
  left: 23%;
  content: "";
  border: 1.7rem solid #222a31;
  border-radius: 50%;
  transform: rotateX(58deg);
}

.image-status {
  position: absolute;
  z-index: 4;
  bottom: 1.25rem;
  left: 1.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.product-copy {
  display: flex;
  min-width: 0;
  padding: clamp(2rem, 2.5vw, 5rem);
  flex-direction: column;
  justify-content: flex-start;
}

.card-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0;
}

.card-brand img {
  width: min(7.5rem, 62%);
  height: auto;
}

.card-brand span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: right;
}

.category {
  margin: 0 0 1rem;
  color: var(--acid);
  font-size: 0.68rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-copy h2 {
  width: fit-content;
  max-width: 90%;
  margin: 0;
  color: var(--electric);
  font-size: clamp(2.8rem, 5vw, 5.7rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 0.84;
  text-transform: uppercase;
  transform: skewX(-19deg);
  transform-origin: left bottom;
}

.product-name-line {
  display: block;
  /* Shrink-wrap each line so the fit script can measure its true width. */
  width: fit-content;
  white-space: nowrap;
}

.product-name-line--lead {
  font-size: 0.68em;
  line-height: 0.88;
}

.product-name-line--mount {
  margin-top: 0.03em;
  font-size: 1.18em;
  line-height: 0.76;
}

.camera-action-line {
  margin: clamp(1.25rem, 2.5vw, 2rem) 0 0;
  color: var(--white);
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1;
}

.camera-action-line span {
  display: block;
  /* The tagline is one line; the fit script scales it down if needed. */
  width: fit-content;
  white-space: nowrap;
}

.description {
  max-width: 34rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  color: var(--white);
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  font-weight: 600;
  line-height: 1.62;
}

.draft-note {
  width: fit-content;
  margin: 1.5rem 0 0;
  padding: 0.55rem 0.75rem;
  background: var(--acid);
  color: var(--deep-navy);
  font-size: 0.6rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.permalink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 3rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.permalink span {
  padding-bottom: 0.75rem;
}

.permalink span:last-child {
  color: var(--acid);
  font-size: 1.2rem;
}

.permalink:hover,
.permalink:focus-visible {
  border-color: var(--acid);
  outline: none;
}

/* ---------- Request info ---------- */
.request-info {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(20rem, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--rule);
  background:
    radial-gradient(circle at 85% 15%, rgba(53, 255, 62, 0.08), transparent 22rem),
    linear-gradient(160deg, #052849 0%, var(--deep-navy) 60%);
}

.request-kicker {
  margin: 0 0 1rem;
  color: var(--acid);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.request-copy h2 {
  margin: 0;
  color: var(--electric);
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.85;
  text-transform: uppercase;
}

.request-copy > p:last-child {
  max-width: 26rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  font-weight: 600;
  line-height: 1.55;
}

.request-form {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}

.request-form > label,
.request-form .field-row label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.request-form input[type="text"],
.request-form input[type="email"],
.request-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.request-form textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.request-form input::placeholder,
.request-form textarea::placeholder {
  color: rgba(184, 214, 239, 0.5);
}

.request-form input:focus-visible,
.request-form textarea:focus-visible {
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(229, 239, 0, 0.25);
  outline: none;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.chip-label {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  position: relative;
  display: inline-grid;
  min-height: 2.5rem;
  place-items: center;
  padding: 0.55rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.7rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.chip input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chip:hover {
  border-color: var(--sky);
}

.chip:has(input:checked) {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--deep-navy);
}

.chip:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(229, 239, 0, 0.35);
}

.club-field[hidden] {
  display: none;
}

.request-submit {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 1rem;
  justify-self: start;
  margin-top: 0.5rem;
  padding: 0.9rem 1.3rem;
  border: 2px solid var(--acid);
  background: var(--acid);
  color: var(--deep-navy);
  font: inherit;
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

.request-submit:hover,
.request-submit:focus-visible {
  background: transparent;
  color: var(--acid);
  outline: none;
}

.request-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.request-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .request-info {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1rem 3.5rem;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--rule);
  background: #021426;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-parent {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-parent img {
  width: min(11rem, 58vw);
  height: auto;
}

footer p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

footer > a {
  justify-self: end;
  text-underline-offset: 0.25rem;
}

@media (max-width: 900px) {
  :root {
    --header-height: 4.5rem;
  }

  .site-header {
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0.5rem 0.7rem;
  }

  .site-brand {
    flex-basis: 11.5rem;
    width: 11.5rem;
    height: 3.4rem;
  }

  .product-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    min-width: 7rem;
    min-height: 2.65rem;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-left: auto;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: 0.65rem;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .mobile-menu-toggle:focus-visible {
    border-color: var(--acid);
    outline: 2px solid var(--acid);
    outline-offset: 2px;
  }

  .menu-icon {
    display: grid;
    width: 1.1rem;
    gap: 0.2rem;
  }

  .menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .mobile-menu-toggle[aria-expanded="true"] .menu-icon span:first-child {
    transform: translateY(0.4rem) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle[aria-expanded="true"] .menu-icon span:last-child {
    transform: translateY(-0.4rem) rotate(-45deg);
  }

  .mobile-product-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100svh - var(--header-height));
    gap: 0.45rem;
    overflow-y: auto;
    padding: 0.75rem;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--deep-navy);
    box-shadow: 0 1rem 2rem rgba(3, 27, 52, 0.32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.4rem);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .mobile-product-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-product-nav a {
    display: grid;
    min-height: 2.75rem;
    place-items: center;
    padding: 0.65rem 1rem;
    border: 1px solid var(--rule);
    border-radius: 999px;
    font-size: 0.7rem;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.015em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-product-nav a:hover,
  .mobile-product-nav a:focus-visible {
    border-color: var(--acid);
    background: var(--acid);
    color: var(--deep-navy);
    outline: none;
  }

  .hero {
    /* Portrait layer stack (1440x2880 frame): backplate + rig cutout, same
       frame, drawn with the same cover/position so they stay aligned. The
       backplate PNG/WebP carries its ~40% fade in its alpha channel, so the
       layer runs at opacity 1 here rather than the desktop 0.45. */
    --hero-image: url("assets/mobile-hero-backround-sts-960.webp");
    --hero-image: image-set(
      url("assets/mobile-hero-backround-sts-960.webp") 1x,
      url("assets/mobile-hero-backround-sts-1440.webp") 2x
    );
    --hero-float: url("assets/mobile-hero-rig-sts-960.webp");
    --hero-float: image-set(
      url("assets/mobile-hero-rig-sts-960.webp") 1x,
      url("assets/mobile-hero-rig-sts-1440.webp") 2x
    );
    --hero-position: 50% 50%;
    --hero-background-opacity: 1;
    --hero-gradient-opacity: .35;
    min-height: calc(100svh - var(--header-height));
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 1.6rem;
    padding: 2rem 1rem 1.5rem;
  }

  .parent-line {
    margin-bottom: 0.8rem;
  }

  .hero-logo-wrap {
    width: min(86%, 25rem);
  }

  /* Mobile: no skewed translucent gradient band over the hero photo. */
  .hero::after {
    display: none;
  }

  .hero h1 {
    margin-top: 1rem;
    max-width: 100%;
    padding-right: 0.12em;
    font-size: clamp(1.8rem, 8.8vw, 4rem);
    letter-spacing: -0.035em;
    line-height: 0.86;
  }

  .hero-description {
    font-size: 0.85rem;
  }

  .hero-equipment {
    position: relative;
    width: min(28rem, 92vw);
    right: auto;
    bottom: auto;
    justify-self: center;
    transform: translateY(16%);
  }

  .hero-orbit {
    left: 3%;
  }

  .hero-scroll {
    z-index: 6;
    align-self: end;
    grid-row: 3;
  }

  .catalog-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-inline: 1rem;
  }

  .catalog-heading h2 {
    text-align: left;
  }

  .catalog-heading span {
    justify-self: start;
    text-align: left;
  }

  .product-section {
    min-height: 0;
    padding-block: 0.75rem;
  }

  .product-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .product-visual,
  .product-stage {
    min-height: min(100vw, 30rem);
  }

  .product-copy {
    min-height: 31rem;
    justify-content: flex-start;
    padding: 1.25rem 1.35rem 2rem;
  }

  .card-brand {
    padding-bottom: 0;
  }

  .product-copy h2 {
    font-size: clamp(2.5rem, 11vw, 5rem);
  }

  .permalink {
    padding-top: 3rem;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero {
    --hero-image: url("assets/mobile-hero-backround-sts-480.webp");
    --hero-image: image-set(
      url("assets/mobile-hero-backround-sts-480.webp") 1x,
      url("assets/mobile-hero-backround-sts-960.webp") 2x,
      url("assets/mobile-hero-backround-sts-1440.webp") 3x
    );
    --hero-float: url("assets/mobile-hero-rig-sts-480.webp");
    --hero-float: image-set(
      url("assets/mobile-hero-rig-sts-480.webp") 1x,
      url("assets/mobile-hero-rig-sts-960.webp") 2x,
      url("assets/mobile-hero-rig-sts-1440.webp") 3x
    );
  }

  .site-header {
    gap: 0.5rem;
  }

  .mobile-menu-toggle {
    width: 2.9rem;
    min-width: 2.9rem;
    height: 2.9rem;
    min-height: 2.9rem;
    padding: 0;
  }

  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .menu-icon {
    width: 1.3rem;
  }

  .product-gallery-arrow {
    width: 33.333333%;
    height: 100%;
  }

  .product-gallery-arrow--previous {
    left: 0;
  }

  .product-gallery-arrow--next {
    right: 0;
  }

  .product-gallery-arrow svg {
    width: 1.45rem;
    height: 3rem;
    stroke-width: 16;
  }
}


@media (orientation: landscape) and (max-height: 650px) {
  :root {
    --header-height: 3.7rem;
  }

  .site-header {
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding-block: 0.35rem;
  }

  .site-brand {
    flex-basis: 9.5rem;
    width: 9.5rem;
    height: 2.7rem;
  }

  .product-nav {
    display: none;
  }

  .hero {
    min-height: 39rem;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(20rem, 1.1fr);
    grid-template-rows: 1fr auto;
    gap: 1.5rem 3rem;
    padding: 2rem;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 9vw, 6.2rem);
  }

  .hero-equipment {
    position: absolute;
    width: min(31rem, 44vw);
    right: 3vw;
    bottom: 0;
  }

  .product-section {
    min-height: 38rem;
  }

  .product-card {
    min-height: 35rem;
    grid-template-columns: minmax(18rem, 0.95fr) minmax(22rem, 1.05fr);
  }

  .product-visual,
  .product-stage {
    min-height: 35rem;
  }

  .product-copy {
    min-height: 35rem;
    padding: 2rem clamp(2rem, 4vw, 3.5rem);
  }

  .card-brand {
    padding-bottom: 0;
  }

  .product-copy h2 {
    font-size: clamp(2.9rem, 5.8vw, 4.8rem);
  }

  .description {
    margin-top: 1.2rem;
    font-size: 0.92rem;
  }

  .draft-note {
    margin-top: 1rem;
  }

  .permalink {
    padding-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-logo-wrap,
  .hero h1,
  .hero-description {
    transform: none;
  }

  /* 0s, not 0.01ms: elements with "transition: all" otherwise start a tiny
     transition on every size change, and the page scripts that fit text read
     the old size until the next frame (November 4, 2026). */
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
  }
}

/* V2: white product sections and a separate full-width photography gallery. */
body {
  background: var(--white);
}

.catalog-heading {
  grid-template-columns: minmax(0, 1fr);
  /* Equal space above and below the heading: the space below is this
     block's bottom padding plus the first product section's top padding. */
  padding-top: calc(clamp(2rem, 4vw, 4rem) + clamp(1.25rem, 2.5vw, 2.5rem));
  background: var(--white);
}

.catalog-heading h2 {
  color: var(--deep-navy);
}

.catalog-heading p,
.catalog-heading span {
  color: #586b7d;
}

.catalog {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--deep-navy);
}

.catalog .product-section {
  min-height: 0;
  /* Breathing space between sections so adjacent full-bleed photos do not
     read as one image. The page background shows through the gap. */
  padding: clamp(1.25rem, 2.5vw, 2.5rem) 0;
  scroll-margin-top: 0;
}

.catalog .product-card {
  --product-stage-height: clamp(23rem, 34vw, 39rem);
  position: relative;
  display: grid;
  width: min(100%, 72rem);
  height: auto;
  min-height: 0;
  margin: 0 auto;
  grid-template-columns: minmax(0, 30rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.35rem, 4vw, 3rem);
  border: 0;
  isolation: isolate;
  background: var(--white);
  color: var(--deep-navy);
  box-shadow: none;
}

.catalog .product-section:nth-child(even) .product-card {
  background: var(--white);
}

.catalog .product-section:target .product-card {
  box-shadow: none;
  transform: none;
}

.catalog .product-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: var(--product-stage-height);
  min-height: 0;
  overflow: hidden;
  background: none;
}

.catalog .product-stage {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  place-items: center;
  background: none;
  isolation: auto;
}

.catalog .product-visual::after {
  display: none;
}

/* Frame only the occupied part of each supplied wide PNG. These coordinates
   exclude empty transparent margins; the original image files stay intact. */
.catalog .product-stage > picture {
  position: relative;
  display: block;
  width: min(92%, calc(var(--product-stage-height) * var(--cutout-ratio)));
  height: auto;
  min-height: 0;
  aspect-ratio: var(--cutout-ratio);
}

.catalog .product-stage .product-photo {
  position: absolute;
  z-index: 0;
  display: block;
  top: var(--cutout-top);
  left: var(--cutout-left);
  width: var(--cutout-width);
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  filter: none;
  transform: none;
}

.catalog .product-stage--trainer {
  --cutout-ratio: 0.21017328;
  --cutout-width: 1061.702128%;
  --cutout-left: -676.595745%;
  --cutout-top: -6.428172%;
}

.catalog .product-stage--rings {
  --cutout-ratio: 0.78586724;
  --cutout-width: 295.776567%;
  --cutout-left: -146.730245%;
  --cutout-top: -8.029979%;
}

.catalog .product-stage--pivot {
  --cutout-ratio: 1.31622642;
  --cutout-width: 197.133028%;
  --cutout-left: -66.513761%;
  --cutout-top: -29.735849%;
}

.catalog .product-stage--dual {
  --cutout-ratio: 2.12727273;
  --cutout-width: 132.170940%;
  --cutout-left: -18.051282%;
  --cutout-top: -27.927273%;
}

.catalog .product-stage--fence {
  --cutout-ratio: 2.00000000;
  --cutout-width: 100.000000%;
  --cutout-left: 0.000000%;
  --cutout-top: 0.000000%;
}

.catalog .product-copy {
  position: relative;
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 30rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-shadow: none;
  backdrop-filter: none;
}

.catalog .card-brand img {
  width: clamp(8rem, 10vw, 11rem);
  max-width: 70%;
  filter: none;
}

.catalog .product-copy h2 {
  max-width: 100%;
  color: var(--deep-navy);
  font-size: clamp(2.8rem, 4vw, 5rem);
  text-shadow: none;
}

.catalog .camera-action-line {
  margin-top: clamp(1.25rem, 2vw, 1.7rem);
  color: var(--deep-navy);
  font-size: clamp(1.15rem, 1.6vw, 1.65rem);
  text-shadow: none;
}

.catalog .description {
  max-width: 30rem;
  margin-top: clamp(1.25rem, 2vw, 1.7rem);
  color: var(--deep-navy);
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  line-height: 1.65;
  text-shadow: none;
}

.catalog .product-index {
  z-index: 3;
  top: 0;
  right: 0;
  padding: 0.4rem 0;
  border: 0;
  background: none;
  color: #586b7d;
}

.catalog .product-photography {
  width: 100%;
  background: #e7eef1;
}

.catalog .product-photo-gallery {
  position: relative;
  width: 100%;
  height: min(100svh, 50vw);
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

.catalog .product-photo-gallery > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.catalog .product-photo-gallery .product-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  filter: none;
  transform: none;
}

.catalog .product-gallery-arrow {
  z-index: 5;
}

.catalog .product-gallery-count {
  z-index: 6;
  /* Grouped with the pause / previous / next cluster: same baseline, same
     height, immediately left of the pause button, styled like the buttons. */
  right: calc(0.75rem + 2.75rem + 0.5rem);
  bottom: 0.75rem;
  left: auto;
  display: grid;
  height: 2.75rem;
  place-items: center;
  padding: 0 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(3, 27, 52, 0.72);
  color: var(--acid);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  backdrop-filter: blur(0.3rem);
  /* Read-only badge: let taps fall through to the arrow zone beneath it. */
  pointer-events: none;
}

.catalog .product-card--photo {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.catalog .product-card--photo .product-visual {
  height: min(100svh, 50vw);
  aspect-ratio: 2 / 1;
}

.catalog .product-card--photo .product-stage,
.catalog .product-card--photo .product-stage > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.catalog .product-card--photo .product-photo {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#hi-lo-sts .product-photo-gallery .product-photo {
  object-position: center top;
}

#hi-lo-on-court-cam-mount .product-photo-gallery .product-photo,
#hi-lo-dual-on-court-cam-mount .product-photo-gallery .product-photo,
#hi-lo-fence-mount .product-photo-gallery .product-photo,
#hotswap .product-photo-gallery .product-photo {
  object-position: center;
}

/* The third Omni frame is the transparent cutout. Give it a tint sampled
   from the photographs while it is showing so the section stays visually
   separate from the white section below. Inactive frames stay transparent so
   they never cover the photograph beneath them. Update the nth-child index if
   frames are added or reordered. */
#hi-lo-on-court-cam-mount .product-gallery-frame,
#hi-lo-dual-on-court-cam-mount .product-gallery-frame {
  transition: background-color 180ms ease;
}

#hi-lo-on-court-cam-mount .product-gallery-frame:nth-child(3).is-active,
#hi-lo-dual-on-court-cam-mount .product-gallery-frame:nth-child(2).is-active {
  background-color: #a9b39a;
}

/* Merged Omni section: the cutout slides are marked with a class instead of a
   position, so slides can be added or reordered freely. */
#hotswap .product-gallery-frame {
  transition: background-color 180ms ease;
}

#hotswap .product-gallery-frame--cutout.is-active {
  background-color: #a9b39a;
}

#hi-lo-sts .product-gallery-frame:not(.product-gallery-frame--fill) .product-photo {
  object-fit: contain;
  object-position: center;
}

.catalog .product-card--photo .product-copy {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(17rem, 0.85fr) minmax(0, 1.15fr);
  column-gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.35rem, 6vw, 7rem);
}

.catalog .product-card--photo .card-brand,
.catalog .product-card--photo .product-copy h2 {
  grid-column: 1;
}

.catalog .product-card--photo .camera-action-line {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
}

.catalog .product-card--photo .description {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
}

.site-header {
  transition: transform 220ms ease;
}

.site-header--hidden {
  transform: translateY(calc(-100% - 1px));
  pointer-events: none;
}

@media (min-width: 901px) {
  .product-nav a {
    flex: 1 1 0;
    min-width: 0;
  }

  /* Keep each cutout image beside its copy instead of centered in the column. */
  .catalog .product-stage {
    justify-items: start;
  }

  /* Desktop copy panel on the carousel cards. Per the client's diagram
     (October 22, 2026) the panel spans almost the full frame height and about
     42% of its width, with the heading, tagline and description scaled up to
     fill it. Values are percentages of the frame / viewport so the panel keeps
     its proportions at any desktop width. */
  /* One inset for everything that sits on the frame: the copy panel's top,
     bottom and left edges, and the control cluster's right and bottom edges.
     3.5% of a 2:1 frame's height = 1.75vw. */
  .catalog .product-card--photo {
    --frame-inset: clamp(1rem, 1.75vw, 2.25rem);
  }

  #hi-lo-sts .product-copy,
  #hi-lo-on-court-cam-mount .product-copy,
  #hi-lo-dual-on-court-cam-mount .product-copy,
  #hi-lo-fence-mount .product-copy,
  #hotswap .product-copy {
    position: absolute;
    top: var(--frame-inset, 3.5%);
    bottom: var(--frame-inset, 3.5%);
    left: var(--frame-inset, 2.5%);
    display: flex;
    width: 41.5%;
    max-width: none;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
    padding: clamp(1.5rem, 2.6vw, 3.25rem);
    border-radius: 0.3rem;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(0.15rem);
    pointer-events: none;
  }

  #hi-lo-sts .product-copy h2,
  #hi-lo-on-court-cam-mount .product-copy h2,
  #hi-lo-dual-on-court-cam-mount .product-copy h2,
  #hi-lo-fence-mount .product-copy h2,
  #hotswap .product-copy h2 {
    font-size: clamp(3.2rem, 6.4vw, 8rem);
  }

  #hi-lo-sts .product-copy .camera-action-line,
  #hi-lo-on-court-cam-mount .product-copy .camera-action-line,
  #hi-lo-dual-on-court-cam-mount .product-copy .camera-action-line,
  #hi-lo-fence-mount .product-copy .camera-action-line,
  #hotswap .product-copy .camera-action-line {
    margin-top: clamp(1.5rem, 2.4vw, 3rem);
    font-size: clamp(1.6rem, 2.2vw, 2.8rem);
  }

  #hi-lo-sts .product-copy .description,
  #hi-lo-on-court-cam-mount .product-copy .description,
  #hi-lo-dual-on-court-cam-mount .product-copy .description,
  #hi-lo-fence-mount .product-copy .description,
  #hotswap .product-copy .description {
    max-width: none;
    margin-top: clamp(1.5rem, 2.4vw, 3rem);
    font-size: clamp(1.1rem, 1.45vw, 1.8rem);
    line-height: 1.5;
  }
}

@media (max-width: 900px) {
  /* Mobile only: every card (and the usage section) shares one light
     grey-blue block colour, 10% darker than the #e7eef1 gallery tint, so the
     rounded blocks read clearly against the white page. (The earlier
     alternating tint was replaced at the user's request.) The :nth-child(n)
     keeps the specificity above the V2 even-card white rule. */
  .catalog > .product-section:nth-child(n) .product-card,
  .catalog > .usage-section {
    background: #d0d6d9;
  }

  /* Mobile: each section is a bounded, rounded block with a gap around it,
     so a photo and the copy beneath it read as one unit rather than the copy
     attaching to the next section's photo. */
  .catalog .product-section {
    padding: 0.6rem 0.75rem;
  }

  .catalog .product-card {
    overflow: hidden;
    border: 1px solid rgba(5, 40, 73, 0.1);
    border-radius: 0.9rem;
  }

  .catalog .product-card {
    --product-stage-height: clamp(16rem, 72vw, 32rem);
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding: 2.5rem 1.35rem 3.5rem;
  }

  .catalog .product-visual {
    grid-column: 1;
    grid-row: 1;
  }

  .catalog .product-copy {
    grid-column: 1;
    grid-row: 2;
    /* Left-aligned so cutout-card copy lines up with photo-card copy; auto
       margins centered it whenever the column was wider than 30rem. */
    margin-inline: 0;
  }

  .catalog .product-copy h2 {
    font-size: clamp(2.8rem, 9vw, 4.5rem);
  }

  .catalog .product-photo-gallery {
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .catalog .product-card--photo {
    padding: 0;
  }

  .catalog .product-card--photo .product-visual {
    height: auto;
  }

  .catalog .product-card--photo .product-copy {
    display: flex;
    padding: 2.5rem 1.35rem 3.5rem;
  }

  .catalog .product-card--photo .camera-action-line,
  .catalog .product-card--photo .description {
    margin-top: 1.25rem;
  }
}

/* Desktop carousels: the previous/next controls move out of the side thirds
   (where the previous arrow overlapped the copy panel) into a compact pair in
   the lower-right corner, bottom-aligned with the scene tiles and the photo
   counter. Mobile keeps the full-height side arrows for thumb reach. */
@media (min-width: 901px) {
  .catalog .product-gallery-arrow {
    width: 3.5rem;
    height: 3.5rem;
    top: auto;
    bottom: var(--frame-inset, clamp(1rem, 2.5vw, 2.25rem));
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(3, 27, 52, 0.72);
    backdrop-filter: blur(0.3rem);
  }

  .catalog .product-gallery-arrow--previous {
    right: calc(var(--frame-inset, 2rem) + 4rem);
    left: auto;
  }

  .catalog .product-gallery-arrow--next {
    right: var(--frame-inset, 2rem);
  }

  .catalog .product-gallery-pause {
    width: 3.5rem;
    height: 3.5rem;
    right: calc(var(--frame-inset, 2rem) + 8rem);
    bottom: var(--frame-inset, clamp(1rem, 2.5vw, 2.25rem));
  }

  .catalog .product-gallery-count {
    right: calc(var(--frame-inset, 2rem) + 12rem);
    bottom: var(--frame-inset, clamp(1rem, 2.5vw, 2.25rem));
    height: 3.5rem;
    padding: 0 1.5rem;
    font-size: 1rem;
  }

  /* Dual cutout frame: the transparent render is scaled down and right-aligned
     so the product sits clear of the copy panel instead of behind it. The
     frame's tint still covers the whole stage. */
  #hi-lo-dual-on-court-cam-mount .product-gallery-frame:nth-child(2) .product-photo,
  #hotswap .product-gallery-frame--dual-cutout .product-photo {
    left: 31%;
    width: 69%;
    object-fit: contain;
    object-position: right center;
  }

  .catalog .product-gallery-pause svg {
    width: 1.3rem;
    height: 1.3rem;
  }

  /* Chevrons inside the round buttons: 15% shorter than before (1.87rem
     tall), drawn thicker so they keep their weight, without the drop shadow
     (on the navy circle it made them look low), and nudged ~1px toward
     their point so they read as centred in the circle. */
  .catalog .product-gallery-arrow svg {
    --chevron-nudge: 0px;
    position: static;
    width: 0.935rem;
    height: 1.87rem;
    filter: none;
    stroke-width: 19;
    transform: translateX(var(--chevron-nudge));
  }

  .catalog .product-gallery-arrow--previous svg {
    --chevron-nudge: -1px;
  }

  .catalog .product-gallery-arrow--next svg {
    --chevron-nudge: 1px;
  }

  .catalog .product-gallery-arrow:hover svg,
  .catalog .product-gallery-arrow:focus-visible svg {
    transform: translateX(var(--chevron-nudge)) scale(1.15);
  }
}

/* Scene tiles on the Omni carousel: linked thumbnails that jump to the
   Other Uses carousel. Desktop: a row over the lower band of the frame, left
   of the arrow pair, tiles sharing the available width up to 23rem each. The
   nav itself ignores pointer events so it never blocks the arrows; the tiles
   opt back in. Mobile: a grid beneath the photo. */
.scene-tiles {
  position: absolute;
  z-index: 7;
  right: calc(clamp(1.5rem, 8vw, 8rem) + 12.5rem);
  bottom: clamp(1rem, 2.5vw, 2.25rem);
  left: clamp(1.5rem, 8vw, 8rem);
  display: flex;
  gap: clamp(0.5rem, 1vw, 1rem);
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.scene-tile {
  position: relative;
  display: block;
  width: auto;
  max-width: 23rem;
  flex: 1 1 0;
  overflow: hidden;
  pointer-events: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0.3rem;
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 0;
  background: var(--deep-navy);
  box-shadow: 0 0.6rem 1.4rem rgba(3, 27, 52, 0.35);
  color: var(--white);
  text-decoration: none;
  transition: transform 160ms ease, outline-color 160ms ease;
}

.scene-tile:hover,
.scene-tile:focus-visible {
  outline-color: var(--acid);
  transform: translateY(-0.2rem);
}

.scene-tile picture,
.scene-tile img {
  display: block;
  width: 100%;
  height: 100%;
}

.scene-tile img {
  object-fit: cover;
}

.scene-tile span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.4rem 0.75rem 0.55rem;
  background: linear-gradient(180deg, transparent, rgba(3, 27, 52, 0.88));
  font-size: clamp(0.6rem, 0.75vw, 0.8rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  /* Let the visual grow past the 2:1 photo so the tile row sits beneath it.
     The gallery itself keeps its own 2:1 aspect ratio. */
  .catalog .product-card--photo .product-visual--with-tiles {
    height: auto;
    overflow: visible;
    aspect-ratio: auto;
  }

  .scene-tiles {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.75rem 1.35rem 0;
  }

  .scene-tile {
    max-width: none;
    box-shadow: 0 0.3rem 0.8rem rgba(3, 27, 52, 0.2);
  }

  .scene-tile span {
    padding: 1rem 0.55rem 0.4rem;
    font-size: 0.6rem;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .scene-tile {
    transition: none;
  }

  .scene-tile:hover,
  .scene-tile:focus-visible {
    transform: none;
  }
}

/* Usage examples: photographs with captions on an open white canvas. */
.usage-section {
  padding: clamp(3rem, 6vw, 6rem) clamp(1.35rem, 6vw, 7rem);
  background: var(--white);
  color: var(--deep-navy);
}

.usage-inner {
  width: 100%;
  max-width: 110rem;
  margin-inline: auto;
}

.usage-heading {
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.usage-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.8vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.usage-heading p {
  margin: 0.85rem 0 0;
  color: #586b7d;
  font-size: 1rem;
  line-height: 1.5;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.usage-example {
  min-width: 0;
  margin: 0;
}

.usage-example img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.usage-example--game-day img {
  object-position: 40% center;
}

.usage-example figcaption {
  margin-top: 1rem;
  font-size: clamp(0.95rem, 1.2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.45;
}

/* Desktop: give the section the same height as the full-bleed photo cards and
   center its content in that space so it carries the same weight on the page. */
@media (min-width: 901px) {
  .usage-section {
    display: grid;
    min-height: min(100svh, 50vw);
    align-content: center;
  }
}

@media (max-width: 700px) {
  .usage-inner {
    max-width: 32rem;
  }

  .usage-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}

/* Desktop section snapping (October 23, 2026).
   Gentle (proximity) snaps on desktop-sized windows only; phones and short
   landscape phones scroll freely. Each carousel frame is capped at the window
   height minus 3rem so the whole frame, top and bottom, is always visible,
   including a maximized browser on a 1080 monitor (about 900-950px of page),
   and snaps centred with white above and below. No space is reserved for the
   auto-hiding header (scroll-padding-top: 0). */
@media (min-width: 901px) and (min-height: 651px) {
  html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 0;
  }

  .catalog .product-card--photo .product-visual,
  .catalog .product-photo-gallery {
    height: min(calc(100svh - 3rem), 50vw);
    aspect-ratio: auto;
  }

  .usage-section {
    min-height: min(calc(100svh - 3rem), 50vw);
  }

  .hero,
  .request-info {
    scroll-snap-align: start;
  }

  .catalog .product-card--photo,
  .catalog .usage-section {
    scroll-snap-align: center;
  }
}

/* Event slides in the Omni Mount carousel: a heading over a 2x2 photo grid
   on a white slide. The heading uses the copy panel's product-name style
   (navy, 900 italic, uppercase, skewed). On desktop the copy panel fades out
   while an event slide is showing (script adds .is-copy-hidden to the card),
   and the grid stops above the control buttons. */
.catalog .product-photo-gallery > .product-gallery-frame--event {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.4rem;
  padding: 0.5rem 0.6rem;
  background: var(--white);
}

.product-gallery-frame--event:not(.is-active):not(.is-leaving) {
  visibility: hidden;
}

.event-frame__heading {
  margin: 0;
  padding-left: 0.2em;
  color: var(--deep-navy);
  font-size: clamp(1rem, 4.6vw, 1.6rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 0.95;
  text-transform: uppercase;
  white-space: nowrap;
  transform: skewX(-19deg);
  transform-origin: left bottom;
}

.event-grid {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

.event-grid picture {
  display: block;
  min-height: 0;
  overflow: hidden;
  border-radius: 0.3rem;
  background: #d0d6d9;
}

.event-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 901px) {
  .catalog .product-photo-gallery > .product-gallery-frame--event {
    gap: clamp(0.75rem, 1.2vw, 1.5rem);
    padding: var(--frame-inset, 2rem);
    padding-bottom: calc(var(--frame-inset, 2rem) + 3.5rem + 0.9rem);
  }

  .event-frame__heading {
    font-size: clamp(2.4rem, 3.6vw, 4.6rem);
  }

  .event-grid {
    gap: clamp(0.6rem, 1vw, 1.25rem);
  }

  .catalog .product-copy {
    transition: opacity 300ms ease, visibility 300ms ease;
  }

  .catalog .product-card.is-copy-hidden .product-copy {
    opacity: 0;
    visibility: hidden;
  }
}

/* Client feedback, October 24, 2026. */

/* Trademark mark inside headings and copy: smaller and raised so it reads as
   a mark, not a letter. */
.tm {
  font-size: 0.42em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: super;
  line-height: 0;
}

.hero-description .tm {
  font-size: 0.7em;
}


@media (max-width: 900px) {
  /* Phones: the heading never wraps; the page script scales it to fit. */
  .usage-heading h2 {
    white-space: nowrap;
  }
}

/* "Multiple uses." heading: three use lines beneath it. */
.catalog-heading__uses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0;
  margin: clamp(1rem, 1.6vw, 1.75rem) auto 0;
  padding: 0;
  list-style: none;
  color: var(--deep-navy);
  font-size: clamp(1rem, 1.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.catalog-heading__uses li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-heading__uses li + li::before {
  margin: 0 0.8em;
  color: var(--electric);
  content: "•";
}

/* The third use is long enough to wrap on every desktop width, so it takes
   its own line on purpose and drops the leading bullet (November 2, 2026). */
.catalog-heading__uses li:nth-child(3) {
  flex-basis: 100%;
}

.catalog-heading__uses li:nth-child(3)::before {
  display: none;
}

@media (max-width: 700px) {
  .catalog-heading__uses {
    flex-direction: column;
  }

  .catalog-heading__uses li + li::before {
    display: none;
  }
}

/* White divider that introduces the DTL Omni Mount family. */
.family-divider {
  padding: clamp(1.5rem, 2.5vw, 2.5rem) clamp(1.35rem, 6vw, 7rem);
  background: var(--white);
  color: var(--deep-navy);
  text-align: center;
}

/* The divider now follows the STS card instead of the usage section
   (November 2, 2026), so it keeps its own top padding on desktop. It was:
@media (min-width: 901px) {
  .family-divider {
    padding-top: 0;
  }
}
*/

.family-divider__inner {
  max-width: 60rem;
  margin: 0 auto;
}

.family-divider__badge {
  display: inline-block;
  margin: 0 0 clamp(0.9rem, 1.4vw, 1.4rem);
  padding: 0.8rem 2rem 0.9rem;
  border-radius: 999px;
  background: #e0201b;
  color: var(--white);
  font-size: clamp(1.7rem, 2vw, 2.1rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.family-divider__title {
  margin: 0;
  color: var(--deep-navy);
  font-size: clamp(2.2rem, 5vw, 6.2rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.9;
  text-transform: uppercase;
}

.family-divider__tagline {
  margin: clamp(1rem, 1.8vw, 1.75rem) 0 0;
  font-size: clamp(1.4rem, 2.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.family-divider__copy {
  max-width: 42rem;
  margin: clamp(1rem, 1.6vw, 1.5rem) auto 0;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  font-weight: 600;
  line-height: 1.55;
}

/* DTL Omni Mount artwork (user-supplied SVGs in assets). */
.family-divider__title img {
  display: block;
  width: min(100%, 34rem);
  height: auto;
  margin: 0 auto;
}

/* Omni cards: the stacked HOTSWAP_DTL_POD_TEXT.svg (was OMNI_TEXT.svg) is the first name line. Sized in em
   so the copy-fit script scales it with the heading; the heading's skew is
   undone so the artwork stays upright. */
.product-name-line--logo {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.12em;
}

/* "2X" beside the Omni logo on the two dual-Omni slides. Its capitals are
   about as tall as the logo (logo 1.5em; Montserrat caps are about 0.7em, so
   2.14em type), its baseline sits on the logo's bottom edge, and it shifts
   with the logo. Space is always reserved so the copy-fit script sizes the
   heading for it; it only becomes visible while a data-dual slide shows. */
.omni-2x {
  margin-left: 0.08em;
  font-size: 2.14em;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.75;
  opacity: 0;
  visibility: hidden;
  transform: translateX(var(--logo-shift, 0px));
  transition: opacity 300ms ease, visibility 0s 300ms;
}

.product-card.is-dual .omni-2x {
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms ease, visibility 0s;
}

.product-name-line--logo img {
  display: block;
  width: auto;
  height: 1.5em;
  /* --logo-shift is set by the page script to line the logo up with the
     variant line below it. */
  transform: translateX(var(--logo-shift, 0px)) skewX(19deg);
  transform-origin: left bottom;
}


/* Phones: the copy below the photo also hides on the event-grid slides, so
   text appears only with single full images (Joie, October 25, 2026). It is
   hidden with visibility, not display, so the card keeps its height and the
   page does not jump as the carousel advances. */
@media (max-width: 900px) {
  .catalog .product-card .product-copy {
    transition: opacity 300ms ease, visibility 300ms ease;
  }

  .catalog .product-card.is-copy-hidden .product-copy {
    opacity: 0;
    visibility: hidden;
  }
}

/* STS per-slide copy (client edits, November 2, 2026). The gallery script
   shows one .slide-copy block at a time. All blocks share one grid cell, and
   the hidden ones keep their space (visibility, not display), so the copy
   area is always as tall as the longest block and the page does not jump on
   phones as the carousel advances. */
.slide-copy-stack {
  display: grid;
}

.slide-copy-stack > .slide-copy {
  grid-area: 1 / 1;
  min-width: 0;
}

.slide-copy-stack > .slide-copy[hidden] {
  display: block;
  visibility: hidden;
}

.slide-copy__kicker {
  margin: clamp(1.25rem, 2vw, 1.7rem) 0 0;
  color: var(--deep-navy);
  font-size: clamp(0.8rem, 0.9vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.slide-copy__title {
  margin: 0.15em 0 0;
  padding-bottom: 0.2em;
  border-bottom: 3px solid var(--deep-navy);
  color: var(--deep-navy);
  font-size: clamp(1.35rem, 2vw, 2.3rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.catalog .slide-copy--long .description,
.catalog .product-card--photo .slide-copy--long .description {
  margin-top: 0.75em;
}

.slide-copy__list {
  padding-left: 1.2em;
}

.slide-copy__list li + li {
  margin-top: 0.35em;
}

/* The Solution slide: the three tracer frames from the brochure side by side
   on a white slide, each with its brochure caption. On desktop they fill the
   space right of the copy panel and stop above the control buttons. */
.catalog .product-photo-gallery > .product-gallery-frame--sequence {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.5rem 0.6rem;
  /* Court blue, not white, so the slide doesn't wash out into the white gaps
     between the frames (Joie, November 2, 2026). Was var(--white). */
  background: var(--court-blue);
}

.product-gallery-frame--sequence:not(.is-active):not(.is-leaving) {
  visibility: hidden;
}

.sequence-cell {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0.3rem;
  background: #d0d6d9;
}

.sequence-cell picture,
.sequence-cell img {
  display: block;
  width: 100%;
  height: 100%;
}

.sequence-cell img {
  object-fit: cover;
  object-position: 50% 55%;
}

.sequence-cell figcaption {
  position: absolute;
  right: 0.6em;
  bottom: 0.5em;
  left: 0.6em;
  color: var(--white);
  font-size: clamp(0.65rem, 2.4vw, 1rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

@media (min-width: 901px) {
  .catalog .product-photo-gallery > .product-gallery-frame--sequence {
    gap: clamp(0.6rem, 1vw, 1.25rem);
    padding: var(--frame-inset, 2rem);
    padding-bottom: calc(var(--frame-inset, 2rem) + 3.5rem + 0.9rem);
    padding-left: calc(41.5% + var(--frame-inset, 2rem) * 2);
  }

  .sequence-cell figcaption {
    font-size: clamp(0.85rem, 1vw, 1.25rem);
  }

  #hi-lo-sts .product-copy .slide-copy--long .description {
    font-size: clamp(0.95rem, 1.1vw, 1.4rem);
    line-height: 1.45;
  }
}

/* Phones: the photo counter and pause button sit along the bottom of the
   frame, so the tracer captions move to the top of each cell. */
@media (max-width: 900px) {
  .sequence-cell figcaption {
    top: 0.45em;
    bottom: auto;
  }
}

/* Four usage photos (kids' party added November 2, 2026): four across on
   desktop, two by two on tablets; phones stay one column. The party photo's
   square crop shifts right to keep the pergola post and its location label. */
@media (min-width: 701px) and (max-width: 900px) {
  .usage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 901px) {
  .usage-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.usage-example--kids-party img {
  object-position: 68% center;
}

/* Side-by-side Pods slide: the stitched 32:9 frame sits in the copy panel
   under the slide's text, full panel width, with "Stitched video" over it
   (Joie, November 3, 2026). */
.stitch-preview {
  position: relative;
  margin: clamp(1rem, 1.6vw, 1.5rem) 0 0;
}

.stitch-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.3rem;
}

.stitch-preview figcaption {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: clamp(1rem, 2vw, 2rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
  text-transform: uppercase;
  pointer-events: none;
}

/* Phones: each event grid is shown as single-photo slides built by the
   gallery script (data-view="phone"); the 2x2 grid frames (data-view=
   "desktop") are desktop only. Each photo fills the frame, with its
   category and number in a navy pill at the top left (Joie, November 3, 2026). */
@media (min-width: 901px) {
  .product-gallery-frame[data-view="phone"] {
    display: none;
  }
}

@media (max-width: 900px) {
  .product-gallery-frame[data-view="desktop"] {
    display: none;
  }
}

.catalog .product-photo-gallery > .product-gallery-frame--event-photo {
  position: absolute;
  inset: 0;
  background: var(--white);
}

.product-gallery-frame--event-photo:not(.is-active):not(.is-leaving) {
  visibility: hidden;
}

.product-gallery-frame--event-photo picture,
.product-gallery-frame--event-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.product-gallery-frame--event-photo img {
  object-fit: cover;
}

.event-photo__label {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  margin: 0;
  padding: 0.3em 0.75em 0.35em;
  border-radius: 999px;
  background: rgba(3, 27, 52, 0.85);
  color: var(--white);
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

/* Phones: event photo slides were briefly a full-card cover crop (November 3,
   2026); replaced the same day by the full 2:1 photo with the category's copy
   underneath, so the LOCATION arrows stay in view. The rules were:
/ * Phones: an event photo slide covers the whole card, photo area plus the
   copy area below it (empty on these slides), cropped to fit. The gallery
   lets it overflow downward; the card's rounded, overflow-hidden edge clips
   it. --phone-cover-h is set by the gallery script. * /
@media (max-width: 900px) {
  .catalog .product-visual.has-phone-photos,
  .catalog .product-photo-gallery.has-phone-photos {
    overflow: visible;
  }

  .catalog .product-photo-gallery > .product-gallery-frame--event-photo {
    bottom: auto;
    height: var(--phone-cover-h, 100%);
  }
}
*/

/* "Multiple uses." on phones and tablets: centered like desktop (the
   max-width 900px rule above had set it left), Joie, November 3, 2026. */
@media (max-width: 900px) {
  .catalog-heading h2 {
    text-align: center;
  }
}

/* Each use line gets its own leading bullet at every width, replacing the
   separators between them (Joie, November 3, 2026). */
.catalog-heading__uses {
  gap: 0.35rem 1.6em;
}

.catalog-heading__uses li::before,
.catalog-heading__uses li + li::before,
.catalog-heading__uses li:nth-child(3)::before {
  display: inline;
  flex: none;
  margin: 0 0.5em 0 0;
  color: var(--electric);
  content: "•";
}

/* Phones: the three lines stack as a list, the block centered under the
   heading and the lines left-aligned, so wrapped text hangs after its bullet. */
@media (max-width: 700px) {
  .catalog-heading__uses {
    width: fit-content;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .catalog-heading__uses li {
    align-items: baseline;
    justify-content: flex-start;
  }

  .catalog-heading__uses li + li::before {
    display: inline;
  }
}

/* STS card: the Hi-Lo logo and "STS" on one line (Joie, November 4, 2026).
   The logo keeps its earlier size, about 39% of the panel's text width; the
   page script sizes STS so its capitals match the logo's height, and the
   baselines line up (the logo image's bottom edge is its baseline). */
.sts-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
}

.catalog .sts-title-row .card-brand {
  flex: none;
  width: 39%;
  margin: 0;
}

.catalog .sts-title-row .card-brand img {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

.catalog .sts-title-row h2 {
  flex: none;
  max-width: none;
}

/* STS slide 2 (the tracer photos): the panel's bottom edge lines up with the
   bottom of the three photos, which stop above the control buttons. The
   script sets data-active-copy on the card for the slide showing. */
@media (min-width: 901px) {
  #hi-lo-sts .product-copy {
    transition: bottom 300ms ease;
  }

  /* All STS slides now use this bottom edge, not just slide 2: the client's
     copy doesn't need the full height (Joie, November 4, 2026). */
  #hi-lo-sts .product-copy {
    bottom: calc(var(--frame-inset, 2rem) + 3.5rem + 0.9rem);
  }
}

/* STS slides 2 and 3 (Problem, Solution): no "Record. Review. Refine.
   Repeat." tagline; the slide's copy moves up into its place (Joie,
   November 4, 2026). */
#hi-lo-sts .product-card[data-active-copy="problem"] .camera-action-line,
#hi-lo-sts .product-card[data-active-copy="solution"] .camera-action-line {
  display: none;
}

/* STS desktop text box (Joie, November 4, 2026): every slide's copy uses the
   Problem slide's size (they had varied: the short slides used the larger
   default description size), and the box narrows from 41.5% to 34% of the
   slide width now that the client's copy is in. The tracer photos on slide 2
   start right of the narrower box. */
@media (min-width: 901px) {
  /* 25% of the slide (Joie), but never under 22rem, so the Problem and
     Solution copy stays readable on narrow desktop windows (25% rules from
     1408px wide up). Was 34%, before that 41.5%. The logo / STS line now
     scales to fill the text width (script). */
  #hi-lo-sts .product-copy {
    width: max(25%, 22rem);
  }

  #hi-lo-sts .product-copy .slide-copy .description {
    font-size: clamp(0.95rem, 1.1vw, 1.4rem);
    line-height: 1.45;
  }

  #hi-lo-sts .product-photo-gallery > .product-gallery-frame--sequence {
    padding-left: calc(max(25%, 22rem) + var(--frame-inset, 2rem) * 2);
  }
}

/* STS copy: a second paragraph sits 0.75em below the first on every slide,
   as on the Problem slide (slide 1 now has two paragraphs). */
#hi-lo-sts .slide-copy .description + .description {
  margin-top: 0.75em;
}

@media (min-width: 901px) {
  /* Narrow desktop windows (under 1280px): the 25% box would squeeze the
     Problem and Solution copy to about 9px, so the box is 40% there. */
  @media (max-width: 1279px) {
    #hi-lo-sts .product-copy {
      width: 40%;
    }

    #hi-lo-sts .product-photo-gallery > .product-gallery-frame--sequence {
      padding-left: calc(40% + var(--frame-inset, 2rem) * 2);
    }
  }

  /* The STS box's white fades from its earlier 45% at the left edge to 5%
     at the right (Joie, November 4, 2026). */
  #hi-lo-sts .product-copy {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.05));
  }
}

/* STS lettering matches the Hi-Lo logo beside it: #102849, sampled from
   hilo-logo-midnight-tm.png (was --deep-navy #031b34). Joie, November 4, 2026. */
#hi-lo-sts .product-copy h2 {
  color: #102849;
}

/* HOTSWAP DTL POD desktop text box: copy at the same size as the STS box
   (Joie, November 4, 2026); was the larger default description size,
   clamp(1.1rem, 1.45vw, 1.8rem). Box width unchanged (41.5%) pending review. */
@media (min-width: 901px) {
  #hotswap .product-copy .slide-copy .description {
    font-size: clamp(0.95rem, 1.1vw, 1.4rem);
    line-height: 1.45;
  }
}

#hotswap .slide-copy .description + .description {
  margin-top: 0.75em;
}

/* NEW intro: paragraphs after the first sit closer together (the copy is
   now three short paragraphs, November 4, 2026). */
.family-divider__copy + .family-divider__copy {
  margin-top: 0.6em;
}

/* HOTSWAP DTL Pod desktop text box matches the STS box (Joie, November 4,
   2026): same width (25%, never under 22rem; 40% under 1280px wide), same
   raised bottom edge, and the same white fade, 45% at the left to 5% at the
   right. Was 41.5% wide, full height, flat 45% white. */
@media (min-width: 901px) {
  #hotswap .product-copy {
    width: max(25%, 22rem);
    bottom: calc(var(--frame-inset, 2rem) + 3.5rem + 0.9rem);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.05));
  }

  @media (max-width: 1279px) {
    #hotswap .product-copy {
      width: 40%;
    }
  }
}

/* STS and HOTSWAP text boxes: the gaps logo → tagline → first paragraph are
   half what they were (Joie, November 4, 2026: "too spaced out"). Desktop was
   clamp(1.5rem, 2.4vw, 3rem) for both; phones 1.25rem. */
@media (min-width: 901px) {
  #hi-lo-sts .product-copy .camera-action-line,
  #hotswap .product-copy .camera-action-line,
  #hi-lo-sts .slide-copy > .description:first-child,
  #hotswap .slide-copy > .description:first-child {
    margin-top: clamp(0.75rem, 1.2vw, 1.5rem);
  }
}

@media (max-width: 900px) {
  #hi-lo-sts .product-copy .camera-action-line,
  #hotswap .product-copy .camera-action-line,
  #hi-lo-sts .slide-copy > .description:first-child,
  #hotswap .slide-copy > .description:first-child {
    margin-top: 0.625rem;
  }
}

/* HOTSWAP category headings (REC SPORTS, WEDDINGS…) start at the photos'
   left edge: no 0.2em inset (Joie, November 4, 2026). The heading is slanted
   from its bottom-left corner, so its baseline lines up with the grid. */
.event-frame__heading {
  padding-left: 0;
}

/* Light text for dark photos (Joie, November 4, 2026). A slide whose frame
   carries data-copy-tone="light" passes it to its card: on desktop
   the box takes a navy tint with the same 45%-to-5% fade, and the logos,
   tagline, copy and 2X turn white. Phones keep dark text (their copy sits
   below the photo, on grey). */
@media (min-width: 901px) {
  #hi-lo-sts .product-card[data-copy-tone="light"] .product-copy,
  #hotswap .product-card[data-copy-tone="light"] .product-copy {
    background: linear-gradient(to right, rgba(3, 27, 52, 0.45), rgba(3, 27, 52, 0.05));
  }

  .catalog .product-card[data-copy-tone="light"] .product-copy h2,
  .catalog .product-card[data-copy-tone="light"] .product-copy .camera-action-line,
  .catalog .product-card[data-copy-tone="light"] .product-copy .description,
  .catalog .product-card[data-copy-tone="light"] .product-copy .slide-copy__kicker,
  .catalog .product-card[data-copy-tone="light"] .product-copy .slide-copy__title,
  .catalog .product-card[data-copy-tone="light"] .product-copy .omni-2x {
    color: var(--white);
  }

  .catalog .product-card[data-copy-tone="light"] .product-copy .slide-copy__title {
    border-bottom-color: var(--white);
  }

  .catalog .product-card[data-copy-tone="light"] .product-copy .card-brand img,
  .catalog .product-card[data-copy-tone="light"] .product-copy .product-name-line--logo img {
    filter: brightness(0) invert(1);
  }
}

/* Busy photos (HOTSWAP slides 2, 4 and 6: volleyball, wedding, backboard):
   data-copy-tone="whiter" keeps the dark text and raises the box's left side
   from 45% to 75% white, still fading to 5% on the right (Joie, November 4,
   2026). */
@media (min-width: 901px) {
  #hi-lo-sts .product-card[data-copy-tone="whiter"] .product-copy,
  #hotswap .product-card[data-copy-tone="whiter"] .product-copy {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.05));
  }
}

/* HOTSWAP stitched-video slide (desktop): the box goes back to its original
   41.5% width so the stitched frame inside reads at a useful size (Joie,
   November 4, 2026). Logos, 2X, tagline and copy keep their sizes: the page
   script sizes them against the standard box ([data-fitting] is set only
   while it measures). */
@media (min-width: 901px) {
  #hotswap .product-card[data-active-copy="stitch"]:not([data-fitting]) .product-copy {
    width: 41.5%;
  }
}

/* Weddings grid: the Pods photo spans the left column, both rows; the two
   remaining photos stack on the right (Joie, November 5, 2026). */
.event-grid__feature {
  grid-row: 1 / span 2;
}

/* HOTSWAP text logo with "Pat. Pend." (Joie, November 5, 2026). The new
   artboard is 353.29 x 281.92; the HOTSWAP/DTL/POD lettering runs from
   y 5.13 to 250.81 and Pat. Pend. sits below it. The image grows from 1.5em
   to 1.76em so the lettering (245.68 units) matches the 2X capitals
   (2.14em x 0.717 = 1.534em). The 2X lifts by the strip under POD
   (31.11 units = 0.194em, 0.09em in the 2X's own size) so its baseline sits
   on POD's bottom edge again. */
#hotswap .product-name-line--logo img {
  height: 1.76em;
}

#hotswap .omni-2x {
  transform: translate(var(--logo-shift, 0px), -0.09em);
}

.hero-powered {
  position: relative;
  margin: 1rem 0 0;
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
