:root {
  --black: #070707;
  --ink: #11100e;
  --paper: #f5f1e8;
  --white: #fffdf8;
  --gold: #d4af37;
  --gold-soft: #e1c16e;
  --line: rgba(212, 175, 55, 0.28);
  --muted: #9d968a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
button, a, select { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  background: var(--gold);
  color: #000;
  padding: 10px 14px;
  border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(22px, 5vw, 76px);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, height .35s ease;
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(7, 7, 7, .9);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.brand { width: clamp(145px, 15vw, 220px); text-decoration: none; }
.brand img { width: 100%; aspect-ratio: 3.48 / 1; object-fit: cover; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a {
  color: rgba(255, 253, 248, .72);
  font-size: 13px;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.desktop-nav a:hover { color: var(--gold-soft); }
.header-cta {
  justify-self: end;
  border: 1px solid rgba(225, 193, 110, .72);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 13px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.header-cta:hover { background: var(--gold-soft); color: #080808; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 124px clamp(24px, 8vw, 128px) 72px;
  isolation: isolate;
}
.hero-photo, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 63% 55%; }
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, .98) 0%, rgba(3, 3, 3, .88) 34%, rgba(3, 3, 3, .28) 68%, rgba(3, 3, 3, .08) 100%),
    linear-gradient(0deg, rgba(3, 3, 3, .72), transparent 38%);
}
.hero-content { width: min(660px, 58vw); animation: reveal .8s ease both; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
h1 {
  margin-bottom: 28px;
  font-size: clamp(54px, 6.6vw, 102px);
  line-height: .96;
  letter-spacing: -.045em;
}
h1 em { color: var(--gold-soft); font-weight: 500; }
.hero-copy {
  max-width: 600px;
  margin-bottom: 36px;
  color: rgba(255, 253, 248, .74);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #0b0a08;
  box-shadow: 0 10px 34px rgba(212, 175, 55, .2);
}
.button-glass { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.25); }
.scroll-cue {
  position: absolute;
  left: clamp(24px, 8vw, 128px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.42);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.scroll-cue span { width: 42px; height: 1px; background: var(--gold); }

.catalog {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(82px, 10vw, 140px) clamp(20px, 6vw, 96px);
}
.section-heading {
  max-width: 1320px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  align-items: end;
  gap: 40px;
}
.section-heading .eyebrow { color: #8e6e16; }
.section-heading h2, .brand-copy h2 {
  margin-bottom: 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.section-heading > p {
  margin-bottom: 5px;
  color: #6f6a61;
  font-size: 15px;
  line-height: 1.7;
}
.filter-wrap {
  max-width: 1320px;
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(17, 16, 14, .12);
  padding-top: 22px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  border: 1px solid rgba(17, 16, 14, .14);
  background: transparent;
  color: #57534c;
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  font-size: 13px;
}
.filter:hover, .filter.is-active { background: #11100e; color: var(--white); border-color: #11100e; }
.result-count { margin: 0; color: #837c71; font-size: 13px; white-space: nowrap; }

.product-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.product-card {
  grid-column: span 4;
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(17, 16, 14, .08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.64);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
}
.product-card.wide { grid-column: span 8; }
.product-card[hidden] { display: none; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 55px rgba(24, 18, 8, .11); }
.card-button {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.card-image { position: relative; width: 100%; aspect-ratio: 1 / .9; overflow: hidden; background: #eae4d7; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .card-image img { transform: scale(1.035); }
.image-light img { object-fit: cover; }
.monomer-product-image { background: #f3f1eb; }
.monomer-product-image img { object-fit: contain; padding: 26px; }
.foot-product-image { background: #f5a129; }
.foot-product-image img { object-fit: cover; object-position: center 56%; }
.product-bottle-image { background: #f5f3ee; }
.product-bottle-image img { object-fit: contain; padding: 22px; }
.primer-product-image img { padding: 12px; transform: scale(1.08); }
.product-card:hover .primer-product-image img { transform: scale(1.12); }
.badge {
  position: absolute;
  left: 16px;
  top: 16px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(7, 7, 7, .78);
  color: var(--gold-soft);
  padding: 7px 11px;
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.card-copy { width: 100%; padding: 23px 24px 25px; }
.card-kicker { margin-bottom: 8px; color: #88783e; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.card-copy h3 { margin-bottom: 18px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(26px, 2.2vw, 34px); font-weight: 500; letter-spacing: -.025em; }
.card-link { display: flex; justify-content: space-between; align-items: center; color: #5f5a51; font-size: 13px; }
.card-link span { color: #94781f; font-size: 18px; }
.empty-state { max-width: 1320px; margin: 36px auto 0; color: #686259; }

.brand-story {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  background: #070707;
}
.brand-art {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(212,175,55,.14), transparent 44%),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(255,255,255,.018) 55px),
    #030303;
}
.brand-art img { position: relative; z-index: 1; width: min(68%, 520px); }
.gold-orbit { position: absolute; width: min(72%, 590px); aspect-ratio: 1; border: 1px solid rgba(212,175,55,.25); border-radius: 50%; }
.gold-orbit::after { content: ''; position: absolute; inset: 10%; border: 1px solid rgba(212,175,55,.1); border-radius: 50%; }
.brand-copy { align-self: center; padding: clamp(64px, 8vw, 132px); }
.brand-copy h2 { margin-bottom: 28px; }
.brand-copy > p:not(.eyebrow) { max-width: 580px; margin-bottom: 34px; color: rgba(255,255,255,.64); line-height: 1.75; }
.marketplace-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.market-button {
  min-height: 94px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(225,193,110,.42);
  border-radius: 16px;
  padding: 16px 46px 16px 18px;
  background: linear-gradient(145deg, rgba(225,193,110,.08), rgba(255,255,255,.02));
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.market-button:hover { transform: translateY(-2px); border-color: var(--gold-soft); background: rgba(225,193,110,.12); }
.market-button span { color: rgba(255,255,255,.48); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.market-button strong { margin-top: 4px; color: var(--gold-soft); font-size: clamp(16px, 1.5vw, 20px); }
.market-button b { position: absolute; right: 17px; top: 50%; transform: translateY(-50%); color: var(--gold-soft); font-size: 19px; }
.email-link { display: inline-block; margin-top: 25px; color: rgba(255,255,255,.66); font-size: 13px; text-decoration-color: var(--gold); text-underline-offset: 5px; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  min-height: 112px;
  padding: 26px clamp(22px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: #030303;
}
footer img { width: 145px; }
footer p { margin: 0; color: rgba(255,255,255,.42); font-size: 11px; }

dialog {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #0c0b0a;
  color: var(--white);
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(8px); }
.product-dialog { width: min(1060px, calc(100vw - 34px)); max-height: min(820px, calc(100svh - 34px)); padding: 0; overflow: auto; }
.dialog-close {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(7,7,7,.74);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.dialog-layout { display: grid; grid-template-columns: .94fr 1.06fr; min-height: 600px; }
.dialog-media { min-height: 540px; background: #ebe5d8; }
.dialog-media img { width: 100%; height: 100%; object-fit: cover; }
.dialog-media.is-product-bottle { background: #f5f3ee; }
.dialog-media.is-product-bottle img { object-fit: contain; padding: 24px; background: #f5f3ee; }
.dialog-media.is-primer-bottle img { padding: 18px; }
.dialog-media.is-monomer { background: #f3f1eb; }
.dialog-media.is-monomer img { object-fit: contain; padding: 30px; background: #f3f1eb; }
.dialog-media.is-foot-care { background: #f5a129; }
.dialog-media.is-foot-care img { object-fit: contain; padding: 0; background: #f5a129; }
.dialog-content { align-self: center; padding: 68px 56px 50px; }
.dialog-content h2, .shop-dialog h2 { margin-bottom: 18px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 4vw, 58px); font-weight: 500; line-height: 1.04; letter-spacing: -.03em; }
.dialog-description { color: rgba(255,255,255,.64); line-height: 1.7; }
.product-facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 28px 0; padding: 21px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-facts dt { color: rgba(255,255,255,.42); font-size: 12px; }
.product-facts dd { margin: 0; color: rgba(255,255,255,.88); font-size: 13px; }
.scent-picker { margin: -5px 0 24px; }
.scent-label { margin: 0 0 10px; color: rgba(255,255,255,.58); font-size: 12px; }
.scent-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scent-option {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(225,193,110,.22);
  border-radius: 12px;
  background: #171512;
  padding: 9px 10px;
  cursor: pointer;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  text-align: left;
}
.scent-option:hover, .scent-option.is-active {
  border-color: var(--gold-soft);
  background: rgba(225,193,110,.12);
  color: var(--white);
}
.scent-swatch { width: 12px; height: 12px; flex: 0 0 12px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.12); }
.dialog-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dialog-actions .market-button { min-height: 80px; }
.availability-note { margin: 15px 0 0; color: rgba(255,255,255,.36); font-size: 10px; }
.shop-dialog { width: min(620px, calc(100vw - 34px)); padding: 54px 46px 46px; }
.shop-dialog > p:not(.eyebrow) { color: rgba(255,255,255,.62); line-height: 1.65; }
.shop-dialog .marketplace-pair { margin-top: 28px; }

@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero-content { width: min(670px, 76vw); }
  .hero-shade { background: linear-gradient(90deg, rgba(3,3,3,.98), rgba(3,3,3,.7) 62%, rgba(3,3,3,.15)); }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p { max-width: 600px; }
  .product-card { grid-column: span 6; }
  .product-card.wide { grid-column: span 12; }
  .brand-story { grid-template-columns: 1fr; }
  .brand-art { min-height: 460px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand-copy { padding: 72px clamp(24px, 9vw, 90px); }
  .dialog-layout { grid-template-columns: .9fr 1.1fr; }
  .dialog-content { padding: 64px 34px 40px; }
}

@media (max-width: 680px) {
  .site-header { height: 70px; padding: 0 18px; }
  .site-header.is-scrolled { height: 64px; }
  .brand { width: 138px; }
  .header-cta { padding: 9px 13px; font-size: 11px; }
  .hero { align-items: flex-end; min-height: 760px; padding: 108px 20px 82px; }
  .hero-photo img { object-position: 62% 42%; }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(3,3,3,1) 5%, rgba(3,3,3,.88) 42%, rgba(3,3,3,.12) 78%),
      linear-gradient(90deg, rgba(3,3,3,.28), transparent);
  }
  .hero-content { width: 100%; }
  h1 { font-size: clamp(48px, 14vw, 66px); }
  .hero-copy { font-size: 15px; line-height: 1.55; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .scroll-cue { left: 20px; bottom: 24px; }
  .catalog { padding: 76px 16px; }
  .section-heading { margin-bottom: 34px; }
  .filter-wrap { align-items: flex-start; flex-direction: column; }
  .filters { width: calc(100vw - 32px); flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { white-space: nowrap; }
  .product-grid { gap: 12px; }
  .product-card, .product-card.wide { grid-column: span 12; }
  .card-image { aspect-ratio: 1 / .78; }
  .card-copy { padding: 20px; }
  .brand-art { min-height: 340px; }
  .brand-copy { padding: 66px 20px; }
  .marketplace-pair { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
  .product-dialog { border-radius: 18px; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-media { min-height: 300px; max-height: 370px; }
  .dialog-content { padding: 38px 22px 28px; }
  .dialog-actions { grid-template-columns: 1fr; }
  .scent-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-dialog { padding: 54px 22px 26px; }
}
