/* Sunsational Pools & Spas
   Palette: plaster white base, deep pool navy, turquoise water, marigold sun (Redlands citrus).
   Type: Bricolage Grotesque (display) / Albert Sans (body) / DM Mono (utility). */

:root {
  --plaster: #F1F5F5;
  --plaster-2: #E3ECEC;
  --white: #FFFFFF;
  --deep: #072B38;
  --deep-2: #0B3B4D;
  --deep-3: #114A5E;
  --water: #149DBB;
  --water-dark: #0B6A80;
  --water-light: #8ADCEA;
  --sun: #F3A31E;
  --sun-deep: #C97A0A;
  --ink: #0F2A33;
  --muted: #4D6B75;
  --line: rgba(7, 43, 56, 0.12);
  --sand: #D8CBB4;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Albert Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -20px rgba(7, 43, 56, 0.35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--plaster);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--water-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.02em; color: var(--deep); font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: 0; }
.small { font-size: .875rem; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--deep); padding: .6rem 1rem; border-radius: 6px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- pool-floor background (sunlight on plaster, light sections only) ---------- */
.pool-floor { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: .17; }
.pool-floor-layer { position: absolute; inset: -10%; width: 120%; height: 120%; }
.pf-a { animation: floor-a 40s ease-in-out infinite alternate; }
.pf-b { animation: floor-b 55s ease-in-out infinite alternate; opacity: .6; }
@keyframes floor-a { from { transform: translate3d(-1.5%, -1%, 0) scale(1); } to { transform: translate3d(1.5%, 1%, 0) scale(1.05); } }
@keyframes floor-b { from { transform: translate3d(1.5%, 1%, 0) scale(1.05) rotate(.5deg); } to { transform: translate3d(-1.5%, -1%, 0) scale(1); } }
.services, .remodel, .trust, .area { background: transparent; }
.work { background: rgba(227,236,236,.55); }

/* ---------- hero entrance ---------- */
.rise { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; }
.r1 { animation-delay: .15s; } .r2 { animation-delay: .3s; } .r3 { animation-delay: .5s; } .r4 { animation-delay: .65s; } .r5 { animation-delay: .9s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--water-dark);
  margin: 0 0 .9rem;
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow-light { color: var(--water-light); }
.eyebrow-sun { color: var(--sun); }
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--body); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.35rem; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn-sun { background: var(--sun); color: var(--deep); box-shadow: 0 10px 24px -12px rgba(243, 163, 30, .8); }
.btn-sun { position: relative; overflow: hidden; }
.btn-sun::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -30%; width: 22%; background: rgba(255,255,255,.45); transform: skewX(-20deg) translateX(-160%); transition: transform .7s var(--ease); }
.btn-sun:hover::after { transform: skewX(-20deg) translateX(620%); }
.btn-sun:hover { background: #F7B23C; color: var(--deep); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-deep { background: var(--deep); color: #fff; }
.btn-deep:hover { background: var(--deep-2); color: #fff; }
.link-arrow { font-weight: 600; color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 245, 245, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--deep); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand-sub { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--water-dark); margin-top: 3px; }
.site-nav ul { display: flex; gap: 1.6rem; }
.site-nav a { color: var(--deep); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: .3rem 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--water); transition: right .3s var(--ease); }
.site-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-phone { color: var(--deep); text-decoration: none; font-weight: 500; font-size: .95rem; }
.header-phone:hover { color: var(--water-dark); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--deep); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(92vh, 900px);
  display: grid; align-content: end;
  color: #fff; overflow: hidden; background: var(--deep);
  isolation: isolate;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center 60%; animation: kenburns 28s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.caustics { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .45; }
.caustic-layer { position: absolute; inset: -12%; width: 124%; height: 124%; }
.caustic-a { animation: drift-a 26s linear infinite alternate; }
.caustic-b { animation: drift-b 34s linear infinite alternate; opacity: .6; }
@keyframes drift-a { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 1.5%, 0) scale(1.06); } }
@keyframes drift-b { from { transform: translate3d(2%, 1%, 0) scale(1.05); } to { transform: translate3d(-2%, -1.5%, 0) scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,43,56,.55) 0%, rgba(7,43,56,.05) 30%, rgba(7,43,56,.15) 55%, rgba(7,43,56,.85) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(6rem, 14vh, 9rem) 0 2.5rem; }
.hero-copy { max-width: 820px; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; text-wrap: balance; }
.hero-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.88); max-width: 34em; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-trust {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  padding: 1.25rem 0 3.5rem;
  border-top: 1px solid rgba(255,255,255,.22);
  font-size: .875rem; color: rgba(255,255,255,.85);
}
.hero-trust li { display: flex; align-items: center; gap: .5rem; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.hero-trust .mono { color: #fff; }

.waterline { margin-top: -59px; position: relative; z-index: 3; line-height: 0; height: 60px; overflow: hidden; }
.wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 60px; display: block; }
.wave-back { animation: wave-slide 14s linear infinite; }
.wave-front { animation: wave-slide 9s linear infinite reverse; }
@keyframes wave-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- section head ---------- */
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head h2 { text-wrap: balance; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head-row .section-lede { margin: 0; }
.section-head-light h2 { color: #fff; }
.section-lede { color: var(--muted); font-size: 1.1rem; max-width: 40em; }
.section-head-light .section-lede { color: rgba(255,255,255,.75); }

/* ---------- services ---------- */
.services { padding: 5rem 0 6rem; }
.services-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: start; }
.service-featured {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none;
  aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); background: var(--deep);
}
.service-featured img { width: 100%; height: 100%; object-fit: cover; object-position: center 78%; transition: transform 1.2s var(--ease); }
.service-featured:hover img { transform: scale(1.04); }
.service-featured-body {
  position: absolute; inset: auto 0 0 0; padding: 2rem;
  background: linear-gradient(180deg, rgba(7,43,56,0) 0%, rgba(7,43,56,.75) 45%, rgba(7,43,56,.92) 100%);
}
.service-featured h3 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.service-featured p { color: rgba(255,255,255,.85); max-width: 36em; }
.service-featured .link-arrow { color: var(--sun); }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 2rem; padding-top: .5rem; }
.service-list h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.service-list p { color: var(--muted); font-size: .96rem; margin: 0; }
.service-list li { position: relative; padding-top: .9rem; }
.service-list li::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 3px; background: var(--water); border-radius: 2px; }
.service-list li:nth-child(odd)::before { background: var(--sun); }

/* ---------- work / gallery ---------- */
.work { padding: 5rem 0 6rem; background: var(--plaster-2); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-family: var(--body); font-weight: 500; font-size: .875rem; padding: .5rem .95rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--deep); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--water); }
.chip.is-active { background: var(--deep); color: #fff; border-color: var(--deep); }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px;
}
.g-item { border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--deep); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-item figure { margin: 0; height: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .8rem; color: #fff; font-size: .85rem; font-weight: 500;
  background: linear-gradient(180deg, rgba(7,43,56,0), rgba(7,43,56,.8));
  transform: translateY(6px); opacity: 0; transition: transform .35s var(--ease), opacity .35s;
}
.g-item:hover figcaption, .g-item:focus-within figcaption { transform: none; opacity: 1; }
.g-item.is-hidden { display: none; }
.gallery.stagger .g-item { opacity: 0; transform: translateY(16px); }
.gallery.stagger.on .g-item { opacity: 1; transform: none; }
.gallery.stagger.on .g-item:nth-child(2) { transition-delay: 0.08s; }
.gallery.stagger.on .g-item:nth-child(3) { transition-delay: 0.16s; }
.gallery.stagger.on .g-item:nth-child(4) { transition-delay: 0.24s; }
.gallery.stagger.on .g-item:nth-child(5) { transition-delay: 0.32s; }
.gallery.stagger.on .g-item:nth-child(6) { transition-delay: 0.40s; }
.gallery.stagger.on .g-item:nth-child(7) { transition-delay: 0.48s; }
.gallery.stagger.on .g-item:nth-child(8) { transition-delay: 0.56s; }
.work-note { margin: 2rem auto 0; max-width: 46em; color: var(--muted); text-align: center; }

/* ---------- process ---------- */
.process { padding: 6rem 0 7rem; background: var(--deep); color: #fff; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem 2rem; margin-top: 1rem; }
.timeline li::after {
  content: ""; position: absolute; left: 20px; right: -2rem; top: 11px; height: 1px;
  background: rgba(138,220,234,.45);
}
.timeline li:first-child::after { background: linear-gradient(90deg, var(--sun), rgba(138,220,234,.45)); }
.timeline li:nth-child(4n)::after { right: 0; }
.timeline li:last-child::after { background: linear-gradient(90deg, rgba(138,220,234,.45), rgba(138,220,234,0)); }
.timeline li { position: relative; padding-top: 2.2rem; }
.timeline.draw li::after { transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.timeline.draw li::before { transform: scale(0); transition: transform .45s var(--ease); }
.timeline.draw li .t-num, .timeline.draw li h3, .timeline.draw li p { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.timeline.draw.on li::after, .timeline.draw.on li::before { transform: none; }
.timeline.draw.on li .t-num, .timeline.draw.on li h3, .timeline.draw.on li p { opacity: 1; transform: none; }
.timeline.draw.on li:nth-child(1) > *, .timeline.draw.on li:nth-child(1)::before, .timeline.draw.on li:nth-child(1)::after { transition-delay: 0.00s; }
.timeline.draw.on li:nth-child(2) > *, .timeline.draw.on li:nth-child(2)::before, .timeline.draw.on li:nth-child(2)::after { transition-delay: 0.30s; }
.timeline.draw.on li:nth-child(3) > *, .timeline.draw.on li:nth-child(3)::before, .timeline.draw.on li:nth-child(3)::after { transition-delay: 0.60s; }
.timeline.draw.on li:nth-child(4) > *, .timeline.draw.on li:nth-child(4)::before, .timeline.draw.on li:nth-child(4)::after { transition-delay: 0.90s; }
.timeline.draw.on li:nth-child(5) > *, .timeline.draw.on li:nth-child(5)::before, .timeline.draw.on li:nth-child(5)::after { transition-delay: 1.20s; }
.timeline.draw.on li:nth-child(6) > *, .timeline.draw.on li:nth-child(6)::before, .timeline.draw.on li:nth-child(6)::after { transition-delay: 1.50s; }
.timeline.draw.on li:nth-child(7) > *, .timeline.draw.on li:nth-child(7)::before, .timeline.draw.on li:nth-child(7)::after { transition-delay: 1.80s; }
.timeline.draw.on li:nth-child(8) > *, .timeline.draw.on li:nth-child(8)::before, .timeline.draw.on li:nth-child(8)::after { transition-delay: 2.10s; }
.timeline li::before {
  content: ""; position: absolute; top: 5px; left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--deep); border: 2px solid var(--water-light);
}
.timeline li:first-child::before { background: var(--sun); border-color: var(--sun); }
.t-num { display: block; font-size: .78rem; color: var(--water-light); margin-bottom: .55rem; letter-spacing: .08em; }
.timeline h3 { color: #fff; font-size: 1.15rem; margin-bottom: .4rem; }
.timeline p { color: rgba(255,255,255,.72); font-size: .95rem; margin: 0; }

/* ---------- remodel ---------- */
.remodel { padding: 6rem 0; }
.remodel-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.remodel-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 6/7; }
.remodel-media img { width: 100%; height: 100%; object-fit: cover; }
.remodel-copy > p { color: var(--muted); font-size: 1.05rem; }
.remodel-list { margin: 2rem 0 2.2rem; display: grid; gap: 1.2rem; }
.remodel-list div { display: grid; grid-template-columns: 1fr; gap: .15rem; padding-left: 1.1rem; position: relative; }
.remodel-list div::before { content: ""; position: absolute; left: 0; top: .5rem; width: 6px; height: 6px; border-radius: 50%; background: var(--water); }
.remodel-list dt { font-weight: 600; color: var(--deep); }
.remodel-list dd { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- trust + financing ---------- */
.trust { padding: 5rem 0 6rem; }
.trust-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.trust-main > p { color: var(--muted); font-size: 1.05rem; max-width: 42em; }
.trust-links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.4rem; }
.trust-links a { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--water-light); padding-bottom: 2px; }
.trust-links a:hover { border-color: var(--deep); }
.financing {
  background: var(--deep); color: #fff; border-radius: var(--radius); padding: 2rem 2.2rem;
  position: relative; overflow: hidden;
}
.financing::after {
  content: ""; position: absolute; right: 1.6rem; top: 1.5rem; width: 44px; height: 44px; border-radius: 50%;
  background: var(--sun); clip-path: inset(0 0 50% 0);
}
.financing::before {
  content: ""; position: absolute; right: 1.2rem; top: calc(1.5rem + 22px); width: 58px; height: 2px; border-radius: 2px;
  background: var(--water-light);
}
.financing h3 { color: #fff; font-size: 1.6rem; }
.financing p { color: rgba(255,255,255,.8); }
.financing .link-arrow { color: var(--sun); position: relative; }

/* ---------- service area ---------- */
.area { padding: 0 0 6rem; }
.area-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: stretch; }
.area-copy > p { color: var(--muted); }
.city-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem 1rem; margin: 1.5rem 0; font-size: .95rem; }
.city-list li { padding: .2rem 0; color: var(--muted); }
.city-list li:first-child { font-weight: 600; color: var(--deep); }
.area-note { color: var(--muted); font-size: .95rem; }
.area-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: var(--plaster-2); }
#map { width: 100%; height: 100%; min-height: 420px; }
.leaflet-container { font-family: var(--body); }
.map-pin { width: 22px; height: 22px; border-radius: 50%; background: var(--sun); border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(243,163,30,.35), 0 6px 14px rgba(7,43,56,.35); }
.leaflet-popup-content { font-size: .9rem; line-height: 1.4; }
.leaflet-popup-content strong { font-family: var(--display); }

/* ---------- contact ---------- */
.contact { padding: 6rem 0; background: var(--deep-2); color: #fff; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: start; }
.contact h2 { color: #fff; }
.contact-copy > p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; margin-top: 2.2rem; }
.contact-details dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--water-light); font-weight: 600; margin-bottom: .3rem; }
.contact-details dd { margin: 0; color: #fff; }
.contact-details a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.contact-details a:hover { border-color: var(--sun); color: #fff; }
.quote-form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.quote-form label { display: block; font-size: .875rem; font-weight: 600; color: var(--deep); margin-bottom: 1rem; }
.quote-form input, .quote-form select, .quote-form textarea {
  display: block; width: 100%; margin-top: .35rem; font: inherit; font-weight: 400; font-size: 1rem;
  padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--plaster);
  color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid transparent; border-color: var(--water); box-shadow: 0 0 0 4px rgba(20,157,187,.18); background: #fff; }
.quote-form textarea { resize: vertical; min-height: 110px; }
.quote-form [aria-invalid="true"] { border-color: #B4321E; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; left: -9999px; }
.quote-form .btn { width: 100%; margin-top: .4rem; }
.form-status { margin: .9rem 0 0; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #0F7A4A; font-weight: 600; }
.form-status.err { color: #B4321E; }
.form-fine { margin: .8rem 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: rgba(255,255,255,.78); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .brand-mark { width: 44px; height: 44px; margin-bottom: 1rem; }
.footer-brand strong { color: #fff; font-family: var(--display); font-size: 1.1rem; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--body); margin-bottom: .8rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer li { margin-bottom: .35rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; }
.footer-bottom p { margin: 0; }

.mobile-call { display: none; }
.mobile-call.is-hidden { transform: translateY(120%); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .site-nav ul { gap: 1.1rem; }
  .header-phone { display: none; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline li::after { display: none; }
  .timeline li { padding-left: 1.6rem; padding-top: 0; }
  .timeline li::before { top: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .site-nav { position: fixed; inset: 73px 0 auto 0; background: var(--plaster); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: transform .3s var(--ease), opacity .3s, visibility 0s .3s; z-index: 40; box-shadow: 0 20px 40px -20px rgba(7,43,56,.3); }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; transition: transform .3s var(--ease), opacity .3s, visibility 0s; }
  .site-nav ul { flex-direction: column; gap: .2rem; }
  .site-nav a { display: block; padding: .7rem 0; font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .header-actions { gap: .4rem; }
  .services-layout, .remodel-layout, .trust-layout, .area-layout, .contact-layout { grid-template-columns: 1fr; }
  .service-featured { aspect-ratio: auto; }
  .service-featured img { position: static; aspect-ratio: 4/3; height: auto; }
  .service-featured-body { position: relative; padding: 1.6rem 1.5rem 1.8rem; background: var(--deep); }
  .service-list { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .remodel-media { aspect-ratio: 4/3; max-height: 460px; }
  .area-map { min-height: 340px; }
  .chip { min-height: 44px; padding-inline: 1.1rem; }
  .mobile-call { display: flex; transition: transform .35s var(--ease); position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; justify-content: center; align-items: center; padding: .9rem; background: var(--sun); color: var(--deep); font-weight: 700; text-decoration: none; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(7,43,56,.55); }
  body { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .hero { min-height: 88vh; }
  .hero-inner { padding-top: 5rem; }
  .hero-shade { background: linear-gradient(180deg, rgba(7,43,56,.55) 0%, rgba(7,43,56,.3) 30%, rgba(7,43,56,.5) 55%, rgba(7,43,56,.9) 100%); }
  .hero .eyebrow { flex-wrap: wrap; font-size: .72rem; }
  .hero .eyebrow .dot { display: none; }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { gap: .4rem 1.2rem; padding-bottom: 3.5rem; }
  .service-list { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 150px; gap: 8px; }
  .g-item.wide { grid-column: span 2; }
  .g-item figcaption { opacity: 1; transform: none; }
  .timeline { grid-template-columns: 1fr; gap: 1.8rem; }
  .city-list { grid-template-columns: repeat(2, 1fr); }
  .contact-details, .f-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img, .caustic-a, .caustic-b, .pf-a, .pf-b, .wave-back, .wave-front { animation: none; }
  .rise { animation: none; opacity: 1; transform: none; }
  .timeline.draw li::after, .timeline.draw li::before, .timeline.draw li > *, .gallery.stagger .g-item { transition: none; opacity: 1; transform: none; }
  .btn-sun::after { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .g-item img, .service-featured img { transition: none; }
}
