:root {
  --ink: #24312b;
  --forest: #173124;
  --canopy: #0d2419;
  --vellum: #f5f0e7;
  --paper: #fffdf8;
  --field: #e7ebe1;
  --line: rgba(36, 49, 43, .2);
  --vata: #ded5e9;
  --pitta: #e79a7c;
  --kapha: #cbdc8a;
  --water: #a8cbc2;
  --amber: #884a24;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", Baskerville, Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--vellum); font: 16px/1.55 var(--sans); }
img, video { display: block; width: 100%; height: auto; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-underline-offset: .2em; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 100; top: 1rem; left: 1rem; transform: translateY(-160%); background: white; padding: .8rem 1rem; }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid #07120c; outline-offset: 4px; box-shadow: 0 0 0 2px #fffdf8; }
.utility { padding: .55rem 4vw; text-align: center; color: #f7f2e8; background: var(--canopy); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; min-height: 74px; padding: 0 4vw; background: rgba(245,240,231,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { font: 700 2rem/1 var(--serif); text-decoration: none; }
.brand small { display: block; margin-top: .28rem; font: 600 .55rem/1 var(--sans); letter-spacing: .2em; }
.nav { display: flex; justify-content: center; gap: clamp(1rem, 3vw, 2.6rem); }
.nav a, .header-actions a, .header-actions button { border: 0; background: none; text-decoration: none; font-size: .88rem; }
.header-actions { display: flex; gap: 1rem; align-items: center; }
.menu-button { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--ink); background: transparent; }
.eyebrow { margin: 0 0 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: .98; }
h1 { font-size: clamp(3.2rem, 7.8vw, 8.2rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.35rem, 5.3vw, 5.7rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.4rem, 2.3vw, 2.4rem); }
.lede { max-width: 38rem; font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.button, button.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.15rem; border: 1px solid var(--ink); background: var(--ink); color: white; text-decoration: none; cursor: pointer; }
.button.light { border-color: white; background: white; color: var(--forest); }
.button.ghost { background: transparent; color: var(--ink); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero { min-height: calc(100vh - 104px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #b9bcba; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 8vw, 8rem) 4vw; }
.hero-copy h1 { max-width: 7ch; margin-bottom: 1.6rem; }
.film-shell { position: relative; min-height: 420px; overflow: hidden; background: var(--film-bg, #b9bcba); }
.film-shell video { width: 100%; height: 100%; object-fit: cover; object-position: var(--film-position, center); }
.film-control { position: absolute; right: 1rem; bottom: 1rem; min-height: 44px; padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.75); background: rgba(9,25,17,.72); color: white; cursor: pointer; }
.belonging, .framework, .shop-lane, .recommendations, .science, .page-intro, .member-benefits, .product-page { padding: clamp(5rem, 10vw, 10rem) 4vw; }
.section-head { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(18rem,.8fr); gap: 4vw; align-items: end; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 0; max-width: 11ch; }
.section-head > p { max-width: 34rem; }
.dosha-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.dosha-card { min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; border: 0; text-align: left; cursor: pointer; }
.dosha-card span { font: 500 clamp(2.5rem,5vw,5rem)/1 var(--serif); }
.dosha-card small { font-size: .9rem; }
.dosha-card.vata { background: var(--vata); }
.dosha-card.pitta { background: var(--pitta); }
.dosha-card.kapha { background: var(--kapha); }
.dosha-card[aria-pressed="true"] { box-shadow: inset 0 0 0 6px var(--ink); }
.dosha-output { min-height: 170px; padding: 2rem; background: var(--paper); border: 1px solid var(--ink); border-top: 0; }
.dosha-output p:last-child { max-width: 48rem; }
.framework { background: var(--paper); }
.framework-layout, .science-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.framework-visual img { aspect-ratio: 16/10; object-fit: cover; background: var(--field); }
.element-map { display: grid; grid-template-columns: repeat(5, 1fr); margin: 2rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.element-map div { min-height: 110px; padding: 1rem .6rem; border-right: 1px solid var(--line); }
.element-map div:last-child { border: 0; }
.element-map strong, .element-map small { display: block; }
.video-story { display: grid; grid-template-columns: .7fr 1.3fr; min-height: 70vh; color: white; background: var(--story-bg, var(--forest)); }
.video-story.reverse { grid-template-columns: 1.3fr .7fr; }
.video-story.reverse .story-copy { order: 2; }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem) 4vw; }
.story-copy h2 { max-width: 8ch; }
.story-copy p { max-width: 30rem; }
.video-story .film-shell { min-height: 70vh; }
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 31vw); gap: 1rem; overflow-x: auto; padding: 0 0 1rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-bottom: 1rem; }
.carousel-actions button { width: 48px; height: 48px; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.product-card, .need-card { min-height: 420px; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); }
.product-card img { aspect-ratio: 4/3; object-fit: cover; }
.product-card > div, .need-card { padding: 1.5rem; }
.product-card h3 { margin-bottom: .5rem; }
.product-card .button { margin-top: auto; width: 100%; }
.need-card { justify-content: space-between; min-height: 320px; }
.need-card:nth-child(3n+1) { background: var(--vata); }
.need-card:nth-child(3n+2) { background: var(--pitta); }
.need-card:nth-child(3n) { background: var(--kapha); }
.recommendations { background: var(--field); }
.rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.rec-card { min-height: 390px; padding: 2rem; background: var(--paper); }
.rec-card img { width: 84px; height: 84px; margin-bottom: 3rem; object-fit: cover; border-radius: 50%; }
.rec-card ul, .result-lane ul { padding-left: 1.2rem; }
.science { color: white; background: var(--forest); }
.science-grid article { padding: 2rem 0; border-top: 1px solid rgba(255,255,255,.4); }
.science-grid h2 { max-width: 8ch; }
.site-footer { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; padding: 5rem 4vw; color: white; background: var(--canopy); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.footer-brand p { max-width: 27ch; margin: 0; }
.footer-credit { padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.68); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-links strong, .footer-links a { display: block; margin-bottom: .6rem; }
.footer-links a { width: fit-content; text-decoration: none; color: rgba(255,255,255,.8); text-underline-offset: .22em; }
.footer-links a:hover, .footer-links a:focus-visible, .footer-links a[aria-current="page"] { color: white; text-decoration: underline; }
.bag-panel { position: fixed; z-index: 90; inset: 0 0 0 auto; width: min(430px, 100%); padding: 2rem; overflow: auto; color: var(--ink); background: var(--paper); box-shadow: -20px 0 80px rgba(0,0,0,.24); }
.bag-panel h2 { font-size: 3rem; }
.bag-panel > button { position: absolute; top: 1rem; right: 1rem; min-width: 44px; min-height: 44px; border: 0; background: none; font-size: 1.5rem; }
.bag-panel ul { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.bag-panel li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.bag-panel li button { border: 0; background: none; text-decoration: underline; }
.page-intro { min-height: 58vh; display: flex; flex-direction: column; justify-content: end; color: white; background: var(--forest); }
.page-intro h1 { max-width: 9ch; }
.assessment { min-height: 70vh; padding: 4rem 4vw 7rem; background: var(--paper); }
.assessment-shell { max-width: 980px; margin: 0 auto; }
.assessment-top { display: flex; justify-content: space-between; margin-bottom: 3rem; }
.assessment-step h2 { max-width: 13ch; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 2rem 0; }
.option { min-height: 110px; padding: 1.25rem; border: 1px solid var(--ink); background: transparent; text-align: left; cursor: pointer; }
.option strong, .option span { display: block; }
.option[aria-pressed="true"] { background: var(--ink); color: white; }
.assessment-actions { position: sticky; bottom: 0; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; background: var(--paper); }
.assessment-actions button:disabled { opacity: .35; cursor: not-allowed; }
.result-hero { padding: 2rem; background: var(--vata); }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1rem 0; }
.result-lane { padding: 1.5rem; background: var(--field); }
.account-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1px; background: var(--ink); }
.account-grid > article { min-height: 520px; padding: 3rem; background: var(--paper); }
.benefit-list { display: grid; gap: 1px; background: var(--line); }
.benefit-list div { padding: 1.5rem; background: var(--field); }
.product-page { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; }
.product-page img { position: sticky; top: 110px; }
.product-copy { padding-top: 3rem; }
.product-copy dl div { display: flex; justify-content: space-between; gap: 2rem; padding: 1rem 0; border-top: 1px solid var(--line); }
details { padding: 1rem 0; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; }
[data-reveal] { opacity: 1; transform: none; }
.js-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-ready [data-reveal][data-visible="true"] { opacity: 1; transform: none; }
.fine-print { font-size: .84rem; color: #59635e; }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .menu-button { display: block; }
  .nav { position: absolute; top: 74px; left: 0; right: 0; display: grid; gap: 0; padding: 1rem 4vw; background: var(--vellum); border-bottom: 1px solid var(--line); }
  .nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .header-actions a { display: none; }
  .hero, .video-story, .video-story.reverse, .framework-layout, .science-grid, .section-head, .account-grid, .product-page { grid-template-columns: 1fr; }
  .hero-copy { min-height: 62vh; }
  .hero .film-shell { min-height: 58vh; }
  .video-story.reverse .story-copy { order: 0; }
  .video-story .film-shell { min-height: 60vh; }
  .dosha-grid, .rec-grid, .result-grid { grid-template-columns: 1fr; }
  .dosha-card { min-height: 230px; }
  .carousel-track { grid-auto-columns: minmax(270px, 84vw); }
  .site-footer { grid-template-columns: 1fr; }
  .product-page img { position: static; }
}
@media (max-width: 560px) {
  .site-header { padding: 0 1rem; gap: .6rem; }
  .utility { font-size: .66rem; }
  .brand { font-size: 1.65rem; }
  .header-actions { gap: .3rem; }
  .hero-copy, .belonging, .framework, .shop-lane, .recommendations, .science, .page-intro, .member-benefits, .product-page { padding-left: 1rem; padding-right: 1rem; }
  .option-grid { grid-template-columns: 1fr; }
  .element-map { grid-template-columns: 1fr; }
  .element-map div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

/* v1.3 — one clear hero, three automatic dosha ranges, one daily sequence */
.v13-home { background: #f8f9f6; }
.v13-home .site-header { min-height: 82px; background: rgba(255,255,253,.97); }
.v13-hero { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); min-height: min(780px, calc(100vh - 82px)); background: #f8f9f6; border-bottom: 1px solid var(--line); }
.v13-hero-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(3.5rem, 6vw, 7rem) 4vw; }
.v13-hero-copy h1 { max-width: 7.6ch; margin-bottom: 1.8rem; font-family: var(--sans); font-size: clamp(4rem, 6.2vw, 7.25rem); line-height: .9; letter-spacing: -.07em; }
.v13-hero-copy h1 em { font-family: var(--serif); font-weight: 400; }
.v13-hero-copy .lede { margin-bottom: 0; font-size: clamp(1rem, 1.2vw, 1.2rem); }
.v13-hero-media { min-height: min(780px, calc(100vh - 82px)); }
.v13-pathways { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 2.8rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v13-pathways a { min-width: 0; padding: 1rem .7rem 1rem 0; text-decoration: none; border-right: 1px solid var(--line); }
.v13-pathways a + a { padding-left: .7rem; }
.v13-pathways a:last-child { border-right: 0; }
.v13-pathways strong, .v13-pathways small { display: block; }
.v13-pathways strong { font: 500 clamp(1.1rem, 1.5vw, 1.45rem)/1.1 var(--serif); }
.v13-pathways small { margin-top: .36rem; font-size: .66rem; }
.v13-journey { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 54px; align-items: center; padding: 0 4vw; background: #fff; border-bottom: 1px solid var(--line); font-size: .68rem; }
.v13-journey a { text-decoration: none; }
.v13-journey a:nth-child(2) { text-align: center; }
.v13-journey a:last-child { text-align: right; }

.dosha-chapter { padding: clamp(3.5rem, 5vw, 5.5rem) 4vw 1.5rem; scroll-margin-top: 82px; }
.dosha-chapter.vata { background: #eee8dc; }
.dosha-chapter.pitta { background: #e9efe8; }
.dosha-chapter.kapha { background: #e3efef; }
.dosha-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 4vw; margin-bottom: 1.8rem; }
.dosha-heading h2 { margin: 0; font-size: clamp(4.2rem, 6.4vw, 7.3rem); }
.dosha-heading > p { max-width: 38rem; margin: 0 0 .55rem; }
.dosha-stage { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: 640px; gap: 1rem; }
.dosha-film { min-height: 640px; }
.dosha-film-label { position: absolute; z-index: 2; top: 1rem; left: 1rem; padding: .5rem .65rem; color: white; background: rgba(16,35,25,.76); font-size: .62rem; font-weight: 700; letter-spacing: .12em; }
.dosha-product { position: relative; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); grid-template-rows: 1fr auto; min-width: 0; overflow: hidden; background: #fff; border: 1px solid rgba(36,49,43,.14); }
.product-motion-ghost { pointer-events: none; will-change: transform; }
.product-information { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 1.25rem 1.35rem 1.5rem; border-right: 1px solid var(--line); }
.product-kicker { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem; }
.product-step { margin: 0; font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.product-status { margin: 0; padding: .35rem .5rem; border: 1px solid var(--line); color: #4f5d56; font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-copy-block h3 { max-width: 11ch; margin: .45rem 0 1.2rem; color: #173d2c; font-size: clamp(2rem, 3vw, 3.6rem); }
.product-ingredients { margin: 0; font-size: .72rem; }
.product-lenses { margin: 0; }
.product-lenses div { padding: .72rem 0; border-top: 1px solid var(--line); }
.product-lenses dt { margin-bottom: .22rem; font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-lenses dd { margin: 0; color: #4f5d56; font-size: .76rem; line-height: 1.42; }
.product-focus { min-width: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fbfaf6; }
.product-focus img { width: 100%; height: 100%; max-height: 590px; padding: 0; object-fit: cover; object-position: center; transform: scale(1.04); transition: opacity .22s ease; }
.dosha-note { display: flex; justify-content: flex-end; margin: .8rem 0 0; font-size: .7rem; }

.routine-sequence { padding: clamp(3.8rem, 5.6vw, 6rem) 4vw; background: #e7ebe1; }
.routine-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; margin-bottom: 1.8rem; }
.routine-heading h2 { max-width: 9ch; margin-bottom: 0; font-family: var(--sans); font-size: clamp(3.3rem, 5.4vw, 6rem); line-height: .92; }
.routine-heading > p { max-width: 37rem; margin: 0 0 .35rem; }
.routine-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.routine-steps li { position: relative; min-height: 405px; display: flex; flex-direction: column; padding: 1.5rem; background: #fffdf8; }
.routine-steps li > span { position: absolute; top: 1rem; right: 1rem; font-size: .7rem; letter-spacing: .12em; }
.routine-steps .routine-art { position: relative; width: 78px; height: 78px; margin-bottom: 2.6rem; overflow: hidden; border-radius: 50%; background: #e8e6dc; }
.routine-steps .routine-art img { position: absolute; width: 300%; max-width: none; height: 300%; object-fit: cover; }
.routine-steps .routine-art.eat img { left: 0; top: 0; }
.routine-steps .routine-art.live img { left: -100%; top: -100%; }
.routine-steps .routine-art.apply img { left: -200%; top: 0; }
.routine-steps h3 { margin-bottom: 1rem; font-size: clamp(1.8rem, 2.5vw, 3rem); }
.routine-steps a { align-self: flex-start; margin-top: auto; }

.v13-framework { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; padding: clamp(4rem, 6vw, 7rem) 4vw; background: #fff; }
.v13-framework > img { aspect-ratio: 16/10; object-fit: cover; }
.v13-framework h2 { max-width: 9ch; }
.v13-framework p:not(.eyebrow) { max-width: 42rem; }
.element-line { display: grid; grid-template-columns: repeat(5,1fr); margin: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.element-line span { padding: 1rem .45rem; border-right: 1px solid var(--line); font-size: .72rem; font-weight: 650; }
.element-line span:last-child { border-right: 0; }

@media (max-width: 980px) {
  .v13-hero, .dosha-stage, .v13-framework { grid-template-columns: 1fr; }
  .v13-hero { min-height: 0; }
  .v13-hero-copy { min-height: 570px; }
  .v13-hero-media { min-height: 0; aspect-ratio: 16/10; }
  .dosha-stage { gap: .75rem; }
  .dosha-film { min-height: 0; aspect-ratio: 16/10; }
  .dosha-product { min-height: 590px; }
}

@media (max-width: 680px) {
  .v13-home .site-header { min-height: 74px; }
  .v13-home .nav { top: 74px; }
  .v13-hero-copy { min-height: auto; padding: 4rem 1rem 3rem; }
  .v13-hero-copy h1 { font-size: clamp(3.5rem, 17vw, 5.4rem); }
  .v13-pathways { grid-template-columns: 1fr; }
  .v13-pathways a, .v13-pathways a + a { padding: .8rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .v13-pathways a:last-child { border-bottom: 0; }
  .v13-journey { display: none; }
  .dosha-chapter { padding: 3rem 1rem 1rem; scroll-margin-top: 74px; }
  .dosha-heading, .routine-heading { grid-template-columns: 1fr; gap: 1rem; }
  .dosha-heading h2 { font-size: clamp(4rem, 21vw, 6rem); }
  .dosha-product { grid-template-columns: 1fr; grid-template-rows: auto minmax(330px, 58vw) auto; min-height: 0; }
  .product-information { min-height: 470px; border-right: 0; border-bottom: 1px solid var(--line); }
  .product-focus img { max-height: 430px; }
  .dosha-note { justify-content: flex-start; }
  .routine-sequence { padding: 3.2rem 1rem; }
  .routine-steps { grid-template-columns: 1fr; }
  .routine-steps li { min-height: 360px; }
  .v13-framework { padding: 3.5rem 1rem; }
  .element-line { grid-template-columns: 1fr; }
  .element-line span { border-right: 0; border-bottom: 1px solid var(--line); }
  .element-line span:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .product-focus img { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* v1.1 — tighter Field rhythm with generous white space */
body { background: #f7f8f5; }
.utility { display: none; }
.site-header { min-height: 86px; background: rgba(255,255,253,.96); }
.hero { min-height: calc(88vh - 86px); background: #f7f8f5; border-bottom: 1px solid var(--line); }
.hero-copy { padding-top: clamp(3rem, 6vw, 6rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.hero-copy h1 { font-family: var(--sans); font-size: clamp(3.4rem, 6vw, 6.8rem); line-height: .98; max-width: 8ch; }
.hero .film-shell { min-height: calc(88vh - 86px); }
.belonging, .framework, .shop-lane, .recommendations, .science, .page-intro, .member-benefits, .product-page { padding-top: clamp(4rem, 7vw, 7rem); padding-bottom: clamp(4rem, 7vw, 7rem); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { font-family: var(--sans); font-size: clamp(2.4rem, 4vw, 4.8rem); }
.dosha-grid { gap: 0; background: transparent; }
.dosha-card { min-height: 280px; background: #f7f8f5 !important; border: 1px solid var(--line); border-right: 0; }
.dosha-card:last-child { border-right: 1px solid var(--line); }
.dosha-card[aria-pressed="true"] { background: var(--field) !important; box-shadow: inset 0 -5px 0 var(--ink); }
.dosha-output { background: #f7f8f5; }
.framework { background: #fff; }
.video-story { min-height: 62vh; }
.video-story .film-shell { min-height: 62vh; }
.shop-lane { background: #f7f8f5; }
.product-card, .need-card, .rec-card { border-radius: 0; box-shadow: none; }
.page-intro { min-height: 46vh; }
.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; }
.text-link { display: inline-block; margin-top: 1.1rem; font-weight: 650; text-decoration: none; border-bottom: 1px solid currentColor; }
.light-link { color: white; }
.product-film-story { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); min-height: 0; padding: clamp(2rem, 4vw, 4rem); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.product-film-story > *, .product-film-story .story-copy, .mini-product-carousel { min-width: 0; }
.product-film-story.reverse { grid-template-columns: minmax(360px, .85fr) minmax(0, 1.15fr); }
.product-film-story .story-copy { padding: 0; }
.product-film-story .story-copy h2 { max-width: 10ch; font-family: var(--sans); font-size: clamp(2.1rem, 3.4vw, 4.2rem); }
.product-film-story .film-shell { min-height: 0; height: clamp(390px, 48vw, 650px); }
.mini-product-carousel { margin-top: 1.6rem; }
.mini-carousel-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mini-carousel-top button { width: 38px; height: 38px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.mini-product-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 72%); gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.mini-product-rail article { display: grid; grid-template-columns: 112px 1fr; min-height: 112px; background: rgba(255,255,255,.9); color: var(--ink); border: 1px solid rgba(36,49,43,.2); scroll-snap-align: start; }
.mini-product-rail img { width: 112px; height: 112px; object-fit: cover; }
.mini-product-rail article > div { display: flex; flex-direction: column; gap: .45rem; justify-content: center; padding: .8rem; }
.mini-product-rail small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.mini-product-rail strong { font: 500 1rem/1.12 var(--serif); }
.collection-intro { min-height: 55vh; color: var(--ink); background: #edf0e9; }
.collection-intro h1 { font-family: var(--sans); font-size: clamp(3rem, 6vw, 6.8rem); max-width: 11ch; }
.collection { padding: clamp(4rem, 7vw, 7rem) 4vw; }
.product-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.product-filters button { min-height: 42px; padding: .55rem .95rem; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.product-filters button[aria-pressed="true"] { background: var(--ink); color: white; }
.product-count { margin-bottom: 1.5rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.collection-card { position: relative; min-width: 0; background: #fff; }
.concept-label { position: absolute; z-index: 2; top: .75rem; left: .75rem; padding: .35rem .5rem; background: rgba(255,255,253,.9); border: 1px solid rgba(36,49,43,.25); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.collection-card img { aspect-ratio: 1; object-fit: cover; }
.collection-card > div { min-height: 220px; display: flex; flex-direction: column; padding: 1.25rem; }
.collection-card h3 { font-size: clamp(1.25rem, 1.7vw, 1.75rem); line-height: 1.08; }
.collection-card .eyebrow { font-size: .62rem; line-height: 1.45; }
.text-action { align-self: flex-start; margin-top: auto; padding: .6rem 0; border: 0; border-bottom: 1px solid currentColor; background: none; cursor: pointer; }
.collection-note { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; padding: clamp(4rem, 7vw, 7rem) 4vw; background: var(--field); }
.collection-note h2 { max-width: 8ch; }
.account-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 2rem 0; background: var(--line); }
.account-choice > div { padding: 1.25rem; background: #fff; }
.field-preview { min-height: 52px; display: flex; align-items: center; margin: .7rem 0; padding: 0 1rem; color: #69736d; border: 1px solid var(--line); background: #f8f8f5; }
@media (max-width: 860px) {
  .hero { min-height: auto; }
  .nav { top: 86px; background: #fff; }
  .hero-copy { min-height: 56vh; }
  .hero .film-shell { min-height: 62vh; }
  .product-film-story, .product-film-story.reverse { grid-template-columns: 1fr; }
  .product-film-story.reverse .story-copy { order: 0; }
  .product-film-story .film-shell { height: clamp(360px, 78vw, 580px); min-height: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .product-film-story { padding: 2rem 1rem; }
  .mini-product-rail { grid-auto-columns: 88%; }
  .mini-product-rail article { grid-template-columns: 96px 1fr; }
  .mini-product-rail img { width: 96px; height: 112px; }
  .product-grid { grid-template-columns: 1fr; }
  .collection-note, .account-choice { grid-template-columns: 1fr; }
  .collection-card > div { min-height: 180px; }
}

/* v1.2 — Field hero, complete 6+1 range and self-running rails */
.film-shell video { transform: scale(var(--film-scale, 1)); transition: transform .8s ease; }
.field-hero { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 0; align-items: center; background: #f7f8f5; border-bottom: 1px solid var(--line); }
.field-hero-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(3rem, 5.4vw, 6.5rem) 4vw; }
.field-hero-copy h1 { max-width: 8ch; margin-bottom: 1.6rem; font-family: var(--sans); font-size: clamp(3.8rem, 6.5vw, 7.4rem); line-height: .94; letter-spacing: -.065em; }
.field-hero-copy h1 em { font-family: var(--serif); font-weight: 400; }
.field-hero-copy .lede { font-size: clamp(1rem, 1.25vw, 1.25rem); }
.compact-pathways { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compact-pathways a { min-width: 0; padding: 1rem .7rem 1rem 0; text-decoration: none; border-right: 1px solid var(--line); }
.compact-pathways a + a { padding-left: .7rem; }
.compact-pathways a:last-child { border-right: 0; }
.compact-pathways strong, .compact-pathways small { display: block; }
.compact-pathways strong { font: 500 clamp(1.05rem, 1.5vw, 1.45rem)/1.1 var(--serif); }
.compact-pathways small { margin-top: .35rem; font-size: .68rem; }
.field-hero-film { width: 100%; margin: 0; background: #fff; }
.field-hero-film .film-shell { min-height: 0; aspect-ratio: 16 / 9; }
.field-hero-film .film-control { bottom: 1rem; }
.field-hero-film figcaption { display: flex; justify-content: space-between; gap: 1rem; min-height: 54px; padding: .8rem 1.2rem; background: rgba(255,255,253,.98); border-top: 1px solid var(--line); font-size: .74rem; }
.field-hero-film figcaption span, .field-hero-film figcaption small { display: block; }
.field-hero-film figcaption small { color: #68716c; }
.field-index { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 54px; padding: 0 4vw; align-items: center; background: #fff; border-bottom: 1px solid var(--line); font-size: .68rem; }
.field-index span:nth-child(2) { text-align: center; }
.field-index span:last-child { text-align: right; }

.framework { min-height: 74vh; display: flex; align-items: center; }
.framework-layout { width: 100%; }
.framework-visual img { box-shadow: 0 24px 70px rgba(26,44,34,.08); }

.range-lane { padding-top: clamp(4.5rem, 6vw, 6rem); padding-bottom: clamp(4.5rem, 7vw, 7rem); overflow: hidden; }
.range-lane .section-head { margin-bottom: 1.35rem; }
.range-lane .section-head h2 { max-width: 9ch; font-family: var(--serif); }
.range-carousel { --range-gap: 1rem; }
.range-carousel .carousel-actions { align-items: center; gap: .45rem; }
.range-carousel .carousel-actions .text-link { margin: 0 auto 0 0; }
.range-carousel [data-carousel-progress] { min-width: 3.8rem; font-size: .72rem; letter-spacing: .14em; }
.carousel-actions [data-carousel-toggle] { width: auto; min-width: 74px; padding: 0 .8rem; }
.range-track { grid-auto-columns: minmax(290px, 29vw); gap: var(--range-gap); padding-bottom: 1.2rem; }
.range-card { min-height: 510px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.range-card img { aspect-ratio: 1.08/1; object-fit: cover; background: #f4f2eb; }
.range-card > div { flex: 1; display: flex; flex-direction: column; padding: 1.1rem; }
.range-card span { font-size: .64rem; font-weight: 700; letter-spacing: .14em; }
.range-card h3 { margin: auto 0 .55rem; font-size: clamp(1.3rem, 1.45vw, 1.75rem); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.range-card p { margin-bottom: 0; }
.range-card.protect { background: #dfe8df; }

.recommendations { padding-top: clamp(5rem, 9vw, 9rem); padding-bottom: clamp(5rem, 9vw, 9rem); }
.recommendations .section-head h2 { max-width: 10ch; font-size: clamp(3rem, 5vw, 6rem); }
.rec-card { min-height: 420px; display: flex; flex-direction: column; padding: 1.8rem; }
.rec-card .routine-art { position: relative; width: 94px; height: 94px; margin-bottom: 3.5rem; overflow: hidden; border-radius: 50%; background: #e8e6dc; }
.rec-card .routine-art img { position: absolute; width: 300%; max-width: none; height: 300%; margin: 0; border-radius: 0; object-fit: cover; }
.rec-card.eat .routine-art img { left: 0; top: 0; }
.rec-card.live .routine-art img { left: -100%; top: -100%; }
.rec-card.apply .routine-art img { left: -200%; top: 0; }
.rec-card h3 { font-size: clamp(1.8rem, 2.6vw, 3rem); }
.rec-card a { margin-top: auto; align-self: flex-start; }

.bottle-focus::after { content: "Bottle study"; position: absolute; z-index: 2; left: 1rem; top: 1rem; padding: .45rem .65rem; color: white; background: rgba(13,36,25,.72); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 860px) {
  .field-hero { grid-template-columns: 1fr; }
  .field-hero-copy { min-height: 58vh; }
  .field-hero-film { min-height: 0; }
  .field-index { display: none; }
  .range-track { grid-auto-columns: minmax(270px, 72vw); }
  .range-card { min-height: 470px; }
}

@media (max-width: 560px) {
  .field-hero-copy { padding-left: 1rem; padding-right: 1rem; }
  .field-hero-copy h1 { font-size: clamp(3.5rem, 17vw, 5.5rem); }
  .compact-pathways { grid-template-columns: 1fr; }
  .compact-pathways a, .compact-pathways a + a { padding: .8rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .compact-pathways a:last-child { border-bottom: 0; }
  .field-hero-film { min-height: 0; }
  .range-track { grid-auto-columns: 84vw; }
  .range-card { min-height: 430px; }
  .range-carousel .carousel-actions { flex-wrap: wrap; }
  .range-carousel .carousel-actions .text-link { flex: 1 0 100%; margin-bottom: .5rem; }
}

/* v1.4 — guide, direct film controls and tactile product rails */
.v14-home .nav a,
.v14-home .header-actions a,
.v14-home .header-actions button { font-size: clamp(1rem, .95vw, 1.08rem); line-height: 1.2; }

.film-hitarea { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: white; cursor: pointer; }
.film-hitarea::after { content: "Ⅱ"; position: absolute; right: 1rem; bottom: 1rem; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.55); background: rgba(13,36,25,.55); opacity: 0; transform: translateY(4px); transition: opacity .22s ease, transform .22s ease, background .22s ease; font-size: .78rem; }
.film-hitarea[aria-pressed="false"]::after { content: "▶"; padding-left: 2px; }
.film-shell:hover .film-hitarea::after,
.film-hitarea:focus-visible::after { opacity: .92; transform: none; }
.film-hitarea:focus-visible { outline-offset: -6px; }
.dosha-film-label { z-index: 4; pointer-events: none; }

.dosha-guide { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; padding: clamp(4.5rem, 7vw, 7.5rem) 4vw; background: #fff; border-bottom: 1px solid var(--line); scroll-margin-top: 82px; }
.dosha-guide figure { margin: 0; }
.dosha-guide figure img { aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper); box-shadow: 0 22px 65px rgba(23,49,36,.08); }
.dosha-guide-copy { max-width: 48rem; }
.dosha-guide-copy h2 { max-width: 8ch; margin-bottom: 1.5rem; }
.dosha-guide-copy .lede { margin-bottom: 1.8rem; }
.dosha-guide-paths { margin: 0 0 1.2rem; border-top: 1px solid var(--line); }
.dosha-guide-paths a { display: grid; grid-template-columns: 2.4rem minmax(5rem,.55fr) 1fr; gap: .8rem; align-items: baseline; min-height: 58px; padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.dosha-guide-paths span { font-size: .67rem; letter-spacing: .12em; }
.dosha-guide-paths strong { font: 500 1.28rem/1 var(--serif); }
.dosha-guide-paths small { color: #59635e; }
.dosha-guide .button { margin-top: .6rem; }

.dosha-product { grid-template-rows: 1fr; touch-action: pan-y; cursor: grab; }
.dosha-product[data-dragging="true"] { cursor: grabbing; user-select: none; }
.dosha-product[data-dragging="true"] img { pointer-events: none; }
.dosha-overlay-controls { position: absolute; z-index: 5; top: .85rem; right: .85rem; display: flex; align-items: center; min-height: 44px; border: 1px solid rgba(36,49,43,.18); background: rgba(255,253,248,.78); opacity: .62; backdrop-filter: blur(10px); transition: opacity .2s ease, background .2s ease; }
.dosha-stage:hover .dosha-overlay-controls,
.dosha-stage:focus-within .dosha-overlay-controls { opacity: 1; background: rgba(255,253,248,.96); }
.dosha-overlay-controls span { min-width: 5.1rem; padding: 0 .8rem; font-size: .66rem; letter-spacing: .12em; }
.dosha-overlay-controls button { width: 44px; height: 44px; padding: 0; border: 0; border-left: 1px solid rgba(36,49,43,.18); background: transparent; cursor: pointer; }
.product-motion-ghost[inert] { pointer-events: none; }

.complete-range { background: #f8f9f6; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.complete-range .section-head { align-items: end; }
.complete-range .section-head h2 { max-width: 13ch; font-size: clamp(2.7rem,3.8vw,4.5rem); line-height: .98; letter-spacing: -.035em; }
.range-carousel-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.range-overlay-controls { display: flex; align-items: center; min-height: 46px; border: 1px solid var(--line); background: rgba(255,253,248,.8); opacity: .68; transition: opacity .2s ease, background .2s ease; }
.range-carousel:hover .range-overlay-controls,
.range-carousel:focus-within .range-overlay-controls { opacity: 1; background: #fffdf8; }
.range-overlay-controls span { min-width: 5.4rem; padding: 0 .85rem; font-size: .68rem; letter-spacing: .12em; }
.range-overlay-controls button { width: 46px; height: 46px; border: 0; border-left: 1px solid var(--line); background: transparent; cursor: pointer; }
.complete-range .range-track { padding-bottom: .3rem; scrollbar-width: none; cursor: grab; }
.complete-range .range-track::-webkit-scrollbar { display: none; }
.complete-range .range-track[data-dragging="true"] { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.complete-range .range-card a { align-self: flex-start; margin-top: 1rem; }

.routine-heading h2 { max-width: 13ch; font-size: clamp(3rem, 5vw, 5.6rem); }
.complete-range,
.routine-sequence { scroll-margin-top: 82px; }
.field-label { display: block; margin: .8rem 0; font-size: .78rem; font-weight: 700; }
input.field-preview { width: 100%; margin: .35rem 0 0; font: inherit; }

@media (max-width: 980px) {
  .dosha-guide { grid-template-columns: 1fr; }
  .dosha-guide figure { max-width: 780px; }
}

@media (max-width: 680px) {
  .dosha-guide { padding: 3.5rem 1rem; scroll-margin-top: 74px; }
  .dosha-guide-paths a { grid-template-columns: 2rem 4.2rem 1fr; }
  .dosha-guide-paths small { font-size: .7rem; }
  .dosha-product { grid-template-columns: 1fr; grid-template-rows: auto minmax(330px, 58vw); }
  .dosha-overlay-controls { top: .65rem; right: .65rem; }
  .complete-range .section-head { grid-template-columns: 1fr; }
  .range-carousel-top { align-items: flex-start; }
  .range-carousel-top > .text-link { max-width: 11rem; }
  .complete-range,
  .routine-sequence { scroll-margin-top: 74px; }
}

@media (hover: none) {
  .film-hitarea::after,
  .dosha-overlay-controls,
  .range-overlay-controls { opacity: .9; }
}

@media (prefers-reduced-motion: reduce) {
  .film-hitarea::after,
  .dosha-overlay-controls,
  .range-overlay-controls { transition: none; }
}

/* v1.5 — rotating, user-controlled ways into the shop */
.discovery-guide { --discovery-accent: var(--pitta); transition: background-color .25s ease; }
.discovery-guide[data-discovery-mode="dosha"] { --discovery-accent: var(--pitta); }
.discovery-guide[data-discovery-mode="skin"] { --discovery-accent: var(--water); }
.discovery-guide[data-discovery-mode="active"] { --discovery-accent: #d9c58f; }
.discovery-guide[data-discovery-mode="botanic"] { --discovery-accent: var(--kapha); }
.discovery-heading { max-width: 15ch !important; }
.discovery-answer { display: inline-flex; align-items: baseline; white-space: nowrap; }
.discovery-word { position: relative; display: inline-grid; grid-template-columns: minmax(0, auto) 1.3rem; align-items: baseline; width: fit-content; border-bottom: .06em solid currentColor; color: var(--forest); vertical-align: baseline; }
.discovery-word select { width: var(--mode-length, 7ch); max-width: none; padding: 0 1.15rem 0 0; border: 0; border-radius: 0; appearance: none; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; transition: width .18s ease; }
.discovery-guide[data-discovery-mode="active"] .discovery-answer { font-size: .76em; }
.discovery-word > span:not(.sr-only) { position: absolute; right: 0; bottom: .18em; font: 700 .25em/1 var(--sans); pointer-events: none; }
.discovery-word:focus-within { outline: 3px solid #07120c; outline-offset: 5px; box-shadow: 0 0 0 2px #fffdf8; }
.discovery-word select:focus-visible { outline: 0; box-shadow: none; }
.discovery-paths a { grid-template-columns: 2.4rem minmax(8rem,.6fr) 1fr 1.5rem; }
.discovery-paths a b { justify-self: end; font-size: 1rem; font-weight: 400; transform: translateX(-.3rem); opacity: 0; transition: opacity .18s ease, transform .18s ease; }
.discovery-paths a:hover b,
.discovery-paths a:focus-visible b { opacity: 1; transform: none; }
.discovery-paths a:hover strong,
.discovery-paths a:focus-visible strong { text-decoration: underline; text-underline-offset: .16em; }
.discovery-paths.is-changing { animation: discovery-arrive .22s ease both; }
.discovery-guide figure { position: relative; overflow: hidden; }
.discovery-guide figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, transparent 45%, color-mix(in srgb, var(--discovery-accent) 32%, transparent)); pointer-events: none; transition: background .25s ease; }

.applied-discovery { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin: -1.3rem 0 2rem; padding: 1.25rem 1.4rem; border: 1px solid var(--ink); background: var(--paper); }
.applied-discovery p { margin: 0; font: 500 clamp(1.3rem,2vw,2rem)/1.1 var(--serif); }
.applied-discovery p span { color: #59635e; }
.applied-discovery small { display: block; max-width: 48rem; margin-top: .45rem; color: #59635e; }
.collection-empty { padding: 1.2rem; border: 1px solid var(--line); background: var(--paper); }

@keyframes discovery-arrive {
  from { opacity: .35; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 680px) {
  .discovery-heading { max-width: 12ch !important; }
  .discovery-guide[data-discovery-mode="active"] .discovery-answer { font-size: .62em; }
  .discovery-paths a { grid-template-columns: 2rem minmax(6.5rem,.72fr) 1fr 1rem; gap: .55rem; }
  .discovery-paths a b { display: none; }
  .applied-discovery { align-items: flex-start; flex-direction: column; gap: .8rem; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .discovery-guide,
  .discovery-word select,
  .discovery-paths a b { transition: none; }
  .discovery-paths.is-changing { animation: none; }
}

@media (forced-colors: active) {
  .discovery-word { border-color: CanvasText; }
  .discovery-guide figure::after { display: none; }
  .applied-discovery { border-color: CanvasText; }
}

/* v1.6 — staged discovery picker, option rail and optional elemental motion */
.v16-home .discovery-guide { grid-template-columns: minmax(0,1.08fr) minmax(30rem,.92fr); gap: clamp(2.2rem,4.2vw,5rem); padding-left: max(4vw,calc((100vw - 1680px)/2)); padding-right: max(4vw,calc((100vw - 1680px)/2)); }
.v16-home .discovery-guide > * { min-width: 0; }
.v16-home .dosha-guide-copy { width: 100%; min-width: 0; max-width: 50rem; padding: clamp(1.4rem,2.2vw,2.2rem); border: 1px solid var(--line); background: color-mix(in srgb,#fff 94%,var(--discovery-accent)); box-shadow: 0 18px 54px rgba(23,49,36,.055); transition: background .45s ease; }
.v16-home .dosha-guide-copy > .eyebrow { height: 1.55em; overflow: hidden; line-height: 1.35; }
.v16-home .discovery-heading { max-width: 100% !important; margin-bottom: .9rem; font-size: clamp(3rem,4vw,4.2rem); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.v16-home .discovery-prompt { display: block; }
.v16-home .discovery-answer { position: relative; display: flex; width: fit-content; max-width: 100%; align-items: baseline; font-size: 1em; }
.v16-home .discovery-word { position: relative; display: inline-block; flex: 0 1 auto; width: auto; max-width: calc(100% - .85em); min-width: 0; border: 0; }
.v16-home .discovery-word select.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.discovery-picker-trigger { display: inline-flex; width: min(var(--mode-length,7ch),100%); min-width: 0; max-width: 100%; align-items: baseline; justify-content: space-between; gap: .18em; padding: 0 .05em .04em; border: 0; border-bottom: .055em solid currentColor; background: transparent; color: inherit; font: inherit; line-height: .95; letter-spacing: inherit; cursor: pointer; transition: width .28s cubic-bezier(.2,.8,.2,1),color .25s ease; }
.discovery-picker-trigger:hover .discovery-chevron { transform: translateY(.08em); }
.discovery-picker-trigger:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.discovery-chevron { margin-left: .12em; font: 700 .22em/1 var(--sans); transition: transform .2s ease; }
.discovery-question { flex: 0 0 auto; margin-left: .06em; }
.discovery-guide[data-discovery-label-mode="active"] .discovery-answer { font-size: 1em; }
.v16-home .discovery-word > .discovery-picker-menu:not(.sr-only) { position: absolute; z-index: 20; left: 0; right: auto; top: calc(100% + .25rem); bottom: auto; display: block; width: min(22rem,82vw); padding: .4rem; border: 1px solid var(--ink); background: rgba(255,253,248,.98); box-shadow: 0 20px 60px rgba(15,35,25,.18); backdrop-filter: blur(14px); font: initial; pointer-events: auto; }
.discovery-picker-menu[hidden] { display: none; }
.discovery-picker-menu button { display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: space-between; padding: .65rem .75rem; border: 0; background: transparent; color: var(--ink); font: 600 .84rem/1.15 var(--sans); text-align: left; cursor: pointer; }
.discovery-picker-menu button:hover,.discovery-picker-menu button:focus-visible { background: #edf0e8; outline: 0; }
.discovery-picker-menu button[aria-selected="true"]::after { content: "●"; color: var(--forest); font-size: .55rem; }
.v16-home .dosha-guide-copy .lede { min-height: 3.15em; margin-bottom: 1.15rem; font-size: clamp(1rem,1.05vw,1.15rem); line-height: 1.45; }
.discovery-options-shell { position: relative; width: 100%; min-width: 0; max-width: 100%; margin-bottom: 1rem; overflow: hidden; }
.v16-home .discovery-paths { display: grid; width: 100%; min-width: 0; max-width: 100%; grid-auto-flow: column; grid-auto-columns: minmax(12.5rem,42%); gap: .65rem; margin: 0; padding: .2rem .15rem .85rem 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: color-mix(in srgb,var(--forest) 30%,transparent) transparent; border: 0; }
.v16-home .discovery-paths::-webkit-scrollbar { height: 4px; }
.v16-home .discovery-paths::-webkit-scrollbar-thumb { border-radius: 9px; background: color-mix(in srgb,var(--forest) 30%,transparent); }
.v16-home .discovery-paths a { position: relative; display: grid; grid-template-columns: 2rem 1fr 1rem; grid-template-rows: auto 1fr; gap: .55rem .6rem; min-height: 9rem; padding: 1rem; border: 1px solid var(--line); background: rgba(255,255,255,.72); scroll-snap-align: start; }
.v16-home .discovery-paths a span { grid-row: 1 / 3; }
.v16-home .discovery-paths a strong { align-self: end; font-size: clamp(1.15rem,1.5vw,1.45rem); }
.v16-home .discovery-paths a small { grid-column: 2 / 4; line-height: 1.4; }
.v16-home .discovery-paths a b { grid-column: 3; grid-row: 1; opacity: .5; transform: none; }
.v16-home .discovery-paths[data-scrollable="true"] { grid-auto-columns: minmax(12rem,38%); padding-right: 2.5rem; background: linear-gradient(90deg,transparent calc(100% - 2.5rem),color-mix(in srgb,var(--discovery-accent) 18%,transparent)); }
.v16-home .discovery-paths[data-layout="pills"] { display: grid; grid-template-columns: repeat(auto-fit,minmax(8.8rem,1fr)); grid-auto-flow: row; grid-auto-columns: auto; gap: .55rem; padding: .15rem 0; overflow: visible; scroll-snap-type: none; scrollbar-width: none; background: transparent; }
.v16-home .discovery-paths[data-layout="pills"] a { display: flex; min-height: 3.15rem; align-items: center; justify-content: center; padding: .7rem .9rem; border-color: color-mix(in srgb,var(--discovery-accent) 52%,var(--line)); border-radius: 999px; background: color-mix(in srgb,#fff 86%,var(--discovery-accent)); text-align: center; transition: border-color .2s ease,background-color .2s ease,transform .2s ease; }
.v16-home .discovery-paths[data-layout="pills"] a:hover,.v16-home .discovery-paths[data-layout="pills"] a:focus-visible { border-color: var(--forest); background: color-mix(in srgb,#fff 68%,var(--discovery-accent)); transform: translateY(-1px); }
.v16-home .discovery-paths[data-layout="pills"] a span,.v16-home .discovery-paths[data-layout="pills"] a small,.v16-home .discovery-paths[data-layout="pills"] a b { display: none; }
.v16-home .discovery-paths[data-layout="pills"] a strong { align-self: auto; font: 650 .88rem/1.15 var(--sans); }
.discovery-rail-controls { display: inline-flex; align-items: center; min-height: 38px; margin-top: .45rem; border: 1px solid var(--line); background: rgba(255,255,255,.74); opacity: 0; transform: translateY(4px); transition: opacity .35s ease,transform .35s ease; }
.discovery-guide[data-carousel-active="true"] .discovery-rail-controls { opacity: 1; transform: none; }
.discovery-rail-controls[hidden] { display: none; }
.discovery-rail-controls span { min-width: 4.8rem; padding: 0 .7rem; font-size: .65rem; letter-spacing: .12em; }
.discovery-rail-controls button { width: 38px; height: 38px; padding: 0; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.discovery-rail-controls button:hover,.discovery-rail-controls button:focus-visible { background: #edf0e8; }
.discovery-art { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.discovery-art-frame { position: relative; overflow: hidden; background: var(--paper); box-shadow: 0 22px 65px rgba(23,49,36,.08); }
.v16-home .discovery-guide figure::after { display: none; }
.discovery-art-frame::after { content: ""; position: absolute; inset: -18%; background: radial-gradient(circle at 22% 45%,rgba(255,255,255,.5),transparent 28%),linear-gradient(118deg,transparent 30%,color-mix(in srgb,var(--discovery-accent) 20%,transparent) 52%,transparent 70%); mix-blend-mode: soft-light; pointer-events: none; transition: background .6s ease; }
.discovery-art-frame img { display: block; width: 100%; transform-origin: 50% 56%; will-change: transform; }
.discovery-light-wave { position: absolute; inset: 0; background: radial-gradient(ellipse at 38% 46%,rgba(255,255,255,.2),transparent 44%); opacity: .65; pointer-events: none; }
.discovery-art[data-art-motion="on"] .discovery-art-frame img { animation: elemental-drift 9s ease-in-out infinite alternate; }
.discovery-art[data-art-motion="on"] .discovery-art-frame::after { animation: light-wave 7s ease-in-out infinite alternate; }
.art-motion-toggle { align-self: flex-start; margin-top: .7rem; padding: .35rem 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: #59635e; font: 600 .68rem/1.2 var(--sans); letter-spacing: .06em; cursor: pointer; }
@keyframes elemental-drift { from { transform: scale(1.015) translate3d(-.35%,.15%,0) rotate(-.12deg); } to { transform: scale(1.035) translate3d(.45%,-.25%,0) rotate(.12deg); } }
@keyframes light-wave { from { transform: translate3d(-3%,1%,0) scale(1); opacity: .45; } to { transform: translate3d(3%,-1%,0) scale(1.04); opacity: .8; } }

@media (max-width: 980px) {
  .v16-home .discovery-guide { grid-template-columns: 1fr; }
  .v16-home .discovery-art { max-width: none; }
  .v16-home .dosha-guide-copy { max-width: none; }
}
@media (max-width: 680px) {
  .v16-home .dosha-guide-copy { padding: 1.1rem; }
  .v16-home .dosha-guide-copy > .eyebrow { height: 2.7em; }
  .v16-home .discovery-heading { font-size: clamp(1.75rem,8.5vw,2.8rem); line-height: 1.08; }
  .v16-home .discovery-guide[data-discovery-label-mode="active"] .discovery-answer { font-size: 1em; }
  .v16-home .discovery-paths[data-scrollable="true"] { grid-auto-columns: minmax(13rem,82%); }
  .v16-home .discovery-paths[data-layout="pills"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v16-home .dosha-guide-copy .lede { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .discovery-picker-trigger,.discovery-rail-controls,.discovery-art-frame img,.discovery-art-frame::after,.v16-home .discovery-paths[data-layout="pills"] a { transition: none; animation: none !important; }
}
@media (forced-colors: active) {
  .discovery-picker-trigger,.discovery-picker-menu,.v16-home .discovery-paths a,.discovery-rail-controls { border-color: CanvasText; }
  .discovery-art-frame::after,.discovery-light-wave { display: none; }
}

/* v1.7 — guided opening tour before the established discovery cycle */
.v17-home .discovery-picker-menu:not([hidden]) { transform-origin: top left; animation: discovery-menu-open .3s cubic-bezier(.2,.8,.2,1) both; }
.v17-home .discovery-picker-menu button[data-tour-active="true"] { background: #e8ede4; color: var(--forest); }
.v17-home .discovery-picker-menu button[data-tour-active="true"]::after { content: "→"; color: currentColor; font-size: .85rem; }
.v17-home .discovery-guide[data-menu-tour="running"] .discovery-picker-trigger { color: var(--forest); }
@keyframes discovery-menu-open { from { opacity: 0; transform: translateY(-.45rem) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .v17-home .discovery-picker-menu:not([hidden]) { animation: none; }
}

/* v1.7 — restrained CTA prompts and a continuous desktop range reel */
[data-cta-attention] { position: relative; transform-origin: 50% 60%; }
.cta-attention-arrow-glyph { display: inline-block; margin-left: .12em; }
[data-cta-attention="sway"].is-cta-active { animation: cta-soft-sway .9s cubic-bezier(.33,.7,.35,1) both; }
[data-cta-attention="breathe"].is-cta-active { animation: cta-soft-breathe 1.05s ease-in-out both; }
[data-cta-attention="arrow"].is-cta-active .cta-attention-arrow-glyph { animation: cta-arrow-nudge 1s ease-in-out both; }
[data-cta-attention].is-cta-active:hover,
[data-cta-attention].is-cta-active:focus,
[data-cta-attention].is-cta-active:focus-visible { animation-play-state: paused; }
[data-cta-attention="arrow"].is-cta-active:hover .cta-attention-arrow-glyph,
[data-cta-attention="arrow"].is-cta-active:focus .cta-attention-arrow-glyph,
[data-cta-attention="arrow"].is-cta-active:focus-visible .cta-attention-arrow-glyph { animation-play-state: paused; }

.range-track[data-reel-ready="true"] [data-reel-clone] { display: none; }
.range-arrow-glyph { display: inline-block; }
.range-overlay-controls button:first-of-type .range-arrow-glyph { --range-arrow-direction: -1; animation-delay: -2.7s; }
.range-overlay-controls button:last-of-type .range-arrow-glyph { --range-arrow-direction: 1; }
.range-carousel:hover .range-arrow-glyph,
.range-carousel:focus-within .range-arrow-glyph,
.range-overlay-controls button:hover .range-arrow-glyph,
.range-overlay-controls button:focus-visible .range-arrow-glyph { animation-play-state: paused; }

@keyframes cta-soft-sway {
  0%, 36%, 100% { transform: translateX(0) rotate(0); }
  46% { transform: translateX(-.8px) rotate(-.08deg); }
  56% { transform: translateX(.9px) rotate(.08deg); }
  66% { transform: translateX(-.45px) rotate(-.04deg); }
  76% { transform: translateX(.35px) rotate(.03deg); }
}
@keyframes cta-soft-breathe {
  0%, 30%, 100% { transform: translateY(0) scale(1); box-shadow: none; }
  58% { transform: translateY(-1px) scale(1.008); box-shadow: 0 8px 20px rgba(23,49,36,.1); }
}
@keyframes cta-arrow-nudge {
  0%, 34%, 100% { transform: translateX(0); }
  58% { transform: translateX(2px); }
  74% { transform: translateX(1px); }
}
@keyframes range-arrow-cue {
  0%, 12%, 24%, 100% { transform: translateX(0); }
  18% { transform: translateX(calc(var(--range-arrow-direction) * 2px)); }
}

@media (min-width: 861px) {
  .range-track[data-reel-ready="true"] { scroll-snap-type: none; scrollbar-width: none; }
  .range-track[data-reel-ready="true"]::-webkit-scrollbar { display: none; }
  .range-track[data-reel-ready="true"] [data-reel-clone] { display: flex; }
  .range-arrow-glyph { animation: range-arrow-cue 5.4s ease-in-out infinite; }
}

@media (prefers-reduced-motion: reduce) {
  [data-cta-attention].is-cta-active,
  [data-cta-attention="arrow"].is-cta-active .cta-attention-arrow-glyph,
  .range-arrow-glyph { animation: none !important; }
  .range-track[data-reel-ready="true"] [data-reel-clone] { display: none; }
}

/* v1.9 working Vēda wordmark demo. Selected Type Lab recipe, scaled for navigation. */
@font-face{font-family:"Veda Demo Brush";src:url("../fonts/CaveatBrush.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
.brand-ink-defs{position:absolute;overflow:hidden;pointer-events:none}
.brand{display:inline-flex;align-items:center;min-height:44px}
.brand-wordmark{display:inline-block;font-family:"Veda Demo Brush",cursive;font-size:2.65rem;font-weight:400;line-height:1.05;letter-spacing:-.007em;font-kerning:normal;white-space:nowrap;transform:scale(.975,1.02) skewX(4deg);transform-origin:left center;filter:url(#veda-brand-ink)}
.footer-brand .brand-wordmark{font-size:4.25rem}
@media(max-width:600px){.site-header .brand-wordmark{font-size:2.25rem}.footer-brand .brand-wordmark{font-size:3.5rem}}
