@charset "UTF-8";

:root {
  --paper: #f3f0e9;
  --ink: #11110f;
  --line: rgba(17, 17, 15, .22);
  --gap: clamp(12px, 1.65vw, 28px);
  --page: min(1220px, calc(100vw - 56px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.lightbox-open { overflow: hidden; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  height: 58px;
  padding: 0 max(18px, env(safe-area-inset-left)) 0 max(18px, env(safe-area-inset-right));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 233, .9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}
.brand { justify-self: start; }
.frame-total { justify-self: center; }
.audio-toggle {
  justify-self: end;
  min-height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(17,17,15,.28);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  cursor: pointer;
}
.audio-toggle:focus-visible,
.photo:focus-visible,
.audio-notice:focus-visible,
.lightbox button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.audio-bars {
  width: 15px;
  height: 13px;
  display: inline-flex;
  align-items: end;
  justify-content: center;
  gap: 2px;
}
.audio-bars i {
  width: 2px;
  height: 5px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  transform-origin: bottom;
}
.audio-toggle.is-playing .audio-bars i:nth-child(1) { animation: soundbar .72s ease-in-out infinite alternate; }
.audio-toggle.is-playing .audio-bars i:nth-child(2) { animation: soundbar .5s .12s ease-in-out infinite alternate; }
.audio-toggle.is-playing .audio-bars i:nth-child(3) { animation: soundbar .65s .2s ease-in-out infinite alternate; }
.audio-toggle:not(.is-playing) .audio-bars i { height: 2px; animation: none; }
@keyframes soundbar { from { transform: scaleY(.5); } to { transform: scaleY(2.2); } }

main { padding: clamp(14px, 2.2vw, 34px); }

.comparison {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}
.photo {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #d9d5cc;
  cursor: zoom-in;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}
.photo:hover img { transform: scale(1.015); }
.compare-photo { aspect-ratio: 16 / 9; }
.compare-bw img { object-position: center 47%; filter: contrast(1.02); }
.compare-color img { object-position: center 41%; }
.comparison-line {
  height: clamp(52px, 6vw, 78px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(17,17,15,.67);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .28em;
}
.comparison-line::before,
.comparison-line::after {
  content: "";
  width: clamp(34px, 5vw, 72px);
  height: 1px;
  margin: 0 16px;
  background: var(--line);
}
.index {
  position: absolute;
  left: 11px;
  bottom: 11px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(243, 240, 233, .91);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}

.breath {
  height: clamp(170px, 25vw, 360px);
  display: grid;
  place-items: center;
  font-size: clamp(10px, .9vw, 13px);
  font-weight: 600;
  letter-spacing: .34em;
}

.editorial-grid {
  width: min(1320px, calc(100vw - 56px));
  min-height: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .76fr .26fr .95fr;
  grid-template-rows: 240px 520px 310px;
  gap: var(--gap);
  align-items: stretch;
}
.triptych {
  grid-column: 1;
  grid-row: 1 / 4;
}
.triptych img { object-position: center center; }
.hand {
  grid-column: 3;
  grid-row: 1;
  width: 49%;
  justify-self: end;
  aspect-ratio: 1 / 1;
}
.hand img { object-position: center 40%; }
.window {
  grid-column: 2 / 4;
  grid-row: 2;
}
.window img { object-position: center 48%; }
.closeup {
  grid-column: 2 / 4;
  grid-row: 3;
  width: 58%;
  justify-self: center;
  aspect-ratio: 1 / 1;
}
.closeup img { object-position: center 43%; }

footer {
  width: min(1320px, calc(100vw - 56px));
  height: 120px;
  margin: 0 auto;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  display: flex;
  align-items: end;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}
footer a { font-size: 18px; line-height: 1; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1);
}
.reveal.visible { opacity: 1; transform: none; }

.audio-notice {
  position: fixed;
  z-index: 45;
  left: 50%;
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
  transform: translateX(-50%);
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(17,17,15,.92);
  box-shadow: 0 8px 26px rgba(0,0,0,.2);
  font-size: 12px;
  letter-spacing: .06em;
  cursor: pointer;
}
.audio-notice[hidden] { display: none; }

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 28px clamp(14px, 4vw, 60px);
  overflow: hidden;
  border: 0;
  color: #fff;
  background: rgba(10, 10, 9, .97);
}
.lightbox::backdrop { background: rgba(10, 10, 9, .86); }
.lightbox[open] {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
}
.lightbox figure {
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 14px;
}
.lightbox figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.lightbox figcaption {
  font-size: 9px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.72);
}
.lightbox-close,
.lightbox-nav {
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.lightbox-close {
  position: fixed;
  z-index: 3;
  top: max(12px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  width: 42px;
  height: 42px;
  font-size: 30px;
  font-weight: 300;
}
.lightbox-nav {
  width: 48px;
  height: 48px;
  font-size: 24px;
  opacity: .72;
}
.lightbox-nav:hover { opacity: 1; }

@media (max-width: 760px) {
  :root { --gap: 10px; --page: calc(100vw - 20px); }
  .topbar {
    height: 50px;
    padding-left: max(11px, env(safe-area-inset-left));
    padding-right: max(11px, env(safe-area-inset-right));
    grid-template-columns: 1fr auto;
    font-size: 9px;
  }
  .frame-total { display: none; }
  .audio-toggle { min-height: 32px; padding: 0 9px; font-size: 8px; }
  main { padding: 10px; }
  .compare-photo { aspect-ratio: 4 / 3; }
  .compare-bw img { object-position: center 50%; }
  .compare-color img { object-position: center 42%; }
  .comparison-line { height: 48px; font-size: 8px; }
  .breath { height: 150px; font-size: 9px; }
  .editorial-grid {
    width: 100%;
    min-height: 0;
    grid-template-columns: .78fr 1.22fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
  }
  .triptych {
    grid-column: 1;
    grid-row: 1 / 3;
    aspect-ratio: 832 / 1800;
  }
  .hand {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    aspect-ratio: 1 / 1;
  }
  .window {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 1 / 1;
  }
  .closeup {
    grid-column: 1 / 3;
    grid-row: 3;
    width: 72%;
    justify-self: end;
    margin-top: 54px;
    aspect-ratio: 1 / 1;
  }
  .index {
    left: 7px;
    bottom: 7px;
    width: 26px;
    height: 26px;
    font-size: 8px;
  }
  footer { width: 100%; height: 92px; }
  .lightbox { padding: 50px 8px 18px; }
  .lightbox[open] { grid-template-columns: 34px minmax(0, 1fr) 34px; }
  .lightbox-nav { width: 32px; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo img, .reveal { transition: none; }
  .reveal { opacity: 1; transform: none; }
  .audio-toggle.is-playing .audio-bars i { animation: none; }
}
