:root {
  --chrome: #F8FAFC;
  --mute: #B6C0D1;
  --violet: #8B5CF6;
  --violet-bright: #C4B5FD;
  --violet-deep: #6D28D9;
  --glass-border: rgba(196, 181, 253, 0.32);
  --radius: 20px;
  --font-body: "Inter Tight", "Manrope", system-ui, sans-serif;
  /* Near full-bleed on large monitors — only modest gutters */
  --max: min(2480px, 100vw);
  --gutter: clamp(1.25rem, 2.2vw, 3.25rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .atmos-beam, .atmos-nebula, .atmos-fog { animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--chrome);
  background: #04060B;
  line-height: 1.65;
  font-size: clamp(1.05rem, 0.92rem + 0.4vw, 1.28rem);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== Volumetric violet atmosphere ===== */
.atmos {
  position: fixed; inset: 0; z-index: -4; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 82% 12%, rgba(167,139,250,.55), transparent 55%),
    radial-gradient(ellipse 45% 38% at 12% 28%, rgba(91,33,182,.48), transparent 52%),
    radial-gradient(ellipse 70% 50% at 48% 48%, rgba(124,58,237,.32), transparent 58%),
    radial-gradient(ellipse 50% 42% at 70% 82%, rgba(109,40,217,.38), transparent 55%),
    radial-gradient(ellipse 40% 35% at 18% 88%, rgba(139,92,246,.28), transparent 50%),
    radial-gradient(ellipse 30% 25% at 55% 18%, rgba(237,233,254,.12), transparent 45%),
    linear-gradient(168deg, #03050A 0%, #070A12 45%, #0A0D16 100%);
}
.atmos-nebula {
  position: fixed; inset: -15%; z-index: -3; pointer-events: none;
  background:
    radial-gradient(circle at 25% 35%, rgba(196,181,253,.22), transparent 26%),
    radial-gradient(circle at 78% 42%, rgba(109,40,217,.28), transparent 30%),
    radial-gradient(circle at 52% 72%, rgba(139,92,246,.2), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(167,139,250,.16), transparent 24%);
  filter: blur(48px); mix-blend-mode: screen;
  animation: nebulaDrift 32s ease-in-out infinite alternate;
  will-change: transform;
}
.atmos-fog {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 40% at 50% 100%, rgba(4,6,11,.75), transparent 70%),
    radial-gradient(ellipse 80% 30% at 50% 0%, rgba(4,6,11,.45), transparent 65%);
  animation: fogPulse 18s ease-in-out infinite alternate;
}
.atmos-beam {
  position: fixed; z-index: -2; pointer-events: none;
  width: 38vw; height: 150vh; top: -25vh;
  background: linear-gradient(180deg, transparent 0%, rgba(237,233,254,.06) 30%, rgba(139,92,246,.16) 52%, rgba(196,181,253,.05) 70%, transparent);
  filter: blur(34px); mix-blend-mode: screen;
  animation: beamDrift 24s ease-in-out infinite alternate; opacity: .9;
}
.atmos-beam.b1 { left: 6vw; transform: rotate(16deg); }
.atmos-beam.b2 { right: -6vw; left: auto; width: 32vw; transform: rotate(-14deg); animation-duration: 28s; animation-delay: -8s; opacity: .65; }
.atmos-beam.b3 { left: 40vw; width: 18vw; opacity: .4; transform: rotate(8deg); animation-duration: 20s; filter: blur(40px); }
.atmos-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes nebulaDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2.5%, 0) scale(1.08); }
}
@keyframes beamDrift {
  from { transform: translate3d(0,0,0) rotate(16deg); }
  to { transform: translate3d(3vw, 4vh, 0) rotate(20deg); }
}
@keyframes fogPulse {
  from { opacity: .85; }
  to { opacity: 1; }
}

.skip { position: absolute; left: -9999px; background: var(--violet); color:#fff; padding:.75rem 1rem; z-index:100; font-weight:600; }
.skip:focus { left:1rem; top:1rem; }

.wrap {
  width: min(100% - (var(--gutter) * 2), 2480px);
  margin-inline: auto;
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(4,6,11,.5);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: none; box-shadow: none;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 0; min-height: 72px;
}
.logo img { height: clamp(46px, 3vw, 68px); width: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; align-items: center; }
.nav a {
  color: var(--mute); text-decoration: none;
  font-size: clamp(.95rem, .85rem + .35vw, 1.1rem); font-weight: 500;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav a:hover, .nav a:focus-visible { color: var(--violet-bright); outline: none; text-shadow: 0 0 20px rgba(167,139,250,.5); }
.nav-phone {
  color: #fff !important; font-weight: 700;
  background: linear-gradient(135deg, #C4B5FD, #8B5CF6 45%, #5B21B6);
  padding: 0 1.25rem; border-radius: 999px;
  box-shadow: 0 10px 32px rgba(109,40,217,.5), 0 0 24px rgba(167,139,250,.3);
}

/* ===== Hero: ~55/45 full-bleed, art to the right edge ===== */
.hero {
  position: relative;
  width: min(100% - (var(--gutter) * 2), 2480px);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 6.5rem) 0 clamp(3rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 2.5vw, 3rem);
  align-items: center;
}
.hero-kicker {
  color: var(--violet-bright); letter-spacing: .26em; text-transform: uppercase;
  font-size: .74rem; font-weight: 700; margin: 0 0 1rem;
  text-shadow: 0 0 28px rgba(167,139,250,.45);
}
.hero .welcome {
  color: var(--mute); font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem);
  max-width: none; margin: 0 0 1.25rem;
}
.creds { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; margin: 0 0 1.85rem; color: var(--mute); font-size: .98rem; }
.creds span {
  padding: .4rem .85rem; border-radius: 999px;
  background: rgba(196,181,253,.08); border: 1px solid rgba(196,181,253,.22);
}
.creds strong { color: var(--chrome); font-weight: 600; }

.hero-art-stage {
  position: relative;
  min-height: clamp(420px, 46vw, 760px);
  display: grid; place-items: center;
  margin-right: calc(var(--gutter) * -0.35);
  isolation: isolate;
}
.hero-art-stage::before {
  content: ""; position: absolute; inset: 0% 0%;
  background:
    radial-gradient(circle at 50% 48%, rgba(237,233,254,.35), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(139,92,246,.5), transparent 55%),
    radial-gradient(circle at 60% 40%, rgba(91,33,182,.35), transparent 50%);
  filter: blur(36px); z-index: 0; animation: corePulse 7s ease-in-out infinite;
}
.hero-art {
  position: relative; z-index: 1;
  width: min(100%, 980px); height: auto;
  filter:
    drop-shadow(0 0 30px rgba(196,181,253,.35))
    drop-shadow(0 0 70px rgba(109,40,217,.5))
    drop-shadow(0 30px 60px rgba(0,0,0,.5));
}
.hero-stamp {
  position: absolute; bottom: 3%; left: 50%; transform: translateX(-50%);
  z-index: 2; margin: 0; padding: .6rem 1.15rem;
  font-size: .95rem; font-weight: 600; color: var(--chrome);
  background: rgba(8,6,18,.5); backdrop-filter: blur(14px);
  border: 1px solid rgba(196,181,253,.3); border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0,0,0,.4); white-space: nowrap;
}
.hero-poster-slot { display: none; }
@keyframes corePulse {
  0%,100% { opacity: .75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.07); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 54px; padding: .9rem 1.85rem; border-radius: 999px; text-decoration: none;
  font-weight: 700; border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #DDD6FE, #A78BFA 35%, #7C3AED 70%, #4C1D95);
  color: #fff;
  box-shadow: 0 16px 44px rgba(109,40,217,.55), 0 0 36px rgba(167,139,250,.4), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-3px); outline: none; filter: brightness(1.07);
  box-shadow: 0 22px 55px rgba(109,40,217,.65), 0 0 48px rgba(196,181,253,.5);
}
.btn-ghost {
  background: rgba(255,255,255,.04); color: var(--chrome);
  border-color: rgba(196,181,253,.3); font-size: .88rem; min-height: 44px; border-radius: 999px;
}
.btn-ghost.disabled, .btn-ghost[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.eyebrow {
  color: var(--violet-bright); letter-spacing: .2em; text-transform: uppercase;
  font-size: .72rem; font-weight: 700; margin: 0 0 .65rem;
  text-shadow: 0 0 20px rgba(167,139,250,.35);
}
h1, h2 { line-height: 0; margin: 0 0 1.15rem; }
.lede { color: var(--mute); max-width: 56rem; margin: 0 0 1.75rem; }

section {
  padding: clamp(3.5rem, 6vw, 7rem) 0;
  background: transparent !important;
  border: none !important;
}
.portal, .services, .insurance, .locations, .contact { background: transparent; border: none; }
.contact::before { display: none !important; }

/* Full-width grids */
.portal-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.portal-card:first-child { grid-row: auto; }
.portal-card:nth-child(odd) { transform: none; }
.svc-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.loc-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ins-list {
  list-style: none; padding: 0; margin: 0 0 1rem;
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .55rem;
}
.contact-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1.35fr 1fr 1fr; align-items: stretch;
}
.hours-panel, .mail-panel, .cta-panel {
  /* shared glass look via cards */
}

.portal-card, .svc-card, .loc-card, .cta-panel, .hours-panel, .mail-panel {
  position: relative;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), transparent 35%),
    linear-gradient(165deg, rgba(196,181,253,.12), rgba(12,10,28,.55) 48%, rgba(6,6,14,.65));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.55rem 1.6rem;
  box-shadow: 0 28px 70px rgba(0,0,0,.45), 0 0 40px rgba(109,40,217,.14), inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.portal-card::after, .svc-card::after, .loc-card::after, .cta-panel::after {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  pointer-events: none;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .portal-card:hover, .svc-card:hover, .loc-card:hover, .cta-panel:hover, .hours-panel:hover, .mail-panel:hover {
    transform: translateY(-8px);
    border-color: rgba(196,181,253,.6);
    box-shadow: 0 32px 70px rgba(0,0,0,.5), 0 0 60px rgba(139,92,246,.32), inset 0 1px 0 rgba(255,255,255,.14);
  }
}
.portal-card h3, .svc-card h3, .loc-card h3, .cta-panel h3, .hours-panel h3, .mail-panel h3 {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  font-weight: 700; margin: .45rem 0 .55rem; color: var(--chrome); letter-spacing: -0.015em;
}
.portal-card p, .svc-card p, .loc-card p, .hours-panel p, .mail-panel p { margin: 0; color: var(--mute); }
.badge {
  display: inline-block; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, #8B5CF6, #5B21B6);
  padding: .32rem .65rem; border-radius: 999px; font-weight: 700;
  box-shadow: 0 0 20px rgba(139,92,246,.4);
}
.zoom-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.ins-list li {
  background: rgba(196,181,253,.08); border: 1px solid rgba(196,181,253,.24);
  padding: .5rem .7rem; border-radius: 999px; font-size: .86rem; color: var(--chrome);
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center; text-align: center;
  backdrop-filter: blur(8px);
}
.fine { color: var(--mute); font-size: .92rem; }
.hours { list-style: none; padding: 0; margin: 0; color: var(--mute); }
.hours li { margin-bottom: .55rem; }
.phone-line a {
  font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.9rem);
  font-weight: 700; color: var(--violet-bright); text-decoration: none; letter-spacing: -0.02em;
  text-shadow: 0 0 32px rgba(167,139,250,.45);
}
.mail { color: var(--mute); }
.cta-panel .btn { margin: .85rem 0; width: 100%; }

.site-footer { border: none; padding: 2.75rem 0 2rem; color: var(--mute); font-size: .92rem; background: transparent; }
.foot-grid { display: grid; gap: 1.25rem; grid-template-columns: 1.5fr 1fr 1fr; margin-bottom: 1rem; }
.brand-foot { color: var(--chrome); font-size: 1.2rem; font-weight: 700; margin: 0 0 .35rem; }
.site-footer a { color: var(--violet-bright); }
.copy { border: none; padding-top: .35rem; font-size: .8rem; opacity: .85; }

.back-gallery {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 50;
  background: rgba(8,6,18,.75); color: var(--violet-bright);
  border: 1px solid rgba(196,181,253,.35);
  padding: .65rem 1.05rem; border-radius: 999px; text-decoration: none;
  font-size: .84rem; font-weight: 700; min-height: 44px;
  display: inline-flex; align-items: center; backdrop-filter: blur(12px);
}
.back-gallery:hover, .back-gallery:focus-visible { background: var(--violet-deep); color: #fff; outline: none; }
#intake { scroll-margin-top: 5rem; }

.lettering { display: block; height: auto; max-width: 100%; }
.lettering-hero {
  width: 100%; max-width: min(100%, 100%);
  margin: 0 0 1.4rem;
  filter:
    drop-shadow(0 0 12px rgba(237,233,254,.55))
    drop-shadow(0 0 32px rgba(167,139,250,.75))
    drop-shadow(0 0 70px rgba(109,40,217,.55))
    drop-shadow(0 20px 44px rgba(0,0,0,.55));
}
.lettering-section {
  width: min(100%, 70vw); max-width: 1100px; margin: 0 0 .45rem;
  filter: drop-shadow(0 0 16px rgba(167,139,250,.45)) drop-shadow(0 12px 30px rgba(0,0,0,.4));
}
.lettering-wide { max-width: 900px; }
.lettering-contact { max-width: 780px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s ease, transform .85s cubic-bezier(.22,1,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; }

.nav-mobile {
  display: none; gap: .45rem; flex-wrap: wrap; padding: 0 0 .85rem;
  width: min(100% - (var(--gutter) * 2), 2480px); margin-inline: auto;
}
.nav-mobile a {
  color: var(--chrome); text-decoration: none; font-size: .8rem; font-weight: 600;
  min-height: 44px; padding: 0 .75rem; border: 1px solid rgba(196,181,253,.28);
  border-radius: 999px; display: inline-flex; align-items: center;
  background: rgba(12,10,24,.55); backdrop-filter: blur(10px);
}

@media (max-width: 1200px) {
  .portal-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ins-list { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art-stage { min-height: 300px; margin-right: 0; order: -1; }
  .portal-grid, .svc-grid, .loc-grid, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .ins-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nav { display: none; }
  .nav-mobile { display: flex !important; }
  .hero-stamp { font-size: .78rem; white-space: normal; text-align: center; max-width: 92%; }
  .lettering-section, .lettering-wide, .lettering-contact { width: 100%; max-width: 100%; }
}
em, i { font-style: normal; }
.hero-copy { min-width: 0; }
