/* ========================================
   GILD — Premium Exterior Contracting
   Brand: Dark, warm, architectural
   ======================================== */

:root {
  --bg: #0e0d0b;
  --bg-surface: #171610;
  --bg-card: #1e1c17;
  --fg: #f0ebe0;
  --fg-muted: #8a8278;
  --accent: #c49a3c;
  --accent-dim: rgba(196, 154, 60, 0.12);
  --border: rgba(240, 235, 224, 0.08);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(14, 13, 11, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner { display: flex; align-items: baseline; gap: 1.5rem; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--accent);
}
.nav-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(196,154,60,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0e0d0b 0%, #12110d 100%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  color: var(--fg);
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.hero-rule {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 2.5rem;
  opacity: 0.6;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--accent);
}
.stat-label { font-size: 0.72rem; color: var(--fg-muted); letter-spacing: 0.08em; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero-accent-line {
  position: absolute;
  right: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--accent) 40%, transparent 100%);
  opacity: 0.3;
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 7rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 700px; margin: 0 auto; }
.manifesto-label {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.manifesto-text p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.manifesto-text p:last-child { color: var(--fg-muted); font-size: 1.2rem; }

/* ---- SERVICES ---- */
.services { padding: 7rem 2rem; }
.services-inner { max-width: 1100px; margin: 0 auto; }
.services-header { margin-bottom: 4rem; }
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.services-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.3s ease;
}
.service-card:hover { background: var(--bg-surface); }
.service-card-top { display: flex; flex-direction: column; gap: 0.75rem; }
.service-icon { color: var(--accent); }
.service-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
}
.service-desc { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.6; }
.service-detail {
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ---- PROCESS ---- */
.process { padding: 7rem 2rem; background: var(--bg-surface); }
.process-inner { max-width: 900px; margin: 0 auto; }
.process-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  margin-bottom: 4rem;
  line-height: 1.2;
}
.process-steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  padding-top: 0.25rem;
}
.step-body { display: flex; flex-direction: column; gap: 0.75rem; }
.step-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
}
.step-desc { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }
.step-connector {
  width: 1px;
  height: 0;
  margin-left: 39px;
  border-left: 1px dashed var(--border);
}

/* ---- OUTCOMES ---- */
.outcomes { padding: 7rem 2rem; }
.outcomes-inner { max-width: 1100px; margin: 0 auto; }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.outcome {
  background: var(--bg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.outcome-icon { color: var(--accent); }
.outcome-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
}
.outcome-desc { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

/* ---- CLOSING ---- */
.closing {
  padding: 8rem 2rem 6rem;
  background: var(--bg-surface);
  text-align: center;
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 600px; margin: 0 auto; }
.closing-ornament { color: var(--accent); margin-bottom: 2.5rem; display: flex; justify-content: center; }
.closing-statement {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.closing-sub { font-size: 0.8rem; color: var(--fg-muted); letter-spacing: 0.08em; }

/* ---- FOOTER ---- */
.footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { margin-bottom: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--accent);
}
.footer-tagline { font-size: 0.8rem; color: var(--fg-muted); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-copy, .footer-slug { font-size: 0.72rem; color: var(--fg-muted); letter-spacing: 0.06em; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero { padding: 7rem 1.5rem 3rem; }
  .hero-headline { font-size: 2.8rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 50px 1fr; gap: 1rem; }
  .step-number { font-size: 2rem; }
  .manifesto { padding: 5rem 1.5rem; }
  .manifesto-text p { font-size: 1.25rem; }
  .services, .process, .outcomes { padding: 5rem 1.5rem; }
  .closing { padding: 5rem 1.5rem 4rem; }
  .closing-statement { font-size: 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .nav { padding: 1rem 1.5rem; }
  .nav-tagline { display: none; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 1.25rem; }
  .stat-number { font-size: 1.4rem; }
}