/* ==========================================================================
   Next Level Pools & Spas — light theme
   Inspired by Mark Antony Homes' refined residential luxury pattern,
   adapted for Central Florida pool building with Next Level brand colors.
   ========================================================================== */

:root {
  /* Background + surface */
  --bg:            #FFFFFF;
  --bg-warm:       #FAF8F5;
  --bg-alt:        #F4F0EA;
  --surface:       #FFFFFF;

  /* Ink */
  --primary:       #1B2D3A;     /* deep navy — body/heading */
  --primary-2:     #2A4055;     /* nav/secondary accents */
  --body:          rgba(27, 45, 58, 0.68);
  --body-dim:      rgba(27, 45, 58, 0.50);
  --muted:         #9AA4AD;
  --border:        #E6E0D6;     /* warm hairline */
  --border-2:      #D8D0C2;

  /* Brand cyan — sampled from Next Level logo */
  --cyan:          #08b0e8;
  --cyan-bright:   #25c2f5;
  --cyan-deep:     #0585b0;

  --white:         #FFFFFF;
  --dark:          #0F1A22;

  /* Fonts — matching MAH's type pair */
  --font-heading:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display:  "Cormorant Garamond", Georgia, serif;  /* for italic accents */
  --font-body:     "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease:          cubic-bezier(0.2, 0.7, 0.2, 1);
  --tx-slow:       900ms var(--ease);
  --tx:            400ms var(--ease);
  --tx-fast:       220ms var(--ease);

  --container:     1400px;
  --gutter:        clamp(20px, 4.5vw, 48px);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--primary);
  letter-spacing: -0.005em;
  line-height: 1.08;
}
p { margin: 0; }
::selection { background: var(--primary); color: var(--white); }

/* Subtitle — underlined small uppercase (MAH pattern) */
.subtitle {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--cyan);
  margin-bottom: 24px;
}
.subtitle-dark {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.subtitle-white {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* Italic accent in headings */
.italic-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--cyan);
}

/* Buttons (MAH pattern) */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--primary);
  border: 1px solid var(--primary);
  transition: background var(--tx-fast), border-color var(--tx-fast);
  cursor: pointer;
  text-transform: uppercase;
}
.btn-main:hover { background: var(--primary-2); border-color: var(--primary-2); }
.btn-main.cyan { background: var(--cyan); border-color: var(--cyan); color: var(--dark); }
.btn-main.cyan:hover { background: var(--cyan-bright); border-color: var(--cyan-bright); }

.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--primary);
  transition: background var(--tx-fast), color var(--tx-fast);
  cursor: pointer;
  text-transform: uppercase;
}
.btn-line:hover { background: var(--primary); color: var(--white); }
.btn-line-white {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-line-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==========================================================================
   NAV — transparent over hero, white blur when scrolled.
   Centered logo; nav links split left/right.
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background var(--tx), backdrop-filter var(--tx), padding var(--tx);
  background: transparent;
}
.nav.is-scrolled, .nav.is-solid {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: height var(--tx);
  height: 104px;
}
.nav.is-scrolled .nav-inner, .nav.is-solid .nav-inner { height: 72px; }

.nav-side {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}
.nav-side.right { justify-content: flex-end; }
.nav-side a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  transition: color var(--tx-fast);
}
.nav-side a:hover { color: var(--white); }
.nav.is-scrolled .nav-side a, .nav.is-solid .nav-side a {
  color: rgba(27, 45, 58, 0.6);
}
.nav.is-scrolled .nav-side a:hover, .nav.is-solid .nav-side a:hover { color: var(--primary); }
.nav-side a.active { color: var(--white); }
.nav.is-scrolled .nav-side a.active, .nav.is-solid .nav-side a.active { color: var(--primary); }

.nav-logo { display: block; line-height: 0; position: relative; z-index: 2; }
.nav-logo img {
  height: 68px;
  width: auto;
  transition: height var(--tx), opacity var(--tx);
  display: block;
}
.nav.is-scrolled .nav-logo img, .nav.is-solid .nav-logo img { height: 48px; }

/* Swap logo variants between transparent and scrolled states */
.nav-logo .logo-on-dark  { display: block; }
.nav-logo .logo-on-light { display: none; }
.nav.is-scrolled .nav-logo .logo-on-dark,
.nav.is-solid .nav-logo .logo-on-dark { display: none; }
.nav.is-scrolled .nav-logo .logo-on-light,
.nav.is-solid .nav-logo .logo-on-light { display: block; }

.nav-cta {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  transition: all var(--tx-fast);
  margin-left: 12px;
}
.nav-cta:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.nav.is-scrolled .nav-cta, .nav.is-solid .nav-cta {
  border-color: rgba(27, 45, 58, 0.25);
  color: var(--primary);
}
.nav.is-scrolled .nav-cta:hover, .nav.is-solid .nav-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Mobile menu */
.nav-burger {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  color: var(--white);
  cursor: pointer;
}
.nav.is-scrolled .nav-burger, .nav.is-solid .nav-burger { color: var(--primary); }
.nav-burger svg { width: 26px; height: 26px; }

.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 55;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px var(--gutter);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: 0;
  padding: 10px;
  color: var(--primary);
  cursor: pointer;
}
.nav-mobile-close svg { width: 26px; height: 26px; }
.nav-mobile ul { list-style: none; padding: 0; margin: 0; text-align: center; }
.nav-mobile li { margin: 14px 0; }
.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--primary);
  font-weight: 300;
}
.nav-mobile a.active { color: var(--cyan); }
.nav-mobile .mobile-actions {
  margin-top: 40px;
  width: 100%;
  max-width: 320px;
  display: grid;
  gap: 12px;
}

@media (max-width: 1060px) {
  .nav-side, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-inner { justify-content: space-between; }
}

/* ==========================================================================
   HERO — rotating image carousel, big text bottom-left
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--dark);
}
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  transition: opacity 1400ms ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.05) 18%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.7) 100%);
  z-index: -1;
}
.hero-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 80px;
  position: relative;
}
.hero-inner .subtitle-white { display: inline-block; margin-bottom: 28px; }
.hero h1 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 14ch;
  text-transform: uppercase;
}
.hero h1 .italic-accent {
  text-transform: none;
  color: var(--cyan);
  font-weight: 400;
}
.hero-tagline {
  margin-top: 28px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-tagline p {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.6;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Slide indicators */
.hero-indicators {
  margin-top: 48px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-dot {
  position: relative;
  padding: 10px 0;
  cursor: pointer;
  background: none;
  border: 0;
}
.hero-dot span {
  display: block;
  height: 2px;
  width: 22px;
  background: rgba(255,255,255,0.3);
  transition: width var(--tx), background var(--tx);
}
.hero-dot.is-active span {
  width: 48px;
  background: var(--white);
}

@media (max-width: 800px) {
  .hero-inner { padding-bottom: 56px; }
  .hero-indicators { margin-top: 32px; }
}

/* ==========================================================================
   OVERVIEW — subtitle + heading + copy + staggered photo grid
   ========================================================================== */
.overview {
  padding: clamp(72px, 10vw, 140px) 0;
}
.overview-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
@media (max-width: 1000px) { .overview-grid { grid-template-columns: 1fr; } }

.overview-copy h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--primary);
  margin: 16px 0 24px;
}
.overview-copy p {
  margin-bottom: 1em;
  line-height: 1.72;
  font-size: 16px;
  color: var(--body);
}
.overview-copy .actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Staggered photo grid — MAH pattern */
.photo-stagger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.photo-stagger > .col { display: flex; flex-direction: column; gap: 20px; }
.photo-stagger > .col-offset { padding-top: 64px; }
.photo-stagger .img-wrap { overflow: hidden; position: relative; background: var(--bg-alt); }
.photo-stagger .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1000ms var(--ease);
}
.photo-stagger .img-wrap:hover img { transform: scale(1.04); }
.photo-stagger .img-wrap.tall { aspect-ratio: 3 / 4; width: 75%; margin-left: 25%; }
.photo-stagger .img-wrap.wide { aspect-ratio: 4 / 3; }
.photo-stagger .img-wrap.tall-left { aspect-ratio: 3 / 4; width: 75%; }
.photo-stagger .img-wrap.placeholder {
  background:
    linear-gradient(135deg, rgba(8,176,232,0.08), rgba(8,176,232,0) 70%),
    var(--bg-alt);
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed var(--border-2);
}
.photo-stagger .img-wrap.placeholder .ph-text {
  padding: 16px;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}

/* ==========================================================================
   SERVICES — paneled sections with large photos
   ========================================================================== */
.services-band {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.services-head {
  max-width: 860px;
  margin: 0 auto 64px;
  text-align: center;
}
.services-head h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 300;
  line-height: 1.18;
  color: var(--primary);
  margin-top: 16px;
}
.services-head p { color: var(--body); margin-top: 20px; font-size: 16.5px; line-height: 1.68; }

.services-rows { display: grid; gap: 2px; background: var(--border); }
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg);
  min-height: 420px;
}
.svc-row.reverse { direction: rtl; }
.svc-row.reverse > * { direction: ltr; }
@media (max-width: 900px) {
  .svc-row { grid-template-columns: 1fr; min-height: 0; }
  .svc-row.reverse { direction: ltr; }
}
.svc-photo {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  background: var(--bg-alt);
}
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1000ms var(--ease); }
.svc-photo:hover img { transform: scale(1.04); }
.svc-photo.placeholder {
  background:
    linear-gradient(135deg, rgba(8,176,232,0.06), rgba(8,176,232,0) 70%),
    var(--bg-alt);
  display: grid;
  place-items: center;
  text-align: center;
}
.svc-photo.placeholder .ph-text {
  padding: 20px;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}
.svc-copy {
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-copy .num {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--cyan);
  margin-bottom: 16px;
}
.svc-copy h3 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 300;
  margin-bottom: 18px;
  color: var(--primary);
  line-height: 1.12;
}
.svc-copy p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 14px;
}
.svc-copy ul { list-style: none; padding: 0; margin: 18px 0 28px; }
.svc-copy ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--primary);
  font-size: 14.5px;
  font-family: var(--font-heading);
  display: flex; align-items: baseline; gap: 12px;
}
.svc-copy ul li::before {
  content: "";
  width: 8px; height: 1px; background: var(--cyan); flex-shrink: 0; transform: translateY(-4px);
}
.svc-copy .link {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--cyan);
  transition: color var(--tx-fast), border-color var(--tx-fast);
}
.svc-copy .link:hover { color: var(--primary); border-color: var(--primary); }

/* ==========================================================================
   FEATURED PROJECT — big photo + specs table
   ========================================================================== */
.feature {
  padding: clamp(80px, 10vw, 140px) 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 1000px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  margin: 16px 0 22px;
  color: var(--primary);
}
.feature-copy p {
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 1em;
  font-size: 15.5px;
}
.feature-specs {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.feature-specs > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.feature-specs > div:nth-child(odd) { border-right: 1px solid var(--border); padding-right: 20px; }
.feature-specs > div:nth-child(even) { padding-left: 20px; }
.feature-specs .lbl {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--body-dim);
  font-weight: 500;
}
.feature-specs .val {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

/* ==========================================================================
   GALLERY — photo + placeholder mixed grid
   ========================================================================== */
.gallery-band {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gallery-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.gallery-head h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 300;
  line-height: 1.18;
  color: var(--primary);
  margin-top: 16px;
}
.gallery-head p { color: var(--body); margin-top: 18px; font-size: 15.5px; line-height: 1.68; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.g-tile { position: relative; overflow: hidden; background: var(--bg-alt); }
.g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1000ms var(--ease); }
.g-tile:hover img { transform: scale(1.05); }
.g-tile .tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.92);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.g-tile .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(27, 45, 58, 0.9));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 400;
  opacity: 0;
  transition: opacity var(--tx);
}
.g-tile:hover .caption { opacity: 1; }

.g-tile.placeholder {
  background:
    linear-gradient(135deg, rgba(8,176,232,0.06), rgba(8,176,232,0) 70%),
    var(--bg-alt);
  border: 1px dashed var(--border-2);
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
}
.g-tile.placeholder .inner {
  max-width: 240px;
}
.g-tile.placeholder .ph-eyebrow {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--cyan);
  margin-bottom: 12px;
}
.g-tile.placeholder h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 6px;
  font-weight: 400;
}
.g-tile.placeholder p {
  font-size: 12px;
  color: var(--body-dim);
  line-height: 1.55;
}

/* 12-column mosaic placements */
.g-tile.t-1 { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; height: 100%; min-height: 420px; }
.g-tile.t-2 { grid-column: span 4; grid-row: span 1; min-height: 200px; }
.g-tile.t-3 { grid-column: span 4; grid-row: span 1; min-height: 200px; }
.g-tile.t-4 { grid-column: span 4; grid-row: span 1; min-height: 240px; }
.g-tile.t-5 { grid-column: span 4; grid-row: span 1; min-height: 240px; }
.g-tile.t-6 { grid-column: span 4; grid-row: span 1; min-height: 240px; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-tile.t-1, .g-tile.t-2, .g-tile.t-3, .g-tile.t-4, .g-tile.t-5, .g-tile.t-6 {
    grid-column: span 1; min-height: 240px;
  }
  .g-tile.t-1 { grid-column: span 2; min-height: 320px; }
}

/* ==========================================================================
   TESTIMONIAL (centered pullquote on light bg)
   ========================================================================== */
.testimonial {
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--primary);
  margin: 24px 0 28px;
}
.testimonial blockquote::before { content: "“"; color: var(--cyan); margin-right: 4px; }
.testimonial blockquote::after  { content: "”"; color: var(--cyan); margin-left: 4px; }
.testimonial cite {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--body-dim);
  font-style: normal;
  font-weight: 500;
}
.testimonial cite strong { color: var(--primary); font-weight: 500; margin-right: 10px; }

/* ==========================================================================
   CTA BAND (dark) — uses Mason Pool as background
   ========================================================================== */
.cta-dark {
  position: relative;
  padding: clamp(90px, 12vw, 160px) 0;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background: var(--dark);
}
.cta-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(180deg, rgba(15,26,34,0.7), rgba(15,26,34,0.92)), url("/assets/mason-pool.jpg");
  background-size: cover;
  background-position: center;
}
.cta-dark h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 300;
  line-height: 1.14;
  color: var(--white);
  max-width: 20ch;
  margin: 24px auto 20px;
  text-transform: uppercase;
}
.cta-dark h2 .italic-accent { text-transform: none; color: var(--cyan); }
.cta-dark p {
  color: rgba(255,255,255,0.8);
  max-width: 52ch;
  margin: 0 auto 36px;
  font-size: 16.5px;
  line-height: 1.68;
}
.cta-dark .actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================================================
   CONTACT BAND (light, split: info + form)
   ========================================================================== */
.contact-band {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-intro h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--primary);
  margin: 16px 0 24px;
}
.contact-intro p {
  color: var(--body);
  line-height: 1.7;
  font-size: 16px;
  max-width: 54ch;
}
.contact-info {
  margin-top: 40px;
  display: grid;
  gap: 24px;
  max-width: 460px;
}
.contact-info .item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info .item:last-child { border-bottom: 0; }
.contact-info .lbl {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--body-dim);
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-info .val {
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--primary);
  font-weight: 400;
  line-height: 1.4;
}
.contact-info .val a { color: var(--primary); transition: color var(--tx-fast); }
.contact-info .val a:hover { color: var(--cyan); }
.contact-info small {
  display: block;
  margin-top: 6px;
  color: var(--body-dim);
  font-size: 13px;
  font-family: var(--font-body);
}

/* Form */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--body-dim);
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-2);
  padding: 10px 0;
  font-size: 16px;
  color: var(--primary);
  outline: none;
  font-family: var(--font-body);
  transition: border-color var(--tx-fast);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color: var(--cyan); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%231B2D3A' stroke-width='1.3'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}
.form-field select option { background: var(--white); color: var(--primary); }
.form-submit { margin-top: 14px; }
.form-note { font-size: 13px; color: var(--body-dim); margin-top: 6px; }
.form-success {
  padding: 40px 32px;
  background: var(--bg-warm);
  border-left: 2px solid var(--cyan);
}
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 400;
}
.form-success p { color: var(--body); line-height: 1.7; font-size: 15px; }

/* Map */
.map-embed {
  margin-top: 56px;
  border: 1px solid var(--border);
  aspect-ratio: 21 / 9;
  overflow: hidden;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--tx-slow), transform var(--tx-slow); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 120ms; }
.reveal[data-delay="2"] { transition-delay: 220ms; }
.reveal[data-delay="3"] { transition-delay: 320ms; }

/* ==========================================================================
   PAGE HERO (subpages — simpler)
   ========================================================================== */
.page-head {
  padding: clamp(140px, 18vh, 200px) 0 clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--border);
  background: var(--bg-warm);
}
.page-head .subtitle { color: var(--cyan); border-bottom-color: var(--cyan); }
.page-head h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--primary);
  text-transform: uppercase;
  margin-top: 18px;
  margin-bottom: 24px;
  max-width: 20ch;
}
.page-head h1 .italic-accent { text-transform: none; color: var(--cyan); }
.page-head p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  max-width: 62ch;
}

/* Inclusions grid for service pages */
.inclusions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.inclusion {
  padding: 32px 26px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.inclusion:nth-child(3n) { border-right: 0; }
.inclusion h4 {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
  font-weight: 500;
}
.inclusion p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.72;
}
@media (max-width: 800px) {
  .inclusions { grid-template-columns: 1fr 1fr; }
  .inclusion:nth-child(3n) { border-right: 1px solid var(--border); }
  .inclusion:nth-child(2n) { border-right: 0; }
}
@media (max-width: 500px) { .inclusions { grid-template-columns: 1fr; } .inclusion { border-right: 0 !important; } }

/* Process / timeline on subpages */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-step {
  padding: 48px 32px;
  border-right: 1px solid var(--border);
}
.process-step:last-child { border-right: 0; }
.process-step .num {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 16px;
  font-weight: 500;
}
.process-step h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 14px;
  font-weight: 400;
}
.process-step p {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.72;
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: 0; }
}

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.blog-card {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 44px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--tx-fast);
}
.blog-card:hover { background: var(--bg-warm); padding-left: 8px; padding-right: 8px; }
.blog-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-media.placeholder {
  background: linear-gradient(135deg, rgba(8,176,232,0.06), rgba(8,176,232,0) 70%), var(--bg-alt);
  border: 1px dashed var(--border-2);
  display: grid;
  place-items: center;
  text-align: center;
}
.blog-card-media.placeholder .ph-text {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 20px;
  font-weight: 500;
}
.blog-card-body h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  margin-bottom: 8px;
  transition: color var(--tx-fast);
  color: var(--primary);
  font-weight: 300;
}
.blog-card:hover h3 { color: var(--cyan); }
.blog-card-body .meta {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--body-dim);
  margin-bottom: 10px;
  font-weight: 500;
}
.blog-card-body p { color: var(--body); font-size: 15px; line-height: 1.68; }
.blog-card-more {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}
@media (max-width: 900px) { .blog-card { grid-template-columns: 1fr; gap: 16px; } .blog-card-more { display: none; } }

/* Blog post */
.post {
  max-width: 760px;
  margin: 0 auto;
  padding: 160px var(--gutter) 100px;
}
.post .meta {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--body-dim);
  margin-bottom: 24px;
  font-weight: 500;
}
.post h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
  margin-bottom: 28px;
  font-weight: 300;
  color: var(--primary);
  text-transform: uppercase;
}
.post .post-media {
  margin: 40px 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.post .post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { font-size: 17px; line-height: 1.85; color: var(--primary); }
.post-body p { margin-bottom: 1.5em; color: var(--body); }
.post-body p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 4.4em;
  float: left;
  line-height: 0.88;
  padding: 6px 14px 0 0;
  color: var(--cyan);
  font-weight: 600;
}
.post-body h2 { font-family: var(--font-heading); font-size: 26px; margin: 1.8em 0 0.6em; color: var(--primary); font-weight: 400; }
.post-body h3 { font-family: var(--font-heading); font-size: 20px; margin: 1.4em 0 0.5em; color: var(--primary); font-weight: 400; }
.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 1.5em; }
.post-body li { margin-bottom: 0.5em; color: var(--body); }
.post-body blockquote {
  margin: 1.8em 0;
  padding: 16px 0 16px 24px;
  border-left: 2px solid var(--cyan);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--primary);
}
.post-body strong { color: var(--primary); font-weight: 600; }
.post-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--primary);
  padding: clamp(64px, 8vw, 96px) 0 32px;
  color: rgba(255,255,255,0.7);
}
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 64px; margin-bottom: 22px; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.68; max-width: 34ch; }
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col li { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-col li a { color: rgba(255,255,255,0.6); transition: color var(--tx-fast); }
.footer-col li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color var(--tx-fast); }
.footer-bottom a:hover { color: var(--cyan); }
.footer-bottom .built-by {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 10px;
  font-family: var(--font-heading);
  font-weight: 500;
}

/* Floating mobile call */
.floating-call {
  display: none;
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 40;
  width: 56px; height: 56px;
  background: var(--primary);
  color: var(--white);
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 0 5px rgba(8,176,232,0.15);
  transition: transform var(--tx-fast), background var(--tx-fast);
}
.floating-call:hover { transform: scale(1.08); background: var(--cyan); color: var(--dark); }
.floating-call svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .floating-call { display: inline-flex; } }

/* Utilities */
.mt-auto { margin-top: auto; }
.text-accent { color: var(--cyan); }
