/* Awula Beauty — editorial storefront
   Palette + type from the Claude Design system, layout inspired by full-bleed
   beauty editorial: oversized display type, floating glass nav, image overlap. */
:root {
  --cream: #EFE4D2;
  --cream-deep: #E7D9C2;
  --panel: #F7F0E3;
  --ink: #40301F;
  --ink-soft: #6B5138;
  --terracotta: #8C4A2B;
  --terracotta-dark: #753D23;
  --light: #F5E9D8;
  --gold: #D9B98C;
  --tile: #E4D3B8;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  font-family: 'Jost', system-ui, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { font-family: 'Italiana', serif; font-weight: 400; margin: 0; }

.kicker {
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 4px;
}
.kicker.light { color: var(--gold); }
.arrow { display: inline-block; transition: transform .3s var(--ease); }
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .18s; }
.delay-3 { transition-delay: .28s; }
.delay-4 { transition-delay: .38s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- announce */
.announce {
  background: var(--terracotta); color: var(--light); text-align: center;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 10px 16px;
  position: relative; z-index: 30;
}

/* ---------------------------------------------------------------- nav */
.site-nav {
  position: sticky; top: 0; z-index: 25;
  padding: 14px 32px;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), padding .4s var(--ease);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1360px; margin: 0 auto;
}
/* On the homepage the hero slides up *underneath* the nav (see .has-hero main),
   so the nav can stay in flow — the announcement bar above it is never covered. */
body.has-hero .site-nav { background: transparent; }
body.has-hero main { margin-top: calc(-1 * var(--nav-h)); }
body.has-hero .site-nav .nav-inner {
  background: rgba(64, 48, 31, .22);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(245, 233, 216, .18);
  border-radius: 999px;
  padding: 12px 14px 12px 26px;
  color: var(--light);
}
/* once scrolled (or on inner pages) it becomes a solid cream bar */
.site-nav.stuck, body:not(.has-hero) .site-nav {
  background: rgba(239, 228, 210, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(64, 48, 31, .1);
}
body.has-hero .site-nav.stuck .nav-inner {
  background: transparent; border-color: transparent; backdrop-filter: none;
  -webkit-backdrop-filter: none; color: var(--ink); padding: 4px 0;
}

.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-word { font-family: 'Italiana', serif; font-size: 28px; letter-spacing: .1em; }
.brand-sub { font-size: 9px; letter-spacing: .46em; text-transform: uppercase; opacity: .75; }
.brand-img { height: 38px; width: auto; }

.nav-links { display: flex; gap: 26px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width .35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.currency-toggle {
  display: flex; border: 1px solid currentColor; border-radius: 999px;
  overflow: hidden; font-size: 10px; letter-spacing: .12em;
}
.currency-toggle a { padding: 6px 11px; opacity: .7; transition: background .25s, color .25s, opacity .25s; }
.currency-toggle a:hover { opacity: 1; }
/* the selected currency is a solid chip — set both colours explicitly so the
   label never ends up the same colour as its own background */
.currency-toggle a.active { background: var(--ink); color: var(--light); opacity: 1; }
body.has-hero .site-nav:not(.stuck) .currency-toggle a.active { background: var(--light); color: var(--ink); }

.bag-link { display: flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: .1em; }
.bag-icon svg { width: 21px; height: 21px; display: block; }
.bag-count {
  min-width: 19px; height: 19px; border-radius: 999px; background: var(--terracotta); color: var(--light);
  font-size: 10.5px; display: flex; align-items: center; justify-content: center; padding: 0 5px;
}
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 20px; height: 1.5px; background: currentColor; display: block; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 16px 32px; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  border-radius: 999px; cursor: pointer; font-family: 'Jost', sans-serif; border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: var(--light); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-ghost { border-color: rgba(245, 233, 216, .55); color: var(--light); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--light); color: var(--ink); border-color: var(--light); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-sm { padding: 10px 20px; font-size: 10.5px; }

/* ================================================================ HERO */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 48px 56px;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(38, 27, 17, .82) 0%, rgba(38, 27, 17, .55) 42%, rgba(38, 27, 17, .12) 72%),
    linear-gradient(to top, rgba(38, 27, 17, .75) 0%, rgba(38, 27, 17, 0) 45%);
}

/* oversized display word bleeding off the edge, like the reference — kept to the
   right so it never fights the headline and CTAs on the left */
.hero-ghost {
  position: absolute; right: -.05em; bottom: -.2em; z-index: 1;
  font-family: 'Italiana', serif; font-size: clamp(120px, 20vw, 320px); line-height: .8;
  color: rgba(245, 233, 216, .1); letter-spacing: .01em; pointer-events: none; user-select: none;
}

.hero-body {
  position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 48px; max-width: 1360px; margin: 0 auto; width: 100%;
}
.hero-copy { max-width: 620px; color: var(--light); }
.hero-copy h1 {
  font-size: clamp(46px, 6vw, 88px); line-height: 1.02; margin: 10px 0 20px; color: var(--light);
}
.hero-sub {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55;
  margin: 0 0 30px; color: rgba(245, 233, 216, .82); max-width: 520px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-verse {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 16px;
  color: var(--gold); margin-top: 26px; padding-left: 16px; border-left: 1px solid rgba(217, 185, 140, .45);
}

/* floating product card overlapping the hero */
.hero-card {
  margin: 0; width: 360px; flex-shrink: 0; border-radius: 220px 220px 24px 24px;
  overflow: hidden; position: relative; box-shadow: 0 34px 66px -20px rgba(38, 27, 17, .6);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-card img { width: 100%; aspect-ratio: 3/4.2; object-fit: cover; display: block; }
.hero-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px 18px;
  background: linear-gradient(to top, rgba(38, 27, 17, .9), rgba(38, 27, 17, 0));
  color: var(--light); display: flex; flex-direction: column; gap: 3px;
}
.hero-card .label { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.hero-card .name { font-family: 'Italiana', serif; font-size: 17px; line-height: 1.2; }
.hero-card .price { font-size: 12px; color: rgba(245, 233, 216, .75); margin-top: 2px; }
.hero-card-link { flex-shrink: 0; }
.hero-card-link:hover .hero-card { box-shadow: 0 36px 70px -20px rgba(38, 27, 17, .7); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2;
  width: 22px; height: 36px; border: 1px solid rgba(245, 233, 216, .4); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll-cue span { width: 2px; height: 7px; border-radius: 2px; background: var(--light); animation: cue 1.9s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ================================================================ features */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(64, 48, 31, .12); border-bottom: 1px solid rgba(64, 48, 31, .12);
}
.feature { background: var(--cream); display: flex; align-items: center; gap: 16px; padding: 30px 44px; }
.feature-mark {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(140, 74, 43, .35);
  display: flex; align-items: center; justify-content: center; color: var(--terracotta);
}
.feature-mark svg { width: 21px; height: 21px; }
.feature-title { font-size: 13.5px; font-weight: 500; letter-spacing: .04em; }
.feature-text { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px; color: var(--ink-soft); }

/* ================================================================ sections */
.section { padding: 96px 48px; max-width: 1360px; margin: 0 auto; }
.section-panel { background: var(--panel); padding: 96px 48px; }
.section-head-center { text-align: center; margin-bottom: 54px; }
.section-head-center h2 { font-size: clamp(32px, 3.6vw, 46px); }
.section-head-center p {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px;
  color: var(--terracotta); margin: 10px 0 0;
}
.section-head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px; flex-wrap: wrap; gap: 16px; max-width: 1360px; margin-inline: auto;
}
.section-head-row h2 { font-size: clamp(30px, 3.2vw, 42px); }
.link-underline {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
}

/* ---------------------------------------------------------------- categories */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  max-width: 1360px; margin: 0 auto;
}
.cat-card { display: block; text-align: center; }
.cat-card:nth-child(even) { transform: translateY(28px); }   /* staggered, editorial */
.cat-circle {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 40px -22px rgba(64, 48, 31, .5);
}
.cat-circle img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.cat-card:hover .cat-circle img { transform: scale(1.09); }
.cat-circle::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(245, 233, 216, .5); transition: inset .4s var(--ease);
}
.cat-card:hover .cat-circle::after { inset: 10px; }
.cat-circle .placeholder { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(60, 45, 30, .5); }
.cat-name { margin-top: 20px; font-family: 'Italiana', serif; font-size: 23px; }
.cat-count { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta); margin-top: 5px; }

/* ---------------------------------------------------------------- marquee */
.marquee {
  background: var(--ink); color: var(--gold); overflow: hidden; padding: 15px 0;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 26px; align-items: center; animation: scrollX 42s linear infinite; }
.marquee-track span { font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; }
.marquee-track .dot { color: var(--terracotta); }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card {
  background: var(--panel); border-radius: 24px; padding: 16px 16px 22px;
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.product-card:hover { transform: translateY(-7px); box-shadow: 0 26px 50px -28px rgba(64, 48, 31, .55); }
.product-photo {
  aspect-ratio: 4/5; background: var(--tile); border-radius: 18px; position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.product-card:hover .product-photo img { transform: scale(1.07); }
.product-photo .placeholder { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #A98F68; }
.badge {
  position: absolute; top: 14px; left: 14px; background: var(--terracotta); color: var(--light);
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  z-index: 2;
}
/* slide-up quick add over the photo */
.quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  background: rgba(64, 48, 31, .92); color: var(--cream); border: none; border-radius: 999px;
  padding: 12px; font-family: 'Jost', sans-serif; font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; cursor: pointer;
  opacity: 0; transform: translateY(12px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.product-card:hover .quick-add { opacity: 1; transform: none; }
.product-name { margin-top: 16px; font-size: 15px; font-weight: 500; }
.product-note { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 14.5px; color: var(--terracotta); margin-top: 3px; }
.product-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; }
.product-price { font-size: 14px; white-space: nowrap; }
.add-btn {
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--terracotta); color: var(--terracotta); background: transparent;
  border-radius: 999px; padding: 8px 15px; cursor: pointer; font-family: 'Jost', sans-serif;
  transition: background .25s, color .25s; flex-shrink: 0;
}
.add-btn:hover { background: var(--terracotta); color: var(--light); }

/* ================================================================ story */
.story {
  position: relative; background: var(--ink); color: var(--cream); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 120px 48px;
}
.story-ghost {
  position: absolute; right: -.04em; top: 50%; transform: translateY(-50%);
  font-family: 'Italiana', serif; font-size: clamp(150px, 20vw, 300px); line-height: .8;
  color: rgba(239, 228, 210, .05); pointer-events: none; user-select: none;
}
.story-visuals { position: relative; height: 600px; }
.story-img { margin: 0; position: absolute; border-radius: 18px; overflow: hidden; }
.story-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-img-1 {
  width: 74%; height: 100%; top: 0; left: 0;
  border-radius: 220px 220px 18px 18px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6);
}
.story-img-2 {
  width: 52%; height: 46%; right: 0; bottom: 42px;
  border: 7px solid var(--ink);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6);
}
.story-copy { position: relative; z-index: 2; max-width: 520px; }
.story-copy .kicker { color: var(--gold); }
.story-copy h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.12; margin-bottom: 22px; }
.story-copy p {
  font-family: 'Cormorant Garamond', serif; font-size: 19px; line-height: 1.65;
  margin: 0 0 30px; color: rgba(239, 228, 210, .78);
}
.story-copy .btn-outline { border-color: var(--gold); color: var(--gold); }
.story-copy .btn-outline:hover { background: var(--gold); color: var(--ink); }

/* ================================================================ men's line */
.men-collection {
  background: #241F19;   /* deeper, cooler charcoal — distinct from the brown story band */
  background-image: radial-gradient(120% 90% at 85% 0%, rgba(140,74,43,.16), transparent 60%);
  color: var(--cream); padding: clamp(80px, 9vw, 130px) 48px;
}
.men-intro {
  max-width: 1360px; margin: 0 auto clamp(52px, 6vw, 84px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center;
}
.men-copy .kicker.light { color: var(--gold); }
.men-copy h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1.03; color: var(--cream); margin: 10px 0 24px; }
.men-copy p {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.65;
  color: rgba(239, 228, 210, .78); max-width: 480px; margin: 0 0 30px;
}
.men-tagline { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.men-tagline span {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(217, 185, 140, .4); border-radius: 999px; padding: 8px 18px;
}
.btn-men { background: var(--gold); color: #241F19; }
.btn-men:hover { background: var(--cream); color: #241F19; }

.men-visual { position: relative; aspect-ratio: 1/1; }
.men-img-main, .men-img-sub { margin: 0; position: absolute; border-radius: 18px; overflow: hidden; }
.men-img-main img, .men-img-sub img { width: 100%; height: 100%; object-fit: cover; display: block; }
.men-img-main {
  width: 74%; height: 100%; top: 0; right: 0; border-radius: 22px 22px 220px 220px;
  box-shadow: 0 34px 66px -30px rgba(0, 0, 0, .7);
}
.men-img-sub {
  width: 46%; height: 42%; left: 0; bottom: 34px; border: 7px solid #241F19;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7);
}

/* dark product-card variant, scoped to the men's band */
.men-products { max-width: 1360px; margin: 0 auto; }
.men-collection .product-card { background: #2F2820; }
.men-collection .product-card:hover { box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .6); }
.men-collection .product-photo { background: #3A3128; }
.men-collection .product-name { color: var(--cream); }
.men-collection .product-note { color: var(--gold); }
.men-collection .product-price { color: var(--cream); }
.men-collection .rating-count { color: rgba(239, 228, 210, .6); }
.men-collection .add-btn { border-color: var(--gold); color: var(--gold); }
.men-collection .add-btn:hover { background: var(--gold); color: #241F19; }

/* ================================================================ ingredients */
.ingredients-band { background: var(--panel); padding: 96px 48px; }
.ingredient-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  max-width: 1360px; margin: 0 auto;
}
.ingredient { padding: 10px 44px; border-left: 1px solid rgba(64, 48, 31, .16); }
.ingredient:first-child { border-left: none; padding-left: 0; }
.ingredient-num {
  font-family: 'Italiana', serif; font-size: 15px; color: var(--gold); letter-spacing: .1em; margin-bottom: 14px;
}
.ingredient-name { font-family: 'Italiana', serif; font-size: 28px; color: var(--terracotta); }
.ingredient-origin { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(64, 48, 31, .5); margin: 10px 0 16px; }
.ingredient p { font-family: 'Cormorant Garamond', serif; font-size: 17px; line-height: 1.6; margin: 0; color: var(--ink-soft); }

/* ================================================================ star ratings */
.rating { display: inline-flex; align-items: center; gap: 8px; }
.stars { display: inline-flex; letter-spacing: 1px; font-size: 13px; line-height: 1; }
.stars .star { color: rgba(64, 48, 31, .2); }
.stars .star.full { color: var(--gold); }
.stars .star.half {
  background: linear-gradient(90deg, var(--gold) 50%, rgba(64, 48, 31, .2) 50%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rating-count { font-size: 11.5px; letter-spacing: .04em; color: var(--ink-soft); }
.product-rating { margin-top: 14px; }
.product-detail-rating { margin-top: 14px; }
.product-detail-rating .stars { font-size: 16px; }

/* ================================================================ stats band */
.stats-band { background: var(--ink); color: var(--cream); padding: 74px 48px; text-align: center; }
.stats-band .kicker { display: block; margin-bottom: 40px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1200px; margin: 0 auto;
}
.stat { padding: 0 16px; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 12%; height: 76%; width: 1px;
  background: rgba(239, 228, 210, .16);
}
.stat-value { font-family: 'Italiana', serif; font-size: clamp(38px, 4.4vw, 58px); line-height: 1; color: var(--gold); }
.stat-label { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(239, 228, 210, .72); margin-top: 14px; }

/* ================================================================ ritual */
.ritual {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--panel);
}
.ritual-media { position: relative; overflow: hidden; min-height: 560px; }
.ritual-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ritual-copy { padding: clamp(56px, 7vw, 110px) clamp(32px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.ritual-copy h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.14; margin: 6px 0 36px; max-width: 460px; }
.ritual-steps { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.ritual-steps li { display: flex; gap: 22px; padding: 24px 0; border-top: 1px solid rgba(64, 48, 31, .14); }
.ritual-steps li:first-child { border-top: none; padding-top: 0; }
.ritual-num { font-family: 'Italiana', serif; font-size: 20px; color: var(--gold); flex-shrink: 0; padding-top: 2px; }
.ritual-step-title { font-family: 'Italiana', serif; font-size: 22px; color: var(--terracotta); margin-bottom: 6px; }
.ritual-steps p { margin: 0; font-family: 'Cormorant Garamond', serif; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }

/* ================================================================ testimonials */
.testimonials { padding: 100px 48px; text-align: center; background: var(--cream-deep); }
.testimonial-carousel { max-width: 780px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform .6s var(--ease); }
.testimonial-slide {
  min-width: 100%; margin: 0; padding: 6px 12px;
  display: flex; flex-direction: column; align-items: center;
}
.testimonial-stars .stars { font-size: 16px; margin-bottom: 22px; }
.testimonial-slide blockquote {
  margin: 0; font-family: 'Cormorant Garamond', serif; font-size: clamp(22px, 2.5vw, 31px);
  font-style: italic; line-height: 1.5; color: #5A4430; min-height: 4.5em;
  display: flex; align-items: center;
}
.testimonial-slide figcaption { margin-top: 26px; display: flex; flex-direction: column; gap: 5px; }
.t-author { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); }
.t-loc { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px; color: var(--ink-soft); }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(64, 48, 31, .3);
  background: transparent; color: var(--ink); cursor: pointer; font-size: 16px;
  transition: background .3s, color .3s, border-color .3s;
}
.carousel-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.carousel-dots { display: flex; gap: 9px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: rgba(64, 48, 31, .25); transition: background .3s, transform .3s;
}
.carousel-dot.active { background: var(--terracotta); transform: scale(1.3); }

/* ================================================================ newsletter */
.newsletter { padding: 96px 48px; text-align: center; background: var(--cream); }
.newsletter h3 { font-size: clamp(28px, 3vw, 38px); }
.newsletter p { font-size: 14px; color: var(--ink-soft); margin: 12px 0 30px; }
.newsletter-form { display: flex; justify-content: center; max-width: 460px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; border: 1px solid var(--ink); border-right: none; border-radius: 999px 0 0 999px;
  padding: 16px 24px; font-size: 13px; font-family: 'Jost', sans-serif;
  background: transparent; color: var(--ink); outline: none; min-width: 0;
}
.newsletter-form button {
  background: var(--ink); color: var(--cream); padding: 16px 30px; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; border-radius: 0 999px 999px 0;
  border: none; cursor: pointer; font-family: 'Jost', sans-serif; transition: background .3s;
}
.newsletter-form button:hover { background: var(--terracotta); }
.newsletter-msg { margin-top: 16px; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px; color: var(--terracotta); }

/* ================================================================ footer */
.site-footer {
  background: var(--ink); color: rgba(239, 228, 210, .72); padding: 40px 48px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--gold); }

/* ================================================================ inner pages */
.page-head { text-align: center; padding: 72px 48px 10px; }
.page-head h1 { font-size: clamp(38px, 4.6vw, 56px); }
.page-head .sub { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 19px; color: var(--terracotta); margin-top: 12px; }

/* CMS page hero (full-bleed image + overlaid title) */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--nav-h) + 40px) 48px 56px; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; animation: heroZoom 14s var(--ease) forwards; }
.page-hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(38,27,17,.78) 0%, rgba(38,27,17,.15) 55%, rgba(38,27,17,.35) 100%); }
.page-hero-copy { position: relative; z-index: 2; max-width: 1360px; margin: 0 auto; width: 100%; color: var(--light); }
.page-hero-copy h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; color: var(--light); margin-top: 8px; }

/* CMS page body — editorial typography */
.page-body { max-width: 720px; margin: 0 auto; padding: 56px 24px 96px; font-size: 16.5px; line-height: 1.8; color: var(--ink-soft); }
.page-body > *:first-child { margin-top: 0; }
.page-body .lead { font-family: 'Cormorant Garamond', serif; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.5; font-style: italic; color: var(--ink); margin-bottom: 30px; }
.page-body p { margin: 0 0 22px; }
.page-body h3 { font-family: 'Italiana', serif; font-size: clamp(24px, 2.6vw, 30px); color: var(--terracotta); margin: 44px 0 14px; }
.page-body a { color: var(--terracotta); text-decoration: underline; }
.page-body ul { padding-left: 20px; margin: 0 0 22px; }
.page-body li { margin-bottom: 8px; }
.page-body img { border-radius: 16px; margin: 12px 0; }
.page-body blockquote {
  margin: 40px 0; padding: 6px 0 6px 32px; border-left: 2px solid var(--gold);
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4; color: var(--ink);
}

/* ================================================================ editorial hero (ingredients) */
.editorial-hero { background: var(--panel); text-align: center; padding: clamp(90px, 12vw, 150px) 32px clamp(56px, 7vw, 90px); }
.editorial-hero-inner { max-width: 720px; margin: 0 auto; }
.editorial-hero h1 { font-size: clamp(44px, 6vw, 82px); line-height: 1.04; margin: 10px 0 24px; }
.editorial-hero p { font-family: 'Cormorant Garamond', serif; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.6; color: var(--ink-soft); max-width: 560px; margin: 0 auto; }

/* ================================================================ ingredient rows */
.ingredient-rows { max-width: 1200px; margin: 0 auto; padding: clamp(60px, 8vw, 110px) 48px; display: flex; flex-direction: column; gap: clamp(60px, 8vw, 120px); }
.ingredient-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.ingredient-row:nth-child(even) .ingredient-row-media { order: 2; }
.ingredient-row-media { position: relative; aspect-ratio: 4/5; }
.ingredient-row-media img, .ingredient-row-ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 260px 260px 22px 22px; box-shadow: 0 34px 60px -30px rgba(64,48,31,.5);
}
.ingredient-row-ph { background: var(--tile); display: flex; align-items: center; justify-content: center; }
.ingredient-row-ph span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #A98F68; }
.ingredient-row:nth-child(even) .ingredient-row-media img { border-radius: 22px 22px 260px 260px; }
.ingredient-index {
  position: absolute; top: -26px; left: -14px; font-family: 'Italiana', serif;
  font-size: clamp(70px, 9vw, 128px); line-height: 1; color: var(--gold); opacity: .5; z-index: 2;
}
.ingredient-row:nth-child(even) .ingredient-index { left: auto; right: -14px; }
.ingredient-chip {
  display: inline-block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terracotta); background: rgba(140,74,43,.09); border: 1px solid rgba(140,74,43,.25);
  border-radius: 999px; padding: 7px 15px; margin-bottom: 20px;
}
.ingredient-row-copy h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; }
.ingredient-row-origin { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 14px 0 20px; }
.ingredient-row-origin .pin { color: var(--gold); }
.ingredient-row-copy p { font-family: 'Cormorant Garamond', serif; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.65; color: var(--ink-soft); margin: 0; max-width: 460px; }

/* ================================================================ closing cta band */
.page-cta { background: var(--ink); color: var(--cream); text-align: center; padding: clamp(72px, 9vw, 120px) 32px; }
.page-cta h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; margin: 8px auto 30px; max-width: 640px; }

/* ================================================================ shop hero */
.shop-hero { position: relative; overflow: hidden; }
.shop-hero:not(.has-image) { background: var(--panel); text-align: center; padding: clamp(80px, 10vw, 130px) 32px clamp(40px, 5vw, 60px); }
.shop-hero.has-image { min-height: 52vh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 48px 52px; }
.shop-hero-media { position: absolute; inset: 0; }
.shop-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; animation: heroZoom 14s var(--ease) forwards; }
.shop-hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(38,27,17,.8) 0%, rgba(38,27,17,.2) 55%, rgba(38,27,17,.4) 100%); }
.shop-hero-copy { position: relative; z-index: 2; max-width: 1360px; margin: 0 auto; width: 100%; }
.shop-hero.has-image .shop-hero-copy { color: var(--light); }
.shop-hero-copy h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.03; margin: 8px 0; }
.shop-hero-copy p { font-family: 'Cormorant Garamond', serif; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; max-width: 480px; margin: 6px 0 0; }
.shop-hero:not(.has-image) .shop-hero-copy p { color: var(--ink-soft); margin-inline: auto; }
.shop-hero.has-image .shop-hero-copy p { color: rgba(245,233,216,.85); }
.shop-count { display: inline-block; margin-top: 18px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.shop-hero.has-image .shop-count { color: var(--gold); opacity: 1; }
.shop-filters { position: sticky; top: var(--nav-h); z-index: 10; background: rgba(239,228,210,.9); backdrop-filter: blur(10px); padding: 24px 48px; margin-top: 40px; margin-bottom: 20px; }

.shop-filters { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; padding: 0 48px 44px; }
.shop-filters a {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid rgba(64, 48, 31, .3); border-radius: 999px; padding: 10px 20px;
  transition: background .25s, color .25s, border-color .25s;
}
.shop-filters a:hover { border-color: var(--ink); }
.shop-filters a.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* product detail */
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  padding: 56px 48px 96px; align-items: start; max-width: 1280px; margin: 0 auto;
}
.product-detail-photo {
  aspect-ratio: 4/5; background: var(--tile); border-radius: 240px 240px 24px 24px;
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 30px 60px -30px rgba(64, 48, 31, .5);
}
.product-detail-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-detail-photo .placeholder { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #A98F68; }
/* the arched top corners clip a top-left badge — sit it below the curve */
.product-detail-photo .badge { top: auto; bottom: 18px; left: 18px; }
.product-thumbs { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.product-thumb {
  width: 76px; height: 76px; padding: 0; border-radius: 14px; overflow: hidden;
  border: 2px solid transparent; background: var(--tile); cursor: pointer; transition: border-color .25s;
}
.product-thumb.active, .product-thumb:hover { border-color: var(--terracotta); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-detail-info { padding-top: 20px; }
.product-detail-info h1 { font-size: clamp(34px, 3.8vw, 48px); margin-top: 6px; }
.product-detail-info .note { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px; color: var(--terracotta); margin-top: 8px; }
.product-detail-info .price { font-size: 24px; margin: 24px 0; }
.product-detail-info .desc { font-family: 'Cormorant Garamond', serif; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.qty-row { display: flex; align-items: center; gap: 16px; margin: 30px 0; }
.qty-input {
  width: 74px; border: 1px solid var(--ink); background: transparent; border-radius: 999px;
  padding: 14px; text-align: center; font-family: 'Jost', sans-serif; font-size: 14px;
}

/* cart & checkout */
.cart-wrap { max-width: 900px; margin: 0 auto; padding: 48px 24px 90px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-soft); padding: 12px; border-bottom: 1px solid rgba(64, 48, 31, .2);
}
.cart-table td { padding: 18px 12px; border-bottom: 1px solid rgba(64, 48, 31, .12); font-size: 14px; vertical-align: middle; }
.cart-thumb { width: 66px; height: 80px; border-radius: 12px; background: var(--tile); object-fit: cover; display: block; }
.cart-totals { margin-top: 30px; margin-left: auto; max-width: 330px; font-size: 14px; }
.cart-totals .row { display: flex; justify-content: space-between; padding: 8px 0; }
.cart-totals .grand { border-top: 1px solid rgba(64, 48, 31, .25); font-weight: 600; font-size: 17px; padding-top: 14px; margin-top: 6px; }
.cart-actions { display: flex; justify-content: space-between; margin-top: 34px; flex-wrap: wrap; gap: 14px; }

.coupon-box { margin-top: 38px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.coupon-box label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.coupon-box input {
  border: 1px solid rgba(64, 48, 31, .4); background: transparent; border-radius: 999px;
  padding: 12px 20px; font-family: 'Jost', sans-serif; font-size: 13px; color: var(--ink);
  outline: none; text-transform: uppercase; letter-spacing: .1em; width: 190px;
}
.coupon-applied { font-size: 13px; color: var(--terracotta); }
.coupon-msg { width: 100%; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px; color: var(--terracotta); }

.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 52px; max-width: 1040px; margin: 0 auto; padding: 48px 24px 90px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; border: 1px solid rgba(64, 48, 31, .4); background: transparent; border-radius: 16px;
  padding: 14px 18px; font-family: 'Jost', sans-serif; font-size: 14px; color: var(--ink); outline: none;
  transition: border-color .25s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--terracotta); }
.order-summary { background: var(--panel); border-radius: 24px; padding: 32px; height: fit-content; }
.order-summary h3 { font-size: 26px; margin-bottom: 18px; }
.order-summary .row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 7px 0; }
.order-summary .grand { border-top: 1px solid rgba(64, 48, 31, .2); margin-top: 12px; padding-top: 14px; font-weight: 600; font-size: 16px; }

.notice { max-width: 760px; margin: 24px auto; padding: 18px 24px; border-radius: 16px; background: var(--panel); border: 1px solid rgba(140, 74, 43, .35); font-size: 14px; color: var(--ink-soft); }
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state p { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px; color: var(--ink-soft); margin-bottom: 24px; }

/* ================================================================ responsive */
@media (max-width: 1024px) {
  .hero { padding: calc(var(--nav-h) + 30px) 28px 48px; }
  .hero-card { width: 280px; }
  .section, .section-panel, .ingredients-band { padding: 72px 28px; }
  .story { grid-template-columns: 1fr; gap: 48px; padding: 80px 28px; }
  .story-visuals { height: 420px; }
  .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ingredient-grid { grid-template-columns: 1fr; }
  .ingredient { border-left: none; border-top: 1px solid rgba(64, 48, 31, .16); padding: 30px 0; }
  .ingredient:first-child { border-top: none; padding-top: 0; }
  .product-detail { grid-template-columns: 1fr; gap: 36px; padding: 40px 24px 70px; }
  .checkout-grid { grid-template-columns: 1fr; gap: 36px; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 22px 28px; }
  .ritual { grid-template-columns: 1fr; }
  .ritual-media { min-height: 360px; }
  .stats-band { padding: 56px 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .stat:nth-child(3)::before, .stat:nth-child(odd)::before { display: none; }
  .testimonials { padding: 72px 28px; }

  /* editorial pages */
  .ingredient-rows { padding: 64px 28px; gap: 72px; }
  .ingredient-row { grid-template-columns: 1fr; gap: 28px; max-width: 520px; margin: 0 auto; }
  .ingredient-row:nth-child(even) .ingredient-row-media { order: 0; }
  .ingredient-row-media { aspect-ratio: 3/2; }
  .ingredient-row-media img,
  .ingredient-row:nth-child(even) .ingredient-row-media img { border-radius: 22px; }
  .ingredient-index, .ingredient-row:nth-child(even) .ingredient-index { left: 8px; right: auto; top: -34px; }
  .shop-hero.has-image, .page-hero { padding-left: 28px; padding-right: 28px; }
  .shop-filters { padding: 18px 28px; }

  /* men's band */
  .men-collection { padding: 72px 28px; }
  .men-intro { grid-template-columns: 1fr; gap: 40px; }
  .men-visual { aspect-ratio: 4/3; max-width: 520px; }
}

@media (max-width: 860px) {
  .site-nav { padding: 10px 16px; }
  body.has-hero .site-nav .nav-inner { padding: 10px 12px 10px 18px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px;
    background: rgba(239, 228, 210, .97); backdrop-filter: blur(12px);
    border-radius: 22px; color: var(--ink); box-shadow: 0 24px 50px -24px rgba(64, 48, 31, .5);
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 13px 14px; border-bottom: 1px solid rgba(64, 48, 31, .1); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }
  .nav-inner { position: relative; }

  .hero { min-height: 92svh; }
  .hero-body { flex-direction: column; align-items: flex-start; gap: 32px; }
  /* the link is the flex item once the card is clickable, so align both */
  .hero-card, .hero-card-link { align-self: flex-end; }
  .hero-card { width: 200px; margin-top: -10px; }
  .hero-scrim {
    background:
      linear-gradient(to top, rgba(38, 27, 17, .88) 20%, rgba(38, 27, 17, .25) 70%),
      linear-gradient(to right, rgba(38, 27, 17, .5), rgba(38, 27, 17, .2));
  }
  .scroll-cue { display: none; }
  .testimonial, .newsletter { padding: 64px 24px; }
  .site-footer { padding: 32px 24px; flex-direction: column; }
}

@media (max-width: 560px) {
  .cat-grid, .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cat-card:nth-child(even) { transform: none; }
  .hero-copy h1 { font-size: 40px; }
  .announce { font-size: 9.5px; letter-spacing: .12em; }
  .currency-toggle { display: none; }
  .story-visuals { height: 320px; }
  .quick-add { display: none; }   /* no hover on touch */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 40px; }
}
