:root {
  color-scheme: light;
  --black: #000;
  --white: #fff;
  --soft: #f4f4f4;
  --rule: #c9c9c9;
  --muted: #575757;
  --gutter: clamp(20px, 3.3vw, 64px);
  --header: 66px;
  --vertical: clamp(76px, 10vw, 160px);
  --ease: cubic-bezier(.22, .85, .27, 1);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ol, ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
button, summary, input { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
img { width: 100%; height: auto; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { background: var(--black); color: var(--white); }
.dark ::selection, .footer ::selection { background: var(--white); color: var(--black); }

.skip { position: fixed; z-index: 10; top: 12px; left: var(--gutter); padding: 12px 18px; background: var(--white); transform: translateY(-180%); }
.skip:focus { transform: none; }
.masthead { position: sticky; z-index: 5; top: 0; height: var(--header); padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; background: var(--white); border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 22px; font-weight: 700; letter-spacing: -.045em; }
.brand-mark { width: 17px; height: 17px; border: 1px solid; position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 3px 0 0 5px; background: var(--black); }
.header-actions, .languages { display: flex; align-items: center; }
.header-actions { gap: clamp(16px, 3vw, 48px); }
.languages { gap: 10px; }
.languages a, .menu summary { display: flex; align-items: center; min-height: 44px; padding: 0 3px; font-size: .875rem; }
.languages a { color: var(--muted); }
.languages [aria-current] { color: var(--black); text-decoration: underline; text-underline-offset: 4px; }
.menu summary { gap: 9px; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-close, .menu[open] .menu-open { display: none; }
.menu[open] .menu-close { display: inline; }
.menu-icon { width: 15px; height: 10px; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; width: 100%; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.menu-icon::after { bottom: 0; }
.menu[open] .menu-icon::before { transform: translateY(4.5px) rotate(45deg); }
.menu[open] .menu-icon::after { transform: translateY(-4.5px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: calc(var(--header) - 1px); width: min(100%, 560px); display: grid; padding: 25px var(--gutter) 38px; background: var(--white); border: 1px solid var(--rule); }
.menu[open] .menu-panel { animation: menu-in .36s var(--ease) both; }
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); transform: translateY(-8px); } to { clip-path: inset(0); transform: none; } }
.menu-panel a { display: block; padding-block: 13px; border-bottom: 1px solid var(--rule); font-size: clamp(26px, 4vw, 46px); letter-spacing: -.05em; }
.menu-panel a:hover, .menu-panel a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }

.hero { isolation: isolate; position: relative; color: var(--white); background: var(--black); overflow: hidden; }
.hero-image, .hero-image::after, .hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -1; }
.hero-image img { object-fit: cover; object-position: 58% center; transform: translate3d(0, var(--parallax, 0px), 0) scale(1.025); }
.hero-image::after { content: ""; background: linear-gradient(180deg, #0009 0%, transparent 23%, #0002 44%, #000a 78%, #0009 100%); }
.hero-inner { min-height: calc(100vh - var(--header)); min-height: calc(100svh - var(--header)); display: grid; grid-template-rows: auto 1fr auto; gap: 22px; padding: 23px var(--gutter) 25px; }
.hero-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #fffa; padding-bottom: 15px; font-size: .875rem; line-height: 1.35; text-shadow: 0 1px 4px #000; }
.hero-meta-bottom { border-bottom: 0; padding: 0; margin-top: 4px; }
.hero-meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-content { align-self: end; padding-block: clamp(28px, 5vh, 52px) 8px; }
.hero-content > p { font-size: clamp(15px, 1.5vw, 19px); margin-bottom: 16px; text-shadow: 0 1px 5px #000; }
.hero-title { font-weight: 300; font-size: clamp(62px, 11.2vw, 178px); line-height: .93; letter-spacing: -.08em; margin-left: -.045em; margin-bottom: clamp(22px, 4vh, 42px); }
.hero-title > span { display: block; overflow: hidden; padding: 0 .095em .12em .05em; margin-bottom: -.12em; }
.hero-title > span > span { display: block; animation: title-in .95s var(--ease) both; }
.hero-title > span:nth-child(2) > span { animation-delay: .12s; }
@keyframes title-in { from { transform: translateY(112%); } to { transform: translateY(0); } }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid var(--white); background: var(--white); color: var(--black); font-size: .9rem; transition: background .25s, color .25s; }
.button:hover { background: var(--black); color: var(--white); }
.button:focus-visible { outline-color: var(--white); }
.text-link { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; width: fit-content; }
.text-link:hover { text-decoration-thickness: 2px; }

.section { padding: var(--vertical) var(--gutter); }
.label { font-size: .875rem; line-height: 1.35; }
.display { font-size: clamp(40px, 6.7vw, 112px); font-weight: 300; line-height: .99; letter-spacing: -.067em; text-wrap: balance; }
.section-title { margin-bottom: clamp(30px, 5.1vw, 72px); }
.section-title .display, .page-title .display { margin-top: 17px; }
.section-copy { max-width: 42ch; font-size: clamp(16px, 1.6vw, 21px); line-height: 1.5; margin-top: 19px; }
.heading-clip { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .04em .13em 0; margin: 0 -.04em -.13em 0; }
.heading-clip > span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease); transition-delay: calc(var(--word, 0) * 28ms); }
.is-visible .heading-clip > span { transform: translateY(0); }
.media { overflow: hidden; background: var(--soft); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.motion [data-reveal] { clip-path: inset(0 0 14% 0); transition: clip-path 1.02s var(--ease); }
.motion [data-reveal].is-visible, .motion [data-reveal]:focus-within { clip-path: inset(0); }
.dark, .footer { background: var(--black); color: var(--white); }
.studio-intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); align-items: end; }
.studio-intro .section-title { align-self: center; margin-bottom: 0; }
.studio-intro .display { font-size: clamp(36px, 5.3vw, 84px); text-wrap: initial; }
.about-media { aspect-ratio: 4 / 3; }
.studio-strip { grid-column: 1 / -1; border-block: 1px solid var(--rule); margin-top: clamp(32px, 6vw, 80px); padding-block: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .95rem; }
.spread { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: clamp(30px, 5vw, 68px); }
.spread .text-link { flex-shrink: 0; }
.feature, .project-card { display: block; }
.feature-media { aspect-ratio: 2 / 1; }
.feature-media img, .project-card img, .service-media img { transition: transform .8s var(--ease); }
.feature:hover img, .project-card:hover img { transform: scale(1.045); }
.feature-caption { display: grid; grid-template-columns: 2fr 1fr auto; align-items: end; gap: 20px; padding-block: 17px 32px; }
.feature-caption h3, .project-card h2, .service h3, .process h3 { font-size: clamp(23px, 3vw, 43px); font-weight: 400; letter-spacing: -.045em; }
.feature-caption .label { color: #c3c3c3; margin-bottom: 7px; }
.project-index { border-top: 1px solid #6d6d6d; }
.project-row { display: grid; grid-template-columns: 2fr 1fr 1fr auto; align-items: center; gap: 15px; padding: 20px 0; border-bottom: 1px solid #6d6d6d; transition: padding .35s var(--ease), color .25s, background .25s; }
.project-row:hover, .project-row:focus-visible { background: var(--white); color: var(--black); padding-inline: 13px; }
.row-name { font-size: clamp(18px, 2.6vw, 35px); letter-spacing: -.045em; }
.row-place, .row-type { font-size: .875rem; }
.row-icon { width: 11px; height: 11px; border: 1px solid; transform: rotate(0); transition: transform .35s var(--ease); }
.project-row:hover .row-icon { transform: rotate(45deg); }
.project-preview { display: none; position: fixed; z-index: 4; width: min(22vw, 330px); aspect-ratio: 4 / 3; pointer-events: none; overflow: hidden; background: var(--black); }
.project-preview img { height: 100%; object-fit: cover; }
.project-preview[data-active] { display: block; animation: preview-in .36s var(--ease) both; }
@keyframes preview-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

.study { background: var(--soft); }
.study-plan { background: var(--white); border-bottom: 1px solid var(--rule); }
.motion .study { min-height: 260vh; min-height: 260svh; }
.study-frame { position: relative; display: grid; grid-template-rows: auto minmax(180px, 1fr) auto; gap: 8px; padding: clamp(25px, 4.5vh, 52px) var(--gutter) 22px; }
.motion .study-frame { position: sticky; top: var(--header); min-height: calc(100vh - var(--header)); min-height: calc(100svh - var(--header)); }
.study .section-title { margin: 0; }
.study .display { font-size: clamp(34px, 5.4vw, 78px); }
.study .section-copy { margin-top: 10px; font-size: clamp(15px, 1.32vw, 18px); }
.study-art { display: grid; place-items: center; min-height: 0; width: min(100%, 850px); margin-inline: auto; position: relative; isolation: isolate; }
.study-light { --light-width: min(100%, 84.11vh, 804px); }
.study-light .study-art { width: min(100%, 1000px); }
.study-art svg { grid-area: 1 / 1; width: 100%; max-height: min(45vh, 430px); overflow: visible; }
.study-light .study-art svg { width: var(--light-width); }
.study-render { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: var(--light-width); aspect-ratio: 1000 / 535; object-fit: cover; clip-path: inset(0 0 0 var(--render-mask, 0%)); }
.study.is-ready[data-study="light"] { --render-mask: 100%; }
.study-bottom { width: 100%; }
.stages { display: flex; gap: clamp(7px, 2vw, 28px); flex-wrap: wrap; }
.stages button { min-height: 39px; padding: 4px 0; color: var(--muted); background: transparent; border: 0; text-align: left; font-size: .875rem; }
.stages button[aria-current], .stages button:hover { color: var(--black); text-decoration: underline; text-underline-offset: 4px; }
.study:not(.is-ready) .stages { display: none; }
.study-rule { height: 1px; background: var(--rule); }
.study-rule::after { display: block; content: ""; height: 1px; background: var(--black); transform: scaleX(var(--progress, 1)); transform-origin: left; }
.study-note { font-size: .8125rem; margin-top: 9px; color: var(--muted); }
.elevation path, .plan path { fill: none; stroke: var(--black); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.elevation .face { fill: var(--surface, transparent); stroke-width: 1.6; }
.elevation .model-piece { opacity: var(--opacity, 1); transform: translateY(var(--offset, 0px)); }
.elevation .face-wall { fill: var(--wall, var(--surface, transparent)); }
.elevation .face-roof { fill: var(--roof, var(--surface, transparent)); }
.elevation .face-side, .elevation .face-back { fill: var(--side, var(--surface, transparent)); }
.elevation .face-glass { fill: var(--glass, var(--surface, transparent)); }
.elevation .face-stone { fill: var(--stone, var(--surface, transparent)); }
.elevation .ground path, .elevation .ground-detail path, .plan path { stroke-dasharray: 1; stroke-dashoffset: var(--dash, 0); }
.elevation .ground-detail path { stroke: #575757; }
.plan .walls path { stroke-width: 3; }
.plan .dimensions path, .plan .notes path { stroke: #575757; stroke-width: 1; }
.plan .furnishings path { stroke-width: 1; }
.plan .openings path { stroke-width: 1.35; }
.plan text { fill: var(--muted); font-size: 11px; opacity: var(--annotations, 1); }
.comparison { background: var(--white); }
.compare-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.compare-tabs button { background: var(--white); border: 1px solid var(--black); min-height: 44px; padding: 7px 13px; font-size: .9rem; }
.compare-tabs button[aria-pressed="true"], .compare-tabs button:hover { background: var(--black); color: var(--white); }
.comparison-image { position: relative; aspect-ratio: 1366 / 880; isolation: isolate; background: var(--soft); }
.comparison-image img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.comparison-image .compare-before { clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0); }
.compare-label { position: absolute; z-index: 1; top: 14px; color: var(--white); background: var(--black); padding: 5px 9px; font-size: .875rem; pointer-events: none; }
.compare-label.left { left: 14px; }
.compare-label.right { right: 14px; }
.compare-divider { position: absolute; z-index: 1; left: var(--split, 50%); top: 0; bottom: 0; width: 2px; background: var(--white); box-shadow: 0 0 0 1px #0005; transform: translateX(-50%); pointer-events: none; }
.compare-grip { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid; background: var(--white); color: var(--black); font-size: 22px; line-height: 1; white-space: nowrap; }
.compare-range { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare-range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 1px; height: 44px; }
.compare-range::-moz-range-thumb { width: 1px; height: 44px; }
.compare-range:focus-visible { outline: none; }
.comparison-image:focus-within .compare-grip { outline: 3px solid var(--black); outline-offset: 4px; }
.compare-item figcaption { padding-block: 13px; border-bottom: 1px solid var(--rule); font-size: .875rem; }
.comparison:not(.is-ready) .compare-tabs, .comparison:not(.is-ready) .compare-range, .comparison:not(.is-ready) .compare-grip { display: none; }

.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 2.1vw, 30px); margin-bottom: 24px; }
.service { padding-bottom: 25px; border-bottom: 1px solid var(--rule); }
.service-media { aspect-ratio: 4 / 3; margin-bottom: 15px; }
.service h3 { margin-bottom: 8px; }
.service p, .process p { line-height: 1.55; }
.page-title { padding-block: clamp(65px, 11vw, 180px) clamp(30px, 5vw, 70px); }
.page-title .display { text-wrap: initial; }
.project-page-list, .services-page { padding-top: 0; }
.project-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 6vw, 95px) clamp(15px, 2vw, 40px); }
.project-card figure { aspect-ratio: 4 / 3; margin-bottom: 9px; }
.project-card p { line-height: 1.4; margin-top: 4px; font-size: .9rem; }
.archive-link { display: inline-block; margin-top: 34px; }
.editorial-gallery { border-top: 1px solid var(--rule); }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(15px, 2vw, 40px); margin-top: clamp(30px, 5vw, 68px); align-items: start; }
.editorial-image:first-child { grid-column: 1 / -1; }
.editorial-image a { display: block; }
.editorial-image img { height: auto; transition: transform .8s var(--ease); }
.editorial-image a:hover img { transform: scale(1.025); }
.project-info { padding-block: 0 30px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.project-info dl { display: flex; gap: clamp(25px, 5vw, 80px); flex-wrap: wrap; }
.project-info dt { font-size: .875rem; color: var(--muted); margin-bottom: 5px; }
.project-cover { width: 100%; aspect-ratio: 1.9; }
.project-cover a, .project-detail a { display: block; height: 100%; }
.project-detail { width: min(100%, 1160px); margin-inline: auto; background: transparent; }
.next-project { display: grid; gap: 40px; }
.next-project a:last-child { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--rule); }
.next-project strong { font-size: clamp(32px, 6.5vw, 94px); line-height: 1; font-weight: 300; letter-spacing: -.06em; }
.next-project a:last-child:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.studio-facts, .contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.studio-facts p + p { margin-top: 12px; font-size: clamp(22px, 4vw, 64px); letter-spacing: -.05em; }
.contacts { padding-top: 0; }
.contacts h2 { margin-bottom: 12px; font-size: 1rem; }
.contacts a { display: block; margin-bottom: 7px; }
.contact-form { padding-top: 0; }
.contact-form form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 780px; padding-top: 25px; border-top: 1px solid var(--rule); }
.contact-form label { display: grid; align-content: start; gap: 8px; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; border: 1px solid var(--muted); border-radius: 0; background: var(--white); }
.contact-form textarea { resize: vertical; }
.form-wide { grid-column: 1 / -1; }
.contact-form p { font-size: .9rem; color: var(--muted); }
.form-action { width: fit-content; color: var(--white); background: var(--black); border-color: var(--black); }
.form-action:hover { color: var(--black); background: var(--white); }
.form-action:focus-visible { outline-color: var(--black); }
.process li { display: grid; grid-template-columns: 1fr 1fr; padding-block: 24px; gap: 30px; border-top: 1px solid #666; }
.process li:last-child { border-bottom: 1px solid #666; }
.process p { max-width: 53ch; }

.footer { padding: clamp(62px, 9vw, 140px) var(--gutter) 24px; }
.footer-top { display: grid; justify-items: start; gap: 20px; padding-bottom: clamp(36px, 6vw, 88px); }
.footer-top .display { text-wrap: initial; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.15fr 1fr; gap: 18px; padding-block: 25px clamp(50px, 8vw, 110px); border-top: 1px solid #6d6d6d; }
.footer-grid > * { display: grid; align-content: start; gap: 8px; font-size: .95rem; }
.footer-grid p { color: #c3c3c3; }
.footer-grid a:hover, .footer-legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-brand { display: block; width: fit-content; font-size: clamp(49px, 20vw, 300px); line-height: .78; letter-spacing: -.08em; margin-left: -.055em; font-weight: 700; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 15px; justify-content: space-between; border-top: 1px solid #6d6d6d; padding-top: 15px; margin-top: 24px; font-size: .875rem; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out .34s var(--ease) both; }
::view-transition-new(root) { animation: page-in .48s var(--ease) both; }
@keyframes page-out { to { transform: translateY(-2.4vh); } }
@keyframes page-in { from { clip-path: inset(100% 0 0 0); transform: translateY(4vh); } to { clip-path: inset(0); transform: none; } }

@media (max-width: 820px) {
  .studio-intro { grid-template-columns: 1fr; gap: 25px; }
  .studio-intro .display { max-width: 18ch; }
  .studio-strip { margin-top: 0; }
  .about-media { aspect-ratio: 1.55; }
  .hero-title { font-size: clamp(56px, 12.7vw, 98px); }
  .study-art svg { max-height: min(38vh, 400px); }
  .study-light { --light-width: min(100%, 71vh, 748px); }
}

@media (max-width: 600px) {
  :root { --header: 56px; }
  .hero-inner { padding-top: 17px; }
  .hero-meta { align-items: start; font-size: .8125rem; }
  .hero-meta span:nth-child(2), .row-type { display: none; }
  .hero-image img { object-position: 54% center; }
  .hero-title { font-size: clamp(52px, 12.2vw, 78px); }
  .spread, .feature-caption { display: grid; align-items: start; }
  .feature-media { aspect-ratio: 1.22; }
  .feature-caption { grid-template-columns: 1fr 1fr; gap: 13px; padding-bottom: 24px; }
  .feature-caption .text-link { grid-column: 1 / -1; }
  .project-row { grid-template-columns: 1fr auto 12px; }
  .row-place { text-align: right; }
  .study-frame { padding-top: 22px; gap: 8px; }
  .stages { gap: 0 12px; }
  .stages button { min-height: 34px; font-size: .8125rem; }
  .study-art svg { max-height: 33vh; }
  .study-light { --light-width: min(100%, 61.68vh); }
  .service-list, .studio-facts, .contacts, .process li { grid-template-columns: 1fr; }
  .project-info { align-items: start; flex-direction: column; }
  .project-cards, .editorial-grid { grid-template-columns: 1fr; }
  .project-cover { aspect-ratio: 1.15; }
  .project-cover img { object-fit: contain; }
  .contact-form form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-height: 615px) {
  .motion .study-frame { position: relative; }
  .motion .study { min-height: 0; }
  .study-art { min-height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  @view-transition { navigation: none; }
}

.elevation { clip-path: inset(0 var(--illustration-mask, 0%) 0 0); }
.elevation .face { stroke-dasharray: 1; stroke-dashoffset: var(--dash, 0); }
html:not(.motion) .heading-clip > span { transform: none; }
.hero-image img { inset: -7% 0; height: 114%; }
