:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #66706c;
  --paper: #f3f2ed;
  --line: rgba(23, 32, 29, .14);
  --moss: #30443b;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.7; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link { position: fixed; left: 16px; top: -70px; z-index: 100; padding: 10px 15px; border-radius: 999px; background: #fff; color: var(--ink); }
.skip-link:focus { top: 14px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 30; border-bottom: 1px solid rgba(255,255,255,.2); background: rgba(17, 25, 23, .38); color: #fff; backdrop-filter: blur(22px) saturate(130%); -webkit-backdrop-filter: blur(22px) saturate(130%); }
.nav-shell { width: min(1280px, calc(100% - 56px)); height: 74px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 15px; font-weight: 680; letter-spacing: .01em; }
.wordmark-mark { position: relative; display: block; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; }
.wordmark-mark:before, .wordmark-mark i { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); }
.wordmark-mark:before { width: 16px; height: 16px; left: 8px; top: 8px; }
.wordmark-mark i { width: 4px; height: 4px; left: 14px; top: 14px; background: #fff; }
nav { display: flex; align-items: center; gap: 34px; }
nav a { position: relative; color: rgba(255,255,255,.8); text-decoration: none; font-size: 13px; letter-spacing: .08em; }
nav a:after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: #fff; transition: right .22s ease; }
nav a:hover:after, nav a:focus-visible:after { right: 0; }

.hero { position: relative; min-height: min(900px, 100svh); overflow: hidden; background: #22342f; color: #fff; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: hero-in 1.2s cubic-bezier(.2,.7,.2,1) both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,19,17,.67) 0%, rgba(12,19,17,.2) 52%, rgba(12,19,17,.08) 100%), linear-gradient(0deg, rgba(8,13,12,.55) 0%, transparent 44%); }
.hero-copy { position: relative; z-index: 2; width: min(1280px, calc(100% - 56px)); margin: 0 auto; padding-top: clamp(180px, 26vh, 260px); }
.issue { margin: 0 0 28px; font-size: 11px; font-weight: 650; letter-spacing: .2em; color: rgba(255,255,255,.7); }
.hero h1 { max-width: 820px; margin: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(56px, 7.2vw, 104px); font-weight: 500; line-height: 1.11; letter-spacing: -.055em; text-wrap: balance; }
.hero-intro { margin: 28px 0 36px; color: rgba(255,255,255,.78); font-family: "Songti SC", "STSong", serif; font-size: 18px; letter-spacing: .03em; }
.hero-link { display: inline-flex; align-items: center; gap: 30px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.72); color: #fff; text-decoration: none; font-size: 13px; }
.hero-link span { font-size: 18px; transition: transform .2s ease; }
.hero-link:hover span { transform: translateY(4px); }
.hero-credit, .hero-number { position: absolute; z-index: 2; bottom: 30px; color: rgba(255,255,255,.65); font-size: 11px; letter-spacing: .05em; }
.hero-credit { left: max(28px, calc((100% - 1280px)/2)); text-underline-offset: 4px; }
.hero-number { right: max(28px, calc((100% - 1280px)/2)); }

.intro-section { width: min(1280px, calc(100% - 56px)); margin: auto; padding: 132px 0 112px; display: grid; grid-template-columns: 150px minmax(0, 1.3fr) minmax(260px, .7fr); gap: 44px; align-items: end; }
.section-label { align-self: start; display: flex; gap: 17px; color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.section-label span:first-child { color: var(--ink); }
.eyebrow { margin: 0 0 24px; color: #738079; font-size: 11px; font-weight: 700; letter-spacing: .17em; }
.intro-copy h2, .closing-copy h2 { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(38px, 4.2vw, 62px); font-weight: 500; line-height: 1.3; letter-spacing: -.045em; }
.intro-note { max-width: 420px; margin: 0 0 6px; color: var(--muted); line-height: 2; }

.gallery-shell { padding: 0 max(28px, calc((100% - 1280px)/2)) 142px; }
.photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 84px 24px; }
.photo-card { margin: 0; }
.photo-wide { grid-column: 1 / span 8; }
.photo-portrait { grid-column: 9 / span 4; margin-top: 128px; }
.photo-landscape { grid-column: 1 / span 7; }
.interlude { grid-column: 9 / span 4; align-self: center; margin: 0; padding: 36px 0; }
.photo-tall { grid-column: 1 / span 5; }
.photo-evening { grid-column: 7 / span 6; align-self: end; margin-bottom: 90px; }
.photo-frame { position: relative; display: block; overflow: hidden; background: #dfe2dc; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.photo-wide .photo-frame { aspect-ratio: 1.46; }
.photo-portrait .photo-frame { aspect-ratio: 2 / 3; }
.photo-landscape .photo-frame { aspect-ratio: 4 / 3; }
.photo-tall .photo-frame { aspect-ratio: 2 / 3; }
.photo-evening .photo-frame { aspect-ratio: 1.5; }
.photo-frame:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,15,13,.22)); opacity: 0; transition: opacity .3s ease; }
.photo-frame:hover img { transform: scale(1.025); }
.photo-frame:hover:after { opacity: 1; }
.view-mark { position: absolute; z-index: 2; right: 18px; top: 18px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.72); color: var(--ink); opacity: 0; transform: translateY(7px); backdrop-filter: blur(12px); transition: opacity .25s ease, transform .25s ease; }
.photo-frame:hover .view-mark, .photo-frame:focus-visible .view-mark { opacity: 1; transform: translateY(0); }
figcaption { display: flex; justify-content: space-between; gap: 24px; padding-top: 17px; border-top: 1px solid var(--line); }
figcaption > span { display: flex; gap: 15px; align-items: baseline; }
figcaption b { font-family: "Songti SC", "STSong", serif; font-size: 17px; font-weight: 600; }
figcaption small, figcaption a { color: var(--muted); font-size: 11px; }
figcaption a { align-self: center; text-align: right; text-underline-offset: 4px; text-decoration-color: transparent; transition: text-decoration-color .2s ease; }
figcaption a:hover { text-decoration-color: currentColor; }
.interlude > span { color: #929992; font-family: Georgia, serif; font-size: 52px; }
.interlude p { margin: 30px 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(25px, 2.6vw, 38px); line-height: 1.65; letter-spacing: -.02em; }
.interlude i { display: block; width: 54px; height: 1px; background: var(--ink); }

.closing { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 680px; background: var(--moss); color: #fff; }
.closing-image { min-height: 680px; overflow: hidden; }
.closing-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) brightness(.8); }
.closing-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(42px, 7vw, 108px); }
.closing-copy .eyebrow { color: rgba(255,255,255,.55); }
.closing-copy > p:not(.eyebrow) { max-width: 460px; margin: 30px 0 38px; color: rgba(255,255,255,.68); line-height: 2; }
.closing-copy > a { align-self: flex-start; display: inline-flex; align-items: center; gap: 28px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.55); color: #fff; text-decoration: none; font-size: 13px; }

.site-footer { min-height: 160px; padding: 36px max(28px, calc((100% - 1280px)/2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; background: #171e1c; color: rgba(255,255,255,.52); font-size: 12px; }
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-brand strong { color: #fff; font-size: 14px; }
.site-footer p { margin: 0; text-align: center; }
.site-footer > a { justify-self: end; text-underline-offset: 4px; }

@keyframes hero-in { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 820px) {
  html { scroll-padding-top: 64px; }
  .nav-shell { width: calc(100% - 32px); height: 62px; }
  .wordmark { gap: 9px; font-size: 13px; }
  .wordmark-mark { width: 30px; height: 30px; }
  .wordmark-mark:before { left: 7px; top: 7px; width: 14px; height: 14px; }
  .wordmark-mark i { left: 12px; top: 12px; }
  nav { gap: 16px; }
  nav a { font-size: 11px; }
  nav a:last-child { display: none; }
  .hero { min-height: 720px; }
  .hero > img { object-position: 62% 50%; }
  .hero-copy { width: calc(100% - 36px); padding-top: 180px; }
  .hero h1 { font-size: clamp(48px, 14vw, 65px); line-height: 1.15; }
  .hero-intro { max-width: 270px; font-size: 15px; }
  .hero-credit { left: 18px; }
  .hero-number { right: 18px; }
  .intro-section { width: calc(100% - 36px); padding: 84px 0 70px; grid-template-columns: 1fr; gap: 26px; }
  .section-label { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .intro-copy h2, .closing-copy h2 { font-size: 38px; }
  .intro-note { font-size: 14px; }
  .gallery-shell { padding: 0 18px 90px; }
  .photo-grid { display: block; }
  .photo-card, .photo-portrait, .photo-evening { margin: 0 0 62px; }
  .photo-wide .photo-frame, .photo-landscape .photo-frame, .photo-evening .photo-frame { aspect-ratio: 1.16; }
  .photo-portrait .photo-frame, .photo-tall .photo-frame { aspect-ratio: 4 / 5; }
  .photo-portrait img { object-position: 50% 65%; }
  .photo-tall img { object-position: 50% 68%; }
  figcaption { padding-top: 13px; }
  figcaption > span { flex-direction: column; gap: 0; }
  figcaption b { font-size: 16px; }
  figcaption a { max-width: 44%; }
  .view-mark { opacity: 1; transform: none; width: 34px; height: 34px; }
  .interlude { margin: 12px 0 74px; padding: 22px 0 18px 16vw; border-left: 1px solid var(--line); }
  .interlude > span { font-size: 40px; }
  .interlude p { margin: 20px 0; font-size: 28px; }
  .closing { grid-template-columns: 1fr; min-height: auto; }
  .closing-image { min-height: 390px; }
  .closing-copy { padding: 70px 24px 82px; }
  .closing-copy > p:not(.eyebrow) { font-size: 14px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; min-height: 190px; text-align: center; }
  .site-footer > a { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}
