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

html {
    scroll-behavior: smooth;
    background: #0a0a0a;
    font-family: Consolas, monospace;
    color: #fafafa;
}

/* ── Navbar ── */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #1c1c1c;
    z-index: 1000;
}

#nav-name {
    color: #7BAFD4;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

#nav-links a {
    color: #aaa;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.82rem;
    transition: color 0.2s;
}

#nav-links a:hover {
    color: #7BAFD4;
}

/* ── Hero ── */

#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeUp 0.7s ease both;
    position: relative;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

#headshot {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #7BAFD4;
    margin-bottom: 1.5rem;
}

#hero h1 {
    font-size: 2.4rem;
    font-weight: 300;
    color: #7BAFD4;
    margin-bottom: 0.6rem;
}

.subtitle {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

#hero-links {
    display: flex;
    gap: 1rem;
}

#hero-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.82rem;
    border: 1px solid #2a2a2a;
    padding: 0.45rem 1.1rem;
    transition: border-color 0.2s, color 0.2s;
}

#hero-links a:hover {
    border-color: #7BAFD4;
    color: #7BAFD4;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    font-size: 0.72rem;
    color: #3a3a3a;
    letter-spacing: 0.12em;
}

/* ── Sections ── */

.section {
    max-width: 860px;
    margin: 0 auto;
    padding: 6rem 2rem;
    border-top: 1px solid #1c1c1c;
}

.section h2 {
    color: #7BAFD4;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.highlight {
    color: #7BAFD4;
}

/* ── About ── */

#about p {
    color: #bbb;
    font-size: 0.92rem;
    line-height: 1.85;
    margin-bottom: 1.1rem;
}

/* ── Experience ── */

.exp-item {
    margin-bottom: 3rem;
}

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

.exp-title {
    color: #fafafa;
    font-size: 0.95rem;
}

.exp-subtitle {
    color: #888;
    font-size: 0.88rem;
    font-style: italic;
}

.exp-date {
    color: #555;
    font-size: 0.82rem;
    white-space: nowrap;
    padding-top: 0.1rem;
}

.exp-item ul {
    list-style: none;
    padding: 0;
}

.exp-item li {
    color: #bbb;
    font-size: 0.88rem;
    line-height: 1.75;
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.55rem;
}

.exp-item li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #7BAFD4;
}

/* ── Press ── */

.press-item {
    display: block;
    text-decoration: none;
    border: 1px solid #1c1c1c;
    padding: 1.4rem 1.6rem;
    transition: border-color 0.2s;
}

.press-item:hover {
    border-color: #7BAFD4;
}

.press-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.press-source {
    color: #7BAFD4;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.press-date {
    color: #555;
    font-size: 0.8rem;
}

.press-title {
    color: #fafafa;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.press-desc {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.65;
}

/* ── Projects ── */

.proj-item {
    margin-bottom: 2.2rem;
    padding-bottom: 2.2rem;
    border-bottom: 1px solid #1c1c1c;
}

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

.proj-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.proj-title {
    color: #fafafa;
    font-size: 0.95rem;
}

.proj-date {
    color: #555;
    font-size: 0.82rem;
}

.proj-item p {
    color: #bbb;
    font-size: 0.88rem;
    line-height: 1.75;
}

/* ── Skills ── */

#skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
}

.skill-group h4 {
    color: #7BAFD4;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.skill-group ul {
    list-style: none;
    padding: 0;
}

.skill-group li {
    color: #bbb;
    font-size: 0.88rem;
    padding: 0.22rem 0;
}

/* ── Classes ── */

.semester-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555;
    margin-top: 2.2rem;
    margin-bottom: 0.6rem;
}

.semester-label:first-of-type {
    margin-top: 0;
}

.class-list {
    margin-bottom: 0.5rem;
}

.class-item {
    border-bottom: 1px solid #1c1c1c;
}

.class-item summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.class-item summary::-webkit-details-marker {
    display: none;
}

.class-item summary::before {
    content: '›';
    color: #444;
    font-size: 1rem;
    transition: transform 0.18s;
    flex-shrink: 0;
    width: 0.9rem;
}

.class-item[open] summary::before {
    transform: rotate(90deg);
    color: #7BAFD4;
}

.class-num {
    color: #555;
    font-size: 0.8rem;
    flex-shrink: 0;
    width: 5rem;
}

.class-name {
    color: #ccc;
    font-size: 0.88rem;
    flex: 1;
}

.class-item.current .class-name {
    color: #fafafa;
}

.class-item.current .class-num {
    color: #7BAFD4;
}

.class-prof {
    color: #444;
    font-size: 0.78rem;
    font-style: italic;
    flex-shrink: 0;
    min-width: 8rem;
    text-align: right;
}

.class-desc {
    color: #666;
    font-size: 0.84rem;
    padding: 0.2rem 0 1rem 1.9rem;
    line-height: 1.65;
}

/* ── Contact Footer ── */

#contact {
    text-align: center;
    padding: 5rem 2rem 4rem;
    border-top: 1px solid #1c1c1c;
    background: #060606;
}

#contact h2 {
    color: #7BAFD4;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

#contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
}

#contact-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

#contact-links a:hover {
    color: #7BAFD4;
}

.copyright {
    color: #2a2a2a;
    font-size: 0.72rem;
    margin-top: 2.5rem;
}
