/* ============================================
   RES CABINETRY — COMPLETE STYLESHEET
============================================ */
:root {
  --black: #0a0a0a;
  --black-soft: #111111;
  --black-mid: #1a1a1a;
  --black-light: #242424;
  --white: #ffffff;
  --cream: #f5f0e8;
  --gold: #c9a96e;
  --gold-light: #e8c98a;
  --gray-mid: #666666;
  --gray-light: #999999;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
  --nav-h: 80px;
  --section-pad: 110px;
  --container: 1240px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--black); color: var(--white); overflow-x: hidden; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), border-bottom 0.4s;
}
.nav.scrolled {
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid rgba(201,169,110,0.15);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 32px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

/* LOGO */
.nav-logo { display: inline-flex; align-items: flex-start; text-decoration: none; }
.logo-box {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  border: 1.5px solid var(--white);
  padding: 8px 14px 7px;
}
.logo-res { font-family: var(--font-display); font-size: 20px; font-weight: 400; letter-spacing: 0.08em; line-height: 1; }
.logo-cab { font-family: var(--font-body); font-size: 6px; font-weight: 500; letter-spacing: 0.35em; text-transform: uppercase; margin-top: 3px; }
.logo-box.small .logo-res { font-size: 20px; }
.logo-box.small .logo-cab { font-size: 6px; letter-spacing: 0.32em; }
.logo-box.small { padding: 6px 11px 5px; }

.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--gold); }
.nav-cta { padding: 10px 24px; border: 1px solid var(--gold); color: var(--gold) !important; opacity: 1 !important; transition: background 0.2s, color 0.2s !important; }
.nav-cta:hover { background: var(--gold) !important; color: var(--black) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: all 0.3s; }

/* BUTTONS */
.btn { display: inline-block; padding: 16px 40px; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; transition: all 0.25s var(--ease); cursor: pointer; border: none; }
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--cream); }
.full-width { width: 100%; text-align: center; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, #0a0a0a 0%, #1a1208 40%, #0d0d0d 100%); }
.hero-grain { position: absolute; inset: 0; opacity: 0.04; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); background-size: 200px; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 50%, rgba(201,169,110,0.06) 0%, transparent 70%); }

/* VIDEO REEL SECTION */
.video-reel { padding: var(--section-pad) 0; background: var(--black-soft); }
.video-reel-header { text-align: center; margin-bottom: 48px; }
.video-reel-wrap {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,169,110,0.15);
  aspect-ratio: 16 / 9;
}
.video-reel-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (max-width: 768px) {
  .video-reel-wrap {
    width: 88%;
    max-width: 88%;
    aspect-ratio: unset;
    height: 210px;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  }
  .video-reel-wrap video {
    width: 100%;
    height: 210px;
    object-fit: cover;
  }
}
.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 0 32px; text-align: center; animation: fadeUp 1.2s var(--ease) both; }
.hero-eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.hero-title { font-family: var(--font-display); font-size: clamp(56px, 9vw, 120px); font-weight: 300; line-height: 0.95; letter-spacing: -0.01em; margin-bottom: 32px; }
.hero-title .line { display: block; }
.hero-title .italic { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 48px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; max-width: 700px; margin: 0 auto; }

/* BAND */
.band { background: var(--gold); }
.band-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: stretch; }
.band-item { flex: 1; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.band-num { font-family: var(--font-display); font-size: 42px; font-weight: 300; color: var(--black); line-height: 1; }
.band-label { font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(0,0,0,0.6); }
.band-divider { width: 1px; background: rgba(0,0,0,0.15); margin: 20px 0; }

/* CTA BAND */
.cta-band { padding: 80px 0; background: var(--gold); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { font-family: var(--font-display); font-size: 42px; font-weight: 300; color: var(--black); }
.cta-inner p { font-size: 14px; color: rgba(0,0,0,0.6); margin-top: 8px; }

/* SECTION HEADERS */
.section-eyebrow { font-size: 9px; font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-size: clamp(38px, 5vw, 64px); font-weight: 300; line-height: 1.05; letter-spacing: -0.01em; }
.section-title em { font-style: italic; color: var(--gold); }

/* PAGE HERO */
.page-hero { padding: calc(var(--nav-h) + 80px) 32px 80px; max-width: var(--container); margin: 0 auto; text-align: center; background: var(--black-soft); }
.page-hero .section-eyebrow { margin-bottom: 16px; }
.page-hero .section-title { margin-bottom: 20px; }
.page-hero-sub { font-size: 15px; color: rgba(255,255,255,0.5); max-width: 520px; margin: 0 auto; line-height: 1.8; font-weight: 300; }
.thankyou-hero { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* GALLERY */
.gallery-page { background: var(--black); padding-bottom: var(--section-pad); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 4px; margin: 0 0 40px; }
.gallery-item { position: relative; overflow: hidden; background: var(--black-light); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-cta { text-align: center; padding: 80px 32px 0; }
.gallery-cta p { font-family: var(--font-display); font-style: italic; font-size: 22px; color: rgba(255,255,255,0.5); margin-bottom: 28px; }

/* PROCESS */
.process.standalone { padding: var(--section-pad) 0; background: var(--black); }
.process-steps { display: flex; flex-direction: column; max-width: 860px; margin: 0 auto; }
.process-step { display: flex; gap: 48px; align-items: flex-start; padding: 40px 0; }
.process-connector { height: 1px; background: linear-gradient(90deg, var(--gold) 0%, transparent 100%); opacity: 0.2; }
.step-num { font-family: var(--font-display); font-size: 56px; font-weight: 300; color: var(--gold); opacity: 0.2; line-height: 1; min-width: 80px; transition: opacity 0.3s; }
.process-step:hover .step-num { opacity: 0.6; }
.step-content h3 { font-family: var(--font-display); font-size: 26px; font-weight: 400; margin-bottom: 12px; margin-top: 8px; }
.step-content p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; }
.process-cta { text-align: center; margin-top: 64px; }

/* ABOUT */
.about.standalone { padding: var(--section-pad) 0; background: var(--black); }
.about-text-only { max-width: 760px; margin: 0 auto; }
.about-text-only p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.9; margin-bottom: 20px; }
.about-list { list-style: none; margin: 32px 0; display: flex; flex-direction: column; gap: 12px; }
.about-list li { font-size: 13px; color: rgba(255,255,255,0.7); letter-spacing: 0.03em; }
.about-text-only .btn { margin-top: 8px; }

/* CONTACT */
.contact.standalone { padding: var(--section-pad) 0; background: var(--black-soft); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info > p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 48px; }
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail { display: flex; gap: 20px; }
.detail-icon { font-size: 20px; margin-top: 2px; }
.contact-detail strong { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-detail a, .contact-detail span { font-size: 14px; color: rgba(255,255,255,0.65); display: block; }
.contact-detail a:hover { color: var(--gold); }
.detail-note { font-size: 10px !important; color: rgba(255,255,255,0.25) !important; font-style: italic; }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.form-group input, .form-group select, .form-group textarea { background: var(--black-mid); border: 1px solid rgba(255,255,255,0.08); color: var(--white); padding: 14px 18px; font-size: 14px; outline: none; transition: border-color 0.2s; border-radius: 0; appearance: none; width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a96e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-group select option { background: var(--black-mid); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 11px; text-align: center; color: rgba(255,255,255,0.3); }

/* FOOTER */
.footer { background: var(--black); padding: 80px 0 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; padding-bottom: 60px; }
.footer-brand .logo-box { margin-bottom: 24px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 260px; }
.footer-links h4, .footer-contact h4 { font-size: 9px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 12px; }
.footer-contact a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-links a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 11px; color: rgba(255,255,255,0.4); transition: border-color 0.2s, color 0.2s; text-transform: uppercase; }
.social-links a:hover { border-color: var(--gold); color: var(--gold); }
.social-links a svg { width: 15px; height: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.2); letter-spacing: 0.06em; }

/* INSTAGRAM CTA */
.instagram-cta { padding: var(--section-pad) 0; background: var(--black); border-top: 1px solid rgba(255,255,255,0.05); }
.instagram-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.instagram-text p:not(.section-eyebrow) { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 16px; max-width: 420px; line-height: 1.8; }
.instagram-text .section-title { margin-top: 8px; }
.instagram-btn {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--white); text-decoration: none;
  border: 1px solid rgba(201,169,110,0.3);
  padding: 40px 56px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.instagram-btn:hover { border-color: var(--gold); background: rgba(201,169,110,0.05); transform: translateY(-3px); }
.instagram-btn svg { width: 52px; height: 52px; color: var(--gold); }
.instagram-btn span { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .instagram-cta-inner { flex-direction: column; text-align: center; }
  .instagram-text p:not(.section-eyebrow) { margin: 16px auto 0; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

/* MOBILE NAV */
@media (max-width: 768px) {
  :root { --section-pad: 80px; --nav-h: 70px; }
  .nav-inner { overflow: visible; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    padding: 32px; flex-direction: column; gap: 28px; align-items: flex-start;
    transform: translateY(-110%); transition: transform 0.3s var(--ease);
    border-bottom: 1px solid rgba(201,169,110,0.15);
    z-index: 99; visibility: hidden; pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; pointer-events: auto; }
  .nav-cta { padding: 8px 16px; font-size: 10px; white-space: nowrap; }
  .hamburger { display: flex; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 2; }
  .contact-inner { grid-template-columns: 1fr; gap: 60px; }
  .band-inner { flex-wrap: wrap; }
  .band-item { min-width: 50%; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .process-step { flex-direction: column; gap: 16px; }
  .step-num { font-size: 40px; }
  .hero-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 52px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
}

/* MOBILE LOGO FIX */
@media (max-width: 768px) {
  .logo-box { padding: 5px 9px 4px; border-width: 1px; }
  .logo-res { font-size: 16px; }
  .logo-cab { font-size: 5px; letter-spacing: 0.28em; margin-top: 2px; }
}
