/* ALIF Carpets demo. Palette from the shop's own sample board: felt charcoal, frost silver, cappuccino, rug red. */
@font-face { font-family: 'Bricolage'; src: url('../fonts/Bricolage-var.woff2') format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Instrument'; src: url('../fonts/InstrumentSans-var.woff2') format('woff2'); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }

:root {
  --ink: #1d2126;
  --ink-2: #3a4149;
  --felt: #262b31;
  --felt-2: #30363d;
  --wall: #f7f6f3;
  --frost: #e8eaec;
  --frost-2: #dcdfe2;
  --silver: #c3c8cc;
  --line: #d0d4d8;
  --cap: #7b6150;
  --red: #c2333b;
  --red-d: #9d262d;
  --wa: #0f7d47;
  --wa-d: #0a5f35;
  --ok: #1f7a4d;
  --shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 30px -14px rgba(20,26,32,.35);
  --pile: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  --display: 'Bricolage', 'Arial Narrow', Arial, sans-serif;
  --body: 'Instrument', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --header-h: 64px;
}

*, *::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(--body); font-size: 1.0625rem; line-height: 1.55; color: var(--ink);
  background: var(--frost); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; font-stretch: 78%; line-height: 1.02; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-stretch: 85%; }
p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-2); max-width: 54ch; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.25em; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg); font: 700 1rem/1.1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red { --bg: var(--red); }
.btn-red:hover { --bg: var(--red-d); }
.btn-wa { --bg: var(--wa); }
.btn-wa:hover { --bg: var(--wa-d); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; }
.btn-light { --bg: #fff; --fg: var(--ink); border-color: #fff; }
.btn-line { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.55); }
.btn-line:hover { --bg: #fff; --fg: var(--ink); }
.btn-sm { min-height: 44px; padding: .5em 1em; font-size: .95rem; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--wall); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.site-footer .brand { margin-right: 0; }
.brand-mark { display: grid; gap: 3px; width: 26px; }
.brand-mark i { display: block; height: 7px; border-radius: 2px; }
.brand-mark i:nth-child(1) { background: #a9a69b; }
.brand-mark i:nth-child(2) { background: var(--cap); width: 84%; }
.brand-mark i:nth-child(3) { background: var(--red); width: 68%; }
.brand-name { font: 800 1.7rem/1 var(--display); font-stretch: 75%; letter-spacing: .01em; }
.brand-name small { display: block; font: 600 .68rem/1 var(--body); font-stretch: 100%; letter-spacing: .32em; text-transform: uppercase; color: var(--cap); margin-top: 3px; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav > ul a { display: block; white-space: nowrap; padding: .55em .7em; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav > ul a:hover { background: var(--frost); }
.nav > ul a[aria-current="page"] { background: var(--ink); color: #fff; }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; padding: .35em .8em; border-radius: 999px; background: var(--frost); white-space: nowrap; }
.status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--silver); flex: none; }
.status.open::before { background: var(--ok); box-shadow: 0 0 0 0 rgba(31,122,77,.5); animation: pulse 2.4s infinite; }
.status.closed::before { background: var(--red); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(31,122,77,0); } 100% { box-shadow: 0 0 0 0 rgba(31,122,77,0); } }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; cursor: pointer; padding: 0; place-items: center; }
.menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform .2s; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu is a SIBLING of the header (a filtered/blurred header would clip a fixed child) */
.mnav { position: fixed; inset: 0; z-index: 60; background: var(--felt); color: #fff; display: flex; flex-direction: column; padding: 20px var(--gut) 28px; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .2s, transform .2s, visibility 0s .2s; overflow-y: auto; }
.mnav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-bottom: 18px; }
.mnav .brand-name small { color: #b8a191; }
.mnav-close { width: 46px; height: 46px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.mnav ul { list-style: none; margin: 0 0 22px; padding: 0; }
.mnav li a { display: flex; align-items: center; justify-content: space-between; padding: .55em 0; font: 800 clamp(1.7rem, 8vw, 2.4rem)/1.1 var(--display); font-stretch: 78%; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.14); min-height: 56px; }
.mnav li a[aria-current="page"] { color: #ff9aa0; }
.mnav .btn-row { margin-top: auto; }
.mnav .btn { flex: 1 1 140px; }
.mnav .status { background: rgba(255,255,255,.12); color: #fff; margin-bottom: 14px; align-self: flex-start; }

@media (max-width: 1180px) { .hdr-actions .status { display: none; } }
@media (max-width: 1040px) {
  .nav, .hdr-actions .btn { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 520px) { .hdr-actions .status { display: none; } }

/* ---------- Sticky phone dock ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); background: rgba(247,246,243,.97); border-top: 1px solid var(--line); }
  .dock .btn { min-height: 48px; padding-inline: .5em; font-size: .95rem; }
  body { padding-bottom: 72px; }
}

/* ---------- Sections ---------- */
.sec { padding-block: clamp(44px, 8vw, 96px); }
.sec-tight { padding-block: clamp(32px, 5vw, 56px); }
.felt { background: var(--felt) var(--pile); background-blend-mode: soft-light; color: #fff; }
.felt .lede, .felt p { color: #d6dadd; }
.wall { background: var(--wall); }
.seam { border: 0; border-top: 2px dashed var(--silver); margin: 0; }
.kicker { display: inline-block; font: 700 .95rem/1 var(--body); color: var(--cap); margin-bottom: 14px; padding-left: 34px; position: relative; }
.kicker::before { content: ''; position: absolute; left: 0; top: 50%; width: 24px; height: 0; border-top: 3px solid var(--red); }
.felt .kicker { color: #d4bfae; }
.sec-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 44px); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }

/* Bound edge: the stitched binding of a carpet sample */
.card { background: #fff; border-radius: 8px; padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); position: relative; }
.card::after { content: ''; position: absolute; inset: 7px; border: 1.5px dashed var(--silver); border-radius: 4px; pointer-events: none; }
.card > * { position: relative; z-index: 1; }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(36px, 6vw, 72px); background: var(--wall); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 28px; font-weight: 600; font-size: .98rem; }
.hero-proof b { font: 800 1.9rem/1 var(--display); font-stretch: 78%; margin-right: 6px; }
.stars { color: #d69a1f; letter-spacing: 2px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

.scene-card { background: var(--felt); border-radius: 18px; padding: 10px 10px 0; box-shadow: var(--shadow); overflow: hidden; }
.scene { width: 100%; height: auto; border-radius: 10px; background: var(--felt); }
.scene text { font-family: var(--body); }
.scene .floor-anim { animation: fade-floor .35s ease; }
@keyframes fade-floor { from { opacity: .25; } to { opacity: 1; } }
.scene.unroll .floor-anim { animation: unroll 1.5s cubic-bezier(.3,.7,.2,1) both; }
@keyframes unroll { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.scene-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 12px 8px 14px; color: #dfe3e6; font-size: .95rem; }
.scene-cap strong { color: #fff; font-family: var(--display); font-stretch: 80%; font-size: 1.25rem; font-weight: 800; }
.scene-cap a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }

/* swatch chips */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; }
.sw { position: relative; aspect-ratio: 1; border-radius: 6px; border: 0; padding: 0; cursor: pointer; background-size: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.22); transition: transform .15s; min-width: 44px; min-height: 44px; }
.sw:hover { transform: translateY(-3px) rotate(-1.5deg); }
.sw[aria-pressed="true"] { outline: 3px solid var(--red); outline-offset: 2px; }
.felt .sw[aria-pressed="true"], .scene-card .sw[aria-pressed="true"] { outline-color: #fff; }
.sw::after { content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); background: var(--ink); color: #fff; font: 600 .78rem/1 var(--body); padding: 6px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 5; }
.sw:hover::after, .sw:focus-visible::after { opacity: 1; }
.swatch-strip { display: flex; gap: 7px; overflow-x: auto; padding: 4px 4px 14px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.swatch-strip .sw { flex: 0 0 48px; width: 48px; height: 48px; scroll-snap-align: start; }
.swatch-strip .sw::after { display: none; }

/* ---------- Trust band ---------- */
.trust { background: var(--ink); color: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.trust-i { padding: 22px 18px; border-left: 1px solid rgba(255,255,255,.14); }
.trust-i:first-child { border-left: 0; padding-left: 0; }
.trust-i b { display: block; font: 800 1.9rem/1 var(--display); font-stretch: 78%; }
.trust-i span { font-size: .93rem; color: #c9ced2; }
@media (max-width: 760px) { .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust-i { padding-left: 14px; border-top: 1px solid rgba(255,255,255,.14); } .trust-i:nth-child(-n+2) { border-top: 0; } .trust-i:nth-child(odd) { border-left: 0; padding-left: 0; } }

/* ---------- Steps (a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-top: 58px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; font: 800 1.5rem/46px var(--display); text-align: center; }
.steps li::after { content: ''; position: absolute; top: 22px; left: 58px; right: 8px; border-top: 2px dashed var(--silver); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .3em; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li::after { display: none; } }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }
.photo { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); background: var(--frost-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { padding: 10px 14px; font-size: .9rem; background: #fff; color: var(--ink-2); }
figure { margin: 0; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-pair .photo { aspect-ratio: 3/4; }
.photo-pair .photo:nth-child(2) { transform: translateY(24px); }

.tick { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.tick li { padding-left: 32px; position: relative; }
.tick li::before { content: ''; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/100% no-repeat; }
.felt .tick li::before { background-color: #57b98a; }

/* ---------- Review marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: slide 70s linear infinite; padding: 8px 0 20px; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.q { flex: 0 0 min(340px, 78vw); background: #fff; border-radius: 8px; padding: 22px 22px 18px; box-shadow: var(--shadow); position: relative; color: var(--ink); }
.q::after { content: ''; position: absolute; inset: 6px; border: 1.5px dashed var(--silver); border-radius: 4px; pointer-events: none; }
.q p { font: 600 1.15rem/1.3 var(--display); font-stretch: 88%; margin: 0 0 14px; }
.q cite { font-style: normal; font-size: .9rem; color: var(--ink-2); display: block; }
.q .stars { font-size: .95rem; display: block; margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta { background: var(--red); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding-block: clamp(34px, 6vw, 60px); }
.cta h2 { margin: 0 0 .2em; }
.cta p { margin: 0; color: #ffe9ea; }
.cta .btn-row .btn-light:hover { --bg: var(--ink); --fg: #fff; border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--felt) var(--pile); background-blend-mode: soft-light; color: #d6dadd; padding-block: 48px 30px; font-size: .97rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { font: 700 .95rem/1 var(--body); text-transform: none; color: #fff; margin-bottom: 12px; letter-spacing: 0; font-stretch: 100%; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { text-decoration: none; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.site-footer p a { display: inline-block; padding: 10px 0; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: #b8a191; }
.foot-note { grid-column: 1 / -1; max-width: none; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; font-size: .86rem; color: #aab0b6; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 5px 0; border-bottom: 1px dashed rgba(255,255,255,.18); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { color: #fff; font-weight: 700; }
.on-light .hours td { border-bottom-color: var(--line); }
.on-light .hours tr.today td { color: var(--red-d); }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Page heads ---------- */
.page-head { background: var(--wall); border-bottom: 1px solid var(--line); padding-block: clamp(30px, 5vw, 56px) clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: .25em; }
.page-head p { margin-bottom: 0; }

/* ---------- Planner ---------- */
.pl { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding-block: clamp(20px, 3vw, 40px) clamp(40px, 6vw, 80px); }
.pl-left { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
.pl-right { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }
.panel { background: #fff; border-radius: 10px; padding: clamp(16px, 2.6vw, 26px); box-shadow: var(--shadow); }
.panel h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .5em; display: flex; align-items: center; gap: 10px; }
.panel h2 .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.15rem; line-height: 34px; text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--wall); color: var(--ink); border-radius: 999px; padding: .5em .95em; min-height: 44px; font: 600 .95rem/1.1 var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: background .15s, border-color .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { font-weight: 500; opacity: .8; }
.chip-add { border-style: dashed; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > label, .field > .lbl { font-weight: 700; font-size: .95rem; }
.field .hint { font-size: .88rem; color: var(--ink-2); font-weight: 500; }
input[type="text"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: .6em .8em; border: 1.5px solid var(--line); border-radius: 10px; font: 500 1rem/1.3 var(--body); background: #fff; color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--ink); }
.dim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.stepper { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 6px; align-items: center; }
.stepper button { width: 46px; height: 48px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--wall); font: 700 1.4rem/1 var(--body); cursor: pointer; }
.stepper button:hover { border-color: var(--ink); }
.stepper input { text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--red); height: 32px; margin: 0; }
.opt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.opt { text-align: left; border: 1.5px solid var(--line); background: var(--wall); border-radius: 10px; padding: 12px 12px 11px; cursor: pointer; font: inherit; color: inherit; min-height: 44px; }
.opt b { display: block; font: 700 1rem/1.2 var(--body); }
.opt span { font-size: .85rem; color: var(--ink-2); }
.opt[aria-pressed="true"] { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (max-width: 480px) { .opt-grid { grid-template-columns: minmax(0, 1fr); } .opt-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--wall); cursor: pointer; min-height: 48px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--red); flex: none; }
.check b { display: block; }
.check span { font-size: .88rem; color: var(--ink-2); }
.check:has(input:checked) { background: #fff; border-color: var(--ink); }

.est-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .97rem; }
.est-table th { text-align: left; font-weight: 700; padding: 8px 6px 8px 0; border-bottom: 2px solid var(--ink); font-size: .85rem; }
.est-table td { padding: 10px 6px 10px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.est-table th:last-child, .est-table td:last-child { text-align: right; padding-right: 0; }
.est-table small { display: block; color: var(--ink-2); font-size: .82rem; }
.est-table .cut { color: var(--ink-2); font-size: .82rem; }
.est-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; padding: 16px 0 6px; }
.est-total b { font: 800 clamp(2rem, 5vw, 2.8rem)/1 var(--display); font-stretch: 78%; }
.disc { font-size: .88rem; color: var(--ink-2); margin: 8px 0 0; }
.disc strong { color: var(--red-d); }

.wa-preview { background: #e6f3dc; border-radius: 14px 14px 14px 4px; padding: 14px 16px; font-size: .98rem; white-space: pre-wrap; word-break: break-word; box-shadow: 0 1px 0 rgba(0,0,0,.12); position: relative; max-height: 320px; overflow: auto; color: #14201a; line-height: 1.45; font-family: var(--body); margin: 0 0 14px; }
.wa-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 700; font-size: .95rem; }
.wa-head i { width: 34px; height: 34px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; }
.wa-head small { display: block; font-weight: 500; color: var(--ink-2); font-size: .82rem; }

/* mobile: keep the room in view while you drag the sliders */
@media (max-width: 900px) {
  .pl { grid-template-columns: minmax(0, 1fr); }
  .pl-left { position: sticky; top: var(--header-h); z-index: 12; margin-inline: calc(var(--gut) * -1); padding: 8px var(--gut) 0; background: var(--frost); box-shadow: 0 10px 14px -12px rgba(0,0,0,.4); gap: 8px; }
  .pl-left .scene-card { padding: 6px 6px 0; }
  .pl-left .scene { max-height: 30vh; }
  .pl-left .scene-cap { display: none; }
  .pl-left .panel-sw { display: none; }
}
@media (max-width: 900px) and (orientation: landscape) { .pl-left { position: static; box-shadow: none; } .pl-left .scene { max-height: none; } }

/* ---------- Carpets page ---------- */
.board { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 760px) { .board { grid-template-columns: minmax(0, 1fr); } .board .photo { max-width: 320px; } }
.colour-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.colour-list a { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; padding: 8px 12px 8px 8px; min-height: 52px; cursor: pointer; font: 600 .95rem/1.1 var(--body); text-align: left; text-decoration: none; color: var(--ink); }
.colour-list a:hover { border-color: var(--ink); }
.colour-list .dot { width: 34px; height: 34px; border-radius: 6px; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.rooms-guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 980px) { .rooms-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .rooms-guide { grid-template-columns: minmax(0, 1fr); } }
.rooms-guide h3 { margin-bottom: .2em; }
.rooms-guide p { margin: 0; font-size: .97rem; }
.fit-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .fit-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .fit-facts { grid-template-columns: minmax(0, 1fr); } }
.fit-facts b { display: block; font: 800 2.3rem/1 var(--display); font-stretch: 78%; color: var(--red); margin-bottom: 6px; }
.fit-facts p { font-size: .95rem; margin: 0; }

/* ---------- Work gallery ---------- */
.gal { columns: 3 260px; column-gap: 14px; }
.gal button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: zoom-in; background: var(--frost-2); break-inside: avoid; position: relative; box-shadow: var(--shadow); }
.gal img { width: 100%; height: auto; transition: transform .4s; }
.gal button:hover img { transform: scale(1.03); }
.gal .tag { position: absolute; left: 8px; bottom: 8px; background: rgba(29,33,38,.86); color: #fff; font-size: .82rem; font-weight: 600; padding: 5px 9px; border-radius: 6px; }
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(15,18,21,.94); display: none; align-items: center; justify-content: center; padding: 56px 12px 72px; touch-action: pan-y; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lb .x { top: 10px; right: 10px; } .lb .pv { left: 10px; top: 50%; transform: translateY(-50%); } .lb .nx { right: 10px; top: 50%; transform: translateY(-50%); }
.lb .cap { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: #e4e7e9; font-size: .95rem; padding-inline: 70px; }
@media (max-width: 560px) { .lb .pv, .lb .nx { top: auto; bottom: 8px; transform: none; width: 46px; height: 46px; } .lb .cap { padding-inline: 64px; bottom: 20px; } }

/* ---------- Reviews page ---------- */
.rev-top { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (max-width: 760px) { .rev-top { grid-template-columns: minmax(0, 1fr); } }
.big-rate { font: 800 clamp(4.5rem, 14vw, 7rem)/.9 var(--display); font-stretch: 75%; }
.bars { display: grid; gap: 7px; }
.bar { display: grid; grid-template-columns: 56px minmax(0, 1fr) 34px; white-space: nowrap; gap: 10px; align-items: center; font-size: .95rem; font-variant-numeric: tabular-nums; }
.bar i { height: 12px; border-radius: 6px; background: var(--frost-2); overflow: hidden; display: block; }
.bar i span { display: block; height: 100%; background: var(--cap); border-radius: 6px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { display: inline-flex; gap: 9px; align-items: center; padding: .55em .9em; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: .95rem; }
.topic b { background: var(--ink); color: #fff; border-radius: 999px; min-width: 26px; padding: 2px 7px; text-align: center; font-size: .85rem; }
.rev-grid { columns: 2 320px; column-gap: 18px; }
.rev-grid .q { flex: none; margin: 0 0 18px; break-inside: avoid; }
.rev-grid .q p { font-size: 1.25rem; }

/* ---------- Book page ---------- */
.bk { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding-block: clamp(20px, 3vw, 40px) clamp(40px, 6vw, 80px); }
.bk-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }
.times p { grid-column: 1 / -1; margin: 0; }
.bk-side { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 900px) { .bk { grid-template-columns: minmax(0, 1fr); } .bk-side { position: static; } }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.day { flex: 0 0 74px; scroll-snap-align: start; border: 1.5px solid var(--line); background: var(--wall); border-radius: 12px; padding: 9px 4px 8px; cursor: pointer; text-align: center; font: inherit; color: inherit; min-height: 74px; }
.day small { display: block; font-size: .78rem; font-weight: 700; color: var(--cap); }
.day b { display: block; font: 800 1.6rem/1.1 var(--display); font-stretch: 78%; }
.day em { display: block; font-style: normal; font-size: .75rem; }
.day[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.day[aria-pressed="true"] small { color: #d6c3b4; }
.day[disabled] { opacity: .4; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.time { min-height: 48px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--wall); font: 700 1rem/1 var(--body); cursor: pointer; }
.time:hover:not([disabled]) { border-color: var(--ink); }
.time[aria-pressed="true"] { background: var(--red); color: #fff; border-color: var(--red); }
.time[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.room-lines { display: grid; gap: 8px; }
.room-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--wall); border: 1.5px solid var(--line); }
.room-line b { display: block; }
.room-line small { color: var(--ink-2); }
.room-line button { border: 0; background: transparent; color: var(--red-d); font-weight: 700; cursor: pointer; min-height: 44px; padding: 0 8px; }
.form-note { font-size: .9rem; color: var(--ink-2); }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .visit { grid-template-columns: minmax(0, 1fr); } }
.street { background: var(--felt); border-radius: 12px; padding: 22px; color: #fff; }
.street svg { width: 100%; height: auto; }
.contact-list { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); align-items: baseline; }
.contact-list b { min-width: 92px; font-size: .92rem; color: var(--cap); }
.contact-list a { font-weight: 600; }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; overflow-x: auto; width: auto; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
@media print { .site-header, .dock, .mnav { display: none; } }
