/* ========================================
   DIGITAL BRUTALISM - RAW & HONEST
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&family=Space+Mono:wght@400;700&family=IBM+Plex+Mono:wght@400;600;700&family=Archivo+Black&display=swap');

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

:root {
    --black: #000000;
    --white: #FFFFFF;
    --concrete: #BEBEBE;
    --dark-concrete: #6B6B6B;
    --light-gray: #E8E8E8;
}

html {
    scroll-behavior: auto; /* Brutalism = no smooth scrolling */
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    font-family: 'Space Mono', 'Courier New', monospace;
    background-color: var(--light-gray);
    color: var(--black);
    line-height: 1.3;
    position: relative;
    letter-spacing: -0.5px;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 10000;
    padding: 14px 20px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border: 3px solid var(--white);
}

.skip-to-content:focus {
    left: 10px;
    top: 10px;
}

/* ========================================
   GRID OVERLAY
   ======================================== */

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 24px, var(--concrete) 24px, var(--concrete) 25px),
        repeating-linear-gradient(90deg, transparent, transparent 24px, var(--concrete) 24px, var(--concrete) 25px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
}

/* ========================================
   LAYOUT
   ======================================== */

.header,
.main,
.work-section,
.tech-section,
.info-section,
.contact-section,
.footer {
    position: relative;
}

/* ========================================
   HEADER
   ======================================== */

.header {
    border-bottom: 5px solid var(--black);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 0 var(--black);
}

.header-top {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 2px solid var(--black);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    background: var(--black);
    color: var(--white);
}

.timestamp {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 0;
    border-top: 2px solid var(--black);
}

.nav a {
    padding: 18px 35px;
    text-decoration: none;
    color: var(--black);
    border-right: 2px solid var(--black);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    background: var(--white);
    transition: none;
}

.nav a:hover {
    background: var(--black);
    color: var(--white);
}

.nav a:active {
    background: var(--dark-concrete);
}

.nav a:last-child {
    border-right: none;
}

/* ========================================
   MAIN SECTION
   ======================================== */

.main {
    min-height: 70vh;
    padding: 60px 20px;
    border-bottom: 5px solid var(--black);
}

.title-block {
    max-width: 1200px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.main-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(80px, 18vw, 220px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -8px;
    margin-bottom: 30px;
    text-transform: uppercase;
    text-shadow: 4px 4px 0 var(--black);
    color: var(--white);
    -webkit-text-stroke: 2px var(--black);
    paint-order: stroke fill;
}

.subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.3px;
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.subtitle p {
    margin: 0;
    border-left: 3px solid var(--black);
    padding-left: 12px;
    white-space: nowrap;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
}

.content-block {
    border: 4px solid var(--black);
    margin-bottom: 40px;
    background: var(--white);
    box-shadow: 8px 8px 0 var(--black);
    position: relative;
    z-index: 2;
}

.block-header {
    padding: 18px 20px;
    background: var(--black);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.block-body {
    padding: 30px 20px;
    border-top: 4px solid var(--black);
}

.block-body p {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.3px;
    font-weight: 600;
}

/* ========================================
   STATS GRID
   ======================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    border: 4px solid var(--black);
    background: var(--white);
    box-shadow: 8px 8px 0 var(--black);
    position: relative;
    z-index: 2;
}

.stat-box {
    padding: 35px 20px;
    border-right: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    text-align: center;
    transition: none;
    background: var(--light-gray);
}

.stat-box:hover {
    background: var(--black);
    color: var(--white);
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.stat-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ========================================
   WORK SECTION
   ======================================== */

.work-section,
.tech-section,
.info-section,
.contact-section {
    padding: 80px 20px;
    border-bottom: 5px solid var(--black);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -1px;
    text-transform: uppercase;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    border-left: 8px solid var(--black);
    padding-left: 20px;
    position: relative;
    z-index: 2;
}

.work-list {
    max-width: 1200px;
    margin: 0 auto;
}

.work-item {
    border: 4px solid var(--black);
    margin-bottom: 20px;
    background: var(--white);
    transition: none;
    position: relative;
    z-index: 2;
}

.work-item:hover {
    box-shadow: 12px 12px 0 var(--black);
    transform: translate(-6px, -6px);
}

.work-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-bottom: 4px solid var(--black);
    background: var(--black);
    color: var(--white);
}

.work-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 700;
    min-width: 70px;
    letter-spacing: -2px;
}

.work-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.work-body {
    padding: 25px;
}

.work-description {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    letter-spacing: -0.2px;
    font-weight: 600;
}

.work-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--dark-concrete);
    letter-spacing: 0px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ========================================
   TECH SECTION
   ======================================== */

.tech-columns {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    border: 4px solid var(--black);
    box-shadow: 8px 8px 0 var(--black);
    position: relative;
    z-index: 2;
}

.tech-column {
    border-right: 2px solid var(--black);
    background: var(--white);
}

.tech-column:last-child {
    border-right: none;
}

.tech-category {
    padding: 18px;
    background: var(--black);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-list li {
    padding: 16px;
    border-bottom: 2px solid var(--black);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    transition: none;
    letter-spacing: -0.3px;
}

.tech-list li:hover {
    background: var(--black);
    color: var(--white);
}

.tech-list li:last-child {
    border-bottom: none;
}

/* ========================================
   INFO SECTION
   ======================================== */

.info-grid {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.info-block {
    border: 4px solid var(--black);
    background: var(--white);
    box-shadow: 8px 8px 0 var(--black);
    position: relative;
    z-index: 2;
}

.info-header {
    padding: 18px;
    background: var(--black);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.info-body {
    padding: 25px;
    border-top: 4px solid var(--black);
}

.info-body p {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.testimonial-block {
    max-width: 1200px;
    margin: 0 auto;
    border: 5px solid var(--black);
    background: var(--white);
    box-shadow: 10px 10px 0 var(--black);
    position: relative;
    z-index: 2;
}

.testimonial-header {
    padding: 18px;
    background: var(--black);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.testimonial-body {
    padding: 35px;
    border-top: 5px solid var(--black);
}

.testimonial-body p {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 17px;
    line-height: 1.6;
    font-style: italic;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-block {
    margin-bottom: 30px;
}

.contact-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--dark-concrete);
}

.contact-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    color: var(--black);
    text-decoration: none;
    border-bottom: 3px solid var(--black);
    font-weight: 700;
    letter-spacing: -0.3px;
    display: inline-block;
    transition: none;
}

.contact-value:hover {
    background: var(--black);
    color: var(--white);
}

.availability {
    margin-top: 40px;
    padding: 20px;
    border: 4px solid var(--black);
    background: var(--white);
    box-shadow: 6px 6px 0 var(--black);
    position: relative;
    z-index: 2;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-transform: uppercase;
}

.status-dot {
    width: 16px;
    height: 16px;
    background: #00FF00;
    border: 3px solid var(--black);
    animation: pulse 2s infinite;
}

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

/* Contact Form */
.contact-form {
    border: 4px solid var(--black);
    padding: 35px;
    background: var(--white);
    box-shadow: 8px 8px 0 var(--black);
    position: relative;
    z-index: 2;
}

.form-field {
    margin-bottom: 28px;
}

.form-field label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    border: 3px solid var(--black);
    background: var(--light-gray);
    color: var(--black);
    outline: none;
    transition: none;
    letter-spacing: -0.2px;
}

.form-field input:focus,
.form-field textarea:focus {
    box-shadow: 6px 6px 0 var(--black);
    transform: translate(-3px, -3px);
    background: var(--white);
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    background: var(--black);
    color: var(--white);
    border: 3px solid var(--black);
    cursor: pointer;
    transition: none;
}

.submit-btn:hover {
    background: var(--white);
    color: var(--black);
    box-shadow: 6px 6px 0 var(--black);
    transform: translate(-3px, -3px);
}

.submit-btn:active {
    transform: translate(0, 0);
    box-shadow: none;
}

.form-status {
    margin-top: 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 12px;
    border: 3px solid transparent;
}

.form-status.success {
    border-color: #00FF00;
    background: #00FF0030;
}

.form-status.error {
    border-color: #FF0000;
    background: #FF000030;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */

.projects-section {
    padding: 80px 20px;
    border-bottom: 5px solid var(--black);
}

.projects-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    border: 4px solid var(--black);
    background: var(--white);
    transition: none;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    box-shadow: 12px 12px 0 var(--black);
    transform: translate(-6px, -6px);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--black);
    color: var(--white);
    border-bottom: 4px solid var(--black);
}

.project-number {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
}

.project-status {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    padding: 6px 12px;
    border: 2px solid var(--white);
    letter-spacing: 0.05em;
    font-weight: 700;
}

.project-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.project-description {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 600;
    flex: 1;
}

.project-impact {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-gray);
    border-left: 4px solid var(--black);
}

.impact-item {
    margin-bottom: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
}

.impact-item:last-child {
    margin-bottom: 0;
}

.impact-label {
    font-weight: 700;
    letter-spacing: 0.05em;
}

.impact-value {
    font-weight: 400;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    padding: 6px 12px;
    border: 2px solid var(--black);
    letter-spacing: 0.05em;
    font-weight: 700;
    background: var(--light-gray);
}

/* ========================================
   EXPERIENCE TIMELINE
   ======================================== */

.experience-timeline {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px;
    border: 4px solid var(--black);
    background: var(--white);
    box-shadow: 10px 10px 0 var(--black);
    position: relative;
    z-index: 2;
}

.timeline-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.timeline-items {
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 35px;
    border-left: 3px solid var(--black);
    margin-left: 20px;
}

.timeline-item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 13px;
    height: 13px;
    background: var(--black);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--black);
}

.timeline-date {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    color: var(--concrete);
}

.timeline-role {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.3px;
}

.timeline-company {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--concrete);
}

.timeline-description {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 400;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials-container {
    max-width: 1200px;
    margin: 60px auto 0;
}

.testimonials-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    border-left: 8px solid var(--black);
    padding-left: 20px;
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.testimonial-block {
    border: 4px solid var(--black);
    background: var(--white);
    box-shadow: 8px 8px 0 var(--black);
    position: relative;
    z-index: 2;
}

.testimonial-header {
    padding: 18px 20px;
    background: var(--black);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.05em;
    border-bottom: 4px solid var(--black);
}

.testimonial-body {
    padding: 30px 25px;
}

.testimonial-body p {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 600;
    margin-bottom: 20px;
}

.testimonial-role {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--concrete);
    text-transform: uppercase;
}

/* ========================================
   BLOG PREVIEW SECTION
   ======================================== */

.blog-preview-section {
    padding: 80px 20px;
    border-bottom: 5px solid var(--black);
}

.blog-preview-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.blog-preview-card {
    background: var(--white);
    border: 4px solid var(--black);
    text-decoration: none;
    color: var(--black);
    display: block;
    position: relative;
    z-index: 2;
    transition: none;
}

.blog-preview-card:hover {
    box-shadow: 12px 12px 0 var(--black);
    transform: translate(-6px, -6px);
}

.blog-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 4px solid var(--black);
    background: var(--black);
    color: var(--white);
    flex-wrap: wrap;
    gap: 15px;
}

.blog-preview-date {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.blog-preview-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-preview-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    padding: 6px 12px;
    border: 2px solid var(--white);
    letter-spacing: 0.05em;
    font-weight: 700;
}

.blog-preview-body {
    padding: 25px;
}

.blog-preview-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.blog-preview-description {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 600;
}

.blog-preview-cta {
    background: var(--light-gray);
    border: 4px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
}

.cta-header {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.cta-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: var(--black);
    color: var(--white);
    border: 4px solid var(--black);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 6px 6px 0 var(--concrete);
    transition: none;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    box-shadow: 10px 10px 0 var(--concrete);
    transform: translate(-4px, -4px);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: 40px 20px;
    background: var(--black);
    color: var(--white);
    border-top: 5px solid var(--white);
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.footer-left p,
.footer-right p {
    margin: 8px 0;
}

.footer-right a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 2px solid var(--white);
    padding-bottom: 2px;
}

.footer-right a:hover {
    background: var(--white);
    color: var(--black);
}

/* ========================================
   RESPONSIVE
   ======================================== */

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

    .tech-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    /* HORIZONTAL SCROLLABLE NAV FOR MOBILE */
    .nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    .nav::-webkit-scrollbar {
        display: none;
    }

    .nav a {
        flex: 0 0 auto;
        min-width: 130px;
        text-align: center;
        padding: 16px 20px;
        font-size: 13px;
        scroll-snap-align: start;
        white-space: nowrap;
    }

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

    .blog-preview-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    /* Typography adjustments */
    .main-title {
        font-size: clamp(40px, 12vw, 100px);
        letter-spacing: -2px;
    }

    .subtitle {
        font-size: 13px;
        gap: 15px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .subtitle::-webkit-scrollbar {
        display: none;
    }

    /* Reduce padding on mobile for better space usage */
    .main,
    .work-section,
    .tech-section,
    .info-section,
    .contact-section {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    /* Grid adjustments */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* TECH STACK HORIZONTAL CAROUSEL */
    .tech-columns {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 15px;
        grid-template-columns: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        border: none;
        box-shadow: none;
        padding-bottom: 10px;
    }

    .tech-columns::-webkit-scrollbar {
        display: none;
    }

    .tech-column {
        flex: 0 0 280px;
        border: 4px solid var(--black);
        border-bottom: 4px solid var(--black);
        scroll-snap-align: start;
        box-shadow: 6px 6px 0 var(--black);
    }

    .tech-column:last-child {
        border-bottom: 4px solid var(--black);
        margin-right: 15px;
    }

    /* INFO GRID HORIZONTAL CAROUSEL */
    .info-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 15px;
        grid-template-columns: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 10px;
    }

    .info-grid::-webkit-scrollbar {
        display: none;
    }

    .info-block {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }

    .info-block:last-child {
        margin-right: 15px;
    }

    /* TESTIMONIALS HORIZONTAL CAROUSEL */
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 15px;
        grid-template-columns: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 10px;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonials-grid .testimonial-block {
        flex: 0 0 300px;
        scroll-snap-align: start;
    }

    .testimonials-grid .testimonial-block:last-child {
        margin-right: 15px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    /* Navigation - keep scrollable */
    .nav a {
        min-width: 110px;
        padding: 14px 18px;
        font-size: 12px;
    }

    /* EXPERIENCE TIMELINE HORIZONTAL CAROUSEL */
    .experience-timeline {
        padding: 25px 20px;
    }

    .timeline-items {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 20px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 10px;
        border-left: none;
    }

    .timeline-items::-webkit-scrollbar {
        display: none;
    }

    .timeline-item {
        flex: 0 0 280px;
        scroll-snap-align: start;
        padding: 20px;
        border: 4px solid var(--black);
        background: var(--light-gray);
        box-shadow: 6px 6px 0 var(--black);
        margin-left: 0;
        padding-left: 20px;
        border-left: 4px solid var(--black);
    }

    .timeline-item:last-child {
        margin-right: 15px;
        border-left: 4px solid var(--black);
    }

    .timeline-item::before {
        display: none;
    }

    /* Project cards */
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Work items */
    .work-header {
        padding: 15px;
    }

    .work-number {
        font-size: 32px;
        min-width: 50px;
    }

    .work-title {
        font-size: 18px;
    }

    .work-body {
        padding: 20px 15px;
    }

    /* Testimonials */
    .testimonial-body {
        padding: 25px 20px;
    }

    .testimonial-body p {
        font-size: 13px;
    }

    /* Contact form */
    .contact-form {
        padding: 25px 20px;
    }

    /* Better tap targets for mobile */
    .submit-btn,
    .cta-button {
        min-height: 48px;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    /* Header adjustments */
    .header-top {
        font-size: 9px;
        padding: 10px 15px;
    }

    .nav a {
        min-width: 100px;
        padding: 14px 16px;
        font-size: 11px;
    }

    /* Main title mobile */
    .main-title {
        font-size: clamp(50px, 18vw, 100px);
        letter-spacing: -3px;
        -webkit-text-stroke: 2px var(--black);
    }

    .subtitle {
        font-size: 11px;
        gap: 10px;
    }

    .subtitle p {
        padding-left: 8px;
        border-left: 2px solid var(--black);
    }

    .main {
        padding: 40px 15px;
    }

    /* Work items */
    .work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 15px;
    }

    .work-number {
        font-size: 28px;
    }

    .work-title {
        font-size: 16px;
    }

    /* Section padding */
    .work-section,
    .tech-section,
    .info-section,
    .contact-section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 28px;
        border-left: 5px solid var(--black);
        padding-left: 15px;
    }

    /* Blog preview */
    .blog-preview-card,
    .blog-preview-cta {
        min-height: auto;
    }

    .blog-preview-title {
        font-size: 18px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    /* Contact info and blocks */
    .info-block,
    .contact-block {
        margin-bottom: 20px;
    }

    /* Reduce shadow effects on very small screens for cleaner look */
    .content-block,
    .work-item,
    .project-card,
    .info-block,
    .testimonial-block,
    .contact-form {
        box-shadow: 5px 5px 0 var(--black);
    }

    .content-block:hover,
    .work-item:hover,
    .project-card:hover {
        box-shadow: 8px 8px 0 var(--black);
        transform: translate(-4px, -4px);
    }
}
