/* One exhibition palette. Warm neutrals give the work room; blue is the signature. */
:root {
  --paper: #fcfaf6;
  --ink: #17243a;
  --blue: #3043ed;
  --orange: #bd432d;
  --line: #c5cde0;
  --deep: #152341;
  --warm: #f5f1e9;
  --soft-blue: #eef2fc;
  --gold-ink: #735019;
}
.header { background: rgba(252,250,246,.96); color: var(--ink); }
.header.dark { background: rgba(21,35,65,.96); color: #f7f8ff; }
.header.dark .signature, .header.dark .language-switch { color: #d4e0ff; }
.hero,.certificate-dialog,.overview-dialog,.dialog-top { background: var(--paper); }
.hero::before { background: #e8edfc; }
.hero-portrait::before { background: #e87d64; }
.title-period,.signature-slash { color: var(--orange); }
.perspective { background: var(--warm); }
.manifesto .word { color: #77736c; }
.manifesto .word.lit { color: var(--ink); }
.perspective-arrow { color: #697bc3; }
.field { background: var(--soft-blue); }
.project-stage { background: var(--paper); }
.research,.journey { background: var(--deep); }
.paper { background: #203255; border-color: #586b93; }
.paper:hover { background: #263b65; }
.research .section-kicker,.research-opening h2>em,.research-number,.research-orbit>b,
.research-number>span,.research-note>p,.paper-top,.paper-summary,.paper-credit,
.paper-credit span:last-child,.paper-official-title,.paper-official-title:not([lang]),
.paper-credit strong,.paper>a>small,.paper>a:hover,.journey-year,.journey-row>span,
.journey-row b,.journey-row dd,.learning-strip>div>span { color: #dce7ff; }
.research-orbit>i,.paper>a { border-color: #7a8fb9; }
.teaching { background: #f2f5fe; color: var(--ink); }
.teaching>.section-kicker,.teaching-events article>span,.teaching-events article>p,
.teaching-events article>div,.teaching-footnote { color: #384965; }
.teaching-marquee { border-color: #adb9dc; color: #3348b1; }
.teaching h2>span { color:#263ba8; background:#e1e8fc; }
.teaching-burst { color:#7085d1; }
.teaching-events article { border-color:#aab8d4; }
.recognition { background: #f8f4eb; }
.recognition-heading h2>span,.other-awards strong { color: var(--gold-ink); }
.other-awards,.other-awards article { border-color:#cdbda0; }
.award-art,.award-card-two .award-art,.award-card-three .award-art { background: #eee4d2; }
.footer { background: #2538bd; }
.footer-message>span { color: #e1e9ff; }

.featured-shortcuts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.featured-shortcuts a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 7px 12px; border: 1px solid #8494be;
  background: var(--paper); color: #263ba8; font-size: .875rem; font-weight: 700;
  line-height: 1.2; text-align: center;
}
.featured-shortcuts a:hover,.featured-shortcuts a:focus-visible {
  color: #fff; background:#263ba8; border-color:#263ba8;
}
.project-copy #project-role {
  border: 1px solid #9dadd4; padding: 4px 8px; color:#263ba8; background:#eef2fc;
  font-weight: 700;
}
.project-eyebrow { align-items: center; font-size: .8125rem; }
.project-copy .project-description { color: #2e3b55; font-size: .9375rem; }
.project-copy .project-name { color: #465572; font-size: .8125rem; margin: 10px 0 0; }
.project-tags>span { font-size: .75rem; }
.hero-portrait figcaption,.paper>a>small { font-size: .75rem; }
.paper>a { font-size: .9375rem; min-height: 44px; }
.paper>a>small { overflow-wrap: anywhere; }
@media (max-width:700px) {
  html .hero.hero-exhibit { padding-top: 94px; row-gap: 16px; }
  .hero.hero-exhibit .hero-intro { grid-area: 3 / 1 / 4 / -1; }
  .hero.hero-exhibit .sculpture-wrap { grid-area: 4 / 1; }
  .hero.hero-exhibit .hero-portrait { grid-area: 4 / 2; }
  .hero.hero-exhibit .hero-roles { font-size: .8125rem; }
  .hero.hero-exhibit .hero-chinese { font-size: clamp(24px,7.1vw,35px); }
  .featured-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .featured-shortcuts a { padding-inline: 4px; }
  .hero-portrait figcaption,.project-tabs button,.exhibit-proof { font-size: .75rem; }
  .project-tabs button { min-height: 44px; }
  .project-copy .project-description { font-size: .9375rem; }
}
@media print {
  .overview-dialog,.dialog-top { background:white!important; }
}
@media (min-width:701px) {
  .hero.hero-exhibit h1 { top: 19%; font-size: clamp(95px, 15.4vw, 210px); }
  .hero.hero-exhibit h1>span:last-child { font-size: clamp(127px, 20.4vw, 278px); }
  html .hero.hero-exhibit .hero-intro { bottom: 9%; max-width: 42%; }
  .hero.hero-exhibit .hero-chinese { font-size: clamp(27px, 3.05vw, 43px); line-height: 1.17; }
  .hero.hero-exhibit .hero-roles { margin-top: 9px; }
  .featured-shortcuts { gap: 5px; margin-top: 9px; }
  .featured-shortcuts a { padding-inline: 9px; }
}

/* Portrait-only exhibition mount. The photograph itself remains unchanged. */
.hero { --portrait-grid: rgba(184,209,255,.19); }
.hero::before {
  background:
    radial-gradient(ellipse at 77% 16%, #4460c1 0%, transparent 53%),
    repeating-linear-gradient(0deg, transparent 0 31px, var(--portrait-grid) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, var(--portrait-grid) 31px 32px),
    linear-gradient(143deg, #1c2e5b 0%, #111c37 70%);
  box-shadow: inset 0 0 0 1px #6277bb;
}
.hero-portrait::before {
  background: linear-gradient(168deg, #f6a28c, #db6653 70%, #a9443f);
}
.hero-portrait::after {
  background: linear-gradient(90deg, #8eaaff 0 40%, #ccd8ff 40% 93%, #f3967c 93%);
  height: 5px;
}
@media (max-width:700px) {
  .hero.hero-exhibit .hero-portrait::before {
    inset: -8px -8px auto -10px;
    box-sizing: content-box;
    height: 14px;
    padding-bottom: 125%;
    aspect-ratio: auto;
    transform: none;
    background:
      linear-gradient(90deg, #ed947e 0 3px, transparent 3px),
      radial-gradient(ellipse at 93% 0, #566fc7, transparent 63%),
      repeating-linear-gradient(0deg, transparent 0 15px, var(--portrait-grid) 15px 16px),
      repeating-linear-gradient(90deg, transparent 0 15px, var(--portrait-grid) 15px 16px),
      #1a2b55;
  }
}
