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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f7f1e8;
    color: #111111;
    line-height: 1.15;
    overflow-x: hidden;
}

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

img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.topbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 32px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 241, 232, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.brand {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.menu {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    font-weight: 500;
}

.menu a {
    position: relative;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.menu a:hover::after {
    transform: scaleX(1);
}

main {
    width: 100%;
}

.hero {
    min-height: auto;
    padding: 42px 32px 32px;
    display: block;
}

.hero-left {
    background: #ff5a36;
    color: #111111;
    padding: 34px;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 28px;
}

.hero-full {
    width: 100%;
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(4.8rem, 10vw, 11rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
    max-width: 11ch;
}

.hero-text {
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 500;
}

.image-frame {
    overflow: hidden;
    border-radius: 28px;
    background: #d9d1c7;
}

.hero-right {
    min-height: 640px;
}

.split-section {
    padding: 0 32px 32px;
    display: grid;
    grid-template-columns: 1fr 0.78fr;
    gap: 28px;
    align-items: stretch;
}

.text-block {
    border-radius: 28px;
    background: #111111;
    color: #f7f1e8;
    padding: 34px;
    display: flex;
}

.research-copy {
    align-items: stretch;
}

.research-copy > div {
    width: 100%;
}

.research-copy h2 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    max-width: 7ch;
}

.research-copy p {
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 500;
    max-width: 62ch;
}

.research-copy p + p {
    margin-top: 18px;
}

.project-side-image {
    min-height: 620px;
}

.statement-grid {
    padding: 0 32px 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.statement-card {
    border-radius: 28px;
    padding: 28px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.statement-card h2 {
    font-size: 2rem;
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.statement-card p {
    font-size: 0.98rem;
    line-height: 1.4;
    font-weight: 500;
    max-width: 25ch;
}

.small-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.accent {
    background: #f3d34a;
    color: #111111;
}

.light {
    background: #f2e7dc;
    color: #111111;
}

.dark {
    background: #111111;
    color: #f7f1e8;
}

.gallery-strip {
    padding: 0 32px 40px;
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 28px;
    align-items: start;
}

.lex-feature {
    grid-template-columns: minmax(0, 1.9fr) minmax(320px, 0.7fr);
    gap: 36px;
    align-items: start;
}

.gallery-text {
    padding: 8px 0;
}

.lex-text-block {
    padding-top: 8px;
    padding-right: 10px;
}

.gallery-text h2 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    max-width: 8ch;
    margin-bottom: 20px;
}

.project-description {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    max-width: 34ch;
    margin-bottom: 22px;
}

.project-link {
    font-size: 0.82rem;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.04em;
    word-break: break-word;
}

.project-link a {
    border-bottom: 1px solid #111111;
}

.gallery-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.gallery-images > * {
    align-self: start;
}

.lex-image-block {
    display: block;
}

.square {
    aspect-ratio: 1.28 / 1;
}

.wide {
    aspect-ratio: 1.35 / 1;
}

.single-image {
    grid-template-columns: 1fr;
}

.lex-frame {
    aspect-ratio: 1.7 / 1;
    min-height: 0;
}

.lex-frame img {
    object-fit: contain;
    object-position: center;
    background: #49d04f;
}

.offset {
    margin-top: 0;
}

.reverse-layout {
    grid-template-columns: 1.12fr 0.88fr;
}

.reverse-layout .gallery-text {
    order: 2;
}

.reverse-layout .gallery-images {
    order: 1;
}

.references-section {
    margin: 0 32px 40px;
    padding: 30px 34px 34px;
    border-radius: 28px;
    background: #efe6da;
    color: #111111;
}

.references-list {
    display: grid;
    gap: 14px;
    max-width: 86ch;
}

.references-list p {
    font-size: 0.94rem;
    line-height: 1.55;
    font-weight: 500;
    word-break: break-word;
}

.site-footer {
    padding: 24px 32px 36px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .hero,
    .split-section,
    .gallery-strip,
    .reverse-layout {
        grid-template-columns: 1fr;
    }

    .statement-grid {
        grid-template-columns: 1fr;
    }

    .reverse-layout .gallery-text,
    .reverse-layout .gallery-images {
        order: initial;
    }

    .lex-feature {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lex-text-block {
        padding-right: 0;
    }
}

@media (max-width: 720px) {
    .topbar {
        padding: 18px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .menu {
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero,
    .split-section,
    .statement-grid,
    .gallery-strip {
        padding-left: 18px;
        padding-right: 18px;
        gap: 18px;
    }

    .hero {
        padding-top: 24px;
    }

    .hero-left,
    .text-block,
    .statement-card,
    .image-frame,
    .references-section {
        border-radius: 20px;
    }

    .hero-left,
    .text-block,
    .statement-card,
    .references-section {
        padding: 22px;
    }

    .gallery-images {
        grid-template-columns: 1fr;
    }

    .offset {
        margin-top: 0;
    }

    .references-section {
        margin-left: 18px;
        margin-right: 18px;
    }

    .site-footer {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* motion upgrade */
html {
    scroll-behavior: smooth;
}

.motion-rise {
    opacity: 0;
    transform: translateY(28px);
    animation: softRise 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: transform, opacity;
}

.delay-1 {
    animation-delay: 0.12s;
}

.delay-2 {
    animation-delay: 0.24s;
}

@keyframes softRise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.statement-card,
.image-frame,
.menu a,
.gallery-text,
.hero-left,
.text-block {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, filter 0.35s ease;
}

.statement-card:hover,
.image-frame:hover,
.gallery-text:hover {
    transform: translateY(-6px);
}

.image-frame {
    overflow: hidden;
}

.image-frame img {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.image-frame:hover img {
    transform: scale(1.045);
    filter: saturate(1.03) contrast(1.02);
}

.menu a {
    position: relative;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    opacity: 0.75;
}

.menu a:hover::after {
    transform: scaleX(1);
}

/* scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}