/* =========================================
   MVP CONSTRUCTION & HOMES INC
   Simplified Luxury — Construction Forward
   ========================================= */

/* --- TOKENS --- */
:root {
  --cream:      #faf8f4;
  --bone:       #f2ede4;
  --sand:       #e4ddd0;
  --stone:      #c8bba8;
  --warm-mid:   #8b7355;
  --accent:     #c4a882;
  --charcoal:   #1c1a16;
  --dark:       #141210;
  --text:       #2a2620;
  --text-light: #6b6056;
  --white:      #ffffff;

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'DM Sans', system-ui, sans-serif;

  --max-w: 1200px;
  --nav-h: 72px;
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); background: var(--cream); color: var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; }
.logo-dark-img  { display: none; }
.logo-light-img { display: block; }

.nav.scrolled {
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav.scrolled .logo-dark-img  { display: block; }
.nav.scrolled .logo-light-img { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a { color: var(--text-light); }
.nav.scrolled .nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 9px 22px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 2px;
  color: var(--white) !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta:hover { background: var(--white) !important; color: var(--charcoal) !important; }
.nav.scrolled .nav-cta {
  border-color: var(--charcoal) !important;
  color: var(--charcoal) !important;
  background: transparent;
}
.nav.scrolled .nav-cta:hover { background: var(--charcoal) !important; color: var(--white) !important; }

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

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--cream);
  padding: 20px 40px 28px;
  border-top: 1px solid var(--sand);
}
.nav-mobile a {
  padding: 12px 0;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--sand);
}
.nav-mobile.open { display: flex; }

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(14, 12, 10, 0.82) 0%,
    rgba(14, 12, 10, 0.55) 55%,
    rgba(14, 12, 10, 0.20) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

/* MVP ACRONYM TAG */
.mvp-tag {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}
.mvp-row {
  display: flex;
  align-items: baseline;
  line-height: 1;
}
.mvp-letter {
  font-family: var(--serif);
  font-size: clamp(72px, 10vw, 130px);
  font-weight: 300;
  color: var(--white);
  line-height: 0.9;
  width: clamp(52px, 7.5vw, 100px);
  flex-shrink: 0;
}
.mvp-word {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  line-height: 0.9;
  padding-bottom: 4px;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  max-width: 420px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--warm-mid); color: var(--white); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn-full { width: 100%; text-align: center; }

/* --- CREDENTIALS STRIP --- */
.cred-strip {
  background: var(--charcoal);
  padding: 0;
  overflow: hidden;
}
.cred-inner {
  display: flex;
  align-items: stretch;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.cred-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 0;
  flex: 1;
}
.cred-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: 16px 40px;
  flex-shrink: 0;
}
.cred-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.cred-value {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.03em;
}

/* --- SHARED LAYOUT --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-mid);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 18px;
}
.section-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- SERVICES --- */
.services {
  padding: 120px 0;
  background: var(--charcoal);
}
.services .section-tag { color: var(--accent); }
.services .section-title { color: var(--white); }
.services .section-sub { color: rgba(255,255,255,0.5); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.service-card {
  background: var(--charcoal);
  padding: 40px 36px;
  transition: background 0.3s;
}
.service-card:hover { background: #242018; }
.service-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}
.service-card p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  display: block;
}

/* --- GALLERY --- */
.gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 480px;
  gap: 4px;
  margin-top: 64px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* --- WHY MVP --- */
.why {
  padding: 120px 0;
  background: var(--bone);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 720px;
}
.why-text .section-title { text-align: left; }
.why-body {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 36px;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: var(--accent);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50%;
  margin-top: 2px;
}
.why-list li div {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.6;
}
.why-list strong {
  font-weight: 500;
  color: var(--text);
}
/* why-image removed */

/* --- PROCESS --- */
.process {
  padding: 120px 0;
  background: var(--cream);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 0;
}
.process-step {
  background: var(--bone);
  padding: 48px 32px;
  position: relative;
}
.step-num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1;
  margin-bottom: 24px;
}
.step-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.step-body p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.65;
}

/* --- AREAS --- */
.areas {
  padding: 100px 0;
  background: var(--charcoal);
}
.areas .section-tag { color: var(--accent); }
.areas .section-title { color: var(--white); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
}
.area-item {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  padding: 36px 32px;
  background: var(--charcoal);
  transition: background 0.25s, color 0.25s;
  cursor: default;
}
.area-item:hover { background: #242018; color: var(--accent); }

/* --- CONTACT --- */
.contact {
  padding: 120px 0;
  background: var(--bone);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-title { text-align: left; }
.contact-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-lbl {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-mid);
}
.contact-line a, .contact-line span {
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
}
.contact-line a:hover { color: var(--warm-mid); }

/* FORM */
.contact-form {
  background: var(--cream);
  padding: 48px 40px;
  border: 1px solid var(--sand);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-row .form-group { margin-bottom: 0; }
.form-group label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--sand);
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--warm-mid); }
.form-group textarea { resize: vertical; }
.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 14px;
}

/* --- FOOTER --- */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { margin-bottom: 16px; }
.footer-tagline {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer-rbq {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.footer-social a {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-social a:hover { color: var(--accent); }
.social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--warm-mid);
  transition: color 0.2s;
}
.social-link:hover { color: var(--text); }
.footer-col h4 {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding: 22px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }


  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item { height: 340px; }
  .gallery-wide { grid-column: 1 / -1; height: 400px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { padding: 16px 24px 24px; }

  .hero-content { padding: 0 24px; }
  .container { padding: 0 24px; }
  .cred-inner {
    flex-wrap: wrap;
    gap: 0;
    padding: 0 24px;
  }
  .cred-item { flex: 0 0 50%; padding: 16px 0; }
  .cred-divider { display: none; }

  .services { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 24px; }

  .gallery { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: auto; }
  .gallery-item, .gallery-wide { height: 280px; }

  .why { padding: 80px 0; }


  .process { padding: 80px 0; }
  .process-steps { grid-template-columns: 1fr; }

  .areas { padding: 80px 0; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .area-item { font-size: 20px; padding: 24px 20px; }

  .contact { padding: 80px 0; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { padding: 20px 24px; }

  .section-title { font-size: 32px; }
  .mvp-letter { font-size: clamp(52px, 14vw, 64px); width: clamp(40px, 10vw, 48px); }
  .mvp-word { font-size: clamp(28px, 8vw, 34px); }
  .hero { min-height: 100svh; }
  .footer-logo { height: 36px; width: auto; }
}
