/* ═══════════════════════════════════════════
   URSOVA — Design System
   ═══════════════════════════════════════════ */

:root {
    --ink: #0B0B0B;
    --honey: #F4C721;
    --cream: #FAF7F0;
    --stone: #1A1A1A;
    --whisper: #8B8B8B;
    --white: #FFFFFF;

    --font-serif: 'Fraunces', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Cascadia Code', monospace;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ─── Custom Cursor ─── */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--ink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s var(--ease-out), opacity 0.15s;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--ink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: var(--honey);
}

@media (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none !important; }
}

/* ─── Section Label ─── */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--whisper);
    margin-bottom: 1.5rem;
}

/* ─── Reveal Animation ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Hero Entrance (CSS-only, no JS dependency) ─── */
.hero-animate {
    animation: heroReveal 1s var(--ease-out) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-animate-delay {
    animation-delay: 0.6s;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Link Hover Underline ─── */
.link-hover {
    position: relative;
    display: inline-block;
}

.link-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width 0.4s var(--ease-out);
}

.link-hover:hover::after {
    width: 100%;
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 4rem;
    transition: padding 0.4s var(--ease-out), background 0.4s;
}

.navbar.scrolled {
    padding: 1rem 4rem;
    background: rgba(250, 247, 240, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(11, 11, 11, 0.06);
}

.navbar-logo img {
    height: 84px;
    width: auto;
    transition: height 0.4s var(--ease-out);
}

.navbar.scrolled .navbar-logo img {
    height: 60px;
}

.navbar-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.navbar-links a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
}

.navbar-cta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--ink) !important;
    color: var(--ink);
    transition: background 0.3s, color 0.3s;
    display: inline-block;
}

.navbar-cta:hover {
    background: var(--ink);
    color: var(--cream);
}

/* Language switcher */
.lang-switch-mobile {
    display: none;
}

.lang-switch-inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-option {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink);
    opacity: 0.4;
    transition: opacity 0.3s;
    text-decoration: none;
}

.lang-option:hover {
    opacity: 0.7;
}

.lang-option.active {
    opacity: 1;
    font-weight: 600;
}

.lang-sep {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink);
    opacity: 0.25;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px 0;
}

.nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.3s, opacity 0.3s;
    width: 100%;
}

@media (max-width: 768px) {
    .navbar { padding: 1.5rem 1.5rem; }
    .navbar.scrolled { padding: 1rem 1.5rem; }

    .navbar-logo img { height: 64px; }
    .navbar.scrolled .navbar-logo img { height: 48px; }

    .nav-toggle { display: flex; }

    .lang-switch-inline { display: none; }
    .lang-switch-mobile {
        display: flex !important;
        align-items: center;
        gap: 0.4rem;
        justify-content: center;
        margin-top: 1rem;
    }

    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.5s var(--ease-out);
    }

    .navbar-links.open { right: 0; }

    .navbar-links a {
        font-size: 1rem;
    }
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    background: var(--honey);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 11vw, 12rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-sub {
    font-family: var(--font-mono);
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--stone);
    opacity: 0.7;
    max-width: 500px;
}

.hero-mark {
    position: absolute;
    right: 6%;
    bottom: 12%;
    width: clamp(120px, 18vw, 280px);
    opacity: 0.08;
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--stone);
    opacity: 0.5;
}

.scroll-line {
    width: 40px;
    height: 1px;
    background: var(--stone);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--ink);
    animation: scrollSlide 2s var(--ease-in-out) infinite;
}

@keyframes scrollSlide {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

@media (max-width: 768px) {
    .hero { padding: 7rem 1.5rem 3rem; }
    .hero h1 { max-width: 100%; }
    .hero-mark { right: 5%; bottom: 8%; opacity: 0.05; }
    .scroll-indicator { left: 1.5rem; }
}

/* ═══════════════════════════════════════════
   MANIFESTO
   ═══════════════════════════════════════════ */
.manifesto {
    background: var(--cream);
    padding: 10rem 4rem;
}

.manifesto-inner {
    max-width: 900px;
}

.manifesto p {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink);
}

.manifesto p em {
    font-style: italic;
    color: var(--whisper);
}

@media (max-width: 768px) {
    .manifesto { padding: 5rem 1.5rem; }
}

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services {
    background: var(--ink);
    color: var(--cream);
    padding: 8rem 4rem;
}

.services-header {
    max-width: 1400px;
    margin-bottom: 5rem;
}

.services-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    max-width: 1400px;
}

.service-card {
    padding: 3rem;
    border: 1px solid rgba(250, 247, 240, 0.08);
    transition: border-color 0.4s, background 0.4s;
}

.service-card:hover {
    border-color: var(--honey);
    background: rgba(244, 199, 33, 0.03);
}

.service-card:nth-child(3) {
    grid-column: 1 / -1;
}

.service-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--honey);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(250, 247, 240, 0.6);
    line-height: 1.7;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.service-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(250, 247, 240, 0.15);
    color: rgba(250, 247, 240, 0.5);
}

@media (max-width: 768px) {
    .services { padding: 5rem 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card:nth-child(3) { grid-column: auto; }
}

/* ═══════════════════════════════════════════
   SELECTED WORK
   ═══════════════════════════════════════════ */
.work {
    background: var(--cream);
    padding: 8rem 4rem;
}

.work-header {
    max-width: 1400px;
    margin-bottom: 5rem;
}

.work-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.work-list {
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.work-item {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: start;
    color: inherit;
    text-decoration: none;
}

.work-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--whisper);
    text-transform: lowercase;
    transition: color 0.3s var(--ease-out), letter-spacing 0.3s var(--ease-out);
}

.work-item:hover .work-link {
    color: var(--honey);
    letter-spacing: 0.12em;
}

.work-item:nth-child(even) {
    grid-template-columns: 0.7fr 1.3fr;
}

.work-item:nth-child(even) .work-image {
    order: 2;
}

.work-image {
    overflow: hidden;
    position: relative;
    background: var(--stone);
}

.work-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.work-item:hover .work-image img {
    transform: scale(1.03);
}

.work-meta {
    padding-top: 1rem;
}

.work-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--whisper);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.work-meta h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.work-meta p {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--whisper);
}

@media (max-width: 768px) {
    .work { padding: 5rem 1.5rem; }
    .work-item,
    .work-item:nth-child(even) {
        grid-template-columns: 1fr;
    }
    .work-item:nth-child(even) .work-image { order: 0; }
    .work-list { gap: 4rem; }
}

.case-study {
    max-width: 900px;
    margin: 0 auto;
}

.case-study-body {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink);
    margin-bottom: 3rem;
}

.case-study-body strong {
    font-weight: 600;
    color: var(--honey);
}

.case-study-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    background: var(--ink);
    color: var(--cream);
    padding: 1.2rem 2.2rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--ink);
    box-shadow: 0 6px 18px rgba(11,11,11,0.12);
    transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.case-study-cta:hover {
    background: var(--honey);
    border-color: var(--honey);
    color: var(--ink);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(244,199,33,0.35);
}

.case-study-cta-arrow {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.3s var(--ease-out);
}

.case-study-cta:hover .case-study-cta-arrow {
    transform: translateX(6px);
}

@media (max-width: 768px) {
    .case-study { padding: 0; }
    .case-study-cta { padding: 1rem 1.6rem; font-size: 0.75rem; }
}

/* ═══════════════════════════════════════════
   APPROACH
   ═══════════════════════════════════════════ */
.approach {
    background: var(--white);
    padding: 8rem 4rem;
}

.approach-header {
    max-width: 1400px;
    margin-bottom: 5rem;
}

.approach-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.approach-steps {
    max-width: 1400px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.approach-step {
    padding: 2rem 0;
    border-top: 1px solid rgba(11, 11, 11, 0.1);
}

.step-num {
    font-family: var(--font-mono);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 300;
    color: rgba(11, 11, 11, 0.08);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.approach-step h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.approach-step p {
    font-size: 0.9rem;
    color: var(--whisper);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .approach { padding: 5rem 1.5rem; }
    .approach-steps { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════ */
.marquee-section {
    background: var(--ink);
    padding: 2.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(250, 247, 240, 0.06);
    border-bottom: 1px solid rgba(250, 247, 240, 0.06);
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
    flex-shrink: 0;
}

.marquee-item {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(250, 247, 240, 0.35);
    white-space: nowrap;
}

.marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--honey);
    opacity: 0.5;
    flex-shrink: 0;
}

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

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact {
    background: var(--cream);
    padding: 10rem 4rem;
    text-align: center;
}

.contact-inner {
    max-width: 900px;
    margin: 0 auto;
}

.contact h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.contact-email {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    font-weight: 400;
    color: var(--ink);
    border-bottom: 2px solid var(--honey);
    padding-bottom: 0.2em;
    transition: color 0.3s;
    display: inline-block;
}

.contact-email:hover {
    color: var(--whisper);
}

.contact-details {
    margin-top: 3rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--whisper);
    letter-spacing: 0.05em;
    line-height: 2;
}

@media (max-width: 768px) {
    .contact { padding: 5rem 1.5rem; }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
    background: var(--ink);
    color: var(--cream);
    padding: 4rem 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    list-style: none;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(250, 247, 240, 0.4);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-wordmark {
    font-family: var(--font-serif);
    font-size: clamp(5rem, 18vw, 18rem);
    font-weight: 400;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: rgba(250, 247, 240, 0.04);
    white-space: nowrap;
    user-select: none;
    margin-left: -0.05em;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(250, 247, 240, 0.06);
    margin-top: 2rem;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(250, 247, 240, 0.25);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .site-footer { padding: 3rem 1.5rem 1.5rem; }
    .footer-links { flex-wrap: wrap; gap: 1rem; }
}

/* ═══════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════ */
.login-page {
    min-height: 100vh;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-card {
    width: 100%;
    max-width: 400px;
}

.login-card img {
    height: 32px;
    margin-bottom: 3rem;
}

.login-card h1 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.login-card .login-sub {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--whisper);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(250, 247, 240, 0.5);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(250, 247, 240, 0.05);
    border: 1px solid rgba(250, 247, 240, 0.1);
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: border-color 0.3s;
    border-radius: 0;
}

.form-input:focus {
    outline: none;
    border-color: var(--honey);
}

.form-input::placeholder {
    color: rgba(250, 247, 240, 0.2);
}

.btn-primary {
    width: 100%;
    padding: 0.9rem;
    background: var(--honey);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    border-radius: 0;
}

.btn-primary:hover {
    background: #e0b51e;
}

.btn-primary:active {
    transform: scale(0.98);
}

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

.login-error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.login-back {
    display: block;
    text-align: center;
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--whisper);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════
   2FA SETUP PAGE
   ═══════════════════════════════════════════ */
.twofa-setup {
    min-height: 100vh;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.twofa-card {
    width: 100%;
    max-width: 480px;
}

.twofa-card img {
    height: 32px;
    margin-bottom: 2rem;
}

.twofa-card h1 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.twofa-card .twofa-sub {
    font-size: 0.85rem;
    color: var(--whisper);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.qr-container {
    background: var(--white);
    padding: 1.5rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.secret-key {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--honey);
    background: rgba(244, 199, 33, 0.08);
    padding: 0.6rem 1rem;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    word-break: break-all;
}

.recovery-codes {
    background: rgba(250, 247, 240, 0.03);
    border: 1px solid rgba(250, 247, 240, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.recovery-codes h3 {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--honey);
    margin-bottom: 1rem;
}

.recovery-codes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.recovery-code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cream);
    padding: 0.3rem 0;
}

/* ═══════════════════════════════════════════
   ADMIN LAYOUT
   ═══════════════════════════════════════════ */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--ink);
    color: var(--cream);
}

.admin-sidebar {
    width: 240px;
    background: var(--stone);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    border-right: 1px solid rgba(250, 247, 240, 0.06);
}

.admin-sidebar-logo {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(250, 247, 240, 0.06);
}

.admin-sidebar-logo img {
    height: 22px;
}

.admin-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.admin-nav a,
.admin-nav button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(250, 247, 240, 0.45);
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    width: 100%;
    text-align: left;
}

.admin-nav a:hover,
.admin-nav button:hover {
    color: var(--cream);
    background: rgba(250, 247, 240, 0.04);
}

.admin-nav a.active {
    color: var(--honey);
    background: rgba(244, 199, 33, 0.08);
}

.admin-nav .nav-icon {
    font-size: 1rem;
    width: 1.2rem;
    text-align: center;
    font-style: normal;
}

.admin-sidebar-footer {
    border-top: 1px solid rgba(250, 247, 240, 0.06);
    padding-top: 1rem;
}

.admin-user-info {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: rgba(250, 247, 240, 0.3);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-main {
    margin-left: 240px;
    flex: 1;
    padding: 2rem 2.5rem;
    min-height: 100vh;
}

.admin-page-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-page-header h1 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--cream);
}

@media (max-width: 768px) {
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        flex-direction: row;
        align-items: center;
        padding: 1rem;
    }
    .admin-main { margin-left: 0; }
    .admin-nav { flex-direction: row; overflow-x: auto; gap: 0; }
    .admin-sidebar-logo { margin-bottom: 0; padding-bottom: 0; border-bottom: none; margin-right: 1rem; }
    .admin-sidebar-footer { display: none; }
}

/* ─── Admin Cards ─── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--stone);
    border: 1px solid rgba(250, 247, 240, 0.06);
    padding: 1.5rem;
    border-radius: 4px;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--whisper);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 300;
    color: var(--honey);
}

/* ─── Admin Table ─── */
.admin-table-wrapper {
    overflow-x: auto;
    background: var(--stone);
    border: 1px solid rgba(250, 247, 240, 0.06);
    border-radius: 4px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.admin-table th {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--whisper);
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(250, 247, 240, 0.06);
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.admin-table th:hover {
    color: var(--cream);
}

.admin-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(250, 247, 240, 0.03);
    color: rgba(250, 247, 240, 0.75);
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.admin-table tr:hover td {
    background: rgba(250, 247, 240, 0.02);
}

.admin-table a {
    color: var(--honey);
    transition: opacity 0.2s;
}

.admin-table a:hover {
    opacity: 0.7;
}

/* ─── Status Badge ─── */
.badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
}

.badge-lead { background: rgba(59, 130, 246, 0.15); color: #93c5fd; }
.badge-invalutazione { background: rgba(168, 85, 247, 0.15); color: #c4b5fd; }
.badge-proposta { background: rgba(244, 199, 33, 0.15); color: var(--honey); }
.badge-affiliato { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.badge-perso { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.badge-pausa { background: rgba(250, 247, 240, 0.08); color: var(--whisper); }

/* ─── Admin Forms ─── */
.admin-form {
    max-width: 600px;
}

.admin-form .form-group label {
    color: var(--whisper);
}

.admin-form .form-input {
    background: rgba(250, 247, 240, 0.03);
    border: 1px solid rgba(250, 247, 240, 0.1);
    color: var(--cream);
}

.admin-form textarea.form-input {
    min-height: 120px;
    resize: vertical;
    font-family: var(--font-sans);
}

.admin-form select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238B8B8B' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.admin-form select.form-input option,
.admin-toolbar select.form-input option {
    background: var(--stone);
    color: var(--cream);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(250, 247, 240, 0.15);
    color: var(--cream);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    border-radius: 0;
}

.btn-secondary:hover {
    border-color: rgba(250, 247, 240, 0.3);
    background: rgba(250, 247, 240, 0.03);
}

.btn-danger {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
    background: rgba(220, 38, 38, 0.08);
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 0;
}

.btn-danger:hover {
    background: rgba(220, 38, 38, 0.15);
}

/* ─── Admin Search / Filter bar ─── */
.admin-toolbar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.admin-toolbar .form-input {
    max-width: 300px;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
}

.admin-toolbar select.form-input {
    max-width: 180px;
}

.btn-small {
    padding: 0.55rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--honey);
    color: var(--ink);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
    border-radius: 0;
}

.btn-small:hover {
    background: #e0b51e;
}

/* ─── Modal ─── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.modal {
    background: var(--stone);
    border: 1px solid rgba(250, 247, 240, 0.08);
    padding: 2rem;
    max-width: 440px;
    width: 100%;
    border-radius: 4px;
}

.modal h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.modal p {
    font-size: 0.85rem;
    color: var(--whisper);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* ─── Tabs ─── */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(250, 247, 240, 0.06);
    margin-bottom: 2rem;
}

.tab {
    padding: 0.8rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--whisper);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.tab:hover {
    color: var(--cream);
}

.tab.active {
    color: var(--honey);
    border-bottom-color: var(--honey);
}

/* ─── Interaction Timeline ─── */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(250, 247, 240, 0.02);
    border: 1px solid rgba(250, 247, 240, 0.04);
    border-radius: 4px;
}

.timeline-icon {
    width: 32px;
    height: 32px;
    background: rgba(244, 199, 33, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.timeline-body {
    flex: 1;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.timeline-type {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--honey);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--whisper);
}

.timeline-desc {
    font-size: 0.82rem;
    color: rgba(250, 247, 240, 0.7);
    line-height: 1.6;
}

/* ─── Validation ─── */
.validation-message {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #fca5a5;
    margin-top: 0.3rem;
}

/* ─── Utility ─── */
.text-whisper { color: var(--whisper); }
.text-honey { color: var(--honey); }
.text-cream { color: var(--cream); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* ─── Blazor Error UI ─── */
#blazor-error-ui {
    background: var(--stone);
    color: var(--cream);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    z-index: 99999;
    display: none;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    margin-left: 1rem;
    color: var(--honey);
}

/* ─── Blazor Error Boundary ─── */
.blazor-error-boundary {
    background: var(--stone);
    padding: 1rem;
    color: #fca5a5;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.blazor-error-boundary::after {
    content: "Si e' verificato un errore.";
}

/* ═══════════════════════════════════════════
   PROSPECT MAP — Sezione mappa attività
   ═══════════════════════════════════════════ */

.map-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--stone);
    border: 1px solid rgba(250, 247, 240, 0.06);
    border-radius: 4px;
}

.map-toolbar .form-input {
    background: rgba(250, 247, 240, 0.03);
    border: 1px solid rgba(250, 247, 240, 0.1);
    color: var(--cream);
    font-size: 0.78rem;
    padding: 0.55rem 0.9rem;
    flex: 1 1 200px;
    max-width: 320px;
}

.map-toolbar .form-input::placeholder {
    color: var(--whisper);
}

.map-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--whisper);
    cursor: pointer;
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.map-toggle input[type="checkbox"] {
    accent-color: var(--honey);
    width: 14px;
    height: 14px;
}

.btn-secondary-small {
    background: transparent !important;
    color: var(--cream) !important;
    border: 1px solid rgba(250, 247, 240, 0.15) !important;
}

.btn-secondary-small:hover {
    background: rgba(250, 247, 240, 0.05) !important;
}

.map-message {
    padding: 0.7rem 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    border-radius: 4px;
    border: 1px solid;
}

.msg-ok {
    background: rgba(34, 197, 94, 0.08);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.25);
}

.msg-err {
    background: rgba(239, 68, 68, 0.08);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.25);
}

.msg-info {
    background: rgba(244, 199, 33, 0.08);
    color: var(--honey);
    border-color: rgba(244, 199, 33, 0.25);
}

.map-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1rem;
    height: calc(100vh - 240px);
    min-height: 500px;
}

.map-container {
    background: var(--stone);
    border: 1px solid rgba(250, 247, 240, 0.06);
    border-radius: 4px;
    height: 100%;
    z-index: 1;
}

/* Override Leaflet popup per tema scuro */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: var(--stone) !important;
    color: var(--cream) !important;
    box-shadow: 0 3px 14px rgba(0,0,0,0.5);
    border-radius: 4px;
}

.leaflet-popup-content {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    margin: 0.7rem 0.9rem;
}

.prospect-popup strong {
    color: var(--honey);
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 500;
}

.prospect-popup .muted {
    color: var(--whisper);
    font-size: 0.7rem;
    font-family: var(--font-mono);
}

.prospect-popup .no-site {
    color: var(--honey);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    margin-top: 0.3rem;
}

.leaflet-container {
    background: #1a1a1a !important;
    font-family: var(--font-sans);
}

.leaflet-control-attribution {
    background: rgba(26, 26, 26, 0.8) !important;
    color: var(--whisper) !important;
    font-size: 0.6rem !important;
}

.leaflet-control-attribution a {
    color: var(--honey) !important;
}

/* Pannello risultati */
.map-results {
    background: var(--stone);
    border: 1px solid rgba(250, 247, 240, 0.06);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.map-results-header {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(250, 247, 240, 0.06);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--cream);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.map-results-header .muted {
    color: var(--whisper);
    font-size: 0.7rem;
}

.map-results-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.check-all {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--whisper);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.check-all input { accent-color: var(--honey); }

.map-results-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.map-result {
    display: flex;
    gap: 0.6rem;
    padding: 0.6rem 0.7rem;
    background: rgba(250, 247, 240, 0.02);
    border: 1px solid rgba(250, 247, 240, 0.04);
    border-radius: 3px;
    cursor: pointer;
    align-items: flex-start;
    transition: background 0.15s, border-color 0.15s;
}

.map-result:hover {
    background: rgba(250, 247, 240, 0.05);
    border-color: rgba(244, 199, 33, 0.2);
}

.map-result input[type="checkbox"] {
    accent-color: var(--honey);
    margin-top: 0.15rem;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.map-result.has-site {
    opacity: 0.55;
}

.map-result-body {
    flex: 1;
    min-width: 0;
}

.map-result-name {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--cream);
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-result-meta {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--whisper);
    margin-top: 0.15rem;
}

.map-result-phone {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(250, 247, 240, 0.7);
    margin-top: 0.2rem;
}

.map-result-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.15rem 0.4rem;
    margin-top: 0.3rem;
    border-radius: 2px;
}

.tag-site { background: rgba(139, 139, 139, 0.15); color: var(--whisper); }
.tag-nosite { background: rgba(244, 199, 33, 0.15); color: var(--honey); }

.map-empty {
    text-align: center;
    padding: 2rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--cream);
}

.map-empty .muted {
    color: var(--whisper);
    font-size: 0.7rem;
}

@media (max-width: 1100px) {
    .map-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    .map-container { height: 480px; }
    .map-results { height: 480px; }
}

/* ─── Prospect badges ─── */
.prospect-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.55rem;
    border-radius: 2px;
}

.prospect-badge-nuovo { background: rgba(139, 139, 139, 0.15); color: var(--whisper); }
.prospect-badge-dacontattare { background: rgba(59, 130, 246, 0.15); color: #93c5fd; }
.prospect-badge-contattato { background: rgba(168, 85, 247, 0.15); color: #c4b5fd; }
.prospect-badge-interessato { background: rgba(244, 199, 33, 0.15); color: var(--honey); }
.prospect-badge-noninteressato { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.prospect-badge-convertito { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.prospect-badge-scartato { background: rgba(250, 247, 240, 0.06); color: var(--whisper); }

/* ─── Mini buttons ─── */
.btn-mini {
    padding: 0.35rem 0.65rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(250, 247, 240, 0.15);
    cursor: pointer;
    border-radius: 2px;
    margin-right: 0.3rem;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-mini:hover {
    border-color: rgba(250, 247, 240, 0.3);
    background: rgba(250, 247, 240, 0.04);
}

.btn-mini-honey {
    border-color: rgba(244, 199, 33, 0.4);
    color: var(--honey);
}

.btn-mini-honey:hover {
    background: rgba(244, 199, 33, 0.1);
}

.btn-mini-link {
    color: var(--honey);
}

/* ─── Modal Prospect (drawer destra) ─── */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    backdrop-filter: blur(3px);
}

.modal-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 480px;
    max-width: 100vw;
    background: var(--stone);
    border-left: 1px solid rgba(250, 247, 240, 0.08);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
    animation: slideInRight 0.25s var(--ease-out);
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(250, 247, 240, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--cream);
    margin: 0;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
}

.modal-body .form-group {
    margin-bottom: 1rem;
}

.modal-body label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--whisper);
    margin-bottom: 0.35rem;
}

.modal-body .form-input {
    width: 100%;
    background: rgba(250, 247, 240, 0.03);
    border: 1px solid rgba(250, 247, 240, 0.1);
    color: var(--cream);
    padding: 0.55rem 0.8rem;
    font-size: 0.82rem;
    font-family: var(--font-sans);
    border-radius: 2px;
}

.modal-body textarea.form-input {
    font-family: var(--font-sans);
    resize: vertical;
}

.modal-body select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238B8B8B' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2rem;
}

.modal-body select.form-input option {
    background: var(--stone);
    color: var(--cream);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(250, 247, 240, 0.06);
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.muted { color: var(--whisper); }

/* ═══════════════════════════════════════════
   LEGAL PAGES (Privacy / Cookie / Terms)
   ═══════════════════════════════════════════ */
.legal-page {
    min-height: 100vh;
    padding: 10rem 1.5rem 6rem;
    background: var(--cream);
    color: var(--ink);
}

.legal-inner {
    max-width: 780px;
    margin: 0 auto;
}

.legal-back {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--whisper);
    margin-bottom: 2rem;
}

.legal-back:hover { color: var(--ink); }

.legal-page h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0.5rem 0 2rem;
}

.legal-page h2 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2.4rem 0 0.8rem;
    line-height: 1.3;
}

.legal-page p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(11, 11, 11, 0.78);
    margin-bottom: 1rem;
}

.legal-page p strong { color: var(--ink); }

.legal-page a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: rgba(11, 11, 11, 0.25);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.legal-page a:hover { text-decoration-color: var(--ink); }

.legal-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--ink);
    padding: 1.4rem 1.6rem;
    background: rgba(11, 11, 11, 0.04);
    border-left: 3px solid var(--honey);
    margin-bottom: 2rem;
}

.legal-controller {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(11, 11, 11, 0.1);
}

.legal-controller p:not(.section-label) {
    font-size: 0.95rem;
    color: var(--ink);
}

.legal-cta {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.7rem 1.4rem;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}

.legal-cta:hover {
    background: var(--ink);
    color: var(--cream);
}

@media (max-width: 640px) {
    .legal-page { padding: 7rem 1.2rem 4rem; }
    .legal-page h2 { font-size: 1.15rem; }
}

/* ═══════════════════════════════════════════
   FOOTER LEGAL LINKS
   ═══════════════════════════════════════════ */
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.footer-legal-links a,
.footer-legal-links .footer-cookie-btn {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--whisper);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-mono);
    transition: color 0.2s;
}

.footer-legal-links a:hover,
.footer-legal-links .footer-cookie-btn:hover { color: var(--cream); }

/* ═══════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 10000;
    background: var(--ink);
    color: var(--cream);
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.cookie-banner.open {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner[hidden] { display: none !important; }

.cookie-banner-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem 2.5rem;
    align-items: center;
    padding: 1.5rem 1.8rem;
    max-width: 1280px;
    margin: 0 auto;
}

.cookie-banner-text h2 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--cream);
}

.cookie-banner-text p {
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(250, 247, 240, 0.78);
    margin: 0;
}

.cookie-banner-text a {
    color: var(--honey);
    text-decoration: underline;
    text-decoration-color: rgba(244, 199, 33, 0.4);
    text-underline-offset: 3px;
}

.cookie-banner-text a:hover { text-decoration-color: var(--honey); }

.cookie-banner-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.3rem;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: var(--honey);
    color: var(--ink);
    border-color: var(--honey);
}

.cookie-btn-primary:hover {
    background: #ffd633;
    border-color: #ffd633;
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--cream);
    border-color: rgba(250, 247, 240, 0.3);
}

.cookie-btn-secondary:hover {
    background: rgba(250, 247, 240, 0.1);
    border-color: rgba(250, 247, 240, 0.5);
}

@media (max-width: 760px) {
    .cookie-banner { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; }
    .cookie-banner-inner {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1.3rem 1.4rem;
    }
    .cookie-banner-actions { justify-content: stretch; }
    .cookie-btn { flex: 1 1 auto; text-align: center; }
}

/* ═══════════════════════════════════════════
   COOKIE PREFERENCES MODAL
   ═══════════════════════════════════════════ */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s var(--ease-out);
    padding: 1.5rem;
}

.cookie-modal.open { opacity: 1; }
.cookie-modal[hidden] { display: none !important; }

.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 11, 0.6);
    backdrop-filter: blur(6px);
}

.cookie-modal-card {
    position: relative;
    background: var(--cream);
    color: var(--ink);
    border-radius: 16px;
    max-width: 580px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    padding: 2rem 2.2rem;
    transform: translateY(20px);
    transition: transform 0.25s var(--ease-out);
}

.cookie-modal.open .cookie-modal-card { transform: translateY(0); }

.cookie-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.cookie-modal-head h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.cookie-modal-close {
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(11, 11, 11, 0.1);
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cookie-modal-close:hover { background: rgba(11, 11, 11, 0.06); }

.cookie-modal-intro {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(11, 11, 11, 0.7);
    margin: 0.4rem 0 1.6rem;
}

.cookie-category {
    padding: 1.1rem 0;
    border-top: 1px solid rgba(11, 11, 11, 0.08);
}

.cookie-category:first-of-type { border-top: none; }

.cookie-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.cookie-category-head h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.cookie-category p {
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(11, 11, 11, 0.65);
    margin: 0;
}

.cookie-always {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--whisper);
    padding: 0.25rem 0.7rem;
    border: 1px solid rgba(11, 11, 11, 0.15);
    border-radius: 999px;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 11, 0.2);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s;
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s var(--ease-out);
}

.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--honey); }

.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }

.cookie-toggle input:focus-visible + .cookie-toggle-slider {
    outline: 2px solid var(--honey);
    outline-offset: 2px;
}

.cookie-modal-foot {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(11, 11, 11, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-modal-link {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--whisper);
}

.cookie-modal-link:hover { color: var(--ink); }

.cookie-modal-foot-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.cookie-modal-foot .cookie-btn-secondary {
    color: var(--ink);
    border-color: rgba(11, 11, 11, 0.2);
}

.cookie-modal-foot .cookie-btn-secondary:hover {
    background: rgba(11, 11, 11, 0.05);
    border-color: var(--ink);
}

body.cookie-modal-lock { overflow: hidden; }

@media (max-width: 540px) {
    .cookie-modal { padding: 0.8rem; }
    .cookie-modal-card { padding: 1.6rem 1.3rem; }
    .cookie-modal-foot {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .cookie-modal-foot-actions { justify-content: stretch; }
    .cookie-modal-foot-actions .cookie-btn { flex: 1; text-align: center; }
}

/* ═══════════════════════════════════════════
   CASE STUDY PAGE
   ═══════════════════════════════════════════ */
.case-study-page {
    background: var(--cream);
}

.cs-hero {
    background: var(--cream);
    padding: 11rem 4rem 5rem;
    border-bottom: 1px solid rgba(11, 11, 11, 0.08);
    position: relative;
    overflow: hidden;
}

.cs-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 199, 33, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.cs-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.cs-hero .legal-back {
    margin-bottom: 2.5rem;
    display: inline-block;
}

.cs-hero .section-label {
    color: var(--whisper);
}

.cs-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6.5vw, 5.6rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 1.5rem 0 1.8rem;
    color: var(--ink);
}

.cs-hero-sub {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: var(--whisper);
    max-width: 620px;
    line-height: 1.75;
}

.cs-section {
    padding: 7rem 4rem;
    background: var(--cream);
}

.cs-section-alt {
    background: #F2EFE6;
}

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

.cs-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 1.2rem 0 2.5rem;
    color: var(--ink);
}

.cs-body {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--ink);
    max-width: 780px;
}

.cs-body + .cs-body { margin-top: 1.5rem; }

.cs-quote {
    margin: 3.5rem 0 0;
    padding: 1.2rem 0 1.2rem 2.5rem;
    border-left: 4px solid var(--honey);
}

.cs-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.005em;
    color: var(--ink);
    margin: 0;
}

.cs-solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.cs-solution-card {
    background: var(--ink);
    color: var(--cream);
    padding: 3rem 2.5rem;
    border: 1px solid var(--ink);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.cs-solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--honey);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.cs-solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(11, 11, 11, 0.25);
}

.cs-solution-card:hover::before {
    transform: scaleX(1);
}

.cs-card-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--honey);
    margin-bottom: 1.8rem;
}

.cs-solution-card h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: var(--cream);
}

.cs-solution-card p {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(250, 247, 240, 0.7);
}

.cs-solution-card strong {
    color: var(--honey);
    font-weight: 500;
}

.cs-results-list {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
    border-top: 1px solid rgba(11, 11, 11, 0.12);
}

.cs-results-list li {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: start;
    padding: 2.2rem 0;
    border-bottom: 1px solid rgba(11, 11, 11, 0.12);
    gap: 1rem;
}

.cs-result-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--honey);
    padding-top: 0.5rem;
}

.cs-results-list li p {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    line-height: 1.55;
    color: var(--ink);
    margin: 0;
}

.cs-cta-section {
    background: var(--ink);
    color: var(--cream);
    padding: 8rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cs-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(244, 199, 33, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cs-cta-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.cs-cta-section .section-label {
    color: var(--honey);
}

.cs-cta-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 1.2rem 0 3rem;
    color: var(--cream);
}

.cs-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    background: var(--honey);
    color: var(--ink);
    padding: 1.3rem 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--honey);
    transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    box-shadow: 0 8px 28px rgba(244, 199, 33, 0.25);
}

.cs-cta-button::after {
    content: '\2192';
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.3s var(--ease-out);
}

.cs-cta-button:hover {
    transform: translateY(-3px);
    background: var(--cream);
    border-color: var(--cream);
    box-shadow: 0 14px 36px rgba(250, 247, 240, 0.2);
}

.cs-cta-button:hover::after {
    transform: translateX(6px);
}

@media (max-width: 768px) {
    .cs-hero { padding: 7rem 1.5rem 3.5rem; }
    .cs-hero::before { width: 320px; height: 320px; }
    .cs-section { padding: 4.5rem 1.5rem; }
    .cs-quote { padding: 1rem 0 1rem 1.5rem; margin-top: 2.5rem; }
    .cs-solution-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
    .cs-solution-card { padding: 2.5rem 2rem; }
    .cs-results-list li {
        grid-template-columns: 60px 1fr;
        padding: 1.7rem 0;
    }
    .cs-cta-section { padding: 5rem 1.5rem; }
    .cs-cta-button { padding: 1.1rem 2rem; font-size: 0.78rem; }
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq {
    background: var(--cream);
    padding: 8rem 4rem;
}

.faq-header {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.faq-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid rgba(11, 11, 11, 0.12);
}

.faq-item {
    border-bottom: 1px solid rgba(11, 11, 11, 0.12);
    padding: 1.8rem 0;
}

.faq-q {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--ink);
    transition: color 0.3s var(--ease-out);
}

.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }

.faq-q::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--honey);
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-out);
}

.faq-item[open] .faq-q::after {
    content: '\2212';
}

.faq-item:hover .faq-q {
    color: var(--honey);
}

.faq-a {
    margin-top: 1.2rem;
    padding-right: 3rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--whisper);
    max-width: 760px;
}

@media (max-width: 768px) {
    .faq { padding: 5rem 1.5rem; }
    .faq-header { margin-bottom: 3rem; }
    .faq-item { padding: 1.4rem 0; }
    .faq-q { gap: 1.5rem; }
    .faq-a { padding-right: 0; }
}

/* ═══════════════════════════════════════════
   CONTACT CTA (Calendly)
   ═══════════════════════════════════════════ */
.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    background: var(--ink);
    color: var(--cream);
    padding: 1.3rem 2.4rem;
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--ink);
    box-shadow: 0 8px 24px rgba(11, 11, 11, 0.18);
    transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.contact-cta::after {
    content: '\2192';
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.3s var(--ease-out);
}

.contact-cta:hover {
    background: var(--honey);
    border-color: var(--honey);
    color: var(--ink);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(244, 199, 33, 0.35);
}

.contact-cta:hover::after {
    transform: translateX(6px);
}

.contact-alt {
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: var(--whisper);
}

.contact-alt a {
    color: var(--ink);
    text-decoration: none;
}

@media (max-width: 768px) {
    .contact-cta { padding: 1.1rem 2rem; font-size: 0.78rem; }
}
