/* Perfection Air — components v2 + effects (loaded after styles.css) */

/* ---------- Shared ---------- */
.head-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 56px; align-items: end; margin-bottom: 44px; }
.head-row h2 { margin: 0; }
.head-row .lead { margin: 0; }
.eyebrow::before { width: 28px; }

/* ---------- Scroll progress / header ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 400; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal-500), #7fd6cf, var(--amber-400)); }
.header { transition: transform .3s ease, box-shadow .2s ease, border-color .2s ease; }
.header.is-hidden { transform: translateY(-100%); }

/* ---------- Hero effects ---------- */
.hero__bg img { will-change: transform; transform: scale(1.08); }
.hero__air { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; z-index: 1; }
.hero::before {
  content: ""; position: absolute; right: -10%; bottom: -40%; width: 60vw; height: 60vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(46, 154, 147, .3), transparent); z-index: 1; animation: glow 9s ease-in-out infinite alternate;
}
.hero .container { z-index: 2; }
@keyframes glow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-8%, -6%) scale(1.15); } }
.hero h1 em, .hero h1 em .w { background: linear-gradient(90deg, #7fd6cf, #c8ecff, #7fd6cf); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.words .w { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(6px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1), filter .7s ease; transition-delay: var(--d); }
.words.is-in .w { opacity: 1; transform: none; filter: none; }
.hero__sub, .hero__actions, .hero__checks, .hero__badge, .hero .quote-card { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero__badge { animation-delay: .05s; }
.hero .quote-card { animation-delay: .4s; }
.hero__sub { animation-delay: .55s; }
.hero__actions { animation-delay: .7s; }
.hero__checks { animation-delay: .85s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; left: 50%; bottom: 18px; z-index: 3; margin-left: -22px; width: 44px; height: 44px; display: grid; place-items: center; }
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.hero .quote-card { position: relative; isolation: isolate; }
.hero .quote-card::before {
  content: ""; position: absolute; inset: -3px; border-radius: calc(var(--radius-lg) + 3px); z-index: -2;
  background: conic-gradient(from var(--ang, 0deg), var(--teal-500), #7fd6cf, var(--blue-500), var(--amber-400), var(--teal-500)); animation: spin 6s linear infinite;
}
.hero .quote-card::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); background: #fff; z-index: -1; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.stats strong { background: linear-gradient(180deg, var(--navy-800), var(--blue-600)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }

/* ---------- Services: tabs ---------- */
.svc { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.svc__list { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.svc__tab {
  position: relative; display: flex; align-items: baseline; gap: 16px; text-align: left; width: 100%;
  padding: 18px 20px 18px 24px; margin-left: -1px; border: 0; border-left: 3px solid transparent; background: none; cursor: pointer;
  font: inherit; color: var(--ink-soft); transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.svc__tab .n { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: #6b7c90; font-variant-numeric: tabular-nums; }
.svc__tab .t { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.svc__tab:hover { color: var(--navy-800); background: var(--bg-soft); }
.svc__tab[aria-selected="true"] { color: var(--navy-800); border-left-color: var(--teal-700); background: linear-gradient(90deg, var(--teal-100), transparent); }
.svc__tab[aria-selected="true"] .n { color: var(--teal-700); }
.svc__tab:focus-visible { outline-offset: -3px; }
.svc__panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.svc__panel[hidden] { display: none; }
.svc__panel.is-entering .svc__media img { animation: imgIn .7s cubic-bezier(.2, .8, .2, 1); }
.svc__panel.is-entering .svc__body > * { animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.svc__panel.is-entering .svc__body > *:nth-child(2) { animation-delay: .06s; }
.svc__panel.is-entering .svc__body > *:nth-child(3) { animation-delay: .12s; }
.svc__panel.is-entering .svc__body > *:nth-child(4) { animation-delay: .18s; }
@keyframes imgIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.svc__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--bg-soft); box-shadow: var(--shadow); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__media--light img { object-fit: contain; background: #fff; }
.svc__body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 12px; }
.svc__body > p { color: var(--ink-soft); font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--navy-800); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 14px; height: 8px; margin-top: -6px; border-left: 2.5px solid var(--teal-700); border-bottom: 2.5px solid var(--teal-700); transform: rotate(-45deg); }

/* ---------- Sectors: expanding panels ---------- */
.panels { display: flex; gap: 14px; height: 480px; }
.panel { position: relative; flex: 1; min-width: 0; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; transition: flex .6s cubic-bezier(.2, .8, .2, 1); background: var(--navy-800); }
.panel.is-active { flex: 3.2; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease, filter .6s ease; filter: saturate(.85); }
.panel.is-active img { transform: scale(1.04); filter: none; }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 51, .15) 0%, rgba(7, 26, 51, .35) 45%, rgba(7, 26, 51, .92) 100%); }
.panel__btn {
  position: absolute; inset: 0; z-index: 1; border: 0; background: none; color: #fff; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 24px; font: inherit;
}
.panel__btn .n { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: #7fd6cf; }
.panel__btn .t { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.panel.is-active .panel__btn .t { opacity: 0; }
.panel.is-active .panel__btn { justify-content: flex-start; }
.panel__btn:focus-visible { outline: 3px solid var(--amber-400); outline-offset: -6px; border-radius: var(--radius-lg); }
.panel__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px 30px 30px; color: #fff; pointer-events: none;
  opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
.panel.is-active .panel__body { opacity: 1; transform: none; visibility: visible; transition-delay: .2s; }
.panel__body h3 { color: #fff; font-size: 1.7rem; margin-bottom: 6px; }
.panel__body p { color: #dbe5f0; margin: 0; max-width: 460px; }

/* ---------- About ---------- */
.split__media img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% 75%; }
.split__badge strong { font-size: 1.6rem; line-height: 1.1; margin-bottom: 4px; }
.pillars { margin: 26px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillars > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 16px; }
.pillars dt { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); }
.pillars dd { margin: 0; color: var(--ink-soft); }
.process { margin-top: clamp(48px, 7vw, 80px); padding-top: 36px; border-top: 1px solid var(--line); }
.process__title { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 28px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: st; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 0; top: 7px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--teal-700), var(--blue-600)); transform-origin: 0 50%; transform: scaleX(var(--tl, 0)); }
.timeline li { position: relative; padding-top: 34px; counter-increment: st; }
.timeline .dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #b9c6d6; z-index: 1; transition: border-color .4s ease, background-color .4s ease, box-shadow .4s ease; }
.timeline li.is-on .dot { border-color: var(--teal-700); background: var(--teal-700); box-shadow: 0 0 0 6px var(--teal-100); }
.timeline strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--navy-800); margin-bottom: 4px; }
.timeline strong::before { content: counter(st, decimal-leading-zero) "  "; color: var(--teal-700); font-size: .85rem; white-space: pre; }
.timeline span:not(.dot) { color: var(--ink-soft); font-size: .97rem; }

/* ---------- Projects carousel ---------- */
.carousel__nav { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.carousel__count { font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); margin-right: 8px; font-variant-numeric: tabular-nums; }
.carousel__count b { color: var(--navy-800); }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid #9aa9bb; background: #fff; color: var(--navy-800); display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.round-btn svg { width: 22px; height: 22px; }
.round-btn:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.round-btn:disabled { opacity: .4; cursor: default; background: #fff; color: var(--navy-800); border-color: #9aa9bb; }
.carousel {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 4px max(20px, calc((100vw - var(--maxw)) / 2 + 20px)) 8px; scroll-padding: 0 max(20px, calc((100vw - var(--maxw)) / 2 + 20px));
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: -3px; }
.carousel .gallery__item { flex: 0 0 min(440px, 82vw); scroll-snap-align: start; aspect-ratio: 5 / 4; grid-column: auto !important; grid-row: auto !important; }
.carousel .gallery__item .cap { font-size: 1rem; padding: 40px 20px 18px; }
.carousel .gallery__item .cap small { font-size: .88rem; }
.carousel__bar { height: 3px; background: var(--line); border-radius: 3px; margin-top: 26px; overflow: hidden; }
.carousel__bar span { display: block; height: 100%; width: 20%; background: var(--navy-800); border-radius: 3px; transition: transform .2s ease; }

/* ---------- Coverage map ---------- */
.coverage { padding-bottom: 0; }
.coverage .head-row .lead { color: #c4d3e4; }
.coverage__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: start; }
.map { position: relative; background: radial-gradient(120% 100% at 30% 20%, #12345c, #081a33); border: 1px solid rgba(255, 255, 255, .1); border-radius: 26px; padding: 18px; box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .03), var(--shadow-lg); }
.map__svg { display: block; width: 100%; height: auto; }
.map__ctx path { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .08); stroke-width: .8; }
.map__state { fill: #e9eff7; stroke: #0b2545; stroke-width: 1.1; cursor: pointer; transition: fill .25s ease, filter .25s ease; }
.map__state:hover { fill: #ffffff; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.map__state.is-active { fill: #7fd6cf; filter: drop-shadow(0 8px 18px rgba(127, 214, 207, .45)); }
.js .map .map__state { opacity: 0; transform: translateY(10px); transform-box: fill-box; transform-origin: center; }
.map.is-in .map__state { opacity: 1; transform: none; transition: opacity .6s ease var(--md, 0ms), transform .6s cubic-bezier(.2, .8, .2, 1) var(--md, 0ms), fill .25s ease, filter .25s ease; }
.map__hq circle { fill: var(--amber-400); stroke: #081a33; stroke-width: 2; pointer-events: none; }
.map__hq .map__pulse { fill: rgba(245, 184, 61, .45); stroke: none; transform-box: fill-box; transform-origin: center; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.map__tip {
  position: absolute; left: 0; top: 0; z-index: 3; min-width: 190px; padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35); pointer-events: none; transform: translate(-50%, calc(-100% - 16px)); transition: left .35s cubic-bezier(.2, .8, .2, 1), top .35s cubic-bezier(.2, .8, .2, 1);
}
.map__tip::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: #fff; }
.map__tip-name { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--navy-800); }
.map__tip-lic { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal-700); font-variant-numeric: tabular-nums; margin-top: 2px; }
.map__tip-lic::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); }
.map__tip-hq { display: block; font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }
.map__tip-hq[hidden] { display: none; }

.state-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.state-list button {
  width: 100%; display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left;
  padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #fff; font: inherit; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.state-list b { grid-row: span 2; font-family: var(--font-head); font-size: 1.35rem; color: #7fd6cf; }
.state-list span { font-weight: 600; font-size: .95rem; }
.state-list em { font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .08em; background: var(--amber-400); color: var(--navy-900); padding: 2px 6px; border-radius: 6px; margin-left: 4px; vertical-align: 2px; }
.state-list small { color: #a9bdd3; font-size: .8rem; font-variant-numeric: tabular-nums; }
.state-list button:hover { background: rgba(255, 255, 255, .09); border-color: rgba(127, 214, 207, .5); }
.state-list button[aria-pressed="true"] { background: #7fd6cf; border-color: #7fd6cf; color: var(--navy-900); }
.state-list button[aria-pressed="true"] b { color: var(--navy-900); }
.state-list button[aria-pressed="true"] small { color: #17405f; }
.areas-box { margin-top: 22px; padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14); }
.areas-box h3 { font-size: 1.05rem; margin-bottom: 6px; }
.areas-box p { color: #c4d3e4; font-size: .93rem; margin-bottom: 8px; }
.areas-box .areas-inline { color: #fff; font-weight: 600; line-height: 1.8; margin: 0; }

/* ---------- Marquee (inside coverage) ---------- */
.marquee { overflow: hidden; margin-top: clamp(56px, 8vw, 90px); padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .15); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3.6vw, 2.6rem); padding: 0 26px; color: transparent; -webkit-text-stroke: 1.2px rgba(127, 214, 207, .75); white-space: nowrap; }
.marquee span:nth-child(odd) { color: #fff; -webkit-text-stroke: 0; }
.marquee span::after { content: "\2726"; color: var(--amber-400); -webkit-text-stroke: 0; font-size: .45em; vertical-align: middle; margin-left: 52px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- FAQ two columns ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-wrap .faq { max-width: none; margin: 0; }
.faq details { transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: #b9cbe0; box-shadow: var(--shadow); }

/* ---------- Image wipe reveal ---------- */
.wipe { clip-path: inset(0 0 100% 0 round var(--radius-lg)); transition: clip-path 1s cubic-bezier(.7, 0, .2, 1) var(--wd, 0ms); }
.wipe.is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.split__media.wipe, .split__media.wipe.is-in { clip-path: none; }
.split__media.wipe img { clip-path: inset(0 100% 0 0 round var(--radius-lg)); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
.split__media.wipe.is-in img { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.split__badge { transition: transform .8s cubic-bezier(.2, .8, .2, 1) .5s, opacity .8s ease .5s; }
.split__media.wipe .split__badge { opacity: 0; transform: translateY(20px) scale(.9); }
.split__media.wipe.is-in .split__badge { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 260; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--navy-800); box-shadow: var(--shadow-lg); display: grid; place-items: center; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:not(.is-visible) { visibility: hidden; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--line); stroke-width: 3; }
.to-top__ring .to-top__bar { stroke: var(--teal-700); stroke-linecap: round; }
.to-top__arrow { width: 22px; height: 22px; position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .svc { grid-template-columns: 250px 1fr; gap: 28px; }
  .svc__panel { grid-template-columns: 1fr; gap: 24px; }
  .svc__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 960px) {
  .head-row { grid-template-columns: 1fr; }
  .carousel__nav { justify-content: flex-start; }
  .svc { grid-template-columns: 1fr; }
  .svc__list { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
  .svc__list::-webkit-scrollbar { display: none; }
  .svc__tab { flex: none; width: auto; border-left: 0; border-bottom: 3px solid transparent; margin: 0 0 -1px; padding: 14px 16px; white-space: nowrap; }
  .svc__tab[aria-selected="true"] { border-bottom-color: var(--teal-700); background: none; }
  .svc__tab .t { font-size: 1rem; }
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; height: 96px; transition: height .6s cubic-bezier(.2, .8, .2, 1); }
  .panel.is-active { flex: none; height: 360px; }
  .panel__btn { justify-content: center; }
  .coverage__grid { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .faq-side { position: static; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before, .timeline::after { display: none; }
  .pillars > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 640px) {
  .to-top { bottom: 88px; right: 14px; width: 50px; height: 50px; }
  .hero__scroll { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 20px; }
  .state-list button { grid-template-columns: 40px 1fr; padding: 10px 12px; }
  .state-list b { font-size: 1.15rem; }
  .map { padding: 8px; border-radius: 18px; }
  .map__tip { min-width: 150px; padding: 10px 12px; }
  .map__tip-name { font-size: .95rem; }
  .map__tip-lic { font-size: .85rem; }
  .topbar .container > a { display: none; }
}

/* ---------- Motion off: OS setting ---------- */
@media (prefers-reduced-motion: reduce) {
  .wipe, .wipe.is-in, .split__media.wipe img { clip-path: none !important; }
  .split__media.wipe .split__badge { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track span:nth-child(n+21) { display: none; }
  .hero__bg img { transform: none; }
  .hero__sub, .hero__actions, .hero__checks, .hero__badge, .hero .quote-card { animation: none; }
  .js .map .map__state { opacity: 1; transform: none; }
}
/* ---------- Motion off: accessibility menu ---------- */
html.a11y-motion .wipe, html.a11y-motion .split__media.wipe img { clip-path: none !important; }
html.a11y-motion .split__media.wipe .split__badge { opacity: 1 !important; transform: none !important; }
html.a11y-motion .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
html.a11y-motion .marquee__track span:nth-child(n+21) { display: none; }
html.a11y-motion .hero__bg img { transform: none !important; }
html.a11y-motion .words .w { opacity: 1 !important; transform: none !important; filter: none !important; }
html.a11y-motion .hero__sub, html.a11y-motion .hero__actions, html.a11y-motion .hero__checks, html.a11y-motion .hero__badge, html.a11y-motion .hero .quote-card { opacity: 1 !important; transform: none !important; }
html.a11y-motion .map .map__state { opacity: 1 !important; transform: none !important; }

/* ---------- High contrast ---------- */
html.a11y-contrast .hero h1 em, html.a11y-contrast .hero h1 em .w, html.a11y-contrast .stats strong { -webkit-text-fill-color: #fff; color: #fff !important; background: none !important; }
html.a11y-contrast .hero .quote-card::before, html.a11y-contrast .hero .quote-card::after, html.a11y-contrast .hero__air, html.a11y-contrast .hero::before { display: none; }
html.a11y-contrast .marquee span { -webkit-text-stroke: 0; color: #fff !important; }
html.a11y-contrast .map__state { fill: #fff; stroke: #000; }
html.a11y-contrast .map__state.is-active { fill: #ffeb3b; }
html.a11y-contrast .panel img { opacity: .3; }

/* v2 fixes */
.map__tip { white-space: nowrap; }
.coverage__main .areas-box { margin-top: 20px; }
@media (max-width: 640px) {
  .map__tip { position: static; transform: none !important; left: auto !important; top: auto !important; margin: 10px 4px 4px; box-shadow: none; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; white-space: normal; }
  .map__tip::after { display: none; }
  .map__tip-name { grid-row: span 2; }
  .state-list span { font-size: .88rem; }
}

/* v3: services with built-in quote form */
.svc { grid-template-columns: 240px minmax(0, 1fr) 340px; gap: 32px; }
.svc__panel { grid-template-columns: 1fr; gap: 22px; align-items: start; }
.svc__media { aspect-ratio: 16 / 10; }
.svc__body h3 { margin-bottom: 8px; }
.ticks { margin-bottom: 0; }
.svc__quote { position: sticky; top: 100px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 26px; }
.svc__quote h3 { font-size: 1.3rem; margin-bottom: 4px; }
.svc__quote h3 span { color: var(--teal-700); }
.svc__quote > p { color: var(--ink-soft); font-size: .93rem; margin-bottom: 16px; }
.form-grid--one { grid-template-columns: 1fr; gap: 12px; }
.svc__quote.is-flash { animation: flash .8s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(46, 154, 147, .55), var(--shadow-lg); } 100% { box-shadow: 0 0 0 16px rgba(46, 154, 147, 0), var(--shadow-lg); } }
@media (max-width: 1100px) {
  .svc { grid-template-columns: 230px minmax(0, 1fr); }
  .svc__quote { grid-column: 1 / -1; position: static; }
  .svc__quote .form-grid--one { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) { .svc { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .svc__quote .form-grid--one { grid-template-columns: 1fr; } .svc__quote { padding: 22px 18px; } }

/* v3: offices on map */
.map__office circle { fill: #fff; stroke: var(--amber-400); stroke-width: 3; pointer-events: none; }
.state-list em.off { background: #fff; color: var(--navy-900); }
.state-list button[aria-pressed="true"] em.off { background: var(--navy-900); color: #fff; }
.header { top: 0; }

/* v4: Ben's service photos */
.svc__media { aspect-ratio: 4 / 3; }
.svc__media--contain { background: #0b1626; }
.svc__media--contain img { object-fit: contain; }

/* v5: builder bid request */
.bid { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.bid__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.bid__intro { position: sticky; top: 110px; }
.bid__steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.bid__steps li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bid__steps b { font-family: var(--font-head); font-size: 1.05rem; color: var(--teal-700); }
.bid__steps strong { display: block; font-family: var(--font-head); color: var(--navy-800); font-size: 1.08rem; }
.bid__steps span { color: var(--ink-soft); font-size: .97rem; }
.bid__note { font-size: .93rem; color: var(--ink-soft); }
.bid__form { border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(22px, 3.5vw, 36px); }
.bid__form h3 { font-size: 1.45rem; margin-bottom: 2px; }
.bid__sub { color: var(--ink-soft); font-size: .9rem; margin-bottom: 18px; }
.bid__form .req { color: #b42318; }
.bid__form > fieldset { margin-bottom: 16px; }
.plan-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan-opt { position: relative; cursor: pointer; }
.plan-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-opt span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px; border: 1.5px solid #9aa9bb; border-radius: 14px; background: #fff; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.plan-opt strong { font-family: var(--font-head); color: var(--navy-800); font-size: .97rem; }
.plan-opt small { color: var(--ink-soft); font-size: .82rem; }
.plan-opt input:checked + span { border-color: var(--teal-700); background: var(--teal-100); box-shadow: inset 0 0 0 1px var(--teal-700); }
.plan-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.label-like { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy-800); }
.drop { position: relative; border: 2px dashed #9aa9bb; border-radius: 16px; background: var(--bg-soft); transition: border-color .2s ease, background-color .2s ease; }
.drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop input[type="file"]:focus-visible + .drop__inner { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 14px; }
.drop__inner { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px 16px; text-align: center; pointer-events: none; }
.drop__inner svg { width: 34px; height: 34px; color: var(--teal-700); margin-bottom: 4px; }
.drop__inner strong { color: var(--navy-800); font-weight: 600; word-break: break-all; }
.drop__inner small { color: var(--ink-soft); }
.drop:hover, .drop.is-over { border-color: var(--teal-700); background: var(--teal-100); }
.drop.has-file { border-style: solid; border-color: var(--teal-700); background: #fff; }
.field[hidden] { display: none; }
@media (max-width: 960px) { .bid__grid { grid-template-columns: 1fr; } .bid__intro { position: static; } }
@media (max-width: 640px) { .plan-opts { grid-template-columns: 1fr; } }

/* v6: new hero photo - let the team and vans show */
.hero__bg img { object-position: 50% 62%; }
.hero__bg::after {
  background:
    linear-gradient(100deg, rgba(7, 26, 51, .92) 0%, rgba(7, 26, 51, .78) 34%, rgba(7, 26, 51, .32) 62%, rgba(7, 26, 51, .12) 100%),
    linear-gradient(0deg, rgba(7, 26, 51, .55) 0%, rgba(7, 26, 51, 0) 30%);
}
.hero h1, .hero__sub, .hero__checks { text-shadow: 0 2px 18px rgba(7, 26, 51, .55); }
@media (max-width: 960px) {
  .hero__bg::after { background: linear-gradient(180deg, rgba(7, 26, 51, .78) 0%, rgba(7, 26, 51, .86) 55%, rgba(7, 26, 51, .94) 100%); }
}

/* v7: plans upload progress */
.upload-progress { margin-top: 16px; position: relative; height: 34px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; }
.upload-progress[hidden] { display: none; }
.upload-progress span { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--teal-700), var(--blue-600)); transition: width .3s ease; }
.upload-progress small { position: relative; z-index: 1; display: grid; place-items: center; height: 100%; font-weight: 700; color: var(--navy-800); mix-blend-mode: normal; }
.upload-progress span ~ small { text-shadow: 0 0 6px #fff, 0 0 2px #fff; }

/* v8: Georgia-first hero with out-of-state reach */
.hero__sub { margin-bottom: 14px; }
.hero__reach { display: inline-block; max-width: 560px; margin: 0 0 28px; padding: 10px 14px; border-left: 3px solid var(--amber-400); background: rgba(7, 26, 51, .45); border-radius: 0 10px 10px 0; color: #e4ecf5; font-size: .98rem; animation: rise .9s cubic-bezier(.2, .8, .2, 1) .62s both; }
.hero__reach strong { color: #fff; }
html.a11y-motion .hero__reach { animation: none; }
@media (prefers-reduced-motion: reduce) { .hero__reach { animation: none; } }
