:root {
    --bg: #0d0d0d;
    --fg: #e8e8e8;
    --muted: #6b6b6b;
    --border: #2a2a2a;
    --card: #141414;
    --raised: #1a1a1a;
    --accent: #ff6a00;
}

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

body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

#section-init {
    position: relative;
    flex-direction: row;
    align-items: center;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    padding: 5rem 1rem;

}

.chrome-title {
    color: var(--muted);
}

.terminal-window {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 48rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    box-shadow:
        0 0 12px rgba(255,106,0,0.06),
        0 10px 30px rgba(255,106,0,0.04),
        0 22px 50px rgba(255,106,0,0.025);
}

.terminal-chrome {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border: 1px solid var(--bg);
    border-bottom: none;
    background: var(--raised);
    border-radius: 2px 2px 0 0;
}

.chrome-dots {
    display: flex;
    gap: 0.375rem;
}

.chrome-dots span {
    display: block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
}

.dot-red {
    background-color: #ff5f57;
}

.dot-yellow {
    background-color: #febc2e;
}

.dot-green {
    background-color: #28c840;
}

.dot-red,
.dot-yellow,
.dot-green {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

#terminal-body {
    border: 1px solid var(--border);
    border-top: none;
    background: var(--bg);
    padding: 1rem;
    height: 22.75rem;
    overflow-y: scroll;
    scrollbar-width: none;
    border-radius: 0 0 2px 2px;
}

#terminal-body::-webkit-scrollbar {
    display: none;
}

.t-line {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.625;
}
.t-line + .t-line { margin-top: 0.25rem; }

@media (min-width: 768px) {
    #terminal-body { padding: 1.5rem; }
    .t-line { font-size: 1rem; }
}

.t-prompt { color: var(--accent); user-select: none; flex-shrink: 0; }
.t-cmd    { color: #888; word-break: break-all; }
.t-output { color: #d4d4d4; padding-left: 1.5rem; }

.cursor {
    display: inline-block;
    width: 7px;
    height: 1.1em;
    margin-left: 1px;
    background: var(--accent);
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

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


.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    color: #444;
    transition: color 300ms;
}
.scroll-cue:hover { color: #888; }
.scroll-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-arrow { font-size: 0.875rem; animation: bounce 1s infinite; }

@keyframes bounce {
    0%, 100% { transform: translateY(0);    animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50%       { transform: translateY(-25%); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

#nav {
    position: fixed;
    top: 0;
    right: 1rem;
    z-index: 61;
    padding: 0.75rem 0;
}

#nav-hamburger {
    display: block;
    color: var(--accent);
    font-size: 1.125rem;
    padding: 0.5rem;
    line-height: 1;
}

#nav-mobile {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 0.5rem;
    min-width: 10rem;
    display: flex;
    flex-direction: column;
}

#nav-mobile[hidden] { display: none; }

#nav-desktop {
    display: none;
}

.nav-divider {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
    color: var(--fg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: color 200ms;
}

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

.nav-prefix {
    color: var(--accent);
    user-select: none;
}

#contact-wrapper {
    position: relative;
}

#contact-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    min-width: 10rem;
}

#contact-dropdown[hidden] { display: none; }

@media (min-width: 768px) {
    #nav { right: 0; padding: 0.75rem 1.5rem; }
    #nav-hamburger { display: none; }
    #nav-desktop {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
}

.scanlines,
.vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 60;
}

.scanlines {
    background-image: repeating-linear-gradient(0deg,
            transparent, transparent 1px,
            rgba(255, 255, 255, 0.03) 1px, rgba(255, 255, 255, 0.03) 2px);
    opacity: 0.03;
}

.vignette {
    background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
}

.section-heading {
    font-size: 1.1rem;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--accent);
    width: fit-content;
}

.section-heading span {
    color: var(--accent);

}

.sub-section-heading {
    font-size: 0.9rem;
    font-weight: normal;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

.container {
    max-width: 48rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

p {
    margin-bottom: 1rem;
}

p.muted {
    color: var(--muted);
}

.interest-card {
    background: var(--raised);
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    cursor: default;
    transition: border-color 200ms;
}

.xp-meta span {
    font-size: 0.8rem;
    color: var (--muted);
}

.xp-card {
    font-size: 0.9rem;
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.25rem;
    transition: border-color 700ms;
    margin-bottom: 1rem;
}

.xp-company {
    color: var(--accent);
}

.xp-card:hover {
    border-color: rgba(255, 106, 0, 0.5);
}

.xp-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.75rem;
}

.xp-meta p {
    margin-bottom: 0;
}

.tech-tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

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

.grid-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;

}

.skill-group ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    border: 1px solid var(--border);
    background: var(--card);
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.skill-group span {
    color: var(--accent);
}

.skill-item {
    font-size: 0.75rem;
    background: var(--raised);
    border: 1px solid var(--border);
    padding: 0.25rem 0.5rem;
    cursor: default;
    transition: border-color 200ms, color 200ms;
}

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

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

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