/* ============================================
   Zero Seven, Inc. — Industrial Precision
   ============================================ */

:root {
    --slate-950: #0a0f1a;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--slate-300);
    background: var(--slate-950);
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
}

/* Grain overlay */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

/* ---- Animations ---- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.d1 { animation-delay: 0.12s; }
.d2 { animation-delay: 0.24s; }
.d3 { animation-delay: 0.36s; }
.d4 { animation-delay: 0.48s; }
.d5 { animation-delay: 0.60s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 64px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-mark {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(200px, 35vw, 420px);
    color: transparent;
    -webkit-text-stroke: 1px var(--slate-800);
    line-height: 1;
    user-select: none;
    opacity: 0;
    animation: markReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@keyframes markReveal {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1.15;
}

.hero .comma {
    color: var(--slate-500);
    font-weight: 400;
}

.tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan-400);
    margin-top: 16px;
}

.sub {
    font-size: 0.95rem;
    color: var(--slate-500);
    margin-top: 12px;
    letter-spacing: 0.5px;
}

/* ---- Main ---- */
main {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

section {
    margin-bottom: 64px;
}

.section-inner {
    border-left: 2px solid var(--slate-800);
    padding-left: 28px;
}

.section-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 12px;
}

h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

section p {
    color: var(--slate-400);
    max-width: 520px;
}

/* ---- Support Section ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 28px;
    background: var(--cyan-500);
    color: var(--slate-950);
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn:hover {
    background: var(--cyan-400);
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(6, 182, 212, 0.25);
}

.btn:hover::after {
    transform: translateX(100%);
}

.btn-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    color: var(--slate-500);
    margin-top: 14px;
    letter-spacing: 0.3px;
}

/* ---- Services Grid ---- */
.service-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
}

.service-item {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--slate-800);
    transition: border-color 0.2s;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    border-color: var(--slate-700);
}

.service-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--cyan-500);
    flex-shrink: 0;
    width: 28px;
}

.service-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service-text strong {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    color: var(--slate-100);
    font-size: 0.95rem;
}

.service-text span {
    font-size: 0.85rem;
    color: var(--slate-500);
}

/* ---- Contact Grid ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 8px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-key {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--slate-500);
}

.contact-item a,
.contact-item span {
    color: var(--slate-300);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--cyan-400);
}

/* ---- Footer ---- */
footer {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 24px 48px;
    padding-left: 52px;
    border-top: 1px solid var(--slate-800);
}

footer span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    color: var(--slate-600);
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .hero {
        min-height: 50vh;
        padding: 60px 20px 48px;
    }

    .hero-mark {
        font-size: 180px;
    }

    main {
        padding: 0 20px 60px;
    }

    .section-inner {
        padding-left: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    footer {
        padding-left: 44px;
    }
}

/* ---- Booking Grid ---- */
.booking-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.booking-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.booking-card:hover {
    border-color: var(--cyan-500);
    background: rgba(6, 182, 212, 0.04);
    transform: translateX(4px);
}

.booking-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.booking-duration {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--cyan-400);
    letter-spacing: 0.5px;
}

.booking-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--slate-950);
    background: var(--cyan-500);
    padding: 1px 6px;
    border-radius: 2px;
}

.booking-card strong {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    color: var(--slate-100);
    font-size: 0.95rem;
}

.booking-card span {
    font-size: 0.85rem;
    color: var(--slate-500);
    line-height: 1.4;
}
