/* ============================================
   PORTFOLIO STYLES - Pure CSS
   Design: Swiss-International Typographic Wireframe
   Approach: Desktop-first with max-width breakpoints
   ============================================ */

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
    background-color: #f5f3ed;
    color: #2a2a2a;
    line-height: 1.6;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:focus-visible,
button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid #2a2a2a;
    background-color: rgba(247, 245, 238, 0.92);
    backdrop-filter: blur(4px);
}

.nav {
    max-width: 1420px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    flex-shrink: 0;
}

.logo-box {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #2a2a2a;
    background-color: #f7f5ee;
    font-weight: bold;
    transition: all 0.2s;
    flex-shrink: 0;
}

.logo:hover .logo-box {
    background-color: #2a2a2a;
    color: white;
}

.logo-text {
    display: inline;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    border: 1px solid transparent;
    padding: 8px 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #666;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: #2a2a2a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: #1a1a1a;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */

.main-container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 32px;
    padding-bottom: 80px;
}

/* ============================================
   BLUEPRINT SECTION LAYOUT
   ============================================ */

.blueprint-section {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 64px;
    border-top: 1px solid #2a2a2a;
    padding: 64px 0;
}

.blueprint-section:first-of-type {
    border-top: none;
}

.blueprint-section:last-of-type {
    border-bottom: 1px solid #2a2a2a;
}

.section-label {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 80px;
    align-self: start;
}

.section-label span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #2a2a2a;
    background-color: #f7f5ee;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

.section-label p {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #666;
    line-height: 1.6;
    width: fit-content;
    margin-top: 16px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.section-content {
    display: block;
    min-width: 0;
}

/* ============================================
   WIRE BOX COMPONENT
   ============================================ */

.wire-box {
    border: 1px solid #2a2a2a;
    background-color: rgba(247, 245, 238, 0.9);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.08);
    opacity: 0;
    --reveal-delay: 0ms;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.wire-box.is-revealed {
    animation: revealUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay) forwards;
}

.wire-box:hover {
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.18);
}

.section-label {
    opacity: 0;
}

.section-label.is-revealed {
    animation: revealLabel 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.section-label span {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.section-label:hover span {
    background-color: #2a2a2a;
    color: #f7f5ee;
    transform: rotate(-3deg);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.mono-kicker {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #666;
    line-height: 1.6;
}

.mono-kicker::after {
    content: '_';
    display: inline-block;
    margin-left: 4px;
    color: #2a2a2a;
    animation: blink 1.05s step-end infinite;
}

.section-title {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    line-height: 0.9;
    margin-top: 16px;
}

h2.section-title {
    max-width: 500px;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #555;
    margin-top: 20px;
    max-width: 600px;
}

/* ============================================
   SECTION 01: INTRO
   ============================================ */

.grid-2col {
    display: grid;
    grid-template-columns: 1.04fr 0.72fr;
    gap: 24px;
}

.hero-box {
    position: relative;
    overflow: hidden;
    padding: 40px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-title {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-size: clamp(3rem, 7.8vw, 6.7rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    text-transform: uppercase;
    line-height: 0.82;
    margin-top: 32px;
    word-break: break-word;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #555;
    margin-top: 32px;
    max-width: 600px;
    border-left: 1px solid #2a2a2a;
    padding-left: 20px;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.button-wire {
    border: 1px solid #2a2a2a;
    padding: 12px 20px;
    text-align: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
}

.button-wire:hover {
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.22);
}

.button-dark {
    background-color: #2a2a2a;
    color: white;
}

.button-dark:hover {
    background-color: #444;
}

.button-light {
    background-color: #f7f5ee;
    color: #2a2a2a;
}

.button-light:hover {
    background-color: #e8e6df;
}

/* SIDEBAR GRID */

.sidebar-grid {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 24px;
}

.stats-box {
    align-content: stretch;
}

.annotation-box {
    padding: 24px;
}

.annotation-content {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555;
}

.annotation-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dashed #999;
    padding-bottom: 12px;
}

.annotation-row span:last-child {
    text-align: right;
}

.annotation-row.last {
    border-bottom: none;
    padding-bottom: 0;
}

/* STATS BOX */

.stats-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    border: 1px solid #2a2a2a;
}

.stat-item {
    padding: 24px 20px;
    border-right: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
}

.stat-item:nth-child(2n) {
    border-right: none;
}

.stat-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.stat-value {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.stat-item:hover .stat-value {
    transform: translateY(-4px);
    color: #1a1a1a;
}

.stat-item {
    transition: background-color 0.3s ease;
}

.stat-item:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.stat-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #999;
    margin-top: 8px;
    line-height: 1.5;
}

/* ============================================
   SECTION 02: STACK & SERVICES
   ============================================ */

.stack-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
}

.toolkit-box {
    overflow: hidden;
    position: relative;
    background-color: #ece9df;
}

.toolkit-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: multiply;
}

.toolkit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%) contrast(1.05);
    transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.toolkit-box {
    display: flex;
}

.toolkit-box:hover .toolkit-image {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.02);
}

.toolkit-caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 3;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f7f5ee;
    background: rgba(42, 42, 42, 0.85);
    padding: 6px 10px;
}

.skills-section {
    display: grid;
    gap: 24px;
    align-content: start;
}

.skills-intro {
    padding: 24px 32px;
}

.skills-bars {
    padding: 24px;
}

.skill-bar {
    display: grid;
    grid-template-columns: 140px 1fr 48px;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.skill-bar:last-child {
    margin-bottom: 0;
}

.skill-name {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.progress-bar {
    height: 20px;
    border: 1px solid #2a2a2a;
    background-color: white;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: #2a2a2a;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.08) 0,
        rgba(255, 255, 255, 0.08) 6px,
        transparent 6px,
        transparent 12px
    );
    transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-percent {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: #999;
    text-align: right;
}

/* SERVICES GRID */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.service-card {
    padding: 24px 28px;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    background-color: white;
}

.service-title {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 1.3;
    margin-top: 16px;
}

.service-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #555;
    margin-top: 16px;
    flex-grow: 1;
}

/* ============================================
   SECTION 03: WORK & PROJECTS
   ============================================ */

.work-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
}

.timeline-box {
    padding: 24px 32px;
    align-self: start;
}

.timeline-content {
    margin-top: 32px;
    border-top: 1px solid #2a2a2a;
}

.timeline-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px;
    border-bottom: 1px solid #2a2a2a;
    padding: 20px 0;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #999;
}

.timeline-title {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1.3em;
}

.timeline-text {
    margin-top: 8px;
    line-height: 1.6;
    color: #555;
}

/* PROJECTS GRID */

.projects-grid {
    display: grid;
    gap: 24px;
}

.project-card {
    display: grid;
    grid-template-columns: 230px 1fr;
    overflow: hidden;
}

.project-image {
    position: relative;
    border-right: 1px solid #2a2a2a;
    overflow: hidden;
    background-color: #ece9df;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: multiply;
}

.project-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    background-color: white;
}

.project-content {
    padding: 24px;
}

.project-title {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 20px;
}

.project-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #999;
    margin-top: 16px;
}

.project-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #555;
    margin-top: 12px;
}

/* ============================================
   SECTION 04: CONTACT
   ============================================ */

.contact-box {
    padding: 32px 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-left {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #2a2a2a;
    padding-right: 48px;
}

.contact-left .section-title {
    margin-top: 16px;
    font-size: clamp(2.5rem, 7.5vw, 6rem);
}

.contact-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.contact-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-top: 0;
    max-width: 100%;
}

.contact-info {
    margin-top: 32px;
}

.contact-email {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: white;
    border: 1px solid #2a2a2a;
    padding: 14px 20px;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
    background-color: #2a2a2a;
    width: 100%;
    word-break: break-word;
}

.contact-email:hover {
    background-color: #1a1a1a;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.22);
}

.contact-details {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    color: #666;
    margin-top: 16px;
    text-align: center;
}

.phone-link {
    border-bottom: 1px dashed #999;
    padding-bottom: 1px;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.phone-link:hover {
    color: #2a2a2a;
    border-bottom-color: #2a2a2a;
}

.contact-link {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2a2a2a;
    text-align: center;
    margin-top: 12px;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, color 0.25s ease;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.contact-link:hover {
    border-bottom-color: #2a2a2a;
}

/* ============================================
   RESPONSIVE — TABLET (max-width: 1100px)
   ============================================ */

@media (max-width: 1100px) {
    .main-container {
        padding: 24px;
        padding-bottom: 64px;
    }

    .blueprint-section {
        gap: 32px;
        padding: 56px 0;
    }

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

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

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

    .timeline-box {
        align-self: stretch;
    }

    .contact-grid {
        grid-template-columns: 1.4fr 1fr;
        gap: 32px;
    }

    .contact-left .section-title {
        font-size: clamp(2.25rem, 6vw, 4.5rem);
    }

    .stats-box {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-item:nth-child(2n) {
        border-right: 1px solid #2a2a2a;
    }

    .stat-item:nth-child(4n) {
        border-right: none;
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: 1px solid #2a2a2a;
    }

    .stat-item:nth-last-child(-n+4) {
        border-bottom: none;
    }

    .toolkit-box {
        aspect-ratio: 1;
        
    }
}

/* ============================================
   RESPONSIVE — SMALL TABLET (max-width: 860px)
   ============================================ */

@media (max-width: 860px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .nav {
        padding: 12px 24px;
    }

    .blueprint-section {
        grid-template-columns: 64px 1fr;
        gap: 24px;
        padding: 48px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-left {
        border-right: none;
        padding-right: 0;
    }

    .contact-left .section-title {
        font-size: clamp(2rem, 8vw, 4rem);
    }

    .contact-box {
        padding: 28px 28px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE (max-width: 640px)
   ============================================ */

@media (max-width: 640px) {
    .main-container {
        padding: 16px;
        padding-bottom: 48px;
    }

    .nav {
        padding: 12px 16px;
        gap: 8px;
    }

    .logo-text {
        display: none;
    }

    .nav-links {
        gap: 2px;
    }

    .nav-link {
        padding: 8px 6px;
        font-size: 0.65rem;
        letter-spacing: 0.12em;
    }

    .blueprint-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 0;
    }

    .section-label {
        flex-direction: row;
        position: static;
    }

    .section-label p {
        margin-top: 0;
        writing-mode: horizontal-tb;
        align-self: center;
    }

    .hero-box {
        padding: 24px 20px;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-top: 24px;
        padding-left: 16px;
    }

    .button-group {
        flex-direction: column;
        margin-top: 28px;
    }

    .button-wire {
        font-size: 0.65rem;
        padding: 12px 16px;
        letter-spacing: 0.14em;
    }

    .annotation-box {
        padding: 20px;
    }

    .annotation-content {
        font-size: 0.75rem;
    }

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

    .stat-item {
        padding: 18px 16px;
        border-right: 1px solid #2a2a2a;
        border-bottom: 1px solid #2a2a2a;
    }

    .stat-item:nth-child(2n) {
        border-right: none;
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .stat-value {
        font-size: 2.25rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .skills-intro {
        padding: 20px;
    }

    .skills-bars {
        padding: 20px;
    }

    .skill-bar {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-bottom: 10px;
    }

    .skill-percent {
        text-align: left;
    }

    .toolkit-box {
        aspect-ratio:1;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 24px;
    }

    .service-card {
        padding: 20px 22px;
    }

    .timeline-box {
        padding: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px 0;
    }

    .timeline-title {
        font-size: 1.125rem;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-image {
        border-right: none;
        border-bottom: 1px solid #2a2a2a;
    }

    .project-image {
        aspect-ratio: 16 / 9;
    }

    .project-content {
        padding: 20px;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .contact-box {
        padding: 24px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-left .section-title {
        font-size: clamp(1.85rem, 9vw, 3rem);
    }

    .contact-description {
        font-size: 0.95rem;
    }

    .contact-info {
        margin-top: 20px;
    }

    .contact-email {
        font-size: 0.65rem;
        padding: 12px 14px;
        letter-spacing: 0.1em;
    }

    .contact-details {
        font-size: 0.75rem;
        margin-top: 14px;
        line-height: 1.6;
    }

    .contact-link {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
        margin-top: 10px;
    }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max-width: 380px)
   ============================================ */

@media (max-width: 380px) {
    .nav-link {
        padding: 6px 4px;
        font-size: 0.6rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .stat-value {
        font-size: 1.875rem;
    }

    .annotation-row {
        flex-direction: column;
        gap: 4px;
    }

    .annotation-row span:last-child {
        text-align: left;
    }
}

/* ============================================
   ACCESSIBILITY — REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .wire-box,
    .section-label {
        opacity: 1 !important;
    }

    .progress-fill {
        transition: none !important;
    }
}
