/* Airberg motion layer (16 Nov 2026, Rhyne: "more animation, more personal, a hero that stands out").
   Copied to dist/assets/airberg.css by tools/post-build.mjs. Motion from the 21st picks library
   (~/Developer/component-library/21st/vanilla): 19 cut reveal, 03 layer parallax (new), 05 grows on scroll,
   20 number flow, 15 focus cards, 18 text gradient scroll, 16 stacking cards, 22 motion footer, Lenis.
   The personal part: Airberg = "air mountain". The hero is their logo's mountain (orange-lit face, blue face,
   snowcap) with the logo's snowflakes drifting down like cool air. */
:root { --aw-orange-ink: #B8460F; --aw-navy: #0E3F82; --aw-deep: #092C5C; --aw-orange: #F0641E; --aw-orange-hi: #FF9A5C; --aw-sky: #3FA0DC; }
.aw-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------- hero */
.aw-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: clamp(600px, calc(100svh - 111px), 880px); display: flex; align-items: flex-start;
  background: radial-gradient(120% 80% at 78% 18%, #1B5CA8 0%, transparent 55%), linear-gradient(180deg, var(--aw-deep) 0%, var(--aw-navy) 72%); }
.aw-snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.aw-ridges { position: absolute; inset: auto 0 -2px 0; height: clamp(230px, 34vw, 470px); z-index: 0; pointer-events: none; }
.aw-ridges svg { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.aw-ridges .aw-front { z-index: 3; }
.aw-hero__in { position: relative; z-index: 2; width: 100%; padding-top: clamp(2.5rem, 7vh, 5rem); padding-bottom: clamp(140px, 11vw, 170px); }
@media (max-width: 700px) { .aw-hero__in { padding-bottom: 210px; } .aw-ridges { height: 240px; } .aw-ridges svg { left: auto; right: 0; width: 195%; max-width: none; } }
.aw-hero__copy { max-width: 46rem; }
.aw-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem .45rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: .9rem; text-decoration: none; backdrop-filter: blur(6px); }
.aw-pill .stars { color: #FFC24A; }
.aw-pill strong { font-weight: 700; }
.aw-eyebrow { margin-top: 1.6rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aw-orange-hi); }
.aw-title { margin-top: .7rem; font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 1.6rem + 5.4vw, 6.4rem); line-height: .98; letter-spacing: -0.04em; color: #fff; }
.aw-title em { font-style: normal; color: var(--aw-orange-hi); }
.aw-sub { margin-top: 1.4rem; max-width: 36rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.aw-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.aw-btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 54px; padding: 0 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1.02rem; text-decoration: none; transition: transform .35s var(--ease-out), background-color .25s, box-shadow .3s; }
.aw-btn .i { width: 1.05em; height: 1.05em; }
.aw-btn--go { background: var(--aw-orange); color: #1F2328; box-shadow: 0 14px 30px -14px rgba(240, 100, 30, .8); }
.aw-btn--go:hover { background: #FF7633; }
.aw-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.aw-btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.aw-chips { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; padding: 0; list-style: none; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.aw-chips li { display: inline-flex; align-items: center; gap: .5rem; }
.aw-chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--aw-sky); box-shadow: 0 0 0 4px rgba(63, 160, 220, .2); }
.aw-chips li:nth-child(2)::before { background: var(--aw-orange); box-shadow: 0 0 0 4px rgba(240, 100, 30, .22); }

/* 21st pick 19, Vertical Cut Reveal: letters slice up into place (pure CSS, so no JS can leave them hidden) */
.cut-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.cut-c { display: inline-block; }
.js .aw-title .cut-c { animation: awCut .95s var(--ease-out) both; animation-delay: calc(.15s + var(--c, 0) * 26ms); }
@keyframes awCut { from { transform: translateY(105%) rotate(4deg); } to { transform: none; } }
.js .aw-rise { animation: awRise 1s var(--ease-out) both; animation-delay: var(--d, .5s); }
@keyframes awRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .aw-ridges svg { animation: awRidge 1.6s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes awRidge { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }

/* ---------------------------------------------------------------- stats band (21st pick 20, Number Flow) */
.aw-stats { background: var(--paper); }
.aw-stats__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2.5rem, 5vw, 4rem); }
.aw-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .45rem; margin: 0; padding: 1.2rem 1.25rem; border-radius: 16px; background: var(--surface); box-shadow: 0 1px 0 var(--rule), 0 18px 34px -30px rgba(14, 63, 130, .5); }
.aw-stat__n { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); line-height: 1; letter-spacing: -0.03em; color: var(--aw-navy); display: flex; align-items: baseline; gap: .3rem; }
.aw-stat__n small { font-size: .45em; font-weight: 700; letter-spacing: 0; color: var(--aw-orange-ink); }
.aw-stat__l { font-size: .9rem; color: var(--muted); }
.nf { display: inline-flex; }
.nf-d { display: inline-block; height: 1em; overflow: hidden; }
.nf-col { display: flex; flex-direction: column; transition: transform 1.4s cubic-bezier(.34, 1.4, .5, 1); }
.nf-col span { height: 1em; line-height: 1; display: block; }
@media (max-width: 860px) { .aw-stats__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- 21st pick 05: the photo grows to fill the screen */
.aw-grow { position: relative; height: 190vh; background: var(--paper); }
.aw-grow__stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.aw-grow__card { --p: 0; position: relative; margin: 0; width: calc(100% - (1 - var(--p)) * clamp(32px, 30vw, 520px)); height: calc(100% - (1 - var(--p)) * clamp(220px, 34vh, 380px)); border-radius: calc((1 - var(--p)) * 28px); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(9, 44, 92, .55); }
.aw-grow__card img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--p) * .18)); }
.aw-grow__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 44, 92, 0) 30%, rgba(9, 44, 92, .82) 100%); opacity: calc(.35 + var(--cp, 1) * .65); }
.aw-grow__line { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 8vh, 5rem); z-index: 1; padding-inline: var(--gutter, 20px); text-align: center; color: #fff; clip-path: inset(calc((1 - var(--cp, 1)) * 100%) -10% -10% -10%); transform: translateY(calc((1 - var(--cp, 1)) * 40px)); text-shadow: 0 2px 18px rgba(9, 44, 92, .55); }
.aw-grow__line p { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 1rem + 4.4vw, 5.2rem); line-height: 1; letter-spacing: -0.035em; }
.aw-grow__line p span { display: inline-block; }
.aw-grow__line p span:nth-child(2) { color: var(--aw-sky); } .aw-grow__line p span:nth-child(3) { color: var(--aw-orange-hi); }
.aw-grow__line small { display: block; margin-top: .9rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.aw-grow.is-static { height: auto; } .aw-grow.is-static .aw-grow__stick { position: relative; height: 80svh; }
@media (max-width: 700px) { .aw-grow { height: 160vh; } .aw-grow__card img { object-position: 22% 40%; } }

/* ---------------------------------------------------------------- 21st pick 18: the vision lights up word by word */
.aw-statement { padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(2rem, 4vw, 3rem); background: var(--paper); }
.aw-statement__l { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aw-orange-ink); margin-bottom: 1.2rem; }
.aw-statement__t { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 1rem + 3.4vw, 4.2rem); line-height: 1.06; letter-spacing: -0.035em; max-width: 24ch; color: var(--aw-navy); }
.gw { color: color-mix(in srgb, var(--aw-navy) calc(var(--o, 1) * 100%), #6F88AE); transition: color .25s linear; }
.js .aw-statement .gw { --o: 0; }
.js .aw-grow:not(.is-line):not(.is-static) .aw-grow__line { visibility: hidden; }

/* ---------------------------------------------------------------- 21st pick 15: focus cards on the services */
@media (hover: hover) and (pointer: fine) {
  .hpjobs__grid li { transition: opacity .45s var(--ease-out), filter .45s var(--ease-out), transform .45s var(--ease-out); }
  .hpjobs__grid:hover li:not(:hover) { opacity: .45; filter: blur(2px) saturate(.6); transform: scale(.975); }
}
.hpjobs__grid a { position: relative; overflow: hidden; border-color: color-mix(in srgb, var(--aw-navy) 30%, transparent); }
.hpjobs__grid a::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(63, 160, 220, .2), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.hpjobs__grid a:hover::before { opacity: 1; }
.hpjobs__grid a:hover { background: var(--surface); border-color: var(--aw-navy); }
.hpjobs__ico { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 14px; background: color-mix(in srgb, var(--aw-sky) 14%, transparent); color: var(--aw-navy); transition: background .3s, color .3s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.hpjobs__ico .i { width: 28px; height: 28px; }
.hpjobs__grid a:hover .hpjobs__ico { background: var(--aw-navy); color: #fff; transform: rotate(-8deg) scale(1.06); }
.hpjobs__grid a > .i { transition: transform .35s var(--ease-out); } .hpjobs__grid a:hover > .i { transform: translateX(4px); color: var(--aw-orange); }

/* ---------------------------------------------------------------- 21st pick 16: install steps stack like cards (wide screens) */
@media (min-width: 901px) {
  .hpsteps__list { gap: 2.5rem; }
  .hpstep { position: sticky; top: calc(var(--hdr-h) + 28px + var(--k, 0) * 22px); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 26px; background: var(--surface); box-shadow: 0 1px 0 var(--rule), 0 30px 60px -40px rgba(9, 44, 92, .45); transform-origin: 50% 0; transform: scale(var(--sc, 1)); filter: brightness(var(--br, 1)); }
  .hpstep--1 { --k: 0; } .hpstep--2 { --k: 1; } .hpstep--3 { --k: 2; }
  .hpstep__frame img { aspect-ratio: 16 / 10; }
}
.hpstep__no { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--aw-orange-ink); letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }
.hpstep__no::before { content: ""; width: 22px; height: 2px; background: currentColor; }

/* ---------------------------------------------------------------- 21st pick 22: footer drifts up into place */
.ftr { overflow: hidden; } .ftr__top { transform: translateY(var(--fy, 0px)); }

@media (prefers-reduced-motion: reduce) {
  .js .aw-title .cut-c, .js .aw-rise, .js .aw-ridges svg { animation: none; }
  .js .aw-statement .gw { --o: 1; }
  .hpstep { transform: none !important; filter: none !important; }
}
/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
