:root{--ink:#30231c;--paper:#f6eddb;--red:#ad3028;--p:0;--header:76px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:var(--header)}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Tahoma,sans-serif;overflow-x:hidden}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}header{position:fixed;inset:0 0 auto;z-index:20;height:var(--header);display:flex;align-items:center;justify-content:space-between;padding:0 5vw;background:#f6eddbef;backdrop-filter:blur(14px);border-bottom:1px solid #30231c19}.brand{font-size:34px;font-weight:900;letter-spacing:-2px;color:var(--red);line-height:.8;direction:ltr}.brand span{font-size:11px;vertical-align:top;letter-spacing:0}.brand small{display:block;font-size:9px;letter-spacing:5px;margin-top:8px}nav,.langs{display:flex;gap:20px;align-items:center}nav a{font-size:13px;font-weight:bold}.langs{gap:4px;direction:ltr}.langs button{border:0;background:transparent;padding:8px;font-size:12px;border-radius:50px}.langs button.active{background:var(--ink);color:white}.hero{height:160vh}.hero-inner{position:sticky;top:0;height:100svh;min-height:500px;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:calc(var(--header) + 2vh) 7vw 8vh;overflow:hidden;background:radial-gradient(ellipse at 75% 48%,#f1cf87 0,transparent 52%),var(--paper)}.hero-copy{z-index:2;transform:translateY(calc(var(--p)*-45px));opacity:calc(1 - var(--p)*.45)}.eyebrow{font-size:12px;letter-spacing:.18em;font-weight:800;text-transform:uppercase}.hero h1,h2{font-size:clamp(48px,8vw,125px);line-height:.92;letter-spacing:-.065em;margin:22px 0;font-weight:900}.hero-copy>p:not(.eyebrow),.collection-intro>p,.story>p,.contact>p{font-size:clamp(16px,1.5vw,23px);line-height:1.6;max-width:580px}.pill{display:inline-flex;align-items:center;background:var(--red);color:white;border-radius:99px;padding:17px 25px;font-weight:bold;margin-top:15px;transition:transform .2s}.pill:hover{transform:translateY(-3px)}.hero-art{position:relative;height:65vh;isolation:isolate;direction:ltr}.orbit{position:absolute;inset:8% 5%;border:1px solid #a76b3e55;border-radius:50%;transform:rotate(-23deg) scale(calc(1 + var(--p)*.3))}.hero-art img{position:absolute;filter:drop-shadow(0 30px 20px #5e351b45);width:84%;height:84%;object-fit:contain}.hero-cake{top:0;left:0;transform:translate(calc(var(--p)*-55px),calc(var(--p)*-110px)) rotate(calc(-16deg + var(--p)*30deg))}.hero-cookie{bottom:-10%;right:-18%;transform:scale(.67) translateY(calc(var(--p)*150px)) rotate(calc(20deg - var(--p)*50deg))}.art-label,.scroll-note{font-size:10px;letter-spacing:.2em;font-weight:bold}.art-label{position:absolute;bottom:0;right:0}.scroll-note{position:absolute;bottom:4vh;inset-inline-start:7vw}.marquee{overflow:hidden;background:var(--red);color:#fff4db;padding:17px 0;direction:ltr}.marquee div{width:max-content;font-size:clamp(22px,3vw,45px);font-weight:900;transform:translateX(calc(var(--p)*-35%))}.collection-intro{padding:11vh 7vw 8vh}.collection-intro h2{max-width:1000px}.chapter{height:175vh;--q:0;--tone:#eac17e}.stage{position:sticky;top:var(--header);height:calc(100svh - var(--header));min-height:450px;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;padding:5vh 7vw;gap:5vw;background:var(--tone);overflow:hidden;isolation:isolate}.number{position:absolute;top:0;inset-inline-end:4vw;font-size:clamp(100px,29vw,480px);font-weight:900;line-height:.9;opacity:.09;z-index:-1}.visual{position:relative;display:grid;place-items:center;height:100%;direction:ltr}.visual:before{content:'';position:absolute;width:85%;aspect-ratio:1;border-radius:50%;background:#fff5;transform:scale(calc(.65 + var(--q)*.6))}.visual img{width:100%;max-height:72vh;object-fit:contain;z-index:1;transform:translateY(calc((.5 - var(--q))*100px)) rotate(calc(-14deg + var(--q)*28deg)) scale(calc(.9 + var(--q)*.18));filter:drop-shadow(0 32px 22px #462c253d)}.visual .crumb{position:absolute;z-index:2;border-radius:50%;background:#a7642e; width:9px;height:6px;left:var(--x);top:var(--y);transform:translate(calc(var(--q)*var(--dx)),calc(var(--q)*var(--dy))) rotate(calc(var(--q)*180deg));opacity:.7}.product-copy{z-index:3}.product-copy h2{font-size:clamp(36px,5.2vw,82px);line-height:1.05;margin:14px 0}.product-copy p{line-height:1.6;font-size:clamp(14px,1.3vw,19px)}.weight{display:inline-block;border:1px solid currentColor;border-radius:50px;padding:8px 14px;font-weight:700}.details{margin-top:18px;border-top:1px solid #30231c44}.details summary{padding:14px 0;font-weight:bold;cursor:pointer}.details ul{padding-inline-start:20px;margin:0;font-size:14px;line-height:1.6}.story,.contact{position:relative;padding:16vh 7vw;overflow:hidden}.story{background:#38291f;color:#fff0d2}.story h2{max-width:950px;position:relative;z-index:1}.story-art{position:absolute;right:-5%;bottom:-35%;font-size:65vw;color:#c38a4a;opacity:.15;transform:rotate(calc(var(--p)*100deg));pointer-events:none}.contact{background:#e4b76f}footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px;padding:28px 7vw;font-size:12px}.progress{position:fixed;inset:0 auto auto 0;width:calc(var(--p)*100%);height:3px;background:var(--red);z-index:50}html[dir=rtl] h1,html[dir=rtl] h2{letter-spacing:0;line-height:1.25}html[dir=rtl] .eyebrow{letter-spacing:0}html[dir=rtl] .hero-copy{font-family:Tahoma,Arial,sans-serif}@media(max-width:760px){:root{--header:65px}header{padding:0 4vw}.brand{font-size:27px}nav{gap:10px}nav a{font-size:11px}nav a:nth-child(2){display:none}.langs button{padding:6px}.hero{height:135vh}.hero-inner{grid-template-columns:1fr;grid-template-rows:auto 1fr;padding:calc(var(--header) + 3vh) 6vw 5vh}.hero h1{font-size:clamp(43px,11vw,75px);margin:12px 0}.hero-copy>p{margin:8px 0}.hero-art{height:100%;min-height:160px;max-height:35vh}.hero-art img{width:70%}.hero-cookie{right:0}.scroll-note{bottom:2vh}.chapter{height:145vh}.stage{grid-template-columns:1fr;grid-template-rows:minmax(100px, .8fr) auto;gap:0;padding:2vh 6vw 4vh;min-height:0}.visual img{max-height:34vh;width:90%}.visual:before{width:55%}.product-copy h2{font-size:clamp(29px,7vw,48px);margin:8px 0}.product-copy p{margin:8px 0}.details{margin-top:8px}.details summary{padding:8px 0}.details[open]{max-height:24vh;overflow:auto}.number{font-size:45vw}.collection-intro h2,.story h2,.contact h2{font-size:clamp(40px,10vw,75px)}}@media(max-height:620px){.hero,.chapter{height:auto}.hero-inner,.stage{position:relative;top:auto;height:auto;min-height:620px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero,.chapter{height:auto}.hero-inner,.stage{position:relative;top:auto;min-height:70vh;height:auto}.hero-art img,.visual img,.hero-copy,.orbit,.marquee div,.crumb{transform:none!important;opacity:1}.visual{min-height:220px}}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #125b70;outline-offset:4px}
.illustration{position:absolute;bottom:0;inset-inline:0;text-align:center;opacity:.78;font-size:10px;z-index:3;background:#ffffff36;backdrop-filter:blur(6px);display:inline-block;width:max-content;margin:auto;padding:6px 10px;border-radius:999px}.product-copy .eyebrow{font-size:12px}.hero-art{pointer-events:none}html[dir=rtl] body{font-family:Tahoma,Arial,sans-serif}.details[open]{max-height:30vh;overflow:auto}.hero .pill{position:relative;z-index:5}@media(max-width:400px){nav{display:none}.hero-inner{padding-top:85px}.hero-art{min-height:135px}}
/* Salemin 2.0 — bakery editorial identity */
:root{--paper:#fffaf0;--ink:#272015;--red:#d71324;--blue:#142b83;--gold:#e8a323;--header:88px}body{font-family:Arial,Tahoma,sans-serif}header{background:#fffaf2f2;border-bottom:1px solid #e8dac4}.brand{display:flex;align-items:center;gap:12px;letter-spacing:0}.brand img{width:126px;height:auto;mix-blend-mode:multiply}.brand small{font-size:9px;letter-spacing:.24em;color:var(--blue);margin:0}nav a{color:var(--blue);font-size:14px}.langs button.active{background:var(--blue)}.hero-inner{background:radial-gradient(ellipse at 77% 43%,#ffd98c 0%,#ffeac2 30%,transparent 65%),linear-gradient(135deg,#fffdf8,#fff2d9);padding-inline:7vw}.hero h1{color:var(--blue);font-size:clamp(54px,8.2vw,128px);line-height:.96;letter-spacing:-.07em}.eyebrow{color:#9d2630;letter-spacing:.14em}.hero-copy>p:not(.eyebrow){color:#635748}.pill{background:var(--red);box-shadow:0 8px 24px #b60d2520}.hero-art .orbit{border:1px solid #d3974066;inset:3%;box-shadow:0 0 0 34px #fff4d435,0 0 0 70px #fff4d422}.hero-art .hero-cake{width:95%;height:86%;top:-3%;left:-1%;z-index:3;transform:translateY(calc(var(--p)*-100px)) rotate(calc(-12deg + var(--p)*24deg))}.hero-art .hero-cookie{width:86%;height:68%;right:-9%;bottom:-2%;z-index:2;transform:translateY(calc(var(--p)*110px)) rotate(calc(14deg - var(--p)*25deg))}.hero-art .hero-third{width:47%;height:48%;left:-10%;bottom:-7%;z-index:4;transform:translateY(calc(var(--p)*90px)) rotate(calc(-23deg + var(--p)*40deg))}.art-label{color:var(--blue)}.marquee{background:var(--blue);color:#fff2d5}.collection-intro{padding-bottom:5vh}.collection-intro h2{color:var(--blue);font-size:clamp(42px,6.8vw,100px)}.product-index{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:0 7vw 10vh}.product-index a{display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;background:#fff;border:1px solid #eee1ce;border-radius:22px;padding:12px;transition:transform .25s,box-shadow .25s;min-height:180px}.product-index a:hover{transform:translateY(-6px);box-shadow:0 12px 25px #59300b16}.product-index img{width:100%;height:120px;object-fit:contain}.product-index span{font-weight:800;font-size:14px;color:var(--blue)}.product-index small{color:#765d40;margin:8px}.stage{background:radial-gradient(ellipse at 26% 48%,#fff9 0,transparent 55%),var(--tone)}.visual:before{background:#fff7;box-shadow:0 0 0 22px #fff2,0 0 0 44px #fff1}.visual img{filter:drop-shadow(0 24px 18px #47331335);max-width:95%}.product-copy h2{color:var(--blue);letter-spacing:-.05em}.weight{background:#fff9;border:0;color:var(--blue)}.number{color:var(--blue);opacity:.07}.story{background:#17286d;color:#fff4d9;padding-bottom:6vh}.story .eyebrow{color:#ffd777}.story h2{font-size:clamp(44px,7vw,100px)}.story-packs{position:relative;display:flex;align-items:center;justify-content:center;height:clamp(160px,33vw,420px);gap:0}.story-packs img{width:33%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 20px #0005);transform:rotate(-9deg)}.story-packs img:nth-child(2){transform:rotate(5deg) translateY(-8%)}.story-packs img:nth-child(3){transform:rotate(12deg)}.contact{background:#f7d98e;color:var(--blue)}footer{background:#fffaf0;color:var(--blue)}.illustration{font-size:11px;background:#fff9}.progress{background:linear-gradient(90deg,var(--red),var(--gold))}html[dir=rtl] .hero h1,html[dir=rtl] .product-copy h2{letter-spacing:0;line-height:1.25}@media(max-width:760px){:root{--header:68px}.brand img{width:82px}.brand small{display:none}.hero h1{font-size:clamp(43px,10vw,76px)}.hero-art .hero-cake{width:82%;left:5%;top:-6%}.hero-art .hero-cookie{width:70%;right:0;bottom:-9%}.hero-art .hero-third{width:40%;left:0;bottom:-10%}.product-index{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 6vw 7vh}.product-index a{min-height:140px}.product-index img{height:85px}.product-index a:last-child{grid-column:1/-1}.stage{padding-top:1vh}.visual img{max-height:32vh}.story-packs{height:180px}}@media(prefers-reduced-motion:reduce){.hero-art img,.story-packs img{transform:none!important}}
/* V3: language-specific typography and responsive layout */
html[lang=fa] body,html[lang=fa] .hero-copy{font-family:Vazirmatn,Tahoma,Arial,sans-serif}
html[lang=ar] body,html[lang=ar] .hero-copy{font-family:'Noto Sans Arabic',Tahoma,Arial,sans-serif}
html[lang=en] body{font-family:Arial,sans-serif}
html[dir=rtl] h1,html[dir=rtl] h2{letter-spacing:0;line-height:1.4;font-weight:800}
html[dir=rtl] .hero h1{font-size:clamp(34px,5.3vw,84px);line-height:1.38}
html[dir=rtl] .product-copy h2{font-size:clamp(28px,3.8vw,58px);line-height:1.45}
html[dir=rtl] .collection-intro h2,html[dir=rtl] .story h2,html[dir=rtl] .contact h2{font-size:clamp(32px,4.8vw,76px);line-height:1.4}
html[dir=rtl] .hero-copy>p:not(.eyebrow),html[dir=rtl] .product-copy p,html[dir=rtl] .story>p,html[dir=rtl] .contact>p,html[dir=rtl] .collection-intro>p{line-height:1.9}
html[dir=rtl] .eyebrow,html[dir=rtl] .scroll-note{letter-spacing:0}
.hero-copy,.product-copy,.visual,.hero-art{min-width:0;min-height:0}
.hero h1,.product-copy h2,.collection-intro h2,.story h2,.contact h2{overflow-wrap:break-word}
nav a{font-size:14px;white-space:nowrap}.langs button{min-width:40px;min-height:44px;padding:6px}.langs{flex-shrink:0}.brand{flex-shrink:0}.pill{font-size:15px;line-height:1.5;min-height:46px}.details summary{min-height:44px;line-height:1.6}.details ul{font-size:15px;line-height:1.8}.product-index a{min-width:0}.product-index a span{overflow-wrap:anywhere;line-height:1.6}.illustration{max-width:100%;white-space:normal;line-height:1.5}.story-packs{overflow:hidden}.stage{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(min-width:761px) and (max-width:1024px){header{padding-inline:3vw}nav{gap:12px}.hero-inner,.stage{padding-inline:5vw;gap:3vw}.product-index{grid-template-columns:repeat(3,minmax(0,1fr))}.hero h1{font-size:clamp(40px,7vw,75px)}.product-copy h2{font-size:clamp(32px,4.5vw,55px)}}
@media(max-width:760px){:root{--header:70px}header{padding-inline:4vw;gap:6px}nav{gap:8px}nav a{font-size:12px}nav a:nth-child(3){display:none}.brand img{width:78px}.langs{gap:0}.langs button{min-width:36px}.hero{height:auto;min-height:0}.hero-inner{position:relative;top:auto;min-height:100svh;height:auto;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(220px,34vh);padding:calc(var(--header) + 24px) 6vw 36px;gap:12px;align-content:center}.hero-copy{transform:none;opacity:1}.hero h1{font-size:clamp(37px,9vw,65px);line-height:1.07}html[dir=rtl] .hero h1{font-size:clamp(32px,7.8vw,55px);line-height:1.45}.hero-copy>p:not(.eyebrow){font-size:16px}.hero-art{height:100%;max-height:none;min-height:220px}.hero-art img{max-height:100%}.scroll-note{bottom:10px}.art-label{display:none}.chapter{height:auto;min-height:0}.stage{position:relative;top:auto;height:auto;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;padding:30px 6vw 38px;gap:18px;overflow:hidden}.visual{height:clamp(200px,60vw,340px);min-height:0}.visual img{max-height:85%;width:86%;transform:translateY(calc((.5 - var(--q))*16px)) rotate(calc(-5deg + var(--q)*10deg)) scale(.96)}.visual:before{width:65%;max-height:100%}.visual .crumb{opacity:.4}.product-copy h2{font-size:clamp(29px,7vw,43px)}html[dir=rtl] .product-copy h2{font-size:clamp(26px,6.5vw,39px)}.product-copy p{font-size:16px}.details[open]{max-height:none;overflow:visible}.collection-intro,.story,.contact{padding:56px 6vw}.collection-intro h2,.story h2,.contact h2{font-size:clamp(34px,8vw,55px)}html[dir=rtl] .collection-intro h2,html[dir=rtl] .story h2,html[dir=rtl] .contact h2{font-size:clamp(29px,7vw,48px)}.product-index{padding:0 6vw 40px}.product-index a{padding:10px 5px}.product-index a span{font-size:14px}.product-index a small{font-size:13px}.story-packs{height:clamp(130px,40vw,230px)}footer{padding:24px 6vw;font-size:13px}}
@media(max-width:370px){nav{display:none}.hero-inner{padding-inline:5vw}.hero-art{min-height:180px}.product-index a span{font-size:13px}}
@media(min-width:761px) and (max-height:700px){.hero,.chapter{height:auto}.hero-inner,.stage{position:relative;top:auto;height:auto;min-height:100svh}.hero-inner{padding-block:calc(var(--header) + 24px) 40px}.stage{padding-block:32px}.visual{height:clamp(220px,55vh,450px)}.details[open]{max-height:none;overflow:visible}}
@media(prefers-reduced-motion:reduce){.hero-copy,.visual img,.hero-art img,.crumb{transform:none!important;opacity:1}.hero,.chapter{height:auto}.hero-inner,.stage{position:relative;top:auto;height:auto;min-height:0}}
