:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --surface: #fffdf7;
  --soft: #ece8df;
  --ink: #191918;
  --charcoal: #1d1d1b;
  --muted: #6c6a64;
  --line: #d8d3c8;
  --focus: #3c4a3e;
  --clay: #9b5545;
  --blue: #4f6873;
  --green: #66735b;
  --white: #fff;
  --max: 1440px;
  --reading: 68ch;
  --header-height: 76px;
  font-family:
    "Noto Sans TC",
    "PingFang TC",
    "Microsoft JhengHei",
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
ol {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--charcoal);
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  font-weight: 500;
  line-height: 1.28;
}

h1 {
  font-size: 58px;
  max-width: 20ch;
}

h2 {
  font-size: 42px;
  max-width: 12ch;
}

h3 {
  font-size: 22px;
}

button {
  font: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  z-index: 1000;
  background: var(--surface);
  border: 1px solid var(--ink);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(20px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open,
.page-plain .site-header {
  background: rgba(255, 253, 247, 0.95);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-brand {
  display: inline-grid;
  color: inherit;
  line-height: 1.1;
  text-decoration: none;
}

.site-brand span {
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  font-size: 20px;
  font-weight: 700;
}

.site-brand small {
  color: currentColor;
  font-size: 12px;
  letter-spacing: 0.05em;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-nav a {
  color: inherit;
  opacity: 0.82;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(29, 29, 27, 0.2);
  color: inherit;
  border: 1px solid currentColor;
  backdrop-filter: blur(10px);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 1px;
  margin: 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero > img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 14, 12, 0.86) 0%, rgba(25, 25, 22, 0.64) 48%, rgba(25, 25, 22, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 13, 11, 0.66) 0%, rgba(12, 13, 11, 0.04) 58%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 148px 0 72px;
}

.hero h1 {
  color: var(--white);
  margin-top: 14px;
  max-width: 10em;
}

.hero-thesis {
  max-width: 48ch;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.hero-fields {
  max-width: 720px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.hero-branches {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.hero-branches a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hero-branches a:hover,
.hero-branches a:focus-visible {
  color: var(--white);
}

.hero-branches .branch-muted {
  color: rgba(255, 255, 255, 0.48);
}

.eyebrow {
  color: var(--clay);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e1c49a;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid currentColor;
  color: inherit;
  font-family: Inter, "Noto Sans TC", ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-decoration: none;
}

.button-primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--charcoal);
}

.button-secondary {
  background: transparent;
  color: var(--white);
}

.button-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--charcoal);
}

.button-ink {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.button-outline {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.opening-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.opening-strip p:last-child {
  color: var(--ink);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.page-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 160px 0 64px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 12ch;
}

.work-page-hero {
  text-align: center;
}

.work-page-hero h1 {
  max-width: none;
  margin-inline: auto;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.55;
  white-space: normal;
}

.work-branch-page .page-hero {
  text-align: center;
}

.work-branch-page .page-hero .back-link {
  margin-inline: auto;
}

.work-branch-page .page-hero h1 {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(23px, 2.6vw, 36px);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.7;
  white-space: nowrap;
}

.page-dek {
  max-width: 56ch;
  margin-top: 22px;
  color: var(--muted);
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.55;
}

.section-grid,
.section-header {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.section-header {
  margin-bottom: 48px;
}

.centered-section-header {
  display: block;
  text-align: center;
}

.centered-section-header .eyebrow,
.centered-section-header h2 {
  margin-inline: auto;
}

.centered-section-header h2 {
  max-width: none;
  white-space: nowrap;
}

.section-header p,
.reading {
  max-width: var(--reading);
}

.section-header p,
.reading p:not(.lead),
.project-meta p,
.journal-list p {
  letter-spacing: 0.035em;
  line-height: 1.95;
}

.lead {
  color: var(--charcoal);
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.65;
  margin-bottom: 20px;
}

.before-section,
.way-section {
  border-bottom: 1px solid var(--line);
}

.before-section .section-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(44px, 8vw, 116px);
}

.before-copy {
  justify-self: center;
  max-width: 700px;
  text-align: center;
}

.before-copy .inline-actions {
  justify-content: center;
}

.before-copy .lead {
  font-size: clamp(28px, 2.45vw, 40px);
  line-height: 1.5;
  margin-bottom: 18px;
  text-wrap: balance;
}

.before-portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
  margin: 0;
  background: var(--soft);
  overflow: hidden;
}

.before-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center 38%;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.project-card {
  border-top: 1px solid var(--line);
  min-height: 260px;
}

.project-card a {
  display: grid;
  gap: 18px;
  height: 100%;
  padding-top: 16px;
  align-content: start;
  color: inherit;
  text-decoration: none;
}

.project-card-large {
  grid-row: span 3;
}

.project-image,
.project-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
}

.project-card-large .project-image {
  aspect-ratio: 5 / 4;
}

.featured-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "first second third"
    "first second third"
    "first second third"
    "first fourth third"
    "fifth fourth seventh"
    "fifth sixth seventh"
    ". sixth .";
  grid-auto-rows: clamp(92px, 7.5vw, 128px);
  gap: clamp(10px, 1vw, 16px);
  margin-inline: auto;
  max-width: 1180px;
}

.featured-work-grid .project-card {
  border-top: 0;
  margin: 0;
  min-height: 0;
  overflow: hidden;
}

.featured-work-grid .project-card-large {
  grid-row: auto;
}

.featured-work-grid .project-card a {
  display: block;
  height: auto;
  padding-top: 0;
  position: relative;
}

.featured-work-grid .project-image,
.featured-work-grid .project-placeholder,
.featured-work-grid .project-card-large .project-image,
.featured-work-grid .project-card:nth-child(n) .project-image {
  aspect-ratio: auto;
  background: var(--soft);
  height: 100%;
}

.featured-work-grid .project-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.featured-work-grid .project-meta {
  background: linear-gradient(to top, rgba(22, 22, 19, 0.5), rgba(22, 22, 19, 0));
  bottom: 0;
  color: rgba(255, 253, 247, 0.9);
  left: 0;
  margin: 0;
  padding: 42px 14px 12px;
  position: absolute;
  right: 0;
}

.featured-work-grid .project-meta p {
  color: rgba(255, 253, 247, 0.68);
  font-size: 11px;
  letter-spacing: 0.09em;
  line-height: 1.5;
  margin-bottom: 2px;
}

.featured-work-grid .project-meta h3 {
  color: rgba(255, 253, 247, 0.94);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 400;
  letter-spacing: 0.065em;
  line-height: 1.45;
  margin: 0;
}

.featured-work-grid .project-card:nth-child(1) {
  grid-area: first;
}

.featured-work-grid .project-card:nth-child(2) {
  grid-area: second;
}

.featured-work-grid .project-card:nth-child(3) {
  grid-area: third;
}

.featured-work-grid .project-card:nth-child(4) {
  grid-area: fourth;
}

.featured-work-grid .project-card:nth-child(5) {
  grid-area: fifth;
}

.featured-work-grid .project-card:nth-child(6) {
  grid-area: sixth;
}

.featured-work-grid .project-card:nth-child(7) {
  grid-area: seventh;
}

.featured-work-grid .project-card a,
.featured-work-grid .project-image,
.featured-work-grid .project-placeholder {
  height: 100%;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .project-card a:hover .project-image img,
  .work-evidence-card a:hover .work-evidence-image img {
    transform: scale(1.025);
  }
}

.work-evidence {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: clamp(92px, 7.5vw, 128px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(10px, 1vw, 16px);
  margin-inline: auto;
  max-width: 1180px;
}

.work-evidence-card {
  border-top: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.work-evidence-card a,
.work-evidence-card > div {
  display: block;
  height: 100%;
  padding-top: 0;
  position: relative;
  color: inherit;
  text-decoration: none;
}

.work-evidence-card:not(.work-evidence-featured) a,
.work-evidence-card:not(.work-evidence-featured) > div {
  grid-template-rows: none;
}

.work-evidence-featured {
  grid-column: auto;
}

.work-evidence-featured a,
.work-evidence-featured > div {
  display: block;
  height: 100%;
  padding-top: 0;
  position: relative;
}

.work-evidence-image {
  aspect-ratio: auto;
  background: var(--soft);
  height: 100%;
  overflow: hidden;
}

.work-evidence-featured .work-evidence-image {
  aspect-ratio: auto;
}

.work-evidence-featured .work-evidence-image.work-evidence-image-landscape {
  aspect-ratio: auto;
}

.work-evidence-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.work-evidence-copy {
  background: linear-gradient(to top, rgba(22, 22, 19, 0.52), rgba(22, 22, 19, 0));
  bottom: 0;
  left: 0;
  padding: 42px 14px 12px;
  position: absolute;
  right: 0;
}

.work-evidence-copy .eyebrow {
  color: rgba(255, 253, 247, 0.68);
  font-size: 11px;
  letter-spacing: 0.09em;
  line-height: 1.5;
  margin: 0 0 2px;
}

.work-evidence-copy h2 {
  max-width: none;
  margin: 0;
  color: rgba(255, 253, 247, 0.94);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 400;
  letter-spacing: 0.065em;
  line-height: 1.45;
  overflow-wrap: anywhere;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.work-evidence-card:nth-child(7n + 1),
.work-evidence-card:nth-child(7n + 3) {
  grid-row: span 4;
}

.work-evidence-card:nth-child(7n + 2),
.work-evidence-card:nth-child(7n + 7) {
  grid-row: span 3;
}

.work-evidence-card:nth-child(7n + 4),
.work-evidence-card:nth-child(7n + 5),
.work-evidence-card:nth-child(7n + 6) {
  grid-row: span 2;
}

.work-index-page .work-evidence {
  grid-auto-flow: row;
  grid-template-areas:
    "first second third"
    "first second third"
    "first fourth third"
    "fifth fourth eighth"
    "fifth sixth eighth"
    "seventh sixth eighth"
    "seventh sixth eighth"
    "ninth tenth eleventh"
    "ninth tenth eleventh"
    "ninth tenth eleventh"
    "twelfth twelfth thirteenth"
    "twelfth twelfth thirteenth"
    "twelfth twelfth thirteenth"
    "twelfth twelfth thirteenth";
}

.work-index-page .work-evidence-card:nth-child(n) {
  grid-row: auto;
}

.work-index-page .work-evidence-card:nth-child(1) {
  grid-area: first;
}

.work-index-page .work-evidence-card:nth-child(2) {
  grid-area: second;
}

.work-index-page .work-evidence-card:nth-child(3) {
  grid-area: third;
}

.work-index-page .work-evidence-card:nth-child(4) {
  grid-area: fourth;
}

.work-index-page .work-evidence-card:nth-child(5) {
  grid-area: fifth;
}

.work-index-page .work-evidence-card:nth-child(6) {
  grid-area: sixth;
}

.work-index-page .work-evidence-card:nth-child(7) {
  grid-area: seventh;
}

.work-index-page .work-evidence-card:nth-child(8) {
  grid-area: eighth;
}

.work-index-page .work-evidence-card:nth-child(9) {
  grid-area: ninth;
}

.work-index-page .work-evidence-card:nth-child(10) {
  grid-area: tenth;
}

.work-index-page .work-evidence-card:nth-child(11) {
  grid-area: eleventh;
}

.work-index-page .work-evidence-card:nth-child(12) {
  grid-area: twelfth;
}

.work-index-page .work-evidence-card:nth-child(13) {
  grid-area: thirteenth;
}

.work-branch-page .work-evidence:has(.work-evidence-card:first-child:last-child) {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}

.work-branch-page .work-evidence:has(.work-evidence-card:first-child:last-child) .work-evidence-card {
  grid-row: span 5;
}

.work-branch-page .work-evidence:has(.work-evidence-card:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
}

.work-branch-page .work-evidence:has(.work-evidence-card:nth-child(2):last-child) .work-evidence-card:nth-child(1) {
  grid-row: span 4;
}

.work-branch-page .work-evidence:has(.work-evidence-card:nth-child(2):last-child) .work-evidence-card:nth-child(2) {
  grid-row: span 3;
}

.work-branch-page .work-evidence:has(.work-evidence-card:nth-child(3):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "first first"
    "first first"
    "first first"
    "first first"
    "second third"
    "second third"
    "second third"
    "second third";
  max-width: 920px;
}

.work-branch-page .work-evidence:has(.work-evidence-card:nth-child(3):last-child) .work-evidence-card:nth-child(n) {
  grid-row: auto;
}

.work-branch-page .work-evidence:has(.work-evidence-card:nth-child(3):last-child) .work-evidence-card:nth-child(1) {
  grid-area: first;
}

.work-branch-page .work-evidence:has(.work-evidence-card:nth-child(3):last-child) .work-evidence-card:nth-child(2) {
  grid-area: second;
}

.work-branch-page .work-evidence:has(.work-evidence-card:nth-child(3):last-child) .work-evidence-card:nth-child(3) {
  grid-area: third;
}

.back-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--charcoal);
  font-family: Inter, "Noto Sans TC", ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.work-branches {
  border-bottom: 1px solid var(--line);
  padding-top: 36px;
}

.work-branch-grid {
  width: min(100%, 980px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  grid-auto-flow: dense;
}

.work-branch-grid a,
.work-branch-grid .branch-card-muted {
  min-height: 56px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 9px 14px;
  background: rgba(255, 253, 247, 0.5);
  border: 1px solid rgba(216, 211, 200, 0.86);
  color: var(--charcoal);
  text-align: center;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.work-branch-grid span span,
.work-branch-grid a span {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.work-branch-grid strong {
  display: block;
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.45;
}

@media (hover: hover) and (pointer: fine) {
  .work-branch-grid a:hover {
    background: #fffaf0;
    border-color: #bdb5a8;
    transform: translateY(-2px);
  }
}

.work-branch-grid > :nth-child(1),
.work-branch-grid > :nth-child(2),
.work-branch-grid > :nth-child(3),
.work-branch-grid > :nth-child(6),
.work-branch-grid > :nth-child(7),
.work-branch-grid > :nth-child(8) {
  grid-column: span 2;
}

.work-branch-grid > :nth-child(4),
.work-branch-grid > :nth-child(5) {
  grid-column: span 3;
}

.work-branch-grid .branch-card-muted {
  background: transparent;
  color: var(--muted);
  opacity: 0.62;
}

.work-single-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
}

.breadcrumb {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-top: 124px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--charcoal);
}

.work-single-copy h1 {
  max-width: none;
  margin-top: 18px;
  font-size: clamp(31px, 3.2vw, 42px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.42;
  white-space: normal;
  overflow-wrap: break-word;
}

.work-single-cover {
  justify-self: end;
  width: min(100%, 560px);
  aspect-ratio: 4 / 5;
  margin: 0;
  background: var(--soft);
  overflow: hidden;
}

.work-single-cover.work-single-cover-landscape {
  aspect-ratio: 3 / 2;
}

.work-single-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-single-cover img.focus-prewedding {
  object-position: center 33%;
}

.work-single-intro {
  border-top: 1px solid var(--line);
}

.work-single-intro-statement .section-grid {
  grid-template-columns: 1fr;
}

.work-single-intro-statement .reading {
  max-width: none;
}

.work-project-note {
  max-width: 68ch;
  margin: 0;
  color: #aaa69e;
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 2;
}

.work-project-note-wide {
  max-width: 86ch;
}

.work-single-intro-statement .work-project-note-wide {
  max-width: none;
  text-align: center;
  letter-spacing: 0.06em;
  line-height: 2.05;
}

@media (min-width: 1180px) {
  .work-single-intro-statement .work-project-note-wide {
    white-space: nowrap;
  }
}

.evidence-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.evidence-list span {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.work-single-facts {
  max-width: 68ch;
  margin: 30px auto 0;
  text-align: left;
}

.pictime-story {
  background: #faf8f3;
}

.pictime-video {
  padding-top: 0;
}

.pictime-video-frame {
  width: min(var(--max), calc(100vw - 40px));
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: #111;
  overflow: hidden;
}

.pictime-video-frame-portrait {
  width: min(480px, calc(100vw - 40px));
  aspect-ratio: 9 / 16;
}

.pictime-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.pictime-fallback {
  width: min(var(--max), calc(100vw - 40px));
  margin: 18px auto 56px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1.8;
  text-align: center;
}

.pictime-fallback a {
  color: var(--charcoal);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-underline-offset: 4px;
}

.work-commission-bridge {
  max-width: 760px;
  text-align: center;
}

.work-commission-bridge h2 {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.65;
}

.work-commission-bridge p:not(.eyebrow) {
  max-width: 46ch;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 2;
}

.work-commission-bridge .inline-actions {
  justify-content: center;
}

img.focus-center {
  object-position: center center;
}

img.focus-lower {
  object-position: center 68%;
}

img.focus-upper {
  object-position: center 42%;
}

img.focus-maternity {
  object-position: center 51%;
}

img.focus-kexin {
  object-position: 72% 50%;
}

img.focus-prewedding {
  object-position: center 27%;
}

img.focus-chris-denzil {
  object-position: center 55%;
}

img.focus-changphel {
  object-position: center 56%;
}

img.focus-red-christmas {
  object-position: center 45%;
}

img.focus-taipei-mingming {
  object-position: center 42%;
}

.project-placeholder {
  background:
    linear-gradient(135deg, rgba(155, 85, 69, 0.2), rgba(255, 253, 247, 0.75)),
    var(--soft);
}

.project-placeholder.tone-green {
  background:
    linear-gradient(135deg, rgba(102, 115, 91, 0.28), rgba(255, 253, 247, 0.74)),
    var(--soft);
}

.project-placeholder.tone-blue {
  background:
    linear-gradient(135deg, rgba(79, 104, 115, 0.28), rgba(255, 253, 247, 0.74)),
    var(--soft);
}

.project-placeholder.tone-cream {
  background:
    linear-gradient(135deg, rgba(216, 211, 200, 0.9), rgba(255, 253, 247, 0.78)),
    var(--soft);
}

.project-placeholder.tone-ink {
  background:
    linear-gradient(135deg, rgba(29, 29, 27, 0.22), rgba(255, 253, 247, 0.74)),
    var(--soft);
}

.project-meta p,
.project-meta span,
.journal-list p,
.section-header p,
.reading p:not(.lead) {
  color: var(--muted);
}

.project-meta h3 {
  margin: 4px 0 6px;
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1.45;
}

.journal-section {
  background: var(--surface);
  box-shadow: 0 0 0 100vmax var(--surface);
  clip-path: inset(0 -100vmax);
}

.journal-list {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journal-list article {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.journal-list article a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.journal-list article a:hover h3,
.journal-list article a:focus-visible h3,
.journal-entry a:hover h2,
.journal-entry a:focus-visible h2 {
  color: var(--clay);
}

.journal-list h3 {
  margin: 8px 0 10px;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.55;
}

.journal-page-hero {
  text-align: center;
}

.journal-page-hero h1 {
  max-width: none;
  margin-inline: auto;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.55;
  white-space: normal;
}

.journal-entry-list {
  max-width: 1180px;
  display: grid;
  gap: 0;
}

.journal-entry {
  border-top: 1px solid var(--line);
}

.journal-entry:last-child {
  border-bottom: 1px solid var(--line);
}

.journal-entry a {
  display: grid;
  grid-template-columns: minmax(120px, 140px) minmax(0, 1fr) minmax(150px, 180px);
  align-items: baseline;
  gap: clamp(20px, 2vw, 36px);
  padding: 28px 0;
  color: inherit;
  text-decoration: none;
}

.journal-entry h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(22px, 1.65vw, 30px);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.68;
  text-wrap: balance;
}

.journal-entry span {
  color: #aaa69e;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-align: right;
  text-transform: uppercase;
}

.journal-single-hero {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 148px 0 64px;
  text-align: center;
}

.journal-single-hero .back-link {
  margin-inline: auto;
}

.journal-single-hero h1 {
  max-width: 980px;
  margin: 18px auto 0;
  color: #24231f;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 400;
  letter-spacing: 0.13em;
  line-height: 1.55;
}

.journal-hero-image {
  width: min(var(--reading), calc(100% - 40px));
  margin: 0 auto 68px;
}

.journal-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1067;
  object-fit: cover;
}

.journal-hero-image figcaption {
  margin-top: 14px;
  color: #aaa69e;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.journal-body {
  border-top: 1px solid var(--line);
}

.journal-body .reading {
  margin-inline: auto;
}

.journal-article h2 {
  max-width: none;
  margin: 58px 0 18px;
  color: var(--charcoal);
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.85;
}

.journal-article .lead,
.journal-article p:not(.lead) {
  color: #7b776f;
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.075em;
  line-height: 2.35;
}

.journal-article .lead {
  margin-bottom: 0;
}

.journal-article p + p {
  margin-top: 22px;
}

.article-outline {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-outline ul {
  margin: 18px 0 0;
  padding: 0 0 0 1.2em;
  color: var(--muted);
}

.article-outline li + li {
  margin-top: 10px;
}

.about-hero {
  text-align: center;
}

.about-hero h1 {
  max-width: none;
  margin: 14px auto 0;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.55;
}

.about-opening-image {
  width: min(620px, calc(100% - 40px));
  margin: 0 auto;
  background: var(--soft);
  overflow: hidden;
}

.about-opening-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
}

.about-story {
  width: min(820px, calc(100% - 40px));
  padding-top: 72px;
  padding-bottom: 78px;
}

.about-story-copy {
  max-width: 760px;
  margin: 0 auto;
}

.about-story-copy .lead,
.about-story-copy p:not(.lead) {
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  font-weight: 400;
  letter-spacing: 0.085em;
}

.about-story-copy .lead {
  color: #25231f;
  font-size: clamp(20px, 1.75vw, 25px);
  line-height: 2.05;
}

.about-story-copy p:not(.lead) {
  margin-top: 34px;
  color: #777269;
  font-size: 16px;
  line-height: 2.45;
}

.about-closing-gallery {
  width: min(760px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: clamp(6px, 0.8vw, 10px);
  padding-top: 0;
}

.about-closing-image {
  height: clamp(260px, 28vw, 360px);
  margin: 0;
  background: var(--soft);
  overflow: hidden;
}

.about-closing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-closing-image-portrait {
  aspect-ratio: auto;
}

.about-closing-image-landscape {
  aspect-ratio: auto;
}

.journal-related-link {
  margin-top: 38px;
}

.journal-related-link a {
  color: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.way-list {
  display: grid;
  gap: 0;
  list-style: none;
  padding: 0;
}

.way-list li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.way-list span {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
}

.about-section {
  background: var(--soft);
  box-shadow: 0 0 0 100vmax var(--soft);
  clip-path: inset(0 -100vmax);
}

.consult-section {
  display: grid;
  gap: clamp(34px, 5vw, 70px);
}

.consult-heading {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.consult-heading h2 {
  max-width: none;
  margin-top: 10px;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.55;
}

.consult-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 2;
}

.consult-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 0.8vw, 10px);
}

.consult-frame {
  height: clamp(220px, 24vw, 360px);
  margin: 0;
  overflow: hidden;
  background: var(--line);
}

.consult-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consult-frame-sea img {
  object-position: 68% 62%;
}

.consult-frame-embrace img {
  object-position: 50% 50%;
}

.consult-frame-laugh img {
  object-position: 45% 44%;
}

.consult-frame-onsite img {
  object-position: 50% 42%;
}

.consult-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 34px);
  align-items: start;
}

.consult-group {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.consult-label {
  color: var(--clay);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
}

.consult-tags,
.consult-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.consult-tags a,
.consult-tags span,
.consult-methods a,
.consult-methods span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 8px 12px;
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.consult-tags span,
.consult-methods span {
  color: var(--muted);
}

.consult-methods a {
  color: var(--charcoal);
}

.consult-methods a:hover,
.consult-methods a:focus-visible {
  background: #fffaf0;
  border-color: #bdb5a8;
}

.consult-contact p:not(.consult-label) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.07em;
  line-height: 2;
}

.consult-home-action {
  display: flex;
  justify-content: center;
}

.consult-main-link {
  min-width: 178px;
  min-height: 42px;
  padding: 10px 18px;
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.consult-page-hero {
  width: min(980px, calc(100% - 40px));
  padding-bottom: 46px;
  text-align: center;
}

.consult-page-hero h1 {
  max-width: none;
  margin: 14px auto 0;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.55;
}

.consult-page-hero p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 2;
}

.consult-page-gallery-wrap {
  padding-top: 0;
}

.consult-page-gallery .consult-frame {
  height: clamp(260px, 28vw, 430px);
}

.consult-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 42px);
  padding-top: 36px;
}

.consult-step {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.consult-step h2 {
  max-width: none;
  margin-top: 10px;
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.72;
}

.consult-step p:not(.consult-label) {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.07em;
  line-height: 2;
}

.consult-contact-panel {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto 92px;
  padding: clamp(38px, 6vw, 72px);
  border: 1px solid var(--line);
  text-align: center;
}

.consult-contact-panel h2 {
  max-width: none;
  margin-top: 10px;
  font-size: clamp(25px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.65;
}

.consult-contact-panel .consult-methods {
  justify-content: center;
  margin-top: 24px;
}

.text-link {
  color: var(--charcoal);
  font-family: Inter, "Noto Sans TC", ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-underline-offset: 5px;
}

.section-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.archive-filter,
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.archive-filter span,
.service-grid a,
.service-grid .service-grid-muted {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 14px;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.service-grid .service-grid-muted {
  color: var(--muted);
  background: rgba(255, 253, 247, 0.36);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  padding: 92px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--charcoal);
  color: var(--white);
}

.contact-section h2,
.contact-section .eyebrow {
  color: var(--white);
}

.contact-section p {
  max-width: var(--reading);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 980px) {
  h1 {
    font-size: 42px;
    max-width: 13ch;
  }

  h2 {
    font-size: 34px;
    max-width: 10ch;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 30;
    background: rgba(255, 255, 255, 0.14);
    border-color: currentColor;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 12px 20px 24px;
    background: rgba(255, 253, 247, 0.98);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 180ms ease;
    visibility: hidden;
  }

  .site-header.nav-open .site-nav {
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .section-grid,
  .section-header,
  .project-grid,
  .featured-work-grid,
  .journal-list,
  .contact-section,
  .opening-strip,
  .archive-filter,
  .service-grid,
  .work-evidence,
  .work-branch-grid,
  .about-closing-gallery,
  .work-evidence-featured a,
  .work-evidence-featured > div,
  .work-single-hero {
    grid-template-columns: 1fr;
  }

  .work-branch-grid > * {
    grid-column: auto;
  }

  .work-single-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-single-copy,
  .work-single-cover {
    min-width: 0;
    max-width: 100%;
  }

  .work-evidence-card,
  .work-evidence-featured {
    grid-column: auto;
  }

  .work-evidence,
  .work-index-page .work-evidence {
    gap: 34px;
    grid-auto-flow: row;
    grid-auto-rows: auto;
    grid-template-areas: none;
    max-width: 680px;
  }

  .work-index-page .work-evidence-card:nth-child(n),
  .work-evidence-card:nth-child(n) {
    grid-area: auto;
    grid-row: auto;
  }

  .work-evidence-card a,
  .work-evidence-card > div,
  .work-evidence-featured a,
  .work-evidence-featured > div,
  .work-evidence-image {
    height: auto;
  }

  .work-evidence-card:nth-child(n) .work-evidence-image {
    aspect-ratio: 4 / 5;
  }

  .work-evidence-card:nth-child(n) .work-evidence-image.work-evidence-image-landscape {
    aspect-ratio: 3 / 2;
  }

  .work-single-copy h1 {
    font-size: 38px;
    white-space: normal;
  }

  .page-hero {
    padding-top: 128px;
  }

  .work-page-hero h1 {
    white-space: normal;
  }

  .work-branch-page .page-hero h1 {
    white-space: normal;
  }

  .journal-page-hero h1 {
    white-space: normal;
  }

  .about-closing-gallery {
    gap: 18px;
  }

  .journal-entry a {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .journal-entry span {
    text-align: left;
  }

  .consult-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consult-frame {
    height: clamp(220px, 42vw, 360px);
  }

  .consult-details {
    grid-template-columns: 1fr;
  }

  .consult-process {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-inner {
    padding-bottom: 54px;
  }

  .centered-section-header h2 {
    white-space: normal;
  }

  .before-section .section-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .before-portrait {
    justify-self: stretch;
    width: 100%;
  }

  .before-copy {
    max-width: none;
  }

  .featured-work-grid {
    gap: 34px;
    grid-auto-rows: auto;
    grid-template-areas: none;
    max-width: 680px;
  }

  .featured-work-grid .project-card:nth-child(n) {
    grid-area: auto;
    grid-row: auto;
    margin-top: 0;
  }

  .featured-work-grid .project-card a,
  .featured-work-grid .project-image,
  .featured-work-grid .project-placeholder {
    height: auto;
  }

  .featured-work-grid .project-card:nth-child(n) .project-image {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 19px;
  }

  .hero-fields {
    font-size: 12px;
    max-width: 28ch;
  }

  .section {
    padding: 68px 0;
  }

  .project-card-large {
    grid-row: auto;
  }

  .section-actions {
    justify-content: flex-start;
  }

  .site-footer {
    display: grid;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .featured-work-grid {
    gap: 14px;
    grid-auto-rows: clamp(92px, 13vw, 132px);
    grid-template-areas:
      "first second"
      "first second"
      "third second"
      "third fourth"
      "fifth fourth"
      "fifth sixth"
      "seventh sixth"
      "seventh .";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 860px;
  }

  .featured-work-grid .project-card:nth-child(n) {
    margin-top: 0;
  }

  .featured-work-grid .project-card:nth-child(1) {
    grid-area: first;
  }

  .featured-work-grid .project-card:nth-child(2) {
    grid-area: second;
  }

  .featured-work-grid .project-card:nth-child(3) {
    grid-area: third;
  }

  .featured-work-grid .project-card:nth-child(4) {
    grid-area: fourth;
  }

  .featured-work-grid .project-card:nth-child(5) {
    grid-area: fifth;
  }

  .featured-work-grid .project-card:nth-child(6) {
    grid-area: sixth;
  }

  .featured-work-grid .project-card:nth-child(7) {
    grid-area: seventh;
  }

  .featured-work-grid .project-card a,
  .featured-work-grid .project-image,
  .featured-work-grid .project-placeholder {
    height: 100%;
  }

  .featured-work-grid .project-card:nth-child(n) .project-image {
    aspect-ratio: auto;
  }

  .journal-list,
  .work-branch-grid,
  .service-grid,
  .archive-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-evidence {
    gap: 14px;
    grid-auto-flow: dense;
    grid-auto-rows: clamp(92px, 13vw, 132px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 860px;
  }

  .work-evidence-featured {
    grid-column: auto;
  }

  .work-index-page .work-evidence {
    grid-template-areas: none;
  }

  .work-index-page .work-evidence-card:nth-child(n) {
    grid-area: auto;
  }

  .work-evidence-card a,
  .work-evidence-card > div,
  .work-evidence-featured a,
  .work-evidence-featured > div,
  .work-evidence-image {
    height: 100%;
  }

  .work-evidence-card:nth-child(7n + 1),
  .work-evidence-card:nth-child(7n + 3) {
    grid-row: span 4;
  }

  .work-evidence-card:nth-child(7n + 2),
  .work-evidence-card:nth-child(7n + 7) {
    grid-row: span 3;
  }

  .work-evidence-card:nth-child(7n + 4),
  .work-evidence-card:nth-child(7n + 5),
  .work-evidence-card:nth-child(7n + 6) {
    grid-row: span 2;
  }

  .before-section .section-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.7fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
    line-height: 1.85;
  }

  .section,
  .page-hero,
  .breadcrumb,
  .work-single-hero,
  .pictime-video-frame,
  .pictime-fallback {
    width: min(var(--max), calc(100% - 32px));
  }

  .breadcrumb {
    flex-wrap: wrap;
    padding-top: 104px;
    line-height: 1.5;
  }

  .hero-inner {
    width: min(var(--max), calc(100% - 32px));
    padding-top: 124px;
    padding-bottom: 44px;
  }

  .hero .eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .hero-thesis {
    max-width: 18em;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.085em;
    line-height: 1.85;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(34px, 10vw, 46px);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.45;
  }

  .hero-fields {
    max-width: 100%;
    font-size: 11px;
    letter-spacing: 0.14em;
    line-height: 1.8;
  }

  .hero-branches {
    display: grid;
    width: min(100%, 360px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin-top: 18px;
  }

  .hero-branches > span[aria-hidden="true"] {
    display: none;
  }

  .hero-branches a,
  .hero-branches .branch-muted {
    display: block;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    text-decoration: none;
  }

  .hero-branches a {
    color: rgba(255, 255, 255, 0.82);
  }

  .hero-branches .branch-muted {
    color: rgba(255, 255, 255, 0.46);
  }

  .hero-actions .button {
    flex: 1 1 138px;
  }

  .button {
    font-size: 11px;
    letter-spacing: 0.145em;
  }

  .featured-work-grid {
    gap: 34px;
    grid-auto-rows: auto;
    grid-template-areas: none;
    max-width: none;
  }

  .project-card {
    min-height: 0;
  }

  .featured-work-grid .project-card:nth-child(n) {
    border-top: 0;
    grid-area: auto;
    grid-row: auto;
  }

  .project-card a {
    gap: 14px;
    padding-top: 0;
  }

  .featured-work-grid .project-card a,
  .featured-work-grid .project-image,
  .featured-work-grid .project-placeholder {
    height: auto;
  }

  .featured-work-grid .project-card:nth-child(n) .project-image {
    aspect-ratio: 4 / 5;
  }

  .featured-work-grid .project-card:nth-child(4) .project-image,
  .featured-work-grid .project-card:nth-child(5) .project-image,
  .featured-work-grid .project-card:nth-child(6) .project-image,
  .featured-work-grid .project-card:nth-child(7) .project-image {
    aspect-ratio: 3 / 2;
  }

  .work-evidence,
  .work-index-page .work-evidence,
  .work-branch-page .work-evidence:has(.work-evidence-card:first-child:last-child),
  .work-branch-page .work-evidence:has(.work-evidence-card:nth-child(2):last-child),
  .work-branch-page .work-evidence:has(.work-evidence-card:nth-child(3):last-child) {
    gap: 34px;
    grid-auto-flow: row;
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
    grid-template-areas: none;
    max-width: none;
  }

  .work-index-page .work-evidence-card:nth-child(n),
  .work-evidence-card:nth-child(n),
  .work-branch-page .work-evidence:has(.work-evidence-card:first-child:last-child) .work-evidence-card,
  .work-branch-page .work-evidence:has(.work-evidence-card:nth-child(2):last-child) .work-evidence-card:nth-child(n),
  .work-branch-page .work-evidence:has(.work-evidence-card:nth-child(3):last-child) .work-evidence-card:nth-child(n) {
    grid-area: auto;
    grid-row: auto;
  }

  .work-evidence-card a,
  .work-evidence-card > div,
  .work-evidence-featured a,
  .work-evidence-featured > div,
  .work-evidence-image {
    height: auto;
  }

  .work-evidence-card:nth-child(n) .work-evidence-image {
    aspect-ratio: 4 / 5;
  }

  .work-evidence-card:nth-child(n) .work-evidence-image.work-evidence-image-landscape {
    aspect-ratio: 3 / 2;
  }

  .work-evidence-card:nth-child(4) .work-evidence-image,
  .work-evidence-card:nth-child(5) .work-evidence-image,
  .work-evidence-card:nth-child(6) .work-evidence-image,
  .work-evidence-card:nth-child(7) .work-evidence-image {
    aspect-ratio: 3 / 2;
  }

  .project-meta h3 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.075em;
    line-height: 1.55;
  }

  .project-meta span {
    display: block;
    font-size: 15px;
    line-height: 1.7;
  }

  .before-section .section-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .before-copy {
    text-align: center;
  }

  .before-copy .inline-actions {
    justify-content: center;
  }

  .before-copy .lead {
    font-size: 25px;
  }

  .before-portrait img {
    aspect-ratio: 4 / 5;
  }

  .consult-section {
    gap: 34px;
  }

  .consult-heading {
    text-align: left;
  }

  .consult-heading h2 {
    font-size: 28px;
    letter-spacing: 0.08em;
    line-height: 1.65;
  }

  .consult-heading p:not(.eyebrow) {
    font-size: 14px;
    letter-spacing: 0.07em;
    line-height: 2;
  }

  .consult-gallery {
    gap: 6px;
  }

  .consult-frame {
    height: clamp(178px, 52vw, 260px);
  }

  .consult-tags,
  .consult-methods {
    gap: 7px;
  }

  .consult-tags a,
  .consult-tags span,
  .consult-methods a,
  .consult-methods span {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 11px;
    letter-spacing: 0.09em;
  }

  .consult-page-hero {
    text-align: left;
  }

  .work-page-hero h1,
  .journal-page-hero h1,
  .about-hero h1,
  .consult-page-hero h1 {
    font-size: 28px;
    letter-spacing: 0.09em;
    line-height: 1.7;
  }

  .consult-page-hero p:not(.eyebrow),
  .consult-contact-panel {
    text-align: left;
  }

  .consult-page-gallery .consult-frame {
    height: clamp(178px, 52vw, 260px);
  }

  .consult-process {
    padding-top: 30px;
  }

  .consult-contact-panel {
    width: min(var(--max), calc(100% - 32px));
    margin-bottom: 68px;
    padding: 34px 20px;
  }

  .consult-contact-panel h2 {
    font-size: 25px;
    line-height: 1.7;
  }

  .consult-contact-panel .consult-methods {
    justify-content: flex-start;
  }

  .work-single-hero {
    padding: 36px 0 48px;
    gap: 24px;
  }

  .work-single-copy h1 {
    font-size: 30px;
    letter-spacing: 0.055em;
    line-height: 1.48;
  }

  .work-single-cover {
    justify-self: stretch;
    width: 100%;
  }

  .work-single-cover.work-single-cover-landscape {
    aspect-ratio: 4 / 3;
  }

  .work-single-cover.work-single-cover-kexin {
    aspect-ratio: 1066 / 1600;
  }

  .work-single-intro .section-grid > div:first-child:empty {
    display: none;
  }

  .work-project-note {
    font-size: 12px;
    line-height: 1.9;
  }

  .work-project-note-wide {
    max-width: 100%;
  }

  .work-single-intro-statement .work-project-note-wide {
    text-align: left;
    letter-spacing: 0.035em;
    white-space: normal;
  }

  .pictime-fallback {
    margin: 16px auto 44px;
  }

  .work-branch-grid {
    grid-template-columns: 1fr;
  }

  .about-opening-image,
  .about-story,
  .about-closing-gallery {
    width: min(var(--max), calc(100% - 32px));
  }

  .about-story {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .about-story-copy .lead {
    font-size: 19px;
    line-height: 1.95;
  }

  .about-story-copy p:not(.lead) {
    font-size: 15px;
    letter-spacing: 0.07em;
    line-height: 2.25;
  }

  .about-closing-gallery {
    gap: 8px;
  }

  .about-closing-image {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .about-closing-image-landscape {
    aspect-ratio: 4 / 3;
  }

  .work-branch-grid a,
  .work-branch-grid .branch-card-muted {
    min-height: 64px;
  }

  .service-grid,
  .archive-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid a,
  .archive-filter span {
    min-height: 58px;
    padding: 12px 10px;
    font-size: 14px;
  }

  .work-evidence-copy h2 {
    font-size: 17px;
    line-height: 1.5;
  }

  .journal-list h3 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.085em;
    line-height: 1.72;
  }

  .centered-section-header .eyebrow {
    font-size: 11px;
    letter-spacing: 0.19em;
  }

  .centered-section-header h2 {
    max-width: 15em;
    font-size: clamp(23px, 6.2vw, 28px);
    font-weight: 400;
    letter-spacing: 0.105em;
    line-height: 1.85;
  }

  #work-title {
    max-width: none;
    font-size: clamp(18px, 4.95vw, 22px);
    letter-spacing: 0.055em;
    line-height: 1.7;
    white-space: nowrap;
  }

  .featured-work-grid .project-meta {
    padding: 46px 13px 12px;
  }

  .featured-work-grid .project-meta p,
  .work-evidence-copy .eyebrow {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .featured-work-grid .project-meta h3,
  .work-evidence-copy h2 {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.085em;
    line-height: 1.58;
  }

  .journal-single-hero {
    width: min(100%, calc(100% - 32px));
    padding: 124px 0 54px;
  }

  .journal-single-hero h1 {
    font-size: clamp(27px, 8vw, 38px);
    letter-spacing: 0.1em;
    line-height: 1.7;
  }
}
