/* =========================================================
   Synapse Electric — "NM Blue Hour"
   Brand colors from the Synapse business card (navy, steel, gold bolt),
   set against New Mexico blue-hour photography.
   ========================================================= */
:root {
  --navy: #1d4672;
  --navy-dk: #10294a;
  --navy-xdk: #0a1a30;
  --steel: #5b8bab;
  --steel-lt: #9dbcd2;
  --gold: #f2b33d;
  --gold-dk: #d99a22;
  --ink: #15202d;
  --text: #3a4656;
  --muted: #6b7787;
  --bg: #ffffff;
  --bg-alt: #f2f4f7;
  --line: #dde3ea;

  --head: "Lexend", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --sec: clamp(4.5rem, 9vw, 7.5rem);
  --r: 4px;
  --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; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 500; color: var(--ink); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
p { margin: 0 0 1.1em; }
ul, dl { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--gold); color: var(--navy-xdk); padding: .6rem 1rem; z-index: 99; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gold { color: var(--gold); }

.eyebrow { display: flex; align-items: center; gap: .9rem; font: 600 .78rem/1.4 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--steel); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); flex: none; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 40rem; }
.dark { background: var(--navy-dk); color: rgba(255,255,255,.8); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--steel-lt); }
.dark p, .dark .lead { color: rgba(255,255,255,.8); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .9rem 1.7rem;
  background: var(--navy); color: #fff; border: 2px solid var(--navy); border-radius: var(--r);
  font: 500 .98rem/1 var(--head); letter-spacing: .02em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--navy-dk); border-color: var(--navy-dk); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy-xdk); }
.btn--gold:hover { background: var(--gold-dk); border-color: var(--gold-dk); }
.btn--line { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--line:hover { background: var(--bg-alt); border-color: var(--navy); }
.on-dark .btn--line, .dark .btn--line { color: #fff; border-color: rgba(255,255,255,.45); }
.on-dark .btn--line:hover, .dark .btn--line:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.arrow { display: inline-flex; align-items: center; gap: .45rem; font: 500 .95rem/1 var(--head); color: var(--navy); text-decoration: none; }
.arrow::after { content: "→"; transition: transform .2s; }
.arrow:hover::after { transform: translateX(4px); }
.on-dark .arrow, .dark .arrow { color: var(--gold); }

/* ---------- logo (Synapse business-card logo, extracted to transparent PNG) ---------- */
.logo { display: inline-block; line-height: 0; flex: none; }
.logo img { height: 64px; width: auto; }
.ftr .logo img { height: 64px; }
@media (max-width: 640px) { .logo img { height: 48px; } }

/* ---------- utility bar + header (dark) ---------- */
.util { background: #071322; color: rgba(255,255,255,.66); font-size: .82rem; }
.util__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 40px; }
.util__item { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.util__item svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 2; }
.util__mail:hover { color: #fff; }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(10,26,48,.94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); transition: box-shadow .25s; }
.hdr.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.hdr__in { display: flex; align-items: center; gap: 1.5rem; min-height: 86px; }
.nav { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.nav a { position: relative; padding: .6rem .85rem; font: 400 .98rem/1 var(--head); color: rgba(255,255,255,.86); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .1rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: none; }
.nav a[aria-current="page"] { color: #fff; }
.nav__phone { display: none !important; }
.hdr__phone { display: flex; flex-direction: column; padding-left: 1.4rem; border-left: 1px solid rgba(255,255,255,.15); font: 500 1.08rem/1.2 var(--head); color: #fff; text-decoration: none; white-space: nowrap; }
.hdr__phone small { font: 400 .7rem/1.2 var(--body); color: var(--steel-lt); letter-spacing: .12em; text-transform: uppercase; }
.burger { display: none; width: 46px; height: 46px; margin-left: auto; border: 1px solid rgba(255,255,255,.25); background: transparent; border-radius: var(--r); cursor: pointer; padding: 14px 12px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- photo backgrounds ---------- */
.photo-bg { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.photo-bg > .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.photo-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--shade, linear-gradient(90deg, rgba(10,26,48,.92) 0%, rgba(10,26,48,.7) 45%, rgba(10,26,48,.25) 100%)); }
.photo-bg h1, .photo-bg h2, .photo-bg h3 { color: #fff; }
.photo-bg p, .photo-bg .lead { color: rgba(255,255,255,.84); }
.photo-bg .eyebrow { color: var(--steel-lt); }
.kenburns { animation: kb 28s ease-out both; transform-origin: 70% 50%; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }

/* ---------- home hero ---------- */
.hero { min-height: min(92vh, 900px); display: flex; flex-direction: column; justify-content: flex-end;
  --shade: linear-gradient(90deg, rgba(8,20,38,.94) 0%, rgba(8,20,38,.72) 42%, rgba(8,20,38,.15) 80%), linear-gradient(0deg, rgba(8,20,38,.9) 0%, transparent 40%); }
.hero .bg { object-position: 60% 40%; }
.hero__body { padding: clamp(5rem, 12vh, 9rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.hero__tag { display: flex; gap: .9rem; align-items: center; flex-wrap: wrap; font: 500 .8rem/1 var(--head); letter-spacing: .24em; color: var(--steel-lt); margin-bottom: 1.6rem; text-transform: uppercase; }
.hero__tag i { width: 1px; height: 12px; background: rgba(157,188,210,.5); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); margin-bottom: .4em; }
.hero .lead { margin-bottom: 2.2rem; }
.hero__bar { border-top: 1px solid rgba(255,255,255,.14); background: rgba(8,20,38,.55); backdrop-filter: blur(6px); }
.hero__bar dl { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__bar div { padding: 1.3rem 1.4rem; border-left: 1px solid rgba(255,255,255,.1); }
.hero__bar div:first-child { border-left: 0; padding-left: 0; }
.hero__bar dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-lt); }
.hero__bar dd { margin: .25rem 0 0; font: 500 1.05rem/1.3 var(--head); color: #fff; }

/* steel stripe (from card) */
.stripe { height: 8px; background: linear-gradient(90deg, var(--steel), var(--steel) 70%, var(--gold) 70%, var(--gold)); }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; }
.sec--alt { background: var(--bg-alt); }
.sec__head { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.sec__head > div { max-width: 46rem; }
.sec__head h2 { margin-bottom: 0; }
.sec__head p { margin: 1rem 0 0; color: var(--muted); }
.dark .sec__head p, .photo-bg .sec__head p { color: rgba(255,255,255,.75); }

/* intro split with framed photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--rev > :first-child { order: 2; }
.frame { position: relative; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); position: relative; z-index: 1; }
.frame::before { content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border: 2px solid var(--gold); border-radius: var(--r); }
.frame__cap { position: absolute; z-index: 2; left: -1px; bottom: 1.4rem; background: var(--navy-xdk); color: #fff; padding: .9rem 1.2rem; font: 500 .8rem/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.frame__cap small { display: block; color: var(--steel-lt); letter-spacing: .1em; font-weight: 400; }
.stat-row { display: flex; gap: 2.5rem; margin: 2rem 0; padding-top: 1.6rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.stat-row dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stat-row dd { margin: .25rem 0 0; font: 500 1.1rem/1.3 var(--head); color: var(--navy); }

/* service photo cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pcard { position: relative; isolation: isolate; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem 1.8rem; border-radius: var(--r); color: #fff; text-decoration: none; }
.pcard img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,20,38,.97) 0%, rgba(8,20,38,.82) 50%, rgba(8,20,38,.2) 85%); transition: background .4s; }
.pcard::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.pcard:hover img { transform: scale(1.06); }
.pcard:hover::after { transform: none; }
.pcard__num { font: 400 .78rem/1 var(--head); letter-spacing: .2em; color: var(--gold); margin-bottom: .9rem; }
.pcard h3 { font-size: 1.7rem; color: #fff; margin-bottom: .5rem; }
.pcard p { color: rgba(255,255,255,.8); font-size: .97rem; margin-bottom: 1.1rem; }
.pcard ul { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.pcard li { font: 400 .78rem/1 var(--head); letter-spacing: .04em; padding: .5rem .7rem; border: 1px solid rgba(255,255,255,.25); border-radius: 2px; color: rgba(255,255,255,.9); }
.pcard .arrow { color: var(--gold); }

/* full-bleed feature band */
.band { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; background: var(--navy-xdk); }
.band__img { position: relative; overflow: hidden; }
.band__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--navy-xdk)); }
.band__body { padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5.5rem); display: flex; flex-direction: column; justify-content: center; color: rgba(255,255,255,.8); }
.band__body h2 { color: #fff; }
.band__body .eyebrow { color: var(--steel-lt); }
.band__inset { display: flex; gap: 1.2rem; align-items: center; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.band__inset img { width: 120px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }
.band__inset p { margin: 0; font-size: .92rem; }
.list-check { display: grid; gap: .8rem; margin: 1.4rem 0 2.2rem; }
.list-check.cols { grid-template-columns: 1fr 1fr; gap: .8rem 1.6rem; }
.list-check li { position: relative; padding-left: 2rem; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23f2b33d' stroke-width='3'/%3E%3C/svg%3E") center/13px no-repeat; }
.band .list-check li::before, .dark .list-check li::before { background-color: rgba(255,255,255,.1); }

/* values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.values > div { background: rgba(10,26,48,.72); backdrop-filter: blur(4px); padding: 2.3rem 1.8rem; }
.values .num { display: block; font: 300 2.5rem/1 var(--head); color: var(--gold); margin-bottom: 1.3rem; }
.values h3 { color: #fff; margin-bottom: .5rem; }
.values p { font-size: .95rem; margin: 0; color: rgba(255,255,255,.78); }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: s; }
.step { border-top: 2px solid var(--line); padding-top: 1.4rem; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: -2px; left: 0; width: 48px; border-top: 2px solid var(--gold); padding-top: 1.4rem; font: 500 .9rem/1 var(--head); color: var(--steel); letter-spacing: .1em; }
.step h3 { margin-top: 2rem; }
.step p { font-size: .96rem; color: var(--muted); margin: 0; }

/* areas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; }
.areas li { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; gap: .7rem; font: 400 1.05rem/1.3 var(--head); color: #fff; }
.areas li::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }
.areas--light li { color: var(--ink); border-color: var(--line); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r); background: var(--bg-alt); }

/* cta */
.cta { --shade: linear-gradient(90deg, rgba(8,20,38,.9) 0%, rgba(8,20,38,.55) 60%, rgba(8,20,38,.3) 100%); }
.cta .bg { object-position: 85% 50%; }
.cta__in { display: grid; grid-template-columns: minmax(0, 620px); gap: 2rem; align-items: center; padding: clamp(5rem, 10vw, 8rem) 0 clamp(6rem, 11vw, 9rem); }
.cta h2 { margin-bottom: .4rem; }
.cta p { margin: 0; }

/* page hero */
.phero { min-height: 440px; display: flex; align-items: flex-end; padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.5rem, 6vw, 5rem); }
.phero h1 { max-width: 18ch; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1.2rem; }
.crumbs a { color: var(--steel-lt); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* service detail */
.svc-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.svc-row__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); margin-bottom: 1.8rem; border-bottom: 4px solid var(--gold); }
.feat { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); align-self: start; }
.feat li { padding: 1.25rem 1.3rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat b { display: block; font: 500 1rem/1.35 var(--head); color: var(--ink); margin-bottom: .25rem; }
.feat span { font-size: .92rem; color: var(--muted); }

/* credentials grid */
.creds-row { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #fff; }
.creds-row > div { padding: 1.5rem 1.5rem; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.creds-row > div:nth-child(odd) { border-left: 0; }
.creds-row > div:nth-child(-n+2) { border-top: 0; }
.creds-row > .full { grid-column: 1 / -1; border-left: 0; }
.creds-row dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.creds-row dd { margin: .35rem 0 0; font: 500 1.12rem/1.35 var(--head); color: var(--navy); }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cinfo { border: 1px solid var(--line); }
.cinfo > * { display: flex; gap: 1.1rem; align-items: center; padding: 1.3rem 1.4rem; border-top: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.cinfo > *:first-child { border-top: 0; }
.cinfo a:hover { background: var(--bg-alt); }
.cinfo svg { width: 44px; height: 44px; padding: 11px; background: var(--navy); stroke: #fff; fill: none; stroke-width: 1.8; flex: none; border-radius: var(--r); }
.cinfo small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cinfo strong { font: 500 1.05rem/1.35 var(--head); color: var(--ink); word-break: break-word; }

/* forms */
.form { scroll-margin-top: 110px; }
.form--card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); padding: clamp(1.5rem, 4vw, 2.6rem); border-radius: var(--r); }
.form--card h2 { font-size: 1.7rem; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-full { grid-column: 1 / -1; }
.form label { display: grid; gap: .35rem; font: 500 .85rem/1.3 var(--body); color: var(--ink); }
.form input, .form select, .form textarea { font: 400 1rem/1.4 var(--body); color: var(--ink); background: #fff; border: 1px solid #c9d2dc; border-radius: var(--r); padding: .78rem .9rem; width: 100%; transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(29,70,114,.15); }
.form .err { border-color: #b42318; }
.form .btn { width: 100%; margin-top: 1.2rem; }
.hp { position: absolute; left: -9999px; }
.form__note { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; }
.form__msg { display: none; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r); font-size: .95rem; }
.form__msg.ok { display: block; background: #e8f1f8; color: var(--navy-dk); border-left: 3px solid var(--navy); }
.form__msg.bad { display: block; background: #fdeceb; color: #8a1c13; border-left: 3px solid #b42318; }

/* footer */
.ftr { position: relative; background: var(--navy-xdk); color: rgba(255,255,255,.72); padding-top: 1px; }
.ftr__ridge { position: absolute; left: 0; right: 0; top: -60px; width: 100%; height: 61px; fill: var(--navy-xdk); }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr .9fr 1.2fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.ftr__brand p { margin: 1.6rem 0 1.4rem; font-size: .95rem; max-width: 22rem; }
.creds { display: flex; gap: 2rem; }
.creds dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-lt); }
.creds dd { margin: .15rem 0 0; font: 500 .98rem/1.3 var(--head); color: #fff; }
.ftr h3 { font: 500 .78rem/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.3rem; }
.ftr ul { display: grid; gap: .6rem; font-size: .95rem; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__contact a { word-break: break-word; }
.ftr__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.4rem 0 2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: rgba(255,255,255,.5); }
.ftr__base span:last-child { letter-spacing: .14em; text-transform: uppercase; font-size: .74rem; }
.mcall { display: none; }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hdr__phone { display: none; }
  .values { grid-template-columns: 1fr 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .pcard { min-height: 500px; }
}
@media (max-width: 1000px) {
  .util__lic { display: none; }
  .hdr__cta { margin-left: auto; }
  .burger { display: flex; position: relative; z-index: 70; margin-left: 0; }
  .hdr { backdrop-filter: none; background: var(--navy-xdk); } /* backdrop-filter would trap the fixed menu drawer inside the header */
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-xdk); padding: 6.5rem 1.5rem 2rem; box-shadow: -20px 0 50px rgba(0,0,0,.45);
    transform: translateX(105%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; z-index: 60; overflow-y: auto;
  }
  .nav.open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .nav a { padding: 1rem .25rem; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav a::after { left: .25rem; right: auto; width: 32px; bottom: -1px; }
  .nav__phone { display: block !important; margin-top: 1.2rem; border: 0 !important; color: var(--gold) !important; }
  .split, .contact-grid, .svc-row, .band { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .band__img { min-height: 380px; }
  .band__img::after { background: linear-gradient(0deg, var(--navy-xdk), transparent 50%); }
  .cards { grid-template-columns: 1fr; }
  .pcard { min-height: 440px; }
  .hero__bar dl { grid-template-columns: 1fr 1fr; }
  .hero__bar div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__bar div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .areas { grid-template-columns: 1fr 1fr; }
  .cta__in { grid-template-columns: 1fr; }
  .sec__head { grid-template-columns: 1fr; }
  .frame::before { inset: 1rem -.8rem -1rem .8rem; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 60px; }
  .util__in { justify-content: center; }
  .util__mail { display: none; }
  .hdr__in { min-height: 72px; gap: .8rem; }
  .hdr__cta { display: none; }
  .burger { margin-left: auto; }
  .logo__word { font-size: 1.5rem; }
  .hero { min-height: 0; }
  .hero__body { padding-top: 4rem; }
  .hero__bar div { padding: 1rem .5rem 1rem 0; }
  .values, .steps, .f-grid, .feat, .list-check.cols, .areas { grid-template-columns: 1fr; }
  .btns .btn { flex: 1 1 100%; }
  .ftr__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .phero { min-height: 360px; }
  .mcall {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: .6rem; justify-content: center; align-items: center;
    height: 58px; background: var(--navy); color: #fff; font: 500 1.02rem/1 var(--head); text-decoration: none; border-top: 3px solid var(--gold);
  }
  .mcall svg { width: 18px; height: 18px; fill: var(--gold); }
}
.photo-bg .arrow { color: var(--gold); }

/* services jump bar */
.jump { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.jump__in { display: flex; align-items: center; gap: .5rem; padding: .9rem 0; overflow-x: auto; scrollbar-width: none; }
.jump__in::-webkit-scrollbar { display: none; }
.jump__in span { font: 600 .74rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; margin-right: .3rem; }
.jump__in a { flex: none; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 .88rem/1 var(--head); color: var(--navy); text-decoration: none; white-space: nowrap; transition: border-color .2s, background .2s; }
.jump__in a:hover { border-color: var(--navy); background: #fff; color: var(--navy-dk); }
.cards--2 { grid-template-columns: repeat(2, 1fr); margin-top: 1.4rem; }
.cards--2 .pcard { min-height: 420px; }
@media (max-width: 1000px) { .cards--2 { grid-template-columns: 1fr; } }
.jump__in { flex-wrap: wrap; }
@media (max-width: 640px) { .jump__in { flex-wrap: nowrap; } }
.feat li:last-child:nth-child(odd) { grid-column: 1 / -1; }
