/* ═══════════════════════════════════════════════════════════════
   AZEEZ ADEBAYO — app.css
   Refactored & Organized
   ═══════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────
   1. RESET & VARIABLES
   ────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #ffffe3;
    --gray: #555;
    --bg: #0a0a0a;
    --loaderBg: #ffffe3;
    --border-light: rgba(255, 255, 227, 0.12);
    --border-mid: rgba(255, 255, 227, 0.2);
    --pj-pad: 60px;
    --pj-pad-mob: 24px;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: "General Sans", sans-serif;
    background: var(--bg);
    color: var(--cream);
    overflow-x: hidden;
    cursor: none;
}

a,
button,
.work-item,
.list-item {
    cursor: none;
    text-decoration: none;
}

/* ──────────────────────────────────────────────────────────────
   2. CURSOR & LOADER
   ────────────────────────────────────────────────────────────── */
#cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--cream);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition:
        width 0.3s,
        height 0.3s,
        background 0.3s,
        opacity 0.3s;
    mix-blend-mode: difference;
    opacity: 0;
}

#cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(242, 237, 232, 0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #000;
    opacity: 0;
    background: transparent;
}

body.cursor-visible #cursor,
body.cursor-visible #cursor-follower {
    opacity: 1;
}

#cursor-follower.view-mode {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border: none;
    font-size: 11px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#loader {
    position: fixed;
    inset: 0;
    background: var(--loaderBg);
    z-index: 9000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

#loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-name {
    font-size: clamp(28px, 6vw, 38px);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--bg);
    margin-bottom: 10px;
}

.loader-bar-wrap {
    width: min(320px, 80vw);
    height: 3px;
    background: #868686;
    position: relative;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    background: var(--bg);
    width: 0;
    transition: width 0.05s linear;
}

.loader-pct {
    margin-top: 16px;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 227, 0.45);
}

/* ──────────────────────────────────────────────────────────────
   3. HEADER & NAVIGATION
   ────────────────────────────────────────────────────────────── */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 28px 60px;
    z-index: 200;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
    background: #0a0a0a;
    padding: 20px 60px;
    mix-blend-mode: normal;
}

.header:not(.scrolled) {
    background: transparent;
    mix-blend-mode: difference;
}

.header.hide {
    transform: translateY(-110%);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 13px;
    letter-spacing: 0.15em;
    color: var(--cream);
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.nav-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.inline-nav {
    display: flex;
    gap: 40px;
    align-items: center;
    position: absolute;
    right: 0;
    white-space: nowrap;
    pointer-events: none;
    z-index: 3;
}

.inline-nav a {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream);
    position: relative;
    padding-bottom: 3px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: auto;
}

.inline-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--cream);
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.inline-nav a:hover::after,
.inline-nav a.active::after {
    width: 100%;
}

.inline-nav a.active::after {
    opacity: 0.5;
}

.menu-btn {
    background: none;
    border: none;
    color: var(--cream);
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 0.12em;
    font-family: inherit;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    transition: opacity 0.25s ease;
}

/* ──────────────────────────────────────────────────────────────
   4. BUTTONS & UI COMPONENTS
   ────────────────────────────────────────────────────────────── */
.pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid var(--border-mid);
    background: transparent;
    color: var(--cream);
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition:
        border-color 0.3s ease,
        background 0.3s ease;
    cursor: pointer;
}

.pill-btn:hover {
    border-color: rgba(255, 255, 227, 0.5);
    background: rgba(255, 255, 227, 0.04);
}

.view-toggle {
    position: absolute;
    bottom: 64px;
    right: 60px;
    display: flex;
    border: 1px solid rgba(255, 255, 227, 0.3);
    border-radius: 999px;
    overflow: hidden;
}

.view-btn {
    padding: 8px 20px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: transparent;
    color: rgba(255, 255, 227, 0.4);
    border: none;
    font-family: inherit;
    font-weight: 500;
    transition:
        background 0.25s ease,
        color 0.25s ease;
    cursor: pointer;
}

.view-btn.active {
    background: var(--cream);
    color: #000;
    border-radius: 999px;
}

.live-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid var(--border-mid);
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--cream);
    transition:
        border-color 0.25s,
        background 0.25s;
}

.live-btn::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
}

.live-btn:hover {
    border-color: rgba(255, 255, 227, 0.6);
    background: rgba(255, 255, 227, 0.05);
}

/* ──────────────────────────────────────────────────────────────
   5. MARQUEE
   ────────────────────────────────────────────────────────────── */
.marquee-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 0;
    overflow: hidden;
    margin: 140px 0 160px;
}

.marquee-track {
    display: flex;
    gap: 80px;
    align-items: center;
    width: max-content;
    animation: marquee 24s linear infinite;
}

.marquee-item {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.35);
    white-space: nowrap;
}

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

/* ──────────────────────────────────────────────────────────────
   6. FLOATING PREVIEW
   ────────────────────────────────────────────────────────────── */
#preview {
    position: fixed;
    width: 380px;
    height: 270px;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: 0;
    overflow: hidden;
    transform-origin: center;
    border-radius: 4px;
    will-change: transform, opacity;
}

#preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.15);
    will-change: transform;
}

#preview-overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
    z-index: 9001;
    background: transparent;
    pointer-events: auto;
}

#preview-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    pointer-events: none;
}

/* ──────────────────────────────────────────────────────────────
   7. INDEX PAGE
   ────────────────────────────────────────────────────────────── */
/* Hero */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 60px 80px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(64px, 9.5vw, 140px);
    line-height: 1.02;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.line-wrap {
    display: block;
    overflow: hidden;
}

.line-inner {
    display: block;
    will-change: transform;
}

.hero-sub {
    margin-top: 20px;
    font-size: 13px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 227, 0.45);
    text-transform: uppercase;
}

.hero-scroll {
    position: absolute;
    bottom: 44px;
    right: 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 227, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Work List */
.work-section {
    padding: 100px 60px 120px;
}

.work-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.work-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 46px 0;
    border-bottom: 1px solid rgba(255, 255, 227, 0.12);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(36px);
}

.work-item:first-child {
    border-top: 1px solid rgba(255, 255, 227, 0.12);
}

.work-title {
    font-size: clamp(44px, 6.5vw, 92px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1;
    color: var(--cream);
    display: inline-block;
    transition:
        color 0.55s ease,
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-item.is-hovered .work-title {
    color: #2a2a2a;
    transform: translateX(8px);
}

.work-year {
    font-size: 13px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 227, 0.4);
    transition: opacity 0.5s ease;
}

.work-item.is-hovered .work-year {
    opacity: 0.2;
}

.work-cta {
    margin-top: 48px;
}

/* About Section */
.about-section {
    display: flex;
    min-height: 100vh;
}

.about-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px;
}

.about-right {
    flex: 1;
    overflow: hidden;
    padding: 60px;
}

.about-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    opacity: 0;
    transform: scale(1.04);
}

.about-title {
    font-size: clamp(32px, 4vw, 60px);
    line-height: 1.25;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(28px);
}

.about-desc {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 227, 0.45);
    max-width: 480px;
    opacity: 0;
    transform: translateY(24px);
}

.services-block {
    opacity: 0;
    transform: translateY(20px);
}

.services-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 227, 0.35);
    text-transform: uppercase;
    display: block;
    margin-bottom: 14px;
}

.services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.services-list li {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cream);
}

/* ──────────────────────────────────────────────────────────────
   8. WORK / PROJECTS INDEX PAGE
   ────────────────────────────────────────────────────────────── */
.work-hero {
    height: 70vh;
    display: flex;
    align-items: flex-end;
    padding: 0 60px 180px;
    position: relative;
}

.work-hero-title {
    font-size: clamp(100px, 18vw, 200px);
    line-height: 0.9;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.18);
    letter-spacing: -0.03em;
    font-weight: 500;
    user-select: none;
}

/* Grid View */
.projects-grid {
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

.project-card {
    display: block;
    color: inherit;
}

.project-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 3px;
    position: relative;
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0 48px;
}

.project-name {
    font-size: clamp(18px, 2.2vw, 32px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--cream);
    font-weight: 500;
}

.project-year {
    font-size: 13px;
    color: rgba(255, 255, 227, 0.45);
    letter-spacing: 0.06em;
}

/* List View */
.projects-list {
    display: none;
    padding: 0 60px;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    cursor: pointer;
}

.list-item:first-child {
    border-top: 1px solid var(--border-light);
}

.list-item-name {
    font-size: clamp(32px, 5vw, 72px);
    text-transform: uppercase;
    color: var(--cream);
    letter-spacing: -0.02em;
    font-weight: 500;
    transition:
        color 0.45s ease,
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.list-item:hover .list-item-name {
    color: rgba(255, 255, 227, 0.25);
    transform: translateX(10px);
}

.list-item-year {
    font-size: 13px;
    color: rgba(255, 255, 227, 0.4);
    letter-spacing: 0.08em;
    transition: opacity 0.4s ease;
}

.list-item:hover .list-item-year {
    opacity: 0.25;
}

/* View Toggles */
body.view-list .projects-grid {
    display: none;
}
body.view-list .projects-list {
    display: block;
}
body.view-grid .projects-grid {
    display: grid;
}
body.view-grid .projects-list {
    display: none;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* ──────────────────────────────────────────────────────────────
   9. PLAYGROUND PAGE
   ────────────────────────────────────────────────────────────── */
.pg-hero {
    height: 40vh;
    display: flex;
    align-items: flex-end;
    padding: 0 60px 48px;
    position: relative;
}

.pg-title {
    font-size: clamp(80px, 15vw, 120px);
    line-height: 0.92;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.18);
    letter-spacing: -0.03em;
    font-weight: 500;
    user-select: none;
}

.brain-dump {
    position: absolute;
    bottom: 56px;
    right: 60px;
    font-size: 16px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.5);
}

/* Strip Section */
.strip-section {
    position: relative;
}

.strip-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.strip-track {
    display: flex;
    gap: 2rem 7.5rem;
    padding: 0 60px;
    will-change: transform;
}

.pg-card {
    flex-shrink: 0;
    width: 700px;
    height: 82vh;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Card Backgrounds */
.pg-card.bg-light {
    background: #e8e8e2;
}
.pg-card.bg-dark {
    background: #111;
}
.pg-card.bg-white {
    background: #f5f5f5;
}
.pg-card.bg-cream {
    background: #f0ede6;
}
.pg-card.bg-black {
    background: #0a0a0a;
}

.card-media {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.card-mockup {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.card-mockup img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.card-meta {
    padding: 16px 20px 20px;
    background: inherit;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-shrink: 0;
}

.card-name {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(0, 0, 0, 0.75);
    font-weight: 500;
}

.bg-dark .card-name,
.bg-black .card-name {
    color: rgba(255, 255, 227, 0.7);
}

.card-year {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.4);
}

.bg-dark .card-year,
.bg-black .card-year {
    color: rgba(255, 255, 227, 0.35);
}

.card-typography-preview {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.card-typography-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
}

.card-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.06);
}

.pg-card__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ──────────────────────────────────────────────────────────────
   10. PROJECT DETAIL PAGE (Original)
   ────────────────────────────────────────────────────────────── */
.proj-hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 60px 48px;
    position: relative;
}

.hero-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.proj-hero .hero-title {
    font-size: clamp(64px, 12vw, 180px);
    line-height: 0.92;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 227, 0.2);
    font-weight: 500;
}

.hero-year {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 227, 0.5);
    padding-bottom: 8px;
}

.strip-card {
    flex-shrink: 0;
    height: 78vh;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

.strip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.brief-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 100px 60px;
    gap: 60px;
}

.service-tag,
.overview-tag,
.section-tag {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.35);
    display: block;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-list li {
    font-size: clamp(14px, 1.6vw, 18px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cream);
    font-weight: 500;
}

.overview-text,
.section-body {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255, 255, 227, 0.65);
    margin-bottom: 28px;
}

hr.div {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 0 60px;
}

.full-img {
    width: 100%;
    aspect-ratio: 21/9;
    overflow: hidden;
    position: relative;
}

.full-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.full-img.tall {
    aspect-ratio: 16/9;
}

.text-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 100px 60px;
    gap: 60px;
    align-items: start;
}

.section-title {
    font-size: clamp(36px, 5vw, 72px);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.mockup-card {
    margin: 0 60px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
}

.mockup-card img {
    width: 100%;
    display: block;
}

.screens-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    padding: 80px 60px;
}

.screen-card {
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}

.screen-card img {
    width: 100%;
    display: block;
}

.next-section {
    padding: 80px 60px 40px;
}

.next-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.35);
    display: block;
    margin-bottom: 32px;
}

.next-link {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.next-title {
    font-size: clamp(52px, 10vw, 140px);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 227, 0.2);
    line-height: 0.92;
    transition: color 0.35s ease;
}

.next-link:hover .next-title {
    color: rgba(255, 255, 227, 0.55);
}

.next-year {
    font-size: 13px;
    color: rgba(255, 255, 227, 0.45);
    letter-spacing: 0.08em;
    padding-bottom: 8px;
}

.fu {
    opacity: 0;
    transform: translateY(28px);
}

/* ──────────────────────────────────────────────────────────────
   11. PUBLIC PROJECT PAGE (Blade)
   ────────────────────────────────────────────────────────────── */
/* Hero */
.project-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.project-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.04);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-hero-placeholder {
    width: 100%;
    height: 100%;
    background: #111;
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.72) 0%,
        rgba(10, 10, 10, 0.1) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 0 60px 56px;
}

.project-hero-title {
    font-size: clamp(52px, 9vw, 140px);
    line-height: 0.92;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: var(--cream);
    font-weight: 500;
    will-change: transform, opacity;
}

/* Meta Bar */
.project-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
    margin: 0 60px;
}

.meta-item {
    flex: 1;
    min-width: 140px;
    padding: 28px 0;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-item:last-child {
    border-right: none;
    padding-left: 40px;
}

.meta-item:not(:first-child) {
    padding-left: 40px;
}

.meta-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.3);
    display: block;
}

.meta-value {
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--cream);
    display: block;
}

.meta-link {
    color: rgba(255, 255, 227, 0.6);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    width: fit-content;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.meta-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--cream);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Content Body */
.project-body {
    padding: 80px 60px 60px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.project-section {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
    align-items: start;
}

.section-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.3);
    padding-top: 6px;
    font-weight: 400;
}

.section-text {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 227, 0.65);
    max-width: 720px;
}

.section-richtext {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 227, 0.65);
    max-width: 720px;
}

.section-richtext p {
    margin-bottom: 1.4em;
}

.section-richtext p:last-child {
    margin-bottom: 0;
}

.section-richtext strong,
.section-richtext b {
    color: var(--cream);
    font-weight: 500;
}

.section-richtext a {
    color: var(--cream);
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.section-richtext a:hover {
    opacity: 1;
}

.section-richtext h2,
.section-richtext h3 {
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cream);
    margin-bottom: 0.8em;
    margin-top: 2em;
}

/* Gallery */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.project-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-gallery img:hover {
    transform: scale(1.02);
}

.project-gallery img:only-child {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
}

/* Prev/Next Nav */
.project-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border-light);
    margin: 0 60px;
}

.project-nav-link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 48px 0;
    transition: opacity 0.3s ease;
}

.project-nav-link:hover {
    opacity: 0.75;
}

.project-nav-next {
    border-left: 1px solid var(--border-light);
    padding-left: 48px;
    align-items: flex-end;
}

.nav-dir {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.3);
}

.nav-title {
    font-size: clamp(24px, 3.5vw, 48px);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--cream);
    font-weight: 500;
    line-height: 1;
}

/* Title Bar */
.pj-title-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 120px var(--pj-pad) 48px;
    /* border-bottom: 1px solid var(--border-light); */
    gap: 24px;
}

.pj-title-bar__name {
    font-size: clamp(52px, 9vw, 140px);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.92;
    color: var(--cream);
}

.pj-title-bar__year {
    font-size: 13px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 227, 0.4);
    text-transform: uppercase;
    padding-bottom: 6px;
    flex-shrink: 0;
}

/* Media Block */
.pj-media {
    padding: 0 var(--pj-pad);
    margin: 80px 0 0;
}

.pj-media--edge {
    padding: 0;
    margin: 0;
}

.pj-media__inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0f0f0f;
    border-radius: 0.75em;
}

.pj-media__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.pj-media:hover .pj-media__img {
    transform: scale(1.02);
}

.pj-media__video,
.pj-media__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover;
}

.pj-media__caption {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.28);
    margin-top: 14px;
}

/* Split Block */
.pj-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 var(--pj-pad);
    /* border-top: 1px solid var(--border-light); */
}

.pj-split--70 {
    grid-template-columns: 7fr 3fr;
}
.pj-split--30 {
    grid-template-columns: 3fr 7fr;
}
.pj-split--50 {
    grid-template-columns: 1fr 1fr;
}
.pj-split--invert .pj-split__left {
    order: 2;
}
.pj-split--invert .pj-split__right {
    order: 1;
}

.pj-split__left {
    padding: 80px 60px 80px 0;
    /* border-right: 1px solid var(--border-light); */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
}

.pj-split--invert .pj-split__left {
    border-right: none;
    /* border-left: 1px solid var(--border-light); */
    padding: 80px 0 80px 60px;
}

.pj-split__title {
    font-size: clamp(36px, 5.5vw, 80px);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--cream);
}

.pj-split__body {
    font-size: 14px;
    line-height: 1.85;
    color: rgba(255, 255, 227, 0.5);
}

.pj-split__body p {
    margin-bottom: 1.2em;
}

.pj-split__body p:last-child {
    margin-bottom: 0;
}

.pj-split__body strong {
    color: var(--cream);
}

.pj-split__left-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.pj-split__left-list li {
    font-size: clamp(14px, 1.4vw, 18px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.65);
    font-weight: 500;
    line-height: 1.4;
}

.pj-split__right {
    padding: 80px 0 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
}

.pj-split--invert .pj-split__right {
    padding: 80px 60px 80px 0;
}

.pj-split__entry {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 32px 0;
    /* border-bottom: 1px solid var(--border-light); */
}

.pj-split__entry:first-child {
    padding-top: 0;
}

.pj-split__entry:last-child {
    border-bottom: none;
}

.pj-split__label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.3);
    font-weight: 400;
    display: block;
}

.pj-split__value {
    font-size: 14px;
    line-height: 1.85;
    color: rgba(255, 255, 227, 0.7);
    margin: 0;
}

.pj-split__value strong {
    color: var(--cream);
}

.pj-split__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 9px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 227, 0.3);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--cream);
    width: fit-content;
    transition:
        border-color 0.3s,
        background 0.3s;
    cursor: pointer;
}

.pj-split__link:hover {
    border-color: rgba(255, 255, 227, 0.65);
    background: rgba(255, 255, 227, 0.04);
}

/* Text Block */
.pj-text {
    padding: 80px var(--pj-pad);
    border-top: 1px solid var(--border-light);
}

.pj-text--center {
    text-align: center;
}
.pj-text--right {
    text-align: right;
}

.pj-text__heading {
    font-size: clamp(36px, 5vw, 72px);
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--cream);
    margin-bottom: 28px;
}

.pj-text__body {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 227, 0.55);
    max-width: 660px;
}

.pj-text--center .pj-text__body {
    margin: 0 auto;
}
.pj-text--right .pj-text__body {
    margin-left: auto;
}

.pj-text__body p {
    margin-bottom: 1.3em;
}

.pj-text__body p:last-child {
    margin-bottom: 0;
}

/* Stats Block */
.pj-stats {
    padding: 80px var(--pj-pad);
    border-top: 1px solid var(--border-light);
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pj-stats__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-light);
}

.pj-stats__item:first-child {
    padding-top: 0;
}

.pj-stats__item:last-child {
    border-bottom: none;
}

.pj-stats__number {
    font-size: clamp(52px, 9vw, 120px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 0.9;
    color: var(--cream);
    display: block;
}

.pj-stats__desc {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.35);
    display: block;
}

/* Next Project */
.pj-next {
    /* border-top: 1px solid var(--border-light); */
}

.pj-next__link {
    display: block;
    padding: 60px var(--pj-pad);
    transition: background 0.4s;
}

.pj-next__link:hover {
    background: rgba(255, 255, 227, 0.02);
}

.pj-next__tag {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.28);
    display: block;
    margin-bottom: 24px;
}

.pj-next__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--border-light);
    padding-top: 32px;
}

.pj-next__name {
    font-size: clamp(52px, 9vw, 140px);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.92;
    color: rgba(255, 255, 227, 0.18);
    transition: color 0.4s;
    display: block;
}

.pj-next__link:hover .pj-next__name {
    color: rgba(255, 255, 227, 0.55);
}

.pj-next__year {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 227, 0.35);
    padding-bottom: 8px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.sb-thumb--video {
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    background: #000;
}

.sb-thumb--gif {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    background: repeating-conic-gradient(#2a2a2a 0% 25%, #1a1a1a 0% 50%) 0 0 /
        12px 12px;
}

/* Contact Section */
.contact-section {
    padding: 160px 60px 48px;
}

.contact-inner {
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-size: clamp(52px, 7vw, 100px);
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 90px;
    opacity: 0;
    transform: translateY(40px);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    opacity: 0;
    transform: translateY(28px);
}

.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-socials a {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.6);
    width: fit-content;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.contact-socials a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--cream);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-socials a:hover {
    color: var(--cream);
}

.contact-socials a:hover::after {
    width: 100%;
}

.contact-loc {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.4);
    text-align: center;
    justify-self: center;
}

.contact-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-cta h3 {
    font-size: clamp(32px, 4vw, 60px);
    line-height: 1.25;
    text-align: right;
}

.contact-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 60px;
    padding-bottom: 20px;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 227, 0.35);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(16px);
}

/* PS Components */
.ps-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.ps-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.ps-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--hero-overlay, 0.45));
}

.ps-hero-bg--plain {
    background-image: none;
    background-color: #0f0f0f;
}

.ps-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 60px 80px;
    width: 100%;
    max-width: 960px;
}

.ps-hero-title {
    font-size: clamp(52px, 9vw, 140px);
    line-height: 0.92;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: var(--cream);
    font-weight: 500;
}

.ps-hero-subtitle {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 227, 0.55);
    max-width: 520px;
}

.ps-text {
    padding: 100px 60px;
}

.ps-text-inner {
    max-width: 800px;
}

.ps-text--left .ps-text-inner {
    margin-left: 0;
}
.ps-text--center {
    display: flex;
    justify-content: center;
}
.ps-text--center .ps-text-inner {
    text-align: center;
    margin: 0 auto;
}
.ps-text--right {
    display: flex;
    justify-content: flex-end;
}
.ps-text--right .ps-text-inner {
    text-align: right;
    margin-left: auto;
}

.ps-text-heading {
    font-size: clamp(36px, 5vw, 72px);
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--cream);
    margin-bottom: 32px;
}

.ps-text-body {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 227, 0.6);
}

.ps-text-body p {
    margin-bottom: 1.4em;
}

.ps-split {
    display: grid;
    grid-template-columns: var(--split-cols, 1fr 1fr);
    gap: 0;
    min-height: 80vh;
    align-items: stretch;
}

.ps-split-left {
    padding: 100px 80px 100px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border-light);
}

.ps-split-right {
    padding: 100px 60px 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ps-split--inverted .ps-split-left {
    border-right: none;
    border-left: 1px solid var(--border-light);
    order: 2;
    padding: 100px 60px 100px 80px;
}

.ps-split--inverted .ps-split-right {
    order: 1;
    padding: 100px 80px 100px 60px;
    border-right: 1px solid var(--border-light);
}

.ps-split-title {
    font-size: clamp(32px, 4.5vw, 64px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    color: var(--cream);
    margin-bottom: 28px;
}

.ps-split-body {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 227, 0.55);
    max-width: 520px;
}

.ps-split-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
}

.ps-split-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-light);
}

.ps-split-item:first-child {
    border-top: 1px solid var(--border-light);
}

.ps-split-item-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.3);
    font-weight: 400;
}

.ps-split-item-value {
    font-size: clamp(18px, 2.5vw, 30px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--cream);
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

.ps-media {
    margin: 0;
    padding: 0;
}

.ps-media--full {
    width: 100%;
}

.ps-media:not(.ps-media--full) {
    padding: 0 60px;
}

.ps-media-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0f0f0f;
}

.ps-media-wrap--16-9 {
    aspect-ratio: 16/9;
}
.ps-media-wrap--4-3 {
    aspect-ratio: 4/3;
}
.ps-media-wrap--1-1 {
    aspect-ratio: 1/1;
}
.ps-media-wrap--21-9 {
    aspect-ratio: 21/9;
}

.ps-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ps-media:hover .ps-media-img {
    transform: scale(1.02);
}

.ps-media-iframe,
.ps-media-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.ps-media-caption {
    display: block;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.3);
    padding: 14px 60px 0;
    text-align: center;
}

.ps-spacer {
    display: block;
    width: 100%;
}

/* ──────────────────────────────────────────────────────────────
   12. RESPONSIVE DESIGN - TABLET (max-width: 900px)
   ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .ps-hero {
        min-height: 70vh;
    }
    .ps-hero-content {
        padding: 0 24px 56px;
    }
    .ps-text {
        padding: 64px 24px;
    }
    .ps-split {
        grid-template-columns: 1fr !important;
        min-height: auto;
    }
    .ps-split-left,
    .ps-split-right {
        padding: 52px 24px;
        border-right: none !important;
        border-left: none !important;
    }
    .ps-split-left {
        border-bottom: 1px solid var(--border-light);
        order: unset !important;
    }
    .ps-split-right {
        order: unset !important;
    }
    .ps-media:not(.ps-media--full) {
        padding: 0 24px;
    }
    .ps-media-caption {
        padding: 12px 24px 0;
    }
}

/* ──────────────────────────────────────────────────────────────
   13. RESPONSIVE DESIGN - MOBILE (max-width: 768px)
   ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Global */
    body {
        cursor: auto;
    }
    #cursor,
    #cursor-follower,
    #preview {
        display: none;
    }
    a,
    button,
    .work-item,
    .list-item {
        cursor: auto;
    }

    /* Header */
    .header {
        padding: 20px 24px;
        background: #0a0a0a;
        mix-blend-mode: normal;
    }
    .header.scrolled {
        padding: 16px 24px;
    }
    .inline-nav {
        gap: 20px;
    }

    /* Index Hero */
    .hero-section {
        padding: 120px 24px 60px;
        height: auto;
        min-height: auto;
    }
    .hero-title {
        font-size: clamp(44px, 12vw, 80px);
        line-height: 1.1;
    }
    .hero-scroll {
        display: none;
    }

    /* Work Section */
    .work-section {
        padding: 70px 24px 80px;
    }
    .work-title {
        font-size: 38px;
    }

    /* About Section */
    .about-section {
        flex-direction: column;
    }
    .about-left,
    .about-right {
        padding: 40px 24px;
    }
    .about-right {
        min-height: 55vw;
        flex: none;
    }
    .about-title {
        font-size: clamp(28px, 6vw, 44px);
    }

    /* Work Page */
    .work-hero {
        padding: 120px 24px 50px;
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
    }
    .work-hero-title {
        font-size: clamp(44px, 12vw, 80px);
        text-align: left;
        width: 100%;
    }
    .view-toggle {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 32px;
        width: fit-content;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 24px;
        gap: 24px;
    }
    .project-meta {
        padding: 12px 0 32px;
    }
    .projects-list {
        padding: 0 24px;
    }
    .list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 24px 0;
    }
    .list-item-name {
        font-size: 32px;
    }

    /* Playground Page */
    .pg-hero {
        padding: 120px 24px 44px;
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
    }
    .pg-title {
        font-size: clamp(44px, 12vw, 80px);
        text-align: left;
        width: 100%;
    }
    .brain-dump {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        display: inline-block;
        text-align: left;
        font-size: 12px;
    }
    .strip-section {
        position: static;
    }
    .strip-sticky {
        position: static;
        height: auto;
        overflow: visible;
        display: block;
        padding: 0 24px;
    }
    .strip-track {
        flex-direction: column;
        padding: 0;
        gap: 2rem;
        transform: none !important;
    }
    .pg-card {
        width: 100%;
        height: auto;
        min-height: 280px;
        aspect-ratio: 4/3;
    }

    /* Project Detail (Original) */
    .proj-hero {
        padding: 120px 24px 40px;
        min-height: auto;
        height: auto;
    }
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .proj-hero .hero-title {
        font-size: clamp(44px, 12vw, 100px);
        text-align: left;
    }
    .hero-year {
        text-align: left;
        margin-left: 0;
    }
    .brief-section,
    .text-section {
        grid-template-columns: 1fr;
        padding: 50px 24px;
        gap: 32px;
    }
    .section-title {
        font-size: clamp(28px, 7vw, 48px);
    }
    .screens-3 {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 24px;
    }
    .mockup-card {
        margin: 0 24px;
    }
    hr.div {
        margin: 0 24px;
    }
    .full-img {
        aspect-ratio: 16/9;
    }
    .next-section {
        padding: 50px 24px 32px;
    }
    .next-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .next-title {
        font-size: clamp(36px, 9vw, 80px);
    }

    /* Public Project Page (Blade) */
    .project-hero {
        height: auto;
        min-height: 50vh;
    }
    .project-hero-overlay {
        padding: 120px 24px 48px;
        position: relative;
    }
    .project-hero-title {
        font-size: clamp(36px, 10vw, 72px);
        margin-top: 20px;
    }
    .project-meta-bar {
        margin: 0 24px;
        flex-direction: column;
    }
    .meta-item {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 20px 0;
    }
    .meta-item:last-child {
        border-bottom: none;
        padding-left: 0;
    }
    .meta-item:not(:first-child) {
        padding-left: 0;
    }
    .project-body {
        padding: 48px 24px 40px;
        gap: 48px;
    }
    .project-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .project-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .project-gallery img:only-child {
        aspect-ratio: 4/3;
    }
    .project-nav {
        margin: 0 24px;
        grid-template-columns: 1fr;
    }
    .project-nav-next {
        border-left: none;
        border-top: 1px solid var(--border-light);
        padding-left: 0;
        align-items: flex-start;
    }

    /* Split Block Mobile */
    .pj-title-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--pj-pad-mob) 36px;
        gap: 12px;
    }
    .pj-title-bar__name {
        font-size: clamp(36px, 10vw, 72px);
    }
    .pj-media {
        padding: 0 var(--pj-pad-mob);
        margin-top: 48px;
    }
    .pj-media--edge {
        padding: 0;
        margin-top: 0;
    }
    .pj-split,
    .pj-split--70,
    .pj-split--30,
    .pj-split--50 {
        grid-template-columns: 1fr;
        padding: 0 var(--pj-pad-mob);
    }
    .pj-split__left,
    .pj-split--invert .pj-split__left {
        order: unset;
        padding: 48px 0 36px;
        border-right: none;
        border-left: none;
        border-bottom: 1px solid var(--border-light);
    }
    .pj-split__right,
    .pj-split--invert .pj-split__right {
        order: unset;
        padding: 36px 0 48px;
    }
    .pj-split__title {
        font-size: clamp(28px, 8vw, 48px);
    }
    .pj-text {
        padding: 52px var(--pj-pad-mob);
    }
    .pj-stats {
        padding: 52px var(--pj-pad-mob);
    }
    .pj-stats__number {
        font-size: clamp(40px, 12vw, 72px);
    }
    .pj-next__link {
        padding: 48px var(--pj-pad-mob);
    }
    .pj-next__name {
        font-size: clamp(32px, 8vw, 60px);
    }
    .pj-next__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Contact Section Mobile */
    .contact-section {
        padding: 100px 24px 40px;
    }
    .contact-title {
        text-align: center;
        margin-bottom: 50px;
        font-size: clamp(36px, 8vw, 60px);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .contact-socials {
        align-items: center;
    }
    .contact-socials a::after {
        left: 50%;
        transform: translateX(-50%);
        width: 0;
    }
    .contact-socials a:hover::after {
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
    .contact-loc {
        text-align: center;
        justify-self: center;
    }
    .contact-cta {
        align-items: center;
    }
    .contact-cta h3 {
        text-align: center;
        font-size: clamp(28px, 6vw, 44px);
    }
    .contact-footer {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
        padding-top: 50px;
    }

    /* Marquee */
    .marquee-section {
        margin: 80px 0 100px;
        padding: 24px 0;
    }
    .marquee-track {
        gap: 40px;
        animation-duration: 18s;
    }
    .marquee-item {
        font-size: 10px;
        letter-spacing: 0.15em;
    }

    /* PS Components Mobile */
    .ps-hero {
        padding-top: 100px;
        min-height: auto;
    }
    .ps-hero-content {
        padding-bottom: 56px;
    }
    .ps-hero-title {
        font-size: clamp(40px, 10vw, 80px);
    }
    .ps-text {
        padding: 50px 24px;
    }
    .ps-split-left,
    .ps-split-right {
        padding: 40px 24px;
    }
    .ps-split-title {
        font-size: clamp(28px, 7vw, 48px);
    }

    /* Scroll Padding */
    html {
        scroll-padding-top: 80px;
    }
}

/* ──────────────────────────────────────────────────────────────
   14. EXTRA SMALL DEVICES (max-width: 480px)
   ────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .hero-title,
    .work-hero-title,
    .pg-title,
    .proj-hero .hero-title,
    .project-hero-title {
        font-size: clamp(32px, 9vw, 52px);
    }
    .work-title {
        font-size: clamp(28px, 7vw, 42px);
    }
    .about-title,
    .contact-title {
        font-size: clamp(28px, 7vw, 44px);
    }
    .project-meta-bar {
        margin: 0 16px;
    }
    .project-body {
        padding: 40px 16px 32px;
    }
    .pj-title-bar {
        padding: 80px 16px 28px;
    }
    .pj-title-bar__name {
        font-size: clamp(28px, 9vw, 52px);
    }
    .strip-track {
        gap: 1.5rem;
    }
    .pg-card {
        min-height: 220px;
    }
    .loader-bar-wrap {
        width: min(320px, 55vw);
    }
}

/* ──────────────────────────────────────────────────────────────
   15. DESKTOP HERO TEXT ALIGNMENT
   ────────────────────────────────────────────────────────────── */
@media (min-width: 768px) {
    .hero-inner {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        width: 100%;
    }
    .hero-inner .hero-title {
        text-align: left;
        flex: 1;
    }
    .hero-year {
        text-align: right;
        margin-left: auto;
        white-space: nowrap;
        padding-bottom: 8px;
    }
    .proj-hero .hero-inner {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        width: 100%;
    }
    .proj-hero .hero-title {
        text-align: left;
    }
    .proj-hero .hero-year {
        text-align: right;
        margin-left: auto;
    }
    .work-hero,
    .pg-hero {
        align-items: flex-end;
        justify-content: space-between;
    }
    .work-hero-title,
    .pg-title {
        text-align: left;
    }
    .view-toggle,
    .brain-dump {
        margin-bottom: 8px;
    }
}
/* ═══════════════════════════════════════════════════════════════
   MOBILE: Hero & Toggle Side-by-Side with Consistent Spacing
   - Matches padding of other page elements (work-section, projects-grid, etc.)
   - Work page: hero title left, view toggle right
   - Playground page: title left, brain dump right
   - Uses same horizontal padding as other containers
═══════════════════════════════════════════════════════════════ */

/* ----- WORK PAGE HERO (Mobile: side by side with consistent spacing) ----- */
@media (max-width: 768px) {
    .work-hero {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        padding: 120px 24px 50px;
        height: auto;
        min-height: auto;
        margin: 0;
        /* Match the padding of .projects-grid and .work-section */
    }

    .work-hero-title {
        flex: 1;
        text-align: left;
        margin: 0;
        padding: 0;
        font-size: clamp(36px, 9vw, 64px);
        line-height: 1.05;
        width: auto;
        letter-spacing: -0.02em;
    }

    .view-toggle {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 0;
        margin-bottom: 8px;
        margin-left: 16px;
        flex-shrink: 0;
        transform: none;
        border-color: rgba(255, 255, 227, 0.25);
    }

    .view-btn {
        padding: 6px 16px;
        font-size: 10px;
        letter-spacing: 0.1em;
    }
}

/* ----- PLAYGROUND PAGE HERO (Mobile: side by side with consistent spacing) ----- */
@media (max-width: 768px) {
    .pg-hero {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        padding: 120px 24px 44px;
        height: auto;
        min-height: auto;
        margin: 0;
    }

    .pg-title {
        flex: 1;
        text-align: left;
        margin: 0;
        padding: 0;
        font-size: clamp(36px, 9vw, 64px);
        line-height: 1.05;
        width: auto;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 227, 0.18);
    }

    .brain-dump {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 0;
        margin-bottom: 10px;
        margin-left: 16px;
        flex-shrink: 0;
        font-size: 11px;
        letter-spacing: 0.12em;
        text-align: right;
        white-space: nowrap;
        color: rgba(255, 255, 227, 0.5);
    }
}

/* ----- Ensure spacing matches other page elements ----- */
@media (max-width: 768px) {
    /* Work page - consistent with projects-grid */
    .projects-grid {
        padding: 0 24px;
    }

    .projects-list {
        padding: 0 24px;
    }

    /* Playground page - consistent with strip-sticky */
    .strip-sticky {
        padding: 0 24px;
    }

    /* About section - consistent padding */
    .about-left,
    .about-right {
        padding: 40px 24px;
    }

    /* Contact section - consistent padding */
    .contact-section {
        padding: 100px 24px 40px;
    }
}

/* ----- EXTRA SMALL DEVICES (max-width: 480px) ----- */
@media (max-width: 480px) {
    .work-hero {
        padding: 100px 16px 40px;
    }
    .work-hero-title {
        font-size: clamp(28px, 8vw, 48px);
    }
    .view-btn {
        padding: 5px 12px;
        font-size: 9px;
    }
    .view-toggle {
        margin-left: 12px;
        margin-bottom: 6px;
    }

    .pg-hero {
        padding: 100px 16px 36px;
    }
    .pg-title {
        font-size: clamp(28px, 8vw, 48px);
    }
    .brain-dump {
        font-size: 9px;
        margin-left: 12px;
        margin-bottom: 8px;
        letter-spacing: 0.1em;
    }

    /* Match other elements padding on extra small */
    .projects-grid,
    .projects-list,
    .strip-sticky,
    .about-left,
    .about-right,
    .contact-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ----- Prevent text wrapping on narrow screens ----- */
@media (max-width: 380px) {
    .work-hero {
        flex-wrap: wrap;
        gap: 8px;
        padding-bottom: 40px;
    }
    .work-hero-title {
        flex: 1 1 100%;
        margin-bottom: 4px;
    }
    .view-toggle {
        margin-left: 0;
        margin-bottom: 0;
        align-self: flex-start;
    }

    .pg-hero {
        flex-wrap: wrap;
        gap: 8px;
        padding-bottom: 36px;
    }
    .pg-title {
        flex: 1 1 100%;
        margin-bottom: 4px;
    }
    .brain-dump {
        margin-left: 0;
        margin-bottom: 0;
        align-self: flex-start;
        white-space: normal;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .inline-nav {
        display: none !important; /* hard hide — no JS can resurrect it */
        pointer-events: none !important;
    }

    /* Also hide the cursor/follower which intercept touch on mobile */
    #cursor,
    #cursor-follower,
    #preview {
        display: none !important;
        pointer-events: none !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   SCROLL LOCK — iOS Safari safe
══════════════════════════════════════════════════════════════ */
body.menu-lock {
    overflow: hidden;
    position: fixed;
    width: 100%;
    /* top is set by JS: body.style.top = -scrollY + 'px' */
}

/* ══════════════════════════════════════════════════════════════
   MOBILE OVERLAY MENU
══════════════════════════════════════════════════════════════ */
.mob-overlay {
    /* Always in the DOM, always fixed, but invisible + unclickable */
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: #0a0a0a;

    display: flex;
    flex-direction: column;

    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s linear 0.38s;
}

/* Open state — class added by JS */
.mob-overlay.mob-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s linear 0s;
}

/* Top bar inside overlay */
.mob-overlay__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 24px;
    flex-shrink: 0;
}

.mob-overlay__logo {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream);
    text-decoration: none;
}

.mob-overlay__close {
    background: none;
    border: none;
    color: rgba(255, 255, 227, 0.55);
    cursor: pointer;
    padding: 6px;
    line-height: 0;
    transition: color 0.2s;
}
.mob-overlay__close:hover {
    color: var(--cream);
}

/* Nav links — stacked, left-aligned, large type */
.mob-overlay__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 24px;
    gap: 0;
}

.mob-overlay__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 227, 0.08);
    text-decoration: none;
    color: var(--cream);
    font-size: clamp(32px, 9vw, 52px);
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1;
    /* Start hidden — GSAP animates these in */
    opacity: 0;
    transform: translateY(28px);
    transition: color 0.2s;
}

.mob-overlay__link:first-child {
    border-top: 1px solid rgba(255, 255, 227, 0.08);
}

.mob-overlay__link:active,
.mob-overlay__link:hover {
    color: rgba(255, 255, 227, 0.45);
}

.mob-overlay__arrow {
    font-size: 18px;
    opacity: 0.3;
}

/* Footer inside overlay */
.mob-overlay__footer {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 227, 0.07);
}

.mob-overlay__loc {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.25);
}

.mob-overlay__socials {
    display: flex;
    gap: 20px;
}

.mob-overlay__socials a {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.3);
    text-decoration: none;
    transition: color 0.2s;
}
.mob-overlay__socials a:hover {
    color: var(--cream);
}

/* Hide overlay completely on desktop — it must NOT intercept clicks */
@media (min-width: 769px) {
    .mob-overlay {
        display: none !important;
        pointer-events: none !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   HERO — smaller font + tighter gap on mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero-scroll {
        bottom: 54px;
        right: 24px;
        width: 48px;
        height: 48px;
    }

    .work-hero-title {
        font-size: clamp(56px, 17vw, 100px);
    }
    .pg-title {
        font-size: clamp(48px, 13vw, 80px);
    }

    .pj-title-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 88px 24px 28px;
        gap: 8px;
    }
    .pj-title-bar__name {
        font-size: clamp(32px, 10vw, 58px);
    }

    /* ══════════════════════════════════════════════════════════════
   CONTACT — centered on mobile
══════════════════════════════════════════════════════════════ */

    .contact-section {
        padding: 80px 24px 40px;
    }

    .contact-title {
        font-size: clamp(34px, 11vw, 60px);
        text-align: center;
        margin-bottom: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .contact-socials {
        align-items: center;
    }

    /* Re-center the underline animation on centered links */
    .contact-socials a::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-loc {
        text-align: center;
        justify-self: center;
    }

    .contact-cta {
        align-items: center;
    }

    .contact-cta h3 {
        text-align: center;
        font-size: clamp(24px, 7vw, 40px);
    }

    .contact-footer {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
        padding-top: 40px;
    }

    /* ══════════════════════════════════════════════════════════════
   WORK LIST — make items tappable on mobile
   The .work-item had no explicit cursor or touch-action.
   On mobile, ensure the whole row is a tap target.
══════════════════════════════════════════════════════════════ */

    .work-item {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 227, 0.06);
        touch-action: manipulation;
        padding: 28px 0;
    }

    .work-title {
        font-size: 36px;
    }
    .work-year {
        font-size: 11px;
    }

    /* ══════════════════════════════════════════════════════════════
   PROJECT CARD (grid view) — tappable on mobile
══════════════════════════════════════════════════════════════ */

    .project-card {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255, 255, 227, 0.04);
    }

    /* ══════════════════════════════════════════════════════════════
   LIST ITEMS — tappable on mobile
══════════════════════════════════════════════════════════════ */

    .list-item {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255, 255, 227, 0.06);
        padding: 22px 0;
    }

    .list-item-name {
        font-size: 30px;
    }
} /* end @media max-width: 768px */

/* ══════════════════════════════════════════════════════════════
   CONTACT MODAL
══════════════════════════════════════════════════════════════ */
body.modal-open {
    overflow: hidden;
}

.cmodal {
    position: fixed;
    inset: 0;
    z-index: 9100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.cmodal[hidden] {
    display: none;
}

.cmodal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.38s ease;
}

.cmodal--open .cmodal__backdrop {
    opacity: 1;
}

.cmodal__panel {
    position: relative;
    width: 100%;
    max-width: 680px;
    background: #111;
    border: 1px solid rgba(255, 255, 227, 0.1);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding: 36px 40px 48px;
    transform: translateY(100%);
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 92vh;
    overflow-y: auto;
}

.cmodal--open .cmodal__panel {
    transform: translateY(0);
}

.cmodal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.cmodal__eyebrow {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.4);
}

.cmodal__close {
    background: none;
    border: 1px solid rgba(255, 255, 227, 0.15);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 227, 0.55);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.cmodal__close:hover {
    border-color: rgba(255, 255, 227, 0.4);
    color: var(--cream);
}

/* Form layout */
.cmodal__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.cmodal__field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.cmodal__field label {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.4);
}

.cmodal__field label span {
    color: rgba(255, 100, 100, 0.8);
}

.cmodal__field input,
.cmodal__field textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 227, 0.12);
    border-radius: 8px;
    color: var(--cream);
    font-family: "General Sans", sans-serif;
    font-size: 14px;
    padding: 11px 14px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.cmodal__field input::placeholder,
.cmodal__field textarea::placeholder {
    color: rgba(255, 255, 227, 0.2);
}

.cmodal__field input:focus,
.cmodal__field textarea:focus {
    border-color: rgba(255, 255, 227, 0.35);
}

.cmodal__field textarea {
    resize: vertical;
    min-height: 120px;
}

.cmodal__err {
    font-size: 11px;
    color: rgba(255, 100, 100, 0.85);
    letter-spacing: 0.02em;
    min-height: 14px;
}

.cmodal__err--general {
    margin-left: auto;
}

.cmodal__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
}

.cmodal__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    color: #0a0a0a;
    border: none;
    border-radius: 999px;
    font-family: "General Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px 32px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cmodal__submit:hover {
    opacity: 0.85;
}

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

/* Spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 0.8s linear infinite;
}

/* Success state */
.cmodal__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 40px 0 20px;
    text-align: center;
}

.cmodal__success-title {
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--cream);
}

.cmodal__success-sub {
    font-size: 13px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 227, 0.4);
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .cmodal__panel {
        padding: 28px 20px 40px;
        border-radius: 12px 12px 0 0;
    }
    .cmodal__row {
        grid-template-columns: 1fr;
    }
}

/* ── CONTACT PAGE ────────────────────────────────────────────── */
.contact-page {
    min-height: calc(100vh - 80px);
    padding: 120px 60px 80px;
}

.contact-page__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.contact-page__title {
    font-size: clamp(56px, 8vw, 100px);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--cream);
    margin-bottom: 32px;
}

.contact-page__sub {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 227, 0.55);
    margin-bottom: 48px;
    max-width: 320px;
}

.contact-page__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 227, 0.4);
}

.contact-page__socials {
    display: flex;
    gap: 24px;
}

.contact-page__socials a {
    color: rgba(255, 255, 227, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-page__socials a:hover {
    color: var(--cream);
}

/* Form */
.contact-page__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-page__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-page__field label {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 227, 0.45);
    text-transform: uppercase;
}

.contact-page__field label span {
    color: rgba(255, 255, 227, 0.3);
}

.contact-page__field input,
.contact-page__field textarea {
    background: rgba(255, 255, 227, 0.05);
    border: 1px solid rgba(255, 255, 227, 0.12);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--cream);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
    width: 100%;
}

.contact-page__field input::placeholder,
.contact-page__field textarea::placeholder {
    color: rgba(255, 255, 227, 0.25);
}

.contact-page__field input:focus,
.contact-page__field textarea:focus {
    border-color: rgba(255, 255, 227, 0.35);
}

.contact-page__err {
    font-size: 11px;
    color: #ff6b6b;
}

.contact-page__submit {
    align-self: flex-start;
    background: var(--cream);
    color: var(--bg);
    border: none;
    border-radius: 100px;
    padding: 14px 36px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: opacity 0.2s;
}

.contact-page__submit:hover {
    opacity: 0.85;
}

.contact-page__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-page__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-page__submit-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-page__foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
}

.contact-page__err--general {
    font-size: 12px;
}

/* Success state */
.contact-page__success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 48px 0;
    color: rgba(255, 255, 227, 0.7);
}

.contact-page__success svg {
    stroke: rgba(255, 255, 227, 0.6);
}

.contact-page__success-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--cream);
}

.contact-page__success-sub {
    font-size: 15px;
    color: rgba(255, 255, 227, 0.5);
}

@media (max-width: 900px) {
    .contact-page {
        padding: 100px 32px 80px;
    }
    .contact-page__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contact-page__title {
        font-size: clamp(48px, 12vw, 80px);
    }
    .contact-page__sub {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .contact-page {
        padding: 100px 20px 60px;
    }
    .contact-page__row {
        grid-template-columns: 1fr;
    }
}
