/* Photograph-led layout: generous images, unboxed type, compact interiors. */
:root {
  --ink: #202020;
  --soft: #656565;
  --line: #e0e0de;
  --paper: #fff;
  --gutter: clamp(24px, 3.4vw, 64px);
  --max: 1800px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-width: 0; background: var(--paper); color: var(--ink); font: 14px/1.7 Arial, "Helvetica Neue", "PingFang TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
button { color: inherit; cursor: pointer; border: 0; background: transparent; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.35; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.skip { position: fixed; top: 8px; left: var(--gutter); z-index: 100; padding: 8px 0; transform: translateY(-180%); }
.skip:focus { transform: none; }
body:has(.home) .skip { color: #fff; }
.overline { font-size: 11px; line-height: 1.5; letter-spacing: .1em; }
.muted { color: var(--soft); }

/* Full-bleed homepage with larger, directly overlaid typography. */
.home { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(32px, 5svh, 64px) var(--gutter) max(20px, env(safe-area-inset-bottom, 0px)); color: #fff; background: #333; overflow-x: clip; }
.scene, .shade { position: absolute; inset: 0; pointer-events: none; }
.scene { z-index: 0; overflow: hidden; }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.2s ease; }
.scene img.is-current { opacity: 1; }
.shade { z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.39), rgba(0,0,0,.12) 65%, rgba(0,0,0,.06)), linear-gradient(0deg, rgba(0,0,0,.28), transparent 28%); }
.home > div:not(.scene):not(.shade):not(.home-language), .index > div:not(.scene):not(.shade), .index > nav { position: relative; z-index: 2; }
.home-brand { width: max-content; max-width: 100%; }
.home-brand h1 { font-size: clamp(58px, min(7.6vw, 11.5svh), 116px); line-height: .92; font-weight: 700; letter-spacing: -.045em; }
.home-brand h1 span { display: block; }
.home-brand p { font-size: 24px; line-height: 1.4; letter-spacing: .17em; margin-top: 18px; }
.home-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-top: clamp(24px, 4svh, 46px); }
.home-nav a { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 22px; row-gap: 0; min-height: 44px; padding-block: 4px; }
.home-nav .en { font-size: clamp(30px, min(3.1vw, 5svh), 46px); line-height: 1.16; font-weight: 600; letter-spacing: .015em; }
.home-nav .zh { font-size: 15px; line-height: 1.4; letter-spacing: .08em; }
.home-nav a:hover .en, .home-nav a:focus-visible .en { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.home-language { position: absolute; top: max(22px, env(safe-area-inset-top, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px)); z-index: 3; }
.language-switch { display: flex; align-items: center; gap: 6px; white-space: nowrap; line-height: 1.4; background: transparent; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 3px; font-size: 13px; opacity: .7; }
.language-switch a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.language-switch a:hover { opacity: 1; }
.language-switch .separator { opacity: .5; font-size: 11px; }
.home-language .language-switch a { font-size: 15px; }
.home-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 28px; }
.home-bottom > div { min-width: 0; max-width: 100%; }
.home-email { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.home-bottom .est { font-size: 11px; letter-spacing: .08em; }
.slide-panel { display: flex; align-items: center; gap: 18px; max-width: 100%; }
.slide-caption { max-width: 30em; font-size: 14px; line-height: 1.5; text-align: right; }
.slide-caption a { display: inline-flex; align-items: center; min-height: 44px; }
.slide-controls { display: flex; flex: none; align-items: center; gap: 2px; }
.slide-controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 6px; font-size: 25px; font-weight: 400; }
.slide-counter { font-size: 11px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.home-email:hover, .slide-caption a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* A small, transparent header on the shared page canvas. */
.site-header { position: relative; z-index: 20; background: transparent; }
.header-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; padding-block: 12px; }
.brand { display: flex; flex: none; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 26px; height: 30px; object-fit: contain; }
.brand .zh { display: block; font-size: 16px; line-height: 1.4; letter-spacing: .12em; }
.brand .en { display: block; font-size: 10px; line-height: 1.5; letter-spacing: .025em; }
.inner-nav { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 30px); margin-left: auto; font-size: 13px; }
.inner-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; white-space: nowrap; }
.inner-nav a[aria-current="page"], .inner-nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.header-language { flex: none; }
.mobile-navigation { display: none; }

/* Project index: plain text links over a large photograph; no thumbnails. */
.index { position: relative; isolation: isolate; min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); display: flex; flex-direction: column; padding: 28px var(--gutter) 24px; color: #fff; background: #333; overflow-x: clip; }
.index .shade { background: linear-gradient(90deg, rgba(0,0,0,.43), rgba(0,0,0,.1) 70%), linear-gradient(0deg, rgba(0,0,0,.23), transparent 30%); }
.index-heading { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.index-heading h1 { font-size: 20px; letter-spacing: .04em; }
.project-list { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-block: auto; padding-block: 18px; }
.project-list a { display: flex; align-items: baseline; gap: 14px; max-width: 100%; min-height: 44px; padding: 6px 0; }
.project-list a > span { min-width: 0; }
.project-list .no { flex: 0 0 18px; font-size: 11px; }
.project-list .title { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.3; font-weight: 400; overflow-wrap: anywhere; }
.project-list .category { display: block; font-size: 12px; line-height: 1.5; margin-top: 4px; letter-spacing: .035em; }
.project-list a:hover .title, .project-list a:focus-visible .title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.index-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; font-size: 10px; letter-spacing: .06em; padding-top: 22px; }

/* Interior pages keep typography subordinate to photography. */
.page { padding-block: 24px 40px; }
.page-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 24px; }
.page-heading h1 { font-size: 21px; letter-spacing: .045em; }
.page-heading .overline { color: var(--soft); }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; padding-block: 6px; }
.back-link:hover, .source-links a:hover, #project-awards-link:hover, .residence-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 18px; }
.project-header h1 { max-width: 42ch; font-size: clamp(21px, 2vw, 28px); letter-spacing: -.01em; }
.project-header p { color: var(--soft); font-size: 12px; flex: none; }
#project-view .page-heading { margin-bottom: 10px; }
.detail-photo { width: 100%; height: auto; object-fit: contain; background: transparent; }
.detail-copy { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 64px); padding-top: 24px; }
.detail-copy p { font-size: 14px; line-height: 1.8; color: var(--soft); max-width: 50em; }
.project-meta { font-size: 12px; color: var(--soft); }
.project-meta p { font-size: 12px; line-height: 1.7; margin-bottom: 8px; }
.source-links { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 12px; }
.source-links a { display: inline-flex; align-items: center; min-height: 32px; line-height: 1.6; }
#project-awards-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; margin-top: 4px; }
.project-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--line); }
.object-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.object-photo { width: 100%; height: auto; object-fit: contain; }
.object-copy h2 { font-size: 22px; margin-top: 10px; }
.object-copy p { max-width: 30em; font-size: 14px; color: var(--soft); line-height: 1.8; margin-top: 14px; }
.object-copy .back-link { margin-top: 12px; }
.object-project-link { margin-right: 20px; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.founder-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.founder-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 14px; margin-top: 12px; }
.founder-name h2 { font-size: 17px; letter-spacing: .04em; }
.founder-name span { font-size: 12px; }
.founder-caption { margin-top: 3px; font-size: 12px; color: var(--soft); }
.about-copy > p { font-size: 14px; line-height: 1.85; color: var(--soft); max-width: 45em; }
.about-copy > p + p { margin-top: 14px; }
.about-copy .lead { font-size: 18px; line-height: 1.6; color: var(--ink); white-space: pre-line; margin-bottom: 20px; }
.folds { margin-top: 24px; border-top: 1px solid var(--line); }
.folds details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.folds summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 10px 0; font-size: 14px; }
.folds summary small { margin-left: 12px; font-size: 10px; letter-spacing: .04em; color: var(--soft); }
.plus { position: relative; width: 10px; height: 10px; flex: 0 0 10px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 4px; width: 10px; height: 1px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: none; }
.fold-body { padding-bottom: 18px; }
.fold-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fold-body strong { font-size: 13px; font-weight: 400; }
.fold-body p { margin-top: 2px; font-size: 13px; line-height: 1.75; color: var(--soft); }
.studio-photo { margin-top: 18px; width: 100%; height: auto; }
.about-awards-link { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 48px; padding: 12px 0; font-size: 14px; }
.about-awards-link .link-caption { font-size: 12px; color: var(--soft); }
.about-awards-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Awards are a concise list, without badges, cards or arrow symbols. */
.awards-page .page-heading { margin-bottom: 8px; }
.awards-summary { font-size: 12px; color: var(--soft); margin-bottom: 22px; }
.award-year { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; }
.award-year > h2 { font-size: 18px; font-variant-numeric: tabular-nums; }
.award-year > ul { margin: 0; padding: 0; list-style: none; }
.award-entry { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 145px; gap: 24px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.award-entry:last-child { border-bottom: 0; margin-bottom: 0; }
.award-identity h3 { font-size: 15px; line-height: 1.5; }
.award-result { font-size: 12px; line-height: 1.5; margin-top: 4px; color: var(--soft); }
.award-case-title { font-size: 14px; line-height: 1.5; }
.award-case > p { font-size: 12px; line-height: 1.6; margin-top: 5px; color: var(--soft); }
.award-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0; font-size: 12px; }
.award-actions a { display: inline-flex; align-items: center; min-height: 34px; line-height: 1.5; }
.award-actions a:hover, .award-case-title:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.contact-photo { width: 100%; height: auto; max-height: 78svh; object-fit: contain; }
.contact-title { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.5; white-space: pre-line; margin-bottom: 24px; }
.contact-details { font-style: normal; }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; line-height: 1.5; max-width: 100%; }
.contact-phone { display: flex; align-items: center; width: max-content; max-width: 100%; min-height: 44px; font-size: 15px; }
.contact-email:hover, .contact-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-details p { font-size: 13px; margin-top: 8px; color: var(--soft); }
.contact-details .contact-company { margin-top: 20px; font-size: 10px; letter-spacing: .04em; }
.site-footer { background: transparent; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 14px max(14px, env(safe-area-inset-bottom, 0px)); font-size: 10px; color: var(--soft); }
.footer-row a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.home-brand, .brand > span, .detail-copy > *, .about-grid > *, .object-grid > *, .contact-grid > *, .award-entry > *, .award-year > ul { min-width: 0; }
.home-email, .slide-caption, .award-identity h3, .award-case-title, .source-links a, .project-header h1, .contact-email { overflow-wrap: anywhere; }
html[lang="en"] .bilingual-secondary { display: none; }
html[lang="en"] .brand .zh { font-size: 14px; letter-spacing: .01em; }
html[lang="en"] .home-brand p { font-size: 18px; letter-spacing: .13em; }

@media (max-width: 1100px) {
  .award-entry { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px 24px; }
  .award-actions { grid-column: 2; flex-direction: row; flex-wrap: wrap; gap: 0 18px; }
}
@media (max-width: 980px) {
  .site-header .header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 52px; column-gap: 14px; row-gap: 0; min-height: 72px; padding-top: max(10px, env(safe-area-inset-top, 0px)); padding-bottom: 10px; }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .site-header .header-language { grid-column: 2; grid-row: 1; }
  .site-header .desktop-nav { display: none; }
  .mobile-navigation { display: block; grid-column: 1 / -1; grid-row: 2; }
  .mobile-menu-summary { position: absolute; top: max(10px, env(safe-area-inset-top, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px)); display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 48px; min-height: 44px; font-size: 13px; }
  .menu-mark { font-size: 18px; line-height: 1; transition: transform .2s; }
  .mobile-navigation[open] .menu-mark { transform: rotate(45deg); }
  .site-header .mobile-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; margin: 10px 0 0; padding: 6px 0 0; background: transparent; border-top: 1px solid var(--line); }
  .mobile-navigation:not([open]) .mobile-nav { display: none; }
  .mobile-nav a { min-width: 0; min-height: 44px; font-size: 13px; white-space: normal; }
  .index { min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); }
}
@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .home { padding-top: calc(76px + env(safe-area-inset-top, 0px)); padding-bottom: max(18px, env(safe-area-inset-bottom, 0px)); gap: 28px; }
  .home-language { top: max(10px, env(safe-area-inset-top, 0px)); }
  .home-brand h1 { font-size: clamp(38px, 11.7vw, 72px); line-height: .95; }
  .home-brand p { font-size: 21px; margin-top: 16px; }
  .home-nav { margin-top: 30px; gap: 4px; }
  .home-nav a { column-gap: 17px; min-height: 44px; padding-block: 5px; }
  .home-nav .en { font-size: clamp(28px, 7.4vw, 38px); line-height: 1.15; }
  .home-nav .zh { font-size: 13px; }
  .home-bottom { gap: 0; }
  .home-bottom .est { display: none; }
  .home-bottom .slide-panel { width: 100%; justify-content: space-between; gap: 12px; }
  .slide-caption { text-align: left; font-size: 13px; }
  .slide-controls { gap: 0; }
  .home-email { font-size: 14px; }
  .home .scene img, .index .scene img { object-position: 60% center; }
  .shade { background: linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,.16)), linear-gradient(0deg, rgba(0,0,0,.25), transparent 28%); }
  .page { padding-block: 18px 28px; }
  .page-heading { margin-bottom: 18px; }
  .page-heading h1, .index-heading h1 { font-size: 19px; }
  .page-heading .overline { font-size: 10px; }
  .index { padding: 22px var(--gutter) 20px; }
  .index-heading { margin-bottom: 18px; }
  .project-list { gap: 7px; }
  .project-list a { gap: 12px; padding-block: 7px; }
  .project-list .title { font-size: 21px; }
  .project-list .category { font-size: 12px; }
  .index-foot { font-size: 10px; }
  .project-header { display: block; margin-bottom: 14px; }
  .project-header h1 { font-size: 22px; }
  .project-header p { margin-top: 5px; }
  .detail-copy { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 18px; }
  .detail-copy p { font-size: 14px; line-height: 1.8; }
  .project-meta p { font-size: 12px; }
  .project-footer { margin-top: 16px; padding-top: 8px; }
  .object-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .object-copy h2 { font-size: 20px; }
  .object-copy p { margin-top: 10px; }
  .object-copy .back-link { margin-top: 8px; }
  .founder-block { display: block; }
  .founder-photo { width: 100%; height: auto; aspect-ratio: 1; }
  .founder-name h2 { font-size: 16px; }
  .about-copy .lead { font-size: 18px; margin-bottom: 16px; }
  .about-copy > p + p { margin-top: 12px; }
  .folds { margin-top: 20px; }
  .awards-summary { margin-bottom: 18px; }
  .award-year { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; margin-top: 16px; padding-top: 16px; }
  .award-year > h2 { font-size: 16px; }
  .award-entry { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 12px; padding-bottom: 12px; }
  .award-identity h3 { font-size: 14px; }
  .award-case-title { font-size: 13px; }
  .award-actions { grid-column: auto; gap: 0 18px; }
  .award-actions a { min-height: 44px; }
  .contact-photo { max-height: none; }
  .contact-title { font-size: 22px; margin-bottom: 14px; }
  .contact-email { font-size: 17px; }
}
@media (max-width: 520px) {
  :root { --gutter: 18px; }
  .site-header .header-row { column-gap: 7px; grid-template-columns: minmax(0, 1fr) auto 48px; min-height: 68px; }
  .brand img, .brand .en { display: none; }
  .brand .zh { font-size: 16px; letter-spacing: .05em; }
  html[lang="en"] .brand .zh { font-size: 12px; line-height: 1.3; letter-spacing: 0; }
  .language-switch { gap: 1px; }
  .site-header .mobile-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .index { min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); }
  .home-nav a { column-gap: 15px; }
  .home-nav .zh { font-size: 12px; }
  .slide-caption { max-width: 16em; }
  .folds summary small { font-size: 10px; margin-left: 8px; }
  .about-awards-link { flex-wrap: wrap; gap: 4px 16px; }
  .footer-row { font-size: 10px; align-items: flex-start; gap: 0; }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .home-brand h1 { font-size: 37px; }
  .home-nav .en { font-size: 27px; }
  .home-nav .zh { font-size: 11px; }
  .home-nav a { column-gap: 12px; }
  .project-list .title { font-size: 20px; }
  .site-header .header-row { column-gap: 3px; }
  .folds summary small { display: none; }
}
@media (max-height: 640px) and (min-width: 761px) {
  .home { padding-top: 28px; gap: 18px; }
  .home-brand h1 { font-size: clamp(52px, 10.5svh, 70px); }
  .home-brand p { margin-top: 12px; font-size: 20px; }
  .home-nav { margin-top: 20px; gap: 0; }
  .home-nav .en { font-size: 28px; }
}
@media (max-height: 540px) and (orientation: landscape) {
  .home { padding-top: 66px; }
  .home-brand h1 { font-size: 48px; }
  .home-nav { margin-top: 24px; }
  .home-nav .en { font-size: 28px; }
  .home-bottom .slide-panel { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene img, .menu-mark { transition: none; }
}
@media print {
  .home, .index { min-height: auto; background: transparent; color: var(--ink); }
  .scene, .shade, .slide-controls, .site-header, .site-footer { display: none; }
  .page { padding: 0; }
}

.home, .index { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
