/* WZWX — Snøhetta restraint visual system */
:root {
  --bg: #f4f1ea;
  --paper: #faf8f3;
  --ink: #1a1916;
  --muted: #6b675f;
  --line: #d8d3c8;
  --max: 1180px;
  --font-sans: "IBM Plex Sans", "Noto Sans TC", system-ui, sans-serif;
  --font-serif: "Newsreader", "Noto Serif TC", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; max-width: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: max(24px, env(safe-area-inset-left, 0px)) max(24px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.wordmark small {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

nav a[aria-current="page"],
nav a:hover { color: var(--ink); }

.lang { display: flex; gap: 4px; margin-left: 8px; }

.lang button,
.lang a {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.06em;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.lang button.is-on,
.lang a.is-on {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

body.lang-en [data-i18n="zh"],
body.lang-en [data-i18n="zh-cn"] { display: none; }
body.lang-zh [data-i18n="en"],
body.lang-zh [data-i18n="zh-cn"] { display: none; }
body.lang-zh-cn [data-i18n="en"],
body.lang-zh-cn [data-i18n="zh"] { display: none; }
/* elements without zh-cn fall back: show zh when in zh-cn mode if no zh-cn twin */
body.lang-zh-cn [data-i18n="zh"].i18n-fallback { display: revert; }

/* Simplified Chinese: use SC serif/sans so Hans glyphs (e.g. 联络) do not fall back to Latin serif */
body.lang-zh-cn {
  --font-sans: "IBM Plex Sans", "Noto Sans SC", "Noto Sans TC", system-ui, sans-serif;
  --font-serif: "Newsreader", "Noto Serif SC", "Noto Serif TC", Georgia, serif;
  font-family: var(--font-sans);
}

.statement { padding-block: 72px 56px; max-width: 920px; }

.statement h1,
.page-intro h1,
.project-head h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.statement h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.18;
}

.statement p,
.lede,
.page-intro p,
.project-meta p { color: var(--muted); }

.statement p { margin-top: 22px; max-width: 640px; }

.section-label,
.project-meta .type,
.list-item .tag,
.facts dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.project-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.project-row img,
.hero-img { width: 100%; max-width: 100%; display: block; object-fit: cover; background: var(--paper); }

.project-row img { height: 320px; }
/* Home Selected Work — T-HAM: building sat low / cut at base; nudge up */
.project-row img.home-card-tham {
  object-position: center bottom;
}

.project-meta h2,
.list-item h2,
.split h2,
.contact-grid h2,
.awards-box h2,
.prose h2,
.essay-section h2,
.form-block h2 {
  font-family: var(--font-serif);
  font-weight: 400;
}

.project-meta h2 { font-size: 30px; margin: 8px 0 10px; }
.project-meta p { max-width: 420px; }

.more {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.all-link {
  display: flex;
  justify-content: flex-end;
  padding-block: 12px 8px;
}

.awards-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-block: 48px 20px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  list-style: none;
}

.awards-strip li { font-size: 13px; color: var(--muted); }
.awards-strip strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 4px;
}

.site-footer {
  margin-top: 64px;
  padding-block: 28px 48px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}
.footer-end {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
/* Option 4 — quiet “Also published in” on project pages with PROJECT_PRESS */
.press-in {
  max-width: 720px;
  margin: 4px 0 0;
  padding-block: 20px 8px;
  border-top: 1px solid var(--line);
}
.press-in h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 10px;
}
.press-in .press-list {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
}
.press-in .press-list a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.press-in .press-list a:hover { color: var(--ink); }

.page-intro { padding-block: 56px 28px; max-width: 760px; }
.page-intro h1 { font-size: clamp(36px, 5vw, 52px); }
.page-intro p { margin-top: 12px; }
.approach-essay { padding-block: 8px 40px; max-width: 760px; }
.approach-essay .prose p { font-size: 18px; line-height: 1.65; max-width: 640px; }

/* Research thesis essay — narrower reading measure + airy vertical rhythm */
.essay-section,
.essay-source {
  max-width: 45rem; /* ~720px; reading column vs site wrap ~1180px */
}
.essay-section {
  padding-block: 56px 48px;
}
.essay-section + .essay-section {
  border-top: 1px solid var(--line);
}
.essay-section h2 {
  font-size: clamp(26px, 3.2vw, 32px);
  line-height: 1.25;
  margin: 0 0 28px;
}
.essay-section p {
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 1.55em;
}
.essay-section p:last-child {
  margin-bottom: 0;
}
.essay-source {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 12px 0 8px;
  padding-bottom: 8px;
}

/* Thesis References — quiet academic list (collapsed <details> by default) */
.essay-references {
  max-width: 45rem;
  padding-block: 40px 64px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.essay-references .refs-details {
  margin: 0;
}
.essay-references .refs-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 0.55em;
  margin: 0 0 0;
  user-select: none;
}
.essay-references .refs-summary::-webkit-details-marker {
  display: none;
}
.essay-references .refs-summary::marker {
  content: "";
}
.essay-references .refs-summary::before {
  content: "+";
  flex: 0 0 auto;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--muted);
  width: 0.85em;
}
.essay-references .refs-details[open] > .refs-summary::before {
  content: "\2212";
}
.essay-references .refs-summary h2 {
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}
.essay-references .refs-summary:hover h2,
.essay-references .refs-summary:hover::before {
  color: var(--ink);
}
.essay-references .refs-details[open] > .refs-summary {
  margin-bottom: 20px;
}
.essay-references .refs-note {
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 18px;
  color: var(--muted);
}
.essay-references ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.essay-references li {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 0.85em;
  padding-left: 1.35em;
  text-indent: -1.35em;
  max-width: 42rem;
}
.essay-references li:last-child {
  margin-bottom: 0;
}
.essay-references a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
.essay-references a:hover {
  color: var(--ink);
}

.page-intro:has(+ .essay-source),
.page-intro:has(+ .essay-section) {
  max-width: 45rem;
  padding-block: 64px 40px;
}
.page-intro:has(+ .essay-source) p,
.page-intro:has(+ .essay-section) p {
  margin-top: 18px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 8px 28px;
}

.filters button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 14px;
  min-height: 44px;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}

.filters button.is-on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.list-item {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: center;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}

.list-item img { width: 220px; height: 140px; object-fit: cover; background: var(--paper); }
.list-item .ph {
  width: 220px; height: 140px; background: var(--paper2, #faf8f3);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center; padding: 12px; box-sizing: border-box;
}
.hero-ph {
  height: min(48vh, 360px); margin-top: 8px; background: var(--paper2, #faf8f3);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}
.list-item h2 { font-size: 24px; }
.list-item .place { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.45; }
.list-item .place .meta-leed { color: var(--ink); font-weight: 500; }

.hero-img { height: min(72vh, 640px); margin-top: 8px; }

.project-head { padding-block: 40px 10px; }
.project-head h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.12;
}

.lede { font-size: 20px; margin-top: 12px; max-width: 720px; }
/* Project short descriptive heading (Richard 2026-10-06): heading-weight lede under the title */
.project-head .lede {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  color: var(--ink);
  margin-top: 16px;
}
.project-writeup { padding-top: 48px; margin-top: 24px; border-top: 1px solid var(--line); }
.project-head .title-zh { font-size: 18px; margin-top: 8px; color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  padding-block: 28px 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 28px 0 36px;
  align-items: start;
}

.facts dt { font-size: 11px; letter-spacing: 0.14em; }
.facts dd { margin-top: 4px; }

.prose { max-width: 720px; }
.prose p { margin-bottom: 18px; }
.prose h2 { font-size: 28px; margin: 36px 0 12px; }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 36px 0;
}
.gallery img { width: 100%; height: 280px; object-fit: cover; background: var(--paper); }
.gallery img.wide { grid-column: 1 / -1; height: 420px; }

.gallery-split { margin: 36px 0; }
.gallery-split .gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.gallery-split .gallery-tabs button {
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.gallery-split .gallery-tabs button.is-on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.gallery-split .gallery-panel { display: none; }
.gallery-split .gallery-panel.is-on { display: block; }
.gallery-split .gallery-panel .gallery { margin: 0; }
.gallery-split .gallery-heading {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.awards-box { max-width: 720px; margin: 8px 0 0; padding-block: 28px 8px; }
.awards-box h2 { font-size: 28px; margin-bottom: 14px; }
.awards-box ul { list-style: none; }
.awards-box li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.awards-box .yr { color: var(--muted); }

.next-proj {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 14px;
}
.next-proj a:hover { color: var(--ink); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  padding-block: 20px 40px;
}
.split h2 { font-size: 28px; margin-bottom: 12px; }
.split img { width: 100%; height: 420px; object-fit: cover; background: var(--paper); }
.split.practice-intro {
  display: flex;
  align-items: stretch;
  gap: 56px;
}
.split.practice-intro .split-photo {
  flex: 0.9 1 0;
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0; /* allow shrink; ignore img intrinsic min */
  align-self: stretch;
}
.split.practice-intro .split-photo img,
.split.practice-intro img {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  background: var(--paper);
}
.split.practice-intro .prose {
  flex: 1.1 1 0;
  min-width: 0;
}
@media (max-width: 800px) {
  .split.practice-intro {
    flex-direction: column;
  }
  .split.practice-intro .split-photo {
    flex: none;
    width: 100%;
    height: min(52vw, 300px);
  }
}

/* Practice — Design ethos (culture / DNA; not /approach/ method essay) */
.practice-ethos {
  max-width: 720px;
  padding-block: 28px 20px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.practice-ethos .section-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.75;
  margin-bottom: 12px;
}
.practice-ethos .prose {
  max-width: 720px;
}
.practice-ethos .prose p {
  margin-bottom: 18px;
}
.practice-ethos .prose p:last-child {
  margin-bottom: 0;
}

/* Practice prior-work credential — Building on the Water (PM/CM, not a WZWX design case) */
.practice-credential {
  padding-block: 28px 8px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.practice-credential .hero-img {
  height: min(68vh, 620px);
  margin-top: 0;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: var(--paper);
}
.practice-credential .cred-caption {
  padding-block: 18px 8px;
  max-width: 760px;
}
.practice-credential .cred-caption .section-label {
  margin-bottom: 8px;
}
.practice-credential .cred-caption h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 10px;
  font-weight: 500;
}
.practice-credential .cred-caption .cred-role,
.practice-credential .cred-caption .cred-fact,
.practice-credential .cred-caption .cred-award {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 6px;
  max-width: 640px;
}
.practice-credential .cred-caption .cred-award { margin-bottom: 0; }
.practice-credential .cred-caption .cred-press {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 640px;
  margin: 10px 0 0;
}
.practice-credential .cred-caption .cred-press a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.practice-credential .cred-caption .cred-press a:hover { color: var(--ink); }
@media (max-width: 820px) {
  .practice-credential .hero-img {
    height: min(52vw, 360px);
  }
}

.award-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.award-row .year { color: var(--muted); }
.award-row .lines { display: flex; flex-direction: column; gap: 8px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-block: 20px 40px;
  text-align: center;
}
.contact-grid h2 { font-size: 24px; margin-bottom: 8px; }
.contact-grid p { color: var(--muted); }
.contact-grid .addr {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 28em;
  margin-inline: auto;
}
.contact-grid a { border-bottom: 1px solid var(--line); }


.products { margin-block: 48px 24px; }
.products h2 {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 500; margin-bottom: 16px;
}
.products-strip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.products-strip img { width: 100%; height: 160px; object-fit: cover; background: #e8e4dc; }
.form-block {
  max-width: 880px;
  padding-block: 8px 48px;
}
.form-block h2 { font-size: 28px; margin-bottom: 8px; }
.form-block .hint { color: var(--muted); margin-bottom: 28px; max-width: 640px; }

.form-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.form-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px 24px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.form-row > label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 14px;
  margin: 0;
}

.form-row .field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  min-width: 0;
}

.form-row .field > input,
.form-row .field > select,
.form-row .field > textarea {
  flex: 1 1 220px;
  min-width: 0;
}

.form-row .unit {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.form-row .undef {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  padding-top: 0;
  margin: 0;
  white-space: nowrap;
}

.form-row .undef input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  border-radius: 0;
}

input:disabled, select:disabled, textarea:disabled {
  opacity: 0.45;
  background: var(--bg);
  cursor: not-allowed;
}

textarea { min-height: 140px; resize: vertical; }

.form-actions { padding-top: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0;
}

.study-list {
  max-width: 760px;
  padding-block: 8px 48px;
}
.study-list .study-item {
  display: block;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: inherit;
}
a.study-item:hover h2 { border-bottom-color: var(--ink); }
.study-list .study-item h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 6px;
  display: inline;
  border-bottom: 1px solid transparent;
}
.study-list .study-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0;
}
.study-list .study-item p { color: var(--muted); max-width: 640px; }
.study-list .draft-tag,
.page-intro .draft-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.study-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.study-back:hover { color: var(--ink); }

.faq {
  padding-block: 48px 64px;
  max-width: 760px;
}
.faq h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 18px;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 640px;
}

.partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-block: 12px 40px;
  align-items: stretch;
}
.partners h2 { font-size: 28px; margin-bottom: 8px; }
.partners p { color: var(--muted); margin: 0 0 8px; }
.partners p:last-child { margin-bottom: 0; }

/* Practice — IndesignLive firm profile */
.practice-press {
  max-width: 720px;
  padding-block: 8px 28px;
  border-top: 1px solid var(--line);
}
.practice-press .section-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.75;
  margin-bottom: 8px;
}
.practice-press .cred-press {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 640px;
  margin: 0;
}
.practice-press .cred-press a,
.practice-press-mock .cred-press a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.practice-press .cred-press a:hover,
.practice-press-mock .cred-press a:hover { color: var(--ink); }
.practice-press .cred-press + .cred-press { margin-top: 6px; }

@media (max-width: 820px) {
  .project-row, .list-item, .facts, .split, .contact-grid,
  .awards-strip, .gallery, .partners, .faq {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .form-row > label { padding-top: 0; }
  /* Keep enquiry inputs full-width; unit + Undefined sit on the next row */
  .form-row .field > input,
  .form-row .field > select,
  .form-row .field > textarea {
    flex: 1 1 100%;
    width: 100%;
  }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
    margin-inline: 0;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters button {
    flex: 0 0 auto;
    padding: 10px 12px;
  }
  .list-item img, .project-row img { width: 100%; height: 220px; }
  .gallery img { height: min(52vw, 240px); }
  .gallery img.wide { height: min(62vw, 300px); }
  .project-head h1 {
    font-size: clamp(28px, 7.2vw, 40px);
    overflow-wrap: anywhere;
  }
  .page-intro h1,
  .statement h1 {
    overflow-wrap: anywhere;
  }
  .award-row {
    grid-template-columns: 64px 1fr;
    gap: 14px;
  }
  .awards-box li {
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }
  .pub-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-end { justify-content: flex-start; }
  .lede { font-size: 18px; }
  .project-head .lede { font-size: clamp(18px, 4.6vw, 22px); }
  .statement { padding-block: 40px 28px; }
  .menu-btn { display: inline-flex; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    z-index: 20;
  }
  nav.is-open { display: flex; }
  .site-header { flex-wrap: wrap; }
  .next-proj { flex-direction: column; }
  .project-head,
  .facts,
  .prose,
  .gallery,
  .awards-box,
  .next-proj {
    margin-inline: auto;
    max-width: 100%;
  }
  .gallery img,
  .gallery img.wide {
    width: 100%;
    max-width: 100%;
  }
  .wordmark {
    font-size: 20px;
    gap: 8px;
    min-width: 0;
  }
  .wordmark small {
    font-size: 10px;
  }
}

/* 2026-10-12 FAQ / insight articles */
.faq-crumbs { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 24px; }
.faq-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.faq-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.faq-crumbs a { color: var(--muted); }
.faq-crumbs a:hover { color: var(--ink); }
.faq-article h3 { font-family: var(--font-serif); font-weight: 500; font-size: 21px; margin: 32px 0 10px; }
.faq-article ul, .faq-article ol { margin: 0 0 1.55em; padding-left: 1.3em; font-size: 18px; line-height: 1.7; }
.faq-article li { margin-bottom: 0.55em; }
.faq-article a { text-decoration: underline; text-underline-offset: 2px; }
.faq-article .faq-decide { font-size: 16px; color: var(--muted); border-left: 2px solid var(--line); padding-left: 14px; }
.faq-article .faq-phases p { margin-bottom: 0.4em; }
.faq-article .faq-phases li { margin-bottom: 1.1em; }
.faq-table-wrap { overflow-x: auto; margin: 0 0 1.55em; }
.faq-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 520px; }
.faq-table th, .faq-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.faq-table thead th { font-weight: 500; color: var(--muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.faq-qa dt { font-weight: 500; font-size: 18px; margin-top: 22px; }
.faq-qa dd { margin: 6px 0 0; font-size: 17px; line-height: 1.7; color: var(--muted); }
.faq-cta { background: var(--paper); border: 1px solid var(--line); padding: 32px clamp(20px, 4vw, 40px); margin-block: 8px 24px; }
.essay-section.faq-cta + .essay-section { border-top: 0; }
.faq-cta h2 { margin-bottom: 16px; }
.faq-cta p { font-size: 17px; }
.faq-cta-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 22px; }
.faq-cta-actions .btn { color: var(--paper); text-decoration: none; }
.faq-cta-actions .faq-mail { font-size: 15px; }
.faq-sources { font-size: 14px; color: var(--muted); }
.faq-sources ul { font-size: 14px; }
.faq-related { font-size: 15px; color: var(--muted); }
.faq-lang-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.faq-index .study-item p { margin-top: 8px; }
.footer-end a { color: var(--muted); }
.footer-end a:hover { color: var(--ink); }
.faq-endnav { border-top: 1px solid var(--line); padding-block: 32px 8px; }
.faq-endnav .faq-next-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.faq-endnav .faq-next { display: block; border: 1px solid var(--ink); padding: 16px 20px; color: var(--ink); text-decoration: none; }
.faq-endnav .faq-next:hover { background: var(--ink); color: var(--paper); }
.faq-endnav .faq-next:hover .faq-next-label { color: var(--paper); }
.faq-endnav .faq-next-title { font-family: var(--font-serif); font-size: 22px; line-height: 1.3; }
.faq-endnav .faq-prev { display: inline-block; margin-top: 14px; font-size: 15px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.faq-endnav-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.faq-endnav-actions .btn { text-decoration: none; color: var(--paper); }
.faq-endnav-actions .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.faq-endnav-actions .faq-top { margin-left: auto; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.faq-endnav-actions .faq-top:hover { color: var(--ink); }
@media (max-width: 820px) {
  .faq-endnav-actions { flex-direction: column; align-items: stretch; }
  .faq-endnav-actions .faq-top { margin-left: 0; text-align: center; padding-top: 6px; }
}

/* 2026-10-12 per-tile gentle zoom (T-HAM nas-07: building up, less sky) */
.gallery .g-zoom { display: block; overflow: hidden; line-height: 0; }
.gallery .g-zoom img { transform: scale(var(--g-zoom, 1.12)); transform-origin: 50% 100%; }
/* 2026-10-13 full-width gallery tile at natural aspect (no crop), all breakpoints */
.gallery img.wide.natural { height: auto; aspect-ratio: auto; }

/* 2026-10-13 Practice — partners photo under bios (uncropped) */
.partners-photo { padding-block: 0 40px; }
.partners-photo img { display: block; width: 100%; height: auto; }

/* 2026-10-14 header logo (Richard's 澤新建築 / WZWX ARCHITECTURE GROUP) */
.wordmark.wordmark-logo { display: inline-flex; align-items: center; line-height: 0; flex-shrink: 0; }
.wordmark-logo img { display: block; height: 48px; width: auto; }
@media (max-width: 820px) { .wordmark-logo img { height: 40px; } }

/* 2026-10-14 official award logos */
.aw-line { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; }
.aw-logo { display: flex; align-items: center; min-height: 40px; }
.aw-logo img { height: 40px; width: auto; max-width: 132px; object-fit: contain; object-position: left center; display: block; }
.award-row .lines { gap: 14px; }
.awards-box li { grid-template-columns: 72px 132px 1fr; align-items: center; }
@media (max-width: 820px) {
  .aw-line { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .aw-logo img { height: 32px; max-width: 160px; }
  .aw-logo { min-height: 0; }
  .aw-logo:empty { display: none; }
  .awards-box li { grid-template-columns: 56px 1fr; gap: 6px 12px; align-items: start; }
  .awards-box li .yr { grid-row: span 2; }
  .awards-box li .aw-logo, .awards-box li .aw-logo + span { grid-column: 2; }
}
/* 2026-10-14 About these awards */
.awards-about { margin-block: 56px 24px; }
.awards-about > * { max-width: 720px; }
.awards-about h2 { padding-top: 28px; border-top: 1px solid var(--line); max-width: none; }
.awards-about h2 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-family: var(--font-sans); font-weight: 400; margin-bottom: 20px; }
.awards-about .aa-item { margin-bottom: 18px; }
.awards-about h3 { font-size: 15px; font-weight: 500; margin-bottom: 4px; font-family: var(--font-sans); }
.awards-about p { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* 2026-10-13 Industry insights */
.ins-list { max-width: 760px; padding-block: 8px 48px; }
.ins-card { border-top: 1px solid var(--line); padding: 32px 0; }
.ins-card h2 { font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 1.3; margin: 6px 0 14px; }
.ins-card h2 a { color: inherit; }
.ins-card h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ins-meta { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ins-card p { font-size: 17px; line-height: 1.7; max-width: 680px; }
.ins-card blockquote { margin: 16px 0; padding-left: 16px; border-left: 2px solid var(--line); font-family: var(--font-serif); font-size: 19px; color: var(--ink); }
.ins-view { background: var(--paper); border: 1px solid var(--line); padding: 18px 22px; margin: 18px 0; }
.ins-view .ins-view-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ins-endnav { max-width: 760px; padding-block: 24px 8px; }
.ins-endnav .faq-endnav-actions { margin-top: 0; }
.ins-link a { font-size: 14px; text-decoration: underline; text-underline-offset: 2px; }
/* 2026-10-14 publisher covers (approved by Richard) */
.ins-list.ins-has-covers { max-width: 980px; }
.ins-card.ins-has-thumb { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.ins-thumb { margin: 6px 0 0; }
.ins-thumb-link { display: block; }
.ins-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); }
.ins-credit { font-size: 11px; letter-spacing: 0.06em; color: var(--muted); margin-top: 6px; }
.ins-fallback { aspect-ratio: 3 / 2; border: 1px solid var(--line); background: var(--paper); padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); }
.ins-fb-pub { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ins-fb-title { font-family: var(--font-serif); font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ins-divider { border-top: 1px solid var(--ink); padding-top: 12px; margin: 40px 0 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
/* the first card after the label has no rule of its own: its border-top is what ran through the label */
.ins-divider + .ins-card { border-top: 0; padding-top: 24px; }
@media (max-width: 820px) { .ins-card.ins-has-thumb { display: block; } .ins-thumb { margin: 0 0 16px; } .ins-fb-title { font-size: 20px; } }
@media (max-width: 640px) { .ins-card h2 { font-size: 22px; } .ins-card p { font-size: 16px; } .ins-view { padding: 16px; } }

/* Closing contact band */
.cta-band {
  margin-top: 72px;
  padding-block: 40px 8px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 40px;
  flex-wrap: wrap;
}
.cta-band-text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.3;
  color: var(--ink);
}
.cta-band-link {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  white-space: nowrap;
}
.cta-band-link:hover { color: var(--muted); border-color: var(--muted); }
.cta-band + .site-footer { margin-top: 40px; }
@media (max-width: 640px) {
  .cta-band { margin-top: 56px; padding-block: 32px 4px; flex-direction: column; align-items: flex-start; }
  .cta-band-text { font-size: 22px; }
}
.inline-link { border-bottom: 1px solid var(--ink); }
.inline-link:hover { color: var(--muted); border-color: var(--muted); }

/* Contact: budget currency selector (16 Oct 2026) */
.form-row .field > select.currency { flex: 0 0 auto; width: auto; min-width: 120px; }

/* Homepage client logo row (2026-10-16) -> 3 cols x 2 rows (Shihlien, T-HAM, Taiwan Glass / HBA, Walsin, Shan Tea) */
.client-logos { padding-block: 48px 8px; border-top: 1px solid var(--line); margin-top: 20px; }
.client-logos .section-label { margin-bottom: 20px; }
.client-logos-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  margin: 0;
  padding: 0;
}
.client-logos + .cta-band { margin-top: 48px; }
.client-logos-row li { display: flex; align-items: center; justify-content: flex-start; min-height: 104px; padding-block: 16px; border-top: 1px solid var(--line); }
.client-logos-row img { height: var(--h, 40px); width: auto; max-width: 100%; display: block; }
@media (max-width: 820px) {
  .client-logos + .cta-band { margin-top: 40px; }
  .client-logos { padding-block: 40px 0; }
  .client-logos-row { column-gap: 24px; }
  .client-logos-row li { min-height: 88px; padding-block: 12px; }
  .client-logos-row img { height: calc(var(--h, 40px) * 0.8); }
}
@media (max-width: 640px) {
  .client-logos-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Contact page client logo row (2026-10-16): compact single row above the enquiry form */
.contact-logos { margin: 4px 0 32px; }
.contact-logos .section-label { margin-bottom: 14px; }
.contact-logos-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 36px;
  margin: 0;
  padding: 0;
}
.contact-logos-row li { display: flex; align-items: center; }
.contact-logos-row img { height: var(--h, 30px); width: auto; max-width: 100%; display: block; }
@media (max-width: 820px) {
  .contact-logos { margin-bottom: 28px; }
  .contact-logos-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
  .contact-logos-row li { min-height: 36px; }
  .contact-logos-row img { height: calc(var(--h, 30px) * 0.8); }
}

/* >>> back-to-top (2026-10-16) */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
  font: 400 17px/1 var(--font-sans);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, color .2s ease, border-color .2s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: var(--ink); border-color: var(--muted); }
.back-to-top:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.back-to-top span { display: block; transform: translateY(-1px); }
@media (max-width: 640px) {
  .back-to-top { right: 14px; bottom: 14px; width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; transform: none; }
}
/* <<< back-to-top */

/* >>> client-logo-links (2026-10-16) */
.client-logos-row li > a.client-logo-link { display: flex; align-items: center; align-self: stretch; max-width: 100%; color: inherit; text-decoration: none; transition: opacity .2s ease; }
.client-logos-row a.client-logo-link:hover { opacity: .6; }
.client-logos-row a.client-logo-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; opacity: 1; }
.client-filter-note { margin-block: 0; padding-block: 0 24px; font-size: 14px; color: var(--muted); }
.client-filter-note[hidden] { display: none; }
.client-filter-note strong { color: var(--ink); font-weight: 500; }
.client-filter-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .client-logos-row li > a.client-logo-link { transition: none; } }
/* <<< client-logo-links */


/* >>> comments-20261020 */
/* Contact: Taipei head-office phone line under the three studio cards */
.contact-hq-phone { text-align: center; color: var(--muted); font-size: 15px; line-height: 1.5; margin-top: calc(1.75rem - 16px); padding-bottom: 40px; }
.contact-hq-phone a { color: var(--ink); border-bottom: 1px solid var(--line); white-space: nowrap; }
/* Services pages: other services (bottom) */
.svc-others { padding-block: 8px 72px; }
.svc-others h2 { font-family: var(--font-sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 18px; }
.svc-others-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.svc-others-list a { display: block; border-top: 1px solid var(--line); padding: 18px 0 20px; color: inherit; text-decoration: none; }
.svc-others-t { display: block; font-family: var(--font-serif); font-size: 24px; line-height: 1.25; }
.svc-others-d { display: block; margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.svc-others-list a:hover .svc-others-t, .svc-others-list a:focus-visible .svc-others-t { text-decoration: underline; text-underline-offset: 4px; }
.svc-others-all { margin-top: 20px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.svc-others-all a { border-bottom: 1px solid var(--ink); }
@media (max-width: 820px) { .svc-others-list { grid-template-columns: 1fr; } .svc-others-t { font-size: 21px; } .contact-hq-phone { margin-top: calc(1.75rem - 8px); } }
/* <<< comments-20261020 */


/* >>> consent notice (analytics-20261020) */
.consent-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: 12px 28px; flex-wrap: wrap;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--paper); color: var(--ink);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(26, 25, 22, 0.06);
  font-size: 13px; line-height: 1.55;
}
.consent-bar[hidden] { display: none; }
.consent-text { margin: 0; flex: 1 1 520px; max-width: 760px; color: var(--muted); }
.consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.consent-bar .btn { min-height: 40px; padding: 8px 18px; }
.consent-bar .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.has-consent-bar .back-to-top { bottom: calc(var(--consent-h, 0px) + 16px); }
.cookie-settings { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.cookie-settings:hover { color: var(--ink); }
.cookie-settings[hidden] { display: none; }
@media (max-width: 640px) {
  .consent-bar { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); font-size: 12.5px; gap: 10px; }
  .consent-text { flex-basis: 100%; }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1 1 0; }
}
@media print { .consent-bar { display: none; } }
/* <<< consent notice */

/* >>> structure-v4 (2026-10-19) */
/* Menu: 8 plain links, no dropdowns. Tablets keep the full desktop menu (Richard 19 Oct): 1024-1100 px tighter gap;
   821-1023 px (portrait iPad Pro / small laptops) logo + language switch on one row, the 8 links on a second row.
   <=820 px: phone menu, unchanged. */
@media (min-width: 1024px) and (max-width: 1100px) { nav { gap: 18px; } }
@media (min-width: 821px) and (max-width: 1023px) {
  .site-header { flex-wrap: wrap; row-gap: 4px; padding-bottom: 8px; }
  .site-header nav { order: 3; flex: 1 0 100%; gap: 24px; justify-content: flex-start; }
  .site-header nav .lang { position: absolute; top: 24px; right: max(24px, env(safe-area-inset-right, 0px)); margin-left: 0; }
}
/* Practice: firm thesis section (#research) - figure rules as on the article page */
.practice-thesis { border-top: 1px solid var(--line); margin-top: 24px; }
.practice-thesis .practice-thesis-ver { font-size: 14px; color: var(--muted); margin-top: -12px; margin-bottom: 24px; }
.essay-section .essay-fig { max-width: 45rem; margin: 20px 0 28px; }
.essay-section .essay-fig img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; background: var(--paper); }
.essay-section .essay-fig figcaption { font-size: 12px; letter-spacing: .02em; color: #8a8a8a; margin-top: 8px; }
.practice-press .practice-press-more { margin-top: 10px; }
/* Awards: Press as its own section (#press) */
.press-section { border-top: 1px solid var(--line); margin-top: 64px; padding-block: 48px 40px; scroll-margin-top: 16px; }
.press-section > h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; margin: 0 0 22px; }
.press-section .press-featured { max-width: 720px; margin-bottom: 8px; }
.press-section .press-featured .cred-press { font-size: 16px; line-height: 1.6; color: var(--ink); margin: 0 0 8px; }
.press-section .press-featured .cred-press a { text-decoration: underline; text-underline-offset: 3px; }
.press-section .press-sub { font-family: var(--font-serif); font-weight: 400; font-size: 24px; margin: 44px 0 6px; }
.press-section .press-note { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.press-section .press-in h3 { font-family: var(--font-serif); font-weight: 400; font-size: 20px; margin: 0 0 8px; }
/* Services pages (English; .svc-page wrapper) */
.svc-page .page-intro p.home-lead { color: var(--ink); font-size: 18px; max-width: 700px; line-height: 1.65; }
.svc-page .page-intro p.home-lead + p { margin-top: 18px; font-size: 18px; line-height: 1.65; max-width: 700px; }
.svc-page .svc-proof { max-width: 760px; }
.svc-page .list-item .card-scope { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.45; }
.svc-page .list-item .card-meta { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.45; }
.svc-page .essay-section ul.svc-list { margin: 0 0 1.55em; padding-left: 1.3em; font-size: 18px; line-height: 1.7; }
.svc-page .essay-section ul.svc-list li { margin-bottom: .4em; }
.svc-proof .pp-factline { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #6b6b6b; border-bottom: 1px solid #d8d8d8; padding-bottom: 14px; margin-bottom: 18px; }
.svc-chooser { margin-top: 36px; }
.svc-chooser > .section-label { font-family: var(--font-sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 18px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.svc-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; border-top: 1px solid var(--line); padding-top: 20px; }
.svc-card .svc-pic img { width: 100%; height: 260px; object-fit: cover; display: block; background: var(--paper); }
.svc-card .svc-body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.svc-card .svc-num { font-size: 12px; letter-spacing: .14em; color: var(--muted); margin: 0 0 6px; }
.svc-card h2 { font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 0 0 12px; }
.svc-card .svc-line { font-size: 16px; line-height: 1.6; margin: 0 0 16px; color: var(--ink); }
.svc-card .svc-eg-h { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.svc-card .svc-eg { list-style: none; padding: 0; margin: 0 0 20px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.svc-card .svc-eg li { padding: 3px 0; border-bottom: 1px solid var(--line); }
.svc-card .more { margin-top: auto; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.svc-card:hover h2, .svc-card:focus-visible h2 { text-decoration: underline; text-underline-offset: 4px; }
.svc-card:hover img { opacity: .92; }
.svc-unsure { margin: 3rem 0 2.5rem; font-size: 16px; color: var(--muted); max-width: 760px; }
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; gap: 28px; }
  .svc-card .svc-pic img { height: 220px; }
}
/* <<< structure-v4 */
/* >>> corrections-20261021 */
/* Back to top (Richard 21 Oct): clearer floating button; js keeps it clear of the footer, cookie bar and the Netlify preview badge */
.back-to-top { width: 44px; height: 44px; border: 1px solid var(--ink); color: var(--ink); background: var(--paper); box-shadow: 0 2px 10px rgba(0, 0, 0, .10); font-size: 18px; }
.back-to-top:hover, .back-to-top:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 640px) { .back-to-top { right: 14px; width: 42px; height: 42px; } }
/* In-flow "Back to top" link at the end of long pages (same look as the FAQ / Insights / Thesis end link) */
.page-top { display: flex; justify-content: flex-end; margin-top: 48px; margin-bottom: -40px; }
.page-top-link { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.page-top-link:hover { color: var(--muted); border-color: var(--muted); }
.svc-page + .page-top { margin-top: 0; margin-bottom: 40px; }
@media (max-width: 820px) { .page-top { justify-content: center; margin-top: 36px; margin-bottom: -32px; } .svc-page + .page-top { margin-top: 0; margin-bottom: 32px; } }
/* Services detail pages: "Explore our other services" between the FAQ and the enquiry box */
.svc-more { max-width: 760px; margin-top: -32px; margin-bottom: 28px; }
.btn.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); text-decoration: none; }
.btn.btn-ghost:hover, .btn.btn-ghost:focus-visible { background: var(--ink); color: var(--paper); }
/* Insights 繁/简 (15q Round 13): the English report title kept as a citation under the Chinese card heading */
.ins-card p.ins-cite { font-size: 14px; line-height: 1.5; color: var(--muted); margin: -8px 0 14px; }
/* Insights 繁/简 (15q Round 14): translated pull quotes marked （譯）/（译）, kept on the line of the closing quote mark */
.ins-nw { white-space: nowrap; }
.ins-tr { font-size: .68em; color: var(--muted); letter-spacing: 0; margin-left: .1em; }
/* Contact enquiry (15q Round 17, Richard 21 Oct 22:24): success line after ?sent=1 sits 24px below the submit button (was 0) and keeps the page's
   usual form-to-'Back to top' gap below it (margin-bottom 0, was 28px). Only while shown: hidden = display:none, no empty gap. EN/繁/简 ids. */
#enquiry-sent:not([hidden]), #enquiry-sent-zh:not([hidden]), #enquiry-sent-cn:not([hidden]) { margin-top: 24px; margin-bottom: 0; }
/* Home hero subhead (15q Round 19, Richard 21 Oct 22:36): no 2-character last line such as 「蘇。」/「苏。」 (EN/繁/简, this element only) */
.home-hero-sub { text-wrap: pretty; }
/* Home hero 繁/简 subhead (15q Round 20, Richard 21 Oct 22:46): place names 台北 / 深圳 / 江蘇 (江苏) never split across lines */
.hero-nw { white-space: nowrap; }
/* Contact enquiry pop-up (15q Round 22, Richard 22 Oct): centred card over a dimmed backdrop, square like the site's buttons; inline error after a failed send */
.enquiry-dialog { padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); width: min(520px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); margin: auto; box-shadow: 0 12px 40px rgba(0, 0, 0, .18); }
.enquiry-dialog::backdrop { background: rgba(26, 25, 22, .55); }
.enquiry-dialog-card { padding: 32px 28px 28px; }
.enquiry-dialog .enquiry-dialog-title { font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 1.3; margin: 0 0 14px; color: var(--ink); }
.enquiry-dialog .enquiry-dialog-body { margin: 0 0 26px; font-size: 16px; line-height: 1.65; color: var(--ink); }
.enquiry-dialog-actions { display: flex; justify-content: flex-end; }
.enquiry-dialog-actions .btn { min-width: 120px; }
@media (max-width: 640px) { .enquiry-dialog-card { padding: 26px 22px 22px; } .enquiry-dialog .enquiry-dialog-title { font-size: 22px; } .enquiry-dialog-actions .btn { width: 100%; } }
.form-block .hint.enquiry-error:not([hidden]) { margin-top: 24px; margin-bottom: 0; color: #8a1f17; }
.form-block .hint.enquiry-error a { color: inherit; }
/* Contact enquiry failure pop-up (15q Round 23, Richard 22 Oct): same card; title in the error red; "Email us" (ghost) + "Try again" (primary, stacked on phones) */
.enquiry-dialog-actions { gap: 12px; flex-wrap: wrap; }
.enquiry-dialog.enquiry-dialog--error .enquiry-dialog-title { color: #8a1f17; }
.enquiry-dialog .enquiry-dialog-body a { color: inherit; }
.enquiry-dialog .enquiry-dialog-body a, .form-block .hint.enquiry-error a { white-space: nowrap; }   /* the address never breaks at its hyphen */
@media (max-width: 640px) { .enquiry-dialog-actions { flex-direction: column-reverse; } }
/* Client testimonials (15q Round 24, Richard 22 Oct): Home excerpts after the client logos (3 columns, 1 on phones); full quotes after the project description */
.testimonials { padding-block: 48px 8px; border-top: 1px solid var(--line); margin-top: 40px; }
.testimonials .section-label { margin-bottom: 20px; }
.testimonial-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.testimonial-list li { display: flex; flex-direction: column; padding-block: 24px 8px; border-top: 1px solid var(--line); }
.testimonial-list blockquote { margin: 0 0 16px; }
.testimonial-list blockquote p { margin: 0; font-family: var(--font-serif); font-size: 18px; line-height: 1.55; color: var(--ink); }
.testimonial-list .t-attr { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.testimonial-list .t-link { margin: auto 0 0; font-size: 12px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; }
.testimonial-list .t-link a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.testimonial-list .t-link a:hover, .testimonial-list .t-link a:focus-visible { color: var(--muted); border-color: var(--muted); }
@media (max-width: 900px) { .testimonials { padding-block: 40px 0; } .testimonial-list { grid-template-columns: 1fr; } .testimonial-list li { padding-block: 24px 28px; } }
.testimonials-proj { padding-top: 48px; margin-top: 48px; border-top: 1px solid var(--line); }
.testimonial { margin: 0 0 40px; }
.testimonial + .testimonial { padding-top: 36px; border-top: 1px solid var(--line); }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-family: var(--font-serif); font-size: 19px; line-height: 1.6; color: var(--ink); }
.testimonial figcaption { font-size: 14px; line-height: 1.55; color: var(--muted); }
.testimonial figcaption .t-name, .testimonial figcaption .t-date { display: block; }
.testimonial figcaption .t-name { color: var(--ink); }
/* <<< corrections-20261021 */

/* >>> readability 20261026 (R31) */
:root { --label: #5a564e; --nav-ink: #4a463f; }
/* menu: 14 px, darker grey; the current page is underlined as well as darker (not colour alone) */
nav a { font-size: 14px; letter-spacing: .06em; color: var(--nav-ink); }
nav a[aria-current="page"], nav a:hover, nav a:focus-visible { color: var(--ink); }
nav a[aria-current="page"] > span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.lang button, .lang a { font-size: 14px; letter-spacing: .04em; color: var(--nav-ink); }
.lang button.is-on, .lang a.is-on { color: var(--ink); }
.menu-btn { font-size: 14px; width: auto; min-width: 44px; padding: 0 14px; }
/* labels, categories, captions: 13 px minimum, darker grey */
.section-label, .project-meta .type, .list-item .tag, .facts dt, .practice-ethos .section-label, .practice-press .section-label, .svc-chooser > .section-label,
.svc-others h2, .svc-card .svc-eg-h, .svc-card .svc-num, .faq-endnav .faq-next-label, .study-list .draft-tag, .page-intro .draft-tag, .list-item .ph,
.ins-meta, .ins-view .ins-view-label, .ins-credit, .ins-fb-pub, .ins-divider, .gallery-split .gallery-heading, .form-row > label { font-size: 13px; color: var(--label); }
.filters button { font-size: 13px; }
.filters button:not(.is-on) { color: var(--label); }
.section-label, .practice-ethos .section-label, .practice-press .section-label, .svc-chooser > .section-label, .svc-others h2, .svc-card .svc-eg-h, .faq-endnav .faq-next-label, .ins-fb-pub { letter-spacing: .12em; }
.project-meta .type, .list-item .tag, .facts dt, .ins-meta, .ins-view .ins-view-label, .ins-divider, .svc-card .svc-num { letter-spacing: .1em; }
.filters button:not(.is-on):hover { color: var(--ink); }
.gallery-split .gallery-tabs button { font-size: 13px; }
.testimonial-list .t-link { font-size: 13px; letter-spacing: .05em; }
.essay-section .essay-fig figcaption, .essay-fig figcaption { font-size: 13px; color: var(--muted); }
body .ph-note, body .pp-leader > span, body .pp-role, body .pp-sub-h, body .prior-work .pw-head { font-size: 13px; }
.ins-tr { font-size: max(.68em, 13px); }
/* Chinese: the wide Latin tracking on labels is not needed */
:lang(zh) .section-label, body.lang-zh .section-label, body.lang-zh-cn .section-label { letter-spacing: .08em; }
:lang(zh) .project-meta .type, :lang(zh) .list-item .tag, :lang(zh) .facts dt, body.lang-zh .facts dt, body.lang-zh-cn .facts dt { letter-spacing: .06em; }
/* Home photo caption: 13 px, solid white (was 10-11 px, 72 % white); the photo under it is near-black (measured), a soft shadow keeps it readable if the photo is ever changed */
body .home-hero-cap { font-size: 13px; letter-spacing: .08em; color: #fff; line-height: 1.45; text-shadow: 0 1px 3px rgba(0,0,0,.55); }
body .home-hero-cap:hover, body .home-hero-cap:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 820px) {
  nav a { min-height: 48px; }
  .lang { gap: 8px; margin-left: 0; }
  .lang button, .lang a { min-width: 48px; min-height: 48px; }
}
@media (max-width: 640px) {   /* phones: the caption (now 13 px, two lines in English) keeps clear of the buttons */
  body .home-hero-cap { left: 24px; right: auto; width: fit-content; max-width: calc(100% - 48px); bottom: 16px; font-size: 13px; letter-spacing: .04em; }
  body .home-hero-inner { padding-bottom: 80px; }
  :lang(zh) body .home-hero-inner, body.lang-zh .home-hero-inner, body.lang-zh-cn .home-hero-inner { padding-bottom: 60px; }
}
@media (min-width: 821px) and (max-width: 1180px) { nav { gap: 12px; } nav a { letter-spacing: .03em; } .lang { margin-left: 0; } }   /* tablet widths: the 14 px menu stays on one line */
@media (max-width: 640px) { .consent-bar { font-size: 13px; } }
/* <<< readability */

/* >>> back-to-top-phone 20261026 (R38) */
@media (max-width: 640px) { .back-to-top { right: 8px; width: 48px; height: 48px; } }
/* <<< back-to-top-phone */

/* >>> insights-more 20261026 (R40) */
/* the WZWX view sits directly under the report title: darker label (13 px) and a dark rule so it stands out */
.ins-view { border: 1px solid var(--line); border-left: 4px solid var(--ink); background: var(--paper); padding: 14px 20px 16px; margin: 4px 0 20px; }
.ins-view .ins-view-label { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--ink); margin-bottom: 6px; }
.ins-card p.ins-cite { margin-bottom: 14px; }
/* "Show more": native <details>, all reports stay in the HTML; the button disappears once opened */
.ins-more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 200px; margin: 8px 0 24px; padding: 0 28px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 15px; letter-spacing: .06em; }
.ins-more > summary::-webkit-details-marker { display: none; }
.ins-more > summary:hover, .ins-more > summary:focus-visible { background: var(--ink); color: var(--bg); }
.ins-more[open] > summary { display: none; }
.ins-card[id] { scroll-margin-top: 90px; }
/* <<< insights-more */

/* >>> home-proof 20261026 (R42) */
/* one quiet line under the Home hero (same look as the Services fact line) */
.home-proof { padding-block: 22px 0; }
.home-proof .pp-factline { margin: 0; padding-bottom: 14px; line-height: 1.7; }
@media (max-width: 640px) { .home-proof { padding-block: 16px 0; } .home-proof .pp-factline { font-size: .82rem; letter-spacing: .04em; } }
/* <<< home-proof */
/* >>> r52 20261027 */
.ins-card .ins-view p:not(.ins-view-label) { font-size: 18.5px; line-height: 1.65; }
@media (max-width: 640px) { .ins-card .ins-view p:not(.ins-view-label) { font-size: 17.5px; } }
/* <<< r52 */
/* >>> r55 20261027 */
.svc-page .page-intro:has(~ .svc-chooser) p.home-lead + p { color: var(--ink); }
.svc-page:has(.svc-chooser) .approach-essay { padding-bottom: 24px; }
.svc-page:has(.svc-chooser) .split { padding-block: 12px 24px; }
@media (max-width: 820px) { .svc-page:has(.svc-chooser) .split { row-gap: 8px; } }
@media (max-width: 900px) { .svc-chooser .svc-grid { gap: 56px; } .svc-chooser .svc-card { padding-top: 28px; } }
.ins-more > summary { margin-bottom: 40px; }
@media (max-width: 820px) { .faq-endnav-actions .faq-top { margin-top: 24px; } }
/* <<< r55 */
/* >>> r56 20261027 */
.svc-chooser .svc-unsure { margin-bottom: calc(2.5rem + 48px); }
@media (max-width: 640px) { .svc-chooser .svc-unsure { margin-bottom: calc(2.5rem + 24px); } }
.svc-page .page-intro p.home-lead, .svc-page .approach-essay .prose p { max-width: none; }
.ins-endnav { max-width: none; }
@media (min-width: 641px) {
  .ins-endnav .faq-endnav-actions { flex-direction: row; align-items: center; justify-content: space-between; }
  .ins-endnav .faq-endnav-actions .faq-top { margin-left: auto; margin-top: 0; padding-top: 0; text-align: right; }
}
.ins-view .ins-view-label { font-size: 15.5px; margin-bottom: 8px; }
.contact-hq-phone { font-size: 16px; }
/* <<< r56 */
/* >>> r57 20261027 */
@media (min-width: 641px) { .svc-page:has(.svc-chooser) .split { max-width: 760px; } }
/* <<< r57 */
/* >>> r58 20261028 */
@media (max-width: 640px) {
  .svc-page:has(.svc-chooser) .page-intro p.home-lead, .svc-page:has(.svc-chooser) .approach-essay .prose p { font-size: 16px; line-height: 1.55; }
  .svc-page + .page-top { margin-top: 36px; margin-bottom: 80px; }
}
/* <<< r58 */
/* >>> r59 20261028 */
@media (max-width: 640px) { .ins-card h2 { font-weight: 600; } }
/* <<< r59 */

/* ---- locale build 20261019 ---- */
/* The staged CSS has a few structural selectors written against the trilingual DOM (hidden en/zh/zh-cn siblings).
   After per-language resolution those siblings are gone, so these rules reproduce today's rendering exactly.
   build_locales.py tags the affected elements: wz-nlc = was not :last-child, wz-ps = had a same-kind previous sibling.
   (2026-10-19: the Practice people-section indent on Chinese headings was removed at Richard's request; only the tighter letter-spacing is kept.) */
.essay-section p.wz-nlc:last-child { margin-bottom: 1.55em; }
.essay-references li.wz-nlc:last-child { margin-bottom: 0.85em; }
.practice-ethos .prose p.wz-nlc:last-child { margin-bottom: 18px; }
.partners p.wz-nlc:last-child { margin-bottom: 8px; }
.pp-role span.wz-ps { letter-spacing: .06em; }
.pp-sub-h span.wz-ps { letter-spacing: .06em; }
.practice-press .cred-press.wz-ps { margin-top: 6px; }
