/* ==========================================================================
   SWISS THEME - International typographic style
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Epilogue:wght@400;500;600;700&family=Azeret+Mono:wght@400;500&display=swap');
@import url('styles-base.css');

/* Theme Variables
   ========================================================================== */
:root {
    --white: #ffffff;
    --black: #000000;
    --red: #ff0000;
    --gray: #cccccc;
    --light-gray: #f5f5f5;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-12: 96px;
    --grid-unit: 8px;
    --column-width: 64px;
    --gutter: 16px;
}

/* Theme-Specific Styles
   ========================================================================== */
body {
    font-family: 'Epilogue', 'Helvetica Neue', 'Arial', sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Subtle grid overlay */
.scanlines {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent var(--space-8), rgba(0, 0, 0, 0.02) var(--space-8), rgba(0, 0, 0, 0.02) calc(var(--space-8) + 1px)),
        repeating-linear-gradient(90deg, transparent, transparent var(--space-8), rgba(0, 0, 0, 0.02) var(--space-8), rgba(0, 0, 0, 0.02) calc(var(--space-8) + 1px));
    opacity: 0.3;
}

.terminal-window {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    box-shadow: none;
    overflow: visible;
}

.terminal-header {
    background: var(--black);
    padding: var(--space-2);
    gap: var(--space-1);
    border-bottom: none;
    position: relative;
}

.terminal-dot {
    border-radius: 0;
    background: var(--white);
}

.dot-close { background: var(--red); }
.dot-minimize { background: var(--gray); }
.dot-maximize { background: var(--white); }

.terminal-title {
    margin-left: var(--space-2);
    color: var(--white);
    font-size: 0.75rem;
    font-family: 'Azeret Mono', 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.terminal-body {
    padding: var(--space-8) var(--space-6);
    background: var(--white);
}

.prompt {
    color: var(--red);
    margin-right: var(--space-1);
    font-family: 'Azeret Mono', 'Courier New', monospace;
    font-weight: 500;
}

.command {
    color: var(--black);
    font-family: 'Azeret Mono', 'Courier New', monospace;
    font-weight: 500;
}

.section-block {
    margin-bottom: var(--space-12);
    animation: fadeInPrecise 0.4s cubic-bezier(0.25, 0, 0.25, 1);
}

.section-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--black);
    gap: var(--space-1);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--black);
    margin-bottom: var(--space-4);
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: none;
    font-family: 'Archivo', 'Helvetica Neue', sans-serif;
}

.output {
    padding-left: 0;
    text-align: left;
    max-width: 65ch;
}

.output p {
    margin-bottom: var(--space-3);
    font-size: 1rem;
    line-height: 1.6;
}

.comment {
    color: var(--gray);
    font-style: normal;
}

.highlight {
    color: var(--red);
    font-weight: 500;
}

.link-group {
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.link {
    color: var(--black);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-bottom: 2px solid var(--red);
    padding-bottom: 2px;
    transition: all 0.2s cubic-bezier(0.25, 0, 0.25, 1);
}

.link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: width 0.2s cubic-bezier(0.25, 0, 0.25, 1);
}

.link:hover::before {
    width: 100%;
}

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

.career-list {
    display: grid;
    gap: var(--space-6);
}

.career-list li {
    position: relative;
    padding-left: var(--space-4);
    border-left: 4px solid var(--black);
}

.career-list li::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 8px;
    height: 8px;
    background: var(--red);
    transform: rotate(45deg);
}

.career-list > li > strong {
    color: var(--black);
    margin-bottom: var(--space-2);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.career-list p strong {
    color: var(--black);
    font-weight: 600;
}

.belief-list {
    display: grid;
    gap: var(--space-3);
}

.belief-list li {
    padding-left: var(--space-4);
    color: var(--black);
    font-size: 1rem;
    line-height: 1.6;
}

.belief-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 500;
}

.cta-box {
    background: var(--light-gray);
    border: 4px solid var(--black);
    padding: var(--space-8) var(--space-6);
    margin-top: var(--space-8);
    position: relative;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid var(--red);
    pointer-events: none;
}

.cta-box h2 {
    color: var(--black);
    font-size: 2rem;
    margin-bottom: var(--space-2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
}

.cta-box p {
    color: var(--black);
    margin-bottom: var(--space-5);
    text-align: left;
    font-size: 1rem;
}

.btn-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-3);
}

.btn {
    padding: var(--space-3) var(--space-5);
    border-radius: 0;
    font-weight: 600;
    transition: all 0.15s cubic-bezier(0.25, 0, 0.25, 1);
    font-size: 0.875rem;
    border: 2px solid var(--black);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Archivo', 'Helvetica Neue', sans-serif;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-primary:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border-color: var(--black);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

.cursor {
    width: 12px;
    height: 16px;
    background: var(--red);
    animation: blinkPrecise 1.2s cubic-bezier(0.25, 0, 0.25, 1) infinite;
    transform: translateY(2px);
}

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

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

@media (max-width: 768px) {
    .terminal-window {
        margin: 0;
    }

    .terminal-body {
        padding: var(--space-6) var(--space-4);
    }

    h1 {
        font-size: 2rem;
    }

    .output {
        max-width: 100%;
    }

    .output p {
        font-size: 0.9375rem;
    }

    .btn-group {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: var(--space-6) var(--space-4);
    }

    .career-list li {
        padding-left: var(--space-3);
    }
}

@media (max-width: 480px) {
    .terminal-body {
        padding: var(--space-4) var(--space-3);
    }

    .section-block {
        margin-bottom: var(--space-8);
    }
}

/* Profile Photo Styles
   ========================================================================== */
.profile-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-2);
}

.profile-photo {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--red);
    flex-shrink: 0;
    margin-top: 8px;
    transition: all 0.2s cubic-bezier(0.25, 0, 0.25, 1);
}

.profile-text {
    flex: 1;
}

.profile-text h1 {
    margin-bottom: var(--space-2);
}

.profile-text .highlight {
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .profile-photo {
        width: 90px;
        height: 90px;
    }
}

/* Print styles */
@media print {
    body {
        background: var(--white);
    }

    .scanlines,
    .terminal-header,
    .cursor {
        display: none;
    }

    .terminal-body {
        padding: 0;
    }

    .section-block {
        page-break-inside: avoid;
    }

    .profile-photo {
        border-color: var(--black);
    }
}
