:root {
  --ink: #17211f;
  --muted: #65706d;
  --soft: #f6f7f4;
  --panel: #ffffff;
  --line: #dfe5df;
  --evergreen: #143f38;
  --evergreen-2: #0f2f2b;
  --water: #2f7b86;
  --copper: #a86f2d;
  --copper-soft: #efe1cf;
  --shadow: 0 18px 50px rgba(18, 33, 31, 0.12);
  --content-width: min(80vw, 1520px);
  --page-gutter: clamp(18px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px var(--page-gutter);
  background: rgba(246, 247, 244, 0.9);
  border-bottom: 1px solid rgba(223, 229, 223, 0.8);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo-acti {
  height: 36px;
}

.brand-logo-sundance {
  height: 22px;
}

.brand-divider {
  width: 1px;
  height: 30px;
  background: var(--line);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.top-nav a {
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--evergreen);
}

.hero {
  position: relative;
  min-height: min(86vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--evergreen-2);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 22, 20, 0.88) 0%, rgba(8, 22, 20, 0.58) 45%, rgba(8, 22, 20, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 22, 20, 0.72) 0%, rgba(8, 22, 20, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin-left: var(--page-gutter);
  padding: clamp(96px, 14vw, 160px) 0 170px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e3bc83;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 8vw, 5.6rem);
  line-height: 0.98;
  font-weight: 650;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.02;
  font-weight: 630;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2.1vw, 1.25rem);
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.filter-button:hover,
.thumb-button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: #fff;
  color: var(--evergreen-2);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.hero-summary {
  position: absolute;
  right: var(--page-gutter);
  bottom: 32px;
  left: var(--page-gutter);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background: rgba(11, 30, 28, 0.54);
  backdrop-filter: blur(18px);
}

.hero-summary div {
  padding: clamp(16px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.05);
}

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

.hero-summary strong {
  font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  line-height: 1.15;
}

.hero-summary span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.section {
  padding: clamp(60px, 8vw, 108px) var(--page-gutter);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(26px, 6vw, 84px);
  align-items: start;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.section-heading.with-controls {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(26px, 6vw, 84px);
  background: #fff;
}

.intro-band .section-heading {
  display: block;
  margin-bottom: 0;
}

.intro-text {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
}

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

.filter-group {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.filter-button {
  min-height: 38px;
  padding: 8px 13px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 740;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-button.active {
  color: #fff;
  background: var(--evergreen);
}

.product-list {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.product-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-card.hidden {
  display: none;
}

.gallery {
  min-width: 0;
}

.main-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #d7ded9;
}

.main-media img,
.main-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  background: rgba(20, 63, 56, 0.92);
  font-size: 0.78rem;
  font-weight: 800;
}

.availability-ribbon {
  position: absolute;
  top: 32px;
  right: -70px;
  z-index: 2;
  width: 280px;
  padding: 15px 16px;
  transform: rotate(38deg);
  color: #fff;
  background: #626b68;
  box-shadow: 0 5px 16px rgba(14, 37, 34, 0.24);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.product-card[data-availability="sold"] .main-media img,
.product-card[data-availability="sold"] .main-media video {
  filter: saturate(0.78);
}

.table-status {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table-status-sold {
  color: #555f5c;
  background: #e8ecea;
}

.table-status-available {
  color: #fff;
  background: #0f6758;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.thumb-button {
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #d7ded9;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}

.thumb-button.active {
  border-color: var(--copper);
}

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

.video-thumb {
  position: relative;
}

.video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 47, 43, 0.38);
}

.video-thumb span {
  position: absolute;
  right: 8px;
  bottom: 7px;
  padding: 4px 7px;
  border-radius: 5px;
  color: #fff;
  background: rgba(15, 47, 43, 0.9);
  font-size: 0.74rem;
  font-weight: 820;
}

.product-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: #f9faf8;
  font-size: 0.82rem;
  font-weight: 720;
}

.product-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.product-title h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  font-weight: 620;
}

.product-title span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.price-block {
  min-width: 150px;
  text-align: right;
}

.price-label {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-value {
  margin: 0;
  color: var(--evergreen);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 820;
  line-height: 1.05;
}

.product-description {
  color: var(--muted);
  font-size: 1.02rem;
}

.service-box {
  margin: 18px 0 4px;
  padding: 16px 18px;
  border: 1px solid rgba(47, 123, 134, 0.28);
  border-radius: 8px;
  background: #edf5f3;
}

.service-box span {
  display: block;
  margin-bottom: 6px;
  color: var(--evergreen);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-box p {
  margin: 0;
  color: #38504c;
  font-size: 0.96rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.fact {
  min-height: 88px;
  padding: 14px;
  background: #fff;
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.spec-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: auto;
}

.spec-panel-single {
  grid-template-columns: minmax(0, 1fr);
}

.spec-panel h4 {
  margin: 0 0 10px;
  color: var(--evergreen);
  font-size: 0.95rem;
}

.spec-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.spec-panel li + li {
  margin-top: 6px;
}

.note-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--copper);
  border-radius: 6px;
  background: var(--copper-soft);
  color: #5b422c;
  font-size: 0.95rem;
}

.comparison-section {
  background: #fff;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  background: #f9faf8;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  color: var(--ink);
  font-weight: 620;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.source-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.load-error {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(168, 111, 45, 0.35);
  border-radius: 8px;
  color: #5b422c;
  background: var(--copper-soft);
}

.credibility-band {
  background: var(--evergreen);
  color: #fff;
}

.credibility-band .eyebrow {
  color: #e3bc83;
}

.credibility-band h2 {
  max-width: 820px;
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.cred-grid article {
  padding: clamp(20px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.06);
}

.cred-grid h3 {
  color: #fff;
}

.cred-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px var(--page-gutter);
  color: rgba(255, 255, 255, 0.78);
  background: #111715;
}

.site-footer p {
  margin: 0;
}

.footer-title {
  color: #fff;
  font-weight: 780;
}

.button-footer {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

@media (min-width: 1400px) {
  :root {
    --page-gutter: calc((100vw - var(--content-width)) / 2);
  }

  .products-section {
    width: var(--content-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
  }

  .comparison-section > .section-heading,
  .comparison-section > .table-wrap,
  .comparison-section > .source-note,
  .credibility-band > div,
  .credibility-band > .cred-grid {
    width: var(--content-width);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 980px) {
  .product-card,
  .section-heading,
  .section-heading.with-controls,
  .intro-band,
  .spec-panel {
    grid-template-columns: 1fr;
  }

  .section-heading.with-controls {
    align-items: start;
  }

  .filter-group {
    width: fit-content;
  }

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

  .cred-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .brand-name {
    white-space: normal;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding: 86px 18px 260px;
  }

  .hero-summary {
    grid-template-columns: 1fr;
    bottom: 18px;
  }

  .product-title {
    display: block;
  }

  .price-block {
    margin-top: 18px;
    text-align: left;
  }

  .thumb-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
