:root {
  --ink: #101820;
  --muted: #5a6673;
  --paper: #f7f5ef;
  --white: #ffffff;
  --red: #c92f24;
  --red-dark: #9f2219;
  --blue: #1b5b79;
  --green: #53745b;
  --line: rgba(16, 24, 32, 0.12);
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.16);
}

@font-face {
  font-family: "Apotek Compressed";
  src: url("./assets/apotek-compressed-bold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "New Frank";
  src: url("./assets/new-frank-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "New Frank";
  src: url("./assets/new-frank-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "New Frank";
  src: url("./assets/new-frank-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Petersburg";
  src: url("./assets/petersburg-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Klavika";
  src: url("./assets/klavika-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Klavika";
  src: url("./assets/klavika-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Klavika";
  src: url("./assets/klavika-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pragmatica Extended";
  src: url("./assets/pragmatica-extended-bold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.is-hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 245, 239, 0.94);
  border-bottom: 1px solid var(--line);
  font-family: Arial, Helvetica, sans-serif;
  backdrop-filter: blur(16px);
}

.brand {
  max-width: 220px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a,
.header-actions a {
  display: inline-flex;
  align-items: center;
  transition: color 160ms ease;
}

.site-nav a:hover,
.header-actions a:hover,
.product-card a:hover {
  color: var(--red);
}

.header-actions {
  display: none;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-actions a {
  border: 1px solid var(--line);
  padding: 9px 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--ink);
  border: 0;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 22, 0.78), rgba(8, 15, 22, 0.42) 46%, rgba(8, 15, 22, 0.08) 78%),
    linear-gradient(0deg, rgba(8, 15, 22, 0.28), rgba(8, 15, 22, 0));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  z-index: -1;
  background: linear-gradient(0deg, var(--paper), rgba(247, 245, 239, 0));
}

.hero-content {
  width: min(660px, calc(100% - 36px));
  margin: 42px 0 96px clamp(18px, 7vw, 100px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcf62;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 0.94;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  line-height: 0.98;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-proof span {
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-controls {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 96px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.slider-arrow,
.slider-toggle,
.slider-dot {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(16, 24, 32, 0.46);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.slider-arrow:hover,
.slider-toggle:hover,
.slider-dot:hover {
  background: rgba(201, 47, 36, 0.82);
  border-color: rgba(255, 255, 255, 0.78);
}

.slider-arrow {
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
}

.slider-dot.is-active {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.12);
}

.slider-toggle {
  min-height: 44px;
  padding: 0 13px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 2px solid currentColor;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  background-color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.category-band {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--ink);
}

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.7);
  transition: transform 280ms ease, filter 280ms ease;
}

.category-tile span {
  position: absolute;
  inset: auto 18px 18px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-tile:hover img {
  transform: scale(1.04);
  filter: saturate(1.05) brightness(0.86);
}

.section {
  padding: clamp(64px, 8vw, 118px) clamp(18px, 5vw, 72px);
}

.split,
.service-band,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.split p,
.service-band p,
.contact-section p,
.product-card p,
.rental-grid p,
.site-footer p {
  color: var(--muted);
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.brand-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid transparent;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.brand-link:hover,
.brand-link:focus-visible {
  border-color: rgba(16, 24, 32, 0.22);
  box-shadow: none;
  transform: translateY(-2px);
}

.brand-link img {
  display: block;
  max-width: 210px;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.old-town-link img {
  max-width: 130px;
  max-height: 34px;
}

.feature-image,
.service-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.product-section {
  background: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card,
.rental-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
}

.product-card img,
.rental-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card img.logo-image {
  object-fit: contain;
  padding: 34px;
  background: var(--white);
}

.product-card div,
.rental-grid article {
  padding: 22px;
}

.product-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.rentals {
  background: #e9eee8;
}

.rental-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rental-grid article {
  background: var(--white);
}

.rental-grid article > *:not(img) {
  margin-left: 0;
}

.service-band {
  color: var(--white);
  background: var(--ink);
}

.service-band .eyebrow,
.service-band p {
  color: rgba(255, 255, 255, 0.78);
}

.service-band .eyebrow {
  color: #ffcf62;
}

.pro-shop {
  background: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 250px;
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery img:first-child {
  grid-row: span 2;
}

.contact-section {
  align-items: start;
  background: var(--paper);
}

.locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.locations article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.locations a {
  color: var(--red);
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form .button {
  width: 100%;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.account-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.account-section > div > p {
  color: var(--muted);
}

.account-panel {
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.account-form {
  display: grid;
  gap: 16px;
}

.account-form + .account-form {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.account-form h3,
.account-signed-in h3 {
  margin: 0;
}

.account-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.account-form input {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
}

.account-form .checkbox-label {
  grid-template-columns: auto 1fr;
  align-items: center;
  color: var(--ink);
  text-transform: none;
}

.account-form .checkbox-label input {
  width: 18px;
  height: 18px;
}

.account-name-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-link-button {
  color: var(--red);
  background: transparent;
}

.account-summary {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.account-summary div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.account-summary dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.account-summary dd {
  margin: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding: 52px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: #0c1117;
}

.footer-brand {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.05;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer .footer-brand {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--white);
}

.site-footer-copyright {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 7vw, 100px) 72px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink) var(--page-image, none) center / cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 15, 22, 0.82), rgba(8, 15, 22, 0.42), rgba(8, 15, 22, 0.14));
}

.page-hero-content {
  max-width: 820px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intro-grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.content-panel {
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
}

.content-panel h2,
.content-panel h3 {
  margin-top: 0;
}

.page-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.page-list li {
  padding: 14px 16px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  font-weight: 800;
}

.support-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.support-actions a {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 14px 16px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  font-weight: 900;
  line-height: 1.2;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.support-actions a::after {
  content: attr(data-action);
  color: var(--red);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.support-actions a:hover {
  color: var(--red);
  border-color: rgba(201, 47, 36, 0.42);
  transform: translateX(3px);
}

.brand-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.brand-logo-panel {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  border: 1px solid var(--line);
}

.brand-logo-panel img {
  width: min(100%, 420px);
  max-height: 150px;
  object-fit: contain;
}

.brand-kicker {
  font-family: "Apotek Compressed", Arial, Helvetica, sans-serif;
  font-size: clamp(2.25rem, 7vw, 5.4rem);
  line-height: 0.84;
  text-transform: uppercase;
}

.berkshire-brand-page .page-hero h1,
.berkshire-brand-page h2,
.berkshire-brand-page h3,
.berkshire-brand-page .brand-kicker {
  font-family: "New Frank", Arial, Helvetica, sans-serif;
}

.berkshire-brand-page .brand-kicker {
  font-weight: 700;
  line-height: 0.9;
}

.berkshire-signature {
  margin: 0 0 20px;
  color: var(--red);
  font-family: "Petersburg", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  font-style: italic;
  line-height: 1;
}

.berkshire-brand-page .brand-logo-panel {
  background: transparent;
  border: 0;
}

.berkshire-brand-page .product-story-luxury {
  grid-template-columns: 1fr;
}

.berkshire-brand-page .product-story-copy {
  max-width: 980px;
}

.berkshire-brand-page .product-story-media {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.berkshire-brand-page .product-story-media .media-feature {
  grid-row: auto;
}

.berkshire-brand-page .product-story-media img {
  height: 260px;
  min-height: 0;
}

.dockside-brand-page {
  font-family: "Klavika", Arial, Helvetica, sans-serif;
}

.dockside-brand-page .brand-logo-panel {
  background: transparent;
  border: 0;
}

.dockside-brand-page .page-hero h1,
.dockside-brand-page h2,
.dockside-brand-page h3 {
  font-family: "Pragmatica Extended", "Klavika", Arial, Helvetica, sans-serif;
}

.dockside-brand-page .brand-kicker {
  font-family: "Pragmatica Extended", "Klavika", Arial, Helvetica, sans-serif;
  line-height: 0.88;
}

.model-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.model-grid article,
.feature-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.model-grid h3,
.feature-grid h3 {
  margin-top: 0;
  font-size: 1.08rem;
}

.series-overview {
  margin-top: 24px;
}

.model-meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.brand-actions .button.secondary {
  color: var(--ink);
  background: var(--white);
}

.product-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--white);
}

.product-story-luxury {
  background: var(--ink);
}

.product-story-copy {
  max-width: 720px;
}

.product-story-luxury .product-story-copy {
  color: var(--white);
}

.product-story-luxury .product-story-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.product-story-luxury .product-story-copy .eyebrow {
  color: #f4d17b;
}

.product-story-media {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}

.product-story-media figure,
.inline-feature-image,
.feature-media-grid article {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.product-story-media figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: start;
  min-height: 0;
}

.product-story-media .media-feature {
  grid-row: span 2;
}

.product-story-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.product-story-media-fit img {
  padding: 10px;
  background: #f1efe9;
  object-fit: contain;
}

.product-story-luxury .product-story-media-fit img {
  background: #111820;
}

.product-story-media .media-feature img {
  min-height: 0;
}

.product-story-media figcaption,
.inline-feature-image figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.feature-detail-panel {
  background: #fbfaf7;
}

.feature-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(24px, 4vw, 40px);
}

.feature-media-grid article {
  display: grid;
  align-content: start;
}

.feature-media-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.feature-media-grid-fit img {
  padding: 10px;
  background: #f1efe9;
  object-fit: contain;
}

.feature-media-grid h3 {
  margin: 22px 22px 0;
  font-size: 1.08rem;
}

.feature-media-grid p {
  margin: 10px 22px 24px;
  color: var(--muted);
}

.inline-feature-image {
  margin-top: 24px;
  overflow: hidden;
}

.inline-feature-image img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.detail-band .feature-grid article {
  color: var(--ink);
}

.detail-band .feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-band .feature-grid p {
  color: var(--muted);
}

.layout-showcase {
  background: #fbfaf7;
}

.layout-series-list {
  display: grid;
  gap: 14px;
  margin-top: clamp(24px, 4vw, 44px);
}

.layout-series {
  background: var(--white);
  border: 1px solid var(--line);
}

.layout-series summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 900;
  list-style-position: inside;
}

.layout-series summary span:first-child {
  display: grid;
  gap: 4px;
}

.layout-series summary small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  text-transform: none;
}

.layout-series summary span:last-child {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.layout-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  padding: 0 18px 18px;
}

.layout-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
}

.layout-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: var(--white);
}

.layout-card h3,
.layout-card h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.layout-card p {
  margin: 0;
  color: var(--muted);
}

.dockside-layout-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(24px, 4vw, 44px);
  padding: 0;
}

.dockside-layout-grid .layout-card img {
  height: 340px;
}

.spec-note {
  max-width: 920px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.forest-river-lineup {
  background: var(--white);
}

.lineup-list {
  display: grid;
  gap: 14px;
}

.lineup-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: clamp(22px, 4vw, 40px);
  background: #fbfaf7;
  border: 1px solid var(--line);
}

.lineup-row.is-featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.lineup-row.is-featured p {
  color: rgba(255, 255, 255, 0.82);
}

.lineup-row.is-featured .eyebrow {
  color: #f4d17b;
}

.lineup-row h3 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.lineup-logo {
  display: grid;
  min-height: 140px;
  place-items: center;
  padding: 18px;
  background: transparent;
  border: 0;
}

.lineup-logo img {
  width: min(100%, 280px);
  max-height: 130px;
  object-fit: contain;
}

.lineup-row.is-featured .lineup-logo {
  min-height: 190px;
  padding: 28px 18px;
}

.lineup-row.is-featured .lineup-logo img {
  max-height: 160px;
}

.lineup-row.is-context {
  grid-template-columns: minmax(150px, 0.24fr) minmax(0, 1fr);
  padding: clamp(18px, 3vw, 28px);
  background: #f5f3ec;
  border-style: dashed;
}

.lineup-row.is-context .lineup-logo {
  min-height: 110px;
  padding: 16px;
}

.lineup-row.is-context .lineup-logo img {
  max-height: 82px;
}

.lineup-row.is-context h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
}

.lineup-row.is-special {
  border-color: rgba(0, 140, 160, 0.32);
  background: #f3fbfb;
}

.lineup-row.is-special .eyebrow {
  color: #078596;
}

.margaritaville-row .lineup-logo img {
  width: min(100%, 340px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-list a {
  display: block;
  min-height: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 160ms ease, transform 160ms ease;
}

.service-list a:hover {
  border-color: rgba(201, 47, 36, 0.42);
  transform: translateY(-3px);
}

.service-list article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.service-list img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin: -24px -24px 20px;
  max-width: calc(100% + 48px);
}

.service-list h3 {
  font-size: 1.15rem;
}

.southbay-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.southbay-bridge h2 {
  color: var(--white);
}

.southbay-bridge p {
  color: rgba(255, 255, 255, 0.78);
}

.southbay-bridge .eyebrow {
  color: #f4d17b;
}

.bridge-panel {
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.bridge-panel h3 {
  margin-top: 0;
}

.bridge-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.bridge-panel .button.secondary {
  border-color: var(--ink);
}

.detail-band {
  background: var(--ink);
  color: var(--white);
}

.detail-band p {
  color: rgba(255, 255, 255, 0.78);
}

.location-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.location-cards article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.location-cards a {
  color: var(--red);
  font-weight: 900;
}

.location-hours {
  white-space: pre-line;
}

.map-panel {
  margin-top: 24px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
}

.map-panel h3 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.map-grid article {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}

.map-grid iframe {
  width: 100%;
  height: 240px;
  border: 1px solid var(--line);
}

.map-grid h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.map-grid p {
  margin: 0 0 14px;
}

.map-grid .button {
  width: 100%;
  min-height: 46px;
}

.page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-cta .button.secondary {
  color: var(--ink);
  background: transparent;
}

.inventory-browser {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.inventory-filters {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
}

.inventory-filters h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.inventory-filters p:not(.eyebrow),
.inventory-results-header p,
.inventory-card p,
.inventory-meta {
  color: var(--muted);
}

.inventory-filters label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.inventory-filters input,
.inventory-filters select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  font-size: 0.95rem;
  text-transform: none;
}

.inventory-reset {
  width: 100%;
  color: var(--ink);
  background: var(--white);
}

.inventory-results {
  min-width: 0;
}

.inventory-results-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.inventory-results-header h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

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

.inventory-card {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 160ms ease, transform 160ms ease;
}

.inventory-card:hover {
  border-color: rgba(201, 47, 36, 0.42);
  transform: translateY(-1px);
}

.inventory-card-media {
  position: relative;
  display: grid;
  min-height: 160px;
  background: #e8e6df;
  overflow: hidden;
}

.inventory-card-media img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

.inventory-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 16px;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.inventory-chip {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 8px;
  color: var(--white);
  background: rgba(16, 24, 32, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.inventory-card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.inventory-card h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.12;
}

.inventory-price {
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 900;
}

.inventory-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 0.9rem;
}

.inventory-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  font-size: 0.78rem;
}

.inventory-meta span {
  display: grid;
  gap: 2px;
  padding: 8px;
  background: #fbfaf7;
  border: 1px solid var(--line);
}

.inventory-meta strong {
  color: var(--ink);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.inventory-card .button {
  width: fit-content;
  min-height: 42px;
  padding: 10px 12px;
  font-size: 0.78rem;
}

.inventory-detail {
  padding-top: clamp(34px, 5vw, 72px);
}

.inventory-detail-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.inventory-detail-media {
  background: #e8e6df;
  border: 1px solid var(--line);
}

.inventory-detail-media img,
.inventory-detail-media .inventory-image-placeholder {
  width: 100%;
  min-height: min(560px, 56vw);
  object-fit: cover;
}

.inventory-detail-copy {
  display: grid;
  gap: 18px;
}

.inventory-detail-copy .breadcrumb {
  margin-bottom: 0;
  color: var(--muted);
}

.inventory-detail-copy h1 {
  font-size: clamp(2.1rem, 4vw, 4.4rem);
}

.inventory-detail-copy p {
  margin: 0;
  color: var(--muted);
}

.inventory-detail-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inventory-empty,
.inventory-loading,
.inventory-error {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.inventory-error {
  color: var(--red);
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open .site-nav {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.nav-open .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-header.nav-open .site-nav a {
    padding: 13px 0;
    border-top: 1px solid var(--line);
  }

  .site-header.nav-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
  }

  .site-header.nav-open .header-actions a {
    flex: 1 1 150px;
    text-align: center;
  }

  .category-band {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .service-band,
  .contact-section,
  .account-section,
  .site-footer,
  .intro-grid,
  .content-grid,
  .brand-feature,
  .product-story,
  .lineup-row,
  .southbay-bridge,
  .inventory-browser {
    grid-template-columns: 1fr;
  }

  .product-story-luxury {
    background: var(--ink);
  }

  .product-story-media {
    grid-template-columns: 1fr 1fr;
  }

  .inventory-filters {
    position: static;
  }

  .inventory-detail-layout,
  .product-grid,
  .rental-grid,
  .model-grid,
  .dockside-layout-grid,
  .feature-grid,
  .feature-media-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .brand {
    max-width: 170px;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    margin: 18px 18px 112px;
  }

  .hero-controls {
    right: 18px;
    bottom: 18px;
    left: 18px;
    justify-content: center;
    gap: 7px;
  }

  .layout-card-grid {
    grid-template-columns: 1fr;
  }

  .layout-series summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-story-media {
    grid-template-columns: 1fr;
  }

  .product-story-media .media-feature {
    grid-row: auto;
  }

  .product-story-media img,
  .product-story-media .media-feature img,
  .feature-media-grid img {
    height: 280px;
    min-height: 0;
  }

  .layout-card img,
  .dockside-layout-grid .layout-card img {
    height: 320px;
  }

  .slider-arrow,
  .slider-toggle {
    height: 40px;
    min-height: 40px;
  }

  .slider-arrow {
    width: 40px;
  }

  .slider-toggle {
    padding: 0 10px;
  }

  h1 {
    font-size: 3.05rem;
  }

  .button {
    width: 100%;
  }

  .inventory-card {
    grid-template-columns: 1fr;
  }

  .inventory-card .button {
    width: 100%;
  }

  .inventory-detail-meta,
  .inventory-meta {
    grid-template-columns: 1fr;
  }

  .category-band,
  .trust-strip,
  .locations,
  .account-name-grid,
  .location-cards,
  .map-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 420px;
    padding: 92px 18px 58px;
  }

  .category-tile {
    min-height: 170px;
  }

  .gallery {
    grid-auto-rows: 210px;
  }

  .gallery img:first-child {
    grid-row: auto;
  }
}
