:root{--ink:#241714;--muted:#6d5a55;--paper:#fff8f1;--panel:#fffdf9;--wine:#5a1730;--rose:#ad425c;--gold:#d1944a;--leaf:#687b5b;--blue:#426e7f;--line:#ead8cb;--soft:#f5e8de;--shadow:0 28px 80px rgba(36,23,20,.16)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--paper);color:var(--ink)}body:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 12% 10%,rgba(209,148,74,.12),transparent 28%),radial-gradient(circle at 86% 18%,rgba(173,66,92,.10),transparent 26%),linear-gradient(180deg,rgba(255,255,255,.45),transparent);z-index:-1}a{color:inherit}.topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:14px clamp(18px,4vw,56px);border-bottom:1px solid var(--line);background:rgba(255,248,241,.9);backdrop-filter:blur(18px)}.brand{font-family:Georgia,serif;font-weight:900;color:var(--wine);text-decoration:none}nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap}nav a{text-decoration:none;color:var(--muted);font-size:14px;font-weight:800}nav a.active,nav a:hover{color:var(--wine)}.eyebrow{margin:0 0 11px;color:var(--rose);text-transform:uppercase;font-size:12px;font-weight:950;letter-spacing:0}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;margin:0;line-height:1.05;color:var(--wine)}h1{font-size:clamp(44px,7vw,86px)}h2{font-size:clamp(31px,4.4vw,58px)}h3{font-size:25px}.lead{max-width:760px;color:var(--muted);font-size:clamp(18px,2vw,22px);line-height:1.58;margin:22px 0 0}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:0;border-radius:8px;font-weight:950;text-decoration:none;cursor:pointer}.primary{background:var(--wine);color:#fff;box-shadow:0 12px 30px rgba(90,23,48,.25)}.secondary{background:rgba(255,255,255,.72);color:var(--wine);border:1px solid var(--line)}.full{width:100%}.hero-actions,.chapter-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}.lab-hero{min-height:calc(100vh - 60px);display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.95fr);gap:clamp(28px,5vw,76px);align-items:center;padding:54px clamp(18px,6vw,90px) 66px;border-bottom:1px solid var(--line)}.learning-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:28px;max-width:650px}.learning-stats div{background:rgba(255,255,255,.82);border:1px solid var(--line);border-radius:8px;padding:15px;box-shadow:0 10px 30px rgba(36,23,20,.06)}.learning-stats strong{display:block;color:var(--wine);font-size:24px}.learning-stats span{color:var(--muted);font-size:13px}.scene-wrap{position:relative;min-height:560px;border:1px solid var(--line);background:radial-gradient(circle at 50% 12%,#fff 0,#f6e8dc 48%,#ead6c7 100%);box-shadow:var(--shadow);overflow:hidden;border-radius:8px}.scene-wrap:before{content:"";position:absolute;inset:24px;border:1px solid rgba(90,23,48,.18);border-radius:50%;animation:pulseRing 5s ease-in-out infinite}.scene-wrap:after{content:"";position:absolute;inset:64px;border:1px dashed rgba(209,148,74,.35);border-radius:50%;animation:spin 20s linear infinite}#scentCanvas{width:100%;height:560px;display:block}.scene-caption{position:absolute;left:18px;right:18px;bottom:18px;display:flex;gap:12px;justify-content:space-between;align-items:center;padding:14px 16px;background:rgba(255,255,255,.82);border:1px solid var(--line);border-radius:8px;backdrop-filter:blur(12px)}.scene-caption span{color:var(--muted);font-size:13px}.chapter-index,.module-section,.blend-section,.guidebook-section,.diagram-section,.practice-section,.chapter-body,.chapter-nav{padding:78px clamp(18px,6vw,90px);border-bottom:1px solid var(--line)}.section-head{max-width:900px;margin-bottom:30px}.section-head p{color:var(--muted);line-height:1.6}.chapter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.chapter-card{position:relative;min-height:270px;padding:24px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,250,244,.78));box-shadow:0 18px 50px rgba(36,23,20,.08);text-decoration:none;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}.chapter-card:before{content:"";position:absolute;right:-48px;top:-48px;width:150px;height:150px;border-radius:50%;background:var(--tone);opacity:.18}.chapter-card:after{content:"";position:absolute;right:26px;bottom:26px;width:64px;height:64px;border:1px solid var(--accent);border-radius:50%;opacity:.55}.chapter-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.chapter-card span{font-weight:950;color:var(--accent)}.chapter-card p{color:var(--muted);line-height:1.55}.chapter-card b{position:absolute;left:24px;bottom:22px;color:var(--wine)}.chapter-hero{position:relative;min-height:calc(100vh - 60px);display:grid;place-items:start center;align-content:center;text-align:center;overflow:hidden;padding:70px clamp(18px,6vw,96px);background:linear-gradient(180deg,#fff8f1,#f0dfd4);border-bottom:1px solid var(--line)}.chapter-canvas{position:absolute;inset:0;width:100%;height:100%;opacity:.95}.chapter-kicker{position:relative;z-index:1;color:var(--chapter-accent);font-weight:950;text-transform:uppercase;margin-bottom:14px}.chapter-hero h1,.chapter-subtitle,.chapter-promise,.chapter-actions{position:relative;z-index:1}.chapter-subtitle{font-family:Georgia,serif;font-size:clamp(22px,3vw,34px);color:var(--chapter);margin:16px 0 0}.chapter-promise{max-width:820px;color:var(--muted);font-size:20px;line-height:1.6;margin:22px auto 0}.chapter-body{display:grid;grid-template-columns:300px 1fr;gap:34px;align-items:start}.path-card{position:sticky;top:88px;background:rgba(255,255,255,.85);border:1px solid var(--line);border-radius:8px;padding:20px;box-shadow:0 18px 46px rgba(36,23,20,.08)}.path-card a{display:grid;grid-template-columns:40px 1fr;gap:10px;text-decoration:none;color:var(--ink);padding:12px 0;border-bottom:1px solid var(--line);font-weight:850}.path-card a span{color:var(--chapter-accent)}.mini-orbit{position:relative;height:120px;margin-top:18px;border-radius:8px;background:radial-gradient(circle,rgba(255,255,255,.8),rgba(209,148,74,.12))}.mini-orbit span{position:absolute;width:16px;height:16px;border-radius:50%;background:var(--chapter);left:50%;top:50%;animation:orbit 5s linear infinite}.mini-orbit span:nth-child(2){animation-duration:7s;background:var(--chapter-accent)}.mini-orbit span:nth-child(3){animation-duration:9s;background:var(--leaf)}.lesson-stack{display:grid;gap:18px}.deep-lesson{display:grid;grid-template-columns:70px 1fr;gap:20px;background:rgba(255,255,255,.82);border:1px solid var(--line);border-radius:8px;padding:26px;box-shadow:0 16px 50px rgba(36,23,20,.06)}.lesson-number{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:var(--chapter);color:white;font-weight:950}.deep-lesson p{color:var(--muted);line-height:1.7;font-size:17px}.concept-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.concept-grid article{min-height:220px;background:rgba(255,255,255,.86);border:1px solid var(--line);border-radius:8px;padding:22px;position:relative;overflow:hidden}.concept-glyph{width:58px;height:58px;border-radius:50%;border:1px solid var(--chapter-accent);background:radial-gradient(circle,var(--chapter-accent),transparent 62%);margin-bottom:20px;animation:pulseRing 4s ease-in-out infinite}.concept-grid p{color:var(--muted);line-height:1.55}.practice-section{display:grid;grid-template-columns:1fr minmax(280px,420px);gap:28px;align-items:center;background:#f2e4da}.practice-section p{color:var(--muted);line-height:1.65;font-size:18px}.practice-box{display:grid;gap:10px;background:var(--wine);color:white;border-radius:8px;padding:24px;box-shadow:var(--shadow)}.practice-box span{color:#f4d9ca;line-height:1.6}.chapter-nav{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.pyramid-layout{display:grid;grid-template-columns:minmax(280px,520px) 1fr;gap:38px;align-items:center}.pyramid{display:grid;gap:10px}.pyramid-layer{height:110px;border:1px solid var(--line);color:#fff;font:inherit;font-weight:950;cursor:pointer;clip-path:polygon(50% 0,100% 100%,0 100%);display:grid;place-items:center;background:var(--rose);transition:transform .25s ease,filter .25s ease}.pyramid-layer span{font-size:24px}.pyramid-layer small{font-size:12px}.pyramid-layer.heart{background:var(--gold);width:82%;justify-self:center}.pyramid-layer.base{background:var(--leaf);width:100%;clip-path:polygon(12% 0,88% 0,100% 100%,0 100%)}.pyramid-layer.active{transform:translateY(-4px);filter:saturate(1.25);box-shadow:0 18px 30px rgba(36,23,20,.14)}.lesson-panel,.checkout-card,.quiz{background:#fff;border:1px solid var(--line);border-radius:8px;padding:26px;box-shadow:var(--shadow)}.lesson-panel p,.guide-copy p,.quiz-question{color:var(--muted);line-height:1.65}.meter{height:12px;background:#f1dfd4;border-radius:999px;overflow:hidden;margin:22px 0 8px}.meter span{display:block;height:100%;background:linear-gradient(90deg,var(--rose),var(--gold));border-radius:999px}.module-section.alt{background:#f2e7dd}.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.chip{border:1px solid var(--line);background:#fff;color:var(--wine);border-radius:999px;min-height:38px;padding:0 16px;font-weight:900;cursor:pointer}.chip.active{background:var(--wine);color:#fff}.ingredient-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.ingredient{background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px;min-height:220px;position:relative;overflow:hidden}.ingredient:before{content:"";position:absolute;right:-34px;top:-34px;width:86px;height:86px;border-radius:50%;background:var(--tone);opacity:.2}.ingredient p{color:var(--muted);line-height:1.55}.tag{display:inline-block;margin-top:8px;padding:6px 9px;border-radius:999px;background:#f7eee7;color:var(--wine);font-size:12px;font-weight:900}.blend-section{background:#fff}.blend-lab{display:grid;grid-template-columns:minmax(280px,410px) 1fr;gap:34px;align-items:center}.controls{display:grid;gap:18px}.controls label{display:grid;gap:8px;font-weight:950;color:var(--wine)}input[type=range]{accent-color:var(--wine)}.accord-visual{min-height:360px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(135deg,#fffaf5,#eef3ec);position:relative;overflow:hidden}.orb{position:absolute;border-radius:50%;filter:blur(.2px);transition:all .25s ease}.orb.citrus{background:#f0b84f}.orb.floral{background:#bc5570}.orb.amber{background:#7a4634}.accord-label{position:absolute;left:18px;bottom:18px;background:rgba(255,255,255,.85);border:1px solid var(--line);border-radius:8px;padding:12px 14px;font-weight:950;color:var(--wine)}.guidebook-section{display:grid;grid-template-columns:1fr minmax(330px,440px);gap:42px;align-items:start;background:#efe1d7}.value-list{display:grid;gap:12px;margin:24px 0 0;padding:0;list-style:none}.value-list li{padding:14px 16px;background:rgba(255,255,255,.72);border:1px solid var(--line);border-radius:8px}.checkout-card label{display:grid;gap:8px;font-weight:950;margin-bottom:15px}.checkout-card input{min-height:46px;border:1px solid #dcc8bd;border-radius:8px;padding:0 12px;font:inherit}.checkbox{grid-template-columns:20px 1fr!important;align-items:start;color:var(--muted);font-weight:500!important}.checkbox input{min-height:18px;margin-top:3px}.price{font-size:38px;font-weight:950;color:var(--wine);margin:12px 0 20px}.fine,.form-message{font-size:13px;color:var(--muted)}footer{display:flex;justify-content:space-between;gap:20px;padding:24px clamp(18px,6vw,90px);color:var(--muted);border-top:1px solid var(--line)}.status-page{min-height:100vh;display:grid;place-items:center;padding:24px}.status-card{width:min(100%,640px);background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);padding:30px}.order-box{background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:16px;margin:20px 0}.admin-wrap{padding:40px clamp(18px,5vw,72px)}.admin-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line)}.admin-table th,.admin-table td{padding:12px;border-bottom:1px solid var(--line);text-align:left;font-size:14px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulseRing{0%,100%{transform:scale(1);opacity:.55}50%{transform:scale(1.06);opacity:.95}}@keyframes orbit{from{transform:rotate(0deg) translateX(42px) rotate(0deg)}to{transform:rotate(360deg) translateX(42px) rotate(-360deg)}}@media(max-width:1120px){.chapter-grid,.ingredient-grid,.concept-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:980px){.lab-hero,.pyramid-layout,.blend-lab,.guidebook-section,.chapter-body,.practice-section{grid-template-columns:1fr}.path-card{position:relative;top:auto}.scene-wrap{min-height:430px}#scentCanvas{height:430px}.quiz-options{grid-template-columns:1fr}}@media(max-width:640px){nav{gap:10px}.topbar{align-items:flex-start}.learning-stats,.chapter-grid,.ingredient-grid,.concept-grid{grid-template-columns:1fr}.scene-caption{display:grid}.pyramid-layer{height:92px}.module-section,.blend-section,.guidebook-section,.chapter-index,.chapter-body,.diagram-section,.practice-section,.chapter-nav{padding-block:56px}.deep-lesson{grid-template-columns:1fr}.chapter-hero{text-align:left;place-items:start}.chapter-actions{justify-content:flex-start}}
/* Premium academy refinements */
.luxury-hero{position:relative;min-height:calc(100vh - 60px);display:grid;grid-template-columns:minmax(0,1.02fr) minmax(380px,.98fr);gap:clamp(34px,6vw,96px);align-items:center;padding:68px clamp(18px,6vw,96px) 78px;border-bottom:1px solid var(--line);overflow:hidden;background:linear-gradient(115deg,#fff8f1 0%,#f7ebe1 48%,#efe0d2 100%)}
.luxury-hero:before{content:"";position:absolute;inset:32px;border:1px solid rgba(90,23,48,.12);pointer-events:none}.luxury-hero:after{content:"";position:absolute;width:520px;height:520px;right:8%;top:8%;border-radius:50%;border:1px solid rgba(209,162,79,.32);box-shadow:inset 0 0 0 80px rgba(255,255,255,.12);animation:spin 38s linear infinite;pointer-events:none}.luxury-hero .lab-copy{position:relative;z-index:2}.luxury-hero h1{max-width:920px;letter-spacing:0}.premium-scene{z-index:2;border-radius:0;box-shadow:0 34px 90px rgba(90,23,48,.20);background:radial-gradient(circle at 50% 12%,#fffefb 0,#f3dfcf 42%,#d8b7a4 100%)}.hero-ornament{position:absolute;left:clamp(18px,6vw,96px);bottom:36px;width:180px;height:1px;background:linear-gradient(90deg,var(--wine),transparent)}
.manifesto{padding:78px clamp(18px,6vw,96px);background:#2b1719;color:#f8e8dc;border-bottom:1px solid rgba(255,255,255,.12)}.manifesto h2{max-width:1060px;color:#f9e5d7;font-size:clamp(34px,4.8vw,64px)}.manifesto-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:34px}.manifesto-grid article{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);padding:22px;min-height:150px}.manifesto-grid strong{display:block;font-family:Georgia,serif;font-size:28px;color:#d8a24f;margin-bottom:12px}.manifesto-grid span{color:#efd2c0;line-height:1.6}.premium-card{min-height:330px;background:linear-gradient(160deg,rgba(255,255,255,.98),rgba(248,235,224,.82));padding:26px}.premium-card span{font-size:14px;letter-spacing:0}.premium-card h3{margin-top:18px;font-size:28px}.premium-card em{display:block;color:var(--muted);font-style:normal;font-size:13px;line-height:1.45;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.premium-card b{font-size:14px;text-transform:uppercase;letter-spacing:0}.premium-guide{background:linear-gradient(135deg,#efe1d7,#f9f0e8)}.premium-guide .guide-copy{max-width:850px}.premium-chapter:before{content:"";position:absolute;inset:30px;border:1px solid rgba(90,23,48,.14);z-index:1;pointer-events:none}.premium-chapter h1{max-width:1120px;text-shadow:0 1px 0 rgba(255,255,255,.3)}.premium-body{background:linear-gradient(180deg,#fff8f1,#f7eadf)}.deep-lesson{position:relative;overflow:hidden}.deep-lesson:after{content:none!important;display:none!important}.deep-lesson h2{font-size:clamp(28px,3.2vw,44px)}.path-card{border-top:4px solid var(--chapter)}.chapter-index .section-head h2{max-width:1050px}.chapter-index .section-head p{max-width:860px;font-size:18px}.chapter-card:nth-child(odd){transform:translateY(14px)}.chapter-card:nth-child(odd):hover{transform:translateY(8px)}@media(max-width:980px){.luxury-hero{grid-template-columns:1fr}.luxury-hero:after{right:-180px;top:140px}.manifesto-grid{grid-template-columns:1fr}.chapter-card:nth-child(odd){transform:none}.chapter-card:nth-child(odd):hover{transform:translateY(-6px)}}

/* Standalone chapter content system */
.standalone-intro{display:grid;grid-template-columns:minmax(280px,.72fr) 1fr;gap:44px;padding:76px clamp(18px,6vw,90px);background:#fffdf9;border-bottom:1px solid var(--line)}.standalone-intro h2{max-width:650px}.intro-copy{display:grid;gap:18px}.intro-copy p{margin:0;color:var(--muted);font-size:18px;line-height:1.78}.standalone-lesson{align-items:start}.standalone-lesson p{margin:12px 0 0}.standalone-lesson p:first-of-type{font-size:18px;color:#4b332e}.chapter-tools{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:76px clamp(18px,6vw,90px);background:linear-gradient(135deg,#fff8f1,#f1e1d6);border-bottom:1px solid var(--line)}.tool-panel{background:rgba(255,255,255,.88);border:1px solid var(--line);border-radius:8px;padding:28px;box-shadow:0 18px 48px rgba(36,23,20,.08)}.tool-panel.darker{background:#2b1719;color:#f8e8dc;border-color:rgba(255,255,255,.12)}.tool-panel.darker h2{color:#f8e8dc}.tool-panel ul{margin:20px 0 0;padding:0;list-style:none;display:grid;gap:12px}.tool-panel li{position:relative;padding:14px 14px 14px 42px;background:#fff8f1;border:1px solid var(--line);border-radius:8px;color:var(--ink);line-height:1.45}.tool-panel li:before{content:"";position:absolute;left:14px;top:17px;width:14px;height:14px;border-radius:50%;background:var(--chapter-accent);box-shadow:0 0 0 4px rgba(209,162,79,.18)}.tool-panel dl{margin:18px 0 0;padding:16px;border:1px solid rgba(255,255,255,.15);border-radius:8px;background:rgba(255,255,255,.06)}.tool-panel dt{font-weight:950;color:var(--chapter-accent);margin-bottom:6px}.tool-panel dd{margin:0;color:#efd2c0;line-height:1.55}.standalone-lesson h2{font-size:clamp(26px,3vw,40px)}.standalone-lesson .lesson-number{margin-top:4px}.path-card a{line-height:1.25}.chapter-kicker{background:rgba(255,255,255,.62);border:1px solid var(--line);border-radius:999px;padding:8px 14px}.chapter-promise{background:rgba(255,255,255,.58);border:1px solid var(--line);border-radius:8px;padding:18px 20px;backdrop-filter:blur(10px)}@media(max-width:980px){.standalone-intro,.chapter-tools{grid-template-columns:1fr}}@media(max-width:640px){.standalone-intro,.chapter-tools{padding-block:54px}.intro-copy p{font-size:16px}.tool-panel{padding:20px}}

.field-lab{padding:76px clamp(18px,6vw,90px);background:#fffdf9;border-bottom:1px solid var(--line)}.field-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}.field-grid article{background:rgba(255,255,255,.9);border:1px solid var(--line);border-radius:8px;padding:24px;box-shadow:0 16px 44px rgba(36,23,20,.07)}.field-grid h3{font-size:25px}.field-grid ul{margin:18px 0 0;padding:0;list-style:none;display:grid;gap:11px}.field-grid li{position:relative;padding-left:24px;color:var(--muted);line-height:1.55}.field-grid li:before{content:"";position:absolute;left:0;top:.55em;width:9px;height:9px;border-radius:50%;background:var(--chapter-accent)}.premium-note{background:linear-gradient(160deg,var(--chapter),#2b1719)!important;color:#fff}.premium-note h3{color:#fff}.premium-note p{color:#f4d9ca;line-height:1.7;font-size:17px}@media(max-width:980px){.field-grid{grid-template-columns:1fr}}@media(max-width:640px){.field-lab{padding-block:54px}}

/* Global removal of cheap bubble motif */
.deep-lesson:after,.chapter-card:after,.scene-wrap:before,.scene-wrap:after{content:none!important;display:none!important}.lesson-number{box-shadow:none!important}
/* Chapter 1 premium enrichment */
.history-hero .chapter-promise{max-width:900px}.history-map-section,.history-diagram-section{padding:76px clamp(18px,6vw,90px);background:#fffdf9;border-bottom:1px solid var(--line)}.history-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;position:relative}.history-timeline:before{content:"";position:absolute;left:6%;right:6%;top:34px;height:1px;background:linear-gradient(90deg,transparent,var(--chapter-accent),transparent)}.history-timeline article{position:relative;background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:8px;padding:24px;min-height:230px;box-shadow:0 18px 48px rgba(36,23,20,.08);overflow:hidden}.history-timeline article:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:var(--chapter)}.history-timeline span{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--chapter);color:#fff;font-weight:950;margin-bottom:22px}.history-timeline h3{font-size:26px}.history-timeline p{color:var(--muted);line-height:1.58}.history-body .lesson-stack{gap:20px}.history-lesson{border-left:4px solid var(--chapter-accent);background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,251,247,.88))}.history-lesson strong{color:var(--chapter)}.meaning-diagram{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow)}.meaning-diagram div{min-height:190px;padding:28px;border-right:1px solid var(--line);display:grid;align-content:center;gap:10px;position:relative;overflow:hidden}.meaning-diagram div:last-child{border-right:0}.meaning-diagram strong{font-family:Georgia,serif;font-size:32px;color:var(--chapter)}.meaning-diagram span{color:var(--muted);line-height:1.5}.history-intro{background:linear-gradient(135deg,#fffdf9,#f6e8de)}.history-path{border-top-color:var(--chapter-accent)}@media(max-width:1100px){.history-timeline,.meaning-diagram{grid-template-columns:repeat(2,1fr)}.history-timeline:before{display:none}.meaning-diagram div:nth-child(2){border-right:0}.meaning-diagram div{border-bottom:1px solid var(--line)}}@media(max-width:640px){.history-timeline,.meaning-diagram{grid-template-columns:1fr}.meaning-diagram div{border-right:0}.history-map-section,.history-diagram-section{padding-block:54px}}

/* Lakshmi sacred fragrance chapter diagram */
.lakshmi-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,480px);gap:42px;align-items:center;padding:82px clamp(18px,6vw,90px);background:linear-gradient(135deg,#fffdf9,#f4e6db);border-bottom:1px solid var(--line)}.lakshmi-copy p{color:var(--muted);font-size:18px;line-height:1.75}.shlok-card{margin:24px 0;padding:22px 24px;border-left:4px solid var(--chapter-accent);background:#fff;border-top:1px solid var(--line);border-right:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:0 18px 44px rgba(36,23,20,.07)}.shlok-card span{display:block;color:var(--chapter);font-weight:950;text-transform:uppercase;font-size:12px;margin-bottom:12px}.shlok-card blockquote{margin:0;color:var(--chapter);font-family:Georgia,serif;font-size:clamp(22px,2.4vw,32px);line-height:1.35}.shlok-card p{font-size:16px;margin:16px 0 0}.lakshmi-diagram{margin:0;background:#fff;border:1px solid var(--line);padding:24px;box-shadow:var(--shadow)}.lakshmi-diagram svg{display:block;width:100%;height:auto}.lakshmi-diagram figcaption{margin-top:16px;color:var(--muted);font-size:14px;line-height:1.55}.lakshmi-diagram svg g{transform-box:fill-box;transform-origin:center}.lakshmi-diagram svg g:first-of-type{animation:mandalaBreath 8s ease-in-out infinite}@keyframes mandalaBreath{0%,100%{opacity:.72;transform:scale(.985)}50%{opacity:1;transform:scale(1.015)}}@media(max-width:980px){.lakshmi-section{grid-template-columns:1fr}}@media(max-width:640px){.lakshmi-section{padding-block:54px}.lakshmi-copy p{font-size:16px}.lakshmi-diagram{padding:16px}}

/* Chapter 1 standalone sales and diagram refinements */
.lakshmi-section{position:relative;overflow:hidden;grid-template-columns:minmax(0,1fr) minmax(300px,520px);background:radial-gradient(circle at 78% 48%,rgba(216,162,79,.16),transparent 30%),linear-gradient(135deg,#fffdf9,#f4e6db)!important}.lakshmi-diagram{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;align-self:center}.lakshmi-diagram svg{filter:drop-shadow(0 18px 34px rgba(90,23,48,.12))}.lakshmi-diagram figcaption{max-width:440px;margin-inline:auto;text-align:center}.shlok-card{box-shadow:0 18px 44px rgba(36,23,20,.07)}.lesson-buy-link{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:-6px 0 8px 94px;padding:14px 16px;border:1px solid var(--line);background:#fff8f1;color:var(--muted);font-size:14px}.lesson-buy-link a{color:var(--chapter);font-weight:950;text-decoration:none}.lesson-buy-link a:hover{text-decoration:underline}.chapter-buy-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,440px);gap:42px;align-items:start;padding:82px clamp(18px,6vw,90px);background:linear-gradient(135deg,#2b1719,#5a1730);border-bottom:1px solid rgba(255,255,255,.12);color:#f8e8dc}.chapter-buy-section h2{color:#fff}.chapter-buy-copy p{color:#efd2c0;font-size:18px;line-height:1.7}.chapter-buy-section .value-list li{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14);color:#f8e8dc}.chapter-checkout{background:#fff;color:var(--ink)}@media(max-width:980px){.lesson-buy-link{margin-left:0}.chapter-buy-section{grid-template-columns:1fr}}@media(max-width:640px){.lesson-buy-link{display:grid}.lakshmi-diagram figcaption{text-align:left}.chapter-buy-section{padding-block:56px}}

/* Sri Yantra adaptation refinements */
.sri-yantra-diagram{max-width:560px;justify-self:center}.sri-yantra-diagram svg{overflow:visible}.sri-bhupura{filter:drop-shadow(0 4px 0 rgba(216,162,79,.22))}.sri-petals{animation:sriPetalPulse 9s ease-in-out infinite;transform-origin:center}.sri-core{animation:sriCoreBreath 11s ease-in-out infinite;transform-origin:center}.sri-rings{animation:sriRingBreath 8s ease-in-out infinite;transform-origin:center}@keyframes sriPetalPulse{0%,100%{opacity:.72;transform:translate(260px,260px) scale(.99)}50%{opacity:1;transform:translate(260px,260px) scale(1.015)}}@keyframes sriCoreBreath{0%,100%{opacity:.86;transform:translate(260px,260px) scale(.985)}50%{opacity:1;transform:translate(260px,260px) scale(1.02)}}@keyframes sriRingBreath{0%,100%{opacity:.62}50%{opacity:.95}}

/* Clean Sri Yantra geometry refinement */
.clean-sri{max-width:590px}.clean-sri svg{filter:drop-shadow(0 24px 42px rgba(90,23,48,.10))}.clean-bhupura{filter:drop-shadow(0 3px 0 rgba(216,162,79,.16))}.clean-petals{animation:cleanPetalBreath 10s ease-in-out infinite;transform-origin:center}.clean-core{animation:cleanCoreBreath 12s ease-in-out infinite;transform-origin:center}.clean-rings{animation:cleanRingBreath 9s ease-in-out infinite;transform-origin:center}@keyframes cleanPetalBreath{0%,100%{opacity:.34;transform:translate(280px,280px) scale(.992)}50%{opacity:.48;transform:translate(280px,280px) scale(1.006)}}@keyframes cleanCoreBreath{0%,100%{opacity:.86;transform:translate(280px,280px) scale(.992)}50%{opacity:1;transform:translate(280px,280px) scale(1.008)}}@keyframes cleanRingBreath{0%,100%{opacity:.72}50%{opacity:1}}

/* Reference-aligned Sri Yantra */
.reference-sri{max-width:620px}.reference-sri svg{filter:drop-shadow(0 24px 42px rgba(90,23,48,.10))}.ref-bhupura{filter:drop-shadow(0 3px 0 rgba(216,162,79,.18))}.ref-lotus{animation:refLotusBreath 10s ease-in-out infinite;transform-origin:center}.ref-core{animation:refCoreBreath 12s ease-in-out infinite;transform-origin:center}@keyframes refLotusBreath{0%,100%{opacity:.92;transform:translate(310px,310px) scale(.996)}50%{opacity:1;transform:translate(310px,310px) scale(1.004)}}@keyframes refCoreBreath{0%,100%{opacity:.92;transform:translate(310px,310px) scale(.996)}50%{opacity:1;transform:translate(310px,310px) scale(1.006)}}


/* Keep the Sri Yantra reference geometry fixed; animate only ink intensity. */
.reference-sri .ref-lotus,
.reference-sri .ref-core{
  transform-box: fill-box;
  transform-origin: center;
}

/* Chapter 7 business visuals */
.business-figure-section{
  padding:82px clamp(18px,6vw,90px);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.market-paths-section{
  background:radial-gradient(circle at 18% 34%,rgba(216,162,79,.13),transparent 25%),radial-gradient(circle at 84% 44%,rgba(49,95,112,.12),transparent 28%),linear-gradient(135deg,#fffdf9,#edf4f4);
}
.economics-section{
  background:radial-gradient(circle at 16% 68%,rgba(49,95,112,.12),transparent 24%),radial-gradient(circle at 84% 34%,rgba(216,162,79,.14),transparent 26%),linear-gradient(180deg,#fffdf9,#f1e9e2);
}
.market-paths-figure,.economics-map-figure{
  margin:0 auto;
  max-width:1180px;
  position:relative;
  background:transparent;
  border:0;
  box-shadow:none;
}
.market-paths-figure{
  display:grid;
  gap:16px;
}
.market-path{
  display:grid;
  gap:18px;
  padding:26px 30px 24px 34px;
  position:relative;
  background:rgba(255,253,249,.56);
  border:1px solid rgba(49,95,112,.18);
  box-shadow:0 18px 38px rgba(36,23,20,.06);
  animation:pathRise 7s ease-in-out infinite;
}
.market-path:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:9px;
  background:#b48a73;
}
.market-path.indie:before{background:#81452f}
.market-path.house{
  background:var(--wine);
  color:#fffdf9;
}
.market-path.house:before{background:#a23d57}
.path-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid rgba(129,69,47,.18);
  padding-bottom:12px;
}
.market-path.house .path-head{
  border-bottom-color:rgba(255,253,249,.2);
}
.path-head strong{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:28px;
  line-height:1;
}
.market-path.house .path-head strong{color:#fffdf9}
.path-head span{
  color:var(--muted);
  font-weight:850;
  text-align:right;
}
.market-path.house .path-head span,
.market-path.house p,
.market-path.house small{
  color:rgba(255,253,249,.78);
}
.path-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(130px,1fr));
  gap:18px;
}
.path-metrics span{
  display:grid;
  gap:4px;
}
.path-metrics b{
  color:var(--wine);
  font-size:14px;
  text-transform:uppercase;
}
.market-path.house .path-metrics b{color:#fffdf9}
.path-metrics small{
  color:var(--muted);
  font-weight:790;
  line-height:1.25;
}
.market-path p{
  margin:0;
  color:var(--muted);
  font-style:italic;
  font-weight:770;
}
.path-arrow{
  width:2px;
  height:34px;
  justify-self:center;
  background:linear-gradient(180deg,rgba(49,95,112,.45),rgba(216,162,79,.5));
  position:relative;
}
.path-arrow:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-2px;
  width:10px;
  height:10px;
  border-right:2px solid rgba(49,95,112,.5);
  border-bottom:2px solid rgba(49,95,112,.5);
  transform:translateX(-50%) rotate(45deg);
}
.economics-map-figure{
  min-height:560px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  grid-template-rows:auto auto auto;
  gap:20px;
  align-items:center;
}
.economics-core{
  grid-column:2 / 5;
  justify-self:center;
  width:min(420px,100%);
  height:190px;
  border-radius:50%;
  display:grid;
  place-items:center;
  align-content:center;
  gap:8px;
  text-align:center;
  background:var(--wine);
  color:#fffdf9;
  box-shadow:0 24px 52px rgba(49,95,112,.14);
  animation:economicsPulse 7s ease-in-out infinite;
}
.economics-core strong{
  font-family:Georgia,serif;
  font-size:38px;
  line-height:1;
}
.economics-core span{
  color:rgba(255,253,249,.78);
  font-weight:850;
}
.economic-factor{
  min-height:142px;
  display:grid;
  align-content:center;
  gap:8px;
  text-align:center;
  padding:18px;
  background:rgba(255,253,249,.5);
  box-shadow:0 16px 34px rgba(36,23,20,.05);
  border-left:3px solid rgba(216,162,79,.72);
}
.economic-factor b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:24px;
  line-height:1.05;
}
.economic-factor small{
  color:var(--muted);
  font-weight:790;
  line-height:1.35;
}
.economic-factor.cogs{grid-column:1;grid-row:2}
.economic-factor.channel{grid-column:2;grid-row:2}
.economic-factor.proof{grid-column:3;grid-row:2}
.economic-factor.trust{grid-column:4;grid-row:2}
.economic-factor.compliance{grid-column:5;grid-row:2}
.economics-result{
  grid-column:2 / 5;
  justify-self:center;
  width:min(760px,100%);
  text-align:center;
  padding:20px 28px;
  background:rgba(49,95,112,.95);
  color:#fffdf9;
  box-shadow:0 22px 46px rgba(49,95,112,.14);
}
.economics-result strong{
  font-family:Georgia,serif;
  font-size:27px;
  line-height:1.15;
}
.market-paths-figure figcaption,.economics-map-figure figcaption{
  max-width:860px;
  color:var(--muted);
  line-height:1.55;
  text-align:center;
  margin:18px auto 0;
}
.market-paths-figure figcaption strong,.economics-map-figure figcaption strong{
  color:var(--wine);
  font-family:Georgia,serif;
}
@keyframes pathRise{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-5px)}
}
@keyframes economicsPulse{
  0%,100%{transform:scale(.98);opacity:.94}
  50%{transform:scale(1.02);opacity:1}
}
@media(max-width:980px){
  .path-head{
    display:grid;
    text-align:left;
  }
  .path-head span{text-align:left}
  .path-metrics{
    grid-template-columns:1fr 1fr;
  }
  .economics-map-figure{
    grid-template-columns:1fr;
    min-height:auto;
  }
  .economics-core,.economic-factor,.economics-result{
    grid-column:1!important;
    grid-row:auto!important;
    width:100%;
    height:auto;
    border-radius:0;
  }
}

/* Chapter 7 replacement visuals */
.market-paths-horizontal{
  display:grid;
  grid-template-columns:repeat(3,minmax(220px,1fr));
  gap:24px;
  align-items:stretch;
  padding-top:38px;
}
.market-paths-horizontal .market-road{
  grid-column:1 / -1;
  height:3px;
  position:relative;
  background:linear-gradient(90deg,rgba(49,95,112,.22),rgba(216,162,79,.5),rgba(90,23,48,.3));
}
.market-paths-horizontal .market-road span{
  position:absolute;
  top:-7px;
  left:0;
  width:17px;
  height:17px;
  border-radius:50%;
  background:var(--wine);
  box-shadow:0 0 0 8px rgba(49,95,112,.08);
  animation:marketRoadPulse 8s ease-in-out infinite;
}
.market-lane{
  min-height:260px;
  display:grid;
  align-content:start;
  gap:12px;
  text-align:center;
  position:relative;
  padding:26px 22px;
  background:rgba(255,253,249,.56);
  border-left:5px solid rgba(216,162,79,.78);
  box-shadow:0 18px 38px rgba(36,23,20,.06);
  animation:pathRise 7s ease-in-out infinite;
}
.market-lane.indie{border-left-color:#81452f;animation-delay:.6s}
.market-lane.house{border-left-color:var(--wine);animation-delay:1.2s}
.lane-number{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  justify-self:center;
  border-radius:50%;
  background:var(--wine);
  color:#fffdf9;
  font-weight:950;
}
.market-lane strong{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:29px;
  line-height:1;
}
.market-lane small{
  color:#315f70;
  font-weight:950;
}
.market-lane p{
  margin:0;
  color:var(--muted);
  line-height:1.38;
  font-weight:760;
}
.lane-metrics{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:4px;
}
.lane-metrics b{
  padding:7px 10px;
  background:rgba(49,95,112,.09);
  color:var(--wine);
  font-size:13px;
  border-radius:999px;
}
.unit-pie-figure{
  margin:0 auto;
  max-width:1080px;
  display:grid;
  grid-template-columns:380px minmax(320px,1fr);
  gap:44px;
  align-items:center;
  background:transparent;
  border:0;
  box-shadow:none;
}
.pie-wrap{
  width:360px;
  height:360px;
  position:relative;
  justify-self:center;
}
.unit-pie{
  width:100%;
  height:100%;
  border-radius:50%;
  position:relative;
  background:conic-gradient(
    #667b59 0 12%,
    #d8a24f 12% 36%,
    #b48a73 36% 50%,
    #315f70 50% 68%,
    #5a1730 68% 100%
  );
  box-shadow:0 28px 58px rgba(36,23,20,.12);
  animation:pieReveal 1.4s ease-out both, economicsPulse 7s ease-in-out infinite 1.4s;
}
.unit-pie:after{
  content:"";
  position:absolute;
  inset:58px;
  border-radius:50%;
  background:#fffdf9;
  box-shadow:inset 0 0 0 1px rgba(90,23,48,.08);
}
.pie-center{
  position:absolute;
  inset:98px;
  z-index:2;
  border-radius:50%;
  display:grid;
  place-items:center;
  align-content:center;
  text-align:center;
}
.pie-center b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:48px;
  line-height:1;
}
.pie-center small{
  color:var(--muted);
  font-weight:900;
}
.pie-signal{
  position:absolute;
  left:50%;
  top:50%;
  width:10px;
  height:168px;
  transform-origin:center top;
  transform:rotate(0deg);
  z-index:3;
  animation:pieNeedle 8s linear infinite;
}
.pie-signal:after{
  content:"";
  position:absolute;
  left:50%;
  top:-6px;
  width:16px;
  height:16px;
  transform:translateX(-50%);
  border-radius:50%;
  background:#fffdf9;
  box-shadow:0 0 0 6px rgba(90,23,48,.14);
}
.pie-legend{
  display:grid;
  gap:12px;
}
.legend-row{
  display:grid;
  grid-template-columns:18px 170px 1fr;
  gap:12px;
  align-items:center;
  min-height:58px;
  padding:10px 12px;
  background:rgba(255,253,249,.55);
  box-shadow:0 12px 26px rgba(36,23,20,.045);
}
.legend-row span{
  width:18px;
  height:18px;
  border-radius:50%;
}
.legend-row.liquid span{background:#667b59}
.legend-row.packaging span{background:#d8a24f}
.legend-row.fulfilment span{background:#b48a73}
.legend-row.channel span{background:#315f70}
.legend-row.profit span{background:#5a1730}
.legend-row b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:21px;
  line-height:1;
}
.legend-row small{
  color:var(--muted);
  font-weight:790;
  line-height:1.3;
}
.pie-note{
  grid-column:1 / -1;
  justify-self:center;
  width:min(820px,100%);
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  padding:18px 22px;
  background:rgba(49,95,112,.95);
  color:#fffdf9;
  text-align:left;
}
.pie-note strong{
  font-family:Georgia,serif;
  font-size:22px;
}
.pie-note span{
  color:rgba(255,253,249,.84);
  font-weight:820;
  line-height:1.45;
}
.unit-pie-figure figcaption{
  grid-column:1 / -1;
  max-width:860px;
  color:var(--muted);
  line-height:1.55;
  text-align:center;
  margin:18px auto 0;
}
.unit-pie-figure figcaption strong{
  color:var(--wine);
  font-family:Georgia,serif;
}
@keyframes marketRoadPulse{
  0%{left:0;opacity:.35}
  45%{opacity:1}
  100%{left:100%;opacity:.35}
}
@keyframes pieReveal{
  0%{clip-path:circle(0 at 50% 50%)}
  100%{clip-path:circle(75% at 50% 50%)}
}
@keyframes pieNeedle{
  0%{transform:rotate(0deg)}
  100%{transform:rotate(360deg)}
}
@media(max-width:980px){
  .market-paths-horizontal,
  .unit-pie-figure{
    grid-template-columns:1fr;
  }
  .market-paths-horizontal .market-road{
    display:none;
  }
  .unit-pie-figure{
    gap:24px;
  }
  .pie-wrap{
    width:min(320px,86vw);
    height:min(320px,86vw);
  }
  .legend-row{
    grid-template-columns:18px 1fr;
  }
  .legend-row small{
    grid-column:2;
  }
  .pie-note{
    grid-template-columns:1fr;
    text-align:center;
  }
}

/* Cleaner Chapter 6 time flow override */
.clean-time-flow{
  max-width:1240px;
  min-height:auto;
  display:grid;
  grid-template-columns:140px minmax(220px,1.35fr) 140px 140px minmax(220px,1.35fr) 140px;
  grid-template-rows:auto auto auto auto auto;
  column-gap:18px;
  row-gap:24px;
  align-items:start;
  padding-top:18px;
}
.clean-time-flow .flow-line,
.clean-time-flow .flow-pulse{
  display:none!important;
}
.flow-rail{
  grid-column:1 / -1;
  grid-row:1;
  position:relative;
  height:22px;
  margin:0 64px;
}
.flow-rail:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:10px;
  height:2px;
  background:linear-gradient(90deg,rgba(162,61,87,.22),rgba(216,162,79,.42),rgba(102,123,89,.32));
}
.flow-rail span{
  position:absolute;
  top:3px;
  left:0;
  width:16px;
  height:16px;
  border-radius:50%;
  background:var(--wine);
  box-shadow:0 0 0 8px rgba(162,61,87,.1);
  animation:railPulse 8s ease-in-out infinite;
}
.clean-time-flow .flow-step,
.clean-time-flow .flow-phase{
  grid-row:2;
  min-height:190px;
}
.clean-time-flow .flow-phase{
  min-height:176px;
  padding:22px 16px;
}
.clean-time-flow .flow-step b{font-size:22px}
.clean-time-flow .flow-phase strong{
  font-size:clamp(26px,2.25vw,35px);
  max-width:100%;
  overflow-wrap:anywhere;
}
.clean-time-flow .flow-phase span{
  font-size:20px;
}
.clean-time-flow .flow-step small{max-width:150px}
.clean-time-flow .flow-phase p{display:none}
.clean-time-flow .time-detail{
  grid-row:3;
  min-height:96px;
  display:grid;
  align-content:center;
  gap:6px;
  text-align:center;
  padding:14px 18px;
  background:rgba(255,253,249,.48);
  border-left:3px solid rgba(216,162,79,.72);
  box-shadow:0 16px 34px rgba(36,23,20,.05);
}
.clean-time-flow .maturation-note{grid-column:2 / 4}
.clean-time-flow .maceration-note{grid-column:5 / 7}
.time-detail b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:20px;
}
.time-detail span{
  color:var(--muted);
  font-weight:800;
  line-height:1.35;
}
.clean-time-flow .time-warning{
  grid-row:4;
  grid-column:1 / -1;
  font-size:22px;
  margin-top:2px;
}
.clean-time-flow figcaption{
  grid-row:5;
  grid-column:1 / -1;
}
@keyframes railPulse{
  0%{left:0;opacity:.3}
  12%,22%{opacity:1}
  30%{left:19%}
  45%{left:38%}
  60%{left:57%}
  76%{left:76%}
  92%,100%{left:100%;opacity:.3}
}
@keyframes railPulseVertical{
  0%{top:0;opacity:.3}
  12%,22%{opacity:1}
  30%{top:18%}
  45%{top:35%}
  60%{top:52%}
  76%{top:70%}
  92%,100%{top:90%;opacity:.3}
}
@media(max-width:980px){
  .clean-time-flow{
    grid-template-columns:1fr;
    padding-left:26px;
  }
  .flow-rail{
    grid-column:1;
    grid-row:1 / 8;
    position:absolute;
    left:14px;
    top:42px;
    bottom:180px;
    width:18px;
    height:auto;
    margin:0;
  }
  .flow-rail:before{
    left:8px;
    right:auto;
    top:0;
    bottom:0;
    width:2px;
    height:auto;
    background:linear-gradient(180deg,rgba(162,61,87,.22),rgba(216,162,79,.42),rgba(102,123,89,.32));
  }
  .flow-rail span{
    left:1px;
    top:0;
    animation:railPulseVertical 8s ease-in-out infinite;
  }
  .clean-time-flow .flow-step,
  .clean-time-flow .flow-phase,
  .clean-time-flow .time-detail,
  .clean-time-flow .time-warning,
  .clean-time-flow figcaption{
    grid-column:1;
    grid-row:auto;
  }
  .clean-time-flow .flow-step,
  .clean-time-flow .flow-phase,
  .clean-time-flow .time-detail{
    min-height:auto;
  }
}
.reference-sri .ref-lotus{animation:refInkPulse 9s ease-in-out infinite!important}
.reference-sri .ref-core{animation:refCoreInkPulse 11s ease-in-out infinite!important}
@keyframes refInkPulse{0%,100%{opacity:.88}50%{opacity:1}}
@keyframes refCoreInkPulse{0%,100%{opacity:.92}50%{opacity:1}}


/* Exact reference-style Sri Yantra outline: preserve geometry, avoid decorative boxes. */
.exact-sri-outline{
  max-width: 620px;
  background: transparent!important;
  border: 0!important;
  box-shadow: none!important;
  padding: 0!important;
}
.exact-sri-outline svg{
  width: min(100%, 560px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 24px 44px rgba(90,23,48,.13));
}
.exact-sri-outline .sri-lotus,
.exact-sri-outline .sri-core{
  animation: sriInkOnly 8s ease-in-out infinite;
}
@keyframes sriInkOnly{
  0%,100%{stroke-opacity:.92}
  50%{stroke-opacity:1}
}


/* Use the supplied Sri Yantra artwork only, recolored into the The Perfumery Handbook palette. */
.sri-yantra-photo{
  background: transparent!important;
  border: 0!important;
  box-shadow: none!important;
  padding: 0!important;
  max-width: 620px;
}
.sri-yantra-photo img{
  display:block;
  width:min(100%, 560px);
  height:auto;
  margin:0 auto;
  border:0;
  border-radius:0;
  box-shadow:0 24px 54px rgba(90,23,48,.16);
}
.sri-yantra-photo figcaption{
  max-width:560px;
  margin:18px auto 0;
}


/* Sri Yantra must sit directly on the page background, not inside a card/box. */
.lakshmi-visual .sri-yantra-photo,
.sri-yantra-photo,
figure.sri-yantra-photo{
  background: transparent!important;
  border: 0!important;
  outline: 0!important;
  box-shadow: none!important;
  padding: 0!important;
}
.sri-yantra-photo img{
  background: transparent!important;
  border: 0!important;
  outline: 0!important;
  border-radius: 0!important;
}


/* Refined transparent Sri Yantra placement: no product screenshot background, no box, smaller scale. */
.sri-yantra-photo{
  max-width: 480px!important;
  margin: 0 auto!important;
  background: transparent!important;
  border: 0!important;
  box-shadow: none!important;
  padding: 0!important;
}
.sri-yantra-photo img{
  width: min(100%, 430px)!important;
  height: auto!important;
  margin: 0 auto!important;
  background: transparent!important;
  box-shadow: none!important;
  filter: drop-shadow(0 22px 34px rgba(90,23,48,.16));
}
.sri-yantra-photo figcaption{
  max-width: 430px!important;
  margin-top: 12px!important;
  font-size: clamp(.88rem, 1.25vw, 1rem)!important;
}
@media (max-width: 900px){
  .sri-yantra-photo img{width:min(86vw, 380px)!important}
  .sri-yantra-photo{max-width:420px!important}
}


/* Workbook-style exercise form */
.exercise-workbench{
  grid-template-columns:minmax(0,.9fr) minmax(360px,620px)!important;
  align-items:start!important;
  gap:clamp(28px,5vw,70px)!important;
}
.exercise-copy .practice-box.compact{
  margin-top:24px;
  box-shadow:0 18px 44px rgba(90,23,48,.16);
}
.exercise-form{
  display:grid;
  gap:16px;
  background:rgba(255,253,249,.92);
  border:1px solid var(--line);
  border-radius:8px;
  padding:24px;
  box-shadow:0 20px 60px rgba(36,23,20,.10);
}
.exercise-form label{
  display:grid;
  gap:7px;
  color:var(--wine);
  font-weight:950;
}
.exercise-form input,.exercise-form textarea{
  width:100%;
  border:1px solid #dcc8bd;
  border-radius:8px;
  background:#fffdf9;
  color:var(--ink);
  font:inherit;
  padding:12px 13px;
}
.exercise-form textarea{
  resize:vertical;
  min-height:190px;
  line-height:1.55;
}
.exercise-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:2px;
}
.exercise-message{
  min-height:20px;
  margin:0;
  color:var(--muted);
  font-size:14px!important;
}
@media(max-width:980px){.exercise-workbench{grid-template-columns:1fr!important}.exercise-form{padding:20px}}


.traced-yantra img{
  width:min(100%, 440px)!important;
  filter:drop-shadow(0 22px 34px rgba(90,23,48,.14));
  animation:yantraPresence 9s ease-in-out infinite;
}
.traced-yantra figcaption{
  margin-top:14px!important;
  color:var(--wine)!important;
}
.traced-yantra figcaption strong{
  font-family:Georgia,serif;
  font-size:clamp(1rem,1.35vw,1.2rem);
  font-weight:900;
}
@keyframes yantraPresence{
  0%,100%{opacity:.94;transform:scale(.992)}
  50%{opacity:1;transform:scale(1.012)}
}

/* Chapter 1 editorial diagrams */
.history-arc-section{
  padding:82px clamp(18px,6vw,90px);
  background:
    radial-gradient(circle at 18% 34%,rgba(216,162,79,.13),transparent 24%),
    radial-gradient(circle at 78% 55%,rgba(107,23,53,.10),transparent 28%),
    linear-gradient(180deg,#f7eadf,#fffdf9);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.history-arc-diagram{
  margin:0;
  max-width:1180px;
  background:transparent;
  border:0;
  box-shadow:none;
}
.history-arc-diagram svg{
  display:block;
  width:100%;
  height:auto;
  overflow:visible;
}
.history-arc-diagram .arc-guide{
  fill:none;
  stroke:rgba(90,23,48,.14);
  stroke-width:2;
}
.history-arc-diagram .arc-signal{
  fill:none;
  stroke:url(#historyArcLine);
  stroke-width:4;
  stroke-linecap:round;
  stroke-dasharray:1050;
  stroke-dashoffset:1050;
  animation:historyArcDraw 6.5s ease-in-out infinite;
  filter:url(#softGlow);
}
.arc-point circle{
  fill:#fff8f1;
  stroke:var(--wine);
  stroke-width:3;
  filter:drop-shadow(0 10px 18px rgba(90,23,48,.15));
  animation:arcPointPulse 6.5s ease-in-out infinite;
}
.arc-point text{
  fill:var(--muted);
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;
  font-size:18px;
  font-weight:800;
}
.arc-point text:first-of-type{
  fill:var(--wine);
  font-family:Georgia,serif;
  font-size:31px;
  font-weight:900;
}
.arc-point.p2 circle{animation-delay:.7s;stroke:#8c513d}
.arc-point.p3 circle{animation-delay:1.4s;stroke:#d8a24f}
.arc-point.p4 circle{animation-delay:2.1s;stroke:#667b59}
.history-arc-diagram figcaption{
  margin:18px 0 0;
  max-width:780px;
  color:var(--muted);
  line-height:1.55;
}
.history-arc-diagram figcaption strong{
  color:var(--wine);
  font-family:Georgia,serif;
}
@keyframes historyArcDraw{
  0%{stroke-dashoffset:1050;opacity:.45}
  35%,68%{stroke-dashoffset:0;opacity:1}
  100%{stroke-dashoffset:-1050;opacity:.45}
}
@keyframes arcPointPulse{
  0%,18%,100%{r:20;fill:#fff8f1}
  34%,58%{r:26;fill:#f6dfc1}
}
@media(max-width:760px){
  .history-arc-section{padding-block:58px}
  .history-arc-diagram svg{min-width:760px}
  .history-arc-diagram{overflow-x:auto;padding-bottom:6px}
  .history-arc-diagram figcaption{text-align:left}
}

/* Chapter 2 science enrichment */
.science-hero .chapter-promise{max-width:940px}.science-intro{background:linear-gradient(135deg,#fffdf9,#eef3f4)}.science-system,.science-diagram-section{padding:76px clamp(18px,6vw,90px);background:#fffdf9;border-bottom:1px solid var(--line)}.science-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.science-flow article{min-height:230px;background:linear-gradient(160deg,rgba(255,255,255,.96),rgba(239,246,247,.84));border:1px solid var(--line);border-radius:8px;padding:24px;box-shadow:0 18px 48px rgba(36,23,20,.07);position:relative;overflow:hidden}.science-flow article:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:var(--chapter)}.science-flow span{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--chapter);color:#fff;font-weight:950;margin-bottom:18px}.science-flow strong{display:block;font-family:Georgia,serif;color:var(--wine);font-size:25px;line-height:1.12}.science-flow p{color:var(--muted);line-height:1.55}.science-lesson{border-left:4px solid var(--chapter-accent);background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(246,251,252,.88))}.science-lesson strong{color:var(--chapter)}.science-path{border-top-color:var(--chapter-accent)}.volatility-board{max-width:1120px;background:rgba(255,255,255,.88);border:1px solid var(--line);border-radius:8px;padding:28px;box-shadow:var(--shadow)}.time-axis{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;color:var(--muted);font-size:13px;font-weight:900;text-transform:uppercase;margin-bottom:22px}.time-axis span{border-top:1px solid var(--line);padding-top:8px}.note-lane{display:grid;grid-template-columns:88px 1fr minmax(220px,.58fr);gap:18px;align-items:center;padding:18px 0;border-top:1px solid var(--line)}.note-lane strong{font-family:Georgia,serif;font-size:28px;color:var(--chapter)}.note-lane span{display:block;height:28px;border-radius:999px;background:linear-gradient(90deg,var(--chapter-accent),var(--chapter));box-shadow:0 10px 24px rgba(49,95,112,.16);animation:scentBarBreath 6s ease-in-out infinite}.note-lane p{margin:0;color:var(--muted);line-height:1.45}.top-lane span{max-width:92%}.heart-lane span{max-width:72%;animation-delay:.8s}.base-lane span{max-width:54%;animation-delay:1.6s}@keyframes scentBarBreath{0%,100%{opacity:.76;transform:scaleX(.985);transform-origin:left}50%{opacity:1;transform:scaleX(1)}}.science-exercise-form textarea{min-height:104px}.science-exercise-form label:last-of-type textarea{min-height:140px}@media(max-width:1100px){.science-flow{grid-template-columns:repeat(2,1fr)}.note-lane{grid-template-columns:76px 1fr}.note-lane p{grid-column:2}}@media(max-width:640px){.science-system,.science-diagram-section{padding-block:54px}.science-flow{grid-template-columns:1fr}.time-axis{font-size:11px}.note-lane{grid-template-columns:1fr}.note-lane p{grid-column:auto}.note-lane span{height:24px}}


/* Batch standalone chapters 3-8 */
.batch-intro{background:linear-gradient(135deg,#fffdf9,#f3e9df)}
.batch-lesson{border-left:4px solid var(--chapter-accent);background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,251,247,.88))}
.batch-lesson strong{color:var(--chapter)}
.batch-path{border-top-color:var(--chapter-accent)}
.batch-diagram-section{padding:76px clamp(18px,6vw,90px);background:#fffdf9;border-bottom:1px solid var(--line)}
.process-ribbon{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;max-width:1180px}
.process-ribbon article{position:relative;min-height:170px;padding:22px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(160deg,rgba(255,255,255,.96),rgba(247,236,227,.86));box-shadow:0 18px 48px rgba(36,23,20,.07);overflow:hidden}
.process-ribbon article:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--chapter)}
.process-ribbon span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--chapter);color:#fff;font-weight:950;margin-bottom:18px}
.process-ribbon strong{display:block;font-family:Georgia,serif;color:var(--wine);font-size:clamp(22px,2vw,30px);line-height:1.12}
.batch-exercise-form textarea{min-height:128px}
@media(max-width:1100px){.process-ribbon{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.batch-diagram-section{padding-block:54px}.process-ribbon{grid-template-columns:1fr}}


/* Premium visual diagrams for chapters 3-8 */
.visual-diagram-section{background:linear-gradient(135deg,#fffdf9,#f3e7dc)}
.diagram-panel{position:relative;max-width:1180px;min-height:360px;border:1px solid var(--line);background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.92),rgba(250,242,234,.72));box-shadow:var(--shadow);overflow:hidden;border-radius:8px;padding:28px}
.diagram-panel strong{font-family:Georgia,serif;color:var(--wine);line-height:1.1}.diagram-panel p,.diagram-panel span{color:var(--muted);line-height:1.45}.material-chain{display:grid;grid-template-columns:1fr 44px 1fr 44px 1fr 44px 1fr 44px 1fr;align-items:center;gap:0}.chain-node{min-height:220px;display:grid;align-content:center;gap:10px;padding:22px;border:1px solid var(--line);background:rgba(255,255,255,.86);border-radius:8px}.chain-node span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--chapter);color:white;font-weight:950}.chain-node strong{font-size:25px}.chain-line{height:2px;background:linear-gradient(90deg,var(--chapter),var(--chapter-accent));position:relative}.chain-line:after{content:"";position:absolute;right:-2px;top:-5px;border-left:10px solid var(--chapter-accent);border-top:6px solid transparent;border-bottom:6px solid transparent}.molecule-wheel{min-height:520px}.molecule-core{position:absolute;left:50%;top:50%;width:190px;height:190px;transform:translate(-50%,-50%);border-radius:50%;display:grid;place-items:center;text-align:center;padding:24px;background:var(--chapter);box-shadow:0 22px 50px rgba(36,23,20,.16)}.molecule-core strong{color:#fff;font-size:26px}.molecule-core span{color:#d8eef3}.molecule-node{position:absolute;width:190px;min-height:116px;padding:18px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.9);box-shadow:0 14px 34px rgba(36,23,20,.08)}.molecule-node:before{content:"";position:absolute;width:110px;height:1px;background:linear-gradient(90deg,var(--chapter-accent),transparent);left:50%;top:50%;z-index:-1}.molecule-node strong{display:block;font-size:25px}.molecule-node.lift{left:50%;top:24px;transform:translateX(-50%)}.molecule-node.diffusion{right:8%;top:160px}.molecule-node.texture{right:14%;bottom:44px}.molecule-node.fixation{left:14%;bottom:44px}.molecule-node.fantasy{left:8%;top:160px}.deg-map{min-height:460px}.deg-vessel,.bhapka-vessel,.kuppi-stage{position:absolute;display:grid;place-items:center;text-align:center;padding:20px;border:2px solid var(--chapter);background:rgba(255,255,255,.86);box-shadow:0 18px 42px rgba(36,23,20,.1)}.deg-vessel{left:8%;bottom:92px;width:210px;height:210px;border-radius:0 0 92px 92px}.bhapka-vessel{right:12%;bottom:98px;width:220px;height:190px;border-radius:0 0 96px 96px}.kuppi-stage{right:8%;top:46px;width:210px;min-height:90px;border-radius:8px;border-color:var(--chapter-accent)}.deg-vessel span,.bhapka-vessel span,.kuppi-stage span{font-weight:950;color:var(--chapter-accent);text-transform:uppercase}.heat-bed{position:absolute;left:9%;bottom:46px;width:190px;text-align:center;color:#fff;background:var(--chapter);padding:10px;border-radius:999px;font-weight:950}.vapor-path{position:absolute;left:27%;right:34%;top:185px;height:88px;border-top:4px solid var(--chapter-accent);border-right:4px solid var(--chapter-accent);border-radius:0 80px 0 0}.vapor-path span{position:absolute;left:18%;top:-34px;color:var(--chapter);font-weight:950}.cooling-ring{position:absolute;right:9%;bottom:74px;width:270px;height:232px;border:1px dashed var(--chapter-accent);border-radius:50%;display:grid;place-items:end center;padding-bottom:12px;color:var(--muted);font-weight:900}.trial-cycle{min-height:480px}.trial-node,.trial-log{position:absolute;width:230px;min-height:140px;border:1px solid var(--line);background:rgba(255,255,255,.9);border-radius:8px;padding:20px;box-shadow:0 14px 34px rgba(36,23,20,.08)}.trial-node span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--chapter);color:#fff;font-weight:950;margin-bottom:12px}.trial-node strong,.trial-log strong{display:block;font-size:26px}.trial-node.a{left:8%;top:58px}.trial-node.b{right:8%;top:58px}.trial-node.c{right:12%;bottom:58px}.trial-log{left:10%;bottom:58px;border-color:var(--chapter-accent)}.trial-arrow{position:absolute;color:var(--chapter);font-weight:950;text-transform:uppercase;font-size:13px}.trial-arrow.one{left:41%;top:118px}.trial-arrow.two{right:13%;top:48%}.trial-arrow.three{left:40%;bottom:118px}.trial-arrow:after{content:"";display:block;height:2px;width:150px;background:linear-gradient(90deg,var(--chapter),var(--chapter-accent));margin-top:8px}.launch-ladder{display:grid;grid-template-columns:repeat(5,1fr);align-items:end;gap:16px}.ladder-step{display:grid;align-content:start;gap:10px;padding:18px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.9);box-shadow:0 14px 34px rgba(36,23,20,.08)}.ladder-step span{font-weight:950;color:var(--chapter-accent)}.ladder-step strong{font-size:24px}.ladder-step.s1{min-height:150px}.ladder-step.s2{min-height:190px}.ladder-step.s3{min-height:230px}.ladder-step.s4{min-height:270px}.ladder-step.s5{min-height:310px;background:linear-gradient(160deg,var(--chapter),#2b1719)}.ladder-step.s5 strong,.ladder-step.s5 p{color:#fff}.record-system{min-height:540px}.record-hub{position:absolute;left:50%;top:50%;width:230px;height:170px;transform:translate(-50%,-50%);display:grid;place-items:center;text-align:center;padding:22px;background:var(--chapter);border-radius:8px;box-shadow:0 22px 50px rgba(36,23,20,.16)}.record-hub strong{color:#fff;font-size:27px}.record-hub span{color:#ead8cb}.record-node{position:absolute;width:210px;min-height:120px;padding:18px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.9);box-shadow:0 14px 34px rgba(36,23,20,.08)}.record-node strong{display:block;font-size:24px}.record-node.library{left:8%;top:58px}.record-node.formula{right:8%;top:58px}.record-node.batch{right:7%;bottom:74px}.record-node.evidence{left:50%;bottom:30px;transform:translateX(-50%)}.record-node.launch{left:7%;bottom:74px}
@media(max-width:980px){.material-chain,.launch-ladder{grid-template-columns:1fr}.chain-line{height:34px;width:2px;justify-self:center}.chain-line:after{right:-5px;top:auto;bottom:-2px;border-top:10px solid var(--chapter-accent);border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:0}.molecule-wheel,.deg-map,.trial-cycle,.record-system{min-height:auto;display:grid;gap:14px}.molecule-core,.molecule-node,.deg-vessel,.bhapka-vessel,.kuppi-stage,.heat-bed,.vapor-path,.cooling-ring,.trial-node,.trial-log,.trial-arrow,.record-hub,.record-node{position:relative;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:auto;height:auto;min-height:auto}.vapor-path{border:0;background:linear-gradient(90deg,var(--chapter),var(--chapter-accent));height:2px}.cooling-ring{border-radius:8px;padding:14px;display:block}.trial-arrow:after{width:100%}}

/* PDF figure plates */
.pdf-figure-section{
  padding:76px clamp(18px,6vw,90px);
  background:linear-gradient(135deg,#fffdf9,#f4e8dd);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.pdf-figure-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(20px,4vw,44px);
  align-items:start;
}
.pdf-figure-grid.single{
  grid-template-columns:minmax(0,980px);
  justify-content:center;
}
.pdf-figure{
  margin:0;
  min-width:0;
}
.pdf-figure img{
  display:block;
  width:100%;
  max-width:720px;
  max-height:640px;
  height:auto;
  object-fit:contain;
  margin:0 auto;
  border:1px solid rgba(90,23,48,.12);
  border-radius:0;
  background:#fffdf9;
  box-shadow:0 24px 60px rgba(36,23,20,.12);
}
.pdf-figure-grid.single .pdf-figure img{
  max-width:900px;
  max-height:560px;
}
.pdf-figure figcaption{
  max-width:720px;
  margin:14px auto 0;
  color:var(--muted);
  text-align:center;
  line-height:1.45;
}
.pdf-figure figcaption strong{
  color:var(--wine);
  font-family:Georgia,serif;
}
@media(max-width:900px){
  .pdf-figure-grid{grid-template-columns:1fr}
  .pdf-figure img,.pdf-figure-grid.single .pdf-figure img{max-width:100%;max-height:none}
  .pdf-figure-section{padding-block:54px}
}

/* Designed animated chapter figures */
.animated-figure-section{
  padding:76px clamp(18px,6vw,90px);
  background:linear-gradient(135deg,#fffdf9,#f3e7dc);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.science-figure{
  background:
    radial-gradient(circle at 20% 46%,rgba(182,73,100,.10),transparent 24%),
    radial-gradient(circle at 76% 32%,rgba(49,95,112,.12),transparent 28%),
    linear-gradient(135deg,#fffdf9,#eef3f4);
}
.thalamus-bypass{
  margin:0;
  max-width:1180px;
  background:transparent;
  border:0;
  box-shadow:none;
  overflow:visible;
}
.thalamus-bypass svg{
  display:block;
  width:100%;
  height:auto;
  overflow:visible;
}
.thalamus-bypass text{
  fill:var(--muted);
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;
  font-weight:850;
}
.sense-row circle{
  fill:rgba(255,253,249,.72);
  stroke:#8c513d;
  stroke-width:2;
}
.sense-row text{
  fill:#8c513d;
  font-family:Georgia,serif;
  font-size:19px;
  font-weight:900;
}
.sense-row path,.icon-dot{
  fill:none;
  stroke:#8c513d;
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.icon-dot{fill:#8c513d;stroke:0}
.smell-row circle{
  stroke:var(--chapter-accent);
  fill:rgba(255,248,241,.88);
  animation:senseBreath 4.8s ease-in-out infinite;
}
.smell-row text{fill:var(--wine)}
.smell-row path{stroke:var(--chapter-accent)}
.route{
  fill:none;
  stroke:rgba(140,81,61,.48);
  stroke-width:2;
}
.route.standard{
  stroke-dasharray:620;
  animation:standardRoute 7s ease-in-out infinite;
}
.to-aware{stroke:rgba(49,95,112,.48)}
.signal-dot{
  fill:#d8a24f;
  opacity:.85;
  filter:url(#signalGlow);
}
.gateway circle,.conscious circle{
  fill:rgba(255,253,249,.72);
  stroke:#8c513d;
  stroke-width:2.5;
  filter:drop-shadow(0 16px 26px rgba(36,23,20,.08));
}
.gateway text:first-of-type,.conscious text:first-of-type{
  fill:var(--wine);
  font-family:Georgia,serif;
  font-size:26px;
  font-weight:900;
}
.gateway text:nth-of-type(2),.conscious text:nth-of-type(2){
  fill:var(--muted);
  font-size:16px;
  font-style:italic;
}
.smell-bypass{
  stroke:var(--chapter-accent);
  stroke-width:3;
  stroke-linecap:round;
  stroke-dasharray:10 8;
  animation:bypassDash 4s linear infinite;
}
.smell-signal{
  fill:var(--chapter-accent);
  filter:url(#signalGlow);
}
.no-gateway rect{
  fill:rgba(255,253,249,.82);
  stroke:var(--chapter-accent);
  stroke-width:2;
}
.no-gateway text{
  fill:var(--wine);
  font-size:15px;
  font-weight:900;
}
.limbic rect{
  fill:rgba(255,253,249,.72);
  stroke:rgba(90,23,48,.28);
  stroke-width:1.5;
  filter:drop-shadow(0 15px 26px rgba(36,23,20,.08));
}
.limbic text:first-of-type{
  fill:var(--wine);
  font-family:Georgia,serif;
  font-size:24px;
  font-weight:900;
}
.limbic text:nth-of-type(2){
  fill:var(--muted);
  font-size:15px;
}
.amygdala-target rect{
  animation:limbicPulse 5s ease-in-out infinite;
}
.hippocampus-target rect{
  animation:limbicPulse 5s ease-in-out infinite 1.2s;
}
.limbic-link{
  fill:none;
  stroke:rgba(90,23,48,.38);
  stroke-width:2;
  stroke-dasharray:6 8;
}
.body-note{
  fill:var(--chapter-accent)!important;
  font-family:Georgia,serif!important;
  font-size:18px;
  font-style:italic;
}
.thalamus-bypass figcaption{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.55;
  text-align:center;
}
.thalamus-bypass figcaption strong{
  color:var(--wine);
  font-family:Georgia,serif;
}
@keyframes standardRoute{
  0%{stroke-dashoffset:620;opacity:.25}
  35%,75%{stroke-dashoffset:0;opacity:.72}
  100%{stroke-dashoffset:-620;opacity:.25}
}
@keyframes bypassDash{
  to{stroke-dashoffset:-72}
}
@keyframes senseBreath{
  0%,100%{transform:scale(.98);transform-origin:120px 550px}
  50%{transform:scale(1.06);transform-origin:120px 550px}
}
@keyframes limbicPulse{
  0%,100%{stroke:rgba(90,23,48,.25)}
  50%{stroke:var(--chapter-accent)}
}
@media(max-width:760px){
  .thalamus-bypass{
    overflow-x:auto;
    padding-bottom:6px;
  }
  .thalamus-bypass svg{
    min-width:840px;
  }
}

.perception-section{
  padding:82px clamp(18px,6vw,90px);
  background:
    radial-gradient(circle at 12% 32%,rgba(49,95,112,.10),transparent 24%),
    radial-gradient(circle at 86% 44%,rgba(182,73,100,.10),transparent 28%),
    linear-gradient(180deg,#f7eadf,#fffdf9);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.perception-strip{
  margin:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(22px,4vw,54px);
  max-width:1220px;
  background:transparent;
  border:0;
  box-shadow:none;
}
.perception-panel{
  min-width:0;
  position:relative;
  padding:0;
}
.perception-panel:before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  bottom:40px;
  width:2px;
  background:linear-gradient(180deg,var(--chapter-accent),transparent);
  opacity:.55;
}
.perception-panel h3{
  font-size:clamp(25px,2.4vw,34px);
  margin:0 0 10px;
  padding-left:18px;
}
.perception-panel p{
  margin:0 0 22px;
  padding-left:18px;
  color:var(--muted);
  line-height:1.55;
}
.nose-grid{
  display:grid;
  grid-template-columns:repeat(4,34px);
  gap:14px 18px;
  padding:12px 0 16px 18px;
}
.nose-grid span{
  width:28px;
  height:28px;
  border-radius:50%;
  display:block;
  position:relative;
}
.nose-grid span:before{
  content:"";
  position:absolute;
  left:5px;
  right:5px;
  top:-9px;
  height:8px;
  border-top:2px solid rgba(90,23,48,.38);
  border-radius:50% 50% 0 0;
}
.nose-grid .sees{
  background:var(--wine);
  animation:perceivePulse 4.8s ease-in-out infinite;
}
.nose-grid .misses{
  background:#c9b296;
  animation:missPulse 4.8s ease-in-out infinite;
}
.nose-grid span:nth-child(3n){animation-delay:.7s}
.nose-grid span:nth-child(4n){animation-delay:1.2s}
.anosmia-panel small{
  display:flex;
  gap:10px;
  align-items:center;
  padding-left:18px;
  color:var(--muted);
  font-weight:850;
}
.anosmia-panel small b,.anosmia-panel small i{
  display:inline-block;
  width:12px;
  height:12px;
  border-radius:50%;
}
.anosmia-panel small b{background:var(--wine)}
.anosmia-panel small i{background:#c9b296}
.perception-panel svg{
  display:block;
  width:100%;
  max-width:360px;
  height:auto;
  margin-left:10px;
  overflow:visible;
}
.perception-panel text{
  fill:var(--muted);
  font-size:13px;
  font-weight:800;
}
.axis,.wave-base{
  fill:none;
  stroke:rgba(90,23,48,.42);
  stroke-width:2;
}
.other-line{
  fill:none;
  stroke:#8c513d;
  stroke-width:2;
  stroke-dasharray:7 7;
  opacity:.8;
}
.fade-line{
  fill:none;
  stroke:var(--chapter-accent);
  stroke-width:4;
  stroke-linecap:round;
  stroke-dasharray:420;
  animation:fadeLineDraw 6s ease-in-out infinite;
}
.fade-dot,.wave-dot{
  fill:var(--chapter-accent);
  animation:dotGlow 3.6s ease-in-out infinite;
}
.fade-dot.d2{animation-delay:1s}
.flicker-wave{
  fill:none;
  stroke:var(--wine);
  stroke-width:4;
  stroke-linecap:round;
  stroke-dasharray:520;
  animation:flickerDraw 5.8s ease-in-out infinite;
}
.wave-dot.w2{animation-delay:.7s}
.wave-dot.w3{animation-delay:1.4s}
.perception-strip figcaption{
  grid-column:1 / -1;
  margin-top:2px;
  color:var(--muted);
  line-height:1.55;
}
.perception-strip figcaption strong{
  color:var(--wine);
  font-family:Georgia,serif;
}
@keyframes perceivePulse{
  0%,100%{opacity:.82;transform:scale(.94)}
  50%{opacity:1;transform:scale(1.06)}
}
@keyframes missPulse{
  0%,100%{opacity:.74;transform:scale(.9)}
  50%{opacity:.96;transform:scale(1)}
}
@keyframes fadeLineDraw{
  0%{stroke-dashoffset:420;opacity:.55}
  36%,72%{stroke-dashoffset:0;opacity:1}
  100%{stroke-dashoffset:-420;opacity:.55}
}
@keyframes flickerDraw{
  0%{stroke-dashoffset:520;opacity:.5}
  42%,72%{stroke-dashoffset:0;opacity:1}
  100%{stroke-dashoffset:-520;opacity:.5}
}
@keyframes dotGlow{
  0%,100%{opacity:.55;transform:scale(.9)}
  50%{opacity:1;transform:scale(1.18)}
}
@media(max-width:980px){
  .perception-strip{grid-template-columns:1fr}
  .perception-panel svg{max-width:520px}
}

/* Chapter 3 natural palette figures */
.natural-figure-section{
  padding:82px clamp(18px,6vw,90px);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.floral-figure-section{
  background:
    radial-gradient(circle at 18% 35%,rgba(216,162,79,.12),transparent 24%),
    radial-gradient(circle at 82% 46%,rgba(99,120,91,.14),transparent 28%),
    linear-gradient(135deg,#fffdf9,#f1eadf);
}
.woods-figure-section{
  background:
    radial-gradient(circle at 16% 70%,rgba(99,120,91,.16),transparent 26%),
    radial-gradient(circle at 84% 36%,rgba(90,23,48,.09),transparent 24%),
    linear-gradient(180deg,#f5eadf,#fffdf9);
}
.floral-orbit,.woods-root-system,.woods-base-map{
  margin:0;
  max-width:1180px;
  min-height:480px;
  position:relative;
  background:transparent;
  border:0;
  box-shadow:none;
}
.flower-center{
  position:absolute;
  left:50%;
  top:50%;
  width:190px;
  height:190px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  display:grid;
  place-items:center;
  text-align:center;
  align-content:center;
  gap:8px;
  border:1px solid rgba(99,120,91,.32);
  background:rgba(255,253,249,.48);
  box-shadow:0 20px 42px rgba(36,23,20,.07);
  animation:floralCenterBreath 8s ease-in-out infinite;
}
.flower-center:before{
  content:"";
  position:absolute;
  inset:-62px;
  border:1px dashed rgba(216,162,79,.42);
  border-radius:50%;
  animation:spin 34s linear infinite;
}
.flower-center strong{
  font-family:Georgia,serif;
  color:var(--wine);
  font-size:34px;
}
.flower-center span{
  color:var(--muted);
  font-weight:850;
}
.flower-node{
  position:absolute;
  width:190px;
  min-height:132px;
  display:grid;
  justify-items:center;
  align-content:start;
  gap:7px;
  text-align:center;
}
.flower-node i{
  width:72px;
  height:72px;
  display:block;
  position:relative;
  border-radius:50%;
  background:transparent;
  filter:drop-shadow(0 16px 22px rgba(90,23,48,.12));
  animation:petalFloat 6s ease-in-out infinite;
}
.flower-node i:before,
.flower-node i:after{
  content:"";
  position:absolute;
  inset:0;
}
.flower-node.rose i{
  background:
    radial-gradient(circle at 50% 50%, var(--wine) 0 9px, transparent 10px),
    conic-gradient(from 18deg, rgba(182,73,100,.88), rgba(246,214,192,.72), rgba(120,47,61,.86), rgba(182,73,100,.88));
  clip-path:polygon(50% 0,62% 24%,90% 14%,76% 42%,100% 50%,76% 58%,90% 86%,62% 76%,50% 100%,38% 76%,10% 86%,24% 58%,0 50%,24% 42%,10% 14%,38% 24%);
}
.flower-node.jasmine i{
  background:
    radial-gradient(circle at 50% 50%, #d8a24f 0 8px, transparent 9px),
    conic-gradient(from 0deg, #fffdf9 0 36deg, #efd7a2 36deg 72deg, #fffdf9 72deg 108deg, #efd7a2 108deg 144deg, #fffdf9 144deg 180deg, #efd7a2 180deg 216deg, #fffdf9 216deg 252deg, #efd7a2 252deg 288deg, #fffdf9 288deg 324deg, #efd7a2 324deg 360deg);
  clip-path:polygon(50% 0,61% 31%,94% 18%,70% 48%,98% 70%,62% 66%,50% 100%,38% 66%,2% 70%,30% 48%,6% 18%,39% 31%);
}
.flower-node.tuberose i{
  background:
    radial-gradient(ellipse at 50% 70%, rgba(90,23,48,.18) 0 18px, transparent 19px),
    linear-gradient(180deg,#fffdf9,#e9c1ca 78%,rgba(182,73,100,.5));
  clip-path:polygon(50% 0,64% 16%,78% 7%,78% 40%,95% 50%,73% 65%,67% 100%,50% 78%,33% 100%,27% 65%,5% 50%,22% 40%,22% 7%,36% 16%);
}
.flower-node.ylang i{
  background:
    radial-gradient(circle at 50% 52%, rgba(90,23,48,.72) 0 8px, transparent 9px),
    conic-gradient(from 18deg,#d8a24f,#8e8f57,#f3c46b,#63785b,#d8a24f);
  clip-path:polygon(50% 0,58% 37%,91% 15%,66% 48%,100% 62%,62% 62%,72% 100%,50% 68%,28% 100%,38% 62%,0 62%,34% 48%,9% 15%,42% 37%);
}
.flower-node.orange i{
  background:
    radial-gradient(circle at 50% 50%, #d8a24f 0 9px, transparent 10px),
    conic-gradient(from 0deg,#fff8ea,#f3c46b,#fffdf9,#f3c46b,#fff8ea);
  clip-path:polygon(50% 0,63% 31%,98% 22%,72% 50%,98% 78%,63% 69%,50% 100%,37% 69%,2% 78%,28% 50%,2% 22%,37% 31%);
}
.flower-node strong{
  font-family:Georgia,serif;
  color:var(--wine);
  font-size:25px;
  line-height:1;
}
.flower-node span{
  color:var(--muted);
  line-height:1.35;
  font-weight:780;
}
.flower-node.rose{left:7%;top:40%}
.flower-node.jasmine{left:26%;top:8%}
.flower-node.tuberose{right:26%;top:8%}
.flower-node.ylang{right:7%;top:40%}
.flower-node.orange{left:50%;bottom:4%;transform:translateX(-50%)}
.flower-node.jasmine i{animation-delay:.8s}
.flower-node.tuberose i{animation-delay:1.6s}
.flower-node.ylang i{animation-delay:2.4s}
.flower-node.orange i{animation-delay:3.2s}
.floral-orbit figcaption,.woods-root-system figcaption,.woods-base-map figcaption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  color:var(--muted);
  line-height:1.55;
}
.floral-orbit figcaption strong,.woods-root-system figcaption strong,.woods-base-map figcaption strong{
  color:var(--wine);
  font-family:Georgia,serif;
}
.woods-root-system{
  min-height:500px;
}
.woods-base-map{
  min-height:620px;
  display:grid;
  grid-template-columns:minmax(280px,1fr) 250px minmax(280px,1fr);
  align-items:center;
  gap:clamp(24px,4vw,60px);
}
.base-column{
  display:grid;
  gap:14px;
}
.map-label{
  color:var(--muted);
  font-weight:950;
  text-transform:uppercase;
  font-size:14px;
  letter-spacing:.05em;
  margin:0 0 4px;
}
.base-column span{
  min-height:78px;
  display:grid;
  align-content:center;
  gap:5px;
  position:relative;
  padding:14px 18px 14px 72px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(255,253,249,.58),rgba(255,253,249,.18));
  box-shadow:0 14px 28px rgba(36,23,20,.05);
}
.base-column span:before{
  content:"";
  position:absolute;
  left:18px;
  top:50%;
  width:34px;
  height:34px;
  transform:translateY(-50%);
  border-radius:50%;
  background:rgba(216,162,79,.35);
  box-shadow:inset 0 0 0 1px rgba(90,23,48,.22);
}
.base-column.materials span:after{
  content:"";
  position:absolute;
  right:-42px;
  top:50%;
  width:42px;
  height:1px;
  background:linear-gradient(90deg,rgba(90,23,48,.45),transparent);
  animation:baseFlow 5s ease-in-out infinite;
}
.base-column.effects span{
  padding-left:18px;
  padding-right:70px;
  background:linear-gradient(270deg,rgba(255,253,249,.62),rgba(255,253,249,.18));
}
.base-column.effects span:before{
  left:auto;
  right:18px;
  background:rgba(99,120,91,.28);
}
.base-column.effects span:after{
  content:"";
  position:absolute;
  left:-42px;
  top:50%;
  width:42px;
  height:1px;
  background:linear-gradient(270deg,rgba(99,120,91,.45),transparent);
  animation:baseFlow 5s ease-in-out infinite reverse;
}
.base-column b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:25px;
  line-height:1;
}
.base-column small{
  color:var(--muted);
  font-weight:820;
}
.base-heart{
  width:250px;
  height:250px;
  border-radius:50%;
  display:grid;
  place-items:center;
  align-content:center;
  gap:8px;
  text-align:center;
  position:relative;
  background:rgba(255,253,249,.34);
  box-shadow:0 28px 58px rgba(36,23,20,.07);
}
.base-heart:before,
.base-heart:after{
  content:"";
  position:absolute;
  inset:-38px;
  border-radius:50%;
  border:1px solid rgba(216,162,79,.24);
  animation:rootRing 7s ease-in-out infinite;
}
.base-heart:after{
  inset:-78px;
  border-color:rgba(99,120,91,.16);
  animation-delay:1.4s;
}
.base-heart strong{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:42px;
  line-height:1;
}
.base-heart small{
  max-width:160px;
  color:var(--muted);
  font-weight:850;
}
.base-column [data-role="creamy"]:before{border-radius:50% 42% 48% 45%;background:linear-gradient(135deg,#f2ddbd,#b98a70)}
.base-column [data-role="earth"]:before{border-radius:5px 22px 22px 5px;background:linear-gradient(135deg,#63785b,#b48a73)}
.base-column [data-role="shadow"]:before{background:linear-gradient(135deg,#5a1730,#63785b)}
.base-column [data-role="smoke"]:before{border-radius:50% 50% 50% 10px;background:linear-gradient(135deg,#d8a24f,#6f4a3d)}
.base-column [data-role="balsam"]:before{border-radius:12px 22px 12px 22px;background:linear-gradient(135deg,#8b573f,#d8a24f)}
.root-canopy,.root-network{
  position:absolute;
  left:0;
  right:0;
  display:flex;
  justify-content:center;
  gap:clamp(16px,4vw,54px);
  flex-wrap:wrap;
}
.root-canopy{top:22px}
.root-network{bottom:70px}
.root-canopy span,.root-network span{
  min-width:132px;
  text-align:center;
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:23px;
  font-weight:900;
  position:relative;
}
.root-canopy span:after,.root-network span:before{
  content:"";
  display:block;
  width:1px;
  height:86px;
  margin:12px auto 0;
  background:linear-gradient(180deg,rgba(99,120,91,.55),transparent);
  animation:rootLinePulse 6s ease-in-out infinite;
}
.root-network span:before{
  margin:0 auto 12px;
  background:linear-gradient(0deg,rgba(99,120,91,.55),transparent);
}
.root-trunk{
  position:absolute;
  left:50%;
  top:50%;
  width:220px;
  height:220px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  display:grid;
  place-items:center;
  align-content:center;
  gap:8px;
  text-align:center;
  background:rgba(255,253,249,.48);
  border:1px solid rgba(99,120,91,.38);
  box-shadow:0 22px 46px rgba(36,23,20,.08);
}
.root-trunk:before,.root-trunk:after{
  content:"";
  position:absolute;
  inset:-54px;
  border-radius:50%;
  border:1px solid rgba(216,162,79,.25);
  animation:rootRing 7s ease-in-out infinite;
}
.root-trunk:after{
  inset:-92px;
  border-color:rgba(99,120,91,.18);
  animation-delay:1.2s;
}
.root-trunk strong{
  font-family:Georgia,serif;
  color:var(--wine);
  font-size:38px;
}
.root-trunk small{
  color:var(--muted);
  font-weight:850;
}
@keyframes floralCenterBreath{
  0%,100%{opacity:.9}
  50%{opacity:1}
}
@keyframes petalFloat{
  0%,100%{transform:translateY(0) scale(.96)}
  50%{transform:translateY(-8px) scale(1.04)}
}
@keyframes baseFlow{
  0%,100%{opacity:.25;transform:scaleX(.65)}
  50%{opacity:.9;transform:scaleX(1)}
}
@keyframes rootLinePulse{
  0%,100%{opacity:.42;transform:scaleY(.82)}
  50%{opacity:1;transform:scaleY(1)}
}
@keyframes rootRing{
  0%,100%{transform:scale(.96);opacity:.45}
  50%{transform:scale(1.04);opacity:.9}
}
@media(max-width:860px){
  .floral-orbit{
    display:grid;
    gap:18px;
    min-height:auto;
    padding-bottom:58px;
  }
  .flower-center,.flower-node{
    position:relative;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:auto;
    min-height:auto;
  }
  .flower-center{
    width:180px;
    height:180px;
    justify-self:center;
  }
  .flower-node{
    grid-template-columns:70px 1fr;
    justify-items:start;
    text-align:left;
    align-items:center;
  }
  .flower-node span{grid-column:2}
  .floral-orbit figcaption,.woods-root-system figcaption,.woods-base-map figcaption{
    position:relative;
    margin-top:18px;
  }
  .woods-base-map{
    min-height:auto;
    grid-template-columns:1fr;
    gap:18px;
    padding-bottom:58px;
  }
  .base-column{
    gap:10px;
  }
  .base-column span{
    min-height:66px;
    padding-top:10px;
    padding-bottom:10px;
  }
  .base-column b{
    font-size:22px;
  }
  .base-heart{
    width:190px;
    height:190px;
    justify-self:center;
  }
  .base-heart strong{
    font-size:34px;
  }
  .base-column.materials span:after,
  .base-column.effects span:after{
    display:none;
  }
  .base-column.effects span{
    padding-left:72px;
    padding-right:18px;
  }
  .base-column.effects span:before{
    left:18px;
    right:auto;
  }
  .woods-root-system{
    min-height:auto;
    display:grid;
    gap:22px;
  }
  .root-canopy,.root-network,.root-trunk{
    position:relative;
    left:auto;
    right:auto;
    top:auto;
    bottom:auto;
    transform:none;
  }
  .root-trunk{
    justify-self:center;
  }
  .root-canopy span:after,.root-network span:before{
    height:34px;
  }
}

/* Chapter 4 synthetic revolution figures */
.synthetic-figure-section{
  padding:82px clamp(18px,6vw,90px);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.big5-section{
  background:radial-gradient(circle at 20% 35%,rgba(71,116,135,.13),transparent 25%),radial-gradient(circle at 82% 48%,rgba(90,23,48,.12),transparent 28%),linear-gradient(135deg,#fffdf9,#f4edf0);
}
.auth-section{
  background:radial-gradient(circle at 14% 68%,rgba(216,162,79,.12),transparent 24%),radial-gradient(circle at 86% 30%,rgba(71,116,135,.12),transparent 26%),linear-gradient(180deg,#fffdf9,#f2e9e3);
}
.big5-molecule-map,.auth-flow-map{
  margin:0;
  max-width:1180px;
  min-height:560px;
  position:relative;
  background:transparent;
  border:0;
  box-shadow:none;
}
.big5-core{
  position:absolute;
  left:50%;
  top:50%;
  width:190px;
  height:190px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  display:grid;
  place-items:center;
  align-content:center;
  gap:8px;
  text-align:center;
  background:var(--wine);
  color:#fffdf9;
  box-shadow:0 26px 58px rgba(90,23,48,.18);
}
.big5-core:before,.big5-core:after{
  content:"";
  position:absolute;
  inset:-54px;
  border-radius:50%;
  border:1px solid rgba(71,116,135,.26);
  animation:syntheticRing 7s ease-in-out infinite;
}
.big5-core:after{
  inset:-102px;
  border-color:rgba(216,162,79,.2);
  animation-delay:1.3s;
}
.big5-core strong{font-family:Georgia,serif;font-size:27px;line-height:1.05}
.big5-core span{max-width:130px;color:rgba(255,253,249,.82);font-weight:850;line-height:1.25}
.big5-node{
  position:absolute;
  width:210px;
  min-height:142px;
  border-radius:50%;
  display:grid;
  place-items:center;
  align-content:center;
  gap:8px;
  text-align:center;
  background:rgba(255,253,249,.55);
  box-shadow:0 20px 40px rgba(36,23,20,.07);
  animation:moleculeFloat 7s ease-in-out infinite;
}
.big5-node:before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:160px;
  height:1px;
  transform-origin:left center;
  background:linear-gradient(90deg,rgba(90,23,48,.38),transparent);
  z-index:-1;
  animation:moleculeLine 5s ease-in-out infinite;
}
.big5-node b{color:var(--wine);font-family:Georgia,serif;font-size:24px;line-height:1}
.big5-node small{color:var(--muted);font-weight:820;line-height:1.35}
.big5-node.iso{left:50%;top:4%;transform:translateX(-50%)}
.big5-node.iso:before{transform:rotate(90deg)}
.big5-node.ambroxan{right:8%;top:22%}
.big5-node.ambroxan:before{transform:rotate(145deg)}
.big5-node.hedione{right:8%;bottom:16%;animation-delay:.9s}
.big5-node.hedione:before{transform:rotate(215deg)}
.big5-node.galaxolide{left:8%;bottom:16%;animation-delay:1.8s}
.big5-node.galaxolide:before{transform:rotate(325deg)}
.big5-node.dhm{left:8%;top:22%;animation-delay:2.7s}
.big5-node.dhm:before{transform:rotate(35deg)}
.auth-flow-map{
  min-height:620px;
  display:grid;
  grid-template-columns:1fr 260px;
  align-items:center;
  gap:clamp(28px,5vw,78px);
}
.auth-track{
  display:grid;
  grid-template-columns:repeat(5,minmax(120px,1fr));
  gap:18px;
  position:relative;
}
.auth-track:before{
  content:"";
  position:absolute;
  left:7%;
  right:7%;
  top:50%;
  height:2px;
  background:linear-gradient(90deg,rgba(90,23,48,.15),rgba(71,116,135,.55),rgba(216,162,79,.2));
  animation:authLine 5.8s ease-in-out infinite;
}
.auth-step{
  min-height:184px;
  display:grid;
  align-content:center;
  gap:10px;
  text-align:center;
  position:relative;
  padding:22px 14px;
}
.auth-step:before{
  content:"";
  width:76px;
  height:76px;
  justify-self:center;
  border-radius:28px;
  background:rgba(255,253,249,.58);
  box-shadow:inset 0 0 0 1px rgba(71,116,135,.22),0 18px 34px rgba(36,23,20,.07);
  animation:authNode 6s ease-in-out infinite;
}
.auth-step b{color:var(--wine);font-family:Georgia,serif;font-size:21px;line-height:1.05}
.auth-step small{color:var(--muted);font-weight:810;line-height:1.35}
.auth-step.docs:before{border-radius:10px;background:linear-gradient(90deg,transparent 48%,rgba(90,23,48,.28) 49% 51%,transparent 52%),linear-gradient(180deg,#fffdf9,#eadbd1)}
.auth-step.test:before{border-radius:50% 50% 12px 12px;background:linear-gradient(180deg,#fffdf9 0 46%,rgba(71,116,135,.38) 47% 100%)}
.auth-step.purity:before{border-radius:50%;background:repeating-linear-gradient(90deg,rgba(90,23,48,.24) 0 5px,transparent 5px 13px),rgba(255,253,249,.62)}
.auth-step.supplier:before{border-radius:18px;background:linear-gradient(135deg,rgba(216,162,79,.45),rgba(255,253,249,.72))}
.auth-step.batch:before{border-radius:50%;background:radial-gradient(circle at 50% 50%,rgba(90,23,48,.55) 0 10px,transparent 11px),conic-gradient(from 0deg,rgba(71,116,135,.5),rgba(216,162,79,.38),rgba(71,116,135,.5))}
.auth-step.test:before{animation-delay:.7s}
.auth-step.purity:before{animation-delay:1.4s}
.auth-step.supplier:before{animation-delay:2.1s}
.auth-step.batch:before{animation-delay:2.8s}
.auth-result{
  width:260px;
  height:260px;
  border-radius:50%;
  display:grid;
  place-items:center;
  align-content:center;
  gap:10px;
  text-align:center;
  position:relative;
  background:var(--wine);
  color:#fffdf9;
  box-shadow:0 28px 58px rgba(90,23,48,.18);
}
.auth-result:before{
  content:"";
  position:absolute;
  inset:-34px;
  border-radius:50%;
  border:1px solid rgba(216,162,79,.3);
  animation:syntheticRing 7s ease-in-out infinite;
}
.auth-result strong{max-width:180px;font-family:Georgia,serif;font-size:34px;line-height:1}
.auth-result span{max-width:175px;color:rgba(255,253,249,.82);font-weight:850;line-height:1.3}
.big5-molecule-map figcaption,.auth-flow-map figcaption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  color:var(--muted);
  line-height:1.55;
}
.big5-molecule-map figcaption strong,.auth-flow-map figcaption strong{
  color:var(--wine);
  font-family:Georgia,serif;
}
@keyframes syntheticRing{
  0%,100%{opacity:.42;transform:scale(.96)}
  50%{opacity:.95;transform:scale(1.04)}
}
@keyframes moleculeFloat{
  0%,100%{margin-top:0}
  50%{margin-top:-10px}
}
@keyframes moleculeLine{
  0%,100%{opacity:.25}
  50%{opacity:.85}
}
@keyframes authLine{
  0%,100%{opacity:.32;transform:scaleX(.78)}
  50%{opacity:1;transform:scaleX(1)}
}
@keyframes authNode{
  0%,100%{transform:translateY(0);opacity:.86}
  50%{transform:translateY(-8px);opacity:1}
}
@media(max-width:980px){
  .big5-molecule-map{
    min-height:auto;
    display:grid;
    gap:16px;
    padding-bottom:58px;
  }
  .big5-core,.big5-node{
    position:relative;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    justify-self:center;
  }
  .big5-node{
    width:min(100%,320px);
    min-height:108px;
    border-radius:22px;
  }
  .big5-node:before{display:none}
  .auth-flow-map{
    min-height:auto;
    grid-template-columns:1fr;
    padding-bottom:58px;
  }
  .auth-track{
    grid-template-columns:1fr;
  }
  .auth-track:before{
    left:50%;
    right:auto;
    top:7%;
    bottom:7%;
    width:2px;
    height:auto;
    transform:translateX(-50%);
  }
  .auth-step{
    min-height:132px;
    grid-template-columns:92px 1fr;
    align-items:center;
    text-align:left;
  }
  .auth-step:before{grid-row:1 / 3}
  .auth-result{
    width:220px;
    height:220px;
    justify-self:center;
  }
  .big5-molecule-map figcaption,.auth-flow-map figcaption{
    position:relative;
    margin-top:14px;
  }
}

/* Chapter 4 diagram cleanup */
.clean-big5{
  min-height:620px;
  display:grid;
  grid-template-columns:repeat(5,minmax(150px,1fr));
  grid-template-rows:auto 260px auto;
  column-gap:24px;
  row-gap:38px;
  align-items:center;
  max-width:1220px;
  margin-inline:auto;
}
.clean-big5:before{
  display:none;
}
.big5-title-node{
  grid-column:1 / -1;
  grid-row:1;
  justify-self:center;
  width:min(760px,100%);
  padding:8px 30px 2px;
  text-align:center;
  position:relative;
}
.big5-title-node:before{
  display:none;
}
.big5-title-node strong{
  display:block;
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:46px;
  line-height:1;
}
.big5-title-node span{
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-weight:850;
}
.big5-card{
  grid-row:2;
  min-height:230px;
  display:grid;
  justify-items:center;
  align-content:start;
  gap:10px;
  text-align:center;
  position:relative;
  padding:12px 8px;
  animation:moleculeFloat 7s ease-in-out infinite;
}
.big5-card.dhm{grid-column:1}
.big5-card.iso{grid-column:2}
.big5-card.ambroxan{grid-column:3}
.big5-card.hedione{grid-column:4}
.big5-card.galaxolide{grid-column:5}
.big5-card:before{
  display:none;
}
.big5-card b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:25px;
  line-height:1.05;
}
.big5-card small{
  max-width:155px;
  color:var(--muted);
  font-weight:820;
  line-height:1.35;
}
.molecule-mark{
  width:82px;
  height:82px;
  display:block;
  border-radius:50%;
  position:relative;
  background:rgba(255,253,249,.58);
  box-shadow:inset 0 0 0 1px rgba(90,23,48,.16),0 18px 36px rgba(36,23,20,.06);
}
.molecule-mark:before,.molecule-mark:after{
  content:"";
  position:absolute;
  border-radius:50%;
  background:var(--wine);
  opacity:.82;
}
.molecule-mark:before{
  width:20px;
  height:20px;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
}
.molecule-mark:after{
  width:12px;
  height:12px;
  right:18px;
  top:20px;
}
.molecule-mark.woody{background:radial-gradient(circle at 52% 50%,rgba(216,162,79,.35),transparent 44%),rgba(255,253,249,.58)}
.molecule-mark.amber{background:linear-gradient(135deg,rgba(216,162,79,.35),rgba(90,23,48,.1)),rgba(255,253,249,.58)}
.molecule-mark.floral:before{width:42px;height:42px;left:20px;top:20px;background:conic-gradient(from 0deg,#fffdf9,#d8a24f,#b64964,#fffdf9);opacity:.95}
.molecule-mark.floral:after{width:12px;height:12px;right:35px;top:35px;background:var(--wine)}
.molecule-mark.musk:before{width:46px;height:46px;left:18px;top:18px;background:rgba(71,116,135,.32)}
.molecule-mark.musk:after{width:24px;height:24px;right:18px;top:40px;background:rgba(216,162,79,.5)}
.molecule-mark.fresh{border-radius:28px}
.molecule-mark.fresh:before{width:44px;height:3px;left:18px;top:30px;border-radius:3px;background:rgba(71,116,135,.7)}
.molecule-mark.fresh:after{width:28px;height:3px;right:18px;bottom:30px;border-radius:3px;background:rgba(90,23,48,.55)}
.clean-auth{
  min-height:560px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 220px;
  gap:34px;
  align-items:center;
  max-width:1220px;
  margin-inline:auto;
}
.clean-auth .auth-track{
  display:grid;
  grid-template-columns:repeat(5,minmax(130px,1fr));
  gap:14px;
  align-items:start;
}
.clean-auth .auth-track:before{
  display:none;
}
.clean-auth .auth-step{
  min-height:214px;
  display:grid;
  grid-template-rows:74px auto auto;
  justify-items:center;
  align-content:start;
  gap:8px;
  padding:0 4px;
  text-align:center;
}
.clean-auth .auth-step:before{
  display:none;
}
.auth-icon{
  width:68px;
  height:68px;
  display:grid;
  place-items:center;
  border-radius:24px;
  background:rgba(255,253,249,.62);
  box-shadow:inset 0 0 0 1px rgba(90,23,48,.16),0 16px 30px rgba(36,23,20,.06);
  animation:authNode 6s ease-in-out infinite;
}
.auth-icon svg{
  width:44px;
  height:44px;
  fill:none;
  stroke:var(--wine);
  stroke-width:2.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.clean-auth .auth-step.test .auth-icon svg{stroke:#477487}
.clean-auth .auth-step.purity .auth-icon svg{stroke:#8b6f4b}
.clean-auth .auth-step.supplier .auth-icon svg{stroke:#8c513d}
.clean-auth .auth-step.batch .auth-icon svg{stroke:#63785b}
.clean-auth .auth-step b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:20px;
  line-height:1.02;
}
.clean-auth .auth-step small{
  max-width:136px;
  color:var(--muted);
  font-weight:800;
  line-height:1.28;
}
.clean-auth .auth-result{
  width:210px;
  height:210px;
}
.clean-auth .auth-result strong{
  font-size:27px;
}
.clean-big5 figcaption{
  position:relative;
  grid-column:1 / -1;
  grid-row:3;
  left:auto;
  right:auto;
  bottom:auto;
  max-width:940px;
}
.clean-auth figcaption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
}
@media(max-width:980px){
  .clean-big5{
    grid-template-columns:1fr;
    grid-template-rows:auto;
    min-height:auto;
  }
  .clean-big5:before,.big5-title-node:before,.big5-card:before{display:none}
  .big5-title-node,.big5-card{
    grid-column:auto;
    grid-row:auto;
  }
  .big5-title-node strong{font-size:38px}
  .big5-card{
    min-height:auto;
    grid-template-columns:88px 1fr;
    justify-items:start;
    text-align:left;
    align-items:center;
  }
  .big5-card small{max-width:none}
  .clean-auth{
    grid-template-columns:1fr;
    min-height:auto;
  }
  .clean-auth .auth-track{
    grid-template-columns:1fr;
    gap:12px;
  }
  .clean-auth .auth-track:before{display:none}
  .clean-auth .auth-step{
    min-height:auto;
    grid-template-columns:82px 1fr;
    grid-template-rows:auto auto;
    justify-items:start;
    align-items:center;
    text-align:left;
  }
  .clean-auth .auth-step small{max-width:none}
  .auth-icon{grid-row:1 / 3}
  .clean-auth .auth-result{
    justify-self:center;
  }
}

/* Center figure labels across chapter visuals */
.history-arc-diagram figcaption,
.traced-yantra figcaption,
.thalamus-bypass figcaption,
.perception-strip figcaption,
.floral-orbit figcaption,
.woods-base-map figcaption,
.big5-molecule-map figcaption,
.auth-flow-map figcaption,
.deg-apparatus-figure figcaption,
.attar-worlds-figure figcaption{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

/* Chapter 6 blending visuals */
.blending-figure-section{
  padding:82px clamp(18px,6vw,90px);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.organ-section{
  background:radial-gradient(circle at 18% 34%,rgba(102,123,89,.14),transparent 25%),radial-gradient(circle at 84% 44%,rgba(162,61,87,.12),transparent 28%),linear-gradient(135deg,#fffdf9,#f4e8ec);
}
.workspace-section{
  background:radial-gradient(circle at 18% 34%,rgba(102,123,89,.14),transparent 25%),radial-gradient(circle at 84% 44%,rgba(162,61,87,.13),transparent 28%),linear-gradient(135deg,#fffdf9,#f4e8ec);
}
.time-section{
  background:radial-gradient(circle at 18% 34%,rgba(102,123,89,.12),transparent 25%),radial-gradient(circle at 84% 44%,rgba(162,61,87,.13),transparent 28%),linear-gradient(135deg,#fffdf9,#f4e8ec);
}
.mistakes-section{
  background:radial-gradient(circle at 15% 72%,rgba(216,162,79,.12),transparent 24%),radial-gradient(circle at 86% 32%,rgba(102,123,89,.12),transparent 26%),linear-gradient(180deg,#fffdf9,#f1e8e2);
}
.perfumers-organ-figure,.mistakes-map-figure{
  margin:0 auto;
  max-width:1180px;
  position:relative;
  background:transparent;
  border:0;
  box-shadow:none;
}
.workspace-compare-figure{
  margin:0 auto;
  max-width:1180px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(22px,4vw,54px);
  position:relative;
  background:transparent;
  border:0;
  box-shadow:none;
}
.time-ingredient-figure{
  margin:0 auto;
  max-width:1120px;
  position:relative;
  display:grid;
  gap:34px;
  background:transparent;
  border:0;
  box-shadow:none;
}
.time-row{
  display:grid;
  grid-template-columns:220px minmax(300px,430px) 220px;
  align-items:center;
  justify-content:center;
  gap:34px;
}
.time-state{
  min-height:190px;
  display:grid;
  justify-items:center;
  align-content:center;
  gap:8px;
  text-align:center;
  position:relative;
}
.time-state:after{
  content:"";
  position:absolute;
  left:calc(100% + 6px);
  top:74px;
  width:28px;
  height:2px;
  background:rgba(129,69,47,.36);
}
.time-row .time-state:last-child:after{display:none}
.time-process{
  min-height:152px;
  display:grid;
  align-content:center;
  gap:8px;
  text-align:center;
  padding:22px 30px;
  border:2px solid rgba(90,23,48,.48);
  background:rgba(255,253,249,.56);
  box-shadow:0 20px 42px rgba(36,23,20,.06);
}
.time-process.maceration{
  background:var(--wine);
  color:#fffdf9;
  border-color:rgba(255,253,249,.28);
}
.time-process strong{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:30px;
  text-transform:uppercase;
  line-height:1;
}
.time-process.maceration strong{
  color:#fffdf9;
}
.time-process span{
  color:var(--muted);
  font-weight:900;
}
.time-process.maceration span,.time-process.maceration p{
  color:rgba(255,253,249,.82);
}
.time-process p{
  margin:0;
  color:var(--muted);
  line-height:1.4;
  font-weight:760;
}
.cup-icon{
  width:96px;
  height:96px;
  display:block;
  position:relative;
  border-radius:50%;
  background:rgba(255,253,249,.58);
  box-shadow:inset 0 0 0 2px rgba(129,69,47,.24),0 18px 34px rgba(36,23,20,.06);
  animation:timeCupPulse 6s ease-in-out infinite;
}
.cup-icon:before{
  content:"";
  position:absolute;
  left:33px;
  top:30px;
  width:30px;
  height:43px;
  border-radius:2px 2px 12px 12px;
  background:#d5bda9;
  clip-path:polygon(0 0,100% 0,82% 100%,18% 100%);
}
.split-cup:after{
  content:"";
  position:absolute;
  left:32px;
  top:49px;
  width:32px;
  height:2px;
  background:#81452f;
}
.finished-cup{
  background:var(--wine);
  box-shadow:0 22px 42px rgba(90,23,48,.18);
}
.finished-cup:before{
  background:#9a705d;
}
.time-state b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:24px;
  line-height:1;
}
.time-state small{
  color:#8c6c60;
  font-weight:850;
  font-style:italic;
}
.time-drop{
  justify-self:center;
  width:min(760px,80%);
  height:58px;
  position:relative;
  border-top:2px solid rgba(129,69,47,.25);
}
.time-drop:before,.time-drop:after{
  content:"";
  position:absolute;
  top:-2px;
  width:2px;
  height:34px;
  background:rgba(129,69,47,.45);
}
.time-drop:before{right:0}
.time-drop:after{left:0;top:22px}
.time-warning{
  text-align:center;
  color:#a23d57;
  font-family:Georgia,serif;
  font-size:24px;
  font-style:italic;
  font-weight:850;
}
.time-ingredient-figure figcaption{
  max-width:860px;
  color:var(--muted);
  line-height:1.55;
  text-align:center;
  margin:0 auto;
}
.time-ingredient-figure figcaption strong{
  color:var(--wine);
  font-family:Georgia,serif;
}
.time-process-flow{
  max-width:1220px;
  min-height:560px;
  grid-template-columns:repeat(6,minmax(130px,1fr));
  align-items:center;
  gap:18px;
  padding-top:28px;
}
.time-process-flow .flow-line{
  position:absolute;
  left:7%;
  right:7%;
  top:210px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(162,61,87,.2),rgba(216,162,79,.42),rgba(102,123,89,.34));
}
.time-process-flow .flow-pulse{
  position:absolute;
  left:7%;
  top:203px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--wine);
  box-shadow:0 0 0 8px rgba(162,61,87,.12);
  animation:processPulse 9s ease-in-out infinite;
}
.flow-step,.flow-phase{
  min-height:275px;
  display:grid;
  justify-items:center;
  align-content:start;
  gap:9px;
  text-align:center;
  position:relative;
}
.flow-step b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:23px;
  line-height:1.04;
}
.flow-step small{
  max-width:142px;
  color:#8c6c60;
  font-weight:850;
  font-style:italic;
  line-height:1.3;
}
.flow-icon{
  width:86px;
  height:86px;
  display:block;
  position:relative;
  border-radius:50%;
  background:rgba(255,253,249,.62);
  box-shadow:inset 0 0 0 2px rgba(129,69,47,.18),0 18px 34px rgba(36,23,20,.06);
  animation:timeCupPulse 6s ease-in-out infinite;
}
.flow-icon:before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:30px;
  height:44px;
  transform:translate(-50%,-50%);
  border-radius:2px 2px 12px 12px;
  clip-path:polygon(0 0,100% 0,82% 100%,18% 100%);
  background:#d5bda9;
}
.flow-icon.alcohol:after,.flow-icon.diluted:after{
  content:"";
  position:absolute;
  left:28px;
  top:48px;
  width:30px;
  height:2px;
  background:#81452f;
}
.flow-icon.alcohol:before{background:linear-gradient(180deg,#e3d3c5 0 45%,rgba(255,253,249,.72) 46% 100%)}
.flow-icon.diluted:before{background:linear-gradient(180deg,#d5bda9 0 58%,rgba(255,253,249,.75) 59% 100%)}
.flow-icon.finished{
  background:var(--wine);
  box-shadow:0 22px 42px rgba(90,23,48,.18);
}
.flow-icon.finished:before{background:#9a705d}
.flow-phase{
  min-height:275px;
  align-content:center;
  padding:22px 18px;
  border:2px solid rgba(90,23,48,.35);
  background:rgba(255,253,249,.54);
  box-shadow:0 20px 42px rgba(36,23,20,.06);
}
.flow-phase.maceration{
  background:var(--wine);
  color:#fffdf9;
  border-color:rgba(255,253,249,.22);
}
.flow-phase strong{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:25px;
  text-transform:uppercase;
  line-height:1;
}
.flow-phase.maceration strong{color:#fffdf9}
.flow-phase span{
  color:var(--muted);
  font-weight:950;
}
.flow-phase.maceration span,.flow-phase.maceration p{
  color:rgba(255,253,249,.84);
}
.flow-phase p{
  margin:0;
  color:var(--muted);
  font-weight:760;
  line-height:1.34;
}
.time-process-flow .time-warning{
  grid-column:1 / -1;
  margin-top:6px;
}
.time-process-flow figcaption{
  grid-column:1 / -1;
}
@keyframes processPulse{
  0%{left:7%;opacity:.25}
  10%,22%{opacity:1}
  30%{left:24%}
  42%{left:41%}
  58%{left:58%}
  75%{left:75%}
  92%,100%{left:92%;opacity:.25}
}
@keyframes processPulseVertical{
  0%{top:86px;opacity:.25}
  10%,22%{opacity:1}
  30%{top:25%}
  45%{top:40%}
  60%{top:55%}
  78%{top:70%}
  92%,100%{top:82%;opacity:.25}
}
.workspace-side{
  min-height:430px;
  position:relative;
  padding:28px;
}
.workspace-label{
  text-align:center;
}
.workspace-label strong{
  display:block;
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:36px;
  line-height:1;
}
.workspace-label span{
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-weight:850;
}
.bench-line{
  position:absolute;
  left:36px;
  right:36px;
  bottom:104px;
  height:10px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(102,123,89,.38),rgba(216,162,79,.28));
  box-shadow:0 14px 28px rgba(36,23,20,.06);
}
.bench-item{
  position:absolute;
  width:128px;
  display:grid;
  justify-items:center;
  gap:8px;
  text-align:center;
  animation:cleanToolFloat 6s ease-in-out infinite;
}
.bench-item i{
  width:72px;
  height:72px;
  display:block;
  position:relative;
  border-radius:22px;
  background:rgba(255,253,249,.65);
  box-shadow:inset 0 0 0 1px rgba(102,123,89,.22),0 18px 32px rgba(36,23,20,.06);
}
.bench-item b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:20px;
  line-height:1.05;
}
.bench-item.scale{left:5%;bottom:126px}
.bench-item.bottles{left:31%;bottom:152px;animation-delay:.6s}
.bench-item.pipettes{right:31%;bottom:152px;animation-delay:1.2s}
.bench-item.blotters{right:5%;bottom:126px;animation-delay:1.8s}
.bench-item.scale i:before{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  bottom:18px;
  height:8px;
  border-radius:8px;
  background:#667b59;
}
.bench-item.scale i:after{
  content:"0.01g";
  position:absolute;
  left:14px;
  right:14px;
  top:18px;
  color:var(--wine);
  font-size:13px;
  font-weight:900;
}
.bench-item.bottles i:before,.bench-item.bottles i:after{
  content:"";
  position:absolute;
  bottom:14px;
  width:18px;
  height:40px;
  border-radius:8px 8px 5px 5px;
  background:linear-gradient(180deg,#fffdf9 0 35%,rgba(162,61,87,.48) 36% 100%);
}
.bench-item.bottles i:before{left:18px}
.bench-item.bottles i:after{right:18px;background:linear-gradient(180deg,#fffdf9 0 35%,rgba(216,162,79,.48) 36% 100%)}
.bench-item.pipettes i:before,.bench-item.pipettes i:after{
  content:"";
  position:absolute;
  width:4px;
  height:52px;
  top:10px;
  border-radius:4px;
  background:#81452f;
  transform:rotate(32deg);
}
.bench-item.pipettes i:before{left:26px}
.bench-item.pipettes i:after{right:26px;background:#667b59}
.bench-item.blotters i:before{
  content:"";
  position:absolute;
  left:20px;
  top:16px;
  width:30px;
  height:42px;
  background:linear-gradient(180deg,#fffdf9,#eadbd1);
  box-shadow:8px 5px 0 rgba(255,253,249,.7);
}
.messy-cross{
  position:absolute;
  width:110px;
  height:110px;
  border-radius:50%;
  border:2px solid rgba(162,61,87,.28);
  animation:messyDrift 5s ease-in-out infinite;
}
.messy-cross:before,.messy-cross:after{
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  top:52px;
  height:4px;
  border-radius:4px;
  background:rgba(162,61,87,.55);
}
.messy-cross:before{transform:rotate(45deg)}
.messy-cross:after{transform:rotate(-45deg)}
.messy-cross.one{left:18%;top:148px}
.messy-cross.two{right:14%;bottom:128px;animation-delay:1.3s}
.messy-item{
  position:absolute;
  background:rgba(255,253,249,.58);
  box-shadow:0 18px 34px rgba(36,23,20,.07);
}
.messy-item.spill{
  left:45%;
  top:188px;
  width:118px;
  height:46px;
  border-radius:50%;
  background:rgba(162,61,87,.28);
  transform:rotate(-14deg);
  animation:spillSpread 5.2s ease-in-out infinite;
}
.messy-item.unlabeled{
  left:20%;
  bottom:132px;
  width:72px;
  height:112px;
  border-radius:22px 22px 12px 12px;
  display:grid;
  place-items:center;
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:42px;
  font-weight:900;
}
.messy-item.mixed-pipettes{
  right:18%;
  top:168px;
  width:96px;
  height:72px;
  border-radius:22px;
}
.messy-item.mixed-pipettes:before,.messy-item.mixed-pipettes:after{
  content:"";
  position:absolute;
  width:5px;
  height:82px;
  top:-4px;
  border-radius:5px;
  background:var(--wine);
}
.messy-item.mixed-pipettes:before{left:34px;transform:rotate(57deg)}
.messy-item.mixed-pipettes:after{right:34px;transform:rotate(-55deg);background:#667b59}
.messy-note{
  position:absolute;
  color:var(--muted);
  font-weight:900;
  font-size:15px;
}
.messy-note.note-a{left:8%;bottom:92px}
.messy-note.note-b{right:10%;top:254px}
.workspace-result{
  position:absolute;
  left:50%;
  bottom:18px;
  width:min(360px,80%);
  transform:translateX(-50%);
  text-align:center;
  padding:14px 18px;
  color:#fffdf9;
  font-weight:900;
}
.workspace-result.good{background:#667b59}
.workspace-result.bad{background:var(--wine)}
.workspace-compare-figure figcaption{
  grid-column:1 / -1;
  max-width:860px;
  color:var(--muted);
  line-height:1.55;
  text-align:center;
  margin:18px auto 0;
}
.workspace-compare-figure figcaption strong{
  color:var(--wine);
  font-family:Georgia,serif;
}
.perfumers-organ-figure{
  display:grid;
  gap:18px;
}
.organ-shelf{
  display:grid;
  grid-template-columns:repeat(4,minmax(130px,1fr));
  gap:18px;
  padding:0 26px 26px;
  position:relative;
}
.organ-shelf:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:12px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(90,23,48,.16),rgba(216,162,79,.3),rgba(102,123,89,.16));
  box-shadow:0 14px 28px rgba(36,23,20,.06);
}
.organ-bottle{
  min-height:178px;
  display:grid;
  justify-items:center;
  align-content:end;
  gap:8px;
  text-align:center;
  animation:bottleBreath 6s ease-in-out infinite;
}
.organ-bottle i{
  width:64px;
  height:124px;
  display:block;
  position:relative;
  border-radius:22px 22px 12px 12px;
  background:linear-gradient(180deg,rgba(255,253,249,.9) 0 34%,rgba(162,61,87,.42) 35% 100%);
  box-shadow:inset 0 0 0 1px rgba(90,23,48,.16),0 18px 30px rgba(36,23,20,.08);
}
.organ-bottle i:before{
  content:"";
  position:absolute;
  left:22px;
  top:-22px;
  width:20px;
  height:28px;
  border-radius:8px 8px 0 0;
  background:var(--wine);
}
.organ-bottle i:after{
  content:"";
  position:absolute;
  left:50%;
  top:46%;
  width:42px;
  height:1px;
  transform:translateX(-50%);
  background:rgba(255,253,249,.75);
}
.organ-bottle b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:23px;
  line-height:1;
}
.organ-bottle.citrus i{background:linear-gradient(180deg,rgba(255,253,249,.92) 0 34%,rgba(216,162,79,.5) 35% 100%)}
.organ-bottle.floral i{background:linear-gradient(180deg,rgba(255,253,249,.92) 0 34%,rgba(182,73,100,.52) 35% 100%)}
.organ-bottle.green i{background:linear-gradient(180deg,rgba(255,253,249,.92) 0 34%,rgba(102,123,89,.52) 35% 100%)}
.organ-bottle.spice i{background:linear-gradient(180deg,rgba(255,253,249,.92) 0 34%,rgba(129,69,47,.5) 35% 100%)}
.organ-bottle.woods i{background:linear-gradient(180deg,rgba(255,253,249,.92) 0 34%,rgba(111,77,64,.55) 35% 100%)}
.organ-bottle.amber i{background:linear-gradient(180deg,rgba(255,253,249,.92) 0 34%,rgba(216,162,79,.58) 35% 100%)}
.organ-bottle.musk i{background:linear-gradient(180deg,rgba(255,253,249,.92) 0 34%,rgba(71,116,135,.38) 35% 100%)}
.organ-bottle.resin i{background:linear-gradient(180deg,rgba(255,253,249,.92) 0 34%,rgba(90,23,48,.55) 35% 100%)}
.organ-bench{
  display:grid;
  grid-template-columns:repeat(3,minmax(160px,1fr));
  gap:16px;
  max-width:880px;
  margin:20px auto 0;
}
.bench-tool{
  min-height:108px;
  display:grid;
  align-content:center;
  gap:6px;
  text-align:center;
  padding:16px;
  border-left:3px solid rgba(216,162,79,.7);
  background:rgba(255,253,249,.48);
  box-shadow:0 16px 34px rgba(36,23,20,.05);
}
.bench-tool strong{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:25px;
}
.bench-tool small{
  color:var(--muted);
  font-weight:820;
}
.mistakes-map-figure{
  display:grid;
  grid-template-columns:repeat(5,minmax(140px,1fr));
  gap:18px;
  align-items:stretch;
}
.mistake-card{
  min-height:245px;
  display:grid;
  align-content:start;
  gap:10px;
  text-align:center;
  padding:8px 8px 0;
}
.mistake-card span{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  justify-self:center;
  border-radius:50%;
  background:var(--wine);
  color:#fffdf9;
  font-weight:950;
  box-shadow:0 14px 28px rgba(90,23,48,.16);
  animation:mistakePulse 6s ease-in-out infinite;
}
.mistake-card b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:25px;
  line-height:1.05;
}
.mistake-card small{
  color:var(--muted);
  font-weight:790;
  line-height:1.38;
}
.mistake-solution{
  grid-column:1 / -1;
  justify-self:center;
  width:min(820px,100%);
  display:grid;
  gap:7px;
  text-align:center;
  padding:22px 28px;
  border-radius:0;
  background:var(--wine);
  color:#fffdf9;
  box-shadow:0 24px 52px rgba(90,23,48,.13);
}
.mistake-solution strong{
  font-family:Georgia,serif;
  font-size:31px;
}
.mistake-solution span{
  color:rgba(255,253,249,.84);
  font-weight:840;
}
.perfumers-organ-figure figcaption,.mistakes-map-figure figcaption{
  grid-column:1 / -1;
  max-width:860px;
  color:var(--muted);
  line-height:1.55;
  text-align:center;
  margin:18px auto 0;
}
.perfumers-organ-figure figcaption strong,.mistakes-map-figure figcaption strong{
  color:var(--wine);
  font-family:Georgia,serif;
}
@keyframes bottleBreath{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
}
@keyframes mistakePulse{
  0%,100%{transform:scale(.95);opacity:.86}
  50%{transform:scale(1.05);opacity:1}
}
@keyframes cleanToolFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-7px)}
}
@keyframes messyDrift{
  0%,100%{transform:translate(0,0) rotate(0)}
  50%{transform:translate(8px,-6px) rotate(4deg)}
}
@keyframes spillSpread{
  0%,100%{transform:rotate(-14deg) scale(.95);opacity:.65}
  50%{transform:rotate(-14deg) scale(1.08);opacity:.9}
}
@keyframes timeCupPulse{
  0%,100%{transform:translateY(0);opacity:.9}
  50%{transform:translateY(-7px);opacity:1}
}
@media(max-width:980px){
  .organ-shelf,.organ-bench,.mistakes-map-figure{
    grid-template-columns:1fr;
  }
  .organ-bottle{
    min-height:auto;
    grid-template-columns:78px 1fr;
    justify-items:start;
    align-items:center;
    text-align:left;
  }
  .organ-bottle i{
    width:48px;
    height:92px;
  }
  .organ-bottle i:before{
    left:16px;
    width:16px;
    height:22px;
  }
  .mistake-card{
    min-height:auto;
    grid-template-columns:64px 1fr;
    text-align:left;
    align-items:center;
  }
  .mistake-card span{
    grid-row:1 / 3;
  }
  .workspace-compare-figure{
    grid-template-columns:1fr;
  }
  .workspace-side{
    min-height:390px;
  }
  .time-row{
    grid-template-columns:1fr;
    gap:16px;
  }
  .time-state:after,.time-drop{
    display:none;
  }
  .time-process{
    min-height:auto;
  }
  .time-process-flow{
    grid-template-columns:1fr;
    min-height:auto;
    padding-left:26px;
  }
  .time-process-flow .flow-line{
    display:block;
    left:18px;
    right:auto;
    top:86px;
    bottom:150px;
    width:3px;
    height:auto;
    background:linear-gradient(180deg,rgba(162,61,87,.2),rgba(216,162,79,.42),rgba(102,123,89,.34));
  }
  .time-process-flow .flow-pulse{
    display:block;
    left:11px;
    top:86px;
    animation:processPulseVertical 9s ease-in-out infinite;
  }
  .flow-step,.flow-phase{
    min-height:auto;
  }
  .bench-item{
    width:110px;
  }
  .bench-item b{
    font-size:18px;
  }
}

/* Chapter 5 Kannauj visuals */
.kannauj-figure-section{
  padding:82px clamp(18px,6vw,90px);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.deg-apparatus-section{
  background:radial-gradient(circle at 18% 35%,rgba(216,162,79,.16),transparent 25%),radial-gradient(circle at 85% 48%,rgba(129,69,47,.11),transparent 28%),linear-gradient(135deg,#fffdf9,#f3e9df);
}
.attar-worlds-section{
  background:radial-gradient(circle at 14% 68%,rgba(99,120,91,.12),transparent 24%),radial-gradient(circle at 84% 34%,rgba(216,162,79,.14),transparent 26%),linear-gradient(180deg,#fffdf9,#f2e9e1);
}
.deg-apparatus-figure,.attar-worlds-figure{
  margin:0 auto;
  max-width:1180px;
  position:relative;
  background:transparent;
  border:0;
  box-shadow:none;
}
.deg-apparatus-figure svg{
  display:block;
  width:100%;
  height:auto;
  overflow:visible;
}
.deg-apparatus-figure .deg-body,.deg-apparatus-figure .bhapka{
  fill:rgba(255,253,249,.72);
  stroke:var(--wine);
  stroke-width:4;
}
.deg-apparatus-figure .deg-lip,.deg-apparatus-figure .bhapka-lip{
  fill:#fffdf9;
  stroke:var(--wine);
  stroke-width:4;
}
.deg-apparatus-figure .sarpos{
  fill:#ead7c5;
  stroke:#81452f;
  stroke-width:5;
}
.deg-apparatus-figure .seal{
  fill:none;
  stroke:var(--wine);
  stroke-width:3;
  opacity:.75;
}
.deg-apparatus-figure .bhatti,.deg-apparatus-figure .heat{
  fill:var(--wine);
}
.deg-apparatus-figure .heat{
  opacity:.95;
  animation:heatPulse 3.2s ease-in-out infinite;
}
.deg-apparatus-figure .deg-water,.deg-apparatus-figure .water-line{
  fill:none;
  stroke:#c8b1a2;
  stroke-width:3;
  animation:waterDrift 5s ease-in-out infinite;
}
.deg-apparatus-figure .chonga{
  fill:none;
  stroke:#8b5a43;
  stroke-width:18;
  stroke-linecap:round;
}
.deg-apparatus-figure .chonga-highlight{
  fill:none;
  stroke:rgba(255,253,249,.44);
  stroke-width:5;
  stroke-linecap:round;
}
.deg-apparatus-figure .gachchi{
  fill:rgba(129,69,47,.08);
  stroke:var(--wine);
  stroke-width:3;
  stroke-dasharray:9 8;
}
.deg-apparatus-figure .oil{
  fill:rgba(216,162,79,.33);
}
.deg-apparatus-figure .absorb{
  fill:var(--wine);
  opacity:.55;
  animation:absorbDrop 4.4s ease-in-out infinite;
}
.apparatus-markers circle{
  fill:var(--wine);
  stroke:#fffdf9;
  stroke-width:4;
  filter:drop-shadow(0 10px 16px rgba(36,23,20,.16));
}
.apparatus-markers text{
  fill:#fffdf9;
  font-family:Arial,sans-serif;
  font-size:18px;
  font-weight:900;
  text-anchor:middle;
  dominant-baseline:central;
}
.deg-apparatus-figure .a2{animation-delay:.8s}
.deg-apparatus-figure .a3{animation-delay:1.6s}
.deg-apparatus-figure .vapor-dot{
  fill:var(--chapter-accent);
  opacity:.72;
  offset-path:path("M388 172c76-88 205-100 298-18 48 42 106 28 154 75");
  animation:vaporTravel 5.6s ease-in-out infinite;
}
.deg-apparatus-figure .d1{offset-distance:8%}
.deg-apparatus-figure .d2{offset-distance:34%;animation-delay:.7s}
.deg-apparatus-figure .d3{offset-distance:62%;animation-delay:1.4s}
.deg-apparatus-figure .d4{offset-distance:88%;animation-delay:2.1s}
.apparatus-notes{
  display:grid;
  grid-template-columns:repeat(3,minmax(180px,1fr));
  gap:14px;
  max-width:980px;
  margin:16px auto 0;
}
.apparatus-notes span{
  min-height:88px;
  display:grid;
  align-content:center;
  gap:5px;
  text-align:left;
  padding:14px 16px;
  border-left:3px solid rgba(216,162,79,.72);
  background:rgba(255,253,249,.45);
  box-shadow:0 16px 34px rgba(36,23,20,.05);
}
.apparatus-notes b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:20px;
  line-height:1.05;
}
.apparatus-notes small{
  color:var(--muted);
  font-weight:790;
  line-height:1.35;
}
.deg-apparatus-figure figcaption,.attar-worlds-figure figcaption{
  max-width:860px;
  color:var(--muted);
  line-height:1.55;
  margin-top:18px;
}
.deg-apparatus-figure figcaption strong,.attar-worlds-figure figcaption strong{
  color:var(--wine);
  font-family:Georgia,serif;
}
.attar-worlds-figure{
  display:grid;
  grid-template-columns:repeat(5,minmax(150px,1fr));
  gap:22px;
  align-items:start;
}
.attar-card{
  min-height:330px;
  display:grid;
  justify-items:center;
  align-content:start;
  gap:10px;
  text-align:center;
  position:relative;
}
.attar-card:before{
  content:"";
  position:absolute;
  top:46px;
  width:1px;
  height:78px;
  background:linear-gradient(180deg,rgba(129,69,47,.24),transparent);
}
.attar-icon{
  width:86px;
  height:86px;
  display:block;
  position:relative;
  border-radius:50%;
  background:rgba(255,253,249,.58);
  box-shadow:inset 0 0 0 1px rgba(129,69,47,.16),0 18px 34px rgba(36,23,20,.06);
  animation:attarPulse 6.5s ease-in-out infinite;
}
.attar-icon:before,.attar-icon:after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
}
.attar-icon.rain:before{
  width:48px;
  height:34px;
  border-radius:0 0 24px 24px;
  background:linear-gradient(180deg,#b38b70,#6f4d40);
}
.attar-icon.rain:after{
  width:42px;
  height:2px;
  background:#477487;
  box-shadow:-8px -12px 0 #477487,10px -20px 0 #477487;
}
.attar-icon.rose:before{
  width:58px;
  height:58px;
  background:conic-gradient(from 18deg,#b64964,#f1c7ca,#7d2d45,#b64964);
  clip-path:polygon(50% 0,62% 24%,90% 14%,76% 42%,100% 50%,76% 58%,90% 86%,62% 76%,50% 100%,38% 76%,10% 86%,24% 58%,0 50%,24% 42%,10% 14%,38% 24%);
}
.attar-icon.root:before{
  width:4px;
  height:58px;
  background:#63785b;
  box-shadow:-14px 10px 0 -1px #63785b,15px 14px 0 -1px #63785b;
}
.attar-icon.root:after{
  width:54px;
  height:20px;
  border-radius:50%;
  background:rgba(216,162,79,.3);
}
.attar-icon.flower:before{
  width:58px;
  height:58px;
  background:conic-gradient(from 0deg,#fff4d8,#d8a24f,#fffdf9,#d8a24f,#fff4d8);
  clip-path:polygon(50% 0,63% 31%,98% 22%,72% 50%,98% 78%,63% 69%,50% 100%,37% 69%,2% 78%,28% 50%,2% 22%,37% 31%);
}
.attar-icon.spice:before{
  width:48px;
  height:48px;
  border-radius:12px;
  background:linear-gradient(135deg,#81452f,#d8a24f);
  transform:translate(-50%,-50%) rotate(45deg);
}
.attar-icon.spice:after{
  width:56px;
  height:2px;
  background:rgba(90,23,48,.5);
  box-shadow:0 -14px 0 rgba(90,23,48,.25),0 14px 0 rgba(90,23,48,.25);
}
.attar-card b{
  color:var(--wine);
  font-family:Georgia,serif;
  font-size:26px;
  line-height:1.02;
}
.attar-card small{
  color:#81452f;
  font-weight:900;
  line-height:1.25;
}
.attar-card p{
  margin:0;
  color:var(--muted);
  line-height:1.42;
  font-weight:730;
}
.attar-worlds-figure figcaption{
  grid-column:1 / -1;
}
@keyframes heatPulse{
  0%,100%{transform:translateY(0) scaleY(.96);opacity:.75}
  50%{transform:translateY(-8px) scaleY(1.06);opacity:1}
}
@keyframes waterDrift{
  0%,100%{transform:translateX(0)}
  50%{transform:translateX(10px)}
}
@keyframes absorbDrop{
  0%,100%{opacity:.35;transform:translateY(-5px)}
  50%{opacity:.85;transform:translateY(8px)}
}
@keyframes vaporTravel{
  0%,100%{opacity:.2;offset-distance:0%}
  50%{opacity:1;offset-distance:88%}
}
@keyframes attarPulse{
  0%,100%{transform:translateY(0);opacity:.9}
  50%{transform:translateY(-8px);opacity:1}
}
@media(max-width:980px){
  .attar-worlds-figure{
    grid-template-columns:1fr;
    gap:18px;
  }
  .attar-card{
    min-height:auto;
    grid-template-columns:96px 1fr;
    justify-items:start;
    text-align:left;
    align-items:center;
  }
  .attar-card:before{display:none}
  .attar-icon{grid-row:1 / 4}
  .deg-apparatus-figure svg{
    min-width:760px;
  }
  .deg-apparatus-figure{
    overflow-x:auto;
    padding-bottom:10px;
  }
  .apparatus-notes{
    grid-template-columns:1fr;
  }
}


/* Chapter 7/8 refinements - resource page and centered figure labels */
.market-paths-horizontal figcaption,
.unit-pie-figure figcaption,
.resource-flow-figure figcaption {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(980px, 100%);
  margin: 1.25rem auto 0;
  text-align: center;
}

.resource-chapter {
  width: min(1660px, calc(100% - 7vw));
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(3.5rem, 6vw, 6rem);
}

.resource-head {
  max-width: 960px;
  margin: 0 auto clamp(3rem, 5vw, 5rem);
  text-align: center;
}

.resource-head h2,
.resource-copy h2,
.compact-head h2 {
  color: var(--plum);
}

.resource-head h2 {
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: .9;
  margin: .35rem 0 1rem;
}

.resource-head p:last-child,
.compact-head p:last-child {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.75;
}

.resource-block {
  margin: clamp(3rem, 6vw, 6rem) 0;
}

.compact-head {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
}

.compact-head h2 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: .96;
  margin: .3rem 0 .75rem;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.glossary-grid article {
  min-height: 118px;
  padding: 1.1rem 1.05rem;
  border: 1px solid rgba(92, 31, 55, .13);
  border-left: 4px solid rgba(213, 165, 88, .8);
  background: rgba(255, 252, 247, .56);
  box-shadow: 0 18px 42px rgba(50, 34, 24, .06);
}

.glossary-grid b {
  display: block;
  margin-bottom: .45rem;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(1.28rem, 1.6vw, 1.75rem);
  line-height: 1.05;
}

.glossary-grid span {
  display: block;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.45;
}

.resource-split {
  display: grid;
  grid-template-columns: minmax(330px, .92fr) minmax(360px, 1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.resource-split.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(330px, .92fr);
}

.resource-copy {
  max-width: 720px;
}

.resource-copy h2 {
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  line-height: .95;
  margin: .25rem 0 1rem;
}

.resource-copy p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.75;
  margin: 0 0 1.1rem;
}

.resource-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: .75rem;
}

.resource-list li {
  position: relative;
  padding: .95rem 1rem .95rem 2.4rem;
  color: var(--ink);
  background: rgba(255, 252, 247, .62);
  border: 1px solid rgba(92, 31, 55, .1);
  box-shadow: 0 14px 34px rgba(50, 34, 24, .055);
}

.resource-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.32rem;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 .35rem rgba(213, 165, 88, .16);
}

.resource-flow-figure {
  display: grid;
  justify-items: center;
  margin: 0;
}

.resource-flow {
  position: relative;
  display: grid;
  gap: .82rem;
  width: min(470px, 100%);
  padding: .45rem 0;
}

.resource-flow .flow-line {
  position: absolute;
  top: 1.2rem;
  bottom: 1.2rem;
  left: 2rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(213,165,88,.05), rgba(213,165,88,.65), rgba(92,31,55,.5));
  overflow: hidden;
}

.resource-flow .flow-line::after {
  content: "";
  position: absolute;
  left: -4px;
  top: -24%;
  width: 10px;
  height: 24%;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(92,31,55,.85), transparent);
  animation: resourceFlowTrace 5s ease-in-out infinite;
}

.flow-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 4rem 1fr;
  grid-template-areas: "num title" "num note";
  column-gap: 1rem;
  align-items: center;
  min-height: 76px;
  padding: .95rem 1.1rem .95rem 0;
}

.flow-step span {
  grid-area: num;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  color: var(--plum);
  font-weight: 900;
  background: rgba(255, 252, 247, .88);
  border: 1px solid rgba(92,31,55,.13);
  box-shadow: 0 16px 38px rgba(50,34,24,.08);
}

.flow-step b {
  grid-area: title;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.02;
}

.flow-step small {
  grid-area: note;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.25;
}

.flow-step.approved span {
  color: var(--cream);
  background: var(--plum);
}

.flow-step.approved b {
  color: var(--plum);
}

.resource-flow-figure figcaption {
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

.resource-flow-figure figcaption strong {
  color: var(--plum);
  font-family: var(--serif);
  font-size: 1.25em;
}

.supplier-flow-figure .flow-step:nth-child(3) span,
.learning-flow-figure .flow-step:nth-child(4) span {
  animation: resourceStepPulse 5s ease-in-out infinite;
}

.supplier-flow-figure .flow-step:nth-child(5) span,
.learning-flow-figure .flow-step:nth-child(6) span {
  animation: resourceStepPulse 5s ease-in-out 1.4s infinite;
}

.supplier-flow-figure .flow-step.approved span,
.learning-flow-figure .flow-step.approved span {
  animation: resourceStepPulse 5s ease-in-out 2.7s infinite;
}

@keyframes resourceFlowTrace {
  0% { transform: translateY(0); opacity: 0; }
  18% { opacity: 1; }
  78% { opacity: 1; }
  100% { transform: translateY(520%); opacity: 0; }
}

@keyframes resourceStepPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 16px 38px rgba(50,34,24,.08); }
  42% { transform: scale(1.06); box-shadow: 0 18px 48px rgba(92,31,55,.18); }
}

@media (max-width: 1100px) {
  .glossary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-split,
  .resource-split.reverse { grid-template-columns: 1fr; }
  .education-resource .resource-copy { order: 1; }
  .education-resource .resource-flow-figure { order: 2; }
  .supplier-resource .resource-copy { order: 1; }
  .supplier-resource .resource-flow-figure { order: 2; }
}

@media (max-width: 640px) {
  .resource-chapter { width: min(100% - 1.5rem, 1660px); }
  .glossary-grid { grid-template-columns: 1fr; }
  .resource-head h2 { font-size: clamp(2.55rem, 16vw, 3.8rem); }
  .resource-flow { width: 100%; }
  .flow-step { grid-template-columns: 3.35rem 1fr; }
  .flow-step span { width: 3.35rem; height: 3.35rem; }
}


/* Figure caption alignment safeguard */
main figure figcaption,
main .figure-caption {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


/* Homepage cover rebuild */
.cover-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, .98fr) minmax(420px, .82fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(5.5rem, 8vw, 8rem) clamp(2rem, 6vw, 7rem) clamp(4rem, 7vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(216, 162, 79, .12), transparent 28rem),
    radial-gradient(circle at 86% 20%, rgba(71, 116, 135, .12), transparent 30rem),
    linear-gradient(115deg, rgba(255, 252, 247, .98), rgba(244, 237, 229, .72));
  border-bottom: 1px solid rgba(92, 31, 55, .12);
}

.cover-hero::after {
  content: "";
  position: absolute;
  inset: auto -8vw -16vw auto;
  width: 46vw;
  height: 46vw;
  border: 1px solid rgba(213, 165, 88, .22);
  transform: rotate(18deg);
  pointer-events: none;
}

.cover-copy,
.cover-visual {
  position: relative;
  z-index: 1;
}

.cover-copy h1 {
  max-width: 980px;
  margin: .45rem 0 1.2rem;
  color: var(--plum);
  font-size: clamp(4.6rem, 8.7vw, 9.4rem);
  line-height: .88;
}

.cover-copy .lead {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.3rem, 1.95vw, 1.8rem);
  line-height: 1.62;
}

.audience-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  max-width: 830px;
  margin-top: 2rem;
}

.audience-strip span {
  padding: .72rem 1rem;
  border: 1px solid rgba(92, 31, 55, .14);
  color: var(--plum);
  background: rgba(255, 252, 247, .62);
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(50, 34, 24, .06);
}

.cover-visual {
  min-height: min(620px, 72vh);
  display: grid;
  place-items: center;
  isolation: isolate;
}

.cover-rings {
  position: absolute;
  inset: 8% 2%;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.cover-rings span {
  position: absolute;
  border: 1px solid rgba(92, 31, 55, .16);
  transform: rotate(var(--r, 0deg));
  animation: coverSlowTurn 16s linear infinite;
}

.cover-rings span:nth-child(1) {
  width: 86%;
  aspect-ratio: 1;
  --r: 12deg;
}

.cover-rings span:nth-child(2) {
  width: 66%;
  aspect-ratio: 1;
  border-color: rgba(213, 165, 88, .26);
  animation-duration: 22s;
  animation-direction: reverse;
}

.cover-rings span:nth-child(3) {
  width: 46%;
  aspect-ratio: 1;
  border-color: rgba(71, 116, 135, .22);
  animation-duration: 28s;
}

.cover-mark {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.2rem;
  width: min(520px, 100%);
}

.mark-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92, 31, 55, .45));
}

.mark-line:last-child {
  background: linear-gradient(90deg, rgba(92, 31, 55, .45), transparent);
}

.mark-core {
  display: grid;
  place-items: center;
  width: clamp(8rem, 13vw, 11rem);
  aspect-ratio: 1;
  color: var(--cream);
  background: var(--plum);
  border: 1px solid rgba(255, 252, 247, .55);
  box-shadow: 0 34px 90px rgba(92, 31, 55, .22);
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  line-height: 1;
}

.cover-pillars {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: .8rem;
  width: min(620px, 94%);
}

.cover-pillars article {
  padding: 1rem;
  background: rgba(255, 252, 247, .7);
  border: 1px solid rgba(92, 31, 55, .13);
  box-shadow: 0 18px 48px rgba(50, 34, 24, .07);
}

.cover-pillars b {
  display: block;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
}

.cover-pillars small {
  color: var(--muted);
  font-weight: 800;
}

.refined-manifesto h2 {
  font-size: clamp(3.1rem, 6vw, 7rem);
  line-height: .95;
}

.chapter-path-section {
  padding: clamp(5rem, 8vw, 8rem) clamp(2rem, 6vw, 7rem);
  background:
    radial-gradient(circle at 10% 24%, rgba(99,120,91,.1), transparent 22rem),
    radial-gradient(circle at 90% 12%, rgba(182,73,100,.08), transparent 26rem),
    var(--cream);
}

.chapter-path-section .section-head {
  max-width: 1040px;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}

.chapter-path-section .section-head h2 {
  color: var(--plum);
  font-size: clamp(3.2rem, 6.8vw, 7.6rem);
  line-height: .92;
}

.chapter-path-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
  counter-reset: path;
}

.chapter-path-map::before,
.chapter-path-map::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92,31,55,.16), rgba(213,165,88,.3), rgba(92,31,55,.16), transparent);
  pointer-events: none;
}

.chapter-path-map::before { top: calc(50% - .52rem); }
.chapter-path-map::after { display: none; }

.chapter-map-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  min-height: 350px;
  padding: clamp(1.2rem, 1.8vw, 1.7rem);
  color: inherit;
  text-decoration: none;
  background: rgba(255, 252, 247, .74);
  border: 1px solid rgba(92, 31, 55, .13);
  box-shadow: 0 24px 56px rgba(50, 34, 24, .07);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.chapter-map-card::before,
.chapter-map-card::after {
  display: none !important;
}

.chapter-map-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--tone) 32%, transparent);
  box-shadow: 0 32px 76px rgba(50, 34, 24, .11);
}

.chapter-num {
  color: var(--accent);
  font-weight: 950;
  font-size: 1.05rem;
}

.chapter-icon {
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  margin: 1rem 0 1.2rem;
  color: var(--tone);
  background: linear-gradient(135deg, rgba(255,252,247,.96), rgba(244,237,229,.52));
  border: 1px solid rgba(92, 31, 55, .12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 18px 38px rgba(50,34,24,.06);
}

.chapter-icon svg {
  width: 2.9rem;
  height: 2.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chapter-map-card h3 {
  margin: 0 0 .85rem;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(1.95rem, 2.5vw, 2.85rem);
  line-height: 1.02;
}

.chapter-map-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.55;
}

@keyframes coverSlowTurn {
  to { transform: rotate(calc(var(--r, 0deg) + 360deg)); }
}

@media (max-width: 1180px) {
  .cover-hero { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .cover-visual { min-height: 460px; }
  .chapter-path-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-path-map::before { display: none; }
}

@media (max-width: 680px) {
  .cover-hero,
  .chapter-path-section { padding-left: 1rem; padding-right: 1rem; }
  .cover-copy h1 { font-size: clamp(3.5rem, 17vw, 5.5rem); }
  .cover-pillars { position: static; transform: none; grid-template-columns: 1fr; margin-top: 2rem; }
  .cover-visual { min-height: auto; padding: 3rem 0; }
  .cover-rings { inset: 1rem; }
  .chapter-path-map { grid-template-columns: 1fr; }
  .chapter-map-card { min-height: 0; }
}


/* Homepage responsive containment fixes */
.cover-hero,
.refined-manifesto,
.chapter-path-section,
.guidebook-section,
.site-footer,
.chapter-map-card {
  box-sizing: border-box;
  max-width: 100%;
}

.cover-hero,
.refined-manifesto,
.chapter-path-section {
  overflow-x: clip;
}

.chapter-map-card h3,
.chapter-map-card p,
.cover-copy h1,
.refined-manifesto h2,
.chapter-path-section .section-head h2 {
  overflow-wrap: normal;
  text-wrap: balance;
}

.chapter-map-card {
  grid-template-rows: auto auto auto auto;
  align-content: start;
}

@media (max-width: 680px) {
  .cover-hero { width: 100%; }
  .cover-copy h1 { font-size: clamp(3rem, 15vw, 4.8rem); line-height: .92; }
  .cover-copy .lead { font-size: 1.12rem; }
  .refined-manifesto h2,
  .chapter-path-section .section-head h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); line-height: .96; }
  .chapter-map-card h3 { font-size: clamp(2rem, 10vw, 2.55rem); }
  .chapter-path-section .section-head p { font-size: 1.05rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1.4rem; overflow-x: clip; }
}


/* Homepage cover proportion polish */
.cover-hero {
  min-height: calc(100vh - 76px);
  padding-top: clamp(4.5rem, 6vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 5vw, 5.5rem);
}

.cover-hero::after {
  right: 1vw;
  bottom: -14vw;
  width: 34vw;
  height: 34vw;
}

.cover-copy h1 {
  font-size: clamp(4.2rem, 6.9vw, 7.8rem);
  max-width: 880px;
}

.cover-visual {
  overflow: hidden;
}

.cover-rings {
  inset: 10% 6%;
}

@media (max-width: 1180px) {
  .cover-copy h1 { font-size: clamp(3.6rem, 10vw, 6.4rem); }
}


/* Homepage perfume atomizer hero animation */
.cover-copy h1 {
  font-size: clamp(3.8rem, 6.1vw, 6.9rem);
  max-width: 820px;
}

.perfume-atomizer-scene {
  min-height: min(620px, 70vh);
  overflow: visible;
}

.atomizer-stage {
  position: relative;
  width: min(620px, 94%);
  aspect-ratio: 1 / .94;
  display: grid;
  place-items: center;
}

.perfume-bottle-hero {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  width: clamp(170px, 22vw, 250px);
  height: clamp(310px, 36vw, 430px);
  filter: drop-shadow(0 32px 54px rgba(50, 34, 24, .16));
}

.bottle-body {
  position: absolute;
  left: 11%;
  right: 11%;
  bottom: 0;
  height: 76%;
  border-radius: 32% 32% 14% 14% / 18% 18% 12% 12%;
  background: linear-gradient(155deg, rgba(255,252,247,.95), rgba(217,194,176,.6) 36%, rgba(92,31,55,.78) 100%);
  border: 2px solid rgba(255, 252, 247, .65);
  overflow: hidden;
}

.bottle-body::before {
  content: "";
  position: absolute;
  inset: 12% 18% auto;
  height: 46%;
  border: 3px solid rgba(255, 252, 247, .82);
  border-radius: 36% 36% 22% 22%;
}

.bottle-label {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translateX(-50%);
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 2px 16px rgba(50,34,24,.18);
}

.liquid-shine {
  position: absolute;
  left: 18%;
  bottom: 9%;
  width: 68%;
  height: 18%;
  border-radius: 999px 999px 36% 36%;
  background: linear-gradient(90deg, rgba(216,162,79,.3), rgba(255,252,247,.3), rgba(71,116,135,.16));
  animation: liquidBreath 5s ease-in-out infinite;
}

.bottle-neck {
  position: absolute;
  left: 36%;
  top: 9%;
  width: 28%;
  height: 20%;
  border-radius: 12px 12px 4px 4px;
  background: var(--plum);
  box-shadow: inset 0 0 0 1px rgba(255,252,247,.18);
}

.bottle-cap {
  position: absolute;
  left: 26%;
  top: 0;
  width: 48%;
  height: 12%;
  border-radius: 22px;
  background: linear-gradient(90deg, #b18567, #d8a24f, #b18567);
  transform-origin: 28% 55%;
  animation: atomizerPress 3.8s ease-in-out infinite;
}

.atomizer-press {
  position: absolute;
  left: calc(50% - clamp(118px, 15vw, 164px));
  top: 26%;
  width: clamp(88px, 11vw, 126px);
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(92,31,55,.18), rgba(92,31,55,.82));
  transform-origin: right center;
  animation: atomizerStem 3.8s ease-in-out infinite;
}

.atomizer-press::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 12px rgba(216,162,79,.13);
}

.spray-heart {
  position: absolute;
  left: 38%;
  top: 17%;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.spray-heart span {
  position: absolute;
  width: clamp(8px, 1vw, 14px);
  height: clamp(8px, 1vw, 14px);
  border-radius: 50%;
  background: var(--plum);
  box-shadow: 0 0 0 7px rgba(92,31,55,.08);
  opacity: 0;
  transform: translate(0, 0) scale(.45);
  animation: heartParticle 3.8s cubic-bezier(.2,.7,.15,1) infinite;
  animation-delay: var(--d);
}

.spray-heart span:nth-child(3n) { background: var(--gold); box-shadow: 0 0 0 7px rgba(216,162,79,.11); }
.spray-heart span:nth-child(4n) { background: #477487; box-shadow: 0 0 0 7px rgba(71,116,135,.1); }
.spray-heart span:nth-child(5n) { background: #667b59; box-shadow: 0 0 0 7px rgba(102,123,89,.1); }

.scent-trail {
  position: absolute;
  inset: 5% 7%;
  pointer-events: none;
}

.scent-trail span {
  position: absolute;
  border: 1px solid rgba(213, 165, 88, .22);
  border-radius: 48% 52% 46% 54%;
  animation: trailFloat 7s ease-in-out infinite;
}

.scent-trail span:nth-child(1) { inset: 3% 10% 18% 13%; }
.scent-trail span:nth-child(2) { inset: 10% 0 8% 24%; animation-delay: -2s; border-color: rgba(92,31,55,.13); }
.scent-trail span:nth-child(3) { inset: 18% 16% 0 4%; animation-delay: -4s; border-color: rgba(71,116,135,.14); }

.atomizer-caption {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(520px, 92%);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  color: var(--muted);
  background: rgba(255, 252, 247, .78);
  border: 1px solid rgba(92,31,55,.13);
  box-shadow: 0 20px 52px rgba(50,34,24,.08);
}

.atomizer-caption strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.atomizer-caption span {
  line-height: 1.35;
}

@keyframes atomizerPress {
  0%, 58%, 100% { transform: translateY(0); }
  66% { transform: translateY(8px); }
  74% { transform: translateY(0); }
}

@keyframes atomizerStem {
  0%, 58%, 100% { transform: translateX(0) scaleX(1); opacity: .78; }
  66% { transform: translateX(10px) scaleX(.9); opacity: 1; }
  76% { transform: translateX(0) scaleX(1); opacity: .78; }
}

@keyframes heartParticle {
  0%, 56% { opacity: 0; transform: translate(0, 0) scale(.35); }
  64% { opacity: .95; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1); }
}

@keyframes trailFloat {
  0%, 100% { transform: rotate(-3deg) scale(.98); opacity: .62; }
  50% { transform: rotate(4deg) scale(1.02); opacity: 1; }
}

@keyframes liquidBreath {
  0%, 100% { transform: translateX(-3%); opacity: .58; }
  50% { transform: translateX(4%); opacity: .82; }
}

@media (max-width: 1180px) {
  .perfume-atomizer-scene { min-height: 520px; }
}

@media (max-width: 680px) {
  .cover-copy h1 { font-size: clamp(2.9rem, 14vw, 4.5rem); }
  .perfume-atomizer-scene { min-height: 430px; padding-bottom: 4rem; }
  .atomizer-stage { width: min(360px, 100%); }
  .atomizer-caption { grid-template-columns: 1fr; text-align: center; }
}


/* Clean heart spray hero animation */
.heart-spray-scene {
  min-height: min(620px, 70vh);
  overflow: visible;
  display: grid;
  place-items: center;
}

.heart-stage {
  position: relative;
  width: min(660px, 96%);
  aspect-ratio: 1 / .88;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.heart-stage::before {
  content: "";
  position: absolute;
  inset: 6% 6% 2%;
  border: 1px solid rgba(213, 165, 88, .2);
  transform: rotate(-8deg);
  opacity: .75;
}

.heart-stage::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 10%;
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid rgba(71, 116, 135, .15);
  border-radius: 50%;
  animation: heroAura 9s ease-in-out infinite;
}

.hero-bottle {
  position: absolute;
  left: 50%;
  bottom: 5%;
  z-index: 3;
  width: clamp(178px, 21vw, 258px);
  height: clamp(330px, 35vw, 455px);
  transform: translateX(-50%);
  filter: drop-shadow(0 30px 58px rgba(50,34,24,.18));
}

.pump-head {
  position: absolute;
  left: 21%;
  top: 0;
  width: 58%;
  height: 13%;
  border-radius: 24px 24px 18px 18px;
  background: linear-gradient(90deg, #b98e6d, #d8a24f, #b98e6d);
  transform-origin: center bottom;
  animation: cleanPumpPress 3.6s ease-in-out infinite;
}

.pump-head::before {
  content: "";
  position: absolute;
  left: -34%;
  top: 34%;
  width: 42%;
  height: 18%;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(90deg, rgba(92,31,55,.72), rgba(92,31,55,.9));
}

.pump-stem {
  position: absolute;
  left: 39%;
  top: 11%;
  width: 22%;
  height: 20%;
  border-radius: 10px 10px 4px 4px;
  background: var(--plum);
}

.bottle-shoulder {
  position: absolute;
  left: 24%;
  right: 24%;
  top: 27%;
  height: 8%;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(255,252,247,.92), rgba(217,194,176,.62));
  border: 2px solid rgba(255,252,247,.72);
}

.glass-body {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 70%;
  border-radius: 34% 34% 14% 14% / 20% 20% 10% 10%;
  background: linear-gradient(145deg, rgba(255,252,247,.88) 0%, rgba(235,218,203,.62) 42%, rgba(92,31,55,.76) 100%);
  border: 3px solid rgba(255, 252, 247, .78);
  overflow: hidden;
}

.glass-body::before {
  content: "";
  position: absolute;
  inset: 12% 18% auto;
  height: 48%;
  border: 3px solid rgba(255, 252, 247, .86);
  border-radius: 34% 34% 24% 24%;
}

.glass-label {
  position: absolute;
  left: 50%;
  top: 33%;
  z-index: 2;
  width: 72%;
  transform: translateX(-50%);
  color: var(--cream);
  text-align: center;
  text-shadow: 0 2px 16px rgba(50,34,24,.2);
}

.glass-label strong,
.glass-label span {
  display: block;
  font-family: var(--serif);
  line-height: 1;
}

.glass-label strong { font-size: clamp(1.35rem, 2vw, 2.05rem); }
.glass-label span { font-size: clamp(2rem, 3.5vw, 3.25rem); }

.glass-liquid {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -4%;
  height: 36%;
  border-radius: 48% 48% 0 0;
  background: linear-gradient(90deg, rgba(99,120,91,.68), rgba(216,162,79,.55), rgba(182,73,100,.38));
  animation: cleanLiquid 4.8s ease-in-out infinite;
}

.glass-highlight {
  position: absolute;
  left: 15%;
  top: 18%;
  width: 13%;
  height: 58%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0));
  opacity: .7;
}

.spray-nozzle {
  position: absolute;
  left: calc(50% - clamp(126px, 16vw, 182px));
  top: 26%;
  z-index: 4;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 11px rgba(216,162,79,.14), 0 0 0 1px rgba(92,31,55,.2) inset;
  animation: nozzlePulse 3.6s ease-in-out infinite;
}

.spray-nozzle span {
  position: absolute;
  right: -4px;
  top: 50%;
  width: clamp(96px, 12vw, 136px);
  height: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(92,31,55,.9), rgba(92,31,55,0));
}

.spray-stream {
  position: absolute;
  left: 34%;
  top: 26%;
  z-index: 2;
  width: 26%;
  height: 24%;
  pointer-events: none;
}

.spray-stream i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(92,31,55,.35), rgba(216,162,79,.2), transparent);
  opacity: 0;
  animation: streamShot 3.6s ease-in-out infinite;
}

.spray-stream i:nth-child(1) { top: 38%; transform: rotate(-18deg); }
.spray-stream i:nth-child(2) { top: 48%; transform: rotate(-4deg); animation-delay: .06s; }
.spray-stream i:nth-child(3) { top: 58%; transform: rotate(12deg); animation-delay: .12s; }

.heart-particles {
  position: absolute;
  left: 47%;
  top: 33%;
  z-index: 5;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.heart-particles span {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(9px, .9vw, 15px);
  height: clamp(9px, .9vw, 15px);
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--c) 16%, transparent);
  opacity: 0;
  transform: translate(-180px, 0) scale(.3);
  animation: heartBloom 3.6s cubic-bezier(.16,.74,.18,1) infinite;
  animation-delay: var(--d);
}

.atomizer-caption {
  z-index: 6;
  bottom: -1.2rem;
}

@keyframes cleanPumpPress {
  0%, 54%, 100% { transform: translateY(0); }
  62% { transform: translateY(9px); }
  72% { transform: translateY(0); }
}

@keyframes nozzlePulse {
  0%, 55%, 100% { transform: scale(1); }
  64% { transform: scale(1.18); }
}

@keyframes streamShot {
  0%, 54% { opacity: 0; transform: translateX(0) scaleX(.12) rotate(var(--r, 0deg)); }
  63% { opacity: .85; }
  82%, 100% { opacity: 0; transform: translateX(52px) scaleX(1); }
}

@keyframes heartBloom {
  0%, 54% { opacity: 0; transform: translate(-180px, 0) scale(.28); }
  64% { opacity: .95; }
  84% { opacity: .95; transform: translate(var(--x), var(--y)) scale(1); }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.15); }
}

@keyframes cleanLiquid {
  0%, 100% { transform: translateX(-2%) rotate(-1deg); }
  50% { transform: translateX(2%) rotate(1deg); }
}

@keyframes heroAura {
  0%, 100% { transform: rotate(-6deg) scale(.98); opacity: .62; }
  50% { transform: rotate(5deg) scale(1.03); opacity: .9; }
}

@media (max-width: 680px) {
  .heart-spray-scene { min-height: 430px; padding-bottom: 3.5rem; }
  .heart-stage { width: min(380px, 100%); }
  .atomizer-caption { bottom: -2.4rem; }
  .heart-particles span { width: 9px; height: 9px; }
}


/* Real atomizer press with heart-shaped perfume drops */
.real-atomizer-scene {
  min-height: min(610px, 68vh);
  display: grid;
  place-items: center;
  overflow: visible;
}

.real-atomizer-stage {
  position: relative;
  width: min(650px, 96%);
  aspect-ratio: 1 / .86;
  isolation: isolate;
}

.real-atomizer-stage::before {
  content: "";
  position: absolute;
  inset: 7% 6% 4%;
  border: 1px solid rgba(213, 165, 88, .18);
  transform: rotate(-7deg);
  pointer-events: none;
}

.real-atomizer-stage::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 9%;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid rgba(71, 116, 135, .14);
  border-radius: 50%;
  animation: realAura 8s ease-in-out infinite;
  pointer-events: none;
}

.real-bottle {
  position: absolute;
  left: 32%;
  bottom: 4%;
  z-index: 4;
  width: clamp(165px, 20vw, 240px);
  height: clamp(330px, 36vw, 455px);
  filter: drop-shadow(0 32px 58px rgba(50,34,24,.18));
}

.real-pump {
  position: absolute;
  left: 50%;
  top: 0;
  width: 62%;
  height: 34%;
  transform: translateX(-50%);
  z-index: 5;
}

.pump-top {
  position: absolute;
  left: 12%;
  top: 0;
  width: 76%;
  height: 28%;
  border-radius: 24px 24px 18px 18px;
  background: linear-gradient(90deg, #b18567, #d8a24f 52%, #b18567);
  animation: realPressDown 3.2s ease-in-out infinite;
}

.pump-neck {
  position: absolute;
  left: 38%;
  top: 25%;
  width: 24%;
  height: 46%;
  border-radius: 10px 10px 4px 4px;
  background: var(--plum);
  animation: realNeckCompress 3.2s ease-in-out infinite;
}

.pump-nozzle {
  position: absolute;
  left: 80%;
  top: 12%;
  width: 64%;
  height: 16%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #d8a24f, #9a714f);
  animation: realNozzleDip 3.2s ease-in-out infinite;
}

.pump-nozzle::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--plum);
  box-shadow: 0 0 0 8px rgba(92,31,55,.1);
}

.real-glass {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 0;
  height: 74%;
  border-radius: 34% 34% 15% 15% / 22% 22% 12% 12%;
  background: linear-gradient(145deg, rgba(255,252,247,.9) 0%, rgba(239,226,212,.68) 42%, rgba(92,31,55,.75) 100%);
  border: 3px solid rgba(255,252,247,.82);
  overflow: hidden;
}

.real-glass::before {
  content: "";
  position: absolute;
  inset: 12% 18% auto;
  height: 52%;
  border-radius: 34% 34% 24% 24%;
  border: 3px solid rgba(255,252,247,.86);
}

.real-highlight {
  position: absolute;
  left: 15%;
  top: 16%;
  width: 14%;
  height: 62%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
}

.real-liquid {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -5%;
  height: 38%;
  border-radius: 48% 48% 0 0;
  background: linear-gradient(90deg, rgba(99,120,91,.7), rgba(216,162,79,.58), rgba(182,73,100,.38));
  animation: realLiquidMove 4.8s ease-in-out infinite;
}

.heart-drop-field {
  position: absolute;
  left: calc(32% + clamp(165px, 20vw, 240px) * .98);
  top: 21%;
  z-index: 6;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.heart-drop-field span {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(13px, 1.25vw, 19px);
  height: clamp(12px, 1.15vw, 18px);
  opacity: 0;
  transform: translate(0, 0) scale(.25) rotate(var(--r));
  animation: heartDropSpray 3.2s cubic-bezier(.16,.76,.18,1) infinite;
  animation-delay: var(--d);
}

.heart-drop-field span::before,
.heart-drop-field span::after {
  content: "";
  position: absolute;
  top: 0;
  width: 52%;
  height: 82%;
  border-radius: 52% 52% 0 0;
  background: var(--plum);
}

.heart-drop-field span::before {
  left: 50%;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

.heart-drop-field span::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
  background: color-mix(in srgb, var(--plum) 78%, var(--gold));
}

.spray-mist-lines {
  position: absolute;
  left: calc(32% + clamp(165px, 20vw, 240px) * 1.02);
  top: 22%;
  z-index: 3;
  width: clamp(190px, 24vw, 300px);
  height: 120px;
  pointer-events: none;
}

.spray-mist-lines i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(92,31,55,.24), rgba(216,162,79,.18), transparent);
  opacity: 0;
  transform-origin: left center;
  animation: mistLine 3.2s ease-in-out infinite;
}

.spray-mist-lines i:nth-child(1) { top: 25%; transform: rotate(-15deg); }
.spray-mist-lines i:nth-child(2) { top: 46%; transform: rotate(0deg); animation-delay: .05s; }
.spray-mist-lines i:nth-child(3) { top: 67%; transform: rotate(13deg); animation-delay: .1s; }

@keyframes realPressDown {
  0%, 52%, 100% { transform: translateY(0); }
  61%, 70% { transform: translateY(14px); }
}

@keyframes realNeckCompress {
  0%, 52%, 100% { transform: scaleY(1); transform-origin: bottom; }
  61%, 70% { transform: scaleY(.82); transform-origin: bottom; }
}

@keyframes realNozzleDip {
  0%, 52%, 100% { transform: translateY(0); }
  61%, 70% { transform: translateY(14px); }
}

@keyframes heartDropSpray {
  0%, 54% { opacity: 0; transform: translate(0, 0) scale(.25) rotate(var(--r)); }
  61% { opacity: .95; }
  84% { opacity: .92; transform: translate(var(--tx), var(--ty)) scale(1) rotate(var(--r)); }
  100% { opacity: 0; transform: translate(calc(var(--tx) + 16px), calc(var(--ty) + 12px)) scale(.72) rotate(var(--r)); }
}

@keyframes mistLine {
  0%, 53% { opacity: 0; clip-path: inset(0 100% 0 0); }
  63% { opacity: .72; clip-path: inset(0 35% 0 0); }
  84%, 100% { opacity: 0; clip-path: inset(0 0 0 100%); }
}

@keyframes realLiquidMove {
  0%, 100% { transform: translateX(-2%) rotate(-1deg); }
  50% { transform: translateX(2%) rotate(1deg); }
}

@keyframes realAura {
  0%, 100% { transform: rotate(-4deg) scale(.98); opacity: .62; }
  50% { transform: rotate(4deg) scale(1.03); opacity: .9; }
}

@media (max-width: 680px) {
  .real-atomizer-scene { min-height: 420px; }
  .real-atomizer-stage { width: min(380px, 100%); }
  .real-bottle { left: 24%; width: 152px; height: 315px; }
  .heart-drop-field { left: calc(24% + 150px); top: 22%; }
  .spray-mist-lines { left: calc(24% + 154px); top: 23%; width: 160px; }
}


/* Atomizer geometry correction - attached pump and visible heart spray */
.real-atomizer-stage {
  width: min(620px, 96%);
  aspect-ratio: 1 / .78;
}

.real-atomizer-stage::before,
.real-atomizer-stage::after {
  opacity: .28;
}

.real-bottle {
  left: 42%;
  bottom: 2%;
  width: clamp(190px, 19vw, 250px);
  height: clamp(350px, 34vw, 445px);
}

.real-pump {
  left: 50%;
  top: 0;
  width: 70%;
  height: 27%;
  transform: translateX(-50%);
}

.pump-top {
  left: 20%;
  top: 0;
  width: 60%;
  height: 30%;
  border-radius: 20px 20px 16px 16px;
  z-index: 4;
}

.pump-neck {
  left: 39%;
  top: 27%;
  width: 22%;
  height: 54%;
  z-index: 2;
}

.pump-nozzle {
  left: 65%;
  top: 8%;
  width: 54%;
  height: 18%;
  z-index: 5;
  border-radius: 0 999px 999px 0;
}

.pump-nozzle::after {
  right: -7px;
  width: 11px;
  height: 11px;
  background: #521b31;
  box-shadow: 0 0 0 9px rgba(92,31,55,.09);
}

.real-glass {
  height: 73%;
}

.heart-drop-field {
  left: calc(42% + clamp(190px, 19vw, 250px) * .89);
  top: 12%;
  z-index: 8;
}

.heart-drop-field span {
  opacity: .82;
  animation: heartDropSprayReadable 3.2s cubic-bezier(.16,.76,.18,1) infinite;
  animation-delay: var(--d);
}

.spray-mist-lines {
  left: calc(42% + clamp(190px, 19vw, 250px) * .91);
  top: 14%;
  width: clamp(170px, 19vw, 260px);
  height: 110px;
  z-index: 7;
}

@keyframes heartDropSprayReadable {
  0%, 38% { opacity: .25; transform: translate(0, 0) scale(.35) rotate(var(--r)); }
  50% { opacity: .95; transform: translate(calc(var(--tx) * .35), calc(var(--ty) * .35)) scale(.72) rotate(var(--r)); }
  76% { opacity: .9; transform: translate(var(--tx), var(--ty)) scale(1) rotate(var(--r)); }
  100% { opacity: .25; transform: translate(calc(var(--tx) + 12px), calc(var(--ty) + 8px)) scale(.78) rotate(var(--r)); }
}

@media (max-width: 1180px) {
  .real-bottle { left: 38%; }
  .heart-drop-field { left: calc(38% + clamp(190px, 19vw, 250px) * .89); }
  .spray-mist-lines { left: calc(38% + clamp(190px, 19vw, 250px) * .91); }
}

@media (max-width: 680px) {
  .real-bottle { left: 22%; width: 150px; height: 305px; }
  .heart-drop-field { left: calc(22% + 135px); top: 14%; }
  .spray-mist-lines { left: calc(22% + 138px); top: 16%; width: 150px; }
}


/* Simple readable perfume pump hero */
.simple-pump-scene {
  min-height: min(600px, 68vh);
  display: grid;
  place-items: center;
  overflow: visible;
}

.simple-pump-stage {
  position: relative;
  width: min(660px, 96%);
  aspect-ratio: 1 / .82;
  isolation: isolate;
}

.simple-pump-stage::before {
  content: "";
  position: absolute;
  inset: 8% 6% 4%;
  border: 1px solid rgba(213, 165, 88, .18);
  transform: rotate(-7deg);
  pointer-events: none;
}

.simple-pump-stage::after {
  content: "";
  position: absolute;
  left: 8%;
  top: 14%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(71, 116, 135, .14);
  animation: simpleAura 8s ease-in-out infinite;
  pointer-events: none;
}

.simple-perfume-bottle {
  position: absolute;
  right: 14%;
  bottom: 2%;
  z-index: 5;
  width: clamp(190px, 20vw, 260px);
  height: clamp(350px, 35vw, 455px);
  filter: drop-shadow(0 34px 62px rgba(50,34,24,.2));
}

.simple-pump {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 6;
  width: 78%;
  height: 22%;
  transform: translateX(-50%);
}

.simple-pump-button {
  position: absolute;
  left: 24%;
  top: 0;
  width: 58%;
  height: 36%;
  border-radius: 22px 22px 16px 16px;
  background: linear-gradient(90deg, #b18567, #d8a24f 50%, #b18567);
  animation: simplePumpPress 3s ease-in-out infinite;
}

.simple-nozzle {
  position: absolute;
  right: 76%;
  top: 9%;
  width: 56%;
  height: 18%;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(90deg, #8b6248, #d8a24f);
  animation: simpleNozzlePress 3s ease-in-out infinite;
}

.simple-nozzle::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--plum);
  box-shadow: 0 0 0 9px rgba(92, 31, 55, .1);
}

.simple-stem {
  position: absolute;
  left: 42%;
  top: 31%;
  width: 18%;
  height: 52%;
  border-radius: 8px 8px 3px 3px;
  background: var(--plum);
  animation: simpleStemPress 3s ease-in-out infinite;
}

.simple-bottle-neck {
  position: absolute;
  left: 37%;
  top: 17%;
  width: 26%;
  height: 18%;
  border-radius: 12px 12px 3px 3px;
  background: linear-gradient(180deg, rgba(92,31,55,.98), rgba(92,31,55,.82));
}

.simple-bottle-body {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 0;
  height: 74%;
  border-radius: 34% 34% 14% 14% / 21% 21% 12% 12%;
  background: linear-gradient(145deg, rgba(255,252,247,.92) 0%, rgba(236,220,207,.66) 44%, rgba(92,31,55,.78) 100%);
  border: 3px solid rgba(255,252,247,.86);
  overflow: hidden;
}

.simple-glass-outline {
  position: absolute;
  inset: 13% 18% auto;
  height: 50%;
  border: 3px solid rgba(255,252,247,.88);
  border-radius: 34% 34% 24% 24%;
}

.simple-liquid {
  position: absolute;
  left: -9%;
  right: -9%;
  bottom: -5%;
  height: 38%;
  border-radius: 48% 48% 0 0;
  background: linear-gradient(90deg, rgba(99,120,91,.72), rgba(216,162,79,.6), rgba(182,73,100,.42));
  animation: simpleLiquid 4.8s ease-in-out infinite;
}

.simple-highlight {
  position: absolute;
  left: 15%;
  top: 17%;
  width: 13%;
  height: 60%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,0));
}

.simple-heart-spray {
  position: absolute;
  right: calc(14% + clamp(190px, 20vw, 260px) * .86);
  top: 13%;
  z-index: 8;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.simple-heart-spray span {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(13px, 1.2vw, 19px);
  height: clamp(12px, 1.1vw, 18px);
  opacity: .35;
  transform: translate(0, 0) scale(.3) rotate(var(--r));
  animation: simpleHeartSpray 3s cubic-bezier(.16,.76,.18,1) infinite;
  animation-delay: var(--d);
}

.simple-heart-spray span::before,
.simple-heart-spray span::after {
  content: "";
  position: absolute;
  top: 0;
  width: 52%;
  height: 82%;
  border-radius: 52% 52% 0 0;
  background: var(--plum);
}

.simple-heart-spray span::before {
  left: 50%;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

.simple-heart-spray span::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
  background: color-mix(in srgb, var(--plum) 74%, var(--gold));
}

.simple-spray-lines {
  position: absolute;
  right: calc(14% + clamp(190px, 20vw, 260px) * .84);
  top: 14%;
  z-index: 7;
  width: clamp(170px, 22vw, 280px);
  height: 118px;
  pointer-events: none;
}

.simple-spray-lines i {
  position: absolute;
  right: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(270deg, rgba(92,31,55,.28), rgba(216,162,79,.2), transparent);
  opacity: 0;
  transform-origin: right center;
  animation: simpleMist 3s ease-in-out infinite;
}

.simple-spray-lines i:nth-child(1) { top: 26%; transform: rotate(15deg); }
.simple-spray-lines i:nth-child(2) { top: 47%; transform: rotate(0deg); animation-delay: .05s; }
.simple-spray-lines i:nth-child(3) { top: 68%; transform: rotate(-13deg); animation-delay: .1s; }

@keyframes simplePumpPress {
  0%, 48%, 100% { transform: translateY(0); }
  58%, 68% { transform: translateY(13px); }
}

@keyframes simpleNozzlePress {
  0%, 48%, 100% { transform: translateY(0); }
  58%, 68% { transform: translateY(13px); }
}

@keyframes simpleStemPress {
  0%, 48%, 100% { transform: scaleY(1); transform-origin: bottom; }
  58%, 68% { transform: scaleY(.78); transform-origin: bottom; }
}

@keyframes simpleHeartSpray {
  0%, 46% { opacity: .22; transform: translate(0, 0) scale(.32) rotate(var(--r)); }
  58% { opacity: .98; transform: translate(calc(var(--tx) * .22), calc(var(--ty) * .22)) scale(.72) rotate(var(--r)); }
  82% { opacity: .95; transform: translate(var(--tx), var(--ty)) scale(1) rotate(var(--r)); }
  100% { opacity: .2; transform: translate(calc(var(--tx) - 10px), calc(var(--ty) + 10px)) scale(.75) rotate(var(--r)); }
}

@keyframes simpleMist {
  0%, 48% { opacity: 0; clip-path: inset(0 0 0 100%); }
  58% { opacity: .75; clip-path: inset(0 0 0 35%); }
  82%, 100% { opacity: 0; clip-path: inset(0 100% 0 0); }
}

@keyframes simpleLiquid {
  0%, 100% { transform: translateX(-2%) rotate(-1deg); }
  50% { transform: translateX(2%) rotate(1deg); }
}

@keyframes simpleAura {
  0%, 100% { transform: rotate(-4deg) scale(.98); opacity: .45; }
  50% { transform: rotate(4deg) scale(1.03); opacity: .8; }
}

@media (max-width: 1180px) {
  .simple-perfume-bottle { right: 7%; }
  .simple-heart-spray { right: calc(7% + clamp(190px, 20vw, 260px) * .86); }
  .simple-spray-lines { right: calc(7% + clamp(190px, 20vw, 260px) * .84); }
}

@media (max-width: 680px) {
  .simple-pump-scene { min-height: 420px; }
  .simple-pump-stage { width: min(390px, 100%); }
  .simple-perfume-bottle { right: 4%; width: 150px; height: 305px; }
  .simple-heart-spray { right: calc(4% + 130px); top: 15%; }
  .simple-spray-lines { right: calc(4% + 128px); top: 16%; width: 150px; }
  .simple-heart-spray span { width: 11px; height: 10px; }
}


/* Final SVG perfume spray hero */
.svg-perfume-scene {
  min-height: min(600px, 68vh);
  display: grid;
  place-items: center;
  overflow: visible;
}

.perfume-spray-svg {
  width: min(720px, 100%);
  height: auto;
  display: block;
  overflow: visible;
}

.perfume-backdrop path {
  fill: rgba(255, 252, 247, .34);
  stroke: rgba(213, 165, 88, .18);
  stroke-width: 1.2;
}

.perfume-backdrop circle {
  fill: none;
  stroke: rgba(71, 116, 135, .13);
  stroke-width: 1.4;
  animation: svgAuraPulse 7s ease-in-out infinite;
}

.pump-svg {
  animation: svgPumpPress 3.2s ease-in-out infinite;
  transform-origin: 486px 180px;
}

.nozzle-hole-svg {
  animation: svgNozzlePulse 3.2s ease-in-out infinite;
  transform-origin: center;
}

.heart-spray-lines path {
  fill: none;
  stroke: rgba(92, 31, 55, .24);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 95;
  stroke-dashoffset: 95;
  animation: svgSprayLine 3.2s ease-in-out infinite;
}

.heart-spray-lines path:nth-child(2) { animation-delay: .08s; stroke: rgba(213, 165, 88, .25); }
.heart-spray-lines path:nth-child(3) { animation-delay: .16s; stroke: rgba(71, 116, 135, .22); }

.heart-drops .heart {
  fill: #521b31;
  opacity: .78;
  transform-box: fill-box;
  transform-origin: center;
  animation: svgHeartDrop 3.2s ease-in-out infinite;
}

.heart-drops .h2,
.heart-drops .h5 { fill: #d8a24f; }
.heart-drops .h3 { fill: #477487; }
.heart-drops .h4 { fill: #b64964; }
.heart-drops .h6 { fill: #667b59; }
.heart-drops .h1 { animation-delay: .02s; }
.heart-drops .h2 { animation-delay: .1s; }
.heart-drops .h3 { animation-delay: .18s; }
.heart-drops .h4 { animation-delay: .26s; }
.heart-drops .h5 { animation-delay: .34s; }
.heart-drops .h6 { animation-delay: .42s; }

.liquid-svg {
  animation: svgLiquidMove 5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes svgPumpPress {
  0%, 48%, 100% { transform: translateY(0); }
  58%, 68% { transform: translateY(16px); }
}

@keyframes svgNozzlePulse {
  0%, 48%, 100% { transform: scale(1); }
  60%, 68% { transform: scale(1.35); }
}

@keyframes svgSprayLine {
  0%, 48% { opacity: 0; stroke-dashoffset: 95; }
  58% { opacity: .9; stroke-dashoffset: 28; }
  82%, 100% { opacity: 0; stroke-dashoffset: -20; }
}

@keyframes svgHeartDrop {
  0%, 42% { opacity: .22; transform: translate(58px, 18px) scale(.38); }
  58% { opacity: 1; transform: translate(18px, 6px) scale(.78); }
  78% { opacity: .95; transform: translate(0, 0) scale(1); }
  100% { opacity: .35; transform: translate(-10px, 8px) scale(.82); }
}

@keyframes svgLiquidMove {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(4px); }
}

@keyframes svgAuraPulse {
  0%, 100% { transform: scale(.98); opacity: .55; }
  50% { transform: scale(1.03); opacity: .9; }
}

@media (max-width: 680px) {
  .svg-perfume-scene { min-height: 400px; }
  .perfume-spray-svg { width: min(430px, 110%); transform: translateX(4%); }
}


/* Refined hero: smaller bottle and three heart droplet trails */
.refined-spray-scene {
  min-height: min(570px, 64vh);
}

.refined-perfume-svg {
  width: min(650px, 96%);
  overflow: visible;
}

.refined-backdrop path {
  fill: rgba(255, 252, 247, .28);
  stroke: rgba(213, 165, 88, .16);
}

.refined-backdrop circle {
  fill: none;
  stroke: rgba(71,116,135,.12);
  animation: svgAuraPulse 7s ease-in-out infinite;
}

.refined-pump-svg {
  animation: refinedPumpPress 3.1s ease-in-out infinite;
  transform-origin: 484px 184px;
}

.refined-bottle-svg .liquid-svg {
  animation: svgLiquidMove 5s ease-in-out infinite;
  transform-origin: center;
}

.heart-trails path:first-child {
  fill: none;
  stroke: rgba(92,31,55,.24);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 110;
  stroke-dashoffset: 110;
  animation: refinedSprayLine 3.1s ease-in-out infinite;
}

.heart-trails .trail-mid path:first-child { stroke: rgba(213,165,88,.26); animation-delay: .04s; }
.heart-trails .trail-low path:first-child { stroke: rgba(71,116,135,.22); animation-delay: .08s; }

.heart-trails .heart {
  fill: #521b31;
  opacity: .18;
  transform-box: fill-box;
  transform-origin: center;
  animation: refinedHeartTrail 3.1s ease-in-out infinite;
}

.heart-trails .trail-top .heart { fill: #b64964; }
.heart-trails .trail-mid .heart { fill: #d8a24f; }
.heart-trails .trail-low .heart { fill: #477487; }
.heart-trails .ht1, .heart-trails .hm1, .heart-trails .hl1 { animation-delay: .02s; }
.heart-trails .ht2, .heart-trails .hm2, .heart-trails .hl2 { animation-delay: .12s; }
.heart-trails .ht3, .heart-trails .hm3, .heart-trails .hl3 { animation-delay: .22s; }

.nozzle-hole-svg {
  animation: refinedNozzlePulse 3.1s ease-in-out infinite;
  transform-origin: center;
}

@keyframes refinedPumpPress {
  0%, 46%, 100% { transform: translateY(0); }
  57%, 68% { transform: translateY(14px); }
}

@keyframes refinedNozzlePulse {
  0%, 47%, 100% { transform: scale(1); }
  58%, 68% { transform: scale(1.28); }
}

@keyframes refinedSprayLine {
  0%, 46% { opacity: 0; stroke-dashoffset: 110; }
  58% { opacity: .95; stroke-dashoffset: 42; }
  82% { opacity: .55; stroke-dashoffset: 0; }
  100% { opacity: 0; stroke-dashoffset: -42; }
}

@keyframes refinedHeartTrail {
  0%, 44% { opacity: 0; transform: translate(74px, 14px) scale(.35); }
  57% { opacity: .98; transform: translate(38px, 7px) scale(.72); }
  78% { opacity: .96; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(-12px, 8px) scale(.82); }
}

@media (max-width: 680px) {
  .refined-spray-scene { min-height: 390px; }
  .refined-perfume-svg { width: min(430px, 112%); transform: translateX(2%); }
}


/* Final hero pump sequence: press first, then three heart trails */
.final-pump-trails-scene {
  min-height: min(640px, 70vh);
  display: grid;
  place-items: center;
  overflow: visible;
}

.final-pump-svg {
  width: min(760px, 105%);
  height: auto;
  overflow: visible;
  transform: translateX(1%);
}

.final-backdrop path {
  fill: rgba(255, 252, 247, .32);
  stroke: rgba(213, 165, 88, .16);
}

.final-backdrop circle {
  fill: none;
  stroke: rgba(71, 116, 135, .12);
  animation: finalAuraPulse 7s ease-in-out infinite;
}

.final-pump {
  animation: finalPumpDown 3.4s ease-in-out infinite;
  transform-origin: 505px 190px;
}

.final-nozzle-hole {
  animation: finalNozzlePulse 3.4s ease-in-out infinite;
  transform-origin: center;
}

.final-liquid {
  animation: finalLiquidMove 5s ease-in-out infinite;
  transform-origin: center;
}

.final-spray-trails .final-trail > path:first-child {
  fill: none;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-dasharray: 135;
  stroke-dashoffset: 135;
  opacity: 0;
  animation: finalTrailLine 3.4s ease-in-out infinite;
}

.final-spray-trails .trail-one > path:first-child { stroke: rgba(182,73,100,.34); }
.final-spray-trails .trail-two > path:first-child { stroke: rgba(213,165,88,.35); animation-delay: .08s; }
.final-spray-trails .trail-three > path:first-child { stroke: rgba(71,116,135,.3); animation-delay: .16s; }

.final-spray-trails .heart {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: finalHeartOut 3.4s ease-in-out infinite;
}

.final-spray-trails .trail-one .heart { fill: #b64964; }
.final-spray-trails .trail-two .heart { fill: #d8a24f; }
.final-spray-trails .trail-three .heart { fill: #477487; }
.final-spray-trails .d1 { animation-delay: .02s; }
.final-spray-trails .d2 { animation-delay: .14s; }
.final-spray-trails .d3 { animation-delay: .26s; }
.final-spray-trails .trail-two .heart { animation-delay: calc(var(--extra, 0s) + .12s); }
.final-spray-trails .trail-two .d1 { animation-delay: .1s; }
.final-spray-trails .trail-two .d2 { animation-delay: .22s; }
.final-spray-trails .trail-two .d3 { animation-delay: .34s; }
.final-spray-trails .trail-three .d1 { animation-delay: .18s; }
.final-spray-trails .trail-three .d2 { animation-delay: .3s; }
.final-spray-trails .trail-three .d3 { animation-delay: .42s; }

@keyframes finalPumpDown {
  0%, 28%, 100% { transform: translateY(0); }
  36%, 48% { transform: translateY(18px); }
  58% { transform: translateY(0); }
}

@keyframes finalNozzlePulse {
  0%, 30%, 100% { transform: scale(1); }
  42%, 52% { transform: scale(1.35); }
}

@keyframes finalTrailLine {
  0%, 38% { opacity: 0; stroke-dashoffset: 135; }
  48% { opacity: .92; stroke-dashoffset: 88; }
  74% { opacity: .62; stroke-dashoffset: 0; }
  100% { opacity: 0; stroke-dashoffset: -44; }
}

@keyframes finalHeartOut {
  0%, 40% { opacity: 0; transform: translate(76px, 0) scale(.25); }
  50% { opacity: .96; transform: translate(38px, 0) scale(.72); }
  76% { opacity: .98; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(-14px, 8px) scale(.82); }
}

@keyframes finalLiquidMove {
  0%, 100% { transform: translateX(-4px); }
  50% { transform: translateX(5px); }
}

@keyframes finalAuraPulse {
  0%, 100% { transform: scale(.98); opacity: .5; }
  50% { transform: scale(1.03); opacity: .85; }
}

@media (max-width: 1180px) {
  .final-pump-svg { width: min(700px, 108%); transform: translateX(0); }
}

@media (max-width: 680px) {
  .final-pump-trails-scene { min-height: 410px; }
  .final-pump-svg { width: min(460px, 116%); transform: translateX(2%); }
}


/* Final correction: fixed bottle scale, clipped liquid, true heart droplet trails */
.final-pump-trails-scene {
  min-height: min(660px, 72vh);
}

.final-pump-svg {
  width: min(900px, 116%);
  transform: translateX(-1%);
}

.final-bottle {
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: scale(1.08) translate(-18px, -10px);
}

.final-spray-trails .final-trail > path:first-child {
  opacity: 0 !important;
  stroke-width: 0 !important;
  animation: none !important;
}

.final-spray-trails .heart {
  opacity: .18;
  transform-box: fill-box;
  transform-origin: center;
  animation: finalHeartPulseOnly 3.4s ease-in-out infinite !important;
}

.final-spray-trails .trail-one .heart { fill: #b64964; }
.final-spray-trails .trail-two .heart { fill: #d8a24f; }
.final-spray-trails .trail-three .heart { fill: #477487; }

.final-spray-trails .d1 { animation-delay: .5s !important; }
.final-spray-trails .d2 { animation-delay: .62s !important; }
.final-spray-trails .d3 { animation-delay: .74s !important; }
.final-spray-trails .trail-two .d1 { animation-delay: .56s !important; }
.final-spray-trails .trail-two .d2 { animation-delay: .68s !important; }
.final-spray-trails .trail-two .d3 { animation-delay: .8s !important; }
.final-spray-trails .trail-three .d1 { animation-delay: .62s !important; }
.final-spray-trails .trail-three .d2 { animation-delay: .74s !important; }
.final-spray-trails .trail-three .d3 { animation-delay: .86s !important; }

.final-nozzle-hole {
  animation: finalNozzlePulseClean 3.4s ease-in-out infinite !important;
}

.final-pump {
  animation: finalPumpDownClean 3.4s ease-in-out infinite !important;
}

@keyframes finalPumpDownClean {
  0%, 28%, 100% { transform: translateY(0); }
  36%, 48% { transform: translateY(18px); }
  58% { transform: translateY(0); }
}

@keyframes finalNozzlePulseClean {
  0%, 36%, 100% { transform: scale(1); }
  48%, 58% { transform: scale(1.4); }
}

@keyframes finalHeartPulseOnly {
  0%, 42%, 100% { opacity: .16; filter: drop-shadow(0 0 0 rgba(92,31,55,0)); }
  52% { opacity: 1; filter: drop-shadow(0 0 7px rgba(92,31,55,.2)); }
  72% { opacity: .9; filter: drop-shadow(0 0 4px rgba(92,31,55,.14)); }
  88% { opacity: .28; filter: drop-shadow(0 0 0 rgba(92,31,55,0)); }
}

@media (max-width: 1180px) {
  .final-pump-svg { width: min(780px, 114%); }
}

@media (max-width: 680px) {
  .final-pump-trails-scene { min-height: 430px; }
  .final-pump-svg { width: min(520px, 122%); transform: translateX(-2%); }
  .final-bottle { transform: scale(1.04) translate(-12px, -6px); }
}


/* Hero cleanup: remove background shapes and align nozzle to heart trails */
.final-backdrop,
.perfume-backdrop,
.refined-backdrop,
.heart-stage::before,
.heart-stage::after,
.simple-pump-stage::before,
.simple-pump-stage::after,
.real-atomizer-stage::before,
.real-atomizer-stage::after,
.cover-rings,
.cover-hero::after {
  display: none !important;
}

.final-pump-svg .final-nozzle,
.final-pump-svg .nozzle-svg {
  transform-box: fill-box;
  transform-origin: right center;
  transform: translate(0, -2px);
}

.final-pump-svg .final-nozzle-hole,
.final-pump-svg .nozzle-hole-svg {
  transform-box: fill-box;
  transform-origin: center;
  transform: translate(0, -2px);
}

.final-pump-svg .final-spray-trails,
.final-pump-svg .heart-trails,
.final-pump-svg .heart-drops {
  transform-box: view-box;
  transform-origin: 305px 91px;
  transform: translate(44px, -6px);
}

.final-pump-svg .final-trail > path:first-child {
  display: none !important;
}

.final-pump-svg .heart {
  opacity: .72;
}

.final-pump-svg .trail-one .d1,
.final-pump-svg .trail-two .d1,
.final-pump-svg .trail-three .d1 {
  opacity: .9;
}


/* Hero spray spacing: keep heart trails clear of the nozzle */
.final-pump-svg .final-spray-trails,
.final-pump-svg .heart-trails,
.final-pump-svg .heart-drops {
  transform-box: view-box;
  transform-origin: 305px 91px;
  transform: translate(20px, -6px) !important;
}

.final-pump-svg .final-spray-trails .d1,
.final-pump-svg .heart-trails .d1,
.final-pump-svg .heart-drops .h1 {
  opacity: .72;
}


/* Hero trail lane alignment: pink above, yellow on nozzle line, teal below */
.final-pump-svg .final-spray-trails,
.final-pump-svg .heart-trails,
.final-pump-svg .heart-drops {
  transform-box: view-box;
  transform-origin: 305px 91px;
  transform: translate(0, 0) !important;
}

.final-pump-svg .trail-two .heart {
  fill: #d8a24f !important;
}

.final-pump-svg .trail-one .heart {
  fill: #b64964 !important;
}

.final-pump-svg .trail-three .heart {
  fill: #477487 !important;
}


/* Exact nozzle-tip alignment for heart trails */
.final-pump-svg .final-spray-trails {
  transform: none !important;
}

.final-pump-svg .trail-one .d1,
.final-pump-svg .trail-two .d1,
.final-pump-svg .trail-three .d1 {
  opacity: .95;
}


/* Final nozzle aligned 5-heart trail correction */
.final-backdrop,
.perfume-backdrop,
.refined-backdrop,
.heart-stage::before,
.heart-stage::after,
.simple-pump-stage::before,
.simple-pump-stage::after,
.real-atomizer-stage::before,
.real-atomizer-stage::after,
.cover-rings,
.cover-hero::after {
  display: none !important;
}

.final-pump-svg .final-spray-trails {
  transform: none !important;
}

.final-pump-svg .final-trail > path:first-child {
  display: none !important;
}

.final-pump-svg .trail-one .heart {
  fill: #b64964 !important;
}

.final-pump-svg .trail-two .heart {
  fill: #d8a24f !important;
}

.final-pump-svg .trail-three .heart {
  fill: #477487 !important;
}

.final-pump-svg .final-spray-trails .heart {
  opacity: .72;
  transform-box: fill-box;
  transform-origin: center;
  animation: nozzleFiveHeartPulse 3.4s ease-in-out infinite !important;
}

.final-pump-svg .final-spray-trails .d1 { animation-delay: .46s !important; }
.final-pump-svg .final-spray-trails .d2 { animation-delay: .66s !important; }
.final-pump-svg .final-spray-trails .d3 { animation-delay: .86s !important; }

.final-pump-trails-scene {
  min-height: min(660px, 72vh);
}

.final-pump-svg {
  width: min(960px, 120%);
  transform: translateX(-2%) !important;
}

.final-pump-svg .final-bottle {
  transform: none !important;
}

@keyframes nozzleFiveHeartPulse {
  0%, 38%, 100% {
    opacity: .16;
    filter: drop-shadow(0 0 0 rgba(92, 31, 55, 0));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(92, 31, 55, .18));
  }
  76% {
    opacity: .86;
    filter: drop-shadow(0 0 3px rgba(92, 31, 55, .12));
  }
  90% {
    opacity: .26;
    filter: drop-shadow(0 0 0 rgba(92, 31, 55, 0));
  }
}


/* Final homepage hero text polish */
.cover-hero .cover-copy h1 {
  color: var(--wine) !important;
}

.cover-hero .cover-copy .lead {
  color: #5f2437 !important;
}


/* Main navigation with curriculum dropdown */
.topbar nav {
  position: relative;
}

.nav-dropdown {
  position: relative;
}

.nav-drop-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  padding: 0;
}

.nav-drop-button::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.nav-dropdown:hover .nav-drop-button,
.nav-dropdown:focus-within .nav-drop-button {
  color: var(--wine);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 50;
  width: min(360px, 84vw);
  display: grid;
  gap: 0;
  padding: 10px;
  background: rgba(255, 253, 249, .98);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(36, 23, 20, .16);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-menu a {
  display: block;
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
}

.nav-menu a:last-child {
  border-bottom: 0;
}

.nav-menu a:hover {
  background: #fff8f1;
  color: var(--wine);
}

.simple-page {
  min-height: calc(70vh - 60px);
  padding: 96px clamp(18px, 6vw, 90px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 85% 18%, rgba(173, 66, 92, .1), transparent 28%),
    linear-gradient(135deg, #fffdf9, #f3e5da);
}

.simple-page h1 {
  max-width: 920px;
}

.simple-page .lead {
  color: #5f2437;
}

.contact-list {
  display: grid;
  gap: 13px;
  max-width: 620px;
  margin-top: 30px;
  padding: 28px;
  background: rgba(255, 253, 249, .78);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(36, 23, 20, .08);
}

.contact-list p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.contact-list strong {
  color: var(--wine);
}

.contact-list a {
  color: var(--wine);
  font-weight: 850;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
  }

  .topbar nav {
    gap: 11px;
  }

  .nav-menu {
    left: 0;
    transform: translateY(8px);
  }

  .nav-dropdown:hover .nav-menu,
  .nav-dropdown:focus-within .nav-menu {
    transform: translateY(0);
  }
}


/* Professional compact footer */
.premium-footer {
  display: block;
  padding: 0;
  background: #2b1719;
  color: #efd2c0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(180px, .7fr) minmax(240px, .9fr);
  gap: 34px;
  padding: 42px clamp(18px, 6vw, 90px);
}

.footer-brand,
.footer-main strong {
  color: #fff8f1;
  font-weight: 950;
  text-decoration: none;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.footer-brand-block p,
.footer-contact span,
.footer-contact a,
.footer-bottom span {
  color: #efd2c0;
  line-height: 1.55;
}

.footer-brand-block p {
  max-width: 420px;
  margin: 0;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-links a,
.footer-contact a {
  color: #f8e8dc;
  text-decoration: none;
  font-weight: 750;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #d8a24f;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 6vw, 90px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
}

@media (max-width: 860px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}


/* Remove chapter hero decorative rectangle frame */
.premium-chapter::before,
.chapter-hero::before {
  content: none !important;
  display: none !important;
}


/* Strong chapter hero frame removal */
.chapter-hero,
.premium-chapter {
  box-shadow: none !important;
}

.chapter-hero::before,
.chapter-hero::after,
.premium-chapter::before,
.premium-chapter::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.chapter-hero .chapter-promise {
  box-shadow: none !important;
}


/* Blog article: luxury perfume psychology */
.blog-article {
  background: linear-gradient(180deg, #fff8f1, #f4e6db 48%, #fffdf9);
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(360px, .84fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  padding: 82px clamp(18px, 6vw, 90px) 72px;
  border-bottom: 1px solid var(--line);
}

.blog-hero h1 {
  max-width: 900px;
  color: var(--wine);
  font-size: clamp(48px, 6vw, 86px);
}

.blog-hero .lead {
  color: #5f2437;
  max-width: 680px;
}

.luxury-belief-visual {
  margin: 0;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.luxury-belief-visual svg {
  width: min(100%, 620px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 28px 60px rgba(36, 23, 20, .12));
}

.luxury-belief-visual figcaption {
  max-width: 480px;
  text-align: center;
  color: var(--muted);
  line-height: 1.5;
  font-size: 15px;
}

.belief-orbit circle {
  fill: none;
  stroke: rgba(90, 23, 48, .12);
  stroke-width: 1.4;
  transform-origin: 360px 250px;
  animation: beliefOrbit 18s linear infinite;
}

.belief-orbit circle:nth-child(2) {
  stroke: rgba(216, 162, 79, .18);
  animation-duration: 13s;
  animation-direction: reverse;
}

.belief-orbit circle:nth-child(3) {
  stroke: rgba(66, 110, 127, .16);
  animation-duration: 9s;
}

.belief-bottle {
  animation: beliefBottleFloat 5.4s ease-in-out infinite;
  transform-origin: 360px 250px;
}

.belief-cues .cue circle {
  fill: rgba(255, 253, 249, .86);
  stroke: var(--line);
  stroke-width: 1.4;
}

.belief-cues text {
  text-anchor: middle;
  fill: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  font-size: 18px;
}

.belief-cues text + text {
  fill: var(--muted);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 850;
}

.belief-cues path {
  fill: none;
  stroke: var(--wine);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.belief-cues .cue {
  transform-origin: center;
  animation: cuePulse 5.6s ease-in-out infinite;
}

.belief-cues .cue-weight { animation-delay: .4s; }
.belief-cues .cue-story { animation-delay: .8s; }
.belief-cues .cue-space { animation-delay: 1.2s; }

.belief-paths path {
  fill: none;
  stroke: rgba(90, 23, 48, .32);
  stroke-width: 2;
  stroke-dasharray: 5 8;
  stroke-linecap: round;
  animation: beliefPathFlow 4.4s ease-in-out infinite;
}

.belief-paths path:nth-child(even) {
  stroke: rgba(216, 162, 79, .45);
  animation-delay: .35s;
}

.belief-center circle {
  fill: var(--wine);
  opacity: .95;
}

.belief-center path {
  fill: #fff8f1;
  animation: beliefHeart 2.8s ease-in-out infinite;
  transform-origin: 360px 250px;
}

.blog-body {
  width: min(100% - 36px, 920px);
  margin: 0 auto;
  padding: 70px 0 84px;
}

.blog-body p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.82;
  margin: 0 0 24px;
}

.blog-body h2 {
  margin: 54px 0 18px;
  color: var(--wine);
  font-size: clamp(30px, 3.6vw, 48px);
}

.blog-body a {
  color: var(--wine);
  font-weight: 850;
}

.blog-handbook-callout {
  margin: 56px 0 46px;
  padding: 30px;
  background: #2b1719;
  color: #f8e8dc;
  box-shadow: 0 22px 60px rgba(36, 23, 20, .16);
}

.blog-handbook-callout p {
  color: #efd2c0;
  margin-bottom: 22px;
}

.blog-handbook-callout strong {
  color: #fff8f1;
}

.blog-reference {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.blog-reference h2 {
  font-size: 28px;
}

.blog-reference p {
  font-size: 16px;
  line-height: 1.65;
}

@keyframes beliefOrbit {
  to { transform: rotate(360deg); }
}

@keyframes beliefBottleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes cuePulse {
  0%, 100% { opacity: .76; transform: scale(.98); }
  50% { opacity: 1; transform: scale(1.035); }
}

@keyframes beliefPathFlow {
  0%, 100% { stroke-dashoffset: 38; opacity: .25; }
  50% { stroke-dashoffset: 0; opacity: .9; }
}

@keyframes beliefHeart {
  0%, 100% { transform: scale(.92); opacity: .84; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 960px) {
  .blog-hero {
    grid-template-columns: 1fr;
  }

  .luxury-belief-visual {
    justify-items: start;
  }

  .luxury-belief-visual figcaption {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .blog-hero {
    padding-block: 58px;
  }

  .blog-body p {
    font-size: 18px;
  }
}

/* Blog accordion library */
.blog-index-hero {
  padding: 82px clamp(18px, 6vw, 90px) 38px;
  background: linear-gradient(135deg, #fff8f1, #f4e6db);
  border-bottom: 1px solid var(--line);
}

.blog-index-hero h1 {
  max-width: 980px;
  color: var(--wine);
  font-size: clamp(44px, 5.4vw, 78px);
}

.blog-index-hero .lead {
  max-width: 780px;
  color: #5f2437;
}

.blog-accordion-section {
  padding: 44px clamp(18px, 6vw, 90px) 82px;
  background: #fffdf9;
  border-bottom: 1px solid var(--line);
}

.blog-list {
  display: grid;
  gap: 14px;
  max-width: 1160px;
  margin: 0 auto;
}

.blog-card {
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, .9);
  box-shadow: 0 16px 42px rgba(36, 23, 20, .06);
}

.blog-card summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 64px 1fr 34px;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
}

.blog-card summary::-webkit-details-marker {
  display: none;
}

.blog-card summary::after {
  content: "";
  width: 12px;
  height: 12px;
  justify-self: end;
  border-right: 3px solid var(--wine);
  border-bottom: 3px solid var(--wine);
  transform: rotate(45deg);
  transition: transform .22s ease;
}

.blog-card[open] summary::after {
  transform: rotate(225deg);
}

.blog-card-index {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff8f1;
  font-weight: 950;
}

.blog-card summary strong {
  display: block;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
}

.blog-card summary small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.blog-expanded {
  border-top: 1px solid var(--line);
}

.blog-expanded .blog-article {
  background: transparent;
}

.blog-expanded .blog-hero {
  padding: 46px clamp(18px, 5vw, 58px);
}

.blog-expanded .blog-body {
  padding-top: 50px;
}

.compact-blog-hero h1 {
  font-size: clamp(38px, 4.8vw, 68px);
}

.blog-placeholder {
  padding: 0 26px 26px 108px;
  color: var(--muted);
}

.blog-placeholder p {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.blog-handbook-callout .blog-callout-button,
.blog-callout-button {
  width: auto;
  min-width: 230px;
  color: #fff8f1 !important;
  background: var(--wine) !important;
}

@media (max-width: 720px) {
  .blog-card summary {
    grid-template-columns: 46px 1fr 24px;
    padding: 20px;
  }

  .blog-card-index {
    width: 38px;
    height: 38px;
  }

  .blog-placeholder {
    padding: 0 20px 22px 84px;
  }
}

/* Global rounded-edge polish */
:root {
  --radius-soft: 14px;
  --radius-card: 18px;
  --radius-large: 24px;
}

.button,
button,
input,
textarea,
select,
.chip,
.nav-menu,
.nav-drop-button,
.learning-stats div,
.scene-wrap,
.scene-caption,
.chapter-card,
.path-card,
.deep-lesson,
.concept-grid article,
.practice-box,
.lesson-panel,
.checkout-card,
.quiz,
.module-section article,
.ingredient,
.accord-visual,
.accord-label,
.value-list li,
.status-card,
.order-box,
.tool-panel,
.tool-panel li,
.tool-panel dl,
.field-grid article,
.history-timeline article,
.meaning-diagram,
.meaning-diagram div,
.shlok-card,
.lakshmi-diagram,
.lesson-buy-link,
.chapter-buy-section .value-list li,
.blog-card,
.blog-card summary,
.blog-handbook-callout,
.blog-placeholder p,
.luxury-belief-visual,
.footer-main,
.footer-bottom {
  border-radius: var(--radius-card);
}

.button,
button,
input,
textarea,
select,
.chip,
.nav-drop-button {
  border-radius: var(--radius-soft);
}

.checkout-card input,
.checkout-card button,
.full,
.primary,
.secondary {
  border-radius: var(--radius-soft);
}

.premium-scene,
.blog-card,
.chapter-card,
.deep-lesson,
.checkout-card,
.lesson-panel,
.tool-panel,
.field-grid article,
.history-timeline article,
.ingredient,
.status-card {
  border-radius: var(--radius-large) !important;
}

.blog-expanded,
.blog-expanded .blog-article,
.blog-expanded .blog-hero,
.blog-expanded .blog-body {
  overflow: hidden;
}

.blog-card[open] summary {
  border-radius: var(--radius-large) var(--radius-large) 0 0;
}

.blog-expanded {
  border-radius: 0 0 var(--radius-large) var(--radius-large);
}

/* Rounded-edge corrections for newer visual systems */
.chapter-path-map,
.chapter-map-card,
.chapter-map-card *,
.chapter-icon,
.manifesto-grid article,
.market-path,
.market-lane,
.lane-metrics b,
.unit-pie,
.pie-center,
.pie-legend,
.legend-row,
.pie-note,
.market-paths-figure,
.economics-map-figure,
.unit-pie-figure,
.blog-list details,
.blog-list summary {
  border-radius: var(--radius-large) !important;
}

.chapter-map-card,
.manifesto-grid article,
.market-lane,
.legend-row,
.pie-note {
  overflow: hidden;
}

.chapter-icon {
  overflow: hidden;
  border-radius: 18px !important;
}

.chapter-path-map {
  gap: 18px;
}

.chapter-map-card {
  clip-path: none !important;
}

.manifesto-grid article {
  background: rgba(255,255,255,.075);
}

.legend-row,
.pie-note {
  background-clip: padding-box;
}

/* Chapter 7 pie chart correction */
.unit-pie-figure {
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.pie-wrap {
  display: grid;
  place-items: center;
  position: relative;
}

.unit-pie {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  border-radius: 50% !important;
  overflow: hidden;
  background:
    conic-gradient(
      #687b5b 0 12%,
      #d2ad65 12% 36%,
      #b5927c 36% 50%,
      #496f80 50% 68%,
      #5a1730 68% 100%
    ) !important;
  box-shadow: 0 26px 70px rgba(36, 23, 20, .13);
}

.unit-pie::after {
  content: "";
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: #fffdf9;
  box-shadow: inset 0 0 0 1px rgba(234, 216, 203, .9);
  z-index: 1;
}

.pie-center {
  position: absolute;
  inset: 34%;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--wine);
}

.pie-center b {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .9;
}

.pie-center small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 900;
}

.pie-signal {
  display: none !important;
}

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

/* Global figure label consistency */
.figure-caption,
.diagram-caption,
.visual-caption,
.chapter-figure-caption,
.scent-figure-caption,
.figure-label,
figcaption,
p[class*="figure"],
p[class*="caption"],
div[class*="figure"] > p:last-child,
section[class*="figure"] > p:last-child {
  max-width: min(980px, 86vw);
  margin: 20px auto 0 !important;
  text-align: center !important;
  color: var(--wine) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(17px, 1.25vw, 21px) !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.figure-caption *,
.diagram-caption *,
.visual-caption *,
.chapter-figure-caption *,
.scent-figure-caption *,
.figure-label *,
figcaption *,
p[class*="figure"] *,
p[class*="caption"] * {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

/* Chapter 3 needs more air before diagram labels */
body[data-chapter="naturals"] .figure-caption,
body[data-chapter="naturals"] .diagram-caption,
body[data-chapter="naturals"] .visual-caption,
body[data-chapter="naturals"] .chapter-figure-caption,
body[data-chapter="naturals"] .scent-figure-caption,
body[data-chapter="naturals"] .figure-label,
body[data-chapter="naturals"] figcaption,
body[data-chapter="naturals"] p[class*="figure"],
body[data-chapter="naturals"] p[class*="caption"] {
  margin-top: 48px !important;
}

/* Round the remaining sharp visual panels */
.professional-habit,
.habit-card,
.mistake-habit,
.common-mistakes-figure .lesson,
.common-mistakes-figure .habit,
.common-mistakes-figure [class*="habit"],
.time-flow-card,
.maturation-card,
.maceration-card,
.workspace-panel,
.book-card,
.book-visual,
.guidebook-card,
[class*="habit-box"],
[class*="habit-panel"] {
  border-radius: var(--radius-large) !important;
  overflow: hidden;
}

/* Chapter 6: story-led time-as-ingredient diagram */
.time-story-figure {
  position: relative;
  max-width: min(1500px, 92vw);
  min-height: 720px;
  margin: clamp(48px, 7vw, 96px) auto 0;
  padding: clamp(28px, 4vw, 60px);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 30%, rgba(102, 123, 89, 0.13), transparent 28%),
    radial-gradient(circle at 72% 55%, rgba(162, 61, 87, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(239, 230, 220, 0.58));
  box-shadow: 0 34px 90px rgba(47, 25, 28, 0.11);
}

.time-story-path {
  position: absolute;
  inset: clamp(18px, 3vw, 44px);
  pointer-events: none;
}

.time-story-path svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.story-line {
  fill: none;
  stroke: rgba(92, 29, 53, 0.28);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 22 18;
  animation: storyPath 7s ease-in-out infinite;
}

.story-line-two {
  stroke: rgba(202, 160, 82, 0.34);
  animation-delay: -2.7s;
}

.story-vessel,
.story-chamber,
.story-lesson {
  position: absolute;
  z-index: 1;
}

.story-vessel {
  width: 190px;
  text-align: center;
}

.story-vessel b,
.story-chamber strong {
  display: block;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2vw, 38px);
  line-height: 1.04;
}

.story-vessel small,
.story-chamber em,
.story-chamber p {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 800;
  line-height: 1.35;
}

.story-chamber {
  width: min(320px, 24vw);
  min-height: 228px;
  padding: 34px 30px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(92, 29, 53, 0.22);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 28px 70px rgba(47, 25, 28, 0.12);
}

.maceration-chamber {
  background: var(--wine);
  border-color: rgba(255, 255, 255, 0.2);
}

.maceration-chamber strong,
.maceration-chamber em,
.maceration-chamber p {
  color: #fff8ef;
}

.chamber-orbit {
  position: absolute;
  inset: -18px;
  border-radius: 34px;
  border: 1px solid rgba(202, 160, 82, 0.34);
  opacity: 0.85;
  animation: breatheOrbit 4.8s ease-in-out infinite;
}

.vessel-glass {
  position: relative;
  display: block;
  width: 86px;
  height: 116px;
  margin: 0 auto 18px;
  border: 3px solid rgba(92, 29, 53, 0.28);
  border-radius: 34px 34px 22px 22px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 18px 42px rgba(47, 25, 28, 0.1);
  overflow: hidden;
}

.vessel-glass::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 24px;
  height: 12px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.7);
}

.vessel-glass i {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 44%;
  border-radius: 18px 18px 16px 16px;
  background: linear-gradient(90deg, rgba(102, 123, 89, 0.68), rgba(202, 160, 82, 0.72), rgba(162, 61, 87, 0.62));
  animation: liquidSettle 5.8s ease-in-out infinite;
}

.vessel-glass.raw i {
  height: 60%;
  background: linear-gradient(90deg, rgba(92, 29, 53, 0.58), rgba(202, 160, 82, 0.68));
}

.vessel-glass.alcohol i {
  height: 34%;
  background: linear-gradient(90deg, rgba(210, 196, 175, 0.7), rgba(102, 123, 89, 0.28));
}

.vessel-glass.finished {
  background: var(--wine);
  border-color: rgba(92, 29, 53, 0.08);
}

.vessel-glass.finished i {
  height: 56%;
  background: linear-gradient(90deg, rgba(202, 160, 82, 0.8), rgba(255, 248, 232, 0.45));
}

.raw-vessel {
  left: 4%;
  top: 28%;
}

.maturation-chamber {
  left: 24%;
  top: 12%;
}

.alcohol-vessel {
  left: 48%;
  top: 28%;
}

.maceration-chamber {
  right: 18%;
  top: 22%;
}

.finished-vessel {
  right: 3%;
  top: 44%;
}

.story-lesson {
  left: 50%;
  bottom: 112px;
  width: min(760px, 78vw);
  padding: 22px 30px;
  text-align: center;
  transform: translateX(-50%);
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  font-style: italic;
  line-height: 1.12;
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.72);
}

.time-story-figure figcaption {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: min(940px, 82vw);
}

@keyframes storyPath {
  0%,
  100% {
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dashoffset: -80;
  }
}

@keyframes breatheOrbit {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.42;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.88;
  }
}

@keyframes liquidSettle {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(5px) rotate(1.5deg);
  }
}

@media (max-width: 900px) {
  .time-story-figure {
    min-height: auto;
    display: grid;
    gap: 24px;
    padding-bottom: 42px;
  }

  .time-story-path {
    display: none;
  }

  .story-vessel,
  .story-chamber,
  .story-lesson,
  .time-story-figure figcaption {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    transform: none;
  }

  .story-vessel {
    display: grid;
    grid-template-columns: 94px 1fr;
    column-gap: 18px;
    align-items: center;
    text-align: left;
  }

  .story-vessel .vessel-glass {
    margin: 0;
  }

  .story-chamber {
    width: 100%;
  }
}

/* Chapter 6 correction: contained, readable story diagram */
.time-story-figure {
  display: grid !important;
  grid-template-columns: 1fr 1.25fr 1fr 1.25fr 1fr !important;
  grid-template-areas:
    "raw mature alcohol macerate finished"
    ". lesson lesson lesson ." 
    "caption caption caption caption caption" !important;
  align-items: center !important;
  gap: clamp(18px, 2.2vw, 34px) !important;
  min-height: 0 !important;
  padding: clamp(34px, 5vw, 72px) clamp(30px, 5vw, 72px) !important;
  overflow: visible !important;
}

.time-story-figure .time-story-path {
  display: none !important;
}

.time-story-figure .story-vessel,
.time-story-figure .story-chamber,
.time-story-figure .story-lesson,
.time-story-figure figcaption {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: auto !important;
  transform: none !important;
}

.time-story-figure .raw-vessel {
  grid-area: raw;
}

.time-story-figure .maturation-chamber {
  grid-area: mature;
}

.time-story-figure .alcohol-vessel {
  grid-area: alcohol;
}

.time-story-figure .maceration-chamber {
  grid-area: macerate;
}

.time-story-figure .finished-vessel {
  grid-area: finished;
}

.time-story-figure .story-lesson {
  grid-area: lesson;
  width: 100% !important;
  padding: 20px 26px !important;
  font-size: clamp(24px, 2.25vw, 36px) !important;
  background: rgba(255, 253, 248, 0.82) !important;
  box-shadow: 0 18px 44px rgba(47, 25, 28, 0.08);
}

.time-story-figure figcaption {
  grid-area: caption;
  margin-top: 8px !important;
}

.time-story-figure .story-chamber {
  width: 100% !important;
  min-height: 220px !important;
  padding: 28px 24px !important;
}

.time-story-figure .story-chamber strong {
  font-size: clamp(30px, 2.4vw, 42px) !important;
}

.time-story-figure .story-chamber p {
  max-width: 24ch;
  margin-inline: auto;
}

.time-story-figure .story-vessel {
  display: grid !important;
  justify-items: center !important;
  text-align: center !important;
}

.time-story-figure .story-vessel b {
  font-size: clamp(25px, 2vw, 36px) !important;
}

.time-story-figure .story-vessel small {
  max-width: 18ch;
  margin-inline: auto;
}

.time-story-figure .vessel-glass {
  width: 78px !important;
  height: 104px !important;
}

.time-story-figure .story-vessel:not(.finished-vessel)::after,
.time-story-figure .story-chamber:not(.maceration-chamber)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(clamp(18px, 2.2vw, 34px) * -0.78);
  width: clamp(26px, 3vw, 42px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(202, 160, 82, 0.15), rgba(92, 29, 53, 0.34));
}

.time-story-figure .story-vessel:not(.finished-vessel)::before,
.time-story-figure .story-chamber:not(.maceration-chamber)::before {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  right: calc(clamp(18px, 2.2vw, 34px) * -0.88);
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(92, 29, 53, 0.34);
  border-right: 2px solid rgba(92, 29, 53, 0.34);
  transform: rotate(45deg);
}

.time-story-figure .maceration-chamber::after,
.time-story-figure .maceration-chamber::before {
  content: none !important;
}

@media (max-width: 1100px) {
  .time-story-figure {
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "raw mature"
      "alcohol macerate"
      "finished lesson"
      "caption caption" !important;
  }

  .time-story-figure .story-vessel::before,
  .time-story-figure .story-vessel::after,
  .time-story-figure .story-chamber::before,
  .time-story-figure .story-chamber::after {
    content: none !important;
  }
}

@media (max-width: 700px) {
  .time-story-figure {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "raw"
      "mature"
      "alcohol"
      "macerate"
      "finished"
      "lesson"
      "caption" !important;
  }
}

/* Chapter 6: sequential storytelling reveal */
.time-story-figure::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: clamp(22px, 4vw, 44px);
  left: 10%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 12px rgba(202, 160, 82, 0.16), 0 0 34px rgba(92, 29, 53, 0.22);
  animation: timeStoryPointer 18s ease-in-out infinite;
}

.time-story-figure .story-vessel,
.time-story-figure .story-chamber,
.time-story-figure .story-lesson {
  opacity: 0.18;
  filter: saturate(0.72);
  transform: translateY(10px);
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

.time-story-figure .raw-vessel {
  animation: revealStageOne 18s ease-in-out infinite;
}

.time-story-figure .maturation-chamber {
  animation: revealStageTwo 18s ease-in-out infinite;
}

.time-story-figure .alcohol-vessel {
  animation: revealStageThree 18s ease-in-out infinite;
}

.time-story-figure .maceration-chamber {
  animation: revealStageFour 18s ease-in-out infinite;
}

.time-story-figure .finished-vessel,
.time-story-figure .story-lesson {
  animation: revealStageFive 18s ease-in-out infinite;
}

@keyframes revealStageOne {
  0%,
  100% {
    opacity: 1;
    filter: saturate(1);
    transform: translateY(0);
  }
}

@keyframes revealStageTwo {
  0%,
  15% {
    opacity: 0.18;
    filter: saturate(0.72);
    transform: translateY(10px);
  }
  22%,
  100% {
    opacity: 1;
    filter: saturate(1);
    transform: translateY(0);
  }
}

@keyframes revealStageThree {
  0%,
  34% {
    opacity: 0.18;
    filter: saturate(0.72);
    transform: translateY(10px);
  }
  42%,
  100% {
    opacity: 1;
    filter: saturate(1);
    transform: translateY(0);
  }
}

@keyframes revealStageFour {
  0%,
  54% {
    opacity: 0.18;
    filter: saturate(0.72);
    transform: translateY(10px);
  }
  62%,
  100% {
    opacity: 1;
    filter: saturate(1);
    transform: translateY(0);
  }
}

@keyframes revealStageFive {
  0%,
  74% {
    opacity: 0.18;
    filter: saturate(0.72);
    transform: translateY(10px);
  }
  82%,
  100% {
    opacity: 1;
    filter: saturate(1);
    transform: translateY(0);
  }
}

@keyframes timeStoryPointer {
  0%,
  14% {
    left: 10%;
  }
  22%,
  34% {
    left: 31%;
  }
  42%,
  54% {
    left: 50%;
  }
  62%,
  74% {
    left: 70%;
  }
  82%,
  100% {
    left: 90%;
  }
}

@media (max-width: 1100px) {
  .time-story-figure::before {
    display: none;
  }
}

/* Chapter 6: mistake markers should read as avoid/do-not-do */
.mistakes-map-figure .mistake-card span {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: transparent !important;
  background: rgba(92, 29, 53, 0.96);
  box-shadow: 0 18px 40px rgba(47, 25, 28, 0.16);
  animation: mistakePulse 3.8s ease-in-out infinite;
}

.mistakes-map-figure .mistake-card span::before,
.mistakes-map-figure .mistake-card span::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: #fff8ef;
  transform-origin: center;
}

.mistakes-map-figure .mistake-card span::before {
  transform: rotate(45deg);
}

.mistakes-map-figure .mistake-card span::after {
  transform: rotate(-45deg);
}

.mistakes-map-figure .mistake-card:nth-child(2) span {
  animation-delay: 0.2s;
}

.mistakes-map-figure .mistake-card:nth-child(3) span {
  animation-delay: 0.4s;
}

.mistakes-map-figure .mistake-card:nth-child(4) span {
  animation-delay: 0.6s;
}

.mistakes-map-figure .mistake-card:nth-child(5) span {
  animation-delay: 0.8s;
}

.mistakes-map-figure .mistake-solution,
.common-mistakes-figure .mistake-solution {
  border-radius: 28px !important;
  overflow: hidden !important;
}

@keyframes mistakePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 18px 40px rgba(47, 25, 28, 0.16);
  }
  45% {
    transform: scale(1.07) rotate(-2deg);
    box-shadow: 0 22px 52px rgba(92, 29, 53, 0.22);
  }
  62% {
    transform: scale(0.98) rotate(1deg);
  }
}

/* Chapter 6: let the time diagram live directly on the page background */
.time-story-figure {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-inline: clamp(12px, 3vw, 44px) !important;
}

.time-story-figure .story-lesson {
  background: transparent !important;
  box-shadow: none !important;
}

/* Homepage: fragrance-field cursor reveal inspired by the reference hero */
.cover-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100dvh;
  --spotlight-x: 66%;
  --spotlight-y: 36%;
  --spotlight-size: clamp(190px, 26vw, 390px);
}

.cover-hero > *:not(.scent-reveal-layer) {
  position: relative;
  z-index: 2;
}

.cover-hero .cover-copy {
  animation: homeCopyArrive 1s cubic-bezier(0.18, 0.82, 0.24, 1) both;
}

.cover-hero .cover-copy h1 {
  color: var(--plum);
}

.cover-hero .cover-copy .lead,
.cover-hero .hero-actions {
  animation: homeCopyArrive 1.1s cubic-bezier(0.18, 0.82, 0.24, 1) both;
}

.cover-hero .cover-copy .lead {
  animation-delay: 0.12s;
}

.cover-hero .hero-actions {
  animation-delay: 0.22s;
}

.cover-hero .cover-visual {
  z-index: 3;
  animation: homeBottleArrive 1.35s cubic-bezier(0.18, 0.82, 0.24, 1) 0.16s both;
}

.scent-reveal-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.94;
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(216, 162, 79, 0.11), transparent 26rem),
    linear-gradient(112deg, rgba(255, 250, 242, 0), rgba(92, 29, 53, 0.035) 46%, rgba(49, 95, 112, 0.045));
  -webkit-mask-image: radial-gradient(circle var(--spotlight-size) at var(--spotlight-x) var(--spotlight-y), #000 0%, #000 42%, rgba(0, 0, 0, 0.72) 62%, rgba(0, 0, 0, 0.22) 78%, transparent 100%);
  mask-image: radial-gradient(circle var(--spotlight-size) at var(--spotlight-x) var(--spotlight-y), #000 0%, #000 42%, rgba(0, 0, 0, 0.72) 62%, rgba(0, 0, 0, 0.22) 78%, transparent 100%);
}

.scent-reveal-layer::after {
  content: "";
  position: absolute;
  width: clamp(120px, 18vw, 260px);
  height: clamp(120px, 18vw, 260px);
  left: calc(var(--spotlight-x) - clamp(60px, 9vw, 130px));
  top: calc(var(--spotlight-y) - clamp(60px, 9vw, 130px));
  border-radius: 999px;
  border: 1px solid rgba(216, 162, 79, 0.24);
  box-shadow: 0 0 90px rgba(216, 162, 79, 0.12);
  transform: scale(0.98);
  animation: spotlightBreathe 4.8s ease-in-out infinite;
}

.scent-reveal-composition {
  position: absolute;
  inset: 8% 2% 7% 43%;
}

.scent-ring {
  position: absolute;
  border: 1px solid rgba(92, 29, 53, 0.12);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  animation: scentRingDrift 16s linear infinite;
}

.ring-one {
  left: 56%;
  top: 42%;
  width: 520px;
  height: 520px;
}

.ring-two {
  left: 58%;
  top: 42%;
  width: 370px;
  height: 370px;
  border-color: rgba(216, 162, 79, 0.18);
  animation-duration: 21s;
  animation-direction: reverse;
}

.ring-three {
  left: 55%;
  top: 44%;
  width: 230px;
  height: 230px;
  border-color: rgba(99, 120, 91, 0.16);
  animation-duration: 13s;
}

.scent-arc {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(92, 29, 53, 0.22), rgba(216, 162, 79, 0.18), transparent);
  transform-origin: left center;
  animation: scentArcFloat 7s ease-in-out infinite;
}

.arc-top {
  left: 9%;
  top: 28%;
  width: 58%;
  transform: rotate(-12deg);
}

.arc-heart {
  left: 12%;
  top: 48%;
  width: 64%;
  transform: rotate(7deg);
  animation-delay: 0.8s;
}

.arc-base {
  left: 20%;
  top: 67%;
  width: 48%;
  transform: rotate(-4deg);
  animation-delay: 1.4s;
}

.scent-note,
.scent-ingredient {
  position: absolute;
  display: block;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(47, 25, 28, 0.12);
}

.scent-note {
  width: 14px;
  height: 14px;
  background: var(--plum);
  opacity: 0.72;
  animation: scentNotePulse 5.6s ease-in-out infinite;
}

.note-one { left: 19%; top: 26%; background: #d8a24f; }
.note-two { left: 35%; top: 18%; background: #a23d57; animation-delay: 0.4s; }
.note-three { left: 61%; top: 24%; background: #477487; animation-delay: 0.9s; }
.note-four { left: 72%; top: 51%; background: #667b59; animation-delay: 1.2s; }
.note-five { left: 48%; top: 70%; background: #d8a24f; animation-delay: 1.6s; }
.note-six { left: 24%; top: 63%; background: #5a1730; animation-delay: 2s; }

.scent-ingredient {
  width: 84px;
  height: 84px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 250, 242, 0.84) 0 22%, transparent 23%),
    conic-gradient(from 0deg, rgba(216, 162, 79, 0.2), rgba(162, 61, 87, 0.26), rgba(99, 120, 91, 0.22), rgba(216, 162, 79, 0.2));
  opacity: 0.66;
  animation: scentIngredientFloat 8s ease-in-out infinite;
}

.ingredient-one { left: 10%; top: 42%; }
.ingredient-two { left: 74%; top: 31%; animation-delay: 1.4s; }
.ingredient-three { left: 58%; top: 72%; animation-delay: 2.6s; }

@keyframes homeCopyArrive {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeBottleArrive {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes spotlightBreathe {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes scentRingDrift {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes scentArcFloat {
  0%,
  100% {
    opacity: 0.34;
    filter: blur(0);
  }
  50% {
    opacity: 0.8;
    filter: blur(0.3px);
  }
}

@keyframes scentNotePulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.45;
  }
  45% {
    transform: scale(1.28);
    opacity: 0.9;
  }
}

@keyframes scentIngredientFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(8deg);
  }
}

@media (max-width: 900px) {
  .cover-hero {
    --spotlight-size: 240px;
  }

  .scent-reveal-composition {
    inset: 36% -18% 2% 18%;
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cover-hero .cover-copy,
  .cover-hero .cover-copy .lead,
  .cover-hero .hero-actions,
  .cover-hero .cover-visual,
  .scent-reveal-layer::after,
  .scent-ring,
  .scent-arc,
  .scent-note,
  .scent-ingredient {
    animation: none !important;
  }
}

/* Homepage hero: soft perfume fumes replace the old cursor-reveal field. */
.cover-hero .scent-reveal-layer {
  display: none !important;
}

.hero-fume-trails {
  opacity: 0.62;
  transition:
    opacity 360ms ease,
    filter 360ms ease,
    transform 360ms ease;
}

.hero-fume-trails .fume {
  fill: none;
  stroke: url("#fumeRose");
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 230;
  stroke-dashoffset: 230;
  opacity: 0;
  animation: heroFumeRise 7.2s ease-in-out infinite;
}

.hero-fume-trails .fume-two {
  stroke-width: 5.4;
  animation-delay: 0.8s;
}

.hero-fume-trails .fume-three {
  stroke-width: 4.8;
  animation-delay: 1.55s;
}

.hero-fume-trails .fume-four {
  stroke-width: 3.8;
  animation-delay: 2.25s;
}

.hero-fume-trails .fume-spark {
  fill: #d8a24f;
  opacity: 0;
  animation: fumeSparkFloat 6.8s ease-in-out infinite;
}

.hero-fume-trails .spark-two {
  fill: #ad425c;
  animation-delay: 1.1s;
}

.hero-fume-trails .spark-three {
  fill: #667b59;
  animation-delay: 2s;
}

.hero-fume-trails .spark-four {
  fill: #426e7f;
  animation-delay: 2.8s;
}

.cover-hero:hover .hero-fume-trails {
  opacity: 1;
  transform: translateY(-4px);
}

.cover-hero:hover .hero-fume-trails .fume {
  animation-duration: 4.8s;
  filter: drop-shadow(0 0 14px rgba(216, 162, 79, 0.24));
}

.cover-hero:hover .hero-fume-trails .fume-spark {
  animation-duration: 4.4s;
}

@keyframes heroFumeRise {
  0% {
    opacity: 0;
    stroke-dashoffset: 230;
    transform: translateY(18px) scale(0.98);
  }
  18% {
    opacity: 0.34;
  }
  48% {
    opacity: 0.7;
    stroke-dashoffset: 70;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: -90;
    transform: translateY(-18px) scale(1.03);
  }
}

@keyframes fumeSparkFloat {
  0%,
  100% {
    opacity: 0;
    transform: translateY(12px) scale(0.82);
  }
  36% {
    opacity: 0.45;
    transform: translateY(-2px) scale(1);
  }
  68% {
    opacity: 0.16;
    transform: translateY(-18px) scale(0.72);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fume-trails .fume,
  .hero-fume-trails .fume-spark {
    animation: none !important;
    opacity: 0.42;
    stroke-dashoffset: 0;
  }
}

/* Final homepage hero fumes: translucent perfume vapor, not line art. */
.cover-hero {
  position: relative;
  overflow: hidden;
}

.cover-hero .cover-copy,
.cover-hero .cover-visual {
  position: relative;
  z-index: 2;
}

.hero-atmosphere-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-fume-trails {
  opacity: 0.82;
  mix-blend-mode: multiply;
}

.hero-fume-trails .fume-ribbon {
  fill: url("#fumeRose");
  opacity: 0.26;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: bottleFumeRibbon 7.5s ease-in-out infinite;
}

.hero-fume-trails .fume-ribbon-two {
  animation-delay: -2.2s;
}

.hero-fume-trails .fume-ribbon-three {
  animation-delay: -4.4s;
}

.hero-fume-trails .fume-thread {
  fill: none;
  stroke: url("#fumeRose");
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: 0.18;
  filter: blur(0.35px);
  stroke-dasharray: 180;
  animation: bottleFumeThread 7.5s ease-in-out infinite;
}

.hero-fume-trails .fume-thread-two {
  animation-delay: -2.2s;
}

.hero-fume-trails .fume-thread-three {
  animation-delay: -4.4s;
}

.cover-hero:hover .hero-fume-trails {
  opacity: 1;
}

.cover-hero:hover .hero-fume-trails .fume-ribbon {
  opacity: 0.46;
  animation-duration: 5.2s;
}

.cover-hero:hover .hero-fume-trails .fume-thread {
  opacity: 0.3;
  animation-duration: 5.2s;
}

@keyframes bottleFumeRibbon {
  0%,
  100% {
    opacity: 0.14;
    transform: translateY(10px) scale(0.94) rotate(-1deg);
  }
  45% {
    opacity: 0.34;
    transform: translateY(-12px) scale(1.04) rotate(1.4deg);
  }
  72% {
    opacity: 0.22;
    transform: translateY(-24px) scale(1.08) rotate(-0.6deg);
  }
}

@keyframes bottleFumeThread {
  0% {
    opacity: 0;
    stroke-dashoffset: 180;
    transform: translateY(10px);
  }
  42% {
    opacity: 0.24;
    stroke-dashoffset: 60;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: -80;
    transform: translateY(-18px);
  }
}

@keyframes atmosphereFumeBreathe {
  0%,
  100% {
    transform: translateY(18px) translateX(-8px) scale(0.96);
    opacity: 0.14;
  }
  48% {
    transform: translateY(-22px) translateX(12px) scale(1.05);
    opacity: 0.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmo-ribbon,
  .hero-fume-trails .fume-ribbon,
  .hero-fume-trails .fume-thread {
    animation: none !important;
  }
}

/* Final home hero: perfume mist reacts to the cursor and exits the atomizer horizontally. */
.cover-hero.mist-hover-hero {
  --mist-x: 68%;
  --mist-y: 38%;
  --fume-r: clamp(180px, 24vw, 320px);
  position: relative;
  overflow: hidden;
}

.cover-hero.mist-hover-hero::after,
.cover-hero.mist-hover-hero .scent-reveal-layer {
  display: none !important;
}

.cover-hero.mist-hover-hero .cover-copy,
.cover-hero.mist-hover-hero .cover-visual {
  position: relative;
  z-index: 2;
}

.cover-hero .hero-fume-base,
.cover-hero .hero-fume-bright {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.hero-fume-base .hero-atmosphere-svg,
.hero-fume-bright .hero-atmosphere-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-fume-base {
  opacity: 0.05;
  mix-blend-mode: multiply;
  filter: blur(0.2px);
  -webkit-mask-image: radial-gradient(ellipse 1020px 520px at var(--fume-origin-x, 94%) var(--fume-origin-y, 43%),
    rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 16%, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, .18) 66%, rgba(0, 0, 0, 0) 92%);
  mask-image: radial-gradient(ellipse 1020px 520px at var(--fume-origin-x, 94%) var(--fume-origin-y, 43%),
    rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 16%, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, .18) 66%, rgba(0, 0, 0, 0) 92%);
}

.hero-fume-bright {
  opacity: 0;
  filter: saturate(1.4) brightness(1.2);
  -webkit-mask-image: radial-gradient(circle var(--fume-r, 260px) at var(--mist-x, 68%) var(--mist-y, 38%),
    rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, .75) 60%, rgba(0, 0, 0, .4) 75%, rgba(0, 0, 0, .12) 88%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(circle var(--fume-r, 260px) at var(--mist-x, 68%) var(--mist-y, 38%),
    rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, .75) 60%, rgba(0, 0, 0, .4) 75%, rgba(0, 0, 0, .12) 88%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: opacity 320ms ease;
}

.cover-hero.mist-hover-hero:hover .hero-fume-bright {
  opacity: 0.85;
}

.fume-flow {
  transform-box: view-box;
  transform-origin: center;
}

.flow-a {
  animation: fumeDriftA 26s ease-in-out infinite;
}

.flow-b {
  animation: fumeDriftB 34s ease-in-out infinite;
  animation-delay: -6s;
}

.flow-c {
  animation: fumeDriftC 30s ease-in-out infinite;
  animation-delay: -12s;
}

@keyframes fumeDriftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6px, 3px) scale(1.008); }
}

@keyframes fumeDriftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-7px, -2px) scale(1.006); }
}

@keyframes fumeDriftC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5px, -3px) scale(1.005); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fume-bright {
    transition: none;
  }
  .fume-flow {
    animation: none !important;
  }
}

.mist-perfume-scene {
  overflow: visible !important;
}

.final-mist-svg {
  width: min(100%, 640px);
  height: auto;
  display: block;
  overflow: visible;
}

.hero-pump-assembly {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: atomizerPressDown 4.4s ease-in-out infinite;
}

.nozzle-fume-field {
  transform-box: fill-box;
  transform-origin: 360px 112px;
  opacity: 0.78;
  animation: atomizerFumeOrigin 4.4s ease-in-out infinite;
}

.nozzle-fume-field .mist-plume {
  fill: url(#mistRose);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: right center;
  animation: nozzleMistBloom 4.4s ease-in-out infinite;
}

.nozzle-fume-field .plume-upper {
  animation-delay: 0.12s;
}

.nozzle-fume-field .plume-lower {
  animation-delay: 0.24s;
}

.nozzle-fume-field .mist-thread {
  fill: none;
  stroke: url(#mistThread);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-dasharray: 170;
  opacity: 0;
  filter: blur(0.35px);
  animation: nozzleMistThread 4.4s ease-in-out infinite;
}

.nozzle-fume-field .thread-upper {
  animation-delay: 0.12s;
}

.nozzle-fume-field .thread-lower {
  animation-delay: 0.24s;
}

.cover-hero.mist-hover-hero:hover .nozzle-fume-field .mist-plume {
  animation-duration: 3.4s;
  filter: drop-shadow(0 0 16px rgba(216, 162, 79, 0.18));
}

.cover-hero.mist-hover-hero:hover .nozzle-fume-field .mist-thread {
  animation-duration: 3.4s;
}

@keyframes atomizerPressDown {
  0%,
  54%,
  100% {
    transform: translateY(0);
  }
  12%,
  28% {
    transform: translateY(10px);
  }
}

@keyframes atomizerFumeOrigin {
  0%,
  54%,
  100% {
    transform: translateY(0);
  }
  12%,
  28% {
    transform: translateY(10px);
  }
}

@keyframes nozzleMistBloom {
  0%,
  10% {
    opacity: 0;
    transform: translateX(10px) scale(0.9);
  }
  17%,
  38% {
    opacity: 0.46;
    transform: translateX(-8px) scale(1);
  }
  64%,
  100% {
    opacity: 0;
    transform: translateX(-34px) translateY(-4px) scale(1.12);
  }
}

@keyframes nozzleMistThread {
  0%,
  10% {
    opacity: 0;
    stroke-dashoffset: 170;
    transform: translateX(8px);
  }
  25%,
  45% {
    opacity: 0.28;
    stroke-dashoffset: 64;
  }
  76%,
  100% {
    opacity: 0;
    stroke-dashoffset: -82;
    transform: translateX(-34px);
  }
}

@media (min-width: 901px) {
  .cover-hero.mist-hover-hero {
    display: grid !important;
    grid-template-columns: minmax(520px, 0.96fr) minmax(420px, 0.72fr) !important;
    align-items: center !important;
    min-height: calc(100vh - 74px) !important;
    padding: clamp(4.25rem, 6vw, 6.5rem) clamp(3rem, 6vw, 7rem) clamp(3.5rem, 5vw, 5rem) !important;
    gap: clamp(3rem, 5vw, 6.5rem) !important;
  }

  .cover-hero.mist-hover-hero .cover-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    max-width: 900px !important;
  }

  .cover-hero.mist-hover-hero .cover-visual {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    align-self: center !important;
    width: min(100%, 590px) !important;
    min-height: 560px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .cover-hero.mist-hover-hero .cover-copy h1 {
    color: var(--plum) !important;
    font-size: clamp(4.35rem, 6.35vw, 7.35rem) !important;
    line-height: 0.9 !important;
    max-width: 900px !important;
  }

  .cover-hero.mist-hover-hero .cover-copy .lead {
    color: #5a1730 !important;
    max-width: 780px !important;
  }
}

@media (max-width: 900px) {
  .cover-hero.mist-hover-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: auto !important;
    padding: 5.5rem 1.2rem 3rem !important;
  }

  .cover-hero.mist-hover-hero .cover-copy h1 {
    color: var(--plum) !important;
    font-size: clamp(3.3rem, 17vw, 5.6rem) !important;
    line-height: 0.92 !important;
  }

  .cover-hero.mist-hover-hero .cover-visual {
    min-height: 420px !important;
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pump-assembly,
  .nozzle-fume-field,
  .nozzle-fume-field .mist-plume,
  .nozzle-fume-field .mist-thread {
    animation: none !important;
  }

  .nozzle-fume-field .mist-plume {
    opacity: 0.28;
  }
}

.restored-perfume-scene {
  transform: translateY(0);
}

.restored-mist-svg {
  width: min(100%, 720px) !important;
  overflow: visible;
}

.cover-hero.mist-hover-hero .restored-hero-bottle {
  transform-box: fill-box;
  transform-origin: center bottom;
}

.restored-pump {
  transform-box: fill-box;
  transform-origin: 494px 140px;
  animation: restoredPumpPress 4.8s ease-in-out infinite;
}

.restored-nozzle-fumes {
  transform-box: fill-box;
  transform-origin: 296px 119px !important;
  opacity: 1 !important;
  mix-blend-mode: multiply;
  animation: atomizerFumeOrigin 4.8s ease-in-out infinite;
}

.restored-nozzle-fumes .mist-plume {
  display: none;
}

.restored-nozzle-fumes .mist-ribbon {
  fill: none;
  stroke: url(#restoredMist) !important;
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 296px 119px;
  stroke-dasharray: 280;
  filter: blur(1.4px);
  animation: restoredMistRibbon 4.8s ease-in-out infinite;
}

.restored-nozzle-fumes .ribbon-upper {
  stroke-width: 13;
  animation-delay: 0.05s;
}

.restored-nozzle-fumes .ribbon-mid {
  stroke-width: 18;
  animation-delay: 0.14s;
}

.restored-nozzle-fumes .ribbon-low {
  stroke-width: 14;
  animation-delay: 0.24s;
}

.restored-nozzle-fumes .mist-thread {
  display: none;
}

.restored-nozzle-fumes .mist-wisp {
  fill: none;
  stroke: url(#restoredMistLine) !important;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 230;
  opacity: 0;
  filter: blur(0.45px);
  animation: restoredMistWisp 4.8s ease-in-out infinite;
}

.restored-nozzle-fumes .wisp-upper {
  animation-delay: 0.06s;
}

.restored-nozzle-fumes .wisp-mid {
  animation-delay: 0.18s;
}

.restored-nozzle-fumes .wisp-low {
  animation-delay: 0.3s;
}

.cover-hero.mist-hover-hero:hover .restored-nozzle-fumes .mist-ribbon {
  filter: blur(0.45px) drop-shadow(0 0 16px rgba(216, 162, 79, 0.18));
}

@keyframes restoredPumpPress {
  0%,
  8%,
  68%,
  100% {
    transform: translateY(-7px);
  }
  14%,
  42% {
    transform: translateY(0);
  }
  52% {
    transform: translateY(-3px);
  }
}

@keyframes restoredMistRibbon {
  0%,
  12% {
    opacity: 0;
    stroke-dashoffset: 280;
    transform: translateX(10px) scale(0.94);
  }
  19%,
  44% {
    opacity: 0.46;
    stroke-dashoffset: 82;
    transform: translateX(-6px) scale(1);
  }
  72%,
  100% {
    opacity: 0;
    stroke-dashoffset: -120;
    transform: translateX(-42px) translateY(-16px) scale(1.08);
  }
}

@keyframes restoredMistWisp {
  0%,
  12% {
    opacity: 0;
    stroke-dashoffset: 230;
    transform: translateX(8px);
  }
  23%,
  48% {
    opacity: 0.28;
    stroke-dashoffset: 74;
  }
  78%,
  100% {
    opacity: 0;
    stroke-dashoffset: -104;
    transform: translateX(-44px) translateY(-14px);
  }
}

@media (min-width: 901px) {
  .cover-hero.mist-hover-hero .cover-visual {
    width: min(100%, 670px) !important;
    min-height: 610px !important;
  }
}

/* Final home hero atomizer: connected pump with soft sideways perfume fumes */
.final-pump-trails-scene.attached-atomizer-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.final-pump-trails-scene.attached-atomizer-scene .attached-atomizer-svg {
  width: min(100%, 720px);
  max-width: 720px;
  height: auto;
  overflow: visible;
}

.attached-atomizer-svg .attached-pump {
  animation: attachedPumpPress 4.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.attached-atomizer-svg .attached-fume-field {
  animation: attachedFumeOrigin 4.8s ease-in-out infinite;
  transform-origin: 386px 116px;
}

.attached-atomizer-svg .fume-ribbon,
.attached-atomizer-svg .fume-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 430;
  stroke-dashoffset: 430;
  opacity: 0;
}

.attached-atomizer-svg .fume-ribbon {
  stroke-width: 18;
  animation: attachedFumeFlow 4.8s ease-in-out infinite;
}

.attached-atomizer-svg .fume-line {
  stroke-width: 2.4;
  animation: attachedFumeLineFlow 4.8s ease-in-out infinite;
}

.attached-atomizer-svg .fume-b,
.attached-atomizer-svg .fume-e {
  animation-delay: 0.1s;
}

.attached-atomizer-svg .fume-c,
.attached-atomizer-svg .fume-f {
  animation-delay: 0.22s;
}

.attached-atomizer-svg .attached-liquid {
  animation: attachedLiquidBreathe 6.8s ease-in-out infinite;
  transform-origin: 475px 458px;
}

@keyframes attachedPumpPress {
  0%,
  12%,
  74%,
  100% {
    transform: translateY(-7px);
  }
  18%,
  48% {
    transform: translateY(0);
  }
  58% {
    transform: translateY(-3px);
  }
}

@keyframes attachedFumeOrigin {
  0%,
  12%,
  74%,
  100% {
    transform: translateY(-7px);
  }
  18%,
  48% {
    transform: translateY(0);
  }
  58% {
    transform: translateY(-3px);
  }
}

@keyframes attachedFumeFlow {
  0%,
  14% {
    opacity: 0;
    stroke-dashoffset: 430;
    transform: translateX(0) scale(0.98);
  }
  24% {
    opacity: 0.34;
    stroke-dashoffset: 265;
  }
  54% {
    opacity: 0.28;
    stroke-dashoffset: 80;
    transform: translateX(-14px) translateY(-3px) scale(1.01);
  }
  86%,
  100% {
    opacity: 0;
    stroke-dashoffset: -105;
    transform: translateX(-48px) translateY(-10px) scale(1.05);
  }
}

@keyframes attachedFumeLineFlow {
  0%,
  16% {
    opacity: 0;
    stroke-dashoffset: 430;
    transform: translateX(0);
  }
  28%,
  58% {
    opacity: 0.28;
    stroke-dashoffset: 110;
    transform: translateX(-16px) translateY(-2px);
  }
  88%,
  100% {
    opacity: 0;
    stroke-dashoffset: -90;
    transform: translateX(-48px) translateY(-9px);
  }
}

@keyframes attachedLiquidBreathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
/* Final hero bottle override: elongated cylindrical bottle sitting at the hero's edge */
.final-pump-trails-scene.cylinder-bottle-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.cylinder-bottle-scene .cylinder-bottle-svg {
  width: min(350px, 80%);
  max-width: 380px;
  height: auto;
  max-height: 78vh;
  overflow: visible;
}

.cylinder-bottle-scene .cylinder-glass-body {
  fill: url(#cylinderGlass);
}

.cylinder-bottle-scene .cylinder-glass-outline {
  fill: none;
  stroke: rgba(255, 250, 242, .9);
  stroke-width: 5;
  filter: drop-shadow(0 10px 18px rgba(90, 23, 48, .1));
}

.cylinder-bottle-scene .cylinder-inner-glow {
  fill: rgba(255, 250, 242, .12);
}

.cylinder-bottle-scene .cylinder-highlight {
  fill: none;
  stroke: rgba(255, 255, 255, .55);
  stroke-width: 10;
  stroke-linecap: round;
}

.cylinder-bottle-scene .cylinder-liquid {
  fill: url(#cylinderLiquid);
  animation: cylinderLiquidMove 6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.cylinder-bottle-scene .cylinder-liquid-top {
  fill: none;
  stroke: rgba(58, 20, 32, .22);
  stroke-width: 2;
  stroke-linecap: round;
}

.cylinder-bottle-scene .cylinder-shadow {
  fill: #3a1420;
  opacity: .16;
  filter: blur(6px);
}

.cylinder-bottle-scene .cylinder-neck {
  fill: url(#cylinderGlass);
}

.cylinder-bottle-scene .cylinder-collar,
.cylinder-bottle-scene .cylinder-pump-button {
  fill: url(#cylinderGold);
}

.cylinder-bottle-scene .cylinder-atomizer-dot {
  fill: #5a1730;
}

.cylinder-bottle-scene .cylinder-cap {
  animation: cylinderPumpPress 5.4s ease-in-out infinite;
  transform-box: view-box;
  transform-origin: 160px 130px;
}

@keyframes cylinderLiquidMove {
  0%, 100% { transform: translateX(-2px); }
  50% { transform: translateX(2px); }
}

@keyframes cylinderPumpPress {
  0%, 12%, 70%, 100% { transform: translateY(-4px); }
  18%, 46% { transform: translateY(4px); }
  56% { transform: translateY(0); }
}

@media (max-width: 900px) {
  .cylinder-bottle-scene .cylinder-bottle-svg {
    width: min(74vw, 240px);
  }
}

/* Hero hook redesign: staggered reveal, word cycle, magnetic buttons, bottle tilt, ambient particles */
.cover-hero {
  perspective: 1400px;
}

.cover-hero .cover-copy {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.cover-hero .cover-copy h1 {
  overflow: visible;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  filter: blur(10px);
  animation: heroWordRise .9s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: calc(var(--wd, 0) * .09s + .08s);
}

.hero-cycle {
  position: relative;
  display: inline-block;
  min-width: 9.5ch;
  height: 1em;
  vertical-align: -0.1em;
  overflow: hidden;
  color: #ad425c;
  opacity: 0;
  transform: translateY(24px);
  filter: blur(10px);
  animation: heroWordRise .9s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: calc(var(--wd, 3) * .09s + .08s);
}

.cycle-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
  white-space: nowrap;
}

.cycle-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.cycle-item.is-leaving {
  opacity: 0;
  transform: translateY(-14px);
}

@keyframes heroWordRise {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.cover-hero .cover-copy .lead {
  animation-delay: .62s !important;
}

.cover-hero .hero-actions {
  animation-delay: .74s !important;
}

.cover-hero > .audience-strip,
.cover-hero .cover-copy .audience-strip {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUpSoft .9s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: .86s;
}

@keyframes heroFadeUpSoft {
  to { opacity: 1; transform: translateY(0); }
}

/* Static CTA buttons site-wide: no movement, just a soft glow behind them on hover */
.button {
  position: relative;
  transition: box-shadow .3s ease, filter .3s ease;
}

.button:hover {
  box-shadow: 0 0 0 8px rgba(90, 23, 48, .1), 0 0 34px rgba(90, 23, 48, .38), 0 14px 30px rgba(90, 23, 48, .2);
  filter: brightness(1.04);
}

/* Bottle sits fully visible, right of center within the hero's right side */
.cover-hero.mist-hover-hero .cover-visual,
.cover-hero .cover-visual {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  right: clamp(50px, 6vw, 100px) !important;
  left: auto !important;
  width: min(400px, 28vw) !important;
  min-height: 0 !important;
  margin: 0 !important;
  grid-column: auto !important;
  justify-self: auto !important;
  align-self: auto !important;
}

/* Cursor-tilt on the hero bottle, with a matching liquid slosh */
.cover-hero .cylinder-bottle-svg {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transition: transform .28s ease-out;
  transform-style: preserve-3d;
}

.cylinder-liquid {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .3s ease-out;
  transform: rotate(calc(var(--tilt-y, 0deg) * .5));
}

/* Ambient fume breathes even without a hover */
.hero-fume-base {
  animation: fumeBreatheAmbient 9s ease-in-out infinite;
}

@keyframes fumeBreatheAmbient {
  0%, 100% { opacity: .03; }
  50% { opacity: .07; }
}

/* Scroll cue */
.cover-hero > .hero-scroll-cue {
  position: absolute !important;
  left: 50%;
  bottom: clamp(1.5rem, 3vw, 2.75rem);
  transform: translateX(-50%);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  z-index: 3 !important;
  opacity: 0;
  animation: heroFadeUpSoft .9s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: 1.1s;
  transition: opacity .25s ease;
}

.cover-hero > .hero-scroll-cue:hover {
  opacity: .9;
}

.scroll-cue-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(90, 23, 48, .5), transparent);
}

.scroll-cue-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ad425c;
  animation: scrollCueDrift 1.8s ease-in-out infinite;
}

@keyframes scrollCueDrift {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50% { transform: translateY(18px); opacity: 1; }
}

/* Floating scent-note particles */
.cover-hero > .hero-note-particles {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  overflow: hidden;
}

.hero-note-particles span {
  position: absolute;
  bottom: -10px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216, 162, 79, .9), rgba(216, 162, 79, 0) 70%);
  opacity: 0;
  animation: noteParticleFloat linear infinite;
}

.hero-note-particles span:nth-child(1) { left: 8%; animation-duration: 14s; animation-delay: 0s; }
.hero-note-particles span:nth-child(2) { left: 18%; animation-duration: 17s; animation-delay: 2.4s; background: radial-gradient(circle, rgba(173, 66, 92, .85), rgba(173, 66, 92, 0) 70%); }
.hero-note-particles span:nth-child(3) { left: 28%; animation-duration: 12.5s; animation-delay: 5s; }
.hero-note-particles span:nth-child(4) { left: 47%; animation-duration: 16s; animation-delay: 1.2s; background: radial-gradient(circle, rgba(71, 116, 135, .8), rgba(71, 116, 135, 0) 70%); }
.hero-note-particles span:nth-child(5) { left: 63%; animation-duration: 13.5s; animation-delay: 3.6s; }
.hero-note-particles span:nth-child(6) { left: 78%; animation-duration: 15.5s; animation-delay: 6.2s; background: radial-gradient(circle, rgba(173, 66, 92, .85), rgba(173, 66, 92, 0) 70%); }
.hero-note-particles span:nth-child(7) { left: 90%; animation-duration: 18s; animation-delay: .8s; }

@keyframes noteParticleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  8% { opacity: .8; }
  50% { transform: translateY(-46vh) translateX(12px); }
  92% { opacity: .5; }
  100% { transform: translateY(-92vh) translateX(-8px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-word,
  .hero-cycle,
  .cover-hero > .audience-strip,
  .cover-hero .cover-copy .audience-strip,
  .cover-hero > .hero-scroll-cue {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .scroll-cue-dot,
  .hero-note-particles span,
  .hero-fume-base {
    animation: none !important;
  }
  .cover-hero .cover-visual.final-pump-trails-scene,
  .diamond-liquid {
    transition: none !important;
  }
}

/* Card & box hover site-wide: a gentle lift, deliberately quieter than the button glow */
.manifesto-grid article,
.value-list li,
.ingredient,
.concept-grid article,
.field-grid article,
.history-timeline article,
.deep-lesson,
.tool-panel,
.premium-card,
.blog-card,
.status-card,
.lesson-panel,
.quiz,
.shlok-card,
.order-box {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.manifesto-grid article:hover,
.tool-panel.darker:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
  border-color: rgba(216, 162, 79, .55);
}

.value-list li:hover,
.ingredient:hover,
.concept-grid article:hover,
.field-grid article:hover,
.history-timeline article:hover,
.deep-lesson:hover,
.tool-panel:hover,
.premium-card:hover,
.blog-card:hover,
.status-card:hover,
.lesson-panel:hover,
.quiz:hover,
.shlok-card:hover,
.order-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(90, 23, 48, .14);
  border-color: rgba(216, 162, 79, .5);
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-grid article,
  .value-list li,
  .ingredient,
  .concept-grid article,
  .field-grid article,
  .history-timeline article,
  .deep-lesson,
  .tool-panel,
  .premium-card,
  .blog-card,
  .status-card,
  .lesson-panel,
  .quiz,
  .shlok-card,
  .order-box {
    transition: none !important;
  }
}

/* Site logo: crest mark next to the wordmark, header and footer */
.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand-mark {
  flex-shrink: 0;
}

/* Mobile fixes (<=760px only): hero bottle no longer overlaps text, nav collapses into a hamburger menu */
.nav-toggle {
  display: none;
}

@media (max-width: 760px) {
  .cover-hero .cover-visual,
  .cover-hero.mist-hover-hero .cover-visual {
    display: none !important;
  }

  /* Bottle + fume/mist effects removed entirely from the mobile hero */
  .cover-hero .hero-fume-base,
  .cover-hero .hero-fume-bright,
  .cover-hero.mist-hover-hero .hero-fume-base,
  .cover-hero.mist-hover-hero .hero-fume-bright {
    display: none !important;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    background: rgba(255, 253, 249, .9);
    border-radius: 8px;
    cursor: pointer;
  }

  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: var(--wine, #5a1730);
    position: relative;
    transition: transform .2s ease, opacity .2s ease;
  }

  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }

  .topbar[data-nav-open="true"] .nav-toggle span { background: transparent; }
  .topbar[data-nav-open="true"] .nav-toggle span::before { top: 0; transform: rotate(45deg); }
  .topbar[data-nav-open="true"] .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

  .topbar nav[aria-label="Main navigation"] {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px clamp(18px, 6vw, 56px) 20px;
    background: rgba(255, 253, 249, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(36, 23, 20, .12);
  }

  .topbar[data-nav-open="true"] nav[aria-label="Main navigation"] {
    display: flex;
  }

  .topbar nav[aria-label="Main navigation"] .nav-dropdown {
    width: 100%;
  }

  .topbar nav[aria-label="Main navigation"] .nav-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
    display: none;
  }

  .topbar nav[aria-label="Main navigation"] .nav-dropdown.is-open .nav-menu {
    display: grid;
  }
}

/* Chapter pages: "Lakshmi and sacred fragrance" two-column section was pinned to
   a fixed-width side column (minmax(300px,520px)) at every screen size, which
   collapsed the text column to 0px and wrapped every word onto its own line on
   mobile. Restore single-column stacking below 980px. */
@media (max-width: 980px) {
  .lakshmi-section {
    grid-template-columns: 1fr !important;
  }
}

/* Chapter 4: each Big 5 molecule card (.iso/.ambroxan/.hedione/.galaxolide) carries
   its own grid-column:2/3/4/5 pin, which outranks the mobile reset's plain
   .big5-card { grid-column: auto } on specificity and keeps creating extra
   implicit columns that push 3 of the 5 cards off-screen to the right. */
@media (max-width: 980px) {
  .big5-card.iso,
  .big5-card.ambroxan,
  .big5-card.hedione,
  .big5-card.galaxolide,
  .big5-card.dhm {
    grid-column: auto !important;
  }

  /* figcaption was pinned to grid-row:3, which on the single-track mobile grid
     landed it right after the 2nd item (title + 1 card) instead of after all 5. */
  .clean-big5 figcaption {
    grid-row: auto !important;
  }

  /* Chapter 4 authentication-flow figure: caption is absolutely positioned at
     the bottom of the container for desktop's fixed-height layout. On mobile
     the container height is auto/compact, so the caption lands on top of the
     "Approved Material" circle instead of below it. */
  .clean-auth figcaption {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 20px;
  }
}

