/* ============================================================
   Personal portfolio - quiet editorial photography style
   Desktop first. Plain CSS, no frameworks.
   ============================================================ */

:root {
  --bg: #faf9f7;
  --ink: #1c1a17;
  --ink-2: #7d776d;
  --ink-3: #a39c90;
  --hair: #e7e1d8;
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", SimSun, serif;
  --sans: "Source Han Sans SC", "Source Han Sans CN", "思源黑体",
          "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", sans-serif;
  --han-sans: "Source Han Sans SC", "Source Han Sans CN", "思源黑体",
              "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB",
              "Microsoft YaHei", sans-serif;
  --wrap: 1440px;
}

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


body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 1px solid #9a9387; outline-offset: 4px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(28px, 4.5vw, 72px);
}

.page-panel[data-view="bio"] .wrap {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 8%;
  padding-right: 8%;
}
.page-panel[data-view="ai-film"] .wrap {
  max-width: none;
  padding-left: 8%;
  padding-right: 8%;
}
.page-panel[data-view="photography"] .wrap {
  max-width: none;
  padding-left: 8%;
  padding-right: 8%;
}
.page-panel[data-view="visual"] .wrap {
  max-width: none;
  padding-left: 8%;
  padding-right: 8%;
}


/* “点击观看”灰色小字链接（AI FILM / PHOTOGRAPHY 有外链的标题后） */
.watch-link {
  display: inline-block;
  margin-left: clamp(14px, 1.4vw, 28px);
  font-family: var(--sans);
  font-size: clamp(15.6px, 1.3vw, 18.2px);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(125, 119, 109, 0.5);
  vertical-align: baseline;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.watch-link:hover { color: var(--ink); opacity: 0.7; }

/* Header bar: site name on the left, dot-section nav on the right */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 249, 247, 0.93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(231, 225, 216, 0.45);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--hair);
  box-shadow: 0 1px 0 rgba(28, 26, 23, 0.03);
}

.header-inner {
  max-width: none;
  margin: 0 auto;
  padding: clamp(16px, 2.4vh, 26px) 8% clamp(14px, 2vh, 22px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: clamp(22px, 3.8vw, 58px);
  row-gap: 8px;
}

.site-brand {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.5em;
  min-width: 0;
  font-family: var(--han-sans);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
}

.site-brand-main {
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-brand-sep {
  font-weight: 300;
  color: var(--ink-3);
  white-space: nowrap;
}

.site-brand-sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8em;
  letter-spacing: 0.05em;
  color: var(--ink);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(17px, 2.1vw, 32px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-2);
  text-decoration: none;
  padding: 5px 0 7px;
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--ink);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  opacity: 1;
  transform: translateY(0);
}

/* Sections */
.section { padding: clamp(120px, 16vh, 210px) 0; }

/* 点分板块：一次只显示当前板块，其余隐藏；不再整页纵向拼接成长页面 */
.page-panel { display: none; }
.page-panel.active { display: block; }

/* 板块内部大标题已移除，顶部只保留克制的留白；BIO 首屏照片仍完整可见 */
.page-panel.section { padding-top: clamp(44px, 7vh, 110px); }

/* BIO 收紧上下留白，让「联系我」能随首屏一起呈现 */
.page-panel[data-view="bio"] { padding-top: clamp(26px, 3.6vh, 56px); padding-bottom: clamp(8px, 1.2vh, 20px); }

/* ===== BIO ===== */
.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(42px, 5.2vw, 92px);
  align-items: stretch;
  width: 100%;
}

.bio-visual {
  min-width: 0;
  display: flex;
}

.bio-portraits {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* 照片：宽高为原来的 90% → 再缩至 80%（即列宽 72%），固定宽高比 + cover 裁切，左右居中、上下居中 */
.bio-portraits figure {
  margin: 0;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--hair);
  width: 72%;
  aspect-ratio: 1.25 / 1;
}

.bio-portraits img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.bio-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 36px);
  justify-content: flex-start;
  padding-top: 0;
}

.bio-intro {
  max-width: 38em;
}

.bio-name {
  position: relative;
  font-family: var(--han-sans);
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding-bottom: clamp(10px, 1.6vh, 18px);
}

.bio-name strong {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.bio-name-en {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.82em;
  letter-spacing: 0.03em;
  color: var(--ink);
}

/* 名字下方不再绘制短横线（按需求移除） */

.bio-lead {
  margin-top: clamp(8px, 1.4vh, 14px);
  font-size: clamp(19px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38em;
}

/* BIO 文字介绍下方：克制的 CTA，点击跳转到 AI FILM 板块 */
.bio-cta {
  display: inline-block;
  margin-top: clamp(8px, 1.2vh, 14px);
  font-family: var(--sans);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(28, 26, 23, 0.4);
  cursor: pointer;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.bio-cta:hover {
  opacity: 0.6;
  color: var(--ink);
}

.bio-cta:focus-visible {
  outline: 1px solid #9a9387;
  outline-offset: 5px;
}

.bio-block-title {
  margin-bottom: clamp(8px, 1.2vh, 14px);
  font-family: var(--han-sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

.bio-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.8vh, 8px);
}

/* 年份 | 单位 | 职位 整段左对齐，字号统一与“国际关系学院”一致 */
.bio-timeline-item {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 1vw, 18px);
  text-align: left;
  min-width: 0;
}

.bio-timeline-year {
  font-family: var(--han-sans);
  font-size: clamp(19px, 1.4vw, 21px);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--ink);
  white-space: nowrap;
}

.bio-timeline-org {
  font-size: clamp(19px, 1.4vw, 21px);
  font-weight: 500;
  color: #36322d;
  line-height: 1.5;
}

.bio-timeline-detail {
  font-size: clamp(19px, 1.4vw, 21px);
  color: #56514a;
  line-height: 1.5;
}

.skill-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 10px;
}

.skill-tags li {
  padding: 10px 19px;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--ink);
  border: 1px solid rgba(231, 225, 216, 0.9);
  border-radius: 999px;
  background: #fff;
  line-height: 1.5;
}
/* ===== AI FILM ===== */
.films {
  display: flex;
  flex-direction: column;
  gap: clamp(130px, 19vh, 240px);
}

/* AI FILM：左侧图墙 + 右侧文字两栏，减少页面两侧留白 */
.film {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(48px, 6vw, 120px);
}

/* 图墙：首图（0 开头）较大，其余小图；左侧拼成大致矩形（约 3/4 视口高） */
/* 图墙：拼成一个横向长、高度短的长条矩形；首图（0 开头）更大，其余小图 cover 填满各自单元格 */
/* AI FILM 媒体容器：默认显示 loop.mp4 背景视频，hover 时淡入拼图封面 */
.film-media {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(320px, 46vh, 620px);
  min-width: 0;
  overflow: hidden;
  background: #111;
}

/* 背景视频：绝对定位铺满，循环播放；hover 时轻微模糊但继续播放 */
.film-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: #111;
  transition: filter 0.5s ease;
}

/* 拼图封面层：默认隐藏（模糊 + 透明），hover 时淡入为清晰、不透明 */
.film-collage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  gap: clamp(8px, 1vw, 14px);
  opacity: 0;
  filter: blur(14px);
  transition: opacity 0.5s ease, filter 0.5s ease;
}
.film-collage img { width: 100%; height: 100%; object-fit: cover; }
.film-collage figure { position: relative; margin: 0; line-height: 0; overflow: hidden; }

/* 7 张：4 列 x 2 行；首图占左上 2 格，其余 6 张填充 */
.film-collage.count-7 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);

  grid-template-areas:
    "hero hero s1 s2"
    "s3   s4   s5 s6";
}
.film-collage.count-7 > figure:nth-child(1) { grid-area: hero; }
.film-collage.count-7 > figure:nth-child(2) { grid-area: s1; }
.film-collage.count-7 > figure:nth-child(3) { grid-area: s2; }
.film-collage.count-7 > figure:nth-child(4) { grid-area: s3; }
.film-collage.count-7 > figure:nth-child(5) { grid-area: s4; }
.film-collage.count-7 > figure:nth-child(6) { grid-area: s5; }
.film-collage.count-7 > figure:nth-child(7) { grid-area: s6; }

/* 8 张：4 列 x 3 行；首图占左上 2x2，其余 7 张填充 */
.film-collage.count-8 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, 1fr);

  grid-template-areas:
    "hero hero s1 s2"
    "hero hero s3 s4"
    "s5   s5   s6 s7";
}
.film-collage.count-8 > figure:nth-child(1) { grid-area: hero; }
.film-collage.count-8 > figure:nth-child(2) { grid-area: s1; }
.film-collage.count-8 > figure:nth-child(3) { grid-area: s2; }
.film-collage.count-8 > figure:nth-child(4) { grid-area: s3; }
.film-collage.count-8 > figure:nth-child(5) { grid-area: s4; }
.film-collage.count-8 > figure:nth-child(6) { grid-area: s5; }
.film-collage.count-8 > figure:nth-child(7) { grid-area: s6; }
.film-collage.count-8 > figure:nth-child(8) { grid-area: s7; }

/* 其他数量兜底：4 列等分，首图占 2 格 */
.film-collage:not(.count-7):not(.count-8) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;

}
.film-collage:not(.count-7):not(.count-8) > figure:first-child { grid-column: span 2; }

/* 桌面（可 hover）：hover 时拼图封面从模糊+透明淡入到清晰+不透明，背景视频变模糊但仍播放；移出则反向 */
@media (hover: hover) and (pointer: fine) {
  .film-media:hover .film-collage { opacity: 1; filter: blur(0); }
  .film-media:hover .film-video { filter: blur(10px); }
}

/* 触屏（无 hover）：只显示循环视频，不显示拼图封面 */
@media (hover: none) {
  .film-media .film-collage { display: none; }
}

.film-info {
  display: flex;
  flex-direction: column;
  flex: 0 0 clamp(380px, 32vw, 660px);
  width: clamp(380px, 32vw, 660px);
  min-height: clamp(360px, 48vh, 680px);
}
.film-title {
  display: inline; /* inline so the small link follows the title text end */
  font-size: clamp(32.5px, 3.25vw, 48.1px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}

a.film-title { transition: opacity 0.3s ease; }
a.film-title:hover {
  opacity: 0.55;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 1px;
}

.film-type {
  margin-top: 22px;

  font-size: 16.25px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
}

.film-desc {
  margin-top: auto;
  padding-top: clamp(48px, 7vh, 140px);
  font-size: 19.5px;
  line-height: 2;
  color: #3d3933;
  white-space: pre-line;
}

/* PHOTOGRAPHY：整行按原比例拼满（零裁切，天然满足每边裁切 ≤15%） */
/* ===== PHOTOGRAPHY ===== */
.photo-projects {
  display: flex;
  flex-direction: column;
  gap: clamp(150px, 22vh, 280px);
}

.photo-project .project-title {
  font-size: clamp(26px, 2.47vw, 37.7px);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: clamp(8px, 1.2vh, 14px);
  color: var(--ink);
  border-bottom: 1px solid var(--hair);
  padding-bottom: clamp(16px, 2.6vh, 32px);
}

/* PHOTOGRAPHY 标题下的类型小字，样式参照 AI FILM 的 .film-type */
.photo-type {
  margin: 0 0 clamp(28px, 4.5vh, 46px);
  font-size: 16.25px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
}

.project-title-link {
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.project-title-link:hover {
  opacity: 0.55;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

.photo-list { display: block; width: 100%; }
.photo-row { display: flex; align-items: flex-start; gap: 14px; }
.photo-row figure { flex: none; min-width: 0; margin: 0; line-height: 0; }
.photo-row img { display: block; object-fit: cover; }
/* ===== VISUAL ===== */
.visual-projects {
  display: flex;
  flex-direction: column;
  gap: clamp(150px, 20vh, 260px);
}

/* VISUAL：左图墙 + 右文字（参照 AI FILM 两栏节奏） */
.visual-project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 22vw, 420px);
  column-gap: clamp(48px, 5vw, 96px);
  align-items: start;
}

.visual-info .project-title {
  font-size: clamp(28.6px, 2.6vw, 41.6px);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.45;
}

.visual-desc {
  margin: clamp(40px, 6vh, 90px) 0 0;
  font-size: 19.5px;
  line-height: 2;
  color: #3d3933;
  white-space: pre-line;
}

/* ===== ON THE ROAD (new section: two per row) ===== */
.page-panel[data-view="on-the-road"] .wrap { max-width: none; padding-left: 8%; padding-right: 8%; }
.onroad-head { margin-bottom: clamp(44px, 6.5vh, 72px); }
.onroad-title { margin: 0; }
.onroad-type { margin-top: clamp(10px, 1.4vh, 16px); }
.onroad-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 30px);
}
.onroad-gallery figure { margin: 0; line-height: 0; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4); }
.onroad-gallery img { width: 100%; height: auto; }
/* ===== BIO: 联系我 ===== */
.bio-contact {
  width: 100%;
  margin: clamp(26px, 4vh, 48px) auto 0;
  padding: clamp(14px, 2vh, 20px) clamp(24px, 3vw, 44px) clamp(16px, 2.4vh, 26px);
  background: #fff;
  border: 1px solid rgba(231, 225, 216, 0.9);
  border-radius: 10px;
}

.bio-contact[hidden] { display: none; }

.bio-contact-head {
  display: block;
}

.bio-contact-title {
  font-family: var(--han-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ink);
}

/* 标题下方的横线分隔（紧凑） */
.bio-contact-head::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--hair);
  margin: clamp(8px, 1.4vh, 14px) 0 clamp(12px, 2vh, 18px);
}

.contact-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 28px;
  min-width: 0;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--sans);
  color: var(--ink-2);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: default;
  text-align: left;
}

.contact-chip img.contact-icon {
  flex: none;
  height: 22px;
  width: auto;
  opacity: 0.75;
}

.contact-chip-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.contact-chip-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.contact-chip-value {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

a.contact-chip,
button.contact-chip {
  cursor: pointer;
  transition: opacity 0.3s ease, color 0.3s ease;
}

a.contact-chip:hover,
button.contact-chip:hover {
  opacity: 0.65;
  color: var(--ink);
}

a.contact-chip:focus-visible,
button.contact-chip:focus-visible {
  outline: 1px solid #9a9387;
  outline-offset: 5px;
}

/* ===== Site footer (reference image bottom copyright line) ===== */
.site-footer {
  padding: clamp(6px, 1vh, 14px) 0 clamp(12px, 1.8vh, 22px);
}

.site-footer-text {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
/* ===== WeChat QR lightbox ===== */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.qr-modal[hidden] { display: none; }

.qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 26, 23, 0.55);
  animation: qrFade 0.25s ease;
}

.qr-panel {
  position: relative;
  width: min(86vw, 430px);
  background: var(--bg);
  padding: 34px clamp(18px, 4vw, 42px) 26px;
  box-shadow: 0 24px 70px rgba(28, 26, 23, 0.25);
  text-align: center;
  animation: qrPop 0.28s ease;
}

.qr-close {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 4px;
  font-size: 24px;
  line-height: 1;
  color: var(--ink-2);
  background: none;
  border: 0;
  cursor: pointer;
}

.qr-close:hover { color: var(--ink); }

.qr-title {
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin-bottom: 18px;
}

.qr-figure img {
  width: min(62vw, 300px);
  height: auto;
  margin: 0 auto;
}

.qr-hint {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-2);
}

@keyframes qrFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes qrPop {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

body.no-scroll { overflow: hidden; }
.no-data-note {
  max-width: 620px;
  margin: 40px auto;
  padding: 28px 34px;
  border: 1px solid var(--hair);
  font-size: 14px;
  color: var(--ink-2);
  text-align: center;
}

/* ===== Responsive (desktop first) ===== */
@media (max-width: 1180px) {
  .bio-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .bio-portraits { max-width: 760px; }
  .bio-content { padding-top: 0; }
  .bio-contact { padding: clamp(18px, 2.6vh, 26px) clamp(18px, 3vw, 32px); }
}

@media (max-width: 900px) {
  .film-media .film-info { float: none; width: 100%; max-width: 780px; margin: 0 0 30px; }
  .film { display: flex; flex-direction: column; align-items: stretch; gap: 30px; }
  .film-info { order: -1; flex: none; width: 100%; height: auto; }
  .film-collage.count-7, .film-collage.count-8, .film-collage:not(.count-7):not(.count-8) { grid-template-areas: none; grid-auto-rows: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-collage > figure { position: static; }
  .film-collage > figure > img { position: static; width: 100%; height: auto; object-fit: contain; }
  .film-collage > figure:first-child { grid-column: span 2; }
  .visual-project .photo-list { width: 100%; }
  .visual-info { order: -1; width: 100%; }
  .visual-project { display: flex; flex-direction: column; gap: 30px; }
}

@media (max-width: 640px) {
  .section { padding: 90px 0; }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .site-nav {
    gap: 10px 18px;
    width: 100%;
  }
  .site-nav a { letter-spacing: 0.16em; font-size: 11.5px; }
  .site-brand { font-size: 14.5px; }
  .bio-layout { gap: 26px; }
  .bio-timeline-item { flex-wrap: wrap; row-gap: 2px; }
  .photo-list figure.portrait { width: 100%; }
  .film-collage figure { float: none; width: 100%; margin: 0 0 18px; }
  .contact-chips { grid-template-columns: minmax(0, 1fr); }
  .contact-chip-text { white-space: normal; }
  .film-collage.count-7, .film-collage.count-8, .film-collage:not(.count-7):not(.count-8) { grid-template-columns: 1fr; }
  .film-collage > figure:first-child { grid-column: auto; }
  .onroad-gallery { grid-template-columns: 1fr; }
}
