:root {
  --cream: #faf7f2;
  --cream-2: #f3ede3;
  --warm-white: #fffdf9;
  --gold: #b8922a;
  --gold-pale: #f5edd6;
  --ink: #2a2520;
  --muted: #746a61;
  --faint: #9a8e82;
  --border: #e8ddd0;
  --border-2: #d5c8b8;
  --rose: #b5606a;
  --shadow-sm: 0 2px 8px rgba(42, 37, 32, .06);
  --shadow-md: 0 10px 28px rgba(42, 37, 32, .09);
  --shadow-lg: 0 18px 48px rgba(42, 37, 32, .13);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; color: inherit; cursor: pointer; font: inherit; }
img { display: block; max-width: 100%; }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, 5%);
  background: rgba(250, 247, 242, .88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.brand-monogram {
  width: 44px;
  height: 44px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(184, 146, 42, .35);
  border-radius: 9px;
  background: #050505;
  box-shadow: 0 2px 10px rgba(42,37,32,.12);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.brand-monogram img { width: 92px; height: 92px; max-width: none; transform: translate(-24px, -10px); }
.nav-logo:hover .brand-monogram { transform: scale(1.06); }
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
}
.logo-text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  position: relative;
  color: #5a5047;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1.5px;
  background: var(--gold);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s cubic-bezier(.23,1,.32,1);
}
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--gold); }
.nav-links a:hover::after, .nav-links a[aria-current='page']::after { transform: scaleX(1); }
.nav-cta {
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--gold);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: 0 2px 10px rgba(184,146,42,.3);
}
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { width: 22px; height: 1.5px; display: block; border-radius: 4px; background: var(--ink); }
.mobile-drawer {
  position: fixed;
  top: 68px;
  right: 0;
  left: 0;
  z-index: 19;
  max-height: 0;
  overflow: hidden;
  padding: 0 max(24px, 5%);
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: max-height .3s ease, padding .3s ease;
}
.mobile-drawer.open { max-height: 360px; padding: 16px max(24px, 5%) 22px; }
.mobile-drawer a { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); font: 500 1.45rem 'Cormorant Garamond', serif; }
.mobile-drawer a:last-child { border-bottom: 0; }

.page-shell { max-width: 1180px; margin: 0 auto; padding: 132px max(24px, 5%) 96px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { width: 22px; height: 1px; background: var(--gold); content: ''; opacity: .7; }
.page-heading { max-width: 700px; margin-bottom: 42px; }
.page-heading h1, .brand-hero h1 {
  margin: 0;
  font: 500 clamp(2.5rem, 6vw, 4.6rem)/.98 'Cormorant Garamond', serif;
  letter-spacing: -.02em;
}
.page-heading h1 em, .brand-hero h1 em { color: var(--gold); font-style: italic; }
.page-heading p, .brand-hero p { max-width: 620px; margin: 18px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.8; font-weight: 300; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 26px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.brand-card:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.brand-logo {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 26px;
  border: 1px solid rgba(184, 146, 42, .28);
  border-radius: 18px;
  background: var(--gold-pale);
  color: var(--gold);
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.brand-logo-fallback { font: 600 1.4rem 'Cormorant Garamond', serif; letter-spacing: .04em; }
.brand-card h2 { margin: 0; font: 600 1.7rem/1 'Cormorant Garamond', serif; }
.brand-card h2 + p { margin: 9px 0 0; color: var(--gold); font-size: .72rem; font-weight: 600; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.brand-card-description { display: -webkit-box; overflow: hidden; margin: 16px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.brand-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 24px; color: var(--faint); font-size: .73rem; }
.brand-card-link { color: var(--ink); font-weight: 600; }
.brand-card:hover .brand-card-link { color: var(--gold); }
.empty-state { padding: 60px 24px; border: 1px dashed var(--border-2); border-radius: 18px; color: var(--muted); text-align: center; }

.brand-hero {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 42px;
  margin-bottom: 70px;
  padding: 34px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}
.brand-hero-logo { width: 190px; height: 190px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(184, 146, 42, .28); border-radius: 28px; background: var(--gold-pale); }
.brand-hero-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.brand-hero .brand-logo-fallback { font-size: 3.4rem; }
.brand-hero-meta { margin-top: 20px; color: var(--faint); font-size: .8rem; }
.brand-products-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.brand-products-header h2 { margin: 0; font: 500 2.4rem/1 'Cormorant Garamond', serif; }
.brand-products-header p { margin: 0; color: var(--muted); font-size: .8rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.brand-product-card { overflow: hidden; background: var(--warm-white); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; }
.brand-product-card:hover, .brand-product-card:focus-within, .brand-product-card:focus-visible { border-color: var(--border-2); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.brand-product-media { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: var(--cream-2); }
.brand-product-media-link { display: block; }
.brand-product-media img { width: 100%; height: 100%; padding: 12px; object-fit: contain; background: #fff; }
.brand-product-placeholder { color: var(--faint); font-size: .76rem; }
.brand-product-body { padding: 18px; }
.brand-product-category { color: var(--gold); font-size: .63rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.brand-product-body h3 { margin: 6px 0 6px; font: 600 1.45rem/1 'Cormorant Garamond', serif; }
.brand-product-title-link { transition: color .2s; }
.brand-product-title-link:hover { color: var(--gold); }
.brand-product-detail-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; color: var(--ink); font-size: .7rem; font-weight: 600; }
.brand-product-detail-link span { transition: transform .2s; }
.brand-product-detail-link:hover { color: var(--gold); }
.brand-product-detail-link:hover span { transform: translateX(3px); }
.brand-product-footer { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.brand-product-price { font: 600 1.4rem/1 'Cormorant Garamond', serif; }
.brand-product-price-currency { margin-right: 3px; color: var(--faint); font: 500 .7rem 'DM Sans', sans-serif; vertical-align: super; }
.brand-product-original { display: block; margin-top: 4px; color: var(--faint); font-size: .7rem; }
.brand-product-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.brand-product-action { padding: 7px 9px; border: 1px solid var(--border); border-radius: 50px; color: var(--muted); font-size: .66rem; font-weight: 600; }
.brand-product-action:hover { border-color: var(--gold); color: var(--gold); }
.brand-product-action.instagram { border-color: rgba(193, 44, 108, .2); color: #b43d72; }
.brand-product-action.instagram:hover { border-color: #b43d72; color: #b43d72; }
.back-link { display: inline-flex; margin-bottom: 22px; color: var(--muted); font-size: .78rem; font-weight: 600; }
.back-link:hover { color: var(--gold); }

footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px max(24px, 5%); border-top: 1px solid var(--border); color: var(--faint); font-size: .73rem; }
.footer-links { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.footer-links a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .brand-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .site-nav { justify-content: center; }
  .nav-logo { margin-inline: auto; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { position: absolute; left: max(24px, 5%); display: flex; }
  .page-shell { padding-top: 116px; }
  .brand-grid, .product-grid { grid-template-columns: 1fr; }
  .brand-hero { grid-template-columns: 1fr; gap: 26px; padding: 24px; }
  .brand-hero-logo { width: 130px; height: 130px; }
  .brand-hero .brand-logo-fallback { font-size: 2.5rem; }
  .brand-products-header { align-items: start; flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; }
}
