:root{--paper:#faf3e8;--paper-deep:#f3e5d2;--ink:#241a14;--muted:#62666b;--bronze:#926039;--line:#d7bda3;--accent:#854800;--espresso:#392012;--exclude:#99432d;--serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;--sans:'Manrope',Arial,Helvetica,sans-serif;--radius:10px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;color:var(--ink);background:var(--paper);font-family:var(--sans);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.25' filter='url(%23n)'/%3E%3C/svg%3E")}
button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.42}button{border:0;background:none}button,a{touch-action:manipulation}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:var(--serif);font-weight:400;line-height:1.06;letter-spacing:-.045em}p+p{margin-top:18px}h1{font-size:clamp(34px,4.1vw,61px)}h2{font-size:clamp(32px,3.8vw,51px)}h3{font-size:clamp(24px,2.2vw,32px)}img,svg{max-width:100%}main{min-width:0}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:fixed;top:-100px;left:16px;z-index:90;padding:12px 20px;border-radius:8px;background:var(--espresso);color:white}.skip-link:focus{top:16px}.eyebrow{font-size:11px;letter-spacing:.19em;color:#805231;text-transform:uppercase;line-height:1.65}.subcopy{color:var(--muted)}.script{font-family:var(--serif);font-size:23px;font-style:italic;line-height:1.35;color:#775132;letter-spacing:-.02em}.primary{display:inline-flex;align-items:center;justify-content:center;gap:25px;min-height:55px;padding:14px 28px;border-radius:100px;background:linear-gradient(115deg,#2e1b10,#4b2b16 65%,#301d10);color:#fff8ed;font-size:16px;line-height:1.3;transition:background .2s,transform .2s}.primary:hover:not(:disabled){background:#5e361c;transform:translateY(-1px)}.primary .arrow{font-size:26px;line-height:1}.text-button{padding:9px 0;color:var(--muted);font-size:15px;text-decoration:underline;text-underline-offset:5px}.text-button:hover{color:var(--accent)}.link-button{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:4px 0;font-size:16px;color:#3b4248}.link-button .arrow{font-size:25px}.divider{height:1px;background:var(--line)}.art{display:block;width:100%;height:auto;aspect-ratio:var(--art-ratio);object-fit:contain;object-position:center;pointer-events:none}.sketch .art{mix-blend-mode:multiply}.container{width:min(1180px,calc(100% - 72px));margin-inline:auto}.landing{overflow:clip}.hero{display:grid;grid-template-columns:42% 58%;max-width:1440px;margin-inline:auto;position:relative}.hero-copy{padding:80px 15px 54px 64px;align-self:center;z-index:1}.hero h1{font-size:clamp(48px,5.6vw,82px);max-width:600px;margin:20px 0 22px}.hero-copy .subcopy{max-width:340px;font-size:19px;line-height:1.5}.hero-copy .primary{margin-top:28px}.hero-price{margin-top:14px;color:#765537;font-size:14px}.hero-art{min-width:0;align-self:stretch;position:relative}.hero-art .art{height:100%;aspect-ratio:.967;min-height:640px}.hero-art::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--paper),transparent 10%,transparent 96%),linear-gradient(0deg,var(--paper),transparent 4%)}.resume-panel{position:relative;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 25px;margin:0 auto 22px;padding:14px 26px;max-width:720px;border:1px solid var(--line);border-radius:var(--radius);background:#fbf4e9}.resume-panel .text-button{font-size:14px}.story{display:grid;grid-template-columns:44% 1fr;gap:0 56px;padding:30px 0 52px;align-items:start}.story-art{grid-row:1/span 2;min-width:0}.story-heading{grid-column:2;align-self:end;margin-bottom:24px}.story-heading h2{margin-top:17px}.story-prose{grid-column:2;color:var(--muted);font-size:17px;line-height:1.7}.story-prose .script{margin-top:26px}.section-rule{border-top:1px solid var(--line)}.process{padding:52px 0 32px}.section-heading{max-width:860px;margin:0 auto 30px;text-align:center}.section-heading h2{margin:16px 0 18px}.section-heading .subcopy{font-size:17px}.process-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.process-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;position:relative;background:#fcf5e970}.process-card .art{aspect-ratio:var(--art-ratio);object-position:center top}.process-card-copy{padding:0 23px 26px}.process-card h3{font-size:27px;margin:8px 0 14px;line-height:1.08}.process-card p{font-size:16px;color:var(--muted);line-height:1.65}.formula{margin:32px 0 10px;padding:30px 70px;text-align:center;border-block:1px solid var(--line);position:relative}.formula h2{font-size:clamp(29px,3vw,40px);margin-bottom:14px}.formula .subcopy{font-size:15px}.formula .script{font-size:21px;margin-top:15px}.closing{display:grid;grid-template-columns:54% 46%;align-items:center;max-width:1280px;margin:26px auto 0}.closing-copy{padding:30px 32px 36px}.closing h2{font-size:clamp(36px,4vw,59px);margin-bottom:16px}.closing p{max-width:380px;color:var(--muted);font-size:17px}.closing-price{font-family:var(--serif);font-size:30px;margin:14px 0}.closing .primary{min-width:260px}.site-footer{display:flex;align-items:center;justify-content:center;gap:34px;padding:26px;color:#747474;font-size:12px;border-top:1px solid var(--line);margin-top:22px}.site-footer::before,.site-footer::after{content:'';width:90px;height:1px;background:var(--line)}
.flow{position:relative;isolation:isolate;min-height:100svh;overflow:clip}.flow::before,.flow::after{content:'';position:absolute;top:83px;bottom:0;width:clamp(180px,25vw,350px);z-index:-1;pointer-events:none;background-image:url('assets/hires/atelier-edge.jpg');background-repeat:no-repeat;background-position:left top;background-size:auto 100%;opacity:.85;mask-image:linear-gradient(90deg,#000 15%,#0009 60%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 15%,#0009 60%,transparent)}.flow::before{left:0}.flow::after{right:0;transform:scaleX(-1)}.atelier-header{display:flex;justify-content:space-between;align-items:center;padding:14px max(40px,calc((100vw - 1330px)/2));height:83px;border-bottom:1px solid var(--line)}.atelier-header img{width:176px;height:auto;mix-blend-mode:multiply}.atelier-header button{font-size:14px;min-height:44px;display:flex;align-items:center;gap:14px;color:#39434c}.atelier-header .close{font-size:27px}.flow-main{width:min(1170px,calc(100% - 144px));margin:auto;padding:27px 0 0}.progress{width:min(380px,75%);margin:auto;text-align:center}.progress-label{color:#7d462b;font-size:11px;letter-spacing:.2em;text-transform:uppercase}.progress-track{height:3px;background:#d9c5b2;margin-top:15px;overflow:hidden}.progress-fill{height:100%;background:var(--accent);transition:width .3s ease}.question-heading{text-align:center;max-width:1030px;margin:27px auto 23px}.question-heading h1{margin-bottom:17px}.question-heading p{font-size:18px;color:var(--muted);line-height:1.5}.exclude-word{color:var(--exclude);font-weight:700;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}.choices-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.choices-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.choices-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:980px;margin-inline:auto}.choice{display:flex;flex-direction:column;align-items:stretch;position:relative;text-align:center;min-width:0;min-height:200px;padding:20px 14px 16px;border:1px solid #ddc7b1;border-radius:var(--radius);background:#fefaf1d9;transition:border-color .18s,background .18s,box-shadow .18s}.choice:hover{border-color:#ae8156;background:#fff8ed}.choice.selected{border:2px solid var(--accent);padding:19px 13px 15px;background:#f6ddbad9;box-shadow:inset 0 0 0 1px #a4771b0a}.choice .art{aspect-ratio:1.45;mix-blend-mode:multiply}.choices-grid.sparse .art{aspect-ratio:1.25}.choices-grid.nine .art{aspect-ratio:1.45}.choice-title{display:block;font-family:var(--serif);font-size:clamp(21px,2.1vw,29px);line-height:1.1;letter-spacing:-.04em;margin-top:11px;overflow-wrap:anywhere}.checkmark{position:absolute;top:12px;right:12px;width:24px;height:24px;display:grid;place-items:center;border:1px solid #765237;border-radius:4px;background:#fcf7ee;z-index:2;font-size:18px;font-family:var(--sans);line-height:1}.selected .checkmark{background:var(--accent);border-color:var(--accent);color:#fff}.checkmark.radio{border-radius:100%}.selected .checkmark.radio::after{content:'';width:12px;height:12px;border-radius:100%;background:#fff7e7}.choice-tag{color:var(--exclude);font-size:12px;margin-top:7px}.selection-count{min-height:38px;margin:14px 0 8px;text-align:center;font-size:14px;color:var(--muted)}.selection-count.exclusion-count{color:var(--exclude)}.flow-actions{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:24px;border-top:1px solid var(--line);margin-top:17px;padding:14px 0 20px;position:sticky;bottom:0;z-index:5;background:linear-gradient(180deg,#faf3e8ed,#faf3e8);backdrop-filter:blur(10px)}.flow-actions .link-button{justify-self:start}.flow-actions .primary{min-width:240px}.flow-actions.no-skip{grid-template-columns:1fr auto}.flow-actions .secondary-action{color:var(--muted);font-size:14px;min-height:44px;padding:8px 3px;text-decoration:underline;text-underline-offset:5px}.flow-actions .secondary-action:hover{color:var(--accent)}
.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px}.catalog-pane,.catalog-likes{padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:#fbf6edb3;min-width:0}.catalog-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:13px}.select-control{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted);min-width:0}select{width:100%;min-height:45px;color:#503721;background:#fffaf1;border:1px solid var(--line);border-radius:5px;padding:8px 32px 8px 12px;font-size:14px;max-width:100%}.alphabet{display:flex;gap:4px;overflow-x:auto;margin-bottom:13px;padding-bottom:6px;scrollbar-width:thin}.alphabet button{font-size:12px;min-width:27px;min-height:32px;border-radius:4px;flex-shrink:0}.alphabet button.active{background:var(--bronze);color:white}.catalog-count{font-size:12px;color:var(--muted);margin:0 0 8px}.perfume-viewport{max-height:455px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--bronze) #eadccd;padding:3px 9px 7px 3px;scroll-padding:5px}.perfume-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.perfume-choice{min-height:202px;padding:24px 10px 13px;align-items:center}.perfume-choice.selected{padding:23px 9px 12px}.perfume-choice .art{aspect-ratio:1.35;max-width:160px}.perfume-brand{font-family:var(--serif);font-size:14px;margin-top:9px;line-height:1.2;overflow-wrap:anywhere}.perfume-name{font-family:var(--sans);font-size:13px;line-height:1.3;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.generic-bottle{height:105px;width:100px;align-self:center}.generic-bottle svg{width:100%;height:100%;color:#936b46}.catalog-likes h2{font-size:29px;margin-bottom:17px}.like-list{display:grid;gap:11px}.like-choice{position:relative;padding:8px 2px 8px 35px;text-align:left;min-height:44px;font-size:15px;line-height:1.4}.like-choice .checkmark{left:0;right:auto;top:8px}.chosen-perfumes{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);font-size:13px;color:var(--muted);overflow-wrap:anywhere}.selected-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.selected-chip{background:#f0e0cc;padding:5px 8px;border-radius:4px;font-size:12px;color:#694525}.empty-results{padding:45px 15px;text-align:center;color:var(--muted);grid-column:1/-1}.empty-results button{display:block;margin:12px auto}.catalog-none{margin-top:12px;font-size:13px}.catalog-none.selected{color:var(--accent)}
.name-layout{display:grid;grid-template-columns:42% 58%;align-items:center;gap:25px;max-width:1050px;margin:auto}.name-copy{padding:22px 8px}.name-input-label{display:block;font-size:15px;margin-bottom:9px;color:#785338}.name-input{width:100%;border:1px solid #ba916c;border-radius:5px;min-height:57px;background:#fffaf0;padding:10px 16px;font-family:var(--serif);font-size:26px;color:var(--ink)}.name-help{margin-top:10px;color:var(--muted);font-size:13px}.gift-option{display:flex;align-items:center;gap:12px;margin-top:22px;position:relative;min-height:45px;text-align:left;padding:4px 3px 4px 36px;font-size:15px}.gift-option .checkmark{top:10px;left:0;right:auto}.name-preview{position:relative;min-width:0}.name-caption{text-align:center;margin-top:10px;font-size:14px;color:var(--muted)}.personal-name-drawing{position:absolute;left:42.5%;top:58%;width:25%;height:13.5%;display:flex;flex-direction:column;justify-content:center;padding:4px 2px;background:transparent;font-family:var(--serif);font-style:italic;text-align:center;line-height:1.1;color:#604122;transform:rotate(1.8deg);font-size:clamp(14px,2.2vw,27px);overflow-wrap:anywhere}.personal-name-drawing small{display:block;font-size:10px;font-style:normal;margin-bottom:7px}
.composition-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:20px;margin-top:24px}.treemap-wrapper{min-width:0}.treemap{position:relative;width:100%;aspect-ratio:1.17;min-width:0}.note-tile{position:absolute;inset:auto;padding:5px;min-width:0}.note-tile>button{display:flex;flex-direction:column;justify-content:flex-end;position:relative;isolation:isolate;width:100%;height:100%;border:1px solid var(--line);border-radius:8px;background:#fff8ec;text-align:left;padding:12px;overflow:hidden}.note-tile>button:hover{border-color:var(--accent)}.note-tile.selected>button{border:2px solid var(--accent);background:#f5e1c3}.note-tile .art,.add-note .art{position:absolute;inset:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:cover;object-position:center;opacity:1;mix-blend-mode:normal;z-index:0}.note-tile>button::after,.add-note::after{content:'';position:absolute;inset:45% 0 0;z-index:0;pointer-events:none;background:linear-gradient(180deg,#fff8ec00,#fff8ecdc 70%,#fff8ecf7)}.note-tile .tile-name{position:relative;z-index:1;font-family:var(--serif);font-size:clamp(17px,2.7vw,34px);line-height:1.05;letter-spacing:-.05em}.note-tile .tile-strength{position:relative;z-index:1;font-size:12px;color:#865636;margin-top:5px}.note-tile.small .tile-name{font-size:clamp(15px,2vw,23px)}.map-help{margin:8px 4px 0;color:#8d6949;font-size:13px}.note-editor{border:1px solid var(--line);border-radius:var(--radius);padding:23px;background:#fbf6edc9;min-width:0}.note-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.note-editor-heading h2{font-size:38px}.remove-note{color:var(--exclude);font-size:13px;text-decoration:underline;text-underline-offset:5px;min-height:44px}.note-description{color:#89715a;font-size:14px;line-height:1.55;margin:12px 0 20px}.strength-control{padding:18px 0;border-block:1px solid var(--line)}.strength-label{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:15px;margin-bottom:15px}.strength-label output{color:#8c623e;font-size:14px}.strength-range{width:100%;height:22px;margin:0;accent-color:var(--bronze);cursor:pointer}.range-ends{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#997b5d;margin-top:7px}.note-library h3{font-size:28px;margin:20px 0 13px;color:#896143}.note-tabs{display:flex;gap:7px;overflow-x:auto;padding:3px 2px 7px;scrollbar-width:thin}.note-tab{flex-shrink:0;min-height:33px;padding:5px 12px;border:1px solid var(--line);border-radius:7px;font-size:12px;white-space:nowrap}.note-tab.active{color:white;background:var(--bronze);border-color:var(--bronze)}.note-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:230px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--bronze) #eadccd;padding:5px 7px 3px 2px;overscroll-behavior:contain}.add-note{display:flex;flex-direction:column;justify-content:flex-end;position:relative;isolation:isolate;border:1px solid var(--line);border-radius:7px;text-align:left;padding:8px;background:#fff9f0;min-width:0;min-height:120px;overflow:hidden}.add-note span{display:block;position:relative;z-index:1;font-family:var(--serif);font-size:20px;padding-right:22px;line-height:1.1;margin-top:5px}.add-note i{position:absolute;z-index:1;bottom:8px;right:8px;border:1px solid var(--line);border-radius:50%;width:22px;height:22px;display:grid;place-items:center;background:#fff8ece6;font-style:normal;font-family:var(--sans);font-size:16px;color:#99704d}.add-note.blocked{opacity:.52;cursor:default}.add-note .excluded-label{font-family:var(--sans);font-size:9px;color:var(--exclude);padding:0}.note-library .empty-results{font-size:13px;padding:18px 7px}.excluded-notice{color:var(--exclude);font-size:12px;margin-top:11px}.composition-bottom{margin-top:24px}.composition-bottom .flow-actions{grid-template-columns:1fr auto auto}
.order-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px;align-items:start;margin:30px 0 20px}.product-preview{position:relative;margin-top:10px;min-width:0}.product-preview .art{mix-blend-mode:multiply}.product-name{position:absolute;left:44.5%;top:62.5%;width:23.5%;height:13%;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:4px;background:transparent;color:#61452c;font-family:var(--serif);font-style:italic;font-size:clamp(16px,2.1vw,30px);line-height:1.02;transform:rotate(2.4deg);text-align:center;overflow-wrap:anywhere}.product-name small{font-size:11px;margin-bottom:8px;font-style:italic}.product-caption{font-size:13px;text-align:center;color:var(--muted);padding:15px 6px;border-top:1px solid var(--line);margin-top:12px;display:flex;justify-content:center;gap:20px;flex-wrap:wrap}.order-description h2{font-size:34px;margin-bottom:17px}.order-description p{color:var(--muted);font-size:16px;line-height:1.65}.order-notes-title{font-family:var(--serif);font-size:24px;margin:19px 0 10px}.order-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.order-note{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:6px;padding:6px;min-width:0}.order-note .art{width:45px;height:43px;flex-shrink:0;mix-blend-mode:multiply}.order-note-name{font-family:var(--serif);font-size:17px;line-height:1.1;overflow-wrap:anywhere}.order-note small{font-size:10px;color:#90674b;display:block;margin-top:3px}.volume-title{font-family:var(--serif);font-size:25px;border-top:1px solid var(--line);padding-top:18px;margin:18px 0 12px}.volumes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.volume-choice{display:block;position:relative;text-align:left;padding:12px 15px 12px 42px;border:1px solid var(--line);border-radius:8px;background:#fff8ed;min-width:0}.volume-choice.selected{border:2px solid var(--accent);padding:11px 14px 11px 41px;background:#f7e5cb}.volume-choice .checkmark{top:15px;left:12px;right:auto;width:20px;height:20px}.volume-ml{font-family:var(--serif);font-size:24px;line-height:1.2}.volume-price{display:block;font-family:var(--serif);font-size:32px;letter-spacing:-.04em;line-height:1.2;margin:5px 0}.volume-choice small{font-size:11px;color:#98816b;line-height:1.4;display:block}.order-total{display:flex;align-items:center;justify-content:space-between;gap:16px;font-family:var(--serif);font-size:24px;border-top:1px solid var(--line);margin-top:17px;padding-top:15px}.order-total strong{font-size:42px;line-height:1.1;font-weight:400;letter-spacing:-.04em}.shipping-note{font-size:12px!important;margin-top:8px}.order-actions .primary{min-width:280px}.order-actions-hint{font-size:13px;color:var(--muted)}
dialog{width:min(530px,calc(100% - 32px));max-height:calc(100svh - 40px);margin:auto;padding:30px;background:var(--paper);border:1px solid #bc9270;border-radius:14px;color:var(--ink);box-shadow:0 25px 120px #3d220c40}dialog::backdrop{background:#20120d75;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.dialog-heading h2{font-size:34px}.dialog-close{width:42px;height:42px;font-size:28px;border:1px solid var(--line);border-radius:50%;flex-shrink:0}.checkout-summary{display:grid;grid-template-columns:100px 1fr;gap:18px;align-items:center;margin-bottom:22px}.checkout-summary .product-preview{margin-top:0}.checkout-summary .product-name{font-size:9px;padding:1px}.checkout-summary .product-name small{font-size:4px;margin-bottom:2px}.checkout-summary .product-caption{display:none}.checkout-summary h3{font-size:25px;margin-bottom:8px}.checkout-summary p{font-size:14px;color:var(--muted)}.checkout-details{border-block:1px solid var(--line);padding:16px 0;display:grid;gap:11px;font-size:14px}.checkout-row{display:flex;justify-content:space-between;gap:20px}.checkout-note{color:var(--muted);font-size:14px;margin:20px 0}.checkout-actions{display:grid;gap:9px}.checkout-actions .primary{width:100%}.checkout-actions .text-button{min-height:44px}.prototype-note{font-size:12px;color:#8b745d;text-align:center;margin:10px 0 19px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;max-width:min(600px,calc(100% - 32px));padding:13px 22px;border-radius:8px;background:#3f291c;color:#fff8ef;box-shadow:0 6px 28px #3521123b;font-size:14px;line-height:1.4}.toast[hidden]{display:none}.noscript{padding:40px;max-width:650px;margin:80px auto}
@media(min-width:1500px){.flow-main{width:min(1240px,calc(100% - 230px))}.choices-grid{gap:18px}.choice .art{aspect-ratio:1.45}.question-heading{margin-block:30px}.flow::before,.flow::after{width:clamp(300px,23vw,420px)}}
@media(max-width:1000px){.hero-copy{padding-left:36px}.hero-art .art{min-height:570px}.container{width:calc(100% - 48px)}.story{gap:0 30px}.flow-main{width:calc(100% - 88px)}.catalog-layout{grid-template-columns:minmax(0,1fr) 220px}.catalog-pane,.catalog-likes{padding:14px}.perfume-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.composition-layout{grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr)}.note-editor{padding:18px}.order-layout{gap:22px}.order-notes{grid-template-columns:repeat(2,minmax(0,1fr))}.order-description h2{font-size:29px}.volume-choice{padding-left:34px}.volume-choice.selected{padding-left:33px}.volume-price{font-size:26px}.order-actions-hint{display:none}.process-card-copy{padding-inline:16px}.process-card h3{font-size:24px}.process-card p{font-size:15px}}
@media(max-width:720px){
body{font-size:16px}h1{font-size:34px}h2{font-size:33px}.container{width:calc(100% - 40px)}.eyebrow{font-size:10px;letter-spacing:.14em}.primary{font-size:16px;min-height:54px;width:100%;padding:13px 20px;gap:22px}.hero{display:flex;flex-direction:column}.hero-copy{padding:36px 24px 15px;align-self:stretch}.hero h1{font-size:clamp(42px,12.4vw,61px);margin:18px 0 21px;line-height:1.02;max-width:430px}.hero-copy .subcopy{font-size:17px;max-width:none;line-height:1.6}.hero-copy .primary{margin-top:24px}.hero-price{text-align:center;font-size:14px;margin:12px 0 0}.hero-art .art{height:auto;min-height:0;aspect-ratio:1.05}.hero-art::after{background:linear-gradient(180deg,var(--paper),transparent 6%,transparent 93%,var(--paper))}.resume-panel{margin:18px 20px 8px;padding:14px;font-size:14px;gap:6px 20px}.story{display:flex;flex-direction:column;gap:20px;padding:31px 0 36px}.story-heading{order:0;margin:0}.story-heading h2{margin-top:14px;font-size:35px}.story-art{order:1;width:100%}.story-art .art{aspect-ratio:1.35}.story-prose{order:2;font-size:16px;line-height:1.7}.story-prose .script{font-size:23px;margin-top:19px}.process{padding:32px 0 24px}.section-heading{text-align:left;margin-bottom:24px}.section-heading h2{font-size:35px}.section-heading .subcopy{font-size:16px}.process-grid{grid-template-columns:minmax(0,1fr);gap:17px}.process-card-copy{padding:0 19px 22px}.process-card h3{font-size:29px;margin-top:8px}.process-card p{font-size:16px}.formula{padding:25px 13px;margin:24px 0 6px}.formula h2{font-size:31px}.formula .subcopy{font-size:14px;line-height:1.65}.formula .script{font-size:20px}.closing{display:flex;flex-direction:column;margin:15px 0 0}.closing-art{width:100%}.closing-art .art{aspect-ratio:1.55}.closing-copy{width:100%;padding:20px 24px 24px;text-align:center}.closing h2{font-size:40px}.closing p{font-size:16px;max-width:none}.closing-price{font-size:30px;margin:15px 0}.site-footer{margin-top:7px;padding:22px 20px;gap:20px}.site-footer::before,.site-footer::after{width:70px}
.atelier-header{display:none}.flow::before,.flow::after{top:0;width:clamp(80px,26vw,150px);opacity:.72;background-size:auto 100%;mask-image:linear-gradient(90deg,#000 8%,#0008 45%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 8%,#0008 45%,transparent)}.flow-main{width:calc(100% - 40px);padding-top:26px}.progress{width:65%}.progress-label{font-size:10px;letter-spacing:.19em}.progress-track{height:2px;margin-top:12px}.question-heading{margin:25px auto 22px}.question-heading h1{font-size:clamp(28px,7.1vw,35px);line-height:1.07;margin-bottom:17px}.question-heading p{font-size:15px;line-height:1.5}.choices-grid,.choices-grid.four,.choices-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice{padding:18px 8px 12px;min-height:170px}.choice.selected{padding:17px 7px 11px}.choice .art,.choices-grid.nine .art{aspect-ratio:1.32}.choices-grid.sparse .art{aspect-ratio:1.15}.choice-title{font-size:clamp(16px,4.25vw,21px);line-height:1.12;margin-top:8px}.checkmark{width:22px;height:22px;top:9px;right:9px;font-size:16px}.choice-tag{font-size:10px;margin-top:6px}.selection-count{font-size:13px;margin:15px 0 8px;line-height:1.5}.flow-actions,.flow-actions.no-skip,.composition-bottom .flow-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;padding:12px 0 max(12px,env(safe-area-inset-bottom));margin-top:10px}.flow-actions .primary{grid-column:1/-1;grid-row:1;min-width:0;width:100%}.flow-actions .link-button{grid-column:1;grid-row:2;font-size:14px;gap:9px}.flow-actions .secondary-action{grid-column:2;grid-row:2;justify-self:end;font-size:12px;text-align:right}.flow-actions.no-skip .link-button{grid-column:1/-1}.flow-actions .order-actions-hint{display:none}.flow-actions .primary .arrow{font-size:23px}
.catalog-layout{display:flex;flex-direction:column;gap:13px}.catalog-pane,.catalog-likes{padding:12px}.catalog-controls{gap:8px}.select-control{font-size:10px}select{font-size:13px;min-height:44px;padding-left:8px;padding-right:20px}.alphabet{gap:2px;margin-bottom:9px}.alphabet button{font-size:11px;min-width:27px;min-height:32px}.perfume-viewport{max-height:415px;padding-right:6px}.perfume-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.perfume-choice{min-height:174px;padding:24px 8px 12px}.perfume-choice.selected{padding:23px 7px 11px}.perfume-choice .art{aspect-ratio:1.5}.perfume-brand{font-size:12px}.perfume-name{font-size:12px}.generic-bottle{height:89px}.catalog-likes h2{font-size:25px;margin-bottom:12px}.like-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.like-choice{font-size:13px;min-height:44px;padding-left:29px}.like-choice .checkmark{width:20px;height:20px;top:9px}.chosen-perfumes{font-size:12px;margin-top:13px;padding-top:12px}.selected-chip{font-size:11px}.catalog-count{font-size:11px}
.name-layout{display:flex;flex-direction:column;gap:15px}.name-copy{width:100%;padding:6px 0}.name-input-label{font-size:14px}.name-input{font-size:24px}.name-help{font-size:12px}.name-preview{width:100%;max-width:420px}.name-preview .art{aspect-ratio:1}.personal-name-drawing{font-size:18px}.personal-name-drawing small{font-size:7px}.name-caption{font-size:13px}.gift-option{font-size:14px;margin-top:17px}
.composition-layout{display:flex;flex-direction:column;gap:22px;margin-top:15px}.treemap{aspect-ratio:.87}.note-tile{padding:3px}.note-tile>button{padding:10px}.note-tile .tile-name{font-size:clamp(17px,5.4vw,25px)}.note-tile.small .tile-name{font-size:15px}.note-tile .tile-strength{font-size:10px}.map-help{font-size:12px;line-height:1.6;margin-top:10px}.note-editor{padding:18px}.note-editor-heading h2{font-size:32px}.note-description{font-size:14px}.strength-label{font-size:14px}.range-ends{font-size:10px}.note-library h3{font-size:26px}.note-catalog{max-height:285px}.add-note span{font-size:21px}.add-note .excluded-label{font-size:10px}.composition-bottom{margin-top:17px}.excluded-notice{font-size:12px;line-height:1.5}
.order-layout{display:flex;flex-direction:column;gap:23px;margin-top:12px}.product-preview{width:100%;margin:0}.product-name{font-size:clamp(19px,5.5vw,25px)}.product-name small{font-size:8px;margin-bottom:5px}.product-caption{font-size:12px;padding:12px 6px;gap:15px;margin-top:9px}.order-description{width:100%}.order-description h2{font-size:31px;margin-bottom:17px}.order-description p{font-size:15px;line-height:1.7}.order-notes-title{font-size:24px;margin-top:20px}.order-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.order-note{padding:7px;gap:7px}.order-note .art{width:39px;height:42px}.order-note-name{font-size:17px}.order-note small{font-size:10px}.volume-title{font-size:26px}.volume-choice{padding:13px 8px 12px 32px}.volume-choice.selected{padding:12px 7px 11px 31px}.volume-choice .checkmark{left:8px;top:14px;width:18px;height:18px}.volume-ml{font-size:23px}.volume-price{font-size:28px;white-space:nowrap;margin-top:6px}.volume-choice small{font-size:10px;line-height:1.35}.order-total{font-size:22px}.order-total strong{font-size:37px}.shipping-note{font-size:12px!important}.order-actions .primary{min-width:0;font-size:15px}
dialog{padding:23px;width:calc(100% - 28px)}.dialog-heading h2{font-size:29px}.dialog-close{width:38px;height:38px;font-size:24px}.checkout-summary{grid-template-columns:90px 1fr;gap:14px}.checkout-summary h3{font-size:24px}.checkout-details{font-size:13px}.checkout-row{gap:10px}.checkout-note{font-size:13px;line-height:1.65}.prototype-note{font-size:11px;line-height:1.5}.toast{bottom:18px;width:max-content;font-size:13px}
}
@media(max-width:359px){.hero-copy{padding-inline:20px}.hero h1{font-size:40px}.flow-main{width:calc(100% - 28px)}.question-heading h1{font-size:27px}.question-heading p{font-size:14px}.choices-grid{gap:8px}.choice-title{font-size:15px}.choice{min-height:156px}.volume-price{font-size:24px}.volume-ml{font-size:20px}.order-total{font-size:20px}.order-total strong{font-size:32px}.like-list{grid-template-columns:minmax(0,1fr)}.order-note-name{font-size:15px}.note-tile.small .tile-name{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{.atelier-header,.flow-actions,.toast,.skip-link,.site-footer{display:none!important}.flow-main{width:100%;padding:0}.order-layout{display:grid;grid-template-columns:1fr 1fr}.flow::before,.flow::after{display:none}}

.name-visual,.product-visual{position:relative;min-width:0}.name-visual .art,.product-visual .art{aspect-ratio:1}

/* Language controls belong to the content, without restoring a questionnaire header. */
.language-switcher{display:inline-flex;align-items:center;gap:2px;flex-shrink:0;font:11px/1 var(--sans);letter-spacing:.04em}
.language-switcher button{min-width:32px;min-height:32px;padding:7px 6px;color:#795b41;border-radius:5px;border:1px solid transparent}
.language-switcher button:hover{background:#eddcc780}
.language-switcher button.active{color:var(--espresso);border-color:#b99a75;background:#f8eddd;font-weight:700}
.landing-language{display:flex;justify-content:flex-end;margin:0 0 18px}
.progress-tools{display:flex;align-items:center;justify-content:space-between;gap:10px}
.progress-tools .progress-label{min-width:0;text-align:left;line-height:1.35}
.flow .progress{width:min(420px,100%)}
.dialog-heading .language-switcher{margin-top:9px}
@media(max-width:720px){.landing-language{margin-bottom:13px}.language-switcher button{min-height:34px}.progress-tools{gap:7px}.progress-tools .progress-label{letter-spacing:.12em}}
@media print{.language-switcher{display:none!important}}

/* Keep atelier artwork fixed to the viewport. The stable viewport height also
   prevents mobile browser controls from changing its scale during scrolling. */
.flow::before,.flow::after{position:fixed;top:0;background-size:auto 100lvh}
.question-flow{height:100dvh;min-height:0;overflow:clip}
.question-flow .flow-main{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:clamp(6px,1.2dvh,12px);padding:max(clamp(12px,2dvh,24px),env(safe-area-inset-top)) 0 max(12px,env(safe-area-inset-bottom))}
.question-flow .progress{margin:0 auto}
.question-flow .progress-track{margin-top:clamp(7px,1.2dvh,12px)}
.question-flow .question-heading{width:100%;margin:0 auto;min-width:0}
.question-flow .question-heading h1{font-size:var(--question-font,clamp(22px,4.3vw,56px));line-height:1.04;margin-bottom:clamp(7px,1.1dvh,13px);text-wrap:balance}
.question-flow .question-heading p{font-size:var(--question-helper-font,clamp(12px,1.8vw,18px));line-height:1.35}
.question-flow .choices-grid{width:100%;height:100%;min-height:0;max-width:none;grid-template-columns:repeat(var(--choice-columns,3),minmax(0,1fr));grid-template-rows:repeat(var(--choice-rows,2),minmax(0,1fr));gap:clamp(6px,1.2dvh,12px)}
.question-flow .choice{min-height:0;height:100%;padding:0;overflow:hidden;container-type:size;background:#fff8ec;isolation:isolate}
.question-flow .choice.selected{padding:0;box-shadow:0 0 0 1px var(--accent) inset}
.question-flow .choice .art{position:absolute;inset:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:cover;object-position:center;mix-blend-mode:normal}
.choice-caption{position:absolute;inset:auto 0 0;z-index:1;display:block;padding:18px 10px 10px;background:linear-gradient(180deg,#fff8ec00,#fff8ece0 42%,#fff8ecf7);pointer-events:none}
.question-flow .choice-title{display:block;margin:0;font-size:clamp(14px,2vw,29px);font-size:clamp(12px,min(10cqw,24cqh),29px);line-height:1.08;letter-spacing:-.03em;overflow-wrap:anywhere;text-wrap:balance}
.question-flow .choice-tag{display:block;margin:4px 0 0;font-size:clamp(9px,4cqw,12px);line-height:1.1}
.question-flow .checkmark{z-index:2;top:clamp(6px,2.5cqw,12px);right:clamp(6px,2.5cqw,12px);width:clamp(18px,6cqw,26px);height:clamp(18px,6cqw,26px);font-size:clamp(14px,5cqw,19px)}
.question-flow .selection-count{min-height:0;margin:0;text-align:center;font-size:clamp(11px,1.55dvh,14px);line-height:1.25}
.question-flow .flow-actions{position:static;margin:0;padding:clamp(7px,1dvh,12px) 0 0;gap:12px;backdrop-filter:none;background:transparent}
.question-flow .flow-actions .primary{min-width:200px;min-height:48px;padding:10px 22px;font-size:16px}
.question-flow .flow-actions .link-button{min-height:40px;font-size:14px}
.question-flow .flow-actions .secondary-action{min-height:40px;font-size:13px}
.question-flow .catalog-layout{height:100%;min-height:0;gap:14px}
.question-flow .catalog-pane{min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:6px;padding:12px}
.question-flow .catalog-controls{margin:0}
.question-flow .catalog-controls select{min-height:38px;font-size:13px}
.question-flow .alphabet{margin:0;padding-bottom:3px}
.question-flow #catalog-results{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:5px}
.question-flow .catalog-count{margin:0;font-size:11px}
.question-flow .perfume-viewport{height:100%;min-height:0;max-height:none}
.question-flow .perfume-grid{grid-auto-rows:var(--perfume-card-height,clamp(100px,18dvh,190px));gap:8px}
.question-flow .perfume-choice{width:100%;max-width:none;min-height:0;padding:0}
.question-flow .perfume-brand{display:block;font-size:clamp(11px,7cqw,18px);margin:0;line-height:1.1}
.question-flow .perfume-name{display:block;font-size:clamp(10px,6cqw,14px);line-height:1.15;margin-top:3px}
.question-flow .generic-bottle{position:absolute;inset:0;width:100%;height:100%;max-width:none}
.question-flow .catalog-none{margin:0;min-height:27px;padding:3px 0;font-size:12px;justify-self:start}
.question-flow .catalog-likes{min-height:0;padding:12px;display:flex;flex-direction:column}
.question-flow .catalog-likes h2{font-size:24px;margin-bottom:9px}
.question-flow .like-list{gap:5px}
.question-flow .like-choice{min-height:32px;padding-block:5px;font-size:13px}
.question-flow .like-choice .checkmark{left:0;right:auto;top:5px;width:20px;height:20px}
.question-flow .chosen-perfumes{min-height:0;overflow:auto;margin-top:10px;padding-top:9px;font-size:11px}
.question-flow .chosen-perfumes.empty-selection{display:none}
.question-flow .selected-chips{margin-top:6px;gap:5px}
@media(max-width:720px){
  .question-flow .flow-main{padding-top:max(clamp(12px,2dvh,22px),env(safe-area-inset-top));gap:clamp(6px,1.1dvh,10px)}
  .question-flow .question-heading h1{font-size:var(--question-font,clamp(20px,7.6vw,35px))}
  .question-flow .question-heading p{font-size:var(--question-helper-font,14px)}
  .question-flow .progress-label{font-size:10px}
  .question-flow .choice-caption{padding:14px 7px 7px}
  .question-flow .flow-actions{gap:3px 10px}
  .question-flow .flow-actions .primary{min-width:0;min-height:49px;width:100%;padding:10px 18px}
  .question-flow .flow-actions .link-button,.question-flow .flow-actions .secondary-action{min-height:34px;padding-block:3px;font-size:13px}
  .question-flow .catalog-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px}
  .question-flow .catalog-pane{padding:8px;gap:4px}
  .question-flow .catalog-controls{gap:7px}
  .question-flow .select-control{font-size:10px;gap:2px}
  .question-flow .catalog-controls select{min-height:34px;font-size:12px}
  .question-flow .alphabet button{min-height:24px;font-size:10px}
  .question-flow .catalog-count{font-size:10px}
  .question-flow .perfume-grid{grid-auto-rows:var(--perfume-card-height,clamp(94px,16dvh,150px))}
  .question-flow .catalog-none{font-size:11px;min-height:23px}
  .question-flow .catalog-likes{padding:8px 10px}
  .question-flow .catalog-likes h2{font-size:18px;margin-bottom:4px}
  .question-flow .like-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 6px}
  .question-flow .like-choice{min-height:27px;padding:3px 0 3px 24px;font-size:11px;line-height:1.15}
  .question-flow .like-choice .checkmark{left:0;top:4px;width:17px;height:17px;font-size:13px}
  .question-flow .chosen-perfumes{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px;align-items:center;overflow:visible;margin-top:5px;padding-top:5px}
  .question-flow .selected-chips{min-width:0;overflow-x:auto;flex-wrap:nowrap;margin:0;padding-bottom:3px;scrollbar-width:thin}
  .question-flow .selected-chip{flex-shrink:0;font-size:10px;padding:3px 5px}
}
@media(max-height:650px){
  .question-flow .flow-main{padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom));gap:6px}
  .question-flow .progress-label{font-size:9px}
  .question-flow .progress-track{margin-top:6px}
  .question-flow .question-heading h1{margin-bottom:6px}
  .question-flow .flow-actions{grid-template-columns:auto auto minmax(0,1fr);gap:8px;padding-top:6px}
  .question-flow .flow-actions .primary{grid-column:3;grid-row:1;min-width:0;min-height:43px;width:100%;padding:8px 9px;gap:7px;font-size:13px}
  .question-flow .flow-actions .link-button{grid-column:1;grid-row:1;min-height:36px;font-size:12px;gap:6px}
  .question-flow .flow-actions .secondary-action{grid-column:2;grid-row:1;min-height:36px;padding:3px 0;font-size:11px}
  .question-flow .flow-actions .primary .arrow{font-size:19px}
  .question-flow .catalog-pane{gap:3px;padding:7px}
  .question-flow .catalog-likes{padding:7px}
}
@media(max-height:480px) and (min-aspect-ratio:1/1){
  .question-flow .progress{width:240px}
  .question-flow .catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;grid-template-rows:minmax(0,1fr)}
  .question-flow .catalog-likes h2{font-size:18px;margin-bottom:4px}
  .question-flow .like-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 6px}
  .question-flow .like-choice{font-size:11px;padding-left:24px;min-height:28px}
  .question-flow .chosen-perfumes{margin-top:5px;padding-top:4px;font-size:10px;max-height:45px;overflow:auto;display:block}
  .question-flow .selected-chips{flex-wrap:wrap;margin-top:4px}
  .question-flow .perfume-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:var(--perfume-card-height,105px)}
}

/* Keep the composition inside the viewport; the note catalogue scrolls within its panel. */
.composition-flow{height:100dvh;min-height:0;overflow:clip}
.composition-flow .flow-main{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:clamp(6px,1.1dvh,12px);padding:max(clamp(10px,1.8dvh,20px),env(safe-area-inset-top)) 0 max(10px,env(safe-area-inset-bottom))}
.composition-flow .progress{margin:0 auto}
.composition-flow .progress-track{margin-top:clamp(6px,1dvh,10px)}
.composition-flow .question-heading{width:100%;margin:0 auto;min-width:0}
.composition-flow .question-heading h1{font-size:clamp(24px,4.8dvh,46px);margin-bottom:clamp(5px,.9dvh,10px);line-height:1.04}
.composition-flow .question-heading p{font-size:clamp(12px,1.7dvh,17px);line-height:1.3}
.composition-flow .composition-layout{height:100%;min-height:0;margin:0;gap:clamp(10px,1.8dvh,20px)}
.composition-flow .treemap-wrapper{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:clamp(4px,.7dvh,8px)}
.composition-flow .treemap{height:100%;min-height:0;aspect-ratio:auto}
.composition-flow .map-help{margin:0 4px;font-size:clamp(10px,1.5dvh,13px);line-height:1.25}
.composition-flow .note-tile>button{container-type:size;padding:clamp(5px,1.2dvh,12px)}
.composition-flow .note-tile .tile-name{font-size:clamp(11px,min(15cqw,26cqh),34px);line-height:1.04;overflow-wrap:anywhere}
.composition-flow .note-tile.small .tile-name{font-size:clamp(10px,min(15cqw,26cqh),23px)}
.composition-flow .note-tile .tile-strength{font-size:clamp(8px,min(7cqw,13cqh),12px);line-height:1.15;margin-top:4px}
.composition-flow .note-editor,.note-sheet .note-editor{height:100%;min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:clamp(5px,.8dvh,10px);padding:clamp(10px,1.7dvh,20px);overflow:hidden}
.composition-flow .note-editor-heading h2,.note-sheet .note-editor-heading h2{font-size:clamp(23px,3.8dvh,38px);overflow-wrap:anywhere}
.composition-flow .remove-note,.note-sheet .remove-note{font-size:clamp(11px,1.5dvh,13px);min-height:36px;flex-shrink:0}
.composition-flow .note-description,.note-sheet .note-description{margin:0;font-size:clamp(11px,1.6dvh,14px);line-height:1.35}
.composition-flow .strength-control,.note-sheet .strength-control{padding:clamp(7px,1dvh,13px) 0}
.composition-flow .strength-label,.note-sheet .strength-label{font-size:clamp(12px,1.7dvh,15px);margin-bottom:clamp(6px,1dvh,10px)}
.composition-flow .strength-label output,.note-sheet .strength-label output{font-size:clamp(11px,1.6dvh,14px)}
.composition-flow .range-ends,.note-sheet .range-ends{margin-top:4px;font-size:clamp(9px,1.3dvh,11px)}
.composition-flow .note-library,.note-sheet .note-library{min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:clamp(4px,.7dvh,8px)}
.composition-flow .note-library h3,.note-sheet .note-library h3{margin:0;font-size:clamp(20px,3dvh,28px)}
.composition-flow .note-tabs,.note-sheet .note-tabs{min-width:0;padding:2px 2px 4px}
.composition-flow .note-catalog,.note-sheet .note-catalog{min-height:0;max-height:none;align-content:start;grid-auto-rows:clamp(85px,15dvh,120px)}
.composition-flow .add-note,.note-sheet .add-note{height:100%;min-height:0}
.composition-flow .add-note span,.note-sheet .add-note span{font-size:clamp(16px,2.3dvh,21px)}
.composition-flow .add-note .excluded-label,.note-sheet .add-note .excluded-label{font-size:9px}
.composition-flow .excluded-notice,.note-sheet .excluded-notice{margin:0;font-size:clamp(10px,1.4dvh,12px);line-height:1.25}
.composition-flow .composition-bottom{margin:0;display:grid;gap:clamp(4px,.7dvh,8px)}
.composition-flow .prototype-note{margin:0;font-size:clamp(10px,1.4dvh,12px);line-height:1.25}
.composition-flow .flow-actions{position:static;margin:0;padding:clamp(6px,1dvh,10px) 0 0;gap:12px;backdrop-filter:none;background:transparent}
.composition-flow .flow-actions .primary{min-width:180px;min-height:clamp(43px,6dvh,52px);padding:9px 20px;font-size:15px}
.composition-flow .flow-actions .link-button,.composition-flow .flow-actions .secondary-action{min-height:36px;font-size:13px;line-height:1.25}

/* The mobile editor is a native modal sheet; the composition stays behind it. */
.note-sheet{width:min(560px,calc(100% - 16px));height:min(740px,90dvh);max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:auto auto max(8px,env(safe-area-inset-bottom));padding:clamp(12px,2dvh,20px);overflow:hidden;border-radius:18px}
.note-sheet[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(7px,1.2dvh,12px)}
.note-sheet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.note-sheet-toolbar .dialog-close{width:40px;height:40px;font-size:26px}
.note-sheet .note-editor{padding:0;border:0;background:transparent}
.note-sheet-actions .primary{width:100%;min-height:46px;padding:10px 20px;font-size:15px}

@media(max-width:720px),(max-height:480px) and (pointer:coarse){
  .composition-flow .flow-main{width:calc(100% - 28px);gap:clamp(6px,1dvh,10px)}
  .composition-flow .question-heading h1{font-size:clamp(23px,4.4dvh,34px);margin-bottom:0}
  .composition-flow #composition-description,.composition-flow .prototype-note{display:none}
  .composition-flow .composition-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
  .composition-flow .note-tile{padding:3px}
  .composition-flow .map-help{text-align:center;font-size:11px}
  .composition-flow .flow-actions{grid-template-columns:1fr 1fr;gap:3px 10px;padding-top:7px}
  .composition-flow .flow-actions .primary{grid-column:1/-1;grid-row:1;min-width:0;width:100%;min-height:46px;font-size:15px;padding:9px 16px}
  .composition-flow .flow-actions .link-button{grid-column:1;grid-row:2;font-size:12px;gap:8px}
  .composition-flow .flow-actions .secondary-action{grid-column:2;grid-row:2;justify-self:end;text-align:right;font-size:12px;padding-block:4px}
}
@media(max-height:560px){
  .composition-flow .flow-main{padding-top:max(8px,env(safe-area-inset-top));padding-bottom:max(7px,env(safe-area-inset-bottom));gap:5px}
  .composition-flow .question-heading h1{font-size:25px}
  .composition-flow .flow-actions{grid-template-columns:1fr 1fr auto;gap:7px;padding-top:5px}
  .composition-flow .flow-actions .primary{grid-column:3;grid-row:1;width:auto;min-width:0;min-height:40px;padding:7px 10px;gap:8px;font-size:12px}
  .composition-flow .flow-actions .link-button{grid-column:1;grid-row:1;font-size:11px;gap:5px}
  .composition-flow .flow-actions .secondary-action{grid-column:2;grid-row:1;font-size:11px}
  .composition-flow .note-editor,.note-sheet .note-editor{display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
  .composition-flow .note-editor-heading,.note-sheet .note-editor-heading,.composition-flow .note-description,.note-sheet .note-description,.composition-flow .strength-control,.note-sheet .strength-control{flex-shrink:0}
  .composition-flow .note-library,.note-sheet .note-library{flex:0 0 auto;min-height:210px}
  .composition-flow .note-catalog,.note-sheet .note-catalog{height:160px}
}

.order-description .edit-notes-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin-top:12px;padding:8px 20px;border:1px solid var(--bronze);border-radius:50px;background:#fff8ecb0;color:var(--espresso);font-size:14px;line-height:1.3}
.order-description .edit-notes-button:hover{border-color:var(--accent);background:#f5e5cf}

/* Match the mockups: a slender, high-contrast serif and a calm modern sans. */
body{font-kerning:normal}
h1,h2,h3,h4{font-weight:500;letter-spacing:-.025em}
.choice-title,.question-flow .choice-title,.note-tile .tile-name,.order-note-name,
.perfume-brand,.add-note span{font-weight:500;letter-spacing:-.015em}
.volume-ml,.volume-price,.closing-price,.order-total,.order-total strong{font-weight:500;letter-spacing:-.02em}
.script,.personal-name-drawing,.product-name{font-weight:500}
.primary{font-weight:600}
.eyebrow,.progress-label{font-weight:500}

/* Feather the photo itself into the paper on all four edges.
   The separate name overlay and the centre of the bottle stay fully sharp. */
.product-visual>.art{
  --product-edge-mask:linear-gradient(90deg,transparent,#0004 2%,#000 8%,#000 92%,#0004 98%,transparent),linear-gradient(180deg,transparent,#0004 2%,#000 8%,#000 92%,#0004 98%,transparent);
  -webkit-mask-image:var(--product-edge-mask);
  -webkit-mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-composite:source-in;
  mask-image:var(--product-edge-mask);
  mask-size:100% 100%;
  mask-repeat:no-repeat;
  mask-composite:intersect;
}

/* Paper-coloured halos protect the content over the atelier illustrations.
   Box-shadow blurs only the underlay and never changes the layout or the art. */
:root{
  --paper-halo:0 0 12px 6px var(--paper),0 0 32px 12px color-mix(in srgb,var(--paper) 70%,transparent);
  --paper-card-halo:0 0 8px 3px var(--paper),0 0 20px 7px color-mix(in srgb,var(--paper) 65%,transparent);
}

:is(.hero-copy,.hero-art,.resume-panel,.story-art,.story-heading,.story-prose,
    .section-heading,.formula,.closing-art,.closing-copy,.site-footer,
    .progress,.question-heading,.selection-count,.catalog-pane,.catalog-likes,
    .name-copy,.name-visual,.name-caption,.treemap-wrapper,.map-help,.note-editor,
    .product-visual,.product-caption,.order-description,.prototype-note,.flow-actions){
  background-color:var(--paper);
  box-shadow:var(--paper-halo);
}

/* Opaque paper centres keep prose, filters and controls readable at the edges. */
:is(.catalog-pane,.catalog-likes,.note-editor,.flow-actions){background:var(--paper)}
:is(.question-flow,.composition-flow) .flow-actions{
  background:var(--paper);
  box-shadow:var(--paper-halo);
}
.note-sheet .note-editor{background:var(--paper);box-shadow:none}

/* The same soft edge follows each card, including full-bleed image cards. */
:is(.process-card,.choice,.note-tile>button,.add-note,.order-note,.volume-choice){
  box-shadow:var(--paper-card-halo);
}
:is(.process-card,.order-note,.choice:not(.selected),.note-tile:not(.selected)>button,
    .add-note,.volume-choice:not(.selected)){background-color:var(--paper)}
.choice.selected{box-shadow:inset 0 0 0 1px var(--accent),var(--paper-card-halo)}
.question-flow .choice.selected{box-shadow:inset 0 0 0 1px var(--accent),var(--paper-card-halo)}

/* Labels blend into the same paper while artwork still fills the entire card. */
.choice-caption{
  background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--paper) 92%,transparent) 48%,var(--paper));
}
.note-tile>button::after,.add-note::after{
  background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--paper) 92%,transparent) 70%,var(--paper));
}

@media(max-width:720px),(max-height:480px) and (pointer:coarse){
  :root{
    --paper-halo:0 0 8px 4px var(--paper),0 0 20px 7px color-mix(in srgb,var(--paper) 70%,transparent);
    --paper-card-halo:0 0 6px 2px var(--paper),0 0 14px 4px color-mix(in srgb,var(--paper) 65%,transparent);
  }
}
@media print{
  :is(.hero-copy,.hero-art,.resume-panel,.story-art,.story-heading,.story-prose,
      .section-heading,.formula,.closing-art,.closing-copy,.site-footer,
      .progress,.question-heading,.selection-count,.catalog-pane,.catalog-likes,
      .name-copy,.name-visual,.name-caption,.treemap-wrapper,.map-help,.note-editor,
      .product-visual,.product-caption,.order-description,.prototype-note,.flow-actions,
      .process-card,.choice,.note-tile>button,.add-note,.order-note,.volume-choice){box-shadow:none!important}
}

/* Both creation paths use the same paper, atelier edges and serif hierarchy. */
:is(.method-flow,.photo-flow,.generation-flow) .flow-main{width:min(1030px,calc(100% - 144px));min-height:100dvh;display:flex;flex-direction:column;padding:24px 0 max(18px,env(safe-area-inset-bottom))}
.creation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;max-width:520px;margin:0 auto;background:var(--paper);box-shadow:var(--paper-halo)}
:is(.method-flow,.photo-flow,.generation-flow) .question-heading{margin:clamp(18px,3.5dvh,36px) auto clamp(17px,3dvh,30px)}
:is(.method-flow,.photo-flow,.generation-flow) .question-heading h1{font-size:clamp(32px,5.7dvh,55px);text-wrap:balance;margin-bottom:14px}
:is(.method-flow,.photo-flow,.generation-flow) .question-heading p{font-size:clamp(14px,1.8vw,18px);max-width:660px;margin:auto;text-wrap:balance}
.method-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;width:100%;margin:auto 0;min-height:0}
.method-choice{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);min-width:0;aspect-ratio:1.2;text-align:left;box-shadow:var(--paper-halo);transition:border-color .2s,transform .2s}
.method-choice:hover{border-color:var(--accent);transform:translateY(-2px)}
.method-choice>.art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;aspect-ratio:auto;mix-blend-mode:multiply}
.method-caption{position:absolute;inset:auto 0 0;display:block;padding:80px 28px 27px;background:linear-gradient(180deg,transparent,var(--paper) 49%);pointer-events:none}
.method-label{display:block;font:clamp(27px,3vw,36px)/1.06 var(--serif);letter-spacing:-.025em;padding-right:24px;text-wrap:balance}
.method-detail{display:block;font-size:13px;line-height:1.5;color:#76614f;max-width:340px;padding-right:22px;margin-top:12px}
.method-arrow{position:absolute;right:24px;bottom:28px;font-size:29px;color:var(--bronze)}
.method-flow .flow-actions{margin-top:clamp(20px,4dvh,38px);position:static}
.photo-form{display:flex;flex-direction:column;flex:1;min-height:0}
.photo-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(24px,5vw,70px);max-width:950px;width:100%;margin:auto}
.photo-copy{min-width:0;background:var(--paper);box-shadow:var(--paper-halo)}
.photo-copy .name-input-label{display:block;margin-bottom:8px}
.photo-copy .name-help{font-size:13px;margin-top:9px}
.photo-guidance{font-size:15px;line-height:1.65;color:var(--muted);margin-top:25px}
.photo-process-copy{font:italic 23px/1.35 var(--serif);color:#805632;margin-top:18px;max-width:360px}
.photo-upload{position:relative;min-height:325px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;padding:22px;border:1px dashed #b69a7c;border-radius:var(--radius);background:#fff9ef;box-shadow:var(--paper-halo);text-align:center}
.photo-upload.dragging{border:2px solid var(--accent);background:#f3e5d2}
.photo-file-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2;font-size:0}
.photo-upload:focus-within{outline:3px solid var(--accent);outline-offset:4px}
.upload-symbol{width:75px;margin:0 auto 20px;color:var(--bronze)}
.upload-symbol svg{width:100%;stroke:currentColor;stroke-width:1.2}
.photo-upload-label{display:block;font:28px/1.1 var(--serif);color:var(--espresso)}
.photo-upload-label small{display:block;font:13px/1.4 var(--sans);color:var(--muted);margin-top:12px}
.photo-upload #photo-formats{font-size:11px;line-height:1.5;color:var(--muted);margin:18px 0 0}
.photo-upload.has-photo{aspect-ratio:auto;min-height:0;justify-content:center;gap:12px;padding:18px;isolation:isolate;background:var(--paper)}
.photo-preview-frame{display:flex;align-items:center;justify-content:center;width:100%;height:clamp(210px,34dvh,340px);min-width:0;min-height:0;padding:8px}
.uploaded-photo{display:block;position:static;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:3px;box-shadow:0 0 10px 4px #faf3e8d9}
.photo-upload-controls{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;flex-shrink:0}
.photo-upload.has-photo .photo-upload-controls{position:relative;z-index:3}
.photo-upload.has-photo .photo-file-input{pointer-events:none}
.photo-upload-label{cursor:pointer}
.photo-upload.has-photo .photo-upload-label{font-size:25px}
.photo-upload.has-photo #photo-formats{margin-top:0}
.remove-photo{position:static;display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;background:var(--paper);border:1px solid var(--line);border-radius:50%;font-size:27px;line-height:1;box-shadow:0 0 15px #faf3e8c0}
.photo-upload.preparing{opacity:.65}
.photo-privacy{max-width:700px;margin:25px auto 0;text-align:center;font-size:11px;line-height:1.6;color:#786653;background:var(--paper);box-shadow:var(--paper-halo)}
.photo-error{max-width:750px;margin:14px auto 0;text-align:center;font-size:13px;color:var(--exclude);background:var(--paper);box-shadow:var(--paper-halo)}
.photo-error[hidden]{display:none}
.photo-flow .flow-actions{position:static;margin-top:20px}
.generation-art{position:relative;width:min(330px,43dvh);margin:auto;min-height:0;background:var(--paper);box-shadow:var(--paper-halo)}
.generation-steps{list-style:none;padding:0;display:flex;justify-content:center;gap:25px;font-size:12px;margin:20px auto;color:#9b8a78;background:var(--paper);box-shadow:var(--paper-halo)}
.generation-steps li{display:flex;align-items:center;gap:9px}.generation-steps li>span{font-size:20px}.generation-steps .active{color:var(--espresso)}.generation-steps .complete{color:#657647}
.generation-help{text-align:center;font-size:12px;color:var(--muted);background:var(--paper);box-shadow:var(--paper-halo)}
.generation-flow .flow-actions{margin-top:24px;position:static}
.photo-result-visuals{display:grid;gap:12px;min-width:0}
.result-portrait{margin:0;text-align:center;min-width:0;background:var(--paper);box-shadow:var(--paper-halo)}
.result-portrait>img{display:block;object-fit:contain;width:100%;height:clamp(230px,37dvh,390px);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent),linear-gradient(transparent,#000 9%,#000 91%,transparent);mask-composite:intersect}
.result-portrait figcaption{font:italic 23px/1.3 var(--serif);color:#805632;margin:5px 0 12px}
.portrait-placeholder{position:relative;max-width:320px;margin:auto}.portrait-placeholder p{font-size:12px;color:var(--muted)}
.photo-result-visuals .product-preview{margin:0}.photo-result-visuals .product-visual{max-width:230px;margin:auto}.photo-result-visuals .product-caption{font-size:11px}
.recipe-details{margin-top:16px;border-block:1px solid var(--line);padding:12px 0}
.recipe-details summary{display:flex;align-items:center;justify-content:space-between;gap:14px;font:25px/1.2 var(--serif);cursor:pointer;list-style:none}
.recipe-details summary::-webkit-details-marker{display:none}.recipe-details summary>span{font:20px/1 var(--sans);transition:transform .2s}.recipe-details[open] summary>span{transform:rotate(45deg)}
.recipe-details dl{margin:14px 0 12px}.recipe-details dl>div{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:5px 0;border-bottom:1px solid #d7bda350}.recipe-details dd{margin:0;font-variant-numeric:tabular-nums}.recipe-details p{font-size:11px!important;color:var(--muted)}
@media(max-width:720px){
  :is(.method-flow,.photo-flow,.generation-flow) .flow-main{width:calc(100% - 40px);padding-top:max(15px,env(safe-area-inset-top))}
  .creation-toolbar{gap:8px}.creation-toolbar .eyebrow{font-size:9px;letter-spacing:.13em}
  :is(.method-flow,.photo-flow,.generation-flow) .question-heading{margin:20px auto}
  :is(.method-flow,.photo-flow,.generation-flow) .question-heading h1{font-size:clamp(28px,8.8vw,38px);margin-bottom:11px}
  :is(.method-flow,.photo-flow,.generation-flow) .question-heading p{font-size:13px}
  .method-choices{grid-template-columns:1fr;gap:15px;flex:1;max-height:530px}
  .method-choice{aspect-ratio:auto;min-height:190px}
  .method-caption{padding:60px 18px 18px;background:linear-gradient(180deg,transparent,var(--paper) 49%)}
  .method-label{font-size:28px;max-width:290px;padding-right:12px}.method-detail{font-size:11px;line-height:1.4;margin-top:8px;max-width:280px}
  .method-arrow{right:17px;bottom:19px;font-size:25px}.method-flow .flow-actions{margin-top:20px}
  .photo-layout{grid-template-columns:1fr;gap:16px}
  .photo-copy .name-input-label{font-size:13px;margin-bottom:6px}.photo-copy .name-input{min-height:47px;font-size:23px}.photo-copy .name-help{font-size:11px;margin-top:6px}
  .photo-guidance{font-size:12px;line-height:1.5;margin-top:13px}.photo-process-copy{font-size:19px;line-height:1.3;margin-top:9px;max-width:none}
  .photo-upload{min-height:200px;padding:15px}.upload-symbol{width:48px;margin-bottom:10px}.photo-upload-label{font-size:26px}.photo-upload-label small{font-size:11px;margin-top:8px}.photo-upload #photo-formats{font-size:10px;margin-top:10px}
  .photo-upload.has-photo{min-height:0;max-height:none;aspect-ratio:auto;padding:12px;gap:8px}.photo-upload.has-photo .photo-upload-label{font-size:22px}
  .photo-preview-frame{height:clamp(170px,27dvh,245px);padding:6px}.photo-upload-controls{gap:10px}
  .photo-privacy{font-size:10px;line-height:1.5;margin-top:15px}.photo-error{font-size:12px}.photo-flow .flow-actions{margin-top:15px}.photo-flow .flow-actions .primary{width:100%;min-height:48px}
  .generation-art{width:min(290px,40dvh)}.generation-steps{gap:10px;font-size:10px;flex-direction:column;align-items:flex-start;margin:10px auto 20px}.generation-steps li>span{font-size:17px}.generation-help{font-size:11px;max-width:290px;margin:auto}
  .photo-result-visuals{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:7px}.result-portrait>img{height:auto;width:100%;aspect-ratio:1}.result-portrait figcaption{font-size:17px;margin-bottom:0}.photo-result-visuals .product-visual{max-width:none}.photo-result-visuals .product-caption{flex-direction:column;gap:2px;font-size:9px;margin-top:5px;padding-top:5px}
  .recipe-details summary{font-size:23px}
}
@media(max-height:600px) and (min-width:721px){
  .method-choice{aspect-ratio:1.8}.method-label{font-size:28px}.method-detail{font-size:12px}.method-caption{padding-top:45px}
  .photo-upload{min-height:235px}.photo-guidance{font-size:13px;margin-top:15px}.photo-process-copy{font-size:20px;margin-top:12px}.photo-privacy{margin-top:15px}
}
@media(prefers-reduced-motion:reduce){.generation-spinner{animation:none;border-top-width:4px}}
