:root {
    --bg-color: #f2f0e9; /* Bone off-white */
    --text-primary: #111111; /* Stark black */
    --text-secondary: #555555; /* Medium gray */
    --accent-color: #ff471a; /* Vivid vermillion/orange */
    --font-primary: 'Inter', sans-serif;
    --border-color: #dcdad5;
}

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

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

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

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.cursor.active {
    width: 60px;
    height: 60px;
    opacity: 0.5;
}

/* Typography Utility */
.section-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-transform: uppercase;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.nav-logo {
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--text-primary);
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 3rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

/* Layout Utilities */
.section-padding {
    padding: 10rem 4rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.mt-4 {
    margin-top: 2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 4rem;
}

.hero-content {
    width: 100%;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 15rem);
    line-height: 0.85;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.line-wrapper {
    overflow: hidden;
}

.line {
    transform: translateY(100%);
}

.hero-subtitle {
    margin-top: 4rem;
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.5;
}

/* About / Skills Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    border-top: 2px solid var(--text-primary);
    padding-top: 4rem;
}

.about-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-col p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Experience Section */
.exp-list {
    border-top: 2px solid var(--text-primary);
}

.exp-item {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.exp-header h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.exp-date {
    color: var(--text-secondary);
    font-family: monospace;
    font-size: 1rem;
}

.exp-company {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.exp-desc {
    font-size: 1.25rem;
    max-width: 800px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Horizontal Projects Section */
.projects {
    overflow: hidden;
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.projects-container {
    width: 400vw; /* 4 panels * 100vw */
    display: flex;
    flex-wrap: nowrap;
}

.projects-wrapper {
    display: flex;
    width: 100%;
}

.project-panel {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10vw;
    gap: 4rem;
}

.project-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.project-right {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-title {
    font-size: clamp(4rem, 8vw, 10rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--bg-color);
    word-wrap: break-word;
}

.project-category {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.project-desc {
    font-size: 1.5rem;
    color: #aaaaaa;
    line-height: 1.5;
    font-weight: 300;
}

/* Spaced out, Massive Footer Section */
.footer {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-links-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 5rem;
}

.footer-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 2rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    border-bottom-color: var(--accent-color);
}

.footer-link:hover .link-text {
    color: var(--accent-color);
    transform: translateX(20px);
}

.link-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.link-text {
    font-size: clamp(1.5rem, 4vw, 4rem);
    font-weight: 900;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav { padding: 1.5rem; }
    .nav-links { display: none; }
    .section-padding { padding: 6rem 1.5rem; }
    .hero { padding: 0 1.5rem; }
    .exp-header { flex-direction: column; }
    .exp-date { margin-top: 0.5rem; }
    
    .project-panel { 
        flex-direction: column; 
        justify-content: center;
        text-align: center;
        padding: 0 2rem;
    }
    .project-title { font-size: 4rem; }
    
    .footer-link:hover .link-text { transform: translateX(10px); }
}