/* ==========================================================================
   Carbonless Builder TX — Coming Soon
   Design system: matches Visten Construction Group (dark bg, gold accent)
   ========================================================================== */

:root {
  --bg:            #0A0D14;   /* deep navy-black */
  --bg-2:          #0E1220;
  --bg-3:          #141827;
  --line:          #24283A;
  --gold:          #C69C5C;
  --gold-2:        #B08849;
  --warm:          #F5F0E8;
  --warm-mute:     #C9C3B7;
  --text:          #E8E4DA;
  --text-dim:      #A6A398;
  --text-mute:     #74716B;

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans:  "Inter", system-ui, -apple-system, sans-serif;

  --shadow-lg: 0 20px 60px -20px rgba(0,0,0,0.7);
  --shadow-gold: 0 12px 40px -12px rgba(198,156,92,0.35);

  --radius: 4px;
  --radius-lg: 6px;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color 200ms ease, opacity 200ms ease; }
a:hover { color: var(--gold); }

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

/* ---- Type ---- */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  color: var(--warm);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6.5vw, 5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p  { color: var(--text); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.accent { color: var(--gold); font-style: italic; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--warm-mute);
  max-width: 640px;
  line-height: 1.55;
  margin-top: 24px;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: #0A0D14;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--gold-2); color: #0A0D14; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--warm);
  border-color: rgba(245,240,232,0.25);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-full { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(10,13,20,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform 300ms ease;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 14px; color: var(--warm); }
.brand:hover { color: var(--gold); }
.brand-logo { width: 44px; height: 40px; color: var(--gold); }
.brand-logo-lg { width: 68px; height: 62px; }

.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--warm);
}
.brand-locale {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  color: var(--gold);
  margin-top: 4px;
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 200ms ease, color 200ms ease;
}
.nav-cta:hover { background: var(--gold); color: #0A0D14; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 200px 0 140px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 20% 30%, rgba(198,156,92,0.10), transparent 60%),
    radial-gradient(900px 500px at 85% 70%, rgba(198,156,92,0.06), transparent 60%),
    linear-gradient(180deg, #0A0D14 0%, #0E1220 100%);
  z-index: -1;
}
.hero h1 { max-width: 900px; }
.hero-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: 120px 0;
  position: relative;
}
.section h2 { max-width: 800px; margin-bottom: 16px; }

/* ---- Panels ---- */

.panels { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.panel-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 300ms ease, border-color 300ms ease;
}
.panel-card:hover { transform: translateY(-4px); border-color: rgba(198,156,92,0.35); }

.panel-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: #1a1e2e;
  border-bottom: 1px solid var(--line);
}
.panel-img-svg { padding: 20px; display: flex; align-items: center; justify-content: center; }
.panel-img-svg img { width: 100%; height: 100%; object-fit: contain; }

.panel-body { padding: 36px; }
.panel-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.panel-body h3 { margin-bottom: 14px; }
.panel-body p  { color: var(--text-dim); margin-bottom: 24px; }

.specs { list-style: none; }
.specs li {
  color: var(--warm-mute);
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  position: relative;
  padding-left: 24px;
}
.specs li:first-child { border-top: none; }
.specs li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 12px; height: 1px;
  background: var(--gold);
}

/* ---- Who ---- */

.who h2 { margin-bottom: 60px; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.who-card {
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  transition: border-color 300ms ease;
}
.who-card:hover { border-color: rgba(198,156,92,0.35); }
.who-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 300;
}
.who-card h3 { margin-bottom: 10px; }
.who-card p  { color: var(--text-dim); }

/* ---- Why (parallax-ish bg) ---- */

.why {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.why-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,20,0.92) 0%, rgba(10,13,20,0.88) 100%);
}
.why-inner { position: relative; }
.why h2 { color: var(--warm); margin-bottom: 60px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-item {
  padding: 32px 24px;
  background: rgba(20,24,39,0.6);
  border: 1px solid rgba(198,156,92,0.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
}
.why-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 400;
}
.why-item h4 { margin-bottom: 8px; color: var(--warm); }
.why-item p  { color: var(--warm-mute); font-size: 0.95rem; line-height: 1.5; }

/* ---- Notify ---- */

.notify { background: var(--bg-2); border-top: 1px solid var(--line); }
.notify-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.notify-copy h2 { margin-bottom: 24px; }
.notify-sub { color: var(--text-dim); max-width: 480px; }

.notify-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 40px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.notify-form label { display: flex; flex-direction: column; gap: 8px; }
.notify-form label.full { grid-column: span 2; }
.notify-form label span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.notify-form input,
.notify-form select,
.notify-form textarea {
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--warm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 200ms ease;
  width: 100%;
  resize: vertical;
}
.notify-form input:focus,
.notify-form select:focus,
.notify-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.notify-form button { grid-column: span 2; margin-top: 8px; }
.notify-fine {
  grid-column: span 2;
  font-size: 0.8rem;
  color: var(--text-mute);
  text-align: center;
  margin: 0;
}

/* ---- Sibling ---- */

.sibling { background: var(--bg); }
.sibling-inner {
  padding: 60px;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}
.sibling-inner h3 { margin: 12px 0; }
.sibling-inner p  { color: var(--text-dim); max-width: 520px; }
.sibling-inner strong { color: var(--warm); font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
  color: var(--text-dim);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.footer-brand { color: var(--gold); }
.footer-brand .brand-logo-lg { margin-bottom: 20px; }
.footer-tag {
  font-family: var(--font-serif);
  color: var(--warm);
  font-size: 1.15rem;
  line-height: 1.4;
}
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { color: var(--warm); font-size: 1rem; }
.footer-contact a:hover { color: var(--gold); }
.footer-addr { color: var(--text-dim); font-size: 0.9rem; margin-top: 8px; line-height: 1.5; }

.footer-sibling .eyebrow { margin-bottom: 12px; }
.footer-sibling a {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--warm);
}
.footer-sibling a:hover { color: var(--gold); }

.footer-base {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-mute);
  text-align: center;
}

/* ==========================================================================
   Reveal Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .header-inner { padding: 14px 24px; }
  .brand-name { font-size: 0.82rem; letter-spacing: 0.10em; }
  .brand-locale { font-size: 0.56rem; }

  .hero { padding: 160px 0 100px; }
  .section { padding: 80px 0; }

  .panel-grid { grid-template-columns: 1fr; }
  .panel-body { padding: 28px; }

  .who-grid { grid-template-columns: 1fr; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why { background-attachment: scroll; }

  .notify-inner { grid-template-columns: 1fr; gap: 40px; }
  .notify-form { grid-template-columns: 1fr; padding: 28px; }
  .notify-form label.full,
  .notify-form button,
  .notify-fine { grid-column: 1; }

  .sibling-inner { grid-template-columns: 1fr; padding: 40px; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 540px) {
  .brand-word { display: none; }
  .hero h1 { line-height: 1.05; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
  .why-grid { grid-template-columns: 1fr; }
}
