/* === Design Tokens === */
:root {
  --bg: #F7F5F0;
  --bg-elevated: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #5C5C5C;
  --text-muted: #8A8A8A;
  --border: #E2DED6;
  --border-strong: #1A1A1A;
  --accent: #A95C4F;
  --white: #FFFFFF;
  --radius: 2px;
  --max-width: 560px;
  --frame-width: 640px;
  --header-h: 56px;
  --tab-h: 56px;
  --font-serif: 'Noto Serif SC', 'Source Han Serif SC', 'STSong', 'SimSun', serif;
  --font-serif-en: 'Cormorant Garamond', 'Noto Serif SC', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* === Reset === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  background: #EBE8E0;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
}

/* === App Frame (desktop centered) === */
.app-frame {
  position: relative;
  width: 100%;
  max-width: var(--frame-width);
  margin: 0 auto;
  background: var(--bg);
  min-height: 100vh;
  box-shadow: 0 0 0 1px var(--border);
}

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.logo-zh {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  display: block;
}

.logo-en {
  font-family: var(--font-sans);
  font-size: 5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  display: block;
  width: max-content;
}

/* === App Layout === */
.app-main {
  padding-top: var(--header-h);
  padding-bottom: calc(var(--tab-h) + 40px);
  min-height: 100vh;
}

.view {
  display: none;
  animation: fadeIn 0.45s ease both;
}

.view.is-active {
  display: block;
}

.view-header {
  padding-top: 28px;
  padding-bottom: 8px;
}

.view-header .section-title {
  margin-bottom: 4px;
}

.view-services-header .section-title-en {
  margin-bottom: 0;
}

/* === Typography Blocks === */
.section-block {
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}

.section-block:last-child {
  border-bottom: none;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin-bottom: 1px;
}

.section-title-en {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
  white-space: nowrap;
  display: block;
  width: max-content;
  max-width: 100%;
}

.about-home-block .section-title,
.view-about .section-title {
  display: block;
}

.section-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.lead {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 10px;
  color: var(--text);
}

.body-text {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.body-text-en {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.cities {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-top: 12px;
}

.block-num {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.block-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin-bottom: 22px;
}

.block-title-en {
  font-family: var(--font-serif-en);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
}

.quote-block {
  margin-top: 44px;
  padding: 28px 24px;
  background: var(--bg-elevated);
  border-left: 2px solid var(--text);
}

.quote-block p {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

/* === Hero === */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 560px;
  max-height: 780px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px 72px;
  color: var(--white);
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  white-space: nowrap;
}

.hero-sub {
  font-size: 16px;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

.hero-scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 22px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.hero-scroll span {
  display: block;
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}

/* === Home: About === */
.about-home-block {
  padding-top: 120px;
  padding-bottom: 120px;
}

.lead-en {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-top: 6px;
}

.cities-en {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 4px;
}

.section-block.awards-block {
  padding-top: 72px;
}

/* === Awards === */
.award-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.award-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.3;
  color: var(--text-secondary);
  padding: 12px 0;
}

.award-year {
  font-family: var(--font-serif);
  color: var(--text-muted);
  display: block;
}

.award-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.award-name {
  display: block;
}

.award-name-en {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 1px;
}

/* === Exhibition Table === */
.exhibition-table {
  display: flex;
  flex-direction: column;
}

.exhibition-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  padding: 9px 0;
  font-size: 14px;
  align-items: start;
}

.exhibition-year {
  font-family: var(--font-serif);
  color: var(--text-muted);
}

.exhibition-work {
  font-family: var(--font-serif);
  color: var(--text);
  word-break: keep-all;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exhibition-name {
  display: block;
}

.exhibition-name-en {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 1px;
}

.exhibition-place {
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: right;
}

.exhibition-place-name {
  display: block;
}

.exhibition-place-en {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 1px;
}

/* === Talk === */
.talk-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.talk-image {
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.talk-image img {
  width: 100%;
  height: auto;
  display: block;
}

.talk-caption {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 4px;
}

.talk-caption-en {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === Media === */
/* 左 1/3 空白列放 logo（落中线），右 2/3 放 1/2/3 同宽图片；4与2、5与3中心线对齐 */
.media-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 16px;
  row-gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.media-cell {
  min-width: 0;
}

/* 左列 logo 格：纵向与各自行右图中心线对齐，横向落在 1/3 空白区中线上 */
.media-cell-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-logo {
  width: 96px;
  height: auto;
  max-width: 100%;
  display: block;
}

/* 右列 1/2/3 同宽，左右边界对齐，均按原图比例自然高度显示 */
.media-cell img:not(.media-logo) {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* 1 罗博报告：与 2/3 同宽，按原图比例竖长显示，不裁切不限制高度 */
.media-cell-featured {
  width: 100%;
}

.media-cell.media-cell-featured img {
  width: 100%;
  height: auto;
  display: block;
}

.media-caption {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 4px;
}

.media-caption-en {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === Venture Space === */
.venture-block {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.venture-header {
  margin-bottom: 20px;
}

.venture-header .section-title {
  margin-bottom: 4px;
}

.venture-header .section-title-en {
  margin-bottom: 14px;
}

.venture-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.venture-name-en {
  font-family: var(--font-serif-en);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 16px;
  margin-top: 1px;
}

.venture-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.venture-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: transparent;
}

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

.venture-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 4px;
}

.venture-desc-en {
  font-family: var(--font-serif-en);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === Featured Works === */
.featured-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.featured-card {
  cursor: pointer;
}

.featured-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
  margin-bottom: 14px;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.featured-card:hover .featured-image img {
  transform: scale(1.04);
}

.featured-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  margin-bottom: 10px;
}

.featured-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 4px;
}

.featured-en {
  font-family: var(--font-serif-en);
  font-size: 14px;
  color: var(--text-muted);
}

/* === Services === */
.problem-block {
  margin-bottom: 28px;
}

.quote-line {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 18px;
  padding-left: 16px;
  border-left: 2px solid var(--text);
}

.problem-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
}

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

.service-intro {
  margin-bottom: 28px;
}

.services-list-block {
  padding-top: 28px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.service-card:last-child {
  border-bottom: none;
}

.service-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.service-head h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 1px;
}

.service-en {
  display: block;
  font-family: var(--font-serif-en);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--text-muted);
}

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 2px;
  line-height: 1.7;
}

.service-desc-en {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}

/* === Clients === */
.clients-section {
  padding-top: 48px;
}

.clients-sub {
  margin: 32px 0 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent, #A95C4F);
  text-transform: uppercase;
  font-family: "Inter", "Noto Sans SC", sans-serif;
}

/* 特别合作：默认每占一行，居中放大，无文字 */
.clients-featured {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 14px;
}

/* 原研哉 + 煮叶 并排等高 */
.clients-featured-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.client-featured-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.clients-featured-row .client-featured-cell {
  flex: 0 0 auto;
}

.client-featured-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 240px;
  height: 72px;
}

.clients-featured-row .client-featured-logo-wrap {
  width: auto;
  min-width: 110px;
  height: 88px;
}

.client-featured-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 52px;
  max-width: 90%;
  object-fit: contain;
}

/* 原研哉 + 煮叶：实际渲染高度一致 */
.clients-featured-row .client-featured-logo {
  height: 72px;
  max-height: 72px;
  max-width: 160px;
}

/* 原研哉人物肖像：圆形头像，高度与煮叶对齐 */
.clients-featured-row .client-featured-logo.portrait {
  width: 72px;
  height: 72px;
  max-width: none;
  max-height: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

/* 阿那亚 / 瑜舍 / 善喜：统一缩小 40%（相对容器），三图同高 */
.client-featured-logo-wrap.sm40 {
  height: 48px;
}

.client-featured-logo.sm40 {
  max-height: 60%;
  max-width: 100%;
}

/* 瑜舍 / UABB：上下结构 logo，横向宽度与阿那亚对齐（移动端） */
.client-featured-logo.sm40.yushe-match,
.client-featured-logo.sm40.uabb-match {
  width: 105px;
  height: auto;
  max-height: none;
  max-width: none;
}

/* MOODWOOD：单行显示，撑满 sm40 容器（不额外缩小 40%） */
.client-featured-logo.sm40.keep {
  max-height: 100%;
}

/* 合作伙伴：4 列网格，logo 与文字分离，名称单行 */
.client-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 10px;
  margin-top: 18px;
  align-items: start;
}

.client-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 0;
}

.client-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72px;
  width: 100%;
}

.client-logo {
  display: block;
  max-width: 92%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* 黑色底 logo（如 PechaKucha）用 screen 混合，让黑底融入页面、保留浅色文字 */
.client-logo.screen {
  mix-blend-mode: screen;
}

.client-name {
  margin: 0;
  font-size: clamp(8px, 0.9vw, 10px);
  line-height: 1.35;
  color: var(--text, #1A1A1A);
  text-align: center;
  max-width: 100%;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 超长中文名再降一点，保证单行 */
.client-name.long {
  font-size: clamp(8px, 0.85vw, 9px);
}

.client-name-en {
  margin: 0;
  padding: 0 2px;
  font-size: 8px;
  line-height: 1.35;
  color: #888;
  text-align: center;
  letter-spacing: 0.02em;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === About === */
.team-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-card-vertical {
  gap: 28px;
}

.team-portrait {
  width: 100%;
  max-width: 280px;
  overflow: hidden;
  background: transparent;
}

.team-portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(10%);
}

.team-info h4 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 6px;
}

.team-role {
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 1px;
}

.team-role-en {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  display: block;
}

.team-titles {
  list-style: none;
  margin-bottom: 18px;
}

.team-titles li {
  margin-bottom: 12px;
  line-height: 1.45;
}

.team-title-zh {
  display: block;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 1px;
}

.team-title-en {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* === Process === */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.process-card {
  padding: 20px 16px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
}

.process-card.dark {
  background: var(--text);
  color: var(--bg);
}

.process-card.light {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
}

.process-letter {
  font-family: var(--font-serif-en);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  opacity: 0.6;
}

.process-card h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}

.process-card p {
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.75;
}

/* === Timeline === */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.timeline-item {
  position: relative;
  padding-left: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -23px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text);
  border: 2px solid var(--bg);
}

.timeline-year {
  font-family: var(--font-serif-en);
  font-size: 18px;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.timeline-text strong {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.timeline-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Scale Grid === */
.scale-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.scale-card {
  position: relative;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: var(--bg-elevated);
}

.scale-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.scale-card:hover img {
  transform: scale(1.05);
}

.scale-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: var(--white);
}

.scale-meta strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 2px;
}

.scale-meta span {
  font-size: 11px;
  opacity: 0.85;
}

/* === Exhibitions === */
.exhibition-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.exhibition-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.exhibition-item span:first-child {
  font-family: var(--font-serif);
  font-size: 17px;
}

.exhibition-en {
  font-family: var(--font-serif-en);
  font-size: 13px;
  color: var(--text-muted);
}

/* === Contact === */
.contact-section .cta-btn {
  margin-top: 32px;
}

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

.contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-row span:first-child {
  font-size: 13px;
  color: var(--text-muted);
}

.contact-label-en {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.contact-row strong {
  font-weight: 400;
  font-size: 15px;
  text-align: right;
}

.contact-value-en {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.contact-row a {
  font-size: 15px;
  color: var(--text);
}

.placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}

.qr-block {
  text-align: center;
}

.qr-block img {
  width: 140px;
  height: 140px;
  margin: 0 auto 12px;
  display: block;
  background: transparent;
  object-fit: contain;
}

.qr-block p {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

/* === CTA === */
.cta-block {
  padding-top: 24px;
  padding-bottom: 24px;
  text-align: center;
}

.cta-btn {
  display: block;
  width: 100%;
  padding: 17px 28px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--bg);
  background: var(--text);
  border: 1px solid var(--text);
  transition: background 0.25s ease, color 0.25s ease;
}

.cta-btn:hover {
  background: transparent;
  color: var(--text);
}

/* === Tab Bar === */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--tab-h);
  background: rgba(247, 245, 240, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}

.tab-bar-inner {
  display: flex;
  width: 100%;
  height: 100%;
}

.tab-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s ease;
}

.tab-item.is-active {
  color: var(--text);
}

.tab-item.is-active::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--text);
}

/* === Footer === */
.site-footer {
  padding: 36px 0 calc(36px + var(--tab-h));
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.footer-logo-zh,
.footer-logo-en {
  display: block;
}

.footer-logo-en {
  font-family: var(--font-sans);
  font-size: 4.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.copyright {
  font-size: 11px;
  color: var(--text-muted);
}

/* === Reveal Animation === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Keyframes === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(8px); opacity: 0.4; }
  100% { transform: translateY(0); opacity: 1; }
}

/* === Works Filter === */
.works-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn.is-active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* === Works Grid === */
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.work-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.work-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: transparent;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.work-card:hover .work-image img {
  transform: scale(1.04);
}

.work-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 6px 4px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.45));
  color: var(--white);
  opacity: 1;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.work-card h3 {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-en {
  font-family: var(--font-sans);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

/* === Detail (overlay view) === */
.view-detail {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h) - var(--tab-h));
  z-index: 90;
  background: var(--bg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.detail-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.detail-back {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
}

.detail-bar-title {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.detail-hero {
  width: 100%;
  background: var(--bg-elevated);
  font-size: 0;
}

.detail-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-body {
  padding-top: 28px;
  padding-bottom: 120px;
}

.detail-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.detail-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin-bottom: 4px;
}

.detail-en {
  font-family: var(--font-serif-en);
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.detail-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.detail-info > div {
  background: var(--bg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-info span {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.detail-info strong {
  font-weight: 400;
  font-size: 15px;
  font-family: var(--font-serif);
}

.detail-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-gallery-item {
  width: 100%;
  background: var(--bg-elevated);
}

.detail-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-block {
  margin-bottom: 28px;
}

.detail-block h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.detail-list {
  list-style: none;
}

.detail-list li {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.process-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.process-row span {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.process-row b {
  font-family: var(--font-serif-en);
  font-size: 16px;
  color: var(--text);
  min-width: 20px;
}

.process-row-single span {
  justify-content: center;
  padding: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-style: italic;
}

.service-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.service-project-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-project-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
}

.service-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-project-card:hover .service-project-image img {
  transform: scale(1.04);
}

.service-project-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 6px 4px;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.72), transparent);
  pointer-events: none;
}

.service-project-meta h4 {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--bg);
  margin-bottom: 0;
}

.service-project-meta p {
  font-family: var(--font-serif-en);
  font-size: 8px;
  color: rgba(247, 245, 240, 0.85);
  margin: 0;
  line-height: 1.3;
}

/* === Desktop === */
@media (min-width: 768px) {
  .app-frame {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.04);
  }

  .site-header {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--frame-width);
  }

  .tab-bar {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--frame-width);
  }

  .hero h1 {
    font-size: 46px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-title-en {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .award-list {
    flex-direction: column;
  }

  .award-list li {
    padding: 16px 0;
  }

  .team-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }

  .team-card-vertical {
    flex-direction: column;
    gap: 28px;
  }

  .team-portrait {
    flex: 0 0 auto;
    max-width: 280px;
  }

  .team-info {
    flex: 1;
  }

  .works-grid,
  .service-projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .work-card h3,
  .service-project-meta h4 {
    font-size: 12px;
  }

  .work-en,
  .service-project-meta p {
    font-size: 8.5px;
  }

  .detail-hero {
    max-width: var(--frame-width);
    margin: 0 auto;
    max-height: none;
  }

  .client-logos {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 16px;
    align-items: start;
  }

  .client-featured-logo-wrap {
    width: 300px;
    height: 88px;
  }

  .clients-featured-row .client-featured-logo-wrap {
    width: auto;
    min-width: 140px;
    height: 104px;
  }

  .clients-featured-row {
    gap: 32px;
  }

  .client-featured-logo {
    width: auto;
    height: auto;
    max-height: 60px;
    max-width: 90%;
    object-fit: contain;
  }

  .clients-featured-row .client-featured-logo {
    height: 88px;
    max-height: 88px;
    max-width: 200px;
  }

  .clients-featured-row .client-featured-logo.portrait {
    width: 88px;
    height: 88px;
  }

  .client-featured-logo-wrap.sm40 {
    height: 56px;
  }

  .client-featured-logo.sm40 {
    max-height: 60%;
    max-width: 100%;
  }

  /* 瑜舍 / UABB：上下结构 logo，横向宽度与阿那亚对齐（桌面端） */
  .client-featured-logo.sm40.yushe-match,
  .client-featured-logo.sm40.uabb-match {
    width: 122px;
    height: auto;
    max-height: none;
    max-width: none;
  }

  .client-featured-logo.sm40.keep {
    max-height: 100%;
  }

  .client-cell {
    gap: 9px;
    padding: 0;
    align-items: center;
  }

  .client-logo-wrap {
    height: 88px;
  }

  .client-logo {
    max-width: 88%;
  }

  .client-name {
    font-size: clamp(8px, 0.9vw, 10px);
    max-width: 100%;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .client-name.long {
    font-size: clamp(8px, 0.85vw, 9px);
  }

  .client-name-en {
    font-size: 9px;
    height: 24px;
  }
}

/* === Detail concept block === */
.detail-concept {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.detail-concept-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 18px;
}

.detail-concept-title span {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 4px;
}

.detail-concept-text {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-primary);
  margin: 0;
}

@media (min-width: 768px) {
  .detail-concept {
    margin-top: 64px;
    padding-top: 40px;
  }
  .detail-concept-title {
    font-size: 20px;
    margin-bottom: 22px;
  }
  .detail-concept-title span {
    font-size: 11px;
  }
  .detail-concept-text {
    font-size: 15px;
    line-height: 2;
  }
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
