/* ------------------------------------------------------------------
   Agentic Solar. One stylesheet, one page.

   Identity from the wordmark: white serif on black, wide letterspacing.
   One accent (amber) spent on the button, the score tags and the
   cursor. Photography and the drone footage carry the atmosphere; type
   carries the argument. Motion is scroll driven wherever it matters
   (hero, stack, close) and falls back to a still page without JS.
   ------------------------------------------------------------------ */

:root {
    --bg: #000;
    --ink: #fff;
    --muted: rgba(255, 255, 255, 0.64);
    --faint: rgba(255, 255, 255, 0.4);
    --ghost: rgba(255, 255, 255, 0.16);
    --line: rgba(255, 255, 255, 0.13);
    --panel: #0a0a0a;
    --accent: #f5b400;
    --accent-ink: #000;

    --serif: "Instrument Serif", "Times New Roman", Times, serif;
    --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

    --gutter: clamp(20px, 5vw, 80px);
    --measure: 1280px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

    --card-w: clamp(240px, 24vw, 360px);
    --radius: 22px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    color: var(--ink);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

[hidden] {
    display: none !important;
}

a {
    color: inherit;
}

::selection {
    background: var(--accent);
    color: var(--accent-ink);
}

/* ---------------- type ---------------- */

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.014em;
    margin: 0;
    text-wrap: balance;
}

.as-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--faint);
    margin: 0 0 24px;
}

.as-eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--accent);
}

.as-lede {
    font-size: clamp(17px, 1.45vw, 21px);
    color: var(--muted);
    max-width: 38em;
    margin: 0;
}

/* split text: each word rides up out of a clipped line */
.as-split .as-w {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
}

.as-split .as-w > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.1s var(--ease);
    transition-delay: calc(0.045s * var(--i, 0));
}

.as-split.is-in .as-w > span {
    transform: translateY(0);
}

/* ---------------- layout ---------------- */

.as-wrap {
    width: 100%;
    max-width: var(--measure);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.as-section {
    position: relative;
    padding: clamp(96px, 12vw, 180px) 0;
}

.as-section__head {
    max-width: 800px;
    margin-bottom: clamp(44px, 5vw, 80px);
}

.as-section__head h2 {
    font-size: clamp(38px, 5.4vw, 74px);
    line-height: 1;
    margin-bottom: 22px;
}

.as-rule {
    height: 1px;
    background: var(--line);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.4s var(--ease);
}

.as-rule.is-in {
    transform: scaleX(1);
}

/* ---------------- buttons ---------------- */

.as-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 30px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.6s var(--ease), color 0.3s;
    will-change: transform;
}

.as-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--ink);
    transform: translateY(101%);
    transition: transform 0.55s var(--ease);
    border-radius: inherit;
}

.as-btn:hover::before {
    transform: translateY(0);
}

.as-btn__arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.5s var(--ease);
}

.as-btn:hover .as-btn__arrow {
    transform: translateX(4px);
}

.as-btn--ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ghost);
}

.as-btn--ghost::before {
    background: var(--ink);
}

.as-btn--ghost:hover {
    color: var(--accent-ink);
}

.as-btn--sm {
    min-height: 42px;
    padding: 0 20px;
    font-size: 14px;
}

/* the "20 minute" span must not become its own flex item */
.as-wide {
    display: contents;
}

/* ---------------- wordmark ---------------- */

.as-mark {
    font-family: var(--serif);
    font-size: 17px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    white-space: nowrap;
}

/* ---------------- loader ---------------- */

.as-loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 26px;
    transition: transform 1s var(--ease-io);
}

.as-loader__mark {
    font-family: var(--serif);
    font-size: clamp(22px, 3vw, 40px);
    letter-spacing: 0.34em;
    text-transform: uppercase;
    padding-left: 0.34em;
    display: flex;
    overflow: hidden;
}

.as-loader__mark span {
    display: inline-block;
    transform: translateY(110%);
    animation: as-rise 0.9s var(--ease) forwards;
    animation-delay: calc(0.035s * var(--i));
    white-space: pre;
}

.as-loader__bar {
    width: 160px;
    height: 1px;
    background: var(--ghost);
    overflow: hidden;
}

.as-loader__bar::after {
    content: "";
    display: block;
    height: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    animation: as-load 1.3s var(--ease-io) forwards;
    animation-delay: 0.3s;
}

.is-ready .as-loader {
    transform: translateY(-100%);
    pointer-events: none;
}

.no-loader .as-loader {
    display: none;
}

@keyframes as-rise {
    to {
        transform: translateY(0);
    }
}

@keyframes as-load {
    to {
        transform: scaleX(1);
    }
}

/* ---------------- grain + cursor ---------------- */

.as-grain {
    position: fixed;
    inset: -50%;
    z-index: 90;
    pointer-events: none;
    opacity: 0.055;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 300px 300px;
    animation: as-grain 0.6s steps(3) infinite;
}

@keyframes as-grain {
    0% { transform: translate(0, 0); }
    33% { transform: translate(-3%, 2%); }
    66% { transform: translate(2%, -3%); }
    100% { transform: translate(0, 0); }
}

.as-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 95;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s, width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.3s;
    mix-blend-mode: difference;
}

.as-cursor.is-on {
    opacity: 1;
}

.as-cursor.is-hot {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    background: var(--ink);
}

@media (pointer: coarse), (max-width: 809px) {
    .as-cursor {
        display: none;
    }
}

/* ---------------- nav ---------------- */

.as-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 76px;
    padding: 0 var(--gutter);
    transform: translateY(0);
    transition: transform 0.6s var(--ease), background 0.5s, border-color 0.5s;
    border-bottom: 1px solid transparent;
}

.as-nav.is-scrolled {
    background: rgba(0, 0, 0, 0.72);
    border-color: var(--line);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
}

.as-nav.is-hidden {
    transform: translateY(-100%);
}

.as-nav__links {
    display: flex;
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.as-nav__links a {
    position: relative;
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
}

.as-nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
}

.as-nav__links a:hover {
    color: var(--ink);
}

.as-nav__links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ---------------- hero ---------------- */

.as-hero {
    position: relative;
    background: var(--bg);
}

.as-hero__track {
    position: relative;
    height: 100vh;
    height: 100svh;
}

.as-hero.as-js .as-hero__track {
    height: 340vh;
}

.as-hero__stage {
    position: relative;
    top: 0;
    height: 100vh;
    height: 100svh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.as-hero.as-js .as-hero__stage {
    position: sticky;
}

.as-collage {
    position: absolute;
    inset: 0;
}

.as-card {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    width: var(--card-w);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius);
    background: #0b0b0b;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
}

.as-card img,
.as-card video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.as-card img {
    opacity: 0;
    transition: opacity 1.2s var(--ease);
}

.as-card img.is-shown {
    opacity: 1;
}

.as-card__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.7) 100%);
    opacity: var(--scrim, 1);
    pointer-events: none;
}

.as-card--center {
    z-index: 5;
    /* the poster sits behind the video so the card is never blank while
       the decoder catches up or a browser pauses playback off screen */
    background-size: cover;
    background-position: center;
}

.as-card--in-l,
.as-card--in-r {
    z-index: 4;
}

.as-card--out-l,
.as-card--out-r {
    z-index: 3;
}

.as-hero.as-js .as-card:not(.as-card--center) {
    opacity: 0;
}

/* score tags that pop onto the side cards once the fan is assembled */
.as-tag {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--ink);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.as-tag::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(245, 180, 0, 0.18);
}

.as-hero.is-assembled .as-tag {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.12s * var(--i, 0));
}

/* baseline: no JS, or a phone, gets the full bleed video */
.as-hero:not(.as-js) .as-card--center {
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    transform: none;
    border-radius: 0;
    box-shadow: none;
}

.as-hero:not(.as-js) .as-card:not(.as-card--center) {
    display: none;
}

.as-hero__content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1500px;
    padding: 0 var(--gutter);
    text-align: center;
    will-change: transform, opacity;
}

.as-hero__eyebrow {
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.9s var(--ease) 0.5s, transform 0.9s var(--ease) 0.5s;
}

.as-hero h1 {
    font-size: clamp(48px, 8.4vw, 132px);
    line-height: 0.96;
    letter-spacing: -0.022em;
    text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}

.as-hero h1 .as-w > span {
    transition-delay: calc(0.06s * var(--i, 0) + 0.55s);
}

.as-hero__sub {
    max-width: 34em;
    margin: clamp(22px, 2.6vw, 34px) auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(16px, 1.3vw, 19px);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.9s var(--ease) 1.15s, transform 0.9s var(--ease) 1.15s;
}

.as-hero__cta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 20px;
    margin-top: clamp(28px, 3vw, 44px);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.9s var(--ease) 1.3s, transform 0.9s var(--ease) 1.3s;
}

.as-hero__note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 26em;
    text-align: left;
}

.is-ready .as-hero__eyebrow,
.is-ready .as-hero__sub,
.is-ready .as-hero__cta {
    opacity: 1;
    transform: none;
}

/* the line that lands once the fan has assembled */
.as-hero__after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(28px, 5vh, 64px);
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

.as-hero__after p {
    display: inline-block;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(22px, 2.4vw, 34px);
    color: var(--ink);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.as-hero__after p em {
    font-style: normal;
    color: var(--accent);
}

.as-hero.is-assembled .as-hero__after p {
    opacity: 1;
    transform: none;
}

.as-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 32px;
    z-index: 10;
    transform: translateX(-50%);
    width: 1px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s;
}

.is-ready .as-hero__scroll {
    opacity: 1;
}

.as-hero__scroll::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateY(-100%);
    animation: as-scrollhint 1.8s var(--ease-io) infinite;
}

@keyframes as-scrollhint {
    to {
        transform: translateY(100%);
    }
}

/* ---------------- clients ----------------
   Collateral, kept quiet: muted monochrome logos that only come up to
   full white on hover. Not a section headline, not an argument. */

.as-clients {
    padding: clamp(40px, 5vw, 64px) 0;
    border-bottom: 1px solid var(--line);
}

.as-clients .as-eyebrow {
    margin-bottom: 30px;
}

.as-clients__row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px clamp(24px, 4vw, 72px);
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.as-clients__row li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.as-clients__row img {
    height: clamp(26px, 2.6vw, 38px);
    width: auto;
    max-width: 100%;
    opacity: 0.72;
    filter: grayscale(1) brightness(1.4);
}

/* ---------------- numbers ---------------- */

.as-numbers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 clamp(24px, 3vw, 48px);
}

.as-numbers > div {
    padding-top: 28px;
    border-top: 1px solid var(--line);
    position: relative;
}

.as-numbers > div::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 1.6s var(--ease);
    transition-delay: calc(0.12s * var(--i, 0));
}

.as-numbers.is-in > div::before {
    width: 44px;
}

.as-num {
    display: block;
    font-family: var(--serif);
    font-size: clamp(56px, 6.4vw, 104px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.as-num__label {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
    max-width: 17em;
}

/* ---------------- watch ---------------- */

.as-watch {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: clamp(32px, 4vw, 56px);
}

.as-watch__head {
    max-width: 900px;
}

.as-watch__head .as-eyebrow {
    justify-content: center;
}

.as-watch__head h2 {
    font-size: clamp(38px, 5.2vw, 76px);
    line-height: 1;
}

.as-watch__media {
    position: relative;
    width: 100%;
    max-width: 1120px;
}

.as-video {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: var(--panel);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform-origin: center;
    will-change: transform;
}

.as-video wistia-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.as-video__glow {
    position: absolute;
    inset: -20%;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(245, 180, 0, 0.16), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

/* ---------------- stack (what you get) ---------------- */

.as-stack {
    position: relative;
}

.as-stack__card {
    position: sticky;
    top: 92px;
    height: min(78vh, 720px);
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--panel);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
    isolation: isolate;
}

.as-stack__card:nth-child(2) {
    top: 116px;
}

.as-stack__card:nth-child(3) {
    top: 140px;
}

.as-stack__card img {
    position: absolute;
    inset: -10% 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    will-change: transform;
    filter: saturate(0.85);
}

.as-stack__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.15) 100%);
}

.as-stack__body {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(28px, 4vw, 56px);
    max-width: 640px;
}

.as-stack__n {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.22em;
    color: var(--accent);
    margin-bottom: auto;
}

.as-stack__body h3 {
    font-size: clamp(38px, 5vw, 72px);
    line-height: 0.98;
    margin-bottom: 18px;
}

.as-stack__body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(16px, 1.25vw, 18px);
    max-width: 30em;
}

/* ---------------- proof carousel ---------------- */

.as-carousel {
    display: grid;
    gap: clamp(28px, 3.5vw, 48px);
}

.as-carousel__stage {
    position: relative;
    aspect-ratio: 16 / 10;
    width: 100%;
    background: var(--panel);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
    transition: transform 0.4s var(--ease);
}

.as-carousel__stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.9s var(--ease), transform 1.4s var(--ease);
}

.as-carousel__copy {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 24px clamp(32px, 5vw, 96px);
    align-items: start;
}

.as-carousel__stage img.is-on {
    opacity: 1;
    transform: none;
}

.as-carousel__copy h3 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
    min-height: 1em;
    transition: opacity 0.4s, transform 0.5s var(--ease);
}

.as-carousel__body {
    color: var(--muted);
    margin: 6px 0 0;
    min-height: 3.2em;
    transition: opacity 0.4s, transform 0.5s var(--ease);
}

.as-carousel__copy.is-swapping h3,
.as-carousel__copy.is-swapping .as-carousel__body {
    opacity: 0;
    transform: translateY(8px);
}

.as-dots {
    display: flex;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.as-dots button {
    width: 40px;
    height: 2px;
    padding: 0;
    border: 0;
    background: var(--ghost);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.as-dots button i {
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
}

.as-dots button.is-done i {
    transform: scaleX(1);
    background: var(--ink);
}

/* ---------------- founders + trust ---------------- */

.as-people {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 96px);
    align-items: center;
}

.as-people__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.as-people__grid figure {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--panel);
}

.as-people__grid figure:nth-child(2) {
    transform: translateY(40px);
}

.as-people__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
    transform: scale(1.04);
    transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}

.as-people__grid figure:hover img {
    filter: grayscale(0);
    transform: scale(1);
}

.as-people__grid figcaption {
    position: absolute;
    left: 18px;
    bottom: 16px;
    font-size: 13px;
    color: var(--ink);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.as-people__grid figcaption span {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.as-people__copy h2 {
    font-size: clamp(38px, 4.8vw, 68px);
    line-height: 1;
    margin-bottom: 22px;
}

.as-trust {
    margin-top: clamp(48px, 6vw, 88px);
    padding-top: 36px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.as-trust__label {
    margin: 0 0 26px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

.as-trust__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 22px clamp(28px, 4vw, 60px);
}

.as-trust__item {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.as-trust__logo {
    height: 26px;
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    opacity: 0.72;
    filter: grayscale(1) brightness(1.4);
}

.as-trust__logo--eutrade {
    height: 42px;
}

.as-people__cta {
    margin-top: 34px;
}

/* ---------------- objections ---------------- */

.as-faq {
    max-width: 960px;
}

.as-faq__row {
    display: grid;
    grid-template-columns: 56px minmax(0, 5fr) minmax(0, 7fr);
    gap: 16px 40px;
    padding: 36px 0;
    border-top: 1px solid var(--line);
    transition: padding-left 0.5s var(--ease);
}

.as-faq__row:last-child {
    border-bottom: 1px solid var(--line);
}

.as-faq__row:hover {
    padding-left: 10px;
}

.as-faq__i {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--accent);
    padding-top: 10px;
}

.as-faq__row h3 {
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.1;
}

.as-faq__row p {
    margin: 0;
    color: var(--muted);
}

/* ---------------- close ---------------- */

.as-close {
    position: relative;
    padding: clamp(120px, 16vw, 240px) 0 clamp(80px, 10vw, 160px);
    overflow: hidden;
    isolation: isolate;
}

.as-close__bg {
    position: absolute;
    inset: -15% 0;
    z-index: -2;
    will-change: transform;
}

.as-close__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    filter: saturate(0.7);
}

.as-close::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0.55) 70%, #000 100%);
}

.as-close h2 {
    font-size: clamp(42px, 7vw, 112px);
    line-height: 0.96;
    max-width: 12.5em;
    margin: 0 0 clamp(44px, 5vw, 80px);
}

/* scroll driven: each word warms from ghost to white as it passes */
.as-close h2 .as-w > span {
    color: rgba(255, 255, 255, 0.22);
    transition: color 0.25s linear;
}

.as-close h2 .as-w > span.is-lit {
    color: var(--ink);
}

.as-close h2 .as-w > span.is-lit.is-accent {
    color: var(--accent);
}

.as-calendly {
    position: relative;
    min-height: 720px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--panel);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.as-calendly__fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    color: var(--muted);
    padding: 32px;
}

.as-calendly.is-live .as-calendly__fallback {
    display: none;
}

.as-calendly__host {
    position: relative;
    z-index: 1;
    min-width: 0 !important;
}

/* ---------------- footer ---------------- */

.as-footer {
    position: relative;
    border-top: 1px solid var(--line);
    padding: 56px 0 0;
    font-size: 14px;
    color: var(--muted);
    overflow: hidden;
}

.as-footer__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px 40px;
}

.as-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.as-footer__links a {
    text-decoration: none;
    color: var(--muted);
    transition: color 0.3s;
}

.as-footer__links a:hover {
    color: var(--ink);
}

.as-footer__fine {
    margin: 22px 0 0;
    color: var(--faint);
    font-size: 13px;
}

.as-footer__giant {
    margin: 48px 0 -0.22em;
    font-family: var(--serif);
    font-size: clamp(64px, 13.4vw, 220px);
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.07);
    text-align: center;
    pointer-events: none;
    user-select: none;
}

/* ---------------- scroll reveal ---------------- */

.as-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease), transform 1.2s var(--ease);
    transition-delay: var(--d, 0s);
}

.as-reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ---------------- responsive ---------------- */

@media (max-width: 1023px) {
    .as-numbers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px clamp(24px, 3vw, 48px);
    }

    .as-carousel__copy,
    .as-people {
        grid-template-columns: 1fr;
    }

    .as-faq__row {
        grid-template-columns: 40px 1fr;
    }

    .as-faq__row p {
        grid-column: 2;
    }
}

@media (max-width: 809px) {
    body {
        font-size: 16px;
    }

    :root {
        --radius: 16px;
    }

    .as-nav {
        height: 66px;
    }

    .as-nav__links,
    .as-wide {
        display: none;
    }

    .as-clients__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
    }

    .as-clients__row img {
        height: 26px;
    }

    .as-mark {
        font-size: 15px;
        letter-spacing: 0.26em;
    }

    .as-eyebrow {
        letter-spacing: 0.16em;
        font-size: 11px;
    }

    .as-hero.as-js .as-hero__track {
        height: 100svh;
    }

    .as-hero h1 {
        font-size: clamp(44px, 12.5vw, 64px);
        letter-spacing: -0.015em;
    }

    .as-hero__content {
        text-align: left;
        padding-top: 40px;
    }

    .as-hero__eyebrow {
        justify-content: flex-start;
    }

    .as-hero__sub {
        margin-left: 0;
    }

    .as-hero__cta {
        justify-content: flex-start;
        flex-direction: column;
        align-items: stretch;
    }

    .as-hero__cta .as-btn {
        width: 100%;
    }

    .as-hero__after,
    .as-hero__scroll {
        display: none;
    }

    .as-numbers {
        grid-template-columns: 1fr;
        gap: 36px 0;
    }

    .as-stack__card {
        height: min(72vh, 560px);
        top: 80px;
    }

    .as-stack__card:nth-child(2) {
        top: 96px;
    }

    .as-stack__card:nth-child(3) {
        top: 112px;
    }

    .as-people__grid figure:nth-child(2) {
        transform: translateY(24px);
    }

    .as-trust {
        gap: 18px 28px;
    }

    .as-trust__logo {
        height: 20px;
    }

    .as-trust__logo--eutrade {
        height: 34px;
    }

    .as-trust__row {
        gap: 18px 26px;
    }

    .as-faq__row {
        padding: 26px 0;
        gap: 12px 20px;
    }

    .as-faq__row:hover {
        padding-left: 0;
    }

    .as-close h2 {
        font-size: clamp(38px, 10.5vw, 60px);
    }

    .as-calendly {
        min-height: 640px;
    }

    .as-footer__giant {
        letter-spacing: 0.04em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .as-loader,
    .as-grain,
    .as-cursor {
        display: none;
    }

    .as-split .as-w > span,
    .as-hero__eyebrow,
    .as-hero__sub,
    .as-hero__cta,
    .as-reveal,
    .as-rule,
    .as-tag,
    .as-hero__after p {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }


    .as-hero.as-js .as-hero__track {
        height: 100svh;
    }

    .as-close h2 .as-w > span {
        color: var(--ink);
    }
}

/* ---------------- timed offer ----------------
   Two panel card: the number on the left, the deal on the right. Fades
   in over a blurred page, rises 20px, becomes a bottom sheet on phones. */

.as-pop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.as-pop__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.as-pop__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    width: min(940px, 100%);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--panel);
    box-shadow: 0 50px 140px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}

.as-pop.is-open .as-pop__backdrop,
.as-pop.is-open .as-pop__card {
    opacity: 1;
}

.as-pop.is-open .as-pop__card {
    transform: none;
}

.as-pop__x {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.3s;
}

.as-pop__x:hover {
    background: rgba(255, 255, 255, 0.1);
}

.as-pop__x svg {
    width: 16px;
    height: 16px;
}

.as-pop__left {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: clamp(28px, 4vw, 48px);
    border-right: 1px solid var(--line);
    background:
        radial-gradient(120% 80% at 20% 100%, rgba(245, 180, 0, 0.16), transparent 60%),
        #050505;
}

.as-pop__num {
    font-family: var(--serif);
    font-size: clamp(120px, 14vw, 200px);
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--accent);
}

.as-pop__left p {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.2;
    color: var(--ink);
    max-width: 12em;
}

.as-pop__right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(28px, 4vw, 52px);
}

.as-pop__right h3 {
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1;
    margin-bottom: 16px;
}

.as-pop__text {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 16px;
    max-width: 30em;
}

.as-pop__right .as-btn {
    width: 100%;
}

.as-pop__later {
    align-self: center;
    margin-top: 18px;
    padding: 6px 4px;
    border: 0;
    background: none;
    color: var(--faint);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s;
}

.as-pop__later:hover {
    color: var(--ink);
}

@media (max-width: 809px) {
    .as-pop {
        align-items: flex-end;
        padding: 0;
    }

    .as-pop__card {
        grid-template-columns: 1fr;
        width: 100%;
        border-radius: var(--radius) var(--radius) 0 0;
        transform: translateY(40px);
        max-height: 92svh;
        overflow-y: auto;
    }

    .as-pop__left {
        flex-direction: row;
        align-items: flex-end;
        gap: 18px;
        padding: 26px 22px 20px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .as-pop__num {
        font-size: 84px;
    }

    .as-pop__left p {
        font-size: 18px;
        padding-bottom: 4px;
    }

    .as-pop__right {
        padding: 24px 22px 28px;
    }

    .as-pop__right h3 {
        font-size: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .as-pop__backdrop,
    .as-pop__card {
        transition: none;
    }
}

.as-pop__card:focus {
    outline: none;
}

.as-btn:focus-visible,
.as-pop__x:focus-visible,
.as-pop__later:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
