:root {
  --bg: #070b14;
  --card: rgba(15, 23, 42, 0.9);
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #f59e0b;
  --accent-2: #38bdf8;
  --line: rgba(148, 163, 184, 0.25);
  --cols: 2;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --worker-y: 0px;
  --worker-y-left: 0px;
  --worker-y-right: 0px;
  --scroll-t: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #000;
  line-height: 1.55;
  overflow-x: hidden;
}

/* A11y + SEO helpers */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #111; padding: 0.6rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.seo-cta-inline { margin: 1rem 0 0; font-size: 0.95rem; }
.seo-cta-inline a { margin-right: 0.15rem; }
.seo-area { color: var(--muted); font-size: 0.9rem; margin-top: 0.75rem; }
.footer-nav { margin: 0.5rem 0; }
.faq-list details {
  border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 1rem;
  margin: 0 0 0.6rem; background: rgba(15,23,42,0.65);
}
.faq-list summary { cursor: pointer; font-weight: 700; color: #e2e8f0; }
.faq-list p { margin: 0.55rem 0 0; color: var(--muted); }
.section { content-visibility: auto; contain-intrinsic-size: 1px 900px; }
.hero { content-visibility: visible; }
.tower-slice[data-bg-lazy] {
  background-color: #0b1220;
  background-size: cover;
  background-position: center;
}
img, picture { max-width: 100%; }
picture img { width: 100%; height: auto; }
.worker picture img, .worker .figure { width: 100%; height: auto; }

img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Full-viewport building background */
.tower-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}
.tower-stack {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  will-change: transform;
}
.tower-slice {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: saturate(1.08) contrast(1.04);
}
.tower-slice.top,
.tower-slice.bottom {
  height: 100vh;
}
/* Darken center for text readability; keep edges bright for workers */
.tower-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.55) 100%),
    radial-gradient(ellipse 55% 80% at 50% 45%, rgba(7,11,20,0.78) 0%, rgba(7,11,20,0.35) 55%, rgba(7,11,20,0.15) 100%);
  z-index: 1;
}

/* Independent abseil workers — one left, one right */
.workers-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}
.rope {
  position: absolute;
  top: -5vh;
  width: 3px;
  height: 160vh;
  background: linear-gradient(
    to bottom,
    rgba(226, 232, 240, 0.95),
    rgba(148, 163, 184, 0.75) 40%,
    rgba(100, 116, 139, 0.55)
  );
  box-shadow: 0 0 6px rgba(0,0,0,0.5);
  z-index: 1;
}
.rope.left { left: 11%; }
.rope.right { right: 11%; left: auto; }

.worker {
  position: absolute;
  top: 4vh;
  width: clamp(110px, 16vw, 200px);
  z-index: 2;
  will-change: transform;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.55));
  transform: translate3d(0, var(--worker-y-left), 0);
}
.worker.right {
  transform: translate3d(0, var(--worker-y-right), 0);
}
.worker.left { left: 4%; }
.worker.right { right: 4%; left: auto; }

.worker .figure {
  width: 100%;
  height: auto;
  display: block;
  /* subtle continuous body sway while descending */
  animation: abseil-sway 2.4s ease-in-out infinite;
  transform-origin: top center;
}
.worker.right .figure {
  animation-name: abseil-sway-mirror;
  animation-duration: 2.7s;
}
.worker .harness-glow {
  position: absolute;
  left: 50%;
  top: -8px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #e2e8f0;
  box-shadow: 0 0 8px #fff;
  opacity: 0.85;
}

@keyframes abseil-sway {
  0%, 100% { transform: rotate(-2.2deg) translateX(-2px); }
  50% { transform: rotate(2.4deg) translateX(3px); }
}
@keyframes abseil-sway-mirror {
  0%, 100% { transform: rotate(2deg) translateX(2px); }
  50% { transform: rotate(-2.5deg) translateX(-3px); }
}

/* Content over full background */
.site {
  position: relative;
  z-index: 5;
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0 1rem 6rem;
}

.top-contact {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  margin: 0 -0.5rem 1.5rem;
  background: rgba(7, 11, 20, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.top-contact .brand img { height: 44px; width: auto; }
.contact-block { text-align: right; }
.contact-block strong { display: block; font-size: 1.05rem; color: #fff; }
.contact-block a.phone {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.contact-block a.phone:hover { color: #fde68a; }

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 0 4rem;
}
.hero .panel {
  max-width: 34rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background: rgba(7, 11, 20, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.hero .eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.hero p.lead {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
}
.theme-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.theme-pills span {
  border: 1px solid var(--line);
  background: rgba(15,23,42,0.7);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.section {
  margin: 3rem 0;
  padding: 1.5rem 1.25rem;
  border-radius: 18px;
  background: rgba(7, 11, 20, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.section h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 0 0 0.5rem;
}
.section .sub {
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 48ch;
}

.grid-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}
.grid-controls label { font-size: 0.9rem; color: var(--muted); }
.col-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.col-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.col-toggle button.active {
  background: var(--accent);
  color: #111;
}
.col-toggle button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.services {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 1rem;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.45);
}
.service-card .photo {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  background: #1e293b;
}
.service-card .body { padding: 1rem 1.1rem 1.2rem; }
.service-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.logo-picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}
.logo-picks figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
}
.logo-picks figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.certs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.certs img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.cta-bar {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245,158,11,0.22), rgba(56,189,248,0.14));
  border: 1px solid rgba(245,158,11,0.4);
  backdrop-filter: blur(8px);
}
.cta-bar h2 { margin-top: 0; }
.cta-bar .big-phone {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

footer {
  margin-top: 3rem;
  padding: 1.25rem 1rem;
  border-radius: 12px;
  background: rgba(7,11,20,0.75);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

@media (max-width: 720px) {
  :root { --cols: 1; }
  .worker { width: clamp(72px, 22vw, 120px); }
  .rope.left { left: 8%; }
  .rope.right { right: 8%; }
  .contact-block { text-align: left; width: 100%; }
  .col-toggle { display: none; }
  .hero .panel { max-width: none; }
}
