/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
    --bg:        #1e293b;
    --surface:   #243348;
    --surface-2: #2c3d56;
    --border:    rgba(148,163,184,0.15);
    --text:      #e2e8f0;
    --text-muted:#7a90aa;
    --accent:    #94a3b8;
    --accent-dim:#7a8fa8;
    --heading:   #eef2f8;

    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --max-w: 1200px;
    --radius: 12px;
    --radius-sm: 6px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --nav-h: 64px;
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 96px 0; }

/* =============================================
   TYPOGRAPHY SYSTEM
   ============================================= */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--heading);
    margin-bottom: 16px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 48px;
    max-width: 520px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s var(--ease);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #0f172a;
}
.btn-primary:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(148,163,184,0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* =============================================
   NAVIGATION
   ============================================= */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(30,41,59,0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

#navbar.scrolled {
    background: rgba(30,41,59,0.97);
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 0.85rem;
    font-weight: 800;
    background: var(--accent);
    color: #0f172a;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-links .nav-cta {
    background: var(--accent);
    color: #0f172a;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--accent-dim); color: #0f172a; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.2s;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 12px 24px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    padding: 12px 0;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.nav-mobile a:last-child { border-bottom: none; }

/* =============================================
   HERO
   ============================================= */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    background: var(--bg);
}

/* Tighter precision grid — matches dark Audi feel */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, #1e293b 80%),
        radial-gradient(ellipse 100% 40% at 50% 100%, #1e293b 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    padding-top: var(--nav-h);
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--heading);
    margin-bottom: 24px;
}

.hero-content h1 .name-accent { color: var(--accent); }

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hero-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(148,163,184,0.08);
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}
.pill-key {
    color: var(--accent);
    font-weight: 700;
}
.pill-sep {
    color: var(--text-muted);
    margin: 0 2px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    display: block;
    opacity: 0.4;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* =============================================
   ABOUT
   ============================================= */
#about { background: var(--surface); }

.about-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: start;
}

.about-photo-wrap {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

.photo-placeholder,
.about-photo-wrap img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-2);
    border: 1px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}
.about-photo-wrap img {
    border: none;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.75;
}
.about-text p em { color: var(--accent); font-style: italic; }

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =============================================
   EXPERIENCE / TIMELINE
   ============================================= */
#experience { background: var(--bg); }

.timeline {
    position: relative;
    margin-top: 48px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0; bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 0 24px;
    margin-bottom: 32px;
    align-items: start;
}

.timeline-marker {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 22px;
}
.timeline-marker::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 1px var(--accent);
    flex-shrink: 0;
}

.timeline-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.timeline-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(148,163,184,0.1);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.timeline-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 4px;
}

.timeline-org {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.timeline-org a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}
.timeline-org a:hover { text-decoration: underline; }

.timeline-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.timeline-date-inline {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.timeline-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(148,163,184,0.1);
    color: var(--accent);
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
    border: 1px solid rgba(148,163,184,0.2);
}

.timeline-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.65;
}

.timeline-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.timeline-bullets li {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.timeline-bullets li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
    flex-shrink: 0;
    margin-top: 5px;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-row span {
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 999px;
}

/* =============================================
   SHOP WORK GALLERY
   ============================================= */
#gallery {
    background: var(--bg);
    padding: 0 0 72px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.4s var(--ease), filter 0.35s var(--ease);
}
.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.12);
}

.gallery-label {
    padding: 8px 12px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* =============================================
   PROJECT MODAL
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 16, 28, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}
.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: var(--surface);
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: var(--radius);
    width: 100%;
    max-width: 960px;
    max-height: 88vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    transform: translateY(24px) scale(0.98);
    transition: transform 0.3s var(--ease);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.modal-overlay.open .modal-box {
    transform: translateY(0) scale(1);
}

.modal-media {
    position: relative;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    overflow: hidden;
}
.modal-media-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-media-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 480px;
    display: block;
    padding: 16px;
    background: var(--bg);
}
.modal-media-content video {
    width: 100%;
    display: block;
}
.modal-media-empty {
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 32px;
    text-align: center;
    line-height: 1.6;
}
.modal-media-empty svg {
    display: block;
    margin: 0 auto 12px;
    opacity: 0.3;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30,41,59,0.85);
    border: 1px solid var(--border);
    color: var(--text);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    transition: background 0.2s, border-color 0.2s;
    z-index: 2;
    flex-shrink: 0;
}
.modal-nav:hover { background: var(--surface-2); border-color: var(--accent); }
.modal-nav.hidden { display: none; }
.modal-nav-prev { left: 10px; }
.modal-nav-next { right: 10px; }

.modal-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.modal-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.2s, background 0.2s;
}
.modal-dot.active { opacity: 1; background: var(--accent); }

.modal-info {
    padding: 32px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 88vh;
}

.modal-cat {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 16px;
    line-height: 1.25;
}

.modal-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}
.modal-body .modal-result {
    font-size: 0.85rem;
    color: var(--accent);
    background: rgba(148,163,184,0.08);
    border-left: 2px solid var(--accent);
    padding: 10px 14px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 12px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.modal-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 999px;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.modal-close:hover {
    color: var(--heading);
    border-color: var(--accent);
    background: var(--bg);
}

/* Project card clickable affordance */
.project-card { cursor: pointer; }

.project-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
    padding-top: 12px;
    letter-spacing: 0.02em;
    transition: gap 0.2s;
    user-select: none;
    align-self: flex-start;
}
.project-view-btn::after { content: '→'; }
.project-card:hover .project-view-btn { gap: 10px; }

@media (max-width: 700px) {
    .modal-box {
        grid-template-columns: 1fr;
        max-height: 92vh;
        overflow-y: auto;
    }
    .modal-media { min-height: 240px; }
    .modal-info { padding: 24px; }
}

/* =============================================
   PROJECTS
   ============================================= */
#projects { background: var(--surface); }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.project-featured {
    grid-column: span 12;
}

.project-card {
    grid-column: span 6;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
                box-shadow 0.25s var(--ease);
}
.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(148,163,184,0.4);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.project-img { position: relative; flex-shrink: 0; }
.project-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.project-card .project-img { height: 340px; }

.img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-right: 1px dashed var(--border);
}
.project-card:not(.project-featured) .img-placeholder {
    border-right: none;
    border-bottom: 1px dashed var(--border);
}

.project-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}

.project-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.project-cat {
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.project-yr { font-size: 0.75rem; color: var(--text-muted); }

.project-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.project-result {
    font-size: 0.88rem !important;
    color: var(--accent) !important;
    background: rgba(148,163,184,0.08);
    border-left: 2px solid var(--accent);
    padding: 10px 14px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 16px !important;
}

.project-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.project-tag-row span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 999px;
}

/* =============================================
   SKILLS
   ============================================= */
#skills { background: var(--bg); }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.skill-group {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.skill-group:hover {
    border-color: rgba(148,163,184,0.35);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.skill-icon { font-size: 1.75rem; margin-bottom: 16px; line-height: 1; }

.skill-group h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 16px;
}

.skill-group ul { display: flex; flex-direction: column; gap: 10px; }
.skill-group li {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
}
.skill-group li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
    flex-shrink: 0;
}

/* =============================================
   AWARDS
   ============================================= */
#awards { background: var(--surface); }

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.award-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.award-card:hover {
    border-color: rgba(148,163,184,0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.award-year-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(148,163,184,0.1);
    color: var(--accent);
    border: 1px solid rgba(148,163,184,0.2);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
    letter-spacing: 0.06em;
}

.award-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 6px;
    line-height: 1.3;
}

.award-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* =============================================
   CONTACT
   ============================================= */
#contact { background: var(--bg); }

.contact-inner { max-width: 600px; }

.contact-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.65;
}

.contact-links { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover {
    border-color: var(--accent);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.contact-icon {
    font-size: 1rem;
    font-weight: 800;
    font-style: normal;
    width: 44px;
    height: 44px;
    background: rgba(148,163,184,0.1);
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-card > div { display: flex; flex-direction: column; gap: 2px; }

.contact-lbl {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-val { font-size: 0.95rem; font-weight: 500; color: var(--heading); }

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 8px;
}

/* =============================================
   FRC FILMSTRIP
   ============================================= */
#frc-photos { padding: 96px 0 0; }
#frc-photos .container { margin-bottom: 36px; }

.filmstrip-outer { position: relative; }

.filmstrip-track {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 24px 32px;
    cursor: grab;
    user-select: none;
}
.filmstrip-track::-webkit-scrollbar { display: none; }
.filmstrip-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }

.filmstrip-item {
    position: relative;
    flex-shrink: 0;
    height: 460px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface);
}

/* Override global img reset for filmstrip */
.filmstrip-item img {
    width: auto;
    height: 100%;
    min-width: 220px;
    max-width: 720px;
    object-fit: initial;
    border-radius: 0;
    display: block;
    pointer-events: none;
}

.filmstrip-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 48px 16px 16px;
    background: linear-gradient(to top, rgba(15,23,42,0.88) 0%, transparent 100%);
    pointer-events: none;
}
.filmstrip-season {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 3px;
}
.filmstrip-label {
    font-size: 0.8rem;
    color: var(--text);
    opacity: 0.9;
}

/* Scroll arrows */
.filmstrip-arrow {
    position: absolute;
    top: calc(50% - 16px);
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(15,23,42,0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    z-index: 2;
}
.filmstrip-outer:hover .filmstrip-arrow:not(:disabled) { opacity: 1; }
.filmstrip-arrow:hover { background: rgba(148,163,184,0.18); }
.filmstrip-arrow.filmstrip-prev { left: 28px; }
.filmstrip-arrow.filmstrip-next { right: 28px; }
.filmstrip-arrow:disabled { opacity: 0 !important; pointer-events: none; }

/* =============================================
   VIDEO POSTER
   ============================================= */
.video-poster {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    overflow: hidden;
}
.video-poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease);
}
.video-poster:hover img { transform: scale(1.03); }
.video-play-btn {
    position: relative;
    z-index: 1;
    width: 68px; height: 68px;
    background: rgba(15,23,42,0.72);
    border-radius: 50%;
    border: 2px solid rgba(148,163,184,0.45);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s var(--ease), background 0.2s;
}
.video-poster:hover .video-play-btn {
    transform: scale(1.1);
    background: rgba(148,163,184,0.18);
}
.video-play-btn svg {
    width: 22px; height: 22px;
    fill: var(--text);
    margin-left: 4px;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE — Tablet (≤ 900px)
   ============================================= */
@media (max-width: 900px) {
    section { padding: 72px 0; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-photo-wrap { position: static; max-width: 280px; }

    .timeline-meta { flex-direction: row; align-items: center; }
    .timeline-date-inline { display: none; }

    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .awards-grid { grid-template-columns: repeat(2, 1fr); }

    .project-card .project-img { height: 260px; }
    .project-card { grid-column: span 12; }
    .img-placeholder { border-right: none; border-bottom: 1px dashed var(--border); }

    .filmstrip-item { height: 320px; }
    .filmstrip-item img { height: 320px; }
    .filmstrip-arrow { display: none; }
}

/* =============================================
   RESPONSIVE — Mobile (≤ 600px)
   ============================================= */
@media (max-width: 600px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .hero-content h1 { font-size: 3rem; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }

    .about-stats { gap: 20px; }
    .skills-grid { grid-template-columns: 1fr; }
    .awards-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }

    .timeline-header { flex-direction: column; gap: 8px; }
    .timeline-meta { flex-direction: row; align-items: center; }
}
