/* ── Design tokens ────────────────────────────────────────────────────────── */
:root {
  /* Base palette */
  --navy:          #1C2B6A;
  --navy-dark:     #111D4A;
  --navy-light:    #2a3a80;
  --navy-mid:      #1a2860;
  --navy-deeper:   #162050;
  --gold:          #B8975A;
  --gold-light:    #D4B87A;
  --cream:         #F5F2EC;
  --bg-site:       #FAFAF8;
  --charcoal:      #2C2C2C;
  --mid-grey:      #8A8A8A;
  --light-grey:    #E8E4DC;
  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Jost', 'Helvetica Neue', sans-serif;
  /* Alpha scales (derived via color-mix — no hardcoded rgba anywhere else) */
  --navy-a08:      color-mix(in srgb, var(--navy)  8%,  transparent);
  --gold-a07:      color-mix(in srgb, var(--gold)  7%,  transparent);
  --gold-a08:      color-mix(in srgb, var(--gold)  8%,  transparent);
  --gold-a10:      color-mix(in srgb, var(--gold) 10%,  transparent);
  --gold-a12:      color-mix(in srgb, var(--gold) 12%,  transparent);
  --gold-a20:      color-mix(in srgb, var(--gold) 20%,  transparent);
  --gold-a25:      color-mix(in srgb, var(--gold) 25%,  transparent);
  --gold-a35:      color-mix(in srgb, var(--gold) 35%,  transparent);
  --gold-a60:      color-mix(in srgb, var(--gold) 60%,  transparent);
  --white-a07:     color-mix(in srgb, white  7%,  transparent);
  --white-a18:     color-mix(in srgb, white 18%,  transparent);
  --white-a25:     color-mix(in srgb, white 25%,  transparent);
  --white-a30:     color-mix(in srgb, white 30%,  transparent);
  --white-a35:     color-mix(in srgb, white 35%,  transparent);
  --white-a40:     color-mix(in srgb, white 40%,  transparent);
  --white-a50:     color-mix(in srgb, white 50%,  transparent);
  --white-a55:     color-mix(in srgb, white 55%,  transparent);
  --white-a65:     color-mix(in srgb, white 65%,  transparent);
  --white-a70:     color-mix(in srgb, white 70%,  transparent);
  --white-a75:     color-mix(in srgb, white 75%,  transparent);
  --white-a80:     color-mix(in srgb, white 80%,  transparent);
  --white-a96:     color-mix(in srgb, white 96%,  transparent);
  --black-a10:     color-mix(in srgb, black 10%,  transparent);
  --black-a75:     color-mix(in srgb, black 75%,  transparent);
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
body { font-family: var(--font-sans); font-weight: 300; color: var(--charcoal); background: var(--bg-site); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-serif); font-weight: 400; }
a { color: inherit; text-decoration: none; }

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.site-nav {
  background: var(--white-a96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-a20);
  position: sticky; top: 0; z-index: 1000;
}
.site-nav .navbar-brand img { height: 36px; }
.navbar-brand-fallback {
  display: none;
  font-family: var(--font-serif); font-size: 1.25rem;
  color: var(--navy); font-weight: 400; letter-spacing: .04em;
}
.site-nav .nav-link {
  font-size: .68rem; font-weight: 400; letter-spacing: .18em;
  text-transform: uppercase; color: var(--charcoal) !important;
  padding: .4rem .75rem;
}
.site-nav .nav-link:hover { color: var(--navy) !important; }
.btn-nav-cta {
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy); border: 1px solid var(--navy);
  padding: 7px 20px; transition: .25s;
}
.btn-nav-cta:hover { background: var(--navy); color: white; }

/* ── Hero (index) ─────────────────────────────────────────────────────────── */
.hero-index {
  min-height: 88vh;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 70%, var(--navy-deeper) 100%);
  display: flex; align-items: flex-end; padding-bottom: 90px;
  position: relative; overflow: hidden;
}
.hero-index::before {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid var(--gold-a12); pointer-events: none;
}
.hero-index::after {
  content: ''; position: absolute; right: 140px; top: 140px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid var(--gold-a08); pointer-events: none;
}
.hero-vline {
  position: absolute; left: 8%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-a25) 30%, var(--gold-a25) 70%, transparent);
}
.hero-eyebrow {
  font-size: .62rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.6rem,5.5vw,5rem); font-weight: 300; line-height: 1.05;
  color: white; margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--white-a70); }
.hero-sub {
  font-size: .82rem; letter-spacing: .06em; line-height: 1.9;
  color: var(--white-a50); max-width: 360px; margin-bottom: 2.5rem;
}
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-indicator span {
  font-size: .58rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--white-a30);
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--gold-a60), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-gold {
  font-size: .65rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  background: var(--gold); color: var(--navy); border: none; cursor: pointer;
  padding: 13px 34px; transition: background .25s, transform .25s; display: inline-block;
}
.btn-gold:hover { background: var(--gold-light); color: var(--navy-dark); transform: translateY(-1px); }
.btn-outline-gold {
  font-size: .65rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  color: var(--white-a75); border: 1px solid var(--white-a30);
  padding: 12px 30px; transition: .25s; display: inline-block;
}
.btn-outline-gold:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy {
  font-size: .65rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  background: var(--navy); color: white; border: none;
  padding: 12px 30px; transition: .25s; display: inline-block;
}
.btn-navy:hover { background: var(--navy-dark); }
.btn-ghost {
  font-size: .65rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mid-grey); border: 1px solid var(--light-grey);
  padding: 12px 30px; transition: .25s; display: inline-flex; align-items: center; gap: 6px;
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* ── Section chrome ───────────────────────────────────────────────────────── */
.section-eyebrow {
  font-size: .62rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .75rem;
}
.section-title { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 300; color: var(--navy); line-height: 1.15; }
.divider-gold { width: 40px; height: 1px; background: var(--gold); }
.divider-gold-center { width: 40px; height: 1px; background: var(--gold); margin: 0 auto; }
.text-gold     { color: var(--gold); }
.text-navy     { color: var(--navy); }
.text-mid      { color: var(--mid-grey); }
.text-charcoal { color: var(--charcoal); }
.text-body-sm  { font-size: .88rem; line-height: 1.9; color: var(--mid-grey); }
.text-body-xs  { font-size: .82rem; line-height: 1.85; color: var(--mid-grey); }
.bg-cream      { background: var(--cream); }
.bg-navy       { background: var(--navy); }
.bg-site       { background: var(--bg-site); }

/* ── Page hero (reusable dark header across listing pages) ────────────────── */
.page-hero { background: var(--navy); padding: 80px 0 60px; }
.page-hero-title {
  font-family: var(--font-serif); font-size: clamp(2rem,5vw,4rem);
  font-weight: 300; color: white; line-height: 1.1;
}
.page-hero-title em { color: var(--white-a65); }

/* ── Section layouts ──────────────────────────────────────────────────────── */
.section-padded        { padding: 80px 0; }
.section-brands-grid   { padding: 100px 0; }
.section-products-list { padding: 60px 0 100px; }

/* ── Breadcrumb bar ───────────────────────────────────────────────────────── */
.breadcrumb-bar { background: var(--cream); border-bottom: 1px solid var(--light-grey); }

/* ── Brand card (index grid) ──────────────────────────────────────────────── */
.brand-card {
  position: relative; overflow: hidden; cursor: pointer; display: block;
  aspect-ratio: 3/4;
}
.brand-card-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.brand-card:hover .brand-card-img { transform: scale(1.05); }
.brand-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--black-a75) 0%, var(--black-a10) 55%, transparent);
  transition: opacity .4s;
}
.brand-card:hover .brand-card-overlay { opacity: .88; }
.brand-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 28px; z-index: 2;
}
.brand-card-label { font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.brand-card-name  { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 300; color: white; margin-bottom: .5rem; line-height: 1.1; }
.brand-card-desc  {
  font-size: .73rem; line-height: 1.7; color: var(--white-a55);
  max-height: 0; overflow: hidden; transition: max-height .5s, opacity .5s; opacity: 0;
}
.brand-card:hover .brand-card-desc { max-height: 80px; opacity: 1; }
.brand-card-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-top: 1rem; transition: gap .3s;
}
.brand-card:hover .brand-card-arrow { gap: 14px; }

/* ── Placeholder brand image ──────────────────────────────────────────────── */
.brand-card-img-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
}

/* ── Brand mini card (brands listing) ────────────────────────────────────── */
.brand-mini-thumb {
  aspect-ratio: 3/2; overflow: hidden;
  background: var(--cream); border: 1px solid var(--light-grey);
}
.brand-mini-name {
  font-family: var(--font-serif); font-size: 1.4rem;
  font-weight: 300; color: var(--navy); margin-bottom: .3rem;
}
.brand-mini-tagline { font-size: .75rem; color: var(--mid-grey); line-height: 1.6; margin-bottom: 0; }

/* ── Brand stats ──────────────────────────────────────────────────────────── */
.brand-stat-number {
  font-family: var(--font-serif); font-size: 3rem;
  font-weight: 300; color: var(--navy);
}
.brand-stat-label {
  font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--mid-grey);
}

/* ── Product card ─────────────────────────────────────────────────────────── */
.product-card {
  background: white;
  border: 1px solid var(--light-grey);
  transition: box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 48px var(--navy-a08);
  border-color: var(--gold-a35);
}
.product-card-img-wrap {
  aspect-ratio: 1; overflow: hidden; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.product-card-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .6s ease;
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.04); }
.product-card-body { padding: 24px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-brand { font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.product-card-name  { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400; color: var(--navy); line-height: 1.2; margin-bottom: .6rem; flex: 1; }
.product-card-price { font-size: .78rem; letter-spacing: .04em; color: var(--mid-grey); margin-bottom: 1rem; }
.product-card-link  {
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 6px; transition: gap .3s;
}
.product-card-link:hover { color: var(--navy); gap: 10px; }
.product-card-no-image { font-size: 2rem; color: var(--light-grey); }

/* ── Form minimal ─────────────────────────────────────────────────────────── */
.form-control-minimal {
  border: 0; border-bottom: 1px solid var(--light-grey);
  border-radius: 0; background: transparent;
  font-size: .82rem; padding: 12px 0;
}
.form-control-minimal:focus {
  box-shadow: none; border-bottom-color: var(--navy);
  background: transparent; outline: none;
}
.form-label-micro {
  font-size: .62rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--mid-grey);
}

/* ── Contact info ─────────────────────────────────────────────────────────── */
.contact-label {
  font-size: .6rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .25rem;
}
.contact-value    { font-size: .85rem; color: var(--charcoal); }
.contact-info-divider { margin-top: 1rem; padding-top: 2rem; border-top: 1px solid var(--light-grey); }

/* ── Product detail ───────────────────────────────────────────────────────── */
.product-hero { background: var(--cream); padding: 80px 0 0; }
.product-gallery-main {
  background: white; aspect-ratio: 1; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
  border: 1px solid var(--light-grey);
}
.product-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-gallery-thumb {
  width: 80px; height: 80px; border: 1px solid var(--light-grey); overflow: hidden;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color .2s; background: white;
}
.product-gallery-thumb:hover,
.product-gallery-thumb.active { border-color: var(--gold); }
.product-gallery-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-title  { font-family: var(--font-serif); font-size: clamp(1.8rem,4vw,3rem); font-weight: 300; color: var(--navy); line-height: 1.1; }
.product-brand  { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.product-price  { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); }
.product-short-desc { font-size: .88rem; line-height: 1.9; color: var(--mid-grey); }
.product-desc-section { background: white; padding: 80px 0; }
.product-desc-section .entry-content p,
.product-desc-section p { font-size: .88rem; line-height: 1.9; color: var(--mid-grey); }
.product-desc-section h2,
.product-desc-section h3 { color: var(--navy); margin-top: 2rem; }
.product-desc-section ul li { font-size: .88rem; line-height: 1.8; color: var(--mid-grey); }
.product-desc-section table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.product-desc-section th { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--light-grey); padding: 10px 8px; text-align: left; }
.product-desc-section td { font-size: .82rem; color: var(--charcoal); padding: 10px 8px; border-bottom: 1px solid var(--light-grey); }
.product-desc-section tr:hover td { background: var(--cream); }
.related-section { background: var(--cream); padding: 80px 0; }

/* ── Brand hero ───────────────────────────────────────────────────────────── */
.brand-hero {
  min-height: 50vh;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  display: flex; align-items: center; position: relative; overflow: hidden;
}
.brand-hero::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid var(--gold-a10);
}
.brand-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .18;
}
.brand-hero-content { position: relative; z-index: 1; }
.brand-title   { font-family: var(--font-serif); font-size: clamp(2.5rem,6vw,5rem); font-weight: 300; color: white; }
.brand-tagline { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.brand-desc-section { background: var(--cream); padding: 72px 0; }
.brand-desc-text    { font-size: .9rem; line-height: 2; color: var(--charcoal); }

/* ── Ethos strip ──────────────────────────────────────────────────────────── */
.ethos-strip {
  background: var(--navy); padding: 100px 0;
  position: relative; overflow: hidden;
}
.ethos-strip::before {
  content: ''; position: absolute; left: -200px; top: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid var(--gold-a07);
}
.ethos-quote {
  font-family: var(--font-serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.5rem,3vw,2.5rem); color: white; line-height: 1.45;
  max-width: 780px; margin: 0 auto;
}
.ethos-quote em { color: var(--gold); font-style: normal; }
.ethos-attr { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--white-a30); margin-top: 1.75rem; }

/* ── Partners bar ─────────────────────────────────────────────────────────── */
.partners-bar { background: var(--cream); border-bottom: 1px solid var(--light-grey); padding: 20px 0; }
.partner-label { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mid-grey); }
.partner-name  { font-family: var(--font-serif); font-size: 1rem; font-weight: 500; color: var(--charcoal); }
.partner-sep   { width: 1px; height: 26px; background: var(--light-grey); }

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.bv-breadcrumb { font-size: .65rem; letter-spacing: .12em; color: var(--mid-grey); padding: 16px 0; }
.bv-breadcrumb a { color: var(--mid-grey); transition: color .2s; }
.bv-breadcrumb a:hover { color: var(--navy); }
.bv-breadcrumb .sep { margin: 0 8px; opacity: .4; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-dark); padding: 72px 0 36px; color: var(--white-a40); }
.footer-logo img { height: 30px; filter: brightness(0) invert(1); opacity: .7; }
.footer-tagline { font-family: var(--font-serif); font-style: italic; font-size: .95rem; color: var(--white-a30); margin-top: .5rem; }
.footer-tagline-desc { font-size: .78rem; color: var(--white-a25); max-width: 260px; line-height: 1.8; }
.footer-heading { font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-nav a { font-size: .78rem; font-weight: 300; color: var(--white-a35); display: block; margin-bottom: .45rem; transition: color .2s; }
.footer-nav a:hover { color: var(--white-a80); }
.footer-contact-text { font-size: .78rem; color: var(--white-a25); line-height: 1.8; }
.footer-link-gold { color: var(--gold) !important; }
.footer-divider { border-color: var(--white-a07); margin: 40px 0 24px; }
.footer-copy { font-size: .62rem; letter-spacing: .04em; color: var(--white-a18); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-index { min-height: 70vh; }
  .brand-hero  { min-height: 35vh; }
}
@media (max-width: 767px) {
  .hero-title  { font-size: 2.4rem; }
  .brand-title { font-size: 2.2rem; }
}

/* ── Reveal animation ─────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ── Misc utilities ───────────────────────────────────────────────────────── */
.no-resize   { resize: none; }
.img-cover   { object-fit: cover; width: 100%; height: 100%; }

/* Dynamic background-image via --bg custom property set inline on the element */
.brand-card-img, .brand-hero-img { background-image: var(--bg); }

/* Product: no-image placeholder */
.product-no-gallery {
  color: var(--light-grey); font-size: 4rem;
  display: flex; align-items: center; justify-content: center; height: 100%;
}

/* Enriched / AI badge */
.badge-enriched {
  background: var(--gold); color: var(--navy);
  font-size: .55rem; font-weight: 400; letter-spacing: .08em; vertical-align: middle;
}

/* Category pill badge */
.badge-cat {
  background: var(--cream); color: var(--mid-grey);
  font-size: .6rem; font-weight: 400; letter-spacing: .1em;
}
