/* ============================================================
   Precision Festive Lights — built from the Beacon section
   library. Night-sky palette drawn from the install photos:
   deep navy skies, icy LED blue-white, warm sconce gold.
   Tune any color or font here once; everything follows.
   ============================================================ */
:root {
  --bg: #0d1320;
  --bg-tint: #141c2c;
  --ink: #eef3f8;
  --ink-soft: #91a0b4;
  --line: #273349;
  --tone-1: #9cc4ec; /* icy LED blue — accents & buttons */
  --tone-2: #8fb59b; /* landscape green */
  --tone-3: #e3c170; /* sconce gold (matches the icon accent) */
  --on-tone: rgba(11, 16, 27, 0.92);

  --container: 1100px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-display-weight: 400;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; }

em { font-style: italic; }

.label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}

.muted { color: var(--ink-soft); }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 14px 30px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }

/* Empty image slots — drop an <img> inside and it fills the frame. */
.ph { background: var(--tone-1); overflow: hidden; }
.ph-2 { background: var(--tone-2); }
.ph-3 { background: var(--tone-3); }
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ Navbar ============ */
.nb {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nb-top {
  background: var(--ink);
  color: var(--bg);
}
.nb-top-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.nb-top-inner a {
  color: var(--bg);
  text-decoration: none;
  font-weight: 500;
}
.nb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 76px;
}
.nb-logo {
  display: block;
  width: 56px;
  height: 56px;
  background: url("images/logo-with-no-bg.webp") left center / contain no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}
.nb-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nb-links a {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-decoration: none;
}
.nb-links a:hover { color: var(--ink-soft); }
.nb-cta { padding: 10px 20px; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% 110%, rgba(156, 196, 236, 0.2), transparent 70%),
    var(--bg-tint);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Scrim for when the hero photo is added */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 19, 0.5);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 120px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--tone-1);
}
.hero h1 { color: #f4f8fd; }
.hero-sub {
  color: rgba(244, 248, 253, 0.85);
  max-width: 560px;
  font-size: 1.05rem;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.hero-solid {
  background: var(--tone-1);
  border-color: var(--tone-1);
  color: var(--on-tone);
  padding: 16px 34px;
}
.hero-solid:hover {
  background: var(--tone-1);
  border-color: var(--tone-1);
  color: var(--on-tone);
  filter: brightness(1.12);
}
.hero-ghost {
  color: #f4f8fd;
  border-color: rgba(244, 248, 253, 0.85);
  padding: 16px 30px;
}
.hero-ghost:hover {
  background: #f4f8fd;
  color: #0d1320;
}

/* ============ Services ============ */
.svc { padding: 100px 0; }
.svc-head {
  max-width: 560px;
  margin: 0 auto 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  max-width: 920px;
  margin: 0 auto;
}
.svc-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
}
.svc-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #ffffff; /* matches the icons' white background exactly */
  color: var(--on-tone);
  font-size: 1.15rem;
  overflow: hidden;
}
.svc-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
  display: block;
}
.svc-item h3 { margin-bottom: 8px; }
.svc-item .muted { font-size: 0.94rem; }

/* ============ Steps ============ */
.steps {
  padding: 100px 0;
  background: var(--bg-tint);
}
.steps-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--tone-1);
  margin-bottom: 14px;
}
.steps-grid h3 { margin-bottom: 10px; }
.steps-grid .muted { font-size: 0.94rem; }

/* ============ Gallery ============ */
.work { padding: 100px 0; }
.work-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.work-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.work-item .ph { aspect-ratio: 4 / 3; }
.work-item figcaption strong {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
}
.work-item figcaption span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}

/* ============ Testimonials ============ */
.proof {
  padding: 100px 0;
  background: var(--bg-tint);
}
.proof-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.proof-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.proof-card blockquote { quotes: none; }
.proof-card blockquote p { font-size: 0.98rem; line-height: 1.6; }
.proof-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}
.proof-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--tone-2);
  color: var(--on-tone);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.proof-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
}
.proof-card em {
  font-style: normal;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

/* ============ FAQ ============ */
.faq { padding: 100px 0; }
.faq-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px;
}
.faq-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-tint);
  padding: 0 26px;
  margin-bottom: 14px;
}
.faq summary {
  font-family: var(--font-display);
  font-size: 1.15rem;
  padding: 22px 30px 22px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  color: var(--ink-soft);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details .muted { padding: 0 0 24px; max-width: 560px; }

/* ============ Call to action ============ */
.cta { padding: 100px 0; }
.cta-panel {
  background: var(--ink);
  color: var(--bg);
  border-radius: 26px;
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-panel h2 { color: var(--bg); margin-bottom: 10px; }
.cta-panel p { opacity: 0.75; }
.cta-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: var(--tone-1);
  color: var(--on-tone);
  border-radius: 999px;
  padding: 18px 36px;
  text-decoration: none;
  white-space: nowrap;
}
.cta-btn:hover { filter: brightness(1.12); }

/* ============ Footer ============ */
.ft {
  border-top: 1px solid var(--line);
  padding: 72px 0 36px;
}
.ft-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 52px;
}
.ft-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}
.ft-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ft-brand p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 240px;
}
.ft-grid nav,
.ft-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ft-label { margin-bottom: 2px; }
.ft-grid nav a,
.ft-contact a {
  color: var(--ink);
  font-size: 0.92rem;
  text-decoration: none;
}
.ft-grid nav a:hover,
.ft-contact a:hover { color: var(--ink-soft); }
.ft-muted { color: var(--ink-soft); font-size: 0.92rem; }
.ft-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.ft-bottom p,
.ft-bottom a {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  text-decoration: none;
}
.ft-bottom a:hover { color: var(--ink); }

/* ============ Responsive ============ */
@media (max-width: 880px) {
  .stack-mobile { grid-template-columns: 1fr !important; }

  .nb-links { display: none; }
  .nb-top-inner span { display: none; }

  .hero { min-height: 72vh; }
  .hero-inner { padding: 90px 20px; }

  .svc, .steps, .work, .proof, .faq, .cta { padding: 64px 0; }

  .steps-grid { gap: 32px; }
  .cta-panel { padding: 40px 28px; }
}
