:root {
  --blue: #155da8;
  --blue-deep: #073763;
  --aqua: #27c1df;
  --aqua-soft: #dff8ff;
  --yellow: #ffd64a;
  --yellow-deep: #edb93a;
  --ink: #172033;
  --muted: #637286;
  --surface: #f6fbfd;
  --line: rgba(20, 63, 94, 0.15);
  --shadow: 0 18px 42px rgba(5, 35, 65, 0.16);
  --chat-keyboard-offset: 0px;
  --chat-visual-height: 100dvh;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--surface) 48%, #ffffff 100%);
}

body {
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  min-height: 80px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 10px 5vw;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 35, 70, 0.46), rgba(10, 94, 139, 0.26)),
    rgba(8, 54, 93, 0.22);
  border-bottom: 1px solid rgba(255, 214, 74, 0.38);
  box-shadow:
    0 18px 48px rgba(5, 35, 65, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  transition:
    min-height 260ms ease,
    padding 260ms ease,
    gap 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
  will-change: min-height, padding;
}

body.nav-compact .site-nav {
  min-height: 58px;
  padding: 6px 4vw;
  background:
    linear-gradient(90deg, rgba(4, 35, 70, 0.72), rgba(10, 94, 139, 0.42)),
    rgba(8, 54, 93, 0.64);
  box-shadow:
    0 14px 34px rgba(5, 35, 65, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14);
}

.live-nav-throbber {
  position: fixed;
  z-index: 1400;
  top: 80px;
  left: 0;
  right: 0;
  height: 4px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(0);
  background: rgba(255, 214, 74, 0.2);
  box-shadow: 0 2px 12px rgba(39, 193, 223, 0.26);
  transition:
    opacity 160ms ease,
    top 260ms ease;
}

.live-nav-throbber.is-visible {
  opacity: 1;
}

.live-nav-throbber::before,
.live-nav-throbber::after {
  content: "";
  position: absolute;
  top: 0;
  width: 34%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 74, 1), rgba(39, 193, 223, 1), transparent);
  box-shadow: 0 0 18px rgba(39, 193, 223, 0.62);
}

.live-nav-throbber::before {
  left: -36%;
  animation: liveThrobberRight 820ms ease-in-out infinite;
}

.live-nav-throbber::after {
  right: -36%;
  animation: liveThrobberLeft 820ms ease-in-out infinite;
}

body.nav-compact .live-nav-throbber {
  top: 58px;
}

@keyframes liveThrobberRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(170vw);
  }
}

@keyframes liveThrobberLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-170vw);
  }
}

.brand img {
  width: 92px;
  display: block;
  transition: width 260ms ease, transform 260ms ease;
}

body.nav-compact .brand img {
  width: 70px;
}

.site-nav nav {
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.site-nav nav > a,
.nav-item {
  flex: 0 0 auto;
}

.site-nav nav a,
.nav-parent,
.quote-link,
.dealer-link {
  align-items: center;
  justify-content: center;
  min-height: 40px;
  text-decoration: none;
  font-weight: 900;
  padding: 11px 10px;
  border-radius: 999px;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition:
    background 200ms ease,
    box-shadow 200ms ease,
    color 200ms ease,
    font-size 240ms ease,
    min-height 240ms ease,
    padding 240ms ease;
}

body.nav-compact .site-nav nav a,
body.nav-compact .nav-parent,
body.nav-compact .quote-link,
body.nav-compact .dealer-link {
  padding: 8px 9px;
  font-size: 15px;
}

.site-nav nav a:hover,
.site-nav nav a.active,
.nav-item.active .nav-parent,
.nav-item:hover .nav-parent,
.nav-parent:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.nav-item {
  position: relative;
}

.nav-parent {
  display: inline-grid;
  grid-template-columns: max-content 10px;
  align-items: center;
  column-gap: 8px;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.site-nav nav a,
.quote-link,
.dealer-link {
  display: inline-flex;
}

.nav-parent::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  justify-self: center;
  border-right: 2px solid rgba(255, 255, 255, 0.86);
  border-bottom: 2px solid rgba(255, 255, 255, 0.86);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-item:hover .nav-parent::after,
.nav-item:focus-within .nav-parent::after {
  transform: translateY(1px) rotate(225deg);
}

.drop-menu {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  min-width: 228px;
  display: none;
  transform: translateX(-50%);
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  box-shadow: 0 24px 56px rgba(5, 35, 65, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-top: 2px solid rgba(255, 214, 74, 0.84);
  backdrop-filter: blur(18px) saturate(1.24);
  -webkit-backdrop-filter: blur(18px) saturate(1.24);
}

.drop-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
}

.nav-item:hover .drop-menu,
.nav-item:focus-within .drop-menu {
  display: grid;
}

.drop-menu a {
  padding: 11px 12px;
  color: var(--blue-deep);
  border-radius: 10px;
  white-space: nowrap;
}

.drop-menu a:hover {
  background: rgba(21, 93, 168, 0.1);
}

.quote-link {
  background: var(--yellow);
  color: #172033;
  box-shadow: 0 12px 24px rgba(255, 214, 74, 0.22);
}

.dealer-link {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.chat-launcher {
  width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  transition:
    width 240ms ease,
    min-height 240ms ease,
    padding 240ms ease,
    background 180ms ease;
}

.chat-launcher img {
  width: 24px;
  height: 24px;
  display: block;
  transition: width 240ms ease, height 240ms ease;
}

body.nav-compact .chat-launcher {
  width: 38px;
  min-height: 38px;
  padding: 7px;
}

body.nav-compact .chat-launcher img {
  width: 22px;
  height: 22px;
}

.chat-launcher:hover,
.chat-launcher:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.site-nav nav a.mobile-quote-link,
.site-nav nav a.mobile-dealer-link {
  display: none;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: 126px 7vw 82px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(105deg, rgba(4, 38, 70, 0.82), rgba(18, 107, 154, 0.34) 58%, rgba(39, 193, 223, 0.1)),
    var(--hero-model-image, url("/images/pool-img-1.jpg")) center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 18% 26%, rgba(255, 255, 255, 0.24), transparent 30%),
    radial-gradient(ellipse at 74% 74%, rgba(39, 193, 223, 0.2), transparent 34%),
    repeating-linear-gradient(115deg, transparent 0 28px, rgba(255, 255, 255, 0.08) 30px 32px, transparent 34px 62px);
  mix-blend-mode: screen;
  opacity: 0.44;
  animation: causticDrift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -1px;
  height: 18%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(246, 251, 253, 0.94));
}

.water-movie {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0.82;
  pointer-events: none;
}

.water-frame {
  position: absolute;
  inset: -22%;
  will-change: transform, opacity;
}

.water-frame-one {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.1), transparent 28%, rgba(39, 193, 223, 0.16) 66%, transparent),
    var(--hero-model-image, url("/images/pool-img-2.jpg")) center / cover no-repeat;
  filter: saturate(1.22) brightness(1.04);
  animation: waterPan 18s ease-in-out infinite alternate;
}

.water-frame-two {
  background:
    radial-gradient(ellipse at 18% 34%, rgba(255, 255, 255, 0.22), transparent 34%),
    radial-gradient(ellipse at 76% 64%, rgba(39, 193, 223, 0.18), transparent 36%),
    var(--hero-model-image, url("/images/pool-img-1.jpg")) 52% 48% / cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.54;
  animation: waterRipple 21s ease-in-out infinite alternate;
}

.water-frame-three {
  inset: -25%;
  background:
    radial-gradient(ellipse at 22% 78%, rgba(255, 214, 74, 0.16), transparent 32%),
    radial-gradient(ellipse at 72% 28%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(130deg, transparent 0 40%, rgba(255, 255, 255, 0.12) 50%, transparent 64% 100%);
  mix-blend-mode: overlay;
  opacity: 0.52;
  animation: waterGlint 13s ease-in-out infinite alternate;
}

.hero-copy,
.hero-showcase {
  position: relative;
  z-index: 1;
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

.dealer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.dealer-badge span:first-child {
  color: var(--yellow);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--yellow);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(50px, 6.3vw, 86px);
  line-height: 0.98;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.38);
}

.hero p {
  max-width: 680px;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 800;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.36);
}

.site-search {
  position: relative;
  z-index: 35;
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 24px 0 12px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.site-search-field {
  position: relative;
  min-width: 0;
}

.site-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
}

.site-search > button[type="submit"] {
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  background: var(--yellow);
  color: #172033;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.site-search-results {
  position: fixed;
  left: auto;
  right: auto;
  top: auto;
  z-index: 1200;
  display: grid;
  gap: 6px;
  max-height: min(420px, 58vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(5, 35, 65, 0.24);
}

.site-search-results[hidden] {
  display: none;
}

.site-search-option {
  width: 100%;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(21, 93, 168, 0.12);
  border-radius: 8px;
  padding: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.site-search-option.ask-ai {
  grid-template-columns: minmax(0, 1fr);
  border-color: rgba(21, 93, 168, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 252, 0.92)),
    #fff;
}

.site-search-option:hover,
.site-search-option:focus-visible,
.site-search-option.is-active {
  border-color: rgba(21, 93, 168, 0.38);
  background: #f4fbfd;
}

.site-search-option img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.site-search-option strong,
.site-search-option small {
  display: block;
}

.site-search-option strong {
  color: var(--blue-deep);
  line-height: 1.12;
}

.site-search-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.question-chips {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.question-chips a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(5, 35, 65, 0.72);
  border: 1px solid rgba(255, 214, 74, 0.46);
  box-shadow: 0 10px 24px rgba(5, 35, 65, 0.22);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px) saturate(1.15);
}

.question-chips a:hover,
.question-chips a:focus-visible {
  background: rgba(7, 55, 99, 0.84);
  border-color: rgba(255, 214, 74, 0.72);
}

.hero-actions,
.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.secondary-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.primary-btn {
  background: var(--yellow);
  color: #172033;
  box-shadow: 0 14px 28px rgba(255, 214, 74, 0.24);
}

.hero .primary-btn {
  border: 1px solid rgba(23, 32, 51, 0.26);
  box-shadow:
    0 16px 34px rgba(5, 35, 65, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
}

.hero .secondary-btn {
  background: rgba(5, 35, 65, 0.78);
  border-color: rgba(255, 214, 74, 0.52);
  box-shadow: 0 14px 30px rgba(5, 35, 65, 0.26);
  backdrop-filter: blur(10px) saturate(1.15);
}

.hero .secondary-btn:hover,
.hero .secondary-btn:focus-visible {
  background: rgba(7, 55, 99, 0.86);
  border-color: rgba(255, 214, 74, 0.76);
}

.text-link {
  color: var(--blue);
  padding-left: 0;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}

.hero-stats a {
  min-width: 140px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 35, 65, 0.7);
  box-shadow: 0 14px 30px rgba(5, 35, 65, 0.22);
  backdrop-filter: blur(10px) saturate(1.15);
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-stats a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats a:hover,
.hero-stats a:focus-visible {
  transform: translateY(-2px);
  background: rgba(7, 55, 99, 0.86);
  border-color: rgba(255, 214, 74, 0.7);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 30px;
  line-height: 1;
}

.hero-stats span {
  margin-top: 5px;
  max-width: 120px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.hero-showcase {
  min-width: 0;
}

.showcase-card {
  position: relative;
  width: min(100%, 500px);
  margin-left: auto;
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 64px rgba(0, 24, 54, 0.26);
}

.showcase-card > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
}

.showcase-logo {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 34px rgba(5, 35, 65, 0.16);
}

.showcase-logo img {
  width: 94px;
}

.showcase-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.showcase-caption span,
.showcase-caption strong,
.showcase-caption small {
  display: block;
}

.showcase-caption span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-caption strong {
  margin-top: 4px;
  font-size: 25px;
}

.showcase-caption small {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 900;
}

.trust-row {
  width: min(1180px, calc(100% - 44px));
  margin: -44px auto 54px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.trust-row a {
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 16px;
  color: var(--blue-deep);
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(223, 248, 255, 0.88));
  border: 1px solid rgba(21, 93, 168, 0.16);
  border-top: 4px solid var(--yellow);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-models,
.why-panel,
.experience-band,
.home-canibuild,
.home-process-section,
.home-news,
.split-section {
  width: min(1180px, calc(100% - 44px));
  margin: 62px auto;
}

.home-models {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
}

.home-models h2,
.why-panel h2,
.experience-band h2,
.home-canibuild h2,
.home-process-section h2,
.home-news h2,
.split-section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.home-models > .text-link {
  justify-self: end;
}

.model-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.pool-tile {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(5, 35, 65, 0.16);
  isolation: isolate;
}

.pool-tile .model-card-reactions {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 4;
}

.pool-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 35, 65, 0.02), rgba(5, 35, 65, 0.86));
}

.pool-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.pool-tile:hover img {
  transform: scale(1.05);
}

.pool-tile span,
.pool-tile strong,
.pool-tile small {
  margin-left: 15px;
  margin-right: 15px;
}

.pool-tile span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pool-tile strong {
  margin-top: 4px;
  font-size: 21px;
  line-height: 1.05;
}

.pool-tile small {
  margin-top: 7px;
  margin-bottom: 16px;
  font-weight: 900;
  opacity: 0.86;
}

.why-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(125deg, rgba(7, 55, 99, 0.94), rgba(21, 93, 168, 0.84)),
    var(--deferred-bg, none) center / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}

.why-copy p:not(.eyebrow),
.experience-band p,
.split-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.why-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
}

.why-panel .text-link {
  color: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.proof-grid article,
.proof-grid a {
  min-height: 132px;
  display: grid;
  align-content: start;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.proof-grid a:hover,
.proof-grid a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 214, 74, 0.72);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 34px rgba(0, 22, 48, 0.22);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  color: var(--yellow);
  font-size: 25px;
}

.proof-grid span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
  line-height: 1.4;
}

.experience-band,
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
}

.experience-band > img,
.split-section img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.build-montage {
  position: relative;
  isolation: isolate;
  min-height: 370px;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background: #073763;
  box-shadow: var(--shadow);
}

.build-montage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 35, 65, 0), rgba(5, 35, 65, 0.54)),
    linear-gradient(105deg, rgba(5, 35, 65, 0.58), rgba(5, 35, 65, 0.14) 44%, transparent 70%);
  pointer-events: none;
}

.build-montage-main,
.build-montage-main img {
  position: absolute;
  inset: 0;
}

.build-montage-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  filter: saturate(1.06) contrast(1.02);
  animation: buildMontageFade 24s ease-in-out infinite;
  animation-delay: var(--montage-delay, 0s);
}

.build-montage-main img:first-child {
  opacity: 1;
}

.build-montage-thumbs {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 92px);
  gap: 8px;
}

.build-montage-thumbs span {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(5, 35, 65, 0.24);
}

.build-montage-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.build-montage-cta {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 4px;
  max-width: min(58%, 340px);
}

.build-montage-cta strong {
  color: var(--yellow);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.build-montage-cta span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.build-montage:hover .build-montage-main img,
.build-montage:focus-visible .build-montage-main img {
  filter: saturate(1.12) contrast(1.06);
}

@keyframes buildMontageFade {
  0% {
    opacity: 0;
    transform: scale(1.06);
  }
  4%,
  17% {
    opacity: 1;
  }
  24%,
  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

.home-models.home-model-explorer {
  scroll-margin-top: 96px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px 22px;
}

.home-models-head {
  min-width: 0;
}

.home-models.home-model-explorer h2 {
  max-width: 780px;
}

.home-models-head p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.42;
}

.home-model-controls {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(178px, auto) auto;
  gap: 10px;
  align-items: center;
}

.home-model-search,
.home-model-sort {
  min-width: 0;
  border: 2px solid rgba(21, 93, 168, 0.18);
  border-radius: 999px;
  padding: 13px 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.home-model-sort {
  color: var(--blue-deep);
  font-weight: 900;
}

.home-model-view-toggle {
  justify-self: end;
}

.home-model-filter-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 6px;
  scrollbar-width: thin;
}

.home-model-filter {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid rgba(21, 93, 168, 0.16);
  border-radius: 999px;
  padding: 9px 13px;
  background: #fff;
  color: var(--blue-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.home-model-filter.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 9px 18px rgba(21, 93, 168, 0.18);
}

.home-model-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-weight: 800;
}

.home-model-counts {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.home-model-meta strong {
  color: var(--blue-deep);
  font-size: 20px;
}

.home-model-full-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid rgba(21, 93, 168, 0.18);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--blue-deep);
  background: #fff;
  box-shadow: 0 10px 22px rgba(10, 52, 92, 0.08);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.home-model-full-link:hover {
  transform: translateY(-1px);
  color: var(--blue);
  border-color: rgba(21, 93, 168, 0.36);
  box-shadow: 0 14px 28px rgba(10, 52, 92, 0.13);
}

.home-model-full-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.home-model-results {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-model-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(10, 52, 92, 0.1);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.home-model-card:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 93, 168, 0.3);
  box-shadow: var(--shadow);
}

.home-model-card[hidden] {
  display: none;
}

.home-model-card-visual {
  aspect-ratio: 1 / 1;
}

.home-model-card-visual .model-view-image {
  padding: 14px 14px 124px;
}

.home-model-card-visual .model-view-photo {
  padding: 0;
}

.home-model-results[data-model-view="topside"] .home-model-card-visual .model-view-topside,
.home-model-results[data-model-view="top"] .home-model-card-visual .model-view-top,
.home-model-results[data-model-view="side"] .home-model-card-visual .model-view-side,
.home-model-results[data-model-view="image"] .home-model-card-visual .model-view-photo[data-loaded="true"] {
  opacity: 1;
}

.home-model-card:hover .home-model-card-visual .model-view-photo[data-loaded="true"] {
  opacity: 1;
  animation: modelPhotoHoverFlow 15s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.home-model-card-body {
  min-width: 0;
  min-height: 118px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 14px 15px 16px;
}

.home-model-card-body span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.home-model-card-body strong {
  overflow-wrap: anywhere;
  color: var(--blue-deep);
  font-size: 21px;
  line-height: 1.04;
}

.home-model-card-body small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.home-model-empty {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 900;
}

.model-category-flow {
  scroll-margin-top: 96px;
  width: min(1180px, calc(100% - 44px));
  margin: -24px auto 70px;
  padding: 26px;
  border: 1px solid rgba(21, 93, 168, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 251, 0.86)),
    #f8fcfe;
  box-shadow: 0 14px 32px rgba(10, 52, 92, 0.08);
}

.model-category-flow-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.model-category-flow-head h2 {
  max-width: 820px;
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
}

.model-category-flow-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.42;
}

.model-category-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.model-category-flow-card {
  min-width: 0;
  min-height: 158px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 15px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(21, 93, 168, 0.13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(10, 52, 92, 0.08);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.model-category-flow-card:hover {
  transform: translateY(-3px);
  border-color: rgba(21, 93, 168, 0.32);
  box-shadow: 0 16px 30px rgba(10, 52, 92, 0.14);
}

.model-category-flow-card.active {
  border-color: rgba(255, 214, 74, 0.85);
  background: linear-gradient(180deg, rgba(255, 252, 232, 0.98), rgba(255, 255, 255, 0.96));
}

.model-category-flow-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.model-category-flow-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(14, 183, 190, 0.12), rgba(21, 93, 168, 0.1));
  color: var(--blue-deep);
}

.model-category-flow-card.active .model-category-flow-icon {
  background: linear-gradient(135deg, rgba(255, 214, 74, 0.42), rgba(255, 255, 255, 0.9));
  color: #172033;
}

.model-category-icon {
  width: 34px;
  height: 34px;
  display: block;
}

.model-category-flow-kicker {
  align-self: flex-start;
  width: max-content;
  max-width: calc(100% - 58px);
  padding-top: 2px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}

.model-category-flow-card strong {
  color: var(--blue-deep);
  font-size: 21px;
  line-height: 1.05;
}

.model-category-flow-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 1040px) {
  .home-model-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-model-controls {
    grid-template-columns: minmax(0, 1fr) minmax(168px, auto);
  }

  .home-model-view-toggle {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .home-models.home-model-explorer {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-model-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-model-view-toggle {
    width: 100%;
    justify-content: flex-start;
  }

  .home-model-results {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 86vw);
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .home-model-card {
    scroll-snap-align: start;
  }

  .home-model-card-body {
    min-height: 108px;
  }

  .model-category-flow {
    padding: 20px;
  }

  .model-category-flow-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(164px, 62vw);
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .model-category-flow-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 420px) {
  .home-model-filter {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .home-model-card-visual .model-view-image {
    padding-bottom: 136px;
  }

  .home-model-card-visual .model-view-photo {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .build-montage-main img {
    animation: none;
    opacity: 0;
  }

  .build-montage-main img:first-child {
    opacity: 1;
  }
}

.home-canibuild {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  background:
    linear-gradient(122deg, rgba(5, 35, 65, 0.96), rgba(0, 86, 138, 0.82) 58%, rgba(7, 40, 76, 0.94)),
    var(--deferred-bg, none) center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(4, 28, 55, 0.3), 0 12px 28px rgba(10, 52, 92, 0.1);
}

.home-canibuild::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%),
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 16px);
  opacity: 0.62;
  pointer-events: none;
}

.home-canibuild::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 0;
  left: 28px;
  height: 4px;
  z-index: 0;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--yellow), #27c1df, rgba(255, 255, 255, 0));
  opacity: 0.92;
}

.home-canibuild > * {
  position: relative;
  z-index: 1;
}

.home-canibuild-copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.home-canibuild-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.canibuild-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: canibuild-step;
}

.canibuild-steps li {
  counter-increment: canibuild-step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.canibuild-steps li::before {
  content: counter(canibuild-step);
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #172033;
  font-weight: 900;
}

.canibuild-steps strong,
.canibuild-steps span {
  display: block;
}

.canibuild-steps span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.canibuild-experience-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.canibuild-experience-actions .primary-btn,
.canibuild-experience-actions .secondary-btn {
  justify-content: center;
}

.home-canibuild-tool {
  position: relative;
  overflow: hidden;
  min-height: 104px;
  display: grid;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 249, 252, 0.94)),
    linear-gradient(135deg, rgba(248, 217, 95, 0.22), rgba(39, 193, 223, 0.18));
  color: var(--ink);
  box-shadow: 0 24px 54px rgba(0, 24, 54, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.home-canibuild-tool::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.55), transparent 28%, rgba(39, 193, 223, 0.1) 72%, transparent);
  pointer-events: none;
}

.home-canibuild-tool > * {
  position: relative;
  z-index: 1;
}

.home-canibuild-tool #canibuild-widget-search-root {
  width: 100%;
  min-height: 76px;
  display: grid;
  align-items: center;
}

.home-canibuild-video {
  grid-column: 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  background: #061f38;
  box-shadow: 0 18px 42px rgba(0, 24, 54, 0.22);
}

.canibuild-model-media {
  grid-column: 2;
  position: relative;
  min-height: 320px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #061f38;
  box-shadow: 0 18px 42px rgba(0, 24, 54, 0.22);
}

.canibuild-model-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
}

.canibuild-model-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 35, 65, 0.02), rgba(5, 35, 65, 0.82));
}

.canibuild-model-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.canibuild-model-media span,
.canibuild-model-media small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.canibuild-model-media strong {
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 0.95;
}

.home-canibuild-search {
  position: relative;
  overflow: hidden;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(4, 35, 70, 0.54);
  backdrop-filter: blur(16px) saturate(1.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 42px rgba(0, 24, 54, 0.18);
}

.home-canibuild-search::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(248, 217, 95, 0), rgba(248, 217, 95, 0.78), rgba(39, 193, 223, 0.45), rgba(248, 217, 95, 0));
  pointer-events: none;
}

.home-canibuild-search > * {
  position: relative;
  z-index: 1;
}

.home-canibuild-search-head span,
.home-canibuild-search-head strong {
  display: block;
}

.home-canibuild-search-head span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-canibuild-search-head strong {
  margin-top: 4px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.home-canibuild-tool #widget-search-form {
  width: 100%;
}

.home-canibuild-tool .cib-widget-searchbar-wrapper,
.home-canibuild-tool .cib-leadconverter-searchbar-wrapper {
  width: 100% !important;
  min-height: 76px !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 7px !important;
  border: 1px solid rgba(12, 84, 134, 0.12) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.home-canibuild-tool .MuiAutocomplete-root,
.home-canibuild-tool .MuiFormControl-root {
  min-width: 0 !important;
}

.home-canibuild-tool .MuiInputBase-root {
  min-height: 56px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(21, 93, 168, 0.14) !important;
  background: #f7fbfd !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease !important;
}

.home-canibuild-tool .MuiInputBase-root.Mui-focused,
.home-canibuild-tool .MuiInputBase-root:focus-within {
  border-color: rgba(21, 93, 168, 0.34) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(39, 193, 223, 0.14) !important;
}

.home-canibuild-tool fieldset {
  border-color: transparent !important;
}

.home-canibuild-tool input:focus,
.home-canibuild-tool button:focus,
.home-canibuild-tool .MuiButtonBase-root:focus {
  outline: 0 !important;
}

.home-canibuild-tool input {
  color: var(--ink) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.home-canibuild-tool button,
.home-canibuild-tool .MuiButtonBase-root {
  box-sizing: border-box !important;
  min-width: 168px !important;
  min-height: 52px !important;
  padding: 0 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 12px !important;
  border: 0 !important;
  background: linear-gradient(135deg, #ffe16e, #efbd32 58%, #d99a18) !important;
  color: #172033 !important;
  font-family: inherit !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: 0 12px 26px rgba(105, 79, 8, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease !important;
}

.home-canibuild-tool button span,
.home-canibuild-tool .MuiButtonBase-root span {
  color: inherit !important;
  line-height: 1.12 !important;
}

.home-canibuild-tool button:hover,
.home-canibuild-tool .MuiButtonBase-root:hover {
  filter: saturate(1.02) brightness(1.01) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 28px rgba(105, 79, 8, 0.22) !important;
}

.sitemap-index {
  width: min(1180px, calc(100% - 44px));
  margin: 38px auto 72px;
  display: grid;
  gap: 22px;
}

.sitemap-index article {
  padding: 22px;
  border: 1px solid rgba(21, 93, 168, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 52, 92, 0.08);
}

.sitemap-index h2 {
  margin: 0 0 16px;
  color: var(--blue-deep);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.sitemap-index article > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.sitemap-index a {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(21, 93, 168, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f5fbfe);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.sitemap-index a:hover,
.sitemap-index a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(21, 93, 168, 0.28);
  box-shadow: 0 10px 22px rgba(10, 52, 92, 0.09);
}

.sitemap-index strong,
.sitemap-index span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.sitemap-index strong {
  white-space: nowrap;
  color: var(--blue-deep);
  font-size: 15px;
}

.sitemap-index span {
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.section-head > div {
  min-width: 0;
}

.section-head h2 {
  margin: 0;
  max-width: 820px;
}

.home-process-section,
.home-news {
  padding-top: 10px;
  padding-bottom: 8px;
}

.home-process-section .section-head,
.home-news .section-head {
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(21, 93, 168, 0.14);
}

.home-process-section .section-head h2,
.home-news .section-head h2 {
  max-width: 760px;
  color: var(--blue-deep);
  font-size: clamp(32px, 4.8vw, 54px);
  line-height: 1.02;
}

.process-card-grid,
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-card-grid {
  counter-reset: process-step;
}

.process-card {
  counter-increment: process-step;
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(21, 93, 168, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-deep);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(5, 42, 78, 0.1);
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.process-card::before {
  content: counter(process-step);
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: #172033;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(5, 35, 65, 0.18);
}

.process-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 0 0 3px rgba(255, 214, 74, 0.92);
  transition: opacity 180ms ease;
}

.process-card:hover,
.process-card:focus-visible,
.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 74, 0.86);
  box-shadow: 0 18px 42px rgba(5, 42, 78, 0.16);
}

.process-card:hover::after,
.process-card:focus-visible::after {
  opacity: 1;
}

.process-card img {
  position: static;
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 320ms ease;
}

.process-card:hover img {
  transform: scale(1.04);
}

.process-card span {
  width: max-content;
  max-width: 100%;
  margin: 16px 18px 7px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: #e8f7fb;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.process-card strong {
  display: block;
  margin: 0 18px 20px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.04;
}

.news-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 10px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(21, 93, 168, 0.13);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(5, 42, 78, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.news-card img {
  width: calc(100% + 36px);
  max-width: none;
  aspect-ratio: 16 / 10;
  margin: -18px -18px 2px;
  object-fit: cover;
  border-bottom: 1px solid rgba(21, 93, 168, 0.1);
}

.news-card span,
.news-card small {
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e8f7fb;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card strong {
  color: var(--blue-deep);
  font-size: 21px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.42;
}

.news-card small {
  align-self: end;
  background: rgba(255, 214, 74, 0.22);
  color: #554414;
}

.social-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 251, 0.76));
}

.feature-grid,
.model-grid,
.event-list {
  width: min(1180px, calc(100% - 44px));
  margin: 40px auto 70px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.feature-card,
.model-card,
.event-list article {
  position: relative;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(10, 52, 92, 0.1);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover,
.model-card:hover,
.event-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 93, 168, 0.3);
  box-shadow: var(--shadow);
}

.feature-card img,
.model-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.feature-card h3,
.feature-card p,
.model-card > div {
  margin-left: 18px;
  margin-right: 18px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 20px;
}

.page-main {
  padding-top: 0;
}

.page-hero {
  min-height: 430px;
  padding: 150px 7vw 62px;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 35, 65, 0.74), rgba(21, 93, 168, 0.16)),
    url("/images/pool-img-0.jpg") center / cover no-repeat;
  border-bottom: 2px solid rgba(255, 214, 74, 0.64);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -46% -15%;
  height: 62%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 30% 26%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 52%),
    linear-gradient(180deg, rgba(39, 193, 223, 0.12), rgba(255, 255, 255, 0));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.72) 44%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.72) 44%, transparent 100%);
  animation: waterRipple 18s ease-in-out infinite alternate;
}

.pool-hero {
  background-image: linear-gradient(90deg, rgba(5, 35, 65, 0.78), rgba(21, 93, 168, 0.2)), url("/images/pool-img-2.jpg");
}

.models-hero {
  background-image: linear-gradient(90deg, rgba(5, 35, 65, 0.78), rgba(21, 93, 168, 0.2)), url("/images/pool-img-3.jpg");
}

.dealer-hero {
  background-image: linear-gradient(90deg, rgba(5, 35, 65, 0.78), rgba(21, 93, 168, 0.18)), url("/images/san-juan-pools-dealer-network.png");
}

.dealer-map-section {
  width: min(1280px, calc(100% - 44px));
  margin: 34px auto 52px;
}

.dealer-map-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  margin-bottom: 16px;
}

.dealer-map-head h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.02;
}

.dealer-map-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dealer-state-select,
.dealer-locate-button {
  min-height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(21, 93, 168, 0.18);
  background: #fff;
  color: var(--blue-deep);
  font: inherit;
  font-weight: 900;
}

.dealer-state-select {
  min-width: 210px;
  padding: 0 16px;
}

.dealer-locate-button {
  cursor: pointer;
  padding: 0 18px;
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dealer-locate-button:hover {
  transform: translateY(-1px);
  background: var(--blue-deep);
}

.dealer-locate-button:disabled {
  cursor: wait;
  opacity: 0.74;
  transform: none;
}

.dealer-map-frame {
  position: relative;
  min-height: 560px;
  height: min(72vh, 720px);
  overflow: hidden;
  border: 1px solid rgba(5, 35, 65, 0.14);
  border-radius: 8px;
  background: #dce8ef;
  box-shadow: 0 20px 50px rgba(5, 35, 65, 0.18);
}

body.dealer-map-expanded {
  overflow: hidden;
}

.dealer-map-section.is-expanded .dealer-map-frame {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: 100vw;
  height: 100dvh;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.dealer-map {
  position: absolute;
  inset: 0;
}

.dealer-map-collapse {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 8;
  min-height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(21, 93, 168, 0.18);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--blue-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(5, 35, 65, 0.18);
  cursor: pointer;
}

.dealer-map-section.is-expanded .dealer-map-collapse {
  display: inline-flex;
}

.dealer-map-collapse:hover,
.dealer-map-collapse:focus-visible {
  background: var(--yellow);
  color: #172033;
}

.dealer-map-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  background: rgba(242, 247, 250, 0.86);
  color: var(--blue-deep);
  font-weight: 900;
}

.dealer-map-loading[hidden] {
  display: none;
}

.dealer-map-loading span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(21, 93, 168, 0.18);
  border-top-color: var(--blue);
  animation: dealerSpin 0.9s linear infinite;
}

@keyframes dealerSpin {
  to {
    transform: rotate(360deg);
  }
}

.dealer-marker {
  width: 30px;
  height: 30px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.dealer-marker img {
  display: block;
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 4px 7px rgba(5, 35, 65, 0.3));
}

.dealer-result-panel {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 4;
  width: min(380px, calc(100% - 48px));
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(5, 35, 65, 0.2);
}

.dealer-panel-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  color: var(--blue-deep);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dealer-result-content {
  padding-right: 40px;
}

.dealer-result-content span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dealer-result-content h2 {
  margin: 6px 0 8px;
  color: var(--blue-deep);
  font-size: 24px;
  line-height: 1.08;
}

.dealer-result-content p,
.dealer-result-content small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.dealer-result-content a {
  color: var(--blue-deep);
  font-weight: 900;
}

.dealer-result-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 8px 0 10px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--yellow);
  color: #1f3a54 !important;
  text-decoration: none;
}

.dealer-map-legend {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(5, 35, 65, 0.12);
}

.dealer-map-section.is-expanded .dealer-map-legend {
  top: auto;
  left: auto;
  right: 16px;
  bottom: 16px;
}

.dealer-map-legend img {
  width: 25px;
  height: 25px;
}

.dealer-map-status {
  min-height: 20px;
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.dealer-summary-row {
  margin-top: 30px;
}

.dealer-state-feature,
.dealer-directory-section,
.dealer-detail-hero,
.dealer-detail-grid {
  width: min(1180px, calc(100% - 44px));
  margin: 34px auto;
}

.dealer-state-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.dealer-state-feature h2,
.dealer-detail-card h2,
.dealer-directory-section .section-head h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
}

.dealer-state-feature p:not(.eyebrow),
.dealer-detail-card p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.dealer-photo-panel {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dce8ef;
  box-shadow: 0 18px 42px rgba(5, 35, 65, 0.16);
}

.dealer-photo-panel img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
  object-fit: cover;
}

.dealer-photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 35, 65, 0.02), rgba(5, 35, 65, 0.78));
}

.dealer-photo-panel figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 6px;
  color: #fff;
}

.dealer-photo-panel figcaption strong {
  font-size: 25px;
  line-height: 1.05;
}

.dealer-photo-panel figcaption span {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  line-height: 1.35;
}

.dealer-photo-panel figcaption .dealer-feature-region-mark {
  display: grid;
  place-items: center;
  width: 96px;
  height: 72px;
  max-width: none;
  margin-bottom: 4px;
  color: #fff;
}

.dealer-feature-region-mark .dealer-region-svg {
  width: 92px;
  height: 68px;
  fill: rgba(255, 255, 255, 0.92);
  stroke: rgba(255, 214, 74, 0.86);
  stroke-width: 1.8;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.28));
}

.dealer-region-section + .dealer-region-section {
  margin-top: 42px;
}

.dealer-region-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 16px;
}

.dealer-region-section-head h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.dealer-region-section-head p:not(.eyebrow) {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.dealer-region-section-head > strong {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(10, 53, 135, 0.08);
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 900;
}

.dealer-state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dealer-state-card,
.dealer-card,
.dealer-detail-card {
  border: 1px solid rgba(21, 93, 168, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(5, 35, 65, 0.1);
}

.dealer-state-card {
  position: relative;
  isolation: isolate;
  min-height: 226px;
  display: grid;
  align-content: end;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.dealer-state-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 35, 65, 0.02), rgba(5, 35, 65, 0.82)),
    linear-gradient(112deg, rgba(5, 35, 65, 0.72), rgba(5, 35, 65, 0.14) 58%, transparent);
  pointer-events: none;
}

.dealer-state-card:hover,
.dealer-state-card:focus-visible,
.dealer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 74, 0.9);
  box-shadow: 0 18px 42px rgba(5, 35, 65, 0.16);
}

.dealer-state-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background: #dce8ef;
}

.dealer-state-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 240ms ease;
}

.dealer-state-card:hover .dealer-state-photo img,
.dealer-state-card:focus-visible .dealer-state-photo img {
  transform: scale(1.08);
}

.dealer-state-visual {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 96px;
  height: 82px;
}

.dealer-region-svg {
  width: 92px;
  height: 72px;
  fill: rgba(255, 255, 255, 0.9);
  stroke: rgba(255, 214, 74, 0.78);
  stroke-width: 1.5;
  stroke-linejoin: round;
  filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.26));
}

.dealer-region-svg-generic {
  fill: rgba(255, 255, 255, 0.88);
}

.dealer-state-code,
.dealer-card-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #073763;
  color: #fff;
  font-weight: 900;
  box-shadow: inset 0 -3px 0 rgba(255, 214, 74, 0.45);
}

.dealer-state-visual .dealer-state-code {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: auto;
  min-width: 42px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
}

.dealer-state-card-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
  padding: 92px 18px 18px;
}

.dealer-state-card-copy strong {
  display: block;
  color: #fff;
  font-size: 25px;
  line-height: 1.05;
}

.dealer-state-card-copy small {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 900;
  line-height: 1.35;
}

.dealer-state-card-copy em {
  color: var(--yellow);
  font-style: normal;
  font-weight: 900;
}

.dealer-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dealer-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
}

.dealer-card.compact {
  grid-template-columns: 58px minmax(0, 1fr);
}

.dealer-card-mark {
  width: 54px;
  height: 54px;
  text-decoration: none;
  overflow: hidden;
}

.dealer-card-mark span {
  font-size: 16px;
  letter-spacing: 0;
}

.dealer-card-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
  background: #fff;
}

.dealer-card-body {
  min-width: 0;
}

.dealer-card h3 {
  margin: 5px 0 8px;
  color: var(--blue-deep);
  font-size: 22px;
  line-height: 1.08;
}

.dealer-card h3 a {
  color: inherit;
  text-decoration: none;
}

.dealer-card h3 a:hover,
.dealer-card h3 a:focus-visible {
  color: var(--blue);
}

.dealer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.38;
}

.dealer-mini-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.dealer-mini-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(21, 93, 168, 0.08);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
}

.dealer-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.dealer-card-actions .primary-btn,
.dealer-card-actions .secondary-btn,
.dealer-card-actions .text-link {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 13px;
}

.dealer-card.mini {
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
}

.dealer-card.mini .dealer-card-mark {
  width: 42px;
  height: 42px;
}

.dealer-card.mini .dealer-card-mark span {
  font-size: 13px;
}

.dealer-card.mini .source-tag {
  font-size: 10px;
}

.dealer-card.mini h3 {
  margin: 3px 0 6px;
  font-size: 16px;
  line-height: 1.1;
}

.dealer-card.mini .dealer-mini-facts {
  gap: 4px;
  margin-top: 7px;
}

.dealer-card.mini .dealer-mini-facts span {
  min-height: 20px;
  padding: 0 6px;
  font-size: 10px;
}

.dealer-card.mini .dealer-card-actions {
  gap: 6px;
  margin-top: 9px;
}

.dealer-card.mini .dealer-card-actions .primary-btn,
.dealer-card.mini .dealer-card-actions .secondary-btn,
.dealer-card.mini .dealer-card-actions .text-link {
  min-height: 30px;
  padding: 6px 8px;
  font-size: 11px;
}

.dealer-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.74fr);
  gap: 28px;
  align-items: stretch;
  padding-top: 118px;
}

.dealer-detail-copy {
  min-height: 430px;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(5, 35, 65, 0.95), rgba(21, 93, 168, 0.84)),
    url("/images/pool-img-3.jpg") center / cover no-repeat;
  color: #fff;
  box-shadow: 0 18px 42px rgba(5, 35, 65, 0.16);
}

.dealer-detail-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 0.98;
}

.dealer-detail-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.dealer-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dealer-breadcrumbs a {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  opacity: 0.86;
}

.dealer-breadcrumbs a::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.55;
}

.dealer-breadcrumbs a:last-child::after {
  content: "";
  margin: 0;
}

.dealer-detail-hero .dealer-photo-panel {
  min-height: 430px;
}

.dealer-detail-hero .dealer-photo-panel img {
  min-height: 430px;
}

.dealer-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 16px;
}

.dealer-detail-card {
  padding: 22px;
}

.dealer-contact-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.dealer-contact-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(21, 93, 168, 0.12);
}

.dealer-contact-list dt {
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dealer-contact-list dd {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.dealer-contact-list a,
.dealer-path-card a {
  color: var(--blue-deep);
  font-weight: 900;
}

.dealer-path-card ol {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: dealer-step;
}

.dealer-path-card li {
  counter-increment: dealer-step;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
  padding: 12px;
  border-radius: 8px;
  background: #f4f9fd;
}

.dealer-path-card li::before {
  content: counter(dealer-step);
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #172033;
  font-weight: 900;
}

.dealer-path-card strong,
.dealer-path-card span {
  display: block;
}

.dealer-path-card strong {
  color: var(--blue-deep);
  line-height: 1.2;
}

.dealer-path-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.call-contact-grid {
  width: min(1180px, calc(100% - 44px));
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.call-contact-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(21, 93, 168, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(5, 42, 78, 0.08);
}

.call-contact-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.12;
}

.call-contact-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.call-number {
  width: max-content;
  max-width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--yellow);
  color: #172033;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(255, 214, 74, 0.22);
}

.call-contact-card address {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}

.call-routing-panel {
  width: min(1180px, calc(100% - 44px));
  margin: 18px auto 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(21, 93, 168, 0.14);
  border-radius: 8px;
  background: #f4f9fd;
}

.call-routing-panel h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.08;
}

.call-routing-panel p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.call-routing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.finance-hero {
  background-image: linear-gradient(90deg, rgba(5, 35, 65, 0.72), rgba(21, 93, 168, 0.15)), url("/images/finance/sanjuanpools-financing-water-2026.png");
}

.events-hero {
  background-image: linear-gradient(90deg, rgba(5, 35, 65, 0.76), rgba(21, 93, 168, 0.2)), url("/images/sanjuanpools-events-2025-2026.jpg");
}

.specs-hero {
  background-image: linear-gradient(90deg, rgba(5, 35, 65, 0.78), rgba(21, 93, 168, 0.18)), url("/images/pool-img-3.jpg");
}

.gallery-hero {
  background-image: linear-gradient(90deg, rgba(5, 35, 65, 0.78), rgba(21, 93, 168, 0.18)), url("/images/pool-img-4.jpg");
}

.call-hero {
  background-image: linear-gradient(90deg, rgba(5, 35, 65, 0.78), rgba(21, 93, 168, 0.18)), url("/images/san-juan-pools-dealer-network.png");
}

.color-options-page {
  --finish-bg: #eef4f7;
  --finish-ink: #172033;
  --finish-muted: #526070;
  --finish-panel: rgba(255, 255, 255, 0.86);
  --finish-border: rgba(20, 63, 94, 0.18);
  --finish-shadow: rgba(5, 35, 65, 0.16);
  --finish-texture: url("/images/color-options/texture-neutral.webp");
  --finish-texture-opacity: 0.68;
  --finish-texture-size: 980px 980px;
  --finish-texture-size-alt: 1460px 1460px;
  --finish-texture-blur: 0.6px;
  --finish-wash: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(238, 244, 247, 0.56));
}

.color-options-page[data-active-color="blue-lagoon"] {
  --finish-bg: #0799c7;
  --finish-ink: #ffffff;
  --finish-muted: rgba(255, 255, 255, 0.86);
  --finish-panel: rgba(255, 255, 255, 0.93);
  --finish-border: rgba(255, 255, 255, 0.28);
  --finish-shadow: rgba(0, 52, 72, 0.22);
  --finish-texture: url("/images/color-options/generated-texture-blue-lagoon.webp");
  --finish-texture-opacity: 0.72;
  --finish-texture-size: 360px 360px;
  --finish-texture-size-alt: 620px 620px;
  --finish-texture-blur: 1.15px;
  --finish-wash: linear-gradient(180deg, rgba(0, 46, 72, 0.12), rgba(0, 71, 100, 0.2));
}

.color-options-page[data-active-color="granite"] {
  --finish-bg: #7f8c8f;
  --finish-ink: #ffffff;
  --finish-muted: rgba(255, 255, 255, 0.86);
  --finish-panel: rgba(255, 255, 255, 0.92);
  --finish-border: rgba(255, 255, 255, 0.24);
  --finish-shadow: rgba(22, 32, 36, 0.24);
  --finish-texture: url("/images/color-options/generated-texture-granite.webp");
  --finish-texture-opacity: 0.78;
  --finish-texture-size: 390px 390px;
  --finish-texture-size-alt: 680px 680px;
  --finish-texture-blur: 1.1px;
  --finish-wash: linear-gradient(180deg, rgba(15, 19, 23, 0.12), rgba(31, 40, 45, 0.2));
}

.color-options-page[data-active-color="sully-blue"] {
  --finish-bg: #0d6f9d;
  --finish-ink: #ffffff;
  --finish-muted: rgba(255, 255, 255, 0.86);
  --finish-panel: rgba(255, 255, 255, 0.92);
  --finish-border: rgba(255, 255, 255, 0.25);
  --finish-shadow: rgba(1, 34, 59, 0.24);
  --finish-texture: url("/images/color-options/texture-sully-blue.webp");
  --finish-texture-opacity: 0.88;
  --finish-wash: linear-gradient(180deg, rgba(12, 73, 101, 0.08), rgba(7, 90, 124, 0.16));
}

.color-options-page[data-active-color="white"] {
  --finish-bg: #ffffff;
  --finish-ink: #172033;
  --finish-muted: #5f6d7d;
  --finish-panel: rgba(246, 251, 253, 0.94);
  --finish-border: rgba(20, 63, 94, 0.14);
  --finish-shadow: rgba(5, 35, 65, 0.12);
  --finish-texture: url("/images/color-options/texture-white.webp");
  --finish-texture-opacity: 0.9;
  --finish-wash: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(238, 244, 247, 0.58));
}

.color-options-hero {
  min-height: min(760px, calc(100vh - 70px));
  align-content: center;
  background-position: center;
}

.color-options-hero h1 {
  max-width: 960px;
  font-size: clamp(44px, 7.8vw, 92px);
  line-height: 0.96;
}

.color-options-hero h1 span {
  color: #9eeef8;
}

.color-options-hero p {
  max-width: 680px;
}

.color-answer-band {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 44px));
  margin: -42px auto 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.color-answer-band article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(20, 63, 94, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(5, 35, 65, 0.12);
}

.color-answer-band span,
.color-current-panel span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #dff8ff;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.color-answer-band h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 26px;
  line-height: 1.05;
}

.color-answer-band p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.42;
}

.color-gallery-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 110px;
  margin: 34px 0 78px;
  padding: 44px max(22px, 5vw) 70px;
  color: var(--finish-ink);
  background: var(--finish-bg);
  border-top: 1px solid var(--finish-border);
  border-bottom: 1px solid var(--finish-border);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.color-gallery-shell::before,
.color-gallery-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.color-gallery-shell::before {
  z-index: 0;
  inset: -26%;
  background-image: var(--finish-texture), var(--finish-texture);
  background-position:
    calc(var(--color-texture-offset, 0px) * -0.11) calc(var(--color-texture-offset, 0px) * 0.16),
    calc(var(--color-texture-offset, 0px) * 0.07 + 320px) calc(var(--color-texture-offset, 0px) * -0.1 + 180px);
  background-repeat: repeat;
  background-size: var(--finish-texture-size), var(--finish-texture-size-alt);
  opacity: var(--finish-texture-opacity);
  filter: blur(var(--finish-texture-blur)) saturate(1.04);
  transform: translate3d(0, calc(var(--color-texture-offset, 0px) * -0.14), 0);
  transition: opacity 220ms ease;
  will-change: transform, background-position;
}

.color-gallery-shell::after {
  z-index: 0;
  background: var(--finish-wash);
}

.color-gallery-head,
.color-filter-bar,
.color-current-panel,
.color-raw-swatch-strip,
.color-gallery-grid {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.color-gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.color-gallery-head .eyebrow {
  color: inherit;
}

.color-gallery-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
}

.color-gallery-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--finish-muted);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.36;
}

.color-gallery-head > strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  border: 1px solid var(--finish-border);
  border-radius: 999px;
  background: var(--finish-panel);
  color: #172033;
  padding: 10px 14px;
  box-shadow: 0 10px 24px var(--finish-shadow);
  white-space: nowrap;
}

.color-filter-bar {
  position: sticky;
  top: 72px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid var(--finish-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 36px var(--finish-shadow);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.color-filter-chip {
  appearance: none;
  display: inline-grid;
  grid-template-columns: 18px max-content auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid rgba(20, 63, 94, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #172033;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(5, 35, 65, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.color-filter-chip:hover,
.color-filter-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(21, 93, 168, 0.36);
  box-shadow: 0 12px 26px rgba(5, 35, 65, 0.14);
}

.color-filter-chip.active {
  border-color: rgba(255, 214, 74, 0.86);
  box-shadow: 0 0 0 2px rgba(255, 214, 74, 0.3), 0 12px 26px rgba(5, 35, 65, 0.16);
}

.color-filter-chip small {
  min-width: 26px;
  justify-self: end;
  border-radius: 999px;
  background: #edf6fb;
  color: #35536b;
  padding: 5px 7px;
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.color-filter-swatch,
.color-photo-swatch {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background-color: var(--chip-color, #dce8ee);
  background-image: var(--chip-image, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid rgba(5, 35, 65, 0.18);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.42);
}

.color-filter-swatch.neutral {
  background: conic-gradient(from 45deg, #0799c7, #7f8c8f, #0d6f9d, #f7f7f2, #0799c7);
}

.color-raw-swatch-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.color-raw-swatch-card {
  appearance: none;
  display: grid;
  grid-template-columns: minmax(70px, 0.86fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  min-height: 124px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--finish-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: #172033;
  text-decoration: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 26px var(--finish-shadow);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.color-raw-swatch-card:hover,
.color-raw-swatch-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(21, 93, 168, 0.36);
  box-shadow: 0 16px 34px var(--finish-shadow);
}

.color-raw-swatch-card.active {
  border-color: rgba(255, 214, 74, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 214, 74, 0.28), 0 16px 34px var(--finish-shadow);
}

.color-raw-swatch-sample {
  display: block;
  min-height: 66px;
  border: 1px solid rgba(5, 35, 65, 0.16);
  border-radius: 6px;
  background-color: var(--raw-swatch-color, #dce8ee);
  background-image: var(--raw-swatch-image, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.color-raw-swatch-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.color-raw-swatch-copy strong,
.color-raw-swatch-copy small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.color-raw-swatch-copy strong {
  color: #172033;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.05;
}

.color-raw-swatch-copy small {
  margin-top: 5px;
  color: #5f6d7d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.22;
}

.color-current-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--finish-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.color-current-panel span {
  margin: 0;
  background: var(--finish-panel);
  color: #172033;
}

.color-current-panel p {
  margin: 0;
  color: var(--finish-muted);
  font-weight: 900;
  line-height: 1.35;
}

.color-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 14px;
}

.color-photo-card {
  appearance: none;
  display: grid;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(20, 63, 94, 0.13);
  border-radius: 8px;
  background: #fff;
  color: #172033;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 30px var(--finish-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.color-photo-card[hidden] {
  display: none !important;
}

.color-photo-card:hover,
.color-photo-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 74, 0.7);
  box-shadow: 0 20px 42px var(--finish-shadow);
}

.color-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  background: #d8e4ef;
}

.color-photo-meta {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 3px;
  align-items: center;
  min-height: 64px;
  padding: 11px 12px 12px;
}

.color-photo-swatch {
  background-color: var(--photo-color, #155da8);
  background-image: var(--photo-image, none);
  grid-row: span 2;
}

.color-photo-meta strong,
.color-photo-meta small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.color-photo-meta strong {
  font-size: 15px;
  line-height: 1.05;
}

.color-photo-meta small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.42);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.model-toolbar {
  width: min(1180px, calc(100% - 44px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto auto;
  gap: 14px;
}

.model-search,
.model-category-select,
.model-sort-select {
  border: 2px solid rgba(21, 93, 168, 0.2);
  border-radius: 999px;
  padding: 13px 16px;
  min-width: 0;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.model-category-select,
.model-sort-select {
  min-width: 178px;
  color: var(--blue-deep);
  font-weight: 900;
}

.unit-toggle {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.is-metric .unit-toggle {
  background: var(--yellow);
  color: var(--ink);
}

.unit-metric {
  display: none;
}

.is-metric .unit-us {
  display: none;
}

.is-metric .unit-metric {
  display: inline;
}

.model-count-row {
  width: min(1180px, calc(100% - 44px));
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px auto 0;
  color: var(--muted);
}

.model-count-row strong {
  color: var(--blue-deep);
  font-size: 21px;
}

.model-explorer-grid {
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

/* Keep the complete, filterable model catalog in the DOM without paying the
   layout and paint cost for cards that are still far below the viewport. */
.model-explorer-grid > .model-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 430px;
}

.model-view-toggle {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(21, 93, 168, 0.14);
  background: #e9f7fb;
  white-space: nowrap;
}

.model-view-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 9px 11px;
  background: transparent;
  color: var(--blue-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.model-view-toggle button.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 7px 14px rgba(21, 93, 168, 0.18);
}

.model-card-visual {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(239, 249, 252, 0.94), rgba(255, 255, 255, 0.92)),
    #f6fcfe;
}

.model-card-visual .model-view-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  padding: 16px 18px 132px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 180ms ease, transform 220ms ease;
}

.model-card-visual .model-view-photo {
  padding: 0;
  object-fit: cover;
  transform-origin: center;
}

.model-explorer-grid[data-model-view="topside"] .model-card-visual .model-view-topside,
.model-explorer-grid[data-model-view="top"] .model-card-visual .model-view-top,
.model-explorer-grid[data-model-view="side"] .model-card-visual .model-view-side,
.model-explorer-grid[data-model-view="image"] .model-card-visual .model-view-photo[data-loaded="true"] {
  opacity: 1;
}

.model-card:hover .model-card-visual .model-view-photo[data-loaded="true"] {
  opacity: 1;
  animation: modelPhotoHoverFlow 15s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.model-viewer[data-view="image"]:hover .model-viewer-image.model-view-photo[data-loaded="true"] {
  animation: modelPhotoHoverFlow 15s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes modelPhotoHoverFlow {
  0% {
    opacity: 0.84;
    transform: translateX(-3.5%) scale(1.08);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateX(3.5%) scale(1.08);
  }
}

.model-card-visual .model-stat-chips {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-stat-chips {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
}

.model-stat-chips div {
  min-width: 0;
  padding: 6px 5px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 93, 168, 0.12);
  box-shadow: 0 8px 18px rgba(10, 52, 92, 0.08);
}

.model-stat-chips dt,
.model-stat-chips dd {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-stat-chips dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}

.model-stat-chips dd {
  margin-top: 2px;
  color: var(--blue-deep);
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 950;
  line-height: 1.1;
}

.segmented {
  display: flex;
  gap: 6px;
  background: #e9f7fb;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(21, 93, 168, 0.12);
}

.segmented button {
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  background: transparent;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.segmented button.active {
  background: var(--blue);
  color: #fff;
}

.model-card h2 {
  margin: 12px 0 4px;
  font-size: 23px;
}

.model-card p {
  color: var(--muted);
  margin: 0 0 8px;
}

.model-card span:not(.unit-us):not(.unit-metric) {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 900;
}

.model-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.model-specs div {
  margin-left: 0;
  margin-right: 0;
  padding: 9px 8px;
  border-radius: 8px;
  background: #eff9fc;
  border: 1px solid rgba(21, 93, 168, 0.1);
}

.model-specs dt,
.model-specs dd {
  margin: 0;
}

.model-specs dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.model-specs dd {
  margin-top: 3px;
  color: var(--blue-deep);
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.model-specs sup,
.spec-table sup {
  font-size: 0.72em;
  line-height: 0;
}

.wide-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rich-model-specs {
  display: grid;
  gap: 12px;
}

.spec-detail-drawer {
  border: 1px solid rgba(21, 93, 168, 0.14);
  border-radius: 8px;
  background: #f7fcfe;
  overflow: hidden;
}

.spec-detail-drawer summary {
  cursor: pointer;
  padding: 12px 13px;
  color: var(--blue-deep);
  font-weight: 900;
  list-style-position: inside;
}

.spec-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0 12px 12px;
}

.spec-detail-list div {
  min-width: 0;
  margin: 0;
  padding: 10px;
  border-radius: 6px;
  background: #fff;
}

.spec-detail-list dt,
.spec-detail-list dd {
  margin: 0;
}

.spec-detail-list dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-detail-list dd {
  margin-top: 4px;
  color: var(--blue-deep);
  font-weight: 900;
}

.model-card[hidden] {
  display: none;
}

.model-detail-page {
  background: linear-gradient(180deg, #fff, #f2fbfd 48%, #fff);
}

.model-detail-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: 132px 7vw 58px;
  background:
    linear-gradient(105deg, rgba(5, 35, 65, 0.92), rgba(21, 93, 168, 0.48)),
    url("/images/pool-img-2.jpg") center / cover no-repeat;
  color: #fff;
  border-bottom: 4px solid rgba(255, 214, 74, 0.9);
}

.model-detail-copy h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.98;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.38);
}

.model-detail-copy p:not(.eyebrow) {
  max-width: 640px;
  font-size: 21px;
  line-height: 1.42;
  font-weight: 800;
}

.model-detail-hero > img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 26px 64px rgba(0, 24, 54, 0.34);
}

.model-detail-grid,
.model-plans,
.legacy-model-copy,
.canibuild-panel,
.related-models {
  width: min(1180px, calc(100% - 44px));
  margin: 48px auto;
}

.model-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
  gap: 26px;
  align-items: start;
}

.detail-media {
  min-width: 0;
}

.model-viewer {
  min-width: 0;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.model-viewer-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, #06233f, #155da8);
  border-bottom: 1px solid rgba(255, 214, 74, 0.36);
}

.model-viewer-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.model-viewer-head .eyebrow {
  color: var(--yellow);
  margin-bottom: 7px;
}

.model-viewer-head .model-view-toggle {
  max-width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.model-viewer-head .model-view-toggle button {
  color: #fff;
}

.model-viewer-head .model-view-toggle button.active {
  background: var(--yellow);
  color: var(--ink);
}

.model-viewer-frame {
  position: relative;
  min-height: 520px;
  aspect-ratio: 16 / 11;
  background:
    linear-gradient(180deg, rgba(239, 249, 252, 0.96), rgba(255, 255, 255, 0.94)),
    #f6fcfe;
  overflow: hidden;
}

.model-viewer-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  padding: 22px 28px 86px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 180ms ease, transform 220ms ease;
}

.model-viewer-image.model-view-photo {
  padding: 0;
  object-fit: cover;
  transform-origin: center;
}

.model-viewer[data-view="topside"] .model-viewer-image.model-view-topside,
.model-viewer[data-view="top"] .model-viewer-image.model-view-top,
.model-viewer[data-view="side"] .model-viewer-image.model-view-side,
.model-viewer[data-view="image"] .model-viewer-image.model-view-photo[data-loaded="true"],
.model-viewer-image.active:not(.model-view-photo),
.model-viewer-image.active.model-view-photo[data-loaded="true"] {
  opacity: 1;
}

.model-viewer-frame .model-stat-chips {
  left: 16px;
  right: 16px;
  bottom: 16px;
  gap: 8px;
}

.model-viewer-frame .model-stat-chips div {
  padding: 10px 9px;
}

.model-viewer-frame .model-stat-chips dt {
  font-size: 12px;
}

.model-viewer-frame .model-stat-chips dd {
  font-size: clamp(13px, 1.7vw, 18px);
}

.detail-main-image {
  width: 100%;
  max-height: 650px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  border-color: var(--yellow);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.detail-spec-panel {
  position: sticky;
  top: 106px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.detail-panel-head h2,
.model-plans h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1;
}

.detail-actions,
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.detail-actions .spec-download-menu,
.single-spec-actions .spec-download-menu {
  flex: 1 1 252px;
  width: min(100%, 336px);
}

.detail-actions .spec-download-toggle,
.single-spec-actions .spec-download-toggle {
  display: grid;
}

.detail-actions .spec-download-panel,
.single-spec-actions .spec-download-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.24s ease, opacity 0.18s ease, transform 0.18s ease, padding-top 0.18s ease;
}

.detail-actions .spec-download-menu.is-open .spec-download-panel,
.single-spec-actions .spec-download-menu.is-open .spec-download-panel {
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 8px;
}

.detail-actions .spec-download-row,
.single-spec-actions .spec-download-row {
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: none;
  place-items: center start;
  min-width: 0;
  min-height: 56px;
  padding: 8px;
  text-align: left;
}

.detail-actions .spec-download-row > span:last-child,
.single-spec-actions .spec-download-row > span:last-child {
  max-width: none;
  text-align: left;
}

.dark-link {
  color: var(--blue-deep);
  border-color: rgba(21, 93, 168, 0.22);
}

.feature-tags a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  background: #e8f7fb;
  color: var(--blue-deep);
  font-weight: 900;
  font-size: 13px;
}

.model-plans {
  display: grid;
  gap: 18px;
}

.model-plans > div:first-child {
  padding: 18px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #06233f, #155da8);
  color: #fff;
  box-shadow: 0 16px 32px rgba(5, 35, 65, 0.16);
}

.model-plans > div:first-child h2 {
  color: #fff;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.plan-grid img,
.sketchfab-card,
.sketchfab-frame {
  width: 100%;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #fff;
}

.plan-grid img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 14px;
}

.sketchfab-frame {
  display: block;
  min-height: 520px;
}

.sketchfab-card {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(22px, 4vw, 40px);
  color: #fff;
  background: var(--blue-deep);
  isolation: isolate;
}

.sketchfab-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 35, 65, 0.86), rgba(21, 93, 168, 0.32)),
    linear-gradient(0deg, rgba(5, 35, 65, 0.58), transparent 58%);
}

.sketchfab-preview {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.08);
}

.sketchfab-card-content {
  position: relative;
  max-width: 520px;
}

.sketchfab-card h3 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.legacy-model-copy {
  display: grid;
  gap: 16px;
}

.model-banner-copy,
.model-info-copy {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(10, 52, 92, 0.08);
  line-height: 1.48;
}

.model-banner-copy :is(p, ul, ol),
.model-info-copy :is(p, ul, ol) {
  margin: 0 0 12px;
}

.model-banner-copy :is(p, ul, ol):last-child,
.model-info-copy :is(p, ul, ol):last-child {
  margin-bottom: 0;
}

.model-banner-copy :is(h2, h3, h4),
.model-info-copy :is(h2, h3, h4) {
  margin: 20px 0 8px;
  color: var(--blue-deep);
  line-height: 1.08;
}

.model-banner-copy :is(h2, h3, h4):first-child,
.model-info-copy :is(h2, h3, h4):first-child {
  margin-top: 0;
}

.model-info-copy img,
.model-banner-copy img {
  max-width: 100%;
  border-radius: 8px;
}

.canibuild-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(420px, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid rgba(21, 93, 168, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 55, 99, 0.96), rgba(21, 93, 168, 0.78)),
    linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  box-shadow: var(--shadow);
}

.canibuild-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.canibuild-panel p:not(.eyebrow) {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  line-height: 1.45;
}

.canibuild-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.canibuild-widget-shell {
  min-height: 210px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

#canibuild-widget-search-root {
  min-height: 178px;
  display: grid;
  place-items: center;
}

#canibuild-widget-search-root span {
  color: var(--blue-deep);
  font-weight: 900;
}

.related-models {
  display: grid;
  gap: 18px;
}

.related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.related-head h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1;
}

.related-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.related-tabs button {
  border: 1px solid rgba(21, 93, 168, 0.16);
  border-radius: 999px;
  padding: 10px 13px;
  background: #fff;
  color: var(--blue-deep);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.related-tabs button.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.related-grid {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.related-grid.active {
  display: grid;
}

.related-model-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(5, 35, 65, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.related-model-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(5, 35, 65, 0.14);
}

.related-model-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.related-model-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.related-model-card strong {
  font-size: 20px;
  line-height: 1.05;
}

.related-model-card small {
  color: var(--muted);
  font-weight: 900;
  line-height: 1.25;
}

.event-list article {
  padding: 20px;
}

.event-list span {
  color: var(--blue);
  font-weight: 900;
}

.event-list h2 {
  margin: 8px 0;
}

.event-list p {
  color: var(--muted);
}

.gallery-toolbar {
  width: min(1180px, calc(100% - 44px));
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-toolbar a {
  text-decoration: none;
  padding: 10px 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-deep);
  border: 1px solid rgba(21, 93, 168, 0.18);
  font-weight: 900;
}

.gallery-toolbar a.active,
.gallery-toolbar a:hover {
  background: var(--blue);
  color: #fff;
}

.gallery-feature-toolbar {
  width: min(1180px, calc(100% - 44px));
  margin: 12px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.gallery-feature-toolbar > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-feature-toolbar a,
.gallery-feature-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(12, 128, 142, 0.2);
  border-radius: 999px;
  padding: 5px 9px;
  background: #edf8f6;
  color: #075a65;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.gallery-feature-toolbar a.active,
.gallery-feature-toolbar a:hover,
.gallery-feature-links a:hover,
.gallery-feature-links a:focus-visible {
  border-color: rgba(12, 128, 142, 0.44);
  background: #d8f2ee;
  color: #043f49;
}

.gallery-feature-toolbar .clear-feature {
  background: #fff;
  color: var(--muted);
}

.photo-gallery-grid {
  width: min(1180px, calc(100% - 44px));
  margin: 30px auto 72px;
  columns: 4 245px;
  column-gap: 16px;
}

.gallery-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(10, 52, 92, 0.1);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  border-color: rgba(21, 93, 168, 0.38);
  box-shadow: 0 18px 34px rgba(10, 52, 92, 0.16);
}

.gallery-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  background: #d8e4ef;
}

.gallery-card div {
  padding: 13px;
}

.gallery-card .reaction-controls,
.gallery-card .gallery-rating {
  padding: 0;
}

.gallery-card h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.12;
}

.gallery-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 900;
  line-height: 1.3;
}

.gallery-feature-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}

.gallery-card .gallery-feature-links {
  margin-top: 10px;
}

.gallery-card .gallery-feature-links a {
  min-height: 26px;
  padding: 4px 8px;
  font-size: 11px;
}

.source-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(21, 93, 168, 0.18);
  border-radius: 999px;
  background: #f7fbff;
  color: var(--blue-deep);
  padding: 5px 8px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.gallery-hero .source-tag {
  margin-top: 14px;
}

.gallery-card .source-tag,
.model-gallery-card .source-tag {
  margin-top: 2px;
}

.gallery-empty {
  width: min(860px, calc(100% - 44px));
  margin: 34px auto 72px;
  padding: 24px;
  border: 1px dashed rgba(21, 93, 168, 0.32);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 52, 92, 0.08);
}

.gallery-empty h2 {
  margin: 0 0 8px;
}

.gallery-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.model-photo-gallery {
  width: min(1180px, calc(100% - 44px));
  margin: 34px auto;
}

.model-gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.model-gallery-head h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.98;
}

.model-gallery-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.model-gallery-head > strong {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(21, 93, 168, 0.16);
  padding: 10px 14px;
  color: var(--blue-deep);
  box-shadow: 0 8px 18px rgba(10, 52, 92, 0.08);
}

.model-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 16px;
}

.model-gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 52, 92, 0.1);
}

.model-gallery-card[data-card-href],
.gallery-card[data-media-kind="video"],
.model-gallery-card[data-media-kind="video"] {
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.model-gallery-card[data-card-href]:hover,
.model-gallery-card[data-card-href]:focus-visible,
.gallery-card[data-media-kind="video"]:hover,
.gallery-card[data-media-kind="video"]:focus-visible,
.model-gallery-card[data-media-kind="video"]:hover,
.model-gallery-card[data-media-kind="video"]:focus-visible {
  border-color: rgba(21, 93, 168, 0.38);
  box-shadow: 0 18px 34px rgba(10, 52, 92, 0.16);
}

.model-gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  background: #d8e4ef;
}

.video-card-preview img,
.video-card-preview video {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  background: #061f38;
}

.video-card-preview video {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.gallery-card[data-media-kind="video"].is-video-previewing .video-card-preview img,
.model-gallery-card[data-media-kind="video"].is-video-previewing .video-card-preview img {
  opacity: 0;
}

.gallery-card[data-media-kind="video"].is-video-previewing .video-card-preview video,
.model-gallery-card[data-media-kind="video"].is-video-previewing .video-card-preview video {
  opacity: 1;
}

.video-card-preview {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  background: #061f38;
}

.video-card-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 16, 32, 0) 48%, rgba(2, 16, 32, 0.5));
  opacity: 0.9;
}

.gallery-card[data-media-kind="video"] .video-card-preview video,
.model-gallery-card[data-media-kind="video"] .video-card-preview video {
  pointer-events: none;
}

.gallery-card[data-media-kind="video"].is-video-previewing .video-card-badge,
.model-gallery-card[data-media-kind="video"].is-video-previewing .video-card-badge {
  background: rgba(14, 183, 190, 0.94);
  color: #042033;
  box-shadow: 0 0 24px rgba(14, 183, 190, 0.32);
}

.video-card-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(2, 16, 32, 0.74);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(0, 12, 28, 0.24);
}

.video-card-badge span {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.model-gallery-card-body {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.model-gallery-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.reaction-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
}

.reaction-controls .reaction-state {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.card-reaction-controls {
  margin-top: 10px;
}

.model-card-reactions {
  justify-content: flex-start;
  pointer-events: none;
}

.model-card-reactions .gallery-save-button,
.model-card-reactions .gallery-rating button,
.model-detail-reaction-card .gallery-save-button,
.model-detail-reaction-card .gallery-rating button {
  pointer-events: auto;
  box-shadow: 0 8px 18px rgba(0, 22, 48, 0.14);
}

.model-card-reactions .reaction-state {
  display: none;
}

.explorer-model-reactions,
.related-model-reactions {
  margin: 8px 18px 16px;
  padding: 8px 10px;
  border: 1px solid rgba(21, 93, 168, 0.12);
  border-radius: 8px;
  background: #f8fbfd;
}

.related-model-reactions {
  margin: 2px 0 0;
}

.gallery-detail-reaction-controls {
  justify-content: flex-start;
  margin-top: 10px;
}

.model-detail-reaction-card {
  width: fit-content;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 8px;
  border: 1px solid rgba(21, 93, 168, 0.12);
  border-radius: 8px;
  background: rgba(246, 252, 254, 0.96);
}

.model-detail-reaction-controls {
  justify-content: flex-start;
}

.pool-tile .reaction-controls span,
.model-card .reaction-controls span,
.related-model-card .reaction-controls span {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: 1;
  text-transform: none;
  opacity: 1;
}

.gallery-save-button,
.gallery-rating button {
  display: inline-grid;
  place-items: center;
  align-items: center;
  justify-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(21, 93, 168, 0.18);
  background: #fff;
  color: #7890a7;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  padding: 0;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.gallery-save-button {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 999px;
  font-size: 18px;
}

.gallery-save-button.is-saved {
  color: #df2f45;
  border-color: rgba(223, 47, 69, 0.34);
  background: #fff1f3;
}

.gallery-save-button:hover:not(.is-saved),
.gallery-save-button:focus-visible:not(.is-saved) {
  color: #df2f45;
  border-color: rgba(223, 47, 69, 0.28);
  background: #fff7f8;
  animation: reactionHeartBeat 920ms ease-in-out infinite;
}

.gallery-save-button.is-popping,
.gallery-save-button.is-popping:hover,
.gallery-save-button.is-popping:focus-visible {
  animation: reactionHeartPop 420ms cubic-bezier(0.18, 0.9, 0.28, 1.35);
}

.reaction-controls .gallery-save-button span,
.reaction-controls .gallery-rating button span {
  display: block;
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: 1;
  transform: translateY(0);
}

.gallery-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.gallery-rating button {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1;
}

.gallery-rating button.preview,
.gallery-rating button.active {
  color: #f3b300;
  border-color: rgba(243, 179, 0, 0.42);
  background: #fff6d3;
}

.gallery-rating[data-hover-rating] button.active:not(.preview) {
  color: #7890a7;
  border-color: rgba(21, 93, 168, 0.18);
  background: #fff;
}

@keyframes reactionHeartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  18% {
    transform: scale(1.12);
  }
  34% {
    transform: scale(0.98);
  }
  52% {
    transform: scale(1.16);
  }
  72% {
    transform: scale(1);
  }
}

@keyframes reactionHeartPop {
  0% {
    transform: scale(0.88);
  }
  45% {
    transform: scale(1.28);
  }
  72% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

.model-gallery-card h3 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 17px;
  line-height: 1.2;
}

.model-gallery-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}

.model-gallery-chips span,
.model-gallery-chips a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue-deep);
  padding: 4px 7px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.model-gallery-chips a {
  border: 1px solid rgba(21, 93, 168, 0.16);
  background: #e8f7fb;
  color: #075a65;
}

.model-gallery-chips a:hover,
.model-gallery-chips a:focus-visible {
  background: #d6f0f5;
  border-color: rgba(12, 128, 142, 0.34);
}

.gallery-card-smart-chips {
  margin-top: 9px;
}

.model-gallery-scores,
.model-gallery-state {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.model-gallery-state {
  min-height: 16px;
  color: var(--blue);
}

.gallery-detail {
  width: min(1180px, calc(100% - 44px));
  margin: 122px auto 24px;
}

.gallery-detail-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px;
  border: 1px solid rgba(21, 93, 168, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(10, 52, 92, 0.1);
}

.gallery-detail-nav a,
.gallery-detail-next a,
.gallery-photo-step {
  border: 1px solid rgba(21, 93, 168, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-deep);
  padding: 9px 12px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(10, 52, 92, 0.08);
}

.gallery-detail-nav a,
.gallery-detail-next a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  flex: 1 1 190px;
  text-align: center;
  border-radius: 999px;
}

.gallery-photo-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.gallery-photo-step {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gallery-photo-step:nth-child(3) {
  text-align: right;
}

.gallery-photo-step.center {
  min-width: 178px;
  text-align: center;
  background: var(--yellow);
  color: #172033;
  border-color: rgba(255, 214, 74, 0.9);
}

.gallery-photo-step span {
  color: var(--blue);
  font-size: 12px;
  text-transform: uppercase;
}

.gallery-photo-step.center span {
  color: #614900;
}

.gallery-photo-step strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-photo-step.disabled {
  opacity: 0.54;
  box-shadow: none;
}

.gallery-photo-step:not(.disabled):hover,
.gallery-photo-step:not(.disabled):focus-visible {
  transform: translateY(-1px);
  background: #eef7ff;
  border-color: rgba(255, 214, 74, 0.9);
}

.gallery-detail-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.gallery-stage {
  position: relative;
  min-width: 0;
  touch-action: pan-y;
  user-select: none;
}

.gallery-stage figure {
  margin: 0;
  height: clamp(300px, 58vh, 620px);
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(21, 93, 168, 0.14);
  background: #e8f1f8;
  box-shadow: 0 20px 42px rgba(10, 52, 92, 0.16);
}

.gallery-main-image-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-main-image-button:focus-visible {
  outline: 3px solid rgba(255, 214, 74, 0.95);
  outline-offset: -6px;
}

.gallery-stage figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: #e8f1f8;
  -webkit-user-drag: none;
}

.gallery-side-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: clamp(42px, 5vw, 58px);
  height: clamp(58px, 9vw, 90px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  color: #fff;
  background: rgba(6, 34, 58, 0.56);
  transform: translateY(-50%);
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.gallery-side-arrow.previous {
  left: 12px;
}

.gallery-side-arrow.next {
  right: 12px;
}

.gallery-side-arrow span {
  width: 14px;
  height: 14px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.gallery-side-arrow.previous span {
  transform: translateX(3px) rotate(-45deg);
}

.gallery-side-arrow.next span {
  transform: translateX(-3px) rotate(135deg);
}

.gallery-side-arrow:hover,
.gallery-side-arrow:focus-visible {
  outline: 0;
  background: rgba(21, 93, 168, 0.86);
  border-color: rgba(255, 255, 255, 0.9);
}

.gallery-side-arrow.disabled {
  opacity: 0.24;
  pointer-events: none;
}

.gallery-detail-copy {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 18px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(21, 93, 168, 0.16);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(10, 52, 92, 0.08);
}

.gallery-detail-copy h1 {
  margin: 0;
  max-width: 900px;
  color: var(--blue-deep);
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.12;
}

.gallery-detail-description {
  margin: 7px 0 10px;
  max-width: 820px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.gallery-feature-section {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.gallery-feature-section > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.secondary-feature-links a {
  border-color: rgba(21, 93, 168, 0.18);
  background: #fff;
  color: var(--blue-deep);
}

.gallery-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  grid-column: 2;
}

.gallery-detail-actions .primary-btn,
.gallery-detail-actions .secondary-btn {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 13px;
}

.gallery-detail-related {
  width: min(1180px, calc(100% - 44px));
  margin: 34px auto;
}

.gallery-detail-related .section-head p:not(.eyebrow) {
  margin: 6px 0 0;
  max-width: 680px;
  color: var(--muted);
}

.gallery-related-status {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.gallery-detail-related.is-loading .compact-gallery-grid:empty {
  min-height: 92px;
  border: 1px dashed rgba(21, 93, 168, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(247, 250, 253, 0.7), rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.7));
}

.gallery-detail-alternates {
  padding-top: 26px;
  border-top: 1px solid rgba(21, 93, 168, 0.12);
}

.exploration-options {
  width: min(1180px, calc(100% - 44px));
  margin: 34px auto 58px;
}

.gallery-detail-alternates .exploration-options {
  width: 100%;
  margin: 18px 0 24px;
}

.exploration-options .section-head p:not(.eyebrow) {
  margin: 6px 0 0;
  max-width: 760px;
  color: var(--muted);
}

.exploration-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.global-option-rail .exploration-option-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.global-option-rail .exploration-option-card {
  grid-column: span 2;
}

.global-option-rail .exploration-option-card.has-image {
  grid-column: span 3;
}

.global-option-rail .exploration-option-card.is-local-action-start {
  grid-column: 1 / span 2;
}

.global-option-rail .exploration-option-card.is-local-action {
  min-height: 132px;
}

.exploration-option-card {
  min-width: 0;
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(5, 35, 65, 0.16);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.exploration-option-card.has-image {
  min-height: 220px;
  position: relative;
  overflow: hidden;
  align-content: stretch;
  padding: 0;
  background: #061f38;
}

.exploration-option-card.has-image > img,
.exploration-option-card.has-image > .exploration-card-copy {
  grid-area: 1 / 1;
}

.exploration-option-card.has-image > img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 260ms ease;
}

.exploration-option-card.has-image:hover > img,
.exploration-option-card.has-image:focus-visible > img {
  transform: scale(1.05);
}

.exploration-card-copy {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: space-between;
}

.exploration-option-card.has-image .exploration-card-copy {
  align-self: end;
  padding: 42px 14px 14px;
  background: linear-gradient(180deg, rgba(2, 16, 32, 0), rgba(2, 16, 32, 0.86) 52%, rgba(2, 16, 32, 0.96));
}

.exploration-option-card:hover,
.exploration-option-card:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.04) brightness(1.02);
  box-shadow: 0 18px 38px rgba(5, 35, 65, 0.2);
  outline: 0;
}

.exploration-option-card span {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.exploration-option-card strong {
  font-size: 22px;
  line-height: 1.02;
}

.exploration-option-card small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.exploration-option-card.color-1 {
  background: linear-gradient(135deg, #155da8, #0c8eb4);
}

.exploration-option-card.color-2 {
  background: linear-gradient(135deg, #087a7c, #13a191);
}

.exploration-option-card.color-3 {
  background: linear-gradient(135deg, #6b44ad, #9b5bc7);
}

.exploration-option-card.color-4 {
  background: linear-gradient(135deg, #9a5b00, #ce8a18);
}

.exploration-option-card.color-5 {
  background: linear-gradient(135deg, #304f66, #53748a);
}

.exploration-dealer-strip {
  display: grid;
  grid-template-columns: minmax(250px, 0.32fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(21, 93, 168, 0.1), rgba(30, 154, 168, 0.08)),
    #f5fbfe;
  border: 1px solid rgba(21, 93, 168, 0.12);
  box-shadow: 0 18px 42px rgba(5, 35, 65, 0.08);
}

.exploration-dealer-head {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 4px;
}

.exploration-dealer-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.exploration-dealer-head strong {
  color: var(--blue-deep);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.exploration-dealer-head p {
  margin: 0;
  color: #40566d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.exploration-dealer-cta {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px 9px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(21, 93, 168, 0.24);
}

.exploration-dealer-cta::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
}

.exploration-dealer-cta:hover,
.exploration-dealer-cta:focus-visible {
  background: linear-gradient(135deg, var(--blue), #1e9aa8);
  outline: 0;
}

.exploration-dealer-zip-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-top: 2px;
}

.exploration-dealer-strip.is-updating {
  opacity: 0.72;
}

.exploration-dealer-zip-form label {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.exploration-dealer-zip-form label span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.exploration-dealer-zip-form input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(21, 93, 168, 0.18);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
}

.exploration-dealer-zip-form button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--yellow);
  color: var(--blue-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.exploration-dealer-zip-form button:disabled {
  cursor: wait;
  opacity: 0.76;
}

.exploration-dealer-zip-status {
  grid-column: 1 / -1;
  min-height: 15px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.exploration-dealer-strip .dealer-card-grid {
  gap: 10px;
}

.exploration-gallery-carousel {
  position: relative;
  margin-top: 16px;
}

.exploration-gallery-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 2px 48px 12px;
  scrollbar-width: none;
}

.exploration-gallery-strip::-webkit-scrollbar {
  display: none;
}

.exploration-gallery-card {
  display: grid;
  flex: 0 0 clamp(220px, 22vw, 304px);
  width: clamp(220px, 22vw, 304px);
  margin: 0;
  position: relative;
  min-height: 236px;
  scroll-snap-align: start;
  border-color: rgba(7, 24, 41, 0.16);
  background: #0b1d2b;
}

.exploration-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 93, 168, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(5, 35, 65, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
}

.exploration-gallery-arrow.previous {
  left: 4px;
}

.exploration-gallery-arrow.next {
  right: 4px;
}

.exploration-gallery-arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--blue-deep);
  border-right: 3px solid var(--blue-deep);
}

.exploration-gallery-arrow.previous::before {
  transform: translateX(2px) rotate(-135deg);
}

.exploration-gallery-arrow.next::before {
  transform: translateX(-2px) rotate(45deg);
}

.exploration-gallery-arrow:hover,
.exploration-gallery-arrow:focus-visible {
  background: var(--yellow);
}

@media (max-width: 980px) {
  .global-option-rail .exploration-option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .global-option-rail .exploration-option-card,
  .global-option-rail .exploration-option-card.has-image,
  .global-option-rail .exploration-option-card.is-local-action-start {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .global-option-rail .exploration-option-grid {
    grid-template-columns: 1fr;
  }

  .global-option-rail .exploration-option-card,
  .global-option-rail .exploration-option-card.has-image,
  .global-option-rail .exploration-option-card.is-local-action-start {
    grid-column: 1;
  }

  .exploration-dealer-strip {
    grid-template-columns: 1fr;
  }

  .exploration-dealer-strip .dealer-card-grid {
    grid-template-columns: 1fr;
  }

  .exploration-dealer-zip-form {
    grid-template-columns: 1fr;
  }

  .exploration-gallery-strip {
    padding-left: 44px;
    padding-right: 44px;
  }

  .exploration-gallery-card {
    flex-basis: min(78vw, 304px);
    width: min(78vw, 304px);
  }
}

.exploration-gallery-card img {
  aspect-ratio: 4 / 3;
  height: 100%;
  min-height: 236px;
  grid-area: 1 / 1;
}

.exploration-gallery-card > div:not(.video-card-preview) {
  align-self: end;
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  padding: 44px 11px 11px;
  color: #fff;
  background: linear-gradient(180deg, rgba(6, 20, 33, 0) 0%, rgba(6, 20, 33, 0.82) 50%, rgba(6, 20, 33, 0.94) 100%);
}

.exploration-gallery-card h2 {
  color: #fff;
  font-size: 13px;
  line-height: 1.18;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.exploration-gallery-card p {
  display: none;
}

.exploration-gallery-card .source-tag {
  margin-top: 8px;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.94);
  color: #082033;
}

.compact-gallery-grid {
  width: 100%;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  columns: auto;
}

.gallery-detail-next {
  width: min(1180px, calc(100% - 44px));
  margin: 24px auto 72px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.gallery-load-more {
  display: block;
  min-height: 44px;
  margin: 18px auto 0;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #fff;
  background: var(--blue);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.gallery-load-more:hover,
.gallery-load-more:focus-visible {
  outline: 0;
  background: var(--blue-deep);
}

.gallery-detail-nav a:hover,
.gallery-detail-next a:hover {
  background: var(--blue);
  color: #fff;
}

.data-summary-row,
.spec-toolbar,
.spec-table-wrap,
.pool-list-index,
.asset-library-grid {
  width: min(1180px, calc(100% - 44px));
  margin-left: auto;
  margin-right: auto;
}

.data-summary-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.data-summary-row article {
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 52, 92, 0.08);
}

.data-summary-row strong,
.data-summary-row span {
  display: block;
}

.data-summary-row strong {
  color: var(--blue-deep);
  font-size: 32px;
  line-height: 1;
}

.data-summary-row span {
  margin-top: 7px;
  color: var(--muted);
  font-weight: 900;
}

.spec-toolbar {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr repeat(5, auto);
  gap: 10px;
}

.spec-toolbar input {
  min-width: 0;
  padding: 13px 15px;
  border: 2px solid rgba(21, 93, 168, 0.2);
  border-radius: 999px;
  font: inherit;
}

.spec-toolbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  text-decoration: none;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(21, 93, 168, 0.18);
  color: var(--blue-deep);
  font-weight: 900;
}

.spec-table-wrap {
  margin-top: 18px;
  margin-bottom: 72px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 52, 92, 0.08);
}

body[data-page="pool-specifications"] .spec-toolbar,
body[data-page="pool-specs"] .spec-toolbar,
body[data-page="pool-specifications"] .spec-table-wrap,
body[data-page="pool-specs"] .spec-table-wrap {
  width: calc(100% - 24px);
  margin-left: 12px;
  margin-right: 12px;
}

.spec-table {
  width: 100%;
  min-width: 3400px;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(20, 63, 94, 0.12);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  position: sticky;
  top: 82px;
  z-index: 1;
  padding: 0;
  background: var(--blue-deep);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

body:not(.nav-compact) .spec-table th {
  top: 112px;
}

.spec-sort-button {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 11px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0;
  text-align: left;
  text-transform: inherit;
  cursor: pointer;
}

.spec-sort-button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid rgba(255, 255, 255, 0.58);
  opacity: 0.7;
}

.spec-sort-button.active::after,
.spec-sort-button:hover::after,
.spec-sort-button:focus-visible::after {
  border-top-color: #ffd64a;
  opacity: 1;
}

.spec-table th[aria-sort="ascending"] .spec-sort-button::after {
  transform: rotate(180deg);
}

.spec-table th[aria-sort="ascending"],
.spec-table th[aria-sort="descending"] {
  background: #0b4b86;
}

.spec-table td {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.spec-table td a {
  color: var(--blue);
  font-weight: 900;
}

.spec-table td span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.spec-table th:first-child,
.spec-table td:first-child {
  position: sticky;
  left: 0;
}

.spec-table th[data-spec-key="downloads"],
.spec-table td[data-spec-key="downloads"] {
  position: sticky;
  left: 180px;
  min-width: 430px;
}

.spec-table th:first-child {
  z-index: 5;
}

.spec-table th[data-spec-key="downloads"] {
  z-index: 4;
}

.spec-table td:first-child {
  z-index: 2;
  min-width: 180px;
  background: #fff;
  box-shadow: 1px 0 0 rgba(20, 63, 94, 0.12);
}

.spec-table td[data-spec-key="downloads"] {
  z-index: 2;
  min-width: 430px;
  background: #fff;
  box-shadow: 1px 0 0 rgba(20, 63, 94, 0.12), -1px 0 0 rgba(20, 63, 94, 0.08);
}

.spec-table tr:nth-child(even) td {
  background: #f7fbfd;
}

.spec-table tr:nth-child(even) td:first-child {
  background: #f7fbfd;
}

.spec-table tr:nth-child(even) td[data-spec-key="downloads"] {
  background: #f7fbfd;
}

.spec-table tbody tr:hover td {
  background: #e7f3ff;
  color: #062f54;
}

.spec-table tbody tr:hover td:first-child {
  background: #d8ecff;
}

.spec-table tbody tr:hover td[data-spec-key="downloads"] {
  background: #d8ecff;
}

.spec-table th.is-column-hovered {
  background: #1467ab;
  color: #fff;
}

.spec-table td.is-column-hovered,
.spec-table td:first-child.is-column-hovered {
  background: #dcefff;
  color: #062f54;
  box-shadow: inset 1px 0 0 rgba(21, 93, 168, 0.22), inset -1px 0 0 rgba(21, 93, 168, 0.22);
}

.spec-table tbody tr:hover td.is-column-hovered,
.spec-table td.is-cell-hovered,
.spec-table td:first-child.is-cell-hovered {
  background: #155da8;
  color: #fff;
}

.spec-table th.is-cell-hovered {
  background: #003a53;
  color: #fff;
}

.spec-table tbody tr:hover td a,
.spec-table tbody tr:hover td span,
.spec-table td.is-column-hovered a,
.spec-table td.is-column-hovered span,
.spec-table td.is-cell-hovered a,
.spec-table td.is-cell-hovered span {
  color: inherit;
}

.spec-table tr[hidden] {
  display: none;
}

.spec-download-menu {
  width: max-content;
  max-width: 100%;
}

.spec-table.has-open-download tbody tr[data-spec-row]:not(.is-download-open) td {
  opacity: 0.42;
  background: #eef3f7;
}

.spec-table tr.is-download-open td {
  background: #fff;
}

.spec-download-detail-row[hidden] {
  display: none;
}

.spec-download-detail-row td {
  position: sticky;
  left: 0;
  z-index: 4;
  padding: 0 !important;
  background: #f3f8fb !important;
  box-shadow: inset 0 1px 0 rgba(21, 93, 168, 0.18), inset 0 -1px 0 rgba(21, 93, 168, 0.18);
}

.spec-download-detail-panel {
  position: sticky;
  left: 0;
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: min(100%, calc(100vw - 26px));
  padding: 16px;
  border-left: 4px solid var(--yellow);
}

.spec-download-detail-panel > div:first-child {
  display: grid;
  gap: 4px;
}

.spec-download-detail-panel > div:first-child span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-download-detail-panel > div:first-child strong {
  color: var(--blue-deep);
  font-size: 20px;
  line-height: 1;
}

.spec-table td .spec-download-menu span {
  margin-top: 0;
}

.spec-table td .spec-download-stack {
  display: flex;
}

.spec-table td .spec-download-toggle-copy,
.spec-table td .spec-download-row > span:last-child {
  display: grid;
}

.spec-table td .spec-download-icon,
.spec-table td .spec-download-icon .file-icon {
  display: grid;
}

.spec-download-toggle {
  display: none;
  width: 100%;
  min-height: 46px;
  grid-template-columns: 58px 1fr 12px;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid rgba(21, 93, 168, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-deep);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 18px rgba(10, 52, 92, 0.08);
}

.table-download-toggle {
  display: grid;
  min-width: 190px;
}

.spec-download-stack {
  display: flex;
  align-items: center;
  min-width: 58px;
}

.spec-download-stack .spec-download-icon {
  margin-left: -11px;
  box-shadow: 0 4px 8px rgba(10, 52, 92, 0.18);
}

.spec-download-stack .spec-download-icon:first-child {
  margin-left: 0;
}

.spec-download-toggle-copy {
  display: grid;
  gap: 2px;
}

.spec-download-toggle-copy strong,
.spec-download-row strong {
  color: var(--blue-deep);
  font-size: 13px;
  line-height: 1;
}

.spec-download-toggle-copy small,
.spec-download-row small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.spec-download-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.spec-download-menu.is-open .spec-download-chevron {
  transform: rotate(225deg);
}

.spec-download-panel {
  display: flex;
  align-items: stretch;
  gap: 7px;
  max-height: none;
  opacity: 1;
  overflow: visible;
  transform: none;
  transition: none;
}

.table-download-panel {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.spec-download-menu.is-open .spec-download-panel {
  max-height: none;
  opacity: 1;
  transform: none;
  padding-top: 0;
}

.spec-download-row {
  display: grid;
  grid-template-rows: 40px auto;
  place-items: center;
  align-content: center;
  gap: 5px;
  min-width: 58px;
  min-height: 70px;
  padding: 7px 6px;
  border: 1px solid rgba(21, 93, 168, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--blue-deep);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(10, 52, 92, 0.06);
}

.spec-download-row:hover,
.spec-download-row:focus-visible {
  background: #eef7ff;
  outline: 2px solid #ffd64a;
  outline-offset: 1px;
}

.spec-download-row > span:last-child {
  display: block;
  max-width: 64px;
  margin: 0;
  text-align: center;
}

.spec-download-row > span:last-child small {
  display: none;
}

.spec-download-icon {
  width: 34px;
  height: 40px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 7px 14px rgba(10, 52, 92, 0.16);
}

.spec-download-icon.detail {
  background: #155da8;
}

.spec-download-icon.dig {
  background: #087a7c;
}

.spec-download-icon.dwg {
  background: #6b44ad;
}

.spec-download-icon.scale {
  background: #a66a00;
}

.spec-download-icon.view {
  background: #4b6578;
}

.spec-download-icon .file-icon {
  width: 27px;
  height: 33px;
  display: grid;
  place-items: end center;
  margin-top: 0;
  padding-bottom: 5px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
}

.spec-download-icon .file-icon::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-bottom: 9px solid rgba(255, 255, 255, 0.55);
}

.spec-download-icon b {
  color: #fff;
  font-size: 8px;
  line-height: 1;
}

.spec-download-toggle:hover,
.spec-download-toggle:focus-visible {
  border-color: rgba(21, 93, 168, 0.38);
  background: #f7fbff;
  outline: 2px solid #ffd64a;
  outline-offset: 1px;
}

.spec-download-empty {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1200px) {
  .spec-table th {
    top: 72px;
  }

  body:not(.nav-compact) .spec-table th {
    top: 82px;
  }
}

@media (max-width: 900px) {
  .spec-table th {
    top: 68px;
  }

  body:not(.nav-compact) .spec-table th {
    top: 78px;
  }
}

@media (max-width: 1280px) {
  .spec-table {
    min-width: 2820px;
  }

  .spec-table th:first-child,
  .spec-table td:first-child {
    min-width: 164px;
    width: 164px;
    max-width: 164px;
  }

  .spec-table th[data-spec-key="downloads"],
  .spec-table td[data-spec-key="downloads"] {
    left: 164px;
    min-width: 132px;
    width: 132px;
    max-width: 132px;
  }

  .spec-table td[data-spec-key="downloads"] {
    padding: 8px 7px;
  }

  .table-download-toggle {
    position: relative;
    min-width: 0;
    min-height: 76px;
    grid-template-columns: 1fr;
    grid-template-rows: 38px auto;
    justify-items: center;
    align-content: center;
    gap: 4px;
    padding: 7px 6px;
    text-align: center;
  }

  .table-download-toggle .spec-download-stack {
    min-width: 0;
    justify-content: center;
  }

  .table-download-toggle .spec-download-stack .spec-download-icon {
    margin-left: -13px;
  }

  .table-download-toggle .spec-download-stack .spec-download-icon:first-child {
    margin-left: 0;
  }

  .table-download-toggle .spec-download-toggle-copy {
    justify-items: center;
  }

  .table-download-toggle .spec-download-toggle-copy small {
    display: none;
  }

  .table-download-toggle .spec-download-chevron {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 7px;
    height: 7px;
  }

  .spec-download-detail-panel {
    grid-template-columns: minmax(132px, 188px) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body[data-page="pool-specifications"] .spec-toolbar,
  body[data-page="pool-specs"] .spec-toolbar,
  body[data-page="pool-specifications"] .spec-table-wrap,
  body[data-page="pool-specs"] .spec-table-wrap {
    width: calc(100% - 16px);
    margin-left: 8px;
    margin-right: 8px;
  }

  .spec-table {
    min-width: 2340px;
  }

  .spec-table th,
  .spec-table td {
    padding: 8px 9px;
  }

  .spec-sort-button {
    min-height: 40px;
    min-width: 0;
    padding: 9px;
    font-size: 11px;
  }

  .spec-table th[data-spec-key="downloads"] .spec-sort-button {
    position: relative;
    z-index: 2;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    background: var(--blue-deep);
    font-size: 10px;
  }

  .spec-table th[data-spec-key="downloads"] {
    z-index: 20;
  }

  .spec-table th[data-spec-key="downloads"]::after {
    content: "";
    position: absolute;
    top: 0;
    right: -80px;
    z-index: 1;
    width: 80px;
    height: 100%;
    background: var(--blue-deep);
    pointer-events: none;
  }

  .spec-table td {
    font-size: 12px;
  }

  .spec-table th:first-child,
  .spec-table td:first-child {
    min-width: 118px;
    width: 118px;
    max-width: 118px;
  }

  .spec-table th[data-spec-key="downloads"],
  .spec-table td[data-spec-key="downloads"] {
    left: 118px;
    min-width: 84px;
    width: 84px;
    max-width: 84px;
  }

  .spec-table td[data-spec-key="downloads"] {
    padding: 6px 5px;
  }

  .table-download-toggle {
    min-height: 62px;
    grid-template-rows: 30px auto;
    gap: 3px;
    padding: 5px 4px;
    border-radius: 7px;
    box-shadow: 0 5px 12px rgba(10, 52, 92, 0.07);
  }

  .table-download-toggle .spec-download-stack .spec-download-icon {
    width: 24px;
    height: 29px;
    margin-left: -15px;
    border-radius: 6px;
  }

  .table-download-toggle .spec-download-stack .spec-download-icon:first-child {
    margin-left: 0;
  }

  .table-download-toggle .spec-download-icon .file-icon {
    width: 19px;
    height: 24px;
    padding-bottom: 3px;
    border-radius: 4px;
  }

  .table-download-toggle .spec-download-icon .file-icon::after {
    border-left-width: 7px;
    border-bottom-width: 7px;
  }

  .table-download-toggle .spec-download-icon b {
    font-size: 6px;
  }

  .table-download-toggle .spec-download-toggle-copy strong {
    font-size: 9px;
  }

  .table-download-toggle .spec-download-chevron {
    display: none;
  }

  .spec-download-detail-panel {
    width: min(100%, calc(100vw - 18px));
    gap: 10px;
    padding: 12px;
  }

  .spec-download-detail-panel > div:first-child strong {
    font-size: 16px;
  }

  .table-download-panel {
    gap: 5px;
  }

  .table-download-panel .spec-download-row {
    grid-template-rows: 32px auto;
    min-width: 50px;
    min-height: 61px;
    padding: 6px 4px;
  }

  .table-download-panel .spec-download-icon {
    width: 27px;
    height: 32px;
  }

  .table-download-panel .spec-download-icon .file-icon {
    width: 21px;
    height: 26px;
    padding-bottom: 4px;
  }

  .table-download-panel .spec-download-row > span:last-child {
    max-width: 56px;
  }

  .table-download-panel .spec-download-row strong {
    font-size: 10px;
  }
}

.json-export-row {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto 28px;
  display: flex;
  justify-content: flex-end;
}

.single-spec-layout {
  width: min(1180px, calc(100% - 44px));
  margin: 42px auto 72px;
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.single-spec-card,
.single-spec-detail {
  border: 1px solid rgba(21, 93, 168, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 52, 92, 0.08);
}

.single-spec-card {
  position: sticky;
  top: 92px;
  overflow: hidden;
}

.single-spec-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}

.single-spec-card > div {
  padding: 18px;
}

.single-spec-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.single-spec-card h2 {
  margin: 5px 0;
  color: var(--blue-deep);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.single-spec-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.single-spec-actions {
  display: grid;
  gap: 12px;
  padding-top: 0 !important;
}

.single-spec-card .spec-download-menu span {
  margin-bottom: 0;
  color: inherit;
  font-size: inherit;
  text-transform: none;
}

.single-spec-card .spec-download-stack {
  display: flex;
}

.single-spec-card .spec-download-toggle-copy,
.single-spec-card .spec-download-row > span:last-child,
.single-spec-card .spec-download-icon,
.single-spec-card .spec-download-icon .file-icon {
  display: grid;
}

.single-spec-card .spec-download-icon,
.single-spec-card .spec-download-icon b {
  color: #fff;
}

.single-spec-card .spec-download-toggle-copy small,
.single-spec-card .spec-download-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.single-spec-detail {
  padding: 22px;
}

.single-spec-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.single-spec-list div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(21, 93, 168, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f7fbfd);
}

.single-spec-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.single-spec-list dd {
  margin: 5px 0 0;
  color: var(--blue-deep);
  font-size: 16px;
  font-weight: 900;
}

.asset-lightbox[hidden],
.video-lightbox[hidden],
.image-lightbox[hidden] {
  display: none;
}

.asset-lightbox,
.video-lightbox,
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 22px;
}

.asset-lightbox-backdrop,
.video-lightbox-backdrop,
.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 16, 32, 0.72);
  backdrop-filter: blur(8px);
}

.asset-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(88vh, 860px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 12, 28, 0.42);
}

.video-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100vw - 44px));
  height: min(94dvh, 900px);
  max-height: none;
  display: grid;
  grid-template-areas:
    "header"
    "body"
    "info"
    "strip";
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #061f38;
  box-shadow: 0 34px 100px rgba(0, 10, 24, 0.52);
}

.video-lightbox-dialog[data-video-orientation="portrait"] {
  width: min(1120px, calc(100vw - 44px));
  grid-template-columns: minmax(0, 1fr) min(300px, 28vw);
  grid-template-areas:
    "header header"
    "body strip"
    "info strip";
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.image-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  max-height: min(94vh, 980px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #061f38;
  box-shadow: 0 34px 100px rgba(0, 10, 24, 0.56);
}

.asset-lightbox-dialog header,
.asset-lightbox-dialog footer,
.video-lightbox-dialog header,
.image-lightbox-dialog header {
  grid-area: header;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(21, 93, 168, 0.12);
}

.video-lightbox-dialog header,
.image-lightbox-dialog header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(90deg, rgba(6, 31, 56, 0.98), rgba(16, 116, 154, 0.92));
}

.asset-lightbox-dialog footer {
  border-top: 1px solid rgba(21, 93, 168, 0.12);
  border-bottom: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.asset-lightbox-dialog footer [hidden] {
  display: none;
}

.asset-lightbox-dialog header span,
.video-lightbox-dialog header span,
.image-lightbox-dialog header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-lightbox-dialog header span,
.image-lightbox-dialog header span {
  color: rgba(232, 241, 248, 0.78);
}

.asset-lightbox-dialog h2 {
  margin: 3px 0 0;
  color: var(--blue-deep);
  font-size: 22px;
  line-height: 1;
}

.video-lightbox-dialog h2,
.image-lightbox-dialog h2 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.05;
}

.asset-lightbox-dialog header button,
.video-lightbox-close,
.image-lightbox-dialog header button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: #e8f1f8;
  color: var(--blue-deep);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.video-lightbox-close,
.image-lightbox-dialog header button {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.video-lightbox-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(0, 12, 28, 0.18);
}

.video-lightbox-close-x {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
}

.video-lightbox-close-x::before,
.video-lightbox-close-x::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
  transform-origin: center;
}

.video-lightbox-close-x::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.video-lightbox-close-x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.video-lightbox-close:hover,
.video-lightbox-close:focus-visible {
  background: rgba(14, 183, 190, 0.28);
  outline: none;
}

.video-lightbox-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.video-lightbox-actions a,
.video-lightbox-command {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.video-lightbox-command {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.video-lightbox-command-icon,
.video-lightbox-command svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: block;
}

.video-lightbox-command:hover,
.video-lightbox-command:focus-visible {
  background: rgba(14, 183, 190, 0.28);
  outline: none;
}

.video-lightbox-reaction-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.video-lightbox-reaction-controls .gallery-rating {
  padding: 3px 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.video-lightbox-reaction-controls .gallery-save-button {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
}

.video-lightbox-reaction-controls .gallery-save-button:hover:not(.is-saved),
.video-lightbox-reaction-controls .gallery-save-button:focus-visible:not(.is-saved) {
  color: #ff4b62;
  border-color: rgba(255, 75, 98, 0.48);
  background: rgba(255, 75, 98, 0.16);
}

.video-lightbox-reaction-controls .gallery-save-button.is-saved {
  color: #ff4b62;
  border-color: rgba(255, 75, 98, 0.58);
  background: rgba(255, 75, 98, 0.22);
}

.video-lightbox-reaction-controls .gallery-rating button {
  width: 27px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
}

.video-lightbox-reaction-controls .gallery-rating button.preview,
.video-lightbox-reaction-controls .gallery-rating button.active {
  color: #ffd84a;
  border-color: rgba(255, 216, 74, 0.48);
  background: rgba(255, 216, 74, 0.18);
}

.video-lightbox-reaction-controls .gallery-rating[data-hover-rating] button.active:not(.preview) {
  color: rgba(255, 255, 255, 0.78);
  border-color: transparent;
  background: transparent;
}

.video-lightbox-reaction-controls .reaction-state {
  display: none;
}

.image-lightbox-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.image-lightbox-actions .secondary-btn {
  min-height: 38px;
  padding: 8px 14px;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.asset-lightbox-body {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: auto;
  background: #e8f1f8;
}

.video-lightbox-body {
  grid-area: body;
  min-height: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  overflow: hidden;
  background: #020d18;
}

.video-lightbox-stage {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #020d18;
}

.video-lightbox-dialog[data-video-orientation="portrait"] .video-lightbox-body {
  padding: 12px 8px 8px;
}

.video-lightbox-dialog[data-video-orientation="portrait"] .video-lightbox-stage {
  width: auto;
  height: min(100%, calc(94dvh - 188px));
  max-width: min(440px, 100%);
  aspect-ratio: 9 / 16;
  justify-self: center;
  align-self: center;
  border-radius: 8px;
  background: #000;
}

.image-lightbox-body {
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: auto;
  background: #020d18;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.video-lightbox-stage video,
.video-lightbox-stage .video-js {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #020d18;
}

.video-lightbox-stage .video-js {
  max-width: 100%;
  max-height: 100%;
  color: #fff;
  font-family: inherit;
}

.video-lightbox-stage .video-js .vjs-tech {
  object-fit: contain;
}

.video-lightbox-stage .video-js .vjs-control-bar {
  min-height: 42px;
  background: linear-gradient(180deg, rgba(2, 13, 24, 0), rgba(2, 13, 24, 0.9));
}

.video-lightbox-stage .video-js .vjs-big-play-button {
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  background: rgba(2, 13, 24, 0.72);
  color: #fff;
}

.video-lightbox-info {
  grid-area: info;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 13, 24, 0.98);
}

.video-lightbox-info p {
  flex: 1 1 260px;
  min-width: 0;
  margin: 0;
  color: rgba(232, 241, 248, 0.78);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.video-lightbox-model-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid rgba(14, 183, 190, 0.36);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(14, 183, 190, 0.16);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.video-lightbox-model-link:hover,
.video-lightbox-model-link:focus-visible {
  background: rgba(14, 183, 190, 0.28);
  outline: none;
}

.video-lightbox-model-link[hidden] {
  display: none;
}

.video-lightbox-nav {
  width: 46px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

.video-lightbox-nav:hover,
.video-lightbox-nav:focus-visible {
  background: rgba(14, 183, 190, 0.28);
  outline: none;
}

.video-lightbox-nav[disabled],
.video-lightbox-nav[hidden] {
  display: none;
}

.video-lightbox-strip {
  grid-area: strip;
  display: flex;
  gap: 10px;
  max-height: 116px;
  overflow-x: auto;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 13, 24, 0.96);
  scrollbar-color: rgba(255, 255, 255, 0.36) transparent;
}

.video-lightbox-dialog[data-video-orientation="portrait"] .video-lightbox-strip {
  flex-direction: column;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px;
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.video-lightbox-strip[hidden] {
  display: none;
}

.video-lightbox-strip button {
  flex: 0 0 124px;
  display: grid;
  grid-template-rows: 70px auto;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.video-lightbox-dialog[data-video-orientation="portrait"] .video-lightbox-strip button {
  flex: 0 0 auto;
  width: 100%;
  grid-template-columns: 86px minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: center;
}

.video-lightbox-strip button.is-active {
  border-color: rgba(14, 183, 190, 0.76);
  background: rgba(14, 183, 190, 0.18);
  color: #fff;
}

.video-lightbox-strip img {
  width: 100%;
  height: 70px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  background: #061f38;
}

.video-lightbox-dialog[data-video-orientation="portrait"] .video-lightbox-strip img {
  height: 94px;
}

.video-lightbox-strip span {
  overflow: hidden;
  color: inherit;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-lightbox-dialog[data-video-orientation="portrait"] .video-lightbox-strip span {
  display: -webkit-box;
  white-space: normal;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.image-lightbox-body img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(94vh - 104px);
  object-fit: contain;
  background: #020d18;
}

.asset-lightbox-body iframe,
.asset-lightbox-body img {
  width: 100%;
  height: 100%;
  min-height: 62vh;
  border: 0;
  object-fit: contain;
  background: #e8f1f8;
}

.asset-lightbox-download-note {
  display: grid;
  gap: 8px;
  max-width: 520px;
  padding: 26px;
  text-align: center;
  color: var(--blue-deep);
}

.asset-lightbox-download-note strong {
  font-size: 24px;
  line-height: 1.1;
}

.asset-lightbox-download-note span {
  color: var(--muted);
  font-weight: 800;
}

body.asset-lightbox-open,
body.video-lightbox-open,
body.image-lightbox-open {
  overflow: hidden;
}

.json-export-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  background: #102f52;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.json-export-button:hover,
.json-export-button:focus-visible {
  background: #155da8;
  color: #fff;
}

.analytics-grid {
  width: min(1180px, calc(100% - 44px));
  margin: 24px auto 72px;
  display: grid;
  gap: 18px;
}

.analytics-grid article {
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 52, 92, 0.08);
}

.analytics-grid h2 {
  margin: 0 0 12px;
  color: var(--blue-deep);
}

.analytics-grid table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.analytics-grid th,
.analytics-grid td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(20, 63, 94, 0.12);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.analytics-grid th {
  color: var(--blue-deep);
  font-weight: 900;
}

.pool-list-index {
  margin-top: 30px;
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}

.pool-list-index article,
.asset-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 52, 92, 0.08);
}

.asset-card > div {
  min-width: 0;
}

.pool-list-index img,
.asset-card img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 6px;
}

.pool-list-index span,
.asset-card-type {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.asset-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-bottom: 6px;
}

.asset-card-primary-icons {
  min-width: 34px;
}

.pool-list-index h2,
.asset-card h2 {
  margin: 4px 0 6px;
  font-size: 22px;
  line-height: 1.05;
}

.pool-list-index h2 a {
  text-decoration: none;
}

.pool-list-index p,
.asset-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 900;
}

.asset-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.asset-links a {
  text-decoration: none;
  padding: 7px 9px;
  border-radius: 999px;
  background: #e8f7fb;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
}

.asset-library-grid {
  margin-top: 30px;
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 14px;
}

.asset-resource-links {
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 10px;
}

.asset-card .asset-resource-links.spec-download-panel {
  display: flex;
  align-items: stretch;
}

.asset-card .spec-download-row {
  min-width: 58px;
}

.asset-card .spec-download-row > span:last-child {
  max-width: 72px;
}

.asset-card-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.asset-card-nav .text-link {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef7fb;
  color: var(--blue-deep);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(320px, 1.25fr) minmax(220px, 0.8fr) minmax(120px, 0.34fr);
  gap: 28px;
  align-items: start;
  padding: 38px 7vw;
  background:
    linear-gradient(105deg, var(--blue-deep), #0d5f94 58%, #08375d);
  color: #fff;
  border-top: 4px solid rgba(255, 214, 74, 0.9);
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-brand img {
  width: 96px;
}

.footer-brand a,
.footer-made a {
  width: max-content;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span,
.site-footer address,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer address {
  margin: 0;
  font-style: normal;
  line-height: 1.45;
}

.footer-offices {
  display: grid;
  gap: 18px;
}

.footer-offices strong {
  color: #fff;
}

.footer-offices a {
  display: inline-block;
  margin-top: 4px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
}

.footer-links a {
  font-weight: 900;
  text-decoration: none;
}

.footer-links a:hover,
.footer-offices a:hover,
.footer-made a:hover {
  color: #fff;
}

.footer-made {
  justify-self: end;
  text-align: center;
}

.footer-made img {
  width: 64px;
  display: block;
  margin: 0 auto 8px;
}

.footer-made span {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1490;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--yellow);
  color: #172033;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(5, 35, 65, 0.22);
  cursor: pointer;
}

.site-chat-fab img {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 999px;
  background: var(--blue-deep);
}

.chat-open .site-chat-fab {
  opacity: 0;
  pointer-events: none;
}

body.chat-open {
  overflow: hidden;
}

.site-chat-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  width: min(420px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 112px));
  display: none;
  grid-template-rows: auto auto minmax(160px, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 68px rgba(5, 35, 65, 0.28);
}

.chat-open .site-chat-panel {
  display: grid;
  inset: 0;
  right: auto;
  bottom: auto;
  z-index: 120;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  border: 0;
  border-radius: 0;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
}

.site-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  color: #fff;
}

.site-chat-head span,
.site-chat-head strong {
  display: block;
}

.site-chat-head span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-chat-head strong {
  font-size: 18px;
}

.site-chat-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-chat-head button {
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.site-chat-head .site-chat-clear {
  opacity: 0.32;
  padding: 5px 7px;
  font-size: 11px;
}

.site-chat-head .site-chat-clear:hover,
.site-chat-head .site-chat-clear:focus-visible {
  opacity: 1;
}

.site-chat-criteria {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(21, 93, 168, 0.1);
  background: #fff;
}

.chat-criteria-group {
  display: grid;
  gap: 6px;
}

.chat-criteria-group > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-criteria-group div,
.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chat-criteria-group button,
.chat-suggestions button {
  border: 1px solid rgba(21, 93, 168, 0.18);
  border-radius: 999px;
  padding: 7px 9px;
  background: #f7fbfd;
  color: var(--blue-deep);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.chat-criteria-group button.active,
.chat-criteria-group button:hover,
.chat-criteria-group button:focus-visible,
.chat-suggestions button:hover,
.chat-suggestions button:focus-visible {
  background: var(--blue);
  color: #fff;
}

.site-chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding: 14px;
  background: #f4fbfd;
}

.site-chat-messages p {
  max-width: 88%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  line-height: 1.38;
  box-shadow: 0 6px 16px rgba(5, 35, 65, 0.08);
}

.site-chat-messages p.user {
  justify-self: end;
  background: var(--blue);
  color: #fff;
}

.site-chat-messages .msg {
  max-width: 92%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  line-height: 1.38;
  box-shadow: 0 6px 16px rgba(5, 35, 65, 0.08);
  white-space: pre-wrap;
}

.site-chat-messages .msg.me {
  justify-self: end;
  background: var(--blue);
  color: #fff;
}

.site-chat-messages .msg.bot {
  display: grid;
  gap: 8px;
}

.site-chat-messages .msg.bot.thinking {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.site-chat-messages .bot-text {
  white-space: pre-wrap;
}

.site-chat-messages .bot-text strong {
  color: var(--blue-deep);
  font-weight: 900;
}

.site-chat-messages .bot-text a {
  display: inline-flex;
  margin: 2px 3px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(21, 93, 168, 0.1);
  color: var(--blue-deep);
  font-weight: 900;
  text-decoration: none;
}

.site-chat-messages .spinny {
  width: 16px;
  height: 16px;
  border: 3px solid rgba(21, 93, 168, 0.16);
  border-top-color: var(--blue);
  border-radius: 999px;
  animation: chat-spin 0.9s linear infinite;
}

.site-chat-messages .think-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.site-chat-messages .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(248, 217, 95, 0.55);
  animation: chat-pulse 1.2s ease-out infinite;
}

.site-chat-messages .cards-zone {
  display: grid;
  gap: 8px;
}

.site-chat-messages .pool-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 9px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(21, 93, 168, 0.12);
  border-radius: 8px;
  background: #f7fbfd;
}

.site-chat-messages .pool-card img {
  grid-row: 1 / span 2;
  width: 76px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
}

.site-chat-messages .pool-card a {
  color: var(--blue-deep);
  font-weight: 900;
  line-height: 1.12;
  text-decoration: none;
}

.site-chat-messages .pool-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

@keyframes chat-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes chat-pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(248, 217, 95, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(248, 217, 95, 0);
  }
}

.chat-model-results {
  display: grid;
  gap: 8px;
}

.site-chat-messages .chat-model-results > .chat-result-label {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: none;
}

.chat-suggestions {
  max-width: 92%;
}

.chat-model-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(21, 93, 168, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.chat-model-card img {
  width: 72px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.chat-model-card strong,
.chat-model-card span {
  display: block;
}

.chat-model-card strong {
  color: var(--blue-deep);
  line-height: 1.1;
}

.chat-model-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.site-chat-form,
.site-lead-form {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(21, 93, 168, 0.1);
}

.site-chat-form {
  grid-template-columns: 1fr auto;
}

.site-chat-form textarea {
  min-width: 0;
  resize: vertical;
  border: 1px solid rgba(21, 93, 168, 0.18);
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}

.site-chat-form button,
.site-lead-form button {
  border: 0;
  border-radius: 8px;
  padding: 10px 13px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.site-lead-form {
  grid-template-columns: 1fr auto;
  padding-top: 0;
}

.site-lead-form input {
  min-width: 0;
  border: 1px solid rgba(21, 93, 168, 0.18);
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}

@media (min-width: 900px) {
  .chat-open .site-chat-panel {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
  }

  .chat-open .site-chat-head {
    grid-column: 1 / -1;
  }

  .chat-open .site-chat-criteria {
    grid-column: 1;
    grid-row: 2 / 5;
    align-content: start;
    overflow-y: auto;
    border-right: 1px solid rgba(21, 93, 168, 0.12);
    border-bottom: 0;
  }

  .chat-open .site-chat-messages {
    grid-column: 2;
    grid-row: 2;
    min-height: 0;
    padding: 22px;
  }

  .chat-open .site-chat-form {
    grid-column: 2;
    grid-row: 3;
  }

  .chat-open .site-lead-form {
    grid-column: 2;
    grid-row: 4;
  }

  .chat-open .site-chat-messages p,
  .chat-open .site-chat-messages .msg,
  .chat-open .chat-model-results,
  .chat-open .chat-suggestions {
    max-width: min(780px, 86%);
  }
}

.sales-mascot,
.sales-mascot *,
img[src*="creature-mascot"],
source[src*="creature-mascot"] {
  display: none !important;
}

.sales-mascot {
  position: fixed;
  top: 118px;
  right: 18px;
  z-index: 69;
  width: 88px;
  display: grid;
  justify-items: center;
  gap: 4px;
  pointer-events: none;
  transform-origin: top right;
  transition: transform 0.18s ease, opacity 0.18s ease, filter 0.18s ease;
}

.sales-mascot .mascot-art,
.sales-mascot .mascot-svg {
  width: 88px;
  height: auto;
  display: block;
}

.sales-mascot .mascot-label {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(5, 35, 65, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(5, 35, 65, 0.22);
}

.sales-mascot.is-searching,
.sales-mascot.is-checking {
  filter: drop-shadow(0 0 12px rgba(39, 193, 223, 0.38));
}

.sales-mascot.is-thinking {
  filter: drop-shadow(0 0 12px rgba(248, 217, 95, 0.42));
}

.sales-mascot.is-error {
  opacity: 0.72;
  filter: grayscale(0.35);
}

.quote-page {
  background: linear-gradient(180deg, #f6fbfd 0%, #ffffff 68%);
}

body[data-page="getquote"] .site-chat-fab {
  display: none;
}

.quote-hero {
  min-height: 420px;
  display: grid;
  align-items: end;
  padding: 150px 6vw 54px;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.quote-hero > div {
  max-width: 860px;
}

.quote-hero h1 {
  max-width: 820px;
  margin: 8px 0 12px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
}

.quote-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.55;
}

.quote-hero-actions,
.quote-success-actions,
.quote-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.quote-submit-row {
  padding-top: 4px;
}

.quote-submit-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px 14px 24px;
  background:
    linear-gradient(135deg, var(--yellow), #ffb936);
  color: var(--blue-deep);
  font: inherit;
  font-size: 16px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(171, 116, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.quote-submit-button::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
}

.quote-submit-button:hover,
.quote-submit-button:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 20px 40px rgba(171, 116, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  outline: 0;
}

.quote-layout {
  width: min(1180px, 92vw);
  margin: 34px auto 84px;
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.quote-side,
.quote-card {
  border: 1px solid rgba(21, 93, 168, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.quote-side span,
.quote-step > span {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
}

.quote-side strong {
  color: var(--blue-deep);
  font-size: 22px;
  line-height: 1.1;
}

.quote-side p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.quote-side a {
  color: var(--blue);
  font-weight: 900;
}

.quote-card {
  padding: 24px;
}

.quote-form {
  display: grid;
  gap: 22px;
}

.quote-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.quote-step > span {
  width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--aqua-soft);
}

.quote-step h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 24px;
}

.quote-step p {
  margin: 4px 0 0;
  color: var(--muted);
}

.quote-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quote-choice,
.quote-time-grid label {
  cursor: pointer;
  border: 1px solid rgba(21, 93, 168, 0.18);
  border-radius: 8px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.quote-choice {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 14px;
}

.quote-choice input,
.quote-time-grid input {
  accent-color: var(--blue);
}

.quote-choice strong {
  color: var(--blue-deep);
  line-height: 1.15;
}

.quote-choice small {
  color: var(--muted);
  line-height: 1.35;
}

.quote-choice:has(input:checked),
.quote-time-grid label:has(input:checked) {
  border-color: var(--blue);
  background: #eef7ff;
  box-shadow: 0 8px 22px rgba(21, 93, 168, 0.12);
}

.quote-time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.quote-time-grid label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px;
  font-weight: 900;
}

.quote-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quote-fields label {
  display: grid;
  gap: 6px;
  color: var(--blue-deep);
  font-weight: 900;
  font-size: 13px;
}

.quote-fields .wide {
  grid-column: 1 / -1;
}

.quote-fields input,
.quote-fields select,
.quote-fields textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(21, 93, 168, 0.2);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 16px;
}

.quote-fields textarea {
  resize: vertical;
}

.quote-errors,
.quote-success {
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 18px;
}

.quote-errors {
  border: 1px solid rgba(190, 40, 40, 0.24);
  background: #fff3f2;
  color: #8d2520;
}

.quote-errors p,
.quote-success p {
  margin: 0;
}

.quote-success {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(21, 93, 168, 0.16);
  background: #eef7ff;
}

.quote-success h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 30px;
}

.quote-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.post-hero,
.resource-hero {
  background:
    linear-gradient(120deg, rgba(3, 60, 110, 0.92), rgba(20, 126, 170, 0.74)),
    url("/images/sanjuanpools-learn-with-ai.png") center/cover;
}

.post-hero {
  min-height: 0;
  padding-bottom: 76px;
}

.post-hero h1 {
  max-width: 1060px;
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.post-hero p:not(.eyebrow) {
  max-width: 980px;
  overflow-wrap: anywhere;
}

.post-body-shell {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: 960px;
  padding: 54px 0 80px;
}

.post-image {
  margin: 0;
}

.post-image img {
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(4, 45, 80, 0.16);
  display: block;
  height: auto;
  margin: 0 auto;
  max-height: 520px;
  max-width: 100%;
  object-fit: cover;
  width: auto;
}

.post-image figcaption {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}

.review-banner {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 20px;
  background: #fff7cc;
  border-bottom: 1px solid rgba(120, 90, 0, 0.22);
  color: #5b4600;
  font-weight: 900;
}

.review-banner span {
  font-weight: 700;
}

.post-content {
  color: #14324a;
  font-size: 18px;
  line-height: 1.7;
}

.post-content h1,
.post-content h2,
.post-content h3 {
  color: var(--navy);
  line-height: 1.16;
  margin: 32px 0 12px;
}

.post-content p,
.post-content ul,
.post-content ol {
  margin: 0 0 20px;
}

.post-content a {
  color: var(--blue);
  font-weight: 800;
}

.post-content img {
  border-radius: 8px;
  display: block;
  height: auto;
  margin: 24px auto;
  max-width: min(100%, 760px);
  object-fit: contain;
  width: auto;
}

.post-inline-image {
  margin: 28px 0;
  text-align: center;
}

.post-inline-image img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: min(100%, 760px);
  max-height: 520px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(4, 45, 80, 0.16);
  width: auto;
}

.post-inline-image figcaption,
.post-embed figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.post-embed {
  margin: 28px 0;
}

.post-video {
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  display: block;
  margin: 0;
  width: 100%;
  background: #0b355d;
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.post-actions a,
.resource-card {
  background: #fff;
  border: 1px solid rgba(10, 83, 130, 0.14);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(5, 42, 78, 0.08);
  color: var(--navy);
  font-weight: 850;
  padding: 14px 18px;
  text-decoration: none;
}

.review-chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: min(420px, calc(100vw - 44px));
  overflow: hidden;
  border: 1px solid rgba(10, 83, 130, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 64px rgba(5, 35, 65, 0.26);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.review-chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  color: #fff;
  background: linear-gradient(110deg, #073763, #155da8);
}

.review-chatbot-head strong {
  font-size: 15px;
}

.review-chatbot-head button {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.review-chatbot-body {
  display: none;
  gap: 10px;
  padding: 12px;
}

.review-chatbot.is-open .review-chatbot-body {
  display: grid;
}

.review-chat-messages {
  max-height: 230px;
  display: grid;
  gap: 8px;
  overflow: auto;
  padding-right: 2px;
}

.review-chat-messages p {
  width: fit-content;
  max-width: 88%;
  margin: 0;
  padding: 9px 11px;
  border-radius: 8px;
  color: #14324a;
  background: #eef7fb;
  line-height: 1.35;
}

.review-chat-messages .user {
  justify-self: end;
  color: #172033;
  background: #ffd64a;
}

.review-chat-form {
  display: grid;
  gap: 10px;
}

.review-chat-form textarea {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid rgba(10, 83, 130, 0.2);
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--ink);
  font: inherit;
  line-height: 1.35;
}

.review-chat-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.review-chat-actions button,
.review-live-link {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.review-chat-actions .publish {
  background: var(--yellow);
  color: #172033;
}

.review-chat-actions button:disabled {
  cursor: default;
  opacity: 0.68;
}

.post-index-grid,
.resource-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 46px 0 80px;
}

.post-card {
  background: #fff;
  border: 1px solid rgba(10, 83, 130, 0.12);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: 0 14px 36px rgba(5, 42, 78, 0.08);
  display: grid;
  overflow: hidden;
  text-decoration: none;
}

.post-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.post-card div {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.post-card span,
.resource-card-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.post-card h2 {
  font-size: 20px;
  line-height: 1.16;
  margin: 0;
  overflow-wrap: anywhere;
}

.post-card h2,
.post-card h2 a {
  color: var(--navy);
  text-decoration: none;
}

.post-card p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

[data-card-href] {
  cursor: pointer;
}

[data-card-href]:hover,
.post-card:hover {
  border-color: rgba(21, 93, 168, 0.28);
}

.resource-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-card {
  display: grid;
  gap: 10px;
  min-height: 128px;
  align-content: start;
}

.resource-card strong {
  align-self: end;
  font-size: 22px;
  line-height: 1.1;
}

.resource-card-icons {
  min-height: 40px;
}

.resource-card .spec-download-icon,
.asset-card .spec-download-icon {
  color: #fff;
  flex: 0 0 auto;
  text-transform: none;
}

@keyframes waterPan {
  from {
    transform: scale(1.08) translate3d(-4.5%, -2.5%, 0);
  }
  to {
    transform: scale(1.18) translate3d(5%, 3.5%, 0);
  }
}

@keyframes waterRipple {
  from {
    transform: scale(1.04) translate3d(4%, -2%, 0) rotate(0.001deg);
  }
  to {
    transform: scale(1.12) translate3d(-5%, 3%, 0) rotate(0.001deg);
  }
}

@keyframes waterGlint {
  from {
    transform: translate3d(-7%, 3%, 0) rotate(-5deg);
    opacity: 0.3;
  }
  to {
    transform: translate3d(8%, -3%, 0) rotate(5deg);
    opacity: 0.68;
  }
}

@keyframes causticDrift {
  from {
    transform: translate3d(-3%, 2%, 0) rotate(-2deg) scale(1.02);
  }
  to {
    transform: translate3d(4%, -2%, 0) rotate(3deg) scale(1.08);
  }
}

@media (max-width: 1320px) and (min-width: 1201px) {
  .site-nav {
    gap: 12px;
    padding: 10px 4vw;
  }

  .site-nav nav {
    gap: 0;
  }

  .site-nav nav a,
  .nav-parent,
  .quote-link,
  .dealer-link {
    padding: 9px 8px;
    font-size: 14px;
  }

  body.nav-compact .site-nav nav a,
  body.nav-compact .nav-parent,
  body.nav-compact .quote-link,
  body.nav-compact .dealer-link {
    padding: 8px;
    font-size: 14px;
  }

  .nav-parent {
    column-gap: 7px;
  }

  .chat-launcher {
    width: 40px;
    min-height: 40px;
    padding: 7px;
  }
}

@media (max-width: 1100px) {
  .site-nav {
    padding: 10px 3vw;
    gap: 10px;
  }

  .site-nav nav a,
  .nav-parent,
  .chat-launcher,
  .quote-link,
  .dealer-link {
    font-size: 13px;
    padding: 10px 7px;
  }

  .chat-launcher {
    width: 42px;
    padding: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    margin-left: 0;
  }

  .model-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .home-canibuild,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .home-canibuild-video,
  .canibuild-model-media {
    grid-column: auto;
  }

  .footer-made {
    justify-self: start;
  }

  .resource-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dealer-map-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dealer-map-controls {
    justify-content: flex-start;
  }

  .dealer-region-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .dealer-state-feature,
  .dealer-detail-hero,
  .dealer-detail-grid,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .dealer-state-grid,
  .dealer-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-detail-hero,
  .model-detail-grid,
  .canibuild-panel {
    grid-template-columns: 1fr;
  }

  .detail-spec-panel {
    position: static;
  }

  .quote-side {
    position: static;
  }

  .quote-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-nav {
    grid-template-columns: auto 1fr auto;
    min-height: 82px;
    gap: 12px;
    padding: 8px 22px;
    background:
      linear-gradient(90deg, rgba(4, 35, 70, 0.46), rgba(10, 94, 139, 0.2)),
      rgba(8, 54, 93, 0.18);
  }

  .brand img {
    width: 68px;
  }

  body.nav-compact .site-nav {
    min-height: 72px;
    padding: 6px 18px;
  }

  .live-nav-throbber {
    top: 82px;
  }

  body.nav-compact .live-nav-throbber {
    top: 72px;
  }

  body.nav-compact .brand img {
    width: 62px;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: inline-grid;
    grid-template-columns: 32px auto;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 11px 14px 11px 12px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    cursor: pointer;
    overflow: visible;
    transition: padding 220ms ease, background 180ms ease;
  }

  .nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    position: relative;
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    border-radius: 999px;
    background: #fff;
    transform-origin: 50% 50%;
    transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 140ms ease;
    will-change: transform, opacity;
  }

  .nav-toggle span::before,
  .nav-toggle span::after {
    content: none;
  }

  .nav-toggle span:nth-child(1) {
    transform: translateY(-8px);
  }

  .nav-toggle span:nth-child(2) {
    transform: translateY(0);
  }

  .nav-toggle span:nth-child(3) {
    transform: translateY(8px);
  }

  .nav-toggle b {
    grid-column: 2;
    grid-row: 1;
    min-width: 34px;
    font-size: 13px;
    line-height: 1;
  }

  .nav-toggle.is-open span:nth-child(1),
  .nav-toggle[aria-expanded="true"] span:nth-child(1),
  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(0) rotate(45deg) !important;
  }

  .nav-toggle.is-open span:nth-child(2),
  .nav-toggle[aria-expanded="true"] span:nth-child(2),
  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0.25) !important;
  }

  .nav-toggle.is-open span:nth-child(3),
  .nav-toggle[aria-expanded="true"] span:nth-child(3),
  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(0) rotate(-45deg) !important;
  }

  .site-nav nav,
  .quote-link,
  .dealer-link {
    display: none;
  }

  .chat-launcher {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 46px;
    min-height: 46px;
    padding: 10px;
  }

  .chat-launcher span {
    display: none;
  }

  body.nav-open .site-nav nav {
    display: grid;
    position: fixed;
    top: 90px;
    left: 16px;
    right: 16px;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 8px;
    max-height: calc(100vh - 118px);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background:
      linear-gradient(145deg, rgba(4, 35, 70, 0.82), rgba(12, 92, 142, 0.58)),
      rgba(8, 54, 93, 0.72);
    box-shadow: 0 24px 68px rgba(5, 35, 65, 0.34);
    backdrop-filter: blur(24px) saturate(1.25);
    -webkit-backdrop-filter: blur(24px) saturate(1.25);
  }

  body.nav-open.nav-compact .site-nav nav {
    top: 78px;
    max-height: calc(100vh - 104px);
  }

  body.nav-open .quote-link,
  body.nav-open .dealer-link {
    display: none;
  }

  .nav-item {
    display: grid;
  }

  .nav-parent,
  .site-nav nav a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    text-align: left;
  }

  .nav-parent {
    grid-template-columns: minmax(0, 1fr) 10px;
    justify-content: stretch;
  }

  .drop-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin: -2px 0 8px;
    padding: 8px;
    transform: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .drop-menu a {
    color: #fff;
    white-space: normal;
    padding: 10px 12px;
  }

  .mobile-quote-link {
    display: flex !important;
    justify-content: center;
    margin-top: 4px;
    background: var(--yellow);
    color: #172033 !important;
    box-shadow: 0 12px 24px rgba(255, 214, 74, 0.18);
  }

  .mobile-dealer-link {
    display: flex !important;
    justify-content: center;
    margin-top: 4px;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden;
  }

  .gallery-detail-hero {
    grid-template-columns: 1fr;
  }

  .gallery-detail-copy {
    grid-template-columns: 1fr;
  }

  .gallery-stage figure img {
    max-height: none;
  }

  .gallery-detail-actions {
    grid-column: auto;
    justify-content: flex-start;
  }

  .compact-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .call-contact-grid,
  .call-routing-panel {
    grid-template-columns: 1fr;
  }

  .call-routing-actions {
    justify-content: flex-start;
  }

  .site-nav {
    grid-template-columns: auto 1fr auto;
    min-height: 78px;
    gap: 10px;
    padding: 7px 18px;
    background:
      linear-gradient(90deg, rgba(4, 35, 70, 0.46), rgba(10, 94, 139, 0.2)),
      rgba(8, 54, 93, 0.18);
  }

  .brand img {
    width: 64px;
  }

  body.nav-compact .site-nav {
    min-height: 68px;
    padding: 6px 16px;
  }

  .live-nav-throbber {
    top: 78px;
  }

  body.nav-compact .live-nav-throbber {
    top: 68px;
  }

  body.nav-compact .brand img {
    width: 58px;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: inline-grid;
    grid-template-columns: 32px auto;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 8px;
    border: 0;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 11px 14px 11px 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    cursor: pointer;
    overflow: visible;
  }

  .nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    position: relative;
    background: #fff;
    border-radius: 999px;
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    transform-origin: 50% 50%;
    transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 140ms ease;
    will-change: transform, opacity;
  }

  .nav-toggle span::before,
  .nav-toggle span::after {
    content: none;
  }

  .nav-toggle span:nth-child(1) {
    transform: translateY(-8px);
  }

  .nav-toggle span:nth-child(2) {
    transform: translateY(0);
  }

  .nav-toggle span:nth-child(3) {
    transform: translateY(8px);
  }

  .review-chatbot {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .review-chat-messages {
    max-height: 180px;
  }

  .nav-toggle b {
    grid-column: 2;
    grid-row: 1;
    font-size: 13px;
    line-height: 1;
    min-width: 34px;
  }

  .nav-toggle.is-open span:nth-child(1),
  .nav-toggle[aria-expanded="true"] span:nth-child(1),
  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(0) rotate(45deg) !important;
  }

  .nav-toggle.is-open span:nth-child(2),
  .nav-toggle[aria-expanded="true"] span:nth-child(2),
  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0.25) !important;
  }

  .nav-toggle.is-open span:nth-child(3),
  .nav-toggle[aria-expanded="true"] span:nth-child(3),
  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(0) rotate(-45deg) !important;
  }

  .site-nav nav,
  .quote-link,
  .dealer-link {
    display: none;
  }

  .chat-launcher {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 46px;
    min-height: 46px;
    padding: 10px;
  }

  .chat-launcher span {
    display: none;
  }

  body.nav-open .site-nav nav {
    display: grid;
    position: fixed;
    top: 86px;
    left: 16px;
    right: 16px;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 8px;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    padding: 14px;
    border-radius: 18px;
    background:
      linear-gradient(145deg, rgba(4, 35, 70, 0.82), rgba(12, 92, 142, 0.58)),
      rgba(8, 54, 93, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 68px rgba(5, 35, 65, 0.34);
    backdrop-filter: blur(24px) saturate(1.25);
    -webkit-backdrop-filter: blur(24px) saturate(1.25);
  }

  body.nav-open.nav-compact .site-nav nav {
    top: 74px;
    max-height: calc(100vh - 98px);
  }

  body.nav-open .quote-link,
  body.nav-open .dealer-link {
    display: none;
  }

  .nav-item {
    display: grid;
  }

  .nav-parent,
  .site-nav nav a {
    width: 100%;
    text-align: left;
    font-size: 15px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav-parent::after {
    float: none;
    justify-self: end;
    margin-top: 0;
  }

  .drop-menu {
    position: static;
    display: grid;
    min-width: 0;
    transform: none;
    margin: -2px 0 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .drop-menu a {
    color: #fff;
    white-space: normal;
    padding: 10px 12px;
  }

  .mobile-quote-link {
    display: flex !important;
    justify-content: center;
    margin-top: 4px;
    background: var(--yellow);
    color: #172033 !important;
    box-shadow: 0 12px 24px rgba(255, 214, 74, 0.18);
  }

  .mobile-dealer-link {
    display: flex !important;
    justify-content: center;
    margin-top: 4px;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 124px;
  }

  .quote-hero {
    min-height: 360px;
    padding-top: 132px;
  }

  .quote-time-grid,
  .quote-fields {
    grid-template-columns: 1fr;
  }

  .quote-submit-row,
  .quote-submit-row .secondary-btn,
  .quote-submit-button {
    width: 100%;
  }

  .quote-fields .wide {
    grid-column: auto;
  }

  .hero h1 {
    font-size: clamp(42px, 15vw, 62px);
  }

  .site-search {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 14px;
  }

  .hero-stats a {
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .trust-row,
  .home-models,
  .why-panel,
  .experience-band,
  .home-canibuild,
  .home-process-section,
  .home-news,
  .split-section,
  .model-toolbar,
  .model-detail-hero,
  .data-summary-row,
  .spec-toolbar {
    grid-template-columns: 1fr;
  }

  .color-answer-band,
  .color-gallery-head,
  .color-current-panel {
    grid-template-columns: 1fr;
  }

  .color-answer-band {
    margin-top: -26px;
  }

  .color-filter-bar {
    position: static;
  }

  .color-filter-chip {
    grid-template-columns: 18px minmax(0, 1fr) auto;
    width: 100%;
  }

  .color-raw-swatch-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .color-gallery-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .color-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }

  .trust-row {
    margin-top: -28px;
  }

  .home-models > .text-link {
    justify-self: start;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .process-card-grid,
  .home-news-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .home-canibuild {
    padding: 22px;
  }

  .home-canibuild-search {
    grid-template-columns: 1fr;
  }

  .home-canibuild-tool {
    min-height: 104px;
  }

  .model-strip {
    grid-template-columns: 1fr;
  }

  .pool-tile {
    min-height: 260px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .build-montage {
    min-height: 320px;
  }

  .build-montage-thumbs {
    right: 10px;
    bottom: 10px;
    grid-template-columns: repeat(2, 62px);
    gap: 6px;
  }

  .build-montage-cta {
    left: 14px;
    bottom: 14px;
    max-width: calc(100% - 166px);
  }

  .build-montage-cta strong {
    font-size: 22px;
  }

  .build-montage-cta span {
    font-size: 14px;
    line-height: 1.12;
  }

  .split-section.reverse img {
    order: 2;
  }

  .segmented {
    overflow-x: auto;
  }

  .model-view-toggle {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .model-detail-hero {
    min-height: auto;
    padding-top: 140px;
  }

  .model-viewer-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .model-viewer-frame {
    min-height: 420px;
  }

  .model-detail-copy h1 {
    font-size: clamp(40px, 15vw, 64px);
  }

  .wide-specs,
  .model-specs,
  .spec-detail-list,
  .single-spec-list {
    grid-template-columns: 1fr 1fr;
  }

  .related-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-tabs {
    justify-content: flex-start;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-chat-panel {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .site-chat-fab {
    right: 14px;
    bottom: 14px;
  }

  .detail-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sketchfab-card,
  .sketchfab-frame {
    min-height: 360px;
  }

  .pool-list-index,
  .asset-library-grid,
  .post-index-grid,
  .resource-card-grid {
    grid-template-columns: 1fr;
  }

  .pool-list-index article,
  .asset-card {
    grid-template-columns: 96px 1fr;
  }

  .pool-list-index img,
  .asset-card img {
    height: 104px;
  }

  .canibuild-panel,
  .related-models {
    width: min(1180px, calc(100% - 28px));
  }

  .dealer-map-section {
    width: calc(100% - 28px);
  }

  .dealer-state-feature,
  .dealer-directory-section,
  .dealer-detail-hero,
  .dealer-detail-grid {
    width: calc(100% - 28px);
  }

  .dealer-detail-hero {
    padding-top: 104px;
  }

  .dealer-map-frame {
    min-height: 660px;
    height: 76vh;
  }

  .dealer-result-panel {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-height: 46%;
    overflow: auto;
  }

  .dealer-map-legend {
    top: 12px;
    right: 12px;
    bottom: auto;
  }

  .canibuild-widget-shell {
    min-height: 180px;
  }

  .canibuild-model-media,
  .canibuild-model-media img {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .color-answer-band,
  .color-gallery-shell {
    width: 100%;
  }

  .color-answer-band {
    gap: 10px;
    margin-bottom: 24px;
  }

  .color-answer-band article {
    min-height: 0;
    padding: 18px;
    border-radius: 0;
  }

  .color-gallery-head h2 {
    font-size: 34px;
  }

  .color-gallery-grid {
    grid-template-columns: 1fr;
  }

  .color-raw-swatch-strip {
    grid-template-columns: 1fr;
  }

  .color-raw-swatch-card {
    grid-template-columns: minmax(92px, 0.7fr) minmax(0, 1fr);
  }

  .color-current-panel {
    align-items: start;
  }

  .gallery-detail,
  .gallery-detail-related,
  .gallery-detail-next {
    width: min(100% - 28px, 1180px);
  }

  .gallery-detail-copy {
    padding: 14px;
  }

  .gallery-stage figure {
    height: clamp(240px, 48vh, 420px);
  }

  .gallery-detail-nav {
    padding: 8px;
  }

  .gallery-detail-nav a {
    flex-basis: 100%;
  }

  .gallery-photo-nav {
    grid-template-columns: 1fr;
  }

  .gallery-photo-step,
  .gallery-photo-step:nth-child(3) {
    text-align: left;
  }

  .gallery-photo-step.center {
    min-width: 0;
    text-align: left;
  }

  .gallery-side-arrow {
    width: 38px;
    height: 54px;
  }

  .gallery-side-arrow.previous {
    left: 8px;
  }

  .gallery-side-arrow.next {
    right: 8px;
  }

  .gallery-detail-actions .primary-btn,
  .gallery-detail-actions .secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .compact-gallery-grid {
    grid-template-columns: 1fr;
  }

  .call-contact-grid,
  .call-routing-panel {
    width: min(100% - 28px, 1180px);
  }

  .call-contact-card,
  .call-routing-panel {
    padding: 18px;
  }

  .call-number,
  .call-routing-actions a {
    width: 100%;
  }

  .related-grid,
  .spec-detail-list,
  .wide-specs,
  .model-specs,
  .single-spec-layout,
  .single-spec-list {
    grid-template-columns: 1fr;
  }

  .single-spec-card {
    position: static;
  }

  .spec-download-detail-panel {
    grid-template-columns: 1fr;
  }

  .detail-actions .spec-download-panel,
  .single-spec-actions .spec-download-panel {
    grid-template-columns: 1fr;
  }

  .asset-lightbox,
  .video-lightbox,
  .image-lightbox {
    padding: 10px;
  }

  .asset-lightbox-dialog,
  .video-lightbox-dialog,
  .image-lightbox-dialog {
    max-height: 94dvh;
  }

  .video-lightbox-dialog {
    width: calc(100vw - 20px);
    height: 94dvh;
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "body"
      "info"
      "strip";
    grid-template-rows: auto minmax(0, 1fr) auto auto;
  }

  .video-lightbox-dialog[data-video-orientation="portrait"] {
    width: calc(100vw - 20px);
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "body"
      "info"
      "strip";
    grid-template-rows: auto minmax(0, 1fr) auto auto;
  }

  .video-lightbox-dialog header,
  .image-lightbox-dialog header {
    padding: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .video-lightbox-dialog header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
  }

  .video-lightbox-dialog h2,
  .image-lightbox-dialog h2 {
    font-size: 18px;
  }

  .video-lightbox-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .video-lightbox-reaction-controls {
    flex: 1 1 100%;
    flex-wrap: wrap;
  }

  .video-lightbox-body,
  .image-lightbox-body {
    min-height: 0;
  }

  .video-lightbox-body {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
    padding: 8px;
  }

  .video-lightbox-stage {
    height: 100%;
    min-height: 0;
  }

  .video-lightbox-dialog[data-video-orientation="portrait"] .video-lightbox-stage {
    height: min(100%, calc(94dvh - 236px));
    max-width: min(78vw, 380px);
  }

  .video-lightbox-nav {
    width: 36px;
    height: 58px;
    font-size: 30px;
  }

  .video-lightbox-info {
    display: grid;
    gap: 10px;
    padding: 10px;
  }

  .video-lightbox-info p {
    font-size: 12px;
  }

  .video-lightbox-model-link {
    width: 100%;
    white-space: normal;
  }

  .video-lightbox-strip {
    flex-direction: row;
    max-height: 92px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .video-lightbox-dialog[data-video-orientation="portrait"] .video-lightbox-strip {
    flex-direction: row;
    max-height: 92px;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .video-lightbox-strip button,
  .video-lightbox-dialog[data-video-orientation="portrait"] .video-lightbox-strip button {
    flex-basis: 104px;
    grid-template-rows: 58px auto;
    grid-template-columns: 1fr;
    width: auto;
  }

  .video-lightbox-strip img,
  .video-lightbox-dialog[data-video-orientation="portrait"] .video-lightbox-strip img {
    height: 58px;
  }

  .video-lightbox-dialog[data-video-orientation="portrait"] .video-lightbox-strip span {
    white-space: nowrap;
    display: block;
  }

  .image-lightbox-body img {
    max-height: calc(94dvh - 142px);
  }

  .model-card-visual {
    aspect-ratio: 1 / 1;
  }

  .model-card-visual .model-view-image {
    padding-bottom: 142px;
  }

  .model-card-visual .model-view-photo {
    padding: 0;
  }

  .model-stat-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-canibuild,
  .home-process-section,
  .home-news {
    width: min(100% - 28px, 1180px);
  }

  .home-canibuild {
    padding: 18px;
  }

  .home-canibuild-search {
    padding: 12px;
  }

  .home-canibuild-tool {
    padding: 8px;
  }

  .home-canibuild-tool .cib-widget-searchbar-wrapper,
  .home-canibuild-tool .cib-leadconverter-searchbar-wrapper {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .home-canibuild-tool .MuiAutocomplete-root,
  .home-canibuild-tool .MuiFormControl-root,
  .home-canibuild-tool button,
  .home-canibuild-tool .MuiButtonBase-root {
    width: 100% !important;
    min-width: 0 !important;
  }

  .home-canibuild-tool,
  .home-canibuild-tool #canibuild-widget-search-root,
  .home-canibuild-tool #widget-search-form,
  .home-canibuild-tool .cib-widget-searchbar-wrapper,
  .home-canibuild-tool .cib-leadconverter-searchbar-wrapper {
    min-height: auto !important;
  }

  .home-canibuild-tool .MuiInputBase-root {
    flex-wrap: wrap !important;
    align-content: stretch !important;
    gap: 8px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px !important;
  }

  .home-canibuild-tool .MuiInputAdornment-positionStart {
    flex: 0 0 42px !important;
    margin: 0 !important;
  }

  .home-canibuild-tool input.MuiInputBase-input {
    flex: 1 1 calc(100% - 50px) !important;
    width: auto !important;
    min-width: 0 !important;
  }

  .home-canibuild-tool button,
  .home-canibuild-tool .MuiButtonBase-root {
    flex: 1 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    position: static !important;
    min-height: 56px !important;
    padding: 0 22px !important;
  }

  .canibuild-steps li {
    grid-template-columns: 36px 1fr;
  }

  .process-card {
    min-height: 260px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .model-viewer-frame {
    width: 100%;
    aspect-ratio: auto;
    min-height: 470px;
  }

  .model-viewer-image {
    padding: 16px 16px 154px;
  }

  .site-chat-form,
  .site-lead-form {
    grid-template-columns: 1fr;
  }

  .site-chat-fab {
    right: 14px;
    bottom: 14px;
    width: 52px;
    min-height: 52px;
    padding: 0;
    border-radius: 50%;
  }

  .site-chat-fab span {
    display: none;
  }

  .site-chat-fab img {
    margin: 0;
  }

  .dealer-map-controls,
  .dealer-state-select,
  .dealer-locate-button {
    width: 100%;
  }

  .dealer-map-frame {
    min-height: 620px;
  }

  .dealer-state-grid,
  .dealer-card-grid {
    grid-template-columns: 1fr;
  }

  .dealer-state-card {
    min-height: 212px;
  }

  .dealer-state-visual {
    width: 84px;
    height: 72px;
  }

  .dealer-region-svg {
    width: 80px;
    height: 64px;
  }

  .dealer-state-card-copy {
    padding: 82px 16px 16px;
  }

  .dealer-state-card-copy strong {
    font-size: 23px;
  }

  .dealer-state-feature,
  .dealer-directory-section,
  .dealer-detail-hero,
  .dealer-detail-grid {
    width: calc(100% - 20px);
  }

  .dealer-detail-hero {
    padding-top: 92px;
  }

  .dealer-detail-copy {
    min-height: 0;
    padding: 24px;
  }

  .dealer-detail-copy h1 {
    font-size: 40px;
  }

  .quote-layout {
    width: calc(100% - 20px);
    margin-top: 18px;
  }

  .quote-card,
  .quote-side {
    padding: 16px;
  }

  .quote-choice-grid {
    grid-template-columns: 1fr;
  }

  .quote-hero h1 {
    font-size: 40px;
  }

  .quote-hero p {
    font-size: 16px;
  }

  .dealer-card {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 13px;
  }

  .dealer-card-actions .primary-btn,
  .dealer-card-actions .secondary-btn,
  .dealer-card-actions .text-link {
    width: 100%;
  }

  .dealer-contact-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .dealer-map-legend {
    left: 10px;
    right: auto;
    max-width: calc(100% - 20px);
  }
}

.site-search-kind,
.chat-search-kind {
  width: 64px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, #073763, #1e9aa8);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.site-chat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1495;
  display: none;
  background: rgba(5, 25, 48, 0.22);
  backdrop-filter: blur(4px) saturate(1.03);
  -webkit-backdrop-filter: blur(4px) saturate(1.03);
}

.chat-open .site-chat-backdrop {
  display: block;
}

.chat-open .site-chat-panel {
  left: 50%;
  top: clamp(16px, 6vh, 72px);
  right: auto;
  bottom: auto;
  z-index: 1500;
  width: min(760px, calc(100vw - 28px));
  height: min(760px, calc(100dvh - 32px));
  max-height: calc(100dvh - 32px);
  border: 1px solid rgba(205, 222, 234, 0.86);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 253, 0.94)),
    #fff;
  box-shadow: 0 24px 70px rgba(2, 20, 42, 0.24);
  backdrop-filter: blur(10px) saturate(1.08);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
  transform: translateX(-50%);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  animation: search-popover-in 160ms ease-out;
}

.site-chat-context {
  display: none;
}

.site-chat-criteria {
  display: none;
}

.site-chat-head {
  grid-row: 1;
  min-height: 56px;
  padding: 10px 12px 10px 14px;
  background:
    linear-gradient(90deg, rgba(4, 35, 70, 0.76), rgba(10, 94, 139, 0.42)),
    rgba(8, 54, 93, 0.54);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px) saturate(1.16);
  -webkit-backdrop-filter: blur(12px) saturate(1.16);
}

.site-chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-chat-title img {
  width: 30px;
  height: 30px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.14);
}

.site-chat-head strong {
  font-size: 16px;
}

.site-chat-head-actions button {
  min-height: 34px;
  background: rgba(255, 255, 255, 0.1);
}

.site-chat-form {
  position: relative;
  z-index: 3;
  grid-row: 2;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(5, 35, 65, 0.08);
  backdrop-filter: blur(8px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
}

.site-chat-search-field {
  position: relative;
  min-width: 0;
}

.site-chat-form input[type="search"] {
  width: 100%;
  min-height: 48px;
  min-width: 0;
  border: 1px solid rgba(7, 55, 99, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
}

.site-chat-form input[type="search"]:focus {
  border-color: rgba(21, 93, 168, 0.58);
  box-shadow: 0 0 0 4px rgba(21, 93, 168, 0.12);
}

.site-chat-form textarea {
  font-size: 16px;
}

.site-chat-form button[type="submit"] {
  width: 52px;
  min-width: 52px;
  min-height: 48px;
  border-radius: 8px;
  padding: 0;
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 10px 20px rgba(7, 55, 99, 0.22);
}

.site-chat-form button[data-icon-button] svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-chat-form button[data-icon-button]:disabled {
  cursor: progress;
  opacity: 0.72;
}

.site-chat-search-results .site-search-option {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  border: 1px solid rgba(21, 93, 168, 0.12);
  border-radius: 8px;
  padding: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 253, 0.92)),
    rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  text-align: left;
  box-shadow: 0 8px 18px rgba(5, 35, 65, 0.08);
  backdrop-filter: blur(8px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
}

.site-chat-search-results .site-search-option:hover,
.site-chat-search-results .site-search-option:focus-visible,
.site-chat-search-results .site-search-option.is-active {
  border-color: rgba(30, 154, 168, 0.62);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(236, 249, 252, 0.96)),
    rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.site-chat-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 4;
  display: grid;
  gap: 6px;
  max-height: min(380px, 44vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(21, 93, 168, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 251, 253, 0.86)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(5, 35, 65, 0.18);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
}

.site-chat-search-results[hidden] {
  display: none;
}

.site-chat-messages {
  grid-row: 3;
  min-height: 0;
  padding: 16px;
  background:
    radial-gradient(circle at top left, rgba(30, 154, 168, 0.08), transparent 34%),
    rgba(244, 251, 253, 0.58);
}

.site-chat-messages p[data-chat-intro] {
  max-width: 100%;
  border: 1px solid rgba(21, 93, 168, 0.1);
  background: rgba(255, 255, 255, 0.86);
  color: #33445a;
  backdrop-filter: blur(8px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
}

.site-lead-form {
  position: relative;
  z-index: 5;
  grid-row: 4;
  align-items: end;
  justify-items: end;
  padding: 9px 10px 10px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(8px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
}

.site-lead-form.is-collapsed {
  grid-template-columns: auto;
}

.site-lead-form.is-collapsed .save-things-field,
.site-lead-form.is-collapsed .save-things-submit {
  display: none;
}

.site-lead-form.is-open {
  grid-template-columns: auto;
}

.site-lead-form.is-collapsed .save-things-panel {
  display: none;
}

.site-lead-form.is-open .save-things-button {
  display: none;
}

.save-things-panel {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: min(360px, calc(100vw - 48px));
  max-height: min(620px, calc(100dvh - 104px));
  display: grid;
  gap: 12px;
  overflow-y: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(240, 250, 252, 0.82)),
    rgba(8, 54, 93, 0.08);
  color: var(--ink);
  box-shadow: 0 24px 68px rgba(5, 35, 65, 0.24);
  backdrop-filter: blur(12px) saturate(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
}

.save-things-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.save-things-head span,
.save-things-head strong {
  display: block;
}

.save-things-head span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.save-things-head strong {
  color: var(--blue-deep);
  font-size: 18px;
}

.save-things-head button {
  min-height: 34px;
  border: 1px solid rgba(21, 93, 168, 0.16) !important;
  border-radius: 999px !important;
  padding: 7px 10px !important;
  background: rgba(255, 255, 255, 0.44) !important;
  color: var(--blue-deep) !important;
  box-shadow: none !important;
}

.save-things-grid,
.save-things-address {
  display: grid;
  gap: 10px;
}

.save-things-address {
  padding-top: 10px;
  border-top: 1px solid rgba(21, 93, 168, 0.12);
}

.save-things-address[hidden] {
  display: none;
}

.save-things-address p {
  margin: 0;
  color: #40566d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.save-things-address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px 86px;
  gap: 8px;
}

.save-things-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(21, 93, 168, 0.18) !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  background: #f7fbfd !important;
  color: var(--blue-deep) !important;
  box-shadow: 0 10px 24px rgba(5, 35, 65, 0.1);
}

.save-things-button span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #1e9aa8);
  color: #fff;
  font-weight: 900;
}

.save-things-button.is-suggested {
  border-color: rgba(30, 154, 168, 0.44) !important;
  box-shadow: 0 0 0 3px rgba(30, 154, 168, 0.1), 0 10px 24px rgba(5, 35, 65, 0.1);
}

.save-things-field {
  display: grid;
  gap: 4px;
  width: 100%;
  min-width: 0;
}

.save-things-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-lead-form .save-things-submit {
  min-height: 42px;
  border-radius: 999px;
  background: var(--blue-deep);
}

.chat-search-card > .chat-search-kind {
  width: 72px;
  height: 60px;
  align-self: stretch;
  font-size: 10px;
}

@keyframes search-popover-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@media (min-width: 900px) {
  .chat-open .site-chat-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr) auto;
  }

  .chat-open .site-chat-head,
  .chat-open .site-chat-form,
  .chat-open .site-chat-messages,
  .chat-open .site-lead-form {
    grid-column: 1;
  }

  .chat-open .site-chat-head {
    grid-row: 1;
  }

  .chat-open .site-chat-form {
    grid-row: 2;
  }

  .chat-open .site-chat-messages {
    grid-row: 3;
    padding: 18px;
  }

  .chat-open .site-lead-form {
    grid-row: 4;
  }
}

@media (max-width: 640px) {
  .chat-open .site-chat-panel {
    top: auto;
    bottom: 10px;
    width: calc(100vw - 20px);
    height: min(82dvh, 720px);
    max-height: calc(100dvh - 20px);
  }

  .site-chat-head {
    min-height: 54px;
  }

  .site-chat-head strong {
    font-size: 16px;
  }

  .site-chat-form,
  .site-lead-form.is-open {
    grid-template-columns: 1fr;
  }

  .save-things-panel {
    left: 10px;
    right: 10px;
    width: auto;
    max-height: min(66dvh, 560px);
  }

  .save-things-address-row {
    grid-template-columns: 1fr;
  }

  .site-chat-form button[type="submit"],
  .site-lead-form .save-things-submit {
    width: 100%;
  }

  .site-chat-search-results {
    max-height: 36vh;
  }
}

body.chat-open:not(.chat-expanded) {
  overflow: visible;
}

.chat-open:not(.chat-expanded) .site-chat-backdrop {
  display: none;
}

.chat-open:not(.chat-expanded) .site-chat-panel {
  left: auto;
  top: auto;
  right: 18px;
  bottom: 18px;
  width: min(620px, calc(100vw - 24px));
  height: auto;
  max-height: none;
  display: grid;
  grid-template-rows: auto;
  border: 1px solid rgba(205, 222, 234, 0.88);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 253, 0.94)),
    #fff;
  box-shadow: 0 18px 54px rgba(2, 20, 42, 0.18);
  backdrop-filter: blur(8px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
  animation: none;
  transform: none;
}

.chat-open.chat-anchor-top:not(.chat-expanded) .site-chat-panel {
  top: 94px;
  right: max(18px, 4vw);
  bottom: auto;
}

body.nav-compact.chat-open.chat-anchor-top:not(.chat-expanded) .site-chat-panel {
  top: 72px;
}

.chat-open:not(.chat-expanded) .site-chat-head,
.chat-open:not(.chat-expanded) .site-chat-messages,
.chat-open:not(.chat-expanded) .site-lead-form {
  display: none;
}

.chat-open:not(.chat-expanded) .site-chat-form {
  grid-row: 1;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 8px;
  padding: 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.chat-open:not(.chat-expanded) .site-chat-search-results {
  top: auto;
  bottom: calc(100% + 8px);
  max-height: min(420px, 54vh);
}

.chat-open.chat-anchor-top:not(.chat-expanded) .site-chat-search-results {
  top: calc(100% + 8px);
  bottom: auto;
  max-height: min(420px, calc(100dvh - 170px));
}

.chat-open.chat-expanded .site-chat-panel {
  left: 50%;
  top: clamp(16px, 6vh, 72px);
  right: auto;
  bottom: auto;
  width: min(820px, calc(100vw - 28px));
  height: min(760px, calc(100dvh - 32px));
  max-height: calc(100dvh - 32px);
  transform: translateX(-50%);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.chat-open.chat-expanded .site-chat-head {
  display: none;
}

.chat-open.chat-expanded .site-chat-form {
  grid-row: 1;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 8px;
}

.chat-open.chat-expanded .site-chat-messages {
  display: grid;
  grid-row: 2;
}

.chat-open.chat-expanded .site-lead-form {
  display: grid;
  grid-row: 3;
}

.site-chat-mode-button,
.site-chat-close-button {
  display: inline-grid !important;
  place-items: center;
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid rgba(7, 55, 99, 0.14) !important;
  border-radius: 8px !important;
  padding: 0 !important;
  background: #fff !important;
  color: var(--blue-deep) !important;
  line-height: 1 !important;
  box-shadow: 0 8px 18px rgba(7, 55, 99, 0.08) !important;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.site-chat-close-button {
  width: 48px;
  min-width: 48px;
  color: #52687d !important;
}

.site-chat-form .site-chat-mode-button .icon-collapse {
  display: none;
}

.site-chat-form .site-chat-mode-button.is-expanded .icon-expand {
  display: none;
}

.site-chat-form .site-chat-mode-button.is-expanded .icon-collapse {
  display: block;
}

.site-chat-mode-button:hover,
.site-chat-mode-button:focus-visible,
.site-chat-close-button:hover,
.site-chat-close-button:focus-visible {
  border-color: rgba(21, 93, 168, 0.42) !important;
  background: #f6fbfd !important;
  color: var(--blue) !important;
  box-shadow: 0 10px 22px rgba(7, 55, 99, 0.12) !important;
}

.chat-open:not(.chat-expanded) .site-chat-form button[type="submit"],
.chat-open.chat-expanded .site-chat-form button[type="submit"] {
  display: inline-grid;
  place-items: center;
  width: 52px;
  min-width: 52px;
  padding: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 10px 20px rgba(7, 55, 99, 0.22);
}

.chat-open:not(.chat-expanded) .site-chat-form button[type="submit"]:hover,
.chat-open:not(.chat-expanded) .site-chat-form button[type="submit"]:focus-visible,
.chat-open.chat-expanded .site-chat-form button[type="submit"]:hover,
.chat-open.chat-expanded .site-chat-form button[type="submit"]:focus-visible {
  background: var(--blue);
}

.site-chat-messages p strong {
  color: var(--blue-deep);
  font-weight: 900;
}

.site-chat-messages p.user strong {
  color: #fff;
}

.site-chat-search-results .site-search-option.ask-ai {
  grid-template-columns: minmax(0, 1fr);
}

.site-chat-search-results .site-search-option.ask-ai span {
  min-width: 0;
}

.save-things-panel {
  position: static;
  width: 100%;
  max-height: 360px;
  box-shadow: none;
}

.site-lead-form.is-open {
  justify-items: stretch;
  grid-template-columns: minmax(0, 1fr);
}

.site-lead-form.is-open .save-things-button {
  display: inline-flex;
  justify-self: end;
}

.site-lead-form.is-open .save-things-panel {
  margin-top: 8px;
}

.chat-model-results.chat-model-rail {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  max-width: 100%;
  padding: 8px;
  border: 1px solid rgba(21, 93, 168, 0.12);
  border-radius: 8px;
  background: rgba(244, 251, 253, 0.94);
  box-shadow: 0 -10px 24px rgba(5, 35, 65, 0.08);
}

.chat-model-results.chat-model-rail > p {
  grid-column: 1 / -1;
  max-width: 100%;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-model-results.chat-model-rail .chat-model-card {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 7px;
}

.chat-model-results.chat-model-rail .chat-model-card img {
  width: 54px;
  height: 48px;
}

.chat-model-results.chat-model-rail .chat-model-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-model-results.chat-model-rail .chat-model-card span {
  font-size: 11px;
}

@media (max-width: 640px) {
  .chat-open.chat-expanded .site-chat-panel {
    left: 10px;
    top: 10px;
    right: 10px;
    bottom: calc(var(--chat-keyboard-offset, 0px) + 10px);
    width: auto;
    height: auto;
    max-height: none;
    animation: none;
    transform: none;
    grid-template-rows: minmax(0, 1fr) auto auto;
  }

  .chat-open.chat-expanded .site-chat-messages {
    grid-row: 1;
    min-height: 0;
  }

  .chat-open.chat-expanded .site-chat-form {
    grid-row: 3;
  }

  .chat-open.chat-expanded .site-lead-form {
    grid-row: 2;
  }

  .chat-open:not(.chat-expanded) .site-chat-panel {
    top: auto;
    right: 10px;
    bottom: calc(var(--chat-keyboard-offset, 0px) + 10px);
    width: calc(100vw - 20px);
  }

  .chat-open.chat-anchor-top:not(.chat-expanded) .site-chat-panel {
    top: auto;
    right: 10px;
    bottom: calc(var(--chat-keyboard-offset, 0px) + 10px);
  }

  .chat-open:not(.chat-expanded) .site-chat-form,
  .chat-open.chat-expanded .site-chat-form {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 6px;
  }

  .chat-open:not(.chat-expanded) .site-chat-form button[type="submit"],
  .chat-open.chat-expanded .site-chat-form button[type="submit"] {
    grid-column: auto;
    width: 44px;
    min-width: 44px;
    padding: 0;
  }

  .site-chat-mode-button {
    width: 42px;
    min-width: 42px;
  }

  .site-chat-close-button {
    width: 42px;
    min-width: 42px;
  }

  .site-chat-form button[data-icon-button] svg {
    width: 19px;
    height: 19px;
  }

  .site-chat-search-results {
    max-height: min(42vh, calc(var(--chat-visual-height, 100dvh) - 110px));
  }

  .chat-model-results.chat-model-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .chat-model-results.chat-model-rail .chat-model-card {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 6px;
  }

  .chat-model-results.chat-model-rail .chat-model-card img {
    width: 100%;
    height: 42px;
  }

  .chat-model-results.chat-model-rail .chat-model-card strong {
    display: -webkit-box;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .chat-model-results.chat-model-rail .chat-model-card span {
    display: none;
  }
}

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

  .color-gallery-shell::before {
    transform: none !important;
  }
}

.dealer-scanner-page {
  background: #f7f8f6;
}

.scanner-empty-state,
.scanner-toolbar,
.scanner-table,
.scanner-detail,
.scanner-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
}

.scanner-empty-state,
.scanner-panel,
.scanner-detail {
  background: #fff;
  border: 1px solid rgba(27, 45, 38, 0.12);
  border-radius: 8px;
  padding: 22px;
}

.scanner-empty-state code {
  display: block;
  margin-top: 14px;
  padding: 12px;
  overflow-x: auto;
  background: #17221e;
  color: #f7f8f6;
  border-radius: 6px;
}

.scanner-summary-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.scanner-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
}

.scanner-toolbar form,
.scanner-enqueue-form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.scanner-toolbar label,
.scanner-enqueue-form label {
  display: grid;
  gap: 5px;
  color: #46534d;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.scanner-toolbar input,
.scanner-toolbar select,
.scanner-enqueue-form input,
.scanner-enqueue-form select {
  min-height: 42px;
  border: 1px solid rgba(27, 45, 38, 0.2);
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
  color: #17221e;
  font: inherit;
  text-transform: none;
}

.scanner-check {
  grid-auto-flow: column;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}

.scanner-check input {
  min-height: 0;
}

.scanner-table {
  overflow-x: auto;
}

.scanner-table table,
.scanner-panel table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid rgba(27, 45, 38, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.scanner-table th,
.scanner-table td,
.scanner-panel th,
.scanner-panel td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(27, 45, 38, 0.1);
  vertical-align: top;
}

.scanner-table th,
.scanner-panel th {
  color: #46534d;
  font-size: 0.78rem;
  text-transform: uppercase;
  background: #edf2ef;
}

.scanner-table small,
.scanner-panel small {
  display: block;
  margin-top: 4px;
  color: #68756f;
  overflow-wrap: anywhere;
}

.scanner-status,
.scanner-flag,
.scanner-muted {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}

.scanner-status {
  background: #e8eef4;
  color: #1f3f5c;
}

.scanner-status-complete {
  background: #e3f2e8;
  color: #1f6f3f;
}

.scanner-status-failed,
.scanner-status-blocked {
  background: #f7e5e0;
  color: #8b2d1b;
}

.scanner-status-queued,
.scanner-status-crawling,
.scanner-status-analyzing {
  background: #f5edce;
  color: #6e5312;
}

.scanner-flag {
  background: #f7e5e0;
  color: #8b2d1b;
}

.scanner-muted {
  background: #edf2ef;
  color: #68756f;
}

.scanner-table meter {
  width: 160px;
  max-width: 100%;
  height: 12px;
}

.scanner-detail .section-head {
  margin-bottom: 16px;
}

.scanner-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.scanner-detail-grid article {
  border: 1px solid rgba(27, 45, 38, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: #f9fbfa;
}

.scanner-detail-grid span {
  display: block;
  color: #68756f;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scanner-detail-grid strong {
  display: block;
  margin-top: 4px;
  color: #17221e;
  font-size: 1.15rem;
}

.scanner-enqueue-form {
  margin: 18px 0;
  padding: 14px;
  background: #edf2ef;
  border-radius: 8px;
}

.scanner-enqueue-form p,
.scanner-form-status {
  margin: 0;
  color: #46534d;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .scanner-summary-row,
  .scanner-detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .scanner-toolbar,
  .scanner-toolbar form,
  .scanner-enqueue-form {
    align-items: stretch;
  }
}
