/* ESS site base styles — design-system layer over tokens.css.
   U1 scaffold: nav, footer, buttons, section rhythm. U2 adds page sections. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ess-black); }
body {
  margin: 0;
  background: transparent;
  color: var(--ess-ink-200);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

/* Ambient stage atmosphere: fixed layer under the whole page — drifting
   teal stage-light glows + faint light dust over the black canvas (the
   canvas stays black per the design system; it just stops being flat). */
body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  background-color: var(--ess-black);
  background-image:
    radial-gradient(1px 1px at 33px 47px, rgba(255, 255, 255, 0.055), transparent 60%),
    radial-gradient(1px 1px at 71px 13px, rgba(166, 216, 215, 0.045), transparent 60%),
    radial-gradient(640px 460px at 15% 22%, rgba(90, 174, 176, 0.10), transparent 70%),
    radial-gradient(740px 540px at 85% 58%, rgba(90, 174, 176, 0.07), transparent 70%),
    radial-gradient(560px 420px at 40% 92%, rgba(212, 166, 74, 0.05), transparent 70%);
  background-size: 90px 90px, 110px 110px, auto, auto, auto;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
  animation: ambient-drift 36s ease-in-out infinite alternate;
}
@keyframes ambient-drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1.5%, 0) scale(1.07); }
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ess-teal-400); text-decoration: none; }
a:hover { color: var(--ess-teal-300); }

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

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 24px;
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p { margin: 0 0 16px; }

.eyebrow {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ess-teal-500);
  margin-bottom: 12px;
}

section { padding: var(--space-9) 0; }

/* Pill CTA — signature: radius 999 + sharp 4-offset shadow, teal glow hover */
.btn-pill {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  color: #001010;
  background: var(--ess-teal-500);
  border-radius: 999px;
  padding: 14px 32px;
  box-shadow: var(--shadow-sharp);
  transition: transform var(--dur-fast) var(--ease-punch), box-shadow var(--dur-mid) var(--ease-punch), background var(--dur-fast);
}
.btn-pill:hover {
  background: var(--ess-teal-400);
  color: #001010;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sharp), var(--glow-teal);
}

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ess-ink-700);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.nav-logo img { width: 64px; height: 64px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; font-family: var(--font-ui); font-weight: 500; }
.nav-links a:not(.btn-pill) { color: #fff; }
.nav-links a:not(.btn-pill):hover { color: var(--ess-teal-300); }
.nav-links .btn-pill { padding: 10px 24px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start;
    background: var(--ess-ink-900);
    border-bottom: 1px solid var(--ess-ink-700);
    padding: 20px var(--gutter); gap: 18px;
  }
  .nav-links.is-open { display: flex; }
}

/* Footer */
.site-footer { background: var(--ess-ink-900); border-top: 1px solid var(--ess-ink-700); padding: var(--space-6) 0; margin-top: var(--space-9); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-6); align-items: start; }
.footer-info p { margin: 0 0 8px; color: var(--ess-ink-300); }
.footer-social { display: flex; flex-direction: column; gap: 10px; font-family: var(--font-ui); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── U2: page sections ─────────────────────────────────────────── */

/* Per-section animated backdrops: each section carries its own motion,
   themed to its content. All layers are low-opacity, transform/opacity
   only, behind a z-indexed container. */
.process, .pricing, .services, .about, .team, .join, .faq, .reviews, .get-in-touch {
  position: relative;
  overflow: hidden;
}
section > .container { position: relative; z-index: 1; }
.process::before, .process::after, .pricing::before, .services::before,
.about::before, .team::before, .join::before, .faq::before,
.reviews::before, .get-in-touch::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
}

/* How It Works: signal flowing left to right through the steps */
.process::before {
  inset: -10% -5%;
  background: repeating-linear-gradient(90deg,
    transparent 0 34px, rgba(90, 174, 176, 0.055) 34px 38px);
  transform: skewX(-18deg);
  animation: flow-right 3s linear infinite;
}
@keyframes flow-right { to { transform: skewX(-18deg) translateX(38px); } }
.process::after {
  top: 0; bottom: 0; left: -30%; width: 26%;
  background: linear-gradient(90deg, transparent, rgba(90, 174, 176, 0.08), transparent);
  animation: band-pass 7s ease-in-out infinite;
}
@keyframes band-pass { to { transform: translateX(560%); } }

/* Pricing: champagne bubbles rising (teal + a little gold) */
.pricing::before {
  left: 0; right: 0; top: 0; height: 200%;
  background-image:
    radial-gradient(3px 3px at 30px 40px, rgba(90, 174, 176, 0.35), transparent 60%),
    radial-gradient(2px 2px at 90px 110px, rgba(212, 166, 74, 0.3), transparent 60%),
    radial-gradient(2.5px 2.5px at 130px 60px, rgba(166, 216, 215, 0.25), transparent 60%),
    radial-gradient(2px 2px at 55px 150px, rgba(90, 174, 176, 0.22), transparent 60%);
  background-size: 160px 180px;
  animation: bubbles-rise 11s linear infinite;
}
@keyframes bubbles-rise { to { transform: translateY(-180px); } }

/* Services: breathing spotlight behind the card grid */
.services::before {
  inset: 0;
  background: radial-gradient(55% 45% at 50% 42%, rgba(90, 174, 176, 0.09), transparent 70%);
  animation: soft-breathe 6.5s ease-in-out infinite alternate;
}
@keyframes soft-breathe {
  from { opacity: 0.45; transform: scale(1); }
  to { opacity: 1; transform: scale(1.06); }
}

/* About: two stage glows slowly trading places */
.about::before {
  inset: -15%;
  background:
    radial-gradient(420px 320px at 22% 40%, rgba(90, 174, 176, 0.09), transparent 70%),
    radial-gradient(460px 340px at 80% 65%, rgba(212, 166, 74, 0.05), transparent 70%);
  animation: glow-trade 16s ease-in-out infinite alternate;
}
@keyframes glow-trade {
  from { transform: translateX(-2.5%) scale(1); }
  to { transform: translateX(2.5%) scale(1.05); }
}

/* Team: followspot beams panning across the crew */
.team::before {
  top: 0; bottom: 0; left: 0; width: 250%;
  background: linear-gradient(100deg,
    transparent 30%, rgba(90, 174, 176, 0.08) 35%, transparent 40%,
    transparent 62%, rgba(90, 174, 176, 0.055) 67%, transparent 72%);
  animation: spot-pan 12s ease-in-out infinite alternate;
}
@keyframes spot-pan { to { transform: translateX(-60%); } }

/* Join: energy streaks rising */
.join::before {
  left: 0; right: 0; top: 0; height: calc(100% + 46px);
  background: repeating-linear-gradient(180deg,
    rgba(90, 174, 176, 0.06) 0 2px, transparent 2px 46px);
  animation: streaks-rise 2.8s linear infinite;
}
@keyframes streaks-rise { to { transform: translateY(-46px); } }

/* FAQ: calm corner glow breathing */
.faq::before {
  inset: 0;
  background: radial-gradient(480px 320px at 88% 12%, rgba(90, 174, 176, 0.07), transparent 70%);
  animation: soft-breathe 8s ease-in-out infinite alternate;
}

/* Reviews + Get In Touch: slow light pass */
.reviews::before, .get-in-touch::before {
  top: 0; bottom: 0; left: 0; width: 300%;
  background: linear-gradient(115deg, transparent 45%, rgba(90, 174, 176, 0.07) 50%, transparent 55%);
  animation: shimmer-pass 9s linear infinite;
}

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex; align-items: center;
  background: var(--grad-stage);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('/assets/hero-bg.webp');
  background-size: cover; background-position: center;
  opacity: 0.55;
  filter: saturate(0.85) contrast(1.05);
}
/* Scrim: cool spotlight + bottom-heavy dark grade keeps the crowd visible
   and the type readable (photography forward, never flat black). */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-spot),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.78) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero p:not(.eyebrow) { max-width: 640px; font-size: 1.15rem; }
.hero .btn-pill { margin-top: 12px; box-shadow: var(--shadow-sharp), 0 0 18px rgba(90, 174, 176, 0.35); }

/* Two-tier display headline: giant gradient wordmark line + spaced subline */
.hero h1 { margin-bottom: 20px; }
.hero-line1 {
  display: block;
  font-size: clamp(3rem, 9vw, 5.6rem);
  background: linear-gradient(100deg, var(--ess-teal-300) 0%, var(--ess-teal-500) 55%, var(--ess-gold-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-line2 {
  display: block;
  font-size: clamp(1.3rem, 3.4vw, 2.2rem);
  letter-spacing: 0.12em;
  color: #fff;
  margin-top: 6px;
}

/* Staggered punch-in on load (punchy entrance, soft settle) */
.hero-content > * { animation: rise-in var(--dur-slow) var(--ease-punch) both; }
.hero-content > *:nth-child(2) { animation-delay: 90ms; }
.hero-content > *:nth-child(3) { animation-delay: 180ms; }
.hero-content > *:nth-child(4) { animation-delay: 270ms; }
.hero-content > *:nth-child(5) { animation-delay: 360ms; }

/* Facts strip: real credentials, people-first framing */
.hero-facts { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero-facts .fact { border-left: 2px solid var(--ess-teal-500); padding-left: 14px; }
.hero-facts strong {
  display: block; font-family: var(--font-ui); font-weight: 700; color: #fff;
  font-size: 1.05rem; letter-spacing: 0.02em;
}
.hero-facts span { color: var(--ess-ink-300); font-size: 0.88rem; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Equalizer: 24 teal bars dancing along the hero floor. Negative delays
   desync the phases; three duration variants keep it organic. */
.hero-eq {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  height: 150px;
  display: flex; align-items: flex-end; gap: 6px;
  padding: 0 24px;
  pointer-events: none;
}
.hero-eq span {
  flex: 1; max-width: 30px; height: 100%;
  background: linear-gradient(180deg, var(--ess-teal-400) 0%, rgba(90, 174, 176, 0.06) 100%);
  border-radius: 4px 4px 0 0;
  opacity: 0.5;
  transform-origin: bottom;
  animation: eq-dance 1.15s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.137s);
}
.hero-eq span:nth-child(3n) { animation-duration: 0.9s; }
.hero-eq span:nth-child(4n) { animation-duration: 1.35s; opacity: 0.38; }
@keyframes eq-dance {
  0% { transform: scaleY(0.12); }
  35% { transform: scaleY(0.7); }
  60% { transform: scaleY(0.35); }
  100% { transform: scaleY(1); }
}
@media (max-width: 680px) { .hero-eq { height: 90px; gap: 4px; } }

/* 4-step process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: var(--space-6); }
.process-card {
  background: var(--ess-ink-800);
  border: 1px solid var(--ess-ink-700);
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-mid) var(--ease-punch), box-shadow var(--dur-mid);
}
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card), var(--glow-teal); }
.process-card svg.step-icon { width: 56px; height: 56px; stroke: var(--ess-teal-500); margin-bottom: 16px; }
.process-card .step-num { font-family: var(--font-ui); font-weight: 700; color: var(--ess-teal-500); font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 8px; }
.process-card h3 { margin-bottom: 8px; }
.process-card p { color: var(--ess-ink-300); margin: 0; font-size: 0.95rem; }

/* Pricing */
.pricing {
  background: var(--ess-ink-900);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(90, 174, 176, 0.07) 0%, transparent 55%);
}
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: var(--space-6); }
.price-card {
  background: var(--ess-ink-800);
  border: 1px solid var(--ess-ink-700);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform var(--dur-mid) var(--ease-punch), border-color var(--dur-mid);
}
.price-card:hover { transform: translateY(-4px); border-color: var(--ess-teal-500); }
.price-card.featured { border-color: var(--ess-teal-500); box-shadow: var(--shadow-card), var(--glow-teal); }
.price-card .price { font-family: var(--font-display); font-weight: 900; font-size: 2.8rem; color: var(--ess-teal-400); }
.price-card ul { list-style: none; padding: 0; margin: 12px 0 20px; color: var(--ess-ink-300); }
.price-card ul li { padding: 6px 0; border-bottom: 1px solid var(--ess-ink-700); }
.price-card ul li:last-child { border-bottom: 0; }
.price-card .btn-pill { margin-top: auto; align-self: center; }
.addons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: var(--space-6); }
.addon-card { background: var(--ess-ink-800); border: 1px solid var(--ess-ink-700); border-radius: 12px; padding: 24px 20px; }
.addon-card h3 { font-size: 1rem; }
.addon-card .price { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--ess-gold-500); margin-bottom: 8px; }
.addon-card p { color: var(--ess-ink-300); font-size: 0.9rem; margin: 0; }
.addons-small { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }

/* Services (event types) — transparent so the ambient canvas shows through */
.services { position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: var(--space-6); }
.service-card {
  background: var(--ess-ink-800);
  border: 1px solid var(--ess-ink-700);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease-punch), border-color var(--dur-mid);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--ess-teal-500); }
.service-card > * { position: relative; z-index: 1; }
.service-card::before, .service-card::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
}
.service-card:hover::before, .service-card:hover::after { opacity: 1; }

/* Per-event ambient animations (each card sells its own vibe) */

/* Weddings: soft sparkles drifting upward */
.svc-weddings::before {
  left: 0; right: 0; top: 0; height: 200%;
  background-image:
    radial-gradient(2px 2px at 22px 40px, rgba(166, 216, 215, 0.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 78px 120px, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(2.5px 2.5px at 108px 76px, rgba(90, 174, 176, 0.8), transparent 60%);
  background-size: 130px 160px;
  opacity: 0.45;
  animation: sparkle-rise 8s linear infinite;
}
@keyframes sparkle-rise { to { transform: translateY(-160px); } }

/* Corporate: faint grid + a scanning light bar */
.svc-corporate::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 31, 31, 0.9) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 31, 31, 0.9) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}
.svc-corporate::after {
  left: 0; right: 0; top: 0; height: 45%;
  background: linear-gradient(180deg, transparent 0%, rgba(90, 174, 176, 0.16) 50%, transparent 100%);
  animation: scan-sweep 4.2s linear infinite;
}
@keyframes scan-sweep {
  from { transform: translateY(-100%); }
  to { transform: translateY(340%); }
}

/* Birthdays and private parties: confetti falling */
.svc-parties::before {
  left: 0; right: 0; top: -160px; height: calc(200% + 160px);
  background-image:
    radial-gradient(2.5px 2.5px at 18px 22px, var(--ess-teal-400), transparent 60%),
    radial-gradient(2px 2px at 64px 90px, var(--ess-gold-500), transparent 60%),
    radial-gradient(2.5px 2.5px at 100px 50px, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(2px 2px at 40px 130px, var(--ess-teal-300), transparent 60%);
  background-size: 120px 160px;
  opacity: 0.5;
  animation: confetti-fall 7s linear infinite;
}
@keyframes confetti-fall { to { transform: translateY(160px); } }

/* Clubs and nightlife: sweeping light beams */
.svc-clubs::before {
  top: 0; bottom: 0; left: 0; width: 300%;
  background: linear-gradient(105deg,
    transparent 40%, rgba(90, 174, 176, 0.18) 45%, transparent 50%,
    transparent 58%, rgba(212, 166, 74, 0.12) 63%, transparent 68%);
  animation: beam-sweep 5.5s ease-in-out infinite alternate;
}
@keyframes beam-sweep { to { transform: translateX(-66%); } }

/* School events: mini equalizer bouncing along the floor */
.svc-school::before {
  left: 10%; right: 10%; bottom: 0; height: 34%;
  background: repeating-linear-gradient(90deg,
    rgba(90, 174, 176, 0.4) 0 5px, transparent 5px 13px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 70%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 70%);
  transform-origin: bottom;
  animation: eq-mini 1.25s ease-in-out infinite alternate;
}
@keyframes eq-mini {
  from { transform: scaleY(0.4); }
  to { transform: scaleY(1); }
}

/* Fundraisers and galas: slow gold shimmer catching the light */
.svc-galas::before {
  top: 0; bottom: 0; left: 0; width: 300%;
  background: linear-gradient(115deg,
    transparent 44%, rgba(212, 166, 74, 0.17) 50%, transparent 56%);
  animation: shimmer-pass 6.5s linear infinite;
}
@keyframes shimmer-pass { to { transform: translateX(-66%); } }
.service-card svg { width: 40px; height: 40px; stroke: var(--ess-teal-500); margin-bottom: 14px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.service-card p { color: var(--ess-ink-300); font-size: 0.95rem; margin: 0; }

/* ESS Network — hub-and-spoke vendor graphic, electricity pulses on the
   spokes (recovered design-system component, rebuilt 2026-08-07 from the
   lost handoff bundle; Nathan-described). */
.network { background: var(--grad-stage); text-align: center; }
.network-sub { max-width: 640px; margin: 0 auto 8px; }
.network-svg { width: 100%; max-width: 800px; height: auto; margin: 24px auto 0; display: block; }

/* Lightning bolts hub-to-node (b1-b6), each invisible most of its cycle
   then striking with a double-flicker flash. No static connector lines:
   the vendors sit dark until lightning jumps to them. Staggered delays +
   two cycle lengths keep the rhythm from feeling mechanical. */
.net-bolt {
  fill: none;
  stroke: var(--ess-teal-300);
  stroke-width: 2.25;
  stroke-linejoin: round;
  stroke-linecap: round;
  opacity: 0;
  filter: drop-shadow(0 0 7px rgba(90, 174, 176, 0.95));
  animation: bolt-strike 5.2s linear infinite;
}
.net-bolt.b1 { animation-delay: 0s; }
.net-bolt.b2 { animation-delay: 1.3s; }
.net-bolt.b3 { animation-delay: 2.6s; }
.net-bolt.b4 { animation-delay: 3.4s; animation-duration: 6.1s; }
.net-bolt.b5 { animation-delay: 0.7s; animation-duration: 6.1s; }
.net-bolt.b6 { animation-delay: 4.3s; }
@keyframes bolt-strike {
  0%, 100% { opacity: 0; }
  1.5% { opacity: 1; }
  3% { opacity: 0.15; }
  4.5% { opacity: 0.9; }
  7% { opacity: 0; }
}

.net-node rect { fill: var(--ess-ink-800); stroke: var(--ess-ink-700); stroke-width: 1.5; }
.net-node text {
  fill: #fff; font-family: var(--font-ui); font-weight: 600; font-size: 17px;
  text-anchor: middle; dominant-baseline: central;
}
/* Speaker pump: the logo itself kicks like a woofer cone — fast punch out,
   slight rebound, settle. ~70 BPM feel. No backing circle: the transparent
   logo floats over the stage gradient. */
.net-hub .hub-pump {
  animation: hub-beat 0.85s linear infinite;
  transform-origin: center; transform-box: fill-box;
}
/* Sound waves: two rings emanating from the cone, staggered half-cycle.
   Gradient stroke (teal to soft-teal to gold) via the SVG pulse-grad def. */
.net-hub .hub-halo {
  fill: none; stroke: url(#pulse-grad); stroke-width: 2; opacity: 0;
  animation: hub-wave 2.55s linear infinite;
  transform-origin: center; transform-box: fill-box;
}
.net-hub .hub-halo.h2 { animation-delay: 1.275s; }
/* Ambient teal glow between/behind the pulse rings — soft radial disc that
   breathes gently on the wave cycle. */
.net-hub .hub-glow {
  fill: url(#hub-glow-grad);
  animation: glow-breathe 2.55s ease-in-out infinite;
  transform-origin: center; transform-box: fill-box;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.7; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}
.network-cta { margin-top: 28px; }
@keyframes hub-beat {
  0% { transform: scale(1); }
  9% { transform: scale(1.075); }
  20% { transform: scale(0.985); }
  30% { transform: scale(1); }
  100% { transform: scale(1); }
}
@keyframes hub-wave {
  0% { transform: scale(0.78); opacity: 0.55; }
  80% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Mobile fallback: pill cloud replaces the SVG below 680px (labels would be
   unreadable at phone scale) */
.network-pills { display: none; }
@media (max-width: 680px) {
  .network-svg { display: none; }
  .network-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
  .network-pills .pill {
    font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem; color: #fff;
    background: var(--ess-ink-800); border: 1px solid var(--ess-ink-700);
    border-radius: 999px; padding: 10px 18px;
  }
  .network-pills .pill-hub {
    color: var(--ess-teal-400); border-color: var(--ess-teal-500);
    box-shadow: var(--glow-teal); font-family: var(--font-display); font-weight: 900;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Static faint bolts instead of animation — without them the diagram
     would show no connections at all (the grey base lines are gone). */
  .net-bolt { animation: none; opacity: 0.3; filter: none; }
  .net-hub .hub-halo { animation: none; opacity: 0.25; }
  .net-hub .hub-pump { animation: none; }
  .net-hub .hub-glow { animation: none; }
  .hero-content > * { animation: none; }
  .hero-eq span { animation: none; transform: scaleY(0.35); }
  .service-card::before, .service-card::after { animation: none; }
  body::before { animation: none; }
  .process::before, .process::after, .pricing::before, .services::before,
  .about::before, .team::before, .join::before, .faq::before,
  .reviews::before, .get-in-touch::before { animation: none; }
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.about-grid img { border-radius: 16px; box-shadow: var(--shadow-card); }

/* Team */
.team {
  background: var(--ess-ink-900);
  background-image: radial-gradient(ellipse at 50% 100%, rgba(90, 174, 176, 0.06) 0%, transparent 55%);
}
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: var(--space-6); }
.team-card { text-align: center; }
.team-card img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-card); margin-bottom: 12px; }
.team-card h3 { font-size: 0.95rem; margin: 0; }

/* Join */
.join { text-align: center; background: var(--grad-stage); }

/* FAQ */
.faq-item { border: 1px solid var(--ess-ink-700); border-radius: 12px; background: var(--ess-ink-800); margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-ui); font-weight: 600; color: #fff;
  padding: 18px 22px; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; color: var(--ess-teal-500); font-size: 1.3rem; line-height: 1; transition: transform var(--dur-fast); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--ess-ink-300); }

/* Reviews / Get in touch */
.reviews { text-align: center; }
.reviews .rating-line { color: var(--ess-ink-200); margin-bottom: 24px; }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin: 0 0 32px; text-align: left; }
.review-card { background: var(--ess-ink-800); border: 1px solid var(--ess-ink-700); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-card); margin: 0; }
.review-card .review-stars { color: var(--ess-gold-500); letter-spacing: 2px; margin-bottom: 12px; }
.review-card p { margin: 0 0 16px; color: var(--ess-ink-200); font-style: italic; }
.review-card cite { font-style: normal; font-family: var(--font-ui); font-weight: 600; color: #fff; display: block; }
.review-card .review-meta { color: var(--ess-ink-300); font-size: 0.85rem; }
@media (max-width: 720px) { .reviews-grid { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
.contact-info p { margin-bottom: 12px; }
.contact-info .label { font-family: var(--font-ui); font-weight: 600; color: #fff; }

/* Forms (booking + contact) */
.form-card {
  background: var(--ess-ink-800);
  border: 1px solid var(--ess-ink-700);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  max-width: 640px;
}
.form-card label { display: block; font-family: var(--font-ui); font-weight: 500; color: #fff; font-size: 0.9rem; margin: 14px 0 6px; }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"],
.form-card input[type="date"], .form-card input[type="time"], .form-card input[type="number"],
.form-card select, .form-card textarea {
  width: 100%;
  background: var(--ess-ink-700);
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  color: #fff;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: 2px solid var(--ess-teal-500); outline-offset: 0; border-color: var(--ess-teal-500);
}
.form-card .check-row { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.form-card .check-row input { width: auto; margin-top: 4px; }
.form-card .check-row label { margin: 0; font-weight: 400; color: var(--ess-ink-200); }
.form-card .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-slide[hidden] { display: none; }
.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.form-progress { font-family: var(--font-ui); font-size: 0.8rem; color: var(--ess-ink-300); letter-spacing: 0.22em; text-transform: uppercase; }
.btn-ghost { background: none; border: 1px solid var(--ess-ink-300); color: var(--ess-ink-200); border-radius: 999px; padding: 12px 28px; font-family: var(--font-ui); font-weight: 600; cursor: pointer; }
.btn-pill.btn-submit { border: 0; cursor: pointer; font-size: 1rem; }
.form-msg { margin-top: 16px; padding: 14px 18px; border-radius: 8px; display: none; }
.form-msg.is-error { display: block; background: #2a1313; color: #f0b9b9; border: 1px solid #5a2727; }
.form-msg.is-ok { display: block; background: #0f2323; color: var(--ess-teal-300); border: 1px solid var(--ess-teal-500); }
.field-error { color: #f0b9b9; font-size: 0.85rem; margin-top: 4px; display: none; }

/* Responsive stacks */
@media (max-width: 1000px) {
  .process-grid, .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid, .services-grid, .addons-small { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .pricing-grid, .services-grid, .process-grid, .addons-grid, .addons-small,
  .about-grid, .contact-grid, .form-card .field-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 64px 0; }
}

/* Subpages (service + area pages, 2026-09-16) */
.subpage-hero { padding: var(--space-9) 0 var(--space-6); }
.subpage-hero .lede, .subpage-cta .lede { font-size: 1.15rem; color: var(--ess-ink-200); max-width: 760px; margin: 0 0 24px; }
.subpage-section { padding: var(--space-6) 0; }
.subpage-section.alt { background: var(--ess-ink-800); }
.subpage-section p { max-width: 760px; margin: 0 0 16px; color: var(--ess-ink-200); }
.subpage-section h2 { margin-bottom: 16px; }
.subpage-list { max-width: 760px; margin: 0 0 16px; padding-left: 20px; color: var(--ess-ink-200); }
.subpage-list li { margin-bottom: 8px; }
.subpage-cta { text-align: center; }
.subpage-cta .lede { margin-left: auto; margin-right: auto; }
.subpage-cta .related { margin-top: 24px; font-family: var(--font-ui); font-size: 0.9rem; color: var(--ess-ink-300); }
.subpage-cta .related a { color: var(--ess-teal-400); margin: 0 8px; }
a.service-card { color: inherit; text-decoration: none; display: block; }
a.service-card:hover h3 { color: var(--ess-teal-400); }
.footer-links { font-family: var(--font-ui); font-size: 0.85rem; color: var(--ess-ink-300); }
.footer-links a { color: var(--ess-ink-200); margin-right: 14px; }

/* Subpage textures (2026-09-16): the home's section backgrounds are keyed to class
   names, so the six service/area pages rendered flat. Same layers, same tokens. */
.subpage-hero { position: relative; min-height: 46vh; display: flex; align-items: center; background: var(--grad-stage); overflow: hidden; padding: var(--space-9) 0 var(--space-6); }
.subpage-hero::before { content: ""; position: absolute; inset: 0; background-image: url('/assets/hero-bg.webp'); background-size: cover; background-position: center; opacity: 0.45; filter: saturate(0.85) contrast(1.05); }
.subpage-hero::after { content: ""; position: absolute; inset: 0; background: var(--grad-spot), linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.8) 100%); }
.subpage-hero .container { position: relative; z-index: 2; }
.subpage-section { position: relative; overflow: hidden; }
.subpage-section::before { content: ""; position: absolute; z-index: 0; pointer-events: none; inset: -10% -5%; background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(90, 174, 176, 0.045) 34px 38px); transform: skewX(-18deg); animation: flow-right 3s linear infinite; }
.subpage-section.alt::before { inset: auto; left: 0; right: 0; top: 0; height: 200%; transform: none; background: none; background-image: radial-gradient(3px 3px at 30px 40px, rgba(90, 174, 176, 0.3), transparent 60%), radial-gradient(2px 2px at 90px 110px, rgba(212, 166, 74, 0.26), transparent 60%), radial-gradient(2.5px 2.5px at 130px 60px, rgba(166, 216, 215, 0.22), transparent 60%), radial-gradient(2px 2px at 55px 150px, rgba(90, 174, 176, 0.2), transparent 60%); background-size: 160px 180px; animation: bubbles-rise 11s linear infinite; }
.subpage-section.pricing-mini::before { inset: 0; transform: none; animation: none; background: radial-gradient(55% 45% at 50% 42%, rgba(90, 174, 176, 0.09), transparent 70%); }
.subpage-section.subpage-cta { background: var(--grad-stage); }
.subpage-section.subpage-cta::before { inset: 0; transform: none; animation: none; background: var(--grad-spot); }
.cf-turnstile { margin: 18px 0 4px; }
