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

body {
    background: #fff;
    font-family: 'Chivo', sans-serif;
    color: #000000;
}

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

.page {
    width: 1440px;
    margin: 0 auto;
    padding: 32px 60px;
    padding-top: 100px;
    background-color:#ffffff
}

/* ── Nav ── */
nav {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1440px;
    padding: 28px 60px;
    z-index: 100;
    box-sizing: border-box;
}

nav .name {
    font-family: 'Chivo', sans-serif;
    font-weight: 300;
    font-size: 14px;
}

nav .name a {
    color: #000000;
    text-decoration: none;
}

nav .name a:hover {
    color: #002FA7;
}

.nav-icon {
    color: #1a1a1a;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.2s;
}

.nav-icon:hover {
    color: #002FA7;
}

#copy-tooltip {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    font-family: 'Chivo', sans-serif;
    font-weight: 300;
    font-size: 11px;
    padding: 4px 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.nav-filters {
    display: flex;
    gap: 20px;
}

.filter-btn {
    background: none;
    border: none;
    font-family: 'Chivo', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #1a1a1a;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    color: #002FA7;
}

.filter-btn.active::after {
    content: ' ✕';
    font-size: 11px;
    margin-left: 4px;
}

.filter-btn.inactive {
    color: #00000030;
    cursor: default;
}

.project.dimmed {
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* ══════════════════════════════════
   Homepage
   ══════════════════════════════════ */

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 40px;
}

.project a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project {
    transition: box-shadow 0.3s ease;
}

.thumb-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}

.thumb {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    filter: grayscale(40%); /* Black and white by default */
    transition: filter 0.4s ease, transform 0.3s ease;
}

.project:hover .thumb {
    filter: grayscale(0%); /* Full color on hover */
    transform: scale(1.03);
}

.project h3 {
    font-family: 'Chivo', sans-serif;
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.project p {
    font-family: 'Chivo', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.45;
    color: #787878;
    transition: color 0.2s ease;
}

.project:hover h3 {
    color: #002FA7;
}
.project:hover p {
    color: #787878;
}

/* ══════════════════════════════════
   Case Study
   ══════════════════════════════════ */

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.case-study-main {
    grid-column: 1 / 4;
}

.case-study-side {
    grid-column: 4 / 5;
    align-self: start;
}

/* ── Hero ── */
.hero {
    margin-top: 0;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero .subtitle {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #444;
    max-width: 80%;
}

/* ── Sections ── */
.section {
    margin-top:52px;
    margin-bottom: 52px;
}

.section h2 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.section p {
    font-size: 14px;
    line-height: 1.25;
    font-weight: 300;
    color: #1a1a1a;
    max-width: 80%;
}

.section p + p {
    margin-top: 14px;
}

.section p span {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.25;
    color: #1a1a1a;
}

.section ol {
    margin-top: 6px;
    margin-bottom: 12px; 
    padding-left: 20px;
}

.section li {
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
    color: #1a1a1a;
    margin-bottom: 8px;  
}

.section ul {
    margin-top: 8px;
    margin-bottom: 12px;
    padding-left: 20px;
    list-style-type: square;
}

.section ul li {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.25;
    color: #1a1a1a;
    margin-bottom: 6px; /* More space between items since they're multi-line */
}

/* ── Deliverable ── */
.case-study-side h2 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.case-study-side ul {
    list-style-type: square; 
    padding-left: 20px;
    margin: 0;
}

.case-study-side li {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: #1a1a1a;
}

/* ── Images ── */
.image-full {
    width: 100%;
    margin-top: 32px;
    display: block;
    margin-bottom: 32px;
}

.image-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.image-half {
    width: 100%;
    display: block;
}

/* ── Back link ── */
.back {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
}

.back a {
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 300;
}

.back a:hover {
    color: #002FA7;
}