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

:root {
  color-scheme: light;
  --ivory: #f6efdf;
  --parchment: #e9ddc4;
  --sage: #344333;
  --deep-sage: #1b2b20;
  --gold: #a77a35;
  --dark-gold: #7b592d;
  --ink: #403729;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); }
body[data-concept="moonlit"] { background: #17251d; }
body[data-concept="storybook"] { background: #e8dcc3; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #d5a447; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: -80px; padding: 10px 16px; background: var(--ivory); color: var(--ink); }
.skip-link:focus { top: 12px; }
.page-start { position: absolute; top: 0; left: 0; }

.desktop-home { display: block; }
.art-canvas { position: relative; width: min(100%, 1440px); margin: 0 auto; box-shadow: 0 16px 80px #0e1b1733; }
body[data-concept="storybook"] .art-canvas { max-width: 1100px; }
.concept-image { display: block; width: 100%; height: auto; }
.hotspot-layer { position: absolute; inset: 0; }
.hotspot { position: absolute; display: block; border: 1px solid transparent; border-radius: 2px; text-decoration: none; }
.hotspot span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hotspot:hover { background: #fff8dc1c; border-color: #e4c985bb; }
.hotspot:focus-visible { outline: 3px solid #d5a447; background: #fff8dc33; }
.art-anchor { position: absolute; display: block; width: 1px; height: 1px; scroll-margin-top: 30px; }
.mobile-home { display: none; }

.concept-switcher { position: fixed; z-index: 40; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 5px; padding: 8px; border: 1px solid #dcc58b; border-radius: 999px; background: #f8f1e9f2; box-shadow: 0 6px 25px #1f241744; backdrop-filter: blur(14px); font-family: var(--sans); }
.switcher-label { margin: 0 9px; color: #695c49; font-size: 9px; font-weight: 600; letter-spacing: .16em; white-space: nowrap; }
.concept-switcher a { padding: 9px 12px; border-radius: 999px; color: #4b463b; font-size: 11px; letter-spacing: .03em; line-height: 1; text-decoration: none; white-space: nowrap; }
.concept-switcher a:hover, .concept-switcher a[aria-current="page"] { background: var(--sage); color: #fff8e9; }

.eyebrow { color: var(--dark-gold); font-size: 11px; font-weight: 500; letter-spacing: .23em; line-height: 1.8; text-transform: uppercase; }
h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3.25rem, 5vw, 6.25rem); line-height: .95; }
h2 { font-size: clamp(2.7rem, 4vw, 4.8rem); line-height: 1; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 50px; padding: 12px 28px; border: 1px solid var(--sage); background: var(--sage); color: #fff9ed; font-size: 11px; font-weight: 500; letter-spacing: .15em; line-height: 1.4; text-align: center; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.button:hover { background: #53664e; transform: translateY(-2px); }
.button span { font-size: 19px; font-weight: 300; letter-spacing: 0; }
.text-link { display: inline-block; padding: 8px 0; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 500; letter-spacing: .15em; text-decoration: none; text-transform: uppercase; }
.text-link span { margin-left: 13px; font-size: 18px; }

.inner-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 92px; padding: 16px clamp(24px, 6vw, 110px); border-bottom: 1px solid #a77a3540; background: #f8f1e6; }
.inner-logo { display: block; width: 170px; flex: none; }
.inner-header nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 2.4vw, 35px); }
.inner-header nav a { color: #4f4636; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }
.inner-header nav a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 7px; }

.product-page, .explore-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: min(760px, 90vh); background: #f7efde; }
.product-gallery { position: relative; min-height: 700px; overflow: hidden; background: #ccbe9a; }
.product-gallery > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-elephant { position: absolute; top: 6%; right: -8%; width: 42%; filter: drop-shadow(0 8px 12px #432b1970); }
.product-info { align-self: center; max-width: 630px; padding: 65px clamp(35px, 6vw, 110px); }
.product-info h1 { margin: 18px 0 24px; color: #6e542d; }
.product-lead, .explore-lead { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 2.1rem); line-height: 1.25; }
.product-info > p:not(.eyebrow):not(.product-lead):not(.prototype-note):not(.save-status) { font-size: 15px; line-height: 1.8; }
.fine-rule { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--gold); font-size: 14px; }
.fine-rule::before, .fine-rule::after { content: ''; display: block; width: 80px; height: 1px; background: #b79661; }
.prototype-note { margin-top: 22px; color: #6f6756; font-size: 12px; line-height: 1.7; }
.save-button { margin: 24px 0 0; }
.save-button[aria-pressed="true"] { background: #7b592d; }
.save-status { min-height: 20px; color: var(--sage); font-size: 12px; }
.product-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.product-links a { border-bottom: 1px solid var(--gold); color: #624d2e; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.product-links a span { margin-left: 6px; }
.product-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 420px; background: #e5d9be; }
.product-story > div { align-self: center; max-width: 650px; padding: 55px clamp(35px, 8vw, 130px); }
.product-story h2 { margin: 10px 0 16px; color: #6e542d; }
.product-story p:last-child { font-size: 15px; line-height: 1.75; }
.product-story img { width: 100%; height: 100%; max-height: 480px; object-fit: cover; }

.explore-page { grid-template-columns: .9fr 1.1fr; }
.explore-copy { align-self: center; max-width: 670px; padding: 75px clamp(35px, 8vw, 130px); }
.explore-copy h1 { margin: 18px 0 26px; color: #6e542d; }
.explore-copy > p:not(.eyebrow):not(.explore-lead) { max-width: 38rem; font-size: 15px; line-height: 1.8; }
.explore-copy .button { margin-top: 25px; }
.explore-image { min-height: 690px; overflow: hidden; }
.explore-image img { width: 100%; height: 100%; object-fit: cover; }
.explore-next { padding: 65px 25px 75px; background: var(--sage); color: #f8efdc; text-align: center; }
.explore-next img { width: 92px; height: 92px; margin: 0 auto; object-fit: contain; }
.explore-next .eyebrow { color: #e6cf91; }
.explore-next > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px 38px; margin-top: 25px; }
.explore-next a { padding-bottom: 5px; border-bottom: 1px solid #b89d66; font-family: var(--serif); font-size: 30px; text-decoration: none; }
.explore-next a:hover { color: #e8c985; }
.inner-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 37px clamp(24px, 6vw, 110px) 70px; background: #17271e; color: #e9dbbc; }
.inner-footer img { width: 140px; }
.inner-footer p { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.inner-footer a { font-size: 11px; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.inner-footer a span { margin-left: 8px; }

@media (max-width: 800px) {
  .inner-header { flex-direction: column; justify-content: center; gap: 18px; }
  .inner-header nav { justify-content: center; }
  .product-page, .explore-page { display: flex; flex-direction: column; }
  .product-gallery, .explore-image { min-height: 0; height: min(92vw, 650px); }
  .product-info, .explore-copy { max-width: none; padding: 45px 7vw 75px; }
  .product-story { display: flex; flex-direction: column; }
  .product-story img { max-height: 420px; }
}

@media (max-width: 1100px) {
  .desktop-home { display: none; }
  .mobile-home { display: block; background: #f8f1e5; }
  .mobile-header { position: relative; z-index: 3; padding: 15px 17px 11px; background: #f8f1e5; }
  .mobile-logo { display: block; width: 130px; margin: 0 auto 13px; }
  .mobile-header nav { display: flex; justify-content: space-around; gap: 10px; }
  .mobile-header nav a { color: #4b4334; font-size: 10px; font-weight: 500; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
  .mobile-hero-image { height: 78vw; max-height: 470px; overflow: hidden; }
  .mobile-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .mobile-hero-copy { padding: 30px 7vw 50px; background: #f6edda; }
  .mobile-hero-copy h1 { max-width: 500px; margin: 10px 0 18px; color: #654d2c; font-size: clamp(3.6rem, 13vw, 6rem); }
  .mobile-hero-copy > p:not(.eyebrow) { max-width: 32rem; font-family: var(--serif); font-size: 23px; line-height: 1.25; }
  .mobile-hero-copy .button { margin-top: 9px; }
  .mobile-ritual, .mobile-ingredients, .mobile-quote, .mobile-shop { position: relative; overflow: hidden; padding: 62px 7vw; }
  .mobile-ritual { min-height: 595px; background: #e8dcc0; }
  .mobile-ritual h2, .mobile-ingredients h2, .mobile-shop h2 { max-width: 550px; margin: 12px 0 20px; color: #684e2b; }
  .mobile-ritual > p:not(.eyebrow) { max-width: 28rem; font-size: 14px; line-height: 1.8; }
  .mobile-ritual .text-link { position: relative; z-index: 2; }
  .mobile-ritual img { position: absolute; right: -9%; bottom: -5%; width: min(95%, 460px); }
  .mobile-ingredients { background: #f7edd9; text-align: center; }
  .mobile-ingredients h2 { margin-left: auto; margin-right: auto; }
  .botanical-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin: 31px 0; }
  .botanical-grid span { display: grid; place-items: center; min-height: 95px; border: 1px solid #bc995a; background: #f1e5ca; color: #674f2c; font-family: var(--serif); font-size: 25px; }
  .mobile-quote { background: var(--sage); color: #f6eddc; text-align: center; }
  .mobile-quote > span { color: #c49b57; font-size: 31px; }
  .mobile-quote blockquote { margin: 12px auto 24px; max-width: 500px; font-size: clamp(2.3rem, 8vw, 4rem); font-style: italic; line-height: 1; }
  .mobile-quote .eyebrow { color: #e1c99c; }
  .mobile-shop { padding: 0; background: #f5ebd8; }
  .mobile-shop > img { width: 100%; height: 72vw; max-height: 440px; object-fit: cover; }
  .mobile-shop > div { padding: 40px 7vw 75px; }
  .mobile-footer { padding: 44px 7vw 105px; background: var(--deep-sage); color: #f1e4c7; text-align: center; }
  .mobile-footer img { width: 170px; margin: 0 auto 16px; }
  .mobile-footer p { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
  .mobile-footer a { display: inline-block; margin-top: 13px; color: #e9d29d; font-size: 11px; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
  body[data-concept="moonlit"] .mobile-home { background: #1e2d22; }
  body[data-concept="moonlit"] .mobile-hero-copy { background: #223528; color: #f4ecd9; }
  body[data-concept="moonlit"] .mobile-hero-copy h1, body[data-concept="moonlit"] .mobile-hero-copy .eyebrow { color: #e3c78e; }
  body[data-concept="moonlit"] .mobile-hero-copy .button { background: #e7d3ab; border-color: #e7d3ab; color: #332d20; }
  body[data-concept="moonlit"] .mobile-ritual { background: #d9c9a7; }
  body[data-concept="storybook"] .mobile-hero-copy, body[data-concept="storybook"] .mobile-ingredients { background: #f3e7d0; }
  body[data-concept="storybook"] .mobile-ritual { background: #ded0ad; }
  .concept-switcher { left: 8px; right: 8px; bottom: 8px; justify-content: center; gap: 2px; padding: 6px; }
  .switcher-label { display: none; }
  .concept-switcher a { flex: 1; padding: 10px 4px; font-size: 10px; text-align: center; }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .mobile-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 20px 4vw; }
  .mobile-logo { width: 155px; margin: 0; flex: none; }
  .mobile-header nav { justify-content: flex-end; flex-wrap: wrap; gap: 15px 25px; }
  .mobile-header nav a { font-size: 11px; }
  .mobile-hero { display: grid; grid-template-columns: 53% 47%; }
  .mobile-hero-image { height: 100%; min-height: 560px; max-height: none; }
  .mobile-hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 45px 5vw; }
  .mobile-hero-copy h1 { font-size: clamp(3.5rem, 6vw, 5rem); }
  .mobile-hero-copy > p:not(.eyebrow) { font-size: 22px; }
  .mobile-ritual { min-height: 480px; padding: 75px 50% 75px 6vw; }
  .mobile-ritual img { right: 0; bottom: -9%; width: 54%; }
  .mobile-ingredients { padding: 70px 5vw 85px; }
  .botanical-grid { grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 35px auto; }
  .botanical-grid span { min-height: 125px; }
  .mobile-quote { padding: 80px 7vw; }
  .mobile-shop { display: grid; grid-template-columns: 52% 48%; align-items: stretch; }
  .mobile-shop > img { height: 100%; max-height: none; min-height: 430px; }
  .mobile-shop > div { align-self: center; padding: 45px 5vw; }
  .mobile-footer { padding-bottom: 100px; }
  .concept-switcher { left: auto; right: 18px; bottom: 18px; width: auto; padding: 8px; }
  .switcher-label { display: inline; }
  .concept-switcher a { flex: none; padding: 9px 12px; font-size: 11px; }
}

@media (max-width: 520px) {
  .inner-header { align-items: center; padding: 19px 12px; }
  .inner-logo { width: 135px; }
  .inner-header nav { column-gap: 12px; row-gap: 10px; }
  .inner-header nav a { font-size: 9px; letter-spacing: .05em; }
  .product-gallery { height: 105vw; }
  .product-elephant { width: 48%; }
  .inner-footer { flex-direction: column; padding-bottom: 105px; text-align: center; }
  .explore-next > div { gap: 15px 25px; }
  .explore-next a { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media print {
  .concept-switcher, .hotspot-layer, .skip-link { display: none; }
  .art-canvas { width: 100%; box-shadow: none; }
}
