/* =========================================================
   Hero — Year Delivery Stage
   ========================================================= */
.stage-section {
  position: relative;
  min-height: max(600px, 100svh);
  background-color: var(--year-tint);
  background-image:
    radial-gradient(55% 60% at 80% 18%, color-mix(in srgb, var(--year2, #ff9ccf) 30%, transparent), transparent 70%),
    radial-gradient(45% 55% at 8% 85%, color-mix(in srgb, #9fb4ff 26%, transparent), transparent 72%),
    radial-gradient(40% 40% at 45% 55%, rgb(255 255 255 / 0.85), transparent 70%),
    linear-gradient(180deg, transparent 60%, #f7f7fb);
  transition: background-color 900ms var(--ease-out);
  overflow: hidden;
  isolation: isolate;
  display: grid;
}

.stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  touch-action: pan-y;
}

.stage-canvas.is-pointer {
  cursor: pointer;
}

.stage-ui {
  position: relative;
  z-index: 2;
  pointer-events: none;
  display: grid;
  grid-template-areas: 'copy' '.' 'hud' 'years';
  grid-template-rows: auto 1fr auto auto;
  row-gap: 14px;
  padding-top: calc(var(--header-h) + 8px);
  padding-bottom: max(18px, env(safe-area-inset-bottom));
  min-height: inherit;
}

.stage-copy {
  grid-area: copy;
}

.year-index {
  grid-area: years;
}

.stage-hud {
  grid-area: hud;
}

@media (min-width: 768px) {
  .stage-ui {
    grid-template-areas: 'copy copy' '. .' 'years hud';
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr auto;
    column-gap: 24px;
    padding-bottom: 28px;
  }

  .stage-hud {
    justify-self: end;
    justify-items: end;
    text-align: right;
  }

  .stage-caption .yr-note {
    margin-left: auto;
  }
}

@media (min-width: 1025px) {
  .stage-ui {
    grid-template-areas: 'copy .' 'years hud';
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: 1fr auto;
  }
}

.stage-ui a,
.stage-ui button {
  pointer-events: auto;
}

.stage-copy .label {
  display: flex;
  gap: 10px;
  align-items: center;
}

.stage-copy .label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--year);
  transition: background-color 600ms;
}

.display {
  margin-top: 14px;
  font-size: clamp(2.05rem, 1.2rem + 4.2vw, 6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 12ch;
}

.display em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.lead-ko {
  margin-top: 14px;
  max-width: 30ch;
  color: var(--ink-muted);
  font-size: var(--fs-lead);
  line-height: 1.6;
}

/* ---------- Year switch ---------- */
.year-index {
  display: flex;
  gap: 6px;
  align-self: end;
  align-items: flex-end;
}

.year-btn {
  position: relative;
  display: grid;
  justify-items: start;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.9);
  background: rgb(255 255 255 / 0.5);
  box-shadow: 0 8px 24px -14px rgb(60 60 140 / 0.35), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  transition: background-color var(--motion-normal) var(--ease-out), color var(--motion-normal), border-color var(--motion-normal);
}

.year-btn .num {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1;
}

.year-btn .an,
.year-btn .gz {
  display: none;
}

.year-btn[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.year-btn[aria-pressed='true'] .num {
  color: inherit;
}

/* ---------- HUD ---------- */
.stage-hud {
  display: grid;
  gap: 12px;
  align-content: end;
}

.stage-caption {
  display: grid;
  gap: 2px;
}

.stage-caption .yr {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--year);
  letter-spacing: 0.02em;
  transition: color 600ms;
}

.stage-caption .yr-head {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stage-caption .yr-note {
  font-size: 0.9rem;
  color: var(--ink-muted);
  max-width: 36ch;
}

.parcel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 50px;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--year), var(--year2, #ff9ccf));
  color: #fff;
  box-shadow: 0 14px 30px -14px var(--year), inset 0 1px 0 rgb(255 255 255 / 0.45);
  font-weight: 600;
  font-size: 0.95rem;
  width: fit-content;
  transition: transform var(--motion-fast) var(--ease-out), opacity var(--motion-normal), background-color var(--motion-normal);
}

.parcel-btn .count {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.95);
  color: var(--year);
  font-size: 0.82rem;
  transition: color 600ms;
}

.parcel-btn:hover {
  transform: translateY(-2px);
}

.hud-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.list-btn {
  display: none;
  align-items: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  .stage-section.box-open .list-btn {
    display: inline-flex;
    animation: fade-in 400ms var(--ease-out) both;
  }
}

.parcel-btn[aria-disabled='true'] {
  opacity: 0.45;
  pointer-events: none;
}

.stage-hint {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.scroll-cue {
  display: none;
}

/* ---------- 3D card tooltip (desktop) ---------- */
.card-tip {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  pointer-events: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -150%);
  transition: opacity 160ms;
}

.card-tip.is-on {
  opacity: 1;
}

/* ---------- No-WebGL fallback parcel ---------- */
.stage-fallback {
  display: none;
}

.no-webgl .stage-fallback {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.no-webgl .stage-fallback .box {
  width: clamp(120px, 22vw, 220px);
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(160deg, #d9b98c, #b88e5a);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.35);
  position: relative;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: #fff;
}

.no-webgl .stage-fallback .box::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 calc(50% - 9px);
  width: 18px;
  background: var(--year);
}

.no-webgl .stage-fallback .box span {
  position: relative;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 10px;
  border-radius: 6px;
}

/* ---------- Year drawer (opened parcel contents) ---------- */
.year-drawer {
  position: fixed;
  z-index: 45;
  inset: auto 0 0 0;
  max-height: 78svh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--bg);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, 0.25);
  padding: 10px var(--page-gutter) max(18px, env(safe-area-inset-bottom));
  transform: translateY(105%);
  visibility: hidden;
  transition: transform 520ms var(--ease-out), visibility 0s linear 520ms;
}

.year-drawer.is-open {
  transform: none;
  visibility: visible;
  transition: transform 520ms var(--ease-out);
}

.drawer-handle {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  margin: 0 auto 10px;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.drawer-head h2 .serif {
  font-size: 1.6em;
  color: var(--year);
  margin-right: 6px;
}

.drawer-head p {
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.drawer-close {
  min-width: 44px;
  min-height: 44px;
  font-size: 0.86rem;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.drawer-close:hover {
  color: var(--ink);
}

.drawer-list-wrap {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-list {
  padding-top: 8px;
}

.drawer-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(10px);
}

.year-drawer.is-open .drawer-item {
  animation: item-in 520ms var(--ease-out) forwards;
  animation-delay: calc(120ms + var(--i, 0) * 70ms);
}

.drawer-item .thumb {
  width: 72px;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #e7e5df;
  display: grid;
  place-items: center;
}

.drawer-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-item .thumb.typo {
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.drawer-item .t {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.drawer-item .d {
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.45;
  margin-top: 2px;
}

.drawer-item .go {
  font-size: 1.1rem;
}

a.drawer-item:hover .t {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.drawer-item.is-archive .go {
  font-size: 0.72rem;
  color: var(--ink-faint);
  white-space: nowrap;
}

.drawer-foot {
  padding-top: 14px;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgba(10, 10, 12, 0.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms, visibility 0s linear 400ms;
}

.drawer-scrim.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 400ms;
}

/* ---- Tablet: copy top, stage middle, drawer docks in-stage as 2-col grid ---- */
@media (min-width: 768px) {
  .stage-section {
    min-height: max(720px, 100svh);
  }

  .year-btn {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 20px;
    white-space: nowrap;
  }

  .year-btn .num {
    font-size: 1.6rem;
  }

  .year-btn .an {
    display: inline;
    font-size: 0.78rem;
    opacity: 0.75;
  }

  .year-drawer {
    position: absolute;
    inset: auto var(--page-gutter) 24px var(--page-gutter);
    border-radius: 18px;
    max-height: none;
    padding: 18px 22px 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 520ms var(--ease-out), opacity 360ms, visibility 0s linear 520ms;
  }

  .year-drawer.is-open {
    opacity: 1;
    transition: transform 520ms var(--ease-out), opacity 360ms;
  }

  .drawer-handle {
    display: none;
  }

  .drawer-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .drawer-list-wrap {
    overflow: visible;
  }

  .drawer-scrim {
    display: none;
  }

  .stage-section.drawer-open .stage-hud {
    opacity: 0;
    pointer-events: none;
  }

  .stage-hud {
    transition: opacity 300ms;
  }
}

/* ---- Laptop / desktop: full-bleed stage, copy left, year index as vertical editorial list ---- */
@media (min-width: 1025px) {
  .stage-ui {
    padding-top: calc(var(--header-h) + 3vh);
    padding-bottom: 36px;
  }

  .stage-copy {
    align-self: center;
  }

  .year-index {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
    max-width: 440px;
  }

  .year-btn {
    grid-template-columns: 6.2rem 1fr;
    align-items: baseline;
    column-gap: 14px;
    width: 100%;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
    border-radius: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    color: var(--ink-faint);
  }

  .year-btn .num {
    font-size: 2.4rem;
    grid-row: span 2;
    transition: color 400ms, transform 400ms var(--ease-out);
  }

  .year-btn .gz {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }

  .year-btn .an {
    font-size: 0.95rem;
    opacity: 1;
    font-weight: 500;
  }

  .year-btn:hover {
    color: var(--ink);
  }

  .year-btn:hover .num {
    transform: translateX(6px);
  }

  .year-btn[aria-pressed='true'] {
    background: transparent;
    color: var(--ink);
  }

  .year-btn[aria-pressed='true'] .num {
    color: var(--year);
  }

  .stage-caption .yr-note {
    margin-left: auto;
  }

  .scroll-cue {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--ink-muted);
  }

  .year-drawer {
    inset: auto var(--page-gutter) 36px auto;
    width: min(420px, 32vw);
    padding: 18px 22px 16px;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.3);
  }

  .drawer-list {
    grid-template-columns: 1fr;
  }

  .drawer-item {
    grid-template-columns: 52px 1fr auto;
    padding: 8px 0;
  }

  .drawer-item .thumb {
    width: 52px;
  }

  .drawer-item .d {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .stage-copy {
    transition: opacity 500ms var(--ease-out);
  }

  .stage-section.drawer-open .stage-copy {
    opacity: 0.18;
  }

  .stage-section.box-open .stage-copy {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 1024px) {
  .stage-copy {
    transition: opacity 400ms var(--ease-out);
  }

  .stage-section.drawer-open .stage-copy,
  .stage-section.box-open .stage-copy {
    opacity: 0;
  }
}

/* =========================================================
   Selected Works
   ========================================================= */
.works-grid {
  display: grid;
  gap: clamp(56px, 8vw, 120px) 24px;
}

.work {
  display: grid;
  gap: 18px;
  align-content: start;
}

.work-link {
  display: grid;
  gap: 18px;
}

.work .media {
  border-radius: var(--radius-sm);
}

.work .media img {
  transition: transform 420ms var(--ease-out);
}

.work-link:hover .media img,
.work-link:focus-visible .media img {
  transform: scale(1.025);
}

.work-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: baseline;
}

.work-meta .no {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--ink-muted);
  grid-row: span 3;
  line-height: 1;
}

.work-meta h3 {
  font-size: var(--fs-h3);
}

.work-meta h3 small {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0;
}

.work-meta .sum {
  font-size: 0.97rem;
  color: var(--ink);
  max-width: 40ch;
  margin-top: 6px;
}

.work-meta .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 8px;
}

.work-meta .cta {
  grid-column: 2;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  gap: 6px;
}

/* per-work media */
.work--budlo .media {
  aspect-ratio: 1920 / 815;
}

.work--budlo .media img,
.work--ovo .media img {
  object-fit: cover;
}

.work--budlo .media .logo {
  position: absolute;
  right: 5%;
  bottom: 12%;
  width: 36%;
  height: auto;
  pointer-events: none;
}

.work--ovo .media {
  aspect-ratio: 1413 / 2000;
  background: #0f0f10;
}

.work--ovo .media img {
  object-fit: contain;
}

.work--companion .media {
  aspect-ratio: 4 / 5;
  background: #c9d6fb;
}

.work--companion .media .robot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  border-radius: inherit;
}

.work--companion .media .screen {
  position: absolute;
  z-index: 2;
  left: 7%;
  bottom: 6%;
  width: 26%;
  aspect-ratio: 414 / 900;
  border-radius: clamp(14px, 1.6vw, 24px);
  overflow: hidden;
  background: #f3f4f8;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 0 0 5px rgba(255, 255, 255, 0.28),
    0 30px 50px -18px rgba(28, 30, 80, 0.55);
  transform: translateY(0) rotate(0deg);
  transition: transform 620ms var(--ease-out);
}

.work--companion .media .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work--companion .work-link:hover .media .screen,
.work--companion .work-link:focus-visible .media .screen {
  transform: translateY(-10px) rotate(2deg);
}

.work--companion .work-link:hover .media .robot,
.work--companion .work-link:focus-visible .media .robot {
  transform: scale(1.035);
}

.work--sorbit .media {
  aspect-ratio: 16 / 9;
  background: #120f2a;
}

.work--sorbit .media img {
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.work--sorbit .work-link:hover .media img,
.work--sorbit .work-link:focus-visible .media img {
  transform: scale(1.035);
}

@media (min-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .work--budlo {
    grid-column: 1 / -1;
  }

  .work--ovo {
    grid-column: 1 / span 4;
  }

  .work--companion {
    grid-column: 5 / span 4;
    margin-top: 18%;
  }

  .work--sorbit {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1025px) {
  .works-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .work--budlo {
    grid-column: 1 / -1;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
  }

  .work--budlo .work-link {
    grid-column: 1 / -1;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
  }

  .work--budlo .media {
    grid-column: 1 / span 9;
  }

  .work--budlo .work-meta {
    grid-column: 10 / span 3;
    align-self: end;
  }

  .work--ovo {
    grid-column: 1 / span 5;
  }

  .work--companion {
    grid-column: 7 / span 6;
    margin-top: 30%;
  }

  .work--sorbit {
    grid-column: 3 / span 10;
  }

  .work--sorbit .work-link {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    column-gap: 24px;
  }

  .work--sorbit .media {
    grid-column: 1 / span 7;
  }

  .work--sorbit .work-meta {
    grid-column: 8 / span 3;
    align-self: end;
  }
}

/* =========================================================
   Years archive
   ========================================================= */
.year-rows {
  border-top: 1px solid var(--line);
}

.year-row {
  display: grid;
  gap: 14px 24px;
  padding: clamp(24px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}

.year-row .yr-num {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 2rem + 5vw, 7rem);
  line-height: 0.9;
  color: var(--c);
}

.year-row .yr-id {
  display: grid;
  gap: 4px;
}

.year-row .yr-id strong {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.year-row .yr-id span {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.year-row .yr-id button {
  justify-self: start;
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.year-row ul {
  display: grid;
  gap: 2px;
}

.year-row li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.98rem;
}

.year-row li:last-child {
  border-bottom: 0;
}

.year-row li span {
  color: var(--ink-muted);
  font-size: 0.85rem;
  text-align: right;
}

.year-row li a {
  font-weight: 600;
}

.year-row li a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .year-row {
    grid-template-columns: 2fr 3fr;
    align-items: start;
  }

  .year-row .yr-head {
    display: grid;
    gap: 10px;
  }
}

@media (min-width: 1025px) {
  .year-row {
    grid-template-columns: 3fr 3fr 6fr;
  }
}

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  gap: 48px;
}

.about-lead {
  font-size: clamp(1.3rem, 1rem + 1.4vw, 2.1rem);
  line-height: 1.45;
  letter-spacing: -0.025em;
  font-weight: 500;
  max-width: 28ch;
}

.about-lead em {
  font-style: normal;
  color: var(--ink-muted);
}

.facts {
  display: grid;
  gap: 28px;
}

.facts dt {
  font-size: var(--fs-caption);
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.facts dd {
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1025px) {
  .about-grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
}

/* =========================================================
   Hero — 레퍼런스 톤: 도트 그리드, HUD, 선택 박스, 협업 커서
   ========================================================= */
.stage-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 16%, transparent) 1.1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, #000 30%, transparent 85%);
}

.stage-section::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 62% 100%, color-mix(in srgb, var(--year) 16%, transparent), transparent 70%);
  transition: background 900ms;
}

.stage-canvas.is-grab {
  cursor: grab;
}

.stage-canvas.is-grabbing {
  cursor: grabbing;
}

.has-cursor .stage-canvas.is-pointer,
.has-cursor .stage-canvas.is-grab {
  cursor: none;
}

/* 첫 진입 시 헤드라인이 아래에서 차례로 올라온다 */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }
}

.stage-copy > .label,
.stage-copy > .display,
.stage-copy > .lead-ko,
.year-index,
.stage-hud,
.hud-frame {
  animation: rise 900ms var(--ease-out) both;
}

.stage-copy > .display {
  animation-delay: 90ms;
}

.stage-copy > .lead-ko {
  animation-delay: 200ms;
}

.year-index {
  animation-delay: 320ms;
}

.stage-hud,
.hud-frame {
  animation-delay: 420ms;
}

.stage-copy {
  position: relative;
}

.sel-word {
  display: inline-block;
  position: relative;
  transition: color 300ms;
}

.sel-word.is-sel {
  color: var(--year);
}

.sel-box {
  --sel: #2f6bff;
  z-index: -1;
  opacity: 0;
  background: color-mix(in srgb, #2f6bff 6%, transparent);
  transition: transform 640ms cubic-bezier(0.65, 0, 0.25, 1), width 640ms cubic-bezier(0.65, 0, 0.25, 1),
    height 640ms cubic-bezier(0.65, 0, 0.25, 1), opacity 400ms;
}

.sel-ready .sel-box {
  opacity: 1;
}

.sel-box .sel-size {
  display: none;
}

@media (max-width: 767px) {
  .sel-box .sel-tag {
    display: none;
  }
}

.mp-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  opacity: 0;
  transition: transform 900ms cubic-bezier(0.65, 0, 0.25, 1) 80ms, opacity 400ms;
}

.sel-ready .mp-cursor {
  opacity: 1;
}

.mp-cursor svg {
  fill: var(--year);
  stroke: #fff;
  stroke-width: 1.5;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
  transition: fill 600ms;
}

.mp-cursor span {
  margin-top: 16px;
  padding: 3px 9px 4px;
  border-radius: 999px;
  background: var(--year);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  transition: background-color 600ms;
}

@media (hover: hover) and (pointer: fine) {
  .sel-word {
    pointer-events: auto;
    cursor: default;
  }
}

/* 3D 장난감 선택 박스 */
.toy-sel {
  --sel: #2f6bff;
  z-index: 3;
  opacity: 0;
  transition: opacity 180ms;
}

.toy-sel.is-on {
  opacity: 1;
}

/* HUD: 시계 광고 레퍼런스처럼 모서리에 붙는 기술 라벨 */
.hud-frame {
  display: none;
}

@media (min-width: 768px) {
  .hud-frame {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }

  .hud-tr {
    position: absolute;
    top: calc(var(--header-h) + 18px);
    right: var(--page-gutter);
    display: grid;
    justify-items: end;
    gap: 3px;
    text-align: right;
    padding: 12px 0 0 16px;
  }

  .hud-tr::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: translate(10px, -6px);
  }

  .hud-code {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 4px;
  }

  #hud-status {
    font-weight: 600;
    color: var(--year);
  }

  #hud-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
    vertical-align: 1px;
    animation: blink 1.1s steps(2, start) infinite;
  }

  #hud-status[data-phase='open']::before,
  #hud-status[data-phase='ready']::before {
    animation: none;
  }

  .barcode {
    margin-top: 8px;
    width: 92px;
    height: 20px;
    background: repeating-linear-gradient(
      90deg,
      var(--ink) 0 2px,
      transparent 2px 4px,
      var(--ink) 4px 5px,
      transparent 5px 8px,
      var(--ink) 8px 11px,
      transparent 11px 12px
    );
    opacity: 0.75;
  }

  .hud-vert {
    position: absolute;
    right: calc(var(--page-gutter) * 0.32);
    top: 50%;
    writing-mode: vertical-rl;
    transform: translateY(-50%);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    opacity: 0.7;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hud-vert {
    display: none;
  }

  .hud-tr {
    top: calc(var(--header-h) + 8px);
  }

  .hud-code {
    font-size: 1.2rem;
  }

  .stage-section.box-open .hud-frame {
    opacity: 0;
  }
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

/* =========================================================
   Works — 어두운 바탕 + 은은한 도트 그리드
   ========================================================= */
.section--dark {
  --ink: #f1f0ec;
  --ink-muted: #9b9ba3;
  --ink-faint: #6b6b72;
  --line: #2a2b30;
  position: relative;
  background-color: #0d0e11;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.09) 1px, transparent 1.3px);
  background-size: 24px 24px;
  color: var(--ink);
  border-top: 0 !important;
  padding-top: calc(var(--section-space) + 40px);
}

.section--dark + .section {
  border-top: 0;
}

.section--dark .work,
.section--dark .work-link,
.section--dark .work .media,
.section--dark .work-meta {
  min-width: 0;
}

.section--dark .work .media {
  border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  overflow: visible;
  isolation: isolate;
}

.section--dark .work .media > img {
  border-radius: inherit;
}

.section--dark .work-link:hover .media img,
.section--dark .work-link:focus-visible .media img {
  transform: none;
}

.section--dark .work-meta .no {
  color: #b9a8ff;
}

.section--dark :focus-visible {
  outline-color: #b9a8ff;
}

/* 호버하면 피그마 프레임 손잡이와 파일 이름이 나타난다 */
.frame-ui {
  position: absolute;
  inset: -1px;
  z-index: 3;
  pointer-events: none;
  border: 1.5px solid #2f6bff;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 240ms;
}

.frame-ui i {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  border: 1.5px solid #2f6bff;
}

.frame-ui i:nth-child(1) {
  left: -6px;
  top: -6px;
}

.frame-ui i:nth-child(2) {
  right: -6px;
  top: -6px;
}

.frame-ui i:nth-child(3) {
  left: -6px;
  bottom: -6px;
}

.frame-ui i:nth-child(4) {
  right: -6px;
  bottom: -6px;
}

.frame-ui b {
  position: absolute;
  left: -1.5px;
  bottom: calc(100% + 8px);
  padding: 4px 7px;
  border-radius: 3px;
  background: #2f6bff;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  white-space: nowrap;
}

.work-link:hover .frame-ui,
.work-link:focus-visible .frame-ui {
  opacity: 1;
}

/* 스티커 */
.stickers {
  position: absolute;
  z-index: 4;
  right: 4%;
  top: -14px;
  display: flex;
  gap: 6px;
  pointer-events: none;
}

.stickers > span {
  padding: 6px 12px 7px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5);
  transform: rotate(var(--r)) scale(0);
  transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.work.is-in .stickers > span {
  transform: rotate(var(--r)) scale(1);
  transition-delay: 450ms;
}

.work.is-in .stickers > span + span {
  transition-delay: 560ms;
}

.work-link:hover .stickers > span {
  transform: rotate(calc(var(--r) * -1.4)) scale(1.06) translateY(-4px);
  transition-delay: 0ms;
}

.stickers .s-lime {
  background: linear-gradient(110deg, #ffd6c6, #ffc0e2);
}

.stickers .s-blue {
  background: linear-gradient(110deg, #5b6cff, #a98bff);
  color: #fff;
}

.stickers .s-chrome {
  background: linear-gradient(135deg, #f6f7fa, #b9bdc7 45%, #f3f4f7 60%, #9da2ad);
}

/* =========================================================
   Years — 손글씨 동그라미
   ========================================================= */
.year-row .yr-num {
  position: relative;
  justify-self: start;
}

.scribble {
  position: absolute;
  left: -16%;
  top: -42%;
  width: 134%;
  height: 178%;
  overflow: visible;
  pointer-events: none;
}

.scribble path {
  fill: none;
  stroke: var(--c);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke-dashoffset 1300ms cubic-bezier(0.65, 0, 0.35, 1) 300ms;
}

.year-row.is-in .scribble path {
  stroke-dashoffset: 0;
}

.year-row {
  position: relative;
  isolation: isolate;
}

.year-row::before {
  content: '';
  position: absolute;
  inset: 0 calc(var(--page-gutter) * -1);
  z-index: -1;
  background: color-mix(in srgb, var(--c) 9%, transparent);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 500ms var(--ease-out);
}

@media (hover: hover) {
  .year-row:hover::before {
    transform: scaleY(1);
  }
}

.media .hover-loop {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: #fff;
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
  pointer-events: none;
}

.media.is-playing .hover-loop {
  opacity: 1;
}

/* =========================================================
   Footer — 회전하는 SAY HI 배지
   ========================================================= */
.site-footer .wrap {
  position: relative;
}

.say-hi {
  position: relative;
  display: grid;
  place-items: center;
  width: 128px;
  aspect-ratio: 1;
  margin-top: 40px;
  border-radius: 50%;
  color: var(--bg);
}

.say-hi svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: currentColor;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  animation: spin 22s linear infinite;
}

.say-hi .star {
  width: 40%;
  aspect-ratio: 1;
  background: linear-gradient(140deg, #ffd0bd, #c9b8ff 50%, #8fd3ff);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.say-hi:hover .star,
.say-hi:focus-visible .star {
  transform: rotate(45deg) scale(1.2);
}

.say-hi:hover svg {
  animation-duration: 6s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  .say-hi {
    position: absolute;
    right: var(--page-gutter);
    top: 0;
    width: clamp(150px, 16vw, 230px);
    margin-top: 0;
  }

  .site-footer .contact-line {
    padding-right: clamp(170px, 18vw, 250px);
  }
}

/* =========================================================
   Toolbox — 끌어서 던지는 툴 칩
   ========================================================= */
.toybox {
  margin-top: clamp(56px, 8vw, 110px);
}

.toybox-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 18px;
}

.toybox-title {
  margin: 8px 0 6px;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.toybox-sub {
  max-width: 34em;
  color: var(--muted, #6b6c75);
  font-size: 0.95rem;
  line-height: 1.6;
}

.toybox-side {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.toybox-legend {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted, #6b6c75);
}

.lg::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: 0;
}

.lg--design::before {
  background: #fff;
  box-shadow: 0 0 0 1.5px #15161a;
}

.lg--ai::before {
  background: linear-gradient(120deg, #5b6cff, #ff9fcf);
  box-shadow: 0 0 8px 1px rgba(122, 110, 255, 0.6);
}

.toybox-reset {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 500;
}

.toybox-reset:hover {
  border-color: var(--ink);
}

.toybox-field {
  position: relative;
  height: clamp(320px, 42vw, 440px);
  border-radius: 22px;
  background-color: #f1f0f7;
  background-image:
    radial-gradient(38% 60% at 18% 100%, rgba(120, 136, 255, 0.32), transparent 70%),
    radial-gradient(34% 55% at 82% 100%, rgba(255, 150, 200, 0.3), transparent 70%),
    radial-gradient(30% 40% at 55% 0%, rgba(150, 230, 255, 0.22), transparent 70%),
    radial-gradient(circle, rgba(21, 22, 26, 0.07) 1px, transparent 1.3px);
  background-size: auto, auto, auto, 20px 20px;
  overflow: hidden;
  touch-action: pan-y;
  box-shadow: inset 0 0 0 1px rgba(21, 22, 26, 0.06);
}

.chip {
  position: absolute;
  left: 0;
  top: 0;
  padding: 10px 18px 11px;
  border-radius: 999px;
  font-size: clamp(0.85rem, 0.75rem + 0.35vw, 1.05rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: grab;
  user-select: none;
  touch-action: none;
  will-change: transform;
  transition: opacity 300ms, box-shadow 200ms;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.45);
}

.chip.is-drag {
  cursor: grabbing;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.chip--design {
  background: rgba(255, 255, 255, 0.92);
  color: #15161a;
  box-shadow:
    inset 0 0 0 1.5px #15161a,
    0 8px 18px -10px rgba(21, 22, 26, 0.45);
}

.chip--ai {
  background: linear-gradient(110deg, #5b6cff, #a98bff 60%, #ff9fcf);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 0 18px -2px rgba(122, 110, 255, 0.55),
    0 8px 18px -10px rgba(60, 40, 160, 0.6);
}

.chip--design.is-drag {
  box-shadow:
    inset 0 0 0 1.5px #15161a,
    0 18px 30px -12px rgba(21, 22, 26, 0.45);
}

.chip--ai.is-drag {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 0 30px 2px rgba(122, 110, 255, 0.7),
    0 18px 30px -12px rgba(60, 40, 160, 0.6);
}

/* 툴 칩 사이에 함께 쏟아지는 그래픽 오브젝트 */
.chip.chip--obj {
  width: clamp(48px, 5.2vw, 76px);
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.chip--obj svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 10px 12px rgba(40, 36, 90, 0.2));
  transition: filter 240ms;
}

.chip.chip--obj.is-drag {
  box-shadow: none;
}

.chip--obj.is-drag svg {
  filter: drop-shadow(0 20px 20px rgba(40, 36, 90, 0.3));
}

.chip.chip--obj.o-toggle {
  width: clamp(70px, 7.4vw, 104px);
}

.chip.chip--obj.o-arch {
  width: clamp(60px, 6.4vw, 92px);
}

.chip.chip--obj.o-cursor {
  width: clamp(38px, 4vw, 56px);
}

.toybox-field.is-static {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  gap: 8px;
  padding: 16px;
  height: auto;
}

.toybox-field.is-static .chip {
  position: static;
  transform: rotate(var(--tilt));
}

@media (max-width: 767px) {
  .toybox-field {
    height: 380px;
  }

  .chip {
    padding: 8px 14px 9px;
  }
}
