/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #f5f2ee;
  background: #0a0a0a;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

:root {
  --ember: #ff6a2b;
  --dark: #0a0a0a;
  --dark-90: rgba(10, 10, 10, 0.9);
}

/* ---------- Fixed background video ---------- */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #0a0a0a url("hero-poster.jpg") center center / cover no-repeat;
}
.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.25) 45%, rgba(10,10,10,0.75) 100%);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2rem;
  background: linear-gradient(180deg, rgba(10,10,10,0.6), rgba(10,10,10,0));
}
.nav__brand {
  font-weight: 700;
  letter-spacing: 0.25em;
  font-size: 1.05rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.nav__links a { opacity: 0.85; transition: opacity 0.2s ease; }
.nav__links a:hover { opacity: 1; }
.nav__phone {
  color: var(--ember) !important;
  opacity: 1 !important;
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  position: relative;
}
.hero__title {
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  line-height: 1.05;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero__tagline {
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  max-width: 34ch;
  margin: 0 auto 2.2rem;
  opacity: 0.92;
  font-weight: 300;
}
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--ember);
  background: var(--ember);
  color: #0a0a0a;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: transparent; color: var(--ember); }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(245,242,238,0.6);
  border-radius: 14px;
  display: flex;
  justify-content: center;
}
.hero__scroll span {
  display: block;
  width: 4px;
  height: 8px;
  margin-top: 7px;
  border-radius: 2px;
  background: rgba(245,242,238,0.8);
  animation: scrollpulse 1.6s ease-in-out infinite;
}
@keyframes scrollpulse {
  0% { transform: translateY(0); opacity: 0; }
  40% { opacity: 1; }
  80% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Sections ---------- */
.section {
  padding: 7rem 1.5rem;
  background: var(--dark-90);
}
.section--alt { background: rgba(16,16,16,0.94); }
.section--contact {
  background: var(--dark);
  text-align: center;
}
.section__inner {
  max-width: 760px;
  margin: 0 auto;
}
.section__eyebrow {
  color: var(--ember);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  margin: 0 0 1rem;
  font-weight: 600;
}
.section__title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1.4rem;
}
.section__body {
  font-size: 1.1rem;
  opacity: 0.85;
  font-weight: 300;
  margin: 0;
}

.services__list {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.services__list li {
  background: rgba(16,16,16,0.94);
  padding: 1.6rem 1.4rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
/* 2x2 grid on desktop; single column stays on mobile */
@media (min-width: 600px) {
  .services__list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Contact ---------- */
.contact__phone {
  display: inline-block;
  margin-top: 2rem;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 700;
  color: var(--ember);
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.85rem;
  opacity: 0.6;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer p { margin: 0; }

/* ---------- Responsive nav ---------- */
@media (max-width: 560px) {
  .nav { padding: 1rem 1.2rem; }
  .nav__links { gap: 1rem; font-size: 0.8rem; }
  .nav__links a:not(.nav__phone) { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__scroll span { animation: none; }
}
