:root {
  color-scheme: light;
  --ink: #211f1b;
  --soft-ink: #413c34;
  --muted: #766f63;
  --paper: #f7f1e7;
  --paper-deep: #ebe0d1;
  --panel: #fffaf1;
  --line: #d8c9b7;
  --graphite: #292a27;
  --clay: #aa6245;
  --olive: #667052;
  --teal: #247575;
  --butter: #d8aa3d;
  --shadow: 0 20px 60px rgba(33, 31, 27, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(33, 31, 27, 0.035) 1px, transparent 1px),
    linear-gradient(var(--paper), var(--paper));
  background-size: 46px 46px, auto;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(247, 241, 231, 0.88);
  border-bottom: 1px solid rgba(216, 201, 183, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--graphite);
  border-radius: 50%;
  color: var(--paper);
  background: var(--graphite);
  font-family: Georgia, serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14rem;
  letter-spacing: 0;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--soft-ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a {
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-color: var(--graphite);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(20px, 4vw, 58px);
  align-items: end;
  min-height: calc(100vh - 71px);
  padding: clamp(24px, 5vw, 70px) clamp(18px, 5vw, 72px) 34px;
}

.hero-image-wrap {
  align-self: stretch;
}

.hero-image-wrap img {
  display: block;
  width: 100%;
  height: min(72vh, 720px);
  object-fit: cover;
  object-position: 58% 50%;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.image-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-copy {
  padding: clamp(12px, 2vw, 24px) 0 8px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.8rem, 8vw, 8.2rem);
  line-height: 0.86;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.94;
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-copy p:not(.eyebrow),
.intro-strip > p,
.materials-copy p,
.contact p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--graphite);
  border-radius: 2px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: var(--paper);
  background: var(--graphite);
}

.button.full {
  width: 100%;
}

.text-link {
  color: var(--soft-ink);
  font-weight: 900;
  border-bottom: 1px solid var(--graphite);
}

.disabled-link {
  pointer-events: none;
  opacity: 0.62;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--graphite);
  color: var(--paper);
}

.ticker span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-right: 1px solid rgba(247, 241, 231, 0.18);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  padding: clamp(54px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.intro-strip {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 6vw, 74px);
  align-items: start;
  background: var(--paper-deep);
}

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

.catalog-header {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.75);
  color: var(--soft-ink);
  font-weight: 900;
  cursor: pointer;
}

.filter.is-active {
  color: var(--paper);
  background: var(--olive);
  border-color: var(--olive);
}

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

.product-card {
  grid-column: span 4;
  display: grid;
  min-height: 380px;
  grid-template-rows: 160px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--panel);
}

.product-card:nth-child(5n + 1),
.product-card:nth-child(5n + 4) {
  grid-column: span 5;
}

.product-card:nth-child(5n + 2) {
  grid-column: span 3;
}

.product-art {
  position: relative;
  overflow: hidden;
  background: var(--swatch);
}

.product-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid rgba(33, 31, 27, 0.12);
  background: linear-gradient(180deg, transparent 62%, rgba(33, 31, 27, 0.16));
  pointer-events: none;
}

.product-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.product-body {
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.product-body h3 {
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1;
}

.product-body p {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(216, 201, 183, 0.9);
  border-radius: 999px;
  background: rgba(247, 241, 231, 0.78);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
}

.price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.select-product {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--graphite);
  border-radius: 2px;
  color: var(--graphite);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.select-product:hover {
  color: var(--paper);
  background: var(--graphite);
}

.materials {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(24px, 6vw, 76px);
  background: #efe5d6;
}

.checkout-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(24px, 6vw, 76px);
  background: var(--graphite);
  color: var(--paper);
}

.checkout-preview .eyebrow {
  color: #e7b94e;
}

.checkout-copy p:not(.eyebrow) {
  color: rgba(247, 241, 231, 0.74);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.checkout-flow {
  display: grid;
  gap: 12px;
}

.checkout-flow article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 16px;
  padding: 16px;
  border: 1px solid rgba(247, 241, 231, 0.18);
  background: rgba(247, 241, 231, 0.06);
}

.checkout-flow span {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(247, 241, 231, 0.38);
  border-radius: 50%;
  color: var(--graphite);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.checkout-flow h3,
.checkout-flow p {
  margin: 0;
}

.checkout-flow p {
  color: rgba(247, 241, 231, 0.68);
}

.store-ops {
  background: #eadfce;
}

.ops-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(24px, 6vw, 74px);
  align-items: start;
}

.ops-heading > p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

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

.shipping-bands article {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.72);
}

.shipping-bands p {
  margin-bottom: 0;
  color: var(--muted);
}

.ops-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--panel);
}

.ops-table table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.ops-table th,
.ops-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.ops-table th {
  color: var(--paper);
  background: var(--graphite);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-table tr:last-child td {
  border-bottom: 0;
}

.ops-table td:first-child,
.ops-table td:nth-child(3),
.ops-table td:nth-child(4) {
  font-weight: 900;
}

.material-board,
.policy-grid {
  display: grid;
  gap: 14px;
}

.material-board article,
.policy-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 250, 241, 0.72);
}

.material-board p,
.policy-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.material-swatch {
  display: block;
  width: 46px;
  height: 12px;
  margin-bottom: 18px;
  border-radius: 999px;
}

.swatch-pla {
  background: var(--clay);
}

.swatch-petg {
  background: var(--teal);
}

.swatch-batch {
  background: var(--olive);
}

.policies {
  background: var(--panel);
}

.policy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.contact {
  max-width: 820px;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.contact-actions span {
  color: var(--muted);
  font-size: 0.95rem;
}

.cart-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: none;
  width: min(390px, calc(100vw - 36px));
  padding: 22px;
  border: 1px solid var(--graphite);
  border-radius: 2px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.cart-panel.is-open {
  display: block;
}

.cart-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  color: var(--muted);
}

dt {
  font-weight: 900;
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero,
  .intro-strip,
  .catalog-header,
  .materials,
  .checkout-preview,
  .ops-heading {
    grid-template-columns: 1fr;
  }

  .hero-image-wrap img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .filters {
    justify-content: flex-start;
  }

  .product-card,
  .product-card:nth-child(5n + 1),
  .product-card:nth-child(5n + 2),
  .product-card:nth-child(5n + 4) {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ticker,
  .policy-grid,
  .shipping-bands {
    grid-template-columns: 1fr;
  }

  .ticker span {
    border-right: 0;
    border-bottom: 1px solid rgba(247, 241, 231, 0.18);
  }

  .product-card,
  .product-card:nth-child(5n + 1),
  .product-card:nth-child(5n + 2),
  .product-card:nth-child(5n + 4) {
    grid-column: span 12;
  }
}
