/* CLP Staging Website V2.4.1 | Shared styles | 2026-10-07 */
/* ============================================
   CREATIVE LIVING PROPERTY — STAGING SITE
   Shared Styles
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette: navy foundation, warm cream, burnt orange primary accent, gold secondary detail */
  --navy:   #1C2340;
  --cream:  #FAF8F4;
  --white:  var(--cream);              /* legacy alias */
  --burnt-orange:       #C85A2A;       /* brand accent: heading italics, rules, borders */
  --burnt-orange-deep:  #B04E1E;       /* buttons + small text on light backgrounds (AA) */
  --burnt-orange-light: #D9744A;       /* small text + details on navy (AA) */
  --burnt-orange-hover: #9E451A;
  --gold:   #C9A84C;                   /* secondary / detail accent only */
  --gold-l: #e2c57a;
  --grey:   #6b6b6b;
  --light:  #f0ede7;
  --dark:   #141929;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--navy); overflow-x: hidden; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 300; }
h1 { font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.05; }
h2 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); line-height: 1.12; }
h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 600; }
em { font-style: italic; color: var(--burnt-orange); }
.hero em { color: var(--burnt-orange-light); }  /* over photography */
p { line-height: 1.75; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5%;
  background: rgba(28,35,64,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,90,42,0.22);
  transition: padding 0.3s;
}
nav.scrolled { padding: 0.8rem 5%; }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--white); letter-spacing: 0.04em; text-decoration: none; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a { font-size: 0.78rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250,248,244,0.65); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { border-bottom: 1px solid var(--burnt-orange-light); padding-bottom: 1px; }
.nav-cta { background: var(--burnt-orange-deep); color: var(--cream) !important; padding: 0.55rem 1.3rem !important; border-bottom: none !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--burnt-orange-hover) !important; color: var(--cream) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: all 0.3s; }
.nav-mobile { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy); z-index: 490; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--white); text-decoration: none; letter-spacing: 0.04em; }
.nav-mobile a:hover { color: var(--burnt-orange-light); }
.nav-mobile-close { position: absolute; top: 1.5rem; right: 2rem; font-size: 2rem; color: var(--white); cursor: pointer; font-family: 'Cormorant Garamond', serif; }

/* ── SHARED SECTION ── */
section { padding: 5.5rem 6%; }
.inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--burnt-orange-deep); margin-bottom: 1rem;
}
.section-label::before { content: ''; display: block; width: 22px; height: 1px; background: currentColor; }
.hero .section-label, .page-hero .section-label, .section-label.on-dark { color: var(--burnt-orange-light); }
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--burnt-orange-deep); color: var(--cream);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 1rem 2.2rem; text-decoration: none;
  box-shadow: 0 4px 24px rgba(176,78,30,0.28);
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--burnt-orange-hover); transform: translateY(-2px); }
.btn-outline {
  display: inline-block; background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0.9rem 2rem;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-gold {
  display: inline-block; background: transparent; color: var(--gold);
  border: 1.5px solid rgba(201,168,76,0.4); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0.9rem 2rem;
  text-decoration: none; transition: background 0.2s, border-color 0.2s;
}
.btn-outline-gold:hover { background: rgba(201,168,76,0.1); border-color: var(--gold); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--navy); padding: 1.3rem 6%;
  display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(250,248,244,0.55); }
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 10rem 6% 5rem;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; max-width: 680px; }
.page-hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.page-hero p { font-size: 1.05rem; color: rgba(250,248,244,0.65); max-width: 520px; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 4rem 6% 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  margin-bottom: 2rem;
}
.footer-brand p { font-size: 0.85rem; color: rgba(250,248,244,0.4); line-height: 1.75; margin-top: 0.8rem; max-width: 260px; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: rgba(250,248,244,0.7); letter-spacing: 0.04em; text-decoration: none; display: block; margin-bottom: 0.5rem; }
.footer-logo span { color: var(--gold); }
.footer-col h5 { font-family: 'DM Sans', sans-serif; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.82rem; color: rgba(250,248,244,0.45); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.72rem; color: rgba(250,248,244,0.22); }
.footer-platforms { display: flex; align-items: center; gap: 0.8rem; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,248,244,0.22); }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,14,28,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border: 1px solid rgba(201,168,76,0.15); }
.lb-close { position: absolute; top: 1.5rem; right: 2rem; font-size: 2.2rem; color: var(--white); cursor: pointer; font-family: 'Cormorant Garamond', serif; font-weight: 300; opacity: 0.6; transition: opacity 0.2s; line-height: 1; }
.lb-close:hover { opacity: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.25); color: var(--gold); font-size: 1.4rem; padding: 0.8rem 1rem; cursor: pointer; transition: background 0.2s; user-select: none; }
.lb-nav:hover { background: rgba(201,168,76,0.25); }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-caption { position: absolute; bottom: 1.8rem; left: 0; right: 0; text-align: center; }
.lb-caption .room { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--white); }
.lb-caption .project { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--burnt-orange-light); margin-top: 0.2rem; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── FORMS ── */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(250,248,244,0.45); margin-bottom: 0.45rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(201,168,76,0.18);
  color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  padding: 0.75rem 0.9rem; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(250,248,244,0.28); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); background: rgba(255,255,255,0.09); }
.form-group select option { background: var(--navy); }
.form-group textarea { height: 90px; resize: none; }
.form-submit { width: 100%; background: var(--gold); color: var(--navy); border: none; font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 1rem; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.form-submit:hover { background: var(--gold-l); transform: translateY(-1px); }
.form-note { font-size: 0.7rem; color: rgba(250,248,244,0.28); text-align: center; margin-top: 0.8rem; }

/* ── GALLERY GRID ── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-item { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--navy); }
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,35,64,0.85) 0%, transparent 55%); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 1.2rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label .room { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--white); display: block; }
.gallery-label .project { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--burnt-orange-light); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
}
@media (max-width: 560px) {
  section { padding: 4rem 5%; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 1.5rem; }
}

/* ── LOGO ── */
.nav-logo-img { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img img {
  display: none;
}
.nav-logo-img:hover img { opacity: 0.85; }
.footer-logo-img { display: inline-block; }
.footer-logo-img img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

/* ── BRAND LOGO: Creative Living Staging (V2.4.1) ──
   Header keeps its original height; the full-size badge hangs below the bar.
   Once the visitor scrolls (existing nav.scrolled class) it tucks back into the bar. */
.brand-logo { display: flex; align-items: center; flex-shrink: 0; line-height: 0; text-decoration: none; }
.brand-logo img { display: block; width: auto; }
nav .brand-logo { position: relative; width: 164px; height: 54px; }
nav .brand-logo img { position: absolute; top: 0; left: 0; height: 162px; transition: height 0.3s ease; }
nav.scrolled .brand-logo img { height: 54px; }
.footer-brand .brand-logo { display: inline-flex; margin-bottom: 0.5rem; }
.footer-brand .brand-logo img { height: 88px; }
.page-hero { padding-top: 13rem; }   /* inner-page heading clears the hanging badge */
section.hero { padding-top: 12.5rem; }   /* Home hero text clears the hanging badge */
@media (max-width: 900px) {
  nav .brand-logo { width: 89px; height: 46px; }
  nav .brand-logo img { height: 88px; }
  nav.scrolled .brand-logo img { height: 46px; }
  .page-hero { padding-top: 10rem; }
}
