/* High Point Outdoor Lighting — design system */
/* Brand: dark luxury · Cormorant Garamond + Inter · gold accent */

:root {
  --bg-base: #0B0F1A;
  --bg-secondary: #141925;
  --bg-surface: #1F2433;
  --bg-elevated: #2A3041;
  --text-primary: #F2EAD8;
  --text-muted: #A8A496;
  --text-dim: #6B6F7A;
  --gold: #C9A961;
  --gold-light: #E0C896;
  --gold-dark: #9B7F3F;
  --border: #2F3548;
  --border-strong: #4A5066;
  --success: #8FBC8F;
  --max-width: 1240px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 400; margin-bottom: 1rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; margin-bottom: 0.6rem; }
h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }

p { color: var(--text-primary); margin-bottom: 1rem; }
p.muted { color: var(--text-muted); }

a { color: var(--gold); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold-light); }

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

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.brand .mark {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand .mark svg { width: 100%; height: 100%; }
.brand span.brand-line { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
}
.nav-links .cta {
  background: var(--gold);
  color: var(--bg-base);
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
}
.nav-links .cta:hover {
  background: var(--gold-light);
  color: var(--bg-base);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 80px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(201, 169, 97, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-secondary) 100%);
  z-index: 0;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('./images/hero-dusk.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  z-index: 1;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 26, 0.4) 0%, var(--bg-base) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero h1 {
  margin-bottom: 1.5rem;
}
.hero .lede {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.5;
}
.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-transform: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg-base) !important;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary) !important;
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ===== Trust strip ===== */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.trust-strip .trust-item {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-strip .trust-item::before {
  content: '★';
  color: var(--gold);
}

/* ===== Sections ===== */
.section {
  padding: 96px 0;
  position: relative;
}
.section-alt { background: var(--bg-secondary); }
.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-header { max-width: 720px; margin-bottom: 64px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Grid ===== */
.grid {
  display: grid;
  gap: 32px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Card ===== */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: all 0.25s ease;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.card h3 { color: var(--gold); margin-bottom: 0.5rem; }
.card .price-tag {
  display: inline-block;
  background: var(--bg-elevated);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}
.card ul { list-style: none; padding-left: 0; margin-top: 1rem; }
.card ul li {
  padding: 8px 0 8px 28px;
  border-bottom: 1px dotted var(--border);
  position: relative;
  font-size: 0.94rem;
  color: var(--text-muted);
}
.card ul li:last-child { border-bottom: none; }
.card ul li::before {
  content: '✓';
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: bold;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-surface);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(11, 15, 26, 0.9));
  color: var(--text-primary);
  padding: 24px 16px 14px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.gallery-item .caption .neighborhood {
  color: var(--gold);
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

/* ===== Stats / proof bar ===== */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 64px 0;
}
.proof-item { text-align: center; }
.proof-item .number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.proof-item .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ===== CTA block ===== */
.cta-block {
  text-align: center;
  padding: 96px 24px;
  background:
    radial-gradient(ellipse at center, rgba(201, 169, 97, 0.1), transparent 70%),
    var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-block h2 { margin-bottom: 1rem; }
.cta-block p { color: var(--text-muted); max-width: 560px; margin: 0 auto 2rem; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-base);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  position: relative;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.site-footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul li a { color: var(--text-muted); font-size: 0.92rem; }
.site-footer ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-watermark {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 280px;
  height: 280px;
  opacity: 0.04;
  pointer-events: none;
}

/* ===== Quote tool ===== */
.quote-tool {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
}
.quote-step { display: none; }
.quote-step.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.quote-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.quote-progress .dot {
  flex: 1;
  height: 3px;
  background: var(--bg-elevated);
  border-radius: 2px;
  transition: background 0.3s ease;
}
.quote-progress .dot.active,
.quote-progress .dot.complete { background: var(--gold); }
.quote-field { margin-bottom: 20px; }
.quote-field label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.quote-field input[type="text"],
.quote-field input[type="email"],
.quote-field input[type="tel"] {
  width: 100%;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.15s ease;
  min-height: 48px;
}
.quote-field input:focus {
  outline: none;
  border-color: var(--gold);
}
.option-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.option-btn {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 14px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  min-height: 48px;
  font-family: inherit;
}
.option-btn:hover { border-color: var(--gold); }
.option-btn.selected {
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.12);
  color: var(--gold);
}
.option-btn small { display: block; color: var(--text-dim); font-size: 0.78rem; margin-top: 4px; }
.quote-nav-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}
.estimate-box {
  background: var(--bg-elevated);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}
.estimate-box .footage {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.estimate-box .footage strong { color: var(--gold); font-size: 1.1em; }
.tier-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.tier-row:first-of-type { border-top: 1px solid var(--border-strong); margin-top: 16px; }
.tier-row .tier-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--text-primary);
}
.tier-row .tier-price {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--gold);
  font-size: 1.05rem;
}

/* ===== Generic content / prose ===== */
.prose { max-width: 720px; }
.prose p { margin-bottom: 1.2rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; color: var(--gold); }
.prose ul, .prose ol {
  margin: 1rem 0 1.5rem 1.2rem;
  color: var(--text-primary);
}
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--text-primary); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--bg-surface);
}

/* ===== Page header ===== */
.page-header {
  padding: 96px 0 48px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header .lede { color: var(--text-muted); font-size: 1.15rem; max-width: 640px; }

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  padding: 4px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 300;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--gold); }
.faq-item p { margin-top: 12px; color: var(--text-muted); }

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .grid-3, .grid-2, .grid-4, .gallery-grid { grid-template-columns: 1fr; }
  .proof-bar { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .option-group { grid-template-columns: 1fr 1fr; }
  .quote-tool { padding: 24px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
    gap: 4px;
    transform: translateY(-100%);
    transition: transform 0.25s ease;
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .cta { text-align: center; margin-top: 8px; }
  .gallery-grid, .proof-bar { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; padding: 64px 0; }
  .trust-strip { gap: 14px; }
  .trust-strip .trust-item { font-size: 0.78rem; }
}
