/* ===================================================================
   Ripple Pool Company — theme: "Coastal Water, teal-led"
   Palette: deep teal #0C4A5A + aqua.  Bright aqua #12AABB = CTAs.
   Fully self-contained: system fonts, inline SVG, CSS visuals only.
   =================================================================== */
:root {
  --deep:      #082E3A;   /* deepest — footer / hero base */
  --teal:      #0C4A5A;   /* brand primary */
  --teal-700:  #0E5A6E;   /* raised teal */
  --ink:       #12303A;   /* body headings */
  --muted:     #566A72;   /* secondary text */
  --paper:     #ffffff;
  --paper-alt: #F1F6F8;   /* section tint */
  --line:      #DBE6EA;   /* hairlines */
  --tint:      #E2F0F3;   /* icon chip bg (teal) */
  --tint-2:    #EAF1F4;   /* icon chip bg (steel) */
  --sand:      #EDE4D3;   /* warm neutral accent */
  --accent:    #12AABB;   /* bright aqua CTA */
  --accent-600:#0E8A98;   /* CTA hover */

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); }

.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* NAV */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 74px; background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--teal-700), var(--teal));
  position: relative; overflow: hidden;
}
.logo-mark svg { width: 26px; height: 26px; color: #fff; }
.logo-text { font-size: 15.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.logo-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; display: block; margin-top: 1px; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-size: 13.5px; color: var(--muted); text-decoration: none; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--teal); font-weight: 600; }
.nav-cta {
  background: var(--accent); color: #fff !important; padding: 10px 20px;
  border-radius: 7px; font-weight: 600 !important; font-size: 13.5px !important;
  display: flex; align-items: center; gap: 7px;
}
.nav-cta:hover { background: var(--accent-600) !important; }
.nav-cta svg { width: 16px; height: 16px; }

/* WATER — reusable animated pool surface for hero backgrounds */
.water {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(18,170,187,0.55) 0%, rgba(18,170,187,0) 55%),
    linear-gradient(160deg, #0E6076 0%, #0C4A5A 45%, #082E3A 100%);
}
.water-caustics {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(60% 40% at 20% 30%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(50% 35% at 70% 60%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(40% 30% at 45% 80%, rgba(255,255,255,0.06), transparent 60%);
  mix-blend-mode: screen;
}
.water-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; display: block; z-index: 1; }

/* HOME HERO */
.hero { position: relative; overflow: hidden; min-height: calc(100vh - 74px); display: flex; align-items: center; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,32,40,0.72) 0%, rgba(6,32,40,0.42) 48%, rgba(6,32,40,0.15) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 4rem 3rem; max-width: 720px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px;
  font-weight: 600; color: rgba(255,255,255,0.92); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 1.4rem;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
  padding: 7px 14px; border-radius: 100px; backdrop-filter: blur(3px);
}
.tag svg { width: 15px; height: 15px; color: #7FE3EF; }
.h1 {
  font-family: var(--serif); font-size: 56px; line-height: 1.05;
  color: #fff; letter-spacing: -0.015em; margin-bottom: 1.35rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35); font-weight: 600;
}
.h1 .aqua { color: #7FE3EF; font-style: italic; }
.hero-p { font-size: 17px; color: rgba(255,255,255,0.92); line-height: 1.7; max-width: 500px; margin-bottom: 2rem; font-weight: 400; }
.btns { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.hero-badges span { font-size: 12.5px; color: rgba(255,255,255,0.85); display: inline-flex; align-items: center; gap: 7px; }
.hero-badges svg { width: 16px; height: 16px; color: #7FE3EF; }

/* BUTTONS */
.btn-primary {
  background: var(--accent); color: #fff; font-size: 14.5px; font-weight: 600;
  padding: 14px 26px; border-radius: 8px; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-primary svg { width: 18px; height: 18px; }
.btn-primary:hover { background: var(--accent-600); transform: translateY(-1px); }
.btn-lg { font-size: 16px; padding: 16px 32px; box-shadow: 0 10px 28px rgba(18,170,187,0.35); }
.btn-ghost {
  font-size: 14.5px; color: #fff; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  padding: 14px 26px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,0.6);
  transition: background 0.15s, border-color 0.15s;
}
.btn-ghost svg { width: 18px; height: 18px; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; }

/* TRUST BAR */
.trust-bar { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); }
.trust-item { padding: 1.35rem 1.75rem; display: flex; align-items: center; gap: 0.9rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: none; }
.trust-icon { width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--tint); color: var(--teal); }
.trust-icon svg { width: 21px; height: 21px; }
.trust-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.trust-sub { font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 1px; }

/* SECTION SHELL */
.section { padding: 4.5rem 3rem; }
.section.alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.sec-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem; }
.sec-h { font-family: var(--serif); font-size: 36px; color: var(--ink); letter-spacing: -0.015em; line-height: 1.12; font-weight: 600; }
.sec-p { font-size: 16px; color: var(--muted); line-height: 1.75; font-weight: 400; margin-top: 1rem; }

/* SERVICES GRID */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; max-width: 1120px; margin: 0 auto; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; text-decoration: none; display: block;
}
.svc:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(12,74,90,0.12); border-color: var(--tint); }
.svc-icon { width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; background: var(--tint); color: var(--teal); }
.svc-icon svg { width: 24px; height: 24px; }
.svc-name { font-size: 16.5px; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.svc-desc { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 400; }
.svc-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 1rem; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.svc-more svg { width: 15px; height: 15px; }

/* PHOTO PLACEHOLDER BLOCKS */
.photo {
  position: relative; border-radius: 14px; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.5) 0 2px, transparent 2px 22px),
    linear-gradient(150deg, #16697A 0%, #0C4A5A 55%, #082E3A 100%);
  display: flex; align-items: center; justify-content: center;
  min-height: 220px; color: rgba(255,255,255,0.9);
}
.photo::after {
  content: attr(data-label); position: absolute; left: 14px; bottom: 12px;
  font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600;
  color: rgba(255,255,255,0.85); background: rgba(8,46,58,0.55);
  padding: 5px 10px; border-radius: 6px; backdrop-filter: blur(2px);
}
.photo-ic { width: 46px; height: 46px; opacity: 0.55; }
.photo-ic svg { width: 100%; height: 100%; stroke: #fff; }

/* SPLIT (image + copy) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; max-width: 1120px; margin: 0 auto; }
.split.rev .split-media { order: 2; }
.split .photo { min-height: 380px; }
.split-copy .sec-h { font-size: 32px; }
.split-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; }
.split-list .item { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.split-list .item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.split-list .item strong { color: var(--ink); font-weight: 600; }

/* PAGE HERO (subpages) */
.page-hero { position: relative; overflow: hidden; padding: 4rem 3rem 5rem; display: flex; flex-direction: column; justify-content: center; min-height: 340px; }
.ph-inner { position: relative; z-index: 2; max-width: 760px; }
.page-h1 { font-family: var(--serif); font-size: 46px; line-height: 1.08; color: #fff; letter-spacing: -0.015em; margin-bottom: 1rem; font-weight: 600; text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.page-hero-p { font-size: 16.5px; color: rgba(255,255,255,0.92); line-height: 1.7; font-weight: 400; max-width: 580px; }

/* CONTENT BANDS */
.band { padding: 4.5rem 3rem; }
.band.alt { background: var(--paper-alt); border-top: 1px solid var(--line); }
.band-inner { max-width: 1120px; margin: 0 auto; }
.prose { max-width: 720px; }
.prose p { font-size: 16px; color: var(--muted); line-height: 1.8; font-weight: 400; margin-bottom: 1rem; }

/* FEATURE GRID */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.25rem; }
.feat { display: flex; gap: 0.9rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.35rem 1.5rem; }
.feat svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.feat-t { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.feat-d { font-size: 13.5px; color: var(--muted); line-height: 1.6; font-weight: 400; }

/* PROCESS STEPS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem 1.5rem; }
.step-num { font-family: var(--serif); font-size: 40px; color: var(--accent); font-weight: 600; line-height: 1; margin-bottom: 0.75rem; opacity: 0.85; }
.step-t { font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.step-d { font-size: 13.5px; color: var(--muted); line-height: 1.65; font-weight: 400; }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 1.25rem; max-width: 1160px; margin: 0 auto; }
.gallery-grid .photo { min-height: 0; height: 100%; }
.gallery-grid .tall { grid-row: span 2; }
.filter-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.chip { font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 100px; cursor: default; }
.chip.on { background: var(--teal); color: #fff; border-color: var(--teal); }

/* REQUEST / QUOTE */
.request { background: linear-gradient(160deg, var(--teal) 0%, var(--deep) 100%); position: relative; overflow: hidden; padding: 4.5rem 3rem; }
.request .water-caustics { opacity: 0.4; }
.request-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.request-copy .sec-tag { color: #7FE3EF; }
.request-h { font-family: var(--serif); font-size: 38px; line-height: 1.12; color: #fff; letter-spacing: -0.015em; margin-bottom: 1rem; font-weight: 600; }
.request-p { font-size: 16px; color: rgba(255,255,255,0.88); line-height: 1.7; font-weight: 400; max-width: 460px; margin-bottom: 1.75rem; }
.request-phone { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 30px; color: #fff; text-decoration: none; font-weight: 600; }
.request-phone svg { width: 26px; height: 26px; color: var(--accent); }
.request-badges { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.75rem; }
.request-badges span { font-size: 12.5px; color: rgba(255,255,255,0.85); display: inline-flex; align-items: center; gap: 7px; }
.request-badges svg { width: 16px; height: 16px; color: #7FE3EF; }

.request-card { background: #fff; border-radius: 16px; padding: 2rem; box-shadow: 0 24px 60px rgba(0,0,0,0.32); }
.rq-title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 0.35rem; }
.rq-intro { font-size: 13.5px; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.55; }
.rq-field { display: block; margin-bottom: 0.95rem; }
.rq-field span { display: block; font-size: 11.5px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.rq-field input, .rq-field textarea, .rq-field select {
  width: 100%; font-family: inherit; font-size: 14.5px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s; resize: vertical;
}
.rq-field input:focus, .rq-field textarea:focus, .rq-field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18,170,187,0.15); }
.btn-request {
  width: 100%; justify-content: center; margin-top: 0.35rem;
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 600;
  padding: 15px 20px; border: none; border-radius: 9px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px; transition: background 0.15s;
}
.btn-request svg { width: 18px; height: 18px; }
.btn-request:hover { background: var(--accent-600); }

/* CTA STRIP */
.cta-strip { background: var(--deep); position: relative; overflow: hidden; padding: 3.25rem 3rem; }
.cta-strip .water-caustics { opacity: 0.35; }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; max-width: 1120px; margin: 0 auto; }
.cta-title { font-family: var(--serif); font-size: 30px; color: #fff; margin-bottom: 5px; font-weight: 600; }
.cta-sub { font-size: 14.5px; color: rgba(255,255,255,0.72); font-weight: 400; }

/* TESTIMONIAL */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1120px; margin: 0 auto; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem; }
.quote-stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; margin-bottom: 0.85rem; }
.quote-txt { font-size: 14.5px; color: var(--ink); line-height: 1.7; font-weight: 400; margin-bottom: 1.1rem; }
.quote-by { font-size: 13px; font-weight: 600; color: var(--ink); }
.quote-loc { font-size: 12px; color: var(--muted); margin-top: 1px; }

/* FOOTER */
.footer { background: var(--deep); padding: 3.5rem 3rem 3rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.ft-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; text-decoration: none; }
.ft-logo .logo-mark { width: 40px; height: 40px; }
.ft-logo .logo-mark svg { width: 22px; height: 22px; }
.ft-name { font-size: 15px; font-weight: 600; color: #fff; }
.ft-tagline { font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.7; font-weight: 400; max-width: 320px; }
.ft-heading { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 0.9rem; }
.ft-row { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255,255,255,0.75); margin-bottom: 0.6rem; font-weight: 400; }
.ft-row svg { width: 16px; height: 16px; color: rgba(255,255,255,0.4); flex-shrink: 0; }
.ft-row a { color: inherit; text-decoration: none; }
.ft-row a:hover { color: #fff; }
.ft-row strong { color: #fff; font-weight: 600; }
.ft-links { list-style: none; }
.ft-links li { margin-bottom: 0.55rem; }
.ft-links a { font-size: 13.5px; color: rgba(255,255,255,0.75); text-decoration: none; font-weight: 400; }
.ft-links a:hover { color: #fff; }
.ft-bottom { background: #061F27; padding: 1.1rem 3rem; display: flex; justify-content: space-between; align-items: center; }
.ft-copy { font-size: 12px; color: rgba(255,255,255,0.4); }

/* DEMO NOTES */
.demo-note {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1.5px dashed #7C3AED; background: rgba(124, 58, 237, 0.06);
  border-radius: 10px; padding: 0.9rem 1.25rem;
  font-size: 13px; color: #5B21B6; line-height: 1.6; font-weight: 400;
}
.demo-note-badge {
  flex-shrink: 0; background: #7C3AED; color: #fff;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; margin-top: 2px;
}
.demo-note-strip { padding: 1.25rem 3rem; background: var(--paper); max-width: 1180px; margin: 0 auto; }
.rq-note { margin-top: 0.9rem; }

/* ===================================================================
   POLISH PASS — motion, depth, and new luxury-outdoor components
   All animation is opt-in and disabled under prefers-reduced-motion.
   =================================================================== */

/* --- MOTION KEYFRAMES --- */
@keyframes rippleWaveDrift { from { transform: translateX(0); } to { transform: translateX(-80px); } }
@keyframes causticShimmer {
  0%,100% { opacity: 0.85; transform: translate3d(0,0,0) scale(1); }
  50%     { opacity: 1;    transform: translate3d(10px,-8px,0) scale(1.06); }
}
@keyframes floatUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes sheen { from { transform: translateX(-140%) skewX(-18deg); } to { transform: translateX(260%) skewX(-18deg); } }
@keyframes pulseDot { 0%,100% { opacity: 0.35; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .water-caustics { animation: causticShimmer 9s ease-in-out infinite; }
  .water-waves path { animation: rippleWaveDrift 14s linear infinite alternate; }

  /* Entrance for hero content */
  .hero-inner > * { animation: floatUp 0.7s cubic-bezier(.2,.7,.2,1) backwards; }
  .hero-inner .tag       { animation-delay: 0.05s; }
  .hero-inner .h1        { animation-delay: 0.15s; }
  .hero-inner .hero-p    { animation-delay: 0.28s; }
  .hero-inner .btns      { animation-delay: 0.40s; }
  .hero-inner .hero-badges { animation-delay: 0.52s; }

  /* Button sheen sweep */
  .btn-primary { position: relative; overflow: hidden; }
  .btn-primary::after {
    content: ""; position: absolute; top: 0; left: 0; width: 45%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: translateX(-140%) skewX(-18deg); pointer-events: none;
  }
  .btn-primary:hover::after { animation: sheen 0.9s ease; }
}

/* --- REFINED PHOTO PLACEHOLDERS (art-directed) --- */
.photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(6,32,40,0.55) 100%);
}
.photo .photo-ic { position: relative; z-index: 2; transition: transform 0.5s cubic-bezier(.2,.7,.2,1), opacity 0.4s; }
.gallery-grid .photo, .split .photo, .split-media .photo { cursor: pointer; }
.gallery-grid .photo::after, .split .photo::after { z-index: 3; transition: transform 0.4s ease; }
.gallery-grid .photo:hover .photo-ic { transform: scale(1.12) translateY(-4px); opacity: 0.8; }
.gallery-grid .photo:hover::after { transform: translateY(-2px); }
.gallery-grid .photo { transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(.2,.7,.2,1); }
.gallery-grid .photo:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(8,46,58,0.30); }
/* subtle drifting caustic sheen inside every art-directed photo */
.photo .photo-sheen { position: absolute; inset: -20%; z-index: 1; pointer-events: none;
  background: radial-gradient(45% 30% at 30% 25%, rgba(255,255,255,0.14), transparent 60%),
              radial-gradient(40% 28% at 70% 70%, rgba(127,227,239,0.14), transparent 60%);
  mix-blend-mode: screen; }
@media (prefers-reduced-motion: no-preference) { .photo .photo-sheen { animation: causticShimmer 11s ease-in-out infinite; } }

/* --- BEFORE / AFTER SLIDER (pure CSS, no JS) --- */
.ba-showcase { max-width: 1120px; margin: 0 auto 2.75rem; }
.ba {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16 / 8; min-height: 300px; box-shadow: 0 20px 50px rgba(8,46,58,0.22);
  --pos: 50%;
}
.ba .ba-layer { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.1rem 1.35rem; }
.ba .ba-before {
  background: linear-gradient(150deg, #5B6B66 0%, #3C4A46 60%, #2A3532 100%);
}
.ba .ba-before::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(0,0,0,0.10) 0 3px, transparent 3px 16px);
  opacity: 0.6;
}
.ba .ba-after {
  clip-path: inset(0 0 0 var(--pos));
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.5) 0 2px, transparent 2px 22px),
    linear-gradient(150deg, #16697A 0%, #0C4A5A 55%, #082E3A 100%);
}
.ba-tag { position: relative; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: #fff; background: rgba(8,46,58,0.6); padding: 5px 11px; border-radius: 6px; backdrop-filter: blur(2px); }
.ba .ba-after .ba-tag { background: rgba(18,170,187,0.85); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; z-index: 3; transform: translateX(-1px); box-shadow: 0 0 0 1px rgba(8,46,58,0.15); }
.ba-handle::before {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
  letter-spacing: 1px; box-shadow: 0 6px 18px rgba(8,46,58,0.35);
}
.ba-caption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 0.9rem; }

/* --- FINANCING BLOCK --- */
.finance { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4.5rem 3rem; }
.finance-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.finance-copy .sec-h { font-size: 32px; }
.finance-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; }
.finance-list .item { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.finance-list .item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.finance-list .item strong { color: var(--ink); font-weight: 600; }
.finance-card {
  background: linear-gradient(160deg, var(--teal) 0%, var(--deep) 100%); color: #fff;
  border-radius: 18px; padding: 2.25rem; box-shadow: 0 24px 60px rgba(8,46,58,0.28); position: relative; overflow: hidden;
}
.finance-card .water-caustics { opacity: 0.35; }
.finance-card-inner { position: relative; z-index: 2; }
.finance-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #7FE3EF; margin-bottom: 0.75rem; }
.finance-amt { font-family: var(--serif); font-size: 52px; line-height: 1; font-weight: 600; }
.finance-amt span { font-size: 18px; color: rgba(255,255,255,0.7); font-family: var(--sans); font-weight: 500; }
.finance-sub { font-size: 13.5px; color: rgba(255,255,255,0.78); margin-top: 0.65rem; line-height: 1.6; }
.finance-divider { height: 1px; background: rgba(255,255,255,0.16); margin: 1.5rem 0; }
.finance-points { display: flex; flex-direction: column; gap: 0.65rem; }
.finance-points span { font-size: 13.5px; color: rgba(255,255,255,0.9); display: flex; align-items: center; gap: 10px; }
.finance-points svg { width: 17px; height: 17px; color: #7FE3EF; flex-shrink: 0; }

/* --- WARRANTY / CRAFT BAND --- */
.craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.25rem; }
.craft-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem; position: relative; overflow: hidden; }
.craft-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--accent), var(--teal)); }
.craft-stat { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--teal); line-height: 1; }
.craft-stat small { font-size: 17px; color: var(--accent); }
.craft-label { font-size: 14.5px; font-weight: 600; color: var(--ink); margin-top: 0.6rem; }
.craft-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-top: 0.4rem; }

/* --- SEASON RIBBON --- */
.season-ribbon {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  background: linear-gradient(90deg, var(--accent), var(--teal-700));
  color: #fff; padding: 0.85rem 1.5rem; text-align: center; font-size: 13.5px; font-weight: 500;
}
.season-ribbon strong { font-weight: 700; }
.season-ribbon .dot { width: 8px; height: 8px; border-radius: 50%; background: #7FE3EF; flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) { .season-ribbon .dot { animation: pulseDot 1.8s ease-in-out infinite; } }
.season-ribbon a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* --- 3D DESIGN CONSULT CALLOUT --- */
.design-callout {
  max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 1.75rem;
  align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.75rem 2rem; box-shadow: 0 12px 34px rgba(12,74,90,0.08);
}
.design-callout .dc-badge {
  width: 60px; height: 60px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--tint); color: var(--teal);
}
.design-callout .dc-badge svg { width: 30px; height: 30px; }
.design-callout .dc-t { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); }
.design-callout .dc-d { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 4px; max-width: 560px; }

/* ===================================================================
   IMMERSIVE GALLERY-FIRST HOME (Ripple "builder / portfolio" variant)
   Full-bleed portfolio hero + gallery-led magazine layout.
   Distinct from the service-first sibling demos.
   =================================================================== */

/* --- FULL-BLEED PORTFOLIO HERO --- */
.gallery-hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 74px);
  display: flex; align-items: flex-end;
  background: var(--deep);
}
.gh-stage { position: absolute; inset: 0; z-index: 0; }
.gh-photo {
  position: absolute; inset: 0; height: 100%; min-height: 100%;
  border-radius: 0; transform-origin: center;
}
.gh-photo::after { display: none; }              /* no corner label on the hero image */
.gh-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,32,40,0.20) 0%, rgba(6,32,40,0.30) 42%, rgba(6,32,40,0.86) 100%),
    linear-gradient(90deg, rgba(6,32,40,0.60) 0%, rgba(6,32,40,0.10) 62%, rgba(6,32,40,0) 100%);
}
.gh-content { position: relative; z-index: 3; padding: 3.5rem 3rem; max-width: 780px; width: 100%; }
.gh-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: #7FE3EF;
  margin-bottom: 1.1rem;
}
.gh-kicker svg { width: 15px; height: 15px; color: #7FE3EF; }
.gh-h1 {
  font-family: var(--serif); font-size: 62px; line-height: 1.02; font-weight: 600;
  color: #fff; letter-spacing: -0.02em; margin-bottom: 1.2rem;
  text-shadow: 0 2px 26px rgba(0,0,0,0.4); max-width: 14ch;
}
.gh-h1 .aqua { color: #7FE3EF; font-style: italic; }
.gh-p { font-size: 17.5px; color: rgba(255,255,255,0.92); line-height: 1.65; max-width: 520px; margin-bottom: 2rem; }
.gh-caption {
  position: absolute; left: 3rem; top: 2.25rem; z-index: 3;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); background: rgba(8,46,58,0.5);
  padding: 6px 12px; border-radius: 100px; backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,0.18);
}
/* portfolio filmstrip pinned to the hero */
.gh-strip { position: absolute; right: 3rem; bottom: 3.25rem; z-index: 3; display: flex; gap: 0.75rem; }
.gh-thumb {
  width: 104px; height: 74px; min-height: 0; border-radius: 10px; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.28); box-shadow: 0 10px 26px rgba(6,32,40,0.4);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), border-color 0.25s;
}
.gh-thumb::after { display: none; }
.gh-thumb:hover { transform: translateY(-4px); border-color: #7FE3EF; }
.gh-scroll {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); z-index: 3;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6);
  display: inline-flex; flex-direction: column; align-items: center; gap: 5px;
}
.gh-scroll svg { width: 18px; height: 18px; color: rgba(255,255,255,0.6); }

/* --- GALLERY SECTION HEADER (portfolio-led) --- */
.gallery-lead { padding: 4.25rem 3rem 1.5rem; }
.gallery-lead-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.gallery-lead .sec-h { font-size: 34px; }
.gallery-lead .sec-p { max-width: 520px; margin-top: 0.75rem; }
.gallery-lead-cta { flex-shrink: 0; }

/* interactive filter chips (home gallery) */
.filter-bar.js-filter { justify-content: flex-start; max-width: 1160px; margin: 0 auto 1.75rem; }
.js-filter .chip { cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.js-filter .chip:hover { color: var(--teal); border-color: var(--teal); }
.js-filter .chip.on:hover { color: #fff; }

/* make interactive gallery span full content width */
.section .gallery-grid.js-gallery { margin-bottom: 0.5rem; }

/* --- SECTION BADGE FOR HOME BANDS (reuse .band styling on index) --- */
.home-band { padding: 4.5rem 3rem; }
.home-band.alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-band-inner { max-width: 1120px; margin: 0 auto; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes ghSlowZoom { from { transform: scale(1.06); } to { transform: scale(1.14); } }
  @keyframes ghBob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 5px); } }
  .gh-photo { animation: ghSlowZoom 22s ease-in-out infinite alternate; }
  .gh-content > * { animation: floatUp 0.75s cubic-bezier(.2,.7,.2,1) backwards; }
  .gh-content .gh-kicker { animation-delay: 0.05s; }
  .gh-content .gh-h1 { animation-delay: 0.16s; }
  .gh-content .gh-p { animation-delay: 0.30s; }
  .gh-content .btns { animation-delay: 0.42s; }
  .gh-strip { animation: floatUp 0.8s cubic-bezier(.2,.7,.2,1) 0.5s backwards; }
  .gh-scroll svg { animation: ghBob 1.8s ease-in-out infinite; }
}

/* RESPONSIVE — gallery hero */
@media (max-width: 960px) {
  .gh-h1 { font-size: 46px; }
  .gh-strip { display: none; }
  .gallery-lead-inner { flex-direction: column; align-items: flex-start; }
  .home-band { padding-left: 1.5rem; padding-right: 1.5rem; }
  .gallery-lead { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 600px) {
  .gh-content { padding: 2.5rem 1.25rem; }
  .gh-h1 { font-size: 34px; }
  .gh-p { font-size: 15.5px; }
  .gh-caption { left: 1.25rem; top: 1.5rem; }
  .gh-scroll { display: none; }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav { padding: 0 1.5rem; }
  .nav-links { gap: 1.25rem; }
  .nav-links li:not(:last-child) { display: none; }
  .h1 { font-size: 42px; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .svc-grid, .feat-grid, .steps, .quotes { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.rev .split-media { order: 0; }
  .request-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer { grid-template-columns: 1fr 1fr; }
  .section, .band, .request, .cta-strip, .finance { padding-left: 1.5rem; padding-right: 1.5rem; }
  .finance-inner { grid-template-columns: 1fr; gap: 2rem; }
  .craft-grid { grid-template-columns: 1fr; }
  .design-callout { grid-template-columns: auto 1fr; }
  .design-callout .btn-primary { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 600px) {
  .nav { padding: 0 1rem; height: 66px; }
  .logo-sub { display: none; }
  .nav-cta { padding: 9px 14px; }
  .hero-inner { padding: 3rem 1.25rem; }
  .h1 { font-size: 34px; }
  .hero-p { font-size: 15.5px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; border-bottom: 1px solid var(--line); }
  .svc-grid, .feat-grid, .steps, .quotes { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-grid .tall { grid-row: span 1; }
  .sec-h { font-size: 28px; }
  .page-h1 { font-size: 34px; }
  .request-h { font-size: 30px; }
  .footer { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; }
  .ft-bottom { padding: 1rem 1.5rem; flex-direction: column; gap: 5px; text-align: center; }
  .cta-strip .btn-primary { width: 100%; justify-content: center; }
  .finance-amt { font-size: 44px; }
  .ba { aspect-ratio: 4 / 5; }
  .design-callout { grid-template-columns: 1fr; text-align: center; }
  .design-callout .dc-badge { margin: 0 auto; }
  .design-callout .dc-d { margin-left: auto; margin-right: auto; }
}
