:root {
    --bg-top: #071b7a;
    --bg-mid: #0d37db;
    --bg-bottom: #2f9bff;
    --surface: rgba(7, 18, 82, 0.68);
    --surface-strong: rgba(5, 15, 70, 0.88);
    --surface-soft: rgba(255, 255, 255, 0.08);
    --surface-line: rgba(255, 255, 255, 0.18);
    --ink: #fff2a8;
    --muted: rgba(255, 244, 195, 0.84);
    --line: rgba(255, 227, 116, 0.28);
    --accent: #ffd53d;
    --accent-deep: #ffb300;
    --spot: #fff8d7;
    --danger-bg: rgba(127, 36, 18, 0.42);
    --danger-line: rgba(255, 197, 155, 0.28);
    --success-bg: rgba(4, 58, 125, 0.46);
    --shadow: 0 24px 54px rgba(1, 8, 42, 0.32);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Space Grotesk", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.12), transparent 18%),
        radial-gradient(circle at 82% 18%, rgba(255, 224, 122, 0.18), transparent 18%),
        linear-gradient(135deg, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bottom) 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(14px);
    opacity: 0.55;
    animation: floatGlow 14s ease-in-out infinite;
}

body::before {
    top: -140px;
    right: -90px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 229, 124, 0.38), transparent 64%);
    transform: translate3d(0, 0, 0);
}

body::after {
    bottom: -180px;
    left: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(118, 200, 255, 0.28), transparent 68%);
    animation-duration: 17s;
}

body {
    --pointer-x: 50%;
    --pointer-y: 50%;
}

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

.admin-body {
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.08), transparent 16%),
        linear-gradient(135deg, #081b82 0%, #1435cc 52%, #2577ff 100%);
}

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

img {
    max-width: 100%;
}

.shell {
    width: min(1160px, calc(100% - 56px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
    background: rgba(4, 14, 68, 0.76);
    border-bottom: 1px solid rgba(255, 227, 116, 0.18);
}

.admin-header {
    background: rgba(4, 14, 68, 0.9);
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 16px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 54px;
    height: 54px;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(1, 8, 42, 0.28);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.12);
}

.brand-copy {
    display: grid;
    gap: 4px;
}

.brand-copy strong {
    font-family: "Sora", sans-serif;
    font-size: 1.2rem;
    line-height: 1;
}

.brand-copy small {
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.top-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 118px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 227, 116, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--spot);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.nav-toggle-icon {
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.top-nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.top-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.top-nav a:hover,
.top-nav a.active {
    color: #091d68;
    background: linear-gradient(135deg, #fff8d2 0%, #ffe979 34%, var(--accent) 68%, var(--accent-deep) 100%);
}

.top-nav .nav-cta {
    color: #091d68;
    background: linear-gradient(135deg, #fff8d2 0%, #ffe979 34%, var(--accent) 68%, var(--accent-deep) 100%);
    box-shadow: 0 12px 24px rgba(1, 8, 42, 0.2);
}

.top-nav .nav-cta:hover {
    transform: translateY(-2px);
}

main {
    display: block;
}

.hero,
.page-intro {
    padding: 64px 0 36px;
}

.hero-grid,
.two-col,
.contact-grid,
.summary-grid,
.field-grid,
.cards-grid,
.hero-badge-grid {
    display: grid;
    gap: 30px;
}

.hero-grid,
.two-col {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.hero-home {
    padding-top: 68px;
}

.hero-copy {
    max-width: 660px;
}

.hero-studio {
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    padding: 48px 0 28px;
}

.hero-studio-grid,
.studio-intro-grid,
.proof-grid,
.final-cta-shell,
.contact-stage,
.order-stage {
    display: grid;
    gap: 24px;
}

.hero-studio-grid {
    grid-template-columns: minmax(0, 1fr) 72px;
    align-items: end;
}

.hero-studio-copy {
    max-width: 920px;
}

.hero-project-link,
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--spot);
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-project-link::after,
.section-link::after {
    content: "";
    width: 44px;
    height: 1px;
    background: rgba(255, 227, 116, 0.46);
}

.hero-stack {
    display: grid;
    gap: 6px;
    max-width: 920px;
    font-family: "Sora", sans-serif;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero-stack span {
    display: block;
}

.hero-rotator {
    background: linear-gradient(135deg, #fffad9 0%, #ffea83 34%, var(--accent) 70%, var(--accent-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-side-label {
    margin-top: 22px;
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-scroll-note {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    align-self: center;
    justify-self: end;
    color: var(--muted);
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.85;
}

.eyebrow,
.section-kicker,
.case-meta,
.panel-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 213, 61, 0.14);
    border: 1px solid rgba(255, 227, 116, 0.16);
    color: var(--spot);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.hero h1,
.page-intro h1,
.admin-intro h1,
.auth-intro h1,
.section-heading h2,
.cta-band h2,
.panel h2,
.case-story h2 {
    margin: 18px 0 12px;
    font-family: "Sora", sans-serif;
    letter-spacing: -0.04em;
}

.hero h1,
.page-intro h1 {
    max-width: 900px;
    font-size: clamp(2.2rem, 4.6vw, 4.2rem);
    line-height: 1.02;
}

.hero h1 span,
.page-intro h1 span,
.case-story h2 span {
    background: linear-gradient(135deg, #fffad9 0%, #ffea83 34%, var(--accent) 70%, var(--accent-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead,
.page-intro p,
.section-copy,
.service-card p,
.case-card p,
.contact-card p,
.cta-band p,
.panel p,
.metric span,
.tiny,
.footer-brand p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
    font-size: 1rem;
}

.hero-actions,
.contact-actions,
.tag-row,
.admin-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions,
.contact-actions {
    margin-top: 28px;
}

.btn,
button.btn {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 22px;
    border-radius: 18px;
    font-size: 0.94rem;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    position: relative;
    overflow: hidden;
}

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

.btn::before,
button.btn::before {
    content: "";
    position: absolute;
    inset: -30% auto -30% -120%;
    width: 54%;
    transform: skewX(-24deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
    transition: transform 0.6s ease;
}

.btn:hover::before,
button.btn:hover::before {
    transform: translateX(320%) skewX(-24deg);
}

.btn-primary {
    color: #091d68;
    background: linear-gradient(135deg, #fff8d2 0%, #ffe979 34%, var(--accent) 68%, var(--accent-deep) 100%);
    box-shadow: 0 16px 28px rgba(1, 8, 42, 0.22);
}

.btn-secondary {
    color: var(--spot);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 227, 116, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.hero-card,
.panel,
.stat-card,
.service-card,
.case-card,
.contact-card,
.form-card,
.table-shell,
.cta-band {
    background: var(--surface);
    border: 1px solid var(--surface-line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-card,
.panel,
.service-card,
.case-card,
.contact-card,
.stat-card,
.form-card,
.table-shell {
    padding: 26px;
}

.hero-card,
.panel,
.service-card,
.case-card,
.contact-card,
.form-card,
.stat-card,
.cta-band {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.hero-card:hover,
.panel:hover,
.service-card:hover,
.case-card:hover,
.contact-card:hover,
.form-card:hover,
.stat-card:hover,
.cta-band:hover {
    border-color: rgba(255, 227, 116, 0.32);
    box-shadow: 0 30px 68px rgba(1, 8, 42, 0.38);
}

.cta-band {
    padding: 34px;
    background:
        linear-gradient(145deg, rgba(4, 16, 70, 0.86) 0%, rgba(11, 57, 201, 0.74) 58%, rgba(34, 131, 255, 0.68) 100%);
}

.hero-badge-grid,
.cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid,
.case-grid {
    align-items: stretch;
}

.case-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
}

.feature-grid .service-card,
.case-grid .case-card,
.portfolio-stack .case-story {
    min-height: 100%;
}

.case-card-large {
    grid-column: span 1;
}

.studio-card {
    position: relative;
    overflow: hidden;
}

.studio-card::after,
.case-card::after,
.panel::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 227, 116, 0.18), transparent 70%);
    pointer-events: none;
}

.hero-home .hero-copy {
    animation: heroLift 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-home .studio-card {
    animation: heroLift 1.05s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s both;
}

.metric {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 227, 116, 0.12);
    transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.metric strong {
    display: block;
    margin-bottom: 10px;
    font-family: "Sora", sans-serif;
    font-size: 1.15rem;
}

.metric:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 227, 116, 0.3);
    background: rgba(255, 255, 255, 0.09);
}

.section {
    padding: 36px 0 90px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 42px;
}

.section-heading-tight {
    align-items: center;
}

.section-heading h2,
.cta-band h2,
.panel h2,
.case-story h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    line-height: 1.08;
}

.intro-shell {
    max-width: 920px;
}

.page-intro-wide {
    padding-top: 68px;
}

.section-copy {
    max-width: 420px;
}

.service-card h3,
.case-card h3,
.contact-card h3,
.stat-card h3 {
    margin: 0 0 12px;
    font-size: 1.12rem;
    line-height: 1.3;
}

.case-meta {
    margin-bottom: 18px;
}

.tag-row {
    margin-top: 18px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 213, 61, 0.14);
    border: 1px solid rgba(255, 227, 116, 0.16);
    color: var(--spot);
    font-size: 0.82rem;
    font-weight: 700;
}

.portfolio-stack {
    display: grid;
    gap: 20px;
}

.studio-intro-section {
    padding-top: 12px;
}

.studio-intro-grid,
.proof-grid,
.final-cta-shell,
.contact-stage,
.order-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.studio-intro-copy h2,
.final-cta-copy h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.98;
}

.studio-intro-text {
    max-width: 460px;
    justify-self: end;
}

.project-wall,
.portfolio-showcase,
.rules-grid,
.testimonial-grid,
.services-slab {
    display: grid;
    gap: 18px;
}

.project-wall,
.portfolio-showcase {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-auto-rows: minmax(220px, 1fr);
    gap: 26px;
}

.project-tile {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--surface-line);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(7, 18, 82, 0.2) 46%, rgba(7, 18, 82, 0.82) 100%),
        radial-gradient(circle at 18% 18%, rgba(255, 233, 121, 0.18), transparent 24%),
        linear-gradient(135deg, rgba(4, 14, 68, 0.94) 0%, rgba(18, 60, 205, 0.84) 56%, rgba(42, 144, 255, 0.72) 100%);
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    aspect-ratio: 4 / 3;
}

.project-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.14), transparent 32%);
    opacity: 0;
    transition: opacity 0.24s ease;
    pointer-events: none;
}

.project-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 227, 116, 0.34);
    box-shadow: 0 30px 68px rgba(1, 8, 42, 0.4);
}

.project-tile:hover::after {
    opacity: 1;
}

.project-tile-large {
    grid-row: span 2;
}

.project-surface {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.18), transparent 22%),
        radial-gradient(circle at 18% 82%, rgba(255, 213, 61, 0.2), transparent 26%);
}

.project-copy {
    position: absolute;
    inset: auto 24px 24px 24px;
    z-index: 1;
    padding-top: 48px;
    background: linear-gradient(180deg, rgba(4, 14, 68, 0) 0%, rgba(4, 14, 68, 0.74) 32%, rgba(4, 14, 68, 0.92) 100%);
}

.project-copy h3,
.testimonial-card h3,
.rule-card h3 {
    margin: 10px 0 0;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.08;
    font-family: "Sora", sans-serif;
}

.marquee-section {
    padding: 12px 0 32px;
}

.marquee-shell {
    overflow: hidden;
    border-top: 1px solid rgba(255, 227, 116, 0.16);
    border-bottom: 1px solid rgba(255, 227, 116, 0.16);
}

.marquee-track {
    display: flex;
    gap: 34px;
    width: max-content;
    padding: 20px 0;
    animation: marqueeMove 26s linear infinite;
}

.marquee-track span {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    letter-spacing: -0.03em;
    color: var(--spot);
    white-space: nowrap;
}

.rules-grid,
.testimonial-grid,
.services-slab {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rule-card,
.testimonial-card {
    position: relative;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--surface-line);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
}

.rule-index,
.testimonial-meta {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.proof-panel {
    padding: 26px;
    border-radius: 28px;
    border: 1px solid var(--surface-line);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
}

.proof-panel-brands {
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 233, 121, 0.16), transparent 28%),
        rgba(255, 255, 255, 0.06);
}

.proof-stat {
    display: grid;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-stat:last-child {
    border-bottom: 0;
}

.proof-stat strong {
    font-family: "Sora", sans-serif;
    font-size: 1.45rem;
}

.brand-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.brand-cloud span {
    display: inline-flex;
    padding: 11px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 227, 116, 0.16);
    color: var(--spot);
    font-size: 0.88rem;
    font-weight: 600;
}

.final-cta-shell {
    align-items: end;
}

.final-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

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

.service-slab-card {
    min-height: 240px;
}

.service-anchor-card {
    display: grid;
    align-content: start;
}

.services-detail-stack {
    display: grid;
    gap: 22px;
}

.service-detail-card {
    scroll-margin-top: 110px;
}

.pricing-grid,
.faq-grid {
    display: grid;
    gap: 20px;
}

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

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

.faq-card h3 {
    margin: 0 0 10px;
}

.service-breakdown,
.contact-stage,
.order-stage {
    align-items: stretch;
}

.contact-stage-left,
.order-side-panel {
    display: grid;
    gap: 18px;
}

.contact-stage-card h3 {
    margin: 10px 0 0;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.contact-brief-panel,
.order-side-card {
    min-height: 100%;
}

.order-form-card {
    min-height: 100%;
}

.case-story {
    position: relative;
    overflow: hidden;
}

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

.contact-grid,
.summary-grid,
.field-grid,
.admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-stack {
    display: grid;
    gap: 18px;
}

.mini-card {
    padding: 20px;
}

.detail-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.detail-list li {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 227, 116, 0.12);
    color: var(--muted);
    line-height: 1.7;
}

.detail-list strong {
    color: var(--spot);
}

.field-note {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

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

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

.upload-trigger {
    width: fit-content;
}

.service-guide {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 18px;
    border-radius: 20px;
}

.service-guide h3,
.service-guide-title {
    margin: 0;
    font-size: 1rem;
}

.service-guide p {
    margin: 0;
}

.upload-preview,
.admin-reference-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.upload-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 227, 116, 0.16);
    color: var(--spot);
    font-size: 0.82rem;
    font-weight: 700;
}

.upload-preview-static {
    margin-top: 16px;
}

.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-contact .btn {
    box-shadow: 0 18px 34px rgba(1, 8, 42, 0.28);
}

.contact-card a:not(.btn),
.footer-links a,
.admin-contact-link {
    color: var(--spot);
    font-weight: 600;
}

.contact-card a:not(.btn):hover,
.footer-links a:hover,
.admin-contact-link:hover {
    color: #ffffff;
}

.js .reveal-ready {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition:
        opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0ms),
        transform 0.68s cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0ms);
}

.js .reveal-block {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
}

.js .reveal-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.order-form {
    display: grid;
    gap: 18px;
}

.field {
    display: grid;
    gap: 9px;
}

.field label {
    color: var(--spot);
    font-size: 0.94rem;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 227, 116, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: var(--spot);
    outline: none;
    font: inherit;
}

.field select option {
    color: #0a184f;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(255, 244, 195, 0.56);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(255, 227, 116, 0.44);
    box-shadow: 0 0 0 3px rgba(255, 213, 61, 0.12);
}

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

.notice,
.success {
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 18px;
    font-weight: 600;
}

.notice {
    color: var(--spot);
    background: var(--danger-bg);
    border: 1px solid var(--danger-line);
}

.success {
    color: var(--spot);
    background: var(--success-bg);
    border: 1px solid rgba(255, 227, 116, 0.18);
}

.auth-section {
    padding: 32px 0 54px;
}

.auth-shell {
    width: min(640px, calc(100% - 40px));
}

.auth-intro,
.admin-intro {
    max-width: 760px;
}

.auth-intro h1,
.admin-intro h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1;
}

.auth-intro p,
.admin-intro p {
    color: var(--muted);
}

.admin-section {
    padding: 30px 0 10px;
}

.admin-metric {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.9rem;
    line-height: 1;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-toolbar {
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-filter-form {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr auto;
    gap: 16px;
    align-items: end;
}

.admin-search-field input,
.admin-filter-field select {
    width: 100%;
}

.admin-toolbar-note {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-toolbar-actions {
    display: flex;
    justify-content: flex-end;
}

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

.settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 22px;
    align-items: start;
}

.settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.settings-side-panel h2 {
    margin-bottom: 16px;
}

.settings-note-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.settings-note {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 227, 116, 0.14);
}

.settings-note strong {
    display: block;
    margin-bottom: 8px;
    color: var(--spot);
    font-family: "Sora", sans-serif;
}

.settings-note p {
    margin: 0;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.analytics-panel {
    min-height: 100%;
}

.analytics-bars,
.analytics-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.analytics-bar,
.analytics-row {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    align-items: center;
    gap: 12px;
}

.bar-track {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.bar-fill {
    position: absolute;
    inset: 0;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff8d2 0%, #ffe979 34%, var(--accent) 68%, var(--accent-deep) 100%);
    box-shadow: 0 0 12px rgba(255, 215, 76, 0.4);
}

.admin-toolbar {
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-filter-form {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr auto;
    gap: 16px;
    align-items: end;
}

.admin-search-field input,
.admin-filter-field select {
    width: 100%;
}

.admin-toolbar-note {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.analytics-panel {
    min-height: 100%;
}

.analytics-bars,
.analytics-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.analytics-bar,
.analytics-row {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    align-items: center;
    gap: 12px;
}

.bar-track {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.bar-fill {
    position: absolute;
    inset: 0;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff8d2 0%, #ffe979 34%, var(--accent) 68%, var(--accent-deep) 100%);
    box-shadow: 0 0 12px rgba(255, 215, 76, 0.4);
}

.admin-table td {
    font-size: 0.92rem;
    line-height: 1.55;
}

.admin-table th {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-status,
.admin-mini-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
}

.admin-priority {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 227, 116, 0.2);
    color: var(--spot);
    font-weight: 700;
    text-transform: capitalize;
}

.admin-action-form {
    display: grid;
    gap: 10px;
}

.admin-action-form select,
.admin-action-form input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 227, 116, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: var(--spot);
    font: inherit;
}

.admin-action-form input::placeholder {
    color: rgba(255, 244, 195, 0.5);
}

.admin-status {
    padding: 8px 12px;
    background: rgba(255, 213, 61, 0.14);
    border: 1px solid rgba(255, 227, 116, 0.16);
    color: var(--spot);
    text-transform: capitalize;
}

.admin-mini-action {
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 227, 116, 0.16);
    color: var(--spot);
    font-size: 0.78rem;
}

.admin-mini-action:hover {
    color: #091d68;
    background: linear-gradient(135deg, #fff8d2 0%, #ffe979 34%, var(--accent) 68%, var(--accent-deep) 100%);
}

.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-card.tilt-active {
    transform:
        perspective(1200px)
        rotateX(var(--tilt-rotate-x, 0deg))
        rotateY(var(--tilt-rotate-y, 0deg))
        translateY(-3px);
}

.tilt-card.tilt-active::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at var(--tilt-glow-x, 50%) var(--tilt-glow-y, 50%), rgba(255, 255, 255, 0.16), transparent 36%);
}

.description-cell {
    min-width: 240px;
    color: var(--muted);
}

.empty-cell {
    padding: 24px 16px;
    text-align: center;
    color: var(--muted);
}

.site-footer {
    margin-top: 22px;
    border-top: 1px solid rgba(255, 227, 116, 0.16);
    background: rgba(4, 14, 68, 0.72);
}

.footer-shell {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0 36px;
}

.footer-brand strong {
    display: inline-block;
    margin-bottom: 10px;
    font-family: "Sora", sans-serif;
    font-size: 1.05rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}

@keyframes floatGlow {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-18px, 22px, 0) scale(1.06);
    }
}

@keyframes heroLift {
    from {
        opacity: 0;
        transform: translate3d(0, 36px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes marqueeMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 980px) {
    .header-shell,
    .section-heading,
    .case-story-head,
    .footer-shell {
        align-items: start;
        flex-direction: column;
    }

    .top-nav,
    .footer-links {
        justify-content: flex-start;
    }

    .top-nav {
        position: relative;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-toggle {
        display: inline-flex;
        align-self: flex-end;
    }

    .top-nav-links {
        display: none;
        width: 100%;
        padding: 14px;
        border-radius: 22px;
        background: rgba(4, 14, 68, 0.92);
        border: 1px solid rgba(255, 227, 116, 0.16);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }

    .top-nav.nav-open .top-nav-links {
        display: flex;
    }

    .top-nav.nav-open .nav-toggle-icon {
        transform: rotate(45deg);
    }

    .top-nav-links a {
        width: 100%;
        text-align: left;
    }

    .hero-grid,
    .two-col,
    .contact-grid,
    .summary-grid,
    .field-grid,
    .admin-stats,
    .hero-badge-grid,
    .cards-grid,
    .case-grid,
    .hero-studio-grid,
    .studio-intro-grid,
    .proof-grid,
    .final-cta-shell,
    .contact-stage,
    .order-stage,
    .project-wall,
    .portfolio-showcase,
    .rules-grid,
    .testimonial-grid,
    .services-slab,
    .pricing-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .admin-filter-form {
        grid-template-columns: 1fr;
    }

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

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .upload-preview,
    .admin-reference-list {
        align-items: stretch;
    }

    .admin-toolbar-actions {
        justify-content: flex-start;
    }

    .admin-filter-form {
        grid-template-columns: 1fr;
    }

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

    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .page-intro h1 {
        font-size: clamp(2rem, 9vw, 3.4rem);
    }

    .hero-scroll-note {
        writing-mode: initial;
        justify-self: start;
    }

    .project-tile-large {
        grid-row: span 1;
    }

    .studio-intro-text {
        justify-self: start;
    }

    .final-cta-actions {
        justify-content: flex-start;
    }

    .tilt-card.tilt-active {
        transform: none;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 28px, 100%);
    }

    .site-header {
        position: static;
    }

    .brand {
        align-items: start;
    }

    .brand-copy strong {
        font-size: 1.05rem;
    }

    .hero,
    .page-intro {
        padding-top: 36px;
    }

    .section {
        padding: 20px 0 56px;
    }

    .hero-card,
    .panel,
    .service-card,
    .case-card,
    .contact-card,
    .stat-card,
    .form-card,
    .table-shell,
    .cta-band {
        padding: 22px;
        border-radius: 22px;
    }

    .btn,
    button.btn {
        width: 100%;
    }

    .settings-actions {
        display: grid;
    }

    .top-nav,
    .top-nav-links,
    .nav-toggle {
        width: 100%;
    }

    .floating-contact {
        right: 14px;
        left: 14px;
        bottom: 14px;
    }

    body::before,
    body::after {
        opacity: 0.34;
    }
}

/* Premium 3D visual upgrade */
:root {
    --bg-top: #020711;
    --bg-mid: #06194b;
    --bg-bottom: #01040b;
    --surface: rgba(4, 13, 31, 0.74);
    --surface-strong: rgba(2, 7, 17, 0.92);
    --surface-soft: rgba(0, 120, 255, 0.1);
    --surface-line: rgba(255, 214, 106, 0.22);
    --ink: #f8fbff;
    --muted: rgba(218, 229, 248, 0.78);
    --line: rgba(255, 214, 106, 0.2);
    --accent: #f6b634;
    --accent-deep: #b8750d;
    --blue-core: #0078ff;
    --blue-hot: #00a8ff;
    --spot: #fff4c2;
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
}

body:not(.admin-body) {
    font-family: "Outfit", "Space Grotesk", sans-serif;
    background:
        radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 34%), rgba(0, 168, 255, 0.22), transparent 20rem),
        radial-gradient(circle at calc(100% - var(--pointer-x, 50%)) 28%, rgba(246, 182, 52, 0.2), transparent 22rem),
        linear-gradient(180deg, rgba(2, 7, 17, 0.18), rgba(2, 7, 17, 0.94)),
        url("../images/premium-honeycomb-bg.png") center top / cover fixed,
        #020711;
}

body:not(.admin-body)::before {
    width: 58vw;
    height: 58vw;
    top: -22vw;
    right: -20vw;
    background: radial-gradient(circle, rgba(0, 120, 255, 0.38), transparent 64%);
    filter: blur(22px);
}

body:not(.admin-body)::after {
    width: 52vw;
    height: 52vw;
    left: -20vw;
    bottom: -24vw;
    background: radial-gradient(circle, rgba(246, 182, 52, 0.28), transparent 66%);
    filter: blur(24px);
}

.honeycomb-field {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.78;
    perspective: 1000px;
}

.honey-tile {
    position: absolute;
    left: var(--tile-x);
    top: var(--tile-y);
    width: 84px;
    height: 74px;
    clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.34), transparent 18%),
        linear-gradient(135deg, rgba(0, 120, 255, 0.17), rgba(246, 182, 52, 0.09));
    border: 1px solid rgba(255, 214, 106, 0.22);
    box-shadow:
        inset 0 0 18px rgba(0, 168, 255, 0.18),
        0 0 18px rgba(0, 0, 0, 0.24);
    transform:
        translate3d(0, 0, 0)
        rotateX(58deg)
        rotateZ(var(--tile-rotate, 0deg))
        scale(var(--tile-scale, 1));
    transition: transform 0.34s ease, opacity 0.34s ease, filter 0.34s ease, box-shadow 0.34s ease;
    opacity: 0.18;
}

.honey-tile.is-hot {
    --tile-scale: 1.22;
    opacity: 0.95;
    filter: saturate(1.45) brightness(1.24);
    transform:
        translate3d(var(--push-x, 0), var(--push-y, 0), 56px)
        rotateX(48deg)
        rotateZ(var(--tile-rotate, 0deg))
        scale(var(--tile-scale, 1.2));
    box-shadow:
        inset 0 0 20px rgba(255, 255, 255, 0.18),
        0 0 28px rgba(0, 168, 255, 0.38),
        0 0 42px rgba(246, 182, 52, 0.34);
}

.honey-tile.is-hot::after {
    content: "";
    position: absolute;
    inset: 13px;
    clip-path: inherit;
    background:
        linear-gradient(135deg, transparent 0 32%, rgba(255, 255, 255, 0.5) 33% 35%, transparent 36% 100%),
        radial-gradient(circle, rgba(246, 182, 52, 0.5), transparent 62%);
    opacity: 0.72;
}

.site-header {
    background:
        linear-gradient(90deg, rgba(2, 7, 17, 0.9), rgba(5, 22, 55, 0.82), rgba(2, 7, 17, 0.9));
    border-bottom-color: rgba(246, 182, 52, 0.28);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.brand-mark {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    border: 1px solid rgba(246, 182, 52, 0.34);
    box-shadow:
        0 0 24px rgba(0, 120, 255, 0.28),
        0 0 24px rgba(246, 182, 52, 0.18),
        0 18px 34px rgba(0, 0, 0, 0.4);
}

.brand-copy strong,
.hero-stack,
.section-heading h2,
.studio-intro-copy h2,
.final-cta-copy h2,
.project-copy h3,
.testimonial-card h3,
.rule-card h3,
.proof-stat strong,
.marquee-track span {
    font-family: "Orbitron", "Sora", sans-serif;
}

.brand-copy strong {
    color: var(--spot);
    letter-spacing: 0.01em;
}

.top-nav a {
    border: 1px solid transparent;
}

.top-nav a:hover,
.top-nav a.active {
    color: #06111f;
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 28px rgba(246, 182, 52, 0.2);
}

.hero-studio {
    position: relative;
    min-height: calc(100vh - 86px);
    overflow: hidden;
}

.hero-studio::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 74% 38%, rgba(246, 182, 52, 0.22), transparent 20rem),
        radial-gradient(circle at 22% 34%, rgba(0, 120, 255, 0.22), transparent 22rem),
        linear-gradient(180deg, rgba(2, 7, 17, 0.3), rgba(2, 7, 17, 0.86));
    pointer-events: none;
}

.hero-studio-grid {
    position: relative;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr) 44px;
    align-items: center;
    gap: 34px;
}

.hero-project-link,
.section-link,
.section-kicker,
.case-meta,
.panel-label,
.eyebrow {
    background:
        linear-gradient(135deg, rgba(0, 120, 255, 0.18), rgba(246, 182, 52, 0.16));
    border-color: rgba(246, 182, 52, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-stack {
    text-transform: uppercase;
    text-shadow:
        0 0 18px rgba(0, 120, 255, 0.28),
        0 10px 36px rgba(0, 0, 0, 0.42);
}

.hero-rotator,
.hero-stack span:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #d9ecff 18%, #00a8ff 42%, #fff0a3 74%, #f6b634 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-side-label {
    color: rgba(248, 251, 255, 0.74);
}

.hero-premium-visual {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.hero-premium-visual::before {
    content: "";
    position: absolute;
    inset: 5% -8% 12%;
    border-radius: 38px;
    background:
        radial-gradient(circle at 38% 30%, rgba(0, 168, 255, 0.24), transparent 34%),
        radial-gradient(circle at 68% 60%, rgba(246, 182, 52, 0.28), transparent 34%),
        rgba(2, 7, 17, 0.48);
    border: 1px solid rgba(255, 214, 106, 0.22);
    box-shadow:
        inset 0 0 80px rgba(0, 120, 255, 0.14),
        0 32px 90px rgba(0, 0, 0, 0.42);
    transform: rotateX(4deg) rotateY(-7deg);
}

.hero-orbit-shell {
    position: relative;
    z-index: 1;
    width: min(390px, 82vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    transform-style: preserve-3d;
    animation: premiumFloat 6s ease-in-out infinite;
}

.hero-orbit-shell img {
    width: 74%;
    border-radius: 28%;
    filter:
        drop-shadow(0 0 22px rgba(0, 120, 255, 0.36))
        drop-shadow(0 0 28px rgba(246, 182, 52, 0.28));
    transform: translateZ(72px);
}

.orbit-ring {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 3px solid transparent;
    transform-style: preserve-3d;
}

.orbit-ring-blue {
    border-left-color: var(--blue-hot);
    border-top-color: rgba(0, 168, 255, 0.72);
    box-shadow: 0 0 32px rgba(0, 120, 255, 0.3);
    animation: orbitBlue 8s linear infinite;
}

.orbit-ring-gold {
    inset: 15%;
    border-right-color: var(--accent);
    border-bottom-color: rgba(246, 182, 52, 0.76);
    box-shadow: 0 0 32px rgba(246, 182, 52, 0.24);
    animation: orbitGold 10s linear infinite reverse;
}

.hero-orbit-chip {
    position: absolute;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(2, 7, 17, 0.86);
    border: 1px solid rgba(246, 182, 52, 0.3);
    color: var(--spot);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.chip-web { top: 8%; left: 4%; }
.chip-app { top: 22%; right: -4%; }
.chip-bot { bottom: 18%; left: -4%; }
.chip-dash { bottom: 7%; right: 8%; }

.hero-console {
    position: absolute;
    z-index: 2;
    bottom: 38px;
    left: 50%;
    width: min(360px, 78%);
    height: 72px;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 24px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(2, 7, 17, 0.78);
    border: 1px solid rgba(255, 214, 106, 0.22);
    transform: translateX(-50%) perspective(700px) rotateX(54deg);
}

.hero-console span {
    display: block;
    width: 42px;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, var(--blue-hot), var(--blue-core));
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.35);
    animation: consoleBars 1.8s ease-in-out infinite;
}

.hero-console span:nth-child(1) { height: 22px; }
.hero-console span:nth-child(2) { height: 40px; background: linear-gradient(180deg, var(--spot), var(--accent)); animation-delay: 0.18s; }
.hero-console span:nth-child(3) { height: 30px; animation-delay: 0.36s; }

.btn,
button.btn,
.top-nav .nav-cta {
    border-radius: 999px;
    font-family: "Outfit", sans-serif;
    font-weight: 900;
    letter-spacing: 0.01em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 16px 36px rgba(0, 0, 0, 0.28);
}

.btn-primary,
.top-nav .nav-cta {
    color: #06111f;
    background: linear-gradient(135deg, #fff7c7 0%, #f6b634 44%, #b8750d 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(0, 120, 255, 0.22), rgba(3, 12, 27, 0.76));
    border-color: rgba(0, 168, 255, 0.28);
}

.hero-card,
.panel,
.stat-card,
.service-card,
.case-card,
.contact-card,
.form-card,
.table-shell,
.cta-band,
.project-tile,
.rule-card,
.testimonial-card,
.proof-panel {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(9, 27, 64, 0.86), rgba(2, 7, 17, 0.9) 56%, rgba(92, 55, 8, 0.62)),
        rgba(2, 7, 17, 0.78);
    border-color: rgba(255, 214, 106, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -38px 80px rgba(0, 0, 0, 0.22),
        0 30px 70px rgba(0, 0, 0, 0.4);
}

.hero-card::before,
.panel::before,
.stat-card::before,
.service-card::before,
.case-card::before,
.contact-card::before,
.form-card::before,
.cta-band::before,
.project-tile::before,
.rule-card::before,
.testimonial-card::before,
.proof-panel::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at var(--tilt-glow-x, var(--pointer-x, 50%)) var(--tilt-glow-y, var(--pointer-y, 50%)), rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(135deg, rgba(0, 168, 255, 0.16), transparent 42%, rgba(246, 182, 52, 0.16));
    opacity: 0;
    transition: opacity 0.24s ease;
}

.hero-card:hover::before,
.panel:hover::before,
.stat-card:hover::before,
.service-card:hover::before,
.case-card:hover::before,
.contact-card:hover::before,
.form-card:hover::before,
.cta-band:hover::before,
.project-tile:hover::before,
.rule-card:hover::before,
.testimonial-card:hover::before,
.proof-panel:hover::before,
.tilt-card.tilt-active::before {
    opacity: 1;
}

.project-tile {
    background:
        linear-gradient(155deg, rgba(0, 120, 255, 0.24), rgba(2, 7, 17, 0.82) 50%, rgba(246, 182, 52, 0.18)),
        url("../images/premium-honeycomb-bg.png") center / cover;
}

.brand-cloud span,
.tag,
.detail-list li,
.metric {
    background:
        linear-gradient(135deg, rgba(0, 120, 255, 0.16), rgba(246, 182, 52, 0.1)),
        rgba(2, 7, 17, 0.64);
    border-color: rgba(255, 214, 106, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.reveal-ready {
    transform: translateY(30px) scale(0.985);
}

.reveal-visible {
    transform: translateY(0) scale(1);
}

@keyframes premiumFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translate3d(0, -16px, 0) rotateX(3deg) rotateY(-4deg);
    }
}

@keyframes orbitBlue {
    to {
        transform: rotate(360deg) rotateX(58deg);
    }
}

@keyframes orbitGold {
    to {
        transform: rotate(360deg) rotateX(64deg);
    }
}

@keyframes consoleBars {
    0%, 100% {
        transform: scaleY(0.75);
    }
    50% {
        transform: scaleY(1.15);
    }
}

@media (max-width: 980px) {
    .hero-studio-grid {
        grid-template-columns: 1fr;
    }

    .hero-premium-visual {
        min-height: 420px;
        order: -1;
    }

    .hero-scroll-note {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-premium-visual {
        min-height: 350px;
    }

    .hero-stack {
        font-size: clamp(2rem, 13vw, 3.2rem);
    }

    .honey-tile {
        width: 64px;
        height: 56px;
    }
}

/* Premium 3D showcase replacement */
.hero-stack {
    font-family: "Sora", "Space Grotesk", "Outfit", sans-serif;
    font-size: clamp(1.85rem, 4.2vw, 3.55rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.hero-stack span {
    letter-spacing: 0;
}

.hero-showcase-visual {
    min-height: 590px;
    perspective: 1400px;
    isolation: isolate;
}

.hero-showcase-visual::before {
    inset: 3% -4% 8%;
    border-radius: 34px;
    background:
        radial-gradient(circle at 38% 24%, rgba(0, 168, 255, 0.28), transparent 30%),
        radial-gradient(circle at 68% 56%, rgba(246, 182, 52, 0.3), transparent 32%),
        linear-gradient(145deg, rgba(0, 120, 255, 0.12), rgba(2, 7, 17, 0.58) 45%, rgba(246, 182, 52, 0.1)),
        rgba(2, 7, 17, 0.52);
    box-shadow:
        inset 0 0 92px rgba(0, 168, 255, 0.16),
        inset 0 0 72px rgba(246, 182, 52, 0.11),
        0 34px 110px rgba(0, 0, 0, 0.48);
}

.showcase-frame {
    position: relative;
    z-index: 1;
    width: min(560px, 96%);
    aspect-ratio: 1;
    transform-style: preserve-3d;
    animation: showcaseFloat 7s ease-in-out infinite;
}

.showcase-frame::before,
.showcase-frame::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 34px;
}

.showcase-frame::before {
    inset: -4%;
    background:
        conic-gradient(from 130deg, rgba(0, 168, 255, 0.7), transparent 18%, rgba(246, 182, 52, 0.78), transparent 58%, rgba(0, 168, 255, 0.62));
    filter: blur(20px);
    opacity: 0.62;
    transform: translateZ(-28px);
}

.showcase-frame::after {
    inset: 6%;
    border: 1px solid rgba(255, 214, 106, 0.28);
    box-shadow:
        inset 0 0 32px rgba(0, 168, 255, 0.18),
        inset 0 0 34px rgba(246, 182, 52, 0.12);
    transform: translateZ(48px);
}

.showcase-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    border: 1px solid rgba(255, 214, 106, 0.3);
    box-shadow:
        0 0 0 1px rgba(0, 168, 255, 0.16),
        0 26px 70px rgba(0, 0, 0, 0.52),
        0 0 44px rgba(0, 120, 255, 0.22),
        0 0 52px rgba(246, 182, 52, 0.16);
    transform: translateZ(16px);
}

.showcase-brand {
    position: absolute;
    left: 50%;
    bottom: 18%;
    z-index: 3;
    display: grid;
    gap: 3px;
    text-align: center;
    text-transform: uppercase;
    transform: translate3d(-50%, 0, 92px);
    text-shadow:
        0 0 12px rgba(0, 168, 255, 0.58),
        0 0 18px rgba(246, 182, 52, 0.44),
        0 10px 28px rgba(0, 0, 0, 0.64);
}

.showcase-brand span {
    font-family: "Orbitron", "Sora", sans-serif;
    font-size: clamp(1.45rem, 3vw, 2.35rem);
    font-weight: 900;
    color: #fff9d8;
    letter-spacing: 0.04em;
}

.showcase-brand strong {
    font-family: "Space Grotesk", "Outfit", sans-serif;
    font-size: clamp(0.72rem, 1.25vw, 1rem);
    font-weight: 800;
    letter-spacing: 0.34em;
    color: #9ed8ff;
}

.showcase-chip {
    position: absolute;
    z-index: 4;
    max-width: 170px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--spot);
    background:
        linear-gradient(145deg, rgba(2, 7, 17, 0.9), rgba(8, 28, 64, 0.82)),
        rgba(2, 7, 17, 0.78);
    border: 1px solid rgba(255, 214, 106, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 0 22px rgba(0, 168, 255, 0.24),
        0 14px 34px rgba(0, 0, 0, 0.36);
    font-family: "Orbitron", "Sora", sans-serif;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateZ(86px);
    animation: floatingBadge 5.4s ease-in-out infinite;
}

.chip-design { top: 8%; left: -3%; color: #aee1ff; }
.chip-business { top: 27%; left: -7%; animation-delay: 0.25s; }
.chip-mobile { bottom: 30%; left: -4%; color: #aee1ff; animation-delay: 0.45s; }
.chip-bots { bottom: 14%; left: 2%; animation-delay: 0.7s; }
.chip-landing { top: 8%; right: -4%; animation-delay: 0.2s; }
.chip-dashboards { top: 34%; right: -8%; color: #ffe7a3; animation-delay: 0.55s; }
.chip-custom { bottom: 20%; right: -2%; animation-delay: 0.9s; }

.showcase-contact-bar {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 4.5%;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(0, 120, 255, 0.18), rgba(2, 7, 17, 0.86), rgba(246, 182, 52, 0.16));
    border: 1px solid rgba(255, 214, 106, 0.26);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 16px 38px rgba(0, 0, 0, 0.36);
    transform: translateZ(94px);
}

.showcase-contact-bar span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(248, 251, 255, 0.92);
    font-size: 0.68rem;
    font-weight: 800;
    text-align: center;
}

@keyframes showcaseFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translate3d(0, -18px, 0) rotateX(4deg) rotateY(-5deg);
    }
}

@keyframes floatingBadge {
    0%, 100% {
        transform: translate3d(0, 0, 86px);
        filter: brightness(1);
    }
    50% {
        transform: translate3d(0, -10px, 106px);
        filter: brightness(1.18);
    }
}

@media (max-width: 980px) {
    .hero-showcase-visual {
        min-height: 520px;
    }

    .showcase-frame {
        width: min(520px, 92vw);
    }
}

@media (max-width: 640px) {
    .hero-stack {
        font-size: clamp(1.58rem, 8.4vw, 2.4rem);
    }

    .hero-showcase-visual {
        min-height: 410px;
    }

    .showcase-frame {
        width: min(380px, 92vw);
    }

    .showcase-chip {
        padding: 7px 9px;
        font-size: 0.54rem;
    }

    .chip-business,
    .chip-dashboards,
    .chip-custom {
        display: none;
    }

    .showcase-contact-bar {
        grid-template-columns: 1fr;
        left: 9%;
        right: 9%;
        bottom: 3.5%;
    }

    .showcase-contact-bar span:nth-child(1),
    .showcase-contact-bar span:nth-child(3) {
        display: none;
    }
}

/* Final poster hero reset */
.hero-studio-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.08fr) 30px;
    gap: clamp(22px, 4vw, 54px);
}

.hero-stack {
    font-family: "Space Grotesk", "Sora", "Outfit", sans-serif !important;
    font-size: clamp(1.45rem, 3.15vw, 2.85rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    text-transform: none;
}

.hero-stack span {
    letter-spacing: 0 !important;
    font-weight: 800;
}

.hero-rotator,
.hero-stack span:nth-child(1) {
    font-family: "Orbitron", "Space Grotesk", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-side-label,
.hero-project-link {
    font-family: "Space Grotesk", "Outfit", sans-serif;
}

.hero-showcase-visual {
    min-height: 640px;
    overflow: visible;
}

.hero-showcase-visual::before {
    inset: -8% -10% -4%;
    border: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 36%, rgba(0, 168, 255, 0.34), transparent 32%),
        radial-gradient(circle at 68% 48%, rgba(246, 182, 52, 0.3), transparent 34%),
        conic-gradient(from 110deg, rgba(0, 168, 255, 0.18), transparent 20%, rgba(246, 182, 52, 0.18), transparent 58%, rgba(0, 168, 255, 0.14));
    box-shadow: none;
    filter: blur(18px);
    opacity: 0.88;
    transform: none;
}

.showcase-frame {
    width: min(690px, 106%);
    border-radius: 0;
    animation: posterFloat 7.6s ease-in-out infinite;
}

.showcase-frame::before {
    inset: -9%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 26% 42%, rgba(0, 168, 255, 0.42), transparent 34%),
        radial-gradient(circle at 74% 44%, rgba(246, 182, 52, 0.4), transparent 34%);
    filter: blur(28px);
    opacity: 0.62;
    transform: translateZ(-40px);
}

.showcase-frame::after {
    content: none;
}

.showcase-art {
    position: relative;
    border: 0;
    border-radius: 0;
    clip-path: polygon(1.8% 0, 98.2% 0, 100% 4%, 100% 96%, 98.2% 100%, 1.8% 100%, 0 96%, 0 4%);
    box-shadow:
        0 38px 110px rgba(0, 0, 0, 0.58),
        0 0 64px rgba(0, 168, 255, 0.28),
        0 0 74px rgba(246, 182, 52, 0.2);
    transform: translateZ(22px);
}

.showcase-brand,
.showcase-chip,
.showcase-contact-bar {
    display: none !important;
}

.showcase-light {
    position: absolute;
    z-index: 4;
    width: 28%;
    height: 28%;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(18px);
    opacity: 0.54;
    animation: lightDrift 5.8s ease-in-out infinite;
}

.light-blue {
    left: 5%;
    top: 22%;
    background: rgba(0, 168, 255, 0.72);
}

.light-gold {
    right: 4%;
    bottom: 16%;
    background: rgba(246, 182, 52, 0.64);
    animation-delay: 0.8s;
}

.hero-orbit-shell {
    width: min(690px, 106%) !important;
    aspect-ratio: 1 !important;
    background: url("../images/premium-dg-showcase.png") center / cover no-repeat !important;
    border-radius: 0 !important;
    clip-path: polygon(1.8% 0, 98.2% 0, 100% 4%, 100% 96%, 98.2% 100%, 1.8% 100%, 0 96%, 0 4%);
    box-shadow:
        0 38px 110px rgba(0, 0, 0, 0.58),
        0 0 64px rgba(0, 168, 255, 0.28),
        0 0 74px rgba(246, 182, 52, 0.2) !important;
    animation: posterFloat 7.6s ease-in-out infinite !important;
}

.hero-orbit-shell > *,
.orbit-ring,
.hero-orbit-chip,
.hero-console {
    display: none !important;
}

@keyframes posterFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translate3d(0, -16px, 0) rotateX(2deg) rotateY(-3deg);
    }
}

@keyframes lightDrift {
    0%, 100% {
        transform: translate3d(0, 0, 46px) scale(1);
    }
    50% {
        transform: translate3d(12px, -16px, 66px) scale(1.14);
    }
}

@media (max-width: 980px) {
    .hero-studio-grid {
        grid-template-columns: 1fr;
    }

    .hero-showcase-visual {
        min-height: min(92vw, 560px);
    }

    .showcase-frame,
    .hero-orbit-shell {
        width: min(620px, 96vw) !important;
    }
}

@media (max-width: 640px) {
    .hero-stack {
        font-size: clamp(1.24rem, 6.6vw, 1.92rem) !important;
        line-height: 1.14 !important;
    }

    .hero-showcase-visual {
        min-height: min(94vw, 420px);
    }

    .showcase-frame,
    .hero-orbit-shell {
        width: min(410px, 98vw) !important;
    }
}

/* Calm background reset */
.honeycomb-field,
.honey-tile {
    display: none !important;
}

body:not(.admin-body) {
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 168, 255, 0.16), transparent 20rem),
        radial-gradient(circle at 82% 26%, rgba(246, 182, 52, 0.14), transparent 22rem),
        linear-gradient(180deg, rgba(2, 7, 17, 0.22), rgba(2, 7, 17, 0.96)),
        #020711 !important;
}

/* Static honeycomb background restored */
.honeycomb-field,
.honey-tile {
    display: none !important;
}

body:not(.admin-body) {
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 168, 255, 0.18), transparent 20rem),
        radial-gradient(circle at 82% 28%, rgba(246, 182, 52, 0.16), transparent 22rem),
        linear-gradient(180deg, rgba(2, 7, 17, 0.18), rgba(2, 7, 17, 0.94)),
        url("../images/premium-honeycomb-bg.png") center top / cover fixed,
        #020711 !important;
}

/* Device compatibility pass */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.shell {
    width: min(1160px, calc(100% - clamp(28px, 5vw, 56px)));
}

.hero-studio-copy,
.hero-stack,
.section-heading,
.contact-card,
.stat-card,
.panel {
    min-width: 0;
}

.showcase-frame,
.showcase-art {
    max-width: 100%;
}

@media (max-width: 1180px) {
    .hero-studio-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr) !important;
    }

    .hero-scroll-note {
        display: none;
    }

    .showcase-frame,
    .hero-orbit-shell {
        width: min(560px, 100%) !important;
    }
}

@media (max-width: 980px) {
    .site-header {
        position: sticky;
    }

    .header-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
    }

    .brand {
        min-width: 0;
    }

    .brand-copy {
        min-width: 0;
    }

    .brand-copy strong,
    .brand-copy small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .top-nav {
        width: auto !important;
        align-items: end !important;
    }

    .nav-toggle {
        min-width: 96px;
        padding: 10px 13px;
    }

    .top-nav-links {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        width: min(320px, calc(100vw - 32px)) !important;
        z-index: 60;
    }

    .hero,
    .page-intro {
        padding-top: clamp(30px, 8vw, 54px);
    }

    .hero-studio {
        min-height: auto !important;
    }

    .hero-studio-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: clamp(22px, 6vw, 38px) !important;
    }

    .hero-premium-visual {
        order: 0 !important;
    }

    .hero-stack {
        max-width: 760px;
        font-size: clamp(1.7rem, 7vw, 3rem) !important;
        line-height: 1.08 !important;
    }

    .hero-project-link {
        max-width: 100%;
        white-space: normal;
    }

    .hero-showcase-visual {
        min-height: clamp(340px, 86vw, 560px) !important;
        overflow: hidden !important;
    }

    .hero-showcase-visual::before {
        inset: 2% 0 8% !important;
        filter: blur(14px) !important;
    }

    .showcase-frame,
    .hero-orbit-shell {
        width: min(560px, 96vw) !important;
        margin-inline: auto;
    }

    .contact-stage,
    .pricing-grid,
    .cards-grid {
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 24px, 520px);
    }

    .header-shell {
        padding: 10px 0;
        gap: 10px;
    }

    .brand-mark {
        width: 46px !important;
        height: 46px !important;
        border-radius: 15px !important;
    }

    .brand-copy strong {
        font-size: clamp(0.92rem, 4vw, 1.08rem) !important;
    }

    .brand-copy small {
        font-size: 0.58rem !important;
        letter-spacing: 0.04em !important;
    }

    .nav-toggle {
        min-width: 82px;
        padding: 9px 11px;
        font-size: 0.82rem;
    }

    .top-nav-links {
        width: calc(100vw - 24px) !important;
        right: 0;
    }

    .hero-stack {
        font-size: clamp(1.36rem, 8.4vw, 2.2rem) !important;
        line-height: 1.12 !important;
        gap: 4px;
    }

    .hero-side-label {
        display: none;
    }

    .hero-showcase-visual {
        min-height: clamp(280px, 94vw, 410px) !important;
    }

    .showcase-frame,
    .hero-orbit-shell {
        width: min(390px, 94vw) !important;
    }

    .showcase-art {
        box-shadow:
            0 20px 58px rgba(0, 0, 0, 0.5),
            0 0 34px rgba(0, 168, 255, 0.2),
            0 0 38px rgba(246, 182, 52, 0.14) !important;
        transform: translateZ(0) !important;
    }

    .showcase-light {
        opacity: 0.34;
        filter: blur(14px);
    }

    .section {
        padding: 48px 0;
    }

    .section-heading h2,
    .studio-intro-copy h2,
    .final-cta-copy h2 {
        font-size: clamp(1.35rem, 7vw, 2rem) !important;
        line-height: 1.12 !important;
    }

    .stat-card,
    .contact-card,
    .panel,
    .case-card,
    .rule-card,
    .proof-panel {
        border-radius: 16px;
        padding: 20px;
    }

    .admin-metric {
        font-size: clamp(1.75rem, 10vw, 2.35rem) !important;
    }

    .floating-contact {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .floating-contact .btn {
        width: 100%;
        justify-content: center;
        padding-inline: 10px;
        font-size: 0.82rem;
    }

    body:not(.admin-body) {
        background-attachment: scroll !important;
        background-position: center top !important;
    }
}

@media (max-width: 420px) {
    .brand-copy small {
        display: none;
    }

    .hero-stack {
        font-size: clamp(1.18rem, 8vw, 1.8rem) !important;
    }

    .showcase-frame,
    .hero-orbit-shell {
        width: min(340px, 94vw) !important;
    }

    .hero-showcase-visual {
        min-height: clamp(250px, 92vw, 350px) !important;
    }

    .floating-contact {
        grid-template-columns: 1fr;
    }
}

/* Responsive honeycomb background fit */
body:not(.admin-body) {
    background-image:
        radial-gradient(circle at 18% 18%, rgba(0, 168, 255, 0.18), transparent 20rem),
        radial-gradient(circle at 82% 28%, rgba(246, 182, 52, 0.16), transparent 22rem),
        linear-gradient(180deg, rgba(2, 7, 17, 0.18), rgba(2, 7, 17, 0.94)),
        url("../images/premium-honeycomb-bg.png") !important;
    background-color: #020711 !important;
    background-repeat: no-repeat, no-repeat, no-repeat, repeat-y !important;
    background-position: 18% 18%, 82% 28%, center top, center top !important;
    background-size: auto, auto, auto, max(1180px, 100vw) auto !important;
    background-attachment: scroll, scroll, scroll, fixed !important;
}

@media (max-width: 980px) {
    body:not(.admin-body) {
        background-position: left -80px top 0, right -90px top 70px, center top, center top !important;
        background-size: auto, auto, auto, 980px auto !important;
        background-attachment: scroll, scroll, scroll, scroll !important;
    }
}

@media (max-width: 640px) {
    body:not(.admin-body) {
        background-image:
            radial-gradient(circle at 12% 8%, rgba(0, 168, 255, 0.16), transparent 14rem),
            radial-gradient(circle at 92% 22%, rgba(246, 182, 52, 0.14), transparent 15rem),
            linear-gradient(180deg, rgba(2, 7, 17, 0.16), rgba(2, 7, 17, 0.95)),
            url("../images/premium-honeycomb-bg.png") !important;
        background-position: left -90px top -20px, right -110px top 120px, center top, center top !important;
        background-size: auto, auto, auto, min(720px, 160vw) auto !important;
        background-repeat: no-repeat, no-repeat, no-repeat, repeat-y !important;
        background-attachment: scroll, scroll, scroll, scroll !important;
    }
}

@media (max-width: 420px) {
    body:not(.admin-body) {
        background-position: left -110px top -24px, right -120px top 130px, center top, center top !important;
        background-size: auto, auto, auto, min(620px, 172vw) auto !important;
    }
}

/* Stable honeycomb background */
body:not(.admin-body) {
    background-attachment: scroll, scroll, scroll, scroll !important;
}

body:not(.admin-body)::before,
body:not(.admin-body)::after {
    animation: none !important;
}

/* Subtle background glow restored */
body:not(.admin-body)::before,
body:not(.admin-body)::after {
    animation: floatGlow 18s ease-in-out infinite !important;
}

body:not(.admin-body)::after {
    animation-duration: 22s !important;
}

/* Final honeycomb behavior lock */
.honeycomb-field,
.honey-tile {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body:not(.admin-body) {
    background-attachment: scroll, scroll, scroll, scroll !important;
}

body:not(.admin-body)::before,
body:not(.admin-body)::after {
    animation: floatGlow 18s ease-in-out infinite !important;
}

body:not(.admin-body)::after {
    animation-duration: 22s !important;
}

/* Final static honeycomb lock */
body:not(.admin-body) {
    background: #020711 !important;
}

body:not(.admin-body)::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    z-index: 0 !important;
    pointer-events: none !important;
    border-radius: 0 !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    background-image:
        radial-gradient(circle at 18% 18%, rgba(0, 168, 255, 0.16), transparent 20rem),
        radial-gradient(circle at 82% 28%, rgba(246, 182, 52, 0.14), transparent 22rem),
        linear-gradient(180deg, rgba(2, 7, 17, 0.16), rgba(2, 7, 17, 0.95)),
        url("../images/premium-honeycomb-bg.png") !important;
    background-repeat: no-repeat, no-repeat, no-repeat, repeat-y !important;
    background-position: 18% 18%, 82% 28%, center top, center top !important;
    background-size: auto, auto, auto, max(1180px, 100vw) auto !important;
    background-attachment: scroll, scroll, scroll, scroll !important;
}

body:not(.admin-body)::after {
    display: none !important;
    content: none !important;
    animation: none !important;
    transform: none !important;
}

.honeycomb-field,
.honey-tile {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 980px) {
    body:not(.admin-body)::before {
        background-position: left -80px top 0, right -90px top 70px, center top, center top !important;
        background-size: auto, auto, auto, 980px auto !important;
    }
}

@media (max-width: 640px) {
    body:not(.admin-body)::before {
        background-position: left -90px top -20px, right -110px top 120px, center top, center top !important;
        background-size: auto, auto, auto, min(720px, 160vw) auto !important;
    }
}

@media (max-width: 420px) {
    body:not(.admin-body)::before {
        background-position: left -110px top -24px, right -120px top 130px, center top, center top !important;
        background-size: auto, auto, auto, min(620px, 172vw) auto !important;
    }
}

/* Admin interface completion pass */
body.admin-body {
    color: var(--ink);
    background: #020711 !important;
}

body.admin-body::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    z-index: 0 !important;
    pointer-events: none !important;
    border-radius: 0 !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    background-image:
        radial-gradient(circle at 16% 14%, rgba(0, 168, 255, 0.16), transparent 19rem),
        radial-gradient(circle at 86% 18%, rgba(246, 182, 52, 0.14), transparent 22rem),
        linear-gradient(180deg, rgba(2, 7, 17, 0.1), rgba(2, 7, 17, 0.96)),
        url("../images/premium-honeycomb-bg.png") !important;
    background-repeat: no-repeat, no-repeat, no-repeat, repeat-y !important;
    background-position: 16% 14%, 86% 18%, center top, center top !important;
    background-size: auto, auto, auto, max(1180px, 100vw) auto !important;
    background-attachment: scroll, scroll, scroll, scroll !important;
}

body.admin-body::after {
    display: none !important;
    content: none !important;
}

.admin-body .site-header,
.admin-body .admin-header {
    background: rgba(2, 7, 17, 0.86);
    border-bottom: 1px solid rgba(255, 214, 106, 0.18);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.admin-body .site-footer {
    background: rgba(2, 7, 17, 0.9);
    border-top-color: rgba(255, 214, 106, 0.18);
}

.admin-body .brand-mark {
    border-radius: 8px;
    border: 1px solid rgba(255, 214, 106, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.admin-body .brand-copy strong,
.admin-body .auth-intro h1,
.admin-body .admin-intro h1,
.admin-body .stat-card h3,
.admin-body .settings-note strong {
    letter-spacing: 0;
}

.admin-body .top-nav {
    gap: 8px;
}

.admin-body .top-nav-links {
    gap: 8px;
    padding: 4px;
    border: 1px solid rgba(255, 214, 106, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.admin-body .top-nav a {
    border-radius: 999px;
    color: rgba(255, 244, 195, 0.78);
}

.admin-body .top-nav a:hover,
.admin-body .top-nav a.active {
    color: #06111f;
}

.admin-body .nav-toggle {
    border-radius: 8px;
    border-color: rgba(255, 214, 106, 0.22);
    background: rgba(255, 255, 255, 0.07);
}

.admin-body .auth-section {
    min-height: calc(100vh - 174px);
    display: flex;
    align-items: center;
    padding: clamp(30px, 7vw, 76px) 0;
}

.admin-body .auth-shell {
    width: min(540px, calc(100% - 32px));
    display: grid;
    gap: 22px;
}

.admin-body .auth-intro,
.admin-body .admin-intro {
    max-width: 820px;
}

.admin-body .auth-intro h1,
.admin-body .admin-intro h1 {
    margin-top: 16px;
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    line-height: 1.04;
}

.admin-body .auth-intro p,
.admin-body .admin-intro p {
    max-width: 660px;
}

.admin-body .admin-section {
    padding: clamp(26px, 5vw, 54px) 0 12px;
}

.admin-body .form-card,
.admin-body .table-shell,
.admin-body .panel,
.admin-body .stat-card,
.admin-body .service-card,
.admin-body .settings-note {
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(9, 27, 64, 0.9), rgba(2, 7, 17, 0.94) 58%, rgba(92, 55, 8, 0.5)),
        rgba(2, 7, 17, 0.82);
    border-color: rgba(255, 214, 106, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 24px 58px rgba(0, 0, 0, 0.34);
}

.admin-body .form-card,
.admin-body .panel,
.admin-body .stat-card {
    padding: clamp(20px, 2.4vw, 28px);
}

.admin-body .auth-shell .form-card {
    padding: clamp(22px, 4vw, 32px);
}

.admin-body .form-card .stat-card,
.admin-body .form-card .service-card {
    background: rgba(255, 255, 255, 0.055);
    box-shadow: none;
}

.admin-body .eyebrow,
.admin-body .section-kicker,
.admin-body .panel-label,
.admin-body .case-meta,
.admin-body .tag,
.admin-body .upload-chip {
    border-radius: 999px;
    background: rgba(246, 182, 52, 0.12);
    border-color: rgba(255, 214, 106, 0.2);
}

.admin-body .btn,
.admin-body button.btn {
    min-height: 46px;
    border-radius: 8px;
    padding: 13px 18px;
}

.admin-body .order-form {
    gap: 16px;
}

.admin-body .field {
    gap: 8px;
}

.admin-body .field label {
    color: rgba(255, 248, 216, 0.94);
}

.admin-body .field input,
.admin-body .field select,
.admin-body .field textarea,
.admin-body .admin-action-form select,
.admin-body .admin-action-form input {
    min-height: 48px;
    border-radius: 8px;
    border-color: rgba(255, 214, 106, 0.2);
    background: rgba(255, 255, 255, 0.07);
    color: var(--spot);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.admin-body .field input[readonly] {
    color: rgba(255, 244, 195, 0.72);
    background: rgba(255, 255, 255, 0.045);
}

.admin-body .field input:focus,
.admin-body .field select:focus,
.admin-body .field textarea:focus,
.admin-body .admin-action-form select:focus,
.admin-body .admin-action-form input:focus {
    border-color: rgba(0, 168, 255, 0.54);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 3px rgba(0, 168, 255, 0.14);
}

.admin-body .notice,
.admin-body .success {
    border-radius: 8px;
    margin-bottom: 16px;
}

.admin-body .admin-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 16px;
}

.admin-body .admin-filter-form {
    grid-column: 1 / -1;
    grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(150px, 0.6fr)) auto;
    gap: 12px;
}

.admin-body .admin-toolbar-note {
    grid-column: 1 / 2;
    align-self: center;
    justify-content: flex-start;
}

.admin-body .admin-toolbar-actions {
    grid-column: 2 / 3;
    justify-content: flex-end;
}

.admin-body .admin-overview {
    gap: 16px;
}

.admin-body .stat-card {
    min-height: 118px;
}

.admin-body .stat-card h3 {
    margin-bottom: 14px;
    color: rgba(255, 244, 195, 0.8);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-body .admin-metric {
    max-width: 100%;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.08;
    word-break: break-word;
}

.admin-body .table-shell {
    padding: 0;
}

.admin-body .admin-table-wrap {
    border-radius: inherit;
}

.admin-body .admin-table {
    min-width: 1120px;
}

.admin-body .admin-table th,
.admin-body .admin-table td {
    padding: 14px 16px;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.admin-body .admin-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(2, 7, 17, 0.96);
    color: rgba(255, 244, 195, 0.72);
}

.admin-body .admin-table tbody tr {
    transition: background-color 0.18s ease;
}

.admin-body .admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.045);
}

.admin-body .description-cell {
    max-width: 320px;
}

.admin-body .admin-status,
.admin-body .admin-priority,
.admin-body .admin-mini-action {
    border-radius: 999px;
}

.admin-body .admin-action-form {
    min-width: 180px;
}

.admin-body .settings-grid,
.admin-body .analytics-grid {
    gap: 18px;
}

.admin-body .settings-actions {
    margin-top: 4px;
}

.admin-body .settings-note {
    padding: 18px;
    box-shadow: none;
}

.admin-body .analytics-panel {
    min-height: 260px;
}

.admin-body .analytics-bar,
.admin-body .analytics-row {
    grid-template-columns: minmax(130px, 0.75fr) minmax(140px, 1fr) auto;
}

.admin-body .bar-track {
    background: rgba(255, 255, 255, 0.09);
}

.admin-body .bar-fill {
    background: linear-gradient(135deg, #00a8ff 0%, #fff2a8 42%, #f6b634 100%);
}

@media (max-width: 980px) {
    body.admin-body::before {
        background-position: left -80px top 0, right -90px top 70px, center top, center top !important;
        background-size: auto, auto, auto, 980px auto !important;
    }

    .admin-body .top-nav-links {
        border-radius: 8px;
        background: rgba(2, 7, 17, 0.96);
    }

    .admin-body .admin-toolbar {
        grid-template-columns: 1fr;
    }

    .admin-body .admin-toolbar-note,
    .admin-body .admin-toolbar-actions {
        grid-column: auto;
    }

    .admin-body .admin-filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .admin-body .admin-search-field {
        grid-column: 1 / -1;
    }

    .admin-body .admin-filter-form .btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .admin-body .admin-toolbar-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    body.admin-body::before {
        background-position: left -90px top -20px, right -110px top 120px, center top, center top !important;
        background-size: auto, auto, auto, min(720px, 160vw) auto !important;
    }

    .admin-body .auth-section {
        min-height: auto;
        align-items: flex-start;
        padding: 34px 0 52px;
    }

    .admin-body .auth-shell {
        width: min(100% - 24px, 520px);
    }

    .admin-body .auth-intro h1,
    .admin-body .admin-intro h1 {
        font-size: clamp(1.8rem, 9vw, 2.45rem);
    }

    .admin-body .admin-overview {
        grid-template-columns: 1fr;
    }

    .admin-body .admin-filter-form,
    .admin-body .analytics-bar,
    .admin-body .analytics-row {
        grid-template-columns: 1fr;
    }

    .admin-body .settings-actions .btn,
    .admin-body .hero-actions .btn,
    .admin-body .auth-shell .btn {
        width: 100%;
    }

    .admin-body .analytics-panel {
        min-height: auto;
    }

    .admin-body .table-shell {
        margin-left: -12px;
        margin-right: -12px;
        border-radius: 0;
    }
}

@media (max-width: 420px) {
    body.admin-body::before {
        background-position: left -110px top -24px, right -120px top 130px, center top, center top !important;
        background-size: auto, auto, auto, min(620px, 172vw) auto !important;
    }
}
