:root {
    --primary-color: #050505;
    --secondary-color: #34d399;
    --text-color: #fafafa;
    --light-text-color: #a1a1aa;
    --background-light: #141414;
    --bg: #050505;
    --bg-elevated: #111111;
    --bg-card: #141414;
    --accent: #34d399;
    --accent-secondary: #10b981;
    --accent-teal: #14b8a6;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nav-height: 56px;
    --section-gap: 8rem;
    --container: 1100px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    margin: 0;
    background-color: var(--bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.12);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
}

.bg-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(52, 211, 153, 0.08);
    bottom: 20%;
    left: -100px;
}

.bg-glow-3 {
    width: 350px;
    height: 350px;
    background: rgba(20, 184, 166, 0.08);
    top: 40%;
    right: -80px;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.floating-shape {
    position: fixed;
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform;
}

.floating-shape-inner {
    animation: shapeFloat 7s ease-in-out infinite;
    transform: translateZ(0);
}

.floating-shape-pill {
    display: block;
    border-radius: 999px;
    background: linear-gradient(to right, rgba(52, 211, 153, 0.14), transparent);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 4px 24px rgba(52, 211, 153, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.floating-shape-pill::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 35% 50%, rgba(255, 255, 255, 0.12), transparent 70%);
}

.floating-shape-pill {
    position: relative;
}

.floating-shape--1 {
    left: -8vw;
    top: 16vh;
    transform: rotate(12deg) translateZ(0);
}

.floating-shape--1 .floating-shape-pill {
    width: min(520px, 70vw);
    height: 110px;
}

.floating-shape--1 .floating-shape-inner {
    animation-duration: 8s;
}

.floating-shape--2 {
    right: -4vw;
    top: 68vh;
    transform: rotate(-14deg) translateZ(0);
}

.floating-shape--2 .floating-shape-pill {
    width: min(440px, 62vw);
    height: 95px;
    background: linear-gradient(to right, rgba(20, 184, 166, 0.12), transparent);
}

.floating-shape--2 .floating-shape-inner {
    animation-duration: 9s;
    animation-delay: -2s;
}

.floating-shape--3 {
    left: 6vw;
    bottom: 8vh;
    transform: rotate(-8deg) translateZ(0);
}

.floating-shape--3 .floating-shape-pill {
    width: min(280px, 45vw);
    height: 68px;
    background: linear-gradient(to right, rgba(16, 185, 129, 0.1), transparent);
}

.floating-shape--3 .floating-shape-inner {
    animation-duration: 6.5s;
    animation-delay: -1s;
}

.floating-shape--4 {
    right: 14vw;
    top: 10vh;
    transform: rotate(18deg) translateZ(0);
}

.floating-shape--4 .floating-shape-pill {
    width: min(200px, 34vw);
    height: 52px;
    background: linear-gradient(to right, rgba(52, 211, 153, 0.16), transparent);
}

.floating-shape--4 .floating-shape-inner {
    animation-duration: 7.5s;
    animation-delay: -3s;
}

.floating-shape--5 {
    left: 22vw;
    top: 6vh;
    transform: rotate(-22deg) translateZ(0);
}

.floating-shape--5 .floating-shape-pill {
    width: min(150px, 28vw);
    height: 40px;
    background: linear-gradient(to right, rgba(110, 231, 183, 0.1), transparent);
}

.floating-shape--5 .floating-shape-inner {
    animation-duration: 6s;
    animation-delay: -4s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -16px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-shape-inner {
        animation: none;
    }
}

.site-header {
    position: fixed;
    top: 1.25rem;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.nav-pill {
    display: flex;
    align-items: center;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.35rem 0.5rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    color: var(--light-text-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.06);
}

main {
    position: relative;
    z-index: 1;
}

.section {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--section-gap) 1.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light-text-color);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.section-sub {
    color: var(--light-text-color);
    max-width: 560px;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
}

.hero-badge {
    margin-bottom: 2rem;
}

.hero-dot {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 20px var(--accent);
}

.hero-dot::before,
.hero-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    width: 80px;
    background: linear-gradient(to right, transparent, rgba(52, 211, 153, 0.4));
}

.hero-dot::before {
    right: 100%;
    margin-right: 12px;
    background: linear-gradient(to left, transparent, rgba(52, 211, 153, 0.4));
}

.hero-dot::after {
    left: 100%;
    margin-left: 12px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.15em;
    margin: 0 0 1.5rem;
    line-height: 1.1;
}

.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.hero-word-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-word:nth-child(1) { animation-delay: 0.05s; }
.hero-word:nth-child(2) { animation-delay: 0.1s; }
.hero-word:nth-child(3) { animation-delay: 0.15s; }
.hero-word:nth-child(4) { animation-delay: 0.2s; }
.hero-word:nth-child(5) { animation-delay: 0.25s; }
.hero-word:nth-child(6) { animation-delay: 0.3s; }
.hero-word:nth-child(7) { animation-delay: 0.35s; }
.hero-word:nth-child(8) { animation-delay: 0.4s; }
.hero-word:nth-child(9) { animation-delay: 0.45s; }
.hero-word:nth-child(10) { animation-delay: 0.5s; }
.hero-word:nth-child(11) { animation-delay: 0.55s; }
.hero-word:nth-child(12) { animation-delay: 0.6s; }
.hero-word:nth-child(13) { animation-delay: 0.65s; }
.hero-word:nth-child(14) { animation-delay: 0.7s; }
.hero-word:nth-child(15) { animation-delay: 0.75s; }

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

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--light-text-color);
    margin: 0 0 2rem;
    max-width: 520px;
}

.hero-subtitle strong {
    color: var(--text-color);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 24px rgba(52, 211, 153, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(52, 211, 153, 0.35);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-color);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
}

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

.hero-social {
    display: flex;
    gap: 1.25rem;
}

.hero-social a {
    color: var(--light-text-color);
    font-size: 1.25rem;
    transition: color 0.2s ease;
}

.hero-social a:hover {
    color: var(--accent);
}

.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.about-image {
    width: 220px;
    height: 220px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.2), rgba(16, 185, 129, 0.2));
    padding: 3px;
}

.about-image-inner {
    width: 100%;
    height: 100%;
    border-radius: calc(1.5rem - 3px);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--light-text-color);
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--light-text-color);
}

.about-content h3 {
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
}

.about-content p {
    color: var(--light-text-color);
    margin: 0 0 1rem;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.25rem;
}

.info-card h4 {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.info-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-card li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--light-text-color);
    font-size: 0.875rem;
    margin-bottom: 0.6rem;
}

.info-card li i {
    color: var(--accent);
    width: 16px;
}

.connect-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.connect-links a {
    color: var(--light-text-color);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.2s ease;
}

.connect-links a:hover {
    color: var(--accent);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.work-grid-divider {
    grid-column: 1 / -1;
    margin: 0.5rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light-text-color);
}

.work-grid-divider--games {
    margin-top: 1rem;
}

.work-card--featured {
    grid-column: span 2;
}

.work-card--featured .work-label {
    color: var(--accent);
    font-weight: 600;
}

.work-card--featured .work-tile-inner {
    min-height: 340px;
}

.work-card--featured .work-name {
    font-size: 1.35rem;
}

.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.25rem;
    transition: border-color 0.3s ease;
}

.work-card:hover {
    border-color: var(--border-hover);
}

.work-label {
    font-size: 0.75rem;
    color: var(--light-text-color);
    display: block;
    margin-bottom: 0.75rem;
}

.work-tile {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1rem;
    perspective: 1000px;
}

.work-tile-inner {
    --tile-glow: #34d399;
    position: relative;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.35rem 1.35rem 0;
    min-height: 270px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
    background: linear-gradient(188deg, #0f1f1a 49.9%, #065f46 82%, #34d399 94%, #6ee7b7 114%);
}

.work-tile-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 55%);
    pointer-events: none;
}

.work-tile-inner::after {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, 0.75) 50%, transparent 95%);
    opacity: 0.7;
}

.work-tile:hover .work-tile-inner,
.work-tile.is-tilting .work-tile-inner {
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.45),
        0 0 42px color-mix(in srgb, var(--tile-glow) 38%, transparent);
}

.work-preview-emerald {
    --tile-glow: #10b981;
    background: linear-gradient(188deg, #0a1812 49.9%, #064e3b 82%, #10b981 94%, #6ee7b7 114%);
}

.work-preview-teal {
    --tile-glow: #14b8a6;
    background: linear-gradient(188deg, #0a1618 49.9%, #115e59 82%, #14b8a6 94%, #5eead4 114%);
}

.work-preview-green {
    --tile-glow: #22c55e;
    background: linear-gradient(188deg, #0f1a14 49.9%, #166534 82%, #22c55e 94%, #86efac 114%);
}

.work-preview-violet {
    --tile-glow: #8b5cf6;
    background: linear-gradient(188deg, #120f1f 49.9%, #4c1d95 82%, #8b5cf6 94%, #c4b5fd 114%);
}

.work-preview-cyan {
    --tile-glow: #06b6d4;
    background: linear-gradient(188deg, #0a1418 49.9%, #155e75 82%, #06b6d4 94%, #67e8f9 114%);
}

.work-preview-amber {
    --tile-glow: #f59e0b;
    background: linear-gradient(188deg, #1a1408 49.9%, #92400e 82%, #f59e0b 94%, #fcd34d 114%);
}

.work-preview-rose {
    --tile-glow: #e11d48;
    background: linear-gradient(188deg, #1a0a10 49.9%, #881337 82%, #e11d48 94%, #fb7185 114%);
}

.work-hook {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(209, 250, 229, 0.95);
    margin: 0 2rem 0.75rem 0;
    max-width: 92%;
}

.work-preview-violet .work-hook,
.work-preview-cyan .work-hook {
    color: rgba(224, 231, 255, 0.95);
}

.work-preview-amber .work-hook {
    color: rgba(254, 243, 199, 0.95);
}

.work-preview-rose .work-hook {
    color: rgba(255, 228, 230, 0.95);
}

.work-tile-arrow {
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    z-index: 2;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.work-tile:hover .work-tile-arrow {
    transform: translate(4px, -4px);
}

.work-tile-media {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 0.35rem;
}

.work-tile-shot {
    width: 86%;
    max-width: 100%;
    border-radius: 0.7rem 0.7rem 0 0;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    transform: translateY(1.1rem) rotate(-2.5deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 0 28px color-mix(in srgb, var(--tile-glow) 55%, transparent);
    object-fit: cover;
    object-position: top center;
    max-height: 168px;
    display: block;
    background: #0a0a0a;
}

.work-tile:hover .work-tile-shot {
    transform: translateY(0.35rem) rotate(-4deg) scale(1.03);
}

.work-tile-mock {
    width: 86%;
    border-radius: 0.7rem 0.7rem 0 0;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    transform: translateY(1.1rem) rotate(-2.5deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 0 28px color-mix(in srgb, var(--tile-glow) 55%, transparent);
    overflow: hidden;
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(8px);
}

.work-tile:hover .work-tile-mock {
    transform: translateY(0.35rem) rotate(-4deg) scale(1.03);
}

.work-tile-mock--shot {
    display: flex;
    flex-direction: column;
}

.work-tile-shot-inner {
    width: 100%;
    display: block;
    max-height: 118px;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    background: #0a0a0a;
}

.mini-path-demo {
    height: 3.1rem;
    border-radius: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(0, 0, 0, 0.35);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 0.5rem 0.5rem;
    position: relative;
    overflow: hidden;
}

.mini-path-demo::before {
    content: '';
    position: absolute;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 1px;
    background: #f59e0b;
    right: 18%;
    bottom: 22%;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}

.mini-path-demo::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 12%, color-mix(in srgb, var(--tile-glow) 75%, transparent) 12% 14%, transparent 14% 26%, color-mix(in srgb, var(--tile-glow) 75%, transparent) 26% 28%, transparent 28% 40%, color-mix(in srgb, var(--tile-glow) 75%, transparent) 40% 42%, transparent 42% 54%, color-mix(in srgb, var(--tile-glow) 75%, transparent) 54% 56%, transparent 56% 68%, color-mix(in srgb, var(--tile-glow) 75%, transparent) 68% 70%, transparent 70%),
        linear-gradient(0deg, transparent 35%, color-mix(in srgb, var(--tile-glow) 55%, transparent) 35% 37%, transparent 37%);
    opacity: 0.9;
}

.work-tile-mock-bar {
    display: flex;
    gap: 0.35rem;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.work-tile-mock-bar span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.work-tile-mock-bar span:first-child {
    background: rgba(248, 113, 113, 0.65);
}

.work-tile-mock-bar span:nth-child(2) {
    background: rgba(250, 204, 21, 0.65);
}

.work-tile-mock-bar span:nth-child(3) {
    background: rgba(52, 211, 153, 0.65);
}

.work-tile-mock-body {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.88);
}

.work-tile-mock-body i {
    font-size: 1.85rem;
    color: color-mix(in srgb, var(--tile-glow) 80%, white);
    opacity: 0.9;
}

.work-tile-mock-body span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.work-tile-inner--compact {
    min-height: 148px;
    padding-bottom: 1.35rem;
}

/* Scaled-down homepage previews (inside tilt mock window) */
.work-tile-home {
    min-height: 118px;
    padding: 0.55rem 0.65rem 0.75rem;
    font-size: 0.62rem;
    line-height: 1.25;
    text-align: left;
}

/* The Cut homepage */
.work-tile-home--cut {
    background: #08080c;
    color: #e8e8ef;
}

.work-tile-home--cut .home-cut-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #818cf8;
}

.work-tile-home--cut .home-cut-title {
    margin: 0 0 0.45rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    color: #fafafa;
}

.work-tile-home--cut .home-cut-actions {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.45rem;
}

.work-tile-home--cut .home-cut-btn {
    padding: 0.22rem 0.45rem;
    border-radius: 999px;
    font-size: 0.5rem;
    font-weight: 600;
    background: #6366f1;
    color: #fff;
}

.work-tile-home--cut .home-cut-btn.ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #c4c4d0;
}

.work-tile-home--cut .home-cut-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
}

.work-tile-home--cut .home-cut-stats div {
    padding: 0.28rem 0.2rem;
    border-radius: 0.3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.work-tile-home--cut .home-cut-stats b {
    display: block;
    font-size: 0.62rem;
    color: #fafafa;
}

.work-tile-home--cut .home-cut-stats small {
    font-size: 0.45rem;
    color: #8888a0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* GeoLingo learn screen */
.work-tile-home--geo {
    background: linear-gradient(180deg, #0f2e22 0%, #0a1a14 100%);
    color: #e8fff5;
}

.work-tile-home--geo .home-geo-banner {
    margin: 0 0 0.4rem;
    padding: 0.3rem 0.45rem;
    border-radius: 0.35rem;
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.35);
    font-size: 0.52rem;
    font-weight: 700;
    color: #6ee7b7;
}

.work-tile-home--geo .home-geo-path {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.work-tile-home--geo .home-geo-node {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.25);
}

.work-tile-home--geo .home-geo-node.done {
    background: #059669;
    border-color: #34d399;
}

.work-tile-home--geo .home-geo-node.active {
    background: #34d399;
    border-color: #a7f3d0;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.work-tile-home--geo .home-geo-line {
    width: 0.65rem;
    height: 2px;
    background: rgba(52, 211, 153, 0.45);
}

.work-tile-home--geo .home-geo-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.48rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Coverage Lens homepage */
.work-tile-home--lens {
    background: #0a1118;
    color: #e8eef5;
}

.work-tile-home--lens .home-lens-eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7dd3fc;
}

.work-tile-home--lens .home-lens-title {
    margin: 0 0 0.2rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    color: #f8fafc;
}

.work-tile-home--lens .home-lens-sub {
    margin: 0 0 0.4rem;
    font-size: 0.48rem;
    color: #94a3b8;
}

.work-tile-home--lens .home-lens-stage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
}

.work-tile-home--lens .home-lens-outlet {
    padding: 0.3rem 0.25rem;
    border-radius: 0.28rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.work-tile-home--lens .home-lens-outlet strong {
    display: block;
    font-size: 0.48rem;
    margin-bottom: 0.2rem;
}

.work-tile-home--lens .home-lens-outlet.guardian strong { color: #3b9bff; }
.work-tile-home--lens .home-lens-outlet.bbc strong { color: #ff6b6b; }
.work-tile-home--lens .home-lens-outlet.sky strong { color: #fbbf24; }

.work-tile-home--lens .home-lens-headline {
    height: 0.2rem;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.14);
    margin-bottom: 0.15rem;
}

.work-tile-home--lens .home-lens-headline.short {
    width: 70%;
}

@media (prefers-reduced-motion: reduce) {
    .work-tile-inner,
    .work-tile-shot,
    .work-tile-mock,
    .work-tile-arrow {
        transition: none;
    }
}

.work-meta {
    font-size: 0.8rem;
    color: var(--light-text-color);
    margin-bottom: 0.5rem;
}

.work-meta i {
    margin-right: 0.35rem;
}

.work-name {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.work-desc {
    font-size: 0.875rem;
    color: var(--light-text-color);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.work-tags span {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--light-text-color);
}

.work-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.work-footer a {
    color: var(--light-text-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.work-footer a:first-child:hover {
    color: var(--accent);
}

.work-footer a:last-child {
    font-size: 0.9rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.skill-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.skill-item:hover {
    border-color: rgba(52, 211, 153, 0.3);
    transform: translateY(-3px);
}

.skill-item i {
    font-size: 1.75rem;
    color: var(--accent);
    display: block;
    margin-bottom: 0.75rem;
}

.skill-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--light-text-color);
}

.timeline {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-secondary));
    opacity: 0.35;
}

.timeline-item {
    position: relative;
    padding-left: 2.5rem;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.35);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: border-color 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: rgba(52, 211, 153, 0.25);
}

.timeline-date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}

.timeline-org {
    color: var(--light-text-color);
    font-size: 0.9rem;
    margin: 0 0 0.35rem;
}

.timeline-detail {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.timeline-desc {
    color: var(--light-text-color);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.timeline-list {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    color: var(--light-text-color);
    font-size: 0.9rem;
}

.timeline-list li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.timeline-list li:last-child {
    margin-bottom: 0;
}

.resume-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 720px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 1rem;
}

.resume-cta-text h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.resume-cta-text p {
    margin: 0;
    color: var(--light-text-color);
    font-size: 0.9rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

.contact-info p {
    color: var(--light-text-color);
    margin: 0 0 0.75rem;
}

.contact-muted {
    font-size: 0.9rem;
}

.contact-email {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin: 1rem 0;
    font-size: 1rem;
}

.contact-email:hover {
    text-decoration: underline;
}

.contact-simple {
    display: flex;
    justify-content: center;
    padding: 1rem 0 2rem;
}

.contact-simple .contact-email {
    font-size: 1.25rem;
    margin: 0;
}

.contact-social {
    display: flex;
    gap: 1rem;
}

.contact-social a {
    color: var(--light-text-color);
    font-size: 1.25rem;
    transition: color 0.2s ease;
}

.contact-social a:hover {
    color: var(--accent);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.5rem;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--light-text-color);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(52, 211, 153, 0.4);
}

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

.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 1.5rem;
    margin-top: var(--section-gap);
    border-top: 1px solid var(--border);
}

.site-footer p {
    color: var(--light-text-color);
    font-size: 0.85rem;
    margin: 0 0 1rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.footer-social a {
    color: var(--light-text-color);
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

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

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 0.875rem;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 2000;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

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

    .work-card--featured {
        grid-column: span 1;
    }

    .work-card--featured .work-tile-inner {
        min-height: 270px;
    }

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

    .resume-cta {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 640px) {
    :root {
        --section-gap: 5rem;
    }

    .site-header,
    header:not(.site-header) {
        display: none;
    }

    .hero {
        padding-top: 4rem;
    }

    .floating-shape--1 .floating-shape-pill {
        width: min(320px, 75vw);
        height: 72px;
    }

    .floating-shape--2 .floating-shape-pill {
        width: min(260px, 65vw);
        height: 60px;
    }

    .floating-shape--3,
    .floating-shape--5 {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(16px);
        border: 1px solid var(--border);
        border-radius: 1rem;
        padding: 0.5rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-pill {
        position: relative;
        width: 100%;
        max-width: 320px;
        justify-content: space-between;
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }

    .hero-title {
        letter-spacing: 0.08em;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .btn {
        justify-content: center;
    }
}

header:not(.site-header) {
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

header:not(.site-header) nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

header:not(.site-header) .nav-logo h1 {
    margin: 0;
    color: var(--accent);
    font-size: 1.5rem;
}

header:not(.site-header) nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

header:not(.site-header) nav ul li {
    margin-left: 30px;
}

header:not(.site-header) nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

header:not(.site-header) nav a:hover {
    color: var(--accent);
}

main:not(:has(.hero)) {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
}

main:not(:has(.hero)) section {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

main:not(:has(.hero)) h2 {
    font-size: 2rem;
    color: var(--text-color);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card .project-media {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h4 {
    color: var(--text-color);
    margin: 1rem 1.5rem 0.5rem;
}

.project-card p {
    color: var(--light-text-color);
    margin: 0 1.5rem 1rem;
}

.project-links {
    padding: 0 1.5rem 1.5rem;
}

.project-links a {
    color: var(--accent);
    text-decoration: none;
    margin-right: 1rem;
    font-weight: 600;
}

footer:not(.site-footer) {
    text-align: center;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border);
}

footer:not(.site-footer) h2 {
    border: none;
}

footer:not(.site-footer) .social-links {
    margin-top: 2rem;
}

footer:not(.site-footer) .social-links a {
    color: var(--light-text-color);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

footer:not(.site-footer) .social-links a:hover {
    color: var(--accent);
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
}

.view-details {
    color: var(--accent);
    margin: 0 1.5rem 1rem;
    font-weight: 600;
}

.project-link-overlay {
    text-decoration: none;
    color: inherit;
}
