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

:root {
  --forest: #1a4a2e;
  --forest-mid: #2d6e47;
  --forest-light: #4a9e6a;
  --gold: #b8860b;
  --gold-light: #d4a82a;
  --cream: #faf8f2;
  --cream-dark: #f0ece0;
  --parchment: #e8e0cc;
  --text: #1c1c1a;
  --text-mid: #4a4a44;
  --text-light: #7a7a72;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}


/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--parchment);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  height: 72px;
}
.nav-brand {
  display: flex; flex-direction: column;
  font-family: 'Cormorant Garamond', serif;
}
.nav-brand span:first-child {
  font-size: 1.2rem; font-weight: 600;
  color: var(--forest); line-height: 1.1;
  letter-spacing: 0.02em;
}
.nav-brand span:last-child {
  font-size: 0.65rem; font-weight: 400;
  color: var(--gold); letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500;
  color: var(--text-mid); text-decoration: none;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--forest); }
.nav-cta {
  background: var(--forest);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
}
.nav-cta:hover { background: var(--forest-mid); color: var(--white) !important; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--forest); color: var(--white);
  border: none; padding: 0.85rem 2rem;
  font-family: 'Jost', sans-serif; font-size: 0.8rem;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; border-radius: 2px;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--forest-mid); }
.btn-outline {
  background: transparent; color: var(--forest);
  border: 1px solid var(--forest); padding: 0.85rem 2rem;
  font-family: 'Jost', sans-serif; font-size: 0.8rem;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; border-radius: 2px;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--forest); color: var(--white); }


/* ── SECTION COMMONS ── */
section { padding: 6rem 4rem; }
.section-label {
  font-size: 0.65rem; font-weight: 500;
  color: var(--gold); letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500; color: var(--forest);
  line-height: 1.15; margin-bottom: 1rem;
}
.section-sub {
  font-size: 0.95rem; color: var(--text-mid);
  max-width: 560px; line-height: 1.8;
}
.divider {
  width: 48px; height: 2px;
  background: var(--gold);
  margin: 1.25rem 0;
}

.soon-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--cream-dark);
  color: var(--gold);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 2px;
}
.product-symbol {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 400;
  color: var(--parchment); line-height: 1;
  margin-bottom: 1rem;
}

/* ── FOOTER ── */
footer {
  background: var(--forest);
  padding: 3rem 4rem 2rem;
  color: rgba(255,255,255,0.55);
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
.footer-brand span:first-child {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.03em;
}
.footer-brand span:last-child {
  font-size: 0.6rem; color: var(--gold-light);
  letter-spacing: 0.2em; text-transform: uppercase;
}
.footer-certs {
  display: flex; gap: 1.5rem;
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.footer-certs span { color: var(--gold-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem;
}

/* ── PRODUCT PAGE ── */
.nav-brand { text-decoration: none; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.product-symbol { font-size: 5rem; color: var(--gold-light); opacity: 0.5; margin: 0; }
.section-label .soon-badge { position: static; display: inline-block; margin-left: 0.5rem; vertical-align: middle; }

.product-hero {
  background: var(--cream);
  padding: 3rem 4rem 5rem;
  border-bottom: 1px solid var(--parchment);
}
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  list-style: none;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-light);
}
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; color: var(--parchment); }
.breadcrumb a { color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb [aria-current] { color: var(--gold); }
.back-link {
  display: inline-block; margin-top: 1.5rem;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--forest); text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.15rem;
}
.back-link:hover { color: var(--forest-mid); }
.product-hero-inner {
  display: grid; grid-template-columns: auto 1fr;
  gap: 3rem; align-items: center; margin-top: 3rem;
}
.product-hero h1.section-title { font-size: clamp(2.4rem, 4vw, 3.6rem); }

.product-main { padding: 5rem 4rem; }
.soon-panel {
  position: relative;
  background: var(--cream-dark);
  border: 1px dashed var(--gold);
  border-radius: 2px;
  padding: 2.5rem; margin-bottom: 4rem;
}
.soon-panel h2, .product-about h2, .product-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 500;
  color: var(--forest); line-height: 1.2;
  margin-bottom: 0.75rem;
}
.soon-panel p { color: var(--text-mid); max-width: 560px; margin-bottom: 1.5rem; }
.product-main.coming-soon .product-content { opacity: 0.6; }

.product-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.product-about p { color: var(--text-mid); line-height: 1.8; margin-bottom: 1rem; }
.product-points { display: grid; gap: 1.25rem; }
.point-card {
  border: 1px solid var(--parchment);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem; border-radius: 2px;
}
.point-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600;
  color: var(--forest); margin-bottom: 0.35rem;
}
.point-card p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; }

.product-cta {
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: center;
  margin-top: 5rem; padding: 2.5rem;
  background: var(--cream);
  border-top: 4px solid var(--gold);
  border-radius: 2px;
}
.product-cta p { color: var(--text-mid); }

.product-pager {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 3rem;
}
.product-pager a {
  display: block; text-decoration: none;
  border: 1px solid var(--parchment); border-radius: 2px;
  padding: 1.25rem 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600; color: var(--forest);
  transition: border-color 0.2s;
}
.product-pager a:last-child { text-align: right; }
.product-pager a:hover { border-color: var(--forest-light); }
.product-pager span {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold);
}

/* ── CATEGORY CONTENT (rendered from content.js) ── */
.content-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--parchment); border-radius: 2px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-style: italic; color: var(--text-light);
}
.category-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 500;
  color: var(--forest); line-height: 1.2;
  margin-bottom: 0.75rem;
}
.category-content p { color: var(--text-mid); line-height: 1.8; margin-bottom: 1rem; }
.content-intro { max-width: 760px; margin-bottom: 3.5rem; }
.content-intro p:first-child { font-size: 1.1rem; color: var(--text); }
.content-block {
  padding: 3rem 0; border-top: 1px solid var(--parchment);
}
.content-block.has-image {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 3rem; align-items: start;
}
.content-block ul { padding-left: 1.25rem; color: var(--text-mid); margin-bottom: 1rem; }
.content-block li { margin-bottom: 0.35rem; }
.content-block li::marker { color: var(--gold); }
.content-products { padding: 3rem 0; border-top: 1px solid var(--parchment); }
.item-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 1.5rem;
}
.item-card {
  border: 1px solid var(--parchment); border-radius: 2px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s;
}
.item-card:hover { border-color: var(--forest-light); }
.item-card .content-figure { border-bottom: 1px solid var(--parchment); }
.item-body { padding: 1.5rem 1.75rem; }
.item-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 600;
  color: var(--forest); margin-bottom: 0.5rem;
}
.item-body p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.75rem; }
.item-body dl {
  display: grid; grid-template-columns: auto 1fr;
  gap: 0.3rem 1rem; font-size: 0.8rem;
  padding-top: 0.75rem; border-top: 1px solid var(--parchment);
}
.item-body dt { color: var(--gold); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.68rem; padding-top: 0.15rem; }
.item-body dd { color: var(--text-mid); }
/* Photos are shown whole (never cropped or stretched) inside a uniform frame */
.content-figure { margin: 0; }
.content-figure img {
  display: block; width: 100%;
  aspect-ratio: 4 / 5; object-fit: contain;
  background: var(--cream); padding: 1rem;
}
.content-block .content-figure img { border: 1px solid var(--parchment); border-radius: 2px; }
.content-figure figcaption {
  font-size: 0.75rem; color: var(--text-light);
  letter-spacing: 0.05em; text-align: center;
  padding: 0.6rem 1rem;
}

@media (max-width: 900px) {
  .content-block.has-image { grid-template-columns: 1fr; gap: 1.5rem; }
  .item-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .item-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  footer { padding: 2.5rem 1.5rem; }
  .footer-top { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .product-hero { padding: 2rem 1.5rem 3.5rem; }
  .product-hero-inner { grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
  .product-symbol { font-size: 3.5rem; }
  .product-main { padding: 3.5rem 1.5rem; }
  .soon-panel { padding: 2rem 1.5rem; }
  .product-content, .product-cta { grid-template-columns: 1fr; gap: 2rem; }
  .product-cta { padding: 2rem 1.5rem; margin-top: 3.5rem; }
  .product-pager { grid-template-columns: 1fr; }
  .product-pager a:last-child { text-align: left; }
}
