:root {
  --ink: #17201d;
  --muted: #56635d;
  --paper: #fbfaf6;
  --soft: #f3eee4;
  --line: #d9ded7;
  --green: #1f6b57;
  --green-dark: #12483a;
  --red: #d85d4a;
  --yellow: #e1b840;
  --blue: #355a8a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(23, 32, 29, 0.12);
  --radius: 8px;
  --shell: 1180px;
}

* {
  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;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

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

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

button,
input {
  font: inherit;
}

.site-shell {
  width: min(var(--shell), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(217, 222, 215, 0.84);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand img {
  width: clamp(178px, 22vw, 228px);
  height: auto;
}

.site-nav,
.menu,
.language-switch,
.hero-actions,
.filter-row {
  display: flex;
  align-items: center;
}

.site-nav {
  gap: 18px;
}

.menu {
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu a,
.language-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.menu a:hover,
.language-switch a:hover,
.language-switch a.is-active {
  color: var(--ink);
  background: var(--soft);
}

.language-switch {
  padding: 4px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.language-switch a {
  min-height: 32px;
  padding: 0 9px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero-section {
  padding: clamp(34px, 6vw, 78px) 0 clamp(26px, 4vw, 50px);
  background: linear-gradient(180deg, #fbfaf6 0%, #f0f4ed 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 5.1rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 850;
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

.button-primary:hover {
  background: var(--green-dark);
}

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

.snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 690px;
  margin: 34px 0 0;
}

.snapshot div,
.source-metrics div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.snapshot dt,
.source-metrics dt {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.snapshot dd,
.source-metrics dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  grid-auto-rows: 190px;
  gap: 14px;
}

.hero-item {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(23, 32, 29, 0), rgba(23, 32, 29, 0.72));
}

.hero-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.hero-item span,
.hero-item strong {
  position: relative;
  z-index: 1;
  margin-left: 14px;
  color: var(--white);
}

.hero-item span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--red);
  font-size: 0.75rem;
  font-weight: 850;
}

.hero-item strong {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.hero-item-1 {
  grid-row: span 2;
}

.source-section {
  padding: 26px 0;
  color: #eef5ef;
  background: var(--ink);
}

.source-grid,
.editorial-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: start;
}

.source-grid h2,
.source-grid p {
  color: inherit;
}

.source-grid p {
  max-width: 680px;
  margin: 12px 0 0;
  color: #c7d3cd;
}

.source-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.source-metrics div {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.source-metrics dt a {
  color: var(--yellow);
}

.section {
  padding: clamp(44px, 7vw, 92px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.model-section {
  background: var(--paper);
}

.route-section,
.faq-section {
  background: var(--soft);
}

.content-index-section {
  background: #ffffff;
}

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

.model-card,
.route-card,
.guide-link-card,
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.model-card,
.route-card,
.guide-link-card {
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 12px;
}

.model-card:hover,
.route-card:hover,
.guide-link-card:hover,
.product-card:hover {
  border-color: rgba(31, 107, 87, 0.42);
  box-shadow: 0 18px 38px rgba(31, 107, 87, 0.13);
}

.model-card img,
.route-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 6px;
  background: #f8f8f4;
}

.model-card span,
.route-card span,
.guide-link-card span {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--green-dark);
  background: #e4f1ea;
  font-size: 0.78rem;
  font-weight: 850;
}

.model-card small,
.route-card small,
.guide-link-card small {
  color: var(--muted);
  font-size: 0.88rem;
}

.guide-link-card {
  min-height: 178px;
  align-content: start;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf7 100%);
}

.guide-link-card strong {
  font-size: 1.15rem;
  line-height: 1.18;
}

.finder-section {
  background: var(--paper);
}

.finder-toolbar {
  display: grid;
  grid-template-columns: 150px minmax(260px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.finder-toolbar label {
  color: var(--green-dark);
  font-weight: 850;
}

.finder-toolbar input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
}

.filter-row {
  grid-column: 2;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-row button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.filter-row button.is-active,
.filter-row button:hover {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

.catalog-status {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 750;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

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

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  background: #f8f8f4;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.product-media span {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
}

.product-copy {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.product-copy > p:first-child {
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 2px;
}

.price-line strong {
  font-size: 1.35rem;
}

.price-line span {
  color: var(--muted);
  text-decoration: line-through;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 32px;
  color: var(--green-dark);
  font-weight: 900;
}

.text-link::after {
  content: ">";
  margin-left: 7px;
  color: var(--red);
}

.editorial-section {
  color: #eef5ef;
  background: var(--green-dark);
}

.editorial-section .eyebrow,
.editorial-section h2 {
  color: inherit;
}

.editorial-copy {
  display: grid;
  gap: 16px;
}

.editorial-copy p {
  margin: 0;
  color: #dbe7e1;
  font-size: 1.05rem;
}

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

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

.faq-list summary {
  min-height: 58px;
  padding: 17px 18px;
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.page-section {
  min-height: 52vh;
}

.prose {
  max-width: 820px;
}

.prose h1 {
  font-size: 4rem;
}

.prose h2 {
  margin-top: 34px;
  font-size: 2rem;
  line-height: 1.1;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 1.03rem;
}

.prose .lede {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 650;
}

.post-meta {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.content-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.content-links a {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-dark);
  background: var(--white);
  font-weight: 850;
}

.content-links a:hover {
  border-color: rgba(31, 107, 87, 0.42);
  background: #f4faf6;
}

.topic-products {
  margin: 36px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.topic-products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.topic-products-head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.topic-products-head span {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

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

.topic-product-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f8f4;
}

.topic-product-media {
  display: grid;
  place-items: center;
  min-height: 118px;
  border-radius: 6px;
  background: var(--white);
}

.topic-product-media img {
  width: 100%;
  max-height: 112px;
  object-fit: contain;
  padding: 8px;
}

.topic-product-card p {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.topic-product-card h3 {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.topic-product-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: 1.08rem;
}

.page-referral-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(23, 32, 29, 0.08);
}

.page-referral-copy {
  display: grid;
  align-content: center;
  gap: 12px;
}

.page-referral-copy h2 {
  font-size: 1.55rem;
}

.page-referral-copy p {
  margin: 0;
  color: var(--muted);
}

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

.page-referral-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f8f4;
}

.page-referral-card:hover {
  border-color: rgba(31, 107, 87, 0.42);
}

.page-referral-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: contain;
}

.page-referral-card span {
  width: fit-content;
  padding: 2px 7px;
  border-radius: 6px;
  color: var(--white);
  background: var(--green);
  font-size: 0.72rem;
  font-weight: 850;
}

.page-referral-card strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.page-referral-card small {
  color: var(--red);
  font-size: 0.96rem;
  font-weight: 900;
}

.site-footer {
  padding: 44px 0 20px;
  color: #edf4ef;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.7fr);
  gap: 30px;
}

.footer-logo {
  width: 220px;
  margin-bottom: 14px;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: #b8c5bf;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin: 7px 0;
}

.footer-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-bottom {
  padding-top: 24px;
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-grid,
  .source-grid,
  .editorial-grid,
  .faq-grid,
  .page-referral-panel,
  .section-heading {
    grid-template-columns: 1fr;
  }

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

  .model-grid,
  .route-grid,
  .guide-link-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lede {
    font-size: 1.06rem;
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu,
  .language-switch {
    flex-direction: column;
    align-items: stretch;
  }

  .menu a,
  .language-switch a {
    justify-content: center;
  }

  .snapshot,
  .source-metrics,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-gallery,
  .model-grid,
  .route-grid,
  .guide-link-grid,
  .product-grid,
  .topic-products-grid,
  .page-referral-grid {
    grid-template-columns: 1fr;
  }

  .content-links {
    grid-template-columns: 1fr;
  }

  .topic-products-head {
    display: grid;
  }

  .topic-products-head span {
    white-space: normal;
  }

  .topic-product-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .hero-gallery {
    grid-auto-rows: 210px;
  }

  .hero-item-1 {
    grid-row: span 1;
  }

  .finder-toolbar {
    grid-template-columns: 1fr;
  }

  .filter-row {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .site-shell {
    width: min(var(--shell), calc(100% - 22px));
  }

  h1 {
    font-size: 2.45rem;
  }

  .prose h1 {
    font-size: 2.45rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .product-copy {
    padding: 14px;
  }
}
