/* ============================================================
   SOLID GROUND SERVICES — Brand Stylesheet
   Palette pulled from brand inspiration (steel blue + navy),
   supported by a natural pine green + warm stone neutral.
   ============================================================ */

:root {
  /* --- Brand palette --- */
  --navy:        #0E2233;  /* deep navy — from apparel shadow */
  --navy-800:    #14314A;
  --blue-700:    #2E5F81;
  --blue-600:    #3A6E90;
  --blue:        #4E7C9C;  /* PRIMARY — steel/slate blue */
  --blue-300:    #7FA8C4;
  --sky:         #E6EEF3;  /* pale blue tint */
  --green:       #3E6B4F;  /* SECONDARY — pine (landscaping) */
  --green-600:   #4E7E60;
  --green-300:   #7FA98C;
  --sand:        #EDE7DB;  /* warm stone neutral */
  --sand-dark:   #DED6C6;

  /* --- Ink & surface --- */
  --ink:         #16222C;
  --muted:       #566674;
  --line:        #E3E7EB;
  --white:       #FBFCFD;
  --surface:     #FFFFFF;

  /* --- Type --- */
  --font-head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* --- Metrics --- */
  --wrap: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(14,34,51,.08), 0 1px 2px rgba(14,34,51,.06);
  --shadow: 0 10px 30px -12px rgba(14,34,51,.28);
  --shadow-lg: 0 24px 60px -20px rgba(14,34,51,.40);
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset-ish ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green); }
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; margin: 0 0 .4em; letter-spacing: .01em; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 600;
  font-size: .9rem;
  color: var(--blue);
  margin: 0 0 .8rem;
}
.eyebrow.on-dark { color: var(--blue-300); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section.tint { background: var(--sky); }
.section.sand { background: var(--sand); }
.section.navy { background: var(--navy); color: #DCE6EE; }
.section.navy h1,.section.navy h2,.section.navy h3 { color: #fff; }
.center { text-align: center; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.center .lede { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 28px; }
.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 10px; cursor: pointer;
  border: 2px solid transparent; transition: all .22s var(--ease);
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #33583f; color:#fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--blue-300); }
.btn-ghost:hover { border-color: var(--blue); background: var(--sky); color: var(--navy); }
.btn-ghost.on-dark { color:#fff; border-color: rgba(255,255,255,.4); }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,.1); border-color:#fff; color:#fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,252,253,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.brand { color: var(--navy); display: flex; align-items: center; position: relative; top: -25px; z-index: 5; }
.brand svg, .brand img { height: 140px; width: auto; display: block; filter: drop-shadow(0 3px 8px rgba(14,34,51,.22)); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--navy);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: var(--font-head); font-weight: 600; color: var(--navy); letter-spacing: .03em; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--navy); margin: 5px 0; transition: .25s var(--ease); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(14,34,51,.86) 0%, rgba(14,34,51,.62) 45%, rgba(14,34,51,.28) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(80px,14vw,150px) 0 clamp(70px,11vw,120px); max-width: 760px; }
.hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero .lede { color: #E4EDF3; font-size: 1.3rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 26px 38px; }
.hero-trust .stat b { font-family: var(--font-head); font-size: 2.2rem; color: #fff; display:block; line-height:1; }
.hero-trust .stat span { color: var(--blue-300); font-size: .95rem; text-transform: uppercase; letter-spacing:.08em; }

/* ---------- Trust bar ---------- */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; }
.badge { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--navy); text-transform: uppercase; letter-spacing:.03em; }
.badge svg { width: 30px; height: 30px; color: var(--green); flex: 0 0 auto; }

/* ---------- Service cards ---------- */
.cards { grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-300); }
.card .ico {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sky); color: var(--blue-700); margin-bottom: 18px;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4em; color: var(--navy); }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Detailed service block (services page) */
.svc { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc .ico { width: 56px; height: 56px; border-radius: 12px; display:grid; place-items:center; background: var(--green); color:#fff; }
.svc .ico svg { width: 28px; height: 28px; }
.svc h3 { margin-bottom: .35em; }
.svc p { margin: 0; color: var(--muted); }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; max-height: 520px; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--green); flex: 0 0 auto; margin-top: 3px; }

/* ---------- Steps ---------- */
.steps { grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .n { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--blue-300); line-height:1; }
.step h3 { margin: 8px 0 .4em; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Gallery ---------- */
.gallery { columns: 3; column-gap: 18px; }
.gallery figure { margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; cursor: pointer; }
.gallery img { width: 100%; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px;
  color: #fff; font-family: var(--font-head); font-weight: 600; letter-spacing: .03em;
  background: linear-gradient(transparent, rgba(14,34,51,.82)); opacity: 0; transition: opacity .3s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; }

/* ---------- Testimonials ---------- */
.quotes { grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.quote { background: var(--surface); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.quote .stars { color: #E8A93B; letter-spacing: 2px; margin-bottom: 12px; font-size: 1.1rem; }
.quote p { font-size: 1.08rem; color: var(--ink); font-style: italic; }
.quote .who { font-family: var(--font-head); font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; margin-top: 14px; font-style: normal; }
.quote .who small { display:block; font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.placeholder-note { font-size: .85rem; color: var(--muted); font-style: italic; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--blue-700) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px,6vw,64px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D8E4EC; max-width: 56ch; margin-inline: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info .row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .row svg { width: 26px; height: 26px; color: var(--blue); flex: 0 0 auto; margin-top: 3px; }
.contact-info .row b { font-family: var(--font-head); text-transform: uppercase; letter-spacing:.04em; color: var(--navy); display:block; }
form.lead { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .92rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(78,124,156,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-success { display:none; background: var(--green); color:#fff; padding:14px 18px; border-radius:10px; font-family:var(--font-head); font-weight:600; letter-spacing:.03em; margin-bottom:18px; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 78ch; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.legal-meta { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #AFC1D0; padding: 70px 0 30px; }
.site-footer a { color: #C7D6E2; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer-brand svg { height: 46px; color: #fff; margin-bottom: 16px; }
.footer-brand p { color: #91A6B7; font-size: .96rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a { font-size: .96rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; color: #7C93A6; }
.footer-bottom a { color: #7C93A6; }

/* ---------- Page banner (interior pages) ---------- */
.page-banner { background: var(--navy); color:#fff; padding: clamp(56px,9vw,96px) 0 clamp(48px,7vw,72px); position: relative; overflow: hidden; }
.page-banner::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 85% -20%, rgba(78,124,156,.5), transparent 55%); }
.page-banner .wrap { position: relative; z-index: 1; }
.page-banner h1 { color:#fff; }
.page-banner p { color:#C7D6E2; max-width: 60ch; margin:0; font-size:1.15rem; }
.crumbs { font-family: var(--font-head); text-transform: uppercase; letter-spacing:.1em; font-size:.85rem; color: var(--blue-300); margin-bottom: 14px; }
.crumbs a { color: var(--blue-300); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(9,20,31,.94); z-index: 200; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox .close { position: absolute; top: 22px; right: 28px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* ---------- Utility ---------- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.skip { position:absolute; left:-999px; }
.skip:focus { left: 16px; top: 12px; z-index: 999; background:#fff; padding:10px 16px; border-radius:8px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav { height: 82px; }
  /* mobile logo: bigger + spans both bars (phone moves right so no overlap) */
  .brand { top: -18px; }
  .brand img { height: 92px; }
  .site-header.scrolled .brand img { height: 48px; }
  .topbar-inner { justify-content: flex-end; gap: 18px; height: 40px; font-size: .82rem; }
  .topbar .topbar-desk { display: none; }
  .topbar .topbar-phone { display: inline-flex; }
  /* mobile dropdown menu: full-width rows, even spacing, no hover-sweep */
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 6px 24px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-header.open .nav-links li { width: 100%; }
  .site-header.open .nav-links a { display: block; width: 100%; text-align: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
  .site-header.open .nav-links li:last-child a { border-bottom: none; }
  .site-header.open .nav-links a::after { content: none; }
  /* extra room at hero bottom so the scroll cue clears the stats */
  .hero-inner { padding-bottom: 130px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .hero .lede { font-size: 1.15rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .gallery { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn, .cta-actions .btn { width: auto; }
}

/* ============================================================
   MOTION & POLISH LAYER (v2)
   ============================================================ */

/* --- Scroll-aware header --- */
.site-header { transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.nav { transition: height .3s var(--ease); }
.site-header.scrolled { background: rgba(251,252,253,.96); box-shadow: 0 8px 30px -16px rgba(14,34,51,.35); }
.site-header.scrolled .nav { height: 68px; }
.brand svg, .brand img { transition: height .3s var(--ease); }
.brand { transition: top .3s var(--ease); }
.site-header.scrolled .brand { top: 0; }
.site-header.scrolled .brand img { height: 52px; }

/* Stacked header: top utility strip */
.topbar { background: var(--navy); color: #C7D6E2; overflow: hidden; max-height: 46px; transition: max-height .3s var(--ease), opacity .25s var(--ease); }
.topbar-inner { display: flex; align-items: center; justify-content: flex-end; gap: 28px; height: 46px; font-size: .87rem; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: #C7D6E2; letter-spacing: .01em; }
.topbar-item svg { width: 15px; height: 15px; color: var(--green-300); flex: 0 0 auto; }
a.topbar-item { transition: color .2s var(--ease); }
a.topbar-item:hover { color: #fff; }
.topbar-phone { display: none; }              /* phone: mobile-only (redundant on desktop) */
.site-header.scrolled .topbar { max-height: 0; opacity: 0; }
/* smaller Free Estimate button in the header */
.nav-cta .btn { padding: 11px 22px; font-size: .95rem; }

/* Footer: round logo on a white chip (color logo doesn't sit on navy) */
.footer-logo { width: 92px; height: 92px; background: #fff; border-radius: 50%; padding: 6px; box-sizing: border-box; box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.footer-brand > div { margin-bottom: 18px; }

/* --- Hero: Ken Burns drift + entrance + scroll cue --- */
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-media img { animation: kenburns 20s var(--ease) both; will-change: transform; }

@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-inner > * { opacity: 0; animation: riseIn .8s var(--ease) forwards; }
.hero-inner > *:nth-child(1) { animation-delay: .05s; }
.hero-inner > *:nth-child(2) { animation-delay: .16s; }
.hero-inner > *:nth-child(3) { animation-delay: .27s; }
.hero-inner > *:nth-child(4) { animation-delay: .38s; }
.hero-inner > *:nth-child(5) { animation-delay: .49s; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; display: grid; place-items: center; gap: 8px; color: #cfe0ec; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; opacity: .85; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.55); border-radius: 13px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 7px; background: #fff; border-radius: 3px; transform: translateX(-50%); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translate(-50%, 12px); } }

/* --- Scroll reveal (gated on html.js so no-JS shows everything) --- */
html.js .section-head,
html.js .card,
html.js .svc,
html.js .step,
html.js .quote,
html.js .gallery figure,
html.js .split > *,
html.js .badge,
html.js .cta-band,
html.js .contact-info .row,
html.js .team-band,
html.js .member,
html.js form.lead {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js .is-in { opacity: 1 !important; transform: none !important; }

/* --- Icons: crisp, consistent rendering --- */
.card .ico svg, .svc .ico svg { width: 27px; height: 27px; stroke-width: 1.75; }
.card .ico svg *, .svc .ico svg * { vector-effect: non-scaling-stroke; }
.card .ico { transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.card:hover .ico { transform: translateY(-2px) rotate(-4deg); background: var(--blue); color: #fff; }
.svc .ico { transition: transform .3s var(--ease); }
.svc:hover .ico { transform: rotate(-4deg) scale(1.05); }

/* --- Card top-accent on hover --- */
.card { position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover::before { transform: scaleX(1); }

/* --- Button arrow micro-interaction (arrow injected by JS) --- */
.btn .arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn-primary:hover .arrow, .btn-green:hover .arrow, .btn-ghost:hover .arrow { transform: translateX(4px); }
.btn { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.18), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn-primary:hover::after { opacity: 1; }

/* --- Topographic texture on dark surfaces (fits "ground" brand) --- */
.cta-band, .page-banner, .section.navy { position: relative; }
.cta-band > *, .page-banner .wrap, .section.navy .wrap { position: relative; z-index: 2; }
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='320' viewBox='0 0 480 320'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.1'%3E%3Cpath d='M-20 300 Q120 220 240 270 T500 250'/%3E%3Cpath d='M-20 270 Q120 190 240 240 T500 220'/%3E%3Cpath d='M-20 240 Q120 160 240 210 T500 190'/%3E%3Cpath d='M-20 210 Q120 130 240 180 T500 160'/%3E%3Cpath d='M-20 180 Q120 100 240 150 T500 130'/%3E%3Cpath d='M-20 150 Q120 70 240 120 T500 100'/%3E%3Cpath d='M-20 120 Q120 40 240 90 T500 70'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 720px auto; background-position: center;
}
.cta-band.topo::before { border-radius: var(--radius-lg); }

/* --- Split media: fix portrait head-crop, add depth --- */
.split-media { position: relative; }
.split-media img { object-position: center 28%; }
.split-media img.portrait { object-position: center 33%; max-height: 600px; }
.split-media::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px rgba(14,34,51,.06); pointer-events: none; }

/* --- Gallery figure lift --- */
.gallery figure { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.gallery figure:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* --- Link underline sweep for footer/nav emphasis --- */
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* --- Team: group band + portrait grid (About page) --- */
.team-band { margin: 48px 0 0; }
.team-band img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.team-band figcaption { text-align: center; margin-top: 16px; color: var(--muted); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .92rem; }
.team-subhead { margin-top: 72px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; max-width: 900px; margin-inline: auto; }
.member { margin: 0; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.member:hover img { transform: translateY(-5px); box-shadow: var(--shadow); }
.member figcaption { margin-top: 15px; }
.member b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.24rem; color: var(--navy); letter-spacing: .01em; line-height: 1.1; }
.member span { font-family: var(--font-head); font-weight: 500; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-700); }
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  html.js .section-head, html.js .card, html.js .svc, html.js .step, html.js .quote,
  html.js .gallery figure, html.js .split > *, html.js .badge, html.js .cta-band,
  html.js .contact-info .row, html.js .team-band, html.js .member, html.js form.lead,
  .hero-inner > * { opacity: 1 !important; transform: none !important; }
}
