/* Rhino Racking Solutions. Shared styles for every page. */

:root {
  --navy: #061a33;
  --navy-deep: #041326;
  --navy-2: #0a2648;
  --blue: #109edb;
  --cyan: #00c8f2;
  --cyan-hi: #45dcfb;
  --cyan-soft: #ddf4ff;
  --white: #fff;
  --paper: #f5f8fb;
  --ink: #26394d;
  --ink-2: #4a5d72;
  --line: #dde5ee;
  --line-dark: rgba(255, 255, 255, .12);
  --muted-dark: #b8c6d6;
  --radius: 12px;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --island: 68px;
  --island-top: 12px;
  --head-space: calc(var(--island) + var(--island-top) * 2);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hex: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-space) + 8px); }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 400; background: var(--cyan); color: var(--navy); padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Hex badge, the logo shape, used for every icon */
.hex { --s: 52px; position: relative; flex: none; width: var(--s); height: calc(var(--s) * 1.12); display: grid; place-items: center; clip-path: var(--hex); background: linear-gradient(160deg, var(--cyan), var(--blue)); color: var(--navy); }
.hex::before { content: ""; position: absolute; inset: 2px; clip-path: var(--hex); background: var(--navy); }
.hex .ico { position: relative; width: 50%; height: 50%; color: var(--cyan); stroke-width: 1.7; }
.hex-light::before { background: #eaf7fd; }
.hex-light .ico { color: var(--navy); }

/* Rhino mark watermark (white facets from the logo, tinted by mask) */
.rhino-mark { position: absolute; pointer-events: none; aspect-ratio: 900 / 576; background: currentColor; -webkit-mask: url("/assets/img/rhino-facets.webp") center / contain no-repeat; mask: url("/assets/img/rhino-facets.webp") center / contain no-repeat; }

/* Type */
.h-display { font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; letter-spacing: -.005em; line-height: .9; margin: 0; }
.h-display .hl { color: var(--blue); }
.dark .h-display .hl, .h-display .hl-cyan { color: var(--cyan); }
.h2 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem); }
.lede { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.6; color: var(--ink-2); margin: 0; }
.dark .lede { color: #d0dbe7; }
.dark { background: var(--navy); color: var(--white); }
.star { display: inline-block; flex: none; width: .7em; height: .7em; background: currentColor; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }

/* Buttons: skewed like a jersey plate, chunky, with a shine sweep */
.btn { --b: var(--cyan); --b2: var(--blue); --fg: var(--navy); --edge: #087bab; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 10px 0 24px; border: 0; border-radius: 8px; background: linear-gradient(180deg, var(--cyan-hi), var(--b) 45%, var(--b2)); color: var(--fg); text-decoration: none; transform: skewX(-9deg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 4px 0 var(--edge), 0 14px 28px -12px rgba(0, 200, 242, .75); overflow: hidden; isolation: isolate; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; white-space: nowrap; }
.btn > * { transform: skewX(9deg); }
.btn-t { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.22rem; letter-spacing: .02em; line-height: 1; }
.btn .chip { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: var(--navy); color: var(--cyan); transition: transform .25s var(--ease); }
.btn .chip .ico { width: 18px; height: 18px; stroke-width: 2.4; }
.btn::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); transition: left .55s var(--ease); }
.btn:hover { transform: skewX(-9deg) translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 0 var(--edge), 0 20px 34px -12px rgba(0, 200, 242, .9); }
.btn:hover::after { left: 120%; }
.btn:hover .chip { transform: skewX(9deg) translateX(3px); }
.btn:active { transform: skewX(-9deg) translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 0 var(--edge), 0 8px 18px -10px rgba(0, 200, 242, .7); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); padding: 0 22px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 2px var(--white); }
.btn-ghost:active { box-shadow: inset 0 0 0 2px var(--white); }
.btn-ghost .ico { width: 22px; height: 22px; color: var(--cyan); }
.btn-sm { min-height: 44px; padding-left: 18px; padding-right: 6px; gap: 10px; }
.btn-sm .btn-t { font-size: 1.05rem; }
.btn-sm .chip { width: 30px; height: 30px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow .ico { width: 20px; height: 20px; stroke-width: 2; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.dark .link-arrow { color: var(--cyan); }

/* Header: floating island. Logo left, nav centered, actions right */
.site-head { position: fixed; z-index: 200; top: 0; left: 0; right: 0; padding: var(--island-top) var(--gutter) 0; pointer-events: none; }
.head-in { position: relative; pointer-events: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; height: var(--island); max-width: calc(var(--wrap) + 16px); margin: 0 auto; padding: 0 10px 0 14px; border-radius: 16px; background: rgba(6, 26, 51, .66); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); color: var(--white); transition: background .4s, box-shadow .4s; }
.scrolled .head-in, .menu-open .head-in, .mega-open .head-in { background: rgba(4, 19, 38, .95); box-shadow: 0 22px 50px -24px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); }
.brand { justify-self: start; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 56px; object-fit: contain; flex: none; filter: drop-shadow(0 0 10px rgba(0, 200, 242, .35)); }
/* Wordmark stays upright like the real logo, never skewed or italic */
.brand-word { font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; line-height: .84; display: flex; flex-direction: column; }
.brand-word b { font-size: 1.62rem; letter-spacing: .02em; color: var(--white); }
.brand-word span { font-size: .96rem; letter-spacing: .19em; color: var(--blue); }

.nav { justify-self: center; display: flex; align-items: center; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-pill { position: absolute; left: 0; top: 50%; height: 40px; width: 0; margin-top: -20px; border-radius: 10px; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); opacity: 0; pointer-events: none; transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .25s; }
.nav-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 13px; border: 0; background: none; color: var(--white); font-size: .95rem; font-weight: 500; text-decoration: none; border-radius: 10px; }
.nav-link .ico { width: 16px; height: 16px; stroke-width: 2; transition: transform .35s var(--ease-out), color .2s; }
.nav-item.open > .nav-link .ico { transform: rotate(180deg); color: var(--cyan); }
.head-cta { justify-self: end; display: flex; align-items: center; gap: 16px; }
.head-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .96rem; white-space: nowrap; min-height: 44px; }
.head-phone .ico { width: 20px; height: 20px; color: var(--cyan); }
.head-phone:hover { color: var(--cyan); }

/* Mega menu: clip reveal with expo easing, items and promo stagger in, eases back out */
.mega { position: absolute; left: 0; right: 0; top: calc(100% + 10px); display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(4, 19, 38, .7), 0 0 0 1px rgba(6, 26, 51, .06); opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.985); transform-origin: 50% 0; clip-path: inset(0 0 100% 0 round 16px); transition: clip-path .35s var(--ease-in), transform .35s var(--ease-in), opacity .25s .08s, visibility 0s .35s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; clip-path: inset(0 0 0 0 round 16px); transition: clip-path .6s var(--ease-out), transform .6s var(--ease-out), opacity .2s, visibility 0s; }
.mega-list { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-content: start; }
.mega-list > li { opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .3s var(--ease-in); }
.nav-item.open .mega-list > li { opacity: 1; transform: none; transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); }
.nav-item.open .mega-list > li:nth-child(2) { transition-delay: .06s; } .nav-item.open .mega-list > li:nth-child(3) { transition-delay: .1s; }
.nav-item.open .mega-list > li:nth-child(4) { transition-delay: .14s; } .nav-item.open .mega-list > li:nth-child(5) { transition-delay: .18s; }
.nav-item.open .mega-list > li:nth-child(6) { transition-delay: .22s; } .nav-item.open .mega-list > li:nth-child(7) { transition-delay: .26s; }
.mega-head { grid-column: 1 / -1; padding: 6px 12px 8px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 8px; }
.mega-head .star { width: 10px; height: 10px; }
.mega-list a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 10px; text-decoration: none; transition: background .25s; }
.mega-list a:hover, .mega-list a:focus-visible { background: var(--paper); }
.mega-list a:hover .hex { transform: translateY(-2px) rotate(-6deg); }
.mega-list a:hover strong { color: var(--blue); }
.mega-list .hex { --s: 46px; transition: transform .4s var(--ease-out); }
.mega-list strong { display: block; font-weight: 700; font-size: .98rem; color: var(--navy); line-height: 1.25; transition: color .2s; }
.mega-list small { display: block; margin-top: 3px; font-size: .84rem; color: var(--ink-2); line-height: 1.45; }
.mega-promo { position: relative; overflow: hidden; isolation: isolate; border-radius: 12px; background: var(--navy); color: var(--white); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; text-decoration: none; opacity: 0; transform: translateX(18px); transition: opacity .2s, transform .3s var(--ease-in); }
.nav-item.open .mega-promo { opacity: 1; transform: none; transition: opacity .5s .12s, transform .7s .12s var(--ease-out); }
.mega-promo img.bgimg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.12); transition: transform 1.2s var(--ease-out); }
.nav-item.open .mega-promo img.bgimg { transform: scale(1); }
.mega-promo:hover img.bgimg { transform: scale(1.04); }
.mega-promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 26, 51, .15), rgba(6, 26, 51, .96) 72%); }
.mega-promo .rhino-mark { right: -30px; top: 14px; width: 210px; color: var(--cyan); opacity: .16; z-index: -1; }
.mega-promo h3 { margin: 0; font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; font-size: 1.9rem; line-height: .95; }
.mega-promo p { margin: 8px 0 18px; font-size: .9rem; color: var(--muted-dark); line-height: 1.5; }
.mega-promo .btn { align-self: flex-start; }

/* Phones: call button in the header island */
.head-call { display: none; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; margin-left: auto; border-radius: 10px; background: rgba(0, 200, 242, .12); border: 1px solid rgba(0, 200, 242, .45); color: var(--white); text-decoration: none; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.head-call .ico { width: 18px; height: 18px; color: var(--cyan); stroke-width: 2; }

/* Phones: call bar that slides up once the hero is scrolled past and stays to the end */
.call-bar { display: none; }

/* Menu button + mobile menu */
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--white); font-weight: 600; }
.menu-btn .bars { width: 18px; height: 12px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after, .menu-btn .bars i { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars i { top: 5px; } .menu-btn .bars::after { top: 10px; }
.menu-open .menu-btn { border-color: var(--cyan); }
.menu-open .menu-btn .bars::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn .bars::after { transform: translateY(-5px) rotate(-45deg); }
.menu-open .menu-btn .bars i { opacity: 0; }

.mm { position: fixed; z-index: 150; inset: 0; height: 100vh; height: 100dvh; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: calc(var(--head-space) + 1.5vh) var(--gutter) max(16px, env(safe-area-inset-bottom)); background: radial-gradient(120% 60% at 100% 0%, rgba(16, 158, 219, .3), transparent 60%), var(--navy-deep); color: var(--white); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .3s; }
.menu-open .mm { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
.mm > .rhino-mark { right: -22%; top: 30%; width: 95%; max-width: 560px; color: var(--cyan); opacity: .06; }
.mm-stage { position: relative; min-height: 0; }
.mm-panel { position: absolute; inset: 0; display: flex; flex-direction: column; transition: transform .35s var(--ease), opacity .25s, visibility 0s; }
.mm-panel.sub { transform: translateX(104%); opacity: 0; visibility: hidden; }
.mm-stage.show-sub .mm-main { transform: translateX(-30%); opacity: 0; visibility: hidden; }
.mm-panel.sub.active { transform: none; opacity: 1; visibility: visible; }
.mm-main ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.mm-main li { border-bottom: 1px solid var(--line-dark); }
.mm-main li:first-child { border-top: 1px solid var(--line-dark); }
.mm-link { width: 100%; display: flex; align-items: center; gap: 14px; padding: clamp(6px, 1.7vh, 14px) 0; background: none; border: 0; text-align: left; text-decoration: none; color: var(--white); font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; font-size: clamp(1.7rem, 5.4vh, 2.8rem); line-height: 1; letter-spacing: .01em; }
.mm-link .n { font-family: var(--body); font-style: normal; font-weight: 600; font-size: .78rem; letter-spacing: .06em; color: var(--cyan); width: 22px; }
.mm-link .ico { margin-left: auto; width: 26px; height: 26px; color: var(--cyan); }
.mm-link:active { color: var(--cyan); }
.mm-sub-head { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(8px, 2vh, 18px); }
.mm-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 8px; border-radius: 10px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); color: var(--white); font-weight: 600; }
.mm-back .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.mm-sub-head h2 { margin: 0; font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; font-size: clamp(1.6rem, 4.4vh, 2.3rem); line-height: 1; }
.mm-items { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(6px, 1.2vh, 10px); }
.mm-items a { display: flex; align-items: center; gap: 14px; padding: clamp(8px, 1.5vh, 14px) 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); text-decoration: none; }
.mm-items .hex { --s: clamp(36px, 5.6vh, 46px); }
.mm-items strong { display: block; font-weight: 700; font-size: 1rem; line-height: 1.25; }
.mm-items small { display: block; color: var(--muted-dark); font-size: .84rem; line-height: 1.35; }
.mm-foot { display: grid; gap: clamp(8px, 1.4vh, 12px); padding-top: clamp(10px, 2vh, 18px); }
.mm-foot .btn { width: 100%; }
.mm-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted-dark); }
.mm-meta a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; }
.mm-meta .ico { width: 18px; height: 18px; color: var(--cyan); }
.mm-social { display: flex; gap: 8px; }
.mm-social a { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--white); }
.mm-social svg { width: 17px; height: 17px; fill: currentColor; }
@media (max-height: 640px) { .mm-items small { display: none; } }

/* Hero, shared by both options */
.hero { position: relative; background: var(--navy-deep); color: var(--white); isolation: isolate; --a: 0; }
.hero-stage { position: relative; overflow: hidden; }
.hero-bg { display: block; }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-title { margin: 0; font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; letter-spacing: -.01em; line-height: .86; }
.hero-title .l1, .hero-title .l2 { display: block; }
.hero-title .l2 { color: var(--cyan); }
.hero-title .l2 .w > span { transition-property: transform, filter, opacity, text-shadow; }
.hero-title.words-done .l2 .w > span, .no-split .hero-title .l2 { text-shadow: 0 0 44px rgba(0, 200, 242, .45); }
.hero-h2 { margin: 0; font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; letter-spacing: -.01em; line-height: .88; }
.hero-h2 .hl-cyan { color: var(--cyan); }
.hero .lede { margin-top: 20px; max-width: 34em; color: #dbe5ef; }
.hero .lede strong { color: var(--white); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px 18px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .9rem; color: #c7d4e2; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { width: 18px; height: 18px; color: var(--cyan); }
.hero-names { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); width: min(640px, 70vw); display: flex; justify-content: space-between; pointer-events: none; }
.hero-names span { font-size: .8rem; font-weight: 600; letter-spacing: .02em; padding: 7px 12px; border-radius: 99px; background: rgba(4, 19, 38, .72); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #c7d4e2; }
.scroll-cue i { position: relative; width: 24px; height: 38px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .55); }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Split words (hero title and every section H2): each word rises out of a mask with a soft blur */
.js [data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em .1em; margin: -.04em -.02em -.1em; }
.js [data-words] .w > span { display: inline-block; transform: translateY(108%) rotate(4deg); transform-origin: 0 100%; filter: blur(6px); opacity: 0; transition: transform 1s var(--ease-out), filter .9s var(--ease-out), opacity .6s; transition-delay: calc(var(--wi, 0) * 70ms + var(--wd, 0ms)); }
.js .words-in .w > span, .js [data-words].words-in .w > span { transform: none; filter: none; opacity: 1; }
.js [data-words].words-done .w { overflow: visible; }

/* Option A: pinned scroll story. The slogan first, then on scroll the photo dims and the offer builds in */
.hero-a .hero { height: 225vh; height: 225svh; }
.hero-a .hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; }
.hero-a .hero-bg { position: absolute; inset: 0; transform: scale(calc(1.1 - var(--a) * .1)); transform-origin: 50% 35%; will-change: transform; }
.hero-a .hero-bg img { object-position: 50% 26%; }
.hero-a .hero-shade { background: linear-gradient(0deg, rgba(4, 19, 38, .92) 0%, rgba(4, 19, 38, .35) 34%, rgba(4, 19, 38, 0) 55%), linear-gradient(180deg, rgba(4, 19, 38, .6) 0%, rgba(4, 19, 38, 0) 22%), radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(4, 19, 38, .55)); }
.hero-a .hero-shade::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 55%, rgba(4, 19, 38, .78), rgba(4, 19, 38, .94)); opacity: var(--m0, 0); }
.hero-a .hero-content { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding-top: var(--head-space); padding-bottom: 20px; }
.hero-a .hero-title { grid-area: 1 / 1; align-self: end; margin-bottom: clamp(70px, 11vh, 120px); font-size: clamp(3.4rem, 1rem + 7.4vw, 9rem); opacity: calc(1 - var(--a)); transform: translateY(calc(var(--a) * -14vh)) scale(calc(1 - var(--a) * .14)); filter: blur(calc(var(--a) * 10px)); will-change: transform, opacity; }
.hero-a .hero-main { grid-area: 1 / 1; align-self: end; margin-bottom: clamp(56px, 8vh, 90px); display: flex; flex-direction: column; align-items: center; max-width: 780px; pointer-events: none; }
.hero-a .hero.main-on .hero-main { pointer-events: auto; }
.hero-a .hero-main > * { opacity: var(--m, 0); transform: translateY(calc((1 - var(--m, 0)) * 46px)); filter: blur(calc((1 - var(--m, 0)) * 8px)); }
.hero-a .hero-main > :nth-child(1) { --m: var(--m1); } .hero-a .hero-main > :nth-child(2) { --m: var(--m2); }
.hero-a .hero-main > :nth-child(3) { --m: var(--m3); } .hero-a .hero-main > :nth-child(4) { --m: var(--m4); }
.hero-a .hero-h2 { font-size: clamp(3.2rem, 1rem + 6vw, 7.4rem); }
.hero-a .hero .lede { margin-left: auto; margin-right: auto; }
.hero-a .hero-ctas, .hero-a .hero-trust { justify-content: center; }
.hero-a .hero-names { bottom: 84px; opacity: calc(1 - var(--a) * 1.6); }
.hero-a .scroll-cue { display: flex; opacity: calc(1 - var(--a) * 4); }

/* Option B: centered Framer style. Copy on top, the team rises in underneath on a blueprint grid */
.hero-b .hero-stage { display: flex; flex-direction: column; padding-top: calc(var(--head-space) + clamp(28px, 6vh, 64px)); }
.hero-b .hero-shade { background: radial-gradient(55% 45% at 50% 78%, rgba(16, 158, 219, .38), transparent 70%), radial-gradient(40% 30% at 50% 0%, rgba(0, 200, 242, .12), transparent 70%); }
.hero-b .hero-shade::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 200, 242, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 200, 242, .09) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent 75%); }
.hero-b .hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-b .hero-title { font-size: clamp(3.2rem, 1rem + 6.2vw, 7.6rem); }
.hero-b .hero-h2 { display: none; }
.hero-b .hero-main { display: flex; flex-direction: column; align-items: center; }
.hero-b .hero .lede { margin-left: auto; margin-right: auto; }
.hero-b .hero-ctas, .hero-b .hero-trust { justify-content: center; }
.js.hero-b .hero-main > * { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), filter .9s var(--ease-out); }
.js.hero-b .hero.loaded .hero-main > * { opacity: 1; transform: none; filter: none; }
.js.hero-b .hero.loaded .hero-main > :nth-child(2) { transition-delay: .55s; } .js.hero-b .hero.loaded .hero-main > :nth-child(3) { transition-delay: .7s; } .js.hero-b .hero.loaded .hero-main > :nth-child(4) { transition-delay: .85s; }
.hero-b .hero-bg { position: relative; z-index: 1; order: 2; margin-top: clamp(-30px, -2vw, -10px); height: clamp(380px, 44vw, 660px); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%), linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0%, #000 24%), linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%); mask-composite: intersect; }
.hero-b .hero-bg img { object-position: 50% 14%; transform: translateY(var(--py, 0px)) scale(var(--ps, 1)); will-change: transform; }
.js.hero-b .hero-bg { opacity: 0; transform: translateY(80px) scale(.96); clip-path: inset(18% 12% 0 12% round 28px); transition: opacity .9s .5s, transform 1.4s .45s var(--ease-out), clip-path 1.4s .45s var(--ease-out); }
.js.hero-b .hero.loaded .hero-bg { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 0); }
.hero-b .hero-names span { opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .6s 1.3s, transform .8s 1.3s var(--ease-out); }
.hero-b .hero.loaded .hero-names span { opacity: 1; transform: none; }
.hero-b .hero.loaded .hero-names span + span { transition-delay: 1.42s; }

/* Core services: glass cards with 3D icons */
.svc-band { position: relative; z-index: 3; background: var(--navy-deep); padding: clamp(18px, 3vw, 34px) 0 clamp(30px, 4vw, 48px); }
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 230px; padding: 18px 20px 20px; border-radius: 18px; overflow: hidden; isolation: isolate; color: var(--white); text-decoration: none; background: linear-gradient(165deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02) 60%); border: 1px solid rgba(255, 255, 255, .1); transition: transform .5s var(--ease-out), border-color .3s, box-shadow .4s; }
.svc-card::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 18px; width: 170px; height: 120px; margin-left: -85px; background: radial-gradient(closest-side, rgba(0, 200, 242, .28), transparent); filter: blur(6px); transition: opacity .4s, transform .5s var(--ease-out); opacity: .7; }
.svc-card img { width: 128px; height: 128px; margin: 0 auto 14px; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .5)); transition: transform .6s var(--ease-out); }
.svc-card:hover { --ty: -6px; border-color: rgba(0, 200, 242, .5); box-shadow: 0 24px 50px -24px rgba(0, 200, 242, .5); }
.svc-card:hover img { transform: translateY(-8px) rotate(-5deg) scale(1.06); }
.svc-card:hover::before { opacity: 1; transform: scale(1.2); }
.svc-t { font-weight: 700; font-size: 1.04rem; line-height: 1.3; padding-right: 44px; }
.svc-go { position: absolute; right: 16px; bottom: 18px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0, 200, 242, .5); display: grid; place-items: center; color: var(--cyan); transition: background .3s, color .3s, transform .4s var(--ease-out); }
.svc-go .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.svc-card:hover .svc-go { background: var(--cyan); color: var(--navy); transform: translateX(3px); }

/* Ticker band (their own slogans) */
.ticker-wrap { position: relative; z-index: 2; padding: 14px 0; overflow: hidden; }
.ticker { overflow: hidden; background: var(--cyan); color: var(--navy); transform: rotate(-1.3deg); margin: 0 -2vw; box-shadow: 0 10px 30px -14px rgba(0, 200, 242, .8); }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker ul { display: flex; align-items: center; margin: 0; padding: 13px 0; list-style: none; }
.ticker li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); line-height: 1; white-space: nowrap; letter-spacing: .02em; }
.ticker li .star { width: 18px; height: 18px; }
.ticker .tk-rhino { position: relative; display: inline-block; width: 50px; height: 32px; }
.ticker .tk-rhino .rhino-mark { inset: 0; width: 100%; color: var(--navy); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sections */
.sec { position: relative; padding: clamp(64px, 8vw, 110px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head p { max-width: 36em; }
.paper { background: var(--paper); }

/* Solutions */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); color: var(--white); text-decoration: none; isolation: isolate; box-shadow: 0 18px 40px -26px rgba(6, 26, 51, .6); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .3s var(--ease), filter .3s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 19, 38, 0) 30%, rgba(4, 19, 38, .62) 56%, rgba(4, 19, 38, .97) 100%); }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover img { transform: scale(1.03); filter: brightness(1.08); }
.card:hover::after { transform: scaleX(1); }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 20px 22px; }
.card-kicker { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.card-title { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; font-size: 1.85rem; line-height: 1; }
.card-title .arr { margin-left: auto; width: 24px; height: 24px; color: var(--white); stroke-width: 2; transition: transform .25s var(--ease); }
.card:hover .card-title .arr { transform: translateX(4px); }
.card-body p { margin: 10px 0 0; font-size: .9rem; line-height: 1.5; color: #d5e0ec; }
.card .hex { position: absolute; top: 14px; right: 14px; --s: 42px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: rgba(4, 19, 38, .72); border: 1px solid rgba(255, 255, 255, .18); color: var(--white); }
.card .tag { position: absolute; top: 16px; left: 14px; }
.tag .ico { width: 14px; height: 14px; color: var(--cyan); stroke-width: 2; }
.scroll-btns { display: none; gap: 10px; }
.scroll-btns button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); display: grid; place-items: center; }
.scroll-btns .ico { width: 20px; height: 20px; stroke-width: 2; }
.helper { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 26px; color: var(--ink-2); }
.helper strong { color: var(--navy); }

/* Optimization */
.opt { overflow: hidden; }
.opt-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.opt-visual { position: relative; margin-left: calc(var(--gutter) * -1); }
.opt-visual img { width: 100%; mix-blend-mode: multiply; animation: float 7s ease-in-out infinite; }
.opt-visual .note { position: absolute; display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px 6px 8px; box-shadow: 0 10px 24px -14px rgba(6, 26, 51, .45); white-space: nowrap; }
.opt-visual .note i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 200, 242, .18); }
.opt-visual .n1 { left: 18%; top: 4%; } .opt-visual .n2 { right: 6%; top: 30%; } .opt-visual .n3 { left: 30%; bottom: 4%; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.opt-copy .lede { margin-top: 22px; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 700; color: var(--navy); font-size: .98rem; }
.steps li + li::before { content: ""; position: absolute; left: -10%; top: 24px; width: 9px; height: 9px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); opacity: .7; }
.steps .hex { --s: 50px; }
.steps small { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-2); line-height: 1.4; max-width: 13em; }
.study-callout { position: relative; overflow: hidden; margin-top: 30px; padding: 22px 24px 24px; border-radius: var(--radius); background: var(--navy); color: var(--white); display: grid; gap: 16px; isolation: isolate; }
.study-callout .rhino-mark { right: -24px; bottom: -10px; width: 200px; color: var(--cyan); opacity: .1; z-index: -1; }
.study-callout p { margin: 0; color: #d0dbe7; font-size: .98rem; }
.study-callout p strong { color: var(--white); display: block; font-size: 1.05rem; margin-bottom: 4px; }
.study-callout .btn { justify-self: start; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .3s, transform .3s var(--ease); }
.project:hover { box-shadow: 0 26px 50px -30px rgba(6, 26, 51, .55); transform: translateY(-3px); }
.project-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); flex: none; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.project:hover .project-img img { transform: scale(1.03); }
.project-img .tag { position: absolute; left: 12px; bottom: 12px; }
.project-body { padding: 22px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.project-type { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.project h3 { font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin: 8px 0 10px; color: var(--navy); }
.project p { margin: 0; font-size: .95rem; color: var(--ink-2); flex: 1; }
.project .facts { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: .84rem; color: var(--ink-2); line-height: 1.35; }
.project .facts b { display: block; font-family: var(--display); font-style: normal; font-weight: 800; font-size: 1.55rem; line-height: 1; color: var(--navy); margin-bottom: 4px; white-space: nowrap; }
.project .link-arrow { margin-top: 8px; }
.project-cta { background: var(--navy); color: var(--white); border-color: var(--navy); position: relative; overflow: hidden; isolation: isolate; }
.project-cta .rhino-mark { right: -40px; top: 26px; width: 330px; color: var(--cyan); opacity: .1; z-index: -1; }
.project-cta .project-body { justify-content: flex-end; }
.project-cta h3 { color: var(--white); font-size: 2.7rem; }
.project-cta p { color: var(--muted-dark); flex: 0; }
.project-cta .btn { margin-top: 24px; align-self: flex-start; }

/* About */
.about { overflow: hidden; isolation: isolate; }
.about .bg-rhino { right: -8%; top: 4%; width: min(760px, 70vw); color: var(--cyan); opacity: .045; z-index: -1; }
.about-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .8); margin: 0; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; }
.about-copy .lede { margin-top: 22px; }
.about-copy .lede + .lede { margin-top: 14px; }
.what { list-style: none; margin: 30px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.what li { display: flex; align-items: center; gap: 14px; font-weight: 600; line-height: 1.3; }
.what .hex { --s: 52px; }
.what small { display: block; font-weight: 400; color: var(--muted-dark); font-size: .86rem; margin-top: 2px; }
.where { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.where .lbl { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin-right: 4px; }
.where a, .where em { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); font-size: .88rem; font-style: normal; text-decoration: none; }
.where a:hover { border-color: var(--cyan); }
.where .ico { width: 15px; height: 15px; color: var(--cyan); }
.about-ctas { display: flex; flex-wrap: wrap; gap: 16px 18px; margin-top: 32px; }

/* Trust */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proof-item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); text-decoration: none; color: inherit; }
.proof-item .pi-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); position: relative; }
.proof-item .pi-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.proof-item:hover .pi-img img { transform: scale(1.03); }
.proof-item .pi-body { padding: 20px 22px 22px; }
.proof-item .project-type { display: block; margin-bottom: 6px; }
.proof-item h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--navy); line-height: 1.3; }
.proof-item p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.play { position: absolute; inset: 0; display: grid; place-items: center; }
.play span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: var(--navy); box-shadow: 0 0 0 10px rgba(0, 200, 242, .25); transition: transform .25s var(--ease); }
.proof-item:hover .play span { transform: scale(1.06); }
.play .ico { width: 26px; height: 26px; fill: currentColor; stroke: none; margin-left: 3px; }
.stat-card { position: relative; isolation: isolate; background: var(--navy); color: var(--white); border-color: var(--navy); padding: 30px 28px; justify-content: space-between; }
.stat-card .rhino-mark { right: -50px; top: 20px; width: 300px; color: var(--cyan); opacity: .08; z-index: -1; }
.stat-card .big { font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; font-size: clamp(3.4rem, 2.4rem + 2.6vw, 4.8rem); line-height: .85; color: var(--cyan); white-space: nowrap; }
.stat-card h3 { color: var(--white); font-size: 1.25rem; margin: 12px 0 6px; }
.stat-card p { color: var(--muted-dark); margin: 0; }
.stat-card ul { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 12px; font-size: .95rem; }
.stat-card li { display: flex; align-items: center; gap: 12px; }
.stat-card li .hex { --s: 34px; }

/* FAQ */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--head-space) + 24px); }
.faq-side .lede { margin-top: 18px; }
.faq-side .link-arrow { margin-top: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; color: var(--navy); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { flex: none; width: 34px; height: 38px; clip-path: var(--hex); background: var(--line); position: relative; transition: background .2s; }
.faq-list summary .pm::before, .faq-list summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); transition: transform .25s var(--ease); }
.faq-list summary .pm::after { transform: rotate(90deg); }
.faq-list details[open] .pm { background: var(--cyan); }
.faq-list details[open] .pm::after { transform: rotate(0); }
.faq-list summary:hover { color: var(--blue); }
.faq-a { padding: 0 54px 24px 0; color: var(--ink-2); }
.faq-a p { margin: 0; }
.faq-a p + p { margin-top: 10px; }

/* Final CTA + study form */
.final { position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 0% 0%, rgba(16, 158, 219, .24), transparent 60%), radial-gradient(50% 70% at 100% 100%, rgba(0, 200, 242, .12), transparent 60%); }
.final .bg-rhino { left: -10%; bottom: -2%; width: min(720px, 72vw); color: var(--cyan); opacity: .05; z-index: -1; }
.final-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.final .h2 { font-size: clamp(2.9rem, 1.6rem + 4.2vw, 5rem); }
.final .lede { margin-top: 20px; max-width: 30em; }
.process { list-style: none; margin: 32px 0 0; padding: 0; display: grid; }
.process li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding-bottom: 22px; }
.process li:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 60px; bottom: 6px; width: 2px; background: linear-gradient(var(--cyan), rgba(0, 200, 242, .08)); }
.process .hex { --s: 52px; font-family: var(--display); font-style: normal; font-weight: 800; font-size: 1.35rem; }
.process .hex span { position: relative; color: var(--cyan); }
.process b { display: block; font-size: 1.06rem; color: var(--white); margin-top: 6px; }
.process p { margin: 4px 0 0; color: #c7d4e2; font-size: .95rem; }
.final-contact { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 6px 28px; }
.final-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 600; min-height: 44px; }
.final-contact a:hover { color: var(--cyan); }
.final-contact .ico { width: 20px; height: 20px; color: var(--cyan); }

.form { position: relative; background: var(--white); color: var(--ink); border-radius: 16px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.form-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.form h3 { margin: 0; font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; font-size: 2rem; line-height: 1; color: var(--navy); }
.form .form-sub { margin: 8px 0 0; font-size: .92rem; color: var(--ink-2); }
.form-free { flex: none; font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; font-size: .95rem; padding: 6px 12px 5px; background: var(--cyan-soft); color: #0b7fb3; border-radius: 6px; }
.progress { display: flex; gap: 6px; margin: 20px 0 16px; }
.progress span { flex: 1; height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; position: relative; }
.progress span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cyan), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.progress span.on::after { transform: scaleX(1); }
.step-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; display: flex; justify-content: space-between; gap: 10px; }
.step-label em { font-style: normal; color: var(--ink-2); font-weight: 600; letter-spacing: .02em; text-transform: none; }
.fstep[hidden] { display: none; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.choices legend { font-size: .84rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; padding: 0; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice > span { display: flex; align-items: center; gap: 12px; min-height: 60px; height: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); font-weight: 600; font-size: .92rem; color: var(--navy); line-height: 1.25; transition: border-color .2s, background .2s, box-shadow .2s; }
.choice .hex { --s: 34px; }
.choice input:hover + span { border-color: #b9cfe2; }
.choice input:checked + span { border-color: var(--blue); background: #eef9ff; box-shadow: 0 0 0 3px rgba(16, 158, 219, .15); }
.choice input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.choices.invalid .choice > span { border-color: #e6a6a6; }
.choices .err { grid-column: 1 / -1; display: none; font-size: .8rem; color: #b42318; }
.choices.invalid .err { display: block; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--navy); font-size: 16px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 88px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(16, 158, 219, .15); }
.field.invalid input, .field.invalid textarea { border-color: #d64545; background: #fff7f7; }
.field .err { display: none; font-size: .8rem; color: #b42318; }
.field.invalid .err { display: block; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; color: var(--ink-2); line-height: 1.5; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.consent.invalid { color: #b42318; }
.consent a { color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.form-actions .btn { flex: 1; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); color: var(--navy); font-weight: 600; }
.back-btn .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.form-note { margin: 16px 0 0; font-size: .82rem; color: var(--ink-2); text-align: center; display: flex; justify-content: center; align-items: center; gap: 6px 14px; flex-wrap: wrap; }
.form-note span { display: inline-flex; align-items: center; gap: 6px; }
.form-note .ico { width: 16px; height: 16px; color: var(--blue); }
.form-note a { color: var(--blue); }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: .92rem; }
.form-msg.show { display: block; }
.form-msg.error { background: #fff4f2; color: #8a1c0b; border: 1px solid #f6c9c0; }
.form-msg a { color: inherit; font-weight: 600; }
.form-done { display: none; text-align: center; padding: 26px 6px; }
.form-done .hex { --s: 70px; margin: 0 auto 18px; }
.form-done p { color: var(--ink-2); margin: 10px 0 0; }
.form.sent .form-done { display: block; }
.form.sent .form-live { display: none; }

/* Footer */
.foot { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--muted-dark); padding: clamp(56px, 7vw, 84px) 0 28px; font-size: .94rem; isolation: isolate; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-brand img { width: 110px; height: auto; filter: drop-shadow(0 0 18px rgba(0, 200, 242, .3)); }
.foot-brand p { margin: 18px 0 0; max-width: 26em; line-height: 1.6; }
.foot h2 { margin: 0 0 14px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; }
.foot a:hover { color: var(--cyan); }
.foot .ico { width: 18px; height: 18px; color: var(--cyan); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); justify-content: center; color: var(--white); }
.socials a:hover { border-color: var(--cyan); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.foot-word { margin: 54px 0 0; font-family: var(--display); font-weight: 800; font-style: normal; text-transform: uppercase; font-size: clamp(3.4rem, 14vw, 14rem); line-height: .8; letter-spacing: -.005em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(0, 200, 242, .35); display: flex; align-items: center; justify-content: center; gap: .1em; user-select: none; }
.foot-word .rhino-mark { position: relative; width: .78em; color: var(--cyan); opacity: .55; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .84rem; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* Video modal */
.modal { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 20px; background: rgba(2, 10, 20, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal.open { display: grid; animation: fade .2s ease; }
.modal-box { width: min(1000px, 100%); }
.modal-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--white); margin-bottom: 12px; font-weight: 600; }
.modal-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: var(--white); display: grid; place-items: center; }
.modal-close .ico { width: 20px; height: 20px; stroke-width: 2; }
@keyframes fade { from { opacity: 0; } }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 80%, 100% { transform: scale(1.35); opacity: 0; } }

/* Scroll animations (Framer style). Everything settles to its final state for reduced motion */
.js .rv { opacity: 0; transform: translateY(34px); filter: blur(8px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), filter .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
/* image reveal: wipes up from the bottom while the photo rises into place */
.js .rv-img { clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.2s var(--ease-out); }
.js .rv-img > img { transform: translateY(16%); transition: transform 1.4s var(--ease-out); }
.js .rv-img.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .rv-img.in > img { transform: none; }
.js .card.rv.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .9s var(--ease-out), transform .5s var(--ease-out), filter .9s var(--ease-out); }
.js .svc-card { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); }
.js [data-stagger] > * { opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--si, 0) * 90ms); }
.js [data-stagger].in > * { opacity: 1; transform: none; }
.js .opt-visual .note { opacity: 0; transform: translateY(10px) scale(.8); transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); }
.js .opt-visual.in .note { opacity: 1; transform: none; }
.js .opt-visual.in .n1 { transition-delay: .7s; } .js .opt-visual.in .n2 { transition-delay: .9s; } .js .opt-visual.in .n3 { transition-delay: 1.1s; }
.js .process li::before { transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease-out) .3s; }
.js .process.in li::before { transform: none; }
.js .process.in li:nth-child(2)::before { transition-delay: .7s; }
.js .project .project-img img { transform: scale(1.14); transition: transform 1.6s var(--ease-out); }
.js .project.in .project-img img { transform: scale(1); }
.js .project.in:hover .project-img img { transform: scale(1.04); transition-duration: .5s; }

/* Mobile menu items glide in */
.mm-main li, .mm-foot > * { opacity: 0; transform: translateY(22px); transition: opacity .3s, transform .4s var(--ease-in); }
.menu-open .mm-main li, .menu-open .mm-foot > * { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.menu-open .mm-main li:nth-child(1) { transition-delay: .08s; } .menu-open .mm-main li:nth-child(2) { transition-delay: .13s; } .menu-open .mm-main li:nth-child(3) { transition-delay: .18s; }
.menu-open .mm-main li:nth-child(4) { transition-delay: .23s; } .menu-open .mm-main li:nth-child(5) { transition-delay: .28s; } .menu-open .mm-foot > * { transition-delay: .34s; }
.mm-items li { opacity: 0; transform: translateX(24px); transition: opacity .2s, transform .3s; }
.mm-panel.sub.active .mm-items li { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.mm-panel.sub.active .mm-items li:nth-child(2) { transition-delay: .05s; } .mm-panel.sub.active .mm-items li:nth-child(3) { transition-delay: .1s; }
.mm-panel.sub.active .mm-items li:nth-child(4) { transition-delay: .15s; } .mm-panel.sub.active .mm-items li:nth-child(5) { transition-delay: .2s; }

/* Hero option switcher, only shown with ?hero=a or ?hero=b in the URL (for comparing) */
.hero-switch { display: none; }
.hero-compare .hero-switch { position: fixed; z-index: 250; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(4, 19, 38, .92); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7); font-size: .82rem; font-weight: 600; color: #c7d4e2; align-items: center; }
.hero-switch span { padding: 0 8px 0 10px; }
.hero-switch a { padding: 8px 14px; border-radius: 99px; text-decoration: none; color: var(--white); white-space: nowrap; }
.hero-a .hero-switch a[href$="=a"], .hero-b .hero-switch a[href$="=b"] { background: var(--cyan); color: var(--navy); }

/* Responsive */
@media (max-width: 1280px) {
  .head-phone span { display: none; }
  .head-cta { gap: 8px; }
  .nav-link { padding: 0 10px; }
}
@media (max-width: 1100px) {
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .svc { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  :root { --island: 62px; --island-top: 10px; }
  .head-call { display: inline-flex; }
  .head-in .menu-btn { margin-left: 8px; }
  .call-bar { position: fixed; z-index: 140; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 18px; border-radius: 14px; background: linear-gradient(180deg, var(--cyan-hi), var(--cyan) 45%, var(--blue)); color: var(--navy); text-decoration: none; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .02em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 4px 0 #087bab, 0 18px 34px -12px rgba(0, 0, 0, .65); transform: translateY(calc(100% + 30px)); transition: transform .55s var(--ease-out); }
  .call-bar .cb-ico { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--cyan); }
  .call-bar .cb-ico::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(6, 26, 51, .5); animation: ring 2.2s var(--ease-out) infinite; }
  .call-bar .ico { width: 18px; height: 18px; stroke-width: 2.2; }
  .call-bar small { font-family: var(--body); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .86rem; opacity: .8; }
  .show-callbar .call-bar { transform: none; }
  .menu-open .call-bar, .modal-on .call-bar { transform: translateY(calc(100% + 30px)); }
  .foot { padding-bottom: 96px; }
  .head-in { display: flex; justify-content: space-between; }
  .nav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .brand img { width: 36px; height: 50px; }
  .brand-word b { font-size: 1.45rem; } .brand-word span { font-size: .86rem; }
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 min(300px, 74vw); scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .scroll-btns { display: flex; }
  .opt-in, .about-in, .faq-in, .final-in { grid-template-columns: minmax(0, 1fr); }
  .opt-visual { margin: 0 calc(var(--gutter) * -1); }
  .faq-side { position: static; }
  .projects, .proof { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .project-cta, .stat-card { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .hero-a .hero-bg img { object-position: 50% 0%; }
  .hero-a .hero-title { margin-bottom: 18vh; font-size: clamp(3rem, 15.5vw, 4.6rem); text-shadow: 0 4px 30px rgba(4, 19, 38, .7); }
  .hero-a .hero-h2 { font-size: clamp(2.8rem, 13.5vw, 4.4rem); }
  .hero-a .hero-names { bottom: 92px; }
  .hero-a .hero .lede { font-size: 1rem; }
  /* phones: the offer sits at the bottom of the pinned screen (dimmed team above it), so no empty band before the services */
  .hero-a .hero-main { align-self: end; margin-bottom: 26px; }
  .hero-a .hero-shade::after { background: linear-gradient(180deg, rgba(4, 19, 38, .45) 0%, rgba(4, 19, 38, .82) 38%, rgba(4, 19, 38, .97) 62%); }
  .hero-a .hero-content { padding-bottom: 0; }
  .hero-b .hero-title { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-b .hero-bg { height: 118vw; margin-top: 4px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%); }
  .hero-b .hero-bg img { object-position: 50% 10%; }
  .hero-names { width: calc(100% - 32px); }
  .hero-names span { font-size: .74rem; padding: 6px 10px; }
}
@media (max-width: 400px) {
  .head-call span { display: none; }
  .head-call { padding: 0; width: 44px; justify-content: center; }
}
@media (max-width: 639px) {
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { font-size: .84rem; gap: 6px 16px; }
  .svc { gap: 10px; }
  .svc-card { min-height: 190px; padding: 14px 14px 16px; border-radius: 16px; }
  .svc-card img { width: 92px; height: 92px; margin-bottom: 10px; }
  .svc-t { font-size: .9rem; padding-right: 0; }
  .svc-t br { display: none; }
  .svc-go { width: 30px; height: 30px; right: 12px; top: 12px; bottom: auto; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr 1fr; gap: 26px 10px; }
  .steps li:nth-child(3)::before { display: none; }
  .opt-visual .note { font-size: .7rem; padding: 4px 9px 4px 7px; }
  .study-callout .btn { width: 100%; }
  .projects, .proof { grid-template-columns: minmax(0, 1fr); }
  .what { grid-template-columns: minmax(0, 1fr); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .choices { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .choice > span { min-height: 56px; font-size: .86rem; gap: 10px; padding: 8px 10px; }
  .choice .hex { --s: 30px; }
  .faq-a { padding-right: 0; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; }
  .btn { white-space: normal; text-align: center; min-height: 56px; }
  .about-ctas .btn, .project-cta .btn { width: 100%; }
  .final-contact a { word-break: break-all; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .rv-img, .js .rv-img > img, .js [data-stagger] > *, .js .opt-visual .note, .js .project .project-img img, .mm-main li, .mm-foot > *, .mm-items li { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .js [data-words] .w > span { opacity: 1; transform: none; filter: none; }
  .hero-a .hero { height: auto; }
  .hero-a .hero-stage { position: relative; height: auto; min-height: 100svh; }
  .hero-a .hero-bg { transform: none; }
  .hero-a .hero-shade::after { opacity: .8; }
  .hero-a .hero-content { position: relative; inset: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-bottom: 60px; }
  .hero-a .hero-title { margin: 0; opacity: 1; transform: none; filter: none; }
  .hero-a .hero-main { pointer-events: auto; }
  .hero-a .hero-main > * { opacity: 1; transform: none; filter: none; }
  .hero-a .hero-h2 { display: none; }
  .hero-a .scroll-cue, .hero-a .hero-names { display: none; }
  .js.hero-b .hero-main > *, .js.hero-b .hero-bg, .hero-b .hero-names span { opacity: 1; transform: none; filter: none; clip-path: none; }
}
