site-route-scene {
  display: block;
}

/* Keep the shared route scene pinned behind the full homepage story. */
site-route-scene[variant="home"] {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  z-index: 0;
}
:root {
  --header-height: 0px;
  --bg-deep: #050816;
  --bg-mid: #09162d;
  --text-main: #ecf7ff;
  --text-soft: rgba(236, 247, 255, 0.78);
  --text-muted: rgba(236, 247, 255, 0.62);
  --accent-cyan: #46e4ff;
  --accent-lime: #5afab3;
  --accent-gold: #fff38f;
  --line-soft: rgba(121, 241, 255, 0.18);
  --shadow-soft: 0 28px 90px rgba(0, 0, 0, 0.42);
  --energy-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 44px);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text-main);
  background: #030611;
  font-family: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
strong,
.panel-label,
.service-badge,
.point-tag,
.section-kicker,
.contact-label,
.meta-label,
.info-title {
  font-family: "Bahnschrift", "Franklin Gothic Medium", sans-serif;
}

p {
  margin: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1rem clamp(0.85rem, 2vw, 1.75rem);
}

.site-header-frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(70, 228, 255, 0.1);
  border-radius: 1.45rem;
  background:
    linear-gradient(180deg, rgba(8, 18, 34, 0.92), rgba(4, 10, 20, 0.72)),
    rgba(5, 12, 24, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.navbar-brand,
.navbar-logo-link {
  display: inline-flex;
  align-items: center;
}

.logo {
  width: auto;
  height: clamp(3.2rem, 5vw, 4.4rem);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.navbar-top-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.language-switcher a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher img {
  width: 1.3rem;
  height: 1.3rem;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navbar-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.navbar-menu a:hover,
.navbar-menu a.is-current {
  color: var(--text-main);
  border-color: rgba(70, 228, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}

.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--text-main);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

html.compact-motion .site-header-frame,
html.compact-motion .status-panel,
html.compact-motion .home-intro-panel,
html.compact-motion .service-point,
html.compact-motion .story-card,
html.compact-motion .contact-form-wrap,
html.compact-motion .stat-card,
html.compact-motion .service-card,
html.compact-motion .details-card,
html.compact-motion .about-photo-frame {
  backdrop-filter: none;
}

html.compact-motion .scanline,
html.compact-motion .signal-orb,
html.compact-motion .scroll-prompt {
  display: none;
}

html.compact-motion .grid-field,
html.compact-motion .energy-wash,
html.compact-motion .signal-orb-one,
html.compact-motion .signal-orb-two {
  transform: none;
}

html.compact-motion .wire-progress,
html.compact-motion .wire-node,
html.compact-motion .wire-node-end {
  filter: none;
}

html.compact-motion .charge-dot {
  box-shadow: 0 0 18px rgba(70, 228, 255, 0.28);
}

html.compact-motion .service-point {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

html.ios-phone-fling .site-header-frame,
html.ios-phone-fling .status-panel,
html.ios-phone-fling .home-intro-panel,
html.ios-phone-fling .service-point,
html.ios-phone-fling .story-card,
html.ios-phone-fling .contact-form-wrap,
html.ios-phone-fling .stat-card,
html.ios-phone-fling .service-card,
html.ios-phone-fling .details-card,
html.ios-phone-fling .about-photo-frame {
  backdrop-filter: none;
}

html.ios-phone-fling .scanline,
html.ios-phone-fling .signal-orb,
html.ios-phone-fling .scroll-prompt {
  display: none;
}

html.ios-phone-fling .grid-field,
html.ios-phone-fling .energy-wash,
html.ios-phone-fling .signal-orb-one,
html.ios-phone-fling .signal-orb-two {
  transform: none;
}

html.ios-phone-fling .wire-progress,
html.ios-phone-fling .wire-node,
html.ios-phone-fling .wire-node-end {
  filter: none;
}

html.ios-phone-fling .charge-dot {
  box-shadow: 0 0 18px rgba(70, 228, 255, 0.28);
}

html.ios-phone-fling .service-point {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.power-shell {
  position: relative;
  z-index: 1;
  background: transparent;
  isolation: isolate;
}

.power-story {
  position: relative;
  background: transparent;
  isolation: isolate;
}

.power-sticky {
  position: fixed;
  inset: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  z-index: 0;
}

.power-gradient,
.grid-field,
.energy-wash,
.scanline,
.signal-orb {
  position: absolute;
}

.power-gradient,
.grid-field,
.energy-wash,
.scanline {
  inset: 0;
}

.power-gradient {
  background:
    linear-gradient(180deg, #030611 0%, #0a1730 32%, #103453 60%, #090f1f 100%);
}

.grid-field {
  background-image:
    linear-gradient(rgba(70, 228, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 228, 255, 0.08) 1px, transparent 1px);
  background-size: 62px 62px;
  opacity: 0.5;
  transform: translate3d(0, calc(var(--energy-progress) * -8vh), 0);
}

.energy-wash {
  background:
    radial-gradient(circle at 22% 24%, rgba(90, 250, 179, 0.22), transparent 24%),
    radial-gradient(circle at 78% 14%, rgba(70, 228, 255, 0.22), transparent 28%),
    radial-gradient(circle at 50% 76%, rgba(255, 243, 143, 0.12), transparent 20%);
  opacity: calc(0.86 - (var(--energy-progress) * 0.18));
  transform: scale(calc(1 + var(--energy-progress) * 0.05));
}

.scanline {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(70, 228, 255, 0.16) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  inset: auto 0 auto 0;
  top: calc(12vh + (var(--energy-progress) * 58vh));
  height: 22vh;
  mix-blend-mode: screen;
  opacity: 0.34;
}

.signal-orb {
  width: 20rem;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.22;
}

.signal-orb-one {
  top: 16vh;
  right: 26vw;
  background: radial-gradient(circle, rgba(70, 228, 255, 0.7), transparent 68%);
  transform: translate3d(0, calc(var(--energy-progress) * -5vh), 0);
}

.signal-orb-two {
  bottom: 16vh;
  left: 28vw;
  background: radial-gradient(circle, rgba(90, 250, 179, 0.6), transparent 68%);
  transform: translate3d(0, calc(var(--energy-progress) * 4vh), 0);
}

.status-panel {
  position: absolute;
  top: calc(var(--header-height) + 1.25rem);
  right: clamp(0.85rem, 2vw, 1.6rem);
  z-index: 7;
  width: min(30rem, calc(100vw - 1.7rem));
  padding: 1.2rem;
  border: 1px solid rgba(70, 228, 255, 0.1);
  border-radius: 1.55rem;
  background:
    linear-gradient(180deg, rgba(8, 18, 34, 0.84), rgba(4, 10, 20, 0.58)),
    rgba(7, 14, 29, 0.56);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.panel-label,
.section-kicker,
.eyebrow,
.meta-label,
.point-tag,
.contact-label,
.info-title {
  color: var(--text-muted);
  font-size: 0.73rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.7rem;
  padding: 0.5rem 0.82rem;
  border: 1px solid rgba(255, 243, 143, 0.22);
  border-radius: 999px;
  background: rgba(255, 243, 143, 0.08);
  color: var(--accent-gold);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-panel h2 {
  margin: 0.9rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.02;
}

.status-panel p:last-of-type {
  margin-top: 0.8rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.status-panel.is-home-stage {
  top: calc(var(--header-height) + 8.75rem + 200px);
  width: min(35rem, calc(100vw - 1.7rem));
  border-color: rgba(70, 228, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(8, 18, 34, 0.2), rgba(4, 10, 20, 0.08)),
    rgba(7, 14, 29, 0.04);
  box-shadow: 0 18px 48px rgba(3, 8, 18, 0.16);
  backdrop-filter: blur(8px);
}

.status-panel.is-home-stage #service-panel-label,
.status-panel.is-home-stage #service-title,
.status-panel.is-home-stage #service-copy {
  display: none;
}

.status-panel.is-home-stage .status-panel-actions {
  margin-top: 0;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.65rem;
}

.status-panel.is-home-stage .status-panel-actions .hero-button,
.status-panel.is-home-stage .status-panel-actions .hero-secondary-link {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  padding-inline: 0.85rem;
  font-size: 0.92rem;
}

.status-panel.is-home-stage #panel-projects-link {
  flex: 1.15 1 0;
  white-space: nowrap;
}

.status-panel.is-home-stage .status-panel-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.9rem;
  padding-top: 0.95rem;
}

.status-panel.is-home-stage .status-panel-stats strong {
  font-size: 0.92rem;
}

.status-panel.is-home-stage .service-meter {
  margin-top: 0.95rem;
}

.home-intro-panel {
  position: absolute;
  top: calc(var(--header-height) + 1.25rem);
  left: clamp(0.85rem, 3vw, 2.5rem);
  z-index: 5;
  width: min(36rem, calc(100vw - 2rem));
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(70, 228, 255, 0.1);
  border-radius: 1.55rem;
  background:
    linear-gradient(180deg, rgba(8, 18, 34, 0.56), rgba(4, 10, 20, 0.28)),
    rgba(7, 14, 29, 0.18);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.home-intro-panel .panel-label {
  margin: 0;
  color: var(--text-main);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
}

.home-intro-panel h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 0.98;
  max-width: 25ch;
  text-wrap: balance;
}

.home-intro-panel p:last-child {
  margin-top: 0.85rem;
  max-width: 57ch;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.status-panel:not(.is-home-stage) + .home-intro-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(-0.75rem, 0, 0);
}

.status-panel:not(.is-home-stage) .status-panel-home-only {
  display: none;
}

.status-panel-actions {
  margin-top: 1rem;
}

.status-panel-actions .hero-button,
.status-panel-actions .hero-secondary-link {
  flex: 1 1 11rem;
}

.status-panel-stats {
  margin-top: 1rem;
}

.status-panel-stats strong {
  font-size: 0.94rem;
}

.service-meter {
  position: relative;
  height: 0.48rem;
  margin-top: 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.service-meter span {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--energy-progress) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold), var(--accent-lime));
}

.circuit-map {
  position: absolute;
  top: max(calc(var(--header-height) + 3rem), 6rem);
  left: clamp(0.85rem, 3vw, 2.5rem);
  right: clamp(0.85rem, 3vw, 2.5rem);
  bottom: 3rem;
  z-index: 3;
  opacity: 1;
  pointer-events: none;
}

.circuit-svg {
  width: 100%;
  height: 100%;
}

.wire-halo,
.wire-base,
.wire-progress {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wire-halo {
  stroke: rgba(70, 228, 255, 0.34);
  stroke-width: 22;
}

.wire-base {
  stroke: rgba(236, 247, 255, 0.26);
  stroke-width: 5;
  stroke-dasharray: 4 16;
}

.wire-progress {
  stroke: url(#wireGlow);
  stroke-width: 7;
  filter: drop-shadow(0 0 26px rgba(90, 250, 179, 0.52));
}

.wire-node {
  fill: var(--accent-cyan);
  filter: drop-shadow(0 0 14px rgba(70, 228, 255, 0.55));
}

.wire-node-end {
  fill: var(--accent-lime);
  filter: drop-shadow(0 0 14px rgba(90, 250, 179, 0.52));
}

.charge-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(4rem, 7vw, 5.6rem);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 243, 143, 0.95), rgba(70, 228, 255, 0.92) 52%, rgba(6, 12, 22, 0.95) 100%);
  box-shadow:
    0 0 22px rgba(70, 228, 255, 0.4),
    0 0 60px rgba(90, 250, 179, 0.18);
  transform-origin: 50% 50%;
  will-change: transform;
  pointer-events: none;
}

.charge-dot svg {
  position: absolute;
  inset: 18%;
  display: block;
  width: 64%;
  height: 64%;
}

.charge-dot path {
  fill: rgba(6, 12, 22, 0.96);
}

.charge-tail {
  position: absolute;
  top: 50%;
  right: calc(100% - 10px);
  width: clamp(2.8rem, 8vw, 6rem);
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(70, 228, 255, 0), rgba(255, 243, 143, 0.94));
  box-shadow: 0 0 12px rgba(255, 243, 143, 0.32);
}

.service-point {
  position: absolute;
  min-width: 8.4rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(70, 228, 255, 0.1);
  border-radius: 1.05rem;
  background: rgba(5, 12, 24, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  opacity: 0.46;
  transform: translate(-50%, -50%) scale(0.92);
  transform-origin: center;
  transition: transform 260ms ease, opacity 260ms ease, border-color 260ms ease, background-color 260ms ease;
  pointer-events: auto;
}

.service-point strong {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.98rem;
}

.service-point::before {
  position: absolute;
  left: 50%;
  bottom: -0.9rem;
  width: 0.72rem;
  height: 0.72rem;
  border-right: 1px solid rgba(70, 228, 255, 0.14);
  border-bottom: 1px solid rgba(70, 228, 255, 0.14);
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
  content: "";
}

.service-point:hover,
.service-point.is-active,
.service-point.is-current {
  opacity: 1;
  border-color: rgba(255, 243, 143, 0.36);
  background: rgba(8, 18, 34, 0.92);
  transform: translate(-50%, -50%) scale(1);
}

.scroll-prompt {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  z-index: 5;
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  transform: translateX(-50%);
  opacity: calc(1 - (var(--energy-progress) * 2.3));
}

.scroll-prompt span {
  width: 1px;
  height: 4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(70, 228, 255, 0.92));
}

.scroll-prompt p {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 247, 255, 0.72);
}

.story-steps {
  position: relative;
  z-index: 2;
  padding-top: clamp(24rem, 56vh, 38rem);
  background: transparent;
}

.story-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 92svh;
  padding: calc(var(--header-height) + 1.4rem) clamp(1rem, 4vw, 3.5rem) 3rem;
  scroll-margin-top: calc(var(--header-height) + 44px);
  background: transparent;
}

.story-step:last-child {
  padding-bottom: 5rem;
}

.story-card {
  width: min(42rem, calc(100vw - 2rem));
  padding: clamp(1.35rem, 2.2vw, 2.25rem);
  border: 1px solid rgba(70, 228, 255, 0.18);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(8, 18, 34, 0.26), rgba(4, 10, 20, 0.08)),
    rgba(7, 14, 29, 0.08);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.story-card-wide {
  width: min(52rem, calc(100vw - 2rem));
}

#about,
#commercial,
#contact {
  justify-content: flex-end;
}

#about,
#services,
#commercial,
#residential,
#contact {
  align-items: flex-start;
  padding-top: calc(var(--header-height) +2rem);
}

#about .story-card-wide,
#services .story-card-wide {
  width: min(48rem, calc(100vw - 2rem));
}

#contact .contact-stage-card {
  width: min(58rem, calc(100vw - 2rem));
}

.story-step.is-current-step .story-card {
  border-color: rgba(255, 243, 143, 0.22);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.34);
}

.hero-section {
  min-height: 118svh;
}

.hero-card {
  max-width: min(42rem, calc(100vw - 2rem));
}



.hero-card h1 {
  margin: 0.85rem 0 1rem;
  max-width: 10ch;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.94;
}

.story-step-title {
  margin: 0;
}

.intro,
.section-intro,
.section-note,
.about-copy p,
.service-card p,
.details-card p,
.contact-text,
.info-item p,
.form-note {
  color: var(--text-soft);
  line-height: 1.7;
}

.intro {
  max-width: 57ch;
}

.story-step-copy {
  margin-top: 1rem;
}

.meta-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-soft);
}

.meta-strip strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-button,
.hero-secondary-link,
.section-link,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
}

.hero-button,
.section-link,
.submit-btn {
  color: #06101f;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
}

.hero-secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
}

.hero-secondary-link:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.story-copy-block {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.about-grid,
.contact-container {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.9fr);
  gap: 1.5rem;
  align-items: center;
}

.about-copy h2,
.contact-info h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.06;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.stat-card,
.service-card,
.details-card,
.contact-form-wrap {
  border: 1px solid rgba(70, 228, 255, 0.1);
  border-radius: 1.2rem;
  background: rgba(5, 12, 24, 0.1);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(6px);
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem;
}

.stat-value {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  line-height: 1.5;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-photo-frame {
  width: min(100%, 25rem);
  aspect-ratio: 1 / 1;
  padding: 0.9rem;
  border-radius: 50%;
  border: 1px solid rgba(70, 228, 255, 0.24);
  background: rgba(5, 12, 24, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

.about-photo-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

#about {
  justify-content: flex-start;
}

#about .story-card-wide {
  width: 100%;
  max-width: none;
  padding: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

#about .about-grid {
  grid-template-columns: minmax(0, 42rem) minmax(18rem, 24rem);
  justify-content: space-between;
  gap: 1.25rem;
  align-items: start;
}

#about .about-copy {
  max-width: 42rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(70, 228, 255, 0.08);
  border-radius: 1.55rem;
  background:
    linear-gradient(180deg, rgba(8, 18, 34, 0.34), rgba(4, 10, 20, 0.12)),
    rgba(7, 14, 29, 0.08);
  box-shadow: 0 18px 48px rgba(3, 8, 18, 0.16);
  backdrop-filter: blur(8px);
}

#about .about-copy .section-kicker {
  color: var(--text-main);
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
}

#about .about-copy h2 {
  margin-top: 0.38rem;
  max-width: 28ch;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  line-height: 1.08;
}

#about .about-copy p {
  max-width: 60ch;
  font-size: 0.92rem;
}

#about .about-visual {
  display: flex;
  justify-content: flex-end;
  align-self: start;
  padding-top: 0;
}

#about .about-photo-frame {
  width: min(100%, 22rem);
  aspect-ratio: 1 / 1;
  padding: 0.7rem;
  border-radius: 50%;
  border: 1px solid rgba(70, 228, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

#about .about-photo-image {
  border-radius: 50%;
}

#about .about-stats {
  display: none;
}

@media (min-width: 1100px) {
  #about.about-section {
    padding-left: clamp(0.85rem, 3vw, 2.5rem);
    padding-right: clamp(0.85rem, 2vw, 1.6rem);
  }
}

.services-grid,
.details-grid {
  display: grid;
  gap: 1rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.details-card {
  padding: 1.2rem;
}

.service-card img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  margin-bottom: 0.95rem;
}

.service-card h3,
.details-card h3 {
  margin: 0;
  font-size: 1.22rem;
}

.service-card p,
.details-card p {
  margin-top: 0.7rem;
}

.details-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.35rem;
}

.section-note {
  margin-top: 1.2rem;
}

.section-link {
  margin-top: 1.4rem;
}
#commercial .story-card,
#residential .story-card {
  width: min(58rem, calc(100vw - 2rem));
}

#commercial .story-step-title,
#residential .story-step-title {
  max-width: 24ch;
}

#commercial .section-intro,
#residential .section-intro,
#commercial .section-note,
#residential .section-note {
  max-width: 68ch;
}

#commercial .details-card,
#residential .details-card {
  padding: 1.3rem 1.35rem;
}

.contact-stage {
  align-items: flex-start;
  padding-top: calc(var(--header-height) +2rem);
}

.contact-stage-card {
  width: min(78rem, calc(100vw - 2rem));
}

.contact-container {
  align-items: start;
}

.contact-label {
  display: inline-block;
}

.contact-text {
  max-width: 42rem;
}

.info-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.info-item {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-title {
  display: block;
  margin-bottom: 0.4rem;
}

.info-item a {
  color: var(--text-main);
}
.info-copy {
  display: grid;
  gap: 0.45rem;
}

.info-copy a {
  display: inline-flex;
}

.contact-form-wrap {
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(7, 14, 29, 0.18);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-main);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(121, 241, 255, 0.12);
  border-radius: 0.95rem;
  padding: 0.95rem 1rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(236, 247, 255, 0.46);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(70, 228, 255, 0.34);
  box-shadow: 0 0 0 4px rgba(70, 228, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
  min-height: 10rem;
  resize: vertical;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.form-note a {
  color: var(--accent-gold);
}

.hidden-field {
  display: none;
}

@media (min-width: 1100px) {
  #home,
  #services,
  #residential {
    padding-right: clamp(14rem, 24vw, 22rem);
  }

  #about,
  #commercial,
  #contact {
    padding-left: clamp(14rem, 24vw, 22rem);
  }
}

@media (max-width: 1200px) {
  .services-grid,
  .details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-card,
  .story-card-wide,
  .hero-card {
    width: min(48rem, calc(100vw - 2rem));
    max-width: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 0.8rem;
  }

  .site-header-frame {
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.85rem;
  }

  .navbar-right {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .navbar-top-actions {
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .language-switcher {
    max-width: calc(100vw - 7.5rem);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .language-switcher::-webkit-scrollbar {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu a {
    justify-content: flex-start;
    width: 100%;
    min-height: 2.6rem;
    padding: 0.8rem 0.95rem;
  }

  .story-steps {
    padding-top: clamp(30rem, 84vw, 36rem);
  }

  .scroll-prompt {
    display: none;
  }

  .status-panel,
  .home-intro-panel {
    left: 0.85rem;
    right: 0.85rem;
    width: auto;
    max-width: 34rem;
    margin-inline: auto;
  }

  .home-intro-panel {
    top: calc(var(--header-height) + 0.75rem);
    padding: 1rem 1.05rem;
    border-radius: 1.3rem;
  }

  .home-intro-panel h1 {
    max-width: 18ch;
    font-size: clamp(1.85rem, 5.8vw, 2.7rem);
  }

  .home-intro-panel p:last-child {
    max-width: none;
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .status-panel {
    top: auto;
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    padding: 1rem 1.05rem;
    border-radius: 1.3rem;
    width: auto;
    max-width: 34rem;
  }

  .status-panel h2 {
    font-size: clamp(1.35rem, 4.8vw, 1.85rem);
  }

  .status-panel.is-home-stage {
    top: calc(var(--header-height) + clamp(16rem, 42vw, 19rem));
    bottom: auto;
    width: auto;
  }

  .status-panel.is-home-stage .status-panel-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .status-panel.is-home-stage .status-panel-actions > :last-child {
    grid-column: 1 / -1;
  }

  .status-panel.is-home-stage .status-panel-actions .hero-button,
  .status-panel.is-home-stage .status-panel-actions .hero-secondary-link {
    width: 100%;
  }

  .status-panel.is-home-stage #panel-projects-link {
    white-space: normal;
  }

  .status-panel.is-home-stage .status-panel-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .circuit-map {
    top: calc(var(--header-height) + 5.75rem);
    left: -10vw;
    right: -10vw;
    bottom: 10.75rem;
  }

  .service-point {
    min-width: 6.9rem;
    padding: 0.62rem 0.72rem;
    border-radius: 0.95rem;
  }

  .point-tag {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .service-point strong {
    font-size: 0.86rem;
  }

  .story-step {
    min-height: auto;
    padding: calc(var(--header-height) + 1.25rem) 0.85rem 4rem;
  }

  .story-card,
  .story-card-wide,
  .hero-card,
  .contact-stage-card {
    width: 100%;
    max-width: none;
  }

  #about,
  #services,
  #commercial,
  #residential,
  #contact,
  .contact-stage {
    padding-top: calc(var(--header-height) + 1.25rem);
  }

  #about .story-card-wide,
  #services .story-card-wide,
  #contact .contact-stage-card {
    width: 100%;
  }

  #about .about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #about .about-copy {
    max-width: none;
    width: 100%;
    padding: 1rem;
  }

  #about .about-copy h2,
  #about .about-copy p,
  #commercial .section-intro,
  #residential .section-intro,
  #commercial .section-note,
  #residential .section-note {
    max-width: none;
  }

  #about .about-visual {
    justify-content: flex-start;
    margin-top: 0.15rem;
  }

  #about .about-photo-frame {
    width: min(100%, 17rem);
  }

  .about-grid,
  .contact-container,
  .about-stats,
  .form-row,
  .services-grid,
  .details-grid,
  .meta-strip {
    grid-template-columns: 1fr;
  }

  .contact-container {
    gap: 1.25rem;
  }

  .contact-form-wrap {
    padding: 1.15rem;
  }

  .hero-card h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0.65rem;
  }

  .site-header-frame {
    padding: 0.78rem;
    border-radius: 1.1rem;
  }

  .logo {
    height: 2.95rem;
  }

  .navbar-top-actions {
    gap: 0.6rem;
  }

  .language-switcher a {
    width: 1.85rem;
    height: 1.85rem;
  }

  .language-switcher img {
    width: 1.2rem;
    height: 1.2rem;
  }

  .story-steps {
    padding-top: clamp(32rem, 108vw, 39rem);
  }

  .circuit-map {
    top: calc(var(--header-height) + 6.25rem);
    left: -22vw;
    right: -22vw;
    bottom: 11.75rem;
  }

  .hero-card h1,
  .about-copy h2,
  .contact-info h2 {
    font-size: clamp(1.9rem, 8vw, 2.75rem);
  }

  .home-intro-panel h1 {
    max-width: 15ch;
    font-size: clamp(1.75rem, 7.6vw, 2.35rem);
  }

  .status-panel.is-home-stage .status-panel-actions {
    grid-template-columns: 1fr;
  }

  .status-panel.is-home-stage .status-panel-actions > :last-child {
    grid-column: auto;
  }

  .status-panel.is-home-stage .status-panel-stats {
    grid-template-columns: 1fr;
  }

  .service-point {
    min-width: auto;
    padding: 0.56rem 0.62rem;
  }

  .point-tag {
    font-size: 0.56rem;
  }

  .service-point strong {
    font-size: 0.82rem;
  }

  .story-step {
    padding-inline: 0.75rem;
    padding-bottom: 3.5rem;
  }

  .details-card,
  .service-card,
  .stat-card {
    padding: 1rem;
  }

  .contact-text,
  .intro,
  .section-intro,
  .section-note,
  .about-copy p,
  .service-card p,
  .details-card p {
    font-size: 0.95rem;
    line-height: 1.65;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: calc(var(--header-height) + 22px);
  }

  .status-panel {
    padding: 0.95rem;
    border-radius: 1.15rem;
  }

  .home-intro-panel {
    padding: 0.95rem;
    border-radius: 1.15rem;
  }

  .story-steps {
    padding-top: clamp(34rem, 128vw, 41rem);
  }

  .circuit-map {
    top: calc(var(--header-height) + 6.75rem);
    left: -34vw;
    right: -34vw;
    bottom: 12.5rem;
  }

  .service-point {
    min-width: 0;
    max-width: 6rem;
    padding: 0.5rem 0.55rem;
  }

  .point-tag {
    display: none;
  }

  .service-point strong {
    margin-top: 0;
    font-size: 0.78rem;
  }

  .hero-actions,
  .submit-btn,
  .hero-button,
  .hero-secondary-link,
  .section-link {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .contact-form-wrap,
  .story-card {
    padding: 1rem;
  }

  .service-badge {
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .service-point,
  .story-card,
  .navbar-menu a,
  .language-switcher a,
  .menu-toggle span,
  .form-group input,
  .form-group textarea {
    transition: none;
  }
}





































