@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Syne:wght@400;500;600;700&display=swap');

:root {
  /* Construction-premium: deep navy, warm charcoal, gold */
  --bg-deep:   #0e1117;
  --bg-mid:    #141922;
  --bg-card:   #1a2030;
  --bg-warm:   #111318;
  --fg:        #e8e4d9;
  --fg-muted:  #8a8880;
  --fg-dim:    #5a5855;
  --gold:      #c9a84c;
  --gold-light: #e2bf6e;
  --gold-glow: rgba(201, 168, 76, 0.12);
  --gold-glow-strong: rgba(201, 168, 76, 0.2);
  --surface:   rgba(255, 255, 255, 0.04);
  --border:    rgba(255, 255, 255, 0.07);
  --border-gold: rgba(201, 168, 76, 0.18);

  --font-display: 'Playfair Display', serif;
  --font-body:    'Syne', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  /* Subtle noise texture via CSS — premium feel */
  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)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ─────────────────────────── NAV ─────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(14, 17, 23, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--fg);
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-style: normal;
}

/* "Line" part highlighted in gold via <em> */
.nav-brand-text em {
  font-style: normal;
  color: var(--gold);
}

/* Legacy span fallback in footer */
.nav-brand span,
.footer-brand span {
  color: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: var(--gold);
  color: #0e1117;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ─────────────────────────── HERO ─────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem 2rem 6rem;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: fixed;
  top: 0; right: 0;
  width: 55vw;
  height: 100vh;
  background: linear-gradient(135deg, transparent 40%, rgba(201, 168, 76, 0.04) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Blueprint grid overlay — construction aesthetic */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: -2rem; right: -2rem; bottom: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 20%, rgba(0,0,0,0.4) 70%, transparent 100%);
  z-index: 0;
}

.hero-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin-bottom: 1.75rem;
  color: var(--fg);
}

.hero h1 .gold {
  color: var(--gold);
}

.hero h1 .rule {
  display: block;
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  font-family: var(--font-body);
  margin-top: 0.3em;
}

.hero-lede {
  position: relative;
  z-index: 1;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: #0e1117;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow-strong);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: color 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  color: var(--fg);
  border-color: var(--border-gold);
}

.hero-proof-bar {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.proof-stat .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.proof-stat .label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
}

/* ─────────────────────────── SECTION BASE ─────────────────────────── */
section { padding: 6rem 2rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.75;
}

/* ─────────────────────────── SERVICES ─────────────────────────── */
.services {
  background: var(--bg-mid);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.25s;
}

.service-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::before {
  opacity: 1;
}

/* Wide card spans full width */
.service-card.wide {
  grid-column: span 2;
}

.service-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(201, 168, 76, 0.08);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ─────────────────────────── ABOUT ─────────────────────────── */
.about { background: var(--bg-deep); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-sidebar {
  position: relative;
}

.about-name-plate {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}

.about-name-plate::before {
  content: '';
  position: absolute;
  top: -1px; left: 2rem;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.about-avatar {
  width: 64px;
  height: 64px;
  background: var(--gold-glow);
  border: 2px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.about-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.about-title {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.about-credentials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.about-credentials li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.about-credentials li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  font-size: 0.65rem;
  color: var(--gold);
  flex-shrink: 0;
}

.about-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.about-body h2 .gold { color: var(--gold); }

.about-body p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-tagline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1.75rem;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--fg-muted);
}

/* ─────────────────────────── SOCIAL PROOF ─────────────────────────── */
.social-proof {
  background: var(--bg-mid);
  position: relative;
  overflow: hidden;
}

.social-proof::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.3s;
}

.testimonial-card:hover {
  border-color: var(--border-gold);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  color: var(--gold);
  font-size: 0.9rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testimonial-author .name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--fg);
  margin-bottom: 0.15rem;
}

.testimonial-author .meta {
  font-size: 0.78rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.social-proof-notice {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--fg-dim);
  font-style: italic;
}

/* ─────────────────────────── INTAKE FORM ─────────────────────────── */
.intake {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.intake::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%);
  pointer-events: none;
}

.intake-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.intake-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.intake-copy h2 .gold { color: var(--gold); }

.intake-copy p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.pricing-pills {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.pricing-pill .pill-label { color: var(--fg-muted); }
.pricing-pill .pill-price {
  font-family: var(--font-display);
  color: var(--gold);
  font-weight: 700;
}

/* Form */
.intake-form {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  position: relative;
  z-index: 1;
}

.intake-form::before {
  content: '';
  position: absolute;
  top: -1px; left: 2rem;
  width: 60px;
  height: 2px;
  background: var(--gold);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group.full { grid-column: span 2; }

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--fg-dim);
}

.form-group select {
  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='%238a8880' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: #0e1117;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow-strong);
}

.form-fine-print {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--fg-dim);
  text-align: center;
}

/* Success / Error messages */
.form-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

/* ─────────────────────────── CLOSING CTA ─────────────────────────── */
.closing {
  text-align: center;
  padding: 8rem 2rem;
  background: var(--bg-mid);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%);
  pointer-events: none;
}

.closing::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.closing h2 .gold { color: var(--gold); }

.closing p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.closing .btn-primary {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

/* ─────────────────────────── FOOTER ─────────────────────────── */
footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-brand span { color: var(--gold); }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-note {
  font-size: 0.78rem;
  color: var(--fg-dim);
}

/* ─────────────────────────── SCROLL ANIMATIONS ─────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card.wide { grid-column: span 1; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .intake-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-proof-bar { flex-wrap: wrap; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .hero { align-items: center; text-align: center; padding: 7rem 1.5rem 5rem; }
  .hero h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .hero-eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-proof-bar { justify-content: center; }
  .about-inner { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .footer-inner { flex-direction: column; gap: 1.25rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  section { padding: 4rem 1.5rem; }
  nav { padding: 1rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .intake-form { padding: 1.75rem 1.5rem; }
}
