:root{--c-primary:#7a3e1d;--c-accent:#e8a33d;--c-bg:#ffffff;--c-surface:#f6ede1;--c-text:#2a1a10;--c-muted:#6e5a4b;--c-border:#ead9c4;--c-on-primary:#ffffff;--f-heading:'Playfair Display',system-ui,sans-serif;--f-body:'Be Vietnam Pro',system-ui,sans-serif;--radius:14px;--shadow:0 10px 30px -12px rgba(15,23,42,.18);--maxw:1180px}
/* AI Website Studio — base stylesheet. Tokens come from :root (design), theme.css overrides at the end. */
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--f-body);color:var(--c-text);background:var(--c-bg);line-height:1.6;font-size:16px;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--c-primary);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{font-family:var(--f-heading);line-height:1.15;margin:0 0 .5em;letter-spacing:-.01em;text-wrap:balance}
p{text-wrap:pretty}
h1{font-size:clamp(2rem,4.6vw,3.6rem);font-weight:800}
h2{font-size:clamp(1.5rem,2.8vw,2.2rem);font-weight:750}
h3{font-size:1.1rem;font-weight:700}
p{margin:0 0 1em}
.wrap{width:min(100% - 2.5rem,var(--maxw));margin-inline:auto}
.narrow{width:min(100% - 2.5rem,760px);margin-inline:auto}
.center{text-align:center}
.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;z-index:99;background:#fff;padding:.5rem 1rem}
:focus-visible{outline:3px solid color-mix(in srgb,var(--c-primary) 60%,transparent);outline-offset:2px}

/* header */
.site-header{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--c-bg) 86%,transparent);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--c-border)}
.hdr{display:flex;align-items:center;gap:1.5rem;min-height:68px}
.brand{display:flex;align-items:center;gap:.6rem;font-family:var(--f-heading);font-weight:800;font-size:1.15rem;color:var(--c-text)}
.brand:hover{text-decoration:none}
.logo-img{height:38px;width:auto}
.logo-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:calc(var(--radius) * .7);background:var(--c-primary);color:var(--c-on-primary);font-weight:800}
.nav{display:flex;gap:.25rem;margin-left:auto}
.nav a{color:var(--c-text);padding:.5rem .8rem;border-radius:999px;font-weight:550;font-size:.95rem}
.nav a:hover,.nav a[aria-current]{background:var(--c-surface);text-decoration:none}
.hdr-actions{display:flex;align-items:center;gap:.6rem}
.hdr-phone{font-weight:650;color:var(--c-text);font-size:.92rem}
.cart-btn{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:999px;color:var(--c-text);background:var(--c-surface)}
.cart-btn b{position:absolute;top:-2px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--c-accent);color:#111;font-size:.72rem;display:grid;place-items:center}
.cart-btn b:empty,.cart-btn b[data-zero]{display:none}
.menu-btn{display:none;border:0;background:var(--c-surface);width:44px;height:44px;border-radius:999px;font-size:1.2rem;cursor:pointer;color:var(--c-text)}
@media (max-width:880px){
 .menu-btn{display:block}.hdr-phone{display:none}
 .nav{position:absolute;inset:68px 0 auto 0;flex-direction:column;background:var(--c-bg);padding:.75rem 1.25rem 1.25rem;border-bottom:1px solid var(--c-border);display:none}
 .nav.open{display:flex}.hdr-actions{margin-left:auto}
}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:0;cursor:pointer;background:var(--c-primary);color:var(--c-on-primary);font:inherit;font-weight:650;padding:.75rem 1.25rem;border-radius:calc(var(--radius) * .8);transition:transform .15s,box-shadow .15s,background .15s}
.btn:hover{text-decoration:none;transform:translateY(-1px);box-shadow:var(--shadow)}
.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}
.btn-sm{padding:.45rem .85rem;font-size:.88rem}
.btn-lg{padding:.95rem 1.6rem;font-size:1.02rem}
.btn-block{width:100%}
.btn-ghost{background:transparent;color:var(--c-text);box-shadow:inset 0 0 0 1.5px var(--c-border)}
.btn-light{background:#fff;color:#111}
.btn-outline-light{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6)}

/* hero */
.hero{padding:clamp(3rem,8vw,6.5rem) 0;background:radial-gradient(1200px 500px at 85% -10%,color-mix(in srgb,var(--c-primary) 14%,transparent),transparent 60%),var(--c-bg)}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.hero-centered .hero-grid{grid-template-columns:1fr;text-align:center;max-width:860px}
.hero-centered .hero-cta{justify-content:center}
.hero-full{position:relative;min-height:min(86vh,760px);display:flex;align-items:center;color:#fff;background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.45) 55%,rgba(0,0,0,.2)),var(--hero-img) center/cover no-repeat}
.hero-full .hero-grid{grid-template-columns:minmax(0,640px)}
.hero-full .lead{color:rgba(255,255,255,.88)}
.hero-full .hero-points{color:rgba(255,255,255,.94)}
.hero-full .hero-points li::before{color:var(--c-accent)}
.hero-full .eyebrow{color:rgba(255,255,255,.95)}.hero-full .eyebrow::before{background:var(--c-accent)}
.hero-full .btn-ghost{color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6)}
.eyebrow{display:inline-flex;align-items:center;gap:.6rem;font-size:.92rem;font-weight:600;color:var(--c-primary);margin-bottom:.9rem}.eyebrow::before{content:"";flex:none;width:1.9rem;height:2px;border-radius:2px;background:var(--c-accent)}
.lead{font-size:clamp(1.05rem,1.6vw,1.25rem);color:color-mix(in srgb,var(--c-muted) 55%,var(--c-text));max-width:56ch;text-wrap:pretty}
.hero-cta{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.75rem}
.hero-points{list-style:none;padding:0;margin:1.75rem 0 0;display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;color:var(--c-muted);font-size:.95rem}
.hero-points li::before{content:"✓";color:var(--c-primary);font-weight:800;margin-right:.4rem}
.hero-media img{width:100%;aspect-ratio:4/3.4;object-fit:cover;border-radius:calc(var(--radius) * 1.6);box-shadow:var(--shadow)}
@media (max-width:880px){.hero-grid{grid-template-columns:1fr}.hero-media{order:-1}}

/* sections */
.sec{padding:clamp(2.75rem,6vw,5rem) 0}
.sec:nth-of-type(even):not(.cta-band):not(.hero){background:var(--c-surface)}
.sec-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.75rem}
.sec-head p{color:var(--c-muted);margin:0}
.more{font-weight:650;white-space:nowrap}
.page-head{padding:clamp(2.25rem,5vw,3.75rem) 0 1.25rem;background:var(--c-surface);border-bottom:1px solid var(--c-border)}
.page-head p{color:var(--c-muted);margin:0}

.grid{display:grid;gap:clamp(.9rem,2vw,1.4rem)}
.grid.products{grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr))}
.grid.services{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.grid.posts{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.grid.quotes{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}

.card{background:var(--c-bg);border:1px solid var(--c-border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.card.pad{padding:clamp(1.1rem,2.5vw,1.75rem)}
.product-card:hover,.post-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.card-media{position:relative;display:block;aspect-ratio:1/1;background:var(--c-surface);overflow:hidden}
.post-card .card-media{aspect-ratio:16/9}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.card:hover .card-media img{transform:scale(1.04)}
.ph{display:grid;place-items:center;width:100%;height:100%;font-size:2.5rem;font-weight:800;color:color-mix(in srgb,var(--c-primary) 45%,transparent);background:linear-gradient(135deg,var(--c-surface),color-mix(in srgb,var(--c-primary) 10%,var(--c-surface)))}
.ph.big{aspect-ratio:1/1;border-radius:var(--radius)}
.badge{display:inline-block;background:var(--c-accent);color:#111;font-size:.72rem;font-weight:750;padding:.2rem .55rem;border-radius:999px;margin:0 .3rem .4rem 0}
.card-media .badge{position:absolute;top:.6rem;left:.6rem}
.card-body{padding:1rem 1.1rem 1.15rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.card-body h3{margin:0}.card-body h3 a{color:var(--c-text)}
.card-body p{color:var(--c-muted);font-size:.92rem;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-body time{font-size:.8rem;color:var(--c-muted)}
.card-foot{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:auto;padding-top:.6rem}
.soldout{opacity:.6}
.price{display:flex;align-items:baseline;flex-wrap:wrap;gap:.1rem .45rem}
.price b{font-size:1.08rem;color:var(--c-text)}
.price small{color:var(--c-muted)}
.price s{color:var(--c-muted);font-size:.88rem}
.price .off{font-style:normal;color:#c2410c;font-weight:700;font-size:.85rem}

.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chip{border:1px solid var(--c-border);background:var(--c-bg);color:var(--c-text);padding:.45rem .95rem;border-radius:999px;font:inherit;font-size:.9rem;cursor:pointer;display:inline-flex;align-items:center;gap:.5rem}
.chip.active,.chip:hover{border-color:var(--c-primary);color:var(--c-primary);text-decoration:none}
.chips.big .chip{padding:.6rem 1.1rem;font-weight:600}
.chips.big .chip img{width:34px;height:34px;border-radius:50%;object-fit:cover}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}
.tools{display:flex;gap:.5rem}
input,select,textarea{font:inherit;color:var(--c-text);background:var(--c-bg);border:1px solid var(--c-border);border-radius:calc(var(--radius) * .7);padding:.65rem .8rem;width:100%}
.tools input,.tools select{width:auto}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--c-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--c-primary) 18%,transparent)}
.empty{color:var(--c-muted);text-align:center;padding:2rem 0}

/* about / stats / testimonials / faq / cta */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.about-grid img{border-radius:calc(var(--radius) * 1.4);aspect-ratio:5/4;object-fit:cover}
@media (max-width:820px){.about-grid{grid-template-columns:1fr}}
.stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;text-align:center}
.stat-row b{display:block;font-family:var(--f-heading);font-size:clamp(2rem,4vw,2.8rem);color:var(--c-primary)}
.stat-row span{color:var(--c-muted)}
.quote{padding:1.5rem}.quote blockquote{margin:0 0 1rem;font-size:1.02rem}
.quote figcaption{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.quote figcaption img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.quote figcaption span{color:var(--c-muted);font-size:.88rem}
.faq-list{display:grid;gap:.6rem;max-width:860px}
.faq-list details{border:1px solid var(--c-border);border-radius:var(--radius);background:var(--c-bg);padding:1rem 1.2rem}
.faq-list summary{font-weight:650;cursor:pointer}
.faq-list .prose{margin-top:.6rem}
.cta-band{background:var(--c-primary);color:var(--c-on-primary)}
.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap}
.cta-inner p{opacity:.9;margin:0}.cta-actions{display:flex;gap:.75rem;flex-wrap:wrap}

/* product detail */
.crumbs{font-size:.88rem;color:var(--c-muted);margin-bottom:1.25rem}.crumbs a{color:var(--c-muted)}
.pd-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(1.5rem,4vw,3.5rem);align-items:start}
@media (max-width:860px){.pd-grid{grid-template-columns:1fr}}
.gallery-main{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:var(--radius);background:var(--c-surface)}
.thumbs{display:flex;gap:.5rem;margin-top:.6rem;overflow-x:auto}
.thumbs button{border:2px solid transparent;padding:0;border-radius:calc(var(--radius) * .6);overflow:hidden;cursor:pointer;width:72px;flex:none;background:none}
.thumbs button.on{border-color:var(--c-primary)}.thumbs img{aspect-ratio:1;object-fit:cover}
.pd-info h1{font-size:clamp(1.7rem,3.4vw,2.5rem)}
.pd-info .price b{font-size:1.7rem;color:var(--c-primary)}
.stock{color:var(--c-muted);font-size:.92rem;margin:.5rem 0 0}
.buy{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.5rem 0}
.qty{display:flex;border:1px solid var(--c-border);border-radius:calc(var(--radius) * .8);overflow:hidden}
.qty button{border:0;background:var(--c-surface);width:42px;font-size:1.2rem;cursor:pointer;color:var(--c-text)}
.qty input{width:56px;border:0;border-radius:0;text-align:center}
.specs{width:100%;border-collapse:collapse;margin:1rem 0;font-size:.94rem}
.specs th,.specs td{text-align:left;padding:.55rem .25rem;border-bottom:1px solid var(--c-border)}.specs th{color:var(--c-muted);font-weight:550;width:40%}
.policies{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.4rem;color:var(--c-muted);font-size:.92rem}
.policies li::before{content:"✓ ";color:var(--c-primary);font-weight:800}
.pd-desc{margin-top:clamp(2rem,5vw,3.5rem);max-width:820px}
.rel-title{margin-top:3rem}

/* prose */
.prose{font-size:1.04rem}
.prose h2{font-size:1.55rem;margin-top:1.6em}.prose h3{font-size:1.25rem;margin-top:1.4em}
.prose img{border-radius:var(--radius);margin:1.25rem 0}
.prose blockquote{margin:1.25rem 0;padding:.25rem 1.1rem;border-left:4px solid var(--c-primary);color:var(--c-muted)}
.prose ul,.prose ol{padding-left:1.25rem}.prose li{margin:.25rem 0}
.prose .table{overflow-x:auto}.prose table{border-collapse:collapse;width:100%}
.prose th,.prose td{border:1px solid var(--c-border);padding:.5rem .7rem;text-align:left}
.post h1{font-size:clamp(1.9rem,4vw,2.9rem)}
.meta{color:var(--c-muted);font-size:.92rem}
.post-cover{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius);margin:1.25rem 0 1.75rem}
.sources{margin-top:2rem;padding:1rem 1.2rem;background:var(--c-surface);border-radius:var(--radius);font-size:.9rem}
.sources ul{margin:.4rem 0 0;padding-left:1.1rem}
.ai-note{font-size:.85rem;color:var(--c-muted);font-style:italic}

/* checkout */
.checkout{display:grid;grid-template-columns:1.25fr 1fr;gap:1.5rem;align-items:start}
@media (max-width:900px){.checkout{grid-template-columns:1fr}}
.line{display:grid;grid-template-columns:64px 1fr auto;gap:.9rem;align-items:center;padding:.85rem 0;border-bottom:1px solid var(--c-border)}
.line img,.line .ph{width:64px;height:64px;border-radius:calc(var(--radius) * .6);object-fit:cover;font-size:1.2rem}
.line .qty{display:inline-flex}.line .qty input{width:44px;padding:.35rem}.line .qty button{width:32px}
.line .rm{border:0;background:none;color:var(--c-muted);cursor:pointer;font-size:.85rem;padding:0;margin-left:.6rem}
.co-form{display:grid;gap:.85rem}.co-form h2{font-size:1.3rem;margin:0}
.co-form label{display:grid;gap:.3rem;font-weight:550;font-size:.92rem}
.hp{position:absolute;left:-5000px;width:1px;height:1px;opacity:0}
.pays{border:0;padding:0;margin:0;display:grid;gap:.4rem}.pays legend{font-weight:550;font-size:.92rem;margin-bottom:.3rem}
.pay{display:flex!important;align-items:center;gap:.6rem;border:1px solid var(--c-border);border-radius:calc(var(--radius) * .7);padding:.7rem .85rem;font-weight:500!important;cursor:pointer}
.pay input{width:auto}
.sum{display:grid;gap:.3rem;padding:.75rem 0;border-top:1px dashed var(--c-border)}
.sum div{display:flex;justify-content:space-between}.sum .total{font-size:1.2rem;font-weight:800}
.fine{font-size:.82rem;color:var(--c-muted);margin:0}
.done{text-align:center;max-width:640px;margin:0 auto}
.done .code{font-size:2rem;font-weight:800;letter-spacing:.12em;color:var(--c-primary)}
.qr{max-width:260px;margin:1rem auto;border-radius:var(--radius);border:1px solid var(--c-border)}
.lookup{display:grid;gap:.85rem}.lookup label{display:grid;gap:.3rem;font-weight:550}

/* contact */
.contact-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:1.5rem}
@media (max-width:820px){.contact-grid{grid-template-columns:1fr}}
.contact-list{list-style:none;padding:0;margin:0;display:grid;gap:1rem}.contact-list li{display:grid;gap:.15rem}.contact-list b{font-size:.85rem;color:var(--c-muted);font-weight:600}
.map{width:100%;min-height:340px;border:0;border-radius:var(--radius)}
.nf h1{font-size:5rem;color:var(--c-primary)}

/* footer */
.site-footer{position:relative;overflow:hidden;background:color-mix(in srgb,var(--c-text) 94%,var(--c-primary));color:rgba(255,255,255,.72);padding:4rem 0 0;margin-top:0}
.site-footer .brand{color:#fff}.site-footer a{color:rgba(255,255,255,.82);text-decoration:none;transition:color .15s}
.site-footer a:hover{color:#fff}
.foot{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:2rem}
@media (max-width:820px){.foot{grid-template-columns:1fr 1fr}}
.foot-brand p{margin:.75rem 0 0;max-width:34ch;opacity:.8;line-height:1.6}
.site-footer h4{color:#fff;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;opacity:.65;margin:0 0 1rem}
.site-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:.6rem;font-size:.93rem}
.foot-social a{display:inline-flex;align-items:center;gap:.3em}.foot-social .ext{font-size:.82em;opacity:.55}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem;border-top:1px solid rgba(255,255,255,.14);margin-top:3rem;padding-top:1.3rem;font-size:.82rem;opacity:.72}
@media (prefers-reduced-motion:no-preference){.site-footer a{transition:color .15s}}

.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,140%);background:var(--c-text);color:var(--c-bg);padding:.8rem 1.2rem;border-radius:999px;font-weight:600;box-shadow:var(--shadow);transition:transform .3s;z-index:60;max-width:90vw}
.toast.show{transform:translate(-50%,0)}
.toast:empty{display:none}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* ---------------------------------------------------------------- hero layouts (2026-11)
   diagonal  : image panel cut on a slant (clip-path) - only the picture is cut, never the text
   layered   : the copy sits on a card that overlaps the picture (grid areas), an accent block behind
   framed    : picture in a frame with an offset colour block behind it
   slider    : copy left, accessible scroll-snap carousel right
   slider-full: carousel fills the hero, copy on a dark scrim (contrast >= 4.5:1 for white text) */
.hero-diagonal{position:relative;overflow:hidden}
.hero-diagonal .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.hero-diagonal .hero-media{position:absolute;inset:0 0 0 auto;width:50%}
.hero-diagonal .hero-media img{width:100%;height:100%;aspect-ratio:auto;border-radius:0;box-shadow:none;clip-path:polygon(16% 0,100% 0,100% 100%,0 100%)}
.hero-diagonal .hero-media::before{content:"";position:absolute;inset:0 auto 0 -3%;width:22%;background:var(--c-accent);clip-path:polygon(72% 0,86% 0,14% 100%,0 100%);opacity:.9}
.hero-diagonal{min-height:min(78vh,680px);display:flex;align-items:center}

.hero-layered .hero-grid{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:auto;gap:0;align-items:center}
.hero-layered .hero-copy{grid-column:1 / 7;grid-row:1;position:relative;z-index:2;background:var(--c-bg);padding:clamp(1.5rem,3vw,2.75rem);border-radius:calc(var(--radius) * 1.4);box-shadow:0 24px 60px -24px rgba(0,0,0,.28)}
.hero-layered .hero-media{grid-column:5 / 13;grid-row:1;position:relative;isolation:isolate}
.hero-layered .hero-media::before{content:"";position:absolute;right:-1.25rem;bottom:-1.25rem;width:45%;height:55%;background:var(--c-accent);border-radius:calc(var(--radius) * 1.4);z-index:-1}
.hero-layered .hero-media img{aspect-ratio:5/4;box-shadow:none}

.hero-framed .hero-media{position:relative;isolation:isolate;padding:0 1.25rem 1.25rem 0}
.hero-framed .hero-media::before{content:"";position:absolute;inset:1.25rem 0 0 1.25rem;border-radius:calc(var(--radius) * 1.6);background:color-mix(in srgb,var(--c-primary) 18%,var(--c-bg));border:2px solid var(--c-primary)}
.hero-framed .hero-media img{position:relative;border:6px solid var(--c-bg);box-shadow:none}

/* carousel */
.hs{position:relative}
.hs-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:calc(var(--radius) * 1.6)}
.hs-track::-webkit-scrollbar{display:none}
.hs-track:focus-visible{outline:3px solid var(--c-accent);outline-offset:3px}
.hs-slide{flex:0 0 100%;margin:0;scroll-snap-align:start}
.hs-slide img{display:block;width:100%;aspect-ratio:4/3.4;object-fit:cover;border-radius:0;box-shadow:none}
.hs-ctrl{display:flex;align-items:center;gap:.35rem;margin-top:.75rem}
.hs-btn{display:grid;place-items:center;width:40px;height:40px;border-radius:999px;border:1px solid var(--c-border);background:var(--c-bg);color:var(--c-text);font-size:1.3rem;line-height:1;cursor:pointer}
.hs-btn:hover{border-color:var(--c-primary);color:var(--c-primary)}
.hs-btn:focus-visible,.hs-dot:focus-visible{outline:3px solid var(--c-accent);outline-offset:2px}
.hs-ico{width:12px;height:12px;display:block;border-left:4px solid currentColor;border-right:4px solid currentColor}
.hs-toggle[data-state="paused"] .hs-ico{border:0;border-left:11px solid currentColor;border-top:6px solid transparent;border-bottom:6px solid transparent;width:0;height:0;margin-left:3px}
.hs-dots{display:flex;gap:.1rem;margin:0 .25rem}
.hs-dot{width:24px;height:40px;border:0;background:transparent;padding:0;cursor:pointer;display:grid;place-items:center}
.hs-dot::before{content:"";width:8px;height:8px;border-radius:999px;background:var(--c-border);transition:width .2s,background .2s}
.hs-dot[aria-current="true"]::before{width:22px;background:var(--c-primary)}
.hero-slider .hs{box-shadow:var(--shadow);border-radius:calc(var(--radius) * 1.6)}
.hero-slider .hs-ctrl{position:absolute;left:.75rem;bottom:.75rem;margin:0;padding:.25rem;border-radius:999px;background:color-mix(in srgb,var(--c-bg) 88%,transparent);backdrop-filter:blur(6px)}

.hero-slider-full{position:relative;min-height:min(86vh,760px);display:flex;align-items:center;color:#fff;overflow:hidden;background:var(--c-text)}
.hero-slider-full .hero-bg{position:absolute;inset:0}
.hero-slider-full .hs,.hero-slider-full .hs-track{height:100%;border-radius:0}
.hero-slider-full .hs-slide img{height:100%;aspect-ratio:auto}
.hero-slider-full .hero-bg::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.45) 55%,rgba(0,0,0,.2))}
.hero-slider-full .hero-grid{position:relative;z-index:1;grid-template-columns:minmax(0,640px);pointer-events:none}
.hero-slider-full .hero-copy{pointer-events:auto}
.hero-slider-full .hs-ctrl{position:absolute;z-index:2;right:max(1rem,calc((100vw - 1180px) / 2));bottom:1.25rem;margin:0;padding:.25rem;border-radius:999px;background:rgba(0,0,0,.45)}
.hero-slider-full .hs-btn{background:transparent;border-color:rgba(255,255,255,.5);color:#fff}
.hero-slider-full .hs-dot::before{background:rgba(255,255,255,.55)}.hero-slider-full .hs-dot[aria-current="true"]::before{background:#fff}
.hero-slider-full .lead,.hero-slider-full .hero-points{color:rgba(255,255,255,.92)}
.hero-slider-full .eyebrow{color:#fff}.hero-slider-full .eyebrow::before{background:var(--c-accent)}
.hero-slider-full .btn-ghost{color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6)}
.hero-slider-full .hero-points li::before{color:var(--c-accent)}

@media (max-width:880px){
  .hero-diagonal{min-height:0;display:block}
  .hero-diagonal .hero-grid{grid-template-columns:1fr}
  .hero-diagonal .hero-media{position:relative;inset:auto;width:auto;order:-1;margin:calc(-1 * clamp(3rem,8vw,6.5rem)) calc(-1 * var(--gutter,1.25rem)) 0}
  .hero-diagonal .hero-media img{aspect-ratio:16/10;clip-path:polygon(0 0,100% 0,100% 84%,0 100%)}
  .hero-diagonal .hero-media::before{display:none}
  .hero-layered .hero-grid{grid-template-columns:1fr}
  .hero-layered .hero-copy,.hero-layered .hero-media{grid-column:1;grid-row:auto}
  .hero-layered .hero-media{order:-1}
  .hero-layered .hero-copy{margin:-3rem .75rem 0}
  .hero-slider-full .hs-ctrl{right:50%;transform:translateX(50%)}
}
@media (prefers-reduced-motion:reduce){.hs-track{scroll-behavior:auto}.hs-dot::before{transition:none}}

/* ---------------------------------------------------------------- phone overrides (Premium, design.mobile)
   Phone = max-width 599px (Material compact). Tablet keeps the PC design. */
.hero-m-media,.m-callbar{display:none}
@media (max-width:599px){
  .hero[class*="hero-m-"]{min-height:0;display:block;overflow:hidden}
  .hero[class*="hero-m-"] .hero-grid{grid-template-columns:1fr;gap:1.5rem;text-align:left}
  .hero[class*="hero-m-"] .hero-copy{grid-column:auto;grid-row:auto;margin:0;padding:0;background:transparent;box-shadow:none;border-radius:0}
  .hero[class*="hero-m-"] .hero-media{grid-column:auto;grid-row:auto;position:relative;inset:auto;width:auto;margin:0;padding:0;order:0}
  .hero[class*="hero-m-"] .hero-media::before{display:none}
  .hero[class*="hero-m-"] .hero-media img{aspect-ratio:4/3;clip-path:none;border:0}
  .hero[class*="hero-m-"] .hero-cta{justify-content:flex-start}
  .hero-m-media{display:block}
  .hero.hero-m-stack .hero-media{order:1}
  .hero.hero-m-image-top .hero-media{order:-1}
  .hero.hero-m-text-only .hero-media,.hero.hero-m-text-only .hero-bg{display:none}
  /* layouts with a full-bleed picture go back to page colours when the phone shows the picture separately */
  .hero-full:is(.hero-m-stack,.hero.hero-m-image-top,.hero.hero-m-text-only),.hero-slider-full:is(.hero-m-stack,.hero.hero-m-image-top,.hero.hero-m-text-only){background:var(--c-bg);color:var(--c-text)}
  .hero-slider-full:is(.hero-m-stack,.hero.hero-m-image-top) .hero-bg{position:relative;inset:auto;margin-bottom:1.5rem}
  .hero-slider-full:is(.hero-m-stack,.hero.hero-m-image-top) .hero-bg::after{display:none}
  .hero-slider-full.hero-m-stack{display:flex;flex-direction:column-reverse}
  .hero-slider-full:is(.hero-m-stack,.hero.hero-m-image-top) .hs-ctrl{position:static;transform:none;background:transparent;margin-top:.5rem}
  .hero-slider-full:is(.hero-m-stack,.hero.hero-m-image-top) .hs-btn{border-color:var(--c-border);color:var(--c-text)}
  .hero-slider-full:is(.hero-m-stack,.hero.hero-m-image-top) .hs-dot::before{background:var(--c-border)}
  .hero-slider-full:is(.hero-m-stack,.hero.hero-m-image-top) .hs-dot[aria-current="true"]::before{background:var(--c-primary)}
  .hero-slider-full:is(.hero-m-stack,.hero.hero-m-image-top) .hs-slide img{aspect-ratio:4/3;height:auto}
  :is(.hero-full,.hero-slider-full):is(.hero-m-stack,.hero.hero-m-image-top,.hero.hero-m-text-only) :is(.lead,.hero-points){color:var(--c-muted)}
  :is(.hero-full,.hero-slider-full):is(.hero-m-stack,.hero.hero-m-image-top,.hero.hero-m-text-only) .eyebrow{color:var(--c-primary)}
  :is(.hero-full,.hero-slider-full):is(.hero-m-stack,.hero.hero-m-image-top,.hero.hero-m-text-only) .btn-ghost{color:var(--c-text);box-shadow:inset 0 0 0 1.5px var(--c-border)}
  /* picture behind the copy, dark scrim keeps white text >= 4.5:1 */
  .hero.hero-m-image-bg{position:relative;color:#fff;background:var(--c-text);padding:4.5rem 0}
  .hero.hero-m-image-bg .hero-media{position:absolute;inset:0}
  .hero.hero-m-image-bg .hero-media img,.hero.hero-m-image-bg .hero-media .hs-slide img{width:100%;height:100%;aspect-ratio:auto;border-radius:0;box-shadow:none}
  .hero.hero-m-image-bg .hero-media .hs,.hero.hero-m-image-bg .hero-media .hs-track{height:100%;border-radius:0;box-shadow:none}
  .hero.hero-m-image-bg .hero-media .hs-ctrl{z-index:2}
  .hero.hero-m-image-bg .hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.72));pointer-events:none}
  .hero.hero-m-image-bg .hero-grid{position:static}.hero.hero-m-image-bg .hero-copy{position:relative;z-index:1}
  .hero.hero-m-image-bg :is(.lead,.hero-points){color:rgba(255,255,255,.92)}
  .hero.hero-m-image-bg .eyebrow{color:#fff}
  .hero.hero-m-image-bg .btn-ghost{color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6)}
  /* quick contact bar */
  body.has-callbar{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  .m-callbar{display:flex;gap:.5rem;position:fixed;left:0;right:0;bottom:0;z-index:60;padding:.6rem .75rem calc(.6rem + env(safe-area-inset-bottom));background:var(--c-bg);border-top:1px solid var(--c-border);box-shadow:0 -8px 24px rgba(0,0,0,.08)}
  .m-callbar a{flex:1;min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius);font-weight:700;text-decoration:none;font-size:1rem}
  .m-callbar .cb-call{background:var(--c-primary);color:var(--c-on-primary)}
  .m-callbar .cb-zalo{background:#0068ff;color:#fff}
  .m-callbar a:focus-visible{outline:3px solid var(--c-accent);outline-offset:2px}
  body.has-callbar .toast{bottom:88px}
}

/* hero mosaic: tilted grid of the site's own pictures behind the copy (codrops ImageGridMotionEffect idea).
   The copy sits on a solid panel so text contrast never depends on the pictures. */
.hero-mosaic{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.hero.hero-mosaic,.hero:has(>.hero-mosaic){position:relative;overflow:hidden;min-height:min(80vh,680px);display:flex;align-items:center}
.hm-grid{position:absolute;inset:-18% -12%;display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem;transform:rotate(-8deg)}
.hm-tile{border-radius:calc(var(--radius) * 1.2);overflow:hidden;aspect-ratio:4/3;will-change:transform;box-shadow:0 14px 30px -18px rgba(0,0,0,.45)}
.hm-tile img{display:block;width:100%;height:100%;object-fit:cover}
.hero-mosaic::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,color-mix(in srgb,var(--c-bg) 72%,transparent),color-mix(in srgb,var(--c-bg) 20%,transparent))}
.hero-mosaic~.hero-grid{position:relative;z-index:1;grid-template-columns:minmax(0,600px)}
.hero-mosaic~.hero-grid .hero-copy{padding:clamp(1.4rem,3vw,2.4rem);border-radius:calc(var(--radius) * 1.6);background:var(--c-bg);box-shadow:0 30px 70px -30px rgba(0,0,0,.35)}
@media (max-width:640px){.hm-grid{grid-template-columns:repeat(3,1fr);inset:-10% -30%}}
@media (prefers-reduced-motion:reduce){.hm-tile{transform:none!important}}

/* ===================== STYLE: studio-editorial ===================== */
/* High-end design-studio look (interior / creative). Portfolio-first, oversized */
/* display type, image-led cards with no shop price chrome. Reusable style id.    */
.style-studio-editorial{--radius:4px}
.style-studio-editorial h1,.style-studio-editorial h2,.style-studio-editorial h3{letter-spacing:-.02em;line-height:1.02}
/* Hero: towering display headline over a full-bleed image */
.style-studio-editorial .hero-full{min-height:min(94vh,860px);background:linear-gradient(180deg,rgba(0,0,0,.42),rgba(0,0,0,.18) 40%,rgba(0,0,0,.55)),var(--hero-img) center/cover no-repeat}
.style-studio-editorial .hero-full .hero-grid{grid-template-columns:minmax(0,min(100%,1100px))}
.style-studio-editorial .hero-copy h1{font-size:clamp(2.9rem,10vw,8.5rem);font-weight:600;margin:0}
.style-studio-editorial .hero-full .lead{font-size:clamp(1rem,1.6vw,1.3rem);max-width:42ch;color:rgba(255,255,255,.9)}
.style-studio-editorial .hero-full .eyebrow{letter-spacing:.32em;text-transform:uppercase;font-size:.74rem}
.style-studio-editorial .hero-cta .btn{border-radius:999px;padding:.95rem 1.9rem;letter-spacing:.02em}
.style-studio-editorial .hero-cta .btn-lg{background:#fff;color:#141414}
.style-studio-editorial .hero-points{gap:.3rem 1.6rem}
/* Section headings become editorial display type */
.style-studio-editorial .sec{padding-block:clamp(3.2rem,7vw,6rem)}
.style-studio-editorial .sec-head{align-items:end;margin-bottom:2.4rem}
.style-studio-editorial .sec-head h2{font-size:clamp(2rem,5vw,3.6rem);font-weight:600}
.style-studio-editorial .sec-head p{max-width:46ch}
.style-studio-editorial .eyebrow{color:var(--c-muted);letter-spacing:.28em;text-transform:uppercase;font-size:.72rem}
/* Portfolio grid: large image-led tiles, no borders, no price/cart chrome */
.style-studio-editorial .grid.products,.style-studio-editorial .grid.services{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:clamp(1.1rem,2.4vw,2rem)}
.style-studio-editorial .grid.products .card,.style-studio-editorial .grid.services .card{background:transparent;border:0;border-radius:0;overflow:visible}
.style-studio-editorial .product-card:hover,.style-studio-editorial .service-card:hover{transform:none;box-shadow:none}
.style-studio-editorial .card-media{aspect-ratio:4/5;border-radius:6px;background:var(--c-surface)}
.style-studio-editorial .card:hover .card-media img{transform:scale(1.045)}
.style-studio-editorial .card-body{padding:1rem .2rem 0;gap:.3rem}
.style-studio-editorial .card-body h3{font-size:1.18rem;font-weight:600}
.style-studio-editorial .card-body h3 a{color:var(--c-text)}
.style-studio-editorial .card-body p{color:var(--c-muted)}
/* Hide shop chrome entirely for these portfolio cards */
.style-studio-editorial .grid.products .card-foot,.style-studio-editorial .grid.services .card-foot,.style-studio-editorial .grid.products .price,.style-studio-editorial .grid.services .price,.style-studio-editorial .grid.products .add,.style-studio-editorial .grid.services .add,.style-studio-editorial .grid.products .badge,.style-studio-editorial .grid.services .badge{display:none!important}
.style-studio-editorial .more{letter-spacing:.14em;text-transform:uppercase;font-size:.78rem;font-weight:600}
/* About + stats as quiet editorial bands */
.style-studio-editorial .sec.about .prose{font-size:1.05rem;max-width:62ch}
.style-studio-editorial .sec.stats{background:var(--c-primary);color:#fff}
.style-studio-editorial .sec.stats .stat-row b{color:#fff}
.style-studio-editorial .sec.stats .stat-row span{color:rgba(255,255,255,.7)}
.style-studio-editorial .sec.testimonials .card.quote{background:var(--c-surface);border:0}
.style-studio-editorial .site-header{backdrop-filter:saturate(1.1)}
.style-studio-editorial .btn{border-radius:999px}
@media (max-width:720px){.style-studio-editorial .card-media{aspect-ratio:3/4}}

/* ---------------------------------------------------------------- effects (data-fx)
   One file for the static site AND the Studio editor canvas, so the preview is the real thing.
   Rules from research (W3C WAI, web.dev, NN/g, MDN):
   - content is visible by default; fx.js only hides elements that start BELOW the first screen (never the hero / LCP)
   - only transform + opacity are animated (no layout shift), <= 600 ms, play once
   - everything stops under prefers-reduced-motion (fades are dropped too; site.css already kills transitions)
   - hover effects (tilt, lift, zoom) only on devices with a real pointer; flip cards also flip on tap/focus
   - the marquee has a pause button (WCAG 2.2.2) */

/* reveal on scroll: fade, up, left, right, zoom, flip-in, stagger (children) */
[data-fx].fx-wait{opacity:0}
[data-fx="up"].fx-wait{transform:translateY(28px)}
[data-fx="left"].fx-wait{transform:translateX(-36px)}
[data-fx="right"].fx-wait{transform:translateX(36px)}
[data-fx="zoom"].fx-wait{transform:scale(.94)}
[data-fx="flip-in"].fx-wait{transform:perspective(900px) rotateX(-24deg) translateY(16px);transform-origin:50% 0}
[data-fx="stagger"].fx-wait{opacity:1}
[data-fx="stagger"].fx-wait>*{opacity:0;transform:translateY(22px)}
[data-fx].fx-in{transition:opacity .55s ease-out,transform .55s cubic-bezier(.2,.7,.2,1);transition-delay:var(--fx-delay,0s)}
[data-fx="stagger"].fx-in>*{transition:opacity .5s ease-out,transform .5s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--fx-i,0) * 80ms)}

/* hover: lift, image zoom, 3D tilt (vars set by fx.js) */
@media (hover:hover) and (pointer:fine){
  [data-fx="lift"]{transition:transform .25s ease,box-shadow .25s ease}
  [data-fx="lift"]:hover{transform:translateY(-6px);box-shadow:0 18px 40px -18px rgba(0,0,0,.35)}
  [data-fx="zoom-img"] img{transition:transform .45s ease}
  [data-fx="zoom-img"]:hover img{transform:scale(1.06)}
  [data-fx="zoom-img"] .card-media,[data-fx="zoom-img"].card-media{overflow:hidden}
  [data-fx="tilt"]{transform:perspective(900px) rotateX(var(--fx-rx,0deg)) rotateY(var(--fx-ry,0deg));transition:transform .2s ease-out;will-change:transform}
}

/* flip card: fx.js builds .fx-flip > .fx-face front/back on the live site */
[data-fx="flip"] .fx-flip{display:grid;height:100%;transition:transform .6s cubic-bezier(.2,.7,.2,1);transform-style:preserve-3d;-webkit-transform-style:preserve-3d}
[data-fx="flip"] .fx-face{grid-area:1/1;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}
[data-fx="flip"] .fx-back{transform:rotateY(180deg);display:flex;flex-direction:column;justify-content:center;gap:.6rem;padding:1.4rem;border-radius:inherit;background:var(--c-primary);color:var(--c-on-primary,#fff)}
[data-fx="flip"] .fx-back a,[data-fx="flip"] .fx-back .price b{color:inherit}
[data-fx="flip"].fx-flipped .fx-flip{transform:rotateY(180deg)}
@media (hover:hover) and (pointer:fine){[data-fx="flip"]:hover .fx-flip{transform:rotateY(180deg)}}
[data-fx="flip"]:focus-within .fx-flip{transform:rotateY(180deg)}

/* marquee: fx.js duplicates the children once (aria-hidden) and adds the pause button */
[data-fx="marquee"]{overflow:hidden;position:relative}
[data-fx="marquee"] .fx-track{display:flex;gap:inherit;width:max-content;animation:fx-marquee var(--fx-speed,32s) linear infinite}
[data-fx="marquee"]:hover .fx-track,[data-fx="marquee"]:focus-within .fx-track,[data-fx="marquee"].fx-paused .fx-track{animation-play-state:paused}
[data-fx="marquee"] .fx-track>*{flex:0 0 auto;width:min(280px,70vw)}
.fx-pause{position:absolute;right:.5rem;bottom:.5rem;z-index:2;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--c-border);border-radius:999px;background:var(--c-bg);color:var(--c-text);cursor:pointer}
.fx-pause:focus-visible{outline:3px solid var(--c-accent);outline-offset:2px}
@keyframes fx-marquee{to{transform:translateX(-50%)}}

/* soft parallax: images inside the block drift a little while scrolling (scroll-driven CSS only; elsewhere static) */
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion:no-preference){
    [data-fx="parallax"] img{animation:fx-parallax linear both;animation-timeline:view();animation-range:cover;scale:1.12}
  }
}
@keyframes fx-parallax{from{transform:translateY(-5%)}to{transform:translateY(5%)}}

/* reduced motion: nothing moves, nothing stays hidden */
@media (prefers-reduced-motion:reduce){
  [data-fx].fx-wait,[data-fx="stagger"].fx-wait>*{opacity:1!important;transform:none!important}
  [data-fx="tilt"]{transform:none!important}
  [data-fx="marquee"] .fx-track{animation:none!important;width:auto;flex-wrap:wrap}
  [data-fx="flip"] .fx-flip{transition:none}
}

/* Studio editor canvas: show where an effect is set */
html[data-fx-editor] [data-fx]{outline:1px dashed color-mix(in srgb,var(--c-accent,#d97706) 70%,transparent);outline-offset:3px}

/* adaptive: card tinted with the colour of its own picture (text colours unchanged: the tint stays light) */
[data-fx="adaptive"].fx-ad-on{background:color-mix(in srgb,var(--fx-ad) 16%,var(--c-bg));border-color:color-mix(in srgb,var(--fx-ad) 34%,var(--c-border));transition:background .4s ease,border-color .4s ease}

/* bg-reveal: the hovered card's picture opens as a soft section background */
[data-fx="bg-reveal"]{position:relative;isolation:isolate}
[data-fx="bg-reveal"]>.fx-bgr{position:absolute;inset:0;z-index:-1;background:center/cover no-repeat;opacity:0;clip-path:inset(0);transition:clip-path .7s cubic-bezier(.2,.7,.2,1),opacity .35s ease;pointer-events:none}
[data-fx="bg-reveal"]>.fx-bgr::after{content:"";position:absolute;inset:0;background:color-mix(in srgb,var(--c-bg) 84%,transparent)}
[data-fx="bg-reveal"]>.fx-bgr.on{opacity:1}
@media (prefers-reduced-motion:reduce){[data-fx="bg-reveal"]>.fx-bgr{transition:opacity .2s linear}}
