:root {
  --wall: #EBE8E1;
  --panel: #E2DED6;
  --panel-2: #DAD5CB;
  --ink: #171715;
  --ink-2: #44423E;
  --muted: #8C877D;
  --hair: rgb(23 23 21 / 0.14);
  --ox: #A4472D;
  --m: 40px;
  --gap: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.15, 1);
  --sans: 'Inter', var(--kit-sans);
  --ital: var(--kit-oldstyle);
  --mono: 'JetBrains Mono', var(--kit-mono);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wall); color: var(--ink); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
em { font-family: var(--ital); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.wrap { padding-left: var(--m); padding-right: var(--m); max-width: 1680px; margin: 0 auto; }
.mono { font: 500 11px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.ox { color: var(--ox); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 30; transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s; }
.nav.is-solid { background: rgb(235 232 225 / 0.86); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--hair); }
.nav__in { height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; justify-self: start; }
.brand__mark { width: 24px; height: 24px; }
.brand__word { font: 500 14px/1 var(--sans); letter-spacing: 0.42em; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { position: relative; font-size: 14px; color: var(--ink-2); transition: color 0.2s; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.chip { justify-self: end; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px dashed rgb(23 23 21 / 0.3); border-radius: 2px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.chip i { width: 6px; height: 6px; background: var(--ox); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 92px; padding-bottom: 28px; min-height: 100vh; }
.hero__txt { grid-column: 1 / span 4; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 58px; }
.hero__idx { margin: 0; color: var(--ink-2); }
.display { margin: 0; font: 300 clamp(44px, 4.15vw, 66px)/1.02 var(--sans); letter-spacing: -0.042em; }
.display em { letter-spacing: -0.02em; }
.display--md { font-size: clamp(40px, 3.8vw, 60px); }
.lede { margin: 26px 0 0; max-width: 30em; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.arrow-link svg { width: 20px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform 0.35s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }
.hero__fig { grid-column: 5 / span 8; margin: 0; display: flex; flex-direction: column; }
.panel { position: relative; background: var(--panel); overflow: hidden; }
.panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.panel--hero { flex: 1; min-height: 520px; background: radial-gradient(120% 95% at 55% 38%, #E6E2DA 0%, #DBD6CD 62%, #D0CBC1 100%); }
.panel__no { position: absolute; left: 18px; top: 16px; color: var(--ink-2); }
.north { position: absolute; right: 18px; top: 14px; width: 22px; height: 32px; color: var(--ink-2); }
.north text { font: 600 8px var(--mono); fill: currentColor; }
.scalebar { position: absolute; left: 18px; bottom: 16px; width: 120px; height: 20px; color: var(--ink-2); }
.scalebar text { font: 500 7px var(--mono); fill: currentColor; }
.hint { position: absolute; right: 18px; bottom: 16px; color: var(--muted); opacity: 0; transition: opacity 0.4s; }
.panel:hover .hint { opacity: 1; }
.is-capturing .hint { display: none; }
.hero__cap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 14px; color: var(--ink-2); }
.sun { display: flex; align-items: center; gap: 14px; }
.sun__track { position: relative; width: 220px; height: 30px; cursor: ew-resize; color: var(--muted); outline: none; touch-action: none; }
.sun__arc { position: absolute; inset: 0; width: 100%; height: 100%; }
.sun__dot { position: absolute; left: 0; top: 0; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: #E6A35A; box-shadow: 0 0 0 4px rgb(230 163 90 / 0.22), 0 0 18px 4px rgb(230 163 90 / 0.35); }
.sun__track:focus-visible .sun__dot { outline: 1px solid var(--ink); outline-offset: 4px; }
.sun__time { min-width: 42px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- section heads ---------- */
.h2 { margin: 0; font: 300 clamp(34px, 3vw, 46px)/1.08 var(--sans); letter-spacing: -0.035em; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding: 30px 0 28px; border-top: 1px solid var(--hair); }
.sec-head__side { display: flex; align-items: center; gap: 28px; }
.note { margin: 0; color: var(--muted); font-size: 13.5px; max-width: 30em; }
.toggle { display: inline-flex; border: 1px solid var(--hair); }
.toggle button { padding: 8px 14px; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); transition: background 0.2s, color 0.2s; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--wall); }
.toggle button:hover:not([aria-pressed="true"]) { color: var(--ink); }
.kicker { margin: 0; color: var(--ink-2); }

/* ---------- work ---------- */
.work { padding-top: 60px; padding-bottom: 110px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.tile { display: block; text-align: left; cursor: pointer; }
.tile .panel { aspect-ratio: 4 / 4.6; background: radial-gradient(110% 80% at 50% 45%, #E6E2DA 0%, #DFDAD1 75%, #DAD5CB 100%); transition: filter 0.5s var(--ease); }
.tile:hover .panel { filter: brightness(0.97); }
.tile__cap { display: grid; grid-template-columns: 44px 1fr auto; gap: 0 12px; align-items: baseline; padding: 16px 0 0; border-top: 1px solid transparent; }
.tile__cap .mono { color: var(--ox); }
.tile__name { font: 400 21px/1.2 var(--sans); letter-spacing: -0.02em; }
.tile__meta { grid-column: 2; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.tile__go { grid-row: 1; grid-column: 3; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.tile__go svg { width: 18px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.tile:hover .tile__go { opacity: 1; transform: none; }
.tile:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; }

.index { border-top: 1px solid var(--hair); }
.irow { display: grid; grid-template-columns: 70px 2.2fr 1.4fr 2fr 80px 1.2fr 30px; gap: 16px; align-items: center; width: 100%; padding: 22px 0; border-bottom: 1px solid var(--hair); text-align: left; transition: padding 0.35s var(--ease), color 0.2s; }
.irow--head { padding: 12px 0; color: var(--muted); cursor: default; }
.irow:not(.irow--head):hover { padding-left: 14px; }
.irow .nm { font: 400 24px/1.2 var(--sans); letter-spacing: -0.025em; }
.irow .mu { color: var(--ink-2); font-size: 14px; }
.irow svg { width: 18px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.peek { position: fixed; left: 0; top: 0; z-index: 25; width: 220px; height: 275px; background: var(--panel); pointer-events: none; opacity: 0; transform: scale(0.94); transition: opacity 0.25s, transform 0.35s var(--ease); box-shadow: 0 30px 60px -30px rgb(23 23 21 / 0.4); }
.peek canvas { width: 100%; height: 100%; display: block; }
.peek.on { opacity: 1; transform: none; }

/* ---------- philosophy ---------- */
.phil { padding-top: 0; padding-bottom: 120px; }
.phil__head, .studio__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 30px; border-top: 1px solid var(--hair); }
.phil__head .kicker, .studio__head .kicker { grid-column: 1 / span 4; padding-top: 10px; }
.statement { grid-column: 5 / span 8; margin: 0; font: 300 clamp(32px, 3.05vw, 48px)/1.12 var(--sans); letter-spacing: -0.032em; max-width: 17em; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 80px; }
.pr { padding-top: 18px; border-top: 1px solid var(--ink); }
.pr svg { width: 100%; height: auto; aspect-ratio: 240 / 150; margin: 6px 0 22px; overflow: visible; }
.pr svg .l { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pr svg .t { fill: none; stroke: var(--ink); stroke-width: 0.6; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; opacity: 0.6; }
.pr svg .o { fill: none; stroke: var(--ox); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.pr svg .of { fill: var(--ox); }
.pr svg .h { fill: url(#hatch); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pr svg text { font: 500 7.5px var(--mono); fill: var(--muted); letter-spacing: 0.06em; }
.pr h3 { margin: 0 0 10px; font: 400 21px/1.2 var(--sans); letter-spacing: -0.02em; display: flex; gap: 12px; align-items: baseline; }
.pr h3 .mono { color: var(--ox); }
.pr p { margin: 0; color: var(--ink-2); font-size: 14.5px; max-width: 24em; }

/* ---------- studio ---------- */
.studio { padding-bottom: 120px; }
.studio__head > div, .studio__head > .h2 { grid-column: 5 / span 8; }
.studio__head .h2 { max-width: 16em; }
.studio__head .lede { max-width: 34em; }
.wide { margin: 64px 0 0; }
.panel--wide { aspect-ratio: 21 / 8; background: radial-gradient(90% 120% at 50% 30%, #E6E2DA 0%, #DAD5CC 65%, #CFCAC0 100%); }
.wide figcaption { padding-top: 14px; color: var(--ink-2); }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 72px; }
.num { padding-top: 16px; border-top: 1px solid var(--hair); }
.num b { display: block; font: 200 clamp(56px, 6vw, 92px)/1 var(--sans); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 10px; color: var(--ink-2); }
.note--sample { margin-top: 22px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.note--sample i { width: 6px; height: 6px; background: var(--ox); }

/* ---------- team ---------- */
.team { padding-bottom: 120px; }
.people { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.person { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--hair); transition: background 0.3s; }
.person:hover { background: rgb(255 255 255 / 0.25); }
.person .i { grid-column: 1 / span 1; color: var(--muted); }
.person .nm { grid-column: 2 / span 4; font: 300 28px/1.15 var(--sans); letter-spacing: -0.03em; position: relative; transition: transform 0.4s var(--ease); }
.person:hover .nm { transform: translateX(10px); }
.person .nm::before { content: ''; position: absolute; left: -14px; top: 0.6em; width: 7px; height: 1px; background: var(--ox); opacity: 0; transition: opacity 0.3s; }
.person:hover .nm::before { opacity: 1; }
.person .rl { grid-column: 6 / span 5; color: var(--ink-2); }
.person .sn { grid-column: 11 / span 2; text-align: right; color: var(--muted); }

/* ---------- contact ---------- */
.contact { padding-bottom: 120px; }
.contact .studio__head > div, .studio__head > .h2 { grid-column: 5 / span 8; }
.mail { display: inline-block; margin-top: 34px; font: 300 clamp(30px, 2.9vw, 44px)/1.1 var(--sans); letter-spacing: -0.03em; border-bottom: 1px solid var(--ink); padding-bottom: 6px; transition: color 0.2s, border-color 0.2s; }
.mail:hover { color: var(--ox); border-color: var(--ox); }
.hours { margin: 20px 0 0; color: var(--muted); }
.contact__links { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.contact__links li { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 14.5px; }
.contact__links .mono { color: var(--muted); }

/* ---------- footer ---------- */
.foot { overflow: hidden; padding-top: 40px; }
.foot__word { font: 200 25.5vw/0.78 var(--sans); letter-spacing: -0.06em; margin: 0 0 0 -0.04em; color: var(--ink); white-space: nowrap; }
.foot__base { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0 26px; border-top: 1px solid var(--hair); margin-top: 14px; color: var(--ink-2); }

/* ---------- overlay ---------- */
.ov { position: fixed; inset: 0; z-index: 40; background: var(--wall); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), visibility 0s 0.6s; }
.ov.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), visibility 0s; }
.ov__bar { width: 100%; height: 68px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hair); flex: none; }
.ov__nav { display: flex; align-items: center; gap: 6px; }
.ov__btn { width: 42px; height: 34px; display: grid; place-items: center; border: 1px solid var(--hair); transition: background 0.2s; }
.ov__btn:hover { background: rgb(255 255 255 / 0.4); }
.ov__btn svg { width: 18px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.ov__close { display: flex; align-items: center; gap: 10px; height: 34px; margin-left: 14px; padding: 0 14px; background: var(--ink); color: var(--wall); font-size: 13px; }
.ov__close svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.ov__body { width: 100%; flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 24px; padding-bottom: 24px; }
.panel--ov { grid-column: 1 / span 7; cursor: grab; }
.panel--ov:active { cursor: grabbing; }
.ov__txt { grid-column: 8 / span 5; overflow: auto; padding: 4px 6px 30px 12px; }
.ov__txt .kicker { color: var(--ox); }
.ov__txt h2 { margin: 14px 0 0; font: 300 clamp(38px, 3.4vw, 54px)/1.02 var(--sans); letter-spacing: -0.04em; }
.ov__txt .lead { margin: 18px 0 0; font: 400 21px/1.35 var(--ital); font-style: italic; color: var(--ink); }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 30px 0 0; border-top: 1px solid var(--hair); }
.facts div { padding: 11px 0; border-bottom: 1px solid var(--hair); }
.facts div:nth-child(odd) { padding-right: 16px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 3px 0 0; font-size: 14.5px; }
.ov__txt p.body { margin: 22px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; max-width: 34em; }
.plan { margin: 34px 0 0; padding: 18px; background: rgb(255 255 255 / 0.35); border: 1px solid var(--hair); }
.plan svg { width: 100%; height: auto; }
.plan figcaption { margin-top: 10px; color: var(--muted); }
.plan .w { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.plan .l { fill: none; stroke: var(--ink); stroke-width: 0.9; }
.plan .t { fill: none; stroke: var(--ink); stroke-width: 0.6; opacity: 0.45; }
.plan .d { fill: none; stroke: var(--ink); stroke-width: 0.9; stroke-dasharray: 5 4; }
.plan .o { fill: none; stroke: var(--ox); stroke-width: 1.4; }
.plan .f { fill: var(--ink); }
.plan .wat { fill: rgb(23 23 21 / 0.08); }
.plan text { font: 500 8px var(--mono); fill: var(--muted); letter-spacing: 0.06em; }
.ov-open { overflow: hidden; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.hero .hero__txt > *, .hero__fig { animation: rise 1.1s var(--ease) both; }
.hero__body { animation-delay: 0.12s !important; }
.hero__fig { animation-delay: 0.2s !important; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  :root { --m: 28px; --gap: 18px; }
  .hero__txt { grid-column: 1 / span 5; }
  .hero__fig { grid-column: 6 / span 7; }
  .nav__links { gap: 22px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .irow { grid-template-columns: 50px 2fr 1.3fr 1.8fr 60px 1.2fr 24px; }
}
