/* ============================================================
   ANDREW OCHOA — PORTFOLIO
   Design: Apple/Netflix inspired — minimal, cinematic, bold
   ============================================================ */

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

/* ── Design Tokens ───────────────────────────────────────── */
:root {
    --bg:            #080808;
    --bg-2:          #111111;
    --bg-3:          #181818;
    --surface:       #1c1c1c;
    --border:        rgba(255,255,255,0.08);
    --border-hover:  rgba(255,255,255,0.18);

    --text-primary:  #f5f5f7;
    --text-secondary:#a1a1a6;
    --text-muted:    #6e6e73;

    --accent:        #e8c07d;
    --accent-dim:    rgba(232,192,125,0.12);
    --accent-glow:   rgba(232,192,125,0.25);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --section-pad: 9rem 0;
    --radius:      12px;
    --radius-lg:   20px;
    --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Base ────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* ── Reusable Labels / Headings ──────────────────────────── */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.section-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--accent);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    border: none;
    white-space: nowrap;
    text-decoration: none;
}

.btn--primary {
    background: var(--accent);
    color: #000;
}

.btn--primary:hover {
    background: #f0d09a;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-hover);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn--large {
    padding: 1rem 2.4rem;
    font-size: 1rem;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.4s var(--ease), backdrop-filter 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(8,8,8,0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--accent);
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2px solid var(--accent);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    pointer-events: none;
}

.nav-avatar.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.navbar.scrolled .nav-avatar.visible {
    opacity: 1;
    transform: scale(1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a.nav-cta {
    background: var(--accent);
    color: #000;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-menu a.nav-cta:hover {
    background: #f0d09a;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 6rem;
    overflow: hidden;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 5rem;
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
}

/* ── Hero Photo ──────────────────────────────────────────── */
.hero-photo-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo-wrap {
    position: relative;
    width: 100%;
    max-width: 380px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.1s forwards;
    /* padding creates space for the corner/line decorations */
    padding: 20px;
}

/* ── Data-frame: outer border with dashed segments ───────── */
.hero-photo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(232,192,125,0.22);
    pointer-events: none;
    z-index: 2;
}

/* ── Data-frame: scanning line animation ─────────────────── */
.hero-photo-wrap::after {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 40%, rgba(232,192,125,0.6) 60%, transparent 100%);
    top: 20px;
    z-index: 3;
    pointer-events: none;
    animation: scanLine 3.5s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes scanLine {
    0%   { top: 20px; opacity: 0; }
    5%   { opacity: 0.7; }
    95%  { opacity: 0.7; }
    100% { top: calc(100% - 20px); opacity: 0; }
}

/* ── Data-frame: corner accent marks ─────────────────────── */
.hero-photo-inner {
    position: relative;
}

/* Top-left + bottom-right corners on .hero-photo-inner */
.hero-photo-inner::before,
.hero-photo-inner::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 4;
    pointer-events: none;
}
.hero-photo-inner::before {
    top: -4px;
    left: -4px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}
.hero-photo-inner::after {
    bottom: -4px;
    right: -4px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

/* ── Data-frame: node dots at each corner ────────────────── */
.hero-photo-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    z-index: 5;
    pointer-events: none;
    animation: nodePulse 2.5s ease-in-out infinite;
}
.hero-photo-node:nth-child(1) { top: 17px;  left: 17px;  animation-delay: 0s; }
.hero-photo-node:nth-child(2) { top: 17px;  right: 17px; animation-delay: 0.6s; }
.hero-photo-node:nth-child(3) { bottom: 17px; left: 17px; animation-delay: 1.2s; }
.hero-photo-node:nth-child(4) { bottom: 17px; right: 17px; animation-delay: 1.8s; }

@keyframes nodePulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.6); box-shadow: 0 0 6px var(--accent); }
}

/* ── Data-frame: label tag ───────────────────────────────── */
.hero-photo-tag {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(8,8,8,0.85);
    padding: 3px 10px;
    border: 1px solid rgba(232,192,125,0.3);
    white-space: nowrap;
    z-index: 5;
    pointer-events: none;
}

/* ── Actual photo ────────────────────────────────────────── */
.hero-photo-glow { display: none; }

.hero-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.7));
    transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}

.hero-photo:hover {
    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.85));
    transform: translateY(-5px);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
}

.hero-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,192,125,0.5) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: orbDrift 18s ease-in-out infinite alternate;
}

.hero-orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232,192,125,0.3) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
    animation: orbDrift 22s ease-in-out infinite alternate-reverse;
}

@keyframes orbDrift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(40px, -30px) scale(1.05); }
    100% { transform: translate(-20px, 40px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.7s var(--ease) 0.1s forwards;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 650;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    margin-bottom: 1.8rem;
}

.hero-title__line {
    display: block;
    opacity: 0;
    animation: fadeUp 0.7s var(--ease) forwards;
}

.hero-title__line:nth-child(1) { animation-delay: 0.2s; }
.hero-title__line--accent {
    animation-delay: 0.35s;
    background: linear-gradient(135deg, var(--accent) 30%, #f5d499 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 0 2.8rem;
    line-height: 1.65;
    font-weight: 400;
    opacity: 0;
    animation: fadeUp 0.7s var(--ease) 0.5s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.7s var(--ease) 0.65s forwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll-indicator span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--accent));
    margin: 0 auto;
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50%       { opacity: 1;   transform: scaleY(1); }
}

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-bar {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: stretch;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.4rem 1rem;
    text-align: center;
    gap: 0.3rem;
}

.stat-item strong {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--accent);
    line-height: 1;
}

.stat-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    margin: 1.2rem 0;
}

/* ── About ───────────────────────────────────────────────── */
.about {
    padding: var(--section-pad);
    background: var(--bg);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    align-items: start;
}

.about-left .section-title {
    margin-bottom: 0;
    position: sticky;
    top: 100px;
}

.about-right p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.4rem;
}

.about-right p:last-of-type { margin-bottom: 2rem; }

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.about-tags span {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.2s;
}

.about-tags span:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ── Experience ──────────────────────────────────────────── */
.experience {
    padding: var(--section-pad);
    background: var(--bg-2);
}

.timeline {
    margin-top: 4rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.timeline-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0 3rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 182px;
    top: 3rem;
    width: 9px;
    height: 9px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-4px);
    box-shadow: 0 0 0 4px var(--bg-2), 0 0 16px var(--accent-glow);
    transition: box-shadow 0.3s;
}

.timeline-item:hover::before {
    box-shadow: 0 0 0 4px var(--bg-2), 0 0 30px var(--accent-glow);
}

.timeline-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.1rem;
    text-align: right;
    padding-right: 1.5rem;
}

.timeline-date {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.timeline-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.timeline-card {
    padding-left: 1.5rem;
}

.timeline-card__header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.timeline-card__header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.timeline-company {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    border: 1px solid rgba(232,192,125,0.2);
}

.timeline-card > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.timeline-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
}

/* ── Skills ──────────────────────────────────────────────── */
.skills {
    padding: var(--section-pad);
    background: var(--bg);
}

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

.skill-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.skill-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.skill-card__icon {
    width: 44px;
    height: 44px;
    background: var(--accent-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--accent);
    border: 1px solid rgba(232,192,125,0.2);
}

.skill-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.skill-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.skill-card li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-card li::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact {
    padding: var(--section-pad);
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}

.contact-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.contact-inner .section-label {
    display: block;
}

.contact-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    margin-top: -1rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    transition: all 0.25s var(--ease);
}

.contact-link i { font-size: 1rem; }

.contact-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-2px);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
    padding: 2.5rem 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Mobile Overlay Menu (direct child of body — no stacking context issues) */
.mobile-menu-overlay {
    display: none; /* hidden on desktop */
    position: fixed;
    inset: 0;
    background: #080808;
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.mobile-menu-overlay.open {
    transform: translateX(0);
    pointer-events: all;
}

.mobile-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 0;
    margin: 0;
}

.mobile-menu-list a {
    font-size: 2rem;
    font-weight: 700;
    color: #f5f5f7;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.2s;
}

.mobile-menu-list a:hover {
    color: #e8c07d;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Safety net: if JS never fires, show content after CSS animation delay */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── Responsive: 768px ───────────────────────────────────── */
@media (max-width: 768px) {

    .hamburger { display: flex; }

    /* Hide the desktop nav-menu on mobile — we use .mobile-menu-overlay instead */
    .nav-menu { display: none; }

    /* Show the overlay on mobile */
    .mobile-menu-overlay { display: flex; }

    /* Navbar always solid on mobile, sits above the overlay */
    .navbar {
        z-index: 10000;
        background: #080808 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .hero { padding: 7rem 1.5rem 5rem; }
    .hero-layout { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .hero-photo-wrap { max-width: 240px; margin: 0 auto; }
    .hero-content { text-align: center; }
    .hero-subtitle { margin: 0 auto 2.8rem; }
    .hero-actions { justify-content: center; flex-direction: column; align-items: center; }
    .hero-title { font-size: clamp(3rem, 13vw, 5rem); }

    .stats-inner { flex-wrap: wrap; padding: 0 1rem; }
    .stat-item { flex: 1 1 40%; }
    .stat-divider { display: none; }

    .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-left .section-title { position: static; }

    .timeline::before { display: none; }
    .timeline-item { grid-template-columns: 1fr; padding: 2rem 0; }
    .timeline-item::before { display: none; }
    .timeline-meta { text-align: left; padding-right: 0; margin-bottom: 0.8rem; }
    .timeline-card { padding-left: 0; }

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

    .footer-inner { justify-content: center; text-align: center; }
}

/* ── Responsive: 480px ───────────────────────────────────── */
@media (max-width: 480px) {
    .skills-grid { grid-template-columns: 1fr; }
    .stat-item { flex: 1 1 100%; }
    .contact-links { flex-direction: column; align-items: center; }
    .btn--large { width: 100%; justify-content: center; }
    .container { padding: 0 1.2rem; }
}
