/* ==========================================================================
   QUIÉTUDE — trang chủ mobile
   Dựng theo handoff "quietude-mobile-homepage-dev-package" v1.0
   + hướng animation "frame expansion + project reveal" (Trang chốt 04/09).
   Screen 02 dùng bố cục cũ: ảnh dự án lớn, tên đè lên ảnh.
   ========================================================================== */

/* ---------- Font ---------- */
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap; /* không để browser thay tạm bằng Arial/Helvetica */
  src: url("demo-v3/assets/fonts/worksans-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("demo-v3/assets/fonts/worksans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("demo-v3/assets/fonts/worksans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}


:root{--paper:#f3eee5;--paper-ivory:#f3eee5;--paper-sand:#f1ece7;--paper-mid:#f3eee5;--ink:#443d39;--ink-soft:#625f5d;--ink-faint:#625f5d;--wine:#702a1f;--wine-deep:#702a1f;--gold:#625f5d;--display:"Work Sans",sans-serif;--accent:"Work Sans",sans-serif;--body:"Work Sans",sans-serif;--maxw:1200px;--section-y:88px}
html{scroll-padding-top:100px;background:#f3eee5}body{background:#f3eee5;color:#443d39;font-family:"Work Sans",sans-serif;font-weight:400;line-height:1.75}body::before{display:none}body::after{display:none}h1,h2,h3,h4{font-family:inherit;font-weight:400;letter-spacing:-.025em;line-height:1.2}em{font-family:inherit;font-style:normal;color:inherit}h2{font-size:clamp(28px,3.5vw,44px)}h3{font-size:22px;line-height:1.35;margin:0 0 16px}p{font-size:16px}a,button,input,textarea,select{font-family:inherit}a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid #702a1f;outline-offset:5px}
.q-skip{position:fixed;top:-100px;left:20px;z-index:110;background:#f3eee5;padding:12px}.q-skip:focus{top:12px}
.q-header{position:sticky;top:0;z-index:80;min-height:80px;padding:18px max(24px,calc((100vw - 1120px)/2));display:flex;justify-content:space-between;align-items:center;gap:24px;background:#f3eee5;border-bottom:1px solid #d9cfc6}
.q-wordmark{font-size:18px;letter-spacing:.16em;white-space:nowrap;text-decoration:none;color:#443d39}.q-header nav{display:flex;gap:30px;align-items:center}.q-header nav a{font-size:13px;color:#443d39;text-decoration:none;padding:8px 0}.q-header nav a:last-child{color:#702a1f}.q-header nav a:hover{text-decoration:underline;text-underline-offset:5px}.q-menu{background:none;border:0;font-size:12px;letter-spacing:.12em;min-width:48px;min-height:44px;color:#443d39;cursor:pointer}
.page-hero{padding-top:64px;padding-bottom:64px;background:linear-gradient(115deg,rgba(243,238,229,.97) 35%,rgba(243,238,229,.76)),url('demo-v3/assets/background/nacre-desktop-sharp.png') right top/836px 470px repeat;border-bottom:1px solid #d9cfc6}.page-hero h1{font-size:clamp(36px,4.8vw,62px);max-width:23ch;line-height:1.14;margin:24px 0}.page-hero .lede{max-width:720px;font-size:18px;line-height:1.7}.crumb{font-size:11px;letter-spacing:.07em;line-height:1.6}.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:500;color:#625f5d}.head-block{max-width:800px}.head-block .lede{font-size:17px;line-height:1.75}.btn{border-radius:0;min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;font-size:13px;line-height:1.5;white-space:normal;text-align:center}.btn-primary{background:#702a1f;color:#f3eee5;border-color:#702a1f}.btn-primary:hover{background:#562218}.btn-ghost{border-color:#9b897d;color:#443d39;background:transparent}.band{background:#ebe4db}.pack,.why-item,.contact-card,.formbox{box-shadow:none;border-color:#d9cfc6}.pack{display:flex;flex-direction:column;align-items:flex-start}.pack .btn{margin-top:auto}.pack ul{margin-bottom:28px}.pack h3{font-size:25px}.step h3{font-size:22px}.aud h3{font-size:24px}.project-card h3{font-size:30px}.compare-scroll{border:1px solid #d9cfc6}.compare-note{color:#625f5d}.field label{font-size:13px}.field input,.field textarea,.field select{font-size:16px!important;min-height:48px}.formbox textarea{min-height:120px}.formbox .btn{min-height:50px}.hero-mark{display:none}.policy-page .page-hero h1{max-width:22ch}.policy-page .statement{font-size:16px}.policy-page .statement h2{font-size:24px;margin:36px 0 14px!important}.policy-page .statement h2:first-child{margin-top:0!important}.policy-page .statement a{color:#702a1f!important;text-decoration:underline;text-underline-offset:3px}.policy-page main>section:last-child{padding-top:56px}.thanks{padding:90px 0}.thanks h1{max-width:20ch;margin-inline:auto}.thanks .lede{font-size:17px;line-height:1.75}.thanks .cta-row{gap:14px}
/* Project pages share one editorial rhythm. */
.case-page main{max-width:1280px;margin:0 auto}.case-page section{padding-block:0}.case-hero{padding:64px 48px 48px!important;display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}.case-hero h1{font-size:clamp(44px,5vw,72px);line-height:1.05;letter-spacing:-.04em;margin:28px 0}.case-hero h1 span{display:block}.case-lead{font-size:18px;line-height:1.8;color:#625f5d;max-width:490px}.case-hero__image{width:100%;height:620px;max-height:72svh;object-fit:cover;border-radius:180px 180px 6px 6px}.case-jump{display:inline-block;color:#702a1f;font-size:13px;margin-top:24px;text-decoration:underline;text-underline-offset:6px}.case-scope{margin:0 48px;padding:28px 0!important;border-top:1px solid #cfc1b5;border-bottom:1px solid #cfc1b5}.case-scope p{margin:0}.case-scope .eyebrow{margin-bottom:12px}.case-scope .case-note{font-size:13px;margin-top:10px;color:#625f5d}.case-story{padding:88px 48px 64px!important;display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}.case-story h2{font-size:clamp(28px,3.2vw,42px);line-height:1.25;margin:18px 0}.case-story p{max-width:570px;margin:0 0 18px}.case-story>div:nth-child(2){padding-top:38px}.case-page figure{margin:0}.case-page figcaption{font-size:13px;line-height:1.65;color:#625f5d;margin-top:14px}.case-page .case-map{margin:0 48px 56px;padding:32px;background:#eee7de}.case-map img{display:block;width:100%;height:auto;max-height:600px;object-fit:contain}.case-map figcaption{text-align:center}.case-images{padding:24px 48px 48px!important}.case-images h2{margin:18px 0 40px}.case-gallery{display:grid;grid-template-columns:1fr 1fr;gap:36px 28px}.case-gallery figure:first-child{grid-column:1/-1}.case-gallery img{display:block;width:100%;height:490px;object-fit:cover;border-radius:4px}.case-gallery figure:first-child img{height:auto;max-height:720px;object-fit:contain;background:#eee7de}.case-page .case-ending{margin:0 48px 70px}.case-ending img{display:block;width:100%;height:540px;object-fit:cover;border-radius:4px}.case-next{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;padding:32px 48px;margin:0 48px;border-top:1px solid #cfc1b5;border-bottom:1px solid #cfc1b5;text-decoration:none;color:#443d39}.case-next span:first-child{grid-column:1;font-size:11px;letter-spacing:.12em}.case-next strong{grid-column:1;font-size:32px;font-weight:400;line-height:1.2}.case-next span:last-child{grid-column:2;grid-row:1/3;font-size:36px;color:#702a1f}.case-contact{padding:80px 48px!important;text-align:center}.case-contact h2{margin:20px 0}.case-contact>p:not(.eyebrow){max-width:610px;margin:0 auto 28px}.case-contact .cta-row{justify-content:center;gap:16px}
@media(max-width:899px){.q-header{min-height:72px;flex-wrap:wrap;padding:14px 24px;gap:0}.q-header nav{width:100%;flex-wrap:wrap;gap:16px}.q-header.q-header--enhanced nav{display:none;padding:20px 0 8px;flex-direction:column;align-items:flex-start;gap:8px}.q-header.q-header--enhanced nav.is-open{display:flex}.q-header nav a{font-size:15px;padding:10px 0}.q-menu:not([hidden]){display:block}.q-wordmark{font-size:16px}.case-hero{gap:32px;padding:40px 24px!important}.case-hero h1{font-size:48px}.case-hero__image{height:480px}.case-story{padding:56px 24px!important;gap:32px}.case-scope{margin:0 24px}.case-gallery img{height:350px}.case-images{padding:24px!important}.case-page .case-map,.case-page .case-ending{margin-left:24px;margin-right:24px}.case-next{margin:0 24px;padding:24px 0}.case-next strong{font-size:28px}}
@media(max-width:599px){:root{--section-y:56px;--gutter:24px}.page-hero{padding:38px 0 40px}.page-hero h1{font-size:36px;max-width:17ch}.page-hero .lede{font-size:16px}.head-block .lede{font-size:16px}.case-hero{grid-template-columns:1fr;padding-top:34px!important;gap:32px}.case-hero h1{font-size:48px;margin:22px 0}.case-hero__image{height:450px;max-height:65svh;border-radius:140px 140px 4px 4px}.case-lead{font-size:16px}.case-story{grid-template-columns:1fr;gap:8px}.case-story>div:nth-child(2){padding-top:0}.case-story h2{font-size:32px}.case-page .case-map{padding:14px;margin-bottom:34px}.case-gallery{gap:28px 16px}.case-gallery figure{grid-column:1/-1}.case-gallery img{height:auto;max-height:520px;object-fit:contain}.case-images h2{font-size:30px}.case-ending img{height:360px}.case-contact{padding:56px 24px!important}.case-contact .cta-row{align-items:stretch}.case-contact h2{font-size:32px}.pack h3{font-size:24px}.thanks{padding:56px 0}.policy-page .statement h2{font-size:22px}.case-scope p{font-size:15px}.case-scope .eyebrow{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
@media(min-width:900px){.q-menu{display:none}}
@media(min-width:900px){:root{--maxw:1280px;--gutter:48px}.q-header{padding-inline:max(24px,calc((100vw - 1184px)/2))}}
/* A consistent quiet arrival across pointer and touch screens. */
.q-reveal.q-in-view{animation:q-arrive 850ms cubic-bezier(.2,.65,.3,1) both}
@keyframes q-arrive{from{opacity:.35;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
.package-controls{display:none}.mobile-comparison[hidden],.compare-scroll[hidden]{display:none!important}
/* Project imagery follows an editorial sequence: overview, space, detail. */
.case-gallery{grid-template-columns:repeat(12,minmax(0,1fr));gap:72px 28px;align-items:start}
.case-gallery figure:first-child{grid-column:1/10;margin:0}
.case-gallery figure:first-child img{width:100%;height:640px;max-height:none;object-fit:cover;border-radius:2px}
.case-gallery figure:nth-child(2){grid-column:2/7;margin:0}
.case-gallery figure:nth-child(3){grid-column:8/13;margin:160px 0 0}
.case-gallery figure:nth-child(2) img{height:auto;aspect-ratio:3/4;object-fit:cover}
.case-gallery figure:nth-child(3) img{height:auto;aspect-ratio:4/5;object-fit:cover}
.case-page figcaption{max-width:38ch;padding-left:16px;border-left:1px solid #b7a494;font-size:13px;line-height:1.7;margin-top:18px}
.case-page .case-map{background:none;padding:0;margin:0 auto 72px;max-width:820px;width:calc(100% - 96px)}
.case-map img{max-height:560px}.case-map figcaption{text-align:left;margin:18px auto 0}
.case-page .case-ending{width:66%;margin:24px auto 96px}.case-ending img{height:auto;max-height:640px;object-fit:cover}
.mobile-comparison{border-top:1px solid #cfc1b5}
.mobile-comparison details{border-bottom:1px solid #cfc1b5;background:transparent;padding:0}
.mobile-comparison summary{padding:20px 32px 20px 0;font-size:16px;line-height:1.5;cursor:pointer;position:relative;list-style:none}
.mobile-comparison summary::-webkit-details-marker{display:none}
.mobile-comparison summary:after{content:'+';position:absolute;right:4px;top:18px;font-size:22px;color:#702a1f}
.mobile-comparison details[open] summary:after{content:'−'}
.mobile-comparison dl{margin:0 0 22px;background:#ece5dc;padding:8px 18px}
.mobile-comparison dl>div{padding:14px 0;border-bottom:1px solid #d9cfc6}.mobile-comparison dl>div:last-child{border:0}
.mobile-comparison dt{font-size:11px;font-weight:500;letter-spacing:.06em;color:#625f5d;margin-bottom:6px}
.mobile-comparison dd{margin:0;font-size:15px;line-height:1.65;color:#443d39}
@media(max-width:720px){
.package-rail{display:flex!important;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;align-items:stretch;padding:8px 0 18px;margin-right:-24px;scroll-padding-left:0}
.package-rail::-webkit-scrollbar{display:none}
.package-rail>.pack{flex:0 0 calc(100% - 46px);min-width:0;scroll-snap-align:start;padding:32px 24px 26px;border-radius:28px 28px 4px 4px;border:1px solid #cdbbac;background:linear-gradient(155deg,#f8f4ed,#e9e0d5);box-shadow:0 8px 20px rgba(68,61,57,.04);position:relative;overflow:hidden}
.package-rail>.pack:last-child{margin-right:46px}
.package-rail .pack-tier{font-size:12px;letter-spacing:.16em;margin:0 0 22px;color:#846b59}
.package-rail .pack h3{font-size:30px;line-height:1.12;letter-spacing:-.035em;margin-bottom:24px}
.package-rail .pack p,.package-rail .pack li{font-size:14px;line-height:1.75}
.package-rail .pack li{padding-block:5px}.package-rail .pack ul{margin-bottom:30px}
.package-rail .pack .btn{width:100%;margin-top:auto;background:#702a1f;color:#f3eee5;border-color:#702a1f}
.package-controls{display:flex;gap:12px;align-items:center;margin-top:8px;margin-bottom:26px}
.package-count{font-size:12px;letter-spacing:.12em;min-width:58px}.package-hint{font-size:10px;letter-spacing:.1em;color:#625f5d;margin-right:auto}
.package-controls button{border:1px solid #bba797;background:transparent;border-radius:50%;width:44px;height:44px;font-size:20px;color:#443d39;cursor:pointer}
.package-controls button:disabled{opacity:.3;cursor:default}
.case-gallery{grid-template-columns:repeat(12,minmax(0,1fr));gap:40px 0}
.case-gallery figure:first-child{grid-column:1/-1;margin-inline:-24px}
.case-gallery figure:first-child img{height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:0}
.case-gallery figure:first-child figcaption{margin-left:24px;margin-right:24px}
.case-gallery figure:nth-child(2){grid-column:1/11;margin:0}
.case-gallery figure:nth-child(3){grid-column:3/-1;margin:0}
.case-gallery figure:nth-child(2) img,.case-gallery figure:nth-child(3) img{max-height:none;height:auto;aspect-ratio:3/4;object-fit:cover}
.case-page .case-map{width:calc(100% - 48px);margin:0 24px 44px;padding:0}
.case-page .case-ending{width:calc(100% - 80px);margin:16px 40px 56px}.case-ending img{height:auto;aspect-ratio:4/5;object-fit:cover}
}
@media(prefers-reduced-motion:reduce){.q-reveal.q-in-view{animation:none!important}.package-rail{scroll-behavior:auto}}
.package-inclusions{border:0;padding:0;background:none;width:100%;margin:0 0 24px}.package-inclusions summary{display:none}
@media(max-width:720px){.package-inclusions summary{display:block;cursor:pointer;font-size:13px;color:#702a1f;padding:14px 0;border-top:1px solid #cdbbac;list-style:none}.package-inclusions summary::after{content:' +';float:right}.package-inclusions[open] summary::after{content:' −'}.package-inclusions ul{margin-top:10px}.package-rail .pack .price{font-size:22px}.package-rail .pack .price-sub{font-size:12px}.package-rail .pack h3{min-height:68px}}
/* Compact service hierarchy: decisions first, specifications on demand. */
.steps .step{padding:20px 0;display:grid;grid-template-columns:32px 1fr;gap:8px 12px;align-content:start}
.steps .step-no{grid-column:1;grid-row:1/3;margin:2px 0;font-size:12px;letter-spacing:.05em}
.steps .step h3{grid-column:2;margin:0;font-size:21px}.steps .step p{grid-column:2;margin:0;font-size:14px;line-height:1.65}
.section-disclosure{border-top:1px solid #cfc1b5;border-bottom:1px solid #cfc1b5;background:none;padding:0}
.section-disclosure>summary{font-size:clamp(20px,2vw,28px);line-height:1.35;padding:24px 36px 24px 0;cursor:pointer;list-style:none;position:relative}
.section-disclosure>summary:after{content:'+';position:absolute;right:4px;top:22px;color:#702a1f}
.section-disclosure[open]>summary:after{content:'−'}.section-disclosure__body{padding:12px 0 28px}
section:has(>.wrap>.section-disclosure){padding-block:24px}
.package-pagination{display:flex;gap:6px;margin-right:auto}.package-pagination button{border-radius:0;width:40px;height:40px;font-size:12px;border:0;border-bottom:2px solid #cdbbac;background:none}
.package-pagination button[aria-current=true]{border-color:#702a1f;background:#e6d8cb;color:#702a1f}
@media(max-width:720px){
:root{--section-y:40px}
.head-block{margin-bottom:24px}.head-block h2{font-size:28px;line-height:1.2}.head-block .lede{font-size:15px;line-height:1.6}
.package-controls{margin:20px 0 12px;gap:8px}.package-hint{font-size:9px;margin-right:4px}.package-controls>button{width:36px;height:36px;min-width:36px}
.package-pagination button{border-radius:0!important;font-size:12px!important}
.package-rail{align-items:flex-start;padding-top:0}.package-rail>.pack{height:auto;min-height:0;padding:24px;border-radius:18px 18px 3px 3px;gap:0;margin-bottom:0}
.package-rail .pack h3{min-height:0;margin:0 0 16px;font-size:28px;line-height:1.12}
.package-rail .pack-tier{margin:0 0 18px;font-size:10px}.package-rail .pack .price{font-size:13px;line-height:1.5;letter-spacing:.02em;margin:0 0 4px}
.package-rail .pack .price-note{font-size:11px;margin:0 0 16px}.package-rail .pack>p:not(.pack-tier):not(.price-note){font-size:14px;margin:0 0 18px;line-height:1.65}
.package-rail .pack .btn{margin-top:4px!important;min-height:44px}.package-inclusions{margin-bottom:16px}
.package-inclusions summary{padding:12px 0;font-size:12px}.package-rail .price-lines{margin:18px 0 8px;font-size:12px}
.steps{display:block}.steps .step{padding:16px 0;gap:6px 10px}.steps .step h3{font-size:19px}.steps .step p{font-size:14px;line-height:1.55}
.case-story{padding-block:40px!important}.case-story h2{font-size:28px}.case-story p{font-size:15px;line-height:1.7}.case-gallery{gap:30px 0}.case-gallery figure:first-child img{aspect-ratio:1/1}.case-gallery figure:nth-child(2) img,.case-gallery figure:nth-child(3) img{aspect-ratio:4/5}.case-contact{padding-block:40px!important}
.policy-page main>section:last-child{padding-top:32px}.policy-page .statement p{font-size:15px;line-height:1.7}
}
