@font-face {
  font-family: "Signika";
  src: url("assets/fonts/Signika-VariableFont.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f5f5;
  --ink: #121212;
  --muted: #66615f;
  --line: rgba(18, 18, 18, 0.13);
  --panel: rgba(255, 255, 255, 0.72);
  --accent: #c8102e;
  --accent-soft: rgba(200, 16, 46, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Signika", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.intro-active {
  overflow: hidden;
}

body[data-page="china"] {
  --accent: #a43125;
  --accent-soft: rgba(164, 49, 37, 0.12);
}

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

button,
a {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 245, 245, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: max-content;
}

.brand strong {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 0.95;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 30px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.lang-toggle,
.nav-toggle,
.lightbox-close {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 40px;
  border-radius: 8px;
  padding: 0 14px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 8px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.nav-toggle[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::before {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-2px) rotate(-90deg);
}

.site-main {
  padding: clamp(22px, 4vw, 58px) clamp(18px, 5vw, 64px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  min-height: min(720px, calc(82vh - 88px));
  padding-bottom: clamp(28px, 5vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(54px, 10vw, 146px);
  font-weight: 700;
  line-height: 0.88;
}

.hero-copy {
  max-width: 560px;
  margin: clamp(18px, 2vw, 28px) 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: var(--ink);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.5);
}

.hero-media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: min(64vh, 620px);
  min-height: 390px;
}

.hero-frame,
.photo-card,
.qr-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e8e8e8;
}

.hero-frame:first-child {
  grid-row: 1 / span 2;
}

.hero-frame img,
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame img {
  animation: quietZoom 7s ease-out forwards;
}

.gallery-section {
  padding: clamp(12px, 3vw, 32px) 0 clamp(70px, 9vw, 120px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 0.98;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.45;
  text-align: right;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.1vw, 14px);
}

.photo-card {
  position: relative;
  aspect-ratio: 4 / 5;
  opacity: 0;
  transform: translateY(18px);
  animation: photoIn 700ms ease forwards;
}

.photo-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.photo-button img {
  transition: transform 550ms ease, filter 550ms ease;
}

.photo-button:hover img,
.photo-button:focus-visible img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.055);
}

.photo-button:focus-visible,
.lang-toggle:focus-visible,
.nav-toggle:focus-visible,
.lightbox-close:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
}

.social-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 220px));
  justify-content: center;
  gap: clamp(18px, 4vw, 42px);
  padding: 0 0 clamp(64px, 8vw, 108px);
}

.qr-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
}

.qr-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 28px clamp(18px, 5vw, 64px) 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.site-footer p {
  margin: 10px 0 0;
  line-height: 1.5;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #080808;
  color: #fff;
  cursor: pointer;
}

.site-intro::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #fff;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.site-intro.is-hiding {
  pointer-events: none;
  animation: introLeave 700ms cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

.site-intro.is-shot::after {
  animation: shutterFlash 520ms ease-out forwards;
}

.intro-strip {
  position: absolute;
  inset: 10vh -10vw;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  opacity: 0.38;
  transform: rotate(-4deg) scale(1.08);
  animation: stripDrift 1700ms ease-out forwards;
}

.intro-strip img {
  width: 100%;
  height: 100%;
  min-height: 76vh;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.12);
}

.intro-mark {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 0 24px;
  text-align: center;
  transform: translateY(18px);
  opacity: 0;
  animation: markIn 850ms ease forwards 180ms;
}

.intro-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(14px, 2vw, 20px);
  text-transform: uppercase;
}

.intro-mark .typewriter {
  font-size: clamp(48px, 9vw, 132px);
  font-weight: 700;
  line-height: 0.9;
}

.typewriter {
  display: inline-block;
  max-width: calc(100vw - 36px);
  overflow: hidden;
  white-space: nowrap;
  border-right: 0.055em solid currentColor;
  clip-path: inset(0 100% 0 0);
  animation: typeReveal 1350ms steps(var(--type-steps, 18), end) forwards 260ms,
    caretBlink 760ms step-end infinite;
}

.intro-camera-entry {
  position: relative;
  isolation: isolate;
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(410px, calc(100vw - 40px));
  margin-top: clamp(20px, 3.2vw, 38px);
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.intro-camera-caption {
  max-width: min(390px, calc(100vw - 42px));
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 650;
  line-height: 1.28;
  text-wrap: balance;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.62);
  animation: shutterHintFloat 2.8s ease-in-out infinite;
}

.intro-camera-body {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(184px, 19vw, 268px);
  aspect-ratio: 1.55 / 1;
  border-radius: clamp(22px, 3vw, 32px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.26),
    inset 0 -24px 56px rgba(255, 255, 255, 0.035),
    0 24px 84px rgba(0, 0, 0, 0.48);
  overflow: visible;
  backdrop-filter: blur(16px);
  transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.intro-camera-body::before {
  position: absolute;
  top: -11%;
  left: 18%;
  width: 25%;
  height: 20%;
  border-radius: 16px 16px 5px 5px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  content: "";
}

.intro-camera-body::after {
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: inherit;
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.intro-camera-icon {
  position: relative;
  z-index: 1;
  width: 78%;
  height: auto;
  fill: none;
  stroke: rgba(255, 255, 255, 0.86);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.1;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.36));
}

.intro-camera-glint {
  position: absolute;
  right: 20%;
  top: 22%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.5);
  opacity: 0.82;
}

.intro-camera-click {
  min-height: 22px;
  color: rgba(255, 255, 255, 0);
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 750;
  line-height: 1;
  transform: translateY(-10px);
}

.intro-camera-entry:hover .intro-camera-body,
.intro-camera-entry:focus-visible .intro-camera-body {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.075));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    inset 0 -24px 56px rgba(255, 255, 255, 0.05),
    0 30px 96px rgba(0, 0, 0, 0.56);
  transform: translateY(-3px) scale(1.02);
}

.intro-camera-entry:focus-visible {
  outline: 0;
}

.intro-camera-entry:focus-visible .intro-camera-body {
  outline: 3px solid rgba(255, 255, 255, 0.24);
  outline-offset: 13px;
}

.site-intro.is-shot .intro-camera-body {
  animation: cameraPress 520ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.site-intro.is-shot .intro-camera-icon {
  animation: cameraLineSnap 520ms ease-out forwards;
}

.site-intro.is-shot .intro-camera-click {
  animation: clickWord 520ms ease-out forwards;
}

.site-intro.is-shot .intro-camera-glint {
  animation: cameraGlint 520ms ease-out forwards;
}

/* legacy shutter classes kept harmless for older cached markup */
.intro-shutter {
  position: relative;
  isolation: isolate;
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: min(320px, calc(100vw - 40px));
  margin-top: clamp(18px, 3vw, 34px);
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.intro-shutter-hint {
  max-width: min(360px, calc(100vw - 42px));
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 650;
  line-height: 1.28;
  text-wrap: balance;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.58);
  animation: shutterHintFloat 2.5s ease-in-out infinite;
}

.intro-shutter-button {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(82px, 9vw, 112px);
  height: clamp(82px, 9vw, 112px);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.06) 38%, rgba(255, 255, 255, 0.14) 39%, rgba(255, 255, 255, 0.04) 69%);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.28), inset 0 0 0 10px rgba(255, 255, 255, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.intro-shutter-button::before,
.intro-shutter-button::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.intro-shutter-button::before {
  inset: -11px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-top-color: rgba(255, 255, 255, 0.7);
  border-left-color: rgba(255, 255, 255, 0.08);
  animation: shutterOrbit 5.5s linear infinite;
}

.intro-shutter-button::after {
  inset: 18%;
  border: 1px dashed rgba(255, 255, 255, 0.28);
}

.intro-shutter-core {
  position: relative;
  display: block;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 5px, rgba(255, 255, 255, 0.22) 6px 10px, rgba(255, 255, 255, 0.08) 11px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 0 24px rgba(255, 255, 255, 0.2);
}

.intro-shutter-core::before,
.intro-shutter-core::after {
  position: absolute;
  inset: 50%;
  width: 128%;
  height: 1px;
  background: rgba(255, 255, 255, 0.38);
  content: "";
  transform: translate(-50%, -50%);
}

.intro-shutter-core::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.intro-shutter-click {
  min-height: 20px;
  color: rgba(255, 255, 255, 0);
  font-size: clamp(15px, 1.7vw, 22px);
  font-weight: 700;
  letter-spacing: 0;
  transform: translateY(-8px);
}

.intro-shutter:hover .intro-shutter-button,
.intro-shutter:focus-visible .intro-shutter-button {
  box-shadow: 0 26px 82px rgba(0, 0, 0, 0.56), inset 0 0 0 1px rgba(255, 255, 255, 0.46), inset 0 0 0 10px rgba(255, 255, 255, 0.08);
  transform: scale(1.045);
}

.intro-shutter:focus-visible {
  outline: 0;
}

.intro-shutter:focus-visible .intro-shutter-button {
  outline: 3px solid rgba(255, 255, 255, 0.26);
  outline-offset: 12px;
}

.site-intro.is-shot .intro-shutter-button {
  animation: shutterPress 520ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.site-intro.is-shot .intro-shutter-core {
  animation: apertureSnap 520ms ease-out forwards;
}

.site-intro.is-shot .intro-shutter-click {
  animation: clickWord 520ms ease-out forwards;
}

/* legacy entrance classes kept harmless for older cached markup */
.intro-enter {
  position: relative;
  isolation: isolate;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: clamp(168px, 20vw, 230px);
  min-height: 56px;
  margin-top: clamp(18px, 3vw, 34px);
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 0 16px 0 26px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 20px 70px rgba(0, 0, 0, 0.34);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.intro-enter::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.16));
  content: "";
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.intro-enter::after {
  position: absolute;
  inset: -140% -40%;
  background: linear-gradient(110deg, transparent 36%, rgba(255, 255, 255, 0.22) 49%, transparent 62%);
  content: "";
  pointer-events: none;
  transform: translateX(-70%);
  animation: enterSweep 3.1s ease-in-out infinite;
}

.intro-enter [data-enter-label] {
  position: relative;
  z-index: 1;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 650;
  line-height: 1;
}

.intro-enter-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  transition: transform 260ms ease, border-color 180ms ease, background 180ms ease;
}

.intro-enter-mark::before {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  content: "";
}

.intro-enter-mark::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: translateX(-1px) rotate(45deg);
}

.intro-enter:hover,
.intro-enter:focus-visible {
  background: rgba(255, 255, 255, 0.17);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 24px 80px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

.intro-enter:hover .intro-enter-mark,
.intro-enter:focus-visible .intro-enter-mark {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(45deg);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 38px);
  background: rgba(0, 0, 0, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 1400px);
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 30px;
  line-height: 1;
}

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

@keyframes quietZoom {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1);
  }
}

@keyframes stripDrift {
  from {
    transform: rotate(-5deg) scale(1.16) translateX(-3vw);
  }
  to {
    transform: rotate(-4deg) scale(1.08) translateX(2vw);
  }
}

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

@keyframes typeReveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes caretBlink {
  50% {
    border-color: transparent;
  }
}

@keyframes enterSweep {
  0%,
  42% {
    transform: translateX(-72%);
  }
  68%,
  100% {
    transform: translateX(72%);
  }
}

@keyframes shutterHintFloat {
  0%,
  100% {
    opacity: 0.82;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-7px);
  }
}

@keyframes shutterOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shutterFlash {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 0.78;
  }
  100% {
    opacity: 0;
  }
}

@keyframes shutterPress {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(0.78);
  }
  68% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes cameraPress {
  0% {
    transform: translateY(0) scale(1);
  }
  34% {
    transform: translateY(4px) scale(0.96);
  }
  70% {
    transform: translateY(-2px) scale(1.018);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes cameraLineSnap {
  0% {
    stroke: rgba(255, 255, 255, 0.86);
    transform: scale(1);
  }
  34% {
    stroke: rgba(255, 255, 255, 1);
    transform: scale(0.985);
  }
  100% {
    stroke: rgba(255, 255, 255, 0.86);
    transform: scale(1);
  }
}

@keyframes cameraGlint {
  0% {
    opacity: 0.82;
    transform: scale(1);
  }
  24% {
    opacity: 1;
    transform: scale(2.8);
  }
  100% {
    opacity: 0;
    transform: scale(0.7);
  }
}

@keyframes apertureSnap {
  0% {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 0 24px rgba(255, 255, 255, 0.2);
    transform: scale(1) rotate(0deg);
  }
  42% {
    box-shadow: inset 0 0 0 18px rgba(12, 12, 12, 0.86), 0 0 34px rgba(255, 255, 255, 0.45);
    transform: scale(0.74) rotate(35deg);
  }
  100% {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 0 24px rgba(255, 255, 255, 0.2);
    transform: scale(1) rotate(0deg);
  }
}

@keyframes clickWord {
  0% {
    color: rgba(255, 255, 255, 0);
    opacity: 0;
    transform: translateY(-8px) scale(0.92);
  }
  35% {
    color: rgba(255, 255, 255, 0.96);
    opacity: 1;
    transform: translateY(-18px) scale(1.02);
  }
  100% {
    color: rgba(255, 255, 255, 0);
    opacity: 0;
    transform: translateY(-30px) scale(1.08);
  }
}

@keyframes introLeave {
  to {
    clip-path: inset(0 0 100% 0);
    opacity: 0.96;
  }
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  min-height: min(760px, calc(86vh - 88px));
  padding-bottom: clamp(56px, 8vw, 110px);
}

.about-portrait {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e8e8e8;
  box-shadow: var(--shadow);
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-copy h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(50px, 8vw, 118px);
  font-weight: 700;
  line-height: 0.9;
}

.about-copy .lead {
  max-width: 720px;
  margin: clamp(18px, 3vw, 30px) 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.36;
}

.about-body {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-top: 28px;
  color: #302d2b;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.72;
}

.about-body p {
  margin: 0;
}

.about-contact {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 30px;
}

.about-contact a,
.contact-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.5);
  transition: border-color 180ms ease, background 180ms ease;
}

.about-contact a:hover,
.about-contact a:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.contact-chip {
  color: var(--muted);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    height: min(54vh, 560px);
  }

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

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

  .about-portrait {
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    padding-block: 16px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 40px;
    font-size: 22px;
  }

  .site-nav a::after {
    right: auto;
    width: 54px;
  }

  .lang-toggle {
    width: 100%;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 10px;
    text-align: left;
  }

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

@media (min-width: 761px) and (max-width: 900px) {
  .section-head {
    display: flex;
  }

  .section-head p {
    margin-top: 0;
    text-align: right;
  }

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

@media (max-width: 520px) {
  .hero {
    gap: 24px;
    padding-bottom: 34px;
  }

  .hero h1 {
    max-width: 8ch;
  }

  .hero-media {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 180px);
    height: auto;
    min-height: 0;
  }

  .hero-frame:first-child {
    grid-row: auto;
  }

  .photo-grid,
  .social-section {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    grid-template-columns: repeat(3, 42vw);
    inset: 12vh -18vw;
  }

  .intro-mark .typewriter {
    font-size: clamp(38px, 14vw, 74px);
  }

  .intro-camera-caption {
    max-width: min(280px, calc(100vw - 42px));
  }

  .intro-camera-entry {
    gap: 12px;
  }

  .intro-camera-body {
    width: min(206px, 66vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
