/* ============================================================
   Sachin Kumar Yadav — Portfolio Styles
   Premium engineering aesthetic · dark theme · monospace accents
   ============================================================ */

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

:root {
    /* Palette */
    --bg-0: #08090c;
    --bg-1: #0d1117;
    --bg-2: #12161d;
    --bg-3: #171b23;
    --bg-elev: #1c212b;

    --text-0: #f0f6fc;
    --text-1: #c9d1d9;
    --text-2: #8b949e;
    --text-3: #6e7681;

    --accent: #7ee787;
    --accent-2: #58a6ff;
    --accent-glow: rgba(126, 231, 135, 0.15);

    --border: #21262d;
    --border-strong: #30363d;

    --danger: #f85149;

    /* Type */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Menlo, Consolas, monospace;

    /* Layout */
    --container: 1160px;
    --radius: 10px;
    --radius-lg: 14px;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur: 0.25s;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-1);
    color: var(--text-1);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(88, 166, 255, 0.08), transparent 70%),
        radial-gradient(ellipse 40% 30% at 90% 100%, rgba(126, 231, 135, 0.05), transparent 70%);
    background-attachment: fixed;
}

::selection {
    background: var(--accent-glow);
    color: var(--text-0);
}

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

img,
svg {
    display: block;
    max-width: 100%;
}

/* -------------------- Layout -------------------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-eyebrow {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.section-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    color: var(--text-0);
}

.section-title .accent {
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.7em;
    margin-right: 0.5rem;
}

/* -------------------- Navigation -------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(13, 17, 23, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav.scrolled {
    border-color: var(--border);
    background: rgba(8, 9, 12, 0.9);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-0);
    font-weight: 600;
}

.nav-logo .accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-2);
    transition: color var(--dur) var(--ease);
    position: relative;
}

.nav-links a::before {
    content: attr(data-num);
    color: var(--accent);
    margin-right: 0.4rem;
}

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

.nav-cta {
    padding: 8px 18px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: all var(--dur) var(--ease);
}

.nav-cta:hover {
    background: var(--accent-glow);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-0);
    cursor: pointer;
    font-size: 1.5rem;
}

/* -------------------- Buttons -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--text-0);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
    text-decoration: none;
}

.btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -8px var(--accent-glow);
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-0);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
}

.btn-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* -------------------- Hero -------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(126, 231, 135, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(126, 231, 135, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 6px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-2);
    margin-bottom: 2rem;
    background: rgba(23, 27, 35, 0.6);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-name {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-0);
    margin-bottom: 1rem;
}

.hero-role {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-2);
    margin-bottom: 1.5rem;
}

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

.hero-lede {
    font-size: 1.1rem;
    color: var(--text-2);
    max-width: 640px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.stack-chip {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-2);
    background: var(--bg-2);
    transition: all var(--dur) var(--ease);
}

.stack-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 4rem;
    max-width: 720px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.hero-metric {
    padding: 1.5rem 1rem;
    border-right: 1px solid var(--border);
    text-align: left;
}

.hero-metric:last-child {
    border-right: none;
}

.hero-metric-value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.hero-metric-label {
    font-size: 0.75rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* -------------------- About -------------------- */
#about {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    color: var(--text-2);
    margin-bottom: 1.25rem;
    font-size: 1.02rem;
}

.about-text p .accent {
    color: var(--accent);
    font-weight: 500;
}

.about-highlights {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    gap: 0.75rem;
}

.about-highlights li {
    color: var(--text-2);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.about-highlights li::before {
    content: '▹';
    color: var(--accent);
    font-family: var(--font-mono);
    flex-shrink: 0;
}

/* Terminal card */
.terminal {
    background: var(--bg-0);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.6);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
    color: var(--text-3);
    font-size: 0.75rem;
    margin-left: 0.75rem;
}

.terminal-body {
    padding: 1.25rem;
    line-height: 1.9;
}

.terminal-line {
    color: var(--text-1);
}

.terminal-prompt {
    color: var(--accent);
}

.terminal-comment {
    color: var(--text-3);
}

.terminal-key {
    color: var(--accent-2);
}

.terminal-string {
    color: #a5d6ff;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 1em;
    background: var(--accent);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* -------------------- Experience Timeline -------------------- */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom,
            var(--accent) 0%,
            var(--border-strong) 20%,
            var(--border-strong) 100%);
}

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

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

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 8px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--bg-1);
    border: 2px solid var(--accent);
    z-index: 1;
}

.timeline-item.current .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.timeline-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: all var(--dur) var(--ease);
}

.timeline-card:hover {
    border-color: var(--border-strong);
    transform: translateX(4px);
}

.timeline-item.current .timeline-card {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-2) 0%, rgba(126, 231, 135, 0.03) 100%);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.5rem;
}

.timeline-role {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-0);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-3);
    padding: 3px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg-1);
    white-space: nowrap;
}

.timeline-item.current .timeline-date {
    color: var(--accent);
    border-color: var(--accent);
}

.timeline-company {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.timeline-location {
    color: var(--text-3);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.timeline-desc {
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.timeline-desc li {
    color: var(--text-2);
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
}

.timeline-desc li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-family: var(--font-mono);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--border);
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 3px 10px;
    background: var(--bg-1);
    color: var(--text-2);
    border: 1px solid var(--border);
    border-radius: 4px;
}

/* -------------------- Case Studies / Projects -------------------- */
#projects {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.project-card {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}

.project-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.project-card:hover::before {
    opacity: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.project-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-0);
    line-height: 1.3;
}

.project-impact {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    padding: 4px 10px;
    background: var(--accent-glow);
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
}

.project-desc {
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.65;
    flex-grow: 1;
}

/* -------------------- Metrics / Impact -------------------- */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.impact-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: left;
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}

.impact-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at top right, var(--accent-glow), transparent 70%);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}

.impact-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.impact-card:hover::after {
    opacity: 1;
}

.impact-value {
    font-family: var(--font-mono);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.impact-label {
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* -------------------- Skills -------------------- */
#skills {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.skill-card {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all var(--dur) var(--ease);
}

.skill-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.skill-card h3 {
    color: var(--text-0);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.02em;
}

.skill-card h3::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.skill-card ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.skill-card li {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-2);
    padding: 4px 10px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all var(--dur) var(--ease);
}

.skill-card li:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* -------------------- Education -------------------- */
.education-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 800px;
    display: flex;
    gap: 2rem;
    align-items: center;
    transition: all var(--dur) var(--ease);
}

.education-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.education-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.education-content h3 {
    color: var(--text-0);
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.education-content h4 {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.education-meta {
    color: var(--text-3);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.education-meta .separator {
    margin: 0 0.5rem;
    color: var(--border-strong);
}

/* -------------------- Exploring -------------------- */
#exploring {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.exploring-card {
    max-width: 800px;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.exploring-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

.exploring-card h3 {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.exploring-card p {
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.7;
}

/* -------------------- Contact -------------------- */
#contact {
    text-align: center;
}

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

.contact-inner p.lede {
    color: var(--text-2);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.contact-email {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all var(--dur) var(--ease);
}

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

.contact-inner .btn-group {
    justify-content: center;
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all var(--dur) var(--ease);
}

.social-links a:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* -------------------- Footer -------------------- */
footer {
    background: var(--bg-0);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-3);
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

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

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

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------- Responsive -------------------- */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .hero-metric:nth-child(2) {
        border-right: none;
    }

    .hero-metric:nth-child(1),
    .hero-metric:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 720px) {
    section {
        padding: 70px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .education-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .timeline {
        padding-left: 1.75rem;
    }

    .timeline-dot {
        left: -1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-metric {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .hero-metric:last-child {
        border-bottom: none;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* -------------------- Resume Page -------------------- */
.resume-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.resume-header {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--bg-2);
}

.resume-header h1 {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-0);
    font-weight: 500;
}

.resume-header h1 .accent {
    color: var(--accent);
}

.resume-main {
    flex: 1;
    padding: 1.5rem 2rem;
}

.pdf-frame {
    width: 100%;
    height: calc(100vh - 180px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--bg-2);
}

.pdf-fallback {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-2);
}

.pdf-fallback p {
    margin-bottom: 1.5rem;
}
