/*
 * "Spotlight" top bar + phone menu (picked by Peyton 2026-11-22 from the nav options Codex built).
 * Shared by the static homepage (public/glow/index.html) and every other page (components/glow/GlowNav.tsx).
 * Behaviour: public/glow/spotlight-nav.js on the homepage, GlowNav.tsx elsewhere.
 */
.site-header,.mobile-menu{--bg:#101719;--surface:#172024;--ink:#f7f0e6;--muted:#b1b9b9;--gold:#edc58a;--line:#ffffff26;--sans:var(--g-sans,'DM Sans',Arial,sans-serif);--serif:var(--g-serif,'Instrument Serif',Georgia,serif);--nav-height:112px;font-family:var(--sans);color:var(--ink)}
.site-header *,.mobile-menu *{box-sizing:border-box}
:where(.site-header,.mobile-menu) a{color:inherit;text-decoration:none}
:where(.site-header,.mobile-menu) button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.site-header a:focus-visible,.site-header button:focus-visible,.mobile-menu a:focus-visible,.mobile-menu button:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:2px}
:where(.site-header,.mobile-menu) em{font-family:var(--serif);font-style:italic;font-weight:400;color:var(--gold)}
.mobile-menu .eyebrow{margin:0;font-weight:500;text-transform:uppercase;color:var(--gold)}
:where(.mobile-menu) p{margin:0}
html.menu-is-open{overflow:hidden}
.site-header{position:fixed;z-index:20;top:0;inset-inline:0;height:var(--nav-height);background:linear-gradient(180deg,#10171970,#1017190a);transition:height .35s,background .35s,box-shadow .35s;isolation:isolate}
.nav-shell{position:relative;z-index:2;height:100%;margin:0 4.5%;display:flex;align-items:center;justify-content:space-between;gap:30px;padding-top:12px;transition:padding .35s}
.site-header.is-scrolled{--nav-height:78px;background:#101719ee;box-shadow:0 10px 32px #0002;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.is-scrolled .nav-shell{padding-top:0}
.brand{flex-shrink:0}
.wordmark{display:flex;align-items:baseline;gap:5px;white-space:nowrap;font-size:18px;letter-spacing:-.04em;line-height:1.2}
.wordmark em{font-size:36px;line-height:1}
.brand-star{align-self:center;font-size:29px;line-height:1;color:var(--gold);margin-left:7px;transform-origin:center}
.brand-caption{display:block;font-size:7px;letter-spacing:.19em;color:var(--muted);margin-top:8px}
.desktop-links{display:flex;align-items:center;gap:24px}
.desktop-links a{position:relative;display:flex;align-items:center;min-height:44px;font-size:12px;white-space:nowrap;color:#e1e1db;transition:color .25s,text-shadow .25s}
.desktop-links a::after{content:'';position:absolute;width:4px;height:4px;border-radius:100%;background:var(--gold);left:calc(50% - 2px);bottom:0;opacity:0;transform:translateY(3px);transition:opacity .2s,transform .2s;box-shadow:0 0 9px #edc58a70}
.desktop-links a:hover,.desktop-links a:focus-visible,.desktop-links a[aria-current]{color:var(--gold);text-shadow:0 0 16px #edc58a40}
.desktop-links a[aria-current]::after{opacity:1;transform:none}
.nav-actions{display:flex;gap:20px;align-items:center}
.nav-quote{display:flex;align-items:center;justify-content:space-between;gap:25px;position:relative;white-space:nowrap;font-size:12px;min-height:48px;width:192px;padding:0 19px;transition:background .2s,color .2s,transform .25s;border:1px solid #edc58a55;border-radius:3px;background:#edc58a08}
.quote-arrow{font-size:19px;color:var(--gold);transition:transform .25s}
.nav-quote:hover,.nav-quote:focus-visible{background:#edc58a15;color:var(--gold)}
.nav-quote:hover .quote-arrow{transform:translate(2px,-2px)}
.menu-toggle,.menu-close{align-items:center;justify-content:center;gap:12px;min-height:44px;min-width:44px;padding:0 2px;background:none;font-size:11px;letter-spacing:.02em}
.menu-toggle{display:none}
.menu-toggle i{position:relative;width:22px;height:10px;border-top:1px solid var(--gold);border-bottom:1px solid var(--gold)}
.menu-toggle i::after{content:'';position:absolute;width:3px;height:3px;background:var(--gold);border-radius:50%;right:4px;top:-2px;box-shadow:0 0 7px #edc58a88}
.menu-close{display:flex}
.menu-close i{width:22px;height:22px;position:relative}
.menu-close i::before,.menu-close i::after{content:'';position:absolute;left:0;top:10px;width:22px;height:1px;background:var(--gold);transform:rotate(45deg)}
.menu-close i::after{transform:rotate(-45deg)}
@keyframes star-glint{0%,80%,100%{transform:rotate(0);filter:drop-shadow(0 0 0 transparent)}
88%{transform:rotate(45deg);filter:drop-shadow(0 0 7px #edc58aaa)}
94%{transform:rotate(90deg);filter:drop-shadow(0 0 0 transparent)}
}
.menu-status i{width:4px;height:4px;display:inline-block;border-radius:50%;background:var(--gold);box-shadow:0 0 9px #edc58a70}
.solid-button{display:flex;justify-content:space-between;align-items:center;gap:45px;min-height:54px;padding:13px 23px;background:var(--gold);color:var(--bg);font-size:12px;font-weight:500;transition:background .2s}
.solid-button>span{font-size:21px;line-height:1}
.solid-button:hover,.solid-button:active{background:#ffe0b4;color:var(--bg)}
.mobile-menu{width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:var(--bg);color:var(--ink);overflow:auto;overscroll-behavior:contain}
.mobile-menu::backdrop{background:#101719b8}
.mobile-menu[open]{display:flex;flex-direction:column}
.menu-top{min-height:90px;padding:18px 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;flex-shrink:0}
.menu-inner{display:flex;flex-direction:column;padding:24px 26px;flex:1}
.menu-intro{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}
.menu-intro .eyebrow{font-size:8px;letter-spacing:.11em}
.menu-status{font-size:9px;color:var(--muted);white-space:nowrap;display:flex;gap:7px;align-items:center}
.menu-links{display:flex;flex-direction:column}
.menu-links a{display:flex;align-items:center;position:relative;gap:19px;min-height:63px;border-top:1px solid var(--line);transition:color .2s}
.menu-links a:last-child{border-bottom:1px solid var(--line)}
.menu-number{font-size:9px;color:var(--muted);align-self:center}
.menu-link-text{font:40px/1.12 var(--serif);letter-spacing:-.025em}
.menu-arrow{margin-left:auto;color:var(--gold);font-size:18px}
.menu-links a:hover,.menu-links a[aria-current],.menu-links a:focus-visible{color:var(--gold)}
.menu-links a[aria-current] .menu-link-text{font-style:italic}
.menu-quote{margin-top:24px}
.menu-contact{margin-top:22px}
.menu-contact>p{font-size:10px;margin-bottom:8px}
.menu-email{font-size:11px;color:var(--muted);display:inline-flex;align-items:center;min-height:32px}
.menu-contact a:hover{color:var(--gold)}
.menu-foot{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:18px;margin-top:auto;color:var(--muted);font-size:7px;letter-spacing:.07em}
.menu-foot>span:last-child{font-family:var(--serif);font-style:italic;font-size:13px;letter-spacing:0;color:var(--gold)}
.menu-bulb{display:none}
@keyframes menu-in{from{opacity:0;transform:translateY(-10px)}
to{opacity:1;transform:none}
}
.site-header{border-bottom:1px solid var(--line);overflow:hidden}
.nav-light{position:absolute;top:0;left:0;width:420px;height:210px;pointer-events:none;z-index:0;background:radial-gradient(ellipse,#edc58a24 0%,#edc58a0c 35%,transparent 68%);opacity:0;transform:translate3d(calc(50vw - 210px),-60px,0);transition:opacity .35s;will-change:transform}
.site-header.has-light .nav-light{opacity:1}
.desktop-links a{color:color-mix(in srgb,var(--ink),var(--gold) calc(var(--warmth,0) * 100%))}
.desktop-links a:hover,.desktop-links a:focus-visible,.desktop-links a[aria-current]{color:var(--gold)}
.nav-quote{border-radius:30px;border-color:#edc58a42;width:210px;background:#edc58a08;padding-inline:22px;will-change:transform}
.chase-border{position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);overflow:visible;pointer-events:none}
.chase-border rect{fill:none;stroke:var(--gold);stroke-width:1.5;stroke-linecap:round;stroke-dasharray:10 90;animation:chase 5.5s linear infinite;filter:drop-shadow(0 0 3px #edc58a99)}
.chase-border rect.chase-point{stroke:#fff3d8;stroke-width:2;stroke-dasharray:.7 99.3;stroke-dashoffset:-9.3;animation-name:chase-point}
@keyframes chase-point{to{stroke-dashoffset:-109.3}
}
.nav-quote:hover .chase-border rect{stroke:#fff4df}
.mobile-menu{background:radial-gradient(ellipse at 100% 0%,#edc58a15,transparent 45%),var(--bg)}
.mobile-menu[open]{animation:iris-in .5s cubic-bezier(.22,.7,.22,1) both}
.menu-top{overflow:hidden}
.menu-top::after{content:'';position:absolute;bottom:0;width:120px;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);left:0;opacity:0}
.mobile-menu[open] .menu-top::after{animation:menu-sweep .85s .2s both}
.mobile-menu[open] .menu-links a{animation:link-in .45s both;animation-delay:calc(.12s + var(--order) * .045s)}
@keyframes chase{to{stroke-dashoffset:-100}
}
@keyframes iris-in{from{clip-path:circle(0 at calc(100% - 42px) 46px)}
to{clip-path:circle(150% at calc(100% - 42px) 46px)}
}
@keyframes menu-sweep{0%{transform:translateX(-120px);opacity:0}
30%,70%{opacity:1}
100%{transform:translateX(430px);opacity:0}
}
@keyframes link-in{from{opacity:0;transform:translateY(9px)}
to{opacity:1;transform:none}
}
.page-hidden *,.page-hidden *::after{animation-play-state:paused!important}
@media(min-width:1700px){.nav-shell{margin-inline:auto;max-width:1550px}
}
@media(max-width:1100px){.nav-shell{gap:18px;margin-inline:4%}
.desktop-links{gap:17px}
.desktop-links a{font-size:11px}
.nav-quote{width:165px;gap:12px;padding-inline:14px}
.nav-quote{width:185px;padding-inline:17px}
.wordmark{font-size:16px}
.wordmark em{font-size:33px}
.brand-star{font-size:25px;margin-left:4px}
.brand-caption{font-size:6px}
}
@media(max-width:900px){.desktop-links{display:none}
.menu-toggle{display:flex}
.nav-actions{gap:25px}
.nav-quote{width:180px}
}
@media(max-width:600px){.nav-shell{margin:0 24px;padding-top:13px;gap:12px}
.site-header.is-scrolled{--nav-height:72px}
.brand-caption{display:none}
.wordmark{font-size:15px;gap:4px}
.wordmark em{font-size:33px}
.brand-star{font-size:26px;margin-left:6px}
.nav-quote{display:none}
.nav-actions{gap:0}
.menu-toggle{font-size:11px}
.menu-top .wordmark{font-size:15px}
.menu-top .wordmark em{font-size:33px}
.menu-top .brand-star{font-size:26px}
}
@media(max-width:360px){.nav-shell{margin-inline:18px}
.menu-top{padding-inline:20px}
.menu-inner{padding-inline:22px}
.menu-link-text{font-size:36px}
.menu-links a{min-height:61px}
.menu-intro{gap:5px}
.menu-intro .eyebrow{font-size:7px}
}
@media(max-height:760px){.menu-inner{padding-top:20px}
.menu-intro{margin-bottom:18px}
.menu-links a{min-height:57px}
.menu-link-text{font-size:35px}
.menu-quote{margin-top:24px}
.menu-contact{margin-top:20px}
.menu-foot{margin-top:20px}
.menu-top{min-height:80px}
}
@media(prefers-reduced-motion:reduce){.nav-light{display:none}
.nav-quote{transform:none!important}
.chase-border rect{stroke-dasharray:none;opacity:.7}
.chase-border .chase-point{display:none}
}
.menu-toggle:hover,.menu-close:hover{color:var(--gold)}
.menu-toggle:active,.menu-close:active{opacity:.7}

/* Call / text row in the phone menu */
.phone-row{display:flex;align-items:center;justify-content:space-between;gap:15px}
.phone-row>a{display:flex;align-items:center;gap:16px;min-height:44px;font-size:17px;letter-spacing:-.02em}
.phone-row>a>span{color:var(--gold);font-size:15px}
.phone-row .text-us{font-size:11px;gap:8px;border-bottom:1px solid #edc58a55;min-height:36px}
.phone-row>a{font-size:15px}

/* Keep these colors even where a page styles every link (the React pages do: .glow-site a) */
.mobile-menu .solid-button,.mobile-menu .solid-button:hover{color:var(--bg)}
.mobile-menu .menu-email{color:var(--muted)}
.mobile-menu .menu-email:hover{color:var(--gold)}

/* Desktop menu (Peyton, 2026-11-27: "way too plain"): the links sit together in one frosted-glass capsule with a thin
   gold edge, like the "Get a free quote" pill beside it. Each link lights up as its own soft gold pill on hover, and the
   page you're on stays lit. Phones keep the Menu button (the links hide under 900px). */
@media(min-width:901px){
  .desktop-links{gap:2px;padding:5px;border-radius:999px;background:linear-gradient(180deg,#ffffff12,#ffffff05);border:1px solid #edc58a3d;box-shadow:inset 0 1px 0 #ffffff17,0 12px 32px #0000004d;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
  .site-header .desktop-links a{min-height:38px;padding:0 17px;border-radius:999px;font-size:12.5px;letter-spacing:.02em;transition:color .25s,background .25s,box-shadow .25s,text-shadow .25s}
  .site-header .desktop-links a::after{display:none}
  .site-header .desktop-links a:hover,.site-header .desktop-links a:focus-visible{background:#edc58a1a;color:var(--gold);box-shadow:inset 0 0 0 1px #edc58a52,0 0 22px #edc58a26;outline-offset:2px}
  .site-header .desktop-links a[aria-current]{background:#edc58a26;color:var(--gold);box-shadow:inset 0 0 0 1px #edc58a6b,0 0 18px #edc58a1f}
}
