:root {
    --ink: #161616;
    --paper: #f5f5f2;
    --soft: #e7e7e2;
    --line: #cecec7;
    --muted: #777770;
    --body-copy: #50504b;
    --white: #fdfdfb;
    --max-width: 1360px;
    --radius: 2px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

img {
    display: block;
    width: 100%;
}
a {
    color: inherit;
}
button,
a {
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 20;
    padding: 10px 14px;
    color: var(--paper);
    background: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header,
.section-shell {
    width: min(calc(100% - 80px), var(--max-width));
    margin-inline: auto;
}

.site-header {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.wordmark,
.site-nav,
.hero-actions,
.contact-links,
.site-footer {
    display: flex;
    align-items: center;
}

.wordmark {
    gap: 12px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.wordmark-mark {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ink);
    font-family: "Arial", sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.site-nav {
    gap: clamp(18px, 3vw, 46px);
    font-size: 12px;
}
.site-nav a {
    text-decoration: none;
}
.site-nav a:not(.nav-contact) {
    color: var(--muted);
}
.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--ink);
}
.nav-contact {
    padding-bottom: 4px;
    border-bottom: 1px solid var(--ink);
}

.hero {
    min-height: min(730px, calc(100dvh - 78px));
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    gap: clamp(48px, 9vw, 150px);
    align-items: center;
    padding-block: clamp(54px, 8vw, 104px);
}

.hero-copy {
    max-width: 600px;
}
.eyebrow {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Arial", sans-serif;
    font-weight: 500;
    letter-spacing: -0.055em;
}
h1 {
    max-width: 690px;
    font-size: clamp(48px, 6.4vw, 94px);
    line-height: 0.97;
}
h2 {
    max-width: 650px;
    font-size: clamp(38px, 4.6vw, 66px);
    line-height: 0.98;
}
h3 {
    font-size: clamp(30px, 3.2vw, 49px);
    line-height: 1;
}

.hero-intro {
    max-width: 450px;
    margin: 32px 0 0;
    color: var(--body-copy);
    font-size: 16px;
    line-height: 1.65;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 38px;
}
.button {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition:
        transform 220ms var(--ease),
        background 220ms var(--ease),
        color 220ms var(--ease);
}
.button-dark {
    color: var(--paper);
    background: var(--ink);
}
.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}
.button-dark:hover,
.button-dark:focus-visible {
    color: var(--ink);
    background: transparent;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}
.text-link span {
    font-size: 16px;
    transition: transform 220ms var(--ease);
}
.text-link:hover span,
.text-link:focus-visible span {
    transform: translate(3px, -3px);
}

.hero-visual {
    position: relative;
    max-width: 480px;
    justify-self: end;
}
.hero-visual::before {
    content: "";
    position: absolute;
    top: -16px;
    left: -16px;
    width: 44px;
    height: 44px;
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--ink);
}
.hero-visual img {
    aspect-ratio: 0.74;
    object-fit: cover;
    object-position: 50% 10%;
    filter: grayscale(1) contrast(1.05);
}
.image-caption {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.intro-band,
.projects-section,
.contact-section {
    padding-block: clamp(100px, 14vw, 190px);
}
.intro-band {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: clamp(48px, 10vw, 170px);
    border-top: 1px solid var(--line);
}
.approach-copy > p {
    max-width: 420px;
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
}
.approach-list {
    margin-top: 60px;
    border-top: 1px solid var(--line);
}
.approach-list div {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding-block: 16px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}
.approach-list span {
    color: var(--muted);
}

.projects-section {
    border-top: 1px solid var(--line);
}
.projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 68px;
}
.projects-count {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 11px;
}
.projects-count span {
    color: var(--ink);
    font-family: "Arial", sans-serif;
    font-size: 18px;
}
.project-browser {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(40px, 8vw, 120px);
}
.project-list {
    border-top: 1px solid var(--ink);
}
.project-tab {
    width: 100%;
    display: grid;
    grid-template-columns: 36px 1fr 20px;
    gap: 12px;
    align-items: start;
    padding: 24px 0 23px;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition:
        color 220ms var(--ease),
        padding 220ms var(--ease);
}
.project-tab:hover,
.project-tab:focus-visible,
.project-tab.is-active {
    color: var(--ink);
}
.project-tab.is-active {
    padding-left: 14px;
}
.tab-index {
    font-family: "Arial", sans-serif;
    font-size: 12px;
}
.tab-info {
    display: grid;
    gap: 7px;
}
.tab-info strong {
    font-size: 16px;
    font-weight: 500;
}
.tab-info small {
    font-size: 11px;
}
.tab-arrow {
    font-size: 17px;
    opacity: 0;
    transition:
        opacity 220ms var(--ease),
        transform 220ms var(--ease);
}
.project-tab:hover .tab-arrow,
.project-tab:focus-visible .tab-arrow,
.project-tab.is-active .tab-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

.project-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
    gap: clamp(24px, 4vw, 54px);
    align-items: start;
}
.main-image-wrap {
    position: relative;
    background: var(--soft);
}
.main-image-wrap img {
    aspect-ratio: 1.08;
    object-fit: cover;
    filter: grayscale(1) contrast(1.04);
    transition: opacity 180ms ease;
}
.gallery-status {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 9px;
    color: var(--paper);
    background: rgb(22 22 22 / 0.78);
    font-size: 10px;
    letter-spacing: 0.1em;
}
.thumbnail-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}
.thumbnail {
    padding: 0;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
}
.thumbnail.is-active {
    border-color: var(--ink);
}
.thumbnail img {
    aspect-ratio: 1.2;
    object-fit: cover;
    filter: grayscale(1);
    opacity: 0.6;
    transition: opacity 180ms ease;
}
.thumbnail:hover img,
.thumbnail:focus-visible img,
.thumbnail.is-active img {
    opacity: 1;
}
.detail-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.detail-meta span + span {
    position: relative;
}
.detail-meta span + span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -11px;
    width: 3px;
    height: 1px;
    background: var(--muted);
}
.detail-copy > p {
    max-width: 360px;
    margin: 28px 0 0;
    color: var(--body-copy);
    font-size: 15px;
    line-height: 1.65;
}
.detail-facts {
    margin-top: 48px;
    border-top: 1px solid var(--line);
}
.detail-facts div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-block: 13px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
}
.detail-facts span {
    color: var(--muted);
}
.detail-facts strong {
    font-weight: 500;
    text-align: right;
}
.detail-link {
    margin-top: 34px;
}

.contact-section {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: clamp(32px, 8vw, 130px);
    border-top: 1px solid var(--line);
}
.contact-mark {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ink);
    font-family: "Arial", sans-serif;
    font-size: 38px;
}
.contact-copy h2 {
    max-width: 730px;
}
.contact-copy > p:not(.eyebrow) {
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 15px;
}
.contact-links {
    flex-wrap: wrap;
    gap: 18px 44px;
    margin-top: 58px;
}
.contact-links a {
    display: grid;
    gap: 8px;
    text-decoration: none;
}
.contact-links span {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.contact-links strong {
    font-size: 14px;
    font-weight: 500;
}
.contact-links a:hover strong,
.contact-links a:focus-visible strong {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer {
    justify-content: space-between;
    gap: 24px;
    min-height: 90px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
}
.site-footer p {
    margin: 0;
}
.site-footer a {
    text-decoration: none;
}
.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
}

.reveal-on-load {
    animation: reveal 800ms var(--ease) both;
}
.reveal-delay {
    animation-delay: 120ms;
}
@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 880px) {
    .site-header,
    .section-shell {
        width: min(calc(100% - 40px), var(--max-width));
    }
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
        gap: 42px;
    }
    h1 {
        font-size: clamp(46px, 8vw, 72px);
    }
    .project-browser {
        gap: 44px;
    }
    .project-detail {
        grid-template-columns: 1fr;
    }
    .detail-copy {
        max-width: 540px;
    }
}

@media (max-width: 640px) {
    .site-header,
    .section-shell {
        width: calc(100% - 32px);
    }
    .site-header {
        min-height: 70px;
    }
    .wordmark span:last-child {
        max-width: 138px;
        line-height: 1.2;
    }
    .site-nav {
        gap: 16px;
    }
    .site-nav a:not(.nav-contact) {
        display: none;
    }
    .hero {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 56px;
        padding-block: 64px 94px;
    }
    .hero-visual {
        width: calc(100% - 16px);
        justify-self: end;
    }
    .hero-visual img {
        aspect-ratio: 0.9;
    }
    h1 {
        max-width: 390px;
        font-size: clamp(47px, 14vw, 68px);
    }
    h2 {
        font-size: clamp(38px, 12vw, 58px);
    }
    .hero-intro {
        max-width: 390px;
        font-size: 15px;
    }
    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }
    .intro-band,
    .contact-section {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .intro-band,
    .projects-section,
    .contact-section {
        padding-block: 92px;
    }
    .approach-list {
        margin-top: 42px;
    }
    .projects-header {
        display: block;
        margin-bottom: 48px;
    }
    .projects-count {
        margin-top: 24px;
    }
    .project-browser {
        grid-template-columns: 1fr;
        gap: 42px;
    }
    .project-list {
        order: 2;
    }
    .project-detail {
        order: 1;
    }
    .contact-mark {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
    .contact-links {
        display: grid;
        margin-top: 44px;
    }
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding-block: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --ink: #f2f2ee;
        --paper: #171717;
        --soft: #282824;
        --line: #41413c;
        --muted: #aaa9a0;
        --body-copy: #d2d2cb;
        --white: #f8f8f4;
    }

    .hero-visual::before {
        border-color: var(--ink);
    }
    .button-dark {
        color: var(--paper);
        background: var(--ink);
    }
    .button-dark:hover,
    .button-dark:focus-visible {
        color: var(--ink);
        background: transparent;
    }
    .gallery-status {
        color: var(--paper);
        background: rgb(242 242 238 / 0.2);
    }
}
