/* ============================================================
   Design tokens — change colours & fonts here
   ============================================================ */
:root {
  /* OFF-WHITE palette (default) */
  --bg: #f7f6f3;
  --bg-alt: #eeece7;
  --surface: #ffffff;
  --header-bg: rgba(247, 246, 243, .96);
  --ink: #232220;
  --ink-soft: #67645f;
  --line: #e2dfd8;
  --accent: #9a6b43;        /* bronze */
  --accent-dark: #7d5432;
  --on-accent: #fff;
  --btn-bg: #232220;
  --btn-fg: #fff;
  --btn-hover: #9a6b43;
  --btn-hover-fg: #fff;
  --dark: #262523;
  --white: #fff;
  --radius: 4px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --shadow: 0 18px 50px -20px rgba(29, 28, 26, .25);
}

/* BEIGE palette: set  palette: "beige"  in config.js */
:root[data-palette="beige"] {
  --bg: #efe8dc;
  --bg-alt: #e4d9c7;
  --surface: #f8f3ea;
  --header-bg: rgba(239, 232, 220, .96);
  --ink: #2a2622;
  --ink-soft: #6b6257;
  --line: #d6c9b4;
  --btn-bg: #2a2622;
  --dark: #2b2825;
}

/* ANTHRACITE GREY palette: set  palette: "anthracite"  in config.js */
:root[data-palette="anthracite"] {
  --bg: #2d2f32;
  --bg-alt: #26282a;
  --surface: #36393c;
  --header-bg: rgba(38, 40, 42, .96);
  --ink: #ece8e2;
  --ink-soft: #a9a59e;
  --line: #45484c;
  --accent: #c8a774;        /* brushed brass */
  --accent-dark: #d9bb8a;
  --on-accent: #1d1e20;
  --btn-bg: #c8a774;
  --btn-fg: #1d1e20;
  --btn-hover: #e0c597;
  --btn-hover-fg: #1d1e20;
  --dark: #1c1d1f;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-soft); }
.eyebrow { display: inline-block; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #eee9e1; }
.section-dark .muted { color: #a9a39a; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head p { max-width: 520px; margin: 0; color: var(--ink-soft); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--btn-bg); color: var(--btn-fg); padding: 15px 28px; border: 1px solid var(--btn-bg); border-radius: var(--radius); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; transition: .25s; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-hover-fg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }

.btn-light { background: #fff; color: #1d1e20; border-color: #fff; }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover, .btn-light:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-sm { padding: 11px 18px; font-size: .75rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-arrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s; }
a:hover .link-arrow::after, .link-arrow:hover::after { transform: translateX(5px); }

/* ============================================================
   Header
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: .3s; }
.topbar { background: var(--dark); color: #cfc9bf; font-size: .78rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; }
.topbar-right { gap: 22px !important; }
.topbar a:hover { color: var(--white); }
.nav-row { display: flex; align-items: center; gap: 32px; min-height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo strong { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1; letter-spacing: .01em; }
.logo small { display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.logo-light small { color: #a9a39a; }
.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav > a, .has-menu > a { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; position: relative; padding: 28px 0; }
.main-nav > a::after, .has-menu > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 1px; background: var(--accent); transition: .3s; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.has-menu { position: relative; }
.mega { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px); width: 680px; background: var(--surface); box-shadow: var(--shadow); padding: 16px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; opacity: 0; visibility: hidden; transition: .25s; border-radius: var(--radius); }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius); }
.mega a:hover { background: var(--bg-alt); }
.mega img { width: 64px; height: 64px; object-fit: cover; border-radius: 2px; }
.mega strong { display: block; font-size: .9rem; font-weight: 600; }
.mega small { color: var(--ink-soft); font-size: .78rem; line-height: 1.4; display: block; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; }
.burger span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: .3s; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--dark); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease; }
.hero-slide.on { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,17,.15) 0%, rgba(20,19,17,.25) 40%, rgba(20,19,17,.78) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vw, 110px); }
.hero h1 { max-width: 15ch; }
.hero p.lead { max-width: 540px; font-size: 1.12rem; color: #ece6dc; }
.hero .eyebrow { color: #e6c7a6; }
.hero-dots { position: absolute; z-index: 3; right: 24px; bottom: 32px; display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 3px; border: 0; background: rgba(255,255,255,.4); padding: 0; }
.hero-dots button.on { background: var(--white); }

.page-hero { position: relative; padding: clamp(80px, 12vw, 150px) 0 clamp(48px, 7vw, 80px); background-size: cover; background-position: center; color: var(--white); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,17,.45), rgba(20,19,17,.75)); }
.page-hero .wrap { position: relative; }
.page-hero p { max-width: 600px; color: #ece6dc; font-size: 1.08rem; }
.page-hero .eyebrow { color: #e6c7a6; }
.crumbs { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #cfc9bf; margin-bottom: 18px; }
.crumbs a:hover { color: var(--white); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 24px; border-right: 1px solid var(--line); text-align: center; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1; color: var(--accent); }
.stat span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* ============================================================
   Cards
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); color: var(--white); background: var(--dark); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,19,17,.82)); }
.cat-card:hover img { transform: scale(1.07); }
.cat-body { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; }
.cat-body h3 { font-size: 1.7rem; margin-bottom: 6px; }
.cat-body p { font-size: .88rem; color: #e1dbd1; margin-bottom: 14px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.product-card { text-align: left; background: none; border: 0; padding: 0; }
.pc-img { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.product-card:hover .pc-img img { transform: scale(1.06); }
.pc-tag { position: absolute; top: 12px; left: 12px; background: var(--surface); color: var(--ink); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px; font-weight: 600; }
.pc-body { padding-top: 14px; }
.pc-body small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.pc-body h3 { font-size: 1.35rem; margin: 2px 0 2px; }
.pc-body p { font-size: .86rem; color: var(--ink-soft); margin: 0; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { position: relative; border: 0; padding: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); text-align: left; color: var(--white); background: var(--dark); }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,19,17,.85)); transition: .4s; }
.project-card:hover img { transform: scale(1.06); }
.pj-body { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; }
.pj-body small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #e6c7a6; }
.pj-body h3 { margin: 4px 0 0; font-size: 1.55rem; }
.pj-body p { margin: 0; font-size: .88rem; color: #ddd6cb; }
.project-grid.masonry .project-card:nth-child(5n + 1) { grid-column: span 2; aspect-ratio: auto; }

/* Split feature blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split-img { aspect-ratio: 4 / 5; background-size: cover; background-position: center; border-radius: var(--radius); position: relative; }
.split-img .badge { position: absolute; right: -20px; bottom: 40px; background: var(--accent); color: var(--on-accent); padding: 22px 26px; max-width: 220px; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-img .badge strong { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-weight: 500; }
.split-img .badge span { font-size: .8rem; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.check-list strong { display: block; }

/* Audience cards */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud-card { padding: clamp(32px, 4vw, 56px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.aud-card.dark { background: var(--dark); color: #eee9e1; border-color: var(--dark); }
.aud-card.dark .muted { color: #a9a39a; }
.aud-card ul { padding-left: 18px; margin: 0 0 24px; }
.aud-card li { margin-bottom: 6px; }
.aud-card .btn-row { margin-top: auto; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border-top: 2px solid var(--accent); background: var(--surface); }
.section-dark .step { background: rgba(255,255,255,.05); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 2.4rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.3rem; }
.step p { font-size: .92rem; margin: 0; }

/* Brand marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marquee 30s linear infinite; align-items: center; }
.marquee-track span { font-family: var(--serif); font-size: 1.9rem; color: #9b958c; white-space: nowrap; letter-spacing: .04em; }
.marquee-track img { height: 42px; width: auto; opacity: .7; filter: grayscale(1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Showroom CTA */
.showroom { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 520px; }
.showroom-info { padding: clamp(40px, 6vw, 80px); background: var(--dark); color: #eee9e1; display: flex; flex-direction: column; justify-content: center; }
.showroom-info .muted { color: #a9a39a; }
.hours-list { list-style: none; padding: 0; margin: 20px 0; border-top: 1px solid #3a3733; }
.hours-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #3a3733; font-size: .92rem; }
.map { min-height: 380px; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.35); }

/* Contact links */
.contact-links { display: grid; gap: 12px; }
.contact-links a { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: .2s; }
.contact-links a:hover { border-color: var(--accent); }
.contact-links svg { color: var(--accent); flex: none; width: 22px; height: 22px; }
.contact-links small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.contact-links span { overflow-wrap: anywhere; }

/* Filters / toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); margin-bottom: 36px; position: sticky; top: 78px; background: var(--bg); z-index: 5; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs button { background: transparent; border: 1px solid var(--line); padding: 9px 16px; border-radius: 40px; font-size: .82rem; transition: .2s; }
.tabs button:hover { border-color: var(--ink); }
.tabs button.active { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.search { position: relative; }
.search input { width: 260px; max-width: 100%; padding: 10px 14px 10px 38px; border: 1px solid var(--line); border-radius: 40px; background: var(--surface); font: inherit; font-size: .88rem; }
.search::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b5750' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
.cat-intro { max-width: 720px; margin-bottom: 36px; }
.cat-intro p { color: var(--ink-soft); }
.count { font-size: .8rem; color: var(--ink-soft); letter-spacing: .06em; }
.empty { grid-column: 1 / -1; padding: 40px 0; color: var(--ink-soft); }
.empty a { color: var(--accent); text-decoration: underline; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.form input, .form select, .form textarea { font: inherit; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink); padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.form textarea { min-height: 130px; resize: vertical; }
.form-note { grid-column: 1 / -1; font-size: .88rem; color: var(--accent-dark); margin: 0; min-height: 1.2em; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }

/* Values / features grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--bg); padding: 36px 32px; }
.feature .num { font-family: var(--serif); color: var(--accent); font-size: 1.1rem; }
.feature h3 { margin-top: 8px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: .94rem; }

/* CTA band */
.cta-band { position: relative; padding: clamp(72px, 10vw, 120px) 0; background-size: cover; background-position: center; color: var(--white); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(20,19,17,.66); }
.cta-band .wrap { position: relative; }
.cta-band p { max-width: 560px; margin: 0 auto; color: #ece6dc; }
.cta-band .btn-row { justify-content: center; }

/* Modal */
.modal { border: 0; padding: 0; border-radius: var(--radius); max-width: 940px; width: calc(100% - 32px); background: var(--bg); color: var(--ink); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(20,19,17,.65); backdrop-filter: blur(3px); }
.modal-grid { display: grid; grid-template-columns: 1.1fr 1fr; }
.modal-grid > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.modal-info { padding: clamp(28px, 4vw, 48px); }
.modal-info h2 { font-size: 2.3rem; }
.modal-info dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 20px 0; font-size: .92rem; }
.modal-info dt { color: var(--ink-soft); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px; }
.modal-info dd { margin: 0; }
.modal-info .loc { display: flex; gap: 6px; align-items: center; color: var(--ink-soft); }
.modal-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: var(--surface); color: var(--ink); border-radius: 50%; font-size: 1.6rem; line-height: 1; z-index: 2; }

/* Footer */
.site-footer { background: var(--dark); color: #cfc9bf; padding-top: 80px; font-size: .92rem; }
.site-footer .logo strong { color: #eee9e1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-grid h4 { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #eee9e1; margin: 8px 0 18px; font-weight: 600; }
.footer-grid a:not(.logo) { display: block; margin-bottom: 9px; color: #a9a39a; }
.footer-grid a:hover { color: var(--white); }
.footer-grid p { margin-bottom: 8px; }
.footer-grid .logo { margin-bottom: 20px; }
.footer-grid .muted { color: #a9a39a; max-width: 320px; }
.hours { display: flex; justify-content: space-between; gap: 12px; color: #a9a39a; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: grid !important; place-items: center; width: 40px; height: 40px; border: 1px solid #3a3733; border-radius: 50%; margin: 0 !important; }
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #3a3733; padding: 22px 24px; font-size: .8rem; color: #8a847b; }

/* WhatsApp floating button */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 28px; height: 28px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .nav-cta { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .burger { display: block; }
  .nav-row { min-height: 66px; }
  .main-nav { position: fixed; inset: 66px 0 0 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 40px; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s ease, visibility .3s; overflow-y: auto; }
  .menu-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .main-nav > a, .has-menu > a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav > a::after, .has-menu > a::after { display: none; }
  .mega { position: static; transform: none; opacity: 1; visibility: visible; width: auto; box-shadow: none; background: transparent; grid-template-columns: 1fr; padding: 6px 0 10px; }
  .has-menu:hover .mega, .has-menu:focus-within .mega { transform: none; }
  .mega img { width: 44px; height: 44px; }
  .menu-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .split, .audience, .showroom, .modal-grid { grid-template-columns: 1fr; }
  .split-img { aspect-ratio: 4 / 3; }
  .split-img .badge { right: 16px; bottom: 16px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-grid.masonry .project-card:nth-child(5n + 1) { grid-column: auto; aspect-ratio: 4 / 3; }
  .features { grid-template-columns: 1fr; }
  .toolbar { top: 66px; }
  .modal-grid > img { min-height: 220px; max-height: 280px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .pc-body h3 { font-size: 1.1rem; }
  .cat-grid, .project-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 4 / 3; }
  .form { grid-template-columns: 1fr; }
  .search, .search input { width: 100%; }
  .toolbar { position: static; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
  .tabs button { white-space: nowrap; }
  .logo strong { font-size: 1.3rem; }
  .logo small { display: none; }
  .topbar-right { gap: 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Colour-scheme switcher (preview only; turn off in config.js) */
.palette-switch { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 40px; box-shadow: var(--shadow); font-size: .78rem; }
.palette-switch button { border: 0; background: transparent; padding: 8px 14px; border-radius: 40px; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.palette-switch button.on { background: var(--btn-bg); color: var(--btn-fg); }
.palette-switch i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(128,128,128,.4); }

/* ---------- Tiles: mega menu links ---------- */
.mega-cats { display: grid; gap: 4px; }
.mega-links { border-left: 1px solid var(--line); padding: 6px 4px 6px 20px; }
.mega-links h5 { margin: 4px 0 8px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.mega-links h5 + a { margin-top: 0; }
.mega .mega-links a { display: block; padding: 5px 0; font-size: .9rem; }
.mega .mega-links a:hover { background: none; color: var(--accent); }
.mega-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.mega .mega-sizes a { padding: 5px 10px; border: 1px solid var(--line); border-radius: 40px; font-size: .8rem; }
.mega-links h5:nth-of-type(2) { margin-top: 18px; }

/* ---------- Spaces mosaic (home) ---------- */
.spaces { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.space { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--dark); color: #fff; }
.space img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.space:hover img { transform: scale(1.05); }
.space::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,19,17,.75)); }
.space-cap { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; font-size: .88rem; line-height: 1.35; }
.space-cap small { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: #e6c7a6; margin-bottom: 2px; }
.space-lg { grid-column: span 2; grid-row: span 2; }
.space-lg .space-cap { font-size: 1.05rem; left: 22px; bottom: 20px; }
.spaces .space:nth-child(6), .spaces .space:nth-child(7) { grid-column: span 2; }

/* ---------- Shop by room cards ---------- */
.room-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 40px; }
.room-grid[hidden] { display: none; }
.room-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); border: 0; padding: 0; background: var(--dark); color: #fff; text-align: left; }
.room-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.room-card:hover img { transform: scale(1.06); }
.room-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20,19,17,.78)); }
.room-card span { position: absolute; z-index: 1; left: 16px; right: 12px; bottom: 14px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.room-card small { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #e6c7a6; margin-top: 4px; }

/* ---------- Tile filters ---------- */
.tile-filters { display: grid; gap: 12px; margin: -12px 0 32px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.filter-row { display: flex; align-items: center; gap: 16px; }
.filter-label { flex: none; width: 48px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.filter-row .tabs { min-width: 0; }
.tabs button small { font-size: .7em; opacity: .7; }

/* ---------- Tile product cards ---------- */
.pc-tag-right { left: auto; right: 12px; background: var(--accent); color: var(--on-accent); }
.pc-sizes { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 4px !important; }
.pc-sizes span { font-size: .72rem; padding: 2px 8px; border: 1px solid var(--line); border-radius: 40px; color: var(--ink); }

/* ---------- Tile modal gallery ---------- */
.modal-tile { grid-template-columns: 1.25fr 1fr; }
.gallery { background: var(--dark); display: flex; flex-direction: column; min-width: 0; }
.gallery-main { width: 100%; flex: 1; min-height: 320px; object-fit: cover; display: block; }
@media (max-width: 860px) { .gallery-main { flex: none; min-height: 0; aspect-ratio: 4 / 3; } }
.gallery-cap { margin: 0; padding: 8px 14px 0; font-size: .75rem; color: #cfc9bf; }
.thumbs { display: flex; gap: 6px; padding: 10px 14px 14px; overflow-x: auto; }
.thumbs button { flex: none; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 2px; background: none; overflow: hidden; opacity: .7; }
.thumbs button.on, .thumbs button:hover { border-color: var(--accent); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.chip { display: inline-block; padding: 2px 10px; margin: 0 4px 4px 0; border: 1px solid var(--line); border-radius: 40px; font-size: .8rem; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.modal-info dd { line-height: 1.5; }

@media (max-width: 1080px) {
  .room-grid { grid-template-columns: repeat(3, 1fr); }
  .spaces { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .space-lg { grid-column: span 2; }
  .spaces .space:nth-child(6), .spaces .space:nth-child(7) { grid-column: span 1; }
}
@media (max-width: 860px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .mega { grid-template-columns: 1fr; }
  .mega-links { border-left: 0; padding: 4px 0 8px; }
  .modal-tile { grid-template-columns: 1fr; }
  .filter-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 560px) {
  .room-grid { grid-template-columns: 1fr 1fr; }
  .room-grid .room-card:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }
  .spaces { grid-auto-rows: 160px; gap: 8px; }
  .space-cap { font-size: .78rem; left: 10px; right: 10px; bottom: 8px; }
  .filter-row .tabs { width: 100%; }
}

/* ---------- Tile cards: tile sample, room photo on hover ---------- */
.tile-img { display: grid; place-items: center; padding: 16% 12%; background: var(--bg-alt); }
.pc-img .tile-swatch { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 10px 24px -14px rgba(0,0,0,.45); transition: transform .5s ease; }
.pc-img .tile-room { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease, transform .8s ease; }
.tile-room-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; font-size: .74rem; line-height: 1.35; color: #fff; background: linear-gradient(180deg, transparent, rgba(20,19,17,.75)); opacity: 0; transition: opacity .5s ease; }
.product-card:hover .tile-room, .product-card:focus-visible .tile-room, .product-card:hover .tile-room-cap, .product-card:focus-visible .tile-room-cap { opacity: 1; }
.product-card:hover .tile-swatch { transform: scale(.96); }
.product-card:hover .pc-img .tile-room { transform: scale(1.04); }
.tile-img .pc-tag { z-index: 1; }
@media (hover: none) { .tile-room-cap { display: none; } }

/* ---------- Beige top bar with logo ---------- */
:root { --bar: #ddcdb3; --bar-ink: #3d3f42; --bar-line: #cbb895; --logo: #4a4c4f; --logo-light: #d3bd9a; }
.site-header { background: var(--bar); border-bottom-color: var(--bar-line); }
.site-header .topbar { background: var(--bar-ink); }
.site-header .main-nav > a, .site-header .has-menu > a { color: var(--bar-ink); }
.site-header .main-nav > a::after, .site-header .has-menu > a::after { background: var(--bar-ink); height: 2px; }
.site-header .nav-cta { background: var(--bar-ink); border-color: var(--bar-ink); color: #fff; }
.site-header .nav-cta:hover { background: #fff; border-color: #fff; color: var(--bar-ink); }
.site-header .burger span { background: var(--bar-ink); }
.logo { color: var(--logo); gap: 14px; }
.logo-mark { flex: none; display: block; height: 38px; width: 38px; color: var(--logo); }
.logo-mark.logo-c { width: 23px; }
.logo-mark svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.logo strong { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: .1em; color: var(--logo); }
.site-header .logo small { color: #6f6a62; letter-spacing: .26em; }
.logo-light, .logo-light .logo-mark, .site-footer .logo-light strong { color: var(--logo-light); }
@media (max-width: 860px) {
  .main-nav { background: var(--bar); }
  .main-nav > a, .has-menu > a { border-bottom-color: var(--bar-line); }
}
@media (max-width: 560px) {
  .logo-mark { width: 30px; height: 30px; }
  .logo-mark.logo-c { width: 18px; }
  .logo strong { font-size: 1.25rem; }
}
.site-header { backdrop-filter: none; }

/* ---------- Dark top bar (matches footer) ---------- */
:root { --bar: #262523; --bar-ink: #ece6dc; --bar-line: #3a3835; }
.site-header .topbar { background: #1c1b1a; border-bottom: 1px solid var(--bar-line); }
.site-header .logo, .site-header .logo-mark, .site-header .logo strong { color: var(--logo-light); }
.site-header .logo small { color: #a9a39a; }
.site-header .nav-cta { background: var(--logo-light); border-color: var(--logo-light); color: #262523; }
.site-header .nav-cta:hover { background: #fff; border-color: #fff; color: #262523; }
.site-header .main-nav > a::after, .site-header .has-menu > a::after { background: var(--logo-light); }
.site-header .main-nav > a.active, .site-header .has-menu > a.active { color: var(--logo-light); }
.site-header .mega, .site-header .mega a { color: var(--ink); }
@media (max-width: 860px) {
  .site-header .mega, .site-header .mega a { color: var(--bar-ink); }
  .site-header .mega small { color: #a9a39a; }
  .site-header .mega a:hover { background: rgba(255,255,255,.06); }
  .site-header .mega-sizes a { border-color: var(--bar-line); }
}
.tile-filters { grid-template-columns: minmax(0, 1fr); }
.filter-row { min-width: 0; }
.filter-row .tabs { max-width: 100%; }

/* Header hides on scroll down, returns on scroll up */
.site-header { transition: transform .35s ease; }
.nav-hidden .site-header { transform: translateY(-100%); }
.nav-hidden .has-menu .mega { opacity: 0; visibility: hidden; }
.toolbar { transition: top .35s ease; }
.nav-hidden .toolbar { top: 0; }
@media (prefers-reduced-motion: reduce) { .site-header, .toolbar { transition: none; } }

/* ---------- References / clients ---------- */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.client-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); }
.client-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.client-body { padding: 32px 30px 30px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.client-mark { width: 64px; height: 64px; margin-bottom: 18px; display: grid; place-items: center; background: var(--dark); color: var(--logo-light, #d3bd9a); border-radius: 3px; }
.client-mark span { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .06em; }
.client-mark img { max-width: 80%; max-height: 80%; object-fit: contain; }
.client-card h3 { font-size: 1.7rem; margin: 0; }
.client-sector { margin: 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.client-meta, .client-supplied { margin: 6px 0 0; color: var(--ink-soft); font-size: .92rem; }
.client-card blockquote { margin: 14px 0 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.4; }
.client-card cite { display: block; margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: .8rem; color: var(--ink-soft); }
.client-cta { background: transparent; border-style: dashed; transition: border-color .2s, background .2s; }
.client-cta:hover { border-color: var(--accent); background: var(--surface); }
.client-cta .client-mark { background: transparent; border: 1px solid var(--line); color: var(--accent); }
.client-cta .link-arrow { margin-top: auto; padding-top: 18px; color: var(--accent); }

.trusted { padding-block: 72px; text-align: center; border-bottom: 1px solid var(--line); }
.trusted .eyebrow { display: block; margin-bottom: 26px; }
.trusted-names { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; margin-bottom: 28px; }
.trusted-names span { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 500; color: var(--ink); letter-spacing: .02em; }
.trusted-names i { width: 7px; height: 7px; background: var(--accent); opacity: .7; }

@media (max-width: 1080px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .client-grid { grid-template-columns: 1fr; }
  .trusted-names { gap: 10px 18px; }
  .trusted-names i { width: 5px; height: 5px; }
}
.client-mark { width: auto; min-width: 64px; padding: 0 14px; }
.nav-cta, .site-header .logo small, .main-nav > a, .has-menu > a { white-space: nowrap; }
.main-nav { gap: 26px; }
@media (max-width: 1240px) { .site-header .logo small { display: none; } }
@media (max-width: 560px) { .trusted-names i { display: none; } .trusted-names { gap: 6px 22px; } }
.client-mark { align-self: flex-start; }

/* ---------- Homepage: compact tiles section ---------- */
.tiles-home .section-head { margin-bottom: 28px; }
.room-grid-short { margin-bottom: 36px; }
.room-grid-short .room-card { aspect-ratio: 4 / 3; }
.room-grid-short .room-card span { font-size: 1.2rem; }
.mini-title { font-family: var(--sans); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 16px; }
.trusted-top { border-top: 1px solid var(--line); }

/* ---------- Quotation planner ---------- */
.planner-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.planner-intro { min-width: 0; }
.planner-steps { list-style: none; counter-reset: pl; padding: 0; margin: 28px 0; display: grid; gap: 10px; }
.planner-steps li { counter-increment: pl; display: flex; align-items: center; gap: 14px; color: #ddd6cb; }
.planner-steps li::before { content: counter(pl); width: 30px; height: 30px; border-radius: 50%; border: 1px solid #5a5650; display: grid; place-items: center; font-family: var(--serif); font-size: 1.05rem; color: var(--logo-light, #d3bd9a); }
.planner-call { display: grid; gap: 2px; padding: 20px 22px; border: 1px solid #3a3835; border-radius: var(--radius); }
.planner-call small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #a9a39a; }
.planner-call a { font-family: var(--serif); font-size: 2rem; color: var(--logo-light, #d3bd9a); line-height: 1.2; }
.planner-call span { font-size: .85rem; color: #a9a39a; }
.planner { min-width: 0; color: var(--ink); }
.planner h3 { font-size: 1.9rem; margin: 0 0 22px; outline: none; }
.pl-progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 14px; }
.pl-progress span { display: block; height: 100%; background: var(--accent); transition: width .4s ease; }
.pl-count { margin: 0 0 6px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.choices { display: grid; gap: 10px; }
.choices-2 { grid-template-columns: 1fr 1fr; }
.choices-3 { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: border-color .2s, background .2s; }
.choice strong { display: block; font-weight: 600; font-size: .95rem; }
.choice small { display: block; color: var(--ink-soft); font-size: .82rem; margin-top: 2px; }
.choice:hover span { border-color: var(--ink-soft); }
.choice input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + span, .chip-check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pl-row { margin-top: 18px; }
.counters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.counter span { font-size: .92rem; }
.counter div { display: flex; align-items: center; gap: 4px; }
.counter button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font-size: 1.1rem; line-height: 1; }
.counter button:hover { border-color: var(--accent); color: var(--accent); }
.counter output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.pl-label { margin: 20px 0 8px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.pl-label small { text-transform: none; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { cursor: pointer; position: relative; }
.chip-check input { position: absolute; opacity: 0; }
.chip-check span { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 40px; font-size: .88rem; background: var(--bg); }
.chip-check input:checked + span { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.pl-error { min-height: 1.3em; margin: 14px 0 0; color: #b4462f; font-size: .9rem; }
.pl-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.pl-restart { background: none; border: 0; padding: 0; color: var(--ink-soft); }
.pl-summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 0 0 18px; padding: 18px 20px; background: var(--bg); border-radius: var(--radius); font-size: .93rem; }
.pl-summary dt { color: var(--ink-soft); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px; }
.pl-summary dd { margin: 0; overflow-wrap: anywhere; }
.pl-final { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-wa { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.btn-wa:hover { background: #17834a; border-color: #17834a; color: #fff; }
.pl-final svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .planner-wrap { grid-template-columns: 1fr; }
  .planner-steps { display: none; }
}
@media (max-width: 560px) {
  .choices-2, .choices-3, .counters { grid-template-columns: 1fr; }
  .room-grid-short { grid-template-columns: 1fr 1fr; }
  .room-grid-short .room-card:last-child { grid-column: span 2; aspect-ratio: 2 / 1; }
  .planner h3 { font-size: 1.6rem; }
  .pl-final .btn { width: 100%; justify-content: center; }
}
.planner .muted { color: var(--ink-soft); }

.planner-call { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; }
.pc-opt { display: grid; gap: 4px; padding: 18px 22px; }
.pc-opt + .pc-opt { border-top: 1px solid #3a3835; }
.pc-opt small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #a9a39a; }
.pc-big { font-family: var(--serif); font-size: 2rem; color: var(--logo-light, #d3bd9a); line-height: 1.2; }
.pc-opt > span { font-size: .85rem; color: #a9a39a; }
.pc-opt .pc-addr { font-size: 1rem; color: #ece6dc; }
.pc-dir { color: var(--logo-light, #d3bd9a); margin-top: 4px; justify-self: start; }
.planner-call .pc-dir { font-family: var(--sans); font-size: .78rem; line-height: 1.4; }

/* Tile cards: show the tile first, then slowly reveal the room photo */
.pc-img .tile-room, .tile-room-cap { transition: opacity .35s ease, transform 1.2s ease; transition-delay: 0s; }
.product-card:hover .pc-img .tile-room, .product-card:hover .tile-room-cap,
.product-card:focus-visible .pc-img .tile-room, .product-card:focus-visible .tile-room-cap { transition: opacity 1.1s ease .7s, transform 2.4s ease .7s; }

/* Hero: name of the tile shown in the current photo */
.hero-tile { position: absolute; z-index: 3; right: 24px; bottom: 52px; display: grid; gap: 1px; padding: 12px 16px; min-width: 200px; background: rgba(28,27,26,.55); backdrop-filter: blur(6px); border-left: 2px solid var(--logo-light, #d3bd9a); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.hero-tile.show { opacity: 1; transform: none; }
.hero-tile small { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: #d3bd9a; }
.hero-tile strong { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
.hero-tile span { font-size: .8rem; color: #ddd6cb; }
.hero-tile:hover { background: rgba(28,27,26,.75); }
@media (max-width: 860px) { .hero-tile { display: none; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,19,17,.55) 0%, rgba(20,19,17,.25) 45%, transparent 70%); pointer-events: none; }
.hero-dots { right: auto; left: 50%; transform: translateX(-50%); bottom: 26px; }
/* keep tall (portrait) and wide (plank) tile samples inside the card */
.pc-img.tile-img { padding: 0; }
.pc-img .tile-swatch { position: absolute; inset: 0; margin: auto; max-width: 76%; max-height: 66%; }

/* ---------- Featured tiles: sliding row ---------- */
.slider-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.slider-head .mini-title { margin: 0; }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrows button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.1rem; transition: .2s; }
.slider-arrows button:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.slider-arrows button:disabled { opacity: .35; cursor: default; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); column-gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; min-width: 0; }
@media (max-width: 1080px) { .slider-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 860px) { .slider-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 560px) { .slider-track { grid-auto-columns: 72%; column-gap: 12px; } .slider-arrows { display: none; } }

/* Details window for tiles without a room photo: show the tile itself */
.gallery-tiles { background: var(--bg-alt); }
.gallery-tiles .gallery-main { object-fit: contain; padding: 12%; background: var(--bg-alt); filter: drop-shadow(0 14px 22px rgba(0,0,0,.18)); }
.gallery-tiles .thumbs { background: var(--dark); }

/* ---------- Sanitary ware ---------- */
.cat-grid { grid-template-columns: repeat(2, 1fr); }
.cat-grid .cat-card { aspect-ratio: 16 / 10; }
.san-grid { grid-template-columns: repeat(3, 1fr); }
.san-grid .room-card { aspect-ratio: 4 / 3; background: var(--bg-alt); }
.san-empty { grid-column: 1 / -1; padding: 40px clamp(20px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); max-width: 760px; }
.san-empty h3 { font-size: 1.6rem; margin-bottom: 8px; }
.san-empty p { color: var(--ink-soft); margin: 0; }
.san-empty .btn-row { margin-top: 22px; }
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .san-grid { grid-template-columns: 1fr; }
  .san-grid .room-card:last-child { grid-column: auto; aspect-ratio: 4 / 3; }
}
[hidden] { display: none !important; }
.mega-cats { align-content: start; }
.mega-links h5:nth-of-type(3) { margin-top: 18px; }

/* ---------- Sanitary product cards ---------- */
.san-img { background: #fff; border: 0; display: grid; place-items: center; }
.pc-img.san-img img { width: 86%; height: 86%; object-fit: contain; }
.product-card:hover .pc-img.san-img img { transform: scale(1.05); }
.no-photo { color: var(--ink-soft); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; line-height: 1.6; }
.no-photo small { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.san-product .pc-body h3 { font-size: 1.15rem; line-height: 1.25; }
.san-modal-img { background: #fff; display: grid; place-items: center; min-height: 360px; padding: 24px; }
.san-modal-img img { max-width: 100%; max-height: 440px; object-fit: contain; }

.san-modal-img .no-photo { padding: 24px; }

.pc-img.san-img { box-shadow: none; outline: 0; }

/* ---------- Mixers: water runs from the spout on hover ---------- */
.san-img { position: relative; overflow: hidden; }
.water { position: absolute; z-index: 2; width: 5px; margin-left: -2.5px; pointer-events: none; border-radius: 0 0 3px 3px; overflow: hidden;
  background: linear-gradient(90deg, rgba(90,150,205,.55), rgba(215,238,255,.95) 45%, rgba(120,178,225,.75));
  transform: scaleY(0); transform-origin: top; opacity: 0; transition: transform .45s ease-in, opacity .2s; }
.water::before { content: ""; position: absolute; inset: -20px 0 0; background: repeating-linear-gradient(180deg, transparent 0 9px, rgba(255,255,255,.85) 9px 13px); animation: water-flow .35s linear infinite; }
.splash { position: absolute; z-index: 2; width: 26px; height: 7px; margin: -3.5px 0 0 -13px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(110,170,220,.65); opacity: 0; transform: scale(.2); }
.product-card:hover .water, .product-card:focus-visible .water { transform: scaleY(1); opacity: 1; }
.product-card:hover .splash, .product-card:focus-visible .splash { animation: water-splash .8s ease-out .4s infinite; }
.water-wrap { position: relative; display: inline-block; line-height: 0; }
.water-wrap .water { width: 8px; margin-left: -4px; }
.water-wrap .splash { width: 44px; height: 11px; margin: -5.5px 0 0 -22px; }
.water-wrap:hover .water { transform: scaleY(1); opacity: 1; }
.water-wrap:hover .splash { animation: water-splash .8s ease-out .4s infinite; }
.water-wrap.no-water .water, .water-wrap.no-water .splash { display: none; }
@media (hover: none) {
  .water-wrap .water { transform: scaleY(1); opacity: 1; transition-delay: .4s; }
  .water-wrap .splash { animation: water-splash .8s ease-out .8s infinite; }
}
@keyframes water-flow { to { transform: translateY(13px); } }
@keyframes water-splash { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.4); } }
@media (prefers-reduced-motion: reduce) { .water::before, .splash { animation: none !important; } .water { transition: none; } }
/* smoother water + exact position in the details window */
.water { width: 6px; margin-left: -3px; border-radius: 3px 3px 4px 4px;
  background: linear-gradient(90deg, rgba(110,165,215,.35), rgba(225,242,255,.95) 40%, rgba(170,210,240,.85) 60%, rgba(110,165,215,.45));
  box-shadow: 0 0 4px rgba(140,190,235,.45); }
.water::before { inset: -40px 0 0; background: repeating-linear-gradient(180deg, transparent 0 18px, rgba(255,255,255,.55) 22px, transparent 28px); filter: blur(1px); animation: water-flow .45s linear infinite; }
@keyframes water-flow { to { transform: translateY(28px); } }
.water-wrap .water { width: 10px; margin-left: -5px; }
.water-wrap .gallery-main { flex: none; min-height: 0; aspect-ratio: auto; width: auto; height: auto; max-width: 100%; max-height: 400px; padding: 0; object-fit: fill; filter: none; display: block; background: transparent; }

/* realistic water (drawn by water.js) */
.water, .splash { display: none !important; }
.water-canvas { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; }
.product-card:hover .pc-img.san-img img { transform: none; }

/* series banner with a real Oioli photo */
.cat-intro.series-banner { position: relative; max-width: none; padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px); border-radius: var(--radius);
  background-size: cover; background-position: center; color: #fff; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.cat-intro.series-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,17,.72), rgba(20,19,17,.25) 70%); }
.cat-intro.series-banner > * { position: relative; }
.cat-intro.series-banner p { color: #ece6dc; max-width: 560px; }
/* lifestyle photo in the details window fills the picture area */
.san-gal.show-photo .san-modal-img { padding: 0; background: #000; }
.san-gal.show-photo .water-wrap .gallery-main { max-height: 520px; width: 100%; object-fit: cover; }
.san-grid .room-card img { object-fit: cover; }

.water-canvas { display: none !important; }

/* sanitary cards: real photo fades in on hover, same timing as the tiles */
.pc-img.san-img img.tile-room { width: 100%; height: 100%; object-fit: cover; }
.pc-img.san-img.san-cover img:first-child { width: 100%; height: 100%; object-fit: cover; }
.pc-img.san-img .pc-tag { z-index: 2; }

/* details window: a real photo or a colour sample fills the whole picture area */
.san-gal.show-photo .san-modal-img { padding: 0; background: #fff; display: block; }
.san-gal.show-photo .water-wrap { display: block; width: 100%; }
.san-gal.show-photo .water-wrap .gallery-main { display: block; width: 100%; height: min(520px, 60vh); max-height: none; object-fit: cover; }

/* key figures: 3 across (1 per row on phones) */
.stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* client badges on References: light beige, bronze letters (not black) */
.client-mark { background: #f1ebe1; color: var(--accent); border: 1px solid #e3d7c5; }
.client-cta .client-mark { background: transparent; border: 1px solid var(--line); color: var(--accent); }

/* Featured tiles: 2 rows (all 10 visible on a wide screen; scroll on smaller screens) */
.slider-track { grid-template-rows: repeat(2, auto); grid-auto-flow: column; row-gap: 24px; grid-auto-columns: calc((100% - 4 * 20px) / 5); }
@media (max-width: 1080px) { .slider-track { grid-auto-columns: calc((100% - 3 * 20px) / 4); } }
@media (max-width: 860px) { .slider-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 560px) { .slider-track { grid-auto-columns: calc((100% - 12px) / 2); column-gap: 12px; row-gap: 18px; } }
[data-slider].no-scroll .slider-arrows { display: none; }

/* Homepage: sanitary ware (6 items) */
.san-type-links { display: flex; flex-wrap: wrap; gap: 10px; margin: -6px 0 28px; }
.san-type-links a { padding: 9px 18px; border: 1px solid var(--line); border-radius: 40px; font-size: .9rem; background: var(--surface); transition: .2s; }
.san-type-links a:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.product-grid.san-home-grid { grid-template-columns: repeat(6, 1fr); gap: 24px 18px; }
@media (max-width: 1080px) { .product-grid.san-home-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .product-grid.san-home-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; } }
.san-home-grid .pc-tag { display: none; }

/* logo E (isometric tiles): wider than tall */
.logo-mark.logo-e { width: 56px; height: 38px; }
@media (max-width: 860px) { .logo-mark.logo-e { width: 48px; height: 33px; } }

/* showroom: photo with a Google Maps button instead of an embedded map */
.map { position: relative; overflow: hidden; }
.map-photo { position: absolute; inset: 0; display: block; }
.map-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.map-photo:hover img { transform: scale(1.04); }
.map-btn { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; background: var(--surface); color: var(--ink); border-radius: 40px; font-size: .9rem; box-shadow: var(--shadow); white-space: nowrap; }
.map-photo:hover .map-btn { background: var(--ink); color: var(--bg); }
.footer-grid p a:not(.logo) { display: inline; margin: 0; padding: 0; }

/* key figures: a word (e.g. Spain & Italy) is smaller than the numbers */
.stat.stat-word strong { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: clamp(2.2rem, 4vw, 3.2rem); }
