:root {
  --black: #080706;
  --black-soft: #12100e;
  --panel: #19130f;
  --brown: #4a210b;
  --brown-rich: #6f330f;
  --gold: #d8a14b;
  --gold-light: #f1c77e;
  --cream: #f4ecdf;
  --muted: #b6aa9d;
  --line: rgba(216, 161, 75, .28);
  --max: 1180px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body.lightbox-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(to bottom, rgba(8, 7, 6, .96), rgba(8, 7, 6, .78));
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
  transition: min-height .25s ease, background .25s ease;
}
.site-header.scrolled { min-height: 68px; background: rgba(8,7,6,.96); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--gold-light); }
.brand-crown { width: 45px; height: 36px; flex: 0 0 auto; }
.brand-crown svg { width: 100%; height: 100%; }
.brand strong { display: block; font-size: 17px; letter-spacing: .13em; line-height: 1.15; }
.brand small { display: block; font-size: 9px; letter-spacing: .2em; color: #d5b883; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.main-nav a { color: #ddd3c8; transition: color .2s ease; }
.main-nav a:hover { color: var(--gold-light); }
.nav-cta { padding: 10px 18px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-light) !important; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--gold-light); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  background-image: url("assets/room-black-slat-shelf.webp");
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,4,3,.96) 0%, rgba(5,4,3,.78) 42%, rgba(5,4,3,.12) 78%, rgba(5,4,3,.32) 100%);
}
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 25% 58%, rgba(111,51,15,.3), transparent 42%); }
.hero-content { position: relative; z-index: 1; width: min(760px, calc(100% - 48px)); margin: 78px auto 0; transform: translateX(calc((var(--max) - 760px) / -2)); }
.eyebrow { margin: 0 0 16px; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .2em; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 { margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7vw, 92px); font-weight: 500; letter-spacing: -.04em; }
h1 span { color: var(--gold-light); }
.hero-copy { max-width: 680px; margin: 0 0 34px; color: #ddd4c8; font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 3px; font-weight: 800; letter-spacing: .02em; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #160d07; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 12px 28px rgba(216, 161, 75, .22); }
.button-ghost { color: var(--cream); background: rgba(0,0,0,.35); border-color: rgba(255,255,255,.24); }
.hero-points { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; color: #d9cfc4; font-size: 13px; text-transform: uppercase; letter-spacing: .09em; }
.hero-points span::before { content: "◆"; margin-right: 9px; color: var(--gold); font-size: 8px; }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; z-index: 2; color: var(--gold-light); font-size: 28px; animation: bounce 1.8s infinite; }
@keyframes bounce { 50% { transform: translateY(8px); } }

.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: -35px auto 0; position: relative; z-index: 3; background: linear-gradient(135deg, #23150e, #100d0b); border: 1px solid var(--line); box-shadow: var(--shadow); }
.trust-bar div { padding: 24px; border-right: 1px solid var(--line); }
.trust-bar div:last-child { border-right: 0; }
.trust-bar strong, .trust-bar span { display: block; }
.trust-bar strong { color: var(--gold-light); font-size: 14px; }
.trust-bar span { margin-top: 3px; color: var(--muted); font-size: 12px; }

.section { padding: 120px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading { max-width: 760px; margin-bottom: 52px; }
h2 { margin-bottom: 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 64px); font-weight: 500; letter-spacing: -.03em; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product-card { overflow: hidden; background: linear-gradient(180deg, #1a1512, #100d0b); border: 1px solid var(--line); box-shadow: var(--shadow); }
.product-image-wrap { position: relative; width: 100%; height: 540px; overflow: hidden; background: #eee8df; border: 0; padding: 0; cursor: zoom-in; }
.product-image-wrap img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.025); }
.product-card-body { padding: 34px; }
.pill { display: inline-block; margin-bottom: 16px; padding: 6px 10px; color: var(--gold-light); background: rgba(216,161,75,.08); border: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-card h3 { margin-bottom: 14px; font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 500; }
.product-card p, .product-card li { color: var(--muted); }
.product-card ul { margin: 20px 0 0; padding-left: 20px; }
.product-card li { margin: 8px 0; }

.image-button { position: relative; display: block; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; overflow: hidden; }
.zoom-badge { position: absolute; right: 14px; bottom: 14px; padding: 8px 11px; color: var(--cream); background: rgba(8,7,6,.78); border: 1px solid rgba(255,255,255,.16); font-size: 11px; font-weight: 800; letter-spacing: .04em; opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; backdrop-filter: blur(8px); }
.image-button:hover .zoom-badge, .image-button:focus-visible .zoom-badge { opacity: 1; transform: translateY(0); }

.finishes-section { background: radial-gradient(circle at 50% 0, rgba(111,51,15,.22), transparent 42%), #0d0b09; }
.finish-overview { max-width: 900px; margin: 0 auto 38px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.finish-overview img { aspect-ratio: 4 / 3; object-fit: cover; }
.finish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.finish-card { overflow: hidden; background: #1a110c; color: var(--cream); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.finish-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.finish-card .image-button img { aspect-ratio: .78; object-fit: cover; transition: transform .45s ease; }
.finish-card:hover img { transform: scale(1.03); }
.finish-card > div { padding: 20px; }
.finish-card p { margin: 0 0 4px; color: var(--gold); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.finish-card h3 { margin: 0 0 6px; font-size: 24px; }
.finish-card span { color: var(--muted); font-size: 14px; }

.split-feature { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 760px; }
.split-photo { background: url("assets/room-warm-living.webp") center / cover no-repeat; }
.split-content { display: flex; flex-direction: column; justify-content: center; padding: 90px max(40px, calc((100vw - var(--max)) / 2)); padding-left: 70px; background: linear-gradient(135deg, #26150d, #0f0c0a); }
.split-content > p { color: var(--muted); font-size: 18px; }
.feature-list { margin-top: 34px; }
.feature-list > div { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.feature-list span { color: var(--gold); font-weight: 800; }
.feature-list p { margin: 0; color: var(--muted); }
.feature-list strong { display: block; margin-bottom: 4px; color: var(--cream); }
.text-link { margin-top: 24px; color: var(--gold-light); font-weight: 800; }

.gallery-section { background: linear-gradient(180deg, #090806, #0f0b08); }
.gallery-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.gallery-heading-row .section-heading { margin-bottom: 0; }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-bottom: 7px; }
.filter-button { border: 1px solid var(--line); padding: 9px 13px; background: transparent; color: var(--muted); cursor: pointer; }
.filter-button:hover, .filter-button.active { background: var(--gold); color: #1a0e07; border-color: var(--gold); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 18px; }
.gallery-item { position: relative; overflow: hidden; margin: 0; min-height: 320px; background: #15100d; border: 1px solid rgba(255,255,255,.07); }
.gallery-item.gallery-wide { grid-column: span 2; }
.gallery-item.gallery-tall { grid-row: span 2; min-height: 658px; }
.gallery-item.hidden { display: none; }
.gallery-item .image-button, .gallery-item img { height: 100%; }
.gallery-item img { object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.gallery-item:hover img { transform: scale(1.035); filter: brightness(.92); }
.gallery-item figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 12px; pointer-events: none; background: rgba(8,7,6,.8); border: 1px solid rgba(255,255,255,.1); color: var(--cream); font-size: 13px; backdrop-filter: blur(8px); }

.quote-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding: 120px max(24px, calc((100vw - var(--max)) / 2)); background: linear-gradient(120deg, #160f0b, #080706); border-top: 1px solid var(--line); }
.quote-copy > p { color: var(--muted); font-size: 18px; }
.direct-contact { display: grid; gap: 12px; margin-top: 38px; }
.direct-contact a { display: flex; flex-direction: column; padding: 18px 20px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.direct-contact span { color: var(--gold); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.direct-contact strong { margin-top: 4px; font-size: 18px; }
.quote-form { padding: 34px; background: #f4efe7; color: #1d140e; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: grid; gap: 7px; margin-bottom: 16px; color: #513a29; font-size: 13px; font-weight: 800; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #cfbda8; border-radius: 0; background: #fffdf9; color: #21170f; outline: none; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--brown-rich); box-shadow: 0 0 0 3px rgba(111,51,15,.12); }
.quote-form .button { width: 100%; border: 0; }
.form-note { margin: 10px 0 0; text-align: center; color: #7c6b5b; font-size: 12px; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 50px; align-items: start; padding: 55px max(24px, calc((100vw - var(--max)) / 2)) 24px; background: #050403; border-top: 1px solid rgba(255,255,255,.08); }
.footer-brand-block { max-width: 330px; }
.footer-logo { width: 140px; aspect-ratio: 1; object-fit: cover; margin-bottom: 16px; border: 1px solid var(--line); }
.footer-brand-block p { margin: 0; color: var(--muted); font-size: 14px; }
.footer-links, .footer-contact { display: grid; gap: 10px; color: var(--muted); font-size: 14px; }
.footer-links strong, .footer-contact strong { color: var(--cream); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 26px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.08); color: #81776e; font-size: 12px; }

.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 38; display: none; gap: 8px; }
.floating-actions a { display: grid; place-items: center; min-width: 64px; height: 48px; padding: 0 14px; background: rgba(13,10,8,.95); color: var(--gold-light); border: 1px solid var(--gold); box-shadow: 0 12px 30px rgba(0,0,0,.35); font-weight: 800; }

.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; background: rgba(2,2,2,.94); backdrop-filter: blur(12px); }
.lightbox-stage { display: grid; place-items: center; max-height: 100vh; padding: 40px 0 20px; }
.lightbox-stage img { width: auto; max-width: min(1200px, 88vw); max-height: 82vh; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lightbox-stage p { margin: 14px 0 0; color: var(--cream); text-align: center; }
.lightbox-close, .lightbox-nav { border: 0; background: rgba(255,255,255,.06); color: white; cursor: pointer; }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; font-size: 34px; line-height: 1; }
.lightbox-nav { width: 48px; height: 72px; justify-self: center; font-size: 48px; line-height: 1; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(216,161,75,.22); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .main-nav { position: fixed; top: 78px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 24px; background: #0b0908; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-content { transform: none; width: min(var(--max), calc(100% - 48px)); }
  .trust-bar { grid-template-columns: 1fr 1fr; margin-left: 24px; margin-right: 24px; }
  .trust-bar div:nth-child(2) { border-right: 0; }
  .trust-bar div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-grid, .quote-section { grid-template-columns: 1fr; }
  .finish-grid { grid-template-columns: 1fr 1fr; }
  .split-feature { grid-template-columns: 1fr; }
  .split-photo { min-height: 560px; }
  .split-content { padding: 80px 32px; }
  .quote-section { gap: 50px; }
  .gallery-heading-row { display: block; }
  .gallery-filters { justify-content: flex-start; margin-top: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-item.gallery-wide { grid-column: span 2; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .site-header { min-height: 70px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 7px; }
  .brand-crown { width: 38px; }
  .hero { min-height: 880px; background-position: 40% center; }
  .hero::before { background: linear-gradient(180deg, rgba(5,4,3,.66), rgba(5,4,3,.96) 72%); }
  .hero-content { margin-top: 140px; align-self: end; padding-bottom: 100px; }
  h1 { font-size: 48px; }
  .trust-bar { grid-template-columns: 1fr; margin-top: 0; }
  .trust-bar div, .trust-bar div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding-top: 90px; padding-bottom: 90px; }
  .product-image-wrap { height: 440px; }
  .finish-grid { grid-template-columns: 1fr; }
  .finish-card { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; }
  .finish-card .image-button, .finish-card .image-button img { height: 100%; }
  .finish-card .image-button img { aspect-ratio: 1; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item.gallery-tall { min-height: 440px; grid-row: auto; }
  .gallery-item.gallery-wide { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-brand-block { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .floating-actions { display: flex; }
  .lightbox { grid-template-columns: 44px minmax(0,1fr) 44px; }
  .lightbox-nav { width: 40px; height: 58px; font-size: 40px; }
  .lightbox-stage img { max-width: 82vw; max-height: 76vh; }
  .zoom-badge { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
