:root {
  --bg: #f4f1ea;
  --surface: #ffffff;
  --surface-2: #f8f6f0;
  --text: #1f2625;
  --muted: #5f6866;
  --line: #d7d3ca;
  --accent: #203a36;
  --accent-soft: #e6ece9;
  --gold: #b48a4d;
  --shadow: 0 16px 40px rgba(17, 24, 22, 0.08);
  --radius: 18px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 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(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

.topbar {
  background: var(--accent);
  color: #f4f1ea;
  text-align: center;
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(4vw, 24px);
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 38, 37, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-text strong {
  font-size: 16px;
  letter-spacing: 0.02em;
}
.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.site-nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-button,
.menu-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  height: 42px;
  min-width: 42px;
  padding: 0 14px;
}
.header-cta,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: none;
}
.secondary-link {
  color: var(--accent);
  font-weight: 700;
}
.menu-button { display: none; }

.searchbar {
  padding: 0 max(4vw, 24px) 14px;
}
.searchbar label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
}
.search-row {
  display: flex;
  gap: 10px;
}
.search-row input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 46px;
  padding: 0 14px;
  background: var(--surface);
}
.search-row button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 0 16px;
}

.hero,
.section,
.site-footer,
.footer-bottom,
.searchbar {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  padding: 56px 0 28px;
}
.hero-copy,
.hero-panel,
.proof-strip,
.product-card,
.support-section,
.about-section,
.info-dialog,
.product-dialog {
  border-radius: var(--radius);
}
.hero-copy {
  padding: 26px 4px;
}
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
}
.hero h1,
.section h2,
.info-dialog h2,
.dialog-copy h2 {
  margin: 14px 0 18px;
  font: 700 clamp(34px, 4.8vw, 56px)/1.05 var(--serif);
  letter-spacing: -0.02em;
}
.hero-copy p,
.section-head p,
.about-section p,
.steps p,
.dialog-copy p,
.info-dialog p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 26px;
}
.hero-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-points li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.hero-panel {
  background: linear-gradient(180deg, #eef2ee, #f8f6f0);
  border: 1px solid #d9dfdb;
  padding: 20px;
  box-shadow: var(--shadow);
}
.hero-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
}
.hero-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.hero-mini-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid #dde1da;
  border-radius: 14px;
  overflow: hidden;
}
.hero-mini-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  padding: 10px;
}
.hero-mini-card div {
  padding: 12px;
  display: grid;
  gap: 6px;
}
.hero-mini-card strong {
  font-size: 13px;
  line-height: 1.4;
}
.hero-mini-card span {
  color: var(--muted);
  font-size: 13px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 10px 0 18px;
}
.proof-strip > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 20px;
}
.proof-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}
.proof-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.section {
  padding: 48px 0 10px;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}
.section-head.compact { grid-template-columns: 1fr; }
.section h2 { font-size: clamp(30px, 4vw, 44px); }
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filters button,
#showAll {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--muted);
}
.filters button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.product-count {
  color: var(--muted);
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-card-image {
  display: block;
  border: 0;
  background: #f7f7f3;
  padding: 18px;
  width: 100%;
}
.product-card-image img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}
.product-card-body {
  padding: 18px 18px 20px;
}
.product-card-top,
.product-actions,
.dialog-meta,
.dialog-actions,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.product-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.product-price {
  font-weight: 800;
}
.product-title {
  display: inline-block;
  padding: 0;
  margin: 14px 0 10px;
  border: 0;
  background: none;
  color: var(--text);
  text-align: left;
  font: 700 28px/1.15 var(--serif);
}
.product-title a:hover,
.product-title a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.product-card p { margin: 0 0 18px; color: var(--muted); line-height: 1.65; }
.text-link,
.buy-link {
  font-size: 14px;
  font-weight: 700;
}
.text-link {
  border: 0;
  background: none;
  color: var(--accent);
  padding: 0;
}
.buy-link {
  color: var(--accent);
}
.empty-state {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  padding: 38px 18px;
}
.empty-state h3 { margin-top: 0; }
.empty-state p { color: var(--muted); }

.support-section {
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 36px 28px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.steps article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.steps span {
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
}
.steps h3 {
  margin: 12px 0 10px;
  font-size: 20px;
}

.about-section {
  background: linear-gradient(180deg, rgba(32,58,54,0.03), rgba(255,255,255,0.45));
  border: 1px solid var(--line);
  padding: 34px 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 54px 0 18px;
}
.footer-brand {
  font: 700 28px/1.1 var(--serif);
  margin-bottom: 10px;
}
.site-footer p {
  color: var(--muted);
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 42px;
}
.footer-links > div {
  display: grid;
  gap: 10px;
}
.footer-links span {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.footer-links a { color: var(--muted); }
.footer-bottom {
  padding: 0 0 34px;
  color: var(--muted);
  font-size: 13px;
}

.product-dialog,
.info-dialog {
  width: min(1120px, calc(100% - 24px));
  max-height: 90vh;
  border: 0;
  padding: 0;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0,0,0,0.24);
}
.product-dialog::backdrop,
.info-dialog::backdrop {
  background: rgba(15, 21, 20, 0.64);
}
.close-dialog {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font-size: 28px;
}
.dialog-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 640px;
}
.gallery {
  padding: 24px;
  background: var(--surface-2);
  border-right: 1px solid var(--line);
}
.gallery-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.gallery-main img {
  width: 100%;
  height: 460px;
  object-fit: contain;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.gallery-thumb {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}
.gallery-thumb.active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.gallery-thumb img {
  width: 100%;
  height: 70px;
  object-fit: contain;
}
.dialog-copy {
  padding: 36px 28px 28px;
  overflow: auto;
}
.dialog-copy h2 { font-size: clamp(30px, 4vw, 42px); }
.dialog-intro { margin-bottom: 18px; }
.dialog-meta {
  flex-wrap: wrap;
  padding: 14px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}
.dialog-copy h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.dialog-copy ul {
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.dialog-actions {
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.dialog-copy small {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}
.info-dialog {
  max-width: 580px;
  padding: 54px 28px 28px;
}

/* Product pages use the same typography, colors, and gallery as the shop. */
.product-page {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 0;
}
.breadcrumbs { margin-bottom: 24px; color: var(--muted); font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.breadcrumbs a:hover { text-decoration: underline; }
.product-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.product-detail h1 {
  margin: 14px 0 18px;
  font: 700 clamp(30px, 4vw, 44px)/1.08 var(--serif);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.product-detail .dialog-copy h2 { font: 700 20px/1.3 var(--sans); letter-spacing: normal; }
.product-detail .gallery-main { margin: 0; }
.product-detail .gallery-main img { aspect-ratio: 1; height: auto; }
.product-detail .gallery-thumbs a { display: block; }
.product-detail .gallery-caption { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.purchase-info { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.purchase-info p { font-size: 14px; }
.related-products { padding: 40px 0 10px; }
.related-products h2 { font: 700 30px/1.15 var(--serif); }
.related-products ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; }
.related-products a { display: block; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--accent); font-weight: 700; line-height: 1.5; }
.related-products a:hover { border-color: var(--accent); text-decoration: underline; }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 920px) {
  .hero,
  .section-head,
  .dialog-layout,
  .proof-strip,
  .steps,
  .site-footer {
    grid-template-columns: 1fr;
  }
  .hero { gap: 22px; }
  .proof-strip,
  .steps { display: grid; }
  .product-grid { grid-template-columns: 1fr; }
  .site-footer { display: grid; }
  .product-detail .gallery { border-right: 0; border-bottom: 1px solid var(--line); }
  .related-products ul { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    gap: 14px;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 8px;
  }
  .site-nav.open { display: flex; }
  .menu-button { display: inline-flex; align-items: center; }
  .header-cta { display: none; }
  .hero,
  .section,
  .site-footer,
  .footer-bottom,
  .searchbar {
    width: min(1200px, calc(100% - 24px));
  }
  .hero { padding-top: 28px; }
  .product-page { width: calc(100% - 24px); }
  .hero-feature-grid { grid-template-columns: 1fr 1fr; }
  .shop-toolbar,
  .footer-bottom,
  .product-card-top,
  .product-actions,
  .dialog-meta,
  .dialog-actions { flex-direction: column; align-items: flex-start; }
  .gallery-main img { height: 320px; }
  .product-card-image img { height: 260px; }
  .dialog-copy { padding: 24px 20px 22px; }
}

@media (max-width: 520px) {
  .hero-feature-grid { grid-template-columns: 1fr; }
  .product-title { font-size: 24px; }
  .hero h1,
  .section h2,
  .info-dialog h2,
  .dialog-copy h2 { font-size: 32px; }
}

/* Broad brand collections, with current products clearly separated from future collections. */
.collection-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px; }
.collection-item { display:flex;flex-direction:column;min-height:215px;padding:24px 20px;border:1px solid var(--line);border-radius:16px;background:var(--surface); }
.collection-item.current { background:var(--accent);color:white;border-color:var(--accent); }
.collection-index { font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--gold); }
.collection-item h3 {font:700 24px/1.13 var(--serif);letter-spacing:-.015em;margin:25px 0 10px;}
.collection-item p {font-size:13px;line-height:1.5;margin:0 0 20px;color:var(--muted);}
.collection-item.current p {color:#d9e4df;}
.collection-status {font-size:12px;font-weight:700;margin-top:auto;color:var(--muted);}
.collection-item.current .collection-status {color:white;}
@media(max-width:920px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){.collection-grid{grid-template-columns:1fr;}.collection-item{min-height:160px;}.collection-item h3{margin-top:16px;}}
