/* Latin stays at Text 55 Roman (400); Hangul uses Pretendard Medium (500).
   Mapping the Korean-only face to 400 prevents synthetic Latin bolding. */
@font-face {
  font-family: "Gidongdoll Korean";
  src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/static/woff2/Pretendard-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+1100-11FF, U+2E80-2EFF, U+3000-303F, U+3130-318F, U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+A960-A97F, U+AC00-D7AF, U+D7B0-D7FF, U+F900-FAFF, U+FF00-FFEF;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #080808;
  --muted: #858585;
  --placeholder: #dedede;
  --orange: #f15a24;
  --cursor-color: #000;
  --brand-width: 20vw;
  --brand-scale: 1;
  --photo-sticky-top: calc(var(--edge) + var(--brand-width) * 0.31823 * 0.75 + 24px);
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-photo: cubic-bezier(0.16, 1, 0.24, 1);
  --edge: clamp(6px, 0.94vw, 22px);
  --top-edge: var(--edge);
  --gutter: 2vw;
  --display: "neue-haas-grotesk-display", "Gidongdoll Korean", "Pretendard", Arial, sans-serif;
  --text: "neue-haas-grotesk-text", "Gidongdoll Korean", "Pretendard", Arial, sans-serif;
  --hero-size: 6.8vw;
  --close-size: clamp(24px, 2.7vw, 64px);
  --corner-size: 72px;
  --corner-gap: 12px;
  --corner-right: max(18px, var(--edge));
  --corner-offset: 0px;
  --corner-space: var(--corner-size);
  font-family: var(--text);
  font-weight: 400;
  font-synthesis: none;
  font-kerning: normal;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
/* Native elastic scrolling belongs to the content viewport. Fixed artwork
   lives outside it, so its blend backdrop is never clipped by rubber-banding. */
html, body { height: 100%; overflow: hidden; }
body { margin: 0; background: var(--paper); }
.site-scroll { position: fixed; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; }
.site-scroll:focus { outline: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { padding: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
::selection { color: var(--paper); background: var(--ink); }
img { display: block; width: 100%; height: auto; }
h1, h2, p, figure, dl, dd { margin: 0; }
[hidden] { display: none !important; }
.page { padding: var(--edge); padding-top: var(--top-edge); }
.two-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gutter); }
.site-header.two-columns { display: contents; }
.header-spacer { height: 19.1vw; }
.brand { display: block; width: var(--brand-width); aspect-ratio: 779.78 / 248.15; }
/* These are separate fixed layers so the white silhouette can blend with
   the page while the original orange squares keep their brand color. */
.brand-art, .brand-modules { position: fixed; top: var(--top-edge); left: var(--edge); width: var(--brand-width); height: auto; z-index: 50; transform: scale(var(--brand-scale)); transform-origin: left top; overflow: visible; }
.brand-modules { pointer-events: none; }
.brand-art:not(.brand-modules) { pointer-events: all; }
.brand-modules g { transform-box: fill-box; transform-origin: center; }
.brand.is-assembling > .brand-art:not(.brand-modules) { visibility: hidden; }
.brand-outline { mix-blend-mode: difference; }
.brand .brand-accent { z-index: 51; pointer-events: none; }
.brand:focus-visible { outline: none; }
.brand:focus-visible .brand-outline { outline: 2px solid white; outline-offset: 5px; }
.has-menu-preview .brand { pointer-events: none; }
.has-menu-preview .brand-art, .has-menu-preview .brand-modules, .has-menu-preview .brand [data-module] { visibility: hidden !important; }
.header-preview { position: fixed; top: var(--top-edge); left: var(--edge); z-index: 52; width: calc(50% - var(--edge) - var(--gutter)); font-size: clamp(11px, 0.94vw, 22px); line-height: 1.4; pointer-events: none; }
.small-heading { font-family: var(--display); font-size: clamp(24px, 2.7vw, 64px); font-weight: 400; line-height: 1; letter-spacing: -0.01em; }
.contact { grid-column: 2; font-size: clamp(11px, 0.94vw, 22px); line-height: 1.25; }
.site-nav { position: fixed; z-index: 50; top: var(--top-edge); left: calc(50% + var(--gutter) / 2); display: flex; flex-direction: column; align-items: flex-start; transform: translateY(var(--menu-scroll-shift, 0px)); }
.nav-link { display: block; text-align: left; line-height: 1.05; }
.mobile-about { display: none; }
.nav-link:not([aria-disabled="true"]):hover, .nav-link:not([aria-disabled="true"]):focus-visible { color: var(--orange); }
.nav-link[aria-disabled="true"] { pointer-events: none; }
.contact dl > div + div { margin-top: 1.2em; }
.contact dt { color: var(--muted); }
.contact-link { text-align: left; line-height: inherit; }
.contact-link > span:not(.type-char) { display: block; }
.contact-link:hover, .contact-link:focus-visible { color: var(--orange); }
.contact a:not(.nav-link):hover { text-decoration: underline; text-underline-offset: 0.15em; }
[data-copy-email]:hover, [data-copy-email]:focus-visible { color: var(--orange); }
.close-button { position: fixed; top: var(--top-edge); left: calc(50% + var(--gutter) / 2); z-index: 50; display: inline-flex; align-items: center; gap: 0.23em; margin-top: -0.04em; color: #fff; mix-blend-mode: difference; }
.close-button svg { width: 0.81em; height: 0.81em; flex: none; }
.close-button:hover, .close-button:focus-visible { color: var(--orange); mix-blend-mode: normal; }

.hero { font-family: var(--display); font-size: var(--hero-size); font-weight: 400; letter-spacing: -0.01em; line-height: 0.98; opacity: var(--hero-opacity, 1); }
body[data-view="home"] .hero { line-height: 0.96; }
body:is([data-view="home"], [data-view="office"], [data-view="profile"], [data-view="contact"]) .hero { position: relative; z-index: 1; transform: translateY(var(--hero-scroll-shift, 0px)); }
.hero.is-faded { pointer-events: none; }
.studio-title.is-erased { pointer-events: none; }
.studio-title { display: block; width: max-content; max-width: 100%; font: inherit; letter-spacing: inherit; line-height: inherit; text-align: left; white-space: nowrap; }
.title-word { display: inline-block; }
.studio-title:focus-visible { color: var(--orange); }
.announcement { display: block; width: max-content; white-space: nowrap; }
.detail-title { display: block; white-space: nowrap; }
body[data-view="about"] .header-spacer { height: var(--home-header-height, 19.1vw); }
.intro-pending .brand-art, .intro-pending .contact, .intro-pending .hero, .intro-pending .work-section { visibility: hidden; }
.typewriter { position: relative; }
::highlight(gdd-untyped) { color: transparent; text-shadow: none; }
.type-char, .scroll-char { opacity: 0; }
.type-char.is-typed, .scroll-char.is-visible { opacity: 1; }
.work-section { margin-top: 5.55vw; padding-bottom: 96px; }
.work-cta { margin-top: clamp(96px, 9vw, 180px); }
.work-cta-label { position: relative; top: 18px; }
.work-cta-email { display: block; width: 100%; margin-top: 12px; font-family: var(--display); font-size: var(--cta-email-size, 8.5vw); font-weight: 400; line-height: 0.98; letter-spacing: -0.01em; white-space: nowrap; }
.work-cta[data-typing-state="pending"] > * { visibility: hidden; }

/* Independent natural-height project rows: Order's 12-column widths and
   BMD's large/split modules, without a global grid reserving empty tracks. */
.work-grid { --work-space: clamp(88px, 14vw, 300px); display: flex; flex-direction: column; gap: var(--work-space); }
.work-project { display: flex; flex-direction: column; gap: var(--work-space); }
.work-row { display: grid; width: 100%; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--edge); align-items: start; }
.work-slot { position: relative; grid-column: var(--column) / span var(--span); justify-self: var(--align, start); width: 100%; aspect-ratio: var(--ratio); background: var(--placeholder); }
.work-slot img { width: 100%; height: 100%; object-fit: contain; }
.work-slot.has-image { background: transparent; }
.work-slot { max-width: var(--native-width, 100%); }
.work-slot[data-composition="full"] { max-width: none; }
.work-slot.is-portrait { max-width: min(100%, var(--native-width), calc(900px * var(--image-ratio))); }
.work-slot[data-size="small"] { max-width: min(var(--native-width), 420px, 24vw); }
.work-slot[style*="--display-width"] { width: var(--display-width); }
.work-slot[style*="--display-ratio"] { aspect-ratio: var(--display-ratio); max-width: none; }
.work-slot[style*="--display-ratio"] img { object-fit: cover; }
.work-slot[data-fixed="true"] img { object-fit: contain; }
.work-row[data-set="large-pair"], .work-row[data-set="detail-pair"] { grid-template-columns: var(--pair-columns, 1fr 1fr); }
.work-row[data-set="large-pair"] > .work-slot, .work-row[data-set="detail-pair"] > .work-slot { grid-column: auto; }
.work-row[data-set="detail-pair"] { width: var(--cluster-width, 100%); align-self: var(--cluster-align, flex-end); }
.work-row[data-set="portrait-detail-left"] > .work-slot:last-child,
.work-row[data-set="portrait-detail-right"] > .work-slot:first-child { align-self: end; }
.work-slot.reveal-ready { background: transparent; }
.work-visual { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; background: var(--placeholder); }
.has-image .work-visual { background: transparent; }
.reveal-ready .work-visual { opacity: 0; }
.reveal-ready.is-revealed .work-visual { opacity: 1; }

.about-section { margin-top: 8.1vw; padding-bottom: 13vw; align-items: start; }
.foundation { width: 42.5%; overflow: clip; }
.foundation img { transform-origin: 50% 0; }
.detail-section { min-height: 0; padding-bottom: var(--detail-tail, 0px); }
.detail-section .foundation {
  position: sticky;
  top: var(--photo-sticky-top);
  align-self: start;
  max-width: max(160px, calc((100svh - var(--photo-sticky-top) - 24px) * var(--photo-ratio, 0.746667)));
}
.profile-detail { --photo-ratio: 0.746667; }
.office-detail { --photo-ratio: 0.954847; }
.office-detail .foundation { width: 80%; max-width: max(160px, calc((100svh - var(--photo-sticky-top) - 24px) * var(--photo-ratio) * 0.94)); }
.detail-section .about-copy { padding-bottom: 0; align-self: end; }
.office-detail .about-copy { position: sticky; top: var(--photo-sticky-top); display: block; align-self: start; }
.office-gallery { width: 80%; align-self: start; }
.office-photo-stage, .office-photo-content { position: relative; }
.office-photo picture { display: block; }
.photo-zoom, .office-photo { position: relative; }
.photo-mosaic { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.office-photo { display: block; width: 100%; overflow: hidden; }
.office-photo + .office-photo { margin-top: var(--edge); }
.office-address { margin-top: 2.8em; font-style: normal; }
.office-address p + p { margin-top: 1em; }
.about-copy { width: 50%; font-size: clamp(14px, 0.98vw, 22px); line-height: 1.28; letter-spacing: -0.015em; }
.about-copy p + p { margin-top: 1.5em; }
.copy-ko { word-break: keep-all; overflow-wrap: break-word; line-height: 1.52; }
.copy-en { margin-top: 2.8em; }
.profile-facts { margin: 1.5em 0; padding-left: 1.1em; }
.profile-heading { margin-bottom: 2.2em; font-family: var(--display); }
.profile-name { font-size: var(--close-size); line-height: 1; font-weight: 400; letter-spacing: -0.01em; }
.profile-heading .profile-role { margin-top: 0.55em; font-size: calc(var(--close-size) * 0.5); line-height: 1.12; letter-spacing: -0.01em; }
.team-roster { min-height: calc(100svh - var(--photo-sticky-top) - var(--edge)); margin-top: clamp(64px, 6vw, 144px); padding-bottom: 96px; font-family: var(--display); }
.team-roster-row { border-top: 1px solid currentColor; padding-block: 1vw; font-size: clamp(20px, 2.1vw, 48px); line-height: 1.1; letter-spacing: -0.015em; }
.team-roster-row:last-child { border-bottom: 1px solid currentColor; }
.team-roster-lead { min-height: clamp(176px, 14vw, 350px); padding-top: 1.2vw; }
.team-roster-lead dt { font-size: clamp(40px, 4.3vw, 104px); line-height: 1; }
.team-roster-row[data-typing-state="pending"] > * { visibility: hidden; }
.detail-link, .detail-contact { margin-top: 2.8em; }
.detail-link a, .detail-contact a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.detail-link a:hover, .detail-contact a:hover { color: var(--orange); }
.photo-viewer { --viewer-button-size: 48px; --viewer-ui-height: max(var(--viewer-button-size), clamp(26px, 7vw, 48px)); position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0 var(--edge); border: 0; color: var(--ink); background: var(--paper); overflow: hidden; }
.photo-viewer::backdrop { background: var(--paper); }
.photo-viewer-image { width: 100%; height: 100%; object-fit: contain; padding-block: max(64px, env(safe-area-inset-top)) calc(max(var(--edge), env(safe-area-inset-bottom)) + var(--viewer-ui-height) + 24px); touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.photo-viewer-close { position: absolute; z-index: 1; top: max(var(--edge), env(safe-area-inset-top)); left: var(--edge); min-height: 44px; display: inline-flex; align-items: center; gap: 0.18em; font-family: var(--display); font-size: clamp(26px, 7vw, 48px); line-height: 1; }
.photo-viewer-close svg { width: 0.8em; height: 0.8em; }
.photo-viewer-close:hover, .photo-viewer-close:focus-visible, .photo-viewer-controls button:not(:disabled):hover { color: var(--orange); }
.photo-viewer-controls { position: absolute; bottom: max(var(--edge), env(safe-area-inset-bottom)); left: var(--edge); right: var(--edge); display: grid; grid-template-columns: var(--viewer-button-size) 1fr var(--viewer-button-size); align-items: center; font-family: var(--display); font-size: clamp(26px, 7vw, 48px); line-height: 1; text-align: center; }
.photo-viewer-controls button { width: var(--viewer-button-size); height: var(--viewer-button-size); }
.photo-viewer-controls button:first-child { justify-self: start; text-align: left; }
.photo-viewer-controls button:last-child { justify-self: end; text-align: right; }
.photo-viewer-controls svg { display: inline-block; width: 0.9em; height: 0.9em; vertical-align: middle; }
.photo-viewer-controls button:disabled { cursor: default; }
.photo-viewer-controls button:disabled .photo-step-arrow { visibility: hidden; }
.photo-zoom { display: block; width: 100%; }
.detail-contact dt { color: var(--muted); }
.detail-contact > div + div { margin-top: 1.5em; }
.detail-contact dd + dd { margin-top: 0.5em; }
.contact-section { padding-bottom: clamp(64px, 6vw, 120px); }
.contact-intro { width: 100%; }
.contact-intro .contact-lead + .contact-lead { margin-top: 0.5em; }
.contact-lead[lang="ko"] { word-break: keep-all; overflow-wrap: break-word; }
.contact-email { display: block; width: 100%; margin-top: 1em; font-family: var(--display); font-size: clamp(28px, 3.4vw, 80px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.05; }
[data-copy-email] { min-height: 1.05em; text-align: left; }
.email-copy-label { display: block; width: max-content; max-width: 100%; white-space: nowrap; }
.contact-copy .detail-contact { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.custom-cursor { display: none; }
.corner-controls { display: contents; }
body.has-back-to-top { --corner-offset: calc(var(--corner-size) + var(--corner-gap)); --corner-space: calc(var(--corner-size) * 2 + var(--corner-gap)); }
.back-to-top, .theme-toggle { position: fixed; right: var(--corner-right); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 55; width: var(--corner-size); height: var(--corner-size); padding: 5px; color: #fff; mix-blend-mode: difference; }
.back-to-top img { filter: brightness(0) invert(1); transform-origin: center; }
.back-to-top.is-exiting { pointer-events: none; }
.back-to-top:focus-visible, .theme-toggle:focus-visible { outline-color: #fff; }
.theme-toggle { display: grid; place-items: center; transform: translateX(calc(-1 * var(--corner-offset))); transition: transform 620ms var(--ease-reveal); }
.theme-glyph { display: block; width: 100%; height: 100%; overflow: visible; }
.theme-glyph path, .theme-glyph circle { vector-effect: non-scaling-stroke; stroke-width: calc(var(--close-size) * 0.81 * 2.4 / 32); }
.theme-sun, .theme-moon, .theme-rays { transform-box: view-box; transform-origin: 50% 50%; }
.theme-sun, .theme-moon { transition: transform 560ms var(--ease-reveal), opacity 260ms ease; }
.theme-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-moon { opacity: 0; transform: rotate(70deg) scale(0.55); }
.theme-rays { transition: transform 700ms var(--ease-reveal); }
:root[data-theme="dark"] .theme-sun { opacity: 0; transform: rotate(-110deg) scale(0.55); }
:root[data-theme="dark"] .theme-moon { opacity: 1; transform: rotate(0deg) scale(1); }
:root[data-theme="dark"] .theme-rays { transform: rotate(50deg); }
html.is-theme-switching, html.is-theme-switching body, html.is-theme-switching .photo-viewer, html.is-theme-switching .office-photo-window, html.is-theme-switching body::before { transition: background-color 340ms ease, color 340ms ease; }
.site-copyright { position: fixed; left: max(18px, var(--edge)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 55; max-width: calc(100vw - var(--corner-space) - var(--corner-right) - max(18px, var(--edge)) - 12px); color: #fff; mix-blend-mode: difference; pointer-events: none; font-family: var(--text); font-size: clamp(12px, 0.9vw, 17px); line-height: 1.3; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --paper: #111; --ink: #f5f5f2; --muted: #999; --placeholder: #303030; --cursor-color: #fff; }
}
:root[data-theme="dark"] { color-scheme: dark; --paper: #111; --ink: #f5f5f2; --muted: #999; --placeholder: #303030; --cursor-color: #fff; }

@media (hover: hover) and (pointer: fine) and (forced-colors: none) {
  .studio-title:hover { color: var(--orange); }
  body.cursor-ready, body.cursor-ready a, body.cursor-ready button { cursor: none; }
  .cursor-ready .custom-cursor {
    display: grid; place-items: center; position: fixed; top: 0; left: 0; z-index: 1000;
    width: 12px; height: 12px; border: 2px solid #fff; border-radius: 0; background: #fff; color: #fff;
    pointer-events: none; mix-blend-mode: difference;
    transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0) translate(-50%, -50%);
    transition: width 300ms var(--ease-reveal), height 300ms var(--ease-reveal), border-radius 300ms var(--ease-reveal), background-color 200ms ease, color 160ms ease, border-color 160ms ease;
  }
  .custom-cursor span { color: inherit; font-family: var(--text); font-size: 16px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; opacity: 0; transition: opacity 160ms ease; }
  .custom-cursor.is-interactive { width: 72px; height: 72px; border-radius: 50%; background: transparent; border-color: currentColor; color: var(--cursor-color); mix-blend-mode: normal; }
  .custom-cursor.is-interactive span { opacity: 1; }
  .custom-cursor.is-top-action span { font-size: 28px; }
  .custom-cursor.is-brand-action span { width: 19px; height: 19px; background: currentColor; }
  .custom-cursor.is-pressed { width: 10px; height: 10px; }
  .custom-cursor.is-interactive.is-pressed { width: 64px; height: 64px; }
  .custom-cursor.is-accent {
    color: var(--orange); border-color: var(--orange); mix-blend-mode: normal;
    transition: width 300ms var(--ease-reveal), height 300ms var(--ease-reveal), border-radius 300ms var(--ease-reveal), background-color 200ms ease, color 60ms ease-out, border-color 60ms ease-out;
  }
  .custom-cursor.is-accent:not(.is-interactive) { background: var(--orange); }
  .custom-cursor:not(.is-interactive):not(.is-accent) {
    transition: width 300ms var(--ease-reveal), height 300ms var(--ease-reveal), border-radius 300ms var(--ease-reveal);
  }
}

@media (forced-colors: active) {
  .brand-outline { fill: CanvasText; mix-blend-mode: normal; background: Canvas; }
  .brand .brand-accent { display: none; }
  .close-button { color: CanvasText; background: Canvas; mix-blend-mode: normal; }
  .back-to-top { background: Canvas; mix-blend-mode: normal; forced-color-adjust: none; }
  .back-to-top img { filter: none; }
  .theme-toggle { color: CanvasText; background: Canvas; mix-blend-mode: normal; forced-color-adjust: none; }
  .site-copyright { color: CanvasText; background: Canvas; mix-blend-mode: normal; }
}

@media (min-width: 2400px) {
  .about-copy { width: 55%; }
}

@media (max-width: 900px) {
  :root { --close-size: max(22px, 2.7vw); }
  .contact { font-size: 11px; }
  .header-spacer { height: max(19.1vw, 182px); }
  .small-heading { font-size: max(22px, 2.7vw); }
  .about-copy { width: 87%; }
  .foundation { width: 62%; }
}

@media (max-width: 767px), (max-width: 1024px) and (pointer: coarse) {
  :root { --edge: 8px; --top-edge: max(var(--edge), env(safe-area-inset-top)); --gutter: 16px; --brand-width: 60vw; --close-size: 7vw; --corner-size: 48px; --corner-gap: 10px; --corner-right: max(var(--edge), env(safe-area-inset-right)); --photo-sticky-top: calc(var(--top-edge) + var(--brand-width) * 0.31823 * 0.75 + 12px); }
  html, body { height: auto; min-height: 100%; overflow: visible; }
  html { overflow-x: clip; }
  .site-scroll { position: static; overflow: visible; min-height: 100svh; overscroll-behavior-y: auto; }
  .page { padding-left: max(var(--edge), env(safe-area-inset-left)); padding-right: max(var(--edge), env(safe-area-inset-right)); }
  .two-columns { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .header-spacer, body[data-view="about"] .header-spacer { height: 42vw; }
  body[data-view="home"] .header-spacer { height: 65vw; }
  .site-nav { position: absolute; top: calc(var(--top-edge) + var(--brand-width) * 0.31823 + 14px); left: 52%; transform: none; }
  .mobile-about { display: block; }
  .brand { position: absolute; top: 0; left: 0; height: 0; min-height: 0; }
  .close-button { left: auto; right: var(--edge); min-height: 44px; }
  .contact { grid-column: 1; font-size: 12px; line-height: 1.4; }
  .header-preview { width: calc(100% - var(--edge) * 2); font-size: 12px; }
  .nav-link { min-height: 0; font-size: 7vw; line-height: 1.05; }
  .contact dl > div + div { margin-top: 12px; }
  .contact-link { min-height: 44px; }
  .contact a:not(.nav-link), .detail-contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .close-button { font-size: 7vw; }
  .photo-viewer { --viewer-button-size: 44px; }
  .photo-viewer-controls svg { width: 0.8em; height: 0.8em; }
  .hero { font-size: var(--hero-size); line-height: 0.9; }
  body:is([data-view="home"], [data-view="office"], [data-view="profile"], [data-view="contact"]) .hero { position: sticky; top: calc(var(--top-edge) + 42vw); transform: none; }
  body[data-view="home"] .hero { top: calc(var(--top-edge) + 65vw); }
  body[data-view="home"] .hero { line-height: 0.88; }
  .studio-title, .announcement, .detail-title { width: 100%; white-space: pre-line; }
  .work-section { margin-top: 16px; padding-bottom: 88px; }
  .work-cta { margin-top: 72px; }
  .work-cta-label { font-size: 7vw; }
  .work-grid { --work-space: 10px; }
  .work-row { max-width: none; grid-template-columns: minmax(0, 1fr); column-gap: 0; row-gap: var(--work-space); }
  .work-row[data-set="large-pair"], .work-row[data-set="detail-pair"] { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .work-slot, .work-slot.is-portrait, .work-slot[data-size="small"] { grid-column: 1 / -1; grid-row: auto; width: var(--mobile-width, 100%); max-width: none; justify-self: var(--mobile-align, start); }
  .about-section { margin-top: 24px; row-gap: 36px; padding-bottom: 48px; }
  .foundation { width: 100%; }
  .detail-section { min-height: 0; padding-bottom: 48px; }
  .detail-section .foundation { position: static; top: auto; width: 100%; max-width: none; }
  .detail-section .about-copy { padding-bottom: 0; }
  body[data-view="office"].office-photo-pinned::before { content: ''; position: fixed; z-index: 4; left: 0; right: 0; top: calc(-1 * (env(safe-area-inset-top, 0px) + 160px)); height: calc(var(--office-cover-height) + env(safe-area-inset-top, 0px) + 160px); background: var(--paper); pointer-events: none; transform: translateZ(0); }
  .office-detail { position: relative; grid-template-rows: var(--office-natural-height, 100vw) auto var(--office-tail, 40vh); row-gap: 36px; padding-bottom: 0; }
  .office-gallery { position: sticky; top: var(--photo-sticky-top); grid-column: 1; grid-row: 1 / 4; align-self: start; width: 100%; z-index: 3; overflow: hidden; }
  .office-photo-window { position: relative; height: var(--office-natural-height, 100vw); will-change: transform; overflow: hidden; background: var(--paper); }
  .office-photo-stage, .office-photo-content { width: 100%; height: 100%; }
  .office-photo-stage { will-change: transform; }
  .office-photo { position: absolute; inset: 0; height: 100%; }
  .office-photo picture { height: 100%; }
  .office-photo img { width: 100%; height: 100%; object-fit: cover; }
  .office-photo[data-office-photo="2"] { display: none; }
  .office-photo-next { pointer-events: none; transform: translate3d(0,100%,0); will-change: transform; }
  .office-photo-next .office-photo-content { transform: translate3d(0,-100%,0); will-change: transform; }
  .office-photo + .office-photo { margin-top: 0; }
  .office-detail .about-copy { grid-row: 2; grid-column: 1; position: static; min-height: 0; display: block; }
  .about-copy { width: 100%; max-width: none; font-size: clamp(16px, 4.1vw, 22px); line-height: 1.48; }
  .copy-en { margin-top: 32px; }
  .profile-heading .profile-role { font-size: max(14px, calc(var(--close-size) * 0.5)); }
  .team-roster { margin-top: 32px; padding-bottom: 88px; }
  .team-roster-row.two-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; padding-block: 14px; font-size: clamp(16px, 4.1vw, 22px); }
  .team-roster-lead { min-height: 156px; }
  .team-roster-lead dt { font-size: clamp(28px, 7.5vw, 40px); }
  .contact-intro { width: 100%; }
  .contact-email { font-size: clamp(24px, 7.8vw, 44px); }
  .site-copyright { left: var(--edge); font-size: 10px; max-width: calc(100vw - var(--corner-space) - var(--corner-right) - var(--edge) - 12px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .custom-cursor { transition: none !important; }
  .custom-cursor span { transition: none !important; }
  .intro-pending .brand-art, .intro-pending .contact, .intro-pending .hero, .intro-pending .work-section { visibility: visible; }
  .type-char, .scroll-char { opacity: 1; }
  body:is([data-view="home"], [data-view="office"], [data-view="profile"], [data-view="contact"]) .hero { position: relative; top: auto; }
  .work-cta[data-typing-state="pending"] > * { visibility: visible; }
  .team-roster-row[data-typing-state="pending"] > * { visibility: visible; }
  .theme-toggle, .theme-sun, .theme-moon, .theme-rays, html.is-theme-switching, html.is-theme-switching body, html.is-theme-switching .photo-viewer, html.is-theme-switching .office-photo-window, html.is-theme-switching body::before { transition: none !important; }
}

/* Safari can sample this on its scrolling thread without JS/style inheritance. */
@keyframes brand-scroll-shrink {
  from { transform: translateZ(0) scale(1); }
  to { transform: translateZ(0) scale(0.75); }
}
@supports (animation-timeline: scroll(root block)) {
  @media (max-width: 767px), (max-width: 1024px) and (pointer: coarse) {
    @media (prefers-reduced-motion: no-preference) {
      .brand-art { animation: brand-scroll-shrink 1s cubic-bezier(0.33, 0.66, 0.66, 1) both; animation-timeline: scroll(root block); animation-range: 0px 360px; will-change: transform; }
    }
  }
}

/* Translate fixed overflow windows. Each bitmap keeps its raster dimensions;
   the root scroll timeline runs the crop/wipe without a JS repaint loop. */
@keyframes office-crop { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,var(--office-crop-shift),0); } }
@keyframes office-center { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,var(--office-center-shift),0); } }
@keyframes office-next-position { from { translate: 0 var(--office-natural-height); } to { translate: 0 var(--office-next-start); } }
@keyframes office-next-counter { from { translate: 0 calc(-1 * var(--office-natural-height)); } to { translate: 0 calc(-1 * var(--office-next-start)); } }
@keyframes office-wipe { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,var(--office-wipe-shift),0); } }
@keyframes office-wipe-counter { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,calc(-1 * var(--office-wipe-shift)),0); } }
@media (max-width: 767px), (max-width: 1024px) and (pointer: coarse) {
  .has-native-scroll .office-photo-window { animation-name: office-crop; }
  .has-native-scroll .office-photo-stage { animation-name: office-center; }
  .has-native-scroll .office-photo-window, .has-native-scroll .office-photo-stage {
    animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both;
    animation-timeline: scroll(root block); animation-range: var(--office-collapse-start) var(--office-collapse-end);
  }
  .has-native-scroll .office-photo-next { animation-name: office-next-position, office-wipe; }
  .has-native-scroll .office-photo-next .office-photo-content { animation-name: office-next-counter, office-wipe-counter; }
  .has-native-scroll .office-photo-next, .has-native-scroll .office-photo-next .office-photo-content {
    animation-duration: 1s, 1s; animation-timing-function: linear, linear; animation-fill-mode: both, both;
    animation-timeline: scroll(root block), scroll(root block);
    animation-range: var(--office-collapse-start) var(--office-collapse-end), var(--office-wipe-start) var(--office-wipe-end);
  }
}

/* Crawlable navigation is also available without JavaScript on every page. */
.page-links { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 32px 0 96px; font-size: 16px; }
.page-links a:hover, .page-links a:focus-visible { color: var(--orange); }
.page-links [aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.nav-link:not(.mobile-about) { display: block; }
