/* ============================================================
   Aurelle — skincare / barrier serum
   Warm, airy, quiet luxury. Fraunces serif + Manrope.
   ============================================================ */

:root {
  --paper: #fbf7f1;
  --cream: #f3eadf;
  --cream-2: #efe4d6;
  --ink: #2c2622;
  --ink-soft: #5a5048;
  --muted: #a0937f;
  --line: #e7ddcf;
  --line-2: #d9ccb9;
  --accent: #bf6f5b;
  --accent-soft: #f6e3da;
  --sage: #97a587;
  --sage-soft: #e9ecdf;

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 56px);
  --r: 999px;

  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--body); background: var(--paper); color: var(--ink);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--accent-soft); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip-link:focus { left: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
em { font-style: italic; color: var(--accent); font-weight: 500; }

/* ============================== HEADER ============================== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(251,247,241,0.82);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header[data-scrolled="true"] { border-bottom-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -.01em; color: var(--ink); }
.primary-nav { display: flex; gap: 34px; }
.primary-nav a { font-size: 15px; color: var(--ink-soft); font-weight: 500; position: relative; padding-block: 4px; transition: color .2s; }
.primary-nav a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 0; height: 1px; background: var(--accent); transition: width .3s, left .3s; }
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { width: 100%; left: 0; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-link { font-size: 15px; color: var(--ink-soft); }
.cart { position: relative; color: var(--ink); display: inline-flex; }
.cart-count {
  position: absolute; top: -6px; right: -8px; background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 4px;
}
.menu-toggle { display: none; }

/* ============================== BUTTONS ============================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--body);
  font-weight: 600; font-size: 15.5px; padding: 14px 26px; border-radius: 999px;
  cursor: pointer; border: 1.5px solid transparent; transition: all .25s; white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 16.5px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(191,111,91,.3); }
.btn-text { background: transparent; color: var(--ink); padding-inline: 6px; }
.btn-text { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); }
.btn-text:hover { text-decoration-color: var(--accent); color: var(--accent); }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(4px); }

/* ============================== EYEBROW ============================== */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 22px; }
.eyebrow .line { display: inline-block; width: 28px; height: 1px; background: var(--accent); }
.eyebrow.center { justify-content: center; }

/* ============================== HERO ============================== */
.hero { position: relative; padding: clamp(40px, 6vh, 70px) 0 clamp(60px, 8vh, 90px); overflow: hidden; }
.hero-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.blob-a { width: 480px; height: 480px; background: var(--accent-soft); top: -120px; right: -60px; }
.blob-b { width: 380px; height: 380px; background: var(--sage-soft); bottom: -100px; left: -80px; }
.leaf { position: absolute; color: var(--sage); opacity: .35; }
.leaf-1 { width: 90px; top: 18%; right: 8%; transform: rotate(18deg); }
.leaf-2 { width: 120px; bottom: 12%; left: 4%; transform: rotate(-12deg); }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-copy h1 { font-size: clamp(48px, 7vw, 92px); font-weight: 500; margin-bottom: 24px; }
.hero-lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 44ch; margin-bottom: 32px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 34px; }
.hero-marks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 26px; }
.hero-marks li { font-size: 13.5px; color: var(--ink-soft); position: relative; padding-left: 18px; }
.hero-marks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border: 1.5px solid var(--sage); border-radius: 50%; }
.hero-rating { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.stars { color: var(--accent); letter-spacing: 2px; }
.hero-rating strong { color: var(--ink); }

/* ----- serum bottle (hero) ----- */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.halo { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.7), rgba(243,234,223,.2) 60%, transparent 75%); }
.bottle { position: relative; width: 150px; height: 380px; filter: drop-shadow(0 30px 40px rgba(80,55,40,.18)); }
.dropper { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); z-index: 3; }
.dropper-bulb { width: 40px; height: 34px; background: linear-gradient(160deg, #c9876f, #8a4f3c); border-radius: 50% 50% 40% 40%; margin: 0 auto; box-shadow: inset -4px -4px 8px rgba(0,0,0,.2); }
.dropper-neck { width: 8px; height: 24px; background: #b8b3aa; margin: -6px auto 0; border-radius: 0 0 3px 3px; }
.bottle-cap { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 76px; height: 26px; background: linear-gradient(160deg,#3a342e,#1f1b17); border-radius: 6px; z-index: 2; box-shadow: inset 0 2px 0 rgba(255,255,255,.08); }
.bottle-shoulder { position: absolute; top: 36px; left: 50%; transform: translateX(-50%); width: 100px; height: 30px; background: linear-gradient(160deg, rgba(255,235,220,.5), rgba(230,200,175,.35)); border-radius: 40px 40px 8px 8px; z-index: 1; }
.bottle-body {
  position: absolute; top: 60px; left: 50%; transform: translateX(-50%);
  width: 130px; height: 300px; border-radius: 22px;
  background: linear-gradient(150deg, rgba(255,245,235,.6), rgba(230,205,180,.35));
  overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), inset -8px 0 20px rgba(150,110,80,.12);
}
.bottle-liquid { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; background: linear-gradient(180deg, #e8c9a8, #d9a87f 60%, #c98f64); }
.bottle-liquid::after { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 12px; background: rgba(255,255,255,.25); border-radius: 50%; }
.bottle-shine { position: absolute; top: 0; bottom: 0; left: 16px; width: 14px; background: linear-gradient(180deg, rgba(255,255,255,.55), transparent 60%); border-radius: 8px; }
.bottle-label {
  position: absolute; left: 50%; bottom: 38px; transform: translateX(-50%);
  width: 92px; padding: 14px 8px; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  box-shadow: 0 4px 12px rgba(120,90,70,.15);
}
.lbl-brand { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.lbl-rule { width: 30px; height: 1px; background: var(--accent); }
.lbl-product { font-size: 9px; letter-spacing: .16em; text-align: center; color: var(--ink-soft); font-weight: 600; }
.lbl-meta { font-size: 8px; letter-spacing: .08em; color: var(--muted); }

.visual-tag {
  position: absolute; right: -6%; bottom: 12%; background: var(--paper);
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 16px 30px -16px rgba(80,55,40,.25);
}
.tag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.visual-tag strong { display: block; font-size: 14px; font-family: var(--display); }
.visual-tag span { font-size: 12px; color: var(--muted); }

/* ============================== PRESS ============================== */
.press { border-block: 1px solid var(--line); background: var(--paper); padding: 26px 0; }
.press-row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; }
.press-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.press-names { display: flex; flex-wrap: wrap; gap: 8px 36px; align-items: center; }
.press-names span { font-family: var(--display); font-size: 22px; color: var(--ink-soft); font-weight: 500; }
.press-names em { font-style: italic; }

/* ============================== SECTION HEAD ============================== */
section { position: relative; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { margin-inline: auto; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); }
.section-sub { color: var(--ink-soft); font-size: 18px; margin-top: 18px; max-width: 50ch; margin-inline: auto; }

/* ============================== SCIENCE ============================== */
.science { padding: clamp(80px, 11vh, 130px) 0; }
.science-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.science-copy h2 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 8px; }
.science-copy .lede { font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin: 20px 0 32px; }
.ing-list { display: flex; flex-direction: column; gap: 18px; }
.ing-list li { display: flex; gap: 18px; align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ing-list li:last-child { border-bottom: none; }
.ing-pct { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--accent); min-width: 72px; }
.ing-list strong { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); }
.ing-list span { font-size: 14.5px; color: var(--ink-soft); }

/* anatomy */
.anatomy { position: relative; min-height: 520px; display: grid; place-items: center; }
.ana-bottle { position: relative; width: 120px; height: 340px; filter: drop-shadow(0 24px 30px rgba(80,55,40,.15)); }
.ana-cap { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 22px; background: linear-gradient(160deg,#3a342e,#1f1b17); border-radius: 5px; }
.ana-shoulder { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 80px; height: 26px; background: rgba(255,235,220,.45); border-radius: 32px 32px 6px 6px; }
.ana-body { position: absolute; top: 40px; left: 50%; transform: translateX(-50%); width: 104px; height: 290px; border-radius: 18px; background: linear-gradient(150deg, rgba(255,245,235,.55), rgba(230,205,180,.3)); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.ana-liquid { position: absolute; left: 0; right: 0; bottom: 0; height: 68%; background: linear-gradient(180deg, #e8c9a8, #d9a87f 60%, #c98f64); }
.ana-shine { position: absolute; top: 0; bottom: 0; left: 12px; width: 10px; background: linear-gradient(180deg, rgba(255,255,255,.5), transparent 60%); border-radius: 6px; }
.callout { position: absolute; display: flex; align-items: center; gap: 10px; }
.callout strong { display: block; font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--ink); }
.callout i { font-style: normal; font-size: 12.5px; color: var(--muted); }
.callout .c-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 0 4px var(--accent-soft); }
.c-line { display: block; height: 1px; background: var(--line-2); }
.c1 { top: 18%; right: 0; } .c1 .c-line { width: 80px; }
.c2 { top: 42%; left: 0; flex-direction: row-reverse; text-align: right; } .c2 .c-line { width: 70px; }
.c3 { top: 64%; right: 0; } .c3 .c-line { width: 90px; }
.c4 { top: 86%; left: 0; flex-direction: row-reverse; text-align: right; } .c4 .c-line { width: 60px; }

/* ============================== RITUAL ============================== */
.ritual { padding: clamp(80px, 11vh, 130px) 0; background: var(--cream); }
.ritual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ritual-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 44px); position: relative; transition: transform .3s, box-shadow .3s; }
.ritual-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(80,55,40,.3); }
.ritual-time { font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--accent); border: 1px solid var(--accent); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; }
.ritual-card h3 { font-size: 30px; margin-bottom: 22px; }
.ritual-card ol { display: flex; flex-direction: column; gap: 16px; }
.ritual-card ol li { display: flex; gap: 16px; font-size: 16px; color: var(--ink-soft); align-items: baseline; }
.ritual-card ol li span { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--accent); min-width: 26px; }

/* ============================== QUOTE ============================== */
.quote-band { padding: clamp(80px, 11vh, 130px) 0; }
.quote-inner { max-width: 820px; text-align: center; }
.quote-mark { font-family: var(--display); font-size: 90px; line-height: .4; color: var(--accent); margin-bottom: 16px; height: 44px; }
.quote-band blockquote { font-family: var(--display); font-weight: 400; font-style: italic; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.4; margin-bottom: 30px; color: var(--ink); }
.cite { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.cite strong { color: var(--ink); font-family: var(--display); }
.cite-ava { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--display); font-weight: 700; }

/* ============================== PRODUCT ============================== */
.product { padding: clamp(80px, 11vh, 130px) 0; background: var(--cream); }
.product-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.product-visual { display: grid; place-items: center; min-height: 420px; position: relative; }
.product-visual::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.8), rgba(243,234,223,.1) 65%, transparent 75%); }
.pv-bottle { position: relative; width: 120px; height: 320px; filter: drop-shadow(0 24px 30px rgba(80,55,40,.18)); }
.pv-cap { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 58px; height: 22px; background: linear-gradient(160deg,#3a342e,#1f1b17); border-radius: 5px; }
.pv-body { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 104px; height: 290px; border-radius: 18px; background: linear-gradient(150deg, rgba(255,245,235,.6), rgba(230,205,180,.35)); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.pv-liquid { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; background: linear-gradient(180deg, #e8c9a8, #d9a87f 60%, #c98f64); }
.pv-shine { position: absolute; top: 0; bottom: 0; left: 12px; width: 10px; background: linear-gradient(180deg, rgba(255,255,255,.5), transparent 60%); border-radius: 6px; }
.pv-label { position: absolute; left: 50%; bottom: 40%; transform: translateX(-50%); font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .16em; color: var(--ink); }
.product-info h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; }
.product-sub { color: var(--ink-soft); font-size: 17px; margin-bottom: 22px; }
.price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.price { font-family: var(--display); font-weight: 600; font-size: 34px; color: var(--ink); }
.price-sub { font-size: 14px; color: var(--muted); }
.prod-bullets { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.prod-bullets li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; color: var(--ink-soft); }
.chk { width: 22px; height: 22px; border-radius: 50%; background: var(--sage-soft); flex-shrink: 0; position: relative; }
.chk::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--sage); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.product-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 16px; }
.ship-note { font-size: 13.5px; color: var(--muted); }

/* ============================== NEWSLETTER ============================== */
.newsletter { padding: clamp(70px, 9vh, 110px) 0; }
.nl-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: center; background: var(--ink); color: var(--paper); border-radius: 32px; padding: clamp(40px, 6vw, 70px); }
.nl-inner h2 { color: var(--paper); font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 12px; }
.nl-inner em { color: #f0b8a4; }
.nl-inner p { color: rgba(251,247,241,.7); font-size: 16px; max-width: 38ch; }
.nl-form { display: flex; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 6px; min-width: 0; }
.nl-form input { flex: 1; background: transparent; border: none; outline: none; color: var(--paper); font-family: var(--body); font-size: 15px; padding: 12px 18px; min-width: 0; }
.nl-form input::placeholder { color: rgba(251,247,241,.5); }
.nl-form .btn-primary { background: var(--paper); color: var(--ink); }
.nl-form .btn-primary:hover { background: #f0b8a4; }

/* ============================== FOOTER ============================== */
.site-footer { background: var(--cream); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid var(--line-2); }
.footer-brand .brand { font-size: 30px; }
.footer-brand p { color: var(--ink-soft); font-size: 15px; margin-top: 16px; max-width: 34ch; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h4 { font-family: var(--display); font-size: 15px; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.footer-nav a { display: block; color: var(--ink-soft); font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-base { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13.5px; color: var(--muted); }

/* ============================== REVEAL ============================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 420px; order: -1; }
  .science-grid { grid-template-columns: 1fr; gap: 50px; }
  .ritual-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-visual { min-height: 360px; }
  .nl-inner { grid-template-columns: minmax(0,1fr); gap: 28px; padding: clamp(28px, 7vw, 40px); }
  .nl-form { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .primary-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; background: var(--paper);
    border-bottom: 1px solid var(--line-2); padding: 18px var(--gut) 28px; gap: 4px;
    transform: translateY(-140%); transition: transform .4s ease; z-index: 90; box-shadow: 0 20px 30px -20px rgba(80,55,40,.2);
  }
  .primary-nav[data-open="true"] { transform: translateY(0); }
  .primary-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-link, .cart { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
  }
  .menu-toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }
  .anatomy { min-height: 460px; }
  .callout { font-size: 12px; }
  .footer-base { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
