:root {
  --cream: #f7f2e7;
  --sand: #e9decb;
  --sage: #8ea38a;
  --sage-deep: #456153;
  --moss: #2d3f35;
  --rust: #b86b42;
  --ink: #2a2a27;
  --paper: #fffdf8;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 14px 35px rgba(42, 42, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(160deg, var(--cream) 0%, #f3e8d6 45%, #f4eddc 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 14%, rgba(184, 107, 66, 0.22), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(142, 163, 138, 0.24), transparent 28%),
    radial-gradient(circle at 56% 112%, rgba(104, 123, 107, 0.15), transparent 42%);
}

.site-header,
main,
.site-footer {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--moss);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--sage) 80%, white 20%);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--moss);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-text {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.header-nav {
  display: flex;
  gap: 1rem;
}

.header-nav a {
  text-decoration: none;
  color: var(--moss);
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  transition: background-color 200ms ease;
}

.header-nav a:hover {
  background: rgba(69, 97, 83, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: 1.5rem 1rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.12;
  color: var(--moss);
  margin-block: 0;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

h3 {
  font-size: 1.4rem;
}

.lead {
  font-size: clamp(1rem, 1.2rem, 1.25rem);
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--sage-deep);
  color: #f9f6ef;
}

.btn-primary:hover {
  background: #385243;
}

.btn-ghost {
  color: var(--sage-deep);
  border-color: color-mix(in srgb, var(--sage-deep) 50%, white 50%);
}

.btn-ghost:hover {
  background: rgba(69, 97, 83, 0.1);
}

.hero-media {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 0.7rem;
  box-shadow: var(--shadow-soft);
}

.hero-media img {
  width: 100%;
  display: block;
  border-radius: calc(var(--radius-lg) - 8px);
  object-fit: cover;
  cursor: zoom-in;
}

.hero-media figcaption {
  font-size: 0.84rem;
  color: #625f57;
  padding: 0.7rem 0.4rem 0.2rem;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.value-strip article {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(69, 97, 83, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem 1rem;
}

.value-strip h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.value-strip p {
  margin: 0;
}

.parts {
  margin-top: 3.2rem;
}

.section-title {
  max-width: 68ch;
}

.section-title p {
  margin-top: 0.75rem;
}

.part-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.part-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(69, 97, 83, 0.15);
  border-radius: var(--radius-md);
  padding: 0.7rem;
  box-shadow: 0 8px 18px rgba(55, 56, 50, 0.09);
}

.part-card img,
.placeholder-art {
  width: 100%;
  border-radius: 12px;
  min-height: 170px;
  margin-bottom: 0.85rem;
}

.part-card img {
  display: block;
  object-fit: cover;
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(20, 24, 21, 0.78);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  width: min(1200px, 92vw);
  max-height: 84vh;
  border-radius: 14px;
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.lightbox-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-weight: 800;
  color: #23352b;
  background: #f8f1e3;
  cursor: pointer;
}

.lightbox-close:hover {
  background: #efe2cb;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: #23352b;
  background: #f8f1e3;
  cursor: pointer;
}

.lightbox-prev {
  left: clamp(10px, 2vw, 22px);
}

.lightbox-next {
  right: clamp(10px, 2vw, 22px);
}

.lightbox-nav:hover {
  background: #efe2cb;
}

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  margin: 0;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  color: #f7f2e7;
  background: rgba(35, 53, 43, 0.58);
  font-size: 0.9rem;
  font-weight: 700;
}

.placeholder-art {
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(142, 163, 138, 0.35), rgba(69, 97, 83, 0.1)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4) 8px, rgba(255, 255, 255, 0.12) 8px, rgba(255, 255, 255, 0.12) 16px);
  color: var(--moss);
  font-weight: 800;
}

.part-card p {
  margin-top: 0.65rem;
}

.part-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
}

.part-card li {
  margin-bottom: 0.45rem;
}

.fit {
  margin-top: 3.2rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(69, 97, 83, 0.17);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 3vw, 2.2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.6rem;
}

.fit-list p {
  font-weight: 800;
  margin: 0;
  color: var(--sage-deep);
}

.fit-list ul {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
}

.site-footer {
  margin-top: 2.6rem;
  padding: 1.4rem 0 2rem;
  border-top: 1px dashed rgba(45, 63, 53, 0.4);
}

.site-footer p {
  margin: 0.2rem 0;
}

.site-footer .small {
  color: #6b685f;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: rise-in 700ms ease-out forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .value-strip {
    grid-template-columns: 1fr;
  }

  .part-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fit {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    gap: 0.8rem;
    flex-direction: column;
  }

  .header-nav {
    flex-wrap: wrap;
  }

  .part-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
