/* ═══════════════════════════════════════════════════════════════════════
   ROMAN LAW STUDIOS — style.css
   Neon cyan on black. Cinzel headings. Mobile-first cinematic.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    --black: #000000;
    --dark: #0a0a0a;
    --cyan: #00DCFF;
    --teal: #00b8a9;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.5);
    --muted-cyan: rgba(0, 220, 255, 0.3);
    --border: rgba(0, 220, 255, 0.15);
    --glow: 0 0 20px rgba(0, 220, 255, 0.4);
    --glow-strong: 0 0 30px rgba(0, 220, 255, 0.6), 0 0 60px rgba(0, 220, 255, 0.2);
    --font-heading: 'Cinzel', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: 0.3s ease;
}

/* ── Reset ─────────────────────────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--cyan) var(--black);
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 3px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── THE GATE ──────────────────────────────────────────────────────── */

.gate {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.gate.dismissed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gate-content {
    text-align: center;
    z-index: 1;
}

.gate-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 60px;
}

.gate-logo-img {
    width: clamp(280px, 50vw, 500px);
    height: auto;
    opacity: 0.95;
}

.gate-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--white);
    text-shadow:
        0 0 10px rgba(0, 220, 255, 0.3),
        0 0 40px rgba(0, 220, 255, 0.15);
    letter-spacing: 0.15em;
}

.gate-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    color: var(--cyan);
    text-shadow:
        0 0 10px rgba(0, 220, 255, 0.6),
        0 0 30px rgba(0, 220, 255, 0.3),
        0 0 60px rgba(0, 220, 255, 0.15);
    letter-spacing: 0.5em;
}

/* Scan line animation */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 220, 255, 0.15), transparent);
    animation: scan 4s linear infinite;
    z-index: 0;
}

@keyframes scan {
    0% { top: -2px; }
    100% { top: 100%; }
}

.enter-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--cyan);
    background: transparent;
    border: 1px solid var(--cyan);
    padding: 16px 48px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.enter-btn:hover {
    background: rgba(0, 220, 255, 0.08);
    box-shadow: var(--glow);
    text-shadow: var(--glow);
}

/* ── AUDIO TOGGLE ───────────────────────────────────────────────────── */

.audio-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--cyan);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.audio-toggle.visible {
    opacity: 1;
    visibility: visible;
}

.audio-toggle:hover {
    border-color: var(--cyan);
    box-shadow: var(--glow);
}

.audio-toggle.muted .audio-wave {
    opacity: 0.2;
}

/* ── NAVIGATION ────────────────────────────────────────────────────── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 220, 255, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
}

.nav.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 220, 255, 0.4);
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 22px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--muted);
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0, 220, 255, 0.4);
}

/* ── MAIN CONTENT ───────────────────────────────────────────────────── */

.main-content {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.main-content.visible {
    opacity: 1;
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

/* ── SECTIONS ──────────────────────────────────────────────────────── */

.section {
    min-height: 100vh;
    padding: 120px 24px 80px;
    position: relative;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 15px rgba(0, 220, 255, 0.2);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 48px;
    max-width: 500px;
}

/* ── SHOWCASE / HERO ────────────────────────────────────────────────── */

.section-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 160px;
}

.hero {
    text-align: center;
    margin-bottom: 80px;
}

/* ── HERO SPLIT (Roman video + text) ─────────────────────────────────── */

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.hero-roman {
    position: relative;
}

.roman-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(0, 220, 255, 0.15);
    box-shadow:
        0 0 40px rgba(0, 220, 255, 0.08),
        0 0 80px rgba(0, 220, 255, 0.04);
}

.roman-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 220, 255, 0.05) 0%,
        transparent 30%,
        transparent 70%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.hero-roman-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    pointer-events: auto;
    cursor: pointer;
}

/* Suppress browser default video controls overlay on hover */
.hero-roman-video::-webkit-media-controls,
.hero-roman-video::-webkit-media-controls-panel,
.hero-roman-video::-webkit-media-controls-play-button,
.hero-roman-video::-webkit-media-controls-overlay-enclosure {
    display: none !important;
    -webkit-appearance: none !important;
}

.roman-frame:hover .hero-roman-video::-webkit-media-controls,
.roman-frame:hover .hero-roman-video::-webkit-media-controls-panel {
    display: none !important;
}

/* ── Sound Overlay ────────────────────────────────────────────────── */

.roman-sound-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 220, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(4px);
}

.roman-sound-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 220, 255, 0.4);
}

.roman-sound-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.sound-icon {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 0 4px rgba(0, 220, 255, 0.5));
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 32px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 7vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    text-shadow:
        0 0 20px rgba(0, 220, 255, 0.2),
        0 0 50px rgba(0, 220, 255, 0.08);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    color: var(--muted);
    margin-bottom: 24px;
}

.hero-tagline {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(0, 220, 255, 0.4);
    text-transform: uppercase;
}

/* ── DEAD CITY PROJECT ─────────────────────────────────────────────── */

.showcase-project {
    text-align: center;
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}

.project-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 12px rgba(0, 220, 255, 0.2);
}

.project-badge {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 999px;
    padding: 4px 12px;
    text-transform: uppercase;
}

.project-desc {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 32px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.project-img-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 220, 255, 0.08);
    border-radius: 4px;
    aspect-ratio: 16 / 9;
    background: var(--dark);
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-img-wrap:hover img {
    transform: scale(1.05);
}

.project-img-wrap:hover {
    border-color: rgba(0, 220, 255, 0.3);
    box-shadow: var(--glow);
}

/* ── SERVICES ──────────────────────────────────────────────────────── */

.section-services {
    background: linear-gradient(180deg, transparent, rgba(0, 220, 255, 0.015), transparent);
}

.section-services .section-subtitle {
    max-width: 600px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 64px;
}

.service-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(0, 220, 255, 0.3);
    box-shadow: var(--glow);
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 0.6;
}

.service-card-featured {
    border-color: rgba(0, 220, 255, 0.3);
    background: linear-gradient(180deg, rgba(0, 220, 255, 0.04), var(--dark));
}

.service-featured-badge {
    position: absolute;
    top: 12px;
    right: -28px;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--black);
    background: var(--cyan);
    padding: 4px 36px;
    transform: rotate(45deg);
}

.service-tier-label {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(0, 220, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.service-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 0 15px rgba(0, 220, 255, 0.2);
    margin-bottom: 8px;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 220, 255, 0.3);
    margin-bottom: 4px;
}

.service-price-note {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--muted);
}

.service-tagline {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 20px;
    font-style: italic;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-features li {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-left: 16px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 220, 255, 0.4);
}

.service-cta {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--cyan);
    background: transparent;
    border: 1px solid var(--cyan);
    border-radius: 4px;
    padding: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    width: 100%;
}

.service-cta:hover {
    background: rgba(0, 220, 255, 0.08);
    box-shadow: var(--glow);
    text-shadow: 0 0 8px rgba(0, 220, 255, 0.4);
}

.service-cta-featured {
    color: var(--black);
    background: var(--cyan);
    border-color: var(--cyan);
}

.service-cta-featured:hover {
    background: #33e5ff;
    box-shadow: var(--glow-strong);
    text-shadow: none;
}

/* ── A LA CARTE ─────────────────────────────────────────────────── */

.services-ala-carte {
    text-align: center;
    margin-bottom: 64px;
}

.ala-carte-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 10px rgba(0, 220, 255, 0.15);
    margin-bottom: 6px;
}

.ala-carte-subtitle {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 24px;
}

.ala-carte-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.ala-carte-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px 16px;
    transition: var(--transition);
}

.ala-carte-item:hover {
    border-color: rgba(0, 220, 255, 0.3);
    box-shadow: var(--glow);
}

.ala-carte-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
}

.ala-carte-price {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 6px rgba(0, 220, 255, 0.3);
}

/* ── PROCESS ───────────────────────────────────────────────────── */

.services-process {
    text-align: center;
}

.process-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 10px rgba(0, 220, 255, 0.15);
    margin-bottom: 32px;
    letter-spacing: 0.15em;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.process-step {
    text-align: center;
    padding: 20px 12px;
}

.process-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--cyan);
    text-shadow: 0 0 15px rgba(0, 220, 255, 0.3);
    margin-bottom: 8px;
    opacity: 0.6;
}

.process-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 8px;
}

.process-desc {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ── AGENTS ─────────────────────────────────────────────────────────── */

.section-agents {
    background: linear-gradient(180deg, transparent, rgba(0, 220, 255, 0.01), transparent);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.agent-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: var(--transition);
}

.agent-card:hover {
    border-color: rgba(0, 220, 255, 0.3);
    box-shadow: var(--glow);
}

.agent-card:hover::before {
    opacity: 0.6;
}

.agent-ticker {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0, 220, 255, 0.4);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.agent-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.agent-desc {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.agent-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted);
}

.status-dot.active { background: #00ff88; box-shadow: 0 0 6px rgba(0, 255, 136, 0.5); }
.status-dot.standby { background: #ffaa00; box-shadow: 0 0 6px rgba(255, 170, 0, 0.5); }

/* ── SCRIPT SUBMISSION ──────────────────────────────────────────────── */

.submit-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
    max-width: 700px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 12px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 1px rgba(0, 220, 255, 0.2);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: var(--dark);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.submit-btn {
    width: 100%;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--black);
    background: var(--cyan);
    border: none;
    border-radius: 4px;
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    margin-top: 8px;
}

.submit-btn:hover {
    background: #33e5ff;
    box-shadow: var(--glow-strong);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── SUBMIT RESULTS ─────────────────────────────────────────────────── */

.submit-results {
    margin-top: 24px;
    padding: 24px;
    background: rgba(0, 220, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.results-header {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 16px;
    text-shadow: 0 0 10px rgba(0, 220, 255, 0.3);
}

.scores-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.score-item {
    text-align: center;
}

.score-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0, 220, 255, 0.4);
}

.score-label {
    font-size: 0.6rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.recommendation {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 6px 20px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.recommendation.ACCEPT { color: #00ff88; border: 1px solid #00ff88; text-shadow: 0 0 8px rgba(0, 255, 136, 0.4); }
.recommendation.REVIEW { color: #ffaa00; border: 1px solid #ffaa00; text-shadow: 0 0 8px rgba(255, 170, 0, 0.4); }
.recommendation.PASS { color: #ff4444; border: 1px solid #ff4444; text-shadow: 0 0 8px rgba(255, 68, 68, 0.4); }

.results-list {
    margin-bottom: 12px;
}

.results-list h4 {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.results-list li {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 2px;
    margin-left: 16px;
}

.results-notes {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* ── CONTACT ────────────────────────────────────────────────────────── */

.section-contact {
    text-align: center;
    padding-bottom: 40px;
}

.contact-x {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 220, 255, 0.4);
    margin-bottom: 12px;
    display: inline-block;
    transition: var(--transition);
}

.contact-x:hover {
    text-shadow: var(--glow-strong);
}

.contact-studio {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.contact-copy {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
}

/* ── UTILITIES ─────────────────────────────────────────────────────── */

.hidden {
    opacity: 0;
    visibility: hidden;
}

.visible {
    opacity: 1;
    visibility: visible;
}

/* Scroll-triggered fade-in */
.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ── MOBILE ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .section {
        padding: 80px 16px 48px;
    }

    .section-showcase {
        padding-top: 120px;
    }

    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-roman {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .roman-frame {
        max-width: 320px;
    }

    .hero-text {
        align-items: center;
    }

    .nav {
        padding: 12px 16px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.6rem;
    }

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

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

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

    .scores-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .submit-card {
        padding: 20px;
    }

    .gate-title {
        letter-spacing: 0.08em;
    }

    .gate-subtitle {
        letter-spacing: 0.25em;
    }

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

    .ala-carte-grid {
        grid-template-columns: 1fr;
    }

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

    .service-featured-badge {
        top: 8px;
        right: -24px;
        font-size: 0.45rem;
        padding: 3px 30px;
    }
}

@media (max-width: 480px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .hero-tagline {
        font-size: 0.5rem;
    }

    .nav-links {
        gap: 12px;
    }
}
