/* Luxify Home — luxifyhome.design. One stylesheet, no framework.
   Brand: obsidian, warm ivory, champagne gold; Georgia display, sans for controls.
   CSP is self-only: no inline styles anywhere, everything lives here. */
:root {
  --obsidian: #030504;
  --ink: #0d0e0d;
  --panel: #131514;
  --graphite: #303332;
  --line: rgba(217, 173, 92, 0.22);
  --line-soft: rgba(241, 237, 229, 0.12);
  --ivory: #f1ede5;
  --ivory-2: #e8e1d4;
  --paper: #f7f4ee;
  --text: #f1ede5;
  --muted: #b9b6ae;
  --gold: #d9ad5c;
  --gold-soft: #e8cf9c;
  --gold-deep: #7a5a22;
  --on-ivory: #141312;
  --on-ivory-muted: #57544e;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", "Segoe UI", Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 4px;
  --header-h: 72px;
  --util-h: 36px;
  --bar-h: 72px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--obsidian); color: var(--text);
  font: 400 1.0625rem/1.62 var(--sans); overflow-x: hidden;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
/* gold is under 3:1 on ivory and white: the deep gold keeps the ring visible there (WCAG 1.4.11) */
.ivory :focus-visible { outline-color: var(--gold-deep); }
.ivory .visit-band :focus-visible { outline-color: var(--gold); }
a[href^="tel:"] { white-space: nowrap; }
.contact-cards a[href^="tel:"] { white-space: normal; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--obsidian); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-block; margin: 0 0 14px; color: var(--gold); font: 700 0.72rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.lede { max-width: 640px; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section-tight { padding-block: 36px 80px; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .lede { margin: 0; }
.h2 + .lede { margin-top: 18px; }
.ivory { background: var(--paper); color: var(--on-ivory); color-scheme: light; }
.ivory .eyebrow { color: var(--gold-deep); }
.ivory .lede, .ivory .muted { color: var(--on-ivory-muted); }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--gold); border-radius: var(--radius); background: var(--gold); color: #0b0a08; font: 700 0.9rem/1.2 var(--sans); letter-spacing: 0.04em; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(241, 237, 229, 0.45); }
.btn-ghost:hover { background: rgba(241, 237, 229, 0.08); border-color: var(--ivory); color: var(--text); }
.ivory .btn-ghost { color: var(--on-ivory); border-color: rgba(20, 19, 18, 0.4); }
.ivory .btn-ghost:hover { background: rgba(20, 19, 18, 0.06); border-color: var(--on-ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--gold); font-weight: 700; font-size: 0.92rem; text-decoration: none; letter-spacing: 0.02em; }
.link-arrow::after { content: "\2192"; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.ivory .link-arrow { color: var(--gold-deep); }

/* ---------- header: utility bar (desktop) + main bar; the utility bar slides away after scrolling ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: linear-gradient(rgba(3, 5, 4, 0.88), rgba(3, 5, 4, 0)); transition: background 0.3s, box-shadow 0.3s, transform 0.35s ease; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: background 0.3s; }
/* backdrop-filter on the header itself would make it the containing block of the fixed .menu-panel (72 px tall panel) */
.site-header.is-solid { background: transparent; box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { background: rgba(3, 5, 4, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html.menu-open .site-header { background: var(--obsidian); }
.util-bar { height: var(--util-h); border-bottom: 1px solid var(--line-soft); font-size: 0.78rem; }
.util-bar .wrap { display: flex; align-items: center; gap: 18px; height: 100%; }
.util-note { margin: 0; color: var(--muted); letter-spacing: 0.06em; }
.util-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.util-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 10px; color: var(--muted); text-decoration: none; letter-spacing: 0.04em; }
.util-links a:hover, .util-links a[aria-current="page"] { color: var(--gold); }
.util-wa svg { width: 15px; height: 15px; color: #3ccf6e; }
.util-bar .lang a { min-height: 30px; min-width: 38px; }
.main-bar { display: flex; align-items: center; gap: 20px; height: var(--bar-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; min-height: 44px; text-decoration: none; }
.brand img { width: 180px; height: auto; }
.brand-word { display: none; color: var(--ivory); font: 400 1.2rem/1 var(--serif); letter-spacing: 0.02em; }
@media (max-width: 560px) { .brand img { width: 40px; } .brand-word { display: inline; } }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 11px; color: var(--text); font-size: 0.88rem; letter-spacing: 0.03em; text-decoration: none; border-radius: var(--radius); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav .nav-studio { margin-left: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: var(--gold-soft); }
.nav .nav-studio svg { width: 16px; height: 16px; }
.nav .nav-studio:hover { border-color: var(--gold); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; border: 1px solid var(--line-soft); border-radius: 999px; padding: 2px; }
.lang a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 4px 8px; border-radius: 999px; color: var(--muted); font: 700 0.72rem/1 var(--sans); letter-spacing: 0.08em; text-decoration: none; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { background: rgba(217, 173, 92, 0.18); color: var(--gold); }
.header-cta { min-height: 44px; padding: 10px 16px; font-size: 0.82rem; white-space: nowrap; }
.wa-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-soft); border-radius: 50%; color: #3ccf6e; }
.wa-btn:hover { border-color: #3ccf6e; }
.wa-btn svg { width: 20px; height: 20px; }
.menu { display: none; position: relative; }
.menu > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-soft); border-radius: var(--radius); cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary span, .menu > summary span::before, .menu > summary span::after { display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; content: ""; }
.menu > summary span::before { position: absolute; top: -6px; }
.menu > summary span::after { position: absolute; top: 6px; }
.menu[open] > summary span { background: transparent; }
.menu[open] > summary span::before { top: 0; transform: rotate(45deg); }
.menu[open] > summary span::after { top: 0; transform: rotate(-45deg); }
html.menu-open { overflow: hidden; }
.menu-panel { position: fixed; inset: var(--header-h) 0 0 0; overflow-y: auto; padding: 28px var(--gutter) 40px; background: var(--obsidian); border-top: 1px solid var(--line); }
.menu-panel a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font: 400 1.35rem/1.3 var(--serif); text-decoration: none; }
.menu-panel .btn-row { margin-top: 26px; }
.menu-panel .lang { margin-top: 26px; }
@media (min-width: 1200px) {
  :root { --header-h: calc(var(--util-h) + var(--bar-h)); }
  .site-header.is-solid { transform: translateY(calc(-1 * var(--util-h))); }
}
@media (min-width: 1200px) and (max-width: 1340px) { .brand img { width: 150px; } .nav a { padding-inline: 8px; } .main-bar { gap: 14px; } }
@media (max-width: 1199px) {
  .util-bar, .nav, .wa-btn { display: none; }
  .menu { display: block; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 560px) { .header-cta { display: none; } }

/* ---------- hero: a full-bleed photoreal room (the motion lives in css/cinema.css + js/cinematic.js) ----------
   Art direction 28/09/2026: the copy lives on the dark third (a 34ch lede, a local scrim behind the text, each photo
   positioned so its subject sits right of the copy); on phones the photo comes first and the copy sits below it on
   solid obsidian, so no line of text ever lands on lit stone. */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: #050606; }
.hero-stage { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-scenes, .hero-scene, .hero-scene img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scene { opacity: 0; transition: opacity 2.4s ease; }
.hero-scene.is-on { opacity: 1; }
.hero-scene img { object-fit: cover; object-position: 62% 50%; }
.sc-kitchen img { object-position: 0% 56%; }
.sc-slabs img { object-position: 78% 50%; }
.sc-cut img { object-position: 88% 50%; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 5, 4, 0.93) 0%, rgba(3, 5, 4, 0.86) 30%, rgba(3, 5, 4, 0.58) 46%, rgba(3, 5, 4, 0.16) 62%, rgba(3, 5, 4, 0) 74%), linear-gradient(0deg, rgba(3, 5, 4, 0.8) 0%, rgba(3, 5, 4, 0) 28%), linear-gradient(180deg, rgba(3, 5, 4, 0.6) 0%, rgba(3, 5, 4, 0) 22%); }
.hero-copy { padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }
.hero-copy > div { position: relative; max-width: 680px; }
.hero-copy > div::before { content: ""; position: absolute; z-index: -1; inset: -10% -24% -12% -70%; pointer-events: none; background: radial-gradient(closest-side, rgba(3, 5, 4, 0.55), rgba(3, 5, 4, 0.28) 60%, rgba(3, 5, 4, 0)); }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); line-height: 1.04; margin-bottom: 26px; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--gold); }
.hero h1 { text-shadow: 0 2px 18px rgba(3, 5, 4, 0.65); }
.hero .lede, .hero-note { text-shadow: 0 1px 2px rgba(3, 5, 4, 0.9), 0 2px 18px rgba(3, 5, 4, 0.75); }
.hero .lede { max-width: 34ch; color: #ddd9d0; margin-bottom: 34px; }
.hero-note { margin-top: 20px; color: #cdc9c0; font-size: 0.95rem; }
.hero-meta { position: absolute; left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); bottom: 26px; display: flex; align-items: center; gap: 10px; }
.hero-tag, .ph-tag { padding: 5px 10px; border-radius: 999px; background: rgba(3, 5, 4, 0.6); color: var(--gold-soft); font: 700 0.62rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.pause-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 6px 12px; border: 1px solid rgba(241, 237, 229, 0.35); border-radius: 999px; background: rgba(3, 5, 4, 0.5); color: var(--text); font: 600 0.75rem/1 var(--sans); cursor: pointer; }
.pause-btn[hidden] { display: none; }
.pause-btn .ico-play, .pause-btn[aria-pressed="true"] .ico-pause { display: none; }
.pause-btn[aria-pressed="true"] .ico-play { display: inline; }
@media (max-width: 560px) { .pause-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); }
/* Portrait screens: the room first (phones get a native-pixel portrait crop, tablets the wide photo), the copy below
   it on solid obsidian; the photo fades into the page and carries the pause button and the concept label. */
@media (max-aspect-ratio: 21/20) {
  .hero { --stage-h: min(64svh, calc(var(--header-h) + 62vw)); flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-stage { position: relative; inset: auto; z-index: 0; flex: none; height: var(--stage-h); }
  .hero-scene img { object-position: 56% 60%; }
  .hero-veil { background: linear-gradient(180deg, rgba(3, 5, 4, 0.55) 0%, rgba(3, 5, 4, 0) 26%, rgba(3, 5, 4, 0) 70%, rgba(5, 6, 6, 0.85) 92%, #050606 100%); }
  .hero-copy { position: relative; padding-top: 6px; padding-bottom: 64px; }
  .hero-copy > div::before { display: none; }
  .hero h1 { font-size: clamp(2.1rem, 8.4vw, 3.4rem); }
  .hero .lede { max-width: 40ch; }
  .hero-meta { top: calc(var(--stage-h) - 62px); bottom: auto; }
  .scroll-cue { display: none; }
}
@media (max-aspect-ratio: 21/20) and (max-width: 700px) {
  .hero { --stage-h: min(72svh, calc(var(--header-h) + 118vw)); }
  .hero-scene img { object-position: 50% 62%; }
  .hero .lede { max-width: none; }
  .hero-note { display: inline-block; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); color: #d6d2c9; text-shadow: none; }
}

/* ---------- proposal strip ---------- */
.promise { border-block: 1px solid var(--line); background: var(--ink); }
.promise .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.promise p { margin: 0; padding: 26px 22px; border-left: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
.promise p:first-child { border-left: 0; }
.promise strong { display: block; color: var(--text); font: 400 1.2rem/1.3 var(--serif); margin-bottom: 4px; }
@media (max-width: 820px) { .promise .wrap { grid-template-columns: 1fr; } .promise p { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; } .promise p:first-child { border-top: 0; } }

/* ---------- pillars / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.pillar { position: relative; padding: 34px 30px 30px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(217, 173, 92, 0.05), rgba(217, 173, 92, 0)); }
.pillar .num { display: block; margin-bottom: 26px; color: var(--gold); font: 400 1.1rem/1 var(--serif); }
.pillar h3 { font-size: 1.6rem; margin-bottom: 14px; }
.pillar p { color: var(--muted); }
.pillar .link-arrow { margin-top: 6px; }
.icon { display: block; width: 44px; height: 44px; color: var(--gold); margin-bottom: 22px; }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; }
.ivory .icon { color: var(--gold-deep); }

/* ---------- three layouts ---------- */
.layouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.layout-card { display: flex; flex-direction: column; border: 1px solid rgba(20, 19, 18, 0.14); background: #fff; }
.layout-card.is-rec { border-color: var(--gold-deep); box-shadow: 0 18px 50px rgba(61, 44, 20, 0.12); }
.layout-card figure { margin: 0; padding: 18px; background: #f3efe7; border-bottom: 1px solid rgba(20, 19, 18, 0.1); }
.layout-card svg { width: 100%; height: auto; }
.layout-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 18px; flex: 1; }
.layout-body h3 { font-size: 1.4rem; }
.badge { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(122, 90, 34, 0.12); color: var(--gold-deep); font: 700 0.68rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.lay-stats { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; padding: 12px 0; border-block: 1px solid rgba(20, 19, 18, 0.1); font-size: 1rem; }
.lay-stats div { display: contents; }
.lay-key { margin: -12px 0 22px; color: var(--on-ivory-muted); font-size: 0.95rem; }
@media (max-width: 560px) { .lay-stats { grid-template-columns: 1fr; gap: 2px; } .lay-stats dd { margin-bottom: 8px; } }
.lay-stats dt { color: var(--on-ivory-muted); font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; align-self: baseline; }
.lay-stats dd { margin: 0; color: var(--on-ivory); font-weight: 600; }
.layout-body ul { list-style: none; display: grid; gap: 6px; color: var(--on-ivory-muted); font-size: 1rem; }
.layout-body li::before { content: "\2014\00a0"; color: var(--gold-deep); }
.layout-body .link-arrow { margin-top: auto; }
.trust-line { margin-top: 28px; padding: 20px 24px; border-left: 2px solid var(--gold-deep); background: rgba(122, 90, 34, 0.06); color: var(--on-ivory); }
.visit-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 26px 28px; background: var(--on-ivory); color: var(--ivory); }
.visit-band p { margin: 0; max-width: 640px; font: 400 1.3rem/1.35 var(--serif); }
/* three columns only when each diagram is wide enough to read; in between, the drawing sits beside the text */
@media (max-width: 1100px) { .layouts { grid-template-columns: 1fr; } }
@media (min-width: 700px) and (max-width: 1100px) {
  .layout-card { flex-direction: row; }
  .layout-card figure { flex: 0 0 52%; border-bottom: 0; border-right: 1px solid rgba(20, 19, 18, 0.1); }
}
.slab-bg { fill: #ece6da; stroke: #b9ab90; stroke-width: 0.6; }
.slab-vein { fill: none; stroke: #b39a6b; stroke-width: 0.9; opacity: 0.55; }
.slab-vein-2 { fill: none; stroke: #9d988f; stroke-width: 0.5; opacity: 0.6; }
.slab-ghost { fill: none; stroke: #b9ab90; stroke-width: 0.8; stroke-dasharray: 3 2.5; }
.piece { fill: rgba(122, 90, 34, 0.12); stroke: #6f521f; stroke-width: 1; }
.piece-rec { fill: rgba(122, 90, 34, 0.18); }
.seam { stroke: #b0361f; stroke-width: 1.6; stroke-dasharray: 3 2; }
.cut { fill: #f7f4ee; stroke: #6f521f; stroke-width: 0.8; stroke-dasharray: 2 1.5; }
.leftover { fill: url(#lx-hatch); stroke: #7a5a22; stroke-width: 0.8; }
.hatch-line { stroke: #9a7a3e; stroke-width: 0.9; }
.lbl { font: 700 9.5px/1 var(--sans); fill: #3d3019; }
.lbl-soft { font: 600 9.5px/1 var(--sans); fill: #6b6457; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 1px solid var(--line); }
.steps li { list-style: none; padding: 28px 22px 10px 0; border-right: 1px solid var(--line-soft); margin-right: 22px; }
.steps li:last-child { border-right: 0; margin-right: 0; }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; color: var(--gold); font: 400 1.1rem/1 var(--serif); margin-bottom: 16px; }
.steps h3 { font-size: 1.35rem; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 1rem; }
.ivory .steps { border-color: rgba(20, 19, 18, 0.15); }
.ivory .steps li { border-color: rgba(20, 19, 18, 0.1); }
.ivory .steps li::before { color: var(--gold-deep); }
.ivory .steps p { color: var(--on-ivory-muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(2n) { border-right: 0; margin-right: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line-soft); } }
.timeline { display: grid; gap: 0; border-left: 1px solid var(--line); margin-left: 8px; }
.timeline > li { list-style: none; position: relative; padding: 0 0 38px 34px; }
.timeline > li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(217, 173, 92, 0.15); }
.timeline h3 { font-size: 1.5rem; margin-bottom: 8px; }
.timeline p { color: var(--muted); max-width: 720px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; list-style: none; }
.gallery li { margin: 0; }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--panel); color: inherit; text-align: left; cursor: pointer; overflow: hidden; }
.shot .frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #1a1916; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.shot:hover img { transform: scale(1.035); }
.shot .tag { position: absolute; left: 12px; top: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(3, 5, 4, 0.72); color: var(--gold-soft); font: 700 0.64rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.shot .cap { display: block; padding: 16px 18px 20px; }
.shot .cap strong { display: block; font: 400 1.2rem/1.3 var(--serif); }
.shot .cap span { color: var(--muted); font-size: 0.86rem; }
.shot.is-placeholder .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 5, 4, 0) 40%, rgba(3, 5, 4, 0.65)); }
.skeleton .frame { background: linear-gradient(110deg, #141514 30%, #1d1d1b 50%, #141514 70%); background-size: 200% 100%; }
.skeleton .cap { height: 78px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button { min-height: 40px; padding: 8px 16px; border: 1px solid var(--line-soft); border-radius: 999px; background: transparent; color: var(--muted); font: 600 0.82rem/1 var(--sans); cursor: pointer; }
.filters button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); background: rgba(217, 173, 92, 0.08); }
.viewer { width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 1px solid var(--line); background: var(--obsidian); color: var(--text); }
.viewer::backdrop { background: rgba(0, 0, 0, 0.82); }
.viewer img { width: 100%; max-height: 74vh; object-fit: contain; background: #000; }
.viewer .viewer-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.viewer .viewer-cap h3 { font-size: 1.3rem; }
.viewer-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 1px solid var(--line-soft); border-radius: 50%; background: rgba(3, 5, 4, 0.75); color: var(--text); font-size: 1.4rem; cursor: pointer; }
.disclosure { margin-top: 18px; color: var(--muted); font-size: 0.84rem; max-width: 760px; }
/* projects page: two large columns, 16:9 */
.gallery-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 26px; }
.gallery-lg .shot .frame { aspect-ratio: 16 / 9; }
.gallery-lg .shot .cap strong { font-size: 1.4rem; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1px; padding: 1px; list-style: none; }
.services li { display: flex; flex-direction: column; padding: 30px 26px; background: var(--obsidian); box-shadow: 0 0 0 1px var(--line); }
.services li.svc-cta { background: linear-gradient(160deg, rgba(217, 173, 92, 0.12), rgba(217, 173, 92, 0.02)); }
.services h3 { font-size: 1.45rem; margin-bottom: 10px; }
.services p { color: var(--muted); font-size: 1rem; flex: 1; }
.price-note { display: inline-block; margin: 2px 0 10px; color: var(--gold-soft); font: 700 0.7rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature figure { margin: 0; }
.feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature figcaption { margin-top: 10px; color: var(--muted); font-size: 0.8rem; }
.floor-col { display: grid; gap: 18px; }
.ivory .feature figcaption { color: var(--on-ivory-muted); }
/* dimensioned example drawing (vanity), on paper like the layout diagrams */
.drawing { padding: 22px; background: #f3efe7; }
.drawing svg { width: 100%; height: auto; }
.feature .drawing figcaption { color: var(--on-ivory-muted); font-size: 0.86rem; }
.dw-block { fill: rgba(122, 90, 34, 0.14); stroke: #6f521f; stroke-width: 1.4; }
.dw-line { fill: none; stroke: #3d3019; stroke-width: 1.4; }
.dw-hidden { fill: none; stroke: #6f521f; stroke-width: 1.1; stroke-dasharray: 5 3; }
.dw-dim, .dw-lead { fill: none; stroke: #7a5a22; stroke-width: 0.9; }
.dw-floor { stroke: #9d988f; stroke-width: 1.2; }
.dw-txt { font: 600 11px/1 var(--sans); fill: #3d3019; }
.checks { list-style: none; display: grid; gap: 10px; margin: 18px 0 24px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.ivory .checks li::before { border-color: var(--gold-deep); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }

/* ---------- materials ---------- */
.materials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; }
.materials li { position: relative; }
.materials img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(20, 19, 18, 0.12); }
.materials h3 { margin-top: 12px; font-size: 1.2rem; }
.materials p { margin: 4px 0 0; color: var(--on-ivory-muted); font-size: 1rem; }
@media (max-width: 900px) { .materials { grid-template-columns: repeat(2, 1fr); } }

/* ---------- one environment ---------- */
.env-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 28px; }
.env-list li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-soft); font-size: 0.85rem; }

/* ---------- area ---------- */
.area-card { padding: 30px; border: 1px solid var(--line); }
.area-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.area-card p { color: var(--muted); }
.fl-map { width: 100%; max-width: 420px; margin-inline: auto; }
.fl-land { fill: rgba(217, 173, 92, 0.08); stroke: var(--gold); stroke-width: 1.2; }
.fl-dot { fill: var(--gold); }
.fl-ring { fill: none; stroke: var(--gold); stroke-width: 0.8; opacity: 0.5; }
.fl-label { fill: var(--text); font: 600 11px/1 var(--sans); letter-spacing: 0.08em; }
.fl-lead { stroke: var(--gold); stroke-width: 0.8; opacity: 0.7; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 64px; padding: 18px 0; font: 400 1.22rem/1.35 var(--serif); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--gold); font: 300 1.6rem/1 var(--sans); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 760px; }
.faq h2 { margin: 48px 0 12px; font-size: 1.5rem; color: var(--gold); }
.ivory .faq, .ivory .faq details { border-color: rgba(20, 19, 18, 0.15); }
.ivory .faq details > div { color: var(--on-ivory-muted); }
.ivory .faq summary::after { color: var(--gold-deep); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(80px, 10vw, 130px); text-align: center; background: #070707; }
.band-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 38% 58%; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(3, 5, 4, 0.62), rgba(3, 5, 4, 0.9)); }
.cta-band .wrap { position: relative; display: grid; justify-items: center; gap: 18px; }
.cta-band h2 { max-width: 820px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta-band .lede { margin: 0 auto 10px; text-align: center; }
.cta-band .btn-row { justify-content: center; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 7vw, 90px); background: radial-gradient(70% 120% at 85% 0%, #1f1b14 0%, #0a0a09 55%, #030504 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 900px; margin-bottom: 20px; }
/* inner pages: a full-bleed photoreal header (slim on FAQ and Contact), copy on the dark side: a short measure
   (the headline and the lede never reach the lit subject), a scrim behind the copy and each photo positioned so its
   subject sits right. Phones: a 4:5 art-directed crop on top (assets/photo/<name>-portrait.webp), the copy below. */
.page-hero.has-photo { display: flex; align-items: flex-end; min-height: min(74svh, 760px); overflow: hidden; isolation: isolate; background: var(--obsidian); }
.page-hero.is-slim { min-height: min(56svh, 560px); }
.page-hero.has-photo .wrap { position: relative; }
.page-hero.has-photo h1 { max-width: 15ch; }
.page-hero.has-photo .lede { max-width: 38ch; color: #ddd9d0; }
.page-hero.has-photo h1 { text-shadow: 0 2px 18px rgba(3, 5, 4, 0.7); }
.page-hero.has-photo .lede { text-shadow: 0 1px 2px rgba(3, 5, 4, 0.9), 0 2px 18px rgba(3, 5, 4, 0.75); }
.page-hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 5, 4, 0.9) 0%, rgba(3, 5, 4, 0.8) 30%, rgba(3, 5, 4, 0.42) 50%, rgba(3, 5, 4, 0.06) 68%, rgba(3, 5, 4, 0) 100%), linear-gradient(0deg, rgba(3, 5, 4, 0.82) 0%, rgba(3, 5, 4, 0) 40%), linear-gradient(180deg, rgba(3, 5, 4, 0.62) 0%, rgba(3, 5, 4, 0) 22%); }
.ph-media, .ph-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-media { z-index: -2; overflow: hidden; }
.ph-media img { object-fit: cover; object-position: 64% 50%; }
.ph-tag { position: absolute; right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); bottom: 18px; }
.ph-about .ph-media img { object-position: 100% 34%; }
.ph-services .ph-media img { object-position: 100% 60%; }
.ph-process .ph-media img { object-position: 100% 52%; }
.ph-projects .ph-media img { object-position: 100% 50%; }
.ph-materials .ph-media img { object-position: 100% 58%; }
.ph-area .ph-media img { object-position: 100% 62%; }
.ph-faq .ph-media img { object-position: 100% 40%; }
.ph-contact .ph-media img { object-position: 100% 64%; }
/* Portrait screens: the photo first, as a block (tablets: the wide photo, positioned on the subject; phones: the 4:5
   crop), the copy below it on solid obsidian. */
@media (max-aspect-ratio: 21/20) {
  .page-hero.has-photo, .page-hero.is-slim { --ph-h: min(62svh, 84vw); display: block; min-height: 0; padding-top: 0; }
  .ph-media { position: relative; display: block; height: var(--ph-h); }
  .page-hero.has-photo::before { inset: 0 0 auto 0; height: calc(var(--ph-h) + 2px); background: linear-gradient(180deg, rgba(3, 5, 4, 0.62) 0%, rgba(3, 5, 4, 0) 24%, rgba(3, 5, 4, 0) 72%, rgba(3, 5, 4, 0.9) 94%, var(--obsidian) 100%); }
  .page-hero.has-photo .wrap { margin-top: -28px; }
  .page-hero.has-photo h1 { max-width: 18ch; }
  .page-hero.has-photo h1, .page-hero.has-photo .lede { text-shadow: none; }
  .page-hero.has-photo .lede { max-width: 46ch; }
  .ph-tag { top: calc(var(--ph-h) - 44px); bottom: auto; right: var(--gutter); }
  .ph-about .ph-media img { object-position: 62% 40%; }
  .ph-services .ph-media img { object-position: 64% 62%; }
  .ph-process .ph-media img { object-position: 72% 55%; }
  .ph-projects .ph-media img { object-position: 78% 50%; }
  .ph-materials .ph-media img { object-position: 80% 55%; }
  .ph-area .ph-media img { object-position: 40% 60%; }
  .ph-faq .ph-media img { object-position: 74% 45%; }
  .ph-contact .ph-media img { object-position: 46% 62%; }
}
@media (max-aspect-ratio: 21/20) and (max-width: 700px) {
  .page-hero.has-photo, .page-hero.is-slim { --ph-h: 125vw; }
  .page-hero .ph-media img { object-position: 50% 50%; }
  .page-hero.has-photo .lede { max-width: none; }
}
@media (prefers-reduced-motion: no-preference) { .ph-media img { animation: lx-settle 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; } }
@keyframes lx-settle { from { transform: scale(1.035); } to { transform: scale(1); } }
.crumbs { display: flex; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 0.82rem; list-style: none; }
.crumbs a { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--graphite); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 48px 0 16px; }
.prose h3 { font-size: 1.3rem; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--gold); }
.prose strong { color: var(--text); font-weight: 600; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; list-style: none; }
.contact-cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 28px 24px; border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.contact-cards a:hover { border-color: var(--gold); background: rgba(217, 173, 92, 0.05); }
.contact-cards strong { font: 400 1.35rem/1.25 var(--serif); }
.contact-cards span { color: var(--muted); font-size: 1rem; }
.contact-cards em { margin-top: auto; padding-top: 10px; color: var(--gold); font-style: normal; font-weight: 700; font-size: 0.9rem; }

.lost-links { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 30px; }

/* ---------- footer ---------- */
.site-footer { padding: 64px 0 96px; background: #030404; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h2 { margin-bottom: 14px; color: var(--text); font: 700 0.72rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.foot-grid ul { list-style: none; display: grid; gap: 0; }
.foot-grid a { display: inline-block; padding: 12px 0; color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--gold); }
.foot-brand img { width: 180px; margin-bottom: 14px; }
.foot-brand p { max-width: 320px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 0.82rem; }
.foot-legal p a { display: inline-block; padding: 12px 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- floating WhatsApp ---------- */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 14px; border: 1px solid rgba(217, 173, 92, 0.55); border-radius: 999px; background: rgba(8, 9, 8, 0.92); color: var(--text); font: 700 0.85rem/1 var(--sans); text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); backdrop-filter: blur(8px); }
.wa-fab svg { width: 22px; height: 22px; color: #3ccf6e; }
.wa-fab:hover { border-color: var(--gold); }
@media (max-width: 560px) { .wa-fab span { display: none; } .wa-fab { padding: 0 15px; } }

/* ---------- motion: scroll reveal without JavaScript ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: lx-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
  .skeleton .frame { animation: lx-shine 1.6s linear infinite; }
}
@keyframes lx-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lx-shine { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .wa-fab, .hero-stage, .hero-controls, .menu { display: none !important; } body { background: #fff; color: #000; } }
