/* ===========================================================
   PEGASUS POOLSCAPES — Luxury Outdoor Transformation
   Brand: Bold · Aspirational · Confident
   =========================================================== */

:root {
  --navy: #0A1628;
  --navy-2: #0f1d33;
  --navy-3: #14253f;
  --ink: #050d18;
  --pool: #00A8E8;
  --pool-deep: #007ab0;
  --pool-glow: rgba(0, 168, 232, 0.4);
  --gold: #C9A84C;
  --gold-soft: #d8bd6f;
  --white: #FFFFFF;
  --white-dim: rgba(255, 255, 255, 0.72);
  --white-mute: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);
  --overlay: rgba(10, 22, 40, 0.75);

  --f-display: "Archivo", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: "JetBrains Mono", "Courier New", monospace;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 0.45, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--white);
  background: var(--navy);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a, button, input, textarea, select { cursor: none; }

@media (hover: none) {
  body, a, button, input, textarea, select { cursor: auto; }
  .cursor, .cursor-trail { display: none !important; }
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; font-family: inherit; }

::selection { background: var(--pool); color: var(--white); }

/* ============ CUSTOM CURSOR ============ */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pool);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease);
  box-shadow: 0 0 12px var(--pool-glow);
}
.cursor-trail {
  position: fixed; top: 0; left: 0;
  width: 38px; height: 38px;
  border: 1px solid var(--pool);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-out), width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease);
  opacity: 0.6;
}
.cursor.hover { width: 4px; height: 4px; background: var(--gold); }
.cursor-trail.hover { width: 64px; height: 64px; border-color: var(--gold); opacity: 0.9; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 56px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}
.nav.scrolled {
  padding: 14px 56px;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: flex; align-items: center;
  color: var(--white);
  transition: transform 0.4s var(--ease);
}
.nav-brand:hover { transform: translateY(-1px); }
.nav-brand img {
  height: 56px;
  width: auto;
  display: block;
  transition: filter 0.4s var(--ease);
}
.nav.scrolled .nav-brand img { height: 48px; }
.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-links a {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding: 8px 0;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--pool);
  transition: width 0.4s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--pool);
  padding: 14px 28px;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: inline-block;
}
.nav-cta:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}
.menu-toggle { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 140px 56px 100px;
}
.hero-video, .hero-image {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-image {
  background-size: cover; background-position: center;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,22,40,0.4) 0%, rgba(10,22,40,0.7) 60%, rgba(10,22,40,0.95) 100%),
    linear-gradient(90deg, rgba(10,22,40,0.7) 0%, rgba(10,22,40,0.2) 70%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--pool);
  margin-bottom: 36px;
  opacity: 0; transform: translateY(20px);
  animation: rise 1s var(--ease-out) 0.3s forwards;
}
.hero-eyebrow::before {
  content: ''; width: 56px; height: 2px; background: var(--pool);
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(48px, 8.5vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) span { animation-delay: 0.45s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.6s; color: var(--pool); }
.hero-title .accent { color: var(--pool); }

@keyframes rise { to { transform: translateY(0); opacity: 1; } }

.hero-sub {
  max-width: 620px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--white-dim);
  margin-bottom: 48px;
  opacity: 0; transform: translateY(20px);
  animation: rise 1s var(--ease-out) 1s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: rise 1s var(--ease-out) 1.15s forwards;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 36px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 2px solid var(--pool);
  color: var(--white);
  background: transparent;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--pool);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}
.btn:hover { color: var(--white); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,168,232,0.3); }
.btn:hover::before { transform: translateY(0); }

.btn-solid {
  background: var(--pool);
  border-color: var(--pool);
  color: var(--white);
}
.btn-solid::before { background: var(--gold); }
.btn-solid:hover { border-color: var(--gold); box-shadow: 0 12px 28px rgba(201,168,76,0.35); }

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.btn-gold::before { background: var(--white); }
.btn-gold:hover { color: var(--navy); border-color: var(--white); }

.btn .arrow {
  width: 18px; height: 2px; background: currentColor;
  position: relative;
  transition: width 0.4s var(--ease);
}
.btn .arrow::after {
  content: '';
  position: absolute; right: 0; top: -4px;
  width: 8px; height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 28px; }

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white-mute);
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.5s forwards;
}
.hero-scroll::after {
  content: '';
  width: 2px; height: 60px;
  background: linear-gradient(180deg, var(--pool), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeIn { to { opacity: 0.8; } }

.hero-badges {
  position: absolute;
  bottom: 40px; right: 56px;
  z-index: 2;
  display: flex;
  gap: 32px;
  align-items: center;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.8s forwards;
}
.hero-badges .badge {
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white-mute);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}
.hero-badges .badge strong { color: var(--white); display: block; font-size: 16px; margin-bottom: 4px; letter-spacing: 0.15em; }

/* ============ SECTIONS / TYPOGRAPHY ============ */
section { position: relative; }
.section {
  padding: 140px 56px;
  position: relative;
}
.section-inner { max-width: 1400px; margin: 0 auto; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--pool);
  margin-bottom: 24px;
}
.section-eyebrow::before {
  content: ''; width: 48px; height: 2px; background: var(--pool);
}
.section-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 1000px;
  text-transform: uppercase;
}
.section-title .accent { color: var(--pool); }
.section-title .accent-gold { color: var(--gold); }
.section-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--white-dim);
  max-width: 600px;
  font-weight: 400;
}

/* ============ STATS BAR ============ */
.stats {
  background: var(--navy-2);
  padding: 100px 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.stats-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 24px 32px;
  border-left: 1px solid var(--line);
  position: relative;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat .num {
  font-family: var(--f-display);
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.stat .num .suffix { color: var(--gold); }
.stat .label {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white-dim);
  line-height: 1.5;
}

/* ============ TRUST / ABOUT BLOCK ============ */
.trust {
  background: var(--navy);
  padding: 160px 56px;
}
.trust-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
}
.trust-image-stack {
  position: relative;
  aspect-ratio: 4/5;
}
.trust-image-stack img {
  position: absolute;
  width: 100%; height: 100%;
  object-fit: cover;
}
.trust-image-stack .img-a {
  inset: 0; z-index: 1;
}
.trust-image-stack .img-b {
  width: 56%; height: 56%;
  bottom: -50px; right: -50px;
  z-index: 2;
  border: 8px solid var(--navy);
}
.trust-image-stack .img-tag {
  position: absolute;
  top: 24px; left: -16px;
  background: var(--pool);
  color: var(--white);
  padding: 14px 22px;
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 3;
}
.trust-copy h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.trust-copy h2 .accent { color: var(--pool); }
.trust-copy p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--white-dim);
  margin-bottom: 24px;
}
.trust-features {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.trust-features > div {
  padding: 20px 0;
  border-top: 2px solid var(--pool);
}
.trust-features strong {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}
.trust-features span {
  font-size: 14px;
  color: var(--white-dim);
}

/* ============ PANORAMA — PINNED HORIZONTAL ============ */
.panorama-wrap {
  height: 400vh;
  position: relative;
  background: var(--ink);
}
.panorama-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--ink);
}
.panorama-track {
  display: flex;
  height: 100vh;
  will-change: transform;
}
.panorama-scene {
  position: relative;
  height: 100vh;
  flex-shrink: 0;
}
.panorama-scene img {
  height: 100vh;
  width: auto;
  object-fit: cover;
}
.panorama-caption {
  position: absolute;
  bottom: 80px;
  left: 80px;
  z-index: 5;
  max-width: 520px;
  background: rgba(10, 22, 40, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 32px;
  border-left: 3px solid var(--pool);
}
.panorama-caption .num {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.panorama-caption h3 {
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.panorama-caption p {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.6;
}
.panorama-progress {
  position: absolute;
  bottom: 40px;
  right: 56px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--white-dim);
}
.panorama-progress .bar {
  width: 220px; height: 2px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.panorama-progress .bar::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--pool);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform 0.1s linear;
}
.panorama-intro {
  position: absolute;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  text-align: center;
  pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(5,13,24,0) 100%);
  z-index: 4;
  opacity: var(--intro-opacity, 1);
  padding: 0 56px;
}
.panorama-intro .eyebrow {
  color: var(--pool);
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.panorama-intro h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 900px;
}
.panorama-intro h2 .accent { color: var(--pool); }

/* ============ SERVICES GRID ============ */
.services {
  background: var(--navy);
  padding: 160px 56px;
}
.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.service-card {
  position: relative;
  padding: 56px 48px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease);
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  background: var(--navy-3);
  border-color: var(--pool);
  transform: translateY(-6px);
}
.service-card .num {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 40px;
  text-transform: uppercase;
}
.service-card .s-icon {
  position: absolute;
  top: 48px; right: 48px;
  width: 56px; height: 56px;
  opacity: 0.4;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.service-card .s-icon svg { width: 100%; height: 100%; stroke: var(--pool); fill: none; stroke-width: 1.5; }
.service-card:hover .s-icon { opacity: 1; transform: rotate(-6deg) scale(1.05); }
.service-card h3 {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 360px;
}
.service-card p {
  color: var(--white-dim);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: auto;
}
.service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pool);
  margin-top: 36px;
  align-self: flex-start;
}
.service-card .read-more::after {
  content: '→';
  font-family: var(--f-body);
  transition: transform 0.4s var(--ease);
}
.service-card:hover .read-more { color: var(--gold); }
.service-card:hover .read-more::after { transform: translateX(8px); }
.service-card .glow {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,232,0.15) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  transform: translate(-50%, -50%);
}
.service-card:hover .glow { opacity: 1; }

/* ============ PROCESS TEASER ============ */
.process-teaser {
  background: var(--navy-2);
  padding: 160px 56px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.process-teaser-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.process-steps {
  display: flex;
  flex-direction: column;
}
.process-step-mini {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: center;
  transition: padding 0.4s var(--ease);
}
.process-step-mini:last-child { border-bottom: 1px solid var(--line); }
.process-step-mini:hover { padding-left: 16px; }
.process-step-mini .n {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--pool);
  line-height: 1;
}
.process-step-mini h4 {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 4px;
}
.process-step-mini p { font-size: 14px; color: var(--white-dim); }

/* ============ PROJECT ROWS ============ */
.projects {
  background: var(--navy);
  padding: 160px 0;
}
.projects-header {
  padding: 0 56px;
  max-width: 1400px;
  margin: 0 auto 60px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  flex-wrap: wrap;
}
.project-list { display: flex; flex-direction: column; }
.project-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr 1fr 60px;
  align-items: center;
  gap: 32px;
  padding: 38px 56px;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: padding 0.5s var(--ease);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.project-row:last-child { border-bottom: 1px solid var(--line); }
.project-row > * { position: relative; z-index: 2; }
.project-row:hover { padding: 60px 56px; padding-left: 80px; }

.row-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  z-index: 0;
  pointer-events: none;
}
.row-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.55) 45%, rgba(10,22,40,0.85) 100%),
    linear-gradient(180deg, rgba(10,22,40,0.3) 0%, rgba(10,22,40,0.5) 100%);
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  z-index: 1;
  pointer-events: none;
}
.row-shimmer {
  position: absolute;
  top: 0; bottom: 0;
  left: -2px; width: 2px;
  background: var(--pool);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease);
  z-index: 3;
}
.project-row:hover .row-video { opacity: 1; }
.project-row:hover .row-overlay { opacity: 1; }
.project-row:hover .row-shimmer { transform: scaleY(1); }
.project-row .num {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold);
}
.project-row .name {
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.4s var(--ease);
}
.project-row:hover .name { color: var(--pool); }
.project-row .loc {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--white-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.project-row .tags {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--white-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.project-row .go {
  text-align: right;
  color: var(--pool);
  font-size: 22px;
  font-weight: 700;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}
.project-row:hover .go { transform: translateX(10px); color: var(--gold); }


/* ============ TESTIMONIAL ============ */
.testimonial {
  background: var(--navy-2);
  padding: 180px 56px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.testimonial-bg {
  position: absolute; inset: 0;
  opacity: 0.15;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
}
.testimonial-inner {
  position: relative; z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.testimonial .stars {
  display: flex; justify-content: center; gap: 6px;
  margin-bottom: 32px;
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 4px;
}
.testimonial blockquote {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 48px;
  text-transform: uppercase;
}
.testimonial blockquote .accent { color: var(--pool); }
.testimonial cite {
  display: block;
  font-style: normal;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.testimonial cite span {
  display: block;
  color: var(--white-dim);
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
}

/* ============ CTA STRIP ============ */
.cta {
  background: var(--navy);
  padding: 160px 56px;
  position: relative;
  overflow: hidden;
}
.cta-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  z-index: 0;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--navy) 80%);
  z-index: 1;
}
.cta-inner {
  position: relative; z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.cta h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 32px;
}
.cta h2 .accent { color: var(--pool); }
.cta p {
  font-size: 18px;
  color: var(--white-dim);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  padding: 100px 56px 40px;
  border-top: 1px solid var(--line);
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img {
  height: 100px;
  width: auto;
  margin-bottom: 28px;
  display: block;
}
.footer-brand p {
  color: var(--white-dim);
  font-size: 15px;
  max-width: 360px;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--white-dim);
}
.footer-col ul li a { transition: color 0.3s var(--ease); }
.footer-col ul li a:hover { color: var(--pool); }
.footer-bottom {
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-mute);
}
.footer-bottom .tfs-credit { color: var(--white-dim); transition: color 0.3s var(--ease); }
.footer-bottom .tfs-credit:hover { color: var(--pool); }

/* ============ PAGE HEADER ============ */
.page-header {
  position: relative;
  padding: 220px 56px 120px;
  background: var(--navy);
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
}
.page-header-bg { position: absolute; inset: 0; z-index: 0; }
.page-header-bg img, .page-header-bg video { width: 100%; height: 100%; object-fit: cover; }
.page-header-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.55), rgba(10,22,40,0.92));
}
.page-header-inner { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; width: 100%; }
.page-header h1 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(56px, 9vw, 152px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}
.page-header h1 .accent { color: var(--pool); }
.breadcrumb {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pool);
  margin-bottom: 32px;
  display: flex;
  gap: 12px;
}
.breadcrumb span { color: var(--white-mute); }

/* ============ PORTFOLIO ============ */
.portfolio-filters {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.portfolio-filters button {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white-mute);
  padding: 10px 0;
  position: relative;
  transition: color 0.3s var(--ease);
}
.portfolio-filters button::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--pool);
  transition: width 0.4s var(--ease);
}
.portfolio-filters button.active,
.portfolio-filters button:hover { color: var(--pool); }
.portfolio-filters button.active::after { width: 100%; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: transform 0.6s var(--ease);
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter 0.6s var(--ease);
}
.portfolio-item:hover img { transform: scale(1.06); filter: brightness(0.7); }
.portfolio-item .info {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px;
  background: linear-gradient(180deg, transparent 30%, rgba(10,22,40,0.92) 100%);
  z-index: 2;
}
.portfolio-item .info .label {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pool);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.portfolio-item .info h3 {
  font-family: var(--f-display);
  font-size: 34px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease) 0.1s, transform 0.5s var(--ease) 0.1s;
}
.portfolio-item:hover .info .label,
.portfolio-item:hover .info h3 { opacity: 1; transform: translateY(0); }

.p-large { grid-column: span 8; aspect-ratio: 16/10; }
.p-med   { grid-column: span 4; aspect-ratio: 4/5; }
.p-tall  { grid-column: span 4; aspect-ratio: 3/5; }
.p-half  { grid-column: span 6; aspect-ratio: 5/4; }
.p-wide  { grid-column: span 12; aspect-ratio: 21/9; }

/* ============ PROCESS PAGE ============ */
.process {
  background: var(--navy);
  padding: 160px 56px;
}
.process-inner { max-width: 1400px; margin: 0 auto; }
.process-step {
  display: grid;
  grid-template-columns: 140px 1fr 1.2fr;
  gap: 60px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step .step-num {
  font-family: var(--f-display);
  font-size: 88px;
  font-weight: 900;
  color: var(--pool);
  line-height: 1;
  letter-spacing: -0.04em;
}
.process-step h3 {
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.05;
}
.process-step .duration {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.process-step p {
  color: var(--white-dim);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.process-step ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}
.process-step ul li {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  padding-left: 22px;
  position: relative;
  text-transform: uppercase;
}
.process-step ul li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 12px; height: 2px; background: var(--pool);
}

/* ============ SEO CITY BLOCKS ============ */
.cities {
  background: var(--navy-2);
  padding: 100px 56px;
  border-top: 1px solid var(--line);
}
.cities-inner { max-width: 1400px; margin: 0 auto; }
.cities-eyebrow {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--pool);
  margin-bottom: 24px;
}
.cities h3 {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 36px;
  line-height: 1;
}
.cities h3 .accent { color: var(--pool); }
.cities p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--white-dim);
  max-width: 900px;
  margin-bottom: 16px;
}
.cities-list {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cities-list span {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  transition: all 0.4s var(--ease);
}
.cities-list span:hover { border-color: var(--pool); color: var(--pool); }

/* ============ ABOUT PAGE ============ */
.about-story {
  background: var(--navy);
  padding: 160px 56px;
}
.about-story-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-story-grid h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--white);
}
.about-story-grid h2 .accent { color: var(--pool); }
.about-story-grid p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--white-dim);
  margin-bottom: 24px;
}
.about-img { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img .badge {
  position: absolute;
  top: 32px; left: 32px;
  background: var(--navy);
  border: 2px solid var(--pool);
  padding: 18px 26px;
  text-align: center;
}
.about-img .badge .y {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--pool);
  display: block;
  line-height: 1;
}
.about-img .badge .l {
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-top: 6px;
  display: block;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 80px;
}
.value {
  background: var(--navy);
  padding: 48px 32px;
}
.value .v-icon {
  width: 44px; height: 44px;
  margin-bottom: 28px;
  display: flex; align-items: center; justify-content: center;
}
.value .v-icon svg { stroke: var(--pool); fill: none; width: 100%; height: 100%; stroke-width: 1.5; }
.value h4 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 14px;
}
.value p {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.7;
}

/* ============ CONTACT ============ */
.contact-section {
  background: var(--navy);
  padding: 160px 56px;
}
.contact-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
}
.contact-info h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--white);
}
.contact-info h2 .accent { color: var(--pool); }
.contact-info > p {
  color: var(--white-dim);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 480px;
}
.contact-detail {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.contact-detail:last-of-type { border-bottom: 1px solid var(--line); }
.contact-detail .l {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pool);
  margin-bottom: 10px;
}
.contact-detail .v {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--white);
}
.contact-detail .v a:hover { color: var(--pool); }
.contact-detail .sub {
  font-size: 13px;
  color: var(--white-dim);
  margin-top: 6px;
}

.contact-form {
  background: var(--navy-2);
  padding: 56px 48px;
  border: 1px solid var(--line);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.form-field { position: relative; margin-bottom: 28px; }
.form-field label {
  display: block;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pool);
  margin-bottom: 12px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--line-strong);
  padding: 14px 0;
  color: var(--white);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  transition: border-color 0.3s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--pool);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select {
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--pool) 50%), linear-gradient(135deg, var(--pool) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: none;
}
.form-field select option { background: var(--navy-2); color: var(--white); }
.contact-form .btn { width: 100%; justify-content: space-between; margin-top: 8px; }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--f-display);
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  align-items: center;
}
.marquee-track .accent { color: var(--pool); }
.marquee-track .dot {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ TOUCH / MOTION ============ */
a, button, .btn, .nav-cta, .portfolio-item, .project-row, .service-card, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
  }
  .marquee-track, .hero-image { animation: none !important; }
}

/* ============ MOBILE NAV (full-screen overlay) ============ */
.menu-toggle {
  display: none;
  width: 32px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 110;
  position: relative;
  padding: 6px 0;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

body.menu-open { overflow: hidden; }
/* Hide the Free Estimate CTA while the mobile menu is open. */
body.menu-open .nav-cta {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
/* The scrolled nav uses backdrop-filter, which makes it a containing
   block for the fixed .nav-links overlay — that breaks `inset: 0`
   and the menu loses its full-screen background. Drop the filter
   while the menu is open so the overlay fills the viewport. */
body.menu-open .nav,
body.menu-open .nav.scrolled {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .nav, .section, .hero, .stats, .testimonial, .cta, .footer, .services, .projects-header,
  .project-row, .trust, .about-story, .team, .contact-section, .page-header, .process,
  .process-teaser, .cities {
    padding-left: 32px; padding-right: 32px;
  }
  .trust-grid, .about-story-grid, .contact-grid, .process-teaser-inner {
    grid-template-columns: 1fr; gap: 60px;
  }
  .services-header { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-step { grid-template-columns: 100px 1fr; }
  .process-step ul { grid-column: 2; }
  .form-row { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: 60px 1fr 40px; padding: 28px 32px; }
  .project-row:hover { padding-left: 40px; padding: 36px 32px; }
  .project-row .loc, .project-row .tags { display: none; }
  .panorama-caption { left: 32px; bottom: 60px; padding: 24px; }
  .panorama-progress { right: 32px; }
  .trust-features { grid-template-columns: 1fr; }
}

/* Hamburger menu kicks in for tablets and below so the desktop
   nav links don't stay static at the top on smaller screens. */
@media (max-width: 1100px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 100px 24px 60px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
    z-index: 105;
    display: flex;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; text-align: center; border-bottom: 1px solid var(--line); }
  .nav-links li:first-child { border-top: 1px solid var(--line); }
  .nav-links a {
    display: block;
    padding: 22px 0;
    font-size: 18px;
    letter-spacing: 0.2em;
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--pool); }
}

@media (max-width: 720px) {
  .nav { padding: 14px 20px; }
  .nav.scrolled { padding: 10px 20px; }
  .nav-brand img { height: 44px; }
  .nav.scrolled .nav-brand img { height: 40px; }
  .nav-cta { padding: 10px 16px; font-size: 10px; letter-spacing: 0.14em; }

  /* hide elaborate accents */
  .hero-meta { display: none; }
  .hero-badges { display: none; }
  .hero-scroll { display: none; }

  /* hero */
  .hero {
    min-height: 0;
    height: 100svh;
    padding: 100px 20px 60px;
  }
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.28em; margin-bottom: 24px; gap: 12px; }
  .hero-eyebrow::before { width: 36px; }
  .hero-title { font-size: clamp(40px, 11vw, 64px); margin-bottom: 20px; }
  .hero-sub { font-size: 15px; margin-bottom: 32px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* section padding */
  .section, .stats, .testimonial, .cta, .footer, .services, .trust, .about-story,
  .team, .contact-section, .page-header, .process, .process-teaser, .cities {
    padding-left: 20px; padding-right: 20px; padding-top: 80px; padding-bottom: 80px;
  }
  .page-header { padding-top: 140px; min-height: 60vh; }
  .page-header h1 { font-size: clamp(48px, 14vw, 80px); }

  /* section heads */
  .section-title { font-size: clamp(36px, 9vw, 56px); margin-bottom: 20px; }
  .section-eyebrow { font-size: 11px; letter-spacing: 0.28em; margin-bottom: 18px; gap: 12px; }
  .section-eyebrow::before { width: 32px; }
  .section-lead { font-size: 16px; }

  /* stats stack */
  .stats { padding: 70px 20px; }
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat { border-left: none; padding: 24px 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; padding-top: 0; }
  .stat .num { font-size: clamp(56px, 14vw, 80px); margin-bottom: 8px; }
  .stat .label { font-size: 10px; letter-spacing: 0.24em; }

  /* trust */
  .trust-image-stack { aspect-ratio: 4/4; max-width: 100%; margin-right: 24px; }
  .trust-image-stack .img-b { width: 50%; height: 50%; bottom: -32px; right: -24px; border-width: 6px; }
  .trust-image-stack .img-tag { font-size: 9px; padding: 10px 14px; left: -8px; }
  .trust-copy h2 { font-size: clamp(36px, 9vw, 56px); }
  .trust-copy p { font-size: 15px; }
  .trust-features { gap: 20px; }

  /* services */
  .services-grid { gap: 16px; }
  .service-card { padding: 36px 24px; min-height: 0; }
  .service-card .num { margin-bottom: 28px; }
  .service-card .s-icon { width: 44px; height: 44px; top: 36px; right: 24px; opacity: 0.6; }
  .service-card h3 { font-size: 28px; }
  .service-card p { font-size: 14px; }
  .service-card .read-more { margin-top: 28px; }

  /* projects rows on mobile - video disabled, poster shown */
  .project-row {
    grid-template-columns: 48px 1fr 32px;
    gap: 16px;
    padding: 26px 20px !important;
  }
  .project-row:hover { padding: 26px 20px !important; }
  .project-row .row-video, .project-row .row-overlay, .project-row .row-shimmer { display: none; }
  .project-row .name { font-size: 22px; }
  .project-row .go { font-size: 18px; }
  .projects { padding: 80px 0; }
  .projects-header { padding: 0 20px; flex-direction: column; align-items: stretch; }
  .projects-header .btn { align-self: flex-start; }

  /* panorama → vertical stack (no pinned horizontal scroll) */
  .panorama-wrap { height: auto; }
  .panorama-pin {
    position: static;
    height: auto;
    display: block;
  }
  .panorama-track {
    flex-direction: column;
    height: auto;
    transform: none !important;
  }
  .panorama-scene {
    width: 100% !important;
    height: 75vh;
    min-height: 480px;
  }
  .panorama-scene img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .panorama-intro {
    position: relative;
    height: auto;
    padding: 80px 24px;
    background: var(--ink);
    opacity: 1 !important;
    pointer-events: auto;
  }
  .panorama-intro h2 { font-size: clamp(36px, 9vw, 56px); }
  .panorama-progress { display: none; }
  .panorama-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 24px;
    max-width: none;
    padding: 20px 18px;
  }
  .panorama-caption h3 { font-size: 28px; }
  .panorama-caption p { font-size: 13px; }

  /* portfolio */
  .portfolio-grid { gap: 12px; }
  .portfolio-grid > * { grid-column: span 12 !important; aspect-ratio: 4/3 !important; }
  .portfolio-item .info { padding: 24px; }
  .portfolio-item .info h3 { font-size: 26px; }
  .portfolio-item .info .label { opacity: 1; transform: none; font-size: 10px; }
  .portfolio-item .info h3 { opacity: 1; transform: none; }
  .portfolio-filters { gap: 18px 22px; }
  .portfolio-filters button { font-size: 10px; letter-spacing: 0.22em; padding: 6px 0; }

  /* process */
  .process-step { grid-template-columns: 1fr; gap: 16px; padding: 48px 0; }
  .process-step .step-num { font-size: 56px; }
  .process-step h3 { font-size: 32px; }
  .process-step ul { grid-column: 1; grid-template-columns: 1fr; }

  /* about */
  .about-img { aspect-ratio: 4/5; max-width: 100%; }
  .about-img .badge { top: 20px; left: 20px; padding: 14px 18px; }
  .about-img .badge .y { font-size: 26px; }
  .values-grid { grid-template-columns: 1fr; }
  .value { padding: 36px 24px; }
  .team-grid { grid-template-columns: 1fr; gap: 32px; }
  .team-member .photo { aspect-ratio: 4/5; max-width: 100%; }

  /* contact */
  .contact-form { padding: 36px 24px; }
  .contact-info h2 { font-size: clamp(36px, 9vw, 56px); }
  .contact-detail .v { font-size: 22px; }
  .contact-detail .v a { word-break: break-word; }

  /* cta */
  .cta { padding: 100px 20px; }
  .cta h2 { font-size: clamp(40px, 11vw, 64px); }
  .cta p { font-size: 16px; margin-bottom: 36px; }

  /* footer */
  .footer { padding: 70px 20px 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-brand img { height: 80px; }
  .footer-bottom { font-size: 10px; letter-spacing: 0.18em; gap: 12px; justify-content: flex-start; }
  .footer-col ul li { font-size: 15px; }
  .footer-col ul li a { display: inline-block; padding: 6px 0; }

  /* marquee */
  .marquee { padding: 22px 0; }
  .marquee-track { font-size: 28px; gap: 36px; }
  .marquee-track .dot { width: 6px; height: 6px; }

  /* buttons */
  .btn { padding: 16px 24px; font-size: 11px; letter-spacing: 0.18em; }
  .btn .arrow { width: 14px; }
  .btn:hover .arrow { width: 20px; }
  .btn .arrow::after { width: 6px; height: 6px; top: -3px; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 38px; }
  .nav-brand img { height: 38px; }
  .nav.scrolled .nav-brand img { height: 34px; }
  .nav-cta { padding: 9px 12px; font-size: 9px; }
  .section-title { font-size: 32px; }
  .stat .num { font-size: 56px; }
}
