/* ============================================
   FAISON DRYWALL SPECIALISTS — DESIGN TOKENS
   ============================================ */
:root {
  --black: #12100D;
  --charcoal: #1E1A16;
  --charcoal-2: #262019;
  --gold-light: #F0D9A8;
  --gold: #C9974E;
  --gold-deep: #8C6220;
  --cream: #F7F1E6;
  --paper: #FBF8F2;
  --ink: #2A241C;
  --ink-soft: #55493A;
  --clay: #A6472B;
  --clay-dark: #7E3520;
  --line: rgba(201, 151, 78, 0.25);

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Lora', serif;
  --font-script: 'Caveat', cursive;

  --radius: 4px;
  --container: 1180px;
  --gold-gradient: linear-gradient(120deg, #F0D9A8 0%, #C9974E 45%, #8C6220 100%);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 600;
  line-height: 1.1;
  color: var(--black);
}

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold-deep);
}

.script {
  font-family: var(--font-script);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-gold {
  background: var(--gold-gradient);
  color: var(--black);
  box-shadow: 0 8px 24px -8px rgba(140, 98, 32, 0.6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(140, 98, 32, 0.75); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 241, 230, 0.45);
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-clay {
  background: var(--clay);
  color: var(--cream);
  box-shadow: 0 8px 24px -10px rgba(166, 71, 43, 0.6);
}
.btn-clay:hover { transform: translateY(-2px); background: var(--clay-dark); }
.btn-block { width: 100%; justify-content: center; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(18, 16, 13, 0.94);
  backdrop-filter: blur(8px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 44px; width: auto; }
.nav-brand-text { font-family: var(--font-display); color: var(--cream); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; }
.nav-brand-text span { display: block; font-family: var(--font-script); text-transform: none; color: var(--gold-light); font-size: 0.95rem; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width 0.25s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { color: var(--gold-light); font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.05em; display: none; }
.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.6rem; cursor: pointer; }

@media (min-width: 860px) { .nav-phone { display: inline-block; } }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 80vw);
    background: var(--black); flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 40px; gap: 28px; transform: translateX(100%); transition: transform 0.35s ease; box-shadow: -12px 0 40px rgba(0,0,0,0.4); }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; z-index: 110; }
  .nav-cta .btn-gold { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--cream);
  overflow: hidden;
  padding-top: 90px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 78% 18%, rgba(201,151,78,0.16), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(166,71,43,0.14), transparent 60%),
    var(--black);
}
.hero-lines {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.hero-eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero-eyebrow-row .rule { width: 40px; height: 1px; background: var(--gold); }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  margin-bottom: 6px;
}
.hero h1 .gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold);
}
.hero-script {
  font-family: var(--font-script);
  color: var(--gold-light);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: 6px 0 22px;
}
.hero p.lede {
  font-size: 1.08rem;
  color: rgba(247,241,230,0.82);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(247,241,230,0.75); }
.hero-trust svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold); }

.hero-seal-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-photo {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18,16,13,0.75) 100%);
}
.hero-photo-cap {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.78rem; color: var(--gold-light);
}
.hero-photo-cap span { display: block; font-family: var(--font-body); text-transform: none; letter-spacing: 0; color: rgba(247,241,230,0.75); font-size: 0.85rem; margin-top: 3px; }

.seal {
  position: absolute;
  width: 128px; height: 128px;
  top: -28px; right: -28px;
  z-index: 3;
}
.seal-ring { width: 100%; height: 100%; display: block; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.seal-core {
  position: absolute; inset: 0; margin: auto;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--black); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.seal-core img { width: 34px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .hero-seal-wrap { order: -1; margin-bottom: 10px; }
  .hero-photo { max-width: 280px; margin: 0 auto; }
  .seal { width: 96px; height: 96px; top: -14px; right: -12px; }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trustbar { background: var(--charcoal); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.trustbar .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; }
.trustbar div { display: flex; align-items: center; gap: 10px; color: var(--cream); font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.trustbar svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }

/* ============================================
   SECTION SCAFFOLDING
   ============================================ */
.section { padding: 110px 0; }
.section-dark { background: var(--black); color: var(--cream); }
.section-charcoal { background: var(--charcoal-2); color: var(--cream); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-dark .section-head h2, .section-charcoal .section-head h2 { color: var(--cream); }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; }
.section-dark .section-head p, .section-charcoal .section-head p { color: rgba(247,241,230,0.75); }

/* ============================================
   LEGACY / ABOUT
   ============================================ */
.legacy .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.legacy-media { position: relative; }
.legacy-photo-duo { display: flex; gap: 14px; }
.legacy-photo { position: relative; flex: 1; border-radius: 6px; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 30px 50px -25px rgba(42,36,28,0.35); }
.legacy-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.legacy-photo-name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px;
  background: linear-gradient(0deg, rgba(18,16,13,0.85), transparent);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.72rem; color: var(--gold-light); pointer-events: none;
}
.legacy-photo-tag {
  position: absolute; bottom: -22px; right: -22px;
  background: var(--gold-gradient); color: var(--black);
  padding: 16px 22px; border-radius: 4px; text-align: center;
  font-family: var(--font-display); box-shadow: 0 16px 30px -14px rgba(140,98,32,0.5);
}
.legacy-photo-tag strong { display: block; font-size: 1.5rem; letter-spacing: 0; }
.legacy-photo-tag span { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }

.legacy-body p { margin-bottom: 18px; color: var(--ink-soft); font-size: 1.05rem; }
.legacy-pull {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--clay);
  margin: 28px 0;
  line-height: 1.35;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}
.legacy-sign { font-family: var(--font-script); font-size: 1.3rem; color: var(--gold-deep); margin-top: 30px; }
.legacy-sign span { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.14em; color: var(--ink-soft); margin-top: 2px; }

@media (max-width: 900px) {
  .legacy .wrap { grid-template-columns: 1fr; }
  .legacy-photo-tag { right: 14px; bottom: -18px; }
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.service-card {
  background: var(--paper); border: 1px solid rgba(42,36,28,0.09); border-radius: 6px;
  padding: 34px 28px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(42,36,28,0.25); border-color: var(--gold); }
.service-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--black);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; color: var(--gold-light); }
.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--black); }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================
   FAMILY / CREW GALLERY
   ============================================ */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}
.crew-item { position: relative; border-radius: 6px; overflow: hidden; }
.crew-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.crew-item:hover img { transform: scale(1.06); }
.crew-item.tall { grid-row: span 2; }
.crew-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px;
  background: linear-gradient(0deg, rgba(18,16,13,0.9), transparent);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.72rem; color: var(--gold-light);
}
.crew-cap span { display: block; font-family: var(--font-body); text-transform: none; letter-spacing: 0; color: rgba(247,241,230,0.8); font-size: 0.8rem; margin-top: 2px; }

@media (max-width: 900px) {
  .crew-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .crew-item.tall { grid-row: span 1; }
}

/* ============================================
   VIDEO
   ============================================ */
.video-section .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.video-frame {
  position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16/10;
  background: var(--charcoal); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--black); }
.video-placeholder { padding: 40px; color: rgba(247,241,230,0.65); }
.video-placeholder svg { width: 46px; height: 46px; color: var(--gold); margin: 0 auto 16px; }
.video-placeholder p { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }
@media (max-width: 900px) { .video-section .wrap { grid-template-columns: 1fr; } }

/* ============================================
   QUOTE FORM
   ============================================ */
.quote-section { background: var(--paper); }
.quote-panel {
  background: var(--black); color: var(--cream);
  border-radius: 10px; padding: 56px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px;
  position: relative; overflow: hidden;
}
.quote-panel::before {
  content: ""; position: absolute; top: -80px; right: -80px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(201,151,78,0.18), transparent 70%);
}
.quote-info h2 { color: var(--cream); font-size: 2rem; margin-bottom: 16px; }
.quote-info p { color: rgba(247,241,230,0.78); margin-bottom: 26px; }
.quote-contact { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.quote-contact a { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); letter-spacing: 0.04em; color: var(--gold-light); font-size: 0.95rem; }
.quote-contact svg { width: 18px; height: 18px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; z-index: 2; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; background: rgba(247,241,230,0.06); border: 1px solid rgba(247,241,230,0.2);
  border-radius: 4px; padding: 13px 14px; color: var(--cream); font-family: var(--font-body); font-size: 0.95rem;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(247,241,230,0.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(247,241,230,0.1); }
.field select option { color: var(--ink); }
.form-note { font-size: 0.82rem; color: rgba(247,241,230,0.55); margin-top: 4px; }

@media (max-width: 900px) {
  .quote-panel { grid-template-columns: 1fr; padding: 36px 24px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--charcoal); color: rgba(247,241,230,0.7); padding: 60px 0 26px; }
.footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 40px; }
.footer-brand-text { font-family: var(--font-display); color: var(--cream); text-transform: uppercase; font-size: 0.85rem; }
.footer-brand-text span { display: block; font-family: var(--font-script); text-transform: none; color: var(--gold-light); font-size: 0.9rem; }
.footer p { font-size: 0.9rem; max-width: 34ch; }
.footer h4 { color: var(--cream); font-size: 0.78rem; letter-spacing: 0.12em; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer ul a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(247,241,230,0.12); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.78rem; }

@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr; } }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--black); color: var(--gold-light); border: 1px solid var(--gold);
  padding: 14px 26px; border-radius: 6px; font-family: var(--font-display);
  font-size: 0.85rem; letter-spacing: 0.05em; z-index: 200; transition: transform 0.4s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(18, 16, 13, 0.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  animation: fadeIn 0.25s ease;
}
.lightbox.open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: 90vw; max-height: 88vh;
  width: auto; height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  cursor: default;
}
.lightbox-close {
  position: absolute; top: 22px; right: 28px;
  background: transparent; border: 1px solid rgba(247,241,230,0.4);
  color: var(--cream); width: 42px; height: 42px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold-light); }
.lightbox-img { transition: opacity 0.2s ease; }
