:root {
  --black: #000000;
  --spectral: #f0f0fa;
  --ghost-bg: rgba(240, 240, 250, 0.1);
  --ghost-border: rgba(240, 240, 250, 0.35);
  --emergency-bar-height: 2.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--black);
  color: var(--spectral);
  line-height: 1.5;
}

/* Emergency bar */
.emergency-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.45rem 1rem;
  background: rgba(180, 30, 30, 0.92);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.emergency-bar a {
  color: var(--spectral);
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}
.emergency-bar a:hover { text-decoration: underline; }

/* Overlay nav */
.overlay-nav {
  position: fixed;
  top: var(--emergency-bar-height);
  left: 0;
  right: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
}
.nav-logo {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--spectral);
  text-decoration: none;
}
.scene-nav {
  display: flex;
  gap: 1.75rem;
}
.scene-nav a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--spectral);
  text-decoration: none;
  opacity: 0.85;
}
.scene-nav a:hover { opacity: 1; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--ghost-bg);
  border: 1px solid var(--ghost-border);
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--spectral);
}

/* Scenes */
.scene {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 2rem 4rem;
}
.scene-short { min-height: 70vh; }
.scene-form { align-items: center; }
.scene-black {
  background: var(--black);
}
.scene-black::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(180, 30, 30, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.scene-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.scene-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.55) 100%);
}
@media (min-width: 769px) {
  .scene-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.35) 100%);
  }
  .scene-overlay-heavy {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 100%);
  }
}
.scene-overlay-heavy {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.6) 100%);
}
.scene-content {
  position: relative;
  max-width: 640px;
  z-index: 1;
}
.scene-content-wide { max-width: 720px; }
.scene-content-form { max-width: 960px; width: 100%; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 769px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 3rem;
  }
  .contact-aside .scene-body { margin-bottom: 1.5rem; }
}
.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.contact-form-wrap h2 { margin-bottom: 0.75rem; }

.scene-tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 1rem;
}
.scene h1,
.scene h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.scene-body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 32rem;
}
.scene-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 32px;
  border: 1px solid var(--ghost-border);
  background: var(--ghost-bg);
  color: var(--spectral);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(240, 240, 250, 0.18); }
.btn-ghost-dim { opacity: 0.75; }
.btn-submit { width: 100%; margin-top: 0.5rem; font: inherit; }

.service-stack {
  list-style: none;
  margin-bottom: 2rem;
}
.service-stack li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(240, 240, 250, 0.15);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}
.service-stack strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.recent-work { margin-bottom: 2rem; }
.recent-work-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.75rem;
}
.recent-work-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.recent-work-strip img {
  width: 140px;
  height: 105px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(240, 240, 250, 0.2);
  opacity: 0.92;
}

.contact-form .field { margin-bottom: 0.85rem; }
.contact-form label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.35rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: rgba(10, 10, 14, 0.82);
  border: 1px solid rgba(240, 240, 250, 0.45);
  border-radius: 4px;
  color: var(--spectral);
  font: inherit;
  font-size: 0.9375rem;
}
.form-emergency-note {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffb4b4;
  margin-bottom: 1.25rem;
  max-width: 28rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--spectral);
  outline-offset: 1px;
}
.contact-form option { background: #111; color: var(--spectral); }
.form-note {
  font-size: 0.6875rem;
  opacity: 0.55;
  margin-top: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-note a { color: var(--spectral); }
.form-success {
  display: none;
  margin-top: 0.75rem;
  padding: 0.65rem;
  border: 1px solid var(--ghost-border);
  border-radius: 4px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}
.form-success.visible { display: block; }

.scene-footer {
  position: relative;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(240, 240, 250, 0.12);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem 2rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
.scene-footer a { color: var(--spectral); text-decoration: none; opacity: 0.85; }
.scene-footer a:hover { opacity: 1; }

@media (max-width: 768px) {
  :root { --emergency-bar-height: 3.75rem; }
  .overlay-nav { padding: 0.75rem 1rem; }
  .scene { padding: 6.5rem 1.25rem 3rem; }
  .nav-toggle { display: flex; }
  .scene-nav {
    position: fixed;
    inset: 2rem 0 auto;
    top: 4.5rem;
    flex-direction: column;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid var(--ghost-border);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }
  .scene-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}
