@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&family=Space+Mono:wght@400;700&display=swap');

:root {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    font-weight: 400;

    /* Global Colors - career_pages style */
    --color-bg: #121212;
    --color-fg: #ffffff;
    --color-beige: #E6DCCD;
    --color-card-text: #1a1a1a;
    --color-muted: #888888;

    color: var(--color-fg);
    background-color: var(--color-bg);

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: var(--color-bg);
    color: var(--color-fg);
    min-height: 100vh;
}

#app {
    min-height: 100vh;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    text-transform: uppercase;
}

/* Main Container */
.binder-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: 100vh;
}

/* Page Header */
.binder-page>header {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.binder-page>header h1 {
    font-family: 'Space Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.binder-page>header h2 {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-muted);
}

/* Section Headers */
.experience-section>header,
.projects-section>header {
    margin-bottom: 2rem;
}

.experience-section>header h2,
.projects-section>header h2 {
    font-family: 'Space Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.8;
    text-align: center;
}

/* Card Styling - career_pages beige card style */
.card {
    border: none;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-radius: 4px;
    margin-bottom: 1rem;

    /* Beige card - career_pages style */
    background: var(--color-beige);
    color: var(--color-card-text);
}

/* Every 4th card has dot pattern */
.card:nth-child(4n) {
    position: relative;
}

.card:nth-child(4n)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(0, 0, 0, 0.15) 0.6px, transparent 1.0px);
    background-size: 8px 8px;
    pointer-events: none;
    z-index: 0;
}

.card:nth-child(4n)>* {
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-4px);
    transition: transform 0.2s ease;
}

/* Card Typography */
.card h3 {
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card h4 {
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Description content in cards */
.card .description {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.card .description p {
    margin-bottom: 0.5rem;
}

/* Company Header */
.company-header {
    margin: 2rem 0 1rem 0;
}

.company-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-fg);
    margin-bottom: 0.5rem;
}

.company-header p {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.company-header hr {
    border: none;
    border-bottom: 1px solid #333;
    margin: 1rem 0;
    width: 100%;
}

/* Project Header */
.project-header {
    margin: 1.5rem 0 0.75rem 0;
}

.project-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-fg);
}

.project-header h4 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-muted);
}

.project-header p {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* SubProject Card */
.card-subproject {
    min-height: auto;
}

/* Card Tags - career_pages style */
.card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.tag {
    background: rgba(0, 0, 0, 0.1);
    color: currentColor;
    padding: 4px 10px;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tag::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: currentColor;
}

/* Divider */
hr {
    border: none;
    border-bottom: 1px solid #333;
    margin: 2rem 0;
    width: 100%;
}

/* Resume Header - from Resume.html, styled to match site aesthetic */
.resume-header {
    margin-bottom: 2rem;
    font-family: 'Space Mono', monospace;
}

.resume-header .header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.resume-header .header h1 {
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
}

.resume-header .summary {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--color-beige);
    border-radius: 4px;
}

.resume-header .summary p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-card-text);
    margin: 0 0 1rem 0;
}

.resume-header .summary .card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.resume-header .tag {
    background: rgba(0, 0, 0, 0.1);
    color: var(--color-card-text);
    padding: 4px 10px;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.resume-header .tag::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: currentColor;
}

.resume-header .tag.link {
    background: var(--color-card-text);
    color: var(--color-beige);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.resume-header .tag.link:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}