@font-face {
    font-family: 'Helvetica Neue LT Std';
    src: url('fonts/HelveticaNeueLTStd-Roman.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue LT Std';
    src: url('fonts/HelveticaNeueLTStd-Bd.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

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

body {
    font-family: 'Helvetica Neue LT Std', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #000;
    background-color: #ededed;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ── Nav ── */
nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #ededed;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}

.nav-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 40px;
    white-space: nowrap;
    text-decoration: none;
    color: #000;
}

.nav-logo {
    height: 32px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    transition: background 0.15s ease;
}

.nav-links a:hover {
    background: #fff;
}

.nav-links a.active {
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
}


/* ── Hero browser mockup (project pages) ── */
.hero-browser { background: #ededed; }

.hero-browser-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 48px 0;
}

.browser-mockup {
    display: flex;
    flex-direction: column;
    border: 1px solid #d0d0d0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    background: #e8e8e8;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.18);
}

.browser-bar {
    background: #e8e8e8;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.browser-dots { display: flex; gap: 6px; }

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c0c0c0;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-address {
    flex: 1;
    background: #fff;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.75rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser-mockup video,
.browser-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Case study logo ── */
.section-logo {
    display: block;
    height: 72px;
    width: auto;
    margin-bottom: 40px;
}

/* ── Sections ── */
.section {
    padding: 80px 0;
    border-bottom: 1px solid #d4d4d4;
}

.section:last-of-type { border-bottom: none; }

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 12px;
}

.section-head {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 40px;
}

.section-body {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #444;
    max-width: 75ch;
}

/* ── Color swatches ── */
.palette {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.swatch {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.swatch-color {
    width: 80px;
    height: 80px;
}

.swatch-name {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
}

.palette-group-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 14px;
}

/* ── Type specimens ── */
.type-row {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
}

.type-box {
    flex: 1;
    background: #fff;
    padding: 40px;
}

.type-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 4px;
}

.type-meta {
    font-size: 0.7rem;
    color: #bbb;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

/* ── Video lightbox (project pages) ── */
.video-trigger { cursor: zoom-in; }

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 1000;
    cursor: zoom-out;
}

.lightbox.is-open { display: flex; }

.lightbox-inner {
    width: 100%;
    max-width: 1400px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.lightbox .browser-mockup {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #d0d0d0;
    border-radius: 8px;
}

.lightbox video {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 8px;
}

/* ── CTA ── */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    font-family: 'Helvetica Neue LT Std', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 40px;
}

.cta-btn:hover { background: #333; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .hero-browser-inner { padding: 24px 24px 0; }
    .section-head { font-size: 2rem; }
    .type-row { flex-direction: column; }
    .section-logo { height: 36px; margin-bottom: 24px; }
    .swatch-color { width: 60px; height: 60px; }
    .swatch-name { text-align: center; }
    .section-head { margin-bottom: 16px; }
}
