:root {
  --ink: #181916;
  --paper: #f7f4ee;
  --paper-strong: #fffaf1;
  --cedar: #a9552d;
  --cedar-dark: #60311f;
  --teal: #0f6d6a;
  --teal-dark: #063f42;
  --moss: #677448;
  --gold: #d29b3d;
  --line: rgba(24, 25, 22, 0.16);
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(12, 14, 14, 0.18);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 42px);
  background: rgba(247, 244, 238, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: var(--paper-strong);
  background: var(--teal-dark);
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  color: rgba(24, 25, 22, 0.78);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: clamp(650px, 78svh, 760px);
  display: grid;
  align-items: end;
  overflow: clip;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 18, 17, 0.9), rgba(14, 18, 17, 0.52) 48%, rgba(14, 18, 17, 0.18)),
    linear-gradient(0deg, rgba(14, 18, 17, 0.5), rgba(14, 18, 17, 0.06) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 112px 0 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 6.3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 850;
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.quick-strip {
  width: min(var(--max), calc(100% - 36px));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-strip div {
  min-height: 112px;
  padding: 20px;
  background: var(--paper-strong);
}

.quick-strip strong {
  display: block;
  color: var(--teal-dark);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.quick-strip span {
  display: block;
  margin-top: 6px;
  color: rgba(24, 25, 22, 0.66);
  font-weight: 650;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 112px) 0;
}

.section-grid,
.section-heading,
.mode-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.section h2,
.mode-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading {
  align-items: end;
  margin-bottom: 30px;
}

.section-heading p,
.rich-copy p,
.mode-copy p,
.guide-card p,
.model-card p,
.timeline p,
.faq-list p,
.site-footer p {
  color: rgba(24, 25, 22, 0.72);
}

.rich-copy p {
  margin: 0 0 18px;
  font-size: 1.08rem;
}

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

.model-card,
.guide-card,
.decision-block,
.notice,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.model-card {
  min-height: 430px;
  padding: clamp(24px, 4vw, 38px);
  position: relative;
  overflow: hidden;
}

.model-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
}

.model-card.cedar::before {
  background: linear-gradient(90deg, var(--cedar), var(--gold));
}

.model-card.aspen::before {
  background: linear-gradient(90deg, var(--teal), var(--moss));
}

.model-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 38px;
  padding: 0 14px;
  color: var(--paper-strong);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.model-card h3,
.guide-card h3,
.decision-block h3,
.timeline h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.model-photo {
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 24px auto 8px;
  object-fit: contain;
  border: 1px solid rgba(24, 25, 22, 0.12);
  border-radius: 8px;
  background: #fffdf8;
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding-left: 20px;
  position: relative;
  color: rgba(24, 25, 22, 0.78);
  font-weight: 700;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

.segmented {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: min(100%, 390px);
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.74);
}

.segment {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(24, 25, 22, 0.7);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.segment.active {
  color: var(--paper-strong);
  background: var(--teal-dark);
}

.comparison-panels {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  overflow: hidden;
}

.comparison-panel {
  padding: clamp(18px, 4vw, 34px);
}

.spec-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.spec-table div {
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
}

.spec-table span,
.energy-row span {
  display: block;
  color: rgba(24, 25, 22, 0.58);
  font-size: 0.83rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.spec-table strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
}

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

.decision-block,
.notice,
.guide-card {
  padding: clamp(20px, 3vw, 30px);
}

.decision-block {
  background: #fffdf8;
}

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

.notice {
  display: grid;
  gap: 8px;
  background: #fffdf8;
}

.notice strong {
  color: var(--teal-dark);
  font-size: 1.1rem;
}

.notice span {
  color: rgba(24, 25, 22, 0.7);
}

.mode-section {
  align-items: center;
}

.mode-art {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.mode-copy {
  min-width: 0;
}

.energy-row {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.energy-row div {
  padding: 16px 18px;
  border-left: 5px solid var(--teal);
  background: var(--paper-strong);
}

.energy-row strong {
  display: block;
  margin-top: 4px;
  font-size: 1.2rem;
}

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

.timeline article {
  min-height: 260px;
  padding: 22px;
}

.timeline span {
  color: var(--cedar);
  font-weight: 950;
  font-size: 0.86rem;
}

.buyer-guide h2 {
  max-width: 820px;
}

.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.guide-card {
  min-height: 230px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
  font-size: 1.08rem;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 42px);
  color: var(--paper-strong);
  background: var(--ink);
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 250, 241, 0.68);
}

@media (max-width: 860px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
    gap: 12px;
    max-width: 100vw;
    overflow: hidden;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    justify-content: stretch;
    overflow-x: visible;
    padding-bottom: 2px;
  }

  .nav-links a {
    text-align: center;
  }

  .hero {
    min-height: clamp(620px, 78svh, 720px);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(14, 18, 17, 0.92), rgba(14, 18, 17, 0.42)),
      linear-gradient(0deg, rgba(14, 18, 17, 0.62), rgba(14, 18, 17, 0.12));
  }

  .quick-strip,
  .section-grid,
  .section-heading,
  .mode-section,
  .model-grid,
  .two-column,
  .notice-grid,
  .timeline,
  .guide-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .quick-strip {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .quick-strip div {
    min-height: auto;
  }

  .section-heading {
    gap: 18px;
    align-items: start;
  }

  .spec-table {
    grid-template-columns: 1fr;
  }

  .segmented {
    width: 100%;
  }

  .timeline article,
  .guide-card,
  .model-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 0.95rem;
  }

  .nav-links {
    display: none;
  }

  .nav-links a {
    min-width: 0;
    font-size: 0;
  }

  .nav-links a::after {
    content: attr(data-short);
    font-size: 0.84rem;
  }

  .hero-content {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    margin-right: 14px;
    margin-left: 14px;
    padding-bottom: 44px;
  }

  .hero h1 {
    max-width: min(100%, 340px);
    font-size: clamp(1.72rem, 7.2vw, 2rem);
    line-height: 1.02;
    overflow-wrap: normal;
  }

  .hero-copy {
    max-width: min(100%, 342px);
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 28px, var(--max));
  }
}
