/* ============================================================
   Nomi Reiss Portfolio — Case Study Shared Styles
   case-study.css  (rebuilt with Cabinet Grotesk + new design)
   ============================================================ */

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

:root {
    --white:      #FFFFFF;
    --bg-warm:    #F4F0E8;
    --bg-card:    #EDEAE3;
    --border:     #D8D3CA;
    --text:       #1A1916;
    --text-mid:   #6B6760;
    --text-light: #9E9A93;
    --pink:       #FFB7AF;
    --black:      #1A1916;
    --max-w:      780px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 60px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.nav-back {
    font-size: 13px;
    color: var(--text-mid);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.nav-back:hover { color: var(--text); }

/* ── HERO ────────────────────────────────────────────────────── */
.cs-hero {
    padding: 130px 40px 60px;
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
}

.cs-category {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 20px;
    display: block;
}

.cs-title {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: clamp(52px, 7vw, 88px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.0;
    color: var(--text);
    margin-bottom: 24px;
}

.cs-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 48px;
}

/* Meta row */
.cs-meta {
    display: flex;
    justify-content: center;
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 64px;
}

.cs-meta-item {
    flex: 1;
    padding: 20px 16px;
    border-right: 1px solid var(--border);
    text-align: center;
}
.cs-meta-item:last-child { border-right: none; }

.cs-meta-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 6px;
}

.cs-meta-value {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

/* ── HERO IMAGE ──────────────────────────────────────────────── */
.cs-hero-img {
    width: 100%;
    max-width: 880px;
    margin: 0 auto 96px;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-card);
    padding: 0 40px;
}

.cs-hero-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Placeholder */
.cs-img-placeholder {
    width: 100%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-light);
    border-radius: 4px;
    aspect-ratio: 16/9;
}

/* ── CONTENT BODY ────────────────────────────────────────────── */
.cs-body {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px 120px;
}

/* ── SECTION ─────────────────────────────────────────────────── */
.cs-section { margin-bottom: 80px; }

.cs-section-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 16px;
    display: block;
}

.cs-section-title {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 20px;
}
.cs-section-title em { font-style: italic; }

.cs-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.78;
    margin-bottom: 16px;
}
.cs-text:last-child { margin-bottom: 0; }

/* Divider */
.cs-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 80px 0;
}

/* ── IMAGES ──────────────────────────────────────────────────── */
.cs-img {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-card);
    margin: 32px 0;
}

.cs-img img,
.cs-img-row img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.cs-img-caption {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* Full-bleed image — breaks out of the 780px text column */
.cs-img-full {
    width: min(92vw, 1100px);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 40px;
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.cs-img-full img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.cs-img-full .cs-img-caption {
    margin-top: 10px;
    text-align: center;
}

/* Two images side by side */
.cs-img-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 32px 0;
}

/* ── IMPACT SECTION (OUTCOMES) ───────────────────────────────── */
.cs-impact {
    background: var(--bg-warm);
    padding: 64px 40px;
    max-width: var(--max-w);
    margin: 40px auto;
    border-radius: 4px;
}

.cs-impact-title {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 28px;
}

.cs-impact-list {
    list-style: none;
}

.cs-impact-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.6;
}

.cs-impact-item::before {
    content: "→";
    color: var(--pink);
    font-weight: 700;
    flex-shrink: 0;
}

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

/* ── DELIVERABLES ────────────────────────────────────────────– */
.cs-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.cs-deliverable {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-mid);
    background: var(--white);
}

/* ── HIGHLIGHT / PULL QUOTE ──────────────────────────────────── */
.cs-highlight {
    background: var(--bg-warm);
    border-left: 3px solid var(--pink);
    border-radius: 4px;
    padding: 36px 40px;
    margin: 40px 0;
}

.cs-highlight p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.6;
}

/* ── METRICS ROW ─────────────────────────────────────────────── */
.cs-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin: 40px 0;
}

.cs-metric {
    background: var(--white);
    padding: 28px 24px;
    text-align: center;
}

.cs-metric-value {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}

.cs-metric-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
}

/* ── MORE WORK ───────────────────────────────────────────────── */
.cs-more {
    border-top: 1px solid var(--border);
    padding: 80px 40px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.cs-more-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 32px;
    display: block;
}

.cs-more-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.cs-more-card {
    display: block;
    text-decoration: none;
    background: var(--bg-card);
    border-radius: 4px;
    padding: 28px 28px 24px;
    transition: background 0.2s;
}
.cs-more-card:hover { background: #E5E1D8; }

.cs-more-card-cat {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
    display: block;
}

.cs-more-card-title {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 10px;
}

.cs-more-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cs-more-card-link {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 680px) {
    .cs-more { padding: 64px 20px; }
    .cs-more-grid { grid-template-columns: 1fr; }
}

/* ── FOOTER CTA ──────────────────────────────────────────────── */
.cs-footer {
    background: var(--bg-warm);
    padding: 80px 40px;
    text-align: center;
}

.cs-footer h2 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.15;
}
.cs-footer h2 em { font-style: italic; }

.cs-footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 100px;
    padding: 12px 26px;
    transition: opacity 0.2s;
    font-family: 'Inter', sans-serif;
}
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { opacity: 0.75; }
.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-mid);
}
.btn-outline:hover { border-color: var(--text); color: var(--text); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 680px) {
    nav { padding: 0 20px; }
    .cs-hero { padding: 100px 20px 60px; }
    .cs-body { padding: 0 20px 80px; }
    .cs-hero-img { padding: 0 20px; }
    .cs-meta { flex-wrap: wrap; }
    .cs-meta-item { min-width: 50%; border-bottom: 1px solid var(--border); }
    .cs-img-row { grid-template-columns: 1fr; }
    .cs-metrics { grid-template-columns: 1fr; }
    .cs-impact { padding: 48px 20px; }
    .cs-deliverables { gap: 8px; }
    .cs-deliverable { font-size: 11px; padding: 5px 12px; }
}
