:root {
  --white: #ffffff;
  --paper: #f6f5f2;
  --mist: #ece9e2;
  --stone: #d5cec1;
  --charcoal: #111111;
  --black: #050505;
  --ink: #181818;
  --muted: #5f5a54;
  --accent: #8c7b66;
  --accent-soft: #ded8cf;
  --shadow: 0 24px 55px rgba(17, 17, 17, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "League Spartan", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(140, 123, 102, 0.1), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f6f5f2 54%, #efede8 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.brand-logo {
  width: clamp(170px, 19vw, 220px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--charcoal);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: white;
  background: var(--black);
  transform: translateY(-1px);
}

.cart-link span {
  display: inline-grid;
  place-items: center;
  min-width: 1.5rem;
  margin-left: 0.45rem;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  color: white;
  background: var(--black);
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.1);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--black);
}

.hero-section,
.page-main section,
.story-strip,
.product-spotlight,
.benefits-section,
.testimonial-section,
.cta-section {
  padding: 4.5rem 0;
}

.hero-grid,
.spotlight-grid,
.page-hero-grid,
.contact-grid,
.checkout-grid,
.distributor-grid,
.find-us-grid,
.testimonial-grid,
.values-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-grid,
.spotlight-grid,
.page-hero-grid,
.contact-grid,
.checkout-grid,
.distributor-grid,
.find-us-grid,
.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-copy h1,
.page-hero h1,
.spotlight-copy h2,
.section-heading h2,
.story-card h2,
.cta-box h2,
.value-panel h2,
.contact-card h2,
.form-card h2,
.map-card h2,
.location-card h2,
.order-summary h2,
.product-detail-copy h2 {
  margin: 0 0 1rem;
  font-family: "League Spartan", sans-serif;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--black);
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.9rem, 8vw, 5.6rem);
  max-width: 12ch;
}

.spotlight-copy h2,
.section-heading h2,
.story-card h2,
.cta-box h2,
.value-panel h2,
.contact-card h2,
.form-card h2,
.map-card h2,
.location-card h2,
.order-summary h2,
.product-detail-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.hero-text,
.hero-copy p,
.page-hero p,
.story-card p,
.feature-tile p,
.spotlight-copy p,
.benefit-card p,
.quote-card p,
.contact-card p,
.form-card p,
.distributor-copy p,
.timeline-card p,
.standard-card p,
.coverage-card p,
.map-card p,
.location-card p,
.order-summary p,
.fine-print {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.45rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.12);
}

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

.button-secondary {
  color: var(--black);
  background: white;
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.full {
  width: 100%;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-highlights li {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  padding: 2rem;
  display: grid;
  place-items: center;
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  filter: drop-shadow(0 28px 55px rgba(23, 49, 74, 0.16));
}

.product-packshot {
  width: min(100%, 360px);
  margin-inline: auto;
  border-radius: 20px;
}

.hero-visual .product-packshot {
  width: min(100%, 340px);
}

.shape {
  position: absolute;
  border-radius: 999px;
}

.shape-coral {
  width: 240px;
  height: 240px;
  top: 1rem;
  right: 1rem;
  background: rgba(17, 17, 17, 0.08);
}

.shape-teal {
  width: 180px;
  height: 180px;
  bottom: 2rem;
  left: 0;
  background: rgba(140, 123, 102, 0.14);
}

.hero-badge,
.mini-badge {
  display: inline-grid;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  bottom: 3rem;
  right: 0;
  z-index: 3;
}

.hero-badge span,
.mini-badge {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-badge strong {
  font-size: 1.1rem;
}

.story-grid,
.benefits-grid,
.timeline-grid,
.standards-grid,
.coverage-grid {
  display: grid;
  gap: 1.35rem;
}

.story-grid {
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

.story-card,
.feature-tile,
.benefit-card,
.quote-card,
.card,
.timeline-card,
.value-panel,
.standard-card,
.contact-card,
.form-card,
.map-card,
.location-card,
.coverage-card,
.product-detail-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: var(--shadow);
}

.feature-tile,
.benefit-card,
.timeline-card,
.standard-card,
.coverage-card {
  min-height: 100%;
}

.feature-tile strong,
.benefit-card h3,
.timeline-card h3,
.standard-card h3,
.coverage-card h3,
.detail-item strong,
.product-stats strong {
  font-size: 1.15rem;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-stats,
.detail-grid,
.totals {
  display: grid;
  gap: 1rem;
}

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

.detail-grid {
  margin: 1.6rem 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-stats div,
.detail-item,
.totals div {
  padding: 1rem;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.product-stats span,
.detail-item span,
.totals span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2rem;
}

.benefits-grid,
.timeline-grid,
.standards-grid,
.coverage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-card {
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.04), rgba(140, 123, 102, 0.12));
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  color: white;
  background: linear-gradient(135deg, var(--black), #2a2a2a 68%, #5b554f);
  box-shadow: var(--shadow);
}

.cta-box h2,
.cta-box .eyebrow {
  color: white;
}

.site-footer {
  padding: 2.4rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(23, 49, 74, 0.1);
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  color: var(--black);
}

.site-footer p,
.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--muted);
  line-height: 1.6;
}

.contact-card h2,
.form-card h2,
.map-card h2,
.location-card h2,
.order-summary h2,
.site-footer h3,
.site-footer h4,
.benefit-card h3,
.timeline-card h3,
.standard-card h3,
.coverage-card h3,
.feature-tile strong {
  letter-spacing: -0.02em;
}

.page-hero {
  padding-top: 3.75rem;
}

.catalog-section,
.contact-section,
.checkout-section,
.find-us-section,
.timeline-section,
.values-section,
.standards-section,
.coverage-section,
.distributor-section {
  padding-top: 1rem;
}

.product-detail-card {
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.product-detail-media {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(140, 123, 102, 0.08));
}

.quantity-card {
  margin-top: 1.4rem;
}

.quantity-card label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--black);
  font-weight: 700;
}

.quantity-controls {
  display: inline-grid;
  grid-template-columns: 48px 88px 48px;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: white;
}

.qty-button,
.qty-input {
  height: 48px;
  border: 0;
  text-align: center;
  background: transparent;
}

.qty-button {
  font-size: 1.35rem;
  cursor: pointer;
  color: var(--black);
}

.qty-input {
  width: 100%;
}

.timeline-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 14px;
  font-weight: 700;
  color: white;
  background: var(--black);
}

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

.value-panel {
  min-height: 240px;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.05), rgba(255, 255, 255, 0.95));
}

.value-panel.alt {
  background: linear-gradient(135deg, rgba(140, 123, 102, 0.14), rgba(255, 255, 255, 0.95));
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.contact-list a,
.contact-list span {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  color: var(--black);
  background: var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.form-card,
.order-summary {
  display: grid;
  gap: 1rem;
}

.form-card.accent {
  background: linear-gradient(180deg, rgba(140, 123, 102, 0.1), rgba(255, 255, 255, 0.92));
}

.form-card label {
  display: grid;
  gap: 0.55rem;
  color: var(--black);
  font-weight: 700;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 16px;
  background: #fbfbfa;
  color: var(--ink);
  resize: vertical;
}

.cart-items {
  display: grid;
  gap: 1rem;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.cart-row strong {
  color: var(--black);
}

.cart-quantity {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
}

.cart-quantity span {
  min-width: 2rem;
  text-align: center;
  font-weight: 700;
  color: var(--black);
}

.cart-quantity button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--black);
  cursor: pointer;
}

.cart-row button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--black);
  cursor: pointer;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  max-width: 320px;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  color: white;
  background: rgba(17, 17, 17, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.compact {
  padding-top: 0;
}

@media (max-width: 980px) {
  .brand {
    flex: 1;
    min-width: 0;
  }

  .brand-logo {
    width: clamp(150px, 28vw, 190px);
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    border: 1px solid rgba(17, 17, 17, 0.06);
  }

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

  .hero-grid,
  .spotlight-grid,
  .page-hero-grid,
  .contact-grid,
  .checkout-grid,
  .distributor-grid,
  .find-us-grid,
  .testimonial-grid,
  .product-detail-card,
  .values-grid,
  .story-grid,
  .benefits-grid,
  .timeline-grid,
  .standards-grid,
  .coverage-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-section,
  .page-main section,
  .story-strip,
  .product-spotlight,
  .benefits-section,
  .testimonial-section,
  .cta-section {
    padding: 3.2rem 0;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button,
  .hero-actions .button {
    width: 100%;
  }

  .hero-badge {
    position: static;
    margin-top: 1rem;
  }

  .hero-visual {
    padding: 0.5rem;
    min-height: auto;
  }

  .detail-grid,
  .cart-row {
    grid-template-columns: 1fr;
  }
}
