:root {
  --bg: #f5f2ec;
  --surface: #ffffff;
  --surface-soft: #ebe7df;
  --ink: #171717;
  --muted: #6b665e;
  --line: #d8d2c8;
  --accent: #a42028;
  --accent-dark: #71151b;
  --gold: #b18845;
  --shadow: 0 24px 70px rgba(24, 21, 17, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(245, 242, 236, 0.88);
  border-bottom: 1px solid rgba(216, 210, 200, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.77rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #332f29;
  font-size: 0.95rem;
}

.main-nav a,
.footer-links a {
  transition: color 0.18s ease;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.offer-link {
  border-color: rgba(255, 255, 255, 0.72);
}

.inline-offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 10px;
  padding: 0 16px;
  border: 1px solid rgba(164, 32, 40, 0.24);
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  font-weight: 850;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.inline-offer:hover {
  transform: translateY(-2px);
  border-color: rgba(164, 32, 40, 0.48);
  box-shadow: 0 14px 36px rgba(24, 21, 17, 0.1);
}

.nav-cta,
.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-cta:hover,
.button.primary:hover {
  background: var(--accent-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: #090909;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.56) 42%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, transparent 40%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.95;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: clamp(52px, 7vw, 92px) clamp(20px, 6vw, 72px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.hero-content > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 38px;
}

.quick-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.quick-specs div {
  padding: 14px 16px;
  background: rgba(16, 16, 16, 0.46);
}

.quick-specs dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.quick-specs dd {
  margin: 4px 0 0;
  font-weight: 850;
}

.notice {
  margin: 0;
  padding: 18px clamp(20px, 6vw, 72px);
  background: #1f1b17;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.notice strong {
  color: #fff;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 72px);
}

.gallery-section {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, 24vw);
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-height: 210px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #1f1b17;
  box-shadow: 0 16px 42px rgba(24, 21, 17, 0.1);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 44%);
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-weight: 850;
}

.intro-grid,
.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

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

.feature-grid article,
.model-card,
.merchant,
.resource-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.feature-grid article {
  padding: 24px;
}

.feature-grid p,
.section-heading p,
.split-section p,
.model-card p,
.model-card li,
.site-footer p {
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.model-switcher,
.spec-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.model-tab,
.spec-filter {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #3b3630;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.model-tab.active,
.spec-filter.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

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

.model-card {
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(24, 21, 17, 0.08);
}

.model-card.is-hidden {
  display: none;
}

.model-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #ddd8ce;
}

.model-card div {
  padding: 22px;
}

.model-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.specs-section {
  background: var(--surface-soft);
}

.spec-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 26px;
  align-items: start;
}

.spec-nav {
  position: sticky;
  top: 98px;
  display: grid;
}

.spec-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row.is-hidden {
  display: none;
}

.spec-row span {
  color: var(--muted);
  font-weight: 750;
}

.resource-hub {
  background: #fff;
}

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

.resource-category {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 242, 236, 0.58);
  padding: 24px;
}

.featured-resource {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 56px);
  margin-bottom: 18px;
  background: #1f1b17;
  color: #fff;
  box-shadow: var(--shadow);
}

.featured-resource p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.resource-category > p,
.resource-points,
.tips-grid p {
  color: var(--muted);
}

.link-stack,
.resource-list {
  display: grid;
  gap: 12px;
}

.link-stack a,
.resource-list a,
.merchant {
  padding: 20px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.link-stack.compact a {
  padding: 16px;
}

.link-stack a,
.resource-list a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.featured-resource .link-stack a {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.resource-list a:hover,
.link-stack a:hover,
.merchant:hover {
  transform: translateY(-3px);
  border-color: rgba(164, 32, 40, 0.45);
  box-shadow: 0 18px 48px rgba(24, 21, 17, 0.1);
}

.resource-list span,
.link-stack span,
.merchant span,
.merchant strong {
  display: block;
}

.resource-list span,
.link-stack span {
  font-weight: 850;
}

.resource-list small,
.link-stack small {
  color: var(--muted);
}

.featured-resource .link-stack small {
  color: rgba(255, 255, 255, 0.66);
}

.resource-points {
  margin: 18px 0 0;
  padding-left: 18px;
}

.resource-points li + li {
  margin-top: 10px;
}

.tips-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 1.3fr);
  gap: 28px;
  margin-top: 18px;
  padding: 26px;
  border: 1px solid rgba(164, 32, 40, 0.24);
  border-radius: 8px;
  background: #fbf6ee;
}

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

.tips-grid p {
  margin: 0;
}

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

.merchant span {
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 850;
}

.featured-merchant {
  border-color: rgba(164, 32, 40, 0.5);
  background: #fff8f4;
  box-shadow: 0 16px 42px rgba(164, 32, 40, 0.12);
}

.merchant strong {
  line-height: 1.35;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 6vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .main-nav {
    display: none;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(190px, 34vw);
  }

  .intro-grid,
  .split-section,
  .spec-layout,
  .featured-resource,
  .tips-panel {
    grid-template-columns: 1fr;
  }

  .spec-nav {
    position: static;
    display: flex;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 14px 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 74px 18px 42px;
  }

  .quick-specs,
  .feature-grid,
  .models,
  .merchant-grid,
  .resource-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(220px, 62vw);
  }

  .gallery-item.large {
    grid-column: auto;
    grid-row: auto;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .site-footer {
    display: block;
  }

  .footer-links {
    margin-top: 18px;
  }
}
