@font-face {
    font-family: 'Work Sans';
    src: url('work-sans.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: light;
    --ink: #181b16;
    --paper: #f7f6f0;
    --green: #d7e4c9;
    --gutter: clamp(1.25rem, 6vw, 7rem);
    font-family: 'Work Sans', Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; width: 100%; }
a { color: inherit; text-underline-offset: .3em; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.skip { position: absolute; z-index: 5; top: 1rem; left: 1rem; padding: .75rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.header {
    padding: 1.15rem var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: var(--paper);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; line-height: .95; font-weight: 650; text-decoration: none; }
.brand img { width: 48px; height: auto; }
.header nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2.5rem); font-size: .9375rem; }
.header nav a { text-decoration: none; }
.header nav a:hover { text-decoration: underline; }
.contact-link { border: 1px solid #a8ab9e; border-radius: 50px; padding: .55rem 1rem; }

.hero {
    min-height: min(780px, calc(100svh - 75px));
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    background: #23261e url('living.jpg') center / cover;
    color: white;
}
.hero video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero video { object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, #11150fe8, #11150f62 65%, #11150f22), linear-gradient(0deg, #11150f70, transparent 60%); }
.hero-content { padding: clamp(6rem, 12vh, 10rem) var(--gutter) clamp(5rem, 11vh, 8rem); }
.eyebrow { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; margin: 0 0 1rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 540; letter-spacing: -.07em; line-height: .92; }
h1 { font-size: clamp(3.8rem, 9.5vw, 10rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(2.75rem, 6vw, 6.4rem); margin-bottom: 0; }
.hero-content > p:not(.eyebrow) { font-size: clamp(1.05rem, 1.8vw, 1.35rem); max-width: 31rem; line-height: 1.45; }
.button { display: inline-block; padding: .85rem 1.2rem; margin-top: .5rem; border-radius: 50px; background: var(--green); color: var(--ink); font-weight: 550; text-decoration: none; }
.button:hover { background: white; }
.playback { position: absolute; right: var(--gutter); bottom: 1.25rem; border: 1px solid #ffffff80; border-radius: 50px; background: #141612b0; color: white; padding: .55rem .9rem; cursor: pointer; font-size: .875rem; }

.section { padding: clamp(3.5rem, 8vw, 8rem) var(--gutter); }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 2rem; }
.text-link { font-weight: 550; }
.projects { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(.8rem, 2vw, 2rem); }
.projects figure { margin: 0; }
.projects img { aspect-ratio: 1 / 1.03; object-fit: cover; background: #e0ded4; }
.projects figcaption { padding-top: .75rem; font-weight: 550; }
.services, .studio, .footer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); }
.services { background: var(--green); }
.service-list article { border-top: 1px solid #18211540; padding: 1.2rem 0; }
.service-list h3 { margin-bottom: .4rem; font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 570; }
.service-list p, .studio div > p:not(.eyebrow) { line-height: 1.6; }
.service-list p { margin-bottom: 0; max-width: 42ch; }
.studio { align-items: center; }
.studio img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.studio h2 { margin-bottom: 1.4rem; }
.studio div > p:last-child { margin-bottom: 0; }
.footer { background: #171c16; color: var(--paper); align-items: end; }
.footer address { display: grid; gap: .8rem; font-style: normal; overflow-wrap: anywhere; }
.footer address p { margin: 0; }
.footer-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; border-top: 1px solid #ffffff40; padding-top: 1.25rem; font-size: .875rem; }

@media (max-width: 740px) {
    .services, .studio, .footer { grid-template-columns: 1fr; }
    .studio img { order: 1; }
    .projects { grid-template-columns: 1fr 1fr; }
    .projects figure:first-child { grid-column: 1 / -1; }
    .projects figure:first-child img { aspect-ratio: 4 / 3; }
}

@media (max-width: 440px) {
    .header { flex-wrap: wrap; }
    .header nav { width: 100%; justify-content: space-between; }
    .hero { min-height: 70svh; }
}
