
:root {
    --ink: #151515;
    --ink-soft: #373533;
    --stone: #f5f0e8;
    --paper: #fbfaf7;
    --line: #ddd4c8;
    --muted: #706a63;
    --brass: #b89b67;
    --white: #ffffff;
    --shadow: 0 24px 80px rgba(0,0,0,.10);
    --radius: 28px;
    --container: min(1180px, calc(100vw - 44px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    background: var(--ink);
    color: var(--white);
    padding: 10px 14px;
    border-radius: 999px;
    transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
.container { width: var(--container); margin-inline: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251,250,247,.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(21,21,21,.08);
}
.nav {
    width: var(--container);
    margin-inline: auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    letter-spacing: .03em;
}
.brand-mark {
    width: 34px;
    height: 44px;
    position: relative;
    display: inline-block;
}
.brand-mark::before,
.brand-mark::after,
.brand-mark span::before,
.brand-mark span::after {
    content: "";
    position: absolute;
    background: var(--ink);
    opacity: .88;
}
.brand-mark::before { width: 2px; height: 35px; left: 6px; bottom: 0; transform: skewY(-30deg); transform-origin: bottom; }
.brand-mark::after { width: 2px; height: 42px; left: 18px; bottom: 0; transform: skewY(-30deg); transform-origin: bottom; }
.brand-mark span::before { width: 30px; height: 2px; left: 3px; bottom: 0; }
.brand-mark span::after { width: 19px; height: 2px; left: 7px; top: 12px; transform: rotate(-30deg); }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-size: 15px; font-weight: 800; }
.brand-text small { font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
    text-decoration: none;
    font-size: 14px;
    color: var(--ink-soft);
    position: relative;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -5px;
    height: 1px;
    background: var(--ink);
    transition: right .2s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

.hero {
    min-height: 720px;
    position: relative;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}
.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .63; filter: grayscale(20%); }
.hero-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.48) 42%, rgba(0,0,0,.18)), linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.68));
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 48px;
}
.eyebrow {
    margin: 0 0 14px;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: .18em;
    color: var(--brass);
    font-weight: 800;
}
.hero-eyebrow { color: #dfcda8; }
h1, h2, h3, p { margin-top: 0; }
h1 {
    max-width: 980px;
    margin-bottom: 24px;
    font-size: clamp(44px, 8vw, 92px);
    line-height: .94;
    letter-spacing: -.07em;
    font-weight: 850;
}
h2 {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: -.055em;
    margin-bottom: 22px;
}
h3 {
    font-size: clamp(21px, 2.4vw, 28px);
    line-height: 1.12;
    letter-spacing: -.035em;
    margin-bottom: 12px;
}
.hero-lead {
    max-width: 740px;
    color: rgba(255,255,255,.88);
    font-size: clamp(18px, 2.2vw, 25px);
    line-height: 1.45;
    margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 21px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .02em;
    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); border: 1px solid var(--ink); }
.hero .button-primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.button-secondary { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.6); }
.button-secondary:hover { border-color: var(--white); }
.hero-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.22);
    border: 1px solid rgba(255,255,255,.26);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 1010px;
    backdrop-filter: blur(8px);
}
.hero-facts div { padding: 22px; background: rgba(0,0,0,.2); }
.hero-facts span { display: block; color: rgba(255,255,255,.66); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.hero-facts strong { display: block; margin-top: 8px; font-size: 18px; }

.section { padding: 96px 0; }
.section-alt { background: var(--stone); }
.intro-panel { padding: 54px 0; background: var(--ink); color: var(--white); }
.intro-panel h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 0; }
.intro-copy { color: rgba(255,255,255,.78); font-size: 18px; }
.intro-copy p:last-child { margin-bottom: 0; }
.split-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(34px, 7vw, 96px);
    align-items: start;
}
.about-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: clamp(34px, 7vw, 92px);
}
.sticky-heading { position: sticky; top: 116px; }
.content-stack { display: grid; gap: 26px; }
.card, .service-card, .team-card, .experience-list article, .contact-card, .process-grid div {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 50px rgba(0,0,0,.045);
}
.large-card { padding: clamp(26px, 4vw, 44px); }
.large-card p:last-child { margin-bottom: 0; }
.snapshot-table {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}
.snapshot-table div {
    display: grid;
    grid-template-columns: minmax(150px, .45fr) minmax(0, 1fr);
    border-top: 1px solid var(--line);
}
.snapshot-table div:first-child { border-top: 0; }
.snapshot-table span,
.snapshot-table strong { padding: 18px 22px; }
.snapshot-table span { background: #f3eee5; color: var(--muted); font-size: 14px; font-weight: 800; }
.snapshot-table strong { font-size: 15px; }
.section-heading { max-width: 780px; }
.section-heading.centered { text-align: center; margin: 0 auto 46px; }
.section-heading.centered p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.service-card { padding: 28px; min-height: 280px; }
.service-card span, .process-grid span {
    display: inline-flex;
    color: var(--brass);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    margin-bottom: 28px;
}
.service-card h3 { font-size: 24px; }
.service-card p { color: var(--muted); margin-bottom: 0; }
.service-wide { grid-column: span 2; }

.project-heading {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    align-items: end;
    margin-bottom: 26px;
}
.project-heading p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.filter-button {
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    color: var(--ink-soft);
    font-weight: 800;
    font-size: 13px;
}
.filter-button.active,
.filter-button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
.project-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.project-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #ddd; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover .project-cover img { transform: scale(1.045); }
.project-cover span {
    position: absolute;
    left: 18px;
    top: 18px;
    background: rgba(21,21,21,.82);
    color: var(--white);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.project-body { padding: 28px; }
.muted { color: var(--muted); }
.project-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0;
}
dl { margin: 0; }
dt {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
}
dd { margin: 5px 0 0; font-weight: 750; }
.project-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.project-thumb {
    border: 0;
    border-radius: 13px;
    overflow: hidden;
    aspect-ratio: 1;
    padding: 0;
    cursor: zoom-in;
    background: #eee;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease, opacity .2s ease; }
.project-thumb:hover img { transform: scale(1.06); opacity: .9; }
.project-card.is-hidden { display: none; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.team-card { padding: 28px; }
.team-card p { color: var(--muted); }
.team-card ul { padding-left: 19px; margin-bottom: 0; color: var(--muted); }
.feature-team-card { grid-column: span 2; grid-row: span 2; }
.feature-team-card p, .feature-team-card li { font-size: 16px; }

.experience-list { display: grid; gap: 18px; }
.experience-list article { padding: 28px; }
.experience-list ul { margin-bottom: 0; padding-left: 19px; }
.process-section { background: var(--ink); color: var(--white); }
.process-section .section-heading p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.process-grid div { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); padding: 28px; box-shadow: none; }
.process-grid strong { display: block; font-size: 22px; margin-bottom: 10px; }
.process-grid p { color: rgba(255,255,255,.68); margin-bottom: 0; }
.contact-section { background: var(--stone); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 470px;
    gap: clamp(34px, 7vw, 88px);
    align-items: start;
}
.contact-grid > div:first-child p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 650px; }
.contact-card { padding: 34px; }
.contact-card dl { display: grid; gap: 16px; margin: 24px 0 30px; }
.contact-card dl div { border-top: 1px solid var(--line); padding-top: 14px; }
.contact-card dl div:first-child { border-top: 0; padding-top: 0; }
.contact-card a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.full-button { width: 100%; }
.site-footer { background: #111; color: rgba(255,255,255,.72); padding: 58px 0 30px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { color: var(--white); margin-bottom: 18px; }
.footer-brand .brand-mark::before,
.footer-brand .brand-mark::after,
.footer-brand .brand-mark span::before,
.footer-brand .brand-mark span::after { background: var(--white); }
.site-footer strong { display: block; color: var(--white); margin-bottom: 12px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { padding-top: 24px; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0,0,0,.86);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
}
.lightbox[aria-hidden="false"] { display: flex; }
.lightbox img { max-width: min(1120px, 94vw); max-height: 88vh; object-fit: contain; border-radius: 18px; box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.lightbox-close {
    position: absolute;
    right: 24px;
    top: 18px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.08);
    color: var(--white);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed;
        left: 22px;
        right: 22px;
        top: 82px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 22px;
        box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px; }
    .hero { min-height: 680px; }
    .hero-facts { grid-template-columns: repeat(2, 1fr); }
    .split-grid, .about-grid, .project-heading, .contact-grid { grid-template-columns: 1fr; }
    .sticky-heading { position: static; }
    .service-grid, .team-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
    .project-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    :root { --container: min(100vw - 28px, 1180px); }
    .nav { min-height: 66px; }
    .hero { min-height: 730px; }
    .hero-content { padding: 88px 0 26px; }
    .hero-actions { margin-bottom: 32px; }
    .hero-facts { grid-template-columns: 1fr; border-radius: 22px; }
    .hero-facts div { padding: 16px; }
    .section { padding: 70px 0; }
    .intro-panel { padding: 42px 0; }
    .snapshot-table div { grid-template-columns: 1fr; }
    .snapshot-table span { padding-bottom: 5px; }
    .snapshot-table strong { padding-top: 5px; }
    .service-grid, .team-grid, .process-grid { grid-template-columns: 1fr; }
    .service-wide, .feature-team-card { grid-column: span 1; }
    .project-body { padding: 22px; }
    .project-meta { grid-template-columns: 1fr; }
    .project-thumbs { grid-template-columns: repeat(5, 1fr); gap: 5px; }
    .contact-card { padding: 24px; }
}
