:root {
  --shell-ink: #0e0e10;
  --shell-paper: #f7f1e6;
  --shell-bulb: #f4d26a;
  --shell-bulb-deep: #c9a227;
  --shell-muted: #b9b1a3;
  --shell-line: rgba(255, 255, 255, .14);
  --shell-card: rgba(14, 14, 16, .72);
  --page-accent: var(--shell-bulb);
  --shell-display: "Cormorant Garamond", Georgia, serif;
}

body[data-page="flower-walls"] { --page-accent: #b58cc7; --shell-display: "Bodoni Moda", Georgia, serif; }
body[data-page="led-marquees"] { --page-accent: #3de36a; --shell-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif; }
body[data-page="contact"] { --page-accent: var(--shell-bulb); --shell-display: Inter, ui-sans-serif, system-ui, sans-serif; }
body[data-shell="light"] { --shell-display: "Cormorant Garamond", Georgia, serif; }

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--shell-bulb);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  inset: 16px 16px auto;
  z-index: 10000;
  pointer-events: none;
}

.site-nav {
  width: min(1180px, 100%);
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(18, 18, 22, .68), rgba(18, 18, 22, .34)),
    rgba(14, 14, 16, .42);
  box-shadow: 0 22px 80px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
  backdrop-filter: blur(30px) saturate(165%);
  pointer-events: auto;
}

.site-brand {
  display: grid;
  gap: 3px;
  min-width: max-content;
  color: #fff;
  text-decoration: none;
}

.site-brand span {
  font: 600 21px/1 var(--shell-display);
  text-transform: none;
  letter-spacing: .005em;
}

.site-brand small {
  color: rgba(255, 255, 255, .56);
  font: 700 10px/1.3 Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .2em;
}

.site-links {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-links a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .74);
  text-decoration: none;
  font: 850 12px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .04em;
  transition: color .18s ease, background .18s ease;
}

.site-links a:hover,
body[data-page="marquees"] .site-links a[href="/marquees/"],
body[data-page="flower-walls"] .site-links a[href="/flower-walls/"],
body[data-page="led-marquees"] .site-links a[href="/led-marquees/"],
body[data-page="about"] .site-links a[href="/about/"] {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

body[data-page="marquees"] .site-links a[href="/marquees/"]::before,
body[data-page="flower-walls"] .site-links a[href="/flower-walls/"]::before,
body[data-page="led-marquees"] .site-links a[href="/led-marquees/"]::before,
body[data-page="about"] .site-links a[href="/about/"]::before,
body[data-page="faq"] .site-more-btn::before,
body[data-page="service-area"] .site-more-btn::before,
body[data-page="contact"] .site-more-btn::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--page-accent);
  box-shadow: 0 0 14px var(--page-accent);
}

body[data-shell="light"] .site-links a:hover,
body[data-shell="light"][data-page="about"] .site-links a[href="/about/"] {
  color: #1c1814;
  background: rgba(28, 24, 20, .07);
}

/* "More" dropdown */
.site-more { position: relative; display: flex; align-items: center; }

.site-more-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 13px;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 999px;
  color: rgba(255, 255, 255, .74);
  font: 850 12px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .04em;
  transition: color .18s ease, background .18s ease;
}

.site-more-btn svg { width: 11px; height: 11px; transition: transform .22s ease; }
.site-more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-more-btn:hover,
body[data-page="faq"] .site-more-btn,
body[data-page="service-area"] .site-more-btn,
body[data-page="contact"] .site-more-btn { color: #fff; background: rgba(255, 255, 255, .08); }

body[data-shell="light"] .site-more-btn { color: rgba(28, 24, 20, .74); }
body[data-shell="light"] .site-more-btn:hover,
body[data-shell="light"][data-page="faq"] .site-more-btn,
body[data-shell="light"][data-page="service-area"] .site-more-btn { color: #1c1814; background: rgba(28, 24, 20, .07); }

.site-more-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 186px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(135deg, rgba(22, 22, 26, .97), rgba(14, 14, 16, .94));
  box-shadow: 0 26px 64px rgba(0, 0, 0, .46);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}

.site-more-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.site-more-menu a {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 11px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font: 800 12.5px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}

.site-more-menu a:hover { color: #12100a; background: var(--shell-bulb); }

@media (hover: hover) and (min-width: 901px) {
  .site-more:hover .site-more-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

/* Subtle scroll reveal + ambient motion */
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .75s cubic-bezier(.22, .7, .18, 1), transform .75s cubic-bezier(.22, .7, .18, 1);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes lc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.lc-floaty { animation: lc-float 6.5s ease-in-out infinite; }
.lc-floaty-slow { animation: lc-float 8.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .lc-floaty, .lc-floaty-slow { animation: none !important; }
}

.site-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .20);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-decoration: none;
  font: 800 12.5px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.site-phone svg { width: 15px; height: 15px; flex: none; opacity: .8; }
.site-phone:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .34); }

.site-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 999px;
  color: #12100a;
  background: linear-gradient(135deg, var(--shell-bulb), #ffe99d);
  box-shadow: 0 0 22px rgba(244, 210, 106, .22), inset 0 1px 0 rgba(255, 255, 255, .5);
  text-decoration: none;
  font: 950 12px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .11em;
  white-space: nowrap;
}

.site-cta:hover {
  background: linear-gradient(135deg, #ffe9a3, var(--shell-bulb-deep));
  box-shadow: 0 0 34px rgba(244, 210, 106, .38), inset 0 1px 0 rgba(255, 255, 255, .55);
}

/* Light glass header on the white home page */
body[data-shell="light"] .site-nav {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .44)),
    rgba(255, 255, 255, .5);
  border: 1px solid rgba(28, 24, 20, .10);
  box-shadow: 0 18px 55px rgba(28, 24, 20, .12), inset 0 1px 0 rgba(255, 255, 255, .7);
}
body[data-shell="light"] .site-brand { color: #1c1814; }
body[data-shell="light"] .site-brand small { color: rgba(28, 24, 20, .62); }
body[data-shell="light"] .site-links a { color: rgba(28, 24, 20, .74); }
body[data-shell="light"] .site-links a:hover { color: #1c1814; background: rgba(28, 24, 20, .07); }
body[data-shell="light"] .site-phone {
  color: #1c1814;
  border-color: rgba(28, 24, 20, .18);
  background: rgba(28, 24, 20, .04);
}
body[data-shell="light"] .site-phone:hover { background: rgba(28, 24, 20, .08); border-color: rgba(28, 24, 20, .3); }

.bulb-rail { display: none; }

.site-footer {
  padding: 0;
  color: rgba(255, 255, 255, .68);
  background: #090909;
  border-top: 1px solid rgba(255, 255, 255, .10);
  text-align: left;
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 20px 48px;
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(260px, .9fr) minmax(220px, .75fr);
  gap: 28px;
  align-items: start;
}

.site-footer h2,
.site-footer h3,
.site-footer p {
  margin: 0;
}

.site-footer h2 {
  color: #fff;
  font: 950 22px/1.1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.02em;
}

.site-footer p {
  margin-top: 10px;
  max-width: 420px;
  color: rgba(255, 255, 255, .62);
  font: 500 15px/1.65 Inter, ui-sans-serif, system-ui, sans-serif;
}

.site-footer h3 {
  color: rgba(255, 255, 255, .88);
  font: 900 12px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.site-footer-links,
.site-footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.site-footer-links a,
.site-footer-contact a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: rgba(255, 255, 255, .76);
  text-decoration: none;
  font: 800 13px/1 Inter, ui-sans-serif, system-ui, sans-serif;
}

.site-footer-links a:hover,
.site-footer-contact a:hover {
  color: #fff;
  border-color: rgba(244, 210, 106, .48);
}

.mobile-quote-bar {
  display: none;
}

.quote-success {
  display: none;
  margin-bottom: 18px;
  border: 1px solid rgba(244, 210, 106, .38);
  border-radius: 22px;
  padding: 18px;
  background: rgba(244, 210, 106, .12);
  color: #fff;
}

.quote-success.is-visible {
  display: block;
}

.quote-success strong {
  display: block;
  margin-bottom: 6px;
  color: var(--shell-bulb);
}

.quote-success a {
  color: #fff;
  font-weight: 800;
}

.service-crosslinks {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .06);
}

.service-crosslinks p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .68);
}

.service-crosslinks div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-crosslinks a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  color: #fff;
  text-decoration: none;
  font-weight: 850;
}

body[data-page="flower-walls"] .v3-scene .glass {
  background: rgba(18, 10, 18, .78);
  border-color: rgba(255, 255, 255, .24);
}

body[data-page="flower-walls"] .v3-title {
  padding: 28px;
  border-radius: 28px;
  background: rgba(18, 10, 18, .44);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

body[data-page="led-marquees"] .v5-track {
  margin-inline: auto;
  max-width: min(1180px, calc(100vw - 48px));
}

@media (max-width: 900px) {
  .site-header {
    inset: 10px 10px auto;
  }

  .site-nav {
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
    border-radius: 20px;
  }

  .site-brand span {
    font-size: 20px;
    letter-spacing: .005em;
  }

  .site-brand small {
    font-size: 9px;
    letter-spacing: .18em;
  }

  .site-links {
    grid-column: 1 / -1;
    order: 3;
    justify-self: stretch;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 4px;
    padding-top: 4px;
    scrollbar-width: none;
  }

  .site-links::-webkit-scrollbar {
    display: none;
  }

  .site-links a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 11px;
    font-size: 11px;
  }

  .site-cta {
    min-height: 40px;
    padding: 0 13px;
    font-size: 10px;
  }

  .site-phone {
    display: none;
  }

  .site-more { display: contents; }
  .site-more-btn { display: none; }
  .site-more-menu {
    position: static;
    transform: none;
    flex-direction: row;
    min-width: 0;
    padding: 0;
    gap: 4px;
    border: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-more-menu a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 11px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .74);
    font-size: 11px;
  }
  body[data-shell="light"] .site-more-menu a { color: rgba(28, 24, 20, .74); }

  .site-footer-inner {
    grid-template-columns: 1fr;
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }

  .mobile-quote-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 10001;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px;
    background: rgba(10, 10, 10, .86);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .42);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
  }

  .mobile-quote-bar a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #111;
    background: #fff;
    text-decoration: none;
    font: 950 13px/1 Inter, ui-sans-serif, system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  .mobile-quote-bar a:last-child {
    background: var(--shell-bulb);
  }

  body[data-page="contact"] .mobile-quote-bar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
