/**
 * FULL BRUTALISM MODE
 * Use on: Homepage, landing pages, high-impact sections
 * 
 * Characteristics:
 * - 2px borders
 * - Hard offset shadows
 * - ALL CAPS headers
 * - Visible grid background
 * - 0px border radius
 */

/* ========================================
   PAGE BACKGROUND
======================================== */

.page-full {
    background-image: radial-gradient(circle, var(--color-border) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    background-attachment: fixed;
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: var(--space-8);
    padding-bottom: var(--space-12);
    margin-bottom: var(--space-24);
}

.hero__content {
    max-width: 42rem;
    justify-self: center;
    min-width: 0;
    text-align: center;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-7xl);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-6);
}

.hero__accent {
    color: var(--color-accent);
}

.hero__lead {
    font-size: var(--text-xl);
    line-height: 1.6;
    margin: 0 auto;
}

.hero__image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1;
    object-fit: cover;
    border: 2px solid var(--color-text);
    box-shadow: 12px 12px 0 var(--color-accent);
    max-width: 300px;
    justify-self: center;
}

/* ========================================
   SECTION HEADERS
======================================== */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 4px solid var(--color-text);
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-12);
}

.section-header__title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section-header__meta {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--color-accent-light);
}

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

.work-section {
    margin-bottom: var(--space-16);
}

.work-section__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid var(--color-text);
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-6);
}

.work-section__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.work-section__meta {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

/* ========================================
   BENTO GRID
======================================== */

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

/* Pumpkin Grid (2 columns) */
.bento-grid--pumpkin {
    grid-template-columns: 2fr 1fr;
}

/* ========================================
   BENTO CARD
======================================== */

.bento-card {
    display: block;
    background: var(--color-surface);
    border: 2px solid var(--color-text);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 200ms, box-shadow 200ms;
}

.bento-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 var(--color-accent);
}

.bento-card__image {
    overflow: hidden;
    background-color: var(--color-surface);
    border-bottom: 2px solid var(--color-text);
    aspect-ratio: 4/3;
}

.bento-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 400ms ease-out;
}

.bento-card:hover .bento-card__image img {
    filter: grayscale(0%) contrast(1);
}

/* Wide cards get landscape ratio */
.bento-card--wide .bento-card__image {
    aspect-ratio: 2/1;
}

.bento-card__content {
    padding: var(--space-4);
}

.bento-card__tag {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-2);
}

.bento-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.bento-card__description {
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--color-text-light);
}

.bento-card__year {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-top: var(--space-2);
}

/* ========================================
   BENTO TEXT BLOCK
======================================== */

.bento-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-6);
    background: var(--color-text);
    border: 2px solid var(--color-text);
    height: 100%;
}

.bento-text__content {
    font-family: var(--font-mono);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-inverted);
}

/* ========================================
   PROJECT GRID (Legacy - keeping for compatibility)
======================================== */

.project-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-24);
}

/* ========================================
   PROJECT CARD (Legacy - keeping for compatibility)
======================================== */

.project-card {
    display: block;
    background: var(--color-surface);
    border: 2px solid var(--color-text);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 200ms, box-shadow 200ms;
}

.project-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 var(--color-accent);
}

.project-card--featured {
    grid-row: span 2;
}

.project-card__image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    border-bottom: 2px solid var(--color-text);
}

.project-card__content {
    padding: var(--space-6);
}

.project-card__tag {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-3);
}

.project-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.project-card__description {
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--color-text-light);
}

/* ========================================
   METRIC CALLOUT
   (Editorial style - not marketing-y)
======================================== */

.metric {
    padding: var(--space-8) var(--space-6);
    text-align: left;
    border-left: 2px solid var(--color-border); /* Subtle line */
    background: transparent;
    min-width: 0;
    overflow: hidden;
}

.metric__value {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1;
    color: var(--color-text);
    margin-bottom: var(--space-2);
    overflow-wrap: break-word;
}

.metric__label {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-text-light);
    font-weight: 500;
}

/* ========================================
   METRICS GRID (for case study outcomes)
======================================== */

.metrics-section {
    margin-top: var(--space-16);
    overflow: hidden;
}

/* Ensure proper spacing when metrics-section uses content class */
.metrics-section.content {
    margin-bottom: var(--space-24);
    padding-bottom: var(--space-16);
}

.metrics-section__header {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-text-light);
    margin-bottom: var(--space-10);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    width: 100%;
    min-width: 0;
}

/* ========================================
   CASE STUDY HERO (Full Mode)
   Title/subtitle outside, image+info card below
======================================== */

.case-hero {
    margin-bottom: var(--space-16);
}

.case-hero__header {
    margin-bottom: var(--space-8);
}

.case-hero__meta {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
    font-weight: 700;
}

.case-hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-6xl);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
}

.case-hero__subtitle {
    font-size: var(--text-xl);
    line-height: 1.5;
    color: var(--color-text-light);
    max-width: 700px;
}

/* Hero card: image + context info combined */
.case-hero__card {
    border: 2px solid var(--color-text);
    box-shadow: 12px 12px 0 var(--color-accent);
    overflow: hidden;
}

.case-hero__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-bottom: 2px solid var(--color-text);
}

.case-hero__info {
    background: var(--color-surface);
    padding: var(--space-6) var(--space-8);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6) var(--space-10);
}

.case-hero__info-item {
    flex: 0 0 auto;
    min-width: 0;
}

.case-hero__info-item dt {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-2);
    font-weight: 700;
}

.case-hero__info-item dd {
    font-size: var(--text-base);
    font-weight: 500;
}

/* ========================================
   CONTEXT BOX (Transitional)
======================================== */

.context-box {
    background: var(--color-surface);
    border: 2px solid var(--color-text);
    padding: var(--space-8);
    margin-bottom: var(--space-16);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.context-box__item dt {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-2);
    font-weight: 700;
}

.context-box__item dd {
    font-size: var(--text-base);
    font-weight: 500;
}

/* ========================================
   OUTCOMES SECTION (Full Brutalism)
   For "What changed" sections in case studies
======================================== */

.outcomes-section {
    background: var(--color-surface);
    border: 2px solid var(--color-text);
    padding: var(--space-12);
    margin: var(--space-16) 0;
}

.outcomes-section__title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-4);
    border-bottom: 4px solid var(--color-text);
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.outcomes-grid__column {
    min-width: 0;
}

.outcomes-grid__heading {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-4);
    color: var(--color-accent);
}

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

.outcomes-grid__list li {
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: var(--space-3);
    padding-left: var(--space-4);
    position: relative;
}

.outcomes-grid__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.outcomes-grid__text {
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-light);
}

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

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .bento-grid--pumpkin {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .outcomes-section {
        padding: var(--space-8);
    }
    
    .outcomes-section__title {
        font-size: var(--text-2xl);
    }
    
    .outcomes-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    
    .hero {
        grid-template-columns: 1fr;
    }
    
    .hero__content {
        max-width: none;
        justify-self: stretch;
    }
    
    .hero__title {
        font-size: var(--text-5xl);
    }
    
    .hero__image {
        justify-self: center;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card--featured {
        grid-row: auto;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .context-box {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-hero__title {
        font-size: var(--text-4xl);
    }
}

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