/* Max Wraps: site styles
   Palette from max-wraps/brand/COLORS.md (v1 working palette) */
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/assets/fonts/barlow-semi-condensed-extrabold.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/assets/fonts/barlow-semi-condensed-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --black: #0B0B0B;
  --charcoal: #1A1A1A;
  --panel: #141414;
  --blue: #00A3FF;
  --cobalt: #0066CC;
  --chrome: #C0C0C0;
  --chrome-muted: #A8B0B8;
  --field: #F7F8FA;
  --white: #FFFFFF;
  --ink: #14181C;
  --mute: #5A6570;
  --rule: #D0D5DB;
  --line: #2A2F35;
  --text: #E9ECEF;
  --text-dim: #B4BCC4;

  --font-head: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #5cc4ff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 .5em; color: var(--white); letter-spacing: .005em; }
h1 { font-weight: 800; font-size: clamp(2.35rem, 7.2vw, 4.1rem); text-transform: uppercase; }
h2 { font-weight: 800; font-size: clamp(2rem, 5vw, 2.9rem); text-transform: uppercase; }
h3 { font-weight: 700; font-size: 1.4rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--blue); color: var(--black); padding: 8px 14px; z-index: 100; font-weight: 700; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; border-radius: 8px; border: 2px solid transparent; cursor: pointer;
  position: relative; isolation: isolate;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s, transform .2s cubic-bezier(.2,.8,.2,1);
}
.btn-primary { background: var(--blue); color: var(--black); }
.btn-primary:hover { background: #33b5ff; color: var(--black); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--chrome-muted); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { min-height: 42px; padding: .45em 1em; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 11, .6);
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand img { width: 56px; height: auto; }
.site-nav { display: none; margin-left: auto; gap: 26px; }
.site-nav a { color: var(--text-dim); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
.site-nav a:hover { color: var(--white); }
.header-call { margin-left: auto; }
.header-call-text { display: none; }
@media (min-width: 350px) { .header-call-text { display: inline; } }
@media (min-width: 880px) {
  .site-nav { display: flex; }
  .header-call { margin-left: 12px; }
  .brand img { width: 64px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 44px 0 56px; background:
  linear-gradient(180deg, #0B0B0B 0%, #111 100%);
  border-bottom: 1px solid var(--line);
}
.hero-stripes {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 62%, rgba(0, 102, 204, .28) 62% 66%, transparent 66% 68%, rgba(0, 163, 255, .35) 68% 69.2%, transparent 69.2%),
    linear-gradient(115deg, transparent 0 74%, rgba(192, 192, 192, .10) 74% 74.6%, transparent 74.6%);
}
.hero-inner { position: relative; display: grid; gap: 28px; align-items: center; }
.hero-mark { order: -1; justify-self: center; width: min(52vw, 210px); position: relative; }
.hero-mark img { filter: drop-shadow(0 14px 40px rgba(0, 163, 255, .28)); }
.pill {
  display: inline-flex; align-items: center; gap: .55em;
  margin: 0 0 18px; padding: .35em .9em;
  border: 1px solid rgba(0, 163, 255, .55); border-radius: 999px;
  background: rgba(0, 163, 255, .10);
  color: #bfe6ff; font-weight: 600; font-size: .92rem;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(0, 163, 255, .25); }
.accent { color: var(--blue); }
.lede { font-size: 1.15rem; color: var(--text); max-width: 38em; }
.tagline { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--chrome); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 1.2em; }
.tagline::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--blue); vertical-align: middle; margin-right: 10px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { flex: 1 1 220px; }
.hero-email { margin: 14px 0 0; color: var(--text-dim); font-size: .98rem; }
@media (min-width: 880px) {
  .hero { padding: 72px 0 84px; }
  .hero-inner { grid-template-columns: 1.35fr 1fr; gap: 48px; }
  .hero-mark { order: 0; width: 100%; max-width: 420px; justify-self: end; }
  .cta-row .btn { flex: 0 0 auto; }
}

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); font-size: .98rem; margin-bottom: .4em; }
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 3px; background: currentColor; vertical-align: middle; margin-right: 8px; transform: skewX(-20deg); }
.section-intro { max-width: 44em; color: var(--text-dim); }
@media (min-width: 880px) { .section { padding: 88px 0; } }

/* Service cards */
.cards { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(6, 1fr); } .card { grid-column: span 2; } .card:nth-child(4) { grid-column: 2 / span 2; } }
.card {
  position: relative; padding: 26px 24px 22px;
  background: linear-gradient(180deg, #181a1d, #121314);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.card::after { content: ""; position: absolute; left: 20px; top: -1px; height: 3px; width: 56px; background: var(--blue); border-radius: 0 0 3px 3px; }
.card-icon { width: 48px; height: 48px; color: var(--blue); margin-bottom: 14px; }
.card p { color: var(--text-dim); margin: 0; }

/* Steps */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.steps li { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--black); }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--black);
  background: var(--blue); border-radius: 8px; transform: skewX(-8deg);
}
.steps p { color: var(--text-dim); margin: 0; }

/* Design concepts */
.concepts-disclaimer {
  max-width: 50em; margin: 0 0 8px; padding: 14px 16px 14px 18px;
  border-left: 4px solid var(--blue); border-radius: 0 8px 8px 0;
  background: rgba(0, 163, 255, .08); color: var(--text);
}
.concepts-disclaimer strong { color: var(--white); }
.concepts { margin-top: 28px; display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 780px) { .concepts { grid-template-columns: 1fr 1fr; gap: 24px; } }
.concept {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start;
  padding: 12px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(180deg, #16181b, #111214);
}
.concept-caption {
  grid-column: 1 / -1; margin: 6px 4px 2px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.2; color: var(--white);
}
.concept-main, .concept-thumb {
  position: relative; display: block; overflow: hidden; border-radius: 8px;
  background: #0f1011; outline-offset: 2px;
}
.concept-main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.concept-thumb { aspect-ratio: 3 / 2; }
.concept-main img, .concept-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .2s; }
.concept-main:hover img, .concept-thumb:hover img { transform: scale(1.04); }
.concept-view {
  position: absolute; left: 8px; bottom: 8px; padding: .2em .6em; border-radius: 6px;
  background: rgba(11, 11, 11, .78); color: var(--white); font-size: .82rem; font-weight: 600;
  pointer-events: none;
}
.concept-view::after { content: " \2197"; color: var(--blue); }
.concept-thumb .concept-view { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.concepts-cta { margin: 24px 0 0; color: var(--text-dim); }
.work-title { margin-top: 48px; }
.work-grid { margin-top: 20px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.work-grid figure { margin: 0; }
.work-grid img { border-radius: var(--radius); }
.work-grid figcaption { color: var(--text-dim); font-size: .95rem; margin-top: 8px; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0;
  border: 0; background: rgba(5, 6, 7, .94); color: var(--white); overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(5, 6, 7, .92); }
.lightbox-figure { margin: 0; padding: 56px 12px 16px; max-width: min(1600px, 100vw); display: grid; justify-items: center; gap: 12px; }
.lightbox-figure img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox-figure figcaption { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; text-align: center; max-width: 60em; padding: 0 8px; }
.lightbox-figure figcaption small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--text-dim); margin-top: 2px; }
.lightbox-btn {
  position: fixed; display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(20, 22, 25, .85);
  color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox-btn:hover { background: var(--blue); color: var(--black); border-color: var(--blue); }
.lightbox-close { top: 10px; right: 10px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
@media (max-width: 619px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 14px; transform: none; }
  .lightbox-figure { padding-bottom: 76px; }
  .lightbox-figure img { max-height: calc(100vh - 220px); }
}
body.lb-open { overflow: hidden; }

/* Service area */
.area-inner { display: grid; gap: 28px; align-items: center; }
.area-inner p:not(.eyebrow) { color: var(--text-dim); max-width: 36em; }
@media (min-width: 880px) { .area-inner { grid-template-columns: 1fr 1fr; gap: 56px; } }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: .45em 1em; border: 1px solid #3a4148; border-radius: 999px;
  background: var(--black); color: var(--text); font-weight: 600; font-size: .98rem;
}
.chips li:last-child { color: var(--text-dim); border-style: dashed; }

/* About */
.about-inner { display: grid; gap: 28px; align-items: start; }
.about-copy p:not(.eyebrow) { color: var(--text-dim); max-width: 38em; }
@media (min-width: 880px) { .about-inner { grid-template-columns: 1.5fr 1fr; gap: 56px; } }
.about-card {
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, #1b1f24, #101214);
  border: 1px solid var(--line); border-top: 3px solid var(--blue);
}
.about-card-name { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; color: var(--white); margin: 0; }
.about-card-title { color: var(--chrome-muted); margin-bottom: 16px; }
.contact-line { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--white); text-decoration: none; font-weight: 600; word-break: break-word; min-height: 44px; }
.contact-line svg { color: var(--blue); flex: none; }
.contact-line:hover { color: var(--blue); }

/* Quote */
.section-quote { background:
  radial-gradient(50% 60% at 0% 0%, rgba(0, 102, 204, .22), transparent 70%), var(--charcoal);
  border-top: 1px solid var(--line);
}
.quote-inner { display: grid; gap: 32px; }
@media (min-width: 960px) { .quote-inner { grid-template-columns: 1fr 1.45fr; gap: 56px; align-items: start; } .quote-side { position: sticky; top: 100px; } }
.quote-side > p:not(.eyebrow) { color: var(--text-dim); }
.quote-direct { display: grid; gap: 10px; margin: 24px 0 18px; }
.quote-direct .btn { font-size: 1.05rem; text-transform: none; letter-spacing: .01em; }
.quote-direct-label { margin: 0; font-weight: 700; color: var(--white); }
.small { font-size: .92rem; color: var(--text-dim); }

.quote-form {
  background: var(--field); color: var(--ink);
  border-radius: 14px; padding: 24px 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
@media (min-width: 620px) { .quote-form { padding: 32px; } }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--ink); padding: 0; }
.req { color: var(--cobalt); }
.quote-form input[type="text"], .quote-form input[type="tel"], .quote-form input[type="email"],
.quote-form input[type="number"], .quote-form select, .quote-form textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #b9c1ca; border-radius: 8px;
}
.quote-form textarea { resize: vertical; min-height: 120px; }
.quote-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(0, 102, 204, .25); }
.quote-form [aria-invalid="true"] { border-color: #c0262d !important; }
.hint { font-size: .88rem; color: var(--mute); margin: -8px 0 16px; }
.hint.is-error { color: #b0141c; font-weight: 700; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
@media (min-width: 620px) { .checks { grid-template-columns: repeat(3, 1fr); } }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; min-height: 36px; cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--cobalt); flex: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { margin-top: 8px; font-size: 1.25rem; min-height: 54px; }
.btn-submit[disabled] { opacity: .6; cursor: progress; }
.form-note { font-size: .9rem; color: var(--mute); margin: 10px 0 0; text-align: center; }
.form-status:empty { display: none; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: #e7f5ff; border: 1px solid #9fd6ff; color: var(--ink); font-size: .98rem; }
.form-status.is-error { background: #fdeceb; border-color: #f2b8b5; }
.form-status a { color: var(--cobalt); font-weight: 700; }
.form-status .btn-copy { margin-top: 10px; min-height: 40px; padding: .3em .9em; font-size: .95rem; background: var(--white); color: var(--ink); border: 1.5px solid #b9c1ca; }

/* Footer */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: 44px 0 28px; color: var(--text-dim); font-size: .98rem; }
.footer-inner { display: grid; gap: 24px; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 72px; flex: none; }
.footer-brand p { margin: 0; }
.footer-contact { display: grid; gap: 6px; }
.footer-contact a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: var(--blue); }
@media (min-width: 780px) { .footer-inner { grid-template-columns: 1fr auto; align-items: center; } .footer-contact { text-align: right; } }
.footer-legal { margin-top: 28px; font-size: .88rem; }
.footer-legal::before { content: ""; display: block; border-top: 1px solid var(--line); margin-bottom: 20px; }
.footer-legal p { margin: 0 0 6px; }
.footer-legal strong { color: var(--text); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound img { width: 160px; margin: 0 auto 24px; }
.notfound p:not(.eyebrow) { color: var(--text-dim); }
.notfound .cta-row { justify-content: center; }
@media (min-width: 620px) and (max-width: 979px) { .card:last-child { grid-column: 1 / -1; } }

/* Compact service cards on small screens: icon beside text */
@media (max-width: 619px) {
  .card { display: grid; grid-template-columns: 40px 1fr; gap: 0 16px; padding: 20px 18px; }
  .card-icon { width: 40px; height: 40px; margin: 2px 0 0; grid-row: span 2; }
  .card h3 { font-size: 1.3rem; margin-bottom: .3em; }
  .hero { padding-top: 28px; }
}

/* =====================================================================
   MOTION & FEEL (v2)
   - Only transform / opacity are animated on loops and scroll.
   - Hidden "reveal" states apply only when <html class="js"> AND site.js
     has tagged the element with .reveal, so content stays visible if JS fails.
   - prefers-reduced-motion: the global rule near the top of this file turns
     off all transitions/animations; site.js also skips reveal + tilt.
   ===================================================================== */

/* Scroll progress bar */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--cobalt), var(--blue) 60%, #7fd3ff);
  box-shadow: 0 0 10px rgba(0, 163, 255, .7);
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
}

/* Header: condenses + gains blurred background after scrolling */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 11, 11, .86);
  -webkit-backdrop-filter: saturate(150%) blur(12px); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8);
  opacity: 0; transition: opacity .3s ease;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled { background: transparent; }
.brand img { transition: transform .3s cubic-bezier(.2,.8,.2,1); transform-origin: 0 50%; }
.site-header.is-scrolled .brand img { transform: scale(.84); }
.header-call { transition: transform .3s cubic-bezier(.2,.8,.2,1), background-color .2s, box-shadow .25s; }

/* Nav underline */
.site-nav a { position: relative; padding: 4px 0; transition: color .2s; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--blue); border-radius: 2px; box-shadow: 0 0 8px rgba(0, 163, 255, .8);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }
.site-nav a.is-active { color: var(--white); }

/* Buttons: sheen sweep, lift, glow, squash, pulse ring */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0;
  transition: background-position .7s ease;
}
.btn-ghost::before { background-image: linear-gradient(110deg, transparent 38%, rgba(0, 163, 255, .28) 50%, transparent 62%); }
.btn:hover::before, .btn:focus-visible::before { background-position: -30% 0; }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 10px 28px -8px rgba(0, 163, 255, .75), 0 0 0 1px rgba(0, 163, 255, .35); }
.btn-ghost:hover { box-shadow: 0 8px 24px -10px rgba(0, 163, 255, .6); }
.btn:active { transform: translateY(0) scale(.97, .93); transition-duration: .08s; }
.btn-pulse::after {
  content: ""; position: absolute; inset: -2px; border-radius: 10px; pointer-events: none;
  border: 2px solid var(--blue); opacity: 0;
  animation: pulse-ring 3.8s cubic-bezier(.2,.6,.3,1) 2.2s infinite;
}
.btn-pulse:hover::after { animation-play-state: paused; opacity: 0; }
@keyframes pulse-ring {
  0%   { opacity: .75; transform: scale(1); }
  40%  { opacity: 0;   transform: scale(1.06, 1.45); }
  100% { opacity: 0;   transform: scale(1.06, 1.45); }
}

/* Hero energy */
.hero-glow {
  position: absolute; width: 900px; height: 900px; right: -260px; top: -260px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 163, 255, .24), rgba(0, 102, 204, .10) 55%, transparent 72%);
  animation: glow-drift 16s ease-in-out infinite alternate; will-change: transform, opacity;
}
@keyframes glow-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1);        opacity: .85; }
  50%  { transform: translate3d(-90px, 60px, 0) scale(1.1); opacity: 1; }
  100% { transform: translate3d(-30px, 120px, 0) scale(.95); opacity: .75; }
}
.hero-lines {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 75%); mask-image: linear-gradient(90deg, transparent 25%, #000 75%);
}
.hero-lines::before {
  /* thin vinyl-wrap style pin lines that slowly slide along their angle */
  content: ""; position: absolute; top: 0; bottom: 0; left: -120px; right: -120px;
  background: repeating-linear-gradient(115deg, transparent 0 39px, rgba(0, 163, 255, .075) 39px 40px);
  animation: lines-slide 5s linear infinite; will-change: transform;
}
@keyframes lines-slide { to { transform: translate3d(-44.14px, 0, 0); } }
.hero-streak {
  position: absolute; top: 58%; left: 0; width: 38%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 163, 255, .9), #bfe9ff);
  box-shadow: 0 0 12px rgba(0, 163, 255, .9);
  transform: translate3d(-120%, 0, 0) rotate(-25deg); opacity: 0;
  animation: streak 7s cubic-bezier(.5,0,.2,1) 1.6s infinite;
}
@keyframes streak {
  0%   { transform: translate3d(-40%, 180px, 0) rotate(-25deg);  opacity: 0; }
  6%   { opacity: 1; }
  22%  { transform: translate3d(300%, -260px, 0) rotate(-25deg); opacity: 0; }
  100% { transform: translate3d(300%, -260px, 0) rotate(-25deg); opacity: 0; }
}
.hero-stripes { animation: stripes-breathe 9s ease-in-out infinite alternate; }
@keyframes stripes-breathe { from { opacity: .75; } to { opacity: 1; } }

/* Logo: slow float + diagonal light sweep clipped to the logo shape */
.hero-mark picture { display: block; animation: logo-float 7s ease-in-out infinite; }
@keyframes logo-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } }
.hero-sheen {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
  -webkit-mask: url("/assets/img/max-wraps-logo-720.webp") center / contain no-repeat;
          mask: url("/assets/img/max-wraps-logo-720.webp") center / contain no-repeat;
  animation: logo-float 7s ease-in-out infinite;
}
.hero-sheen::before {
  content: ""; position: absolute; top: -25%; bottom: -25%; left: 0; width: 32%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6) 45%, rgba(191, 233, 255, .85) 50%, rgba(255, 255, 255, .6) 55%, transparent);
  transform: translate3d(-160%, 0, 0) skewX(-18deg);
  animation: sheen 6.5s ease-in-out 1.1s infinite; will-change: transform;
}
@keyframes sheen {
  0%   { transform: translate3d(-160%, 0, 0) skewX(-18deg); }
  28%  { transform: translate3d(420%, 0, 0) skewX(-18deg); }
  100% { transform: translate3d(420%, 0, 0) skewX(-18deg); }
}

/* Headline words + hero copy animate in on load (pure CSS; end state = normal) */
.hero h1 .w { display: inline-block; animation: word-in .6s cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(var(--i) * 45ms + 60ms); }
@keyframes word-in {
  from { opacity: 0; transform: translate3d(0, .5em, 0) skewY(5deg); }
  to   { opacity: 1; transform: none; }
}
.hero-in { animation: rise .7s cubic-bezier(.2,.75,.2,1) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
.hero-mark { animation: mark-in 1s cubic-bezier(.2,.75,.2,1) both .15s; }
@keyframes mark-in { from { transform: scale(.92) rotate(-2deg); } to { transform: none; } }
.pill-dot { position: relative; }
.pill-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0;
  animation: dot-ping 2.4s ease-out infinite 1.5s;
}
@keyframes dot-ping { 0% { opacity: .8; transform: scale(.6); } 70%, 100% { opacity: 0; transform: scale(2.2); } }

/* Scroll reveal (uses the individual `translate` property so it never fights
   the hover tilt, which uses `transform`) */
.js .reveal {
  opacity: 0; translate: 0 28px;
  transition: opacity .7s cubic-bezier(.2,.75,.2,1), translate .7s cubic-bezier(.2,.75,.2,1), transform .25s ease, border-color .25s, color .25s, background-color .25s, box-shadow .3s;
  transition-delay: calc(var(--rd, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; translate: 0 0; }
.js .reveal.is-in.reveal-done { transition-delay: 0s; }

.card, .steps li { transition: transform .25s ease, border-color .25s; }

/* Step numbers pop in after their card */
.step-num { transition: scale .5s cubic-bezier(.3,1.6,.5,1), rotate .5s cubic-bezier(.3,1.6,.5,1), opacity .3s; }
.js .reveal:not(.is-in) .step-num { scale: .2; rotate: -30deg; opacity: 0; }
.js .reveal.is-in .step-num { transition-delay: calc(var(--rd, 0) * 90ms + 250ms); }

/* Cards + steps: tilt / lift with glowing border and cursor spotlight */
.card, .steps li { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--lift, 0px), 0); }
.card::before, .steps li::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 163, 255, .14), transparent 60%);
  box-shadow: 0 0 0 1px rgba(0, 163, 255, .75), 0 18px 44px -14px rgba(0, 163, 255, .5);
  opacity: 0; transition: opacity .3s ease;
}
.card:hover, .steps li:hover { --lift: -6px; border-color: transparent; }
.card:hover::before, .steps li:hover::before { opacity: 1; }
.card:hover .card-icon { transform: translate3d(0, -2px, 0) scale(1.08); }
.card-icon { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.steps li:hover .step-num { scale: 1.08; }

/* Concepts: hover zoom + overlay */
.concept { transition: border-color .3s, transform .3s cubic-bezier(.2,.8,.2,1); }
.concept:hover { border-color: rgba(0, 163, 255, .45); }
.concept-main::after, .concept-thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 26px no-repeat,
    radial-gradient(circle at center, rgba(0, 163, 255, .55) 0 26px, transparent 27px),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .6));
  opacity: 0; transform: scale(1.04); transition: opacity .3s ease, transform .35s ease;
}
.concept-thumb::after { background-size: 20px, auto, auto; background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E"),
    radial-gradient(circle at center, rgba(0, 163, 255, .55) 0 18px, transparent 19px),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55)); }
.concept-main:hover::after, .concept-main:focus-visible::after,
.concept-thumb:hover::after, .concept-thumb:focus-visible::after { opacity: 1; transform: none; }
.concept-main img, .concept-thumb img { transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .25s; }
.concept-main:hover img, .concept-thumb:hover img { transform: scale(1.07); }
.concept-view { z-index: 1; transition: transform .35s cubic-bezier(.2,.8,.2,1), background-color .3s; }
.concept-main:hover .concept-view, .concept-main:focus-visible .concept-view { transform: translate3d(0, -4px, 0); background: var(--blue); color: var(--black); }
.concept-main:hover .concept-view::after, .concept-main:focus-visible .concept-view::after { color: var(--black); }

/* Lightbox: fade + scale in/out, crossfade between images */
.lightbox[open] { animation: lb-in .28s ease both; }
.lightbox[open]::backdrop { animation: lb-in .28s ease both; }
.lightbox[open] .lightbox-figure { animation: lb-pop .34s cubic-bezier(.2,.8,.2,1) both; }
.lightbox.is-closing, .lightbox.is-closing::backdrop { animation: lb-out .22s ease both; }
.lightbox.is-closing .lightbox-figure { animation: lb-drop .22s ease both; }
@keyframes lb-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes lb-pop { from { opacity: 0; transform: scale(.94) translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
@keyframes lb-drop { to { opacity: 0; transform: scale(.96); } }
#lightbox-img { transition: opacity .22s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
#lightbox-img.is-swapping { opacity: 0; transform: translate3d(var(--swap-x, 0px), 0, 0) scale(.985); }
.lightbox-btn { transition: background-color .2s, color .2s, border-color .2s, transform .2s cubic-bezier(.2,.8,.2,1); }
.lightbox-btn:hover { transform: scale(1.08); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-btn:active { transform: scale(.94); }
@media (max-width: 619px) { .lightbox-prev:hover, .lightbox-next:hover { transform: scale(1.08); } }

/* Chips + contact lines */
.chips li { transition: border-color .25s, color .25s, transform .25s cubic-bezier(.2,.8,.2,1), background-color .25s; }
.chips li:hover { border-color: var(--blue); transform: translate3d(0, -2px, 0); }
.contact-line svg { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.contact-line:hover svg { transform: scale(1.15) rotate(-8deg); }
.about-card { transition: box-shadow .3s ease; }
.about-card:hover { box-shadow: 0 18px 48px -18px rgba(0, 163, 255, .45); }

/* Quote form: focus glow + animated submit states */
.quote-form input[type="text"], .quote-form input[type="tel"], .quote-form input[type="email"],
.quote-form input[type="number"], .quote-form select, .quote-form textarea { transition: border-color .2s, box-shadow .25s, background-color .2s; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(0, 102, 204, .22), 0 0 18px -2px rgba(0, 163, 255, .45);
}
.field label, .field legend { transition: color .2s; }
.field:focus-within > label, fieldset.field:focus-within legend { color: var(--cobalt); }
.btn-submit .btn-spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(11, 11, 11, .25); border-top-color: var(--black);
  animation: spin .7s linear infinite;
}
.btn-submit.is-busy { pointer-events: none; }
.btn-submit.is-busy .btn-spinner { display: inline-block; }
.btn-submit.is-busy::before { background-position: -30% 0; transition-duration: 1.2s; }
.btn-submit.is-done { background: #37d67a; color: #06210f; animation: done-pop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes done-pop { 0% { transform: scale(.94); } 100% { transform: none; } }

/* Belt and braces: never hide content for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; translate: none !important; }
  .js .reveal .step-num { scale: 1 !important; rotate: 0deg !important; opacity: 1 !important; }
  .hero-lines, .hero-streak, .btn-pulse::after, .hero-sheen { display: none; }
  .card, .steps li { transform: none !important; }
}
