:root {
    --ink: #111111;
    --muted: #656565;
    --line: #b9b9b9;
    --soft: #f2f1ef;
    --page-pad: clamp(1.25rem, 4.5vw, 5.25rem);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background: #fff;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

.site-container {
    max-width: 1480px;
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
}

.site-header {
    z-index: 1000;
}

.navbar {
    min-height: 90px;
    padding: 0;
}

.navbar .site-container {
    border-bottom: 1px solid #d7d7d7;
    min-height: 90px;
}

.navbar-brand {
    line-height: 0;
    margin: 0;
    padding: 0;
}

.navbar-brand img {
    display: block;
    width: 190px;
    height: auto;
}

.navbar-nav {
    gap: clamp(1.5rem, 3.5vw, 4.25rem);
}

.nav-link {
    color: var(--ink);
    font-size: .84rem;
    font-weight: 500;
    padding: 2rem 0 !important;
    position: relative;
}

.nav-link::after {
    background: var(--ink);
    bottom: 1.65rem;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    width: 100%;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--ink);
}

.nav-link:hover::after,
.nav-link:focus::after {
    transform: scaleX(1);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    background: var(--ink);
    content: "";
    display: block;
    height: 1px;
    transition: .2s ease;
    width: 28px;
}

.menu-icon::before { transform: translateY(-7px); }
.menu-icon::after { transform: translateY(6px); }

.section-space {
    padding: clamp(3.5rem, 7vw, 7.5rem) 0 clamp(4.5rem, 8vw, 8rem);
}

.eyebrow,
.project-kicker {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 1.65rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(3.2rem, 5.6vw, 6.8rem);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: .96;
    margin: 0 0 2.1rem;
}

.hero-lead {
    color: #424242;
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    margin-bottom: 2.2rem;
}

.site-btn {
    border-radius: 0;
    border-width: 1px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
    min-width: 180px;
    padding: .85rem 1.25rem;
    text-transform: uppercase;
}

.hero-gallery {
    display: grid;
    gap: 12px;
    grid-template-columns: 1.34fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: clamp(510px, 52vw, 730px);
}

.image-frame {
    margin: 0;
    overflow: hidden;
}

.image-frame img,
.manifesto-image img,
.current-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.hero-main {
    grid-row: 1 / 3;
}

.hero-main img { object-position: 45% center; }
.hero-small-top img { object-position: 43% center; }
.hero-small-bottom img { object-position: 68% center; }

.content-section {
    padding-bottom: clamp(4.5rem, 8vw, 8rem);
}

.section-heading {
    align-items: center;
    display: flex;
    gap: clamp(1.25rem, 3vw, 3rem);
    margin-bottom: 2.25rem;
}

.section-heading h2 {
    flex: 0 0 auto;
    font-size: .92rem;
    font-weight: 600;
    margin: 0;
}

.section-heading span {
    background: #8b8b8b;
    height: 1px;
    width: 100%;
}

.philosophy-image {
    height: clamp(330px, 38vw, 530px);
}

.statement {
    font-size: clamp(1.15rem, 1.55vw, 1.48rem);
    line-height: 1.62;
    margin: 0;
    max-width: 500px;
}

.panorama {
    height: clamp(280px, 28vw, 430px);
}

.panorama img {
    object-position: center center;
}

.service-columns {
    margin: 2.3rem auto 0;
    max-width: 1180px;
}

.service-column {
    padding: 0 clamp(1rem, 3.5vw, 4.5rem);
}

.service-column + .service-column {
    border-left: 1px solid #d4d4d4;
}

.service-column h3 {
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 1.1rem;
}

.service-column ul {
    color: #333;
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-column li {
    font-size: .82rem;
    margin-bottom: .38rem;
    padding-left: .95rem;
    position: relative;
}

.service-column li::before {
    content: "–";
    left: 0;
    position: absolute;
}

.project-image {
    background-repeat: no-repeat;
    background-size: cover;
    height: clamp(300px, 33vw, 470px);
    filter: grayscale(1);
}

.project-image-left {
    background-image: url('../images/project-architecture-model.png');
    background-position: center center;
}

.project-image-center {
    background-image: url('../images/project-prototypes.png');
    background-position: center center;
}

.project-image-right {
    background-image: url('../images/project-3d-printing.png');
    background-position: center center;
}

.project-grid article p {
    font-size: .82rem;
    margin: 1.15rem 0 0;
}

.project-grid article p b {
    font-weight: 700;
    margin-right: .25rem;
}

.manifesto {
    background: var(--soft);
    margin-bottom: clamp(4.5rem, 8vw, 8rem);
}

.manifesto-copy {
    min-height: 620px;
    padding: clamp(3rem, 8vw, 8.5rem);
}

.manifesto-copy p {
    font-size: clamp(2rem, 3vw, 3.5rem);
    letter-spacing: -.035em;
    line-height: 1.25;
    margin: 0;
}

.manifesto-image {
    height: 620px;
    overflow: hidden;
}

.manifesto-image img {
    object-position: 75% center;
    transform: scale(1.18);
}

.current-image {
    min-height: 400px;
}

.current-image img {
    object-position: 35% center;
}

.floor-plan {
    background-color: #fafafa;
    background-image: linear-gradient(rgba(17,17,17,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,17,.035) 1px, transparent 1px);
    background-size: 18px 18px;
    border: 1px solid #ebebeb;
    min-height: 400px;
    overflow: hidden;
    position: relative;
    transform: rotate(-2deg);
}

.room {
    border: 2px solid #9b9b9b;
    display: block;
    position: absolute;
}

.room::after {
    border-top: 1px solid #bcbcbc;
    content: "";
    left: 10%;
    position: absolute;
    top: 52%;
    width: 80%;
}

.room-a { height: 30%; left: 10%; top: 11%; width: 36%; }
.room-b { height: 30%; right: 10%; top: 11%; width: 36%; }
.room-c { bottom: 11%; height: 30%; left: 10%; width: 36%; }
.room-d { bottom: 11%; height: 30%; right: 10%; width: 36%; }

.atrium {
    align-items: center;
    border: 1px dashed #a7a7a7;
    display: flex;
    font-size: .58rem;
    height: 18%;
    justify-content: center;
    left: 40%;
    letter-spacing: .12em;
    position: absolute;
    top: 41%;
    width: 20%;
}

.project-note {
    padding: clamp(1rem, 3vw, 3.5rem);
}

.project-note h3 {
    font-size: clamp(1.5rem, 2.2vw, 2.25rem);
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.3;
    margin: 0 0 1.5rem;
    text-transform: uppercase;
}

.project-note > p:last-child {
    color: #4b4b4b;
    max-width: 360px;
}

.site-footer {
    padding: 1rem 0 2rem;
}

.footer-title-row {
    align-items: end;
    border-bottom: 1px solid #c6c6c6;
    display: flex;
    justify-content: space-between;
    padding-bottom: 2.2rem;
}

.footer-title-row h2 {
    font-size: clamp(2.5rem, 4.5vw, 5rem);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: .92;
    margin: 0;
}

.footer-logo {
    height: auto;
    margin-bottom: .25rem;
    width: 160px;
}

.footer-info {
    padding: 2.3rem 0 3.5rem;
}

.footer-item {
    border-right: 1px solid #ddd;
    min-height: 76px;
}

.footer-item h3 {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .15em;
    margin-bottom: .7rem;
    text-transform: uppercase;
}

.footer-item p,
.footer-item a {
    color: #3f3f3f;
    font-size: .82rem;
    margin: 0;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    color: #777;
    padding-top: 1rem;
}

.footer-bottom p {
    font-size: .65rem;
    letter-spacing: .06em;
    margin: 0;
    text-transform: uppercase;
}

@media (max-width: 1199.98px) {
    .hero-gallery { height: 620px; }
    .manifesto-copy, .manifesto-image { min-height: 520px; height: 520px; }
}

@media (max-width: 991.98px) {
    .navbar, .navbar .site-container { min-height: 74px; }
    .navbar-brand img { width: 155px; }
    .navbar-toggler {
        align-items: center;
        display: flex;
        height: 34px;
        justify-content: center;
        width: 34px;
    }
    .navbar-collapse { padding: 1rem 0 1.5rem; }
    .navbar-nav { align-items: flex-start !important; gap: 0; }
    .nav-link { padding: .65rem 0 !important; }
    .nav-link::after { bottom: .5rem; }

    .hero-copy { padding-bottom: 1.5rem; }
    .hero h1 { font-size: clamp(3.6rem, 10vw, 6rem); }
    .hero-gallery { height: min(700px, 90vw); }
    .statement { max-width: 100%; }
    .manifesto-copy { min-height: auto; height: auto; padding: 5rem var(--page-pad); }
    .manifesto-image { height: min(70vw, 560px); }
    .project-note { padding: 2rem 0 0; }
}

@media (max-width: 767.98px) {
    body { font-size: 14px; }
    .section-space { padding-top: 3rem; }
    .hero h1 { font-size: clamp(3.25rem, 15vw, 5.2rem); }
    .hero-gallery {
        gap: 7px;
        grid-template-columns: 1.35fr 1fr;
        height: 118vw;
        max-height: 680px;
    }
    .philosophy-image { height: 78vw; }
    .panorama { height: 64vw; }
    .service-columns { margin-top: 1.6rem; }
    .service-column { padding: 0; }
    .service-column + .service-column { border-left: 0; border-top: 1px solid #ddd; margin-top: 1.75rem; padding-top: 1.75rem; }
    .project-image { height: 112vw; max-height: 520px; }
    .project-grid article p { margin-top: .75rem; }
    .manifesto-copy p { font-size: clamp(1.9rem, 8vw, 3rem); }
    .manifesto-image { height: 88vw; }
    .current-image, .floor-plan { min-height: 90vw; }
    .footer-item { border-right: 0; }
}

@media (max-width: 575.98px) {
    :root { --page-pad: 25px; }
    .navbar-brand img { width: 138px; }
    .hero h1 { font-size: clamp(3rem, 13.2vw, 3.55rem); }
    .hero-lead { max-width: 320px; }
    .hero-gallery { grid-template-columns: 1fr; grid-template-rows: 1.6fr 1fr; height: 155vw; }
    .hero-main { grid-column: 1; grid-row: 1; }
    .hero-small-top, .hero-small-bottom { grid-row: 2; }
    .hero-small-top { clip-path: inset(0 50% 0 0); grid-column: 1; }
    .hero-small-bottom { clip-path: inset(0 0 0 50%); grid-column: 1; }
    .hero-small-top img { width: 200%; }
    .hero-small-bottom img { margin-left: -100%; width: 200%; }
    .footer-title-row { align-items: flex-start; flex-direction: column; gap: 2rem; }
    .footer-logo { width: 135px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
