@font-face{font-family:Vazir;src:url('assets/font.ttf')}*{box-sizing:border-box}body{margin:0;background:#141c34;color:#142044;font-family:Vazir,Arial,sans-serif;font-size:16px}button,a{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #efb655;outline-offset:4px}button{border:0}#gate{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#f3f5f4;direction:ltr}.gate-photo{background:linear-gradient(180deg,#17265b18,#10204780),url('assets/p3-0.webp') center/cover;min-height:100vh}.gate-content{padding:8vh 10%;display:flex;flex-direction:column;justify-content:center;direction:rtl}.wordmark{font-family:Arial,sans-serif;letter-spacing:4px;color:#2b3990;font-weight:700;font-size:clamp(22px,3vw,40px);direction:ltr}.wordmark span{display:block;font-weight:400;letter-spacing:12px;font-size:.6em;margin-top:8px}.line{width:64px;height:4px;background:#2b3990;margin:30px 0}h1{font-size:clamp(28px,4vw,45px);line-height:1.5;margin:0}h2{font-size:22px}.gate-content p{letter-spacing:3px;color:#69738b;font-size:14px}.gate-content h2{font-size:17px;margin-top:36px;font-weight:400}.language-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 40px}.language-grid button{background:white;border:1px solid #d6dcdb;display:flex;align-items:center;justify-content:space-between;padding:20px;transition:.2s}.language-grid button:hover{background:#2b3990;color:#fff;transform:translateY(-2px)}.language-grid b{font-weight:400;font-size:20px}.language-grid span{font-size:12px;color:#8190a8}.gate-content small{font-size:12px;color:#758099;direction:ltr;letter-spacing:2px}header{height:70px;background:#2b3990;color:white;display:flex;align-items:center;gap:20px;padding:0 5vw}.brand{font-weight:bold;margin-inline-end:auto}header button{color:#fff;background:transparent;font-size:14px;padding:10px}#book{max-width:1180px;margin:32px auto;display:flex;box-shadow:0 25px 70px #0005;min-height:640px}article{background:#f5f6f4;flex:1;min-width:0;width:50%;position:relative;padding:40px;overflow:hidden;border-inline-end:1px solid #ccc}.folio{position:absolute;bottom:15px;inset-inline-end:24px;color:#758099;font-size:12px}.eyebrow{color:#2b3990;letter-spacing:2px;font-size:12px;margin-bottom:12px}article h2{font-size:clamp(23px,2.5vw,33px);line-height:1.5;margin:8px 0 24px}.cover{background:#2b3990;color:white;padding:0;display:flex;flex-direction:column;justify-content:flex-end}.cover img{height:360px;width:100%;object-fit:cover;flex:1;min-height:0}.cover .cover-text{padding:36px;background:#2b3990}.cover .eyebrow{color:#d6dcdb}.cover h2{margin:0}.cover .folio{color:#fff8}.about-img{width:100%;height:205px;object-fit:cover;margin:8px 0 15px}.intro{line-height:2;font-size:16px}.product{padding:0 0 60px}.product .main-photo{width:100%;height:295px;object-fit:cover}.product .product-body{padding:25px 36px}.product h2{margin:5px 0 15px}.product ul{padding-inline-start:20px;line-height:1.9;margin:0}.second-photo{width:130px;height:100px;object-fit:cover;margin-top:20px}.sample-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.sample-grid img{width:100%;height:76px;object-fit:cover;border:5px solid white}.sample-grid span{font-size:12px;display:block;line-height:1.6;margin-top:3px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:start}th{background:#2b3990;color:white;padding:10px 5px;font-weight:400}td{padding:10px 5px;border-bottom:1px solid #ccd2d5}tbody tr:nth-child(even){background:#e6eae9}.spec-page{padding:35px 24px}.contact-page{background:#d6dcdb}.contact-page .contact-photo{width:calc(100% + 80px);height:270px;object-fit:cover;margin:-40px -40px 28px}.contact-page a{display:block;color:#2b3990;margin:15px 0;font-size:20px;text-decoration:none;direction:ltr;text-align:start}.contact-page p{line-height:2}footer{display:flex;align-items:center;justify-content:center;gap:28px;padding:0 10px 25px;color:#fff}footer button{padding:12px 22px;background:#2b3990;color:white;border-radius:3px}footer button:disabled{opacity:.35;cursor:default}footer span{font-size:14px}dialog{border:0;width:min(90vw,520px);padding:25px;color:#142044;max-height:85vh}dialog::backdrop{background:#081021aa}.dialog-head{display:flex;align-items:center;justify-content:space-between}dialog button{background:#edf0ef;padding:10px}dialog nav{display:grid;gap:5px}dialog nav button{text-align:start;background:white;border-bottom:1px solid #ddd;padding:12px}dialog nav button:hover{background:#e7ebf5}body[dir=rtl]{direction:rtl}@media(max-width:760px){#gate{display:block;position:relative}.gate-photo{position:absolute;inset:0;min-height:100%;opacity:.12}.gate-content{position:relative;min-height:100dvh;padding:40px 26px}.language-grid button{padding:18px}header{padding:0 16px;gap:8px;height:65px}.brand{font-size:15px}header button{font-size:13px}#book{margin:16px 12px;min-height:680px}article{width:100%;padding:30px;min-height:680px}.product{padding:0 0 50px}.product .main-photo{height:310px}.product .product-body{padding:25px 30px}.cover img{min-height:350px}.cover-text{padding:30px!important}.sample-grid img{height:83px}.sample-grid{gap:12px}.spec-page{padding:28px 16px}.contact-page .contact-photo{width:calc(100% + 60px);margin:-30px -30px 25px}footer{gap:16px}footer button{font-size:14px;padding:12px 14px}}
/* Keep the reader controls on screen; dense pages scroll within the sheet. */
@media(max-width:760px){
 #viewer:not([hidden]){height:100dvh;display:flex;flex-direction:column;overflow:hidden}
 header{height:56px;flex:0 0 56px}
 #book{flex:1;min-height:0;width:calc(100% - 20px);margin:10px;overflow:hidden}
 article{height:100%;min-height:0;overflow-y:auto;padding:22px 22px 38px;overscroll-behavior:contain}
 .folio{position:sticky;display:block;bottom:0;text-align:end;margin-top:12px;background:inherit}
 article h2{font-size:24px;margin:6px 0 14px}
 .eyebrow{margin-bottom:6px}
 .cover{overflow:hidden;padding:0}.cover img{height:0;min-height:0;flex:1}.cover-text{padding:22px!important;flex:none}.cover .folio{position:absolute;background:transparent;margin:0;bottom:6px}
 .product{display:flex;flex-direction:column;padding:0;overflow-y:auto}
 .product .main-photo{height:clamp(110px,29dvh,235px);flex-shrink:1;min-height:80px;object-fit:cover}
 .product .product-body{padding:18px 22px 8px;flex-shrink:0}
 .product ul{line-height:1.7}
 .second-photo{height:clamp(45px,10dvh,78px);width:110px;margin-top:12px}
 .product .folio{margin:0 22px 8px;padding-top:3px}
 .about-img{height:clamp(95px,19dvh,150px);margin:5px 0 10px}
 .about-img:last-of-type{height:clamp(70px,14dvh,110px)!important}
 .intro{line-height:1.8;margin:10px 0}
 .sample-grid{gap:8px}.sample-grid img{height:clamp(38px,8dvh,65px);border-width:3px}.sample-grid span{font-size:12px;line-height:1.4}
 .spec-page{padding:18px 14px 30px}th,td{padding:7px 4px}.table-wrap{overflow:auto}
 .contact-page .contact-photo{height:clamp(100px,23dvh,190px);width:calc(100% + 44px);margin:-22px -22px 18px}
 .contact-page a{font-size:18px;margin:11px 0}.contact-page p{line-height:1.7;margin:10px 0}
 footer{flex:0 0 auto;gap:12px;padding:4px 10px max(10px,env(safe-area-inset-bottom));min-height:58px}
 footer button{min-height:42px;padding:9px 12px}
}
@media(prefers-reduced-motion:no-preference){
 article .eyebrow,article h2,article p,article ul,article table,article a,article .sample-grid span{animation:text-enter .42s cubic-bezier(.2,.7,.2,1) both}
 article h2{animation-delay:40ms}article p,article ul,article table,article a{animation-delay:90ms}
 article img{animation:image-enter .65s cubic-bezier(.2,.7,.2,1) 320ms both}
 article .second-photo,article .about-img:last-of-type{animation-delay:480ms}
 article .sample-grid img{animation-delay:calc(280ms + var(--sample-index,0)*35ms)}
 @keyframes text-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
 @keyframes image-enter{from{opacity:0;transform:translateY(15px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
}
/* Editorial industrial art direction */
@font-face{font-family:Vazir;src:url('assets/bold.ttf');font-weight:700}
body{background:radial-gradient(ellipse at 50% 20%,#303b60,#10182e 75%)}
header{background:#10182e;border-bottom:1px solid #ffffff1a;height:64px}
.brand{letter-spacing:.04em}header button{border:1px solid #ffffff26;border-radius:30px;padding:7px 16px}
#book{margin-top:24px;max-width:1140px;border-radius:3px;box-shadow:0 24px 65px #0006}
article{background-color:#edf0ef;background-image:linear-gradient(135deg,transparent 73%,#d6dcdb80 73%);isolation:isolate}
article::before{content:'';position:absolute;inset-inline-end:-58px;top:38px;width:170px;height:170px;border:2px solid #2b399017;transform:rotate(45deg);border-radius:25px;z-index:-1;pointer-events:none}
article h2{font-weight:700;letter-spacing:-.03em;line-height:1.45}.eyebrow{letter-spacing:1.3px;font-size:12px}
.product{background:linear-gradient(145deg,#fff 25%,#edf0ef 68%,#d6dcdb 100%);padding-bottom:36px}
.product .main-photo{height:315px;clip-path:polygon(0 0,100% 0,100% 84%,76% 100%,0 90%);object-fit:cover}
.product .product-body{position:relative;padding:22px 36px 12px;z-index:1}
.product-number{position:absolute;inset-inline-end:26px;top:-8px;font-family:Arial,sans-serif;font-size:110px;line-height:1;font-weight:700;color:#2b39900c;z-index:-1;pointer-events:none}
.product .eyebrow{display:inline-block;border-inline-start:4px solid #2b3990;padding-inline-start:10px;max-width:100%}
.product h2{color:#2b3990;max-width:95%;font-size:32px;margin:12px 0 18px}
.product ul{list-style:none;padding:0;margin:0;line-height:1.85}
.product li{padding-inline-start:18px;position:relative;margin:4px 0}
.product li::before{content:'';width:6px;height:6px;position:absolute;inset-inline-start:0;top:.8em;background:#2b3990;transform:rotate(45deg)}
.second-photo{height:100px;width:150px;object-fit:cover;clip-path:polygon(12% 0,100% 0,88% 100%,0 100%);filter:drop-shadow(0 6px 7px #0002)}
.layout-1{background:#2b3990;color:white}.layout-1::before{border-color:#ffffff20}.layout-1 h2,.layout-1 .eyebrow{color:white}.layout-1 .eyebrow{border-color:#d6dcdb}.layout-1 li::before{background:#d6dcdb}.layout-1 .product-number{color:#ffffff0c}.layout-1 .folio{color:#ffffff9c}.layout-1 .main-photo{clip-path:polygon(0 0,100% 0,100% 90%,24% 100%,0 82%)}
.layout-2 .main-photo{width:calc(100% - 44px);margin:24px 22px 0;height:290px;clip-path:polygon(0 10%,86% 0,100% 12%,100% 90%,14% 100%,0 88%)}
.cover{background:#2b3990}.cover img{clip-path:polygon(0 0,100% 0,100% 87%,0 100%);filter:saturate(.85)}.cover .cover-text{background:transparent;padding:36px 42px 44px;position:relative}.cover h2{font-size:40px}.cover .cover-text::before{content:'';width:50px;height:4px;background:#d6dcdb;display:block;margin-bottom:18px}.cover::after{content:'';position:absolute;inset-inline-end:-40px;bottom:40px;width:150px;height:150px;border:2px solid #ffffff22;border-radius:22px;transform:rotate(45deg);pointer-events:none}.cover .eyebrow{font-size:12px}
.about-img{clip-path:polygon(0 0,93% 0,100% 18%,100% 100%,7% 100%,0 82%)}
.sample-grid>div{background:#fff;padding:6px;box-shadow:0 4px 12px #14204407}.sample-grid img{border:0}.sample-grid span{padding:3px 2px}
.spec-page h2{border-inline-start:5px solid #2b3990;padding-inline-start:15px}th{padding-top:14px;padding-bottom:14px}tbody tr:nth-child(even){background:#d6dcdb66}
.contact-page{background:linear-gradient(150deg,#d6dcdb 40%,#edf0ef 40%)}.contact-page .contact-photo{clip-path:polygon(0 0,100% 0,100% 78%,0 100%)}.contact-page a{border-bottom:1px solid #2b399020;padding-bottom:10px}.contact-page h2{color:#2b3990}
footer button{background:#ffffff0d;border:1px solid #ffffff25;border-radius:25px}footer button:hover:not(:disabled){background:#2b3990}
.gate-photo{clip-path:polygon(0 0,100% 0,90% 100%,0 100%)}.gate-content{background:linear-gradient(145deg,transparent 70%,#d6dcdb80 70%)}.language-grid button{border-inline-start:4px solid #2b3990;box-shadow:0 8px 20px #14204406}
@media(max-width:760px){
 header{height:56px}header button{padding:6px 9px;font-size:12px}.brand{font-size:15px}
 #book{margin:10px;width:calc(100% - 20px)}
 article::before{width:120px;height:120px;top:30px;inset-inline-end:-45px}
 .product{padding:0}.product .main-photo{height:clamp(110px,29dvh,225px);min-height:80px;flex-shrink:1}
 .product .product-body{padding:14px 24px 8px}.product h2{font-size:25px;margin:10px 0 12px}.product ul{line-height:1.7}.product-number{font-size:88px;top:0;inset-inline-end:20px}
 .second-photo{height:clamp(40px,9dvh,70px);width:120px;margin-top:10px}
 .layout-2 .main-photo{margin:16px 16px 0;width:calc(100% - 32px);height:clamp(100px,27dvh,210px)}
 .cover img{height:0;min-height:0;flex:1}.cover .cover-text{padding:20px 26px 30px!important}.cover h2{font-size:32px}.cover .cover-text::before{margin-bottom:12px}.cover .cover-text p{margin:10px 0}
 .sample-grid{gap:7px}.sample-grid>div{padding:4px}.sample-grid img{height:clamp(32px,7dvh,56px)}.sample-grid span{padding:1px;font-size:12px}
 .contact-page a{padding-bottom:6px;margin:9px 0}
 th{padding:8px 4px}
 .gate-photo{clip-path:none}.gate-content{padding:32px 26px}.language-grid{gap:10px}
}
/* Reference: rotated frames and staged entrances, in the brand palette. */
article{background:#edf0ef;position:relative}.ornament{position:absolute;pointer-events:none;z-index:0;width:190px;height:190px;border-radius:26px;transform:rotate(45deg)}
.ornament-solid{background:#2b3990;bottom:-115px;inset-inline-start:-65px}.ornament-outline{border:2px solid #2b3990;bottom:-100px;inset-inline-start:-45px}
article>h2,article>p,article>.eyebrow,article>.sample-grid,article>.table-wrap,article>a,article>img{position:relative;z-index:1}
article::before{width:130px;height:130px;inset-inline-end:-65px;top:110px;border:2px solid #2b3990;border-radius:20px;opacity:.35;z-index:0}
.product{background:#edf0ef;color:#142044}.product .main-photo,.layout-2 .main-photo{width:calc(100% - 64px);height:300px;margin:32px 32px 0;min-height:0;flex:none;clip-path:polygon(0 24%,24% 0,76% 0,100% 24%,100% 76%,76% 100%,24% 100%,0 76%);border-radius:18px}
.layout-1{background:#e4e8e7}.layout-1 h2,.layout-1 .eyebrow{color:#2b3990}.layout-1 .eyebrow{border-color:#2b3990}.layout-1 li::before{background:#2b3990}.layout-1 .folio{color:#758099}.layout-1 .product-number{color:#2b399010}
.product .product-body{padding-top:24px}.product h2{position:relative;z-index:1;color:#2b3990;font-size:34px;text-shadow:2px 2px 0 #edf0ef,3px 3px 0 #2b399050,6px 5px 0 #d6dcdb}
.product-number{font-size:105px;color:#2b399013!important;top:12px}.product .second-photo{width:130px;height:95px;clip-path:polygon(0 25%,25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%);border-radius:12px}
.cover{background:#edf0ef;color:#2b3990;padding:28px 30px 45px;display:flex;flex-direction:column}.cover img{width:100%;height:320px;flex:1;clip-path:polygon(0 25%,25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%);margin-top:10px;border-radius:20px}.cover .cover-text{padding:24px 12px 15px!important;z-index:1}.cover .eyebrow{color:#2b3990}.cover .cover-text::before{background:#2b3990}.cover h2{font-size:36px;text-shadow:2px 2px 0 #edf0ef,4px 4px 0 #2b399040}.cover .folio{color:#758099}.cover::after{border-color:#2b399040;bottom:75px;z-index:0}
.sample-grid>div{border:1px solid #2b399033;box-shadow:none;padding:8px;position:relative}.sample-grid span{border-bottom:3px solid #2b3990;padding:5px 1px}.about-img{border-radius:18px}.contact-page .contact-photo{border-radius:0}
#book{transition:opacity .18s ease,transform .18s ease}.page-exit{opacity:0;transform:translateY(-8px)}
@media(prefers-reduced-motion:no-preference){
 article h2{animation:text-enter .55s ease 80ms both}
 article p,article ul,article a,article table{animation:text-enter .55s ease 240ms both}
 article .eyebrow{animation:text-enter .45s ease 0ms both}
 article img{animation:image-enter .7s cubic-bezier(.16,1,.3,1) 650ms both}
 article .second-photo,article .about-img:last-of-type{animation-delay:950ms}
 article .sample-grid img{animation-delay:calc(600ms + var(--sample-index,0)*55ms)}
 .ornament-solid{animation:shape-enter .8s ease 350ms both}.ornament-outline{animation:shape-enter .8s ease 500ms both}
 @keyframes shape-enter{from{opacity:0;transform:translateY(60px) rotate(20deg)}to{opacity:1;transform:translateY(0) rotate(45deg)}}
}
@media(prefers-reduced-motion:reduce){#book{transition:none}.page-exit{opacity:1;transform:none}}
@media(max-width:760px){
 .ornament{width:135px;height:135px;border-radius:18px}.ornament-solid{bottom:-90px;inset-inline-start:-55px}.ornament-outline{bottom:-75px;inset-inline-start:-40px}
 .product .main-photo,.layout-2 .main-photo{height:clamp(100px,28dvh,220px);width:calc(100% - 42px);margin:20px 21px 0;flex-shrink:1;min-height:85px}
 .product .product-body{padding:18px 23px 8px}.product h2{font-size:26px;margin:8px 0 14px}.product-number{font-size:85px}
 .product .second-photo{height:clamp(40px,9dvh,72px);width:100px;margin-top:10px}
 .cover{padding:24px 24px 35px}.cover img{height:0;min-height:80px;flex:1;margin:0}.cover .cover-text{padding:20px 3px 16px!important}.cover h2{font-size:30px}
 .sample-grid>div{padding:4px}.sample-grid span{padding:3px 0}
}
/* One landscape slide, fitted to the viewport. */
#viewer:not([hidden]){height:100dvh;display:flex;flex-direction:column;align-items:center;overflow:hidden}
#viewer header{width:100%;height:56px;flex:0 0 56px;padding:0 24px}
#book{position:relative;flex:none;min-height:0!important;max-width:none;margin:auto!important;overflow:hidden;display:block;border:0}
#book article{position:absolute;inset:0 auto auto 0;width:1120px;height:630px;min-height:0;max-height:none;flex:none;overflow:hidden;padding:48px 60px 44px;transform:scale(var(--slide-scale,1));transform-origin:top left;border:0;font-size:20px}
#book article h2{font-size:42px;line-height:1.45;margin:10px 0 26px}
#book article .eyebrow{font-size:15px}
#book .folio{position:absolute;bottom:18px;inset-inline-end:32px;font-size:14px;margin:0;padding:0;background:transparent}
#viewer footer{width:100%;flex:0 0 64px;min-height:64px;margin:0;padding:8px 12px 14px;gap:20px}
#viewer footer button{font-size:14px;padding:9px 18px;min-height:40px}
#book .product{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:34px;padding:44px 52px}
#book .product .main-photo{width:100%;height:450px;min-height:0;margin:0;flex:none;object-fit:cover}
#book .product .product-body{padding:24px 14px;min-width:0}
#book .product ul{line-height:1.8;font-size:20px}
#book .product .second-photo{width:160px;height:115px;margin-top:26px}
#book .product-number{font-size:140px;top:0;inset-inline-end:8px}
#book .cover{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:55px;padding:60px}
#book .cover img{width:100%;height:450px;min-height:0;margin:0;flex:none}
#book .cover .cover-text{padding:30px 0!important}
#book .cover h2{font-size:56px}
#book .cover p{font-size:30px}
#book .about-page{display:grid;grid-template-columns:1.1fr 1fr;grid-template-rows:30px 76px 1fr 1fr;column-gap:46px;row-gap:14px}
#book .about-page>.eyebrow{grid-column:1;grid-row:1}
#book .about-page>h2{grid-column:1;grid-row:2;margin:0}
#book .about-page>.intro{grid-column:1;grid-row:3 / 5;margin:8px 0;line-height:1.9;font-size:20px}
#book .about-page>.about-img{grid-column:2;grid-row:1 / 3;width:100%;height:190px!important;object-fit:cover;margin:0}
#book .about-page>.about-img:last-of-type{grid-column:2;grid-row:3 / 5;height:265px!important;align-self:end}
#book .samples-page h2{margin:0 0 20px}
#book .sample-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
#book .sample-grid>div{padding:7px}
#book .sample-grid img{height:88px;width:100%;object-fit:cover}
#book .sample-grid span{font-size:14px;line-height:1.4;padding:4px 0;min-height:42px}
#book .spec-page{padding:36px 54px}
#book .spec-page h2{margin:0 0 22px;font-size:36px}
#book table{font-size:16px;width:100%;table-layout:fixed}
#book th,#book td{padding:6px 9px;line-height:1.4}
#book th:first-child{width:25%}#book .table-wrap{overflow:visible}
#book .contact-page{padding-inline-start:610px;padding-inline-end:60px;padding-top:70px}
#book .contact-page .contact-photo{position:absolute;inset-block-start:0;inset-inline-start:0;width:530px;height:630px;margin:0;object-fit:cover;clip-path:polygon(0 0,100% 0,90% 100%,0 100%)}
#book .contact-page p{font-size:20px;line-height:1.8}
#book .contact-page a{font-size:22px;margin:16px 0;padding-bottom:8px}
#book .ornament{width:200px;height:200px}.ornament-solid{bottom:-130px}.ornament-outline{bottom:-110px}
@media(prefers-reduced-motion:no-preference){
 #book article h2{animation-duration:.3s;animation-delay:25ms}
 #book article .eyebrow{animation-duration:.25s;animation-delay:0ms}
 #book article p,#book article ul,#book article a,#book article table{animation-duration:.3s;animation-delay:65ms}
 #book article img{animation-duration:.38s;animation-delay:130ms}
 #book article .second-photo,#book article .about-img:last-of-type{animation-delay:210ms}
 #book article .sample-grid img{animation-delay:calc(100ms + var(--sample-index,0)*12ms)}
 #book .ornament-solid{animation-duration:.4s;animation-delay:80ms}#book .ornament-outline{animation-duration:.4s;animation-delay:120ms}
 #book{transition:opacity .1s ease,translate .1s ease}.page-exit{transform:none;translate:0 -5px}
}
/* Mobile is a separate portrait composition, desktop keeps 16:9. */
@media(max-width:760px){
 #book article{width:630px;height:960px;padding:40px 42px 50px;font-size:28px}
 #book article h2{font-size:42px;line-height:1.4;margin:12px 0 22px}
 #book article .eyebrow{font-size:20px;letter-spacing:1px}
 #book .folio{font-size:18px;bottom:18px;inset-inline-end:26px}
 #book .product{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:30px 36px 50px}
 #book .product .main-photo{width:100%;height:330px;min-height:0;margin:0;flex:0 0 330px}
 #book .product .product-body{padding:25px 10px 0;flex:0 0 auto}
 #book .product h2{font-size:42px;margin:12px 0 20px}
 #book .product ul{font-size:28px;line-height:1.7}
 #book .product li{padding-inline-start:22px;margin:6px 0}
 #book .product li::before{width:8px;height:8px}
 #book .product .second-photo{width:175px;height:125px;margin-top:22px}
 #book .product-number{font-size:130px;top:18px;inset-inline-end:0}
 #book .cover{display:flex;flex-direction:column;gap:0;padding:45px 45px 65px;justify-content:center}
 #book .cover img{width:100%;height:500px;min-height:0;flex:0 1 500px;margin:0}
 #book .cover .cover-text{padding:35px 5px 15px!important;flex:none}
 #book .cover h2{font-size:50px}#book .cover p{font-size:32px}
 #book .about-page{display:flex;flex-direction:column;gap:0;padding:35px 42px 50px}
 #book .about-page>h2{margin:10px 0 18px}
 #book .about-page>.about-img{width:100%;height:180px!important;margin:0 0 14px;flex:none}
 #book .about-page>.intro{font-size:27px;line-height:1.65;margin:6px 0 18px;flex:none}
 #book .about-page>.about-img:last-of-type{height:150px!important;margin:0;align-self:auto}
 #book .samples-page{padding:32px 32px 48px}
 #book .samples-page h2{margin-bottom:20px}
 #book .sample-grid{grid-template-columns:repeat(3,1fr);gap:12px}
 #book .sample-grid>div{padding:7px}
 #book .sample-grid img{height:90px}
 #book .sample-grid span{font-size:20px;line-height:1.35;min-height:55px;padding:5px 0}
 #book .spec-page{padding:35px 24px 48px}
 #book .spec-page h2{font-size:38px;margin-bottom:22px}
 #book table{font-size:20px}
 #book th,#book td{padding:10px 5px;line-height:1.4;overflow-wrap:anywhere}
 #book th:first-child{width:24%}
 #book .contact-page{padding:35px 42px 50px}
 #book .contact-page .contact-photo{position:relative;inset:auto;width:calc(100% + 84px);height:315px;margin:-35px -42px 30px;object-fit:cover}
 #book .contact-page p{font-size:28px;line-height:1.7;margin:15px 0 22px}
 #book .contact-page a{font-size:28px;margin:18px 0;padding-bottom:10px}
 #book .ornament{width:200px;height:200px}.ornament-solid{bottom:-130px}.ornament-outline{bottom:-110px}
 #viewer header{padding:0 12px;gap:8px}#viewer header button{font-size:12px;padding:6px 9px}
 #viewer footer{gap:12px}#viewer footer button{font-size:14px;padding:9px 12px}
}
@media(max-width:760px){
 #book .sample-grid img{height:70px}
 #book .sample-grid span{min-height:52px}
 #book .contact-page .contact-photo{height:260px}
 #book .spec-page table{font-size:18px}
 #book .spec-page th,#book .spec-page td{padding:8px 5px}
}
/* Dense content owns its full safe area; ornaments never cover it. */
#book .about-page .ornament,#book .samples-page .ornament,#book .spec-page .ornament,#book .contact-page .ornament{display:none}
#book .about-page::before,#book .samples-page::before,#book .spec-page::before,#book .contact-page::before{display:none}
#book .product-number{display:none}
#book .product-body{isolation:isolate}
#viewer footer{display:grid;grid-template-columns:110px 70px 110px;justify-content:center;gap:12px;align-items:center}
#viewer footer button{width:100%;height:42px;min-height:42px;white-space:nowrap;line-height:1;padding:0 10px;text-align:center}
#counter{white-space:nowrap;text-align:center;line-height:1}
@media(max-width:760px){
 #viewer footer{grid-template-columns:minmax(80px,110px) 64px minmax(80px,110px);gap:10px;padding-inline:12px}
 #viewer footer button{font-size:14px}
 #book .samples-page{padding:32px 32px 48px}
 #book .samples-page h2{font-size:36px;margin:0 0 18px;line-height:1.4}
 #book .sample-grid{height:770px;grid-template-rows:repeat(5,minmax(0,1fr));gap:10px;align-items:stretch}
 #book .sample-grid>div{display:flex;flex-direction:column;min-width:0;min-height:0;padding:6px;overflow:hidden}
 #book .sample-grid img{height:62px;flex:0 0 62px;width:100%;object-fit:cover}
 #book .sample-grid span{font-size:18px;line-height:1.25;min-height:0;padding:5px 0 3px;flex:1;overflow-wrap:break-word}
 #book .spec-page{padding:30px 22px 44px}
 #book .spec-page h2{font-size:34px;line-height:1.4;margin:0 0 18px}
 #book .spec-page table{font-size:17px;table-layout:fixed}
 #book .spec-page th,#book .spec-page td{padding:6px 4px;line-height:1.25;overflow-wrap:normal;word-break:normal;vertical-align:middle}
 #book .spec-page th:first-child{width:26%}
 #book .spec-page th:nth-child(4){width:18%}
 #book .spec-page th:nth-child(2){width:15%}
 #book .spec-page th:nth-child(3){width:15%}
 #book .spec-page th:nth-child(5),#book .spec-page th:nth-child(6){width:13%}
 #book .about-page{padding:30px 42px 48px}
 #book .about-page h2{margin:8px 0 16px}
 #book .about-page>.about-img{height:155px!important;flex:0 0 155px}
 #book .about-page>.intro{font-size:25px;line-height:1.6;margin:8px 0 18px}
 #book .about-page>.about-img:last-of-type{height:125px!important;flex:0 0 125px}
 #book .product .ornament{opacity:.35}
 #book .product .product-body{padding-top:22px}
 #book .product .main-photo{height:300px;flex-basis:300px}
 #book .product .second-photo{height:100px;width:150px;margin-top:18px}
 #book .product h2{font-size:40px;margin:12px 0 18px}
 #book .product ul{font-size:26px;line-height:1.6}
}
