:root {
  /* 全站颜色变量：后面用 var(...) 复用，方便统一调整纸张色、文字色和分割线颜色。 */
  color-scheme: light;
  --paper: #f5f4ef;
  --ink: #050505;
  --soft-ink: #5d5d59;
  --line: #d9d7cf;
  --faint: #ebe9e2;
}

/* 基础重置：让尺寸计算、链接、按钮和图片在不同浏览器里表现更稳定。 */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

button {
  color: inherit;
  font: inherit;
}

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

/* 首页顶部信息栏：三列网格分别承载 INDEX 标识、联系信息和导航。 */
.top-strip {
  display: grid;
  grid-template-columns: 0.7fr 1.8fr 0.8fr;
  gap: 28px;
  min-height: 260px;
  padding: 34px 24px 44px;
}

/* INDEX 小标识：圆点 + 文字的组合，在顶部和关于段都会复用。 */
.index-mark {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  align-self: start;
  width: max-content;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.index-mark span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 30px;
  max-width: 760px;
  align-self: end;
}

.contact-grid div,
.micro-nav {
  display: grid;
  gap: 3px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.contact-grid strong {
  margin-top: 10px;
}

.contact-grid strong:first-child {
  margin-top: 0;
}

.contact-grid span {
  color: var(--soft-ink);
}

.micro-nav {
  justify-self: end;
  align-self: end;
  text-align: right;
}

.lang-toggle {
  position: relative;
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  width: 62px;
  height: 26px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  isolation: isolate;
}

.lang-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  z-index: -1;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform 220ms ease;
}

.lang-toggle.is-zh::before {
  transform: translateX(100%);
}

.lang-toggle span {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--soft-ink);
  transition: color 180ms ease;
}

.lang-toggle:not(.is-zh) span:first-child,
.lang-toggle.is-zh span:last-child {
  color: var(--paper);
}

/* 首屏照片带：横向排列照片，超出部分隐藏，配合 keyframes 做循环滚动。 */
.cover-board {
  border-top: 1px solid var(--line);
}

.triptych {
  display: flex;
  gap: 8px;
  padding: 8px 8px 0;
  overflow: hidden;
}

.triptych .photo-button {
  flex: 0 0 calc((100% - 16px) / 3);
  height: clamp(120px, 18vw, 250px);
  animation: topCarousel 24s linear infinite;
}

.triptych:hover .photo-button {
  animation-play-state: paused;
}

/* 顶部照片带动画：把重复照片整体向左推，形成连续轮播效果。 */
@keyframes topCarousel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-400% - 32px));
  }
}

/* 主标题行：左右是辅助信息，中间是醒目的 PORTFOLIO 标题。 */
.headline-row {
  display: grid;
  grid-template-columns: 0.7fr 4fr 1.3fr;
  align-items: end;
  gap: 12px;
  padding: 82px 18px 8px;
  border-bottom: 1px solid var(--line);
}

.headline-row h1 {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(34px, 4.8vw, 70px);
  font-weight: 950;
  line-height: 0.84;
  text-transform: uppercase;
}

.headline-row p,
.rule-row p,
.side-stack p,
.label,
dt,
.thumb-strip span {
  margin: 0;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.thumb-strip span {
  justify-self: start;
  padding-left: 0;
}

.case-copy .label {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1;
}

/* 精选案例拼贴区：左图、中间文字、右侧竖图用网格控制位置和比例。 */
.case-grid {
  --case-study-height: clamp(420px, 46vw, 680px);
  display: grid;
  grid-template-columns: 1.05fr 1.42fr 0.72fr;
  gap: 10px;
  padding: 10px 8px 0;
  border-bottom: 1px solid var(--line);
}

.showcase-grid {
  grid-template-columns: 1fr 0.72fr 1fr;
  align-items: start;
  gap: 16px;
  min-height: clamp(500px, 48vw, 760px);
  padding-top: 28px;
  padding-bottom: 28px;
}

.showcase-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  justify-items: start;
}

.showcase-note {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.photo-button.showcase-hero {
  width: 90%;
  aspect-ratio: 0.72 / 1;
  min-height: 0;
  justify-self: center;
  align-self: center;
  background: transparent;
  margin-left: 0;
}

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

.showcase-stack {
  display: grid;
  gap: 12px;
  align-content: start;
}

.showcase-left {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
}

.showcase-right {
  display: none;
}

.showcase-verticals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-self: center;
  justify-self: center;
  width: min(100%, 82%);
}

.showcase-vertical {
  aspect-ratio: 9 / 16;
  min-height: 0;
  background: #fff;
  transform: scale(1);
  transform-origin: center center;
}

.showcase-vertical img {
  object-fit: contain;
  object-position: center center;
}

.showcase-thumb {
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: transparent;
}

.showcase-thumb img {
  object-fit: cover;
  object-position: center center;
}

.hero-photo {
  height: var(--case-study-height);
}

.case-copy {
  display: grid;
  height: var(--case-study-height);
  padding: clamp(22px, 3.4vw, 46px) 4px 12px;
  grid-template-rows: auto auto 1fr;
  align-content: stretch;
}

.case-copy h2 {
  max-width: 620px;
  margin: 0 0 34px;
  font-size: clamp(13px, 1.35vw, 20px);
  font-weight: 950;
  line-height: 1.12;
  text-transform: uppercase;
}

.case-copy > p {
  max-width: 620px;
  margin: 0 0 clamp(40px, 5vw, 68px);
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 2.05;
  white-space: pre-line;
  text-transform: uppercase;
}

.case-copy h3 {
  align-self: end;
  margin: 0;
  font-size: clamp(34px, 4.8vw, 70px);
  font-weight: 950;
  line-height: 0.84;
  text-transform: uppercase;
  margin-top: 18px;
}

.side-stack {
  display: grid;
  height: var(--case-study-height);
  grid-template-rows: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
  align-content: stretch;
  justify-self: start;
  width: min(100%, 100%);
}

.side-stack > div {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  min-height: 0;
}

.side-stack .photo-button {
  height: 100%;
  min-height: 0;
  background: transparent;
}

.side-stack .photo-button img {
  object-fit: contain;
  background: transparent;
  object-position: center;
  transform: scale(1.12);
}

.side-stack > div {
  overflow: hidden;
}

.case-grid .photo-button img {
  object-position: center;
}

.work-index {
  padding: 10px 8px 54px;
}

.journal-index,
.article-page {
  min-height: 100vh;
  padding: 34px 24px 80px;
}

.journal-head {
  display: grid;
  grid-template-columns: 0.7fr 2.6fr 0.9fr;
  gap: 18px;
  align-items: end;
  min-height: 38vh;
  border-bottom: 1px solid var(--line);
}

.journal-head h1,
.article-head h1 {
  margin: 0;
  font-size: clamp(46px, 10vw, 150px);
  font-weight: 950;
  line-height: 0.84;
  text-transform: uppercase;
}

.journal-head p,
.article-meta,
.journal-list span,
.article-source {
  margin: 0;
  color: var(--soft-ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.journal-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
}

.journal-list a {
  display: grid;
  grid-template-columns: 0.32fr 1.4fr 0.7fr 0.25fr;
  gap: 18px;
  align-items: end;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.journal-list img {
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
}

.article-head {
  display: grid;
  grid-template-columns: 0.7fr 2.1fr;
  gap: 18px;
  align-items: end;
  min-height: 34vh;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.article-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr 0.5fr;
  gap: 20px;
  padding-top: 22px;
}

.article-layout img {
  aspect-ratio: 0.82 / 1;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.02);
}

.article-copy {
  max-width: 720px;
}

.article-copy p {
  margin: 0 0 18px;
  color: var(--soft-ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.72;
}

.article-copy blockquote {
  margin: 26px 0;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--ink);
}

.article-copy blockquote p {
  color: var(--ink);
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 900;
  line-height: 1.18;
}

.article-copy .lead {
  color: var(--ink);
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 900;
  line-height: 1.05;
}

.article-source {
  align-self: start;
  padding-top: 4px;
}

.article-link {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

/* 首页作品索引：五个分类入口的缩略图和标题。 */
.rule-row {
  display: flex;
  gap: 12px;
  padding: 0 10px 34px;
  border-top: 0;
}

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-left: 0;
  width: 100%;
}

.thumb-strip article {
  display: grid;
  gap: 10px;
}

.thumb-strip .photo-button {
  height: clamp(108px, 11vw, 152px);
  background: transparent;
}

.thumb-strip .photo-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.thumb-strip h3,
.journal-list h2 {
  margin: 0;
  max-width: 150px;
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 950;
  line-height: 0.92;
  text-transform: uppercase;
}

.thumb-strip h3 {
  justify-self: start;
}

/* 关于视觉段：背景图铺满一屏区域，标题和导航以绝对定位叠在图片上。 */
.feature-page {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: 1665 / 680;
  margin-top: 20px;
  overflow: hidden;
  background: transparent;
}

.feature-page > .index-mark {
  position: absolute;
  top: 34px;
  left: 18%;
  z-index: 2;
}

.feature-page > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: saturate(0.68) contrast(0.94) brightness(1.12);
}

.feature-title {
  position: absolute;
  right: 8vw;
  top: 38%;
  z-index: 2;
  color: #fff;
  text-align: right;
}

.feature-title h2 {
  margin: 0 0 44px;
  font-size: clamp(30px, 3.2vw, 58px);
  font-weight: 900;
  line-height: 0.88;
}

.feature-title nav {
  display: grid;
  gap: 3px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.media-entry {
  position: absolute;
  left: 8vw;
  bottom: clamp(24px, 4vw, 56px);
  z-index: 2;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  font-size: clamp(12px, 1.2vw, 18px);
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.media-entry::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

/* 联系/简介段：左侧文字，右侧作者照片，宽屏时保持横向排版。 */
.bio-page {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.72fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: stretch;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 24px 84px;
}

.bio-page .index-mark {
  grid-column: 1 / -1;
}

.bio-copy {
  max-width: 420px;
  height: 100%;
}

.bio-copy h2 {
  margin: 0 0 26px;
  font-size: 40px;
  font-weight: 900;
  line-height: 0.9;
}

.bio-copy p {
  margin: 0 0 20px;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.bio-photo {
  aspect-ratio: 704 / 1046;
  height: auto;
  justify-self: start;
  max-width: 220px;
  background: transparent;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 可点击图片的通用样式：既用于灯箱预览，也用于作品入口缩略图。 */
.photo-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--faint);
  cursor: zoom-in;
}

.photo-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  transition: transform 450ms ease, filter 450ms ease;
}

.photo-button:hover img {
  transform: scale(1.025);
  filter: saturate(0.96) contrast(1.08);
}

/* 灯箱层：默认隐藏，脚本添加 .open 后变成全屏大图预览。 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 72px 28px 38px;
  background: rgba(245, 244, 239, 0.96);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  width: auto;
  max-width: min(92vw, 1200px);
  max-height: 76vh;
  object-fit: contain;
}

.lightbox p {
  margin: 18px 0 0;
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-next {
  position: absolute;
  top: 50%;
  right: clamp(16px, 3vw, 42px);
  display: grid;
  place-items: center;
  width: 48px;
  height: 64px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-next:hover,
.lightbox-next:focus-visible {
  color: var(--soft-ink);
}

.case-index-page,
.gallery-page {
  min-height: 100vh;
  padding: 34px 24px 80px;
}

.case-index-head,
.gallery-head {
  display: grid;
  grid-template-columns: 0.72fr 2.1fr 0.8fr;
  gap: 18px;
  align-items: end;
  min-height: 18vh;
}

.case-index-head h1 {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 42px);
  font-weight: 950;
  line-height: 0.88;
  text-transform: uppercase;
}

.gallery-head h1 {
  margin: 0;
  font-size: clamp(18px, 2.3vw, 34px);
  font-weight: 950;
  line-height: 0.88;
  text-transform: uppercase;
}

.case-enter-hint {
  display: block;
  margin-top: 9px;
  color: var(--soft-ink);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.case-index-head p,
.gallery-head p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.case-index-head .head-kicker,
.gallery-head .head-kicker {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
}

.case-index-head .head-summary,
.gallery-head .head-summary {
  max-width: 620px;
  margin-top: 14px;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
  text-transform: none;
}

.directory-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(360px, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 68px);
  background: #f5f4ef;
}

.media-directory {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(360px, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 68px);
  background: #f5f4ef;
}

.media-directory-visual {
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(20, 20, 20, 0.16);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), rgba(20, 20, 20, 0.14) 50%, transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(20, 20, 20, 0.14) 50%, transparent calc(50% + 1px)),
    #eeede8;
}

.media-directory-list {
  display: grid;
  gap: 14px;
}

.media-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 42px);
  max-width: 1080px;
  margin: 0 auto;
  padding-top: clamp(34px, 6vw, 72px);
}

.media-videos article {
  background: #f5f4ef;
}

.media-videos video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.directory-visual {
  aspect-ratio: auto;
  overflow: hidden;
  background: transparent;
}

.directory-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(0.75) contrast(1.04);
}

.directory-list {
  display: grid;
  gap: 14px;
}

.directory-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.directory-number {
  font-size: clamp(13px, 1.15vw, 18px);
  font-weight: 650;
  line-height: 1;
}

.directory-number + .directory-row-text {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.directory-row-text {
  display: grid;
  gap: 5px;
}

.directory-row-text strong {
  font-size: clamp(13px, 1.15vw, 18px);
  font-weight: 650;
  line-height: 1.1;
}

.directory-row-text small {
  color: var(--soft-ink);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.newborn-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  min-height: clamp(520px, 58vw, 720px);
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  padding: 12px 14px 16px;
  background: #f7f7f5;
}

.newborn-showcase-main {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 100%;
  transform: translateY(clamp(-54px, -4vw, -28px));
}

.newborn-showcase-meta {
  align-self: auto;
  margin-bottom: clamp(18px, 2.4vw, 34px);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.9fr;
  gap: 20px;
  color: var(--ink);
  font-size: clamp(8px, 0.72vw, 10px);
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.newborn-showcase-meta span:nth-child(2) {
  justify-self: center;
}

.newborn-showcase-meta span:nth-child(3) {
  justify-self: end;
  text-align: left;
}

.newborn-strip {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: stretch;
  width: calc(100% + 28px);
  margin-left: -14px;
  overflow: hidden;
  transform: translateY(16px);
}

.newborn-track {
  display: flex;
  width: max-content;
  gap: 3px;
  will-change: transform;
}

.newborn-frame {
  flex: 0 0 clamp(180px, 20vw, 290px);
  height: clamp(108px, 11vw, 158px);
  margin: 0;
  overflow: hidden;
  background: transparent;
}

.newborn-frame .photo-button {
  height: 100%;
  background: transparent;
}

.newborn-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.newborn-frame:nth-child(4n + 2) { flex-basis: clamp(220px, 25vw, 350px); }
.newborn-frame:nth-child(4n + 3) { flex-basis: clamp(160px, 17vw, 245px); }

.newborn-showcase-footer {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.newborn-showcase-footer small {
  color: var(--ink);
  font-size: clamp(8px, 0.72vw, 10px);
  font-weight: 950;
  line-height: 1;
}

.newborn-showcase-footer strong {
  position: relative;
  top: clamp(-28px, -2vw, -16px);
  min-width: 0;
  color: rgba(20, 20, 20, 0.12);
  font-size: clamp(34px, 6.4vw, 92px);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: lowercase;
  white-space: nowrap;
}

.family-documentary-showcase {
  position: relative;
  display: grid;
  min-height: clamp(620px, 72vw, 860px);
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(28px, 4vw, 54px) 14px 18px;
  background: #f1f1ef;
}

.family-ghost-title {
  position: absolute;
  top: -0.04em;
  left: 50%;
  z-index: 0;
  color: rgba(20, 20, 20, 0.035);
  font-size: clamp(88px, 17vw, 240px);
  font-weight: 950;
  line-height: 0.82;
  text-transform: uppercase;
  transform: translate(-50%, 28px);
  pointer-events: none;
}

.family-studio-meta,
.family-collage-caption {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 0.55fr 0.9fr;
  gap: 22px;
  color: var(--ink);
  font-size: clamp(9px, 0.85vw, 12px);
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.family-studio-meta {
  align-self: start;
  padding-top: clamp(20px, 3vw, 42px);
  transform: translateY(28px);
}

.family-studio-meta span:nth-child(2),
.family-collage-caption span:nth-child(2) {
  justify-self: center;
}

.family-studio-meta span:nth-child(3),
.family-collage-caption span:nth-child(3) {
  justify-self: end;
}

.family-collage-caption {
  align-self: end;
  margin-top: auto;
  padding-bottom: 14px;
  transform: translateY(28px);
}

.family-collage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(72px, 1fr));
  grid-auto-rows: clamp(82px, 9.5vw, 130px);
  gap: 16px;
  width: min(90%, 880px);
  align-self: end;
  justify-self: center;
  transform: translate(48px, clamp(-82px, -6vw, -48px));
}

.family-collage-frame {
  margin: 0;
  overflow: hidden;
  background: transparent;
}

.family-collage-frame .photo-button {
  height: 100%;
  background: transparent;
}

.family-collage-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.02);
}

.family-collage-frame-4 img {
  object-fit: contain;
  object-position: top center;
  transform: translateY(20px) scale(1.12);
  transform-origin: top center;
}

.family-collage-frame-1 img,
.family-collage-frame-2 img,
.family-collage-frame-3 img,
.family-collage-frame-5 img {
  transform: scale(0.94);
  transform-origin: top center;
}

.family-collage-frame-1 {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.family-collage-frame-2 {
  grid-column: 3 / span 2;
  grid-row: 1 / span 2;
}

.family-collage-frame-3 {
  grid-column: 5 / span 2;
  grid-row: 1 / span 2;
}

.family-collage-frame-4 {
  grid-column: 7 / span 4;
  grid-row: 1 / span 3;
}

.family-collage-frame-5 {
  grid-column: 11 / span 2;
  grid-row: 1 / span 2;
}

.family-collage-frame-6 {
  grid-column: 1 / span 4;
  grid-row: 3 / span 1;
}

.family-collage-frame-7 {
  grid-column: 5 / span 2;
  grid-row: 3 / span 1;
}

.city-directory {
  display: grid;
  grid-template-columns: minmax(116px, 0.34fr) minmax(500px, 1.62fr) minmax(116px, 0.34fr);
  grid-template-areas:
    ". heading ."
    "left images right";
  column-gap: clamp(28px, 4vw, 52px);
  row-gap: 18px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 70px) clamp(34px, 6vw, 64px);
  background: transparent;
}

.city-directory-heading {
  grid-area: heading;
  justify-self: center;
  margin-bottom: 10px;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 900;
  letter-spacing: 0.62em;
  line-height: 1;
}

.city-directory-images {
  grid-area: images;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 30px);
}

.city-directory-image {
  display: block;
  aspect-ratio: 1917 / 1080;
  overflow: hidden;
  background: transparent;
}

.city-directory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) contrast(0.96);
}

.city-directory-image-placeholder {
  border: 1px solid rgba(93, 93, 89, 0.18);
  background: rgba(235, 233, 226, 0.5);
}

.city-directory-side {
  display: grid;
  gap: 20px;
}

.city-directory-side-left {
  grid-area: left;
  align-self: start;
  justify-self: end;
  width: 100%;
  padding-left: clamp(18px, 2vw, 34px);
}

.city-directory-side-right {
  grid-area: right;
  align-self: end;
  justify-self: start;
  width: 100%;
  padding-left: clamp(34px, 4vw, 58px);
}

.city-directory-link {
  display: grid;
  gap: 5px;
  color: var(--ink);
  text-decoration: none;
}

.city-directory-link span {
  color: var(--soft-ink);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.city-directory-link strong {
  font-size: clamp(13px, 1.25vw, 18px);
  font-weight: 900;
  line-height: 0.96;
}

.city-directory-link small {
  color: var(--soft-ink);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.travel-map {
  position: relative;
  display: block;
  max-width: 1080px;
  min-height: clamp(520px, 57vw, 700px);
  margin: 28px auto 0;
  overflow: hidden;
  padding: 0;
  background: #dcefee url("assets/photos/travel-world-map-storybook.jpg") center center / 100% 100% no-repeat;
}

.travel-map::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.travel-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 252, 244, 0.03);
  box-shadow:
    inset 0 22px 24px -14px rgba(245, 244, 239, 0.88),
    inset 0 -22px 24px -14px rgba(245, 244, 239, 0.88),
    inset 22px 0 24px -14px rgba(245, 244, 239, 0.88),
    inset -22px 0 24px -14px rgba(245, 244, 239, 0.88);
  pointer-events: none;
}

.travel-map-background {
  display: none;
}

.travel-map-ornaments {
  display: none;
}

.travel-ornament {
  position: absolute;
  width: 58px;
  height: 42px;
  opacity: 0.36;
}

.travel-land {
  position: absolute;
  border: 1px solid rgba(50, 66, 82, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(225, 230, 226, 0.36)),
    rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 0 22px rgba(70, 96, 130, 0.06);
}

.travel-land-north-america {
  left: 6%;
  top: 16%;
  width: 27%;
  height: 31%;
  clip-path: polygon(7% 31%, 22% 8%, 48% 6%, 65% 18%, 88% 16%, 96% 35%, 79% 50%, 66% 76%, 45% 68%, 34% 92%, 20% 70%, 4% 62%);
  border-radius: 42% 48% 45% 36%;
}

.travel-land-south-america {
  left: 27%;
  top: 48%;
  width: 13%;
  height: 34%;
  clip-path: polygon(32% 2%, 70% 12%, 85% 34%, 66% 52%, 72% 76%, 47% 100%, 24% 78%, 36% 55%, 13% 36%);
  border-radius: 42% 45% 55% 50%;
}

.travel-land-europe {
  left: 42%;
  top: 20%;
  width: 18%;
  height: 19%;
  clip-path: polygon(8% 52%, 18% 20%, 42% 10%, 58% 28%, 83% 17%, 96% 43%, 77% 62%, 65% 88%, 38% 78%, 20% 92%);
  border-radius: 46% 40% 42% 45%;
}

.travel-land-africa {
  left: 48%;
  top: 39%;
  width: 18%;
  height: 31%;
  clip-path: polygon(28% 0, 72% 9%, 92% 35%, 78% 62%, 60% 100%, 34% 82%, 18% 58%, 3% 34%);
  border-radius: 46% 42% 52% 50%;
}

.travel-land-asia {
  left: 57%;
  top: 21%;
  width: 34%;
  height: 36%;
  clip-path: polygon(4% 42%, 14% 12%, 40% 7%, 57% 19%, 80% 6%, 98% 26%, 86% 50%, 95% 70%, 68% 77%, 54% 96%, 38% 75%, 20% 83%);
  border-radius: 52% 40% 44% 36%;
}

.travel-land-australia {
  left: 78%;
  top: 65%;
  width: 13%;
  height: 12%;
  clip-path: polygon(9% 42%, 28% 16%, 62% 12%, 92% 33%, 80% 72%, 48% 91%, 15% 76%);
  border-radius: 50% 44% 48% 40%;
}

.travel-map-title {
  display: none;
}

.travel-map-title strong {
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 950;
  line-height: 0.9;
}

.travel-map-title span {
  color: var(--soft-ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.travel-pin {
  position: absolute;
  left: var(--map-x);
  top: var(--map-y);
  z-index: 4;
  color: var(--ink);
  text-decoration: none;
  transform: translate(-8px, -8px);
}

.travel-origin {
  position: absolute;
  left: 82%;
  top: 43%;
  z-index: 5;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 5px;
  align-items: center;
  pointer-events: none;
  transform: translate(-4px, -4px);
}

.travel-origin span {
  grid-row: 1 / span 2;
  width: 7px;
  height: 7px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(20, 20, 20, 0.08);
}

.travel-origin strong,
.travel-origin small {
  font-size: 7px;
  font-weight: 900;
  line-height: 1;
}

.travel-origin small {
  color: var(--soft-ink);
}

.travel-flight {
  position: absolute;
  left: var(--flight-x, 47%);
  top: var(--flight-y, 43%);
  z-index: 6;
  width: var(--flight-distance, 0px);
  height: 1px;
  transform: rotate(var(--flight-angle, 0deg));
  transform-origin: left center;
  pointer-events: none;
  opacity: 0;
}

.travel-flight-path {
  display: none;
}

.travel-plane {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

.travel-flight.is-flying {
  opacity: 1;
}

.travel-flight.is-flying .travel-flight-path {
  animation: travelPathDraw 2.2s ease-out both;
}

.travel-flight.is-flying .travel-plane {
  animation: travelPlaneFly 2.2s cubic-bezier(0.33, 0, 0.2, 1) both;
}

@keyframes travelPathDraw {
  to { transform: scaleX(1); }
}

@keyframes travelPlaneFly {
  from { left: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.82); }
  55% { transform: translate(-50%, calc(-50% - 18px)) rotate(0deg) scale(1); }
  to { left: 100%; transform: translate(-50%, -50%) rotate(0deg) scale(0.82); }
}

.travel-overview {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  display: block;
  width: min(230px, calc(100% - 30px));
  max-height: calc(100% - 36px);
  overflow: hidden;
  background: transparent;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.18);
  clip-path: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(var(--overview-shift-x, 18px), var(--overview-shift-y, 14px)) translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
}

.travel-overview.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(var(--overview-shift-x, 18px), var(--overview-shift-y, 14px));
}

.travel-overview-image {
  display: block;
  width: calc(100% + 6px);
  height: auto;
  aspect-ratio: 16 / 10;
  min-height: 0;
  max-height: 220px;
  margin: -3px;
  object-fit: cover;
}

.travel-overview-copy {
  display: none;
}

.travel-overview-copy small,
.travel-overview-country {
  margin: 0;
  color: var(--soft-ink);
  font-size: 8px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.travel-overview-copy h2 {
  margin: 3px 0 2px;
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1;
}

.travel-overview-description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--soft-ink);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.55;
  white-space: pre-line;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.travel-overview-enter {
  justify-self: start;
  margin-top: 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}

.travel-overview-close {
  display: none;
}

.travel-dot {
  display: none;
}

.travel-sketch {
  display: none;
}

.travel-label {
  position: absolute;
  left: var(--label-x, 8px);
  top: var(--label-y, 5px);
  display: grid;
  gap: 0;
  min-width: 48px;
  max-width: 88px;
}

.travel-label small,
.travel-label em {
  color: rgba(48, 60, 55, 0.7);
  font-size: 6px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.travel-label strong {
  color: rgba(35, 46, 42, 0.86);
  font-size: clamp(7px, 0.62vw, 9px);
  font-weight: 900;
  line-height: 1;
}

.travel-sketch-mountain::before,
.travel-sketch-mountain::after,
.travel-ornament-mountain::before,
.travel-ornament-mountain::after {
  content: "";
  position: absolute;
  bottom: 3px;
  border-right: 13px solid transparent;
  border-bottom: 22px solid rgba(20, 20, 20, 0.36);
  border-left: 13px solid transparent;
}

.travel-sketch-mountain::after,
.travel-ornament-mountain::after {
  left: 12px;
  bottom: 5px;
  transform: scale(0.72);
}

.travel-sketch-pyramid::before {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 2px;
  border-right: 15px solid transparent;
  border-bottom: 24px solid rgba(20, 20, 20, 0.34);
  border-left: 15px solid transparent;
}

.travel-sketch-pyramid::after {
  content: "";
  position: absolute;
  left: 17px;
  bottom: 2px;
  height: 22px;
  border-left: 1px solid rgba(20, 20, 20, 0.38);
  transform: skewX(-18deg);
}

.travel-sketch-palm::before {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 2px;
  width: 2px;
  height: 22px;
  background: rgba(20, 20, 20, 0.42);
  transform: rotate(10deg);
}

.travel-sketch-palm::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 1px;
  width: 24px;
  height: 13px;
  border-top: 2px solid rgba(20, 20, 20, 0.42);
  border-radius: 50%;
  box-shadow: 5px 4px 0 -3px rgba(20, 20, 20, 0.42), -5px 4px 0 -3px rgba(20, 20, 20, 0.42);
}

.travel-sketch-tower::before {
  content: "";
  position: absolute;
  left: 11px;
  bottom: 2px;
  width: 12px;
  height: 24px;
  border: 2px solid rgba(20, 20, 20, 0.38);
  border-bottom: 0;
}

.travel-sketch-tower::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 2px;
  width: 18px;
  height: 2px;
  background: rgba(20, 20, 20, 0.38);
}

.travel-sketch-arch::before,
.travel-sketch-bridge::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 26px;
  height: 17px;
  border: 2px solid rgba(20, 20, 20, 0.38);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.travel-sketch-bridge::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 4px;
  width: 28px;
  height: 1px;
  background: rgba(20, 20, 20, 0.38);
  box-shadow: 0 -5px 0 rgba(20, 20, 20, 0.22);
}

.travel-sketch-city::before {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 3px;
  width: 6px;
  height: 18px;
  background: rgba(20, 20, 20, 0.32);
  box-shadow: 9px -5px 0 rgba(20, 20, 20, 0.28), 18px 2px 0 rgba(20, 20, 20, 0.34);
}

.travel-sketch-wave::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 30px;
  height: 13px;
  border-top: 3px solid rgba(20, 20, 20, 0.38);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.travel-sketch-desert::before {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 8px;
  width: 28px;
  height: 10px;
  border-top: 2px solid rgba(20, 20, 20, 0.36);
  border-radius: 50%;
}

.travel-sketch-desert::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.24);
}

.travel-sketch-temple::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 24px;
  height: 3px;
  background: rgba(20, 20, 20, 0.38);
  box-shadow: 0 16px 0 rgba(20, 20, 20, 0.38);
}

.travel-sketch-temple::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 2px;
  height: 14px;
  background: rgba(20, 20, 20, 0.32);
  box-shadow: 8px 0 0 rgba(20, 20, 20, 0.32), 16px 0 0 rgba(20, 20, 20, 0.32);
}

.travel-sketch-island::before {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 5px;
  width: 24px;
  height: 9px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.28);
}

.travel-sketch-island::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 4px;
  width: 2px;
  height: 16px;
  background: rgba(20, 20, 20, 0.38);
  transform: rotate(12deg);
}

.travel-sketch-sail::before,
.travel-sketch-boat::before,
.travel-ornament-sail::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 3px;
  width: 1px;
  height: 20px;
  background: rgba(20, 20, 20, 0.42);
}

.travel-sketch-sail::after,
.travel-sketch-boat::after,
.travel-ornament-sail::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 4px;
  width: 24px;
  height: 8px;
  border-bottom: 2px solid rgba(20, 20, 20, 0.42);
  border-radius: 0 0 50% 50%;
  box-shadow: 10px -11px 0 -6px rgba(20, 20, 20, 0.3);
}

.travel-sketch-fish::before,
.travel-ornament-fish::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 22px;
  height: 12px;
  border: 2px solid rgba(20, 20, 20, 0.36);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.travel-sketch-fish::after,
.travel-ornament-fish::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 10px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid rgba(20, 20, 20, 0.34);
  transform: rotate(-8deg);
}

.travel-ornament-mountain {
  transform: scale(1.35);
}

.travel-ornament-sail {
  transform: scale(1.45) rotate(-6deg);
}

.travel-ornament-fish {
  transform: scale(1.32) rotate(4deg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(360px, 1fr);
  gap: clamp(42px, 8vw, 118px);
  align-items: center;
  max-width: 1040px;
  min-height: 56vh;
  margin: 0 auto;
  padding-top: clamp(38px, 6vw, 76px);
}

.gallery-grid .photo-button {
  height: clamp(120px, 18vw, 250px);
}

.gallery-meta {
  display: grid;
  gap: 20px;
  align-content: start;
  max-width: 430px;
  padding-top: 8px;
}

.gallery-kicker {
  margin: 0;
  color: var(--soft-ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.gallery-meta h2 {
  margin: 0;
  font-size: clamp(18px, 2.3vw, 34px);
  font-weight: 950;
  line-height: 0.88;
  text-transform: uppercase;
}

.gallery-meta p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
}

.gallery-desc {
  max-width: 380px;
  white-space: pre-line;
}

.gallery-meta-shift-right {
  transform: translateX(clamp(28px, 4.5vw, 62px));
}

.gallery-meta.has-sketch {
  grid-template-columns: minmax(0, 0.72fr) minmax(150px, 1.28fr);
  column-gap: 16px;
}

.gallery-meta.has-sketch .gallery-kicker {
  grid-column: 1 / -1;
}

.gallery-meta.has-sketch h2 {
  grid-column: 1;
  align-self: start;
}

.gallery-meta-sketch {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: start;
  width: 100%;
  max-width: 230px;
  height: auto;
  mix-blend-mode: multiply;
  transform: translateX(24px);
}

.gallery-meta.has-sketch .gallery-desc {
  grid-column: 1;
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.gallery-images .photo-button {
  aspect-ratio: 1 / 1;
  height: auto;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(20, 20, 20, 0.16);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), rgba(20, 20, 20, 0.1) 50%, transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(20, 20, 20, 0.1) 50%, transparent calc(50% + 1px)),
    #f4f3ee;
  color: rgba(20, 20, 20, 0.32);
  font-size: 11px;
  font-weight: 900;
}

/* 响应式规则：屏幕变窄后把多列布局改成单列或两列，减少拥挤和文字挤压。 */
@media (max-width: 900px) {
  .top-strip,
  .headline-row,
  .case-grid,
  .journal-head,
  .article-head,
  .article-layout,
  .bio-page,
  .case-index-head,
  .gallery-head {
    grid-template-columns: 1fr;
  }

  .top-strip {
    min-height: auto;
    padding-bottom: 30px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .micro-nav {
    justify-self: start;
    text-align: left;
  }

  .headline-row {
    padding-top: 48px;
  }

  .headline-row h1 {
    font-size: clamp(34px, 4.8vw, 70px);
  }

  .case-copy,
  .hero-photo,
  .side-stack {
    min-height: 0;
    height: auto;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .showcase-hero {
    min-height: 280px;
  }

  .hero-photo {
    aspect-ratio: 0.9 / 1;
  }

  .thumb-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .journal-head,
  .article-head {
    min-height: 26vh;
  }

  .journal-list a {
    grid-template-columns: 0.22fr 1fr;
  }

  .journal-list img {
    grid-column: 1 / -1;
  }

  .feature-page > .index-mark {
    left: 24px;
  }

  .feature-page {
    min-height: 320px;
    aspect-ratio: 4 / 3;
  }

  .feature-title {
    right: 24px;
  }

  .media-entry {
    left: 24px;
    bottom: 28px;
  }

  .side-stack {
    grid-template-columns: repeat(2, 1fr);
  }

  .directory-grid,
  .media-directory,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-meta.has-sketch {
    grid-template-columns: 1fr;
  }

  .gallery-meta-shift-right {
    transform: none;
  }

  .gallery-meta.has-sketch .gallery-kicker,
  .gallery-meta.has-sketch h2,
  .gallery-meta.has-sketch .gallery-desc,
  .gallery-meta-sketch {
    grid-column: 1;
    grid-row: auto;
  }

  .gallery-meta-sketch {
    max-width: 260px;
    transform: none;
  }

  .city-directory {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "images"
      "left"
      "right";
    padding: 34px 28px;
  }

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

  .directory-grid,
  .media-directory {
    padding: 28px;
  }

  .newborn-showcase {
    min-height: 580px;
  }

  .newborn-showcase-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .newborn-showcase-meta span,
  .newborn-showcase-meta span:nth-child(2),
  .newborn-showcase-meta span:nth-child(3) {
    justify-self: start;
  }

  .newborn-strip {
    grid-auto-columns: minmax(210px, 66vw);
  }

  .newborn-showcase-footer strong {
    white-space: normal;
  }

  .family-documentary-showcase {
    min-height: 720px;
    padding: 28px 14px 18px;
  }

  .family-studio-meta,
  .family-collage-caption {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .family-studio-meta span,
  .family-studio-meta span:nth-child(2),
  .family-studio-meta span:nth-child(3),
  .family-collage-caption span,
  .family-collage-caption span:nth-child(2),
  .family-collage-caption span:nth-child(3) {
    justify-self: start;
  }

  .family-collage {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: clamp(80px, 21vw, 135px);
    width: min(94%, 720px);
    transform: translateY(-36px);
  }

  .family-collage-frame-1 {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }

  .family-collage-frame-2 {
    grid-column: 3 / span 2;
    grid-row: 1 / span 2;
  }

  .family-collage-frame-3 {
    grid-column: 5 / span 2;
    grid-row: 1 / span 2;
  }

  .family-collage-frame-4 {
    grid-column: 1 / span 4;
    grid-row: 3 / span 2;
  }

  .family-collage-frame-5 {
    grid-column: 5 / span 2;
    grid-row: 3 / span 2;
  }

  .family-collage-frame-6 {
    grid-column: 1 / span 3;
    grid-row: 5 / span 1;
  }

  .family-collage-frame-7 {
    grid-column: 4 / span 3;
    grid-row: 5 / span 1;
  }

  .travel-map {
    min-height: 570px;
    padding: 0;
  }

  .travel-label {
    min-width: 72px;
  }
}

@media (max-width: 620px) {
  .headline-row h1 {
    font-size: clamp(32px, 10vw, 48px);
  }

  .triptych {
    display: flex;
  }

  .triptych .photo-button {
    flex-basis: 82%;
    height: 150px;
  }

  .side-stack,
  .thumb-strip,
  .journal-list a {
    grid-template-columns: 1fr;
  }

  .media-videos {
    grid-template-columns: 1fr;
  }

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

  .directory-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .city-directory-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-directory-images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .city-directory-heading {
    letter-spacing: 0.32em;
  }

  .travel-map {
    min-height: 680px;
  }

  .travel-pin {
    transform: translate(-5px, -5px) scale(0.82);
    transform-origin: left top;
  }

  .travel-overview {
    width: min(180px, calc(100% - 20px));
    max-height: 52%;
  }

  .travel-overview-image {
    max-height: 180px;
  }

  .travel-overview-copy {
    gap: 6px;
    padding: 18px 30px 16px 14px;
  }

  .travel-overview-description {
    font-size: 10px;
    -webkit-line-clamp: 4;
  }

  .showcase-left,
  .showcase-right {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-thumb {
    aspect-ratio: 4 / 3;
  }

  .journal-index,
  .article-page {
    padding: 28px 18px 62px;
  }

  .journal-head h1,
  .article-head h1 {
    font-size: clamp(40px, 15vw, 78px);
  }

  .bio-page {
    padding: 54px 24px 70px;
  }

  .bio-photo {
    justify-self: start;
    max-width: 220px;
    height: auto;
  }

  .case-index-page,
  .gallery-page {
    padding: 28px 18px 62px;
  }

  .case-index-head {
    min-height: auto;
    gap: 10px;
    padding-bottom: 18px;
  }

  .newborn-showcase {
    min-height: 520px;
  }

  .newborn-frame {
    flex-basis: 180px;
    height: 112px;
  }

  .newborn-strip {
    width: calc(100% + 28px);
  }

  .newborn-showcase-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .travel-flight.is-flying .travel-flight-path {
    animation-duration: 1ms;
  }

  .travel-flight.is-flying .travel-plane {
    animation-duration: 1ms;
  }
}
