/* ============================================================
   HOLLOMAN DIGITAL - hero + intro styles
   Dark: blue-leaning near-black base, electric blue accent.
   Accent is used deliberately (CTAs, emphasis, glow) - not everywhere.
   ============================================================ */

:root {
  --bg: #05070c;            /* blue-leaning near-black (dreiraum mood, blue not purple) */
  --bg-raised: #0a0e18;
  --ink: #edf2fa;           /* primary text */
  --ink-dim: #8b95a8;       /* secondary text */
  --blue: #3d7fff;          /* electric blue accent */
  --blue-bright: #6fb4ff;   /* glow highlight */
  --blue-deep: #123064;     /* deep blue for shadows / gradients */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.accent { color: var(--blue); }

/* Gradient-glow emphasis inside the headline */
.accent-glow {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue) 0%, var(--blue-bright) 60%, #a5d8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(61, 127, 255, 0.35));
}

/* ============================================================
   INTRO OVERLAY
   ============================================================ */

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #030509;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; /* click anywhere skips */
}

.intro-inner { text-align: center; }

/* Each wordmark line sits inside an overflow mask and slides up into view */
.intro-mask { overflow: hidden; }

.intro-word {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 6rem);
  letter-spacing: 0.08em;
  line-height: 1.05;
  transform: translateY(110%); /* animated in by GSAP */
}

.intro-word-accent { color: var(--blue); text-shadow: 0 0 40px rgba(61, 127, 255, 0.5); }

.intro-line {
  height: 2px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transform: scaleX(0); /* animated in by GSAP */
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* --- WebGL layer --- */
.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0; /* faded in by the intro timeline */
}

#hero-canvas { width: 100%; height: 100%; display: block; }

/* Static fallback: soft blue aurora when WebGL / motion is unavailable.
   hero.js adds .hero-static to <body> in that case. */
.hero-static .hero-canvas-wrap {
  opacity: 1;
  background:
    radial-gradient(ellipse 80% 55% at 50% 78%, rgba(61, 127, 255, 0.22), transparent 65%),
    radial-gradient(ellipse 45% 35% at 72% 60%, rgba(18, 48, 100, 0.55), transparent 70%);
}
.hero-static #hero-canvas { display: none; }

/* Readability scrim: keeps headline + CTA clearly legible over the particles */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.55) 0%, rgba(5, 7, 12, 0.15) 35%, rgba(5, 7, 12, 0.25) 70%, var(--bg) 100%);
}

/* --- Top bar --- */
.hero-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem clamp(1.5rem, 5vw, 4rem);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

/* Anchor links - desktop only; the mobile header stays minimal */
.nav-links {
  display: flex;
  gap: 1.3rem;
  margin-right: 0.4rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links a:hover { color: var(--blue-bright); }

@media (max-width: 900px) {
  .nav-links { margin-right: 0.2rem; }
}

@media (max-width: 560px) {
  /* Slim the two header pills so brand + Demos + Let's talk fit a phone */
  .hero-nav { padding-inline: 1rem; }
  .nav-brand { font-size: 1.02rem; }
  .nav-right { gap: 0.7rem; }
  .nav-links { margin-right: 0; }
  .nav-links a.nav-demos,
  .nav-call { font-size: 0.9rem; padding: 0.5rem 0.9rem; }
}

.nav-call {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(237, 242, 250, 0.25);
  border-radius: 99px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.nav-call:hover {
  border-color: var(--blue);
  color: var(--blue-bright);
  box-shadow: 0 0 18px rgba(61, 127, 255, 0.35);
}

/* Demos link styled as the bright-blue primary pill so it stands out
   in the header on every screen size */
.nav-links a.nav-demos {
  color: #fff;
  white-space: nowrap;
  padding: 0.55rem 1.2rem;
  border-radius: 99px;
  background: var(--blue);
  box-shadow: 0 0 22px rgba(61, 127, 255, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-links a.nav-demos:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(61, 127, 255, 0.65);
}

/* --- Headline block --- */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  max-width: 68rem;
}

/* Sits inside the h1 for SEO but is styled to look exactly like the
   old standalone eyebrow paragraph - overrides the heading's display
   font, weight, and tracking */
.hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--ink-dim);
  margin-bottom: 1.4rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7.2vw, 6.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
}

/* Each headline line is masked; the inner span slides up into view */
.hero-line { display: block; overflow: hidden; }
.hero-line-inner { display: block; transform: translateY(110%); /* animated in by GSAP */ }

.hero-sub {
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--ink-dim);
  margin-bottom: 2.4rem;
}

/* Elements tagged data-hero-fade start hidden and are staggered in by GSAP */
[data-hero-fade] { opacity: 0; }

/* --- CTAs --- */
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.95rem 2.1rem;
  border-radius: 99px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 28px rgba(61, 127, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(61, 127, 255, 0.65);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(237, 242, 250, 0.25);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-bright);
  transform: translateY(-2px);
}

/* --- Scroll cue --- */
.hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.scroll-cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--blue), transparent);
  animation: cue-drop 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes cue-drop {
  0%   { transform: scaleY(0); }
  45%  { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   SECTIONS - shared layout
   ============================================================ */

.section {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(4.5rem, 9vh, 7rem) clamp(1.5rem, 5vw, 4rem);
}

.section-wide { max-width: 84rem; }

.section-head { margin-bottom: clamp(2.5rem, 6vh, 4rem); }

.kicker {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 44rem;
}

/* Even out heading line breaks - no single-word orphans.
   (Applied to the masked hero lines too, in case they wrap on
   narrow screens.) */
.hero-title,
.hero-line-inner,
.section-title,
.service-title,
.why-title,
.contact-side-title {
  text-wrap: balance;
}

/* ============================================================
   SERVICES - web design is the star, repair is a quiet aside
   ============================================================ */

.service-card {
  background: linear-gradient(160deg, var(--bg-raised) 0%, rgba(18, 48, 100, 0.25) 100%);
  border: 1px solid rgba(61, 127, 255, 0.18);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.service-lead {
  color: var(--ink-dim);
  max-width: 44rem;
  margin-bottom: 1.8rem;
}

.service-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.9rem 2rem;
}

.service-points li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.98rem;
  text-wrap: balance; /* even 2-line breaks, no orphan words */
}

/* Accent tick before each point */
.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7rem;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(61, 127, 255, 0.8);
}

/* The minor side service - deliberately quiet */
.service-aside {
  margin-top: 2rem;
  max-width: 42rem;
  font-size: 0.9rem;
  color: var(--ink-dim);
  padding-left: 1.2rem;
  border-left: 2px solid rgba(61, 127, 255, 0.35);
}

/* ============================================================
   WHY ME
   ============================================================ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.4rem;
}

.why-card {
  background: var(--bg-raised);
  border: 1px solid rgba(237, 242, 250, 0.08);
  border-radius: 20px;
  padding: 2.2rem 1.9rem;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* Hovered cards take the FULL featured treatment - glow, gradient and
   all - so the spotlight the featured card hands off lands here */
.why-card:hover {
  border-color: rgba(61, 127, 255, 0.4);
  transform: translateY(-4px);
  background: linear-gradient(170deg, var(--bg-raised) 0%, rgba(18, 48, 100, 0.35) 100%);
  box-shadow: 0 0 40px rgba(61, 127, 255, 0.12);
}

/* The ownership differentiator gets the accent treatment */
.why-card-featured {
  border-color: rgba(61, 127, 255, 0.35);
  background: linear-gradient(170deg, var(--bg-raised) 0%, rgba(18, 48, 100, 0.35) 100%);
  box-shadow: 0 0 40px rgba(61, 127, 255, 0.12);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* When a DIFFERENT card is hovered, the featured card hands off its
   glow so the hovered one takes the spotlight */
.why-grid:has(.why-card:hover) .why-card-featured:not(:hover) {
  border-color: rgba(237, 242, 250, 0.08);
  background: var(--bg-raised);
  box-shadow: none;
}

.why-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.why-card p { color: var(--ink-dim); font-size: 0.96rem; }

/* ============================================================
   RECENT WORK - horizontal side-scroll showcase
   One row of site shots. With JS, the section pins and vertical
   scrolling drives the row sideways (GSAP). Without JS or with
   reduced motion, it's a native swipeable carousel with snap.
   ============================================================ */

.work-showcase {
  display: flex;
  gap: clamp(1.4rem, 3vw, 2.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(61, 127, 255, 0.35) transparent;
}

.work-slide {
  margin: 0;
  flex: 0 0 min(78vw, 34rem);
  scroll-snap-align: center;
}

.work-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(237, 242, 250, 0.1);
  background: var(--bg-raised);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: border-color 0.3s ease;
}

/* The shot itself is a link to the live client site */
.work-link { display: block; border-radius: 18px; }
.work-link:hover img { border-color: rgba(61, 127, 255, 0.55); }

/* Centered button under the showcase linking to /demos/ */
.work-cta {
  margin-top: 2.6rem;
  text-align: center;
}
.work-cta .btn { display: inline-block; }

.work-visit {
  color: var(--blue-bright);
  text-decoration: none;
  white-space: nowrap;
}

.work-visit:hover { text-shadow: 0 0 12px rgba(61, 127, 255, 0.6); }

/* Stacked caption: company name across its own line, trade + city
   in a smaller line underneath */
.work-slide figcaption {
  padding: 1rem 0.4rem 0;
}

.work-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
}

.work-meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--ink-dim);
}

/* --- Desktop pinned mode (added by JS at 768px+): the zoom-through
   showcase. Slides stack on top of each other in a full-viewport
   stage; the GSAP timeline zooms each one in, holds, and zooms
   through to the next. Mobile never gets this class - it keeps the
   swipeable carousel above. --- */
.work-showcase.is-pinned {
  display: block;
  position: relative;
  height: 84svh;
  overflow: visible;
  scroll-snap-type: none;
  padding-bottom: 0;
}

.work-showcase.is-pinned .work-slide {
  position: absolute;
  inset: 0;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0; /* the timeline fades each slide in and out */
  will-change: transform, opacity;
}

/* Size the shot to fit the stage: capped by rem, viewport width,
   and viewport height (images are 960x691, ratio ~1.39) */
.work-showcase.is-pinned .work-slide img {
  width: min(56rem, 86vw, 88vh);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(61, 127, 255, 0.08);
}

.work-showcase.is-pinned .work-slide figcaption {
  width: min(56rem, 86vw, 88vh);
}

/* ============================================================
   REVIEWS - real Google reviews on dark cards
   ============================================================ */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.4rem;
}

.review-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid rgba(237, 242, 250, 0.08);
  border-radius: 20px;
  padding: 2rem 1.9rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.review-card:hover { border-color: rgba(61, 127, 255, 0.4); transform: translateY(-4px); }

.review-stars {
  color: var(--blue);
  font-size: 1.05rem;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
  text-shadow: 0 0 12px rgba(61, 127, 255, 0.5);
}

.review-text {
  color: var(--ink-dim);
  font-size: 0.96rem;
  flex-grow: 1;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.4rem;
}

.review-name {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
}

.review-source { font-size: 0.8rem; color: var(--ink-dim); white-space: nowrap; }

/* Static GBP rating line under the Reviews heading */
.reviews-rating {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--ink-dim);
}

.reviews-rating .rating-stars {
  color: var(--blue);
  letter-spacing: 0.15em;
  text-shadow: 0 0 10px rgba(61, 127, 255, 0.5);
}

.reviews-rating a { color: var(--ink); text-decoration: underline; }
.reviews-rating a:hover { color: var(--blue-bright); }

.reviews-cta { margin-top: 2rem; }

.reviews-cta a {
  color: var(--blue-bright);
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
}

.reviews-cta a:hover { text-shadow: 0 0 16px rgba(61, 127, 255, 0.6); }

/* ============================================================
   ABOUT - oversized background word + short personal note
   ============================================================ */

.about {
  overflow: hidden;
  min-height: 62svh;
  display: flex;
  align-items: center;
}

/* The returning particle system (galaxy swirl) sits behind the text.
   Kept dim so the text - and the form right after - stay the focus. */
.about-canvas-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Scrim over the swirl: darkens behind the text and melts the
   particles into the background at the section's top and bottom,
   so the beat never fights the copy or the form below it */
.about-canvas-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.85) 0%, rgba(5, 7, 12, 0.45) 40%, rgba(5, 7, 12, 0.05) 70%),
    linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 72%, var(--bg) 100%);
}

#about-canvas { width: 100%; height: 100%; display: block; }

/* Static fallback: soft blue glow when WebGL / motion is unavailable
   (js/about-scene.js adds .static to the wrap in that case) */
.about-canvas-wrap.static {
  background: radial-gradient(ellipse 55% 45% at 68% 50%, rgba(61, 127, 255, 0.14), transparent 68%);
}
.about-canvas-wrap.static #about-canvas { display: none; }

.about-inner { position: relative; max-width: 40rem; }

.about-text { color: var(--ink-dim); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.about-text + .about-text { margin-top: 1.1rem; }

/* ============================================================
   FAQ - dark accordion cards
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 52rem;
}

.faq-item {
  background: var(--bg-raised);
  border: 1px solid rgba(237, 242, 250, 0.08);
  border-radius: 16px;
  transition: border-color 0.3s ease;
}

.faq-item:hover, .faq-item[open] { border-color: rgba(61, 127, 255, 0.4); }

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  cursor: pointer;
  list-style: none; /* hide default marker */
  padding: 1.3rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

/* Plus icon that rotates into an x when open */
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--blue);
}

.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }

.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-item p {
  padding: 0 1.6rem 1.4rem;
  color: var(--ink-dim);
  font-size: 0.96rem;
  max-width: 46rem;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-sub { color: var(--ink-dim); margin-top: 1.2rem; max-width: 34rem; }

.contact-card {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  background: var(--bg-raised);
  border: 1px solid rgba(61, 127, 255, 0.18);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@media (max-width: 820px) {
  .contact-card { grid-template-columns: 1fr; }
}

.contact-form { display: flex; flex-direction: column; gap: 1.3rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.contact-form label { display: flex; flex-direction: column; gap: 0.45rem; }

.contact-form label span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: rgba(5, 7, 12, 0.6);
  border: 1px solid rgba(237, 242, 250, 0.15);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form select { appearance: none; cursor: pointer; }
.contact-form textarea { resize: vertical; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(61, 127, 255, 0.2);
}

.btn-submit { border: none; cursor: pointer; align-self: flex-start; }

.contact-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  border-left: 1px solid rgba(237, 242, 250, 0.1);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 820px) {
  .contact-side { border-left: none; padding-left: 0; border-top: 1px solid rgba(237, 242, 250, 0.1); padding-top: 1.8rem; }
}

.contact-side-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }

.contact-phone {
  color: var(--blue-bright);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  text-decoration: none;
}

.contact-phone:hover { text-shadow: 0 0 16px rgba(61, 127, 255, 0.6); }

.contact-email {
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-email:hover { color: var(--blue-bright); }

.contact-side-note { font-size: 0.85rem; color: var(--ink-dim); }

/* ============================================================
   CITY PAGES - static glow header (no WebGL; Three.js stays
   homepage-only), prose sections, mini work proof
   ============================================================ */

.page-hero {
  position: relative;
  min-height: 74svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(6rem, 14vh, 9rem) 0 clamp(4rem, 9vh, 6rem);
}

/* Base glow layer: also the static fallback when WebGL is out */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(61, 127, 255, 0.14), transparent 65%),
    radial-gradient(ellipse 40% 35% at 80% 25%, rgba(18, 48, 100, 0.4), transparent 70%);
}

/* The particle wave (lighter build of the homepage hero) */
.page-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#city-canvas { width: 100%; height: 100%; display: block; }

/* Readability scrim between particles and text */
.page-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.5) 0%, rgba(5, 7, 12, 0.12) 40%, rgba(5, 7, 12, 0.3) 75%, var(--bg) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.crumb {
  font-size: 0.85rem;
  color: var(--ink-dim);
  margin-bottom: 1.6rem;
}

.crumb a { color: var(--ink-dim); text-decoration: none; }
.crumb a:hover { color: var(--blue-bright); }

.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1.4rem;
}

.page-sub {
  max-width: 38rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--ink-dim);
  margin-bottom: 2.2rem;
}

/* Prose sections on city pages */
.city-text {
  color: var(--ink-dim);
  max-width: 44rem;
  margin-bottom: 1.1rem;
}

.city-text a { color: var(--blue-bright); text-decoration: none; }
.city-text a:hover { text-shadow: 0 0 14px rgba(61, 127, 255, 0.5); }

.city-text strong { color: var(--ink); font-weight: 600; }

/* Two-tile local work proof */
.work-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: clamp(1.4rem, 3vw, 2.2rem);
  margin-top: 2.2rem;
}

/* Inline phone CTA that recurs through the page */
.city-call {
  display: inline-block;
  margin: 0.8rem 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--blue-bright);
  text-decoration: none;
}

.city-call:hover { text-shadow: 0 0 16px rgba(61, 127, 255, 0.6); }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(237, 242, 250, 0.08);
  font-size: 0.85rem;
  color: var(--ink-dim);
}

.footer a { color: var(--ink-dim); text-decoration: none; }
.footer a:hover { color: var(--blue-bright); }

.footer-trust { margin-top: 0.3rem; font-size: 0.8rem; opacity: 0.8; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
}

/* "Areas I serve" row - links every page to the city pages */
.footer-areas {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(237, 242, 250, 0.08);
  font-size: 0.85rem;
}

.footer-areas span { color: var(--ink-dim); }

/* ============================================================
   REDUCED MOTION
   JS also checks this, but the CSS guarantees a sane static state.
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  .intro-word, .hero-line-inner { transform: none; }
  .intro-line { transform: none; }
  [data-hero-fade] { opacity: 1; }
  .hero-canvas-wrap { opacity: 1; }
  .scroll-cue-line { animation: none; transform: none; }
}
