:root {
  --ivory: #f4eedf;
  --paper: #fbf7ed;
  --sand: #d6c7a7;
  --clay: #a96b3c;
  --brown: #4b3625;
  --olive: #68705c;
  --moss: #4f584a;
  --plum: #2d1619;
  --ink: #211d18;
  --muted: #776d61;
  --line: rgba(75, 54, 37, 0.14);
  --shadow: 0 34px 80px rgba(45, 22, 25, 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-soft: 420ms var(--ease-out);
  --motion-quick: 280ms var(--ease-out);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(169, 107, 60, 0.12), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(104, 112, 92, 0.14), transparent 30%),
    var(--ivory);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(75, 54, 37, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 54, 37, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

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

:focus-visible {
  outline: 2px solid rgba(169, 107, 60, 0.72);
  outline-offset: 5px;
  border-radius: 10px;
}

.page-shell {
  width: min(1440px, calc(100% - 32px));
  min-height: 100vh;
  margin: 16px auto 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(251, 247, 237, 0.94), rgba(251, 247, 237, 0.86)),
    var(--paper);
  box-shadow: 0 18px 70px rgba(75, 54, 37, 0.11);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 54px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 237, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(33, 29, 24, 0.72);
}

.nav-links a,
.lang-pill {
  transition: color var(--motion-quick);
}

.nav-links a:hover,
.lang-pill:hover {
  color: var(--clay);
}

.lang-pill {
  justify-self: end;
  font-size: 12px;
  font-weight: 700;
  color: rgba(33, 29, 24, 0.7);
}

.opening {
  position: relative;
  display: grid;
  grid-template-columns: minmax(480px, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  min-height: calc(100vh - 88px);
  padding: clamp(60px, 8vw, 112px) clamp(42px, 7vw, 108px) 82px;
  overflow: hidden;
  background: var(--plum);
}

.site-gated:not(.site-entered) {
  overflow: hidden;
}

.site-gated:not(.site-entered) .page-shell {
  margin-bottom: 16px;
}

.section-gate .outward-section,
.section-gate .inward-section {
  display: none;
}

.section-gate.section-route-outward .outward-section,
.section-gate.section-route-inward .inward-section {
  display: block;
}

.site-gated:not(.site-entered) .page-shell > section:not(.opening) {
  display: none;
}

.site-gated.site-entered .page-shell > section:not(.opening) {
  animation: siteContentReveal 520ms var(--ease-out) both;
}

@keyframes siteContentReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.opening::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 16, 13, 0.9) 0%, rgba(45, 22, 25, 0.72) 50%, rgba(45, 22, 25, 0.16) 100%),
    linear-gradient(0deg, rgba(22, 16, 13, 0.54), rgba(22, 16, 13, 0.08));
  z-index: 1;
}

.opening-bg {
  position: absolute;
  inset: 0;
  background-image: url("./assets/portrait-landscape.jpg");
  background-size: cover;
  background-position: 68% center;
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.02);
}

.opening-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.opening-title {
  max-width: 820px;
  margin: 0;
  color: var(--paper);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(38px, 4.1vw, 64px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

.opening-cn {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--sand);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 700;
  line-height: 1.5;
}

.opening-note {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(251, 247, 237, 0.72);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(17px, 1.3vw, 22px);
  line-height: 1.8;
}

.opening-name {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  padding: 15px 21px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background var(--motion-quick),
    transform var(--motion-quick),
    box-shadow var(--motion-quick);
}

.opening-name::after {
  content: "↓";
  color: var(--clay);
}

.opening-name:hover {
  background: var(--sand);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(22, 16, 13, 0.18);
}

.opening-visual {
  position: relative;
  z-index: 1;
  min-height: 580px;
  display: grid;
  align-content: center;
  gap: 26px;
  padding: 12px 0;
}

.opening .eyebrow {
  color: rgba(244, 238, 223, 0.72);
}

.opening-scroll {
  bottom: 28px;
  color: rgba(251, 247, 237, 0.55);
}

@media (min-width: 769px) {
  .site-gated:not(.site-entered) .opening {
    min-height: calc(100vh - 154px);
    padding-top: clamp(44px, 6vw, 88px);
    padding-bottom: 56px;
  }
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(480px, 1.12fr);
  gap: clamp(36px, 5vw, 92px);
  min-height: calc(100vh - 88px);
  padding: clamp(64px, 8vw, 118px) clamp(42px, 7vw, 108px) 76px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 247, 237, 0.96), rgba(251, 247, 237, 0.9)),
    var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  right: -14%;
  bottom: -20%;
  width: 54%;
  height: 50%;
  border-radius: 50%;
  background: rgba(104, 112, 92, 0.16);
  filter: blur(80px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 540px;
}

.hero .eyebrow {
  color: var(--clay);
}

.eyebrow {
  margin: 0 0 34px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro-title {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(68px, 7.4vw, 122px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.82;
}

.intro-title span {
  display: block;
  margin-top: 22px;
  color: var(--clay);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(25px, 2.2vw, 38px);
  font-weight: 600;
  line-height: 1.2;
}

.subtitle-card {
  width: min(410px, 100%);
  margin: 34px 0 30px;
  padding: 18px 22px 18px 24px;
  border-left: 3px solid rgba(104, 112, 92, 0.55);
  background: rgba(244, 238, 223, 0.7);
}

.subtitle-card p,
.subtitle-card span {
  margin: 0;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.18;
}

.subtitle-card p {
  font-family: "Cormorant Garamond", serif;
}

.hero .subtitle-card p {
  color: var(--ink);
}

.subtitle-card span {
  display: block;
  margin-top: 8px;
  color: rgba(33, 29, 24, 0.52);
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.intro {
  max-width: 480px;
  margin: 0;
  color: rgba(33, 29, 24, 0.82);
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.42;
}

.intro.zh {
  margin-top: 12px;
  color: rgba(33, 29, 24, 0.56);
  font-family: "Noto Serif SC", serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.guide p {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: var(--clay);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.guide a {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  align-items: baseline;
  min-height: 54px;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .guide a {
  color: var(--ink);
}

.guide a::after {
  content: "->";
  color: var(--clay);
  transform: translateX(0);
  transition: transform var(--motion-quick);
}

.guide a:hover::after {
  transform: translateX(5px);
}

.guide a span {
  color: rgba(33, 29, 24, 0.38);
  font-size: 11px;
}

.guide small {
  grid-column: 2 / -1;
  color: rgba(33, 29, 24, 0.45);
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
}

.hero-visual {
  position: relative;
  z-index: 3;
  align-self: center;
  min-height: min(680px, 68vw);
  display: grid;
  align-content: center;
  gap: 26px;
  padding: 12px 0;
}

figure {
  margin: 0;
}

.intro-photo {
  position: relative;
  overflow: hidden;
  justify-self: end;
  width: min(640px, 96%);
  aspect-ratio: 3 / 2;
  border: 7px solid rgba(251, 247, 237, 0.94);
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 48px rgba(75, 54, 37, 0.2);
  transition:
    transform var(--motion-soft),
    box-shadow var(--motion-soft),
    filter var(--motion-soft);
}

.intro-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 64px rgba(75, 54, 37, 0.22);
  filter: saturate(1.02);
}

.intro-photo-large {
  background-image: url("./assets/portrait-grass.jpg");
}

.intro-photo-small {
  background-image: url("./assets/portrait-close.jpg");
  background-position: 52% 38%;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(33, 29, 24, 0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, transparent, var(--clay));
}

.preview-section {
  padding: 108px clamp(42px, 7vw, 108px);
  border-top: 1px solid var(--line);
  background: rgba(251, 247, 237, 0.68);
}

.preview-section.muted {
  background: rgba(244, 238, 223, 0.8);
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preview-section h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Cormorant Garamond", serif;
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 700;
  letter-spacing: 0;
}

.preview-section p:not(.section-kicker) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(33, 29, 24, 0.72);
  font-size: 17px;
  line-height: 1.78;
}

.preview-section p span {
  display: block;
  margin-top: 10px;
  color: rgba(33, 29, 24, 0.55);
  font-size: 14px;
}

.outward-section {
  padding: 104px clamp(28px, 6vw, 96px) 118px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(251, 247, 237, 0.78), rgba(244, 238, 223, 0.94)),
    var(--ivory);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(360px, 1fr);
  gap: 18px clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: 36px;
}

.section-head .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-head h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.95;
}

.section-head .section-title-cn {
  grid-column: 1;
  grid-row: 3;
  display: block;
  margin-top: -4px;
  color: rgba(169, 107, 60, 0.9);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.25;
}

.section-head p:not(.section-kicker) {
  grid-column: 2;
  grid-row: 2;
  max-width: 660px;
  margin: 0;
  color: rgba(33, 29, 24, 0.76);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 2.1vw, 31px);
  font-weight: 600;
  line-height: 1.28;
}

.section-head span:not(.section-title-cn) {
  grid-column: 2;
  grid-row: 3;
  color: rgba(33, 29, 24, 0.48);
  font-family: "Noto Serif SC", serif;
  font-size: 14px;
  line-height: 1.8;
}

.fieldnote-row {
  display: grid;
  grid-auto-columns: minmax(340px, 420px);
  grid-auto-flow: column;
  gap: 18px;
  margin: 0 -16px;
  padding: 8px 16px 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scroll-padding-inline: 16px;
}

.field-card {
  scroll-snap-align: start;
  min-height: auto;
  padding: 12px 12px 16px;
  border: 1px solid rgba(75, 54, 37, 0.1);
  border-radius: 18px;
  background: rgba(251, 247, 237, 0.9);
  box-shadow: 0 18px 44px rgba(75, 54, 37, 0.08);
  transition:
    border-color var(--motion-soft),
    box-shadow var(--motion-soft),
    transform var(--motion-soft);
}

.field-card:hover {
  border-color: rgba(169, 107, 60, 0.18);
  box-shadow: 0 24px 54px rgba(75, 54, 37, 0.12);
  transform: translateY(-3px);
}

.field-card img,
.wide-note img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.field-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 12px;
}

.card-date {
  margin: 18px 4px 8px;
  color: rgba(33, 29, 24, 0.46);
  font-size: 12px;
  font-weight: 700;
}

.field-card h3,
.wide-note h3 {
  margin: 0 4px;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  line-height: 1.05;
}

.field-card p:not(.card-date),
.wide-note p:not(.card-date) {
  margin: 10px 4px 0;
  color: rgba(33, 29, 24, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.field-card span,
.wide-note span {
  display: block;
  margin: 8px 4px 0;
  color: rgba(33, 29, 24, 0.48);
  font-family: "Noto Serif SC", serif;
  font-size: 12px;
  line-height: 1.65;
}

.outward-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.wide-note {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 0 20px 54px rgba(75, 54, 37, 0.13);
}

.wide-note img {
  height: 100%;
  min-height: 420px;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1);
  transition:
    filter var(--motion-soft),
    transform 600ms var(--ease-out);
}

.wide-note::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(22, 16, 13, 0.78));
  transition: opacity var(--motion-soft);
}

.wide-note:hover img {
  filter: saturate(0.98) contrast(1.03);
  transform: scale(1.015);
}

.wide-note:hover::after {
  opacity: 0.94;
}

.wide-note div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: var(--paper);
}

.wide-note .card-date,
.wide-note h3,
.wide-note p:not(.card-date),
.wide-note span {
  margin-left: 0;
  margin-right: 0;
}

.wide-note .card-date {
  color: rgba(251, 247, 237, 0.72);
}

.wide-note h3 {
  color: var(--paper);
  font-size: clamp(27px, 2.6vw, 42px);
}

.wide-note p:not(.card-date) {
  max-width: 560px;
  color: rgba(251, 247, 237, 0.82);
}

.wide-note span {
  max-width: 560px;
  color: rgba(251, 247, 237, 0.62);
}

.wide-note.playful,
.wide-note.night {
  grid-column: 1 / -1;
}

.wide-note.playful img,
.wide-note.night img {
  height: 520px;
}

.inward-section {
  padding: 104px clamp(28px, 6vw, 96px) 118px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 20%, rgba(169, 107, 60, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(244, 238, 223, 0.96), rgba(251, 247, 237, 0.92)),
    var(--paper);
}

.heritage-lab {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 42px;
}

.map-panel {
  position: relative;
  width: min(100%, 1080px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(75, 54, 37, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(251, 247, 237, 0.82), rgba(244, 238, 223, 0.48)),
    rgba(251, 247, 237, 0.72);
  box-shadow: 0 24px 62px rgba(75, 54, 37, 0.1);
}

.shandong-map {
  position: absolute;
  inset: 0;
}

.map-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) sepia(0.08) contrast(0.96) brightness(1.04);
  opacity: 0.92;
}

.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px 9px 9px;
  border: 1px solid rgba(75, 54, 37, 0.12);
  border-radius: 999px;
  color: rgba(33, 29, 24, 0.7);
  background: rgba(251, 247, 237, 0.9);
  box-shadow: 0 12px 28px rgba(75, 54, 37, 0.14);
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    background var(--motion-quick),
    color var(--motion-quick),
    transform var(--motion-quick),
    box-shadow var(--motion-quick);
}

.map-pin span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 6px rgba(104, 112, 92, 0.12);
}

.map-pin:hover,
.map-pin.is-active {
  color: var(--paper);
  background: var(--plum);
  box-shadow: 0 18px 38px rgba(45, 22, 25, 0.18);
  transform: translate(-50%, -50%) scale(1.04);
}

.map-pin.is-active span {
  background: var(--sand);
  box-shadow: 0 0 0 7px rgba(214, 199, 167, 0.22), 0 0 18px rgba(214, 199, 167, 0.65);
}

.heritage-cards {
  position: relative;
  display: grid;
  grid-auto-columns: minmax(330px, 410px);
  grid-auto-flow: column;
  gap: clamp(20px, 3vw, 34px);
  overflow-x: auto;
  margin: 0 -16px;
  padding: 54px 16px 70px;
  perspective: 1200px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scroll-padding-inline: 16px;
}

.heritage-cards::before {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 54px;
  left: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75, 54, 37, 0.18), transparent);
  pointer-events: none;
}

.heritage-card {
  --float-tilt: -1deg;
  position: relative;
  scroll-snap-align: center;
  overflow: visible;
  padding: 10px;
  border: 1px solid rgba(251, 247, 237, 0.78);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(251, 247, 237, 0.82), rgba(244, 238, 223, 0.58)),
    rgba(251, 247, 237, 0.64);
  box-shadow:
    0 28px 70px rgba(75, 54, 37, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  opacity: 0.72;
  transform: translateY(18px) rotateY(var(--float-tilt)) scale(0.94);
  transition:
    opacity var(--motion-soft),
    transform var(--motion-soft),
    box-shadow var(--motion-soft),
    border-color var(--motion-soft),
    background var(--motion-soft);
  cursor: pointer;
}

.heritage-card:nth-child(even) {
  --float-tilt: 1.2deg;
}

.heritage-card::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: -22px;
  left: 12%;
  height: 28px;
  border-radius: 50%;
  background: rgba(45, 22, 25, 0.16);
  filter: blur(18px);
  opacity: 0.45;
  pointer-events: none;
  transition: opacity var(--motion-soft), transform var(--motion-soft);
}

.heritage-card:hover {
  border-color: rgba(169, 107, 60, 0.24);
  opacity: 0.9;
  transform: translateY(8px) rotateY(var(--float-tilt)) scale(0.97);
}

.heritage-card.is-active {
  background:
    linear-gradient(145deg, rgba(45, 22, 25, 0.92), rgba(75, 54, 37, 0.8)),
    var(--plum);
  box-shadow:
    0 34px 86px rgba(45, 22, 25, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  opacity: 1;
  transform: translateY(-10px) rotateY(0) scale(1.02);
}

.heritage-card.is-active:hover {
  transform: translateY(-10px) rotateY(0) scale(1.02);
}

.heritage-card.is-active::after {
  opacity: 0.72;
  transform: scaleX(1.12);
}

.heritage-card img,
.card-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 17px;
}

.card-placeholder {
  display: grid;
  place-items: center;
  color: rgba(33, 29, 24, 0.38);
  background:
    linear-gradient(135deg, rgba(104, 112, 92, 0.12), rgba(169, 107, 60, 0.12)),
    rgba(244, 238, 223, 0.88);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 700;
}

.heritage-card div:last-child {
  padding: 18px 12px 16px;
}

.heritage-card .card-date {
  margin: 0 0 10px;
}

.heritage-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  line-height: 1.06;
}

.heritage-card h3 span,
.heritage-card h3 small {
  display: block;
}

.heritage-card h3 span {
  font-size: clamp(25px, 1.8vw, 30px);
}

.heritage-card h3 small {
  margin-top: 6px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 700;
  line-height: 1.18;
}

.heritage-card p:not(.card-date) {
  margin: 13px 0 0;
  color: rgba(33, 29, 24, 0.72);
  font-size: 13px;
  line-height: 1.62;
}

.heritage-card span {
  display: block;
  margin-top: 10px;
  color: rgba(33, 29, 24, 0.48);
  font-family: "Noto Serif SC", serif;
  font-size: 12px;
  line-height: 1.65;
}

.heritage-card.is-active h3,
.heritage-card.is-active p:not(.card-date),
.heritage-card.is-active span,
.heritage-card.is-active .card-date {
  color: rgba(251, 247, 237, 0.9);
}

.heritage-card.is-active span,
.heritage-card.is-active .card-date {
  color: rgba(251, 247, 237, 0.62);
}

.heritage-detail {
  display: none;
  margin-top: 52px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(75, 54, 37, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(251, 247, 237, 0.88), rgba(244, 238, 223, 0.62)),
    rgba(251, 247, 237, 0.72);
  box-shadow: 0 28px 76px rgba(75, 54, 37, 0.1);
}

.heritage-detail.is-open {
  display: block;
  animation: detailReveal 520ms var(--ease-out) both;
}

@keyframes detailReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px clamp(28px, 4vw, 64px);
  align-items: center;
  margin-bottom: 36px;
}

.detail-heading .section-kicker {
  grid-column: 1 / -1;
}

.detail-heading h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  line-height: 1.04;
  max-width: none;
}

.detail-title-en,
.detail-title-zh {
  display: block;
}

.detail-title-en {
  font-size: clamp(42px, 3.8vw, 62px);
}

.detail-title-zh {
  margin-top: 8px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 2.55vw, 40px);
  line-height: 1.08;
}

.detail-heading > span {
  justify-self: start;
  color: rgba(33, 29, 24, 0.5);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 4px;
}

.detail-photo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(33, 29, 24, 0.08);
  box-shadow: 0 18px 46px rgba(75, 54, 37, 0.12);
}

.detail-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-photo-triptych {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.68fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  overflow: hidden;
}

.detail-photo-triptych.is-feature-center {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.detail-photo-triptych.is-portrait-center {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.detail-photo-triptych.is-hidden {
  display: none;
}

.detail-photo-triptych.is-feature-center .detail-photo-wide {
  aspect-ratio: 4 / 3;
}

.detail-photo-triptych.is-feature-center .detail-photo-vertical {
  aspect-ratio: 4 / 3;
}

.detail-photo-triptych.is-feature-center .detail-photo-wide img {
  object-fit: cover;
  padding: 0;
  background: transparent;
}

.detail-photo-triptych.is-feature-center .detail-photo-vertical img {
  object-position: center;
}

.detail-photo-triptych.is-portrait-center .detail-photo-wide {
  aspect-ratio: 4 / 3;
}

.detail-photo-triptych.is-portrait-center .detail-photo-vertical {
  aspect-ratio: 4 / 3;
}

.detail-photo-triptych.is-portrait-center .detail-photo-wide img,
.detail-photo-triptych.is-portrait-center .detail-photo-vertical img {
  object-fit: cover;
  padding: 0;
  background: transparent;
  object-position: center;
}

.detail-photo-wide {
  aspect-ratio: 1.32 / 1;
}

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

.detail-photo-vertical img {
  object-position: center;
}

.detail-copy {
  display: grid;
  gap: 12px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 26px 6px 4px;
  border-top: 1px solid rgba(75, 54, 37, 0.1);
  text-align: left;
}

.detail-copy p {
  margin: 0;
  color: rgba(33, 29, 24, 0.76);
  font-size: clamp(14px, 0.98vw, 16px);
  font-weight: 500;
  line-height: 1.55;
}

.detail-copy p:first-child {
  font-family: "Inter", sans-serif;
}

.detail-copy p:last-child {
  font-family: "Noto Serif SC", serif;
}

.detail-gallery {
  margin-top: 46px;
  padding-top: 40px;
  border-top: 1px solid rgba(75, 54, 37, 0.1);
}

.gallery-composite-frame {
  position: relative;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.gallery-composite-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.gallery-composite-placeholder {
  position: absolute;
  left: 2.2%;
  top: 35%;
  z-index: 1;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: clamp(360px, 36%, 430px);
  min-height: 0;
  margin: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: rgba(33, 29, 24, 0.68);
  pointer-events: none;
}

.gallery-composite-placeholder .section-kicker {
  margin-bottom: 12px;
  white-space: nowrap;
  font-size: clamp(10px, 0.7vw, 12px);
  line-height: 1;
  letter-spacing: 0.11em;
}

.gallery-composite-placeholder h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  text-wrap: balance;
}

.gallery-composite-placeholder p:last-child {
  max-width: 420px;
  margin: 0;
}

.gallery-composite-placeholder h4 span,
.gallery-composite-placeholder h4 small,
.gallery-composite-placeholder p:last-child span,
.gallery-composite-placeholder p:last-child small {
  display: block;
}

.gallery-composite-placeholder h4 span {
  font-size: clamp(25px, 1.86vw, 32px);
  line-height: 1.02;
}

.gallery-composite-placeholder h4 small {
  margin-top: 4px;
  color: rgba(33, 29, 24, 0.62);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(13px, 0.82vw, 15px);
  font-weight: 700;
  line-height: 1.35;
}

.gallery-composite-placeholder p:last-child span {
  color: rgba(33, 29, 24, 0.62);
  font-family: Inter, sans-serif;
  font-size: clamp(9.5px, 0.62vw, 10.5px);
  font-weight: 650;
  line-height: 1.3;
  max-width: 36em;
}

.gallery-composite-placeholder p:last-child small {
  margin-top: 3px;
  color: rgba(33, 29, 24, 0.56);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(9.5px, 0.62vw, 10.5px);
  font-weight: 600;
  line-height: 1.34;
  max-width: 36em;
}

@media (max-width: 980px) {
  .opening {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 52px 24px 92px;
  }

  .opening-title {
    max-width: 620px;
    font-size: clamp(39px, 10.5vw, 62px);
    line-height: 1.08;
  }

  .opening-cn {
    max-width: 560px;
    font-size: clamp(21px, 5.2vw, 30px);
  }

  .opening-note {
    font-size: 16px;
  }

  .opening-visual {
    display: none;
  }

  .page-shell {
    width: min(100% - 20px, 720px);
    border-radius: 22px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: calc(100vh - 72px);
    padding: 64px 24px 80px;
  }

  .hero-copy {
    max-width: none;
  }

  .intro-title {
    font-size: clamp(50px, 14vw, 76px);
  }

  .hero-visual {
    min-height: auto;
    gap: 18px;
  }

  .intro-photo {
    justify-self: stretch;
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .scroll-cue {
    display: none;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head h2,
  .section-head .section-title-cn,
  .section-head p:not(.section-kicker),
  .section-head span {
    grid-column: 1;
    grid-row: auto;
  }

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

  .wide-note,
  .wide-note img {
    min-height: 360px;
  }

  .wide-note.playful,
  .wide-note.night {
    grid-column: auto;
  }

  .wide-note.playful img,
  .wide-note.night img {
    height: 390px;
  }

  .map-panel {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .brand {
    font-size: 20px;
  }

  .lang-pill {
    font-size: 11px;
  }

  .topbar {
    min-height: 60px;
    padding: 0 18px;
  }

  .opening {
    min-height: calc(100vh - 60px);
    padding: 38px 18px 72px;
  }

  .opening-title {
    font-size: clamp(32px, 9.4vw, 44px);
  }

  .opening-cn {
    margin-top: 24px;
  }

  .opening-name {
    margin-top: 30px;
    padding: 13px 18px;
    font-size: 12px;
  }

  .intro-photo {
    border-width: 5px;
    border-radius: 16px;
    aspect-ratio: 16 / 9;
  }

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

  .hero-visual {
    min-height: auto;
  }

  .hero {
    padding: 48px 18px 64px;
  }

  .intro-title {
    font-size: clamp(44px, 14vw, 60px);
    line-height: 0.88;
  }

  .intro-title span {
    font-size: 22px;
  }

  .subtitle-card {
    margin: 28px 0 26px;
    padding: 16px 18px;
  }

  .subtitle-card p {
    font-size: 21px;
  }

  .intro {
    font-size: 14px;
    line-height: 1.72;
  }

  .preview-section {
    padding: 76px 24px;
  }

  .outward-section {
    padding: 64px 18px 76px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: clamp(38px, 12vw, 54px);
    line-height: 1;
  }

  .section-head p:not(.section-kicker) {
    font-size: 19px;
    line-height: 1.36;
  }

  .section-head span:not(.section-title-cn) {
    font-size: 13px;
    line-height: 1.72;
  }

  .fieldnote-row {
    grid-auto-columns: minmax(254px, 78vw);
    margin: 0 -18px;
    padding: 4px 18px 20px;
    gap: 14px;
  }

  .field-card {
    min-height: auto;
    padding: 10px 10px 14px;
    border-radius: 16px;
  }

  .field-card img {
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 11px;
  }

  .field-card h3,
  .wide-note h3 {
    font-size: 23px;
  }

  .field-card p:not(.card-date),
  .wide-note p:not(.card-date) {
    font-size: 13px;
    line-height: 1.5;
  }

  .field-card span,
  .wide-note span {
    font-size: 11px;
    line-height: 1.58;
  }

  .wide-note,
  .wide-note img {
    min-height: 310px;
  }

  .wide-note.playful img,
  .wide-note.night img {
    height: 340px;
  }

  .wide-note div {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .inward-section {
    padding: 64px 18px 78px;
  }

  .heritage-lab {
    margin-top: 28px;
  }

  .map-panel {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .shandong-map {
    inset: 0;
  }

  .map-pin {
    gap: 6px;
    padding: 7px 8px 7px 7px;
    font-size: 10px;
  }

  .map-pin span {
    width: 8px;
    height: 8px;
  }

  .heritage-cards {
    grid-auto-columns: minmax(254px, 78vw);
    margin: 0 -18px;
    padding: 34px 18px 48px;
    gap: 14px;
  }

  .heritage-card h3 {
    line-height: 1.12;
  }

  .heritage-card h3 span {
    font-size: 23px;
  }

  .heritage-card h3 small {
    font-size: 17px;
  }

  .heritage-card img,
  .card-placeholder {
    aspect-ratio: 16 / 9;
  }

  .heritage-card {
    transform: translateY(12px) scale(0.96);
  }

  .heritage-card.is-active {
    transform: translateY(-6px) scale(1);
  }

  .heritage-detail {
    margin-top: 34px;
    padding: 20px;
    border-radius: 20px;
  }

  .detail-heading,
  .detail-intro,
  .detail-copy {
    grid-template-columns: 1fr;
  }

  .detail-photo-triptych {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .detail-photo-triptych.is-feature-center {
    grid-template-columns: 1fr;
  }

  .detail-photo-triptych.is-portrait-center {
    grid-template-columns: 1fr;
  }

  .detail-heading {
    margin-bottom: 20px;
  }

  .detail-heading h3 {
    display: block;
    font-size: 36px;
  }

  .detail-title-en,
  .detail-title-zh {
    display: block;
  }

  .detail-title-en {
    font-size: 34px;
  }

  .detail-title-zh {
    margin-top: 4px;
    font-size: 26px;
  }

  .detail-heading > span {
    justify-self: start;
  }

  .detail-photo-wide,
  .detail-photo-vertical {
    aspect-ratio: 4 / 3;
  }

  .detail-photo-triptych.is-feature-center .detail-photo-wide,
  .detail-photo-triptych.is-feature-center .detail-photo-vertical,
  .detail-photo-triptych.is-portrait-center .detail-photo-wide,
  .detail-photo-triptych.is-portrait-center .detail-photo-vertical {
    aspect-ratio: 4 / 3;
  }

  .detail-copy {
    padding-top: 18px;
    text-align: left;
  }

  .detail-copy p {
    font-size: 14px;
    line-height: 1.68;
  }

  .detail-gallery {
    margin-top: 28px;
    padding-top: 28px;
  }

  .gallery-composite-placeholder {
    left: 2.4%;
    top: 36%;
    width: 33%;
    padding: 0;
    align-items: flex-start;
    text-align: left;
  }

  .gallery-composite-placeholder .section-kicker {
    display: block;
    margin-bottom: 6px;
    white-space: nowrap;
    font-size: clamp(5px, 1vw, 7px);
    letter-spacing: 0.06em;
  }

  .gallery-composite-placeholder h4 {
    margin-bottom: 7px;
    line-height: 1.05;
  }

  .gallery-composite-placeholder p:last-child {
    max-width: 100%;
  }

  .gallery-composite-placeholder h4 span {
    font-size: clamp(10px, 1.7vw, 13px);
    line-height: 1.05;
  }

  .gallery-composite-placeholder h4 small {
    margin-top: 3px;
    font-size: clamp(7px, 1.2vw, 9px);
    line-height: 1.25;
  }

  .gallery-composite-placeholder p:last-child span {
    font-size: clamp(5px, 0.95vw, 7px);
    line-height: 1.35;
  }

  .gallery-composite-placeholder p:last-child small {
    margin-top: 3px;
    font-size: clamp(5px, 0.95vw, 7px);
    line-height: 1.38;
  }
}

@media (max-width: 768px) {
  .opening {
    align-items: start;
    padding-top: 18px;
    padding-left: 28px;
    padding-right: 20px;
  }

  .opening-copy {
    max-width: min(86vw, 360px);
    margin-left: auto;
    margin-right: auto;
  }

  .opening .eyebrow {
    margin-bottom: 24px;
  }

  .opening-title {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.18;
  }

  .opening-cn {
    margin-top: clamp(96px, 17vh, 142px);
    font-size: clamp(14px, 4vw, 19px);
    line-height: 1.45;
  }

  .opening-note {
    margin-top: 8px;
  }

  .opening-name {
    margin-top: 22px;
  }

  .hero {
    gap: 22px;
    min-height: auto;
    padding: 28px 22px 58px;
    align-items: start;
  }

  .hero-copy {
    max-width: min(88vw, 360px);
    align-self: start;
  }

  .intro-title {
    font-size: clamp(22px, 6.4vw, 30px);
    line-height: 1.18;
  }

  .intro-title span {
    margin-top: 7px;
    font-size: clamp(11px, 3.2vw, 14px);
    line-height: 1.35;
  }

  .subtitle-card {
    margin: 32px 0 18px;
    padding: 14px 16px;
  }

  .subtitle-card p {
    font-size: 18px;
    line-height: 1.22;
  }

  .subtitle-card span,
  .intro {
    font-size: 13px;
    line-height: 1.62;
  }

  .hero-visual {
    position: relative;
    min-height: 250px;
    margin-top: 4px;
    gap: 0;
  }

  .intro-photo {
    position: absolute;
    border-width: 4px;
    border-radius: 14px;
    width: min(68vw, 250px);
    aspect-ratio: 16 / 9.4;
    box-shadow: 0 18px 34px rgba(75, 54, 37, 0.18);
  }

  .intro-photo-large {
    left: 0;
    top: 0;
    justify-self: auto;
  }

  .intro-photo-small {
    display: block;
    right: 0;
    top: 100px;
    justify-self: auto;
    background-image: url("./assets/portrait-autumn-close.jpg");
    background-position: 50% 38%;
  }

  .guide {
    margin-top: 24px;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
  }

  .guide a {
    min-height: 82px;
    padding: 14px 8px 12px 0;
  }

  .mobile-section-gate .outward-section,
  .mobile-section-gate .inward-section {
    display: none;
  }

  .mobile-section-gate.mobile-route-outward .outward-section,
  .mobile-section-gate.mobile-route-inward .inward-section {
    display: block;
  }

  .outward-section,
  .inward-section {
    padding: 54px 16px 62px;
  }

  .section-head {
    grid-template-columns: 1fr;
    row-gap: 18px;
    column-gap: 0;
    margin-bottom: 20px;
  }

  .section-kicker {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .section-head h2 {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 100%;
    font-size: clamp(34px, 10.4vw, 48px);
    line-height: 1.02;
  }

  .section-title-cn {
    grid-column: 1;
    grid-row: 3;
    max-width: 100%;
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.16;
  }

  .section-head p:not(.section-kicker) {
    grid-column: 1;
    grid-row: 4;
    max-width: none;
    font-size: 17px;
    line-height: 1.38;
  }

  .section-head span:not(.section-title-cn) {
    grid-column: 1;
    grid-row: 5;
    max-width: none;
    font-size: 12px;
    line-height: 1.68;
  }

  .fieldnote-row,
  .heritage-cards {
    grid-auto-columns: minmax(226px, 70vw);
    margin: 0 -16px;
    padding-right: 16px;
    padding-left: 16px;
    gap: 12px;
  }

  .field-card,
  .heritage-card {
    padding: 9px;
    border-radius: 15px;
  }

  .field-card img,
  .heritage-card img,
  .card-placeholder {
    aspect-ratio: 16 / 8.8;
    border-radius: 10px;
  }

  .field-card h3,
  .wide-note h3 {
    font-size: 21px;
    line-height: 1.05;
  }

  .field-card p:not(.card-date),
  .wide-note p:not(.card-date),
  .heritage-card p:not(.card-date) {
    font-size: 12px;
    line-height: 1.48;
  }

  .field-card span,
  .wide-note span,
  .heritage-card span {
    font-size: 10.5px;
    line-height: 1.5;
  }

  .wide-note,
  .wide-note img {
    min-height: 250px;
  }

  .wide-note.playful img,
  .wide-note.night img {
    height: 280px;
  }

  .wide-note div {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .wide-note .card-date {
    margin-bottom: 8px;
  }

  .wide-note p:not(.card-date) {
    margin-top: 8px;
  }

  .wide-note span {
    margin-top: 6px;
  }

  .heritage-lab {
    margin-top: 24px;
  }

  .map-panel {
    aspect-ratio: 16 / 11;
    border-radius: 18px;
  }

  .heritage-cards {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .heritage-card h3 span {
    font-size: 21px;
  }

  .heritage-card h3 small {
    margin-top: 4px;
    font-size: 15px;
  }

  .heritage-card div:last-child {
    padding: 14px 9px 10px;
  }

  .heritage-card p:not(.card-date) {
    margin-top: 9px;
  }

  .heritage-detail {
    margin-top: 28px;
    padding: 16px;
    border-radius: 18px;
  }

  .detail-heading {
    gap: 10px;
    margin-bottom: 16px;
  }

  .detail-title-en {
    font-size: 30px;
    line-height: 1;
  }

  .detail-title-zh {
    font-size: 22px;
    line-height: 1.12;
  }

  .detail-heading > span {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .detail-photo-triptych,
  .detail-photo-triptych.is-feature-center,
  .detail-photo-triptych.is-portrait-center {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
    align-items: start;
    overflow: visible;
  }

  .detail-photo,
  .detail-photo-wide,
  .detail-photo-vertical,
  .detail-photo-triptych.is-feature-center .detail-photo-wide,
  .detail-photo-triptych.is-feature-center .detail-photo-vertical,
  .detail-photo-triptych.is-portrait-center .detail-photo-wide,
  .detail-photo-triptych.is-portrait-center .detail-photo-vertical {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 3;
    background: transparent;
    order: 2;
  }

  .detail-photo img,
  .detail-photo-triptych.is-feature-center .detail-photo-wide img,
  .detail-photo-triptych.is-feature-center .detail-photo-vertical img,
  .detail-photo-triptych.is-portrait-center .detail-photo-wide img,
  .detail-photo-triptych.is-portrait-center .detail-photo-vertical img {
    object-fit: cover;
    object-position: center;
    background: transparent;
  }

  .detail-photo-triptych.layout-laixi .detail-photo:nth-child(2),
  .detail-photo-triptych.layout-jiyang .detail-photo:nth-child(1),
  .detail-photo-triptych.layout-zhangqiu .detail-photo:nth-child(1),
  .detail-photo-triptych.layout-taian .detail-photo:nth-child(2),
  .detail-photo-triptych.layout-zibo .detail-photo:nth-child(2),
  .detail-photo-triptych.layout-linyi .detail-photo:nth-child(2) {
    grid-column: 1 / -1;
    justify-self: center;
    order: 1;
    margin-bottom: 4px;
  }

  .detail-photo-triptych.layout-laixi .detail-photo:nth-child(2),
  .detail-photo-triptych.layout-jiyang .detail-photo:nth-child(1),
  .detail-photo-triptych.layout-taian .detail-photo:nth-child(2) {
    width: 76%;
    aspect-ratio: 3 / 4;
  }

  .detail-photo-triptych.layout-jiyang .detail-photo:nth-child(1) {
    aspect-ratio: 3 / 3.7;
  }

  .detail-photo-triptych.layout-jiyang .detail-photo:nth-child(1) img {
    object-position: center top;
  }

  .detail-photo-triptych.layout-zhangqiu .detail-photo:nth-child(1),
  .detail-photo-triptych.layout-zibo .detail-photo:nth-child(2),
  .detail-photo-triptych.layout-linyi .detail-photo:nth-child(2) {
    width: 92%;
    aspect-ratio: 16 / 10;
  }

  .detail-photo-triptych.layout-zibo .detail-photo:nth-child(1),
  .detail-photo-triptych.layout-zibo .detail-photo:nth-child(3) {
    aspect-ratio: 1 / 1.12;
  }

  .detail-photo-triptych.layout-linyi .detail-photo:nth-child(1),
  .detail-photo-triptych.layout-linyi .detail-photo:nth-child(3) {
    aspect-ratio: 1 / 1;
  }

  .detail-copy {
    gap: 10px;
    padding-top: 16px;
  }

  .detail-copy p {
    font-size: 13px;
    line-height: 1.62;
  }

  .detail-gallery {
    margin-top: 24px;
    padding-top: 24px;
  }

  .gallery-composite-placeholder {
    left: 2.2%;
    top: 35%;
    width: 34%;
  }

  .gallery-composite-placeholder .section-kicker {
    margin-bottom: 4px;
    font-size: clamp(4.5px, 0.9vw, 6.5px);
  }

  .gallery-composite-placeholder h4 {
    margin-bottom: 5px;
  }

  .gallery-composite-placeholder h4 span {
    font-size: clamp(9px, 1.55vw, 12px);
  }

  .gallery-composite-placeholder h4 small {
    margin-top: 2px;
    font-size: clamp(6.5px, 1.05vw, 8px);
  }

  .gallery-composite-placeholder p:last-child span,
  .gallery-composite-placeholder p:last-child small {
    font-size: clamp(4.5px, 0.85vw, 6.5px);
    line-height: 1.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .intro-photo:hover,
  .field-card:hover,
  .wide-note:hover img,
  .heritage-card:hover,
  .heritage-card.is-active,
  .heritage-card.is-active:hover {
    transform: none;
  }

  .map-pin:hover,
  .map-pin.is-active {
    transform: translate(-50%, -50%);
  }
}
