/* ============================================================
   显示字体：Druk Condensed Super
   替换原 Barlow Condensed 900 —— 颜色与文字内容保持不变
   ============================================================ */
@font-face {
  font-family: 'Druk Condensed Super';
  src: url('/assets/druk-condensed-super.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
/* 网络失败 / 浏览器不支持 woff2 时的回退 */
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/barlow-condensed-900.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fdfdfd;
  --ink: #080808;
  --dim: #4c4c4c;
  --line: #dedede;
  --display: 'Druk Condensed Super', 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  /* Druk Condensed 本身就是窄体，不需要再横向压扁 */
  --squeeze: 1;
  /* 字号补偿：同字号下 Druk Condensed 的字母总宽只有 Barlow Condensed 的 56.5%，
     1.32 把标题字面宽度补回原来（当年靠 scaleX(.75) 压出来的）体量；1 = 不补偿 */
  --display-scale: 1.45;
  /* 菜单项单独一档：全屏弹层里那几行字原来的视觉高度靠 scaleY(1.5) 撑出来，换真字体后要单独补 */
  --menu-scale: 2.1;
  /* 原来的 1.5 倍纵向拉伸用于把 Barlow 伪装成窄体；Druk 本身就是窄高比例，取 1 */
  --display-stretch: 1;
  --inset: clamp(18px, 4.3vw, 68px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 Arial, sans-serif;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.masthead {
  position: relative;
  display: grid;
  place-items: center;
  margin-inline: var(--inset);
  padding-block: clamp(21px, 4.5vh, 55px) 12px;
}
.brand, .section-title, .menu a {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.brand {
  margin: 0;
  font-size: calc(clamp(55px, 14.6vw, 143px) * var(--display-scale));
  line-height: .92;
  white-space: nowrap;
  transform: scaleX(var(--squeeze));
}
h1.brand {
  line-height: 1;
  transform: scale(var(--squeeze), var(--display-stretch));
}
.brand a { text-decoration: none; }
.navigation {
  position: absolute;
  left: 0;
  top: 60%;
  transform: translateY(-50%);
  z-index: 2;
}
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.menu-toggle:hover { background: var(--ink); color: var(--paper); }
.menu-icon { width: 16px; height: 11px; position: relative; }
.menu-icon::before, .menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
}
.menu-icon::after { top: 8px; }
.menu-close .menu-icon::before { top: 5px; transform: rotate(45deg); }
.menu-close .menu-icon::after { top: 5px; transform: rotate(-45deg); }
html:has(.menu[open]) { overflow: hidden; }
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: clamp(72px, 12vh, 110px) var(--inset) 36px;
  border: 0;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
}
.menu[open] { display: grid; }
.menu::backdrop { background: var(--paper); }
.menu-dismiss {
  position: absolute;
  top: max(22px, env(safe-area-inset-top));
  left: var(--inset);
}
.menu nav {
  display: grid;
  gap: clamp(8px, 2vh, 18px);
  place-items: center;
  place-self: center;
}
.menu a {
  display: grid;
  place-items: center;
  min-height: 44px;
  min-width: 44px;
  padding-inline: 10px;
  font-size: calc(22.5px * var(--menu-scale));
  line-height: 1;
  text-decoration: none;
}
.menu a span { transform: scale(var(--squeeze), var(--display-stretch)); }
.menu a:hover span, .menu a[aria-current] span { text-decoration: underline; text-underline-offset: .12em; }
.home { text-align: center; padding: 0 var(--inset) 26px; }
.portrait {
  display: block;
  width: min(100%, 690px, max(370px, calc((100svh - 260px) * 1.0365)));
  height: auto;
  margin: 0 auto;
}
.social {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 5px 0;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.social:hover { border-bottom-width: 2px; padding-bottom: 4px; }
.social svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.social .arrow { margin-left: 8px; width: 15px; height: 15px; }
.inner {
  width: min(100% - 2 * var(--inset), 690px);
  margin: clamp(28px, 6vh, 76px) auto 64px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.section-title {
  margin: 0 0 16px;
  font-size: calc(clamp(61px, 12vw, 106px) * var(--display-scale));
  line-height: .9;
  transform: scaleX(var(--squeeze));
  transform-origin: left;
}
.inner p { color: var(--dim); margin: 0; }
.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 24px;
}
.contact .social { margin-top: 16px; }
.gallery-trigger {
  display: block;
  width: min(100%, 460px);
  text-align: left;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery-trigger img { width: 100%; height: auto; display: block; }
.gallery-trigger span { display: block; margin-top: 9px; font-size: 13px; color: var(--dim); }
#portrait-dialog {
  width: min(92vw, 1000px);
  max-height: 94vh;
  margin: auto;
  padding: 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
#portrait-dialog::backdrop { background: rgb(0 0 0 / 82%); }
#portrait-dialog img { display: block; width: 100%; max-height: 82vh; object-fit: contain; }
#portrait-dialog form { display: flex; justify-content: end; }
#portrait-dialog button { padding: 8px 12px; min-height: 44px; background: transparent; border: 0; cursor: pointer; }
@media (max-width: 600px) {
  :root {
    /* 小屏收紧一档，避免标题和菜单撑破屏幕 */
    --display-scale: 1.3;
    --menu-scale: 1.72;
  }
  .masthead { padding-bottom: 12px; }
  .menu-toggle { border-color: transparent; }
  .navigation { left: -8px; }
  .menu a { font-size: calc(19.5px * var(--menu-scale)); }
  .social { margin-top: 17px; }
}
