
@font-face {
    font-family: 'Johnyvino Display';
    src: url('../assets/fonts/JohnyvinoDisplay-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Johnyvino Text';
    src: url('../assets/fonts/JohnyvinoText-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Johnyvino Text';
    src: url('../assets/fonts/JohnyvinoText-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Johnyvino Mono';
    src: url('../assets/fonts/JohnyvinoMono-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

:root {
    /* Colors */
    --canvas: #09090B;
    --surface-soft: #0d0d0d;
    --surface-card: rgba(255, 255, 255, 0.05);
    --surface-elevated: rgba(255, 255, 255, 0.08);
    --hairline: rgba(255, 255, 255, 0.12);
    --hairline-strong: rgba(255, 255, 255, 0.18);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --glass-active: rgba(255, 255, 255, 0.1);
    --on-dark: #ffffff;
    --body: #cccccc;
    --body-strong: #e6e6e6;
    --muted: #999999;
    --muted-soft: #666666;
    --link: #c3d9f3;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --overlay-light: rgba(0, 0, 0, 0.4);
    --overlay-medium: rgba(0, 0, 0, 0.6);
    --overlay-heavy: rgba(0, 0, 0, 0.8);
    --error: #ff4444;
    --surface-light: #f0f0f0;

    /* Fonts */
    --font-display: 'Johnyvino Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Johnyvino Text', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    --font-mono: 'Johnyvino Mono', ui-monospace, 'SF Mono', monospace;

    /* Font sizes */
    --text-xs: 11px;
    --text-sm: 12px;
    --text-base: 14px;
    --text-md: 17px;
    --text-lg: 24px;
    --text-xl: 36px;
    --text-display: 48px;
    --text-hero: 120px;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-xxl: 64px;
    --space-section: 120px;

    /* Layout */
    --max-width: 1280px;
    --page-gutter: 48px;
    --content-width: calc(var(--max-width) - var(--page-gutter) * 2);

    /* Radius */
    --radius-xs: 12px;
    --radius-sm: 20px;
    --radius-md: 28px;
    --radius-lg: 36px;
    --radius-xl: 44px;
    --radius-pill: 9999px;

    /* Z-index */
    --z-base: 0;
    --z-above: 1;
    --z-content: 2;
    --z-overlay: 3;
    --z-header: 10;
    --z-nav: 100;
    --z-gate: 9999;
}

.project-card-visual,
.talk-card-visual,
.testimonial,
.human-card-visual,
.header-dropdown,
.video-player,
.btn-glass {
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

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

body {
    font-family: var(--font-body);
    color: var(--on-dark);
    background: var(--canvas);
    overflow-x: hidden;
}

/* TYPOGRAPHY */

.display-xl {
    font-family: var(--font-body);
    font-size: 120px;
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -1px;
    color: var(--on-dark);
}

.display-lg {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--on-dark);
}

.display-sm {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--on-dark);
}

.caption {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.body-text {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--on-dark);
}

.body-strong {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--on-dark);
}

.body-text em {
    font-style: italic;
}

/* ANIMATIONS */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* VIEW TRANSITIONS */

::view-transition-old(root) {
    animation: none;
    z-index: 1;
}

::view-transition-new(root) {
    animation: none;
    z-index: 2;
    mix-blend-mode: normal;
}

.mobile-only {
    display: none;
}

img, video, .project-card-visual, .talk-card-visual, .fullbleed-video {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
