:root {
    --sw-bg: #04020a;
    --sw-bg-2: #090716;
    --sw-panel: rgba(15, 18, 34, 0.68);
    --sw-panel-strong: rgba(16, 20, 42, 0.9);
    --sw-line: rgba(255, 255, 255, 0.14);
    --sw-line-hot: rgba(104, 244, 255, 0.36);
    --sw-text: #fff9f1;
    --sw-muted: #b9b4c9;
    --sw-cyan: #52f6ff;
    --sw-mint: #77ffc7;
    --sw-pink: #ff4fe8;
    --sw-violet: #8b5cff;
    --sw-gold: #f7c96c;
    --sw-amber: #ff9a3d;
    --sw-shadow: 0 30px 100px rgba(0, 0, 0, 0.46);
    --sw-glow-cyan: 0 0 34px rgba(82, 246, 255, 0.34);
    --sw-glow-pink: 0 0 34px rgba(255, 79, 232, 0.28);
    --sw-max: 1180px;
    --sw-radius: 30px;
    --sw-x: 50vw;
    --sw-y: 28vh;
}

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

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

body.starwave-body {
    margin: 0;
    min-height: 100vh;
    color: var(--sw-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at var(--sw-x) var(--sw-y), rgba(82, 246, 255, 0.18), transparent 18rem),
        radial-gradient(circle at 10% 4%, rgba(255, 79, 232, 0.22), transparent 30rem),
        radial-gradient(circle at 88% 12%, rgba(119, 255, 199, 0.14), transparent 32rem),
        radial-gradient(circle at 50% 100%, rgba(139, 92, 255, 0.22), transparent 34rem),
        linear-gradient(180deg, #04020a 0%, #0b0716 48%, #04020a 100%);
    overflow-x: hidden;
}

body.starwave-body::before,
body.starwave-body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

body.starwave-body::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 76%);
}

body.starwave-body::after {
    z-index: -1;
    opacity: 0.34;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1.6px),
        radial-gradient(circle at 70% 18%, rgba(82, 246, 255, 0.18) 0 1px, transparent 1.8px),
        radial-gradient(circle at 42% 72%, rgba(255, 79, 232, 0.12) 0 1px, transparent 1.8px);
    background-size: 120px 120px, 170px 170px, 210px 210px;
    animation: sw-stars 26s linear infinite;
}

a {
    color: inherit;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.starwave-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.starwave-cursor-glow {
    position: fixed;
    left: var(--sw-x);
    top: var(--sw-y);
    z-index: 0;
    width: 34rem;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(82, 246, 255, 0.16), rgba(255, 79, 232, 0.08) 36%, transparent 68%);
    filter: blur(8px);
    opacity: 0.85;
    mix-blend-mode: screen;
}

.starwave-nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    z-index: 50;
    width: min(calc(100% - 32px), var(--sw-max));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.68rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(7, 7, 18, 0.68);
    backdrop-filter: blur(24px);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(82, 246, 255, 0.06);
}

.starwave-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    text-decoration: none;
}

.starwave-brand__logo {
    width: clamp(8.8rem, 14vw, 12.5rem);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(82, 246, 255, 0.52));
}

.starwave-nav__links {
    display: flex;
    align-items: center;
    gap: 0.26rem;
}

.starwave-nav__links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.55rem;
    padding: 0.64rem 0.8rem;
    border-radius: 999px;
    color: rgba(255, 249, 241, 0.78);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.starwave-nav__links a:hover,
.starwave-nav__links a:focus-visible,
.starwave-nav__links a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    box-shadow: var(--sw-glow-cyan);
}

.starwave-nav__links .starwave-nav__cta {
    color: #071018;
    background: linear-gradient(135deg, var(--sw-mint), var(--sw-cyan) 46%, var(--sw-gold));
    box-shadow: 0 14px 36px rgba(82, 246, 255, 0.22);
}

.starwave-nav__toggle {
    display: none;
    width: 2.8rem;
    height: 2.8rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.starwave-nav__toggle span:not(.starwave-sr-only) {
    display: block;
    width: 1.05rem;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: currentColor;
}

.starwave-hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 8.8rem 1.25rem 5rem;
}

.starwave-hero__media,
.starwave-hero__veil,
.starwave-hero__fx {
    position: absolute;
    inset: 0;
}

.starwave-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
    filter: saturate(1.25) contrast(1.1);
}

.starwave-hero__veil {
    background:
        radial-gradient(circle at 72% 38%, rgba(82, 246, 255, 0.16), transparent 22rem),
        linear-gradient(90deg, rgba(4, 2, 10, 0.96) 0%, rgba(4, 2, 10, 0.76) 44%, rgba(4, 2, 10, 0.22) 100%),
        linear-gradient(180deg, rgba(4, 2, 10, 0.12) 0%, #04020a 100%);
}

.starwave-hero__fx {
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.starwave-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 35%, rgba(119, 255, 199, 0.17) 46%, transparent 58%),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px);
    mix-blend-mode: screen;
    opacity: 0.44;
    animation: sw-light-sweep 8.5s ease-in-out infinite;
}

.starwave-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, var(--sw-max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.58fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}

.starwave-eyebrow {
    margin: 0 0 0.9rem;
    color: var(--sw-cyan);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(82, 246, 255, 0.5);
}

.starwave-hero h1,
.starwave-section h2,
.starwave-strip h2,
.starwave-contact h2 {
    margin: 0;
    color: #fff;
    font-weight: 950;
    letter-spacing: -0.07em;
}

.starwave-hero h1 {
    max-width: 790px;
    font-size: clamp(3.6rem, 8.6vw, 8.25rem);
    line-height: 0.86;
    text-transform: uppercase;
    text-shadow: 0 12px 42px rgba(0, 0, 0, 0.5), 0 0 44px rgba(255, 79, 232, 0.18);
}

.starwave-hero__lead {
    max-width: 670px;
    margin: 1.35rem 0 0;
    color: rgba(255, 249, 241, 0.86);
    font-size: clamp(1.05rem, 2vw, 1.34rem);
    line-height: 1.62;
}

.starwave-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.starwave-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.18rem;
    padding: 0.9rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.starwave-btn:hover,
.starwave-btn:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.starwave-btn--primary {
    color: #061018;
    border-color: transparent;
    background: linear-gradient(135deg, var(--sw-mint), var(--sw-cyan) 42%, var(--sw-gold));
    box-shadow: 0 20px 56px rgba(82, 246, 255, 0.24);
}

.starwave-tilt {
    transform: perspective(980px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 220ms ease;
}

.is-pressed {
    transform: scale(0.985) !important;
}

.starwave-btn--glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.starwave-btn--glass:hover,
.starwave-btn--glass:focus-visible {
    border-color: rgba(82, 246, 255, 0.48);
    box-shadow: var(--sw-glow-cyan);
}

.starwave-hero__signal,
.starwave-console__chips,
.starwave-ip-strip,
.starwave-chip-cloud,
.starwave-award-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.starwave-hero__signal {
    margin-top: 1.8rem;
}

.starwave-hero__signal span,
.starwave-console__chips span,
.starwave-ip-strip span,
.starwave-chip-cloud span,
.starwave-award-list span,
.starwave-portfolio-tabs button {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.36rem 0.74rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 249, 241, 0.82);
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.76rem;
    font-weight: 850;
    text-decoration: none;
}

.starwave-hero__console {
    position: relative;
    z-index: 2;
    padding: 1rem;
    border: 1px solid rgba(119, 255, 199, 0.22);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 30% 0%, rgba(119, 255, 199, 0.16), transparent 12rem),
        rgba(7, 9, 18, 0.58);
    backdrop-filter: blur(20px);
    box-shadow: var(--sw-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    transform-style: preserve-3d;
}

.starwave-console__screen {
    position: relative;
    min-height: 230px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 1.35rem;
    background:
        linear-gradient(135deg, rgba(7, 10, 18, 0.26), rgba(7, 10, 18, 0.82)),
        url('/images/starwave/starwave-logo-slide.webp') center/cover;
}

.starwave-console__screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(119, 255, 199, 0.2), transparent 42%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 8px);
    mix-blend-mode: screen;
}

.starwave-console__screen img {
    position: relative;
    z-index: 1;
    width: min(80%, 320px);
    filter: drop-shadow(0 0 30px rgba(155, 244, 255, 0.78));
}

.starwave-console__pulse {
    position: absolute;
    inset: 18%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    animation: sw-pulse 2.8s ease-in-out infinite;
}

.starwave-console__readout {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    color: var(--sw-mint);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.16em;
}

.starwave-console__chips {
    margin-top: 0.86rem;
}

.starwave-hero__console p {
    margin: 0.9rem 0 0;
    color: rgba(255, 249, 241, 0.74);
    font-size: 0.92rem;
    line-height: 1.55;
}

.starwave-orbit {
    position: absolute;
    right: clamp(-10rem, -8vw, -3rem);
    top: 16%;
    width: clamp(22rem, 46vw, 46rem);
    aspect-ratio: 1;
    border: 1px solid rgba(82, 246, 255, 0.28);
    border-radius: 50%;
    box-shadow: inset 0 0 44px rgba(82, 246, 255, 0.16), 0 0 72px rgba(255, 79, 232, 0.14);
    transform: rotateX(64deg) rotateZ(-18deg);
    animation: sw-orbit 18s linear infinite;
}

.starwave-orbit--two {
    right: clamp(-8rem, -5vw, 1rem);
    top: 24%;
    width: clamp(16rem, 34vw, 34rem);
    border-color: rgba(247, 201, 108, 0.24);
    animation-duration: 24s;
    animation-direction: reverse;
}

.starwave-lightwave {
    position: absolute;
    width: 70vw;
    height: 22rem;
    right: -18vw;
    top: 22%;
    border-radius: 50%;
    border-top: 2px solid rgba(82, 246, 255, 0.5);
    filter: blur(0.2px) drop-shadow(0 0 22px rgba(82, 246, 255, 0.44));
    transform: rotate(-16deg);
    animation: sw-wave 6.8s ease-in-out infinite;
}

.starwave-lightwave--two {
    top: 36%;
    border-color: rgba(255, 79, 232, 0.44);
    animation-delay: -2.4s;
}

.starwave-particle-field {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(82, 246, 255, 0.7) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(255, 79, 232, 0.52) 0 1px, transparent 1.8px);
    background-size: 140px 140px, 190px 190px;
    opacity: 0.28;
    animation: sw-particles 18s linear infinite;
}

.starwave-scanline {
    position: absolute;
    left: 0;
    right: 0;
    top: 24%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(119, 255, 199, 0.78), transparent);
    box-shadow: 0 0 24px rgba(119, 255, 199, 0.76);
    animation: sw-scan 5.8s ease-in-out infinite;
}

.starwave-strip,
.starwave-section,
.starwave-contact,
.starwave-footer {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 2.5rem), var(--sw-max));
    margin-inline: auto;
}

.starwave-authority {
    position: relative;
    z-index: 3;
    width: min(calc(100% - 2.5rem), var(--sw-max));
    margin: -2.1rem auto 0;
}

.starwave-authority__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.starwave-authority__grid article,
.starwave-service-card,
.starwave-strength-grid article,
.starwave-model-grid div,
.starwave-footprint-grid article,
.starwave-list-panel,
.starwave-collab-callout,
.starwave-faq-grid article {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--sw-line);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
        var(--sw-panel);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
    transform-style: preserve-3d;
}

.starwave-authority__grid article::before,
.starwave-service-card::before,
.starwave-strength-grid article::before,
.starwave-model-grid div::before,
.starwave-footprint-grid article::before,
.starwave-list-panel::before,
.starwave-collab-callout::before,
.starwave-faq-grid article::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(82, 246, 255, 0.13), transparent 13rem),
        linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.07), transparent);
    opacity: 0.75;
    pointer-events: none;
}

.starwave-authority__grid article {
    min-height: 126px;
    padding: 1.02rem;
}

.starwave-authority strong,
.starwave-strength-grid strong,
.starwave-model-grid strong {
    position: relative;
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1rem;
}

.starwave-authority span,
.starwave-strength-grid span,
.starwave-model-grid span {
    position: relative;
    display: block;
    color: var(--sw-muted);
    font-size: 0.85rem;
    line-height: 1.48;
}

.starwave-marquee {
    overflow: hidden;
    margin-top: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.starwave-marquee div {
    display: flex;
    gap: 0.75rem;
    width: max-content;
    padding: 0.65rem 0;
    animation: sw-marquee 24s linear infinite;
}

.starwave-marquee span {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    color: rgba(255, 249, 241, 0.82);
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.8rem;
    font-weight: 850;
    white-space: nowrap;
}

.starwave-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 1.4rem;
    align-items: center;
    margin-top: 5.6rem;
    padding: 1rem;
    border: 1px solid var(--sw-line);
    border-radius: var(--sw-radius);
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 79, 232, 0.14), transparent 20rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
    box-shadow: var(--sw-shadow);
    backdrop-filter: blur(18px);
}

.starwave-strip img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 22px;
}

.starwave-strip div {
    padding: 1rem 1.2rem 1rem 0;
}

.starwave-strip h2,
.starwave-section h2,
.starwave-contact h2 {
    font-size: clamp(2.3rem, 5vw, 4.9rem);
    line-height: 0.98;
}

.starwave-strip p:last-child,
.starwave-section__head p:not(.starwave-eyebrow),
.starwave-section__head--split > p,
.starwave-awards-copy p:not(.starwave-eyebrow),
.starwave-contact p,
.starwave-list-panel p {
    color: var(--sw-muted);
    line-height: 1.72;
}

.starwave-section {
    padding: 6rem 0 0;
}

.starwave-section__head {
    max-width: 820px;
    margin-bottom: 2rem;
}

.starwave-section__head--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
    gap: 2rem;
    align-items: end;
}

.starwave-service-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.starwave-service-card {
    grid-column: span 2;
    min-height: 330px;
    padding: 1.25rem;
}

.starwave-service-card--wide {
    grid-column: span 4;
}

.starwave-service-card > span {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    color: #061018;
    background: linear-gradient(135deg, var(--sw-mint), var(--sw-gold));
    font-weight: 950;
    font-size: 0.8rem;
}

.starwave-service-card h3,
.starwave-card h3,
.starwave-awards-grid h3,
.starwave-footprint-grid h3,
.starwave-list-panel h3,
.starwave-faq-grid h3 {
    position: relative;
    margin: 1rem 0 0.58rem;
    color: #fff;
    font-size: 1.18rem;
}

.starwave-service-card p,
.starwave-awards-grid p,
.starwave-footprint-grid address,
.starwave-footprint-grid p,
.starwave-faq-grid p {
    position: relative;
    margin: 0;
    color: var(--sw-muted);
    font-size: 0.92rem;
    line-height: 1.62;
}

.starwave-service-card ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.starwave-service-card li {
    padding: 0.34rem 0.58rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 249, 241, 0.74);
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.75rem;
    font-weight: 800;
}

.starwave-ip-strip {
    margin-top: 1rem;
}

.starwave-ip-strip span {
    border-color: rgba(247, 201, 108, 0.24);
    color: #fff3c7;
}

.starwave-strength-grid,
.starwave-footprint-grid,
.starwave-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.starwave-strength-grid article,
.starwave-model-grid div,
.starwave-footprint-grid article,
.starwave-faq-grid article {
    padding: 1.25rem;
}

.starwave-portfolio-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: -0.8rem 0 1.3rem;
}

.starwave-portfolio-tabs button {
    cursor: pointer;
}

.starwave-portfolio-tabs button:hover,
.starwave-portfolio-tabs button:focus-visible,
.starwave-portfolio-tabs button.is-active {
    color: #061018;
    border-color: transparent;
    background: linear-gradient(135deg, var(--sw-cyan), var(--sw-mint));
    outline: none;
    box-shadow: var(--sw-glow-cyan);
}

.starwave-portfolio-panel[hidden] {
    display: none;
}

.starwave-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.starwave-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--sw-line);
    border-radius: var(--sw-radius);
    background: #100a18;
    box-shadow: var(--sw-shadow);
    transform-style: preserve-3d;
}

.starwave-card--wide {
    grid-column: span 2;
}

.starwave-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 650ms ease, filter 650ms ease;
}

.starwave-card:hover img,
.starwave-card:focus-within img {
    transform: scale(1.055);
    filter: saturate(1.16) contrast(1.08);
}

.starwave-card div {
    position: absolute;
    inset: auto 0 0;
    padding: 5rem 1.15rem 1.15rem;
    background: linear-gradient(180deg, transparent, rgba(4, 2, 10, 0.96) 68%);
}

.starwave-card p {
    margin: 0 0 0.45rem;
    color: var(--sw-cyan);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.starwave-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.28rem;
}

.starwave-card span {
    display: block;
    color: rgba(255, 249, 241, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
}

.starwave-chip-cloud {
    margin-top: 1rem;
}

.starwave-chip-cloud--large span {
    min-height: 2.35rem;
    font-size: 0.85rem;
}

.starwave-list-panel {
    min-height: 280px;
    padding: 1.5rem;
}

.starwave-list-panel h3,
.starwave-list-panel p,
.starwave-list-panel .starwave-chip-cloud {
    position: relative;
}

.starwave-section--awards {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
    gap: 2rem;
    align-items: center;
}

.starwave-award-list {
    margin-top: 1.2rem;
}

.starwave-award-list span {
    border-color: rgba(247, 201, 108, 0.25);
    color: #fff3c7;
}

.starwave-awards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.starwave-awards-grid article {
    overflow: hidden;
    border: 1px solid rgba(247, 201, 108, 0.22);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.starwave-awards-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.starwave-awards-grid h3,
.starwave-awards-grid p {
    margin-inline: 1rem;
}

.starwave-awards-grid p {
    margin-bottom: 1.1rem;
}

.starwave-upcoming-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.starwave-upcoming-grid article {
    overflow: hidden;
    border: 1px solid var(--sw-line);
    border-radius: 24px;
    background: rgba(17, 12, 28, 0.72);
    box-shadow: 0 20px 62px rgba(0, 0, 0, 0.26);
}

.starwave-upcoming-grid img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.starwave-upcoming-grid strong,
.starwave-upcoming-grid span {
    display: block;
    margin-inline: 1rem;
}

.starwave-upcoming-grid strong {
    margin-top: 1rem;
    color: #fff;
}

.starwave-upcoming-grid span {
    margin-top: 0.35rem;
    margin-bottom: 1rem;
    color: var(--sw-muted);
    font-size: 0.88rem;
}

.starwave-collab-callout {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1.25rem;
}

.starwave-collab-callout strong,
.starwave-collab-callout span {
    position: relative;
}

.starwave-collab-callout strong {
    color: #fff;
}

.starwave-collab-callout span {
    color: var(--sw-muted);
}

.starwave-model-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.starwave-contact {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(360px, 0.9fr);
    gap: 2rem;
    align-items: start;
    margin-top: 6rem;
    padding: 2rem;
    border: 1px solid rgba(82, 246, 255, 0.22);
    border-radius: 34px;
    background:
        radial-gradient(circle at 18% 12%, rgba(82, 246, 255, 0.17), transparent 18rem),
        radial-gradient(circle at 85% 80%, rgba(255, 79, 232, 0.13), transparent 20rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
    box-shadow: var(--sw-shadow);
}

.starwave-contact__quick {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.3rem;
}

.starwave-contact__quick a,
.starwave-contact__form label {
    display: block;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.18);
    text-decoration: none;
}

.starwave-contact__quick a:hover,
.starwave-contact__quick a:focus-visible {
    border-color: rgba(82, 246, 255, 0.5);
    outline: none;
    box-shadow: var(--sw-glow-cyan);
}

.starwave-contact__quick span,
.starwave-contact__form label > span {
    display: block;
    margin-bottom: 0.36rem;
    color: var(--sw-cyan);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.starwave-contact__quick strong {
    color: #fff;
    word-break: break-word;
}

.starwave-contact__form {
    display: grid;
    gap: 0.85rem;
}

.starwave-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.starwave-contact__form input,
.starwave-contact__form select,
.starwave-contact__form textarea {
    width: 100%;
    border: 0;
    color: #fff;
    background: transparent;
    outline: none;
}

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

.starwave-contact__form label:focus-within {
    border-color: rgba(82, 246, 255, 0.5);
    box-shadow: var(--sw-glow-cyan);
}

.starwave-form__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.starwave-form__status {
    margin: 0;
    color: var(--sw-muted);
    font-size: 0.9rem;
}

.starwave-form__status.is-ok {
    color: var(--sw-mint);
}

.starwave-form__status.is-err {
    color: #ff8da5;
}

.starwave-footprint-grid span {
    position: relative;
    color: var(--sw-cyan);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.starwave-footprint-grid h3 {
    margin-top: 0.7rem;
    font-size: 1.35rem;
}

.starwave-footprint-grid address {
    margin-top: 0.8rem;
    font-style: normal;
}

.starwave-faq-grid article {
    padding: 1.2rem;
}

.starwave-faq-grid h3 {
    margin: 0 0 0.55rem;
}

.starwave-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 3.2rem 0 2.2rem;
    color: rgba(255, 249, 241, 0.6);
    font-size: 0.85rem;
}

.starwave-footer p {
    margin: 0;
}

.starwave-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.9rem;
}

.starwave-footer a {
    color: rgba(255, 249, 241, 0.7);
    text-decoration: none;
}

.starwave-footer a:hover,
.starwave-footer a:focus-visible {
    color: #fff;
    outline: none;
}

.starwave-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.starwave-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.starwave-tilt {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0));
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.starwave-tilt:hover {
    --lift: -3px;
    border-color: var(--sw-line-hot);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34), var(--sw-glow-cyan);
}

@keyframes sw-stars {
    to { background-position: 120px 120px, -170px 170px, 210px -210px; }
}

@keyframes sw-light-sweep {
    0%, 100% { transform: translateX(-12%); opacity: 0.28; }
    45% { transform: translateX(15%); opacity: 0.54; }
}

@keyframes sw-orbit {
    to { transform: rotateX(64deg) rotateZ(342deg); }
}

@keyframes sw-wave {
    0%, 100% { transform: translateX(0) rotate(-16deg) scaleX(0.98); opacity: 0.35; }
    50% { transform: translateX(-4vw) rotate(-12deg) scaleX(1.04); opacity: 0.75; }
}

@keyframes sw-particles {
    to { background-position: 140px -140px, -190px 190px; }
}

@keyframes sw-scan {
    0%, 100% { transform: translateY(-8rem); opacity: 0; }
    35%, 65% { opacity: 1; }
    50% { transform: translateY(20rem); }
}

@keyframes sw-pulse {
    0%, 100% { transform: scale(0.92); opacity: 0.25; }
    50% { transform: scale(1.13); opacity: 0.72; }
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

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

@media (max-width: 980px) {
    .starwave-nav {
        align-items: center;
        border-radius: 28px;
    }

    .starwave-nav__toggle {
        display: inline-grid;
        place-items: center;
    }

    .starwave-nav__links {
        position: absolute;
        top: calc(100% + 0.65rem);
        left: 0;
        right: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem;
        padding: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 24px;
        background: rgba(7, 7, 18, 0.9);
        backdrop-filter: blur(24px);
        box-shadow: var(--sw-shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
    }

    .starwave-nav.is-open .starwave-nav__links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .starwave-nav__links a {
        justify-content: center;
    }

    .starwave-hero {
        min-height: auto;
        padding-top: 8.8rem;
    }

    .starwave-hero__content,
    .starwave-strip,
    .starwave-section__head--split,
    .starwave-section--awards,
    .starwave-contact {
        grid-template-columns: 1fr;
    }

    .starwave-hero h1 {
        font-size: clamp(3rem, 13vw, 5.6rem);
    }

    .starwave-hero__console {
        max-width: 580px;
    }

    .starwave-authority {
        margin-top: 1rem;
    }

    .starwave-authority__grid,
    .starwave-service-grid,
    .starwave-model-grid,
    .starwave-upcoming-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .starwave-service-card,
    .starwave-service-card--wide {
        grid-column: auto;
    }

    .starwave-portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .starwave-card--wide {
        grid-column: span 2;
    }

    .starwave-strip div {
        padding: 0.4rem 0.25rem 0.7rem;
    }
}

@media (max-width: 640px) {
    .starwave-nav {
        width: calc(100% - 20px);
        top: 0.6rem;
        padding: 0.52rem 0.72rem;
        border-radius: 22px;
    }

    .starwave-brand__logo {
        width: 10.15rem;
    }

    .starwave-nav__links {
        grid-template-columns: 1fr;
    }

    .starwave-hero {
        padding: 6.2rem 0.9rem 2.8rem;
        align-items: start;
    }

    .starwave-hero__media img {
        opacity: 0.44;
    }

    .starwave-hero__veil {
        background:
            linear-gradient(90deg, rgba(4, 2, 10, 0.98), rgba(4, 2, 10, 0.62)),
            linear-gradient(180deg, rgba(4, 2, 10, 0.25) 0%, #04020a 100%);
    }

    .starwave-hero h1 {
        max-width: 370px;
        font-size: clamp(2.55rem, 12vw, 3.45rem);
        line-height: 0.92;
        letter-spacing: -0.06em;
    }

    .starwave-eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.13em;
    }

    .starwave-hero__lead {
        max-width: 360px;
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .starwave-hero__actions,
    .starwave-btn {
        width: 100%;
    }

    .starwave-hero__actions {
        gap: 0.65rem;
        margin-top: 1.35rem;
    }

    .starwave-console__screen {
        min-height: 155px;
        border-radius: 1rem;
    }

    .starwave-authority,
    .starwave-strip,
    .starwave-section,
    .starwave-contact,
    .starwave-footer {
        width: min(calc(100% - 1.25rem), var(--sw-max));
    }

    .starwave-authority__grid,
    .starwave-service-grid,
    .starwave-strength-grid,
    .starwave-model-grid,
    .starwave-upcoming-grid,
    .starwave-footprint-grid,
    .starwave-faq-grid,
    .starwave-awards-grid,
    .starwave-form__row {
        grid-template-columns: 1fr;
    }

    .starwave-authority__grid article {
        min-height: auto;
    }

    .starwave-strip {
        margin-top: 3.8rem;
        padding: 0.78rem;
    }

    .starwave-strip img {
        min-height: 220px;
    }

    .starwave-section {
        padding-top: 4.2rem;
    }

    .starwave-section h2,
    .starwave-strip h2,
    .starwave-contact h2 {
        font-size: clamp(2.1rem, 12vw, 3.2rem);
    }

    .starwave-portfolio-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .starwave-portfolio-tabs button,
    .starwave-console__chips span,
    .starwave-hero__signal span {
        white-space: nowrap;
    }

    .starwave-portfolio-grid {
        display: flex;
        gap: 0.85rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.55rem;
    }

    .starwave-card,
    .starwave-card--wide {
        flex: 0 0 84%;
        min-height: 350px;
        grid-column: auto;
        scroll-snap-align: start;
    }

    .starwave-contact {
        margin-top: 4rem;
        padding: 1.1rem;
    }

    .starwave-collab-callout,
    .starwave-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .starwave-footer nav {
        justify-content: flex-start;
    }
}

/* ── Starwave R3: mobile-first futuristic interaction pass ── */
.starwave-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 70;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.starwave-scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #9fffe5, #38e8ff 40%, #ff6dde);
    box-shadow: 0 0 20px rgba(56, 232, 255, 0.65);
}

.starwave-nav {
    transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.starwave-nav.is-compact {
    transform: translateX(-50%) translateY(-0.28rem);
    border-color: rgba(56, 232, 255, 0.3);
    background: rgba(7, 6, 16, 0.92);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
}

.starwave-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.starwave-nav__links a.is-active {
    color: #fff;
    background: rgba(56, 232, 255, 0.2);
    border-color: rgba(56, 232, 255, 0.45);
}

.starwave-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

.starwave-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.24) 50%, transparent 58%);
    transform: translateX(-120%);
    transition: transform 500ms ease;
}

.starwave-btn:hover::after,
.starwave-btn:focus-visible::after {
    transform: translateX(120%);
}

.sw-reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    filter: blur(6px);
    transition: opacity 640ms ease, transform 640ms ease, filter 640ms ease;
}

.sw-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.starwave-interactive-card {
    position: relative;
    transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.starwave-interactive-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(159, 255, 229, 0.22), transparent 45%);
    transition: opacity 280ms ease;
}

.starwave-interactive-card:hover,
.starwave-interactive-card:focus-within {
    transform: translateY(-3px);
    border-color: rgba(159, 255, 229, 0.35);
    box-shadow: 0 24px 66px rgba(0, 0, 0, 0.36);
}

.starwave-interactive-card:hover::after,
.starwave-interactive-card:focus-within::after {
    opacity: 1;
}

.starwave-portfolio-carousel {
    display: grid;
    gap: 0.85rem;
}

.starwave-carousel-controls {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.starwave-carousel-controls.is-hidden {
    display: none !important;
}

.starwave-carousel-btn {
    min-height: 2.2rem;
    padding: 0.42rem 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: rgba(255, 248, 238, 0.92);
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.starwave-carousel-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 2.2rem;
    flex: 1;
}

.starwave-carousel-dot {
    width: 0.42rem;
    height: 0.42rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    padding: 0;
}

.starwave-carousel-dot.is-active {
    width: 1.15rem;
    background: linear-gradient(90deg, #9fffe5, #ff6dde);
}

.starwave-contact__quick-form {
    display: grid;
    gap: 0.62rem;
    margin-top: 0.25rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
}

.starwave-contact__quick-form h3 {
    margin: 0;
    color: #fff;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
}

.starwave-contact__quick-form label {
    display: grid;
    gap: 0.35rem;
    color: rgba(255, 248, 238, 0.88);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.starwave-contact__quick-form input,
.starwave-contact__quick-form select {
    min-height: 2.65rem;
    padding: 0.55rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: #fff;
    background: rgba(6, 6, 14, 0.72);
    font: inherit;
    font-size: 0.92rem;
}

.starwave-contact__quick-form input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.starwave-contact__quick-form input:focus-visible,
.starwave-contact__quick-form select:focus-visible {
    outline: none;
    border-color: rgba(56, 232, 255, 0.62);
    box-shadow: 0 0 0 3px rgba(56, 232, 255, 0.16);
}

.starwave-btn--compact {
    width: 100%;
    min-height: 2.75rem;
    margin-top: 0.25rem;
}

.starwave-contact__quick-form p {
    margin: 0;
    color: rgba(255, 248, 238, 0.66);
    font-size: 0.76rem;
    line-height: 1.45;
}

@media (max-width: 980px) {
    .starwave-nav {
        align-items: center;
        border-radius: 24px;
        padding: 0.62rem 0.72rem;
    }

    .starwave-nav__toggle {
        display: inline-flex;
    }

    .starwave-nav__links {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.4rem;
        padding: 0.55rem;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 18px;
        background: rgba(8, 7, 18, 0.95);
        box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px) scale(0.985);
        transition: opacity 220ms ease, transform 220ms ease;
    }

    .starwave-nav.is-open .starwave-nav__links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .starwave-nav__links a {
        min-height: 2.55rem;
        padding: 0.45rem 0.62rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        text-align: center;
        font-size: 0.76rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .starwave-hero {
        padding-top: 7.9rem;
    }
}

@media (max-width: 640px) {
    .starwave-nav {
        width: calc(100% - 14px);
        margin-top: 0.45rem;
        padding: 0.45rem 0.56rem;
    }

    .starwave-nav__toggle {
        min-height: 2.2rem;
        padding-inline: 0.75rem;
        font-size: 0.7rem;
    }

    .starwave-nav__links {
        grid-template-columns: 1fr;
        padding: 0.45rem;
    }

    .starwave-brand__logo {
        width: 8.95rem;
    }

    .starwave-hero {
        padding: 6rem 0.8rem 2rem;
    }

    .starwave-hero__content--next h1 {
        max-width: 320px;
        font-size: clamp(2rem, 10.8vw, 2.78rem);
        line-height: 0.96;
    }

    .starwave-hero__lead {
        max-width: 320px;
        margin-top: 1rem;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .starwave-hero__actions {
        gap: 0.55rem;
        margin-top: 1rem;
    }

    .starwave-btn {
        min-height: 2.85rem;
        padding: 0.72rem 0.95rem;
        font-size: 0.87rem;
    }

    .starwave-strip,
    .starwave-section,
    .starwave-gallery,
    .starwave-contact,
    .starwave-footer,
    .starwave-authority {
        width: min(calc(100% - 0.9rem), var(--sw-max));
    }

    .starwave-section {
        padding-top: 3.6rem;
    }

    .starwave-section h2,
    .starwave-contact h2 {
        font-size: clamp(1.8rem, 9.3vw, 2.35rem);
        line-height: 1.02;
    }

    .starwave-section__head p:not(.starwave-eyebrow),
    .starwave-section__head--split > p,
    .starwave-awards-copy p:not(.starwave-eyebrow),
    .starwave-contact p {
        font-size: 0.92rem;
        line-height: 1.62;
    }

    .starwave-thesis-grid article,
    .starwave-service-grid article,
    .starwave-model-grid div,
    .starwave-footprint-grid article,
    .starwave-roadmap li {
        border-radius: 20px;
    }

    .starwave-service-grid article {
        min-height: auto;
        padding: 1rem;
    }

    .starwave-portfolio-tabs {
        gap: 0.4rem;
        margin: -0.6rem 0 0.9rem;
    }

    .starwave-portfolio-tabs span {
        min-height: 1.8rem;
        padding: 0.3rem 0.58rem;
        font-size: 0.7rem;
    }

    .starwave-portfolio-grid {
        display: flex;
        gap: 0.72rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        padding-bottom: 0.4rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .starwave-portfolio-grid::-webkit-scrollbar {
        display: none;
    }

    .starwave-card {
        flex: 0 0 90%;
        min-height: 320px;
        scroll-snap-align: start;
    }

    .starwave-card div {
        padding: 4.25rem 0.95rem 0.9rem;
    }

    .starwave-card h3 {
        font-size: 1.05rem;
    }

    .starwave-card span {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .starwave-carousel-controls {
        display: flex;
    }

    .starwave-upcoming-grid article,
    .starwave-faq-grid article,
    .starwave-contact__link {
        border-radius: 18px;
    }

    .starwave-contact {
        margin-top: 3.4rem;
        padding: 1rem;
        gap: 1rem;
    }

    .starwave-contact__quick-form {
        padding: 0.85rem;
        border-radius: 16px;
    }

    .starwave-contact__quick-form h3 {
        font-size: 0.92rem;
    }

    .starwave-contact__quick-form input,
    .starwave-contact__quick-form select {
        min-height: 2.45rem;
        font-size: 0.88rem;
    }

    .starwave-footer {
        gap: 1rem;
        padding: 2rem 0 1.3rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 420px) {
    .starwave-hero {
        padding-top: 5.7rem;
    }

    .starwave-eyebrow {
        margin-bottom: 0.58rem;
        font-size: 0.62rem;
        letter-spacing: 0.11em;
    }

    .starwave-hero__content--next h1 {
        font-size: clamp(1.88rem, 10.2vw, 2.45rem);
    }

    .starwave-authority__grid article {
        padding: 0.85rem;
    }

    .starwave-authority strong {
        font-size: 0.89rem;
    }

    .starwave-authority span {
        font-size: 0.77rem;
    }

    .starwave-card {
        flex-basis: 92%;
    }

    .starwave-carousel-btn {
        min-height: 2rem;
        padding: 0.32rem 0.68rem;
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sw-reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    .starwave-interactive-card,
    .starwave-btn {
        transition: none !important;
    }

    .starwave-interactive-card::after,
    .starwave-btn::after {
        display: none;
    }

    .starwave-tilt {
        transform: none !important;
        transition: none !important;
    }
}

/* ── Starwave R4: readability + stronger futuristic interaction ── */
:root {
    --sw-gold: #99f8ff;
    --sw-amber: #99f8ff;
    --sw-pink: #ff61d7;
    --sw-cyan: #50efff;
    --sw-text: #f4f7ff;
    --sw-muted: #bec7e8;
}

body.starwave-body {
    background:
        radial-gradient(circle at 12% -8%, rgba(80, 239, 255, 0.24), transparent 32rem),
        radial-gradient(circle at 84% 5%, rgba(255, 97, 215, 0.2), transparent 30rem),
        radial-gradient(circle at 46% 94%, rgba(92, 128, 255, 0.2), transparent 32rem),
        linear-gradient(180deg, #04070f 0%, #0a1021 44%, #050a16 100%);
}

body.starwave-body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        conic-gradient(from 120deg at 18% 10%, rgba(80, 239, 255, 0.15), transparent 28%),
        conic-gradient(from 300deg at 78% 18%, rgba(255, 97, 215, 0.14), transparent 32%),
        radial-gradient(circle at 50% 56%, rgba(165, 130, 255, 0.12), transparent 48%);
    filter: blur(36px) saturate(1.2);
    animation: sw-aurora 15s ease-in-out infinite alternate;
}

.starwave-nav {
    border-color: rgba(80, 239, 255, 0.24);
    background: rgba(4, 10, 22, 0.8);
}

.starwave-hero__lead,
.starwave-section__head p:not(.starwave-eyebrow),
.starwave-section__head--split > p,
.starwave-awards-copy p:not(.starwave-eyebrow),
.starwave-contact p {
    color: rgba(235, 241, 255, 0.84);
}

.starwave-hero__signal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.1rem;
}

.starwave-hero__signal span {
    display: inline-flex;
    align-items: center;
    min-height: 1.95rem;
    padding: 0.28rem 0.72rem;
    border: 1px solid rgba(80, 239, 255, 0.35);
    border-radius: 999px;
    color: rgba(234, 247, 255, 0.92);
    background: rgba(4, 14, 28, 0.56);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.starwave-btn--primary {
    color: #031019;
    background: linear-gradient(130deg, #e4fdff 0%, #98f6ff 42%, #9bb2ff 70%, #ff7be4 100%);
    box-shadow: 0 16px 44px rgba(80, 239, 255, 0.28);
}

.starwave-hero__console {
    border-color: rgba(80, 239, 255, 0.34);
    background:
        radial-gradient(circle at 20% -8%, rgba(80, 239, 255, 0.2), transparent 12rem),
        radial-gradient(circle at 84% 120%, rgba(255, 97, 215, 0.16), transparent 14rem),
        rgba(7, 11, 24, 0.64);
}

.starwave-portfolio-tabs span,
.starwave-console__chips span {
    border-color: rgba(80, 239, 255, 0.25);
    background: rgba(80, 239, 255, 0.11);
}

.starwave-contact__quick-form {
    border-color: rgba(80, 239, 255, 0.25);
    background:
        radial-gradient(circle at 80% 0%, rgba(255, 97, 215, 0.14), transparent 10rem),
        rgba(6, 10, 22, 0.58);
}

.starwave-contact__quick-form input,
.starwave-contact__quick-form select {
    border-color: rgba(80, 239, 255, 0.24);
    background: rgba(7, 12, 25, 0.92);
}

.sw-js .sw-stagger-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.sw-js .is-live .sw-stagger-item {
    opacity: 1;
    transform: translateY(0);
}

.sw-js .is-live .sw-stagger-item:nth-child(2) { transition-delay: 50ms; }
.sw-js .is-live .sw-stagger-item:nth-child(3) { transition-delay: 100ms; }
.sw-js .is-live .sw-stagger-item:nth-child(4) { transition-delay: 150ms; }
.sw-js .is-live .sw-stagger-item:nth-child(5) { transition-delay: 200ms; }

@keyframes sw-aurora {
    0% { transform: translate3d(-1.2%, 0, 0) scale(1.02); opacity: 0.68; }
    50% { transform: translate3d(1.6%, -0.8%, 0) scale(1.05); opacity: 0.86; }
    100% { transform: translate3d(-0.8%, 1.2%, 0) scale(1.03); opacity: 0.74; }
}

@media (max-width: 640px) {
    .starwave-orbit,
    .starwave-beam,
    .starwave-scanline {
        display: none;
    }

    .starwave-nav {
        width: calc(100% - 10px);
        margin-top: 0.3rem;
    }

    .starwave-nav__links a {
        text-align: left;
        font-size: 0.72rem;
    }

    .starwave-hero {
        padding: 5.2rem 0.68rem 1.2rem;
    }

    .starwave-hero__content--next h1 {
        max-width: 260px;
        font-size: clamp(1.5rem, 8.3vw, 2.02rem);
        line-height: 1.04;
        letter-spacing: -0.03em;
    }

    .starwave-hero__lead {
        max-width: 288px;
        margin-top: 0.7rem;
        font-size: 0.84rem;
        line-height: 1.46;
    }

    .starwave-hero__signal {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.38rem;
        margin-top: 0.65rem;
    }

    .starwave-hero__signal span {
        min-height: 1.6rem;
        width: fit-content;
        max-width: 100%;
        padding: 0.18rem 0.52rem;
        font-size: 0.58rem;
        letter-spacing: 0.04em;
        text-transform: none;
        border-color: rgba(80, 239, 255, 0.32);
        background: rgba(4, 14, 28, 0.7);
    }

    .starwave-hero__console {
        margin-top: 0.45rem;
        padding: 0.62rem;
        border-radius: 1.1rem;
    }

    .starwave-strip,
    .starwave-section,
    .starwave-gallery,
    .starwave-contact,
    .starwave-footer,
    .starwave-authority {
        width: min(calc(100% - 0.75rem), var(--sw-max));
    }

    .starwave-section {
        padding-top: 3.1rem;
    }

    .starwave-section h2,
    .starwave-contact h2 {
        font-size: clamp(1.52rem, 8.2vw, 2rem);
        line-height: 1.08;
        letter-spacing: -0.02em;
    }

    .starwave-section__head {
        margin-bottom: 1.2rem;
    }

    .starwave-section__head p:not(.starwave-eyebrow),
    .starwave-section__head--split > p,
    .starwave-awards-copy p:not(.starwave-eyebrow),
    .starwave-contact p {
        font-size: 0.88rem;
        line-height: 1.56;
    }

    .starwave-thesis-grid article,
    .starwave-service-grid article,
    .starwave-model-grid div,
    .starwave-footprint-grid article,
    .starwave-roadmap li,
    .starwave-faq-grid article,
    .starwave-upcoming-grid article {
        min-height: auto;
        padding: 0.95rem;
    }

    .starwave-thesis-grid h3,
    .starwave-service-grid h3,
    .starwave-card h3,
    .starwave-awards-grid h3,
    .starwave-footprint-grid h3 {
        margin-top: 0.62rem;
        font-size: 0.98rem;
    }

    .starwave-thesis-grid p,
    .starwave-service-grid p,
    .starwave-awards-grid p,
    .starwave-footprint-grid p,
    .starwave-footprint-grid address,
    .starwave-model-grid span,
    .starwave-roadmap span {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .starwave-portfolio-tabs {
        flex-wrap: wrap;
        overflow-x: visible;
        margin: -0.5rem 0 0.75rem;
    }

    .starwave-portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        overflow: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
    }

    .starwave-card,
    .starwave-card--wide {
        display: block;
        min-height: auto;
        flex: unset;
        grid-column: auto;
        border-radius: 18px;
    }

    .starwave-card img {
        width: 100%;
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .starwave-card div {
        position: static;
        inset: auto;
        padding: 0.9rem;
        background: linear-gradient(180deg, rgba(5, 10, 20, 0.04), rgba(5, 10, 20, 0.82) 48%);
    }

    .starwave-card p {
        font-size: 0.66rem;
    }

    .starwave-card h3 {
        margin-bottom: 0.32rem;
        font-size: 0.98rem;
    }

    .starwave-card span {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .starwave-carousel-controls {
        display: none;
    }

    .starwave-gallery {
        gap: 0.7rem;
        padding-top: 3rem;
    }

    .starwave-gallery img {
        height: 206px;
        border-radius: 16px;
    }

    .starwave-contact {
        margin-top: 2.9rem;
        padding: 0.9rem;
    }

    .starwave-contact__link {
        padding: 0.85rem;
    }

    .starwave-contact__quick-form {
        gap: 0.5rem;
        padding: 0.74rem;
    }

    .starwave-contact__quick-form label {
        gap: 0.26rem;
        font-size: 0.64rem;
    }

    .starwave-contact__quick-form input,
    .starwave-contact__quick-form select {
        min-height: 2.3rem;
        font-size: 0.84rem;
    }

    .starwave-btn--compact {
        min-height: 2.5rem;
    }
}

@media (max-width: 420px) {
    .starwave-hero__content--next h1 {
        max-width: 248px;
        font-size: clamp(1.42rem, 8vw, 1.88rem);
    }

    .starwave-hero__lead {
        max-width: 265px;
        font-size: 0.82rem;
    }

    .starwave-authority__grid article {
        padding: 0.75rem;
    }

    .starwave-footer {
        padding-top: 1.6rem;
        font-size: 0.72rem;
    }
}

/* ── Starwave R5: transformer-like immersive entry + full media visibility ── */
.starwave-entry {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 18% 22%, rgba(80, 239, 255, 0.2), transparent 34rem),
        radial-gradient(circle at 84% 80%, rgba(255, 97, 215, 0.18), transparent 32rem),
        linear-gradient(180deg, rgba(2, 6, 16, 0.94), rgba(2, 7, 17, 0.98));
    opacity: 1;
    visibility: visible;
    --entry-progress: 0;
    transition: opacity 540ms ease, visibility 540ms ease;
}

body.starwave-body main {
    transition: opacity 280ms ease;
}

body.starwave-body.is-booting main {
    opacity: 0;
    pointer-events: none;
}

.starwave-entry.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.starwave-entry__scan {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(80, 239, 255, 0.08) 0 1px, transparent 1px 34px),
        repeating-linear-gradient(180deg, rgba(80, 239, 255, 0.06) 0 1px, transparent 1px 34px);
    mask-image: radial-gradient(circle at center, #000 30%, transparent 78%);
    animation: sw-entry-grid 1s linear infinite;
}

.starwave-entry__doors {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.starwave-entry__door {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(136, 164, 197, 0.28), rgba(21, 34, 51, 0.86) 30%, rgba(7, 14, 29, 0.96)),
        repeating-linear-gradient(90deg, rgba(80, 239, 255, 0.15) 0 1px, transparent 1px 18px),
        repeating-linear-gradient(0deg, rgba(255, 97, 215, 0.1) 0 1px, transparent 1px 20px),
        repeating-linear-gradient(135deg, rgba(80, 239, 255, 0.08) 0 2px, transparent 2px 26px);
    box-shadow:
        inset 0 0 0 1px rgba(80, 239, 255, 0.24),
        inset 0 0 24px rgba(80, 239, 255, 0.12);
    transition: transform 950ms cubic-bezier(0.16, 1, 0.3, 1), filter 400ms ease;
    will-change: transform;
}

.starwave-entry__door::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        repeating-linear-gradient(112deg, rgba(80, 239, 255, 0.16) 0 2px, transparent 2px 18px),
        repeating-linear-gradient(-64deg, rgba(255, 97, 215, 0.14) 0 1px, transparent 1px 20px);
    opacity: 0.58;
    animation: sw-door-laser-pan 1.2s linear infinite;
}

.starwave-entry__panel-lines {
    position: absolute;
    inset: 6% 6%;
    z-index: 2;
    background:
        repeating-linear-gradient(90deg, rgba(80, 239, 255, 0.2) 0 1px, transparent 1px 14%),
        repeating-linear-gradient(180deg, rgba(80, 239, 255, 0.16) 0 1px, transparent 1px 11%);
    opacity: 0.5;
    mask-image: radial-gradient(circle at 50% 50%, #000 28%, transparent 82%);
}

.starwave-entry__door::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    z-index: 4;
    background: linear-gradient(180deg, transparent, rgba(80, 239, 255, 0.95), transparent);
    box-shadow: 0 0 22px rgba(80, 239, 255, 0.78);
}

.starwave-entry__door--left {
    left: 0;
    border-right: 1px solid rgba(80, 239, 255, 0.28);
}

.starwave-entry__door--left::before {
    right: 0;
}

.starwave-entry__door--right {
    right: 0;
    border-left: 1px solid rgba(255, 97, 215, 0.24);
}

.starwave-entry__door--right::before {
    left: 0;
}

.starwave-entry__laser,
.starwave-entry__rotor {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

.starwave-entry__laser {
    left: 8%;
    right: 8%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(80, 239, 255, 0.95), transparent);
    box-shadow: 0 0 16px rgba(80, 239, 255, 0.75);
    animation: sw-door-laser-flicker 0.58s ease-in-out infinite;
}

.starwave-entry__laser--b {
    top: 34%;
    animation-delay: 0.22s;
}

.starwave-entry__laser--c {
    top: 66%;
    animation-delay: 0.41s;
}

.starwave-entry__door .starwave-entry__laser:first-child {
    top: 16%;
}

.starwave-entry__rotor {
    width: 5.4rem;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(80, 239, 255, 0.4);
    background:
        conic-gradient(from 0deg, rgba(80, 239, 255, 0.65), rgba(80, 239, 255, 0.08) 24%, rgba(255, 97, 215, 0.4) 48%, rgba(80, 239, 255, 0.1) 62%, rgba(80, 239, 255, 0.65)),
        radial-gradient(circle, rgba(7, 15, 31, 0.18), rgba(7, 15, 31, 0.9) 66%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.16),
        0 0 22px rgba(80, 239, 255, 0.36);
    animation: sw-door-rotor-spin 1.05s linear infinite;
}

.starwave-entry__rotor::before {
    content: "";
    position: absolute;
    inset: 26%;
    border-radius: 50%;
    border: 1px solid rgba(255, 97, 215, 0.45);
    box-shadow: 0 0 14px rgba(255, 97, 215, 0.3);
}

.starwave-entry__rotor--one {
    top: 14%;
    left: 12%;
}

.starwave-entry__rotor--two {
    top: 50%;
    right: 10%;
    width: 4.5rem;
    animation-duration: 0.8s;
    animation-direction: reverse;
}

.starwave-entry__rotor--three {
    bottom: 10%;
    left: 28%;
    width: 3.8rem;
    animation-duration: 0.6s;
}

.starwave-entry__rotor--four {
    top: 28%;
    right: 24%;
    width: 3.05rem;
    animation-duration: 0.52s;
    animation-direction: reverse;
}

.starwave-entry__rotor--five {
    bottom: 18%;
    right: 32%;
    width: 2.5rem;
    animation-duration: 0.45s;
}

.starwave-entry__copy {
    position: relative;
    display: grid;
    gap: 0.4rem;
    text-align: center;
    text-transform: uppercase;
    z-index: 4;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(80, 239, 255, 0.25);
    border-radius: 16px;
    background: rgba(4, 12, 24, 0.5);
    backdrop-filter: blur(8px);
}

.starwave-entry__copy p {
    margin: 0;
    color: rgba(153, 248, 255, 0.86);
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    font-weight: 800;
}

.starwave-entry__copy strong {
    color: #fff;
    font-size: clamp(1.25rem, 5.2vw, 2.2rem);
    letter-spacing: 0.1em;
    text-shadow: 0 0 26px rgba(80, 239, 255, 0.4);
}

.starwave-entry.is-loading .starwave-entry__copy strong {
    letter-spacing: 0.14em;
}

.starwave-entry.is-showcase .starwave-entry__door--left {
    transform: translateX(-103%);
    filter: brightness(1.2);
}

.starwave-entry.is-showcase .starwave-entry__door--right {
    transform: translateX(103%);
    filter: brightness(1.2);
}

.starwave-entry.is-showcase .starwave-entry__door::after {
    animation-duration: 0.35s;
    opacity: 0.92;
}

.starwave-entry.is-showcase .starwave-entry__laser {
    animation-duration: 0.22s;
}

.starwave-entry.is-showcase .starwave-entry__rotor {
    animation-duration: 0.4s;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(80, 239, 255, 0.58);
}

.starwave-entry.is-showcase .starwave-entry__panel-lines {
    opacity: 0.86;
}

.starwave-entry.is-showcase .starwave-entry__copy {
    border-color: rgba(255, 97, 215, 0.4);
    box-shadow: 0 0 0 1px rgba(255, 97, 215, 0.22), 0 0 40px rgba(80, 239, 255, 0.24);
}

.starwave-entry.is-showcase .starwave-entry__copy strong {
    animation: sw-showcase-title 1400ms ease-in-out infinite alternate;
}

.starwave-hero {
    --sw-hero-x: 50%;
    --sw-hero-y: 50%;
    --sw-scroll-shift: 0px;
}

.starwave-hero__fx::before {
    content: "";
    position: absolute;
    inset: -10% -8%;
    background:
        radial-gradient(circle at var(--sw-hero-x) var(--sw-hero-y), rgba(80, 239, 255, 0.22), transparent 28rem),
        repeating-linear-gradient(118deg, rgba(80, 239, 255, 0.08) 0 1px, transparent 1px 24px);
    transform: translateY(calc(var(--sw-scroll-shift) * -1));
    opacity: 0.6;
    animation: sw-fx-pulse 8s ease-in-out infinite;
}

@keyframes sw-entry-grid {
    from { transform: translateY(0); }
    to { transform: translateY(34px); }
}

@keyframes sw-door-laser-pan {
    from { transform: translateX(0); }
    to { transform: translateX(24px); }
}

@keyframes sw-door-laser-flicker {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

@keyframes sw-door-rotor-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sw-fx-pulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.7; }
}

@media (max-width: 640px) {
    .starwave-entry__copy p {
        font-size: 0.64rem;
        letter-spacing: 0.18em;
    }

    .starwave-entry__copy strong {
        font-size: clamp(1.02rem, 7vw, 1.5rem);
    }

    .starwave-marquee {
        mask-image: none;
    }

    .starwave-marquee div {
        animation-duration: 40s;
    }

    .starwave-strip img,
    .starwave-card img,
    .starwave-gallery img,
    .starwave-awards-grid img,
    .starwave-upcoming-grid img {
        object-fit: contain !important;
        background: rgba(5, 10, 20, 0.95);
        height: auto !important;
        min-height: 0 !important;
    }

    .starwave-strip img {
        aspect-ratio: auto;
    }

    .starwave-card img,
    .starwave-awards-grid img,
    .starwave-upcoming-grid img,
    .starwave-gallery img {
        aspect-ratio: 16 / 10;
    }

    .starwave-authority {
        margin-top: 0.45rem;
    }

    .starwave-authority__grid {
        gap: 0.6rem;
    }
}

/* ── Starwave R6: full-visibility guardrails + longer ritual entry ── */
.starwave-entry__rings {
    position: absolute;
    width: min(70vw, 520px);
    aspect-ratio: 1;
    border: 1px solid rgba(80, 239, 255, 0.24);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 1px rgba(255, 97, 215, 0.2),
        0 0 60px rgba(80, 239, 255, 0.22);
    animation: sw-entry-ring 1.7s linear infinite;
}

.starwave-entry__rings::before,
.starwave-entry__rings::after {
    content: "";
    position: absolute;
    inset: 14%;
    border: 1px solid rgba(80, 239, 255, 0.2);
    border-radius: 50%;
}

.starwave-entry__rings::after {
    inset: 28%;
    border-color: rgba(255, 97, 215, 0.24);
}

.starwave-entry__status {
    color: rgba(236, 244, 255, 0.82);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.starwave-entry__progress {
    width: min(68vw, 440px);
    height: 0.38rem;
    border: 1px solid rgba(80, 239, 255, 0.36);
    border-radius: 999px;
    background: rgba(80, 239, 255, 0.08);
    overflow: hidden;
}

.starwave-entry__progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #8cf6ff, #74d8ff 45%, #ff78df);
    box-shadow: 0 0 18px rgba(80, 239, 255, 0.6);
}

.starwave-entry.is-showcase .starwave-entry__rings {
    animation-duration: 0.9s;
}

.starwave-entry.is-showcase .starwave-entry__progress span {
    background: linear-gradient(90deg, #b8fdff, #9ec8ff 45%, #ff8fe6);
    box-shadow: 0 0 26px rgba(80, 239, 255, 0.72);
}

.starwave-entry.is-finished .starwave-entry__copy strong {
    text-shadow: 0 0 34px rgba(80, 239, 255, 0.72);
}

@keyframes sw-entry-ring {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sw-showcase-title {
    0% { transform: scale(1); text-shadow: 0 0 26px rgba(80, 239, 255, 0.42); }
    100% { transform: scale(1.03); text-shadow: 0 0 36px rgba(255, 97, 215, 0.58); }
}

@media (max-width: 640px) {
    .starwave-entry__copy {
        padding: 0.58rem 0.66rem;
        border-radius: 12px;
    }

    .starwave-entry__rings {
        width: min(86vw, 360px);
    }

    .starwave-entry__door {
        width: 52%;
    }

    .starwave-entry__rotor {
        width: 4rem;
    }

    .starwave-entry__rotor--two {
        width: 3.35rem;
    }

    .starwave-entry__rotor--three {
        width: 2.8rem;
    }

    .starwave-entry__rotor--four {
        width: 2.45rem;
    }

    .starwave-entry__rotor--five {
        width: 2.05rem;
    }

    .starwave-entry__status {
        max-width: 86vw;
        font-size: 0.63rem;
        line-height: 1.45;
        letter-spacing: 0.06em;
    }

    .starwave-entry__progress {
        width: min(82vw, 320px);
        height: 0.34rem;
    }

    .starwave-console__chips {
        overflow-x: visible !important;
        flex-wrap: wrap !important;
        padding-bottom: 0 !important;
        gap: 0.4rem;
    }

    .starwave-console__chips span {
        white-space: normal !important;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        font-size: 0.72rem;
        line-height: 1.25;
        text-align: center;
    }

    .starwave-marquee {
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .starwave-marquee div {
        animation: none !important;
        width: max-content;
    }

    .starwave-strip,
    .starwave-gallery,
    .starwave-contact,
    .starwave-footer,
    .starwave-authority,
    .starwave-section {
        overflow: visible;
    }
}

/* ── Starwave R7: mech HUD overlays + gate transitions ── */
.starwave-hud {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 80;
    display: grid;
    gap: 0.35rem;
    padding: 0.58rem 0.72rem;
    border: 1px solid rgba(80, 239, 255, 0.38);
    border-radius: 14px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 97, 215, 0.16), transparent 7rem),
        rgba(6, 11, 23, 0.84);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.starwave-hud__label {
    max-width: 36vw;
    color: rgba(231, 243, 255, 0.92);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.starwave-hud__bars {
    display: flex;
    gap: 0.18rem;
}

.starwave-hud__bars i {
    width: 1.3rem;
    height: 0.18rem;
    border-radius: 999px;
    background: rgba(80, 239, 255, 0.24);
    animation: sw-hud-bars 1.2s ease-in-out infinite;
}

.starwave-hud__bars i:nth-child(2) { animation-delay: 0.15s; }
.starwave-hud__bars i:nth-child(3) { animation-delay: 0.3s; }
.starwave-hud__bars i:nth-child(4) { animation-delay: 0.45s; }

.sw-js .sw-gate-section {
    position: relative;
}

.sw-js .sw-gate-section::before,
.sw-js .sw-gate-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 520ms ease, transform 520ms ease;
}

.sw-js .sw-gate-section::before {
    top: -0.2rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(80, 239, 255, 0.9), transparent);
    transform: translateX(-28%);
}

.sw-js .sw-gate-section::after {
    bottom: -0.2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 97, 215, 0.8), transparent);
    transform: translateX(28%);
}

.sw-js .sw-gate-section.is-open::before,
.sw-js .sw-gate-section.is-open::after {
    opacity: 1;
    transform: translateX(0);
}

@keyframes sw-hud-bars {
    0%, 100% { opacity: 0.3; transform: scaleX(0.86); }
    50% { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 980px) {
    .starwave-hud__label {
        max-width: 52vw;
    }
}

@media (max-width: 640px) {
    .starwave-hud {
        left: 50%;
        right: auto;
        bottom: 0.55rem;
        transform: translateX(-50%);
        width: min(90vw, 360px);
        border-radius: 12px;
        padding: 0.5rem 0.58rem;
    }

    .starwave-hud__label {
        max-width: none;
        font-size: 0.58rem;
        letter-spacing: 0.1em;
    }

    .starwave-hud__bars i {
        flex: 1;
        width: auto;
    }

    .starwave-console__chips {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow-x: visible !important;
        flex-wrap: nowrap !important;
    }

    .starwave-console__chips span {
        justify-content: center;
    }

    .starwave-marquee {
        overflow: visible;
        border-radius: 18px;
        mask-image: none !important;
    }

    .starwave-marquee div {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        animation: none !important;
        gap: 0.4rem;
        padding: 0.5rem;
    }

    .starwave-marquee span {
        white-space: normal;
        font-size: 0.7rem;
        padding: 0.3rem 0.55rem;
        line-height: 1.25;
    }

    .starwave-hero__content,
    .starwave-hero__content--next,
    .starwave-hero__copy,
    .starwave-hero__console,
    .starwave-section__head,
    .starwave-section__head--split {
        width: 100% !important;
        max-width: none !important;
        margin-inline: auto !important;
    }

    .starwave-hero__content--next {
        align-items: stretch !important;
        gap: 0.75rem !important;
    }

    .starwave-hero h1,
    .starwave-hero__lead {
        max-width: none !important;
    }

    .starwave-hero__actions,
    .starwave-hero__actions .starwave-btn {
        width: 100% !important;
    }

    .starwave-strip,
    .starwave-section,
    .starwave-gallery,
    .starwave-contact,
    .starwave-footer,
    .starwave-authority {
        width: min(calc(100% - 1rem), var(--sw-max)) !important;
    }

    .starwave-console__chips span {
        width: 100%;
        min-width: 0;
    }
}

/* ── Starwave R12: mobile alignment and sizing rescue ── */
@media (max-width: 640px) {
    :root {
        --sw-mobile-gutter: 14px;
    }

    body.starwave-body,
    body.starwave-body main {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .starwave-nav {
        width: calc(100% - (var(--sw-mobile-gutter) * 2)) !important;
        margin-inline: auto !important;
    }

    .starwave-hero {
        padding-inline: var(--sw-mobile-gutter) !important;
    }

    .starwave-hero__content,
    .starwave-hero__content--next,
    .starwave-hero__copy,
    .starwave-hero__console,
    .starwave-section__head,
    .starwave-section__head--split {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: auto !important;
    }

    .starwave-hero__media img {
        object-position: center center !important;
    }

    .starwave-hero__veil {
        background:
            radial-gradient(circle at 52% 24%, rgba(80, 239, 255, 0.14), transparent 52%),
            linear-gradient(180deg, rgba(4, 8, 18, 0.76), rgba(4, 8, 18, 0.9)) !important;
    }

    .starwave-hero h1 {
        font-size: clamp(1.72rem, 9.2vw, 2.28rem) !important;
        line-height: 1.03 !important;
        letter-spacing: -0.02em !important;
    }

    .starwave-hero__lead {
        font-size: 0.98rem !important;
        line-height: 1.52 !important;
    }

    .starwave-hero__signal {
        width: 100% !important;
    }

    .starwave-strip,
    .starwave-section,
    .starwave-gallery,
    .starwave-contact,
    .starwave-footer,
    .starwave-authority {
        width: calc(100% - (var(--sw-mobile-gutter) * 2)) !important;
        margin-inline: auto !important;
    }
}

@media (max-width: 420px) {
    .starwave-hero h1 {
        font-size: clamp(1.58rem, 8.4vw, 2rem) !important;
    }

    .starwave-hero__lead {
        font-size: 0.92rem !important;
    }
}

/* ── Starwave R14: expanded partners and event slate ── */
.starwave-partners-events {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: 1rem;
}

.starwave-partner-panel,
.starwave-event-panel {
    padding: 1.15rem;
    border: 1px solid var(--sw-line);
    border-radius: 24px;
    background: rgba(14, 12, 24, 0.76);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.starwave-partner-panel h3,
.starwave-event-panel h3 {
    margin: 0 0 0.8rem;
    color: #fff;
    font-size: 1.02rem;
}

.starwave-partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.starwave-partner-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(80, 239, 255, 0.26);
    border-radius: 999px;
    color: rgba(233, 242, 255, 0.9);
    background: rgba(80, 239, 255, 0.08);
    font-size: 0.74rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.24;
}

.starwave-event-track {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.52rem;
    counter-reset: sw-events;
}

.starwave-event-track li {
    position: relative;
    padding: 0.55rem 0.65rem 0.55rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    counter-increment: sw-events;
}

.starwave-event-track li::before {
    content: counter(sw-events, decimal-leading-zero);
    position: absolute;
    left: 0.58rem;
    top: 0.58rem;
    color: rgba(153, 248, 255, 0.84);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.starwave-event-track strong {
    display: block;
    color: #fff;
    font-size: 0.84rem;
    line-height: 1.28;
}

.starwave-event-track span {
    display: block;
    margin-top: 0.2rem;
    color: rgba(198, 209, 233, 0.82);
    font-size: 0.74rem;
    line-height: 1.38;
}

@media (max-width: 980px) {
    .starwave-partners-events {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .starwave-partner-panel,
    .starwave-event-panel {
        padding: 0.85rem;
        border-radius: 18px;
    }

    .starwave-partner-panel h3,
    .starwave-event-panel h3 {
        margin-bottom: 0.6rem;
        font-size: 0.9rem;
    }

    .starwave-partner-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
    }

    .starwave-partner-grid span {
        min-height: 1.8rem;
        font-size: 0.68rem;
        padding: 0.28rem 0.46rem;
    }

    .starwave-event-track {
        gap: 0.42rem;
    }

    .starwave-event-track li {
        padding: 0.46rem 0.5rem 0.46rem 1.72rem;
    }

    .starwave-event-track li::before {
        left: 0.48rem;
        top: 0.48rem;
        font-size: 0.56rem;
    }

    .starwave-event-track strong {
        font-size: 0.76rem;
    }

    .starwave-event-track span {
        font-size: 0.68rem;
    }
}

/* ── Starwave R13: hero systems panel redesign ── */
.starwave-hero__signal {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.72rem;
    border: 1px solid rgba(80, 239, 255, 0.24);
    border-radius: 18px;
    background:
        radial-gradient(circle at 96% 8%, rgba(255, 97, 215, 0.14), transparent 6rem),
        rgba(6, 13, 26, 0.58);
}

.starwave-hero__signal-title {
    margin: 0 0 0.42rem;
    color: rgba(153, 248, 255, 0.92);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.starwave-hero__signal-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.starwave-hero__signal-list li {
    position: relative;
    padding: 0.52rem 0.58rem 0.52rem 1.45rem;
    border: 1px solid rgba(80, 239, 255, 0.22);
    border-radius: 12px;
    background: rgba(6, 14, 28, 0.72);
}

.starwave-hero__signal-list li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0.62rem;
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 50%;
    background: radial-gradient(circle, #9df9ff 0%, rgba(157, 249, 255, 0.18) 78%);
    box-shadow: 0 0 12px rgba(157, 249, 255, 0.68);
    transform: translateY(-50%);
}

.starwave-hero__signal-list strong {
    display: block;
    color: #eaf2ff;
    font-size: 0.88rem;
    line-height: 1.26;
}

.starwave-hero__signal-list small {
    display: block;
    margin-top: 0.2rem;
    color: rgba(200, 212, 238, 0.76);
    font-size: 0.73rem;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .starwave-hero__signal {
        margin-top: 0.55rem !important;
        padding: 0.58rem !important;
        border-radius: 14px;
    }

    .starwave-hero__signal-title {
        margin-bottom: 0.34rem;
        font-size: 0.6rem;
        letter-spacing: 0.13em;
    }

    .starwave-hero__signal-list {
        gap: 0.34rem;
    }

    .starwave-hero__signal-list li {
        padding: 0.44rem 0.5rem 0.44rem 1.28rem;
        border-radius: 10px;
    }

    .starwave-hero__signal-list li::before {
        left: 0.54rem;
        width: 0.38rem;
        height: 0.38rem;
    }

    .starwave-hero__signal-list strong {
        font-size: 0.81rem;
    }

    .starwave-hero__signal-list small {
        font-size: 0.67rem;
    }
}

/* ── Starwave R15: cross-device responsive harmonization ── */
.starwave-section--partners {
    scroll-margin-top: 6.5rem;
}

.starwave-partner-grid span,
.starwave-event-track strong,
.starwave-event-track span,
.starwave-upcoming-grid strong,
.starwave-contact__link strong,
.starwave-faq-grid p {
    overflow-wrap: anywhere;
}

@media (min-width: 1100px) {
    .starwave-partner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .starwave-event-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }
}

@media (min-width: 641px) and (max-width: 980px) {
    .starwave-strip,
    .starwave-section,
    .starwave-gallery,
    .starwave-contact,
    .starwave-footer,
    .starwave-authority {
        width: min(calc(100% - 2rem), var(--sw-max)) !important;
    }

    .starwave-hero {
        padding-inline: 1rem;
    }

    .starwave-hero__content--next {
        gap: 1rem;
    }

    .starwave-hero__content--next h1 {
        max-width: 100%;
        font-size: clamp(2.36rem, 6.4vw, 3.4rem);
        line-height: 0.95;
    }

    .starwave-hero__lead {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.6;
    }

    .starwave-marquee {
        border-radius: 18px;
    }

    .starwave-marquee div {
        flex-wrap: wrap;
        width: 100%;
        animation: none !important;
        justify-content: center;
    }

    .starwave-partners-events {
        gap: 0.85rem;
    }
}

@media (max-width: 640px) {
    :root {
        --sw-mobile-gutter: 16px;
    }

    body.starwave-body main {
        overflow-x: clip;
    }

    .starwave-nav,
    .starwave-strip,
    .starwave-section,
    .starwave-gallery,
    .starwave-contact,
    .starwave-footer,
    .starwave-authority {
        width: calc(100% - (var(--sw-mobile-gutter) * 2)) !important;
        margin-inline: auto !important;
    }

    .starwave-hero {
        padding: 6.1rem var(--sw-mobile-gutter) 2.3rem !important;
    }

    .starwave-hero__content--next {
        grid-template-columns: 1fr !important;
        gap: 0.9rem !important;
    }

    .starwave-hero h1 {
        max-width: 100% !important;
        font-size: clamp(1.9rem, 8.8vw, 2.42rem) !important;
        line-height: 1.02 !important;
        letter-spacing: -0.025em !important;
    }

    .starwave-hero__lead {
        max-width: 100% !important;
        font-size: 0.95rem !important;
        line-height: 1.58 !important;
    }

    .starwave-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.55rem;
        margin-top: 1.1rem;
    }

    .starwave-btn {
        min-height: 2.95rem;
    }

    .starwave-marquee {
        overflow: visible;
        border-radius: 14px;
    }

    .starwave-marquee div {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100% !important;
        gap: 0.36rem;
        padding: 0.48rem !important;
        animation: none !important;
    }

    .starwave-marquee span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 1.7rem;
        padding: 0.3rem 0.45rem;
        font-size: 0.68rem;
        line-height: 1.23;
        text-align: center;
        white-space: normal !important;
    }

    .starwave-portfolio-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
        overflow: visible !important;
        scroll-snap-type: none !important;
        padding-bottom: 0;
    }

    .starwave-card {
        flex: none !important;
        min-height: auto !important;
    }

    .starwave-carousel-controls {
        display: none !important;
    }

    .starwave-partners-events {
        gap: 0.7rem;
    }

    .starwave-partner-grid {
        grid-template-columns: 1fr 1fr;
    }

    .starwave-event-track li {
        padding: 0.56rem 0.56rem 0.56rem 1.82rem;
    }

    .starwave-section__head--split {
        gap: 0.75rem;
    }

    .starwave-hud {
        width: min(92vw, 340px);
    }
}

@media (max-width: 420px) {
    :root {
        --sw-mobile-gutter: 12px;
    }

    .starwave-marquee div,
    .starwave-partner-grid {
        grid-template-columns: 1fr;
    }

    .starwave-hero h1 {
        font-size: clamp(1.72rem, 8.1vw, 2.1rem) !important;
    }

    .starwave-hero__lead {
        font-size: 0.9rem !important;
    }

    .starwave-event-track strong {
        font-size: 0.73rem;
    }

    .starwave-event-track span {
        font-size: 0.66rem;
    }
}

@media (max-height: 540px) and (orientation: landscape) {
    .starwave-entry__copy {
        transform: scale(0.9);
    }

    .starwave-hero {
        min-height: auto;
        padding-top: 5.25rem !important;
    }

    .starwave-hud {
        display: none;
    }
}

/* ── Starwave R16: device-targeted visual tuning ── */
:root {
    --sw-safe-left: env(safe-area-inset-left, 0px);
    --sw-safe-right: env(safe-area-inset-right, 0px);
}

@media (max-width: 1180px) and (min-width: 981px) {
    .starwave-nav {
        width: min(calc(100% - 28px), var(--sw-max));
        gap: 0.65rem;
        padding: 0.6rem 0.7rem;
    }

    .starwave-nav__links a {
        padding: 0.58rem 0.62rem;
        font-size: 0.75rem;
        letter-spacing: 0.02em;
    }

    .starwave-hero {
        padding-inline: 1rem;
    }

    .starwave-hero__content--next {
        gap: clamp(1rem, 2vw, 1.5rem);
    }

    .starwave-hero__content--next h1 {
        font-size: clamp(2.8rem, 6vw, 4.6rem);
        line-height: 0.9;
    }

    .starwave-section h2,
    .starwave-contact h2 {
        font-size: clamp(2rem, 4vw, 3.35rem);
    }

    .starwave-authority__grid,
    .starwave-service-grid--five,
    .starwave-upcoming-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .starwave-partners-events {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 980px) {
    .starwave-hero {
        padding-top: 8.1rem;
    }

    .starwave-hero__content--next h1 {
        font-size: clamp(2.48rem, 7.2vw, 3.28rem);
    }

    .starwave-hero__console {
        max-width: none;
    }

    .starwave-partner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 431px) and (max-width: 640px) {
    :root {
        --sw-mobile-gutter: 14px;
    }

    .starwave-nav {
        width: calc(100% - (var(--sw-mobile-gutter) * 2) - var(--sw-safe-left) - var(--sw-safe-right)) !important;
    }

    .starwave-nav__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .starwave-hero {
        padding-inline: calc(var(--sw-mobile-gutter) + (var(--sw-safe-left) * 0.35)) !important;
    }

    .starwave-hero h1 {
        font-size: clamp(2.02rem, 8vw, 2.52rem) !important;
    }

    .starwave-hero__lead {
        font-size: 0.98rem !important;
    }

    .starwave-partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .starwave-event-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .starwave-event-track li {
        padding-left: 1.68rem;
    }
}

@media (min-width: 390px) and (max-width: 430px) {
    :root {
        --sw-mobile-gutter: 13px;
    }

    .starwave-hero h1 {
        font-size: clamp(1.9rem, 8.1vw, 2.24rem) !important;
    }

    .starwave-hero__lead {
        font-size: 0.93rem !important;
    }

    .starwave-card,
    .starwave-thesis-grid article,
    .starwave-service-grid article,
    .starwave-roadmap li {
        border-radius: 18px;
    }
}

@media (min-width: 360px) and (max-width: 389px) {
    :root {
        --sw-mobile-gutter: 12px;
    }

    .starwave-hero {
        padding-top: 5.95rem !important;
    }

    .starwave-hero h1 {
        font-size: clamp(1.78rem, 8vw, 2.08rem) !important;
    }

    .starwave-hero__lead {
        font-size: 0.9rem !important;
    }

    .starwave-marquee span {
        min-height: 1.62rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 359px) {
    :root {
        --sw-mobile-gutter: 10px;
    }

    .starwave-nav {
        margin-top: 0.36rem;
        padding: 0.4rem 0.48rem;
    }

    .starwave-brand__logo {
        width: 8.2rem;
    }

    .starwave-nav__toggle {
        min-height: 2.02rem;
        font-size: 0.64rem;
    }

    .starwave-hero {
        padding-top: 5.75rem !important;
    }

    .starwave-hero h1 {
        font-size: clamp(1.62rem, 7.7vw, 1.88rem) !important;
    }

    .starwave-hero__lead {
        font-size: 0.85rem !important;
        line-height: 1.52 !important;
    }

    .starwave-btn {
        min-height: 2.72rem;
        font-size: 0.82rem;
    }

    .starwave-partner-panel,
    .starwave-event-panel {
        padding: 0.72rem;
    }
}

/* ── Starwave R17: desktop + tablet + TV final render pass ── */
@media (min-width: 981px) and (max-width: 1180px) {
    .starwave-nav {
        width: min(calc(100% - 30px), 1240px);
    }

    .starwave-strip,
    .starwave-section,
    .starwave-gallery,
    .starwave-contact,
    .starwave-footer,
    .starwave-authority {
        width: min(calc(100% - 2.25rem), 1240px) !important;
    }

    .starwave-section h2,
    .starwave-contact h2 {
        font-size: clamp(2rem, 3.5vw, 3.2rem);
    }

    .starwave-thesis-grid,
    .starwave-service-grid,
    .starwave-model-grid,
    .starwave-footprint-grid,
    .starwave-upcoming-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1181px) and (max-width: 1599px) {
    .starwave-nav {
        width: min(calc(100% - 3.5rem), 1360px);
        padding: 0.72rem 0.85rem;
    }

    .starwave-strip,
    .starwave-section,
    .starwave-gallery,
    .starwave-contact,
    .starwave-footer,
    .starwave-authority {
        width: min(calc(100% - 3.5rem), 1360px) !important;
    }

    .starwave-hero {
        padding-inline: 1.75rem;
    }

    .starwave-hero__content--next {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
        gap: clamp(1.5rem, 2.3vw, 2.2rem);
    }

    .starwave-hero__content--next h1 {
        font-size: clamp(3.1rem, 5.2vw, 5.2rem);
    }

    .starwave-section h2,
    .starwave-contact h2 {
        font-size: clamp(2.3rem, 3.15vw, 3.75rem);
    }

    .starwave-upcoming-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1600px) {
    .starwave-nav {
        width: min(calc(100% - 5.5rem), 1560px);
        margin-top: 1.2rem;
        padding: 0.82rem 1rem;
    }

    .starwave-strip,
    .starwave-section,
    .starwave-gallery,
    .starwave-contact,
    .starwave-footer,
    .starwave-authority {
        width: min(calc(100% - 5.5rem), 1560px) !important;
    }

    .starwave-hero {
        padding: 9rem 2.5rem 4.5rem;
    }

    .starwave-hero__content {
        max-width: 1560px;
    }

    .starwave-hero__content--next {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
        gap: clamp(2rem, 2.8vw, 3rem);
    }

    .starwave-hero__content--next h1 {
        font-size: clamp(3.6rem, 5vw, 6.3rem);
        line-height: 0.88;
    }

    .starwave-hero__lead {
        max-width: 880px;
        font-size: 1.16rem;
        line-height: 1.68;
    }

    .starwave-btn {
        min-height: 3.35rem;
        padding: 0.95rem 1.55rem;
        font-size: 0.98rem;
    }

    .starwave-section h2,
    .starwave-contact h2 {
        font-size: clamp(2.45rem, 3vw, 4rem);
    }

    .starwave-section__head p:not(.starwave-eyebrow),
    .starwave-section__head--split > p,
    .starwave-awards-copy p:not(.starwave-eyebrow),
    .starwave-contact p {
        font-size: 1.06rem;
        line-height: 1.82;
    }

    .starwave-partner-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .starwave-event-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.72rem;
    }

    .starwave-upcoming-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 2160px) {
    .starwave-nav {
        width: min(calc(100% - 8rem), 1840px);
        margin-top: 1.35rem;
        padding: 1rem 1.2rem;
    }

    .starwave-brand__logo {
        width: 14rem;
    }

    .starwave-nav__links {
        gap: 0.5rem;
    }

    .starwave-nav__links a {
        min-height: 3rem;
        padding: 0.85rem 1.02rem;
        font-size: 1rem;
    }

    .starwave-strip,
    .starwave-section,
    .starwave-gallery,
    .starwave-contact,
    .starwave-footer,
    .starwave-authority {
        width: min(calc(100% - 8rem), 1840px) !important;
    }

    .starwave-hero {
        min-height: 100vh;
        padding: 10rem 3.25rem 5rem;
    }

    .starwave-hero__content {
        max-width: 1840px;
    }

    .starwave-hero__content--next {
        grid-template-columns: minmax(0, 1fr) minmax(500px, 0.75fr);
        gap: 3.25rem;
    }

    .starwave-hero__content--next h1 {
        font-size: clamp(4.3rem, 5.3vw, 7.8rem);
        line-height: 0.86;
    }

    .starwave-hero__lead {
        max-width: 980px;
        font-size: 1.35rem;
        line-height: 1.76;
    }

    .starwave-btn {
        min-height: 3.85rem;
        padding: 1.08rem 1.95rem;
        font-size: 1.1rem;
    }

    .starwave-section {
        padding-top: 7.25rem;
    }

    .starwave-section h2,
    .starwave-contact h2 {
        font-size: clamp(3rem, 3.2vw, 4.5rem);
        line-height: 0.96;
    }

    .starwave-section__head p:not(.starwave-eyebrow),
    .starwave-section__head--split > p,
    .starwave-awards-copy p:not(.starwave-eyebrow),
    .starwave-contact p {
        font-size: 1.17rem;
        line-height: 1.9;
    }

    .starwave-thesis-grid,
    .starwave-service-grid,
    .starwave-model-grid,
    .starwave-footprint-grid,
    .starwave-roadmap,
    .starwave-upcoming-grid {
        gap: 1.25rem;
    }

    .starwave-faq-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .starwave-gallery img {
        min-height: 360px;
        object-fit: cover !important;
    }

    .starwave-partner-panel,
    .starwave-event-panel {
        padding: 1.4rem;
    }

    .starwave-partner-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .starwave-partner-grid span {
        min-height: 2.4rem;
        font-size: 0.88rem;
    }

    .starwave-event-track strong {
        font-size: 0.98rem;
    }

    .starwave-event-track span {
        font-size: 0.86rem;
    }

    .starwave-hud {
        right: 1.45rem;
        bottom: 1.25rem;
        padding: 0.74rem 0.92rem;
    }

    .starwave-hud__label {
        max-width: 24vw;
        font-size: 0.72rem;
    }
}

/* ── Starwave R18: acceptance-grade device finishing ── */
.starwave-section__head p:not(.starwave-eyebrow),
.starwave-section__head--split > p,
.starwave-awards-copy p:not(.starwave-eyebrow),
.starwave-contact p,
.starwave-faq-grid p {
    text-wrap: pretty;
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .starwave-hero {
        padding-top: 8.3rem !important;
    }

    .starwave-hero__content--next {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .starwave-hero__content--next h1 {
        font-size: clamp(2.5rem, 7vw, 3.4rem);
    }

    .starwave-hero__lead {
        max-width: 88%;
    }

    .starwave-authority__grid,
    .starwave-thesis-grid,
    .starwave-service-grid--five,
    .starwave-upcoming-grid,
    .starwave-faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .starwave-partners-events {
        grid-template-columns: 1fr !important;
    }

    .starwave-partner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .starwave-nav__links a {
        padding: 0.58rem 0.62rem;
        font-size: 0.74rem;
    }

    .starwave-hero {
        min-height: 94svh;
        padding-top: 8rem;
    }

    .starwave-hero__content--next {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
    }

    .starwave-hero__content--next h1 {
        font-size: clamp(2.8rem, 5.2vw, 4rem);
    }

    .starwave-hero__lead {
        max-width: 74ch;
    }

    .starwave-section h2,
    .starwave-contact h2 {
        font-size: clamp(2.1rem, 3.2vw, 3.15rem);
    }
}

@media (min-width: 1366px) and (max-width: 1919px) {
    .starwave-nav {
        width: min(calc(100% - 4rem), 1460px);
    }

    .starwave-strip,
    .starwave-section,
    .starwave-gallery,
    .starwave-contact,
    .starwave-footer,
    .starwave-authority {
        width: min(calc(100% - 4rem), 1460px) !important;
    }

    .starwave-hero__content--next {
        grid-template-columns: minmax(0, 1fr) minmax(410px, 0.72fr);
    }

    .starwave-hero__lead,
    .starwave-section__head p:not(.starwave-eyebrow),
    .starwave-section__head--split > p,
    .starwave-awards-copy p:not(.starwave-eyebrow),
    .starwave-contact p {
        max-width: 72ch;
    }
}

@media (min-width: 1920px) and (max-width: 2559px) {
    .starwave-hero__lead,
    .starwave-section__head p:not(.starwave-eyebrow),
    .starwave-section__head--split > p,
    .starwave-awards-copy p:not(.starwave-eyebrow),
    .starwave-contact p,
    .starwave-faq-grid p {
        max-width: 68ch;
    }

    .starwave-card img,
    .starwave-upcoming-grid img,
    .starwave-gallery img {
        object-fit: cover;
    }
}

@media (min-width: 1920px) and (hover: none) and (pointer: coarse) {
    .starwave-nav__links a,
    .starwave-btn,
    .starwave-carousel-btn {
        min-height: 3.5rem;
        font-size: 1.02rem;
    }

    .starwave-nav__links a:focus-visible,
    .starwave-btn:focus-visible,
    .starwave-carousel-btn:focus-visible {
        outline: 3px solid rgba(159, 255, 229, 0.95);
        outline-offset: 3px;
    }
}

@media (min-width: 2560px) {
    .starwave-nav,
    .starwave-strip,
    .starwave-section,
    .starwave-gallery,
    .starwave-contact,
    .starwave-footer,
    .starwave-authority {
        width: min(calc(100% - 9rem), 1980px) !important;
    }

    .starwave-hero__content {
        max-width: 1980px;
    }

    .starwave-hero__content--next h1 {
        font-size: clamp(4.5rem, 5vw, 8.2rem);
    }

    .starwave-section h2,
    .starwave-contact h2 {
        font-size: clamp(3.2rem, 3vw, 4.8rem);
    }
}

/* ── Starwave R19: PDF content completeness sections ── */
.starwave-model-grid--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.starwave-section--timeline {
    position: relative;
}

.starwave-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    counter-reset: sw-timeline;
}

.starwave-timeline li {
    position: relative;
    min-height: 150px;
    padding: 1rem 1rem 1rem 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(16, 12, 26, 0.7);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
    counter-increment: sw-timeline;
}

.starwave-timeline li::before {
    content: counter(sw-timeline, decimal-leading-zero);
    position: absolute;
    top: 1rem;
    left: 0.88rem;
    color: rgba(153, 248, 255, 0.86);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.starwave-timeline strong,
.starwave-timeline span {
    display: block;
}

.starwave-timeline strong {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.3;
}

.starwave-timeline span {
    margin-top: 0.38rem;
    color: rgba(200, 212, 238, 0.82);
    font-size: 0.84rem;
    line-height: 1.52;
}

@media (min-width: 1600px) {
    .starwave-model-grid--six {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .starwave-model-grid--six div {
        min-height: 190px;
    }
}

@media (min-width: 1181px) and (max-width: 1599px) {
    .starwave-model-grid--six {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 1180px) {
    .starwave-model-grid--six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .starwave-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .starwave-model-grid--six {
        grid-template-columns: 1fr;
    }

    .starwave-timeline {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .starwave-timeline li {
        min-height: auto;
        padding: 0.78rem 0.74rem 0.78rem 1.9rem;
        border-radius: 14px;
    }

    .starwave-timeline li::before {
        top: 0.78rem;
        left: 0.68rem;
        font-size: 0.56rem;
    }

    .starwave-timeline strong {
        font-size: 0.82rem;
    }

    .starwave-timeline span {
        font-size: 0.73rem;
        line-height: 1.45;
    }
}

/* ── Starwave R20: cinematic premium visual uplift ── */
.starwave-hero__cinema-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 0.75rem;
}

.starwave-hero__cinema-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    padding: 0.26rem 0.68rem;
    border: 1px solid rgba(80, 239, 255, 0.3);
    border-radius: 999px;
    color: rgba(232, 244, 255, 0.9);
    background: linear-gradient(125deg, rgba(80, 239, 255, 0.16), rgba(255, 97, 215, 0.12));
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.starwave-hero__kpi {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.72rem;
}

.starwave-hero__kpi article {
    padding: 0.55rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(7, 16, 29, 0.6);
}

.starwave-hero__kpi strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
}

.starwave-hero__kpi span {
    display: block;
    margin-top: 0.22rem;
    color: rgba(194, 207, 232, 0.84);
    font-size: 0.67rem;
    line-height: 1.35;
}

.starwave-card {
    position: relative;
}

.starwave-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), transparent 38%);
    opacity: 0.38;
}

.starwave-card > div {
    position: relative;
    z-index: 1;
}

.starwave-card__meta {
    margin: 0.66rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.3rem;
}

.starwave-card__meta li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 0.3rem 0.42rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.starwave-card__meta span {
    margin: 0;
    color: rgba(178, 191, 222, 0.84) !important;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.starwave-card__meta strong {
    color: #f0f5ff;
    font-size: 0.68rem;
    font-weight: 800;
    text-align: right;
}

.starwave-logo-wall {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0 0 0.62rem;
}

.starwave-logo-wall span {
    display: grid;
    place-items: center;
    min-height: 2.1rem;
    padding: 0.32rem 0.45rem;
    border: 1px solid rgba(80, 239, 255, 0.22);
    border-radius: 10px;
    color: rgba(229, 241, 255, 0.92);
    background: rgba(10, 18, 30, 0.66);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-align: center;
}

.starwave-partner-panel .starwave-partner-grid span {
    justify-content: flex-start;
    text-align: left;
    padding-inline: 0.62rem;
    min-height: 2.2rem;
    font-size: 0.69rem;
    font-weight: 700;
    line-height: 1.32;
    border-radius: 12px;
}

.starwave-timeline-rail {
    height: 2px;
    margin-bottom: 0.82rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(80, 239, 255, 0.2), rgba(255, 97, 215, 0.65), rgba(80, 239, 255, 0.2));
    box-shadow: 0 0 18px rgba(80, 239, 255, 0.42);
}

.starwave-conversion-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.starwave-conversion-grid article {
    display: grid;
    gap: 0.72rem;
    padding: 1.08rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 0%, rgba(255, 97, 215, 0.14), transparent 8rem),
        rgba(11, 14, 25, 0.72);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
}

.starwave-conversion-grid h3 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

.starwave-conversion-grid p {
    margin: 0;
    color: rgba(195, 209, 236, 0.84);
    font-size: 0.86rem;
    line-height: 1.6;
}

.starwave-conversion-grid .starwave-btn {
    width: 100%;
}

[data-parallax] {
    --sw-parallax-y: 0px;
    transform: translate3d(0, var(--sw-parallax-y), 0);
    will-change: transform;
}

.starwave-section--immersive {
    position: relative;
}

.starwave-immersive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.starwave-immersive-tile {
    position: relative;
    min-height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(8, 12, 20, 0.75);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.34);
}

.starwave-immersive-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 20%, rgba(80, 239, 255, 0.22), transparent 42%),
        linear-gradient(180deg, rgba(4, 7, 14, 0.12), rgba(4, 7, 14, 0.74));
}

.starwave-immersive-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.34;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 7px);
    animation: sw-immersive-scan 3.2s linear infinite;
}

.starwave-immersive-tile img {
    position: absolute;
    inset: -4%;
    width: 108%;
    height: 108%;
    object-fit: cover;
    filter: saturate(1.12) contrast(1.06);
    animation: sw-immersive-pan 10s ease-in-out infinite alternate;
}

.starwave-immersive-tile div {
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.7rem;
    z-index: 3;
    display: grid;
    gap: 0.28rem;
    padding: 0.65rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(5, 11, 23, 0.66);
    backdrop-filter: blur(8px);
}

.starwave-immersive-tile p,
.starwave-immersive-tile h3,
.starwave-immersive-tile span {
    margin: 0;
}

.starwave-immersive-tile p {
    color: rgba(153, 248, 255, 0.9);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.starwave-immersive-tile h3 {
    color: #fff;
    font-size: 0.96rem;
    line-height: 1.24;
}

.starwave-immersive-tile span {
    color: rgba(194, 208, 234, 0.84);
    font-size: 0.75rem;
    line-height: 1.45;
}

@keyframes sw-immersive-pan {
    0% { transform: scale(1.02) translate3d(-1.4%, -0.8%, 0); }
    100% { transform: scale(1.1) translate3d(1.2%, 1%, 0); }
}

@keyframes sw-immersive-scan {
    0% { transform: translateY(-18%); opacity: 0.18; }
    50% { opacity: 0.38; }
    100% { transform: translateY(18%); opacity: 0.2; }
}

.starwave-section--world {
    position: relative;
}

.starwave-world__hint {
    margin: -0.3rem 0 0.9rem;
    color: rgba(159, 255, 229, 0.92);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.starwave-world-lanes {
    margin: -0.36rem 0 0.85rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.starwave-world-lanes li {
    margin: 0;
    min-height: 1.85rem;
    padding: 0.3rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(10, 14, 24, 0.74);
    color: rgba(227, 237, 255, 0.9);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.starwave-world-view-switch {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.34rem;
    margin: 0 0 0.72rem;
}

.starwave-world-view-switch button {
    min-height: 2rem;
    padding: 0.36rem 0.74rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(224, 235, 255, 0.88);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.starwave-world-view-switch button.is-active,
.starwave-world-view-switch button[aria-pressed="true"] {
    border-color: rgba(159, 255, 229, 0.65);
    background: linear-gradient(120deg, rgba(80, 239, 255, 0.2), rgba(255, 97, 215, 0.25));
    color: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.starwave-world-view-switch button:focus-visible {
    outline: 2px solid rgba(159, 255, 229, 0.82);
    outline-offset: 2px;
}

.starwave-world-view-status {
    margin: 0 0 0.72rem;
    color: rgba(173, 255, 237, 0.95);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.starwave-world-carousel {
    display: grid;
    gap: 0.72rem;
}

.starwave-world-carousel .starwave-carousel-controls {
    display: flex;
}

.starwave-world-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(420px, 56vw);
    gap: 0.8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    padding-bottom: 0.38rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.starwave-world-strip:focus-visible {
    outline: 2px solid rgba(159, 255, 229, 0.72);
    outline-offset: 3px;
    border-radius: 20px;
}

.starwave-world-strip::-webkit-scrollbar {
    display: none;
}

.starwave-world-card {
    position: relative;
    min-height: 290px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(8, 12, 22, 0.76);
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.35);
    scroll-snap-align: start;
    opacity: 0.52;
    transform: scale(0.94);
    transition: transform 260ms ease, opacity 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.starwave-world-card.is-active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(159, 255, 229, 0.54);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(159, 255, 229, 0.22) inset;
}

.starwave-world-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(80, 239, 255, 0.22), transparent 44%),
        linear-gradient(180deg, rgba(4, 8, 16, 0.12), rgba(4, 8, 16, 0.82));
}

.starwave-world-card img {
    position: absolute;
    inset: -4%;
    width: 108%;
    height: 108%;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.05);
    animation: sw-immersive-pan 11s ease-in-out infinite alternate;
}

.starwave-world-card div {
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.66rem;
    z-index: 2;
    display: grid;
    gap: 0.3rem;
    padding: 0.58rem 0.64rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(7, 12, 24, 0.7);
    backdrop-filter: blur(8px);
}

.starwave-world-card p,
.starwave-world-card h3,
.starwave-world-card span {
    margin: 0;
}

.starwave-world-card p {
    color: rgba(153, 248, 255, 0.9);
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.starwave-world-card h3 {
    color: #fff;
    font-size: 0.94rem;
    line-height: 1.25;
}

.starwave-world-card span {
    color: rgba(194, 208, 234, 0.84);
    font-size: 0.73rem;
    line-height: 1.45;
}

.starwave-world-card small {
    color: rgba(150, 247, 255, 0.88);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.starwave-world-view-block {
    display: none;
    gap: 0.3rem;
}

#world[data-world-view="investor"] [data-world-view-copy="investor"],
#world[data-world-view="sponsor"] [data-world-view-copy="sponsor"],
#world[data-world-view="partner"] [data-world-view-copy="partner"] {
    display: grid;
    animation: sw-world-copy-in 280ms ease;
}

@keyframes sw-world-copy-in {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

.starwave-world-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.starwave-world-board article {
    padding: 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background:
        radial-gradient(circle at 82% 0%, rgba(255, 97, 215, 0.16), transparent 8rem),
        rgba(10, 14, 24, 0.74);
}

.starwave-world-board h3 {
    margin: 0 0 0.62rem;
    color: #fff;
    font-size: 0.94rem;
}

.starwave-world-board ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.44rem;
}

.starwave-world-board li {
    position: relative;
    margin: 0;
    padding-left: 0.9rem;
    color: rgba(197, 211, 236, 0.9);
    font-size: 0.8rem;
    line-height: 1.52;
}

.starwave-world-board li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.46rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #9fffe5, #ff6dde);
    box-shadow: 0 0 10px rgba(159, 255, 229, 0.5);
}

@media (max-width: 980px) {
    .starwave-logo-wall {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .starwave-conversion-grid {
        grid-template-columns: 1fr;
    }

    .starwave-immersive-grid {
        grid-template-columns: 1fr 1fr;
    }

    .starwave-world-strip {
        grid-auto-columns: minmax(320px, 74vw);
    }

    .starwave-world-board {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .starwave-hero__cinema-tags {
        gap: 0.34rem;
    }

    .starwave-hero__cinema-tags span {
        min-height: 1.65rem;
        padding: 0.2rem 0.52rem;
        font-size: 0.58rem;
    }

    .starwave-hero__kpi {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .starwave-hero__kpi article {
        padding: 0.46rem 0.52rem;
    }

    .starwave-card__meta li {
        padding: 0.28rem 0.35rem;
    }

    .starwave-card__meta span {
        font-size: 0.56rem;
    }

    .starwave-card__meta strong {
        font-size: 0.61rem;
    }

    .starwave-logo-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.34rem;
    }

    .starwave-logo-wall span {
        min-height: 1.82rem;
        font-size: 0.56rem;
    }

    .starwave-partner-panel .starwave-partner-grid span {
        min-height: 1.9rem;
        font-size: 0.63rem;
    }

    .starwave-immersive-grid {
        grid-template-columns: 1fr;
        gap: 0.62rem;
    }

    .starwave-immersive-tile {
        min-height: 220px;
        border-radius: 16px;
    }

    .starwave-immersive-tile div {
        left: 0.55rem;
        right: 0.55rem;
        bottom: 0.5rem;
        padding: 0.5rem 0.58rem;
        border-radius: 11px;
    }

    .starwave-immersive-tile p {
        font-size: 0.55rem;
    }

    .starwave-immersive-tile h3 {
        font-size: 0.8rem;
    }

    .starwave-immersive-tile span {
        font-size: 0.66rem;
    }

    .starwave-world__hint {
        margin-top: -0.18rem;
        font-size: 0.6rem;
        letter-spacing: 0.1em;
    }

    .starwave-world-lanes {
        margin-top: -0.2rem;
        margin-bottom: 0.65rem;
        gap: 0.3rem;
    }

    .starwave-world-lanes li {
        min-height: 1.65rem;
        padding: 0.24rem 0.48rem;
        font-size: 0.54rem;
    }

    .starwave-world-view-switch {
        margin-bottom: 0.58rem;
        gap: 0.3rem;
    }

    .starwave-world-view-switch button {
        min-height: 1.7rem;
        padding: 0.24rem 0.5rem;
        font-size: 0.54rem;
    }

    .starwave-world-view-status {
        margin-bottom: 0.58rem;
        font-size: 0.58rem;
        line-height: 1.45;
    }

    .starwave-world-strip {
        gap: 0.62rem;
        grid-auto-columns: 84vw;
    }

    .starwave-world-card {
        min-height: 260px;
        border-radius: 16px;
        transform: scale(1);
        opacity: 1;
    }

    .starwave-world-card div {
        left: 0.55rem;
        right: 0.55rem;
        bottom: 0.52rem;
        padding: 0.46rem 0.54rem;
    }

    .starwave-world-card h3 {
        font-size: 0.8rem;
    }

    .starwave-world-card span {
        font-size: 0.66rem;
    }

    .starwave-world-card small {
        font-size: 0.52rem;
    }

    .starwave-world-board {
        margin-top: 0.8rem;
        gap: 0.62rem;
    }

    .starwave-world-board article {
        border-radius: 14px;
        padding: 0.7rem;
    }

    .starwave-world-board li {
        font-size: 0.71rem;
    }
}

/* ── Starwave V3: cinematic hero + immersive world + conversion ops ── */
.starwave-hero__trustbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.52rem;
    margin-top: 1.2rem;
}

.starwave-hero__trustbar article {
    display: grid;
    gap: 0.16rem;
    padding: 0.52rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(8, 14, 26, 0.52);
}

.starwave-hero__trustbar span {
    color: rgba(150, 247, 255, 0.9);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.starwave-hero__trustbar strong {
    color: #fff;
    font-size: 0.72rem;
    line-height: 1.35;
}

.starwave-console__status {
    display: grid;
    gap: 0.44rem;
    margin-top: 0.72rem;
}

.starwave-console__status div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 0.34rem 0.42rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(4, 10, 20, 0.62);
}

.starwave-console__status span {
    color: rgba(154, 245, 255, 0.88);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.starwave-console__status strong {
    color: #f6fbff;
    font-size: 0.64rem;
    font-weight: 800;
    text-align: right;
}

.starwave-section--world {
    --sw-world-accent-rgb: 126, 242, 255;
    --sw-world-alt-rgb: 255, 102, 220;
}

#world[data-world-theme="aurora"] {
    --sw-world-accent-rgb: 126, 242, 255;
    --sw-world-alt-rgb: 255, 102, 220;
}

#world[data-world-theme="cobalt"] {
    --sw-world-accent-rgb: 96, 162, 255;
    --sw-world-alt-rgb: 104, 243, 255;
}

#world[data-world-theme="nova"] {
    --sw-world-accent-rgb: 255, 126, 231;
    --sw-world-alt-rgb: 109, 249, 235;
}

#world[data-world-theme="gold"] {
    --sw-world-accent-rgb: 255, 214, 124;
    --sw-world-alt-rgb: 255, 137, 111;
}

#world[data-world-theme="cyan"] {
    --sw-world-accent-rgb: 116, 255, 233;
    --sw-world-alt-rgb: 104, 189, 255;
}

#world[data-world-theme="violet"] {
    --sw-world-accent-rgb: 177, 139, 255;
    --sw-world-alt-rgb: 102, 252, 255;
}

#world[data-world-theme="magenta"] {
    --sw-world-accent-rgb: 255, 102, 225;
    --sw-world-alt-rgb: 255, 165, 115;
}

#world[data-world-theme="ember"] {
    --sw-world-accent-rgb: 255, 171, 88;
    --sw-world-alt-rgb: 255, 106, 127;
}

#world[data-world-theme="emerald"] {
    --sw-world-accent-rgb: 123, 255, 173;
    --sw-world-alt-rgb: 83, 228, 255;
}

.starwave-world-stage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin: 0 0 0.45rem;
    color: rgba(215, 236, 255, 0.92);
}

.starwave-world-stage__label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.starwave-world-stage__count {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(157, 245, 255, 0.9);
}

.starwave-world-stage__progress {
    margin-bottom: 0.85rem;
    width: 100%;
    height: 0.26rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.starwave-world-stage__progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: left center;
    transform: scaleX(0.111);
    background: linear-gradient(90deg, rgba(var(--sw-world-accent-rgb), 1), rgba(var(--sw-world-alt-rgb), 1));
    box-shadow: 0 0 18px rgba(var(--sw-world-accent-rgb), 0.65);
    transition: transform 240ms ease;
}

.starwave-world-carousel {
    position: relative;
    padding: 0.9rem;
    border: 1px solid rgba(var(--sw-world-accent-rgb), 0.38);
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 0%, rgba(var(--sw-world-accent-rgb), 0.18), transparent 18rem),
        radial-gradient(circle at 96% 100%, rgba(var(--sw-world-alt-rgb), 0.18), transparent 18rem),
        rgba(7, 11, 20, 0.56);
}

.starwave-world-strip {
    grid-auto-columns: minmax(100%, 100%) !important;
    gap: 0.92rem;
    padding-bottom: 0.56rem;
}

.starwave-world-card {
    min-height: clamp(320px, 52vw, 530px);
    opacity: 0.34;
    transform: scale(0.92);
}

.starwave-world-card::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(var(--sw-world-accent-rgb), 0.22), transparent 44%),
        linear-gradient(180deg, rgba(4, 8, 16, 0.04), rgba(4, 8, 16, 0.82));
}

.starwave-world-card.is-active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(var(--sw-world-accent-rgb), 0.8);
    box-shadow:
        0 26px 76px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(var(--sw-world-accent-rgb), 0.38) inset,
        0 0 24px rgba(var(--sw-world-accent-rgb), 0.35);
}

.starwave-world-card.is-active div {
    border-color: rgba(var(--sw-world-accent-rgb), 0.62);
    background: rgba(5, 10, 18, 0.74);
}

.starwave-world-view-status {
    color: rgba(var(--sw-world-accent-rgb), 0.95);
}

.starwave-world-view-switch button.is-active,
.starwave-world-view-switch button[aria-pressed="true"] {
    border-color: rgba(var(--sw-world-accent-rgb), 0.75);
    background: linear-gradient(
        120deg,
        rgba(var(--sw-world-accent-rgb), 0.3),
        rgba(var(--sw-world-alt-rgb), 0.3)
    );
}

.starwave-conversion-intents {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 0.95rem;
}

.starwave-conversion-intents button {
    min-height: 2rem;
    padding: 0.36rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(226, 236, 255, 0.88);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: 200ms ease;
}

.starwave-conversion-intents button.is-active,
.starwave-conversion-intents button:hover,
.starwave-conversion-intents button:focus-visible {
    border-color: rgba(245, 199, 107, 0.8);
    background: linear-gradient(130deg, rgba(245, 199, 107, 0.34), rgba(255, 90, 205, 0.3));
    color: #fff;
    outline: none;
}

.starwave-conversion-grid--v3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.starwave-conversion-grid--v3 .starwave-conversion-card {
    display: grid;
    gap: 0.7rem;
    min-height: 262px;
    padding: 1.12rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 0%, rgba(255, 97, 215, 0.16), transparent 8rem),
        radial-gradient(circle at 12% 86%, rgba(80, 239, 255, 0.12), transparent 8rem),
        rgba(10, 14, 24, 0.74);
}

.starwave-conversion-card > p {
    margin: 0;
    color: rgba(157, 246, 255, 0.9);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.starwave-conversion-card > h3 {
    margin: 0;
    color: #fff;
    font-size: 1.06rem;
    line-height: 1.25;
}

.starwave-conversion-card > span {
    color: rgba(195, 209, 236, 0.86);
    font-size: 0.84rem;
    line-height: 1.6;
}

.starwave-conversion-card .starwave-btn {
    margin-top: auto;
    width: 100%;
}

.starwave-conversion-ops {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.9rem;
}

.starwave-conversion-ops article {
    padding: 0.76rem 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(8, 11, 20, 0.56);
}

.starwave-conversion-ops strong {
    display: block;
    margin-bottom: 0.28rem;
    color: #f8fbff;
    font-size: 0.8rem;
}

.starwave-conversion-ops span {
    color: rgba(188, 204, 232, 0.86);
    font-size: 0.74rem;
    line-height: 1.5;
}

.starwave-fab {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(245, 199, 107, 0.58);
    border-radius: 999px;
    color: #1a0e02;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    background: linear-gradient(135deg, #fff1c5, #f5c76b 45%, #ff89de);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

@media (max-width: 980px) {
    .starwave-conversion-grid--v3,
    .starwave-conversion-ops {
        grid-template-columns: 1fr;
    }

    .starwave-world-card {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 640px) {
    .starwave-hero__trustbar {
        grid-template-columns: 1fr;
        margin-top: 0.95rem;
    }

    .starwave-hero__trustbar article {
        padding: 0.45rem 0.54rem;
    }

    .starwave-console__status span {
        font-size: 0.52rem;
    }

    .starwave-console__status strong {
        font-size: 0.58rem;
    }

    .starwave-world-stage__label {
        font-size: 0.64rem;
        line-height: 1.4;
    }

    .starwave-world-stage__count {
        font-size: 0.58rem;
    }

    .starwave-world-carousel {
        padding: 0.56rem;
        border-radius: 16px;
    }

    .starwave-world-strip {
        gap: 0.6rem;
        padding-bottom: 0.35rem;
    }

    .starwave-world-card {
        min-height: 280px;
    }

    .starwave-conversion-intents button {
        min-height: 1.68rem;
        padding: 0.24rem 0.5rem;
        font-size: 0.54rem;
    }

    .starwave-conversion-card > h3 {
        font-size: 0.84rem;
    }

    .starwave-conversion-card > span {
        font-size: 0.71rem;
    }

    .starwave-conversion-ops span {
        font-size: 0.67rem;
    }

    .starwave-fab {
        right: 0.75rem;
        bottom: 0.75rem;
        min-height: 2.38rem;
        padding: 0.56rem 0.82rem;
        font-size: 0.66rem;
    }
}

/* ── Starwave V3.1: MacBook full-image presentation fix ── */
@media (min-width: 1180px) and (max-width: 1728px) {
    .starwave-card img,
    .starwave-upcoming-grid img,
    .starwave-gallery img {
        object-fit: contain !important;
        object-position: center center !important;
        background: rgba(5, 10, 18, 0.88);
    }

    .starwave-card img {
        transform: none !important;
    }

    .starwave-immersive-tile img,
    .starwave-world-card img {
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        animation: none !important;
        background: rgba(5, 10, 18, 0.86);
    }

    .starwave-world-card::before,
    .starwave-immersive-tile::before {
        background:
            radial-gradient(circle at 16% 20%, rgba(var(--sw-world-accent-rgb, 126, 242, 255), 0.16), transparent 42%),
            linear-gradient(180deg, rgba(4, 7, 14, 0.04), rgba(4, 7, 14, 0.58));
    }

    .starwave-gallery img {
        height: clamp(260px, 25vw, 340px);
    }
}
