:root {
  --milk: #f7f2ea;
  --warm: #fffaf2;
  --stone: #d8cec0;
  --sand: #b9a88f;
  --graphite: #22201e;
  --muted: #6d665e;
  --line: rgba(34, 32, 30, .13);
  --gold: #b99a5f;
  --shadow: 0 24px 70px rgba(34, 32, 30, .16);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--graphite);
  background: var(--milk);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 76% 12%, rgba(185,154,95,.12), transparent 28%),
    radial-gradient(circle at 12% 42%, rgba(255,250,242,.1), transparent 30%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--warm);
  mix-blend-mode: difference;
}
.brand { display: inline-flex; gap: 12px; align-items: center; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: .12em;
}
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand small { opacity: .72; font-size: 12px; margin-top: 3px; }
.desktop-nav { display: none; gap: 26px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.icon-menu {
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  display: grid;
  place-content: center;
  gap: 5px;
}
.icon-menu span { display: block; width: 17px; height: 1px; background: currentColor; }
.mobile-nav {
  position: fixed;
  z-index: 30;
  top: 72px;
  left: 16px;
  right: 16px;
  padding: 18px;
  background: rgba(255, 250, 242, .96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
  border-radius: 8px;
}
.mobile-nav.open { display: grid; gap: 14px; }

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1f1c19;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% 10% 35%;
  height: 48%;
  background: radial-gradient(circle, rgba(185,154,95,.25), transparent 62%);
  filter: blur(26px);
  animation: glowDrift 9s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image, url("assets/hero-lounge.jpg"));
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: cinematic 18s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21,18,15,.76), rgba(21,18,15,.32) 52%, rgba(21,18,15,.2)), linear-gradient(0deg, rgba(21,18,15,.56), transparent 48%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(850px, calc(100% - 34px));
  margin: 0 auto;
  padding: 150px 0 96px;
  color: var(--warm);
  animation: heroText .9s cubic-bezier(.2,.8,.2,1) both;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 700;
}
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: 0; }
h1 { font-size: clamp(46px, 8vw, 94px); line-height: .95; max-width: 900px; }
h2 { font-size: clamp(34px, 5vw, 66px); line-height: 1; }
h3 { font-size: 30px; line-height: 1.08; }
.hero-content > p:not(.eyebrow) {
  max-width: 680px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
  color: rgba(255, 250, 242, .84);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions.center { justify-content: center; }
.btn, .admin-btn {
  border: 1px solid transparent;
  min-height: 48px;
  padding: 13px 19px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover, .admin-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(34,32,30,.18); }
.btn:active, .admin-btn:active { transform: scale(.98); }
.btn-primary, .admin-btn.primary { background: var(--graphite); color: var(--warm); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--warm); background: rgba(255,255,255,.06); }
.btn-light { background: var(--warm); color: var(--graphite); }
.btn.full { width: 100%; }
.hero-note {
  display: none;
  position: absolute;
  right: 44px;
  bottom: 44px;
  z-index: 2;
  color: var(--warm);
  border-left: 1px solid rgba(255,255,255,.42);
  padding-left: 18px;
}
.hero-note span { display: block; color: rgba(255,255,255,.68); }
.hero-note strong { font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 400; }
.grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .16;
  background-image: repeating-radial-gradient(circle at 10% 20%, rgba(255,255,255,.28) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  padding: 1px;
}
.trust-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--warm);
  padding: 14px;
  color: var(--graphite);
  font-weight: 700;
}

.section, .process-band, .materials, .final-cta {
  padding: clamp(68px, 10vw, 132px) clamp(17px, 5vw, 70px);
}
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading.wide { max-width: 980px; }
.intro-strip { background: var(--warm); }
.works-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 0 18px;
  gap: 18px;
  scrollbar-width: none;
}
.works-grid::-webkit-scrollbar { display: none; }
.work-card {
  flex: 0 0 min(84vw, 390px);
  scroll-snap-align: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.work-image-wrap { overflow: hidden; }
.work-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.work-card:hover img { transform: scale(1.06); }
.work-card-content { padding: 22px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.dark { border-color: var(--line); color: var(--graphite); }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 12px;
}
.work-card p, .benefit p, .materials-copy p, .review-card p, .site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  gap: 34px;
  background: var(--milk);
}
.benefits-grid {
  display: grid;
  gap: 12px;
}
.benefit {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.benefit strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.process-band {
  background: #26231f;
  color: var(--warm);
}
.process-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.process-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.process-step span { color: var(--gold); }
.process-step p { color: rgba(255,250,242,.68); margin: 7px 0 0; }

.masonry { columns: 1; column-gap: 18px; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
  position: relative;
  background: #ddd;
  cursor: zoom-in;
  overflow: hidden;
}
.gallery-item img { width: 100%; min-height: 260px; object-fit: cover; }
.gallery-item.featured img { min-height: 390px; }
.gallery-item span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: var(--warm);
  text-shadow: 0 1px 12px rgba(0,0,0,.55);
  font-weight: 700;
}

.materials {
  display: grid;
  gap: 34px;
  background: #ede3d6;
}
.materials-copy { max-width: 720px; }
.swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(54px, 1fr));
  gap: 12px;
}
.swatches span {
  min-height: 160px;
  background: var(--swatch);
  border: 1px solid rgba(34,32,30,.12);
  animation: swatchFloat 4s ease-in-out infinite alternate;
}
.swatches span:nth-child(2) { animation-delay: .4s; }
.swatches span:nth-child(3) { animation-delay: .8s; }
.production, .designers, .faq {
  padding: clamp(68px, 10vw, 132px) clamp(17px, 5vw, 70px);
  background: var(--warm);
}
.production h2, .faq h2 { max-width: 960px; margin-bottom: 34px; }
.production-grid {
  display: grid;
  gap: 12px;
}
.production-grid article {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.production-grid span { color: var(--gold); font-weight: 800; }
.production-grid strong { display: block; margin: 10px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 400; }
.production-grid p, .designers p, .faq p { color: var(--muted); line-height: 1.65; }
.designers {
  display: grid;
  gap: 24px;
  align-items: end;
  background: #25221f;
  color: var(--warm);
}
.designers p { max-width: 660px; color: rgba(255,250,242,.72); }
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-list details {
  border: 1px solid var(--line);
  background: #fffdf8;
  padding: 18px;
  border-radius: 8px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.reviews-grid { display: grid; gap: 14px; }
.review-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  padding: 24px;
}
.review-card .review-project {
  width: 100%;
  height: 210px;
  border-radius: 0;
  object-fit: cover;
  margin-bottom: 18px;
}
.review-card img:not(.review-project) {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
}
.final-cta {
  text-align: center;
  color: var(--warm);
  background: linear-gradient(rgba(34,32,30,.8), rgba(34,32,30,.8)), url("assets/gallery-private.jpg") center/cover;
}
.final-cta h2 { max-width: 900px; margin: 0 auto; }
.site-footer {
  display: grid;
  gap: 24px;
  padding: 34px clamp(17px, 5vw, 70px);
  background: #171513;
  color: var(--warm);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; color: rgba(255,250,242,.74); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 16px;
}
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23,21,19,.62); }
.modal.open .modal-backdrop { backdrop-filter: blur(10px); }
.lead-form {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--warm);
  padding: 26px;
  box-shadow: var(--shadow);
  transform: translateY(18px);
  animation: modalIn .38s cubic-bezier(.2,.8,.2,1) both;
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}
label { display: grid; gap: 8px; margin: 0 0 14px; color: var(--muted); font-size: 14px; font-weight: 700; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffdf8;
  color: var(--graphite);
  padding: 13px 12px;
  outline: none;
}
textarea { resize: vertical; }
.form-note { min-height: 20px; color: var(--muted); }
.viewer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(16,14,12,.92);
}
.viewer.open { display: grid; }
.viewer img {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  object-fit: contain;
  animation: viewerZoom .32s ease both;
}
.viewer button {
  position: fixed;
  right: 18px;
  top: 16px;
  border: 0;
  background: transparent;
  color: var(--warm);
  font-size: 36px;
  cursor: pointer;
}
.site-alert {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  background: #fffaf2;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 8px;
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.admin-body { background: #f4efe7; }
.admin-shell { min-height: 100vh; }
.login-panel { min-height: 100vh; display: grid; place-items: center; padding: 18px; }
.admin-app { min-height: 100vh; }
.admin-sidebar {
  background: #221f1c;
  color: var(--warm);
  padding: 18px;
}
.admin-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0;
}
.admin-nav button, .admin-btn.subtle {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: inherit;
  border-radius: 4px;
  padding: 12px;
  cursor: pointer;
}
.admin-nav button.active { background: var(--warm); color: var(--graphite); }
.admin-content { padding: 18px; }
.admin-topbar {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.admin-topbar h1 { font-size: clamp(32px, 5vw, 52px); }
.admin-tab { display: none; }
.admin-tab.active { display: grid; gap: 16px; }
.admin-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 12px 38px rgba(34,32,30,.07);
}
.admin-card h2 { font-size: 26px; margin-bottom: 16px; }
.stats-grid { display: grid; gap: 12px; }
.stats-grid .admin-card span { color: var(--muted); }
.stats-grid .admin-card strong { display: block; font-size: 42px; margin-top: 8px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.grid-form { display: grid; gap: 12px; }
.grid-form label { margin: 0; }
.wide-field, .check-row { grid-column: 1 / -1; }
.check-row { display: flex; align-items: center; gap: 10px; }
.check-row input { width: auto; }
.admin-list { display: grid; gap: 12px; }
.list-item {
  display: grid;
  gap: 12px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.list-item[draggable="true"] { cursor: grab; }
.list-item.compact { grid-template-columns: 1fr auto; }
.lead-item textarea {
  min-height: 72px;
  margin-top: 8px;
}
.lead-tools {
  display: grid;
  gap: 8px;
  width: 100%;
}
.lead-tools input, .lead-tools select { min-height: 44px; }
.list-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}
.item-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tiny-btn {
  border: 1px solid var(--line);
  background: #fffaf2;
  border-radius: 4px;
  padding: 9px 10px;
  cursor: pointer;
}
.danger { color: #8b2f21; }
.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.status {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eee4d6;
  color: var(--graphite);
  font-size: 12px;
  font-weight: 700;
}

@media (min-width: 720px) {
  .desktop-nav { display: flex; }
  .icon-menu { display: none; }
  .hero-content { margin-left: clamp(28px, 7vw, 96px); }
  .hero-note { display: block; }
  .works-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: 0; }
  .work-card { flex-basis: auto; }
  .split-section { grid-template-columns: .85fr 1.15fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .process-list { grid-template-columns: repeat(5, 1fr); }
  .process-step { grid-template-columns: 1fr; padding: 28px 18px; border-right: 1px solid rgba(255,255,255,.18); }
  .masonry { columns: 3; }
  .materials { grid-template-columns: 1fr .8fr; align-items: end; }
  .production-grid { grid-template-columns: repeat(4, 1fr); }
  .designers { grid-template-columns: 1fr auto; }
  .reviews-grid, .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer { grid-template-columns: 1fr auto; align-items: center; }
  .admin-app { display: grid; grid-template-columns: 280px 1fr; }
  .admin-sidebar { min-height: 100vh; position: sticky; top: 0; align-self: start; }
  .admin-nav { grid-template-columns: 1fr; }
  .admin-content { padding: 32px; }
  .grid-form { grid-template-columns: repeat(2, 1fr); }
  .list-item { grid-template-columns: 170px 1fr auto; align-items: center; }
  .gallery-admin .list-item { grid-template-columns: 220px 1fr auto; }
  .lead-tools { grid-template-columns: 220px 160px 150px auto; align-items: center; width: auto; }
}

@media (max-width: 420px) {
  .hero { min-height: 100svh; }
  .hero-content { width: calc(100% - 34px); padding: 130px 0 94px; }
  h1 { font-size: clamp(42px, 15vw, 58px); }
  .hero-content > p:not(.eyebrow) { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .admin-topbar { align-items: flex-start; flex-direction: column; }
  .lead-form {
    align-self: end;
    width: 100%;
    border-radius: 14px 14px 0 0;
    max-height: 88vh;
  }
  body::before { display: none; }
  .grain { opacity: .08; }
  .swatches span { animation: none; }
}

@keyframes cinematic {
  from { transform: scale(1.06) translate3d(-1%, -1%, 0); }
  to { transform: scale(1.12) translate3d(1.4%, 1%, 0); }
}
@keyframes glowDrift {
  from { transform: translate3d(-4%, 0, 0); opacity: .65; }
  to { transform: translate3d(6%, -5%, 0); opacity: .95; }
}
@keyframes heroText {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(26px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes viewerZoom {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes swatchFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
