/* =========================================================
   Global Fitness Dynamics — demo stylesheet
   Industrial dealer aesthetic: navy + chalk + amber accent.
   ========================================================= */

:root {
  --navy: #0b1b33;
  --navy-2: #12294d;
  --blue: #2c4f8f;
  --blue-2: #4a74c2;
  --ink: #12161d;
  --iron: #1b2029;
  --steel: #6f7a88;
  --steel-2: #a3adba;
  --line: rgba(11, 27, 51, 0.14);
  --line-light: rgba(255, 255, 255, 0.12);
  --chalk: #f4f1ea;
  --chalk-2: #e9e4d8;
  --white: #ffffff;
  --amber: #e8a33b;
  --amber-2: #c98a1f;
  --text: #1a2230;
  --text-muted: #56606d;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(60px, 9vw, 120px);
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

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

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.75rem, 7.2vw, 5.75rem);
  font-weight: 800;
  line-height: 0.94;
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  letter-spacing: 0.01em;
}

h4 {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-2);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.on-dark {
  color: var(--white);
}

.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4 {
  color: var(--white);
}

.on-dark .lead,
.on-dark .muted {
  color: var(--steel-2);
}

.on-dark .eyebrow {
  color: var(--amber);
}

.muted {
  color: var(--text-muted);
}

.measure {
  max-width: 62ch;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: var(--section) 0;
}

.section--tight {
  padding: calc(var(--section) * 0.6) 0;
}

.section--dark {
  background: var(--navy);
}

.section--ink {
  background: var(--ink);
}

.section--white {
  background: var(--white);
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    gap: 3rem;
  }

  .section-head--split .lead {
    margin-bottom: 0.35rem;
  }
}

.section-head h2 {
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split--media-right > :first-child {
    order: 1;
  }
}

.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--iron);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame--tall {
  aspect-ratio: 4 / 5;
}

.frame--wide {
  aspect-ratio: 16 / 10;
}

.frame--square {
  aspect-ratio: 1;
}

.frame__tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  background: rgba(11, 27, 51, 0.85);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-left: 3px solid var(--amber);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-2);
  border-color: var(--amber-2);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lg {
  min-height: 58px;
  padding: 0 1.9rem;
  font-size: 1.08rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--amber-2);
}

.on-dark .text-link {
  color: var(--white);
}

.on-dark .text-link:hover {
  color: var(--amber);
}

/* ---------- Header ---------- */
.topbar {
  display: none;
  background: var(--ink);
  color: var(--steel-2);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
}

.topbar a {
  text-decoration: none;
  color: var(--white);
}

.topbar a:hover {
  color: var(--amber);
}

.topbar ul {
  display: flex;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .topbar {
    display: block;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

@media (min-width: 960px) {
  .site-header .site-nav {
    margin-left: auto;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
}

.brand__logo {
  height: clamp(40px, 9vw, 54px);
  width: auto;
  flex: none;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand__logo {
  height: 48px;
  background: var(--chalk);
  border-radius: 6px;
  padding: 4px 6px;
}

.brand__mark {
  width: clamp(36px, 10vw, 44px);
  height: clamp(36px, 10vw, 44px);
  flex: none;
}

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.brand__sub {
  display: block;
  margin-top: 3px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 0.6rem;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-btn:hover {
  background: var(--chalk);
}

.cart-btn svg {
  width: 22px;
  height: 22px;
}

.cart-btn__label {
  display: none;
}

.cart-btn__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.cart-btn__count[data-count="0"] {
  background: var(--chalk-2);
  color: var(--text-muted);
}

@media (min-width: 960px) {
  .cart-btn__label {
    display: inline;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  background: transparent;
  border: 0;
  color: var(--navy);
  border-radius: var(--radius);
}

.nav-toggle__bar {
  position: relative;
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle__bar::before {
  top: -7px;
}

.nav-toggle__bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  display: none;
  flex-direction: column;
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--white);
  overflow-y: auto;
}

.site-nav[data-open="true"] {
  display: flex;
}

.nav-list {
  display: flex;
  flex-direction: column;
}

.nav-list a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.nav-list a[aria-current="page"] {
  color: var(--amber-2);
}

.nav-cta {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.nav-cta .btn {
  width: 100%;
}

.nav-meta {
  margin-top: auto;
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.nav-meta a {
  color: var(--navy);
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: transparent;
    overflow: visible;
  }

  .nav-list {
    flex-direction: row;
    gap: 1.75rem;
  }

  .nav-list a {
    padding: 0.5rem 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    border-bottom: 2px solid transparent;
  }

  .nav-list a:hover,
  .nav-list a[aria-current="page"] {
    color: var(--navy);
    border-bottom-color: var(--amber);
  }

  .nav-cta {
    margin: 0;
    display: flex;
  }

  .nav-cta .btn {
    width: auto;
    min-height: 44px;
    padding: 0 1.1rem;
    font-size: 0.95rem;
  }

  .nav-cta .btn-outline-dark {
    display: none;
  }

  .nav-meta {
    display: none;
  }
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(86vh, 800px);
  background: var(--navy);
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 27, 51, 0.94) 0%, rgba(11, 27, 51, 0.78) 42%, rgba(11, 27, 51, 0.3) 100%),
    linear-gradient(0deg, rgba(11, 27, 51, 0.95) 0%, rgba(11, 27, 51, 0) 55%);
}

.hero__content {
  padding: clamp(96px, 16vw, 160px) 0 clamp(48px, 7vw, 80px);
  max-width: 820px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
}

.hero__note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero__note a {
  color: var(--white);
}

.hero--page {
  min-height: 0;
  align-items: center;
}

.hero--page .hero__content {
  padding: clamp(64px, 10vw, 110px) 0 clamp(48px, 7vw, 72px);
}

.hero--page h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
}

.hero--page .hero__media::after {
  background:
    linear-gradient(90deg, rgba(11, 27, 51, 0.95) 0%, rgba(11, 27, 51, 0.82) 50%, rgba(11, 27, 51, 0.5) 100%);
}

/* Verb strip */
.verbs {
  background: var(--amber);
  color: var(--navy);
}

.verbs ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0;
  min-height: 56px;
  align-items: center;
}

.verbs li {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.verbs li + li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 clamp(0.9rem, 2.4vw, 1.75rem);
  background: var(--navy);
  border-radius: 50%;
}

/* Trust bar */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.trust li {
  padding: 1.25rem 1rem 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.trust li:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 1rem;
}

.trust li:nth-child(even) {
  padding-left: 1rem;
}

.trust li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.trust strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  text-transform: uppercase;
}

.trust span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust .stars {
  color: var(--amber);
  letter-spacing: 0.05em;
  font-size: 1.1rem;
  vertical-align: 2px;
}

@media (min-width: 800px) {
  .trust ul {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust li {
    padding: 1.5rem 1.5rem;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .trust li:first-child {
    padding-left: 0;
  }

  .trust li:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .trust li:nth-child(even) {
    padding-left: 1.5rem;
  }
}

/* ---------- Category cards ---------- */
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--iron);
  color: var(--white);
  text-decoration: none;
  isolation: isolate;
}

.cat-card img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(11, 27, 51, 0.95) 0%, rgba(11, 27, 51, 0.35) 55%, rgba(11, 27, 51, 0.05) 100%);
}

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

.cat-card__body {
  padding: 1.5rem;
}

.cat-card__index {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--amber);
}

.cat-card h3 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.cat-card p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
}

@media (min-width: 1100px) {
  .cat-card__body {
    padding: 1.75rem;
  }
}

/* ---------- Feature list ---------- */
.feature {
  padding: 1.75rem 0 0;
  border-top: 3px solid var(--navy);
}

.feature--amber {
  border-top-color: var(--amber);
}

.feature__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--amber-2);
}

.on-dark .feature {
  border-top-color: rgba(255, 255, 255, 0.25);
}

.on-dark .feature--amber {
  border-top-color: var(--amber);
}

.on-dark .feature__num {
  color: var(--amber);
}

.feature p {
  color: var(--text-muted);
}

.on-dark .feature p {
  color: var(--steel-2);
}

.feature p:last-child {
  margin-bottom: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--amber);
  transform: rotate(45deg);
}

.checklist--compact li {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

/* ---------- Reviews ---------- */
.rating {
  display: grid;
  gap: 0.25rem;
  align-content: start;
}

.rating__score {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 8.5rem);
  font-weight: 800;
  line-height: 0.85;
  color: var(--white);
}

.rating__stars {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.rating__label {
  font-size: 0.95rem;
  color: var(--steel-2);
}

.rating__label a {
  color: var(--white);
}

.review {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.review blockquote {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--white);
}

.review blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.5;
  color: var(--amber);
  margin-bottom: 0.8rem;
}

.review footer {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--steel-2);
}

.review footer strong {
  display: block;
  color: var(--white);
  font-weight: 600;
}

.review-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.review-topics li {
  padding: 6px 12px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--steel-2);
}

.review-topics li strong {
  color: var(--white);
  font-weight: 600;
}

/* ---------- Sell / CTA bands ---------- */
.band {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--iron);
  overflow: hidden;
}

.band__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 22, 29, 0.96) 0%, rgba(18, 22, 29, 0.85) 50%, rgba(18, 22, 29, 0.55) 100%);
}

.band .container {
  padding-top: var(--section);
  padding-bottom: var(--section);
}

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

.band .lead {
  color: rgba(255, 255, 255, 0.8);
}

.band .text-link {
  color: var(--white);
}

.band .text-link:hover {
  color: var(--amber);
}

.cta-final {
  background: var(--amber);
  color: var(--navy);
}

.cta-final .container {
  display: grid;
  gap: 1.5rem;
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(48px, 7vw, 80px);
}

.cta-final h2 {
  color: var(--navy);
  margin: 0;
}

.cta-final p {
  margin: 0;
  font-size: 1.1rem;
  max-width: 48ch;
}

.cta-final .btn-navy {
  background: var(--navy);
}

.cta-final .btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

@media (min-width: 900px) {
  .cta-final .container {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* ---------- Info / location ---------- */
.info-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-card h3 {
  margin-bottom: 1rem;
}

.info-card dl {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.info-card dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-2);
}

.info-card dd {
  margin: 0.15rem 0 0;
}

.info-card dd a {
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
}

.info-card dd a:hover {
  color: var(--amber-2);
}

.hours {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}

.hours div:last-child {
  border-bottom: 0;
}

.hours dt {
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  color: var(--text);
}

.hours dd {
  margin: 0;
  color: var(--text-muted);
}

.map {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--chalk-2);
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.2) contrast(1.02);
}

.note {
  padding: 1rem 1.25rem;
  background: var(--chalk-2);
  border-left: 3px solid var(--amber);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.on-dark .note {
  background: rgba(255, 255, 255, 0.05);
  color: var(--steel-2);
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label,
.field legend {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.field .hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid #b9c0ca;
  border-radius: var(--radius);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--amber);
  outline-offset: 1px;
  border-color: var(--navy);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b4322f;
}

.field .error {
  font-size: 0.85rem;
  color: #a12b28;
  display: none;
}

.field input[aria-invalid="true"] ~ .error,
.field textarea[aria-invalid="true"] ~ .error {
  display: block;
}

fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
}

.choice-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  background: var(--white);
  border: 1px solid #b9c0ca;
  border-radius: var(--radius);
  font-size: 0.95rem;
  cursor: pointer;
}

.field .choice {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  margin: 0;
}

.choice:has(input:checked) {
  border-color: var(--navy);
  background: #eef1f6;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.form-actions .hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-success {
  display: none;
  padding: 1.5rem;
  background: var(--white);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
}

.form-success[data-show="true"] {
  display: block;
}

.form[data-sent="true"] {
  display: none;
}

.form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--chalk-2);
  border-radius: var(--radius);
}

/* ---------- Spec table ---------- */
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.spec th,
.spec td {
  padding: 0.9rem 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.spec th {
  width: 34%;
  padding-right: 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.spec td {
  color: var(--text-muted);
}

/* ---------- Equipment page ---------- */
.inventory-note {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}

.inventory-note h3 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.inventory-note p {
  color: var(--steel-2);
  margin: 0;
}

@media (min-width: 900px) {
  .inventory-note {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.category {
  padding: var(--section) 0;
  border-top: 1px solid var(--line);
}

.category:first-of-type {
  border-top: 0;
}

.category__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.category__meta li {
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.condition {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.condition > div {
  padding: 1.5rem;
  background: var(--white);
}

.condition strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--navy);
}

.condition p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (min-width: 800px) {
  .condition {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- About ---------- */
.portrait {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  background: var(--navy);
  border-radius: var(--radius);
  color: var(--white);
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.portrait svg {
  width: 96px;
  height: 96px;
  opacity: 0.9;
}

.portrait__label {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-2);
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  pointer-events: none;
}

.stat-row {
  display: grid;
  gap: 1.5rem 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
}

.stat-row span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (min-width: 560px) {
  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--steel-2);
  padding: clamp(48px, 7vw, 80px) 0 calc(32px + env(safe-area-inset-bottom));
  font-size: 0.95rem;
}

.site-footer .container {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .site-footer .container {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--amber);
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.site-footer .brand {
  margin-bottom: 1rem;
}

.site-footer p {
  max-width: 40ch;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.82rem;
  color: var(--steel);
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social svg {
  width: 18px;
  height: 18px;
}

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  background: var(--navy);
  border-top: 1px solid var(--line-light);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 58px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border-right: 1px solid var(--line-light);
}

.mobile-bar a svg {
  width: 18px;
  height: 18px;
}

.mobile-bar a:last-child {
  background: var(--amber);
  color: var(--navy);
  border-right: 0;
}

@media (min-width: 768px) {
  .mobile-bar {
    display: none;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 58px;
  }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .cat-card:hover img {
    transform: none;
  }
}

/* ---------- Utilities ---------- */
.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-0 {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}


/* =========================================================
   Shop, cart, brand marquee (added with the shop build)
   ========================================================= */

/* ---------- Brand marquee ---------- */
.brands {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brands--dark {
  background: var(--ink);
  border-color: var(--line-light);
}

.brands__label {
  margin: 0 0 1.1rem;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brands--dark .brands__label {
  color: var(--steel-2);
}

.marquee {
  --gap: clamp(40px, 6vw, 88px);
  --duration: 42s;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--gap);
  padding-left: var(--gap);
  animation: marquee var(--duration) linear infinite;
  will-change: transform;
}


.marquee__item {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.marquee__item img {
  height: var(--h, 28px);
  width: auto;
  max-width: none;
  opacity: 0.82;
  transition: opacity 0.2s ease;
}

.marquee__item:hover img {
  opacity: 1;
}

.brands--dark .marquee__item img {
  filter: invert(1) brightness(1.4);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(80px, 14vw, 200px);
  pointer-events: none;
  z-index: 2;
}

.marquee__edge--left {
  left: 0;
}

.marquee__edge--right {
  right: 0;
}

.marquee__edge span {
  position: absolute;
  inset: 0;
}

.marquee__edge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--edge-color, var(--white)) 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee__edge--right::after {
  background: linear-gradient(270deg, var(--edge-color, var(--white)) 0%, rgba(255, 255, 255, 0) 100%);
}

.brands--dark .marquee {
  --edge-color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
  }

  .marquee__track {
    animation: none;
    padding-right: var(--gap);
  }

  .marquee__edge {
    display: none;
  }
}

/* ---------- Shop ---------- */
.shop-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.chip span {
  font-weight: 500;
  color: var(--text-muted);
}

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

.chip[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.chip[aria-pressed="true"] span {
  color: var(--steel-2);
}

.shop-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pgrid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.pcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -18px rgba(11, 27, 51, 0.45);
}

.pcard__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: var(--chalk-2);
  overflow: hidden;
  cursor: zoom-in;
}

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pcard:hover .pcard__media img {
  transform: scale(1.03);
}

.pcard__tag {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
}

.pcard__media .pcard__tag {
  position: absolute;
  top: 12px;
  left: 12px;
}

.pcard__tag--new {
  background: var(--amber);
  color: var(--navy);
}

.pcard__tag--low-stock {
  background: #b4322f;
  color: var(--white);
}

.pcard__tag--recently-sold {
  background: var(--steel);
  color: var(--white);
}

.pcard__tag--cond {
  background: var(--chalk-2);
  color: var(--navy);
}

.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.1rem;
  flex: 1;
}

.pcard__brand {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-2);
}

.pcard__name {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.05;
}

.pcard__name button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.pcard__name button:hover {
  color: var(--amber-2);
}

.pcard__summary {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.pcard__price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.pcard__add {
  min-height: 42px;
  padding: 0 1rem;
  font-size: 0.9rem;
}

.pcard__add[data-in="true"] {
  background: var(--chalk-2);
  border-color: var(--chalk-2);
  color: var(--navy);
}

.pcard__sold {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--chalk-2);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pcard--sold .pcard__media img {
  filter: grayscale(1);
  opacity: 0.75;
}

.shop-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--text-muted);
}

.shop-sold {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.shop-sold h2 {
  margin-bottom: 0.25rem;
}

.shop-sold > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pgrid--sold .pcard {
  opacity: 0.9;
}

.shop-note {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
}

.shop-note p {
  margin: 0;
  color: var(--text-muted);
}

@media (min-width: 800px) {
  .shop-note {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* ---------- Featured strip on homepage ---------- */
.featured .pgrid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(11, 27, 51, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-overlay[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 71;
  width: min(100%, 440px);
  display: flex;
  flex-direction: column;
  background: var(--chalk);
  box-shadow: -20px 0 50px -30px rgba(0, 0, 0, 0.5);
  transform: translateX(105%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
}

.cart-drawer[data-open="true"] {
  transform: none;
}

body.cart-open {
  overflow: hidden;
}

.cart-drawer__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--navy);
  color: var(--white);
}

.cart-drawer__head h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.5rem;
}

.cart-drawer__close,
.pdialog__close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  font-size: 1.8rem;
  line-height: 1;
}

.cart-drawer__close:hover,
.pdialog__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cart-drawer__intro {
  margin: 0;
  padding: 1rem 1.25rem 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cart-empty {
  padding: 1.5rem 1.25rem;
  color: var(--text-muted);
}

.cart-items {
  padding: 1rem 1.25rem 0;
  display: grid;
  gap: 0.75rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-item img,
.cart-item__ph {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 3px;
  background: var(--chalk-2);
}

.cart-item__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cart-item__brand {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-2);
}

.cart-item__body strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--navy);
}

.cart-item__price {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item__remove {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1;
}

.cart-item__remove:hover {
  color: #b4322f;
  border-color: #b4322f;
}

.cart-form {
  padding: 1.25rem;
  margin-top: 0.5rem;
}

.cart-form h3 {
  margin-bottom: 0.25rem;
}

.cart-form .lead {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.cart-form .btn {
  width: 100%;
}

.cart-form__alt {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.cart-form__clear {
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-drawer .form-success {
  margin: 1.25rem;
}

/* ---------- Product dialog ---------- */
.pdialog {
  width: min(100% - 2rem, 1040px);
  max-height: min(92vh, 900px);
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--chalk);
  color: var(--text);
  overflow: hidden;
}

.pdialog::backdrop {
  background: rgba(11, 27, 51, 0.7);
}

.pdialog__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background: rgba(11, 27, 51, 0.7);
  color: var(--white);
}

.pdialog__body {
  display: grid;
  max-height: min(92vh, 900px);
  overflow-y: auto;
}

.pdialog__media {
  background: var(--iron);
}

.pdialog__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.pdialog__thumbs {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: var(--ink);
}

.pdialog__thumbs button {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  background: none;
}

.pdialog__thumbs button[aria-current="true"] {
  border-color: var(--amber);
}

.pdialog__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdialog__info {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.pdialog__info h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.pdialog__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.pdialog__desc {
  color: var(--text-muted);
}

.spec--compact th,
.spec--compact td {
  padding: 0.6rem 0;
  font-size: 0.92rem;
}

.spec--compact th {
  font-size: 1rem;
}

.pdialog__delivery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
}

.pdialog__delivery li {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}

.pdialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pdialog__note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 800px) {
  .pdialog__body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

  .pdialog__media {
    position: sticky;
    top: 0;
    align-self: start;
  }

  .pdialog__media img {
    aspect-ratio: auto;
    height: min(92vh, 900px);
    max-height: 100%;
  }

  .pdialog__thumbs {
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(18, 22, 29, 0.8);
  }

  .pdialog__media {
    position: relative;
  }
}

body.dialog-open {
  overflow: hidden;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(72px + env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: calc(100% - 32px);
  padding: 0.8rem 1rem 0.8rem 1.1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.6);
  font-size: 0.92rem;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.toast[data-show="true"] {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.toast__btn {
  border: 0;
  border-radius: 3px;
  padding: 6px 10px;
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .toast {
    bottom: 24px;
  }
}

/* ---------- Photo strip (about) ---------- */
.photo-strip {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, 1fr);
}

.photo-strip .frame {
  aspect-ratio: 3 / 4;
}

@media (max-width: 600px) {
  .photo-strip {
    grid-template-columns: 1fr 1fr;
  }

  .photo-strip .frame:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }
}


/* ---------- Header density between tablet and wide desktop ---------- */
.nav-list a {
  white-space: nowrap;
}

@media (min-width: 960px) and (max-width: 1199px) {
  .brand__sub {
    display: none;
  }

  .brand__name {
    font-size: 1.1rem;
  }

  .nav-list {
    gap: 1.1rem;
  }

  .nav-list a {
    font-size: 0.88rem;
  }

  .nav-cta .btn {
    padding: 0 0.8rem;
  }

  .nav-call__num {
    display: none;
  }

  .site-header .site-nav {
    gap: 1.1rem;
  }
}

@media (min-width: 960px) {
  .site-header .container {
    gap: 0.75rem;
  }
}

/* ---------- Grid and header refinements ---------- */
.cart-btn {
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .cart-btn__label {
    display: none;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.featured .pgrid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}

@media (min-width: 900px) {
  .featured .pgrid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Header: brand never shrinks, nav takes the remaining room ---------- */
.site-header .brand {
  flex: none;
}

@media (min-width: 960px) {
  .site-header .site-nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
  }

  .site-header .header-actions {
    flex: none;
  }
}

@media (min-width: 1200px) {
  .nav-list {
    gap: 1.4rem;
  }
}

@media (min-width: 960px) {
  .site-header .site-nav {
    gap: 1.25rem;
  }

  .nav-cta .btn {
    padding: 0 1rem;
  }

  .site-header .brand__name {
    font-size: 1.25rem;
  }
}


/* ---------- Radio/checkbox choices: no amber ring on click, quiet keyboard focus ---------- */
.choice input:focus,
.choice input:focus-visible {
  outline: none;
  box-shadow: none;
}

.choice:has(input:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.choice:has(input:checked) {
  border-color: var(--navy);
  background: #eef1f6;
}

/* ---------- Hero: keep the CTAs above the fold on 768px-tall laptops ---------- */
.hero {
  min-height: min(80vh, 760px);
}

.hero__content {
  padding: clamp(72px, 10vw, 112px) 0 clamp(40px, 6vw, 64px);
}

.hero h1 {
  font-size: clamp(2.75rem, 6.4vw, 5.2rem);
}

.hero .lead {
  margin-bottom: 1.6rem;
}

.hero__note {
  margin-top: 1.1rem;
}


/* ---------- Quantity stepper ---------- */
.qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #b9c0ca;
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.qty button {
  width: 34px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
}

.qty button:hover {
  background: var(--chalk-2);
}

.qty input {
  width: 44px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
}

.qty--lg button {
  width: 44px;
}

.qty--lg input {
  width: 56px;
  min-height: 56px;
  font-size: 1.05rem;
}

.cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.pdialog__actions .qty {
  align-self: stretch;
}


/* ---------- Cart: phone vs desktop modes ---------- */
.cart-drawer[data-mode="desktop"] .cart-mode--phone,
.cart-drawer[data-mode="phone"] .cart-mode--desktop {
  display: none;
}

.cart-mode--desktop .field textarea#cart-message {
  min-height: 190px;
  font-size: 0.95rem;
  line-height: 1.5;
  background: var(--white);
}

.cart-text-to {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.25rem 0 0.9rem;
}

.cart-text-to span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-text-to a {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.cart-text-to a:hover {
  color: var(--amber-2);
}

.cart-form .btn-row .btn {
  width: auto;
  flex: 1 1 auto;
}

[data-copy-message][data-copied="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
