/* ============================================
   JCRAFT — ORIGINAL DESIGN SYSTEM
   Inspired by Pentagram / Collins / Sagmeister
   ============================================ */

/* --- Custom Properties — JCraft Identity --- */
:root {
    /* Colors: Deep charcoal + warm amber accent */
    --bg: #0c0c0c;
    --bg-surface: #141414;
    --bg-elevated: #1a1a1a;
    --fg: #f0ece4;
    --fg-muted: #8a8580;
    --fg-dim: #5a5550;
    --accent: #c8956c;
    --accent-glow: rgba(200, 149, 108, 0.15);
    --border: rgba(240, 236, 228, 0.08);

    /* Typography */
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing */
    --space-xs: clamp(4px, 0.5vw, 8px);
    --space-sm: clamp(8px, 1vw, 16px);
    --space-md: clamp(16px, 2.5vw, 40px);
    --space-lg: clamp(40px, 6vw, 96px);
    --space-xl: clamp(64px, 10vw, 160px);

    /* Timing */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --dur: 0.5s;
    --dur-slow: 0.8s;
}

/* --- Light Theme Variables --- */
body.light-mode {
    --bg: #f4f4f0;
    --bg-surface: #ffffff;
    --bg-elevated: #e6e4df;
    --fg: #111111;
    --fg-muted: #5a5550;
    --fg-dim: #8a8580;
    --border: rgba(17, 17, 17, 0.1);
    /* Keep accent amber but make glow subtle */
    --accent-glow: rgba(200, 149, 108, 0.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;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--fg);
    background: var(--bg);
    overflow-x: hidden;
    transition: background-color 1.2s var(--ease), color 1.2s var(--ease);
}

ul,
ol {
    list-style: none;
}

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

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

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

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- Typography Utils --- */
.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

/* ========== GRAIN OVERLAY ========== */
.grain {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    animation: grainDrift 0.8s steps(6) infinite;
}

@keyframes grainDrift {
    0% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(-1%, 1%);
    }

    66% {
        transform: translate(1%, -1%);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* ========== HEADER ========== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: background var(--dur-slow) var(--ease);
}

#header.scrolled {
    background: rgba(12, 12, 12, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(240, 236, 228, 0.08);
}

body.light-mode #header.scrolled {
    background: rgba(244, 244, 240, 0.85);
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

body.light-mode .nav-cta {
    background: var(--fg) !important;
    color: var(--bg) !important;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    z-index: 1001;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 50%;
}

.logo-mark {
    color: var(--accent);
    font-size: 26px;
}

.logo-text {
    color: var(--fg);
}

.logo-img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 38%;
    border: 1.5px solid rgba(200, 149, 108, 0.4);
    flex-shrink: 0;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--fg-muted);
    transition: color var(--dur);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--dur) var(--ease);
}

.nav-links a:hover {
    color: var(--fg);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--fg) !important;
    color: var(--bg) !important;
    padding: 10px 24px !important;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: background var(--dur), transform var(--dur) !important;
}

.nav-cta:hover {
    background: var(--accent) !important;
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

/* Menu button (mobile) */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--fg);
    transition: transform var(--dur) var(--ease), opacity var(--dur);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: var(--bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-slow) var(--ease);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 65%;
    max-width: 400px;
    width: 100%;
    padding: 0 var(--space-md);
}

.mobile-menu ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 3vh, 24px);
}

.mobile-menu li {
    margin-bottom: 0;
}

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: clamp(32px, 7vh, 56px);
    font-style: italic;
    transition: color var(--dur);
    display: block;
    padding: 4px 0;
}

.mobile-menu a:hover {
    color: var(--accent);
}

.mobile-menu-footer {
    text-align: center;
    margin-top: var(--space-md);
    border-top: 1px solid var(--border);
    padding-top: var(--space-md);
    width: 100%;
}

.mobile-menu-label {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-dim);
    margin-bottom: 8px;
}

.mobile-menu-email {
    font-family: var(--font-sans);
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 500;
    color: var(--accent) !important;
    transition: opacity var(--dur);
    display: inline-block;
}

.mobile-menu-email:hover {
    opacity: 0.7;
}

.mobile-menu-socials {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--fg-muted);
}

.mobile-menu-socials a {
    font-family: var(--font-sans);
    font-weight: 500;
    transition: color var(--dur);
}

.mobile-menu-socials a:hover {
    color: var(--accent);
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--space-xl) var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100dvh;
}

.hero-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.04em;
    max-width: 1000px;
    overflow: visible;
}

.hero-title .line {
    display: block;
    padding-bottom: 0.05em;
}

.hero-title .serif-italic {
    font-weight: 400;
    letter-spacing: -0.02em;
    display: inline-block;
    padding-bottom: 0.08em;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: var(--space-xl);
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-muted);
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--fg-muted);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color var(--dur);
}

.hero-scroll:hover {
    color: var(--fg);
}

.scroll-arrow {
    display: inline-block;
    animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--fg);
    color: var(--bg);
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 149, 108, 0.2);
}

body.light-mode .btn-primary {
    background: var(--fg);
    color: var(--bg);
}

body.light-mode .btn-primary:hover {
    background: var(--accent);
}

/* Premium Aurora Fluid Gradient */
.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    background:
        radial-gradient(circle at 15% 50%, rgba(200, 149, 108, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(220, 110, 80, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(100, 60, 180, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(50, 80, 200, 0.25) 0%, transparent 50%);
    background-size: 200% 200%;
    filter: blur(40px);
    animation: auroraFlow 12s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
    opacity: 0.9;
}

@keyframes auroraFlow {
    0% {
        background-position: 0% 0%;
        transform: scale(1) rotate(0deg);
        filter: blur(40px) hue-rotate(0deg);
    }

    50% {
        background-position: 100% 50%;
        transform: scale(1.05) rotate(2deg);
        filter: blur(50px) hue-rotate(15deg);
    }

    100% {
        background-position: 50% 100%;
        transform: scale(1.1) rotate(-2deg);
        filter: blur(45px) hue-rotate(-10deg);
    }
}

/* ========== MANIFESTO ========== */
.manifesto {
    padding: var(--space-xl) 0;
    text-align: center;
}

.manifesto-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(24px, 3.5vw, 48px);
    line-height: 1.4;
    color: var(--fg-muted);
    max-width: 800px;
    margin: 0 auto;
    border: none;
    padding: 0;
}

.manifesto-text .serif-italic {
    color: var(--accent);
}

/* ========== REEL ========== */
.reel {
    padding: var(--space-lg) var(--space-md);
}

.reel-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.reel-video {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    cursor: pointer;
}

.reel-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background var(--dur);
}

.reel-video:hover .reel-overlay {
    background: rgba(0, 0, 0, 0.15);
}

.reel-play {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    padding: 16px 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    transition: background var(--dur), border-color var(--dur);
}

.reel-video:hover .reel-play {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ========== ABOUT ========== */
.about {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.about-heading {
    font-family: var(--font-sans);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-heading .serif-italic {
    color: var(--accent);
}

.about-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--fg-muted);
    margin-bottom: var(--space-md);
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-sans);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--fg);
}

.stat-plus {
    font-family: var(--font-sans);
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 300;
    color: var(--accent);
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-dim);
    margin-top: 8px;
}

/* ========== CLIENTS MARQUEE ========== */
.clients {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
    font-family: var(--font-sans);
    font-size: clamp(12px, 1.2vw, 16px);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-dim);
    padding: 0 clamp(16px, 2vw, 32px);
    flex-shrink: 0;
}

.marquee-sep {
    color: var(--accent);
    font-size: 10px;
    opacity: 0.6;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========== SELECTED WORK ========== */
.work {
    padding: var(--space-xl) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-lg);
}

.view-all {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--fg-muted);
    transition: color var(--dur);
}

.view-all:hover {
    color: var(--accent);
}

/* Asymmetric editorial grid */
.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.project {
    position: relative;
    overflow: hidden;
    opacity: 0; /* Prevent FOUC: JS ScrollTrigger will reveal this */
}

.project a {
    display: block;
    position: relative;
}

.project-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-surface);
}

.project-large .project-img {
    aspect-ratio: 21 / 9; /* Cinematic ultra-wide to prevent massive vertical height */
}

.project-small .project-img {
    aspect-ratio: 4 / 3; /* Standard rectangle, prevents extreme squashing of 16:9 images into 1:1 squares */
}

.project-img img,
.project-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 1.2s var(--ease);
}

.project:hover .project-img img,
.project:hover .project-img video {
    transform: scale(1.06);
}

/* Project info */
.project-info {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
}

.project-cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}

.project-name {
    font-family: var(--font-sans);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.project-year {
    font-size: 12px;
    color: var(--fg-dim);
    margin-left: auto;
}

/* Large project spans full row */
.project-large {
    grid-column: span 2;
}

/* ========== SERVICES ========== */
.services {
    padding: var(--space-xl) 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: var(--space-md);
}

.service-item {
    padding: var(--space-lg) var(--space-md);
    border-bottom: 1px solid var(--border);
    transition: background var(--dur);
    cursor: default;
    opacity: 0; /* Prevent FOUC: JS ScrollTrigger will reveal this */
}

.service-item:nth-child(odd) {
    border-right: 1px solid var(--border);
}

.service-item:hover {
    background: var(--bg-elevated);
}

.service-num {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: block;
    margin-bottom: var(--space-sm);
}

.service-name {
    font-family: var(--font-sans);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.service-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fg-muted);
    max-width: 360px;
}

/* ========== FOOTER ========== */
.footer {
    padding: var(--space-xl) 0 var(--space-lg);
    border-top: 1px solid var(--border);
}

.footer-top {
    text-align: center;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-lg);
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
}

.footer-cta {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 500;
    color: var(--accent);
    transition: opacity var(--dur);
    padding-bottom: 4px;
    border-bottom: 1px solid var(--accent);
}

.footer-cta:hover {
    opacity: 0.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-col {
    flex: 1;
    min-width: 180px;
}

.footer-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-dim);
    margin-bottom: 12px;
}

.footer-col p:not(.footer-label):not(.footer-legal) {
    font-size: 14px;
    color: var(--fg-muted);
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-socials a {
    font-size: 14px;
    color: var(--fg-muted);
    transition: color var(--dur);
}

.footer-socials a:hover {
    color: var(--accent);
}

.footer-legal {
    font-size: 12px;
    color: var(--fg-dim);
    text-align: right;
}

/* ========== ANIMATIONS ========== */
.anim-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.anim-reveal.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

/* Split content base wrapper */
.text-reveal {
    perspective: 1000px;
    visibility: hidden;
    /* Prevent flash of unstyled content */
}

.text-reveal .line {
    display: block;
    padding-bottom: 0.05em;
    overflow: hidden;
    /* Clip words animating from below */
}

.text-reveal .word {
    transform-origin: 0% 50% -50px;
    display: inline-block;
}

/* Page entrance */
body {
    opacity: 0;
    animation: bodyReveal 1s var(--ease) 0.2s forwards;
}

@keyframes bodyReveal {
    to {
        opacity: 1;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

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

    .service-item:nth-child(odd) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .hero-video-wrap {
        display: none;
    }

    .hero-title {
        font-size: clamp(36px, 10vw, 64px);
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

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

    .project-large {
        grid-column: span 1;
    }

    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-legal {
        text-align: left;
    }
}