/* ==========================================================================
   Strix — design system
   ========================================================================== */

:root {
    /* canvas */
    --bg: #08080a;
    --bg-2: #0c0c10;
    --surface: #121218;
    --surface-2: #17171f;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .16);

    /* ink */
    --ink: #f6f6f8;
    --ink-2: #c3c3cd;
    --muted: #8b8b98;

    /* brand */
    --accent: #ffb020;
    --accent-2: #ff7a18;
    --accent-soft: rgba(255, 176, 32, .12);
    --grad: linear-gradient(120deg, #ff7a18 0%, #ffb020 55%, #ffd76a 100%);

    /* type */
    --display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
    --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* metrics */
    --shell: 1200px;
    --gutter: 24px;
    --radius: 18px;
    --radius-lg: 26px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.02em;
    margin: 0;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--accent);
    color: #12100a;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

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

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding: clamp(72px, 10vw, 130px) 0;
    position: relative;
}

.section--tight {
    padding-block: clamp(56px, 7vw, 90px);
}

.rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
    border: 0;
    margin: 0;
}

/* ------------------------------------------------------------- typography */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 22px;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: .6;
}

.section-title {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
}

.section-lede {
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    max-width: 56ch;
    margin-top: 20px;
}

.section-head {
    margin-bottom: clamp(40px, 6vw, 68px);
}

.section-head--split {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 42%);
    gap: 32px;
    align-items: end;
}

.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ----------------------------------------------------------------- button */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--body);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease),
        background-color .25s ease, border-color .25s ease, color .25s ease;
    will-change: transform;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--grad);
    color: #14100a;
    box-shadow: 0 10px 34px -12px rgba(255, 140, 24, .8);
}

.btn--primary:hover {
    box-shadow: 0 18px 44px -14px rgba(255, 140, 24, .95);
}

.btn--ghost {
    border-color: var(--line-strong);
    color: var(--ink);
    background: rgba(255, 255, 255, .02);
}

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

.btn--block {
    width: 100%;
}

.arrow {
    transition: transform .3s var(--ease);
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* ----------------------------------------------------------------- header */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
    border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
    background: rgba(8, 8, 10, .78);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.32rem;
    letter-spacing: .22em;
}

.brand__mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    /* The PNG ships with its own dark plate, so it sits flush on the dark
       shell; cover keeps it square if a differently-sized icon is swapped in. */
    object-fit: cover;
    display: block;
    box-shadow: 0 6px 20px -8px rgba(255, 160, 30, .9);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav__links a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--ink-2);
    position: relative;
    padding-block: 6px;
    transition: color .25s ease;
}

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

.nav__links a:hover,
.nav__links a.is-active {
    color: var(--ink);
}

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

.nav__cta {
    padding: 11px 22px;
    font-size: .88rem;
}

.nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    place-items: center;
}

.nav__toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    margin: 3.5px auto;
    transition: transform .3s var(--ease), opacity .2s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

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

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 130px 0 70px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
    animation: drift 18s ease-in-out infinite alternate;
}

.orb--1 {
    width: 44vw;
    height: 44vw;
    max-width: 620px;
    max-height: 620px;
    top: -14%;
    right: -8%;
    background: radial-gradient(circle, rgba(255, 122, 24, .5), transparent 68%);
}

.orb--2 {
    width: 38vw;
    height: 38vw;
    max-width: 520px;
    max-height: 520px;
    bottom: -18%;
    left: -10%;
    background: radial-gradient(circle, rgba(255, 176, 32, .34), transparent 68%);
    animation-delay: -7s;
}

.orb--3 {
    width: 30vw;
    height: 30vw;
    max-width: 420px;
    max-height: 420px;
    top: 34%;
    left: 42%;
    background: radial-gradient(circle, rgba(120, 90, 255, .22), transparent 70%);
    animation-delay: -12s;
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(-6%, 8%, 0) scale(1.16);
    }
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 78px 78px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
}

.hero .shell {
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    font-size: .8rem;
    color: var(--ink-2);
    letter-spacing: .02em;
    margin-bottom: 30px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3ddc84;
    box-shadow: 0 0 0 0 rgba(61, 220, 132, .7);
    animation: pulse 2.4s infinite;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 9px rgba(61, 220, 132, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(61, 220, 132, 0);
    }
}

.hero__title {
    font-size: clamp(2.7rem, 8vw, 6rem);
    letter-spacing: -.035em;
    max-width: 17ch;
}

.hero__title .line {
    display: block;
    overflow: hidden;
}

.hero__title .line > span {
    display: block;
    transform: translateY(105%);
    animation: riseIn 1s var(--ease) forwards;
}

.hero__title .line:nth-child(1) > span {
    animation-delay: .1s;
}

.hero__title .line:nth-child(2) > span {
    animation-delay: .22s;
}

.hero__title .line:nth-child(3) > span {
    animation-delay: .34s;
}

@keyframes riseIn {
    to {
        transform: translateY(0);
    }
}

.hero__sub {
    color: var(--ink-2);
    font-size: clamp(1.02rem, 1.7vw, 1.22rem);
    max-width: 58ch;
    margin-top: 30px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: clamp(56px, 8vw, 90px);
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

.stat__num {
    font-family: var(--display);
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.03em;
}

.stat__label {
    color: var(--muted);
    font-size: .82rem;
    letter-spacing: .04em;
    margin-top: 4px;
}

/* ---------------------------------------------------------------- marquee */

.marquee {
    border-block: 1px solid var(--line);
    padding: 22px 0;
    overflow: hidden;
    background: var(--bg-2);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: slide 34s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__group {
    display: flex;
    align-items: center;
    gap: 46px;
    padding-right: 46px;
    flex-shrink: 0;
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
}

.marquee__item::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .55;
}

@keyframes slide {
    to {
        transform: translateX(-50%);
    }
}

/* --------------------------------------------------------------- products */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.product {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 55%),
        var(--surface);
    overflow: hidden;
    transition: transform .45s var(--ease), border-color .35s ease;
}

.product::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}

.product:hover {
    transform: translateY(-6px);
}

.product:hover::before {
    opacity: .75;
}

.product--flagship {
    grid-column: 1 / -1;
    padding: clamp(32px, 4vw, 46px);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(255, 122, 24, .16), transparent 58%),
        linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0) 50%),
        var(--surface);
}

.product__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.product__logo {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    border: 1px solid rgba(255, 176, 32, .28);
    color: var(--accent);
    font-size: 1.45rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    border: 1px solid var(--line-strong);
    color: var(--muted);
    white-space: nowrap;
}

.tag--live {
    color: #3ddc84;
    border-color: rgba(61, 220, 132, .32);
    background: rgba(61, 220, 132, .08);
}

.tag--soon {
    color: var(--accent);
    border-color: rgba(255, 176, 32, .3);
    background: var(--accent-soft);
}

.product__name {
    font-size: clamp(1.5rem, 2.6vw, 2.15rem);
    margin-bottom: 10px;
}

.product__kicker {
    color: var(--accent);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product__desc {
    color: var(--ink-2);
    font-size: 1rem;
    max-width: 52ch;
}

.product__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 14px 26px;
    margin: 30px 0;
}

.product__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .92rem;
    color: var(--ink-2);
}

.product__features i {
    color: var(--accent);
    font-size: .9rem;
    margin-top: 5px;
}

.product__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--display);
}

.price__amount {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.03em;
}

.price__unit {
    color: var(--muted);
    font-size: .9rem;
    font-family: var(--body);
}

.product__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--accent);
}

.product__link .arrow {
    transition: transform .3s var(--ease);
}

.product:hover .product__link .arrow {
    transform: translateX(4px);
}

/* placeholder cards — replace with real products */
.product--slot {
    border-style: dashed;
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, .015);
}

.product--slot .product__name,
.product--slot .product__desc {
    color: var(--muted);
}

/* --------------------------------------------------------------- services */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service {
    background: var(--bg);
    padding: 38px 32px 42px;
    position: relative;
    transition: background-color .4s ease;
}

.service:hover {
    background: var(--surface-2);
}

.service__num {
    font-family: var(--display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    color: var(--muted);
    transition: color .3s ease;
}

.service:hover .service__num {
    color: var(--accent);
}

.service__icon {
    font-size: 1.6rem;
    color: var(--accent);
    margin: 22px 0 18px;
}

.service h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service p {
    color: var(--muted);
    font-size: .94rem;
}

/* ---------------------------------------------------------------- process */

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.step::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 42px;
    height: 2px;
    background: var(--grad);
}

.step__num {
    font-family: var(--display);
    font-size: .8rem;
    letter-spacing: .16em;
    color: var(--accent);
    font-weight: 600;
}

.step h3 {
    font-size: 1.2rem;
    margin: 14px 0 10px;
}

.step p {
    color: var(--muted);
    font-size: .92rem;
}

/* ------------------------------------------------------------------ stack */

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 10px;
}

/* Icons inherit currentColor (no `colored` class) so dark brand marks such as
   GitHub and WordPress stay legible against the dark canvas. */
.stack-grid a {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .015);
    font-size: 1.85rem;
    color: var(--ink-2);
    opacity: .6;
    transition: color .3s ease, opacity .3s ease, transform .35s var(--ease),
        border-color .3s ease, background-color .3s ease;
}

.stack-grid a:hover {
    color: var(--accent);
    opacity: 1;
    transform: translateY(-4px);
    border-color: rgba(255, 176, 32, .35);
    background: var(--surface);
}

/* ------------------------------------------------------------------ about */

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(36px, 6vw, 76px);
    align-items: start;
}

.about p + p {
    margin-top: 18px;
}

.about p {
    color: var(--ink-2);
}

.pillars {
    display: grid;
    gap: 14px;
}

.pillar {
    display: flex;
    gap: 18px;
    padding: 24px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color .3s ease, transform .35s var(--ease);
}

.pillar:hover {
    border-color: var(--line-strong);
    transform: translateX(4px);
}

.pillar i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 3px;
}

.pillar h4 {
    font-size: 1.02rem;
    margin-bottom: 5px;
}

.pillar p {
    color: var(--muted);
    font-size: .91rem;
}

/* -------------------------------------------------------------------- faq */

.faq {
    display: grid;
    gap: 12px;
    max-width: 900px;
}

.faq__item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 0 26px;
    transition: border-color .3s ease;
}

.faq__item[open],
.faq__item:hover {
    border-color: var(--line-strong);
}

.faq__item summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 34px 22px 0;
    position: relative;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--ink);
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

/* plus sign that rotates into a minus when the answer opens */
.faq__item summary::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 13px;
    height: 13px;
    margin-top: -6px;
    background:
        linear-gradient(var(--accent), var(--accent)) center/100% 2px no-repeat,
        linear-gradient(var(--accent), var(--accent)) center/2px 100% no-repeat;
    transition: transform .35s var(--ease);
}

.faq__item[open] summary::after {
    transform: rotate(90deg);
    background: linear-gradient(var(--accent), var(--accent)) center/100% 2px no-repeat;
}

.faq__item summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 6px;
}

.faq__item p {
    color: var(--muted);
    font-size: .95rem;
    margin: 0;
    padding: 0 30px 24px 0;
}

.faq__item a {
    color: var(--accent);
}

/* ---------------------------------------------------------------- contact */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(36px, 5vw, 62px);
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 14px;
    margin-top: 38px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color .3s ease, background-color .3s ease;
}

.contact-card:hover {
    border-color: rgba(255, 176, 32, .35);
    background: var(--surface-2);
}

.contact-card i {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.1rem;
}

.contact-card span {
    display: block;
    color: var(--muted);
    font-size: .76rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-card strong {
    font-weight: 500;
    font-size: 1rem;
}

.form {
    padding: clamp(26px, 3.5vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: .8rem;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: 8px;
}

.field input,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    font-family: var(--body);
    font-size: .95rem;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #5c5c68;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 176, 32, .13);
}

.field textarea {
    resize: vertical;
    min-height: 130px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form__note {
    color: var(--muted);
    font-size: .82rem;
    margin-top: 14px;
    text-align: center;
}

/* ------------------------------------------------------------------- cta */

.cta {
    position: relative;
    text-align: center;
    padding: clamp(60px, 9vw, 110px) clamp(24px, 5vw, 70px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(90% 130% at 50% 0%, rgba(255, 122, 24, .16), transparent 62%),
        var(--surface);
    overflow: hidden;
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    max-width: 24ch;
    margin-inline: auto;
    text-wrap: balance;
}

.cta p {
    color: var(--muted);
    margin: 22px auto 0;
    max-width: 46ch;
}

.cta .btn {
    margin-top: 36px;
}

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

.site-footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 40px;
    background: var(--bg-2);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 34px;
    align-items: flex-start;
}

.footer__tag {
    color: var(--accent);
    font-size: .85rem;
    letter-spacing: .1em;
    margin-top: 14px;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 30px;
}

.footer__nav a {
    color: var(--muted);
    font-size: .9rem;
    transition: color .25s ease;
}

.footer__nav a:hover {
    color: var(--accent);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .84rem;
}

/* ------------------------------------------------------------ scroll top */

#to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(18, 18, 24, .9);
    backdrop-filter: blur(10px);
    color: var(--ink);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s var(--ease), visibility .3s,
        border-color .3s ease, color .3s ease;
    z-index: 90;
}

#to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

#to-top:hover {
    border-color: var(--accent);
    color: var(--accent);
}

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

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

[data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ----------------------------------------------------------- breakpoints */

@media (max-width: 1024px) {
    .products-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid,
    .section-head--split {
        grid-template-columns: 1fr;
    }

    .section-head--split {
        align-items: start;
    }
}

@media (max-width: 760px) {
    .nav__links {
        position: fixed;
        inset: 76px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 18px var(--gutter) 28px;
        background: rgba(8, 8, 10, .97);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--line);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, transform .3s var(--ease), visibility .3s;
    }

    .nav__links.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav__links a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }

    .nav__links a::after {
        display: none;
    }

    .nav__toggle {
        display: grid;
    }

    .nav__cta {
        display: none;
    }

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 20px;
    }

    .products-grid,
    .services-grid,
    .process {
        grid-template-columns: 1fr;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer__bottom {
        flex-direction: column;
    }
}

/* ======================================================================
   Atmosphere & interaction layer
   ====================================================================== */

/* scroll progress -------------------------------------------------- */
.progress-bar {
    position: fixed;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: 0 50%;
    z-index: 200;
    will-change: transform;
}

/* film grain -------------------------------------------------------- */
.grain {
    position: fixed;
    inset: 0;
    z-index: 150;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ambient light that follows the pointer ---------------------------- */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 540px;
    height: 540px;
    margin: -270px 0 0 -270px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 140;
    mix-blend-mode: screen;
    background: radial-gradient(circle, rgba(255, 150, 30, .09), transparent 62%);
    opacity: 0;
    transition: opacity .6s ease;
    will-change: transform;
}

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

/* spotlight that tracks the pointer across a card ------------------- */
.product::after,
.service::after,
.pillar::after,
.step::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
            rgba(255, 176, 32, .11), transparent 62%);
}

.product:hover::after,
.service:hover::after,
.pillar:hover::after,
.step:hover::after {
    opacity: 1;
}

.pillar,
.step {
    position: relative;
}

/* the gradient text breathes ---------------------------------------- */
.gradient-text {
    background-size: 220% 100%;
    animation: shimmer 9s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: -220% 0;
    }
}

/* hero parallax container ------------------------------------------- */
.hero__bg {
    transition: transform .9s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}

/* buttons lean toward the pointer ----------------------------------- */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
    transform: skewX(-18deg);
    transition: left .7s var(--ease);
}

.btn:hover::after {
    left: 130%;
}

.btn > * {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------- a11y --- */

@media (prefers-reduced-motion: reduce) {

    .gradient-text {
        animation: none;
    }

    .cursor-glow,
    .grain {
        display: none;
    }

    .btn::after {
        display: none;
    }

    .hero__bg {
        transition: none;
    }
}

@media (hover: none) {

    .cursor-glow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .hero__title .line > span {
        transform: none;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
