/* Peakwave Electrical — homepage styles
   Brand colours (see brief): Mine Shaft #343434, Eastern Blue #268bb8, Alto #d6d6d6, Hippie Blue #609cb2 */

:root {
  --bg: #0a0b0d;
  --bg-alt: #0d1013;
  --bg-alt-2: #10181c;
  --bg-alt-3: #12151a;
  --bg-alt-4: #10141a;
  --bg-footer: #060708;
  --panel: linear-gradient(160deg, #3a3b3d, #242527);
  --panel-2: linear-gradient(160deg, #262b30, #1c2024);
  --eastern-blue: #268bb8;
  --hippie-blue: #609cb2;
  --accent: #7fc7ec;
  --text: #e7e7e7;
  --text-soft: #c4c4c4;
  --text-mute: #b6b6b6;
  --text-dim: #8a8a8a;
  --border-accent: rgba(127, 199, 236, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
}

.text-accent { color: var(--accent); font-weight: 600; }

.link-accent {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.link-accent:hover { text-decoration: underline; }

/* Cursor glow (desktop only, decorative) */
#cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  margin-left: -210px; margin-top: -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(38,139,184,0.14), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
  will-change: transform;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 14px 26px;
  transition: transform .15s ease-out, box-shadow .2s, background .2s, border-color .2s;
  border: none;
  cursor: pointer;
}
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--wa {
  color: #ffffff;
  background: linear-gradient(135deg, var(--eastern-blue), var(--hippie-blue));
  box-shadow: 0 10px 28px rgba(38,139,184,0.45);
}
.btn--wa:hover { box-shadow: 0 14px 34px rgba(38,139,184,0.6); transform: translateY(-1px); }
.btn--outline {
  background: rgba(127,199,236,0.08);
  color: #eaf6fc;
  border: 2px solid rgba(127,199,236,0.4);
}
.btn--outline:hover { background: rgba(127,199,236,0.14); border-color: rgba(127,199,236,0.6); }
.icon-wa, .icon-call { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,9,11,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(127,199,236,0.1);
  padding: 18px clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative;
  color: var(--text-mute);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 16px;
  white-space: nowrap;
  transition: color .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--eastern-blue), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.nav__link:hover { color: #ffffff; }
.nav__link:hover::after { transform: scaleX(1); }
.nav__wa { padding: 11px 22px; font-size: 14px; }
.nav__wa-mobile-only { display: none; }
.nav__toggle {
  display: none;
  background: rgba(127,199,236,0.1);
  border: 1px solid rgba(127,199,236,0.25);
  border-radius: 10px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 979px) {
  .nav__wa { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    z-index: 49;
    background: #111417;
    border-bottom: 1px solid rgba(127,199,236,0.12);
    padding: 16px clamp(20px, 5vw, 64px) 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav__links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__link {
    padding: 14px 4px;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: none;
    border-bottom: 1px solid rgba(127,199,236,0.1);
  }
  .nav__link::after { left: 4px; right: 4px; bottom: 4px; }
  .nav__wa-mobile-only {
    display: flex;
    justify-content: center;
    margin-top: 8px;
  }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(38,139,184,0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 30%, rgba(96,156,178,0.12), transparent 60%),
    var(--bg);
  padding: 64px clamp(20px, 4vw, 48px) 0;
}
.hero__wrap { max-width: 1280px; margin: 0 auto; position: relative; }
.hero__glow {
  position: absolute;
  top: -40px; right: 0;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38,139,184,0.32), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  animation: floatY 10s ease-in-out infinite;
}
.hero__panel {
  position: relative;
  background: var(--panel);
  border-radius: 32px;
  padding: clamp(40px, 6vw, 84px) clamp(28px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55);
  overflow: hidden;
  opacity: 0;
  transform: translateY(26px);
  animation: fadeInUp .9s cubic-bezier(.16,1,.3,1) .1s forwards;
}
.hero__copy { max-width: 560px; flex: 1 1 320px; min-width: 0; position: relative; z-index: 1; }
.hero__title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1.08;
  color: var(--accent);
  margin: 0;
  text-shadow: 0 0 30px rgba(38,139,184,0.55), 0 0 70px rgba(96,156,178,0.3);
}
.hero__sub {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 24px 0 0;
  max-width: 480px;
  border-top: 1px solid rgba(138,138,138,0.35);
  padding-top: 24px;
}
.hero__sub strong { color: #f2f2f2; font-weight: 600; }
.hero__ctas { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero__figure { flex: 0 1 auto; display: flex; justify-content: center; position: relative; z-index: 1; }
.hero__img {
  position: relative;
  height: clamp(280px, 36vw, 540px);
  width: auto;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

@media (max-width: 680px) {
  /* On mobile, sit the character beside the buttons rather than dropping it
     full-width below the whole copy block. .hero__copy is promoted to
     "display: contents" so its children (title/sub/ctas) become direct grid
     items of .hero__panel and can be placed independently of one another. */
  .hero__panel {
    display: grid;
    /* Figure column is a real fraction of the width (not a small fixed cap)
       so the character scales up properly instead of staying tiny. */
    grid-template-columns: minmax(150px, 1fr) minmax(110px, 42%);
    grid-template-areas:
      "title  title"
      "sub    sub"
      "ctas   figure";
    align-items: end;
    gap: 14px 16px;
  }
  .hero__copy { display: contents; }
  .hero__title { grid-area: title; }
  .hero__sub { grid-area: sub; max-width: none; }
  .hero__ctas {
    grid-area: ctas;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 4px;
    gap: 12px;
  }
  .hero__figure { grid-area: figure; justify-self: stretch; align-self: end; }
  .hero__img { width: 100%; height: auto; max-height: 340px; }
}

/* Ticker */
.ticker {
  margin-top: 56px;
  padding: 22px 0;
  background: var(--bg-alt);
  border-top: 1px solid rgba(127,199,236,0.08);
  border-bottom: 1px solid rgba(127,199,236,0.08);
  overflow: hidden;
}
.ticker__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #8fb9cc;
  white-space: nowrap;
}
.ticker__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--eastern-blue); }

/* ---------- Section shell + reveal ---------- */
.section { padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 64px); }
.section__title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(30px, 3.6vw, 42px);
  color: #ffffff;
  margin: 0;
}
.section__title--center { text-align: center; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Services ---------- */
.section--services { background: radial-gradient(ellipse 800px 500px at 90% 0%, rgba(38,139,184,0.10), transparent 60%), var(--bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 52px;
}
.service-card {
  display: block;
  background: var(--panel-2);
  border: 1px solid rgba(127,199,236,0.1);
  border-radius: 20px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 16px 34px rgba(0,0,0,0.4);
  transition: transform .15s ease-out, box-shadow .2s, border-color .2s;
}
@media (hover: hover) {
  .service-card:hover { transform: perspective(800px) rotateX(2deg) rotateY(-2deg) translateY(-2px); border-color: rgba(127,199,236,0.3); }
}
.service-card__icon {
  width: 76px; height: 76px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(127,199,236,0.16), rgba(127,199,236,0.03));
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-card__name {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #ffffff;
  margin-bottom: 8px;
}
.service-card__desc { display: block; font-size: 15px; line-height: 1.55; color: var(--text-mute); }
.services__catchall { text-align: center; margin-top: 48px; font-size: 16px; color: var(--text-mute); }

/* ---------- Standards ---------- */
.section--standards { background: var(--bg-alt-2); padding-top: clamp(90px, 11vw, 150px); padding-bottom: clamp(90px, 11vw, 150px); }
.standards { max-width: 820px; margin: 0 auto; }
.standards__stage { position: relative; min-height: clamp(90px, 10vw, 120px); }
.standards__text {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.4;
  color: #eaf6fc;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
}
.standards__text.is-shown { opacity: 1; transform: translateY(0); }
.standards__text.is-out { opacity: 0; transform: translateY(-16px); }
/* visibility (not display) so hiding the cursor after typing never
   shrinks the centered line's width and shifts the text sideways */
.standards__cursor { margin-left: 3px; color: var(--accent); visibility: hidden; animation: blinkCursor .9s steps(1) infinite; }
.standards__cursor.is-visible { visibility: visible; }
.standards__dots { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.standards__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(127,199,236,0.25); transition: background .3s; }
.standards__dot--active { background: var(--accent); }

/* ---------- Service areas ---------- */
.section--areas { background: radial-gradient(ellipse 800px 500px at 85% 20%, rgba(38,139,184,0.10), transparent 60%), var(--bg-alt); }
.areas-panel {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  padding: clamp(64px, 10vw, 120px) clamp(24px, 6vw, 64px);
  overflow: hidden;
  text-align: center;
}
.areas-panel__bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(1300px, 170%);
  opacity: 0.12;
  pointer-events: none;
}
.areas-panel__content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.areas__body { font-size: 19px; line-height: 1.75; color: var(--text-soft); margin-top: 20px; }
.areas__tags {
  position: relative; z-index: 1;
  max-width: 820px; margin: 40px auto 0;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(127,199,236,0.08);
  border: 1px solid rgba(127,199,236,0.22);
  color: #dcdcdc;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.areas__closing {
  position: relative; z-index: 1;
  margin-top: 24px;
  font-size: 16px; font-weight: 600;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(38,139,184,0.55), 0 0 46px rgba(96,156,178,0.3);
}

@media (max-width: 680px) {
  .areas__tags { justify-content: center; gap: 8px; }
  .pill { padding: 7px 13px; font-size: 13px; }
}

/* ---------- About ---------- */
.section--about { background: radial-gradient(ellipse 900px 600px at 10% 10%, rgba(38,139,184,0.13), transparent 60%), var(--bg-alt-3); }
.about-panel {
  max-width: 1160px; margin: 0 auto;
  background: var(--panel-2);
  border: 1px solid rgba(127,199,236,0.1);
  border-radius: 32px;
  padding: clamp(40px, 6vw, 72px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.about-panel__story { max-width: 800px; }
.about__lead {
  font-size: clamp(24px, 2.6vw, 29px);
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 20px 0 32px;
}
.about__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(138,138,138,0.25);
  max-width: 600px;
}
.about__closing {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: #f2f2f2;
  letter-spacing: -0.01em;
  margin: 28px 0 0;
}
.founder {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(300px, 1.5fr);
  gap: 40px;
  align-items: center;
  margin-top: 56px;
  position: relative;
  background: linear-gradient(135deg, rgba(127,199,236,0.1), rgba(127,199,236,0.02));
  border: 1px solid rgba(127,199,236,0.16);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
}
.founder__mark { display: flex; justify-content: center; position: relative; }
.founder__mark::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,199,236,0.38), transparent 70%);
  filter: blur(16px);
}
.founder__mark-img {
  position: relative;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(9,13,16,0.55);
  border: 1px solid rgba(127,199,236,0.4);
  padding: 25px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.founder__note p {
  font-size: 18px;
  line-height: 1.75;
  color: #e4e4e4;
  font-style: italic;
  margin: 16px 0 0;
}

@media (max-width: 640px) {
  /* Below this the two founder columns (220px + 300px min) no longer fit
     side by side — stack them instead of letting the note overflow off-screen. */
  .about-panel { padding: 28px 20px; }
  .founder {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
    margin-top: 40px;
  }
  .founder__mark-img { width: 140px; height: 140px; padding: 20px; }
  .founder__note {
    /* Two nested card paddings were squeezing this column down to ~26
       characters per line; left-align + a touch smaller so it reads as
       normal paragraphs instead of a narrow, choppy strip. */
    text-align: left;
    margin-top: 20px;
  }
  .founder__note p { font-size: 16px; }
}

/* ---------- Blog ---------- */
.section--blog { background: radial-gradient(ellipse 700px 500px at 90% 90%, rgba(38,139,184,0.09), transparent 60%), var(--bg); }
.section--blog .section__title { margin-bottom: 48px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.blog-card {
  display: block;
  background: var(--panel-2);
  border: 1px solid rgba(127,199,236,0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(38,139,184,0.22); }
.blog-card__icon-wrap {
  margin: 28px 24px 0;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(127,199,236,0.16), rgba(127,199,236,0.03));
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
}
.blog-card__icon { height: 26px; width: auto; transition: filter .2s; }
.blog-card:hover .blog-card__icon { animation: boltZap .6s ease-in-out; }
.blog-card__body { padding: 20px 24px 24px; }
.blog-card__cat { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--hippie-blue); }
.blog-card__title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 19px; color: #fff; margin: 8px 0 0; }
.blog-card__date { font-size: 13px; color: var(--text-dim); margin-top: 6px; }
.blog-card__excerpt { font-size: 15px; line-height: 1.55; color: var(--text-mute); margin-top: 12px; }

/* ---------- Contact ---------- */
.section--contact { background: radial-gradient(ellipse 800px 600px at 50% 0%, rgba(38,139,184,0.14), transparent 60%), var(--bg-alt-4); }
.contact-panel {
  max-width: 680px; margin: 0 auto;
  background: var(--panel-2);
  border: 1px solid rgba(127,199,236,0.1);
  border-radius: 32px;
  padding: clamp(40px, 7vw, 72px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  text-align: center;
}
.contact__ctas { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.contact__phone { margin-top: 28px; font-size: 22px; font-weight: 600; color: #fff; }
.contact__hours { margin-top: 8px; font-size: 14px; color: var(--text-mute); }
.contact__email { margin-top: 16px; font-size: 15px; color: var(--text-mute); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-footer); padding: 64px clamp(20px, 6vw, 64px) 32px; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(127,199,236,0.1);
}
.footer__logo { height: 40px; width: auto; }
.footer__tagline { font-size: 14px; color: var(--text-mute); margin-top: 16px; max-width: 220px; line-height: 1.55; }
.footer__heading {
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__link { display: block; color: var(--text-mute); font-size: 14px; margin-bottom: 10px; text-decoration: none; }
.footer__link:hover { color: var(--accent); }
.footer__hours { color: var(--text-mute); font-size: 14px; margin: 0; }
.footer__areas { color: var(--text-mute); font-size: 14px; line-height: 1.8; margin: 0; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding-top: 24px;
}
.footer__copy { color: var(--text-dim); font-size: 13px; }
.footer__socials { display: flex; gap: 20px; }
.footer__social { color: var(--text-dim); font-size: 13px; text-decoration: none; }
.footer__social:hover { color: var(--accent); }

/* ---------- Areas page ---------- */
.section--areas-hero {
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(38,139,184,0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 30%, rgba(96,156,178,0.12), transparent 60%),
    var(--bg);
  text-align: center;
}
/* A defined card, not raw text floating on the gradient — and the long
   intro copy is split into a short bold "lead" + a muted supporting
   paragraph below a divider (same recipe as .about__lead / .about__body),
   so it reads as two deliberate tiers instead of one dense wall of text. */
.areas-hero-panel {
  max-width: 880px;
  margin: 0 auto;
  background: var(--panel-2);
  border: 1px solid rgba(127,199,236,0.1);
  border-radius: 32px;
  padding: clamp(40px, 6vw, 64px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  text-align: center;
}
.areas-hero__title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.35;
  color: var(--accent);
  margin: 0 auto;
  text-shadow: 0 0 30px rgba(38,139,184,0.55), 0 0 70px rgba(96,156,178,0.3);
}
.areas-hero__lead {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.5;
  color: #f2f2f2;
  max-width: 620px;
  margin: 28px auto 0;
}
.areas-hero__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mute);
  max-width: 600px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(138,138,138,0.25);
}

.section--area-groups { background: var(--bg-alt); }
.area-groups { display: flex; flex-direction: column; gap: 24px; }
.area-group {
  background: var(--panel-2);
  border: 1px solid rgba(127,199,236,0.1);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.35);
}
.area-group__title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 26px);
  color: #ffffff;
  margin: 0;
}
.area-group__desc { font-size: 15px; color: var(--text-mute); margin: 8px 0 20px; }
.area-group__tags { display: flex; flex-wrap: wrap; gap: 10px; }

.section--areas-cta { background: radial-gradient(ellipse 800px 600px at 50% 0%, rgba(38,139,184,0.14), transparent 60%), var(--bg-alt-4); }
.areas-cta__body { font-size: 17px; line-height: 1.7; color: var(--text-soft); max-width: 460px; margin: 16px auto 0; }

/* ---------- Legal / privacy page ----------
   Deliberately plain: no radial-glow section background, no accent-glow
   heading text-shadow — this is a legal document, not marketing content. */
.section--legal { background: var(--bg-alt); }
.legal-panel {
  max-width: 820px;
  margin: 0 auto;
  background: var(--panel-2);
  border: 1px solid rgba(127,199,236,0.1);
  border-radius: 32px;
  padding: clamp(36px, 6vw, 64px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.legal-panel__title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(28px, 3.6vw, 40px);
  color: #ffffff;
  margin: 0;
}
.legal-panel__updated { font-size: 14px; color: var(--text-dim); margin: 12px 0 0; }
.legal-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(138,138,138,0.2);
}
.legal-section__title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #ffffff;
  margin: 0 0 12px;
}
.legal-section__body { font-size: 16px; line-height: 1.75; color: var(--text-soft); margin: 0; }
.legal-section__body a { color: var(--accent); font-weight: 600; text-decoration: none; }
.legal-section__body a:hover { text-decoration: underline; }

/* ---------- Blog post article ---------- */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mute);
  text-decoration: none;
  margin-bottom: 24px;
}
.article-back:hover { color: var(--accent); }
.article-header { text-align: center; }
.article-icon {
  width: 88px; height: 88px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(127,199,236,0.16), rgba(127,199,236,0.03));
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.article-icon img { height: 40px; width: auto; }
.article-cat { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--hippie-blue); margin-top: 20px; }
.article-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.25;
  color: #ffffff;
  margin: 10px 0 0;
}
.article-date { font-size: 14px; color: var(--text-dim); margin: 10px 0 0; }
.article-body {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(138,138,138,0.2);
}
.article-body p { font-size: 17px; line-height: 1.8; color: var(--text-soft); margin: 0 0 22px; }
.article-body p:last-child { margin-bottom: 0; }
.article-cta {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(138,138,138,0.2);
  text-align: center;
}
.article-cta__text {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 600;
  color: #f2f2f2;
  max-width: 520px;
  margin: 0 auto 24px;
}

/* ---------- Keyframes ---------- */
@keyframes floatY { 0% { transform: translateY(0); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blinkCursor { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes boltZap {
  0%, 100% { transform: scale(1) rotate(0); filter: drop-shadow(0 0 0 rgba(127,199,236,0)); }
  20% { transform: scale(1.15) rotate(-6deg); filter: drop-shadow(0 0 14px rgba(127,199,236,0.9)); }
  40% { transform: scale(0.95) rotate(4deg); filter: drop-shadow(0 0 4px rgba(127,199,236,0.4)); }
  60% { transform: scale(1.12) rotate(-3deg); filter: drop-shadow(0 0 16px rgba(127,199,236,0.9)); }
  80% { transform: scale(1) rotate(0); filter: drop-shadow(0 0 6px rgba(127,199,236,0.5)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__glow, .ticker__track, .hero__panel, .standards__cursor, .blog-card:hover .blog-card__icon {
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}
