/* Twin State Basements: layout, components and motion. Plain CSS, no build step. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.7; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico-sm { width: .85em; height: .85em; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-family: var(--font-display);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow:has(.hex-ico)::before { display: none; }
.eyebrow-light { color: var(--orange-300); }
.h2 { font-size: var(--fs-h2); margin-bottom: 1.25rem; text-wrap: balance; }
.h2-light { color: #fff; }
.h3 { font-size: var(--fs-h3); margin-bottom: 1rem; text-wrap: balance; }
.accent { color: var(--orange); }
.lede { color: var(--slate); margin: .25rem 0 0; }
.prose { color: var(--slate); }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--orange-600); font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: background-size .35s var(--ease); }
.prose a:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.prose-light { color: rgba(255,255,255,.78); }
.prose-light a { color: var(--orange-300); }
.prose-lg { font-size: var(--fs-lg); }
.prose strong { color: var(--ink); }

/* ---------- Hex icon tile ---------- */
.hex-ico {
  --s: 44px; width: var(--s); height: var(--s); flex: none; display: inline-grid; place-items: center;
  clip-path: var(--hex); background: var(--orange-50); color: var(--orange); transition: background .3s, color .3s, transform .45s var(--ease);
}
.hex-ico .ico { width: 46%; height: 46%; }
.hex-ico-sm { --s: 28px; }
.hex-ico-lg { --s: 60px; }
.hexmark { width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange); --fg: #fff; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 52px; padding: .85rem 1.6rem; border-radius: var(--pill); background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.005em; line-height: 1.2;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .8s var(--ease);
}
.btn:hover::before { transform: translateX(110%); }
.btn:hover { transform: translateY(-2px); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { box-shadow: var(--glow); }
.btn-primary:hover { --bg: var(--orange-600); box-shadow: 0 16px 40px -12px rgba(215,76,39,.75); }
.btn-dark { --bg: var(--ink); }
.btn-dark:hover { --bg: var(--ink-3); box-shadow: var(--shadow); }
.btn-ghost { --bg: rgba(255,255,255,.08); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); backdrop-filter: blur(8px); }
.btn-ghost:hover { --bg: #fff; --fg: var(--ink); }
.btn-ghost-dark { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { min-height: 44px; padding: .6rem 1.2rem; font-size: .95rem; }
.btn-lg { min-height: 58px; padding: 1rem 1.9rem; font-size: 1.06rem; }
.btn-block { width: 100%; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .7s var(--ease) forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-display); font-weight: 600; color: var(--orange-600); font-size: .98rem; }
.link-arrow .ico { transition: transform .35s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Top bar + header ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--orange), var(--orange-300)); }
.topbar { background: var(--ink); color: rgba(255,255,255,.75); font-size: var(--fs-xs); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar-note, .topbar-links a { display: inline-flex; align-items: center; gap: .45rem; margin: 0; }
.topbar .ico { color: var(--orange-300); }
.topbar-links { display: flex; gap: 1.5rem; }
.topbar-links a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(17,21,28,.06); transition: box-shadow .4s var(--ease), background .4s;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(17,21,28,.35); background: rgba(255,255,255,.94); }
.header-in { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); transition: height .4s var(--ease); }
.site-header.is-stuck .header-in { height: 70px; }
.brand { display: inline-flex; flex: none; }
.logo { display: inline-flex; align-items: center; gap: .7rem; }
.logo .hexmark { width: 46px; height: 46px; color: var(--orange); transition: transform .8s var(--ease); }
.brand:hover .hexmark { transform: rotate(60deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.01em; text-transform: uppercase; }
.logo-sub { font-family: var(--font-display); font-weight: 600; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
.logo-light .logo-name { color: #fff; }
.logo-light .logo-sub { color: rgba(255,255,255,.6); }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .95rem; border-radius: var(--pill);
  font-family: var(--font-display); font-weight: 600; font-size: .96rem; color: var(--ink-2); transition: color .25s, background .25s;
}
.nav-link::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .3rem; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover, .nav-item.is-on > .nav-link, .nav-link[aria-current] { color: var(--orange-600); }
.nav-link:hover::after, .nav-item.is-on > .nav-link::after, .nav-link[aria-current]::after { transform: scaleX(1); }
.nav-link .ico { transition: transform .3s var(--ease); }
.nav-item.is-open > .nav-link .ico { transform: rotate(180deg); }

.mega, .drop {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.nav-item.is-open > .mega, .nav-item.is-open > .drop { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1081px) {
  .nav-item:hover > .mega, .nav-item:hover > .drop, .nav-item:focus-within > .mega, .nav-item:focus-within > .drop { opacity: 1; visibility: visible; transform: none; }
}
.mega-in { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 2.5rem; padding-top: 1.8rem; padding-bottom: 2rem; max-height: calc(100vh - 140px); overflow-y: auto; }
.mega-group + .mega-group { margin-top: 1.3rem; }
.mega-head { display: flex; align-items: center; gap: .6rem; margin: 0 0 .7rem; font-family: var(--font-display); font-weight: 700; font-size: .98rem; }
.mega-head .hex-ico { --s: 32px; }
.mega-col ul { display: grid; gap: .1rem; }
.mega-col li a { display: block; padding: .22rem 0 .22rem 2.6rem; font-size: .92rem; color: var(--slate); transition: color .2s, transform .3s var(--ease); }
.mega-col li a:hover, .mega-col li a[aria-current] { color: var(--orange-600); transform: translateX(4px); }
.mega-cta { align-self: start; background: var(--ink); color: rgba(255,255,255,.75); border-radius: var(--r); padding: 1.6rem; display: grid; gap: .8rem; justify-items: start; position: relative; overflow: hidden; }
.mega-cta::after { content: ""; position: absolute; width: 180px; height: 200px; right: -50px; bottom: -60px; clip-path: var(--hex); background: rgba(215,76,39,.25); }
.mega-cta p { margin: 0; font-size: .92rem; }
.mega-cta-title { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem !important; }
.mega-cta .link-arrow { color: var(--orange-300); }
.has-drop { position: relative; }
.drop { left: 50%; right: auto; width: 520px; transform: translate(-50%, 10px); border-radius: 0 0 var(--r) var(--r); padding: 1.3rem 1.5rem 1.4rem; }
.nav-item.is-open > .drop { transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1081px) { .has-drop:hover > .drop, .has-drop:focus-within > .drop { transform: translate(-50%, 0); } }
.drop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .15rem 1rem; margin-bottom: 1rem; }
.drop-grid a { display: block; padding: .35rem 0; font-size: .92rem; color: var(--slate); }
.drop-grid a:hover, .drop-grid a[aria-current] { color: var(--orange-600); }

.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-phone { display: inline-flex; align-items: center; gap: .7rem; padding: .4rem 1.1rem .4rem .4rem; border-radius: var(--pill); background: var(--ink); color: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.header-phone:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.header-phone-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); position: relative; }
.header-phone-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.header-phone small { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); line-height: 1.2; }
.header-phone strong { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: .01em; line-height: 1.2; }
.burger { display: none; width: 48px; height: 48px; border-radius: 14px; place-items: center; background: var(--paper); }
.burger .ico { width: 24px; height: 24px; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(17,21,28,.55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease); }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-top .logo .hexmark { width: 38px; height: 38px; }
.drawer-x { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); }
.drawer-x .ico { width: 22px; height: 22px; }
.drawer-nav { flex: 1; overflow-y: auto; padding: .75rem var(--gutter); }
.drawer-group { border-bottom: 1px solid var(--line); }
.drawer-group summary { list-style: none; display: flex; align-items: center; gap: .75rem; padding: .85rem 0; font-family: var(--font-display); font-weight: 600; cursor: pointer; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group summary .ico-sm { margin-left: auto; transition: transform .3s var(--ease); }
.drawer-group[open] summary .ico-sm { transform: rotate(180deg); }
.drawer-group summary .hex-ico { --s: 32px; }
.drawer-group ul { padding: 0 0 .9rem 2.8rem; display: grid; gap: .1rem; }
.drawer-group ul a { display: block; padding: .4rem 0; color: var(--slate); font-size: .95rem; }
.drawer-link { display: block; padding: .95rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; }
.drawer-foot { padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom)); display: grid; gap: .6rem; border-top: 1px solid var(--line); }

/* ---------- Hex field (static pattern; the container drifts, the SVG never animates) ---------- */
.hex-field {
  position: absolute; inset: -20%; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66 0 50V18L28 2l28 16v32zm0 32L0 82V66' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 56px 98px; animation: drift 60s linear infinite;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
}
@keyframes drift { to { transform: translate3d(56px, 98px, 0); } }

/* ---------- Home hero ---------- */
.home-hero { position: relative; min-height: calc(100vh - 41px - var(--header-h)); min-height: calc(100svh - 41px - var(--header-h)); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.home-hero-media { position: absolute; inset: 0; z-index: -2; }
.home-hero-poster, .home-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
.home-hero-video { opacity: 0; transition: opacity 1.2s var(--ease); }
.home-hero-video.is-playing { opacity: 1; }
@keyframes heroZoom { to { transform: scale(1); } }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(17,21,28,.94) 0%, rgba(17,21,28,.78) 42%, rgba(17,21,28,.35) 100%), linear-gradient(0deg, rgba(17,21,28,.85), transparent 40%); }
.home-hero-in { padding-top: clamp(1.5rem, 5svh, 4rem); padding-bottom: clamp(4.5rem, 10svh, 6.5rem); position: relative; }
.hero-kicker { padding: .5rem 1rem; border-radius: var(--pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); color: #fff; letter-spacing: .1em; }
.hero-kicker::before { display: none; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(215,76,39,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(215,76,39,0); } 100% { box-shadow: 0 0 0 0 rgba(215,76,39,0); } }
.home-hero-title { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: clamp(.6rem, 1.6svh, 1.1rem) 0 clamp(.8rem, 2.4svh, 1.5rem); }
.home-hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.accent-underline { color: var(--orange-300); background: linear-gradient(var(--orange), var(--orange)) 0 94% / 0 .09em no-repeat; animation: underline 1.1s .95s var(--ease) forwards; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@keyframes underline { to { background-size: 100% .09em; } }
.home-hero-lines { max-width: 44rem; font-size: clamp(1rem, .55rem + 1.3svh, 1.125rem); line-height: 1.6; color: rgba(255,255,255,.8); }
.home-hero-lines p { margin-bottom: .25rem; }
.home-hero-actions, .page-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.home-hero-actions { margin-top: clamp(1.1rem, 3svh, 2rem); }
.hero-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: clamp(1.1rem, 3.4svh, 2.6rem); }
.hero-pills a {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem .45rem .45rem; border-radius: var(--pill);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; transition: background .3s, transform .35s var(--ease), border-color .3s;
}
.hero-pills a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.hero-pills .hex-ico { --s: 30px; background: rgba(255,255,255,.12); color: #fff; }
.hero-pills a:hover .hex-ico { background: rgba(255,255,255,.2); }
.scroll-cue { position: absolute; left: 50%; bottom: 2rem; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }
.video-toggle { position: absolute; right: 1rem; bottom: 1rem; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(17,21,28,.55); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); z-index: 2; }
.video-toggle .ico { width: 16px; height: 16px; }
.hero-toggle { right: var(--gutter); bottom: 2rem; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; min-height: clamp(460px, 68vh, 640px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02); } }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(17,21,28,.92) 0%, rgba(17,21,28,.72) 50%, rgba(17,21,28,.3) 100%), linear-gradient(0deg, rgba(17,21,28,.7), transparent 50%); }
.page-hero-in { padding-top: 3.5rem; padding-bottom: 5.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.page-hero-title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.03em; max-width: 20ch; margin: .3rem 0 0; text-wrap: balance; }
.page-hero-sub { max-width: 44rem; margin: 1.1rem 0 0; font-size: var(--fs-lg); color: rgba(255,255,255,.82); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; background: var(--paper); clip-path: polygon(0 100%, 0 70%, 8% 40%, 16% 70%, 24% 40%, 32% 70%, 40% 40%, 48% 70%, 56% 40%, 64% 70%, 72% 40%, 80% 70%, 88% 40%, 96% 70%, 100% 55%, 100% 100%); opacity: .0; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--orange), var(--orange-300) 40%, var(--blue-400)); transform-origin: left; animation: barIn 1.2s .4s var(--ease) both; }
@keyframes barIn { from { transform: scaleX(0); } }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-size: var(--fs-xs); font-weight: 500; }
.crumbs li { display: inline-flex; align-items: center; gap: .6rem; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); opacity: .5; }
.crumbs a { display: inline-flex; align-items: center; gap: .35rem; opacity: .8; transition: opacity .2s, color .2s; }
.crumbs a:hover { opacity: 1; color: var(--orange-300); }
.crumbs .ico { width: 14px; height: 14px; }
.crumbs [aria-current] { font-weight: 600; }
.crumbs-light { color: #fff; margin-bottom: 1.4rem; display: flex; width: fit-content; max-width: 100%; padding: .45rem .9rem; border-radius: var(--pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-form { grid-template-columns: 1.1fr .9fr; align-items: start; }
.split-rev > :first-child { order: 2; }
.split > *, .system > *, .why-grid > * { min-width: 0; }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 2rem; }
.intro-form { position: sticky; top: calc(var(--header-h) + 1.5rem); }

/* ---------- Form ---------- */
.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); border: 1px solid rgba(17,21,28,.05); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--orange), var(--orange-300), var(--blue-400)); }
.form-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.form-title { font-size: 1.45rem; text-transform: none; margin: 0; font-family: var(--font-display); font-weight: 700; }
.form-sub { margin: .2rem 0 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.form-note { font-size: var(--fs-xs); color: var(--muted); margin: 0 0 .9rem; }
.form-note span, .field b { color: var(--orange); font-weight: 700; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field { position: relative; }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 14px;
  padding: 1.45rem 1rem .5rem; min-height: 58px; transition: border-color .25s, background .25s, box-shadow .25s; appearance: none;
}
.field textarea { resize: vertical; min-height: 104px; }
.field label { position: absolute; left: 1rem; top: 1.05rem; font-size: .98rem; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--ease), color .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(215,76,39,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field-select label { transform: translateY(-.62rem) scale(.78); color: var(--slate); }
.field-select select { padding-right: 2.6rem; cursor: pointer; }
.select-caret { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: #c62828; background: #fff5f5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; margin: 1rem 0 1.2rem; font-size: .78rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent-box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #c9c4bc; display: grid; place-items: center; background: #fff; transition: background .2s, border-color .2s; margin-top: 1px; }
.consent-box .ico { width: 14px; height: 14px; color: #fff; transform: scale(0); transition: transform .3s var(--ease); }
.consent input:checked + .consent-box { background: var(--orange); border-color: var(--orange); }
.consent input:checked + .consent-box .ico { transform: scale(1); }
.consent input:focus-visible + .consent-box { outline: 3px solid var(--orange); outline-offset: 2px; }
.consent strong { color: var(--ink); }
.form-status { margin: .9rem 0 0; font-size: var(--fs-sm); color: #b3261e; min-height: 1px; }
.form-status:empty { margin: 0; }
.estimate.is-busy button[type=submit] { opacity: .7; pointer-events: none; }
.form-done { text-align: center; padding: 2rem 0 1rem; }
.done-check { width: 72px; height: 72px; margin: 0 auto 1rem; display: grid; place-items: center; clip-path: var(--hex); background: var(--orange); color: #fff; animation: pop .6s var(--ease); }
.done-check .ico { width: 32px; height: 32px; }
@keyframes pop { from { transform: scale(.4) rotate(-30deg); opacity: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.4rem; }
.stats li { padding: 1.1rem 1rem; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid rgba(17,21,28,.04); }
.stats strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--orange); line-height: 1.1; letter-spacing: -.02em; }
.stats span { display: block; margin-top: .3rem; font-size: .8rem; line-height: 1.35; color: var(--muted); }

/* ---------- Band ---------- */
.band { background: var(--orange); color: #fff; position: relative; overflow: hidden; }
.band-marquee { position: absolute; inset: 0; display: flex; align-items: center; opacity: .1; pointer-events: none; }
.band-track { display: flex; gap: 3rem; white-space: nowrap; animation: marquee 40s linear infinite; font-family: var(--font-display); font-weight: 800; font-size: 5.5rem; text-transform: uppercase; letter-spacing: -.02em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.band-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-top: 2.6rem; padding-bottom: 2.6rem; flex-wrap: wrap; }
.band-title { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; max-width: 28ch; }
.band-phone { display: inline-flex; align-items: center; gap: 1rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.3rem); letter-spacing: -.01em; padding: .5rem 1.6rem .5rem .5rem; border-radius: var(--pill); background: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.band-phone:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-lg); }
.band-phone-ring { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--orange); position: relative; }
.band-phone-ring .ico { width: 24px; height: 24px; animation: wiggle 2.6s ease-in-out infinite; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(6deg); } }

/* ---------- Media frames ---------- */
.media-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--paper-2); box-shadow: var(--shadow-lg); }
.media-frame img.cover { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.feature-media, .system-media, .about-photo { position: relative; }
.media-badge {
  position: absolute; left: -1rem; bottom: -1.4rem; display: inline-flex; align-items: center; gap: .8rem; padding: .9rem 1.3rem .9rem .9rem; border-radius: var(--r);
  background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-family: var(--font-display); font-weight: 700; font-size: .85rem; line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.media-badge .hexmark, .media-badge > .ico { width: 40px; height: 40px; color: var(--orange); flex: none; }
@keyframes float { 50% { transform: translateY(-8px); } }
.feature { background: #fff; }
.closing-tint { background: var(--paper-2); }

/* ---------- Systems (home) ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head .eyebrow { width: 100%; margin-bottom: .2rem; }
.section-head .h2 { margin: 0; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-center .eyebrow { width: auto; }
.system { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.system + .system { margin-top: clamp(3.5rem, 7vw, 6.5rem); }
.system-rev .system-media { order: 2; }
.mini-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.mini-links a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.mini-links a .ico { width: 14px; height: 14px; color: var(--orange); transition: transform .3s var(--ease), color .25s; }
.mini-links a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.mini-links a:hover .ico { color: var(--orange-300); transform: translateX(3px); }

/* ---------- Catalog cards ---------- */
.catalog { background: #fff; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cat-card {
  position: relative; padding: 1.8rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid transparent; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, background .3s; transform-style: preserve-3d;
}
.cat-card::after { content: ""; position: absolute; width: 160px; height: 180px; right: -60px; top: -70px; clip-path: var(--hex); background: var(--orange); opacity: 0; transform: scale(.6) rotate(-20deg); transition: opacity .5s, transform .7s var(--ease); }
.cat-card:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow-lg); }
.cat-card:hover::after { opacity: .08; transform: none; }
.cat-card:hover .hex-ico { background: var(--orange); color: #fff; transform: rotate(-8deg) scale(1.05); }
.cat-title { font-size: 1.3rem; margin: 1.1rem 0 .4rem; }
.cat-title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.cat-intro { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; margin-bottom: 1rem; }
.cat-card ul { position: relative; z-index: 1; display: grid; gap: .15rem; }
.cat-card li a { display: block; padding: .3rem 0; font-size: .93rem; color: var(--slate); border-bottom: 1px dashed var(--line); transition: color .2s, padding .3s var(--ease); }
.cat-card li a:hover { color: var(--orange-600); padding-left: .4rem; }
.cat-more { position: relative; z-index: 1; display: inline-block; margin-top: .8rem; font-size: .85rem; font-weight: 700; color: var(--orange-600); }

/* ---------- Why (dark, reviews) ---------- */
.why { background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.why-bg { position: absolute; inset: 0; z-index: -1; }
.why-bg-img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: grayscale(1); }
.why-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(215,76,39,.28), transparent 45%), linear-gradient(180deg, rgba(17,21,28,.6), var(--ink)); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.why-points { display: grid; gap: .8rem; margin-top: 2rem; }
.why-points li { display: flex; align-items: center; gap: .9rem; font-weight: 600; color: #fff; }
.why-points .hex-ico { background: rgba(215,76,39,.18); color: var(--orange-300); }
.reviews-card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 1.4rem; min-height: 320px; box-shadow: var(--shadow-lg); }
.reviews-head { display: flex; align-items: center; gap: .8rem; margin: 0 0 .8rem; font-family: var(--font-display); font-weight: 700; }
.stars { display: inline-flex; gap: 2px; color: #f5b400; }
.stars .ico { width: 18px; height: 18px; }

/* ---------- Video ---------- */
.video-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; background: var(--ink); box-shadow: var(--shadow-lg); }
.lazy-video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Chips + towns ---------- */
.related { background: #fff; }
.chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.chip-card { display: flex; align-items: center; gap: .9rem; padding: .8rem 1.1rem .8rem .8rem; border-radius: var(--r); background: var(--paper); border: 1px solid transparent; font-family: var(--font-display); font-weight: 600; font-size: .96rem; transition: background .3s, border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.chip-card > .ico { margin-left: auto; color: var(--orange); transition: transform .35s var(--ease); }
.chip-card:hover { background: #fff; border-color: var(--line); transform: translateY(-3px); box-shadow: var(--shadow); }
.chip-card:hover > .ico { transform: translateX(4px); }
.chip-card:hover .hex-ico { background: var(--orange); color: #fff; }
.related-more { margin: 1.6rem 0 0; }
.towns-band { background: var(--paper); }
.town-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.town-pills a { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .93rem; transition: background .3s, color .3s, transform .35s var(--ease), border-color .3s; }
.town-pills .ico { width: 16px; height: 16px; color: var(--orange); transition: color .3s; }
.town-pills a:hover { background: var(--orange); color: #fff; border-color: var(--orange); transform: translateY(-3px); }
.town-pills a:hover .ico { color: #fff; }

/* ---------- Emergency ---------- */
.emergency { position: relative; background: var(--ink-2); color: #fff; text-align: center; overflow: hidden; padding: clamp(4rem, 3rem + 4vw, 6.5rem) 0; isolation: isolate; }
.emergency-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; z-index: -1; background: radial-gradient(circle, rgba(215,76,39,.35), transparent 60%); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }
.emergency-in { max-width: 820px; }
.emergency-icon { width: 76px; height: 76px; margin: 0 auto 1.4rem; display: grid; place-items: center; clip-path: var(--hex); background: var(--orange); }
.emergency-icon .ico { width: 34px; height: 34px; }
.emergency-title { font-size: var(--fs-h2); font-weight: 800; margin-bottom: 1rem; text-wrap: balance; }
.emergency p { color: rgba(255,255,255,.78); font-size: var(--fs-lg); margin-bottom: 2rem; }

/* ---------- About + contact ---------- */
.about-side { display: grid; gap: 1.5rem; }
.credentials { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.credentials li { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.credentials p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--slate); }
.contact-list { display: grid; gap: .8rem; margin-top: 1.6rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--orange-600); }
.contact-cards { display: grid; gap: .8rem; margin-top: 2rem; }
.contact-cards a { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.contact-cards a:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact-cards small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-cards strong { font-family: var(--font-display); font-size: 1.05rem; word-break: break-word; }

/* ---------- Hubs ---------- */
.cat-jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 3rem; padding: .7rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) - 6px); z-index: 5; }
.cat-jump a { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem 1rem .4rem .4rem; border-radius: var(--pill); font-family: var(--font-display); font-weight: 600; font-size: .9rem; transition: background .25s, color .25s; }
.cat-jump a:hover, .cat-jump a.is-on { background: var(--ink); color: #fff; }
.cat-block + .cat-block { margin-top: 3.5rem; }
.cat-block .section-head { justify-content: flex-start; align-items: center; margin-bottom: 1.5rem; }
.cat-block .section-head .h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.filter-bar { margin-bottom: 2rem; }
.filter-field { display: flex; align-items: center; gap: .7rem; max-width: 420px; padding: 0 1.1rem; border-radius: var(--pill); background: #fff; box-shadow: var(--shadow-sm); border: 1.5px solid transparent; transition: border-color .25s; }
.filter-field:focus-within { border-color: var(--orange); }
.filter-field .ico { color: var(--orange); }
.filter-field input { flex: 1; min-height: 54px; border: 0; background: none; font: inherit; outline: none; }
.town-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.town-card { position: relative; padding: 1.5rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s; overflow: hidden; }
.town-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.town-card:hover { box-shadow: var(--shadow-lg); }
.town-card:hover::before { transform: none; }
.town-title { font-size: 1.25rem; margin-bottom: .5rem; }
.town-title a::after { content: ""; position: absolute; inset: 0; }
.town-meta { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.town-meta .ico { color: var(--orange); }
.filter-empty { margin-top: 1.5rem; color: var(--slate); }

/* ---------- Map ---------- */
.map-band { background: var(--ink); }
.map-frame { position: relative; height: clamp(320px, 42vw, 460px); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; text-align: center; color: rgba(255,255,255,.8); padding: 1rem; }
.map-placeholder p { margin: 0; }
.map-placeholder strong { color: #fff; }
.map-placeholder .link-arrow { color: var(--orange-300); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: rgba(255,255,255,.68); overflow: hidden; isolation: isolate; font-size: .93rem; }
.footer-glow { position: absolute; width: 700px; height: 700px; left: -200px; top: -300px; z-index: -1; background: radial-gradient(circle, rgba(215,76,39,.22), transparent 60%); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 3.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-cta .eyebrow { margin-bottom: .4rem; }
.footer-cta-title { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); letter-spacing: -.02em; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; padding-top: 3.5rem; padding-bottom: 3rem; }
.footer-brand .logo .hexmark { color: var(--orange); }
.footer-brand > p { margin: 1.2rem 0 1.4rem; max-width: 30ch; }
.footer-contact { display: grid; gap: .7rem; }
.footer-contact a { display: flex; align-items: center; gap: .75rem; color: #fff; transition: color .2s; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--orange-300); }
.footer-contact .hex-ico { --s: 34px; background: rgba(255,255,255,.07); color: var(--orange-300); }
.footer-head { margin: 0 0 .8rem; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: .1rem; margin-bottom: 1.6rem; }
.footer-col a { display: inline-block; padding: .22rem 0; transition: color .2s, transform .3s var(--ease); }
.footer-col a:hover { color: var(--orange-300); transform: translateX(3px); }
.footer-base { border-top: 1px solid var(--line-dark); }
.footer-base-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-top: 1.2rem; padding-bottom: 1.2rem; font-size: .82rem; }
.footer-base p { margin: 0; }
.footer-base a:hover { color: #fff; }

/* ---------- Floating UI ---------- */
.call-dock { display: none; }
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s, transform .45s var(--ease), background .25s; }
.to-top .ico { transform: rotate(180deg); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange); }

/* ---------- Error ---------- */
.error-page { position: relative; min-height: 70vh; display: flex; align-items: center; background: var(--ink); color: #fff; overflow: hidden; }
.error-in { padding-top: 5rem; padding-bottom: 5rem; position: relative; }
.error-mark { display: block; width: 90px; height: 90px; color: var(--orange); margin-bottom: 1.5rem; animation: spinHex 14s linear infinite; }
@keyframes spinHex { to { transform: rotate(360deg); } }

/* ---------- Reveal motion (applied only once JS has run) ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(12% 12% 12% 12% round var(--r-lg)); transition: clip-path 1.3s var(--ease); }
.js [data-reveal="clip"] img.cover { scale: 1.25; transition: scale 1.6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js [data-reveal="clip"].is-in img.cover { scale: 1; }
.js [data-stagger] > * { opacity: 0; transform: translate3d(0, 22px, 0) scale(.98); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-rise] { opacity: 0; transform: translate3d(0, 24px, 0); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, .35s); }
.js .home-hero-title [data-line] > *, .js .home-hero-title [data-line] { animation: lineUp 1.1s var(--ease) both; }
.js .home-hero-title [data-line]:nth-child(1) { animation-delay: .1s; }
.js .home-hero-title [data-line]:nth-child(2) { animation-delay: .22s; }
.js .home-hero-title [data-line]:nth-child(3) { animation-delay: .34s; }
@keyframes lineUp { from { transform: translate3d(0, 105%, 0); opacity: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; animation: lineUp 1s var(--ease) both; animation-delay: calc(.1s + var(--i, 0) * 45ms); }
.js.reveal-failsafe [data-reveal], .js.reveal-failsafe [data-stagger] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: .6rem .7rem; font-size: .92rem; }
  .header-phone small { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .burger { display: grid; }
  .header-cta { margin-left: auto; }
  .split, .split-form, .system, .why-grid { grid-template-columns: 1fr; }
  .split-rev > :first-child, .system-rev .system-media { order: 0; }
  .intro-form { position: static; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .hero-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: .2rem var(--gutter) .3rem; scroll-padding-inline: var(--gutter); -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 2.5rem), transparent); }
  .hero-pills::-webkit-scrollbar { display: none; }
  .hero-pills li { flex: none; }
}
@media (max-width: 720px) {
  body { padding-bottom: 68px; }
  .topbar-note { display: none; }
  .topbar-in { justify-content: center; }
  .topbar-links { gap: 1.1rem; }
  .topbar-links a:first-child span { max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-phone { padding: 0; background: none; }
  .header-phone > span:last-child { display: none; }
  .logo .hexmark { width: 40px; height: 40px; }
  .logo-name { font-size: 1.12rem; }
  .logo-sub { font-size: .54rem; letter-spacing: .2em; }
  .home-hero-in { padding-top: clamp(1.25rem, 3.5svh, 2.5rem); padding-bottom: clamp(1.5rem, 4svh, 3rem); }
  .hero-kicker { font-size: .68rem; letter-spacing: .06em; padding: .45rem .85rem; }
  .home-hero-lines { font-size: 1rem; line-height: 1.55; }
  .home-hero-actions .btn, .page-hero-actions .btn { flex: 1 1 100%; }
  .home-hero-actions .btn-lg { min-height: 52px; padding-block: .8rem; }
  .scroll-cue { display: none; }
  .page-hero { min-height: 0; }
  .page-hero-in { padding-top: 2rem; padding-bottom: 3.5rem; }
  .field-grid, .credentials, .cat-grid { grid-template-columns: 1fr; }
  .band-in { flex-direction: column; align-items: flex-start; }
  .band-phone { font-size: 1.4rem; }
  .band-track { font-size: 3.2rem; }
  .media-badge { left: .8rem; bottom: -1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .chip-grid { grid-template-columns: 1fr; }
  .cat-jump { position: static; }
  .call-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(17,21,28,.94); backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .45s var(--ease); }
  .call-dock.is-on { transform: none; }
  .call-dock a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; border-radius: 12px; font-family: var(--font-display); font-weight: 700; color: #fff; }
  .call-dock-call { background: var(--orange); }
  .call-dock-quote { background: rgba(255,255,255,.1); }
  .to-top { bottom: 84px; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats strong { font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-stagger] > *, .js [data-rise] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hex-field, .band-track { animation: none !important; }
}
