:root {
  --bg: #ffffff;
  --ink: #18211e;
  --muted: #5d6a64;
  --line: #dbe3df;
  --soft: #f5f8f6;
  --wood: #a96f3c;
  --wood-soft: #f2e4d4;
  --green: #176b4d;
  --green-dark: #0f5039;
  --blueprint: #d8e7e4;
  --shadow: 0 22px 60px rgba(24, 33, 30, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--green);
  border-radius: 4px;
  background:
    linear-gradient(135deg, transparent 45%, var(--green) 46% 54%, transparent 55%),
    linear-gradient(90deg, var(--wood-soft), #fff);
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav a,
.text-link {
  text-decoration: none;
}

.nav a:hover,
.text-link:hover {
  color: var(--green);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 107, 77, 0.2);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button {
  min-height: 50px;
  padding: 0 24px;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
  background: var(--green-dark);
  box-shadow: 0 12px 28px rgba(23, 107, 77, 0.26);
}

.home-hero,
.featured-section,
.category-section,
.fit-section,
.site-footer {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.5fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: 68px 0 56px;
  background:
    linear-gradient(var(--blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.2;
}

.lead {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.text-link {
  color: var(--green);
  font-weight: 800;
}

.home-panel {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.home-panel strong {
  color: var(--green);
}

.home-panel span {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 650;
}

.home-panel span:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.featured-section,
.category-section,
.fit-section {
  padding: 78px 0;
}

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

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 16px;
  align-items: center;
}

.carousel-control {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(24, 33, 30, 0.08);
}

.carousel-control:hover {
  border-color: var(--green);
}

.carousel-track {
  overflow: hidden;
}

.product-slide {
  display: none;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--soft), #fff);
}

.product-slide.is-active {
  display: grid;
}

.product-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-image:hover img {
  transform: scale(1.025);
}

.product-category {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-content p {
  color: var(--muted);
}

.product-facts {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.product-facts div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.product-facts dt {
  color: var(--ink);
  font-weight: 850;
}

.product-facts dd {
  margin: 0;
  color: var(--muted);
}

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

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

.criteria-grid article,
.fit-section > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.criteria-grid article {
  min-height: 230px;
  padding: 24px;
}

.criteria-grid p,
.fit-section p,
.site-footer p {
  color: var(--muted);
}

.number {
  display: block;
  margin-bottom: 42px;
  color: var(--wood);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
}

.fit-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fit-section > div {
  padding: clamp(28px, 4vw, 44px);
  background: var(--soft);
}

.site-footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.site-footer p {
  max-width: 920px;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .home-hero,
  .section-heading,
  .product-slide,
  .fit-section {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding-top: 42px;
  }

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

@media (max-width: 560px) {
  .home-hero,
  .featured-section,
  .category-section,
  .fit-section,
  .site-footer {
    width: min(100% - 28px, 1140px);
  }

  .header-cta {
    width: auto;
    min-height: 40px;
    padding: 0 16px;
  }

  h1 {
    font-size: 2.05rem;
    line-height: 1.05;
  }

  .lead {
    font-size: 1rem;
  }

  .home-hero {
    padding: 28px 0 16px;
  }

  .home-panel {
    display: none;
  }

  .featured-section,
  .category-section,
  .fit-section {
    padding: 32px 0;
  }

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

  .carousel-control {
    display: none;
  }

  .product-slide {
    padding: 18px;
  }

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

  .criteria-grid article {
    min-height: auto;
  }

  .number {
    margin-bottom: 24px;
  }
}
