@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600&display=swap");

:root {
  --cream: #f3ead7;
  --ink: #171512;
  --gold: #d9b978;
  --header-h: 68px;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: Manrope, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--ink); color: var(--ink); font-family: var(--body); line-height: 1.65; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--display); line-height: .98; }
h2 { margin-bottom: 1.6rem; font-size: clamp(2.7rem, 9vw, 6.5rem); font-weight: 600; letter-spacing: -.035em; }
h3 { font-size: clamp(1.7rem, 5vw, 2.7rem); }
p { max-width: 68ch; }

.skip-link { position: fixed; z-index: 100; top: .5rem; left: .5rem; padding: .7rem 1rem; transform: translateY(-150%); background: #fff; color: #000; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; min-height: var(--header-h); border-bottom: 1px solid rgba(20,16,10,.1); background: rgba(244,236,219,.82); color: #16130f; backdrop-filter: blur(14px) saturate(125%); transition: background-color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { background: rgba(244,236,219,.96); box-shadow: 0 9px 30px rgba(12,10,7,.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .65rem; width: min(100% - 1.25rem, 1240px); min-height: var(--header-h); margin: auto; }
.brand-mark { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; }
.brand-mark img { width: 38px; height: 34px; object-fit: cover; border-radius: 2px; }
.brand-mark-word { display: none; font-size: .76rem; font-weight: 600; letter-spacing: .14em; }
.header-controls, .lang-switch { display: flex; align-items: center; gap: .3rem; }
.lang-switch { padding: .18rem; border: 1px solid rgba(20,16,10,.25); border-radius: 999px; }
.lang-btn { min-width: 38px; min-height: 34px; padding: .2rem .55rem; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: .72rem; font-weight: 600; }
.lang-btn[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.icon-btn { display: grid; width: 44px; height: 44px; place-items: center; border: 0; background: transparent; cursor: pointer; }
.icon-btn svg { width: 23px; height: 23px; }
/* Audio hook: main.js toggles .is-muted on #audio-toggle. */
#audio-toggle .icon-sound-off, #audio-toggle.is-muted .icon-sound-on { display: none; }
#audio-toggle.is-muted .icon-sound-off { display: block; }
.nav-links { display: none; }
.nav-link { min-height: 44px; border: 0; background: none; cursor: pointer; font-weight: 500; }
.mobile-nav { display: grid; max-height: 0; overflow: hidden; padding-inline: 1rem; background: rgba(244,236,219,.98); opacity: 0; visibility: hidden; transition: max-height .28s ease, opacity .2s ease, padding .28s ease; }
/* Mobile-nav hook: main.js toggles .is-open on #mobile-nav. */
.mobile-nav.is-open { max-height: 220px; padding-block: .5rem 1rem; opacity: 1; visibility: visible; }

.slide { position: relative; display: flex; min-height: auto; padding: calc(var(--header-h) + 3.5rem) 1.25rem 4.5rem; }
.slide-inner { width: min(100%, 760px); margin: auto; }
.slide-inner--wide { width: min(100%, 1180px); }
.deck-slide { width: 100%; height: auto; margin: 0 auto 2.5rem; border: 8px solid #fff9ec; border-radius: 3px; background: #fff9ec; box-shadow: 0 20px 55px rgba(12,10,7,.28); }
.hero { --section-bg: #f3ead7; --section-fg: #171512; align-items: center; justify-content: center; min-height: 100svh; background: var(--section-bg); color: var(--section-fg); text-align: center; }
.hero-inner { width: min(100%, 760px); }
.hero { flex-direction: column; }
.hero > .deck-slide { width: min(100%, 560px); margin-top: 3rem; margin-bottom: 1.5rem; }
.kicker, .eyebrow, .tag { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.brand-word { margin: 0; font-size: clamp(2.7rem, 12vw, 7.5rem); letter-spacing: .055em; }
.hero-sub { margin: .2rem auto; font-family: var(--display); font-size: clamp(1.8rem, 7vw, 3.6rem); }
.hero-tagline { margin: 0 auto; font-style: italic; }
.hero-footer { margin: 3rem auto 0; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.scroll-hint { position: absolute; bottom: 1.2rem; border: 0; background: none; cursor: pointer; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.scroll-hint::after { content: "↓"; display: block; margin-top: .35rem; }

.philosophy { --section-bg: #211e1a; --section-fg: #f2e7cf; background: var(--section-bg); color: var(--section-fg); }
.philosophy .slide-inner > p { font-size: clamp(1rem, 2vw, 1.2rem); }
.philosophy h3 { margin-top: 3rem; color: var(--gold); }
.emphasis { font-family: var(--display); font-size: clamp(1.5rem, 4vw, 2.5rem) !important; font-style: italic; color: #ebc885; }
.philosophy-card { margin: 3rem 0; padding: clamp(1.4rem, 5vw, 2.6rem); border: 1px solid rgba(243,234,215,.24); background: rgba(255,255,255,.04); }
.philosophy-card h3 { margin-top: 0; }
.cta-link { min-height: 44px; padding: .6rem 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--gold); cursor: pointer; }

.pricing { --section-bg: #bc7657; --section-fg: #21140e; background: var(--section-bg); color: var(--section-fg); }
.pricing-photo { width: 100%; max-height: 42vh; margin-bottom: 2.5rem; object-fit: cover; box-shadow: 18px 18px 0 rgba(61,30,18,.15); }
.pricing-photo.deck-slide { max-height: none; object-fit: contain; box-shadow: 0 20px 55px rgba(61,30,18,.28); }
.ingredients { font-weight: 600; letter-spacing: .05em; }
.price-row { display: flex; gap: .65rem; margin: 2rem 0; }
.price-box { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; padding: 1rem .7rem; border: 1px solid currentColor; }
.price-box--accent { background: #291b14; color: #f7e4ca; }
.price-amount { font-family: var(--display); font-size: clamp(1.3rem, 5vw, 2.3rem); font-weight: 700; line-height: 1; }
.price-label { margin-top: .45rem; font-size: .72rem; }
.price-savings { margin-top: .3rem; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .85; }
.price-row--single .price-box { flex: 0 1 360px; }

.scents { background: #e9dfca; color: #171512; }
.scents-subheading { margin-bottom: 2.5rem; }
.scent-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.scent-card { --section-bg: #173f49; --section-fg: #f4ead5; display: flex; min-height: 520px; flex-direction: column; padding: clamp(1.35rem, 4vw, 2.3rem); background: var(--section-bg); color: var(--section-fg); }
.scent-card > .deck-slide { flex: 0 0 auto; aspect-ratio: 3 / 2; object-fit: cover; }
.scent-card--agarwood { --section-bg: #123946; --section-fg: #f4ead5; }
.scent-card--majegau { --section-bg: #21442e; --section-fg: #f4ead5; }
.scent-card--cinnamon { --section-bg: #4d291c; --section-fg: #f5dfbe; }
.scent-card--sandalwood { --section-bg: #bcdce8; --section-fg: #142b43; }
.scent-card header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.scent-card h3 { margin-bottom: 1.1rem; }
.scent-origin { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.scent-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.scent-tags span { padding: .25rem .65rem; border: 1px solid currentColor; border-radius: 999px; font-size: .7rem; }
.scent-card--cinnamon .archetype, .scent-card--cinnamon .scent-footer-tags { color: #f2a45e; }
.scent-about { font-size: 1.02rem; }
.scent-line, .scent-note { font-size: .88rem; }
.scent-note { padding-left: 1rem; border-left: 2px solid currentColor; font-style: italic; }
.scent-footer-tags { margin-top: auto; padding-top: 1.5rem; font-size: .65rem; font-weight: 600; letter-spacing: .12em; }
.scent-pending { margin: .75rem 0 0; font-size: .66rem; opacity: .7; }

.proof, .palosanto-intro { min-height: 100svh; align-items: flex-end; padding: 0; color: #fff8e8; }
.proof > img, .palosanto-intro > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proof > img { object-position: center 82%; }
.proof::after, .palosanto-intro::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8,7,6,.9)); }
.proof-caption, .palosanto-intro-text { position: relative; z-index: 1; width: min(100%, 1180px); margin: 0 auto; padding: 3rem 1.25rem; }
.proof-caption p { margin-bottom: .25rem; font-family: var(--display); font-size: clamp(2rem, 7vw, 4.5rem); }
.proof-caption .proof-sub { font-family: var(--body); font-size: 1rem; }
.palosanto-intro h2 { max-width: 900px; margin-bottom: 0; }

.palosanto-detail, .closing { --section-bg: #141210; --section-fg: #f2e4c7; background: radial-gradient(circle at 50% 35%, #30251b 0, var(--section-bg) 65%); color: var(--section-fg); }
.palosanto-detail .eyebrow, .archetype-line, .closing .kicker, .closing-card-label { color: var(--gold); }
.palosanto-detail .fine-print { margin-top: 2rem; font-size: .8rem; opacity: .72; }
.closing-cards { display: grid; gap: 1rem; margin-top: 3rem; }
.closing-card { padding: 1.5rem; border: 1px solid rgba(217,185,120,.35); background: rgba(255,255,255,.025); }
.closing-card h4 { font-size: 1.8rem; color: #f1dfbc; }

.outro { align-items: center; background: #000; color: var(--cream); text-align: center; }
.outro .slide-inner { display: flex; align-items: center; flex-direction: column; }
.outro-mark { width: min(68vw, 320px); margin-bottom: 2rem; filter: grayscale(1) contrast(1.1); }
.outro p { margin: .15rem auto; font-family: var(--display); font-size: clamp(1.5rem, 5vw, 2.5rem); }
.outro .outro-footer { margin-top: 3rem; font-family: var(--body); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

.contact { --section-bg: #f3ead7; --section-fg: #171512; background: var(--section-bg); color: var(--section-fg); }
.contact-links { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 3rem; }
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: .55rem; padding: .75rem 1.15rem; border: 1px solid currentColor; color: inherit; text-decoration: none; cursor: pointer; }
.btn-whatsapp, .btn-solid { border-color: #214b35; background: #214b35; color: #fff; }
.wholesale-card { padding: clamp(1.25rem, 5vw, 2.7rem); border: 1px solid rgba(23,21,18,.25); background: rgba(255,255,255,.35); }
#wholesale-form { display: grid; gap: 1rem; margin-top: 2rem; }
#wholesale-form label { display: grid; gap: .4rem; font-size: .82rem; font-weight: 600; }
#wholesale-form input { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid #776c5d; border-radius: 0; background: #fffdf7; color: #171512; outline: 3px solid transparent; outline-offset: 2px; transition: border-color .2s, outline-color .2s; }
#wholesale-form input:focus-visible { border-color: #9a5b36; outline-color: rgba(154,91,54,.3); }
#wholesale-form .btn { width: 100%; }
.form-status { min-height: 1.6em; margin: 0; font-size: .85rem; font-weight: 600; }

@media (min-width: 600px) {
  .scent-grid, .closing-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #wholesale-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #wholesale-form label:first-child, #wholesale-form .btn, .form-status { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  :root { --header-h: 76px; }
  .header-inner { width: min(100% - 3rem, 1240px); }
  .brand-mark-word { display: inline; }
  .nav-links { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; }
  .menu-toggle, .mobile-nav { display: none; }
  .slide { min-height: 100vh; padding: calc(var(--header-h) + 5rem) 3rem 6rem; }
  .proof, .palosanto-intro { padding: 0; }
  .proof-caption, .palosanto-intro-text { padding: 4rem 3rem; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: 4rem; text-align: left; }
  .hero-inner { justify-self: end; }
  .hero > .deck-slide { width: min(100%, 500px); margin: 0; justify-self: start; }
  .hero-footer, .hero-sub, .hero-tagline { margin-left: 0; }
  .philosophy .slide-inner, .closing .slide-inner { display: grid; align-items: start; grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr); column-gap: 4rem; width: min(100%, 1180px); }
  .philosophy .slide-inner > .deck-slide, .closing .slide-inner > .deck-slide { grid-column: 1; grid-row: 1 / span 20; position: sticky; top: calc(var(--header-h) + 2rem); margin: 0; }
  .philosophy .slide-inner > :not(.deck-slide), .closing .slide-inner > :not(.deck-slide) { grid-column: 2; }
  .pricing .slide-inner { display: grid; align-items: center; grid-template-columns: 1fr 1fr; column-gap: 4rem; }
  .pricing-photo { grid-row: 1 / span 5; margin: 0; }
  .scent-card { display: grid; align-content: start; grid-template-columns: minmax(150px, .85fr) minmax(0, 1fr); column-gap: 1.25rem; }
  .scent-card > .deck-slide { grid-column: 1; grid-row: 1 / span 20; position: sticky; top: calc(var(--header-h) + 1.5rem); margin: 0; border-width: 5px; }
  .scent-card > :not(.deck-slide) { grid-column: 2; }
  .scent-card .scent-footer-tags { margin-top: 0; }
  .outro .slide-inner { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1fr); column-gap: 4rem; width: min(100%, 1080px); }
  .outro .slide-inner > .deck-slide { grid-column: 1; grid-row: 1 / span 10; margin: 0; }
  .outro .slide-inner > :not(.deck-slide) { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
