/* CAsarté Interior — shared stylesheet.
   Merged from the approved design pages (each page's <helmet> styles). Most layout lives in the design's
   inline styles; this file holds the classes, hovers, animations and the parts the design left to code
   (article prose, consent banner). Palette: espresso #3E342B, bark #2A231D, linen #F4F1EC, sand #EAE7E1,
   stone #D6D1C4, taupe #A08E79, umber #7B6552, slate #5B4E43, teal #2E3E3C. */

/* Self-hosted fonts (audit T11): latin subset of Playfair Display and Montserrat (variable woff2 from Google
   Fonts, SIL Open Font License), one file per style, covering every weight the site uses. */
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400 500;font-display:swap;src:url(/assets/fonts/playfair-display-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}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/fonts/playfair-display-italic-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}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/montserrat-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}
/* paper: the site's lightest surface (cards, dialogs, menu, forms). No pure white anywhere (Kenneth, Nov 2026). */
:root{--paper:#FBF9F5}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#F4F1EC;color:#3E342B;font-family:Montserrat,system-ui,sans-serif}
body.pg-signin{background:#EAE7E1}
a{color:#3E342B}a:hover{color:#7B6552}
img,video{max-width:100%}
/* The build adds width/height attributes (no layout shift); without this the height attribute (e.g. 900px)
   beat the design's inline aspect-ratio and cards/renders came out tall and badly cropped. Inline or class
   heights still win over this type selector. */
img{height:auto}
/* The header logos use a negative margin to offset the PNG's built-in padding; max-width:100% then squeezed
   them about 12% narrower than the artwork. Logos always keep their own proportions. */
img[src*="/assets/img/logo/"]{max-width:none}
[hidden]{display:none !important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:focus-visible{outline:2px solid #3E342B;outline-offset:2px}
.skip{position:absolute;left:8px;top:-60px;z-index:100;background:#3E342B;color:#F4F1EC;padding:12px 16px;min-height:44px;box-sizing:border-box;text-decoration:none;font-size:13px}
.skip:focus{top:8px;color:#F4F1EC}

/* ---- animations ---- */
@keyframes rv-rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes cas-rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes cas-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes drift{from{transform:scale(1.02)}to{transform:scale(1.12)}}
@keyframes pop{from{opacity:.2;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes pop-b{0%{transform:scale(.6);opacity:0}60%{transform:scale(1.08);opacity:1}100%{transform:scale(1);opacity:1}}
@keyframes sweep{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}

.cas-rise{animation:cas-rise 1.4s cubic-bezier(.2,.7,.2,1) both}
.cas-rise2{animation:cas-rise 1.4s .25s cubic-bezier(.2,.7,.2,1) both}
.cas-rise3{animation:cas-rise 1.4s .5s cubic-bezier(.2,.7,.2,1) both}
.cas-line{transform-origin:left;animation:cas-line 1.6s .6s cubic-bezier(.2,.7,.2,1) both}
.cas-fade img{animation:cas-rise .9s cubic-bezier(.2,.7,.2,1) both}
.rise{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
.pg-brief .rise{animation-duration:.55s}
.drift{animation:drift 24s ease-in-out infinite alternate}
.pop{animation:pop .6s cubic-bezier(.2,.7,.2,1) both}
.pg-brief .pop{animation:pop-b .45s cubic-bezier(.2,.7,.2,1) both}
.sweep{animation:sweep 1.8s cubic-bezier(.5,0,.5,1) infinite}
@supports (animation-timeline: view()){.rv{animation:rv-rise linear both;animation-timeline:view();animation-range:entry 0% cover 22%}}

/* ---- image hovers ---- */
.cas-zoom,.cz{overflow:hidden}
.cas-zoom img{transition:transform 1.6s cubic-bezier(.2,.7,.2,1)}
.cz img{transition:transform 1.4s cubic-bezier(.2,.7,.2,1)}
.cas-zoom:hover img,.cz:hover img{transform:scale(1.05)}
.xf{position:relative;overflow:hidden}
.xf .xf2{position:absolute;inset:0;opacity:0;transition:opacity .9s cubic-bezier(.2,.7,.2,1)}
.xf:hover .xf2,.xf:focus-visible .xf2,.xf.on .xf2{opacity:1}
/* no picture rotation (20 Nov): cards show one picture; only the Restyle style swatches keep their second view */
.xf .xf2{display:none}
.sw .xf2{display:block}
.tile{overflow:hidden;position:relative}
.tile img{transition:transform 1.4s cubic-bezier(.2,.7,.2,1)}
.tile:hover img{transform:scale(1.06)}
.tile:focus-visible{outline:2px solid #3E342B;outline-offset:4px}
.pick{overflow:hidden;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.pick img{transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.pick:hover img{transform:scale(1.05)}
.pick:focus-visible{outline:2px solid #3E342B;outline-offset:4px}
.pick:hover .xf2,.pick:focus-visible .xf2{opacity:1}
.sw{transition:transform .4s,outline-color .3s;outline:2px solid transparent;outline-offset:3px}
.sw:hover{transform:translateY(-3px)}
.sw:focus-visible{outline-color:#3E342B}
.sw:hover .xf2,.sw:focus-visible .xf2,.sw[aria-checked="true"] .xf2{opacity:1}

/* ---- buttons, chips, cards ---- */
.cas-btnl:hover{background:#F4F1EC !important;color:#3E342B !important}
.cas-btnd:hover{background:#2A231D !important}
.cas-faq{transition:background .3s}
.cas-faq:hover{background:#EAE7E1}
.cas-style{transition:color .3s,background .3s,border-color .3s;color:#5B4E43 !important}
.cas-style:hover{border-color:#3E342B !important}
.cas-style[aria-selected="true"]{background:#3E342B !important;border-color:#3E342B !important;color:#F4F1EC !important}
.wchip{transition:background .3s,color .3s,border-color .3s}
.wchip:hover{border-color:#3E342B !important}
/* gallery (/gallery/): a filter chip sets data-f on .gal; every block tagged data-cat that does not match is hidden */
.gal[data-f="living"] [data-cat]:not([data-cat~="living"]),.gal[data-f="kitchen"] [data-cat]:not([data-cat~="kitchen"]),.gal[data-f="bedroom"] [data-cat]:not([data-cat~="bedroom"]),.gal[data-f="bathroom"] [data-cat]:not([data-cat~="bathroom"]),.gal[data-f="films"] [data-cat]:not([data-cat~="films"]){display:none !important}
.gal section{scroll-margin-top:16px}
.tp{transition:transform .35s cubic-bezier(.2,.7,.2,1),border-color .3s}
.tp:hover{transform:translateY(-3px);border-color:#3E342B !important}
.chip{transition:background .3s,color .3s}
.chip:hover{background:#EAE7E1}
.card{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.card:hover{transform:translateY(-4px)}
.pg-brief .card{transition:transform .28s cubic-bezier(.4,0,.6,1),opacity .28s}
.pg-brief .card:hover{transform:none}
.opt{transition:background .3s,color .3s,border-color .3s}
.opt:hover{border-color:#3E342B !important}
.opt:focus-visible{outline:2px solid #3E342B;outline-offset:3px}
.mtool{transition:background .3s}
.mtool:hover{background:#EAE7E1}

/* ---- menu + footer ---- */
.mk{margin:28px 0 10px;font-size:10px;letter-spacing:.26em;text-transform:uppercase;color:#7B6552;font-weight:600}
.ml{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;text-decoration:none;color:#3E342B;font-family:'Playfair Display',Georgia,serif;font-size:20px;border-bottom:1px solid #D6D1C4}
.ml:hover{color:#7B6552}
.mchip{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid #A08E79;border-radius:999px;text-decoration:none;color:#3E342B;font-size:13px;box-sizing:border-box}
.mchip:hover{background:#EAE7E1}

/* ---- desktop menu bar (page-kit deskNav): ≥1024px only; phones and tablets keep the hamburger menu ---- */
.dnav,.dnav-links{display:none}
@media (min-width: 1024px){
  .dnav{display:flex;align-items:center;gap:clamp(16px,1.9vw,30px);margin-right:clamp(4px,1vw,16px)}
  .dnav-links{display:flex;align-items:center;gap:clamp(16px,1.9vw,30px)}
  nav[aria-label="Main"] button[aria-controls="site-menu"],.dnav-old{display:none !important}
  nav[aria-label="Main"] > .dnav{margin-left:auto}
}
.dnav-l{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;gap:7px;min-height:44px;font-family:Montserrat,system-ui,sans-serif;font-size:11px;letter-spacing:.22em;text-transform:uppercase;font-weight:500;line-height:1;color:#3E342B;text-decoration:none;white-space:nowrap}
@media (min-width: 1024px) and (max-width: 1279px){.dnav-l{letter-spacing:.16em}}
.dnav-l:hover{color:#7B6552}
.dnav-l[aria-current]{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}
.dnav-l:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.dnav-btn svg{transition:transform .2s}
.dnav-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.dnav--hero .dnav-l{color:#F4F1EC;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.dnav--hero .dnav-l:hover{color:#F4F1EC;opacity:.78}
.dnav-dd{position:relative}
.dnav-panel{position:absolute;top:100%;left:-18px;z-index:60;display:flex;flex-direction:column;min-width:230px;padding:8px 0;background:var(--paper);border:1px solid #D6D1C4;box-shadow:0 18px 40px rgba(30,24,19,.16)}
.dnav-pl{display:flex;align-items:center;min-height:44px;padding:0 18px;font-family:Montserrat,system-ui,sans-serif;font-size:13px;letter-spacing:.02em;color:#3E342B;text-decoration:none;text-shadow:none}
.dnav-pl:hover,.dnav-pl:focus-visible{background:#EAE7E1;color:#3E342B}
.dnav-pl:focus-visible{outline:2px solid #3E342B;outline-offset:-2px}
.dnav-pl[aria-current]{font-weight:600}
.dnav-pl-sep{border-top:1px solid #D6D1C4;margin-top:6px;padding-top:2px}
.fk{margin:0 0 6px;font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:#A08E79}
.fl{display:flex;align-items:center;min-height:44px;color:#D6D1C4;font-size:13px;text-decoration:none}
.fl:hover{color:#F4F1EC}
.cookie-link{all:unset;cursor:pointer;min-height:44px;display:inline-flex;align-items:center;letter-spacing:.14em;color:inherit;text-decoration:underline;font-size:11px}

/* ---- before/after sliders ---- */
input[type=range].cas-ba,input[type=range].ba{-webkit-appearance:none;appearance:none;background:transparent;width:100%;height:100%;margin:0;cursor:ew-resize}
input[type=range].cas-ba::-webkit-slider-thumb,input[type=range].ba::-webkit-slider-thumb{-webkit-appearance:none;width:48px;height:48px;border-radius:50%;background:#F4F1EC;border:1px solid #3E342B;box-shadow:0 4px 18px rgba(0,0,0,.25)}
input[type=range].cas-ba::-moz-range-thumb,input[type=range].ba::-moz-range-thumb{width:48px;height:48px;border-radius:50%;background:#F4F1EC;border:1px solid #3E342B}

/* ---- legal pages ---- */
html.legal-page{scroll-behavior:smooth}
.legal section{padding:36px 0;border-top:1px solid #D6D1C4;scroll-margin-top:24px}
.legal h2{margin:0 0 14px;font-family:'Playfair Display',Georgia,serif;font-weight:400;font-size:clamp(26px,2.6vw,32px);line-height:1.15}
.legal p,.legal li{font-size:16px;line-height:1.8;color:#4A3F35}
.legal p{margin:0 0 14px}
.legal ul{margin:0 0 14px;padding-left:20px}
.legal li{margin-bottom:6px}
.legal table{width:100%;border-collapse:collapse;margin:0 0 14px;font-size:14px;line-height:1.6;color:#4A3F35}
.legal th,.legal td{text-align:left;vertical-align:top;padding:10px 12px 10px 0;border-bottom:1px solid #D6D1C4}
.legal th{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#7B6552;font-weight:500}
.toc a{display:block;text-decoration:none;padding:4px 0;min-height:28px;color:#5B4E43}
.toc a:hover{color:#3E342B}

/* ---- brief (private link) ---- */
.stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px) minmax(0,1fr);gap:48px;align-items:start;max-width:1320px;margin:0 auto;padding:36px clamp(16px,4vw,56px) 56px;box-sizing:border-box}
.phone{width:100%;height:860px;border:10px solid #2A231D;border-radius:46px;background:#F4F1EC;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 30px 80px rgba(42,35,29,.22);box-sizing:border-box}
.scroll{flex:1;overflow-y:auto;overscroll-behavior:contain}
.tap{transition:transform .25s cubic-bezier(.2,.7,.2,1),background-color .25s,color .25s,border-color .25s,box-shadow .25s}
.tap:active{transform:scale(.95)}
.layer{transition:opacity .6s cubic-bezier(.2,.7,.2,1)}
.grow{field-sizing:content}
.hscroll{scrollbar-width:none}.hscroll::-webkit-scrollbar{display:none}
.ptop{position:sticky;top:0;z-index:20}.pcta{position:sticky;bottom:0;z-index:20}
@media (max-width: 900px){.stage{grid-template-columns:1fr;padding:0;gap:0}.side,.lead{display:none !important}.phone{height:auto;min-height:100dvh;border:0;border-radius:0;box-shadow:none;overflow:visible}.scroll{overflow:visible}}
@media (max-width: 340px){.tgrid{grid-template-columns:minmax(0,1fr) !important}}

/* ---- sign-in / account panel ---- */
.panel{background:#F4F1EC;padding:28px;box-sizing:border-box;box-shadow:0 20px 50px rgba(30,24,19,.12);display:flex;flex-direction:column}
.btn{all:unset;box-sizing:border-box;cursor:pointer;width:100%;min-height:52px;display:flex;align-items:center;justify-content:center;text-align:center;padding:0 12px;background:#3E342B;color:#F4F1EC;font-size:11px;letter-spacing:.22em;text-transform:uppercase;font-weight:600}

/* ---- article prose (rendered from the markdown articles) ---- */
.prose{font-size:17px;line-height:1.85;color:#3E342B}
.prose h2{font-family:'Playfair Display',Georgia,serif;font-weight:400;font-size:clamp(28px,3vw,36px);line-height:1.15;margin:56px 0 18px;scroll-margin-top:24px}
.prose h3{margin:28px 0 8px;font-size:18px;font-weight:600;line-height:1.5}
.prose p{margin:0 0 20px}
.prose ul,.prose ol{margin:0 0 20px;padding-left:22px}
.prose li{margin-bottom:10px}
.prose strong{font-weight:600}
.prose a{color:#3E342B;text-underline-offset:3px}
.prose blockquote{margin:0 0 20px;padding:0 0 0 18px;border-left:2px solid #A08E79}
.prose code{font-size:.9em;background:#EAE7E1;padding:1px 5px}
.prose .tbl{overflow-x:auto;margin:8px 0 24px}
.prose table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.6;min-width:420px}
.prose thead tr{border-bottom:1px solid #3E342B;text-align:left}
.prose th{padding:12px 12px 12px 0;font-weight:600;text-align:left;vertical-align:bottom}
.prose td{padding:14px 12px 14px 0;border-bottom:1px solid #D6D1C4;vertical-align:top}
.prose figure{margin:32px 0}
.prose figure img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.prose figcaption{margin-top:12px;font-size:12px;line-height:1.6;color:#7B6552}
.prose .sources{font-size:13px;line-height:1.6;color:#5B4E43}
.prose .sources table{font-size:13px;min-width:560px}
.prose .sources td{padding:10px 12px 10px 0;word-break:break-word}
.prose .sources h2{font-size:clamp(24px,2.4vw,30px)}
.prose .faq h3{margin:28px 0 8px}
.prose .faq p{margin:0}
.toc-link{display:flex;align-items:center;min-height:44px;text-decoration:none;line-height:1.4;padding:4px 0}

/* ---- consent banner ---- */
.consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:90;max-width:560px;margin:0 auto;background:#2A231D;color:#F4F1EC;padding:20px;box-sizing:border-box;box-shadow:0 20px 50px rgba(30,24,19,.35);font-size:14px;line-height:1.6}
.consent p{margin:0 0 14px}
.consent a{color:#F4F1EC}
.consent .row{display:flex;flex-wrap:wrap;gap:8px}
.consent button{all:unset;box-sizing:border-box;cursor:pointer;min-height:44px;padding:0 16px;display:inline-flex;align-items:center;border:1px solid rgba(244,241,236,.6);font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:600}
.consent button.primary{background:#F4F1EC;color:#2A231D;border-color:#F4F1EC}
.consent label{display:flex;gap:12px;align-items:flex-start;min-height:44px;margin:0 0 10px;cursor:pointer}
.consent input{width:20px;height:20px;margin:2px 0 0;accent-color:#A08E79;flex:none}
html.has-consent [data-track$=".float.whatsapp"]{bottom:calc(var(--cas-consent-h,0px) + 12px) !important}
/* first visit: a slim bar along the bottom, one line on desktop, so it never covers the hero headline */
.consent.consent-bar{left:0;right:0;bottom:0;max-width:none;padding:10px 24px;display:flex;align-items:center;justify-content:center;gap:12px 24px;font-size:13px;line-height:1.5;box-shadow:0 -8px 24px rgba(30,24,19,.18)}
.consent.consent-bar p{margin:0}
.consent.consent-bar .row{flex-wrap:nowrap;gap:6px;flex:none}
.consent.consent-bar button{min-height:34px;padding:0 12px;font-size:10px;letter-spacing:.16em}
@media (max-width: 760px){
  .consent.consent-bar{flex-wrap:wrap;justify-content:flex-start;padding:10px 16px 12px;font-size:12px;gap:8px}
  .consent.consent-bar .row{width:100%}
  .consent.consent-bar button{min-height:40px;padding:0 10px;letter-spacing:.12em;flex:1 1 auto;justify-content:center}
}

@media (max-width: 760px){.hide-sm,.cas-hide-sm{display:none !important}}
@media (max-width: 760px){
  /* kitchen film band: the quote runs full width on phones, so the left-only shade left it on bright worktop */
  section[aria-label="Kitchen film"] > div[aria-hidden="true"]{background:linear-gradient(90deg,rgba(30,24,19,.72),rgba(30,24,19,.42)) !important}
  /* home walk-through: room chips first, then the two arrows side by side (they were stranded on separate lines) */
  [role="tablist"][aria-label="Rooms in the Japandi HDB"]{order:-1;flex-basis:100%}
  /* article tables: fit the phone instead of cutting the last column mid-word (sources keep their scroll) */
  .prose table{min-width:0;font-size:13px;line-height:1.5}
  .prose th,.prose td{padding-right:8px;overflow-wrap:break-word}
  .prose .sources table{min-width:560px}
}
@media (prefers-reduced-motion: reduce){
  html.legal-page{scroll-behavior:auto}
  .cas-rise,.cas-rise2,.cas-rise3,.cas-line,.rv,.cas-fade img,.rise,.drift,.pop,.sweep,.pg-brief .pop{animation:none !important}
  .xf .xf2,.cas-zoom img,.cz img,.tile img,.pick img,.tp,.card,.sw,.tap,.layer,.cas-style{transition:none !important}
  .tp:hover,.card:hover,.sw:hover,.cas-zoom:hover img,.cz:hover img,.tile:hover img,.pick:hover img{transform:none !important}
}
/* phone numbers iOS turns into links keep the text colour around them (dark sections, 20 Nov) */
a[href^="tel"],a[x-apple-data-detectors]{color:inherit !important;text-decoration:underline;text-underline-offset:3px}
