/* ==========================================================
   Juliano Joseph Fragrances
   ========================================================== */
:root {
  --ivory: #f7f4ef;
  --paper: #fbfaf7;
  --sand: #ece6dc;
  --ink: #141210;
  --ink-soft: #4a4540;
  --muted: #8a837b;
  --line: #ddd6cb;
  --oxblood: #7f0000;
  --oxblood-deep: #5c0000;
  --amber: #a8641f;

  --serif: "Marcellus", "Optima", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow {
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--oxblood);
  margin-bottom: 18px;
}
.eyebrow--light { color: rgba(255,255,255,.75); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 34px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400;
  border: 1px solid var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--oxblood); border-color: var(--oxblood); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--link { border: 0; padding: 16px 0; position: relative; }
.btn--link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform-origin: left; transition: transform .4s var(--ease); }
.btn--link:hover::after { transform: scaleX(.4); }
.btn--block { width: 100%; }

.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; position: relative; }
.icon-btn:hover { color: var(--oxblood); }

/* ---------------- Announcement ---------------- */
.announce { background: var(--oxblood); color: #fff; text-align: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.announce__track { position: relative; height: 38px; }
.announce__msg { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: 0 16px; opacity: 0; transform: translateY(6px); transition: opacity .6s, transform .6s; }
.announce__msg.is-active { opacity: 1; transform: none; }

/* ---------------- Header ---------------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); }
.header__inner { max-width: var(--max); margin: 0 auto; height: var(--header-h); padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
/* The logo files are square/padded; .logo-crop frames just the wordmark */
.logo-crop { display: block; overflow: hidden; aspect-ratio: 1 / .195; }
.logo-crop img { width: 112%; max-width: none; margin: -46.5% 0 0 -7%; mix-blend-mode: multiply; }
.logo-crop--light img { filter: invert(1); mix-blend-mode: screen; }
.logo { width: 250px; }
.nav { display: flex; gap: 34px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.nav--right { margin-right: 20px; }
.header__burger { display: none; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--oxblood); color: #fff; font-size: 10px; line-height: 17px; text-align: center; font-weight: 500; transition: transform .3s var(--ease); }
.cart-count.bump { transform: scale(1.35); }

/* ---------------- Hero ---------------- */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; min-height: calc(100vh - var(--header-h) - 38px); max-height: 920px; background: #f4f2ee; }
.hero__media { position: relative; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__content { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(24px, 6vw, 110px); }
.hero__title { font-size: clamp(44px, 6vw, 92px); letter-spacing: -.01em; margin-bottom: 28px; }
.hero__lede { max-width: 440px; color: var(--ink-soft); font-size: 17px; margin-bottom: 36px; }
.hero__ctas { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.hero__content > * { animation: rise 1s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .12s; }
.hero__content > *:nth-child(3) { animation-delay: .24s; }
.hero__content > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------------- Marquee ---------------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--paper); }
.marquee__track { display: flex; gap: 42px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); align-items: center; }
.marquee__track i { font-style: normal; color: var(--oxblood); font-size: .55em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Sections ---------------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--gutter); }
.section__head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.section__title { font-size: clamp(32px, 4vw, 54px); margin-bottom: 20px; }

.filters { display: inline-flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.filter { padding: 9px 22px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 40px; transition: all .3s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.2vw, 32px); }
.card { position: relative; opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.card.is-in { opacity: 1; transform: none; }
.card.is-hidden { display: none; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.card__media .alt { opacity: 0; }
.card:hover .card__media img { transform: scale(1.04); }
.card:hover .card__media .alt { opacity: 1; }
.card__tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--paper); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; }
.card__actions { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; gap: 8px; opacity: 0; transform: translateY(12px); transition: all .45s var(--ease); }
.card:hover .card__actions, .card:focus-within .card__actions { opacity: 1; transform: none; }
.card__actions .btn { flex: 1; padding: 13px 10px; font-size: 11px; }
.card__actions .btn--ghost { background: rgba(251,250,247,.95); border-color: transparent; }
.card__actions .btn--ghost:hover { background: #fff; }
.card__info { padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; }
.card__name { font-size: 22px; margin-bottom: 4px; cursor: pointer; }
.card__notes { font-size: 13px; color: var(--muted); margin: 0; }
.card__price { font-size: 15px; white-space: nowrap; font-weight: 400; }

/* ---------------- Split ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); }
.split__media { min-height: 640px; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__content { padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 110px); align-self: center; max-width: 680px; }
.split__content > p { color: var(--ink-soft); font-size: 17px; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps span { font-family: var(--serif); color: var(--oxblood); font-size: 20px; }
.steps h3 { font-size: 21px; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------------- Families ---------------- */
.families__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.family { position: relative; aspect-ratio: 3 / 4.3; overflow: hidden; color: #fff; isolation: isolate; }
.family img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); z-index: -2; }
.family::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,16,.72), rgba(20,18,16,0) 55%); z-index: -1; }
.family:hover img { transform: scale(1.06); }
.family__text { position: absolute; left: 28px; right: 28px; bottom: 28px; }
.family__text h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 6px; }
.family__text p { font-size: 14px; opacity: .85; margin-bottom: 14px; }
.family__text span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 4px; }

/* ---------------- Story ---------------- */
.story { display: grid; grid-template-columns: 1fr 1fr; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 10vw, 140px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story__mark { width: 220px; margin-bottom: 36px; }
.story__content > p:not(.eyebrow) { color: var(--ink-soft); font-size: 17px; max-width: 520px; }
.story { align-items: start; }
.story__content > p.story__lead { font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.4; color: var(--ink); }
.story__content > p.story__sign { font-family: var(--serif); font-size: 20px; color: var(--ink); margin-top: 28px; }
.story__sign em { font-style: normal; color: var(--oxblood); }
.story__media { aspect-ratio: 4 / 5; overflow: hidden; position: sticky; top: calc(var(--header-h) + 32px); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); color: var(--oxblood); }
.stats span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------------- Gift ---------------- */
.gift { background: var(--oxblood); color: #fff; overflow: hidden; }
.gift__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.gift__content { padding: clamp(64px, 8vw, 110px) 0; }
.gift h2 { font-size: clamp(36px, 4.6vw, 64px); margin-bottom: 20px; }
.gift__content > p:not(.eyebrow) { opacity: .85; max-width: 420px; margin-bottom: 34px; font-size: 17px; }

/* ---------------- Values ---------------- */
.values { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; border-bottom: 1px solid var(--line); }
.values svg { width: 30px; height: 30px; margin: 0 auto 14px; color: var(--oxblood); }
.values h3 { font-size: 18px; margin-bottom: 4px; }
.values p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------------- Newsletter ---------------- */
.newsletter { text-align: center; padding: clamp(72px, 10vw, 130px) var(--gutter); max-width: 760px; margin: 0 auto; }
.newsletter > p:not(.eyebrow):not(.newsletter__msg) { color: var(--ink-soft); }
.newsletter__form { display: flex; margin-top: 32px; border: 1px solid var(--ink); }
.newsletter__form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 20px; font: inherit; font-size: 15px; outline: none; }
.newsletter__form .btn { border: 0; }
.newsletter__msg { margin-top: 16px; min-height: 1.6em; color: var(--oxblood); font-size: 14px; }

/* ---------------- Footer ---------------- */
.footer { background: var(--oxblood); color: rgba(255,255,255,.82); }
.footer__top { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter) 48px; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer__brand .logo-crop { width: 240px; margin-bottom: 22px; }
.footer__brand p { font-size: 14px; max-width: 260px; }
.footer__col h4 { color: #fff; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--sans); font-weight: 400; }
.footer__col a { display: block; font-size: 14px; padding: 4px 0; transition: color .2s; word-break: break-word; }
.footer__col a:hover { color: #fff; }
.footer__bottom { max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter); border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; letter-spacing: .06em; }
.footer__bottom p { margin: 0; }
.footer__bottom a:hover { color: #fff; text-decoration: underline; }
/* keep footer text clear of the floating WhatsApp button */
@media (max-width: 900px) { .footer__bottom { padding-bottom: 96px; } }

/* ---------------- Overlay / drawers ---------------- */
.overlay { position: fixed; inset: 0; background: rgba(20,18,16,.45); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); z-index: 90; display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 24px; }
.drawer__logo { width: 200px; }
.drawer__nav { display: flex; flex-direction: column; padding: 24px; }
.drawer__nav a { font-family: var(--serif); font-size: 30px; padding: 12px 0; border-bottom: 1px solid var(--line); }

.cart__ship { padding: 16px 24px; font-size: 13px; border-bottom: 1px solid var(--line); }
.cart__bar { height: 3px; background: var(--sand); margin-top: 10px; }
.cart__bar i { display: block; height: 100%; background: var(--oxblood); transition: width .5s var(--ease); }
.cart__items { list-style: none; margin: 0; padding: 0 24px; flex: 1; overflow-y: auto; }
.cart__empty { text-align: center; padding: 60px 0; color: var(--muted); }
.cart__empty .btn { margin-top: 20px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 84px; height: 104px; object-fit: cover; }
.cart-item h4 { font-size: 18px; margin-bottom: 2px; }
.cart-item small { color: var(--muted); font-size: 12px; display: block; margin-bottom: 12px; }
.qty { display: inline-flex; border: 1px solid var(--line); align-items: center; }
.qty button { width: 30px; height: 30px; }
.qty span { min-width: 24px; text-align: center; font-size: 14px; }
.cart-item__right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; }
.cart-item__remove { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: underline; }
.cart__foot { padding: 20px 24px 28px; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.cart__total strong { font-weight: 500; }
.cart__note { font-size: 12px; color: var(--muted); }
.cart__note a { text-decoration: underline; }

/* Search */
.search { position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: var(--paper); transform: translateY(-100%); transition: transform .5s var(--ease); max-height: 80vh; overflow-y: auto; }
.search.is-open { transform: none; }
.search__bar { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 24px var(--gutter); border-bottom: 1px solid var(--line); }
.search__bar input { flex: 1; border: 0; background: none; font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); outline: none; min-width: 0; }
.search__results { list-style: none; max-width: 900px; margin: 0 auto; padding: 8px var(--gutter) 28px; }
.search__results li a { display: flex; align-items: center; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.search__results img { width: 54px; height: 66px; object-fit: cover; }
.search__results h4 { font-size: 19px; }
.search__results small { color: var(--muted); }
.search__results .none { padding: 18px 0; color: var(--muted); }

/* Modal */
.modal { position: fixed; z-index: 95; top: 50%; left: 50%; width: min(1000px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow-y: auto; background: var(--paper); transform: translate(-50%, -46%); opacity: 0; visibility: hidden; transition: all .45s var(--ease); }
.modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--paper); }
.modal__body { display: grid; grid-template-columns: 1fr 1fr; }
.modal__body img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.modal__info { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.modal__info h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 6px; }
.modal__price { font-size: 18px; margin-bottom: 22px; }
.modal__info > p { color: var(--ink-soft); }
.pyramid { margin: 10px 0 28px; border-top: 1px solid var(--line); }
.pyramid div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pyramid dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.pyramid dd { margin: 0; }
.modal__buy { display: flex; gap: 10px; }
.modal__buy .qty button, .modal__buy .qty span { height: 50px; }
.modal__buy .qty button { width: 40px; }
.modal__buy .btn { flex: 1; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 14px 24px; font-size: 13px; letter-spacing: .06em; z-index: 100; opacity: 0; pointer-events: none; transition: all .4s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* Policy pages */
.policy { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter); }
.policy__back { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; justify-self: start; }
.policy__back:hover { color: var(--oxblood); }
.policy__summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 56px; padding: 28px 0; border-block: 1px solid var(--line); text-align: center; }
.policy__summary strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 36px); color: var(--oxblood); }
.policy__summary span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.policy section { margin-bottom: 48px; }
.policy h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.policy ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.policy li { margin-bottom: 10px; }
.policy li strong { font-weight: 500; color: var(--ink); }
.policy li a { color: var(--oxblood); text-decoration: underline; text-underline-offset: 3px; }

.policy__updated { font-size: 13px; letter-spacing: .08em; color: var(--muted); margin-bottom: 48px; }
.policy--legal section { margin-bottom: 40px; }
.policy--legal h2 { font-size: clamp(21px, 2.2vw, 26px); }
.policy--legal section > p { color: var(--ink-soft); }
.policy__address { color: var(--ink) !important; font-weight: 400; }
.policy__intro { color: var(--ink-soft); font-size: 17px; margin-bottom: 48px; }
.faq__group { font-size: 13px !important; font-family: var(--sans); font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--oxblood); margin: 48px 0 8px !important; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--serif); font-size: clamp(18px, 2vw, 21px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 24px; line-height: 1; color: var(--oxblood); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--oxblood); }
.faq details p { color: var(--ink-soft); margin: 0 0 16px; max-width: 640px; }
.faq details p:last-child { margin-bottom: 22px; }
.faq details strong { font-weight: 500; color: var(--ink); }
.faq details a { color: var(--oxblood); text-decoration: underline; text-underline-offset: 3px; }
.faq__sign { font-family: var(--serif); font-size: 20px; margin: 56px 0 28px; }
.faq__sign em { font-style: normal; color: var(--oxblood); }

/* Checkout */
.checkout { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter); }
.checkout__notice { background: var(--sand); border-left: 3px solid var(--oxblood); padding: 14px 18px; margin-bottom: 32px; font-size: 15px; }
.checkout__empty { padding: 32px 0; color: var(--ink-soft); }
.checkout__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 24px; }
.checkout__form fieldset { border: 0; padding: 0; margin: 0 0 36px; }
.checkout__form legend { font-family: var(--serif); font-size: 24px; margin-bottom: 18px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; color: var(--ink); border-radius: 0; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); }
/* Highlight problems only after the customer has tried to pay */
.was-checked .field input:invalid, .was-checked .field select:invalid { border-color: var(--oxblood); background: #fdf6f5; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout__error { color: var(--oxblood); min-height: 1.4em; font-size: 14px; margin-bottom: 10px; }
.checkout__fine { font-size: 12px; color: var(--muted); margin-top: 14px; }
.checkout__fine a { text-decoration: underline; }
.checkout__summary { background: var(--ivory); padding: clamp(22px, 3vw, 36px); position: sticky; top: calc(var(--header-h) + 24px); }
.checkout__summary h2 { font-size: 24px; margin-bottom: 18px; }
.checkout__summary ul { list-style: none; margin: 0 0 12px; padding: 0; }
.checkout__summary li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.checkout__summary li img { width: 56px; height: 68px; object-fit: cover; }
.checkout__summary li strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; }
.checkout__summary li small { color: var(--muted); font-size: 12px; }
.summary__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.summary__row--total { border-top: 1px solid var(--ink); margin-top: 6px; padding-top: 14px; font-size: 18px; font-weight: 500; }
#payBtn:disabled { opacity: .6; cursor: wait; }
.success .checkout__summary { position: static; margin-bottom: 32px; }
.success__help { color: var(--ink-soft); }
.success__ctas { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; margin: 20px 0 48px; }
.scent-sign { font-family: var(--serif); font-size: 20px; }
.scent-sign em { font-style: normal; color: var(--oxblood); }
@media (max-width: 900px) {
  .checkout__grid { grid-template-columns: 1fr; }
  .checkout__summary { position: static; order: -1; }
}
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* WhatsApp button */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; stroke-width: 1.5; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header__burger { display: inline-grid; justify-self: start; }
  .header__inner { grid-template-columns: 1fr auto 1fr; }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero__media { aspect-ratio: 4 / 4.4; }
  .hero__content { padding: 48px var(--gutter) 64px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .split, .story { grid-template-columns: 1fr; }
  .split__media { min-height: 0; aspect-ratio: 4 / 4.4; }
  .story__media { order: -1; position: static; }
  .families__grid { grid-template-columns: 1fr; }
  .family { aspect-ratio: 4 / 3.6; }
  .values { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .modal__body { grid-template-columns: 1fr; }
  .modal__body img { aspect-ratio: 1; }
  .card__actions { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .logo { width: 170px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .card__info { flex-direction: column; gap: 2px; padding-top: 12px; }
  .card__name { font-size: 18px; }
  .card__notes { font-size: 12px; }
  .card__actions { left: 8px; right: 8px; bottom: 8px; }
  .card__actions .btn--ghost { display: none; }
  .card__actions .btn { padding: 11px 6px; font-size: 10px; letter-spacing: .14em; }
  .card__tag { top: 8px; left: 8px; font-size: 9px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stats span { font-size: 10px; }
  .newsletter__form { flex-direction: column; border: 0; gap: 10px; }
  .newsletter__form input { border: 1px solid var(--ink); height: 52px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .story__mark { width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .card { opacity: 1; transform: none; }
}
