:root {
    --bg-base: #08080a;
    --bg-surface: #111113;
    --bg-elevated: #1a1a1d;
    --bg-grid: rgba(255, 255, 255, 0.025);
    --text-main: #f0f0f0;
    --text-secondary: #a0a0a3;
    --text-muted: #6b6b6e;
    --text-dim: #3a3a3d;
    --accent: #e8a849;
    --accent-dim: rgba(232, 168, 73, 0.15);
    --accent-glow: rgba(232, 168, 73, 0.25);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    --font-serif: 'Instrument Serif', serif;
    --font-sans: 'DM Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --nav-height: 72px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #f0c674);
    z-index: 1000;
    transition: none;
}

/* ============================================
   GRID BACKGROUND
   ============================================ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-size: 48px 48px;
    background-image: linear-gradient(to right, var(--bg-grid) 1px, transparent 1px),
        linear-gradient(to bottom, var(--bg-grid) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 100%);
}

/* ============================================
   AMBIENT CURSOR
   ============================================ */
.ambient-cursor {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 168, 73, 0.18) 0%, rgba(255, 255, 255, 0.06) 30%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
    will-change: transform;
    transform: translate(-50%, -50%);
    /* Start off-screen until JS positions it */
    left: -300px;
    top: -300px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
.serif {
    font-family: var(--font-serif);
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin-bottom: 2rem;
    line-height: 1.05;
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: -0.01em;
}

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

::selection {
    background: var(--accent-dim);
    color: #fff;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.layout-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 4rem;
}

@media (max-width: 900px) {
    .layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--border-subtle);
}

/* Section Dividers — slightly more visible */
section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 100;
    background: rgba(8, 8, 10, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    transition: color 0.3s;
    position: relative;
}

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

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

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

/* Active nav link */
.nav-links a.active {
    color: var(--accent);
}

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

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
}

.nav-hamburger span {
    width: 22px;
    height: 1.5px;
    background: var(--text-secondary);
    transition: all 0.3s var(--ease-out-expo);
    display: block;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 10, 0.97);
    backdrop-filter: blur(20px);
    z-index: 150;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav a {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--text-secondary);
    transition: color 0.3s, transform 0.3s;
}

.mobile-nav a:hover {
    color: var(--accent);
    transform: translateX(8px);
}

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

    .nav-hamburger {
        display: flex;
    }
}

/* ============================================
   HERO
   ============================================ */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 2rem;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

#hero>.container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-label .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 var(--accent-glow);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 12px 6px rgba(232, 168, 73, 0);
    }
}

.hero-name {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 12vw, 9rem);
    line-height: 0.88;
    letter-spacing: -0.03em;
    margin-bottom: 2.5rem;
}

.hero-name .line {
    display: block;
    overflow: hidden;
}

.hero-name .line-inner {
    display: inline-block;
}

.hero-name .char {
    display: inline-block;
}

.hero-name .italic {
    font-style: italic;
    color: var(--text-secondary);
}

.hero-descriptor {
    max-width: 480px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Hero CTA Row */
.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 2rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 6px;
    transition: all 0.4s var(--ease-out-expo);
    background: transparent;
    cursor: pointer;
}

.hero-cta:hover {
    background: var(--accent);
    color: var(--bg-base);
    box-shadow: 0 0 30px var(--accent-glow);
}

.hero-cta .arrow-icon {
    transition: transform 0.3s var(--ease-out-expo);
}

.hero-cta:hover .arrow-icon {
    transform: translateX(4px);
}

/* Secondary CTA */
.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 2rem;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 6px;
    transition: all 0.4s var(--ease-out-expo);
    background: transparent;
    cursor: pointer;
}

.hero-cta-secondary:hover {
    border-color: var(--text-secondary);
    color: var(--text-main);
}

.hero-cta-secondary .arrow-icon {
    transition: transform 0.3s var(--ease-out-expo);
}

.hero-cta-secondary:hover .arrow-icon {
    transform: translateX(4px);
}

/* Hero Photo */
.hero-photo-wrap {
    position: relative;
    width: 280px;
    height: 340px;
    flex-shrink: 0;
}

.hero-photo-wrap::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-glow), transparent 50%, var(--accent-dim));
    z-index: 0;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    filter: saturate(0.85) contrast(1.05);
    transition: filter 0.5s, transform 0.5s var(--ease-out-expo);
}

.hero-photo-wrap:hover .hero-photo {
    filter: saturate(1) contrast(1);
    transform: scale(1.02);
}

.hero-photo-tag {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .hero-photo-wrap {
        width: 200px;
        height: 250px;
        margin: 0 auto 2rem;
        order: -1;
    }
}

/* Hero Bottom */
.hero-bottom {
    position: relative;
    margin: 3rem auto 0;
    width: 100%;
    max-width: 1140px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid var(--border-subtle);
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 400px;
}

.status-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--accent);
}

.hero-scroll-hint {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

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

@media (max-width: 640px) {
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ============================================
   ABOUT SECTION — Named Classes
   ============================================ */
.about-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 1.5rem;
}

.about-detail {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 640px;
}

.section-subtitle {
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

/* Annotation */
.anno {
    border-bottom: 1px dashed var(--accent);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

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

.anno-tip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    padding: 0.65rem 0.9rem;
    border-radius: 6px;
    width: max-content;
    max-width: 240px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s var(--ease-out-expo);
    z-index: 50;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    line-height: 1.5;
}

.anno:hover .anno-tip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Sys Note — improved contrast */
.sys-note {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 110px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .sys-note {
        position: relative;
        top: auto;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-subtle);
        padding-top: 1rem;
        margin-top: 1rem;
    }
}

/* ============================================
   QUICK STATS — improved visibility
   ============================================ */
.quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ============================================
   TECH STACK TAGS
   ============================================ */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.tech-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

/* ============================================
   TIMELINE
   ============================================ */
.tl-node {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 3.5rem;
    border-left: 1px dashed var(--border-subtle);
}

.tl-node::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 7px;
    width: 7px;
    height: 7px;
    background: var(--bg-base);
    border: 1.5px solid var(--text-dim);
    border-radius: 50%;
    transition: all 0.3s;
}

.tl-node:hover::before {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.tl-meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
}

.tl-role {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.tl-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.tl-insight {
    background: rgba(232, 168, 73, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tl-insight strong {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.sys-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (max-width: 768px) {
    .sys-cards {
        grid-template-columns: 1fr;
    }
}

.sys-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo), border-color 0.3s, box-shadow 0.4s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.sys-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-dim);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--accent-dim), 0 0 30px rgba(232, 168, 73, 0.08);
}

/* Image-only media (landscape) */
.sys-card-media {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
}

.sys-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
    filter: brightness(0.9);
}

.sys-card:hover .sys-card-media img {
    transform: scale(1.05);
    filter: brightness(1);
}

.sys-card-media .media-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-muted);
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Wide card with portrait video */
.sys-card-wide {
    grid-column: span 2;
    flex-direction: row;
}

.sys-card-wide .sys-card-video {
    width: 200px;
    min-width: 200px;
    height: 420px;
    overflow: hidden;
    position: relative;
    background: #000;
    border-right: 1px solid var(--border-subtle);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.sys-card-wide .sys-card-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s var(--ease-out-expo);
    filter: brightness(0.9);
    border-radius: 6px;
}

.sys-card-wide:hover .sys-card-video video {
    transform: scale(1.03);
    filter: brightness(1);
}

.sys-card-wide .sys-card-video .media-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-muted);
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sys-card-wide .sys-card-body {
    padding: 2rem;
}

@media (max-width: 768px) {
    .sys-card-wide {
        grid-column: span 1;
        flex-direction: column;
    }

    .sys-card-wide .sys-card-video {
        width: 100%;
        min-width: unset;
        height: 320px;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }
}

.sys-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sys-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

.sys-card-name {
    font-family: var(--font-serif);
    font-size: 1.75rem;
}

.sys-card-tech {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sys-card-link {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s;
}

.sys-card:hover .sys-card-link {
    color: var(--accent);
}

.sys-card-link .arrow {
    transition: transform 0.3s var(--ease-out-expo);
}

.sys-card:hover .sys-card-link .arrow {
    transform: translateX(6px);
}

.psi {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    flex-grow: 1;
}

.psi-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    display: block;
    margin-bottom: 0.2rem;
}

/* ============================================
   THINKING FRAGMENTS
   ============================================ */
.frag-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.frag {
    padding: 1.25rem 1.5rem;
    border-left: 2px solid var(--border-subtle);
    transition: border-color 0.3s, background 0.3s;
    border-radius: 0 6px 6px 0;
}

.frag:hover {
    border-left-color: var(--accent);
    background: rgba(232, 168, 73, 0.02);
}

.frag h4 {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.frag:hover h4 {
    color: var(--accent);
}

.frag p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ============================================
   CONTACT / FOOTER
   ============================================ */
#contact {
    padding: 5rem 0 4rem;
    border-bottom: none;
}

.contact-heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.contact-subtext {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin-top: 0.5rem;
}

.contact-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.contact-row a {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: var(--border-subtle);
    text-underline-offset: 5px;
    transition: color 0.3s, text-decoration-color 0.3s;
}

.contact-row a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

.footer-end {
    margin-top: 5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
}

@media (max-width: 640px) {
    .footer-end {
        flex-direction: column;
        gap: 0.5rem;
    }
}