:root {
  --ink: #2e2d1d;
  --muted: #5b6d49;
  --line: rgba(46, 45, 29, 0.22);
  --paper: #f1f2ed;
  --white: #ffffff;
  --forest: #0c3c01;
  --moss: #5b6d49;
  --clay: #a2ac82;
  --gold: #a2ac82;
  --charcoal: #2e2d1d;
  --sand: #f1f2ed;
  --sage: #a2ac82;
  --shadow: 0 20px 60px rgba(46, 45, 29, 0.18);
  --bubble: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--forest);
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(190px, 24vw, 330px);
  height: auto;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.92rem;
}

.main-nav a,
.header-cta {
  text-decoration: none;
}

.main-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 15px;
  border: 2px solid rgba(12, 60, 1, 0.18);
  border-radius: var(--bubble);
  background: var(--white);
  color: var(--forest);
  font-weight: 800;
  box-shadow: 0 5px 16px rgba(46, 45, 29, 0.08);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 2px solid var(--forest);
  border-radius: var(--bubble);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(46, 45, 29, 0.12);
}

.button.primary,
.header-cta {
  color: var(--white);
  background: var(--forest);
}

.enter-button {
  padding-inline: 24px;
  border-color: var(--sage);
  outline: 3px solid rgba(162, 172, 130, 0.34);
  outline-offset: 4px;
}

.button.secondary {
  color: var(--forest);
  background: var(--white);
}

.nav-toggle {
  display: none;
  min-height: 42px;
  border: 2px solid var(--forest);
  border-radius: var(--bubble);
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  min-height: calc(100vh - 72px);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  padding: clamp(42px, 6vw, 86px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--forest);
}

.entry-hero {
  grid-template-columns: 1fr;
  min-height: auto;
  align-items: start;
}

.hero-copy {
  max-width: 670px;
}

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

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 5vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
}

.hero-text {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.hero-actions,
.carousel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  font-size: 1.1rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-media {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.about-inline {
  margin-top: 18px;
  padding: 24px;
  background: rgba(241, 242, 237, 0.96);
  border: 1px solid rgba(241, 242, 237, 0.28);
  border-radius: 6px;
}

.about-wide,
.hero-media-wrap {
  width: 100%;
}

.entry-hero .hero-media img {
  aspect-ratio: 2.35 / 1;
}

.about-inline h2 {
  color: #2e2d1d;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
}

.about-inline p:not(.eyebrow) {
  color: var(--muted);
}

.visitor-panel {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(241, 242, 237, 0.96);
}

.compact-visitor {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 18px;
  border-width: 0 0 1px;
  border-radius: 0;
  font-size: 14px;
  white-space: nowrap;
  overflow-x: auto;
}

.compact-visitor span {
  font-size: 14px;
}

.visitor-panel span {
  color: var(--muted);
  font-size: 0.88rem;
}

.notice-band {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--charcoal);
}

.notice-band span {
  color: #e4ebe7;
}

.end-band {
  margin-top: 0;
}

.section {
  padding: clamp(56px, 8vw, 112px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--forest);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.promo p,
.contact p {
  color: rgba(255, 255, 255, 0.75);
}

.section-heading.compact {
  margin-bottom: 0;
}

.design-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.design-filters button {
  min-height: 36px;
  padding: 7px 11px;
  border: 2px solid var(--line);
  border-radius: var(--bubble);
  color: var(--forest);
  background: var(--white);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.design-filters button.is-active {
  color: var(--white);
  border-color: var(--forest);
  background: var(--forest);
}

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

.catalog-intro {
  padding-bottom: 24px;
}

.catalog-section {
  padding-top: 0;
}

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

.category-tile {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow);
  background: var(--charcoal);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  transition: transform 220ms ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 60, 1, 0.04), rgba(46, 45, 29, 0.68));
}

.category-tile span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  font-size: 1rem;
  font-weight: 800;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 7px 13px;
  border: 2px solid rgba(241, 242, 237, 0.88);
  border-radius: var(--bubble);
  background: rgba(46, 45, 29, 0.78);
}

.category-tile:hover img {
  transform: scale(1.035);
}

.category-page {
  padding-bottom: 24px;
}

.category-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
  padding-top: 0;
}

.compact-specs {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.product-card,
.spec-card,
.contact-grid article,
.promo-panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.product-card {
  min-height: 250px;
}

.product-card p,
.spec-card p,
.contact-grid small {
  color: var(--muted);
}

.product-card a {
  color: var(--forest);
  font-weight: 800;
}

.card-icon {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--gold);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  background: var(--forest);
}

.carousel-shell {
  width: 100%;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(241, 242, 237, 0.95);
  border: 1px solid rgba(241, 242, 237, 0.28);
  border-radius: 24px;
}

.carousel-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.carousel-top span,
#design-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

#design-name {
  color: #2e2d1d;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  width: 44px;
  height: 44px;
  border: 2px solid var(--forest);
  color: var(--forest);
  background: var(--white);
  border-radius: var(--bubble);
  font-size: 1.6rem;
  cursor: pointer;
}

.design-stage {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 14px;
  min-height: clamp(420px, 58vh, 680px);
  margin-bottom: 18px;
}

.swatch-main,
.swatch-strip {
  border: 1px solid rgba(46, 45, 29, 0.18);
  border-radius: 18px;
  background-position: center;
  background-size: 76px 76px, 100% 100%;
}

.swatch-strip {
  background-size: 38px 38px, 100% 100%;
}

.design-stage.has-image .swatch-main,
.design-stage.has-image .swatch-strip {
  background-repeat: no-repeat;
  background-size: cover;
}

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

.gauge-banner {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  background: rgba(241, 242, 237, 0.95);
}

.gauge-banner h2 {
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.spec-card.featured {
  border-color: var(--forest);
  box-shadow: var(--shadow);
}

.gauge-meter {
  position: relative;
  height: 54px;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--bubble);
  background: linear-gradient(90deg, #a2ac82 var(--gauge), #f1f2ed var(--gauge));
}

.gauge-meter span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.layer-diagram {
  display: grid;
  max-width: 920px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.layer {
  padding: 15px 22px;
  color: var(--white);
  font-weight: 800;
}

.wear {
  background: #5b6d49;
}

.print {
  background: #a2ac82;
  color: var(--ink);
}

.emboss {
  background: #a2ac82;
  color: var(--ink);
}

.backing {
  background: #2e2d1d;
}

.promo {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: 28px;
  color: var(--white);
  background: var(--forest);
}

.promo.standalone {
  min-height: calc(100vh - 72px);
  align-items: center;
}

.promo p,
.promo .eyebrow {
  color: #e7eee9;
}

.promo-panel {
  color: var(--ink);
}

.promo-panel ul {
  padding-left: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: 28px;
}

.brand-list {
  padding: 26px;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 24px;
}

.brand-list span {
  display: block;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.inquiry-form label:nth-child(4) {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 2px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

textarea {
  resize: vertical;
}

.portal-preview {
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) 1fr;
  gap: 20px;
  align-items: center;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: #f1f2ed;
}

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

.portal-steps span {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 2px dashed rgba(46, 45, 29, 0.42);
  border-radius: var(--bubble);
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #dce5df;
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.back-control {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 2px solid var(--sage);
  border-radius: var(--bubble);
  color: var(--white);
  background: var(--forest);
  box-shadow: var(--shadow);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .main-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
  }

  .hero,
  .split,
  .promo,
  .about-grid,
  .portal-preview,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

@media (max-width: 640px) {
  .hero-stats,
  .product-grid,
  .spec-grid,
  .contact-grid,
  .inquiry-form,
  .portal-steps,
  .category-grid,
  .design-stage {
    grid-template-columns: 1fr;
  }

  .notice-band,
  .site-footer,
  .carousel-top {
    display: grid;
  }

  .swatch-strip {
    min-height: 82px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .brand-logo {
    width: min(68vw, 250px);
  }
}
