:root {
    --ink: #111;
    --body: #444;
    --muted: #e8e8e8;
    --socket: #282b2e;
    --card: #ececec;
    --header: 92px;
    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--body);
    background: #fff;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip {
    position: absolute;
    left: -999px;
    top: 0;
}
.skip:focus { left: 8px; background: #fff; z-index: 100; padding: 8px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    height: var(--header);
}
.header-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 28px;
}
.logo img {
    height: 74px;
    width: auto;
}
.menu-toggle {
    justify-self: end;
    margin-right: 28px;
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 46px;
    height: 46px;
    position: relative;
}
.menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.burger, .burger span, .burger::before, .burger::after {
    display: block;
    width: 26px;
    height: 2px;
    background: #222;
    position: relative;
}
.burger { margin: 0 auto; }
.burger::before, .burger::after {
    content: "";
    position: absolute;
    left: 0;
}
.burger::before { top: -8px; }
.burger::after { top: 8px; }
body.nav-open .burger { background: transparent; }
body.nav-open .burger::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger::after { top: 0; transform: rotate(-45deg); }
.header-social {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
    justify-self: end;
}
.header-social a {
    width: 22px;
    height: 22px;
    display: block;
    color: #222;
}
.header-social svg { width: 22px; height: 22px; fill: currentColor; }
.socket-social a, .socket-social svg { color: #fff; }

.overlay-nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(20, 20, 20, 0.78);
    display: grid;
    place-items: center;
    padding: calc(var(--header) + 20px) 20px 40px;
}
.overlay-nav[hidden] { display: none; }
.overlay-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}
.overlay-menu > li > a {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px, 6vw, 68px);
    letter-spacing: 0.12em;
    color: #fff;
    text-decoration: none;
    line-height: 1.15;
    display: inline-block;
    padding: 4px 0;
}
.overlay-menu ul {
    list-style: none;
    margin: 6px 0 10px;
    padding: 0;
    display: none;
}
.overlay-menu li.open > ul { display: block; }
.overlay-menu ul a {
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.22em;
    font-size: 14px;
    font-weight: 500;
}
.overlay-menu a.has-sub::after {
    content: "›";
    display: inline-block;
    margin-left: 18px;
    font-family: var(--sans);
    font-size: 0.55em;
    transform: translateY(-6px);
}

.home-hero {
    min-height: calc(100vh - var(--header));
    background-size: cover;
    background-position: center top;
}
.page-hero {
    position: relative;
    min-height: 52vh;
    background-size: cover;
    background-position: center;
    display: grid;
    align-items: center;
    justify-items: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 72%);
    margin-bottom: 10px;
}
.hero-shade {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.62);
    display: grid;
    place-items: center;
    padding: 40px 20px 80px;
}
.page-hero h1, .section-title, .feature h2, .customers h2, .prose h2, .person h2, .contact-grid h2, .process h2, .process h3, .split-services h2, .cta-band h2, .gallery-note {
    font-family: var(--sans);
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(32px, 4.4vw, 54px);
    margin: 0;
    max-width: 14em;
    line-height: 1.15;
}

.quote-block {
    max-width: 760px;
    margin: 64px auto 20px;
    padding: 0 24px;
}
.quote-block blockquote {
    margin: 0;
}
.quote-block p {
    margin: 0;
    color: #000;
    font-size: 19px;
    line-height: 1.5;
    font-style: italic;
    font-weight: 400;
}
.signature {
    width: 180px;
    margin-left: auto;
    margin-top: 8px;
}

.feature-row {
    max-width: 1180px;
    margin: 36px auto 10px;
    padding: 0 24px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.feature { text-decoration: none; }
.feature h2 {
    font-size: 26px;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #111;
}
.feature img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.project-carousel {
    position: relative;
    max-width: 1280px;
    margin: 30px auto 20px;
    padding: 0 54px;
}
.carousel-window { overflow: hidden; }
.carousel-track {
    display: flex;
    gap: 12px;
    transition: transform 0.45s ease;
}
.carousel-slide {
    flex: 0 0 calc(25% - 9px);
    position: relative;
    text-decoration: none;
    color: #fff;
}
.carousel-slide img {
    width: 100%;
    aspect-ratio: 845 / 684;
    object-fit: cover;
}
.carousel-slide span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 12px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,.55));
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}
.carousel-nav, .lightbox-prev, .lightbox-next, .lightbox-close, .to-top {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #333;
}
.carousel-nav {
    position: absolute;
    top: 40%;
    font-size: 42px;
    line-height: 1;
}
.carousel-nav.prev { left: 8px; }
.carousel-nav.next { right: 8px; }

.customers { padding: 30px 0 10px; text-align: center; }
.customers h2 { font-size: 16px; font-weight: 700; letter-spacing: 0.04em; }
.logo-slider { overflow: hidden; max-width: 1100px; margin: 0 auto 20px; }
.logo-track {
    display: flex;
    gap: 28px;
    align-items: center;
    width: max-content;
    animation: marquee 28s linear infinite;
}
.logo-track img { width: 120px; height: 120px; object-fit: contain; }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.reviews { max-width: 1100px; margin: 0 auto 40px; padding: 0 20px; min-height: 80px; }

.tile-board { max-width: 1200px; margin: 10px auto 40px; padding: 0 18px; }
.tile-row {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}
.tile-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tile-row.cols-1 { grid-template-columns: minmax(0, 360px); }
.work-tile {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}
.work-tile img {
    width: 100%;
    aspect-ratio: 845 / 684;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.work-tile span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px;
    text-align: center;
    background: rgba(0,0,0,.38);
    opacity: 0;
    font-size: 22px;
    letter-spacing: 0.04em;
    transition: opacity 0.25s ease;
}
.work-tile:hover img { transform: scale(1.04); }
.work-tile:hover span, .work-tile:focus-visible span { opacity: 1; }

.project-copy {
    max-width: 860px;
    margin: 10px auto 30px;
    padding: 0 24px;
    text-align: center;
    color: #333;
}
.gallery-note { font-size: 22px; margin-top: 28px; }
.gallery {
    max-width: 1100px;
    margin: 0 auto 40px;
    display: grid;
    gap: 8px;
}
.gallery-item {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}
.gallery-item img { width: 100%; }

.clients { max-width: 1000px; margin: 10px auto 50px; padding: 0 20px 20px; }
.logo-grid {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 24px;
    align-items: center;
}
.logo-grid img { width: 140px; height: 140px; object-fit: contain; margin: 0 auto; }

.split-services, .process-inner, .people, .contact-grid, .prose, .spotlight-grid, .daily {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 24px 30px;
}
.split-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: -30px;
}
.split-services article, .process article {
    background: var(--card);
    text-align: center;
    padding: 54px 28px 32px;
    position: relative;
}
.split-services article::before, .process article::before {
    content: "";
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #111 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M6 9l6 6 6-6'/></svg>") center 16px / 22px no-repeat;
    position: absolute;
    top: -27px;
    left: 50%;
    transform: translateX(-50%);
}
.split-services h2, .process h3 { font-size: 26px; margin: 0 0 12px; }
.process {
    margin: 40px 0;
    padding: 70px 0 40px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.process-inner h2 { font-size: 40px; margin: 0 0 36px; }
.process article { margin: 0 auto 34px; max-width: 820px; }
.cta-band { text-align: center; padding: 10px 20px 50px; }
.cta-band h2 { font-size: 28px; }
.text-link { letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; }

.prose.center { text-align: center; }
.prose h2 { font-size: 28px; }
.philosophy { font-size: 20px; color: #000; }
.person {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: start;
    margin: 10px 0 48px;
}
.person img { width: 100%; }
.person h2 { text-align: left; margin: 0; }
.role { margin-top: 0; font-weight: 600; color: #000; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 60px;
}
.contact-grid h2 { font-size: 22px; text-align: left; }
.contact-grid a { color: #111; }

.spotlight-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    align-items: center;
    padding-bottom: 60px;
}
.spotlight-grid img { max-height: 90px; width: auto; margin: 0 auto; }

.daily-follow { text-align: center; }
.daily-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.daily-grid a { position: relative; display: block; color: #fff; text-decoration: none; }
.daily-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.daily-grid span {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    font-size: 14px;
}

.site-footer { padding: 36px 8vw 20px; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.site-footer h2 {
    margin: 0 0 16px;
    font-size: 17px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
}
.studio-name { margin-top: 28px; }
.topmove { display: flex; align-items: center; gap: 28px; }
.topmove img { width: 110px; height: 110px; }
.topmove-link { font-weight: 700; font-size: 18px; text-decoration: none; color: #000; }
.studio-contact a { text-decoration: none; }
.fb-fallback { display: inline-block; margin-top: 8px; }
.houzz, .site-footer img { max-width: 193px; }

.socket { background: var(--socket); color: var(--muted); }
.socket-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 28px;
    font-size: 11px;
}
.socket p { margin: 0; }

.to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 36px;
    height: 36px;
    border-radius: 2px;
    background: rgba(40,40,40,.75);
    color: #fff;
    font-size: 18px;
    z-index: 20;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 80;
    display: grid;
    grid-template-columns: 64px 1fr 64px;
    align-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 100%; margin: 0 auto; }
.lightbox-close, .lightbox-prev, .lightbox-next { color: #fff; font-size: 40px; }
.lightbox-close { position: absolute; top: 12px; right: 16px; }

@media (max-width: 900px) {
    .feature-row, .footer-grid, .contact-grid, .split-services, .daily-grid { grid-template-columns: 1fr 1fr; }
    .person { grid-template-columns: 1fr; }
    .carousel-slide { flex-basis: calc(50% - 8px); }
    .tile-row.cols-3 { grid-template-columns: 1fr; }
    .logo-grid { grid-template-columns: repeat(3, 1fr); }
    .header-inner { padding: 0 12px; }
    .menu-toggle { margin-right: 8px; }
}
@media (max-width: 640px) {
    .feature-row, .footer-grid, .contact-grid, .split-services, .daily-grid, .logo-grid { grid-template-columns: 1fr; }
    .carousel-slide { flex-basis: 100%; }
    .topmove { flex-direction: column; align-items: flex-start; }
    .logo img { height: 58px; }
    :root { --header: 74px; }
}
