/*
 * RAMTECHX homepage styles
 *
 * Page-specific presentation lives here; Tailwind utility classes remain in index.html.
 */

/* Base tokens, defaults, and accessibility */
:root {
    --black: #050505;
    --ink: #111216;
    --muted: #6b7280;
    --line: rgba(17, 18, 22, 0.1);
    --cyan: #27d8ff;
    --blue: #147cff;
    --panel: #f5f5f7;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    margin: 0;
    color: var(--ink);
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 100;
    transform: translateY(-180%);
    border-radius: 999px;
    background: #ffffff;
    color: #050505;
    padding: 0.75rem 1rem;
    font-weight: 800;
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-shell {
    overflow: hidden;
    background: #ffffff;
}

/* Hero and positioning summary */
.hero-section {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 30%, rgba(39, 216, 255, 0.12), transparent 24rem),
        radial-gradient(circle at 30% 0%, rgba(20, 124, 255, 0.12), transparent 22rem),
        linear-gradient(180deg, #050505 0%, #07080b 72%, #050505 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at var(--hero-x, 72%) var(--hero-y, 32%), rgba(39, 216, 255, 0.16), transparent 18rem),
        linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 36%);
    opacity: 0.82;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 10rem;
    background: linear-gradient(180deg, transparent, #050505);
    pointer-events: none;
}

.hero-heading {
    font-size: clamp(3.25rem, 5.6vw, 5.35rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.section-title {
    font-size: clamp(2.35rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-credential {
    text-wrap: balance;
}

.trust-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #050505;
    color: #ffffff;
}

.trust-strip__inner {
    display: grid;
    gap: 0;
}

.trust-item {
    display: grid;
    gap: 0.35rem;
    padding: 1.35rem 0;
}

.trust-item+.trust-item {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item__label {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 750;
}

.trust-item__copy {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.86rem;
    line-height: 1.55;
}

/* Navigation and global actions */
.nav-blur {
    background: rgba(5, 5, 5, 0.76);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
}

.scroll-progress {
    position: relative;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.scroll-progress__bar {
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    box-shadow: 0 0 16px rgba(39, 216, 255, 0.36);
    transition: transform 80ms linear;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.5rem;
    color: #ffffff;
}

.brand-lockup img {
    display: block;
    height: 1.8rem;
    width: auto;
    border-radius: 0.2rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.brand-wordmark {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.nav-link,
.footer-link {
    position: relative;
    display: inline-flex;
    width: fit-content;
}

.nav-link::after,
.footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.35rem;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right center;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after,
.footer-link:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.nav-link.is-active {
    color: #ffffff;
}

.accent-text {
    background: linear-gradient(120deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.8rem 1.35rem;
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button-primary::before,
.button-secondary::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%) skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transition: transform 520ms ease;
    pointer-events: none;
}

.button-primary {
    color: #050505;
    background: #ffffff;
}

.button-secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-2px);
}

.button-primary:hover::before,
.button-secondary:hover::before {
    transform: translateX(120%) skewX(-18deg);
}

.button-secondary:hover {
    border-color: rgba(39, 216, 255, 0.65);
    color: var(--cyan);
}

.section {
    scroll-margin-top: 5rem;
}

.section-pad {
    padding-top: clamp(5rem, 9vw, 8rem);
    padding-bottom: clamp(5rem, 9vw, 8rem);
}

.eyebrow {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Project and service cards */
.project-card,
.service-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 24px 80px rgba(17, 18, 22, 0.08);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.project-card::before,
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: radial-gradient(circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(39, 216, 255, 0.16), transparent 16rem);
    pointer-events: none;
    transition: opacity 180ms ease;
}

.project-card::after,
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 34%, rgba(20, 124, 255, 0.08));
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.project-card:hover,
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 124, 255, 0.24);
    box-shadow: 0 28px 90px rgba(17, 18, 22, 0.12);
}

.project-card:hover::before,
.project-card:hover::after,
.service-card:hover::before,
.service-card:hover::after {
    opacity: 1;
}

/* Project imagery and interactive preview stacks */
.project-visual {
    position: relative;
    min-height: clamp(12rem, 28vw, 15rem);
    overflow: hidden;
    background: #08090c;
}

.project-visual.has-image {
    aspect-ratio: 16 / 9;
    min-height: 0;
    background: #050505;
}

.project-visual.has-image img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.project-visual::before,
.project-visual::after {
    content: "";
    position: absolute;
    inset: auto;
    pointer-events: none;
}

.project-visual::before {
    width: 18rem;
    height: 18rem;
    right: -5rem;
    top: -5rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 216, 255, 0.34), transparent 62%);
}

.project-visual::after {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    height: 7rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 18%, transparent 18% 24%, rgba(255, 255, 255, 0.08) 24% 72%, transparent 72%),
        rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.project-visual.has-image::before {
    z-index: 1;
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.02), rgba(5, 5, 5, 0.22));
}

.project-visual.has-image::after {
    display: none;
}

.project-visual.has-stack {
    aspect-ratio: 16 / 9;
    min-height: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 18%, rgba(39, 216, 255, 0.18), transparent 13rem),
        radial-gradient(circle at 24% 80%, rgba(20, 124, 255, 0.14), transparent 12rem),
        linear-gradient(145deg, #12151c, #050505);
}

.project-visual.has-stack::before {
    z-index: 4;
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.04), rgba(5, 5, 5, 0.24));
}

.project-visual.has-stack::after {
    display: none;
}

.project-visual.has-dealer-preview {
    aspect-ratio: 16 / 9;
    min-height: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 24%, rgba(39, 216, 255, 0.12), transparent 12rem),
        linear-gradient(145deg, #f7f8fb, #dfe6ef);
}

.project-visual.has-dealer-preview::before {
    z-index: 3;
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(5, 5, 5, 0.12));
}

.project-visual.has-dealer-preview::after {
    display: none;
}

.dealer-preview {
    position: absolute;
    inset: 8% 8%;
    z-index: 2;
    perspective: 1200px;
}

.dealer-preview__image,
.stacked-preview__image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 0.85rem;
    object-fit: cover;
    object-position: center top;
    transform-origin: center center;
    transition: transform 260ms ease, box-shadow 260ms ease, opacity 260ms ease;
}

.dealer-preview__image {
    border: 1px solid rgba(8, 36, 66, 0.12);
    background: #ffffff;
    box-shadow: 0 22px 58px rgba(8, 36, 66, 0.22);
}

.dealer-preview__image--1 {
    z-index: 8;
    transform: translate3d(-55%, 1%, 0) rotate(-4deg) scale(0.8);
    box-shadow: 0 28px 72px rgba(8, 36, 66, 0.24);
}

.dealer-preview__image--2 {
    z-index: 7;
    transform: translate3d(-49%, 0.2%, 0) rotate(-3deg) scale(0.82);
    opacity: 0.94;
}

.dealer-preview__image--3 {
    z-index: 6;
    transform: translate3d(-43%, -0.4%, 0) rotate(-2deg) scale(0.84);
    opacity: 0.92;
}

.dealer-preview__image--4 {
    z-index: 5;
    transform: translate3d(-37%, -0.8%, 0) rotate(-1deg) scale(0.86);
    opacity: 0.9;
}

.dealer-preview__image--5 {
    z-index: 4;
    transform: translate3d(-31%, -0.8%, 0) rotate(1deg) scale(0.86);
    opacity: 0.88;
}

.dealer-preview__image--6 {
    z-index: 3;
    transform: translate3d(-25%, -0.4%, 0) rotate(2deg) scale(0.84);
    opacity: 0.86;
}

.dealer-preview__image--7 {
    z-index: 2;
    transform: translate3d(-19%, 0.2%, 0) rotate(3deg) scale(0.82);
    opacity: 0.84;
}

.dealer-preview__image--8 {
    z-index: 1;
    transform: translate3d(-13%, 1%, 0) rotate(4deg) scale(0.8);
    opacity: 0.82;
}

@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
    .project-card:hover .dealer-preview__image--1 {
        transform: translate3d(-58%, 1.5%, 0) rotate(-5deg) scale(0.78);
        box-shadow: 0 30px 76px rgba(8, 36, 66, 0.26);
    }

    .project-card:hover .dealer-preview__image--2 {
        transform: translate3d(-51%, 0.6%, 0) rotate(-3.8deg) scale(0.8);
    }

    .project-card:hover .dealer-preview__image--3 {
        transform: translate3d(-44%, -0.3%, 0) rotate(-2.6deg) scale(0.82);
    }

    .project-card:hover .dealer-preview__image--4 {
        transform: translate3d(-37%, -1%, 0) rotate(-1.3deg) scale(0.84);
    }

    .project-card:hover .dealer-preview__image--5 {
        transform: translate3d(-30%, -1%, 0) rotate(1.3deg) scale(0.84);
    }

    .project-card:hover .dealer-preview__image--6 {
        transform: translate3d(-23%, -0.3%, 0) rotate(2.6deg) scale(0.82);
    }

    .project-card:hover .dealer-preview__image--7 {
        transform: translate3d(-16%, 0.6%, 0) rotate(3.8deg) scale(0.8);
    }

    .project-card:hover .dealer-preview__image--8 {
        transform: translate3d(-9%, 1.5%, 0) rotate(5deg) scale(0.78);
    }
}

.stacked-preview {
    position: absolute;
    inset: 9% 10%;
    z-index: 2;
    perspective: 1200px;
}

.stacked-preview__image {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #0b0d12;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.stacked-preview__image--1 {
    z-index: 7;
    transform: translate3d(-56%, 0.8%, 0) rotate(-4deg) scale(0.8);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.stacked-preview__image--2 {
    z-index: 6;
    transform: translate3d(-49%, 0, -16px) rotate(-2.8deg) scale(0.82);
}

.stacked-preview__image--3 {
    z-index: 5;
    transform: translate3d(-42%, -0.6%, -32px) rotate(-1.6deg) scale(0.84);
}

.stacked-preview__image--4 {
    z-index: 4;
    transform: translate3d(-35%, -0.8%, -48px) rotate(0deg) scale(0.86);
    opacity: 0.96;
}

.stacked-preview__image--5 {
    z-index: 3;
    transform: translate3d(-28%, -0.6%, -64px) rotate(1.6deg) scale(0.84);
    opacity: 0.94;
}

.stacked-preview__image--6 {
    z-index: 2;
    transform: translate3d(-21%, 0, -80px) rotate(2.8deg) scale(0.82);
    opacity: 0.9;
}

.stacked-preview__image--7 {
    z-index: 1;
    transform: translate3d(-14%, 0.8%, -96px) rotate(4deg) scale(0.8);
    opacity: 0.88;
}

@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
    .project-card:hover .stacked-preview__image--1 {
        transform: translate3d(-59%, 1.2%, 0) rotate(-5deg) scale(0.78);
        box-shadow: 0 34px 86px rgba(0, 0, 0, 0.42);
    }

    .project-card:hover .stacked-preview__image--2 {
        transform: translate3d(-51.5%, 0.3%, -16px) rotate(-3.4deg) scale(0.8);
    }

    .project-card:hover .stacked-preview__image--3 {
        transform: translate3d(-44%, -0.5%, -32px) rotate(-1.8deg) scale(0.82);
    }

    .project-card:hover .stacked-preview__image--4 {
        transform: translate3d(-36.5%, -1%, -48px) rotate(0deg) scale(0.84);
    }

    .project-card:hover .stacked-preview__image--5 {
        transform: translate3d(-29%, -0.5%, -64px) rotate(1.8deg) scale(0.82);
    }

    .project-card:hover .stacked-preview__image--6 {
        transform: translate3d(-21.5%, 0.3%, -80px) rotate(3.4deg) scale(0.8);
    }

    .project-card:hover .stacked-preview__image--7 {
        transform: translate3d(-14%, 1.2%, -96px) rotate(5deg) scale(0.78);
    }
}

@media (hover: hover) and (pointer: fine) {
    .stacked-preview[data-active] .stacked-preview__image,
    .dealer-preview[data-active] .dealer-preview__image {
        opacity: 0.58;
    }

    .stacked-preview[data-active="1"] .stacked-preview__image--1,
    .stacked-preview[data-active="2"] .stacked-preview__image--2,
    .stacked-preview[data-active="3"] .stacked-preview__image--3,
    .stacked-preview[data-active="4"] .stacked-preview__image--4,
    .stacked-preview[data-active="5"] .stacked-preview__image--5,
    .stacked-preview[data-active="6"] .stacked-preview__image--6,
    .stacked-preview[data-active="7"] .stacked-preview__image--7 {
        z-index: 40;
        opacity: 1;
        transform: translate3d(-50%, -2%, 0) rotate(0deg) scale(0.96);
        box-shadow: 0 34px 88px rgba(0, 0, 0, 0.48);
    }

    .dealer-preview[data-active="1"] .dealer-preview__image--1,
    .dealer-preview[data-active="2"] .dealer-preview__image--2,
    .dealer-preview[data-active="3"] .dealer-preview__image--3,
    .dealer-preview[data-active="4"] .dealer-preview__image--4,
    .dealer-preview[data-active="5"] .dealer-preview__image--5,
    .dealer-preview[data-active="6"] .dealer-preview__image--6,
    .dealer-preview[data-active="7"] .dealer-preview__image--7,
    .dealer-preview[data-active="8"] .dealer-preview__image--8 {
        z-index: 40;
        opacity: 1;
        transform: translate3d(-50%, -2%, 0) rotate(0deg) scale(0.96);
        box-shadow: 0 34px 88px rgba(8, 36, 66, 0.34);
    }
}

/* Code-native illustrative interfaces */
.interface-visual {
    aspect-ratio: 16 / 10;
    min-height: 0;
    container-type: inline-size;
    background:
        radial-gradient(circle at 78% 18%, rgba(39, 216, 255, 0.2), transparent 36%),
        radial-gradient(circle at 16% 88%, rgba(20, 124, 255, 0.16), transparent 34%),
        #080a0f;
}

.interface-visual::before {
    z-index: 0;
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
    background-size: 2rem 2rem;
}

.interface-visual::after {
    display: none;
}

.product-ui {
    position: absolute;
    inset: 5.5%;
    z-index: 2;
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: clamp(0.65rem, 2.6cqw, 1.05rem);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(7, 10, 16, 0.94);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(39, 216, 255, 0.04);
    font-size: clamp(0.46rem, 1.48cqw, 0.72rem);
}

.product-ui__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.65em 0.85em;
    background: rgba(255, 255, 255, 0.035);
}

.product-ui__brand,
.product-ui__actions,
.product-ui__label,
.product-ui__status,
.product-ui__person,
.product-ui__stage-title,
.product-ui__row,
.public-ui__flow-step,
.public-ui__summary-row,
.public-ui__request {
    display: flex;
    align-items: center;
}

.product-ui__brand {
    min-width: 0;
    gap: 0.6em;
    font-weight: 800;
}

.product-ui__mark {
    display: grid;
    width: 2em;
    height: 2em;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.55em;
    color: #050505;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    font-size: 0.72em;
    font-weight: 900;
}

.product-ui__actions {
    gap: 0.55em;
    color: rgba(255, 255, 255, 0.52);
}

.product-ui__search {
    width: 10em;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    padding: 0.48em 0.8em;
    background: rgba(255, 255, 255, 0.04);
}

.product-ui__person {
    justify-content: center;
    width: 2em;
    height: 2em;
    border: 1px solid rgba(39, 216, 255, 0.28);
    border-radius: 50%;
    color: var(--cyan);
    font-size: 0.8em;
    font-weight: 900;
}

.product-ui__panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.8em;
    background: rgba(255, 255, 255, 0.035);
}

.product-ui__label {
    justify-content: space-between;
    gap: 0.5em;
    margin-bottom: 0.62em;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.78em;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-ui__status {
    width: fit-content;
    gap: 0.38em;
    border: 1px solid rgba(39, 216, 255, 0.16);
    border-radius: 999px;
    padding: 0.28em 0.58em;
    color: #8eeaff;
    background: rgba(39, 216, 255, 0.08);
    font-size: 0.82em;
    font-weight: 800;
}

.product-ui__status::before {
    content: "";
    width: 0.42em;
    height: 0.42em;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0.7em rgba(39, 216, 255, 0.72);
}

.ops-ui {
    grid-template-rows: auto minmax(0, 1fr);
}

.ops-ui__layout {
    display: grid;
    grid-template-columns: 4.6em minmax(0, 1fr);
    min-height: 0;
}

.ops-ui__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65em;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75em 0.5em;
    background: rgba(255, 255, 255, 0.018);
}

.ops-ui__rail span {
    display: grid;
    width: 2.25em;
    height: 2.25em;
    place-items: center;
    border-radius: 0.65em;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.75em;
    font-weight: 900;
}

.ops-ui__rail span:first-child {
    color: var(--cyan);
    background: rgba(39, 216, 255, 0.1);
}

.ops-ui__main {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 0.65em;
    min-width: 0;
    padding: 0.82em;
}

.ops-ui__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75em;
}

.ops-ui__heading strong {
    font-size: 1.14em;
}

.ops-ui__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55em;
}

.ops-ui__summary .product-ui__panel {
    padding: 0.62em 0.72em;
}

.ops-ui__summary span {
    display: block;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.76em;
}

.ops-ui__summary strong {
    display: block;
    margin-top: 0.28em;
    font-size: 1em;
}

.ops-ui__summary i {
    display: block;
    width: 72%;
    height: 0.24em;
    margin-top: 0.52em;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    opacity: 0.8;
}

.ops-ui__workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(8em, 0.72fr);
    gap: 0.65em;
    min-height: 0;
}

.ops-ui__board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.42em;
    padding: 0.65em;
}

.product-ui__stage {
    min-width: 0;
    border-radius: 0.62em;
    padding: 0.5em;
    background: rgba(255, 255, 255, 0.025);
}

.product-ui__stage-title {
    justify-content: space-between;
    gap: 0.3em;
    margin-bottom: 0.46em;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.72em;
    font-weight: 800;
    text-transform: uppercase;
}

.product-ui__record {
    margin-top: 0.38em;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.55em;
    padding: 0.52em;
    background: rgba(255, 255, 255, 0.04);
}

.product-ui__record strong,
.product-ui__record span {
    display: block;
}

.product-ui__record strong {
    font-size: 0.78em;
}

.product-ui__record span {
    margin-top: 0.35em;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.68em;
}

.product-ui__record.is-active {
    border-color: rgba(39, 216, 255, 0.36);
    background: linear-gradient(135deg, rgba(39, 216, 255, 0.1), rgba(20, 124, 255, 0.05));
}

.ops-ui__detail {
    display: grid;
    align-content: start;
    gap: 0.52em;
    padding: 0.68em;
}

.product-ui__row {
    justify-content: space-between;
    gap: 0.5em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    padding-bottom: 0.42em;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72em;
}

.product-ui__row strong {
    color: rgba(255, 255, 255, 0.86);
    text-align: right;
}

.ops-ui__approval {
    margin-top: 0.18em;
    border-radius: 0.55em;
    padding: 0.54em;
    color: #c8f6ff;
    background: rgba(39, 216, 255, 0.09);
    font-size: 0.72em;
    font-weight: 800;
    text-align: center;
}

.public-ui {
    grid-template-rows: auto minmax(0, 1fr);
}

.public-ui__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 0.7em;
    min-height: 0;
    padding: 0.75em;
}

.public-ui__customer,
.public-ui__admin {
    display: grid;
    min-width: 0;
    min-height: 0;
}

.public-ui__customer {
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.58em;
}

.public-ui__flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25em;
}

.public-ui__flow-step {
    gap: 0.38em;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.72em;
    font-weight: 800;
}

.public-ui__flow-step i {
    display: grid;
    width: 1.55em;
    height: 1.55em;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    font-style: normal;
}

.public-ui__flow-step.is-complete,
.public-ui__flow-step.is-current {
    color: #b9f4ff;
}

.public-ui__flow-step.is-complete i,
.public-ui__flow-step.is-current i {
    border-color: rgba(39, 216, 255, 0.42);
    background: rgba(39, 216, 255, 0.09);
}

.public-ui__composite {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(7em, 0.75fr);
    gap: 0.55em;
    min-height: 0;
}

.public-ui__map {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background:
        linear-gradient(30deg, transparent 48%, rgba(39, 216, 255, 0.12) 49% 51%, transparent 52%),
        linear-gradient(120deg, transparent 48%, rgba(20, 124, 255, 0.13) 49% 51%, transparent 52%),
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        #0c121a;
    background-size: auto, auto, 1.4em 1.4em, 1.4em 1.4em;
}

.public-ui__map::before {
    content: "";
    position: absolute;
    left: 42%;
    top: 35%;
    width: 2.2em;
    height: 2.2em;
    transform: rotate(45deg);
    border: 0.24em solid rgba(39, 216, 255, 0.9);
    border-radius: 50% 50% 50% 0;
    background: rgba(39, 216, 255, 0.12);
    box-shadow: 0 0 1.3em rgba(39, 216, 255, 0.42);
}

.public-ui__map-card {
    position: absolute;
    left: 0.6em;
    right: 0.6em;
    bottom: 0.6em;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.5em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.58em;
    padding: 0.54em;
    background: rgba(7, 10, 16, 0.88);
    backdrop-filter: blur(8px);
}

.public-ui__map-card span,
.public-ui__map-card strong {
    display: block;
}

.public-ui__map-card span {
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.66em;
}

.public-ui__map-card strong {
    margin-top: 0.22em;
    font-size: 0.8em;
}

.public-ui__checkout {
    padding: 0.62em;
}

.public-ui__summary-row {
    justify-content: space-between;
    gap: 0.45em;
    padding: 0.48em 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7em;
}

.public-ui__summary-row strong {
    color: rgba(255, 255, 255, 0.86);
}

.public-ui__pay-button {
    margin-top: 0.62em;
    border-radius: 0.55em;
    padding: 0.6em;
    color: #050505;
    background: linear-gradient(90deg, var(--cyan), #79e8ff);
    font-size: 0.72em;
    font-weight: 900;
    text-align: center;
}

.public-ui__admin {
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: 0.68em;
}

.public-ui__admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5em;
    padding-bottom: 0.5em;
}

.public-ui__admin-header strong {
    font-size: 0.86em;
}

.public-ui__request-list {
    display: grid;
    align-content: start;
    gap: 0.4em;
    min-height: 0;
}

.public-ui__request {
    justify-content: space-between;
    gap: 0.5em;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 0.55em;
    padding: 0.5em;
    background: rgba(255, 255, 255, 0.028);
}

.public-ui__request strong,
.public-ui__request span {
    display: block;
}

.public-ui__request strong {
    font-size: 0.72em;
}

.public-ui__request span {
    margin-top: 0.24em;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.64em;
}

.public-ui__request em {
    border-radius: 999px;
    padding: 0.3em 0.5em;
    color: #9deeff;
    background: rgba(39, 216, 255, 0.08);
    font-size: 0.62em;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.public-ui__activity {
    display: flex;
    align-items: center;
    gap: 0.35em;
    padding-top: 0.5em;
}

.public-ui__activity i {
    height: 0.34em;
    flex: 1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.public-ui__activity i:nth-child(-n+3) {
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

@media (max-width: 640px) {
    .interface-visual {
        aspect-ratio: 4 / 3;
    }

    .product-ui {
        inset: 5%;
        font-size: clamp(0.42rem, 2.25cqw, 0.58rem);
    }

    .product-ui__search,
    .ops-ui__rail span:nth-child(n+4),
    .ops-ui__summary>div:nth-child(3),
    .product-ui__stage:nth-child(3),
    .public-ui__flow-step span,
    .public-ui__request:nth-child(3) {
        display: none;
    }

    .ops-ui__summary,
    .ops-ui__board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ops-ui__workspace {
        grid-template-columns: minmax(0, 1.45fr) minmax(7.5em, 0.8fr);
    }

    .public-ui__layout {
        grid-template-columns: minmax(0, 1.14fr) minmax(8.2em, 0.86fr);
    }

    .public-ui__composite {
        grid-template-columns: minmax(0, 1fr) minmax(6.5em, 0.72fr);
    }
}

.spec-label {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.visual-disclosure {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #08090c;
    color: rgba(255, 255, 255, 0.66);
    padding: 0.7rem 1.25rem;
    font-size: 0.75rem;
    line-height: 1.5;
}

/* About, contact form, and reveal behavior */
.founder-photo {
    width: min(100%, 22rem);
    justify-self: center;
}

.field {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    outline: none;
    padding: 1rem 1.05rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.field::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.field:focus {
    border-color: rgba(39, 216, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(39, 216, 255, 0.14);
    transform: translateY(-1px);
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) {
    transition-delay: 70ms;
}

.reveal:nth-child(3) {
    transition-delay: 120ms;
}

.reveal:nth-child(4) {
    transition-delay: 170ms;
}

@media (max-width: 640px) {
    .hero-section {
        min-height: auto;
    }

    .hero-inner {
        min-height: auto;
        padding-top: 2.25rem;
        padding-bottom: 4.5rem;
    }

    .hero-heading {
        font-size: clamp(2.65rem, 12.8vw, 3.25rem);
        line-height: 0.98;
    }

    .hero-eyebrow {
        max-width: 18rem;
        margin-bottom: 1rem;
        font-size: 0.72rem;
        line-height: 1.5;
        letter-spacing: 0.16em;
    }

    .hero-copy {
        margin-top: 1.25rem;
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-actions {
        margin-top: 1.75rem;
    }

    .trust-item {
        padding: 1rem 0;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
    }

    .section-pad {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .section-title {
        font-size: clamp(2rem, 10vw, 2.7rem);
        line-height: 1.06;
    }

    .project-card,
    .service-card {
        border-radius: 1.1rem;
        box-shadow: 0 16px 48px rgba(17, 18, 22, 0.08);
    }

    .project-card>div:last-child {
        padding: 1.25rem;
    }

    .project-visual::after {
        left: 0.9rem;
        right: 0.9rem;
        bottom: 0.9rem;
        height: 5.5rem;
        border-radius: 0.8rem;
    }

    .stacked-preview {
        inset: 11% 9%;
    }

    .stacked-preview__image {
        border-radius: 0.65rem;
        box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
    }

    .stacked-preview__image--1 {
        transform: translate3d(-55%, 0.8%, 0) rotate(-3.2deg) scale(0.8);
    }

    .stacked-preview__image--2 {
        transform: translate3d(-48%, 0.2%, -16px) rotate(-2.2deg) scale(0.82);
    }

    .stacked-preview__image--3 {
        transform: translate3d(-41%, -0.4%, -32px) rotate(-1.2deg) scale(0.84);
    }

    .stacked-preview__image--4 {
        transform: translate3d(-34%, -0.7%, -48px) rotate(0deg) scale(0.86);
    }

    .stacked-preview__image--5 {
        transform: translate3d(-27%, -0.4%, -64px) rotate(1.2deg) scale(0.84);
    }

    .stacked-preview__image--6 {
        transform: translate3d(-20%, 0.2%, -80px) rotate(2.2deg) scale(0.82);
    }

    .stacked-preview__image--7 {
        transform: translate3d(-13%, 0.8%, -96px) rotate(3.2deg) scale(0.8);
    }

    .dealer-preview {
        inset: 10% 7%;
    }

    .dealer-preview__image {
        border-radius: 0.65rem;
        box-shadow: 0 16px 42px rgba(8, 36, 66, 0.18);
    }

    .dealer-preview__image--1 {
        transform: translate3d(-55%, 0.8%, 0) rotate(-3.2deg) scale(0.8);
    }

    .dealer-preview__image--2 {
        transform: translate3d(-49%, 0.2%, 0) rotate(-2.4deg) scale(0.82);
    }

    .dealer-preview__image--3 {
        transform: translate3d(-43%, -0.3%, 0) rotate(-1.6deg) scale(0.84);
    }

    .dealer-preview__image--4 {
        transform: translate3d(-37%, -0.7%, 0) rotate(-0.6deg) scale(0.86);
    }

    .dealer-preview__image--5 {
        transform: translate3d(-31%, -0.7%, 0) rotate(0.6deg) scale(0.86);
    }

    .dealer-preview__image--6 {
        transform: translate3d(-25%, -0.3%, 0) rotate(1.6deg) scale(0.84);
    }

    .dealer-preview__image--7 {
        transform: translate3d(-19%, 0.2%, 0) rotate(2.4deg) scale(0.82);
    }

    .dealer-preview__image--8 {
        transform: translate3d(-13%, 0.8%, 0) rotate(3.2deg) scale(0.8);
    }

    .service-card {
        padding: 1.25rem;
    }
}

@media (min-width: 768px) {
    .trust-strip__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .trust-item {
        padding: 1.45rem 1.6rem;
    }

    .trust-item:first-child {
        padding-left: 0;
    }

    .trust-item:last-child {
        padding-right: 0;
    }

    .trust-item+.trust-item {
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (min-width: 1536px) {
    .hero-inner {
        min-height: 52rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button-primary,
    .button-secondary,
    .project-card,
    .service-card,
    .dealer-preview__image,
    .stacked-preview__image,
    .field,
    .scroll-progress__bar,
    .reveal {
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .skip-link {
        transition: none;
    }
}
