:root {
  --ink: #0d0c0b;
  --charcoal: #1a1714;
  --ivory: #fcfaf5;
  --cream: #f7efe2;
  --sand: #e6d8c3;
  --stone: #8a7b6a;
  --earth: #5c4a38;
  --gold: #d4af37;
  --gold-soft: #f2e1b1;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-dark: rgba(13, 12, 11, 0.72);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.06);
  --shadow-deep: 0 32px 80px rgba(20, 15, 9, 0.16);
  --max: 1240px;
  --mesh: radial-gradient(at 0% 0%, hsla(38, 33%, 95%, 1) 0, transparent 50%), 
          radial-gradient(at 50% 0%, hsla(38, 48%, 92%, 1) 0, transparent 50%), 
          radial-gradient(at 100% 0%, hsla(38, 33%, 95%, 1) 0, transparent 50%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, Avenir, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
body.dark {
  --ink: #f8f1e3;
  --ivory: #0b0a09;
  --cream: #17130f;
  --sand: #463a2b;
  --stone: #bcae98;
  --white: #14110e;
  --shadow: 0 24px 70px rgba(0,0,0,.45);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  color: var(--gold);
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
}
.section { padding: 96px 0; }
.section.alt { background: var(--mesh); position: relative; }
.section.alt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.02), transparent);
  pointer-events: none;
}
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-head h2, .page-title h1, .hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}
.section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
  margin: 8px 0 18px;
}
.section-head h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); margin: 8px 0 0; }
.section-head p { max-width: 510px; margin: 0; color: var(--stone); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  padding: 24px 0;
  color: #fff;
}
.site-header.scrolled, .site-header.solid {
  background: var(--glass);
  color: var(--ink);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 12px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
body.dark .site-header.scrolled, body.dark .site-header.solid { 
  background: var(--glass-dark); 
  border-bottom-color: rgba(212, 175, 55, 0.05);
}
.nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.brand img { width: 224px; height: 75px; object-fit: contain; }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: .88rem; font-weight: 650; }
.nav-links a { opacity: .9; position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 1px;
  transform: scaleX(0);
  background: var(--gold);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn, .menu-toggle {
  width: 42px; height: 42px; border: 1px solid rgba(199,164,93,.45);
  border-radius: 50%; background: rgba(255,255,255,.08); color: inherit;
  display: grid; place-items: center; transition: transform .2s ease, background .2s ease;
}
.icon-btn:hover, .menu-toggle:hover { transform: translateY(-2px); background: rgba(199,164,93,.14); }
.menu-toggle { display: none; }
.theme-toggle, .menu-toggle { font-size: 0; position: relative; }
.theme-toggle {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 38px; height: 38px;
}
.theme-toggle:hover {
  transform: scale(1.18) translateY(-1px);
  background: transparent !important;
}
.theme-toggle::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  box-shadow: inset -6px 0 0 currentColor;
}
.menu-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.menu-toggle::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: rotate(-45deg);
  transition: opacity .22s ease, transform .22s ease;
}
.menu-toggle.open::before {
  box-shadow: none;
  transform: rotate(45deg);
}
.menu-toggle.open::after {
  opacity: 1;
  transform: rotate(-45deg);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid var(--gold);
  background: var(--gold); color: #111; font-weight: 800; letter-spacing: .03em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(199,164,93,.28); }
.btn.ghost { background: transparent; color: inherit; }
.btn.dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.nav-actions .btn {
  background: #0d0c0b !important;
  color: #D4AF37 !important;
  border: 1px solid #D4AF37 !important;
  border-radius: 4px;
  font-weight: 700;
  min-height: 42px;
  padding: 0 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
}
.nav-actions .btn:hover {
  background: #000000 !important;
  color: #F5E7C8 !important;
  border-color: #F5E7C8 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.3);
}

.hero {
  min-height: 100vh;
  color: #fff;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: #111;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -3%;
  background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.22)), var(--hero) center/cover fixed;
  z-index: 0;
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero::after { content: ""; position: absolute; z-index: 0; inset: auto 0 0; height: 22vh; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.hero-content { position: relative; z-index: 1; padding: 160px 0 92px; }
.hero h1 { font-size: clamp(3.3rem, 4.6vw, 7.5rem); margin: 14px 0 20px; max-width: 820px; }
.hero p { max-width: 650px; font-size: clamp(1.06rem, 2vw, 1.35rem); color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-strip { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 56px; }
.stat { border-left: 1px solid rgba(234,217,169,.45); padding-left: 18px; min-width: 145px; }
.stat strong { display: block; font-size: 2.05rem; font-family: Georgia, serif; color: var(--gold-soft); line-height: 1; }
.stat span { font-size: .84rem; color: rgba(255,255,255,.72); }

.page-title {
  padding: 170px 0 80px;
  color: #fff;
  background: linear-gradient(90deg, rgba(0,0,0,.74), rgba(0,0,0,.28)), var(--hero) center/cover fixed;
}
.page-title h1 { font-size: clamp(3rem, 7vw, 6.7rem); margin: 10px 0 14px; }
.page-title p { max-width: 650px; color: rgba(255,255,255,.82); font-size: 1.1rem; }

.page-title.editorial {
  text-align: center;
  padding: 240px 0 140px;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), var(--hero) center/cover fixed;
}
.page-title.editorial .container { max-width: 900px; }
.page-title.editorial h1 { font-size: clamp(4rem, 10vw, 8.5rem); letter-spacing: -0.02em; }
.page-title.editorial p { margin: 20px auto 0; font-size: 1.25rem; font-style: italic; opacity: 0.9; }

/* Reveal Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 1s ease, transform 1s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.split-reveal { 
  overflow: hidden; 
  display: inline-block; 
}
.split-reveal span { 
  display: block; 
  transform: translateY(100%); 
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1); 
}
.split-reveal.visible span { transform: translateY(0); }

.editorial-grid .eyebrow { color: var(--gold); display: block; margin-bottom: 12px; }
.editorial-grid h3 { color: #fff; font-size: 2.5rem; line-height: 1.1; margin-bottom: 20px; font-family: Georgia, serif; }
.editorial-grid p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

.grid { display: grid; gap: 24px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid rgba(143,130,111,.15);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.03));
  opacity: 0;
  transition: opacity 0.5s ease;
}
.card:hover { 
  transform: translateY(-10px); 
  box-shadow: var(--shadow-deep); 
  border-color: rgba(212, 175, 55, 0.4); 
}
.card:hover::after { opacity: 1; }
.icon { width: 52px; height: 52px; color: var(--gold); margin-bottom: 28px; }
.card h3 { 
  margin: 0 0 12px; 
  font-size: 1.4rem; 
  font-family: Georgia, serif;
  font-weight: 500;
}
.card p { margin: 0; color: var(--stone); font-size: 0.95rem; }

.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.project-card {
  min-height: 330px;
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #222;
}
.project-card.large { grid-column: span 8; }
.project-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s ease; }
.project-card::after { content: none; }
.project-card:hover img { transform: scale(1.035); }
.project-info { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; transform: translateY(8px); transition: transform .25s ease; }
.project-info { display: none; }
.project-card:hover .project-info { transform: translateY(0); }
.project-info small { color: var(--gold-soft); letter-spacing: .14em; text-transform: uppercase; }
.project-info h3 { margin: 4px 0 0; font-family: Georgia, serif; font-size: 1.7rem; }

.testimonial {
  min-height: 250px;
  display: grid;
  align-content: center;
  background: var(--charcoal);
  color: #fff;
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.testimonial p { font-size: clamp(1.25rem, 3vw, 2rem); font-family: Georgia, serif; line-height: 1.35; }
.testimonial footer { color: var(--gold-soft); }
.slider-dots { display: flex; gap: 8px; margin-top: 18px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #bcb4a6; padding: 0; }
.slider-dots button.active { background: var(--gold); transform: scale(1.3); }

.image-stack { position: relative; min-height: 560px; }
.image-stack img { width: 72%; height: 430px; object-fit: cover; box-shadow: var(--shadow); }
.image-stack img:last-child { position: absolute; right: 0; bottom: 0; border: 12px solid var(--ivory); }
.timeline { border-left: 1px solid rgba(199,164,93,.45); padding-left: 28px; display: grid; gap: 24px; }
.timeline-item span { color: var(--gold); font-weight: 800; }
.timeline-item h3 { margin: 4px 0; }

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
  position: sticky;
  top: 80px;
  z-index: 40;
  padding: 10px;
  background: rgba(251,247,238,0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199,164,93,0.15);
}
body.dark .filters { background: rgba(11,10,9,0.6); }

.filter-btn {
  border: none;
  background: transparent;
  color: var(--stone);
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  position: relative;
}
.filter-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}
.filter-btn:hover { color: var(--ink); }
.filter-btn.active { color: var(--ink); }
.filter-btn.active::after { width: 30px; }
.masonry { columns: 3 260px; column-gap: 18px; }
.masonry a { display: block; break-inside: avoid; margin-bottom: 18px; position: relative; overflow: hidden; background: #111; }
.masonry img { width: 100%; aspect-ratio: var(--ratio, 4/5); object-fit: cover; transition: transform .45s ease, opacity .3s ease; }
.masonry a:hover img { transform: scale(1.06); opacity: .75; }
.masonry span { position: absolute; left: 18px; bottom: 16px; color: #fff; font-weight: 800; }
.company-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}
.company-gallery a {
  position: relative;
  display: block;
  background: linear-gradient(135deg, rgba(251,247,238,.8), rgba(222,208,183,.24));
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(143,130,111,.16);
  box-shadow: 0 10px 30px rgba(20,15,9,0.07);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease, border-color .45s ease;
}
/* Resetting spans for a clean uniform grid */
.company-gallery a.featured,
.company-gallery a.tall,
.company-gallery a.wide { grid-column: auto; grid-row: auto; }

.company-gallery a::before {
  content: none;
  position: absolute;
  z-index: 10;
  top: 20px;
  right: 20px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.4s ease;
}
.company-gallery a::after {
  content: none;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.03);
  transition: background 0.4s ease;
}
.company-gallery a:hover {
  transform: translateY(-8px);
  border-color: rgba(199,164,93,.36);
  box-shadow: 0 26px 54px rgba(20,15,9,0.14);
}
.company-gallery a:hover::before {
  opacity: 1;
  transform: translateY(0);
}
.company-gallery a:hover::after {
  background: transparent;
}
.company-gallery img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  filter: saturate(.98) contrast(1.02);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter .45s ease;
}
.company-gallery a:hover img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.04);
}
.company-gallery span {
  display: none;
}
.company-gallery a:hover span {
  opacity: 0;
}
.company-gallery-empty {
  grid-column: 1 / -1;
  padding: 120px 20px;
  text-align: center;
  color: var(--stone);
  font-family: Georgia, serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}
.portfolio-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 34px;
}
.portfolio-intro img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.portfolio-intro-visual {
  position: relative;
  min-height: 410px;
  perspective: 1200px;
}
.portfolio-intro-visual img {
  position: absolute;
  inset: 0;
  transform: rotateY(-8deg) rotateX(3deg);
  transform-origin: center;
}
.portfolio-intro-visual::before,
.portfolio-intro-visual::after {
  content: "";
  position: absolute;
  border-radius: 8px;
  border: 1px solid rgba(199,164,93,.28);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(20,15,9,.14);
}
.portfolio-intro-visual::before {
  inset: 34px -12px -18px 58px;
  transform: rotateY(-16deg) rotateZ(2deg);
}
.portfolio-intro-visual::after {
  inset: 68px -24px -34px 108px;
  transform: rotateY(-22deg) rotateZ(4deg);
}
.portfolio-intro-visual img { z-index: 2; }
.portfolio-intro.editorial-grid {
  grid-template-columns: 1.2fr 0.8fr;
  margin-bottom: 100px;
}
.portfolio-intro-visual {
  position: relative;
}
.visual-deco {
  position: absolute;
  inset: -20px;
  border: 1px solid var(--gold);
  z-index: -1;
  opacity: 0.3;
  transform: translate(40px, 40px);
}
.portfolio-intro-panel.luxury {
  padding: 60px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.portfolio-intro-panel.luxury .divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-top: 30px;
}
.section-head.center {
  text-align: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
}
.section-head.center p { margin: 10px auto 0; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(14px);
}
.lightbox.open { display: grid; }
.lightbox figure {
  margin: 0;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  display: grid;
  gap: 14px;
}
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  object-fit: contain;
  border: 1px solid rgba(234,217,169,.35);
  box-shadow: 0 34px 90px rgba(0,0,0,.55);
  background: #111;
}
.lightbox figcaption {
  color: #fff;
  font-weight: 800;
  text-align: center;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(234,217,169,.45);
  background: rgba(0,0,0,.42);
  color: #fff;
}

.before-after {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  background: #111;
}
.before-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.before-after .after { clip-path: inset(0 0 0 50%); }
.before-after input { position: absolute; left: 20px; right: 20px; bottom: 24px; width: calc(100% - 40px); z-index: 2; accent-color: var(--gold); }
.before-after label { position: absolute; z-index: 2; top: 22px; background: rgba(0,0,0,.58); color: #fff; padding: 7px 12px; font-weight: 800; }
.before-after .before-label { left: 22px; }
.before-after .after-label { right: 22px; }
.before-after .before-label,
.before-after .after-label { display: none; }

.room-preview,
.home-preview {
  min-height: 510px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 40%),
    radial-gradient(circle at 56% 22%, #ffe5b2, #967b59 42%, #211813 100%);
  display: grid;
  place-items: center;
  perspective: 900px;
  overflow: hidden;
  position: relative;
}
.room-preview::before,
.home-preview::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(234,217,169,.18);
  box-shadow: inset 0 0 70px rgba(255,255,255,.05);
  pointer-events: none;
}
.room-preview::after,
.home-preview::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: 10%;
  top: 12%;
  background: radial-gradient(circle, rgba(240,201,116,.24), transparent 68%);
  filter: blur(6px);
  animation: ambientGlow 4.8s ease-in-out infinite;
}
.home-preview {
  background:
    linear-gradient(135deg, rgba(255,255,255,.1), transparent 42%),
    radial-gradient(circle at 32% 18%, rgba(234,217,169,.9), transparent 24%),
    radial-gradient(circle at 62% 28%, #d9b780, #6f604d 46%, #151211 100%);
}
.room {
  width: min(620px, 86vw);
  height: 350px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-38deg);
  transition: transform .2s ease;
}
.wall, .floor, .cabinet, .counter, .island, .chimney, .backsplash, .pendant, .drawer-line, .open-shelf, .cooktop, .light-strip, .steam { position: absolute; transform-style: preserve-3d; }
.floor {
  inset: 0;
  background:
    linear-gradient(45deg, rgba(255,255,255,.05) 25%, transparent 25% 75%, rgba(255,255,255,.05) 75%) 0 0/84px 84px,
    linear-gradient(135deg, #dcc39b, #6c4a31);
  box-shadow: 
    0 30px 80px rgba(0,0,0,.35),
    inset 0 0 100px rgba(0,0,0,0.1);
  position: relative;
}
.floor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
  opacity: 0.4;
}
.wall.back {
  width: 100%;
  height: 190px;
  background:
    linear-gradient(90deg, rgba(199,164,93,.18) 0 1px, transparent 1px 80px),
    linear-gradient(135deg, #fff1dc, #b29268);
  transform: translateY(-190px) rotateX(90deg);
  transform-origin: bottom;
}
.wall.side { width: 190px; height: 100%; right: 0; background: linear-gradient(135deg, #eadcc8, #806447); transform: translateX(190px) rotateY(90deg); transform-origin: left; }
.animate-build > * { animation: kitchenBuild .9s cubic-bezier(.19, 1, 0.22, 1) both; }
.animate-build .floor, .animate-build .wall { animation-name: kitchenShell; }
.cabinet {
  background: linear-gradient(135deg, #f6efe1, #bda178);
  box-shadow: inset 0 0 0 7px rgba(78,58,38,.18), 0 16px 30px rgba(0,0,0,.24);
  overflow: hidden;
}
.cabinet::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(73,53,42,.15);
  background: linear-gradient(90deg, transparent 49%, rgba(73,53,42,.12) 49% 51%, transparent 51%);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
}
.cabinet::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 4px;
  left: calc(50% - 17px);
  top: 18px;
  border-radius: 99px;
  background: rgba(73,53,42,.44);
}
.cabinet.base { width: 190px; height: 82px; top: 120px; transform: translateZ(42px); }
.cabinet.base.left { left: 58px; animation-delay: .18s; }
.cabinet.base.right { left: 286px; width: 210px; animation-delay: .28s; }
.drawer-line { width: 150px; height: 2px; top: 150px; background: rgba(67,45,28,.42); transform: translateZ(91px); animation-delay: .38s; }
.drawer-line.d1 { left: 78px; }
.drawer-line.d2 { left: 318px; }
.counter { width: 470px; height: 32px; left: 46px; top: 108px; background: linear-gradient(135deg, #211915, #5d4b3f); transform: translateZ(88px); animation-delay: .4s; }
.island {
  width: 250px;
  height: 98px;
  left: 178px;
  top: 220px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.1) 0 1px, transparent 1px 33.3%),
    linear-gradient(135deg, #1a1512, #c7a45d);
  box-shadow: 
    inset 0 0 0 1px rgba(255,255,255,0.1),
    0 10px 30px rgba(0,0,0,0.3),
    0 20px 50px rgba(0,0,0,0.2);
  transform: translateZ(46px);
  animation-delay: .52s;
}
.island::before {
  content: "";
  position: absolute;
  inset: -15px -12px auto;
  height: 26px;
  background: linear-gradient(135deg, #fbf7ee, #8a7b6a);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  border-radius: 2px;
}
.island::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 44px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.24);
}
.cabinet.upper { width: 128px; height: 74px; top: 18px; background: linear-gradient(135deg, #f8f1e4, #c8b28d); transform: translateZ(126px); animation-delay: .64s; }
.cabinet.upper.one { left: 72px; }
.cabinet.upper.two { left: 336px; }
.open-shelf { width: 116px; height: 16px; left: 210px; top: 82px; background: linear-gradient(90deg, #49352a, #c7a45d); box-shadow: 0 16px 0 rgba(73,53,42,.65); transform: translateZ(124px); animation-delay: .72s; }
.backsplash { width: 210px; height: 72px; left: 205px; top: 32px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.72) 0 14px, rgba(199,164,93,.28) 14px 16px); transform: translateZ(90px); animation-delay: .74s; }
.chimney { width: 82px; height: 96px; left: 268px; top: 0; background: linear-gradient(135deg, #d7d2c8, #6f665a); clip-path: polygon(20% 0, 80% 0, 92% 100%, 8% 100%); transform: translateZ(140px); animation-delay: .86s; }
.cooktop { width: 86px; height: 30px; left: 264px; top: 109px; background: radial-gradient(circle at 28% 50%, #0b0908 0 10px, transparent 11px), radial-gradient(circle at 70% 50%, #0b0908 0 10px, transparent 11px), linear-gradient(135deg, #1d1714, #4b3b32); border-radius: 3px; transform: translateZ(101px); animation-delay: .9s; }
.light-strip { width: 312px; height: 8px; left: 122px; top: 105px; background: #f0c974; border-radius: 99px; transform: translateZ(130px); filter: drop-shadow(0 0 14px rgba(240,201,116,.9)); animation-delay: .96s; }
.pendant { width: 20px; height: 58px; top: 108px; background: linear-gradient(#2a211b 0 45%, #f0c974 45% 100%); border-radius: 12px 12px 18px 18px; transform: translateZ(120px); animation: kitchenBuild .8s cubic-bezier(.2,.8,.2,1) both, pendantGlow 2.4s ease-in-out infinite .9s; }
.pendant.p1 { left: 226px; animation-delay: .98s; }
.pendant.p2 { left: 342px; animation-delay: 1.06s; }
.steam { width: 10px; height: 48px; left: 292px; top: 72px; border-left: 2px solid rgba(255,255,255,.42); border-radius: 50%; transform: translateZ(154px); animation: steamLift 2.8s ease-in-out infinite 1.15s; }
.steam.s2 { left: 326px; height: 40px; animation-delay: 1.45s; }
@keyframes kitchenShell {
  from { opacity: 0; transform: translateY(22px) rotateX(90deg); }
  to { opacity: 1; }
}
@keyframes kitchenBuild {
  from { opacity: 0; transform: translate3d(0, 50px, 100px); scale: .85; filter: blur(10px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); scale: 1; filter: blur(0); }
}
@keyframes pendantGlow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(240,201,116,0.3)); }
  50% { filter: drop-shadow(0 0 25px rgba(240,201,116,0.95)); }
}
@keyframes steamLift {
  0%, 100% { opacity: .15; translate: 0 10px; }
  45% { opacity: .72; translate: 0 -12px; }
}
@keyframes ambientGlow {
  0%, 100% { opacity: .45; transform: scale(.96); }
  50% { opacity: .9; transform: scale(1.08); }
}

/* Front-perspective kitchen concept: clearer than the old top-down view. */
.room-preview {
  background:
    linear-gradient(160deg, rgba(255,255,255,.16), transparent 34%),
    radial-gradient(circle at 50% 20%, rgba(255,226,176,.82), transparent 24%),
    linear-gradient(135deg, #3a3028, #9a8264 48%, #17120f);
  perspective: 1100px;
}
.three-kitchen-preview {
  min-height: 560px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,220,156,.42), transparent 30%),
    linear-gradient(135deg, #241c18, #8d775e 48%, #120f0d);
}
.kitchen-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
}
.home-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
}
.three-ready .kitchen-build {
  opacity: 0;
  pointer-events: none;
}
.home-three-ready .home-scene {
  opacity: 0;
  pointer-events: none;
}
.room.kitchen-build {
  width: min(650px, 88vw);
  height: 410px;
  transform: rotateX(0deg) rotateY(-6deg);
  transform-origin: center;
  filter: drop-shadow(0 34px 46px rgba(0,0,0,.22));
}
.kitchen-build > * {
  position: absolute;
  transform-style: preserve-3d;
  animation: kitchenBuild .85s cubic-bezier(.2,.8,.2,1) both;
}
.kitchen-build .floor,
.kitchen-build .wall {
  animation-name: kitchenShell;
}
.kitchen-build .floor {
  left: 38px;
  right: 22px;
  bottom: 8px;
  height: 178px;
  clip-path: polygon(10% 0, 92% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25% 75%, rgba(255,255,255,.08) 75%) 0 0/72px 72px,
    linear-gradient(135deg, #e7d1b0, #7b5f45);
  box-shadow: inset 0 24px 80px rgba(255,255,255,.12), 0 28px 70px rgba(0,0,0,.35);
}
.kitchen-build .wall.back {
  left: 52px;
  top: 18px;
  width: 520px;
  height: 270px;
  transform: translateZ(-18px);
  background:
    linear-gradient(90deg, rgba(199,164,93,.12) 0 1px, transparent 1px 74px),
    linear-gradient(180deg, #fff2de, #c1a37b);
  border: 1px solid rgba(234,217,169,.26);
  box-shadow: inset 0 -60px 90px rgba(100,73,47,.24);
}
.kitchen-build .wall.side {
  right: 30px;
  top: 48px;
  width: 104px;
  height: 275px;
  clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 86%);
  transform: translateZ(-28px);
  background: linear-gradient(135deg, #dcc6a8, #75543a);
  opacity: .95;
}
.tall-unit {
  left: 78px;
  top: 95px;
  width: 74px;
  height: 182px;
  background: linear-gradient(135deg, #f6efe1, #9c7c58);
  box-shadow: inset 0 0 0 7px rgba(78,58,38,.18), 14px 16px 26px rgba(0,0,0,.2);
  animation-delay: .12s;
}
.tall-unit::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: rgba(73,53,42,.26);
  box-shadow: 34px 0 0 rgba(73,53,42,.18);
}
.kitchen-build .cabinet {
  background: linear-gradient(135deg, #fff4e1, #b89262);
  box-shadow: inset 0 0 0 6px rgba(78,58,38,.16), 12px 18px 28px rgba(0,0,0,.22);
}
.kitchen-build .cabinet.base {
  top: 214px;
  height: 74px;
  transform: translateZ(42px);
}
.kitchen-build .cabinet.base.left {
  left: 154px;
  width: 214px;
  animation-delay: .2s;
}
.kitchen-build .cabinet.base.right {
  left: 370px;
  width: 126px;
  height: 106px;
  top: 182px;
  transform: skewY(-7deg) translateZ(34px);
  animation-delay: .28s;
}
.kitchen-build .counter {
  left: 142px;
  top: 202px;
  width: 370px;
  height: 22px;
  border-radius: 2px;
  background: linear-gradient(135deg, #19120f, #6f5848);
  box-shadow: 0 12px 24px rgba(0,0,0,.26);
  transform: translateZ(72px);
  animation-delay: .36s;
}
.kitchen-build .drawer-line {
  top: 246px;
  width: 78px;
  height: 3px;
  background: rgba(75,54,37,.45);
  border-radius: 99px;
  transform: translateZ(84px);
  animation-delay: .44s;
}
.kitchen-build .drawer-line.d1 { left: 184px; }
.kitchen-build .drawer-line.d2 { left: 286px; }
.kitchen-build .backsplash {
  left: 178px;
  top: 126px;
  width: 250px;
  height: 72px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.72) 0 1px, transparent 1px 32px),
    linear-gradient(180deg, rgba(255,255,255,.5), rgba(199,164,93,.24));
  border: 1px solid rgba(234,217,169,.34);
  transform: translateZ(35px);
  animation-delay: .5s;
}
.kitchen-build .cabinet.upper {
  top: 72px;
  width: 122px;
  height: 76px;
  transform: translateZ(70px);
  animation-delay: .58s;
}
.kitchen-build .cabinet.upper.one { left: 176px; }
.kitchen-build .cabinet.upper.two { left: 398px; width: 92px; }
.kitchen-build .open-shelf {
  left: 306px;
  top: 104px;
  width: 78px;
  height: 12px;
  background: linear-gradient(90deg, #3a281f, #c7a45d);
  box-shadow: 0 20px 0 rgba(58,40,31,.72);
  transform: translateZ(82px);
  animation-delay: .66s;
}
.kitchen-build .chimney {
  left: 314px;
  top: 58px;
  width: 62px;
  height: 86px;
  background: linear-gradient(135deg, #ece6da, #6f675f);
  clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
  transform: translateZ(94px);
  animation-delay: .72s;
}
.kitchen-build .cooktop {
  left: 295px;
  top: 203px;
  width: 92px;
  height: 28px;
  background:
    radial-gradient(circle at 25% 50%, #080706 0 10px, transparent 11px),
    radial-gradient(circle at 55% 50%, #080706 0 10px, transparent 11px),
    radial-gradient(circle at 80% 50%, #080706 0 8px, transparent 9px),
    linear-gradient(135deg, #16110f, #514137);
  border-radius: 4px;
  transform: translateZ(100px);
  animation-delay: .78s;
}
.sink {
  left: 202px;
  top: 204px;
  width: 58px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #e7ded1 0 42%, #8e8275 45% 100%);
  transform: translateZ(104px);
  animation-delay: .84s;
}
.faucet {
  left: 222px;
  top: 178px;
  width: 24px;
  height: 36px;
  border: 5px solid #5a5047;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 20px 0 0;
  transform: translateZ(112px);
  animation-delay: .9s;
}
.oven {
  left: 402px;
  top: 226px;
  width: 58px;
  height: 48px;
  background: linear-gradient(135deg, #171310, #55453a);
  border: 5px solid rgba(255,255,255,.18);
  transform: translateZ(92px);
  animation-delay: .94s;
}
.kitchen-build .island {
  left: 166px;
  top: 306px;
  width: 300px;
  height: 78px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.13) 0 1px, transparent 1px 33%),
    linear-gradient(135deg, #211714, #bd985f);
  border-radius: 2px;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.14), 0 24px 44px rgba(0,0,0,.34);
  transform: translateZ(92px) rotateX(1deg);
  animation-delay: 1s;
}
.kitchen-build .island::before {
  height: 24px;
  inset: -16px -14px auto;
  background: linear-gradient(135deg, #fff7ea, #7e6b59);
}
.kitchen-build .light-strip {
  left: 172px;
  top: 156px;
  width: 316px;
  height: 8px;
  background: #ffd579;
  border-radius: 99px;
  transform: translateZ(116px);
  filter: drop-shadow(0 0 14px rgba(255,213,121,.92));
  animation: kitchenBuild .85s cubic-bezier(.2,.8,.2,1) both 1.06s, lightPulse 2.6s ease-in-out infinite 1.6s;
}
.kitchen-build .pendant {
  top: 38px;
  width: 20px;
  height: 82px;
  background: linear-gradient(#2a211b 0 55%, #ffd579 55% 100%);
  border-radius: 16px 16px 22px 22px;
  transform: translateZ(132px);
  animation: kitchenBuild .85s cubic-bezier(.2,.8,.2,1) both, pendantGlow 2.4s ease-in-out infinite 1.4s;
}
.kitchen-build .pendant.p1 { left: 250px; animation-delay: 1.12s, 1.5s; }
.kitchen-build .pendant.p2 { left: 438px; animation-delay: 1.2s, 1.55s; }
.kitchen-build .steam {
  left: 330px;
  top: 154px;
  transform: translateZ(136px);
}
.kitchen-build .steam.s2 { left: 358px; }
@keyframes kitchenShell {
  from { opacity: 0; translate: 0 18px; filter: blur(8px); }
  to { opacity: 1; translate: 0 0; filter: blur(0); }
}
@keyframes kitchenBuild {
  from { opacity: 0; translate: 0 34px; scale: .92; filter: blur(8px); }
  to { opacity: 1; translate: 0 0; scale: 1; filter: blur(0); }
}
@keyframes lightPulse {
  0%, 100% { opacity: .72; filter: drop-shadow(0 0 10px rgba(255,213,121,.65)); }
  50% { opacity: 1; filter: drop-shadow(0 0 24px rgba(255,213,121,.95)); }
}

.home-scene {
  width: min(620px, 86vw);
  height: 360px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-38deg);
  transition: transform .2s ease;
}
.home-scene > * {
  position: absolute;
  transform-style: preserve-3d;
  animation: homeBuild .9s cubic-bezier(.19, 1, 0.22, 1) both;
}
.home-floor {
  inset: 0;
  background:
    linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25% 75%, rgba(255,255,255,.08) 75%) 0 0/96px 96px,
    linear-gradient(135deg, #d9c1a2, #5b4435);
  box-shadow: 0 30px 90px rgba(0,0,0,.36);
}
.home-wall.main {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f5ead8, #a98562);
  transform: translateY(-200px) rotateX(90deg);
  transform-origin: bottom;
  animation-name: homeShell;
}
.home-wall.side {
  width: 200px;
  height: 100%;
  right: 0;
  background: linear-gradient(135deg, #ead9c1, #715640);
  transform: translateX(200px) rotateY(90deg);
  transform-origin: left;
  animation-name: homeShell;
}
.feature-panel {
  width: 160px;
  height: 118px;
  left: 232px;
  top: 20px;
  background: linear-gradient(135deg, #201814, #c7a45d);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.1), 0 18px 32px rgba(0,0,0,.28);
  transform: translateZ(128px);
  animation-delay: .18s;
}
.feature-panel::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(234,217,169,.62);
}
.media-console {
  width: 260px;
  height: 44px;
  left: 180px;
  top: 128px;
  background: linear-gradient(135deg, #31241c, #a9865a);
  transform: translateZ(58px);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.1), 0 16px 30px rgba(0,0,0,.24);
  animation-delay: .28s;
}
.rug-3d {
  width: 360px;
  height: 170px;
  left: 110px;
  top: 170px;
  background: radial-gradient(circle at 50% 50%, rgba(234,217,169,.38), rgba(255,255,255,.08));
  border: 2px solid rgba(234,217,169,.58);
  transform: translateZ(5px);
  animation-delay: .38s;
}
.sofa-3d {
  width: 280px;
  height: 72px;
  left: 86px;
  top: 178px;
  background: linear-gradient(135deg, #f3eadc, #8d745d);
  box-shadow: inset 0 0 0 8px rgba(64,44,31,.18), 0 18px 36px rgba(0,0,0,.26);
  transform: translateZ(44px);
  animation-delay: .48s;
}
.sofa-3d::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 12px;
  height: 2px;
  background: rgba(67,45,28,.28);
  box-shadow: 74px 0 0 rgba(67,45,28,.28), 148px 0 0 rgba(67,45,28,.28);
}
.sofa-arm {
  width: 34px;
  height: 86px;
  top: 170px;
  background: linear-gradient(135deg, #d4bfa5, #5c4638);
  transform: translateZ(56px);
  animation-delay: .56s;
}
.sofa-arm.left { left: 66px; }
.sofa-arm.right { left: 350px; }
.coffee-table {
  width: 134px;
  height: 66px;
  left: 300px;
  top: 230px;
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(199,164,93,.72));
  border: 8px solid rgba(42,31,24,.68);
  transform: translateZ(34px);
  box-shadow: 0 16px 28px rgba(0,0,0,.24);
  animation-delay: .66s;
}
.lamp.stand {
  width: 8px;
  height: 92px;
  left: 490px;
  top: 112px;
  background: #2c211a;
  transform: translateZ(84px);
  animation-delay: .76s;
}
.lamp.shade {
  width: 58px;
  height: 36px;
  left: 465px;
  top: 100px;
  background: linear-gradient(135deg, #f0c974, #7c5d35);
  border-radius: 50% 50% 12px 12px;
  transform: translateZ(130px);
  filter: drop-shadow(0 0 18px rgba(240,201,116,.8));
  animation: homeBuild .9s cubic-bezier(.2,.8,.2,1) both .84s, pendantGlow 2.6s ease-in-out infinite 1.1s;
}
.plant.pot {
  width: 48px;
  height: 44px;
  left: 506px;
  top: 238px;
  background: linear-gradient(135deg, #2b211b, #c7a45d);
  transform: translateZ(28px);
  animation-delay: .9s;
}
.plant.leaf {
  width: 58px;
  height: 28px;
  left: 492px;
  top: 216px;
  background: #466c45;
  border-radius: 80% 8%;
  transform: translateZ(74px) rotateZ(-18deg);
  transform-origin: right center;
  animation: homeBuild .9s cubic-bezier(.2,.8,.2,1) both 1s, leafSway 3.4s ease-in-out infinite 1.3s;
}
.plant.leaf.two {
  left: 518px;
  top: 210px;
  transform: translateZ(78px) rotateZ(42deg);
  animation-delay: 1.08s, 1.4s;
}
.wall-art {
  width: 54px;
  height: 76px;
  top: 38px;
  background: linear-gradient(135deg, rgba(255,255,255,.8), rgba(199,164,93,.38));
  border: 5px solid rgba(64,44,31,.5);
  transform: translateZ(118px);
  animation-delay: .98s;
}
.wall-art.a1 { left: 72px; }
.wall-art.a2 { left: 138px; animation-delay: 1.08s; }
@keyframes homeShell {
  from { opacity: 0; transform: translateY(24px) rotateX(90deg); }
  to { opacity: 1; }
}
@keyframes homeBuild {
  from { opacity: 0; translate: 0 32px; scale: .9; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes leafSway {
  0%, 100% { rotate: 0deg; }
  50% { rotate: 7deg; }
}

.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.9); transition: transform .35s ease, filter .35s ease, box-shadow .35s ease; }
.insta-grid img:hover { transform: translateY(-6px) scale(1.02); filter: saturate(1.04) contrast(1.04); box-shadow: 0 20px 38px rgba(20,15,9,.14); }
.cta-band { background: var(--ink); color: var(--ivory); padding: 70px 0; }
.cta-band .container { display: flex; justify-content: space-between; gap: 26px; align-items: center; }
.cta-band h2 { font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 4rem); margin: 0; line-height: 1.05; }

.form { display: grid; gap: 16px; }
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid rgba(143,130,111,.35);
  background: var(--white);
  color: var(--ink);
  padding: 15px 16px;
  outline: none;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(199,164,93,.14); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.notice { display: none; padding: 12px 14px; background: rgba(199,164,93,.18); border: 1px solid rgba(199,164,93,.4); }
.notice.show { display: block; }
.map {
  min-height: 390px;
  background: linear-gradient(135deg, rgba(0,0,0,.18), rgba(0,0,0,.04)), url("https://images.unsplash.com/photo-1541746972996-4e0b0f43e02a?auto=format&fit=crop&w=1200&q=75") center/cover;
  position: relative;
}
.map::after { content: "Studio: Mumbai Design District"; position: absolute; left: 24px; bottom: 24px; background: rgba(0,0,0,.7); color: #fff; padding: 12px 16px; }

.blog-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin: -28px -28px 22px; max-width: calc(100% + 56px); }
.search-container {
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.search-input {
  width: 100%;
  padding: 24px 0;
  border: none;
  border-bottom: 1px solid rgba(143,130,111,0.3);
  background: transparent;
  color: var(--ink);
  font-size: 1.8rem;
  font-family: Georgia, serif;
  border-radius: 0;
  transition: all 0.5s ease;
  text-align: center;
}
.search-input::placeholder { color: var(--sand); font-style: italic; opacity: 0.5; }
.search-input:focus {
  border-bottom-color: var(--gold);
  outline: none;
}

.project-hero-gallery { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; }
.project-hero-gallery img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.project-hero-gallery .side { display: grid; gap: 18px; }
.material-list { display: flex; flex-wrap: wrap; gap: 12px; }
.material-list span { padding: 10px 14px; background: var(--cream); border: 1px solid rgba(143,130,111,.25); }

.chat, .whatsapp, .back-top {
  position: fixed;
  z-index: 60;
  border: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 34px rgba(0,0,0,.2);
}
.whatsapp { display: none !important; }
.back-top { right: 20px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--ivory); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.back-top.show { opacity: 1; pointer-events: auto; }
.chat-panel {
  position: fixed; right: 20px; bottom: 150px; z-index: 70; width: min(340px, calc(100% - 40px));
  background: var(--white); color: var(--ink); border: 1px solid rgba(199,164,93,.35); box-shadow: var(--shadow);
  display: none;
}
.chat-panel.open { display: block; }
.chat-panel header { padding: 16px; background: var(--ink); color: var(--ivory); display: flex; justify-content: space-between; align-items: center; }
.chat-panel .messages { padding: 18px; display: grid; gap: 10px; }
.bubble { padding: 10px 12px; background: var(--cream); max-width: 88%; }
.bubble.me { justify-self: end; background: rgba(199,164,93,.22); }
.chat-panel form { display: flex; border-top: 1px solid rgba(143,130,111,.22); }
.chat-panel input { flex: 1; border: 0; padding: 13px; background: var(--white); color: var(--ink); }
.chat-panel button { border: 0; padding: 0 15px; background: var(--gold); }

.site-footer { background: #080706; color: rgba(255,255,255,.76); padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.site-footer img { width: 180px; margin-bottom: 16px; }
.site-footer h3 { color: #fff; margin: 0 0 14px; }
.site-footer a { display: block; margin: 8px 0; word-break: break-word; }
.site-footer span { word-break: break-word; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

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

@keyframes heroDrift {
  from { transform: scale(1) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.brochure-page { background: #f8f1e3; }
.brochure { width: min(820px, calc(100% - 32px)); margin: 40px auto; background: #fff; padding: 50px; border: 1px solid #dac99c; }
.brochure img { width: 260px; }
.brochure h1 { font-family: Georgia, serif; font-size: 3.4rem; }

@media (max-width: 980px) {
  .menu-toggle { display: grid; }
  .nav-links {
    position: fixed;
    top: 66px;
    left: auto;
    right: 20px;
    width: min(280px, calc(100% - 40px));
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ivory);
    color: var(--ink);
    padding: 18px 20px;
    border: 1px solid rgba(199,164,93,.18);
    box-shadow: var(--shadow-deep);
  }
  .nav-links a { width: 100%; padding: 10px 8px; }
  .nav-links a::after { left: 8px; right: 8px; bottom: 6px; }
  .nav-links.open { display: flex; }
  .split, .project-hero-gallery, .footer-grid { grid-template-columns: 1fr; }
  .portfolio-intro,
  .portfolio-intro.editorial-grid { grid-template-columns: 1fr; }
  .portfolio-intro.editorial-grid { margin-bottom: 64px; }
  .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); }
  .project-card, .project-card.large { grid-column: span 6; }
  .cta-band .container, .section-head { align-items: start; flex-direction: column; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 68px 0; }
  .site-header,
  .site-header.scrolled,
  .site-header.solid { padding: 10px 0; }
  .nav { gap: 10px; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand img { width: clamp(96px, 30vw, 137px);
        height: 85px; }
  .nav-actions { gap: 8px; flex: 0 0 auto; }
  .icon-btn, .menu-toggle { width: 40px; height: 40px; }
  .nav-actions .btn {
    width: auto;
    min-width: 74px;
    min-height: 46px;
    padding: 0 16px;
  }
  .hero {
    min-height: 92vh;
    background-attachment: scroll;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.34)), var(--hero) center/cover;
  }
  .hero-content { max-width: 100%; padding: 138px 0 56px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); line-height: 1.04; }
  .hero-strip { gap: 16px; margin-top: 36px; }
  .stat { min-width: calc(50% - 8px); }
  .page-title {
    padding: 124px 0 58px;
    background-attachment: scroll;
  }
  .page-title.editorial {
    padding: 128px 0 72px;
    text-align: left;
    background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.38)), var(--hero) center/cover;
  }
  .page-title h1,
  .page-title.editorial h1 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
    line-height: 1.05;
  }
  .page-title.editorial p { margin: 14px 0 0; font-size: 1.05rem; }
  .portfolio-intro.editorial-grid { gap: 18px; margin-bottom: 52px; }
  .btn { width: 100%; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .filter-btn { padding: 11px 10px; min-height: 46px; }
  .grid.three, .grid.four, .form .row { grid-template-columns: 1fr; }
  .project-card, .project-card.large { grid-column: span 12; min-height: 280px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .image-stack { min-height: auto; display: grid; gap: 14px; }
  .image-stack img, .image-stack img:last-child { position: static; width: 100%; height: 300px; border: 0; }
  .room.kitchen-build { transform: rotateX(0deg) rotateY(-4deg) scale(.82); }
  .home-scene { transform: rotateX(58deg) rotateZ(-38deg) scale(.72); }
  .room-preview, .home-preview { min-height: 440px; }
  .company-gallery { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .company-gallery a, 
  .company-gallery a.featured, 
  .company-gallery a.tall, 
  .company-gallery a.wide { grid-column: span 1; grid-row: span 1; margin-bottom: 0; }
  
  @media (max-width: 480px) {
    .company-gallery { grid-template-columns: 1fr; }
  }
  .company-gallery a::before { top: 16px; right: 16px; opacity: 1; transform: none; }
  .company-gallery span { left: 16px; right: 16px; bottom: 16px; opacity: 1; transform: none; }
  .portfolio-intro img { min-height: 280px; }
  .portfolio-intro-visual { min-height: 300px; }
  .portfolio-intro-visual img { position: relative; transform: none; }
  .portfolio-intro-visual::before,
  .portfolio-intro-visual::after { display: none; }
  .visual-deco { display: none; }
  .portfolio-intro-panel,
  .portfolio-intro-panel.luxury { padding: 26px; }
  .portfolio-intro-panel.luxury h3 { font-size: clamp(2rem, 10vw, 2.7rem); overflow-wrap: normal; }
  .lightbox { padding: 16px; }
  .footer-bottom { display: block; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 24px, var(--max)); }
  .brand img { width: 96px; }
  .icon-btn, .menu-toggle { width: 38px; height: 38px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn {
    min-width: 66px;
    min-height: 42px;
    padding: 0 12px;
    font-size: .9rem;
  }
  .stat { min-width: 100%; }
  .page-title.editorial { padding-top: 118px; }
}

.custom-cursor { display: none !important; }
.room-preview,
.home-preview,
.kitchen-canvas { cursor: default; }
a, button, .filter-btn, input[type="range"] { cursor: pointer; }
