:root {
  --ink: #10130f;
  --ink-soft: #242820;
  --paper: #eceae3;
  --paper-bright: #f7f5ef;
  --paper-deep: #dfddd5;
  --muted: #7d7d72;
  --muted-dark: #565b50;
  --line: rgba(16, 19, 15, 0.13);
  --lime: #d8f279;
  --lime-deep: #a9c74b;
  --orange: #e28457;
  --blue: #7999aa;
  --pink: #c78f95;
  --sage: #9caa7e;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --shadow: 0 22px 60px rgba(22, 23, 18, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--lime-deep);
  outline-offset: 4px;
}

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

.ambient {
  position: fixed;
  z-index: -1;
  width: 540px;
  height: 540px;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.15;
}

.ambient--one {
  top: -180px;
  right: -120px;
  background: #cced7c;
}

.ambient--two {
  bottom: 2%;
  left: 12%;
  background: #e2b39a;
  opacity: 0.09;
}

.app-shell {
  display: grid;
  grid-template-columns: 254px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 34px 25px 27px;
  border-right: 1px solid var(--line);
  background: rgba(236, 234, 227, 0.84);
  backdrop-filter: blur(12px);
}

.brand,
.mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.brand__name em,
.mobile-brand em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.brand__mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.brand__mark::before,
.brand__mark::after {
  position: absolute;
  width: 2px;
  height: 160%;
  content: "";
  background: var(--ink);
}

.brand__mark::after {
  width: 160%;
  height: 2px;
}

.brand__mark span {
  position: relative;
  z-index: 1;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 2px var(--ink);
}

.brand__mark span:not(:first-child) {
  display: none;
}

.sidebar__intro {
  max-width: 165px;
  margin-top: 94px;
}

.eyebrow,
.section-kicker,
.topbar__location,
.topbar__date,
.stats-row__aside,
.stat-item__label,
.room-link__count,
.side-nav__count,
.hero__meta-item span,
.hero__meta-item strong,
.piece-card__room,
.piece-card__number,
.piece-card__preserved,
.piece-card__footer,
.modal__close,
.tour-topline,
.tour-room-label,
.form-heading .section-kicker,
.field > span,
.site-footer__year {
  font-family: var(--mono);
}

.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.sidebar__intro p {
  margin: 15px 0 0;
  color: var(--muted-dark);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
}

.sidebar__group {
  margin-top: 49px;
}

.side-nav {
  display: grid;
  gap: 6px;
  margin-top: 17px;
}

.side-nav__item,
.room-link {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.side-nav__item:hover,
.room-link:hover {
  background: rgba(16, 19, 15, 0.055);
  transform: translateX(2px);
}

.side-nav__item.is-active {
  background: var(--ink);
  color: var(--paper-bright);
}

.side-nav__icon {
  position: relative;
  display: inline-block;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  opacity: 0.77;
}

.side-nav__icon--grid::before,
.side-nav__icon--grid::after {
  position: absolute;
  inset: 1px;
  content: "";
  border: 1px solid currentColor;
}

.side-nav__icon--grid::after {
  inset: 5px 1px;
  border-width: 1px 0;
}

.side-nav__icon--frame {
  border: 1px solid currentColor;
}

.side-nav__icon--frame::after {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 5px;
  height: 5px;
  content: "";
  border: 1px solid currentColor;
  border-radius: 50%;
}

.side-nav__icon--circle {
  border: 1px solid currentColor;
  border-radius: 50%;
}

.side-nav__icon--circle::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: currentColor;
}

.side-nav__icon--line::before,
.side-nav__icon--line::after {
  position: absolute;
  top: 7px;
  left: 1px;
  width: 13px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: rotate(-27deg);
}

.side-nav__icon--line::after {
  top: 4px;
  left: 8px;
  width: 5px;
  transform: rotate(27deg);
}

.side-nav__count {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
}

.side-nav__item.is-active .side-nav__count {
  color: var(--lime);
}

.sidebar__rooms {
  margin-top: 43px;
}

.sidebar__rooms .room-link {
  padding-right: 3px;
  padding-left: 2px;
  color: var(--muted-dark);
  font-size: 11px;
}

.room-link.is-selected {
  color: var(--ink);
  font-weight: 700;
}

.room-link__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.room-link__dot--sage { background: var(--sage); }
.room-link__dot--orange { background: var(--orange); }
.room-link__dot--blue { background: var(--blue); }
.room-link__dot--pink { background: var(--pink); }

.room-link__count {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
}

.sidebar__footer {
  margin-top: auto;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.live-mark {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.live-mark i,
.sync-pill i,
.status-dot,
.form-footer__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime-deep);
  box-shadow: 0 0 0 3px rgba(169, 199, 75, 0.17);
}

.sidebar__footer p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.storage-status {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.storage-status .live-mark b {
  font-weight: 500;
}

.storage-status small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.45;
}

[data-storage-status="connecting"] i {
  animation: storage-pulse 1.2s ease-in-out infinite;
}

[data-storage-status="signin"] i {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(226, 132, 87, 0.17);
}

[data-storage-status="offline"] i {
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(199, 143, 149, 0.18);
}

@keyframes storage-pulse {
  50% { opacity: 0.35; transform: scale(0.78); }
}

.main-content {
  min-width: 0;
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 clamp(25px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.mobile-brand {
  display: none;
}

.topbar__location {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.topbar__pin {
  display: inline-block;
  width: 6px;
  height: 6px;
  border: 1px solid var(--muted);
  border-radius: 50%;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 23px;
}

.sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 245, 239, 0.5);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
  white-space: nowrap;
}

.sync-pill i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
}

.pack-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 245, 239, 0.5);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
  white-space: nowrap;
  transition: border 180ms ease, background 180ms ease, transform 180ms ease;
}

.pack-pill:hover {
  border-color: var(--ink);
  background: var(--lime);
  transform: translateY(-1px);
}

.archive-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 13px;
  height: 12px;
}

.archive-icon i {
  position: absolute;
  right: 0;
  left: 0;
  height: 5px;
  border: 1px solid currentColor;
  background: transparent;
}

.archive-icon i:nth-child(1) { top: 0; }
.archive-icon i:nth-child(2) { top: 3px; }
.archive-icon i:nth-child(3) { top: 6px; }

.archive-icon--button {
  width: 18px;
  height: 17px;
}

.archive-icon--button i {
  height: 7px;
}

.archive-icon--button i:nth-child(2) { top: 5px; }
.archive-icon--button i:nth-child(3) { top: 10px; }

.topbar__date {
  color: var(--muted);
  font-size: 9px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, border 180ms ease, transform 180ms ease;
}

.icon-button:hover {
  border-color: var(--ink);
  background: var(--lime);
  transform: rotate(8deg);
}

.play-icon,
.button__play {
  position: relative;
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
}

.topbar__add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.topbar__add span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.topbar__add:hover span {
  background: var(--lime);
  transform: rotate(90deg);
}

button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.hero,
.collection-section,
.rooms-section,
.timeline-section,
.site-footer,
.stats-row {
  width: min(100%, 1430px);
  margin-right: auto;
  margin-left: auto;
  padding-right: clamp(25px, 5vw, 76px);
  padding-left: clamp(25px, 5vw, 76px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: clamp(45px, 8vw, 130px);
  min-height: 563px;
  padding-top: 71px;
  padding-bottom: 68px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.section-kicker > span:first-child {
  color: var(--ink);
}

.section-kicker__line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--ink);
  opacity: 0.48;
}

.hero h1 {
  max-width: 650px;
  margin: 43px 0 25px;
  font-family: var(--serif);
  font-size: clamp(51px, 6vw, 83px);
  font-weight: 500;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

h1 i,
h2 i {
  font-weight: 500;
}

.hero__description {
  margin: 0;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 35px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 47px;
  padding: 0 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, background 180ms ease, border 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--ink);
  color: var(--paper-bright);
}

.button--primary:hover {
  background: #272d24;
}

.button--primary b {
  color: var(--lime);
  font-size: 16px;
  font-weight: 400;
}

.button--text {
  gap: 9px;
  padding-right: 0;
  padding-left: 0;
  background: transparent;
  color: var(--muted-dark);
  font-weight: 500;
}

.button--text:hover {
  color: var(--ink);
}

.button__play {
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.button__play span {
  position: absolute;
  top: 5px;
  left: 7px;
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 4px solid currentColor;
}

.hero__meta {
  display: flex;
  gap: 29px;
  margin-top: 76px;
}

.hero__meta-item {
  display: grid;
  gap: 7px;
}

.hero__meta-item span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.hero__meta-item strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hero__meta-item .status-dot {
  width: 5px;
  height: 5px;
  box-shadow: none;
}

.hero__art {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  isolation: isolate;
  background: #b9c1aa;
}

.hero__art::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(140deg, #d9dbcb 0%, #aebca3 48%, #728a72 100%);
  opacity: 0.88;
}

.hero__art::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 35%, rgba(16,19,15,0.16));
}

.hero__art-label {
  position: absolute;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  width: calc(100% - 38px);
  color: rgba(16, 19, 15, 0.63);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.hero__art-label--top {
  top: 19px;
  left: 20px;
}

.hero__art-label--bottom {
  bottom: 18px;
  left: 20px;
}

.hero__art-note {
  position: absolute;
  z-index: 4;
  right: 21px;
  bottom: 43px;
  color: rgba(247, 245, 239, 0.76);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  line-height: 1.3;
  text-align: right;
}

.hero__planet {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(27vw, 285px);
  height: min(27vw, 285px);
  border: 1px solid rgba(247, 245, 239, 0.74);
  border-radius: 50%;
  background: radial-gradient(circle at 28% 24%, #eef1dc 0%, #ced9b8 19%, #879b78 56%, #53675b 100%);
  box-shadow: inset -28px -28px 40px rgba(45, 68, 50, 0.35), 16px 27px 44px rgba(38, 62, 44, 0.27);
  transform: translate(-50%, -50%);
  animation: float-planet 8s ease-in-out infinite;
}

.hero__planet::before,
.hero__planet::after {
  position: absolute;
  top: 50%;
  left: -15%;
  width: 130%;
  height: 27%;
  content: "";
  border: 1px solid rgba(244, 247, 223, 0.48);
  border-radius: 50%;
  transform: rotate(-21deg);
}

.hero__planet::after {
  left: -28%;
  width: 156%;
  height: 49%;
  opacity: 0.38;
  transform: rotate(32deg);
}

.hero__planet-shine {
  position: absolute;
  top: 15%;
  left: 16%;
  width: 21%;
  height: 16%;
  border-radius: 50%;
  background: rgba(255, 255, 234, 0.39);
  filter: blur(10px);
}

.hero__planet-grid {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, transparent 0 19px, rgba(242, 246, 218, 0.09) 20px 21px), repeating-linear-gradient(0deg, transparent 0 19px, rgba(242, 246, 218, 0.08) 20px 21px);
  opacity: 0.8;
  transform: rotate(-14deg);
}

.hero__planet-dot {
  position: absolute;
  z-index: 2;
  width: 7px;
  height: 7px;
  border: 1px solid var(--paper-bright);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 15px rgba(216, 242, 121, 0.7);
}

.hero__planet-dot--one { top: 25%; left: 63%; }
.hero__planet-dot--two { top: 57%; left: 25%; width: 4px; height: 4px; }
.hero__planet-dot--three { top: 73%; left: 68%; width: 5px; height: 5px; background: var(--orange); }

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 105%;
  height: 35%;
  border: 1px solid rgba(243, 246, 222, 0.62);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-23deg);
}

.orbit--two {
  width: 120%;
  height: 65%;
  opacity: 0.34;
  transform: translate(-50%, -50%) rotate(28deg);
}

.orbit--three {
  width: 59%;
  height: 107%;
  opacity: 0.25;
  transform: translate(-50%, -50%) rotate(45deg);
}

@keyframes float-planet {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(0deg); }
  50% { transform: translate(-50%, -50%) translateY(-7px) rotate(2deg); }
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr)) 1.65fr;
  align-items: center;
  min-height: 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.stat-item__number {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.06em;
}

.stat-item__label {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.stats-row__aside {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.stats-row__aside b {
  color: var(--ink);
  font-weight: 500;
}

.stats-row__pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.collection-section {
  padding-top: 106px;
  padding-bottom: 125px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.section-heading h2,
.timeline-intro h2,
.form-heading h2 {
  margin: 25px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 63px);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.circle-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 21px;
  font-weight: 300;
  transition: background 180ms ease, transform 180ms ease;
}

.circle-link:hover {
  background: var(--lime);
  transform: rotate(45deg);
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 52px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.filter-tabs {
  display: flex;
  gap: 25px;
}

.filter-tab {
  position: relative;
  padding: 0 0 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  transition: color 180ms ease;
}

.filter-tab::after {
  position: absolute;
  right: 0;
  bottom: -17px;
  left: 0;
  height: 2px;
  content: "";
  background: transparent;
}

.filter-tab:hover,
.filter-tab.is-active {
  color: var(--ink);
}

.filter-tab.is-active::after {
  background: var(--ink);
}

.filter-tab span {
  margin-left: 3px;
  color: var(--muted);
  font-size: 8px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 190px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}

.search-box__icon {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 1px solid var(--muted);
  border-radius: 50%;
}

.search-box__icon::after {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 5px;
  height: 1px;
  content: "";
  background: var(--muted);
  transform: rotate(45deg);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
}

.search-box input::placeholder {
  color: var(--muted);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 17px;
  margin-top: 32px;
}

.piece-card {
  min-width: 0;
  animation: card-in 420ms both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.piece-card__visual {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.14 / 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--paper-deep);
  cursor: pointer;
}

.piece-card__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 58%, rgba(16, 19, 15, 0.25));
  transition: opacity 260ms ease;
}

.piece-card__visual:hover::after {
  opacity: 0.55;
}

.piece-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 600ms ease;
}

.piece-card__visual:hover img {
  filter: saturate(1.07);
  transform: scale(1.045);
}

.piece-card__abstract {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.piece-card__abstract--fallback {
  opacity: 0;
  transition: opacity 180ms ease;
}

.piece-card__abstract::before,
.piece-card__abstract::after {
  position: absolute;
  content: "";
}

.art-0 { background: linear-gradient(145deg, #d9d7c9, #aab89e 57%, #6c7f68); }
.art-0::before { top: 17%; left: 19%; width: 55%; height: 55%; border: 1px solid rgba(255,255,255,0.65); border-radius: 50%; box-shadow: 34px 20px 0 -18px rgba(216,242,121,0.68); }
.art-0::after { right: 10%; bottom: 16%; width: 53%; height: 1px; background: rgba(255,255,255,0.65); transform: rotate(-28deg); }
.art-1 { background: linear-gradient(138deg, #dcbda9, #b17f65 45%, #423f37); }
.art-1::before { top: -12%; left: 47%; width: 1px; height: 135%; background: rgba(255,244,212,0.8); transform: rotate(36deg); box-shadow: 24px 0 0 rgba(255,244,212,0.2); }
.art-1::after { right: 16%; bottom: 16%; width: 38%; height: 38%; border: 1px solid rgba(255,242,210,0.65); transform: rotate(12deg); }
.art-2 { background: linear-gradient(155deg, #e2e5d9, #8fa7ab 60%, #526b72); }
.art-2::before { top: 22%; left: 25%; width: 50%; height: 50%; border: 1px solid rgba(240,247,235,0.72); border-radius: 50%; box-shadow: inset -15px -12px 0 rgba(61,87,92,0.26); }
.art-2::after { top: 45%; left: -9%; width: 120%; height: 1px; background: rgba(240,247,235,0.55); transform: rotate(-18deg); }
.art-3 { background: linear-gradient(135deg, #d3d1c8, #a99488 48%, #585d64); }
.art-3::before { top: 13%; right: 16%; width: 55%; height: 72%; border: 1px solid rgba(255,249,238,0.7); transform: rotate(-8deg); }
.art-3::after { top: 31%; left: 23%; width: 29%; height: 29%; border-radius: 50%; background: rgba(216,242,121,0.74); box-shadow: 22px 25px 0 -10px rgba(255,255,255,0.48); }
.art-4 { background: linear-gradient(150deg, #d6d7bb, #a9ae7b 53%, #7f6b59); }
.art-4::before { top: 24%; left: 16%; width: 69%; height: 1px; background: rgba(250,251,222,0.74); transform: rotate(48deg); box-shadow: 0 15px 0 rgba(250,251,222,0.28), 0 30px 0 rgba(250,251,222,0.2); }
.art-4::after { right: 22%; bottom: 22%; width: 28%; height: 28%; border: 1px solid rgba(250,251,222,0.6); border-radius: 50%; }
.art-5 { background: linear-gradient(145deg, #e4d9d2, #c49491 49%, #674c59); }
.art-5::before { top: 19%; left: 21%; width: 58%; height: 58%; border: 1px solid rgba(255,244,237,0.72); border-radius: 50%; }
.art-5::after { bottom: 25%; left: -4%; width: 108%; height: 1px; background: rgba(255,244,237,0.64); transform: rotate(26deg); }

.piece-card__number,
.piece-card__room,
.piece-card__arrow {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 244, 0.84);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.piece-card__preserved {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 39px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 244, 0.52);
  border-radius: 999px;
  background: rgba(16, 19, 15, 0.36);
  color: rgba(255, 255, 244, 0.88);
  font-size: 7px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(5px);
}

.piece-card__number {
  top: 16px;
  left: 17px;
}

.piece-card__room {
  right: 16px;
  bottom: 15px;
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.piece-card__arrow {
  top: 14px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(255,255,244,0.65);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 13px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.piece-card__visual:hover .piece-card__arrow {
  background: var(--lime);
  color: var(--ink);
  transform: rotate(45deg);
}

.piece-card__info {
  padding: 14px 2px 0;
}

.piece-card__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 13px;
}

.piece-card__info h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.piece-card__star {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.piece-card__star:hover,
.piece-card__star.is-starred {
  color: var(--orange);
  transform: scale(1.15);
}

.piece-card__note {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 0;
  color: var(--muted-dark);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.piece-card__footer {
  display: flex;
  justify-content: space-between;
  margin-top: 17px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 42px 20px;
  text-align: center;
}

.empty-state__orb {
  display: block;
  width: 50px;
  height: 50px;
  margin-bottom: 21px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 11px 9px 0 rgba(16, 19, 15, 0.09);
}

.empty-state h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.empty-state p {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 12px;
}

.rooms-section {
  padding-bottom: 130px;
}

.section-heading--rooms {
  align-items: flex-end;
}

.section-heading__aside {
  margin: 0 0 2px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 49px;
}

.room-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 288px;
  padding: 19px;
  overflow: hidden;
  border: 1px solid rgba(16, 19, 15, 0.1);
  cursor: pointer;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.room-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.room-card__number {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 9px;
}

.room-card__orb {
  position: absolute;
  top: 51px;
  left: 50%;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  transform: translateX(-50%);
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.room-card:hover .room-card__orb {
  transform: translateX(-50%) scale(1.14) rotate(12deg);
}

.room-card__orb::before,
.room-card__orb::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
}

.room-card__orb::before { inset: 14px -17px; transform: rotate(35deg); }
.room-card__orb::after { inset: 29px -27px; transform: rotate(-28deg); opacity: 0.6; }

.room-card__bottom {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.room-card__count {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.room-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.room-card p {
  max-width: 150px;
  margin: 8px 0 0;
  font-size: 10px;
  line-height: 1.5;
  opacity: 0.74;
}

.room-card__open {
  position: absolute;
  right: 17px;
  bottom: 19px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 15px;
  transition: transform 180ms ease;
}

.room-card:hover .room-card__open {
  transform: rotate(45deg);
}

.room-card--quiet { background: #bdc5ae; }
.room-card--spark { background: #d9a180; }
.room-card--elsewhere { background: #a8bdc3; }
.room-card--self { background: #d2abb0; }

.timeline-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 11vw, 160px);
  padding-top: 95px;
  padding-bottom: 119px;
  border-top: 1px solid var(--line);
}

.timeline-intro h2 {
  margin-top: 27px;
  font-size: clamp(34px, 4vw, 55px);
}

.timeline-intro p {
  margin: 24px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
}

.timeline-list {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 91px 13px minmax(0, 1fr);
  gap: 17px;
  align-items: start;
  min-height: 89px;
  padding: 21px 0 17px;
  border-bottom: 1px solid var(--line);
}

.timeline-item__date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.timeline-item__dot {
  position: relative;
  display: block;
  width: 9px;
  height: 9px;
  margin-top: 2px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
}

.timeline-item__dot::after {
  position: absolute;
  top: 8px;
  left: 3px;
  width: 1px;
  height: 67px;
  content: "";
  background: var(--line);
}

.timeline-item:last-child .timeline-item__dot::after {
  display: none;
}

.timeline-item__meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.brand__mark--small {
  width: 18px;
  height: 18px;
}

.site-footer p {
  margin: 0;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0;
}

.modal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(12, 15, 11, 0.57);
  backdrop-filter: blur(13px);
  animation: fade-in 180ms ease both;
}

.modal-backdrop[hidden] {
  display: none;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  position: relative;
  width: min(100%, 850px);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  background: var(--paper-bright);
  box-shadow: 0 30px 100px rgba(0,0,0,0.23);
  animation: modal-in 270ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 21px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(16,19,15,0.28);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  transition: background 180ms ease, transform 180ms ease;
}

.modal__close:hover {
  background: var(--lime);
  transform: rotate(90deg);
}

.detail-layout {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  min-height: 510px;
}

.detail__visual {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background: var(--paper-deep);
}

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

.detail__visual .piece-card__abstract {
  position: absolute;
}

.detail__visual-meta {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,244,0.75);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.detail__copy {
  display: flex;
  flex-direction: column;
  padding: 61px 54px 45px;
}

.detail__room {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.detail__preserved {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}

.detail__preserved i {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime-deep);
  box-shadow: 0 0 0 3px rgba(169, 199, 75, 0.16);
}

.detail__preserved.is-stale i {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(226, 132, 87, 0.16);
}

.detail__copy h2 {
  margin: 21px 0 0;
  font-family: var(--serif);
  font-size: clamp(37px, 4vw, 57px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.detail__note {
  margin: 31px 0 0;
  color: var(--muted-dark);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
}

.detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.detail__tags span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 8px;
}

.detail__quote {
  margin: 28px 0 0;
  padding: 15px 0 15px 15px;
  border-left: 2px solid var(--lime-deep);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
}

.detail__context {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail__context summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  color: var(--muted-dark);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
  list-style: none;
}

.detail__context summary::-webkit-details-marker {
  display: none;
}

.detail__context summary::after {
  content: "+";
  margin-left: auto;
  color: var(--ink);
  font-size: 13px;
}

.detail__context[open] summary::after {
  content: "−";
}

.detail__context summary span {
  color: var(--muted);
}

.detail__context p {
  max-height: 240px;
  margin: 0 0 16px;
  overflow-y: auto;
  color: var(--muted-dark);
  font-size: 11px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.detail__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 35px;
  border-top: 1px solid var(--line);
}

.detail__source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail__source:hover {
  color: var(--ink);
}

.detail__date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.detail__actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 20px;
}

.detail__edit,
.detail__remove {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail__edit:hover { color: var(--ink); }
.detail__remove:hover { color: var(--orange); }

.modal--form {
  padding: 55px 57px 44px;
}

.form-heading {
  max-width: 520px;
}

.form-heading h2 {
  margin-top: 22px;
  font-size: clamp(37px, 4vw, 54px);
}

.form-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
}

.exhibit-form {
  display: grid;
  gap: 17px;
  margin-top: 42px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.field {
  display: grid;
  gap: 9px;
}

.field > span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.field > span b {
  color: var(--orange);
  font-weight: 500;
}

.field > span em {
  margin-left: 5px;
  color: #a8a9a0;
  font-style: normal;
  font-size: 7px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  transition: border 180ms ease;
}

.field textarea {
  min-height: 77px;
  resize: vertical;
  line-height: 1.6;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a5a49b;
}

.field small {
  color: #94958b;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.55;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 9px) 17px, calc(100% - 5px) 17px;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.form-footer p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}

.form-footer__dot {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  box-shadow: none;
}

.modal--pack {
  width: min(100%, 940px);
}

.pack-layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  min-height: 590px;
}

.pack-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 16%, rgba(216, 242, 121, 0.29), transparent 34%),
    radial-gradient(circle at 77% 80%, rgba(226, 132, 87, 0.2), transparent 38%),
    #111510;
  color: var(--paper-bright);
}

.pack-art::before,
.pack-art::after {
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(247, 245, 239, 0.14);
  border-radius: 50%;
  content: "";
}

.pack-art::after {
  width: 190px;
  height: 190px;
  border-color: rgba(216, 242, 121, 0.22);
}

.pack-art__label,
.pack-art__meta {
  position: absolute;
  right: 24px;
  left: 24px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.pack-art__label { top: 24px; }
.pack-art__meta { bottom: 24px; color: rgba(247, 245, 239, 0.58); }

.pack-art__folder {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 154px;
  height: 124px;
  border: 1px solid rgba(247, 245, 239, 0.7);
  background: rgba(247, 245, 239, 0.055);
  box-shadow: 15px 16px 0 rgba(216, 242, 121, 0.13);
}

.pack-art__folder i {
  position: absolute;
  top: -17px;
  left: -1px;
  width: 58px;
  height: 17px;
  border: 1px solid rgba(247, 245, 239, 0.7);
  border-bottom: 0;
}

.pack-art__folder b {
  font-family: var(--serif);
  font-size: 50px;
  font-weight: 500;
  letter-spacing: -0.07em;
}

.pack-art__folder small {
  position: absolute;
  right: 11px;
  bottom: 9px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
}

.pack-copy {
  display: flex;
  flex-direction: column;
  padding: 55px 54px 44px;
}

.pack-copy h2 {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.pack-copy > p {
  margin: 21px 0 0;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.72;
}

.pack-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 27px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pack-counts span {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: var(--paper-bright);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.pack-counts b {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.pack-list {
  display: grid;
  gap: 9px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.pack-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted-dark);
  font-size: 10px;
}

.pack-list li span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.pack-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.pack-footer p {
  max-width: 180px;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.5;
}

.modal-backdrop--tour {
  background: #10130f;
}

.tour-modal {
  position: relative;
  width: min(100%, 1050px);
  color: var(--paper-bright);
}

.tour-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: rgba(247,245,239,0.55);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.modal__close--light {
  top: -13px;
  right: 0;
  border-color: rgba(247,245,239,0.35);
  color: var(--paper-bright);
}

.modal__close--light:hover {
  color: var(--ink);
}

.tour-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(59vh, 550px);
  overflow: hidden;
  background: #262c24;
}

.tour-stage .piece-card__abstract,
.tour-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at center, transparent 30%, rgba(16,19,15,0.32));
  pointer-events: none;
}

.tour-controls {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 45px;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
}

.tour-arrow {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(247,245,239,0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--paper-bright);
  cursor: pointer;
  font-size: 19px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.tour-arrow:hover {
  background: var(--lime);
  color: var(--ink);
  transform: scale(1.06);
}

.tour-arrow:last-child {
  justify-self: end;
}

.tour-caption span {
  color: rgba(247,245,239,0.5);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.tour-caption h2 {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: clamp(31px, 4vw, 49px);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 100;
  max-width: min(310px, calc(100vw - 50px));
  padding: 12px 15px;
  border: 1px solid rgba(16,19,15,0.16);
  background: var(--ink);
  color: var(--paper-bright);
  box-shadow: var(--shadow);
  font-family: var(--mono);
  font-size: 9px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 211px minmax(0, 1fr);
  }

  .sidebar {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.85fr);
    gap: 43px;
  }

  .hero__planet {
    width: 230px;
    height: 230px;
  }

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

@media (max-width: 820px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: relative;
    display: block;
    height: auto;
    padding: 21px 25px 17px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand,
  .sidebar__intro,
  .sidebar__footer {
    display: none;
  }

  .sidebar__group {
    margin: 0;
  }

  .sidebar__group > .eyebrow,
  .sidebar__rooms {
    display: none;
  }

  .side-nav {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    margin: 0;
  }

  .side-nav__item {
    justify-content: center;
    padding: 8px;
  }

  .side-nav__item span:nth-child(2) {
    font-size: 10px;
  }

  .side-nav__count {
    display: none;
  }

  .topbar {
    height: 73px;
    padding-right: 25px;
    padding-left: 25px;
  }

  .mobile-brand {
    display: inline-flex;
  }

  .topbar__location {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 59px;
  }

  .hero__art {
    min-height: 430px;
  }

  .hero__planet {
    width: min(46vw, 285px);
    height: min(46vw, 285px);
  }

  .stats-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .stats-row__aside {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 8px;
  }

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

  .timeline-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pack-layout {
    grid-template-columns: 0.65fr 1.35fr;
  }

  .pack-copy {
    padding-right: 38px;
    padding-left: 38px;
  }
}

@media (max-width: 560px) {
  .topbar__actions {
    gap: 12px;
  }

  .sync-pill {
    justify-content: center;
    width: 31px;
    height: 31px;
    padding: 0;
  }

  .sync-pill span {
    display: none;
  }

  .pack-pill {
    justify-content: center;
    width: 31px;
    height: 31px;
    padding: 0;
  }

  .pack-pill > span:last-child {
    display: none;
  }

  .topbar__date,
  .icon-button {
    display: none;
  }

  .topbar__add {
    font-size: 9px;
  }

  .hero,
  .collection-section,
  .rooms-section,
  .timeline-section,
  .site-footer,
  .stats-row {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero h1 {
    margin-top: 34px;
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero__description br {
    display: none;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .hero__meta {
    flex-wrap: wrap;
    gap: 17px 21px;
    margin-top: 47px;
  }

  .hero__art {
    min-height: 340px;
  }

  .hero__planet {
    width: 190px;
    height: 190px;
  }

  .collection-section,
  .rooms-section {
    padding-top: 76px;
    padding-bottom: 85px;
  }

  .section-heading h2,
  .timeline-intro h2 {
    font-size: 43px;
  }

  .section-heading__aside {
    display: none;
  }

  .collection-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-top: 39px;
  }

  .filter-tabs {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .search-box {
    width: 100%;
  }

  .collection-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .piece-card__visual {
    aspect-ratio: 1.28 / 1;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .room-card {
    min-height: 240px;
  }

  .timeline-section {
    padding-top: 76px;
    padding-bottom: 83px;
  }

  .timeline-item {
    grid-template-columns: 72px 12px minmax(0, 1fr);
    gap: 10px;
  }

  .timeline-item h3 {
    font-size: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .modal-backdrop {
    padding: 0;
  }

  .modal {
    width: 100%;
    max-height: 100vh;
  }

  .detail-layout {
    display: block;
  }

  .detail__visual {
    min-height: 330px;
  }

  .detail__copy {
    min-height: 370px;
    padding: 43px 24px 31px;
  }

  .modal--form {
    min-height: 100vh;
    padding: 45px 24px 28px;
  }

  .modal--pack {
    min-height: 100vh;
  }

  .pack-layout {
    display: block;
  }

  .pack-art {
    min-height: 215px;
  }

  .pack-art::before {
    width: 230px;
    height: 230px;
  }

  .pack-art__folder {
    width: 118px;
    height: 91px;
  }

  .pack-art__folder b {
    font-size: 38px;
  }

  .pack-copy {
    padding: 39px 24px 29px;
  }

  .pack-copy h2 {
    font-size: 42px;
  }

  .pack-counts span {
    padding: 10px 8px;
  }

  .pack-footer {
    align-items: stretch;
    flex-direction: column;
    margin-top: 28px;
  }

  .pack-footer p {
    max-width: none;
  }

  .pack-footer .button {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-footer .button {
    width: 100%;
  }

  .tour-modal {
    width: 100%;
    padding: 0 20px;
  }

  .tour-stage {
    min-height: 55vh;
  }

  .modal__close--light {
    top: -38px;
    right: 20px;
  }
}
