:root {
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

/* Colors */
--bg: #020617;
--surface: #0b1120;
--border-subtle: #1f2937;
--text-main: #e5e7eb;
--text-muted: #9ca3af;
--accent: #22c55e;
--accent-soft: rgba(34, 197, 94, 0.12);

/* Spacing (scaled up ~40%) */
--space-xs: 0.4rem;
--space-sm: 0.8rem;
--space-md: 1.4rem;
--space-lg: 2.1rem;
--space-xl: 3rem;
}

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
margin: 0;
background: var(--bg);
color: var(--text-main);
font-family: var(--font-sans);
/* Base font scaled & responsive */
font-size: clamp(1.05rem, 1.2vw + 0.6rem, 1.4rem);
line-height: 1.6;
}

a {
color: var(--accent);
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

a,
button {
outline: none;
}

a:focus-visible,
button:focus-visible {
outline: 0.15rem solid var(--accent);
outline-offset: 0.2rem;
}

.resume-link {
    display: inline-block;
    background: rgba(255, 255, 255, 0.5); 
    padding: 10px 18px;
    border-radius: 12px; 
    color: #e5e7eb; 
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
  }
  
  .resume-link:hover {
    background: rgba(255,255,255,0.20);
    transform: translateY(-1px); 
  }
  
  .resume-link:active {
    transform: translateY(0);
    background: rgba(255,255,255,0.28);
  }

.wrapper {
max-width: min(70rem, 100% - 4rem);
margin: 0 auto;
padding: var(--space-md) 0 var(--space-xl);
}


.page {
background: var(--surface);
border-radius: 1.6rem;
padding: var(--space-xl);
box-shadow: 0 2.5rem 4rem rgba(0, 0, 0, 0.7);
border: 1px solid var(--border-subtle);
}

/* Header */
header {
border-bottom: 1px solid var(--border-subtle);
padding-bottom: var(--space-md);
margin-bottom: var(--space-md);
display: flex;
align-items: center;
gap: var(--space-md);
}

header h1 {
/* Scaled & responsive */
font-size: clamp(2.2rem, 2.4vw + 1.4rem, 3.1rem);
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
margin: 0 0 var(--space-xs);
}

.tagline {
font-size: clamp(0.95rem, 0.5vw + 0.7rem, 1.2rem);
color: var(--text-muted);
letter-spacing: 0.12em;
text-transform: uppercase;
}

.header-text {
flex: 1;
}

.contact-line {
font-size: clamp(0.95rem, 0.4vw + 0.7rem, 1.15rem);
color: var(--text-muted);
margin-top: var(--space-sm);
}

.contact-line span {
margin-right: 0.8rem;
}

/* Headshot image (scaled up) */
.headshot {
width: clamp(5rem, 7vw, 6.5rem);
height: clamp(5rem, 7vw, 6.5rem);
border-radius: 50%;
object-fit: cover;
border: 0.15rem solid var(--accent);
flex-shrink: 0;
}

/* Main content */
main {
display: block; /* single column */
}

/* Sections */
.section {
margin-top: var(--space-lg);
padding-top: var(--space-md);
border-top: 1px solid var(--border-subtle);
}

.section:first-of-type {
margin-top: 0;
border-top: none;
padding-top: 0;
}

.section-title {
font-size: clamp(1.4rem, 0.9vw + 1rem, 1.8rem);
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-main);
margin-bottom: var(--space-sm);
}

.section-title::after {
content: "";
display: block;
margin-top: 0.25rem;
width: 5.5rem;
height: 0.15rem;
border-radius: 999px;
background: linear-gradient(90deg, var(--accent), transparent);
}

/* Text blocks */
.summary-text,
.section p {
font-size: clamp(1.05rem, 0.4vw + 0.8rem, 1.3rem);
color: var(--text-main);
}

/* Jobs / Projects / Education */
.job,
.project-item,
.edu-item {
margin-top: var(--space-sm);
}

.job-header {
display: flex;
justify-content: space-between;
gap: var(--space-sm);
align-items: baseline;
}

.job-left {
display: flex;
flex-direction: column;
gap: 0.1rem;
}

.job-title {
font-size: clamp(1.05rem, 0.4vw + 0.85rem, 1.3rem);
font-weight: 600;
color: var(--text-main);
}

.job-company {
font-size: clamp(0.95rem, 0.3vw + 0.8rem, 1.2rem);
color: var(--text-main);
}

.job-dates {
font-size: clamp(0.8rem, 0.35vw + 0.6rem, 1rem);
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.08em;
white-space: nowrap;
}

.job-location {
font-size: clamp(0.9rem, 0.3vw + 0.7rem, 1.1rem);
color: var(--text-muted);
margin-bottom: 0.35rem;
}

/* Lists */
.job ul,
.project-item ul,
.achievements ul {
padding-left: 1.35rem;
margin: 0;
}

.job li,
.project-item li,
.achievements li {
margin-bottom: 0.3rem;
font-size: clamp(1.02rem, 0.35vw + 0.8rem, 1.25rem);
color: var(--text-main);
}

/* Tags */
.tag-row {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
margin-top: 0.3rem;
}

.tag {
font-size: clamp(0.8rem, 0.3vw + 0.65rem, 1rem);
padding: 0.25rem 0.7rem;
border-radius: 999px;
border: 1px solid rgba(148, 163, 184, 0.7);
background: rgba(15, 23, 42, 0.9);
color: var(--text-muted);
white-space: nowrap;
}

/* Projects */
.project-title {
font-size: clamp(1.05rem, 0.4vw + 0.85rem, 1.3rem);
font-weight: 600;
color: var(--text-main);
}

.project-meta {
font-size: clamp(0.9rem, 0.3vw + 0.7rem, 1.1rem);
color: var(--text-muted);
margin-bottom: 0.2rem;
}

/* Education */
.edu-title {
font-size: clamp(1.05rem, 0.4vw + 0.85rem, 1.3rem);
font-weight: 600;
color: var(--text-main);
}

.edu-meta {
font-size: clamp(0.95rem, 0.3vw + 0.75rem, 1.2rem);
color: var(--text-muted);
}

/* Skills section */
.skills p {
font-size: clamp(1.05rem, 0.4vw + 0.8rem, 1.3rem);
margin-bottom: var(--space-sm);
}

.skills strong {
font-weight: 600;
}

/* Footer note */
.footer-note {
margin-top: var(--space-lg);
padding-top: var(--space-sm);
border-top: 1px dashed var(--border-subtle);
font-size: clamp(0.85rem, 0.3vw + 0.65rem, 1rem);
color: var(--text-muted);
display: flex;
justify-content: space-between;
gap: var(--space-sm);
flex-wrap: wrap;
}

/* Mobile adjustments */
@media (max-width: 640px) {
.wrapper {
max-width: 100%;
width: 100%;
padding: var(--space-md) 1.2rem var(--space-xl);
}

.page {
padding: var(--space-lg);
border-radius: 1.2rem;
box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.6);
}

header {
flex-direction: row;
align-items: center;
}

.contact-line {
margin-top: var(--space-xs);
}

.footer-note {
flex-direction: column;
}
}

/* Large screens – keep single column, increase breathing room a bit */
@media (min-width: 1024px) {
.page {
padding: var(--space-xl) calc(var(--space-xl) * 1.2);
}
}