@font-face {
  font-family: "pixelfontmain";
  src: url("DNFBitBitv2.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #f5f1e8;
  --paper: #fffdf6;
  --ink: #151515;
  --muted: #68655e;
  --line: #151515;
  --accent: #d84f39;
  --blue: #2f7f9a;
  --green: #4f875b;
  --gold: #efc94c;
  --soft-line: rgba(21, 21, 21, 0.22);
  --shadow: 2px 2px 0 rgba(21, 21, 21, 0.34);
  --page: min(1040px, calc(100% - 36px));
  --font-main: "pixelfontmain", system-ui, sans-serif;
  --header-bg: #f7cea3;
  --header-card-bg: #fcf4e8;
  --header-tab-bg: #f0d6c9;
  --header-tab-active-bg: #efb193;
  --header-button-shade: #d3a899;
  --header-button-active-shade: #ca8571;
  --header-button-text: #c76152;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0;
  image-rendering: pixelated;
}

button,
a {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3,
strong {
  font-weight: 600;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 10px clamp(10px, 2vw, 20px);
  border-bottom: 1px solid var(--soft-line);
  background: var(--header-bg);
}

.top-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  gap: 8px;
  width: min(720px, 100%);
  padding: 8px;
  border: 2px solid var(--header-tab-active-bg);
  border-radius: 16px;
  background: var(--header-card-bg);
  overflow: hidden;
}

.top-tabs::before {
  position: absolute;
  top: 6px;
  bottom: 10px;
  left: var(--nav-left, 8px);
  z-index: 0;
  box-sizing: border-box;
  width: calc((100% - 32px) / 3);
  border: 0;
  border-radius: 14px;
  background: var(--header-tab-active-bg);
  box-shadow: inset 0 -6px 0 var(--header-button-active-shade);
  content: "";
  animation: nav-slide-in 260ms cubic-bezier(0.22, 0.82, 0.2, 1) both;
  transition: left 460ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-button {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 42px auto;
  gap: 5px;
  align-items: center;
  justify-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 70px;
  padding: 7px 8px 8px;
  border: 0;
  border-radius: 14px;
  background: var(--header-tab-bg);
  box-shadow: inset 0 -6px 0 var(--header-button-shade);
  color: var(--header-button-text);
  line-height: 1;
  transition:
    transform 140ms cubic-bezier(0.22, 0.82, 0.2, 1),
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

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

.tab-button:not([aria-current="page"]):hover {
  background: #f5dfd3;
  box-shadow: inset 0 -4px 0 var(--header-button-shade);
  transform: translateY(-3px);
}

.tab-button[aria-current="page"]:hover {
  transform: translateY(-1px);
}

.tab-button:active {
  transform: translateY(1px);
}

.top-tabs.is-nav-traveling .tab-button {
  background: transparent;
  box-shadow: none;
}

.top-tabs.is-nav-traveling .tab-button[aria-current="page"].is-leaving {
  color: var(--header-button-text);
}

.top-tabs.is-nav-traveling .tab-button.is-pending {
  color: var(--ink);
}

.tab-button.is-active,
.tab-button[aria-current="page"] {
  background: transparent;
  color: var(--header-button-text);
  box-shadow: none;
}

.page-main {
  --nav-left: 8px;
}

.page-pixelart {
  --nav-left: calc(16px + (100% - 32px) / 3);
}

.page-project {
  --nav-left: calc(24px + (100% - 32px) / 3 + (100% - 32px) / 3);
}

body.page-project {
  --bg: #fef3f4;
  background: var(--bg);
}

.page-pixelart .page-shell {
  width: 100%;
  padding-top: 0;
}

.main-page {
  width: 100%;
  min-height: calc(100vh - 104px);
}

html.nav-enter-left .main-page {
  animation: page-new-left 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

html.nav-enter-right .main-page {
  animation: page-new-right 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.tab-icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 42px;
}

.tab-icon img {
  max-width: 86px;
  max-height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
}

.tab-label {
  width: 100%;
  overflow-wrap: anywhere;
  font-size: 0.72rem;
  text-align: center;
  transform: translateY(-2px);
}

.page-shell {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px) 0 64px;
  opacity: 1;
  transform: translateX(0);
  will-change: transform, opacity;
}

html.nav-enter-left .page-shell {
  animation: page-new-left 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

html.nav-enter-right .page-shell {
  animation: page-new-right 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.main-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 104px);
  padding: clamp(42px, 8vw, 96px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  text-align: center;
  background: var(--bg);
}

.main-hero::before,
.main-hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.main-hero::before {
  z-index: -2;
  background: url("개인작/image5.png") center / cover no-repeat;
  image-rendering: pixelated;
  opacity: 0.42;
  transform: scale(1.02);
  -webkit-mask-image:
    radial-gradient(circle at center, #000 0 44%, rgba(0, 0, 0, 0.64) 62%, transparent 88%),
    linear-gradient(transparent 0, #000 18%, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(circle at center, #000 0 44%, rgba(0, 0, 0, 0.64) 62%, transparent 88%),
    linear-gradient(transparent 0, #000 18%, #000 70%, transparent 100%);
  mask-composite: intersect;
}

.main-hero::after {
  z-index: -1;
  background: rgba(245, 241, 232, 0.28);
}

.hero-copy {
  display: grid;
  justify-items: center;
  width: min(760px, 100%);
  padding: 0;
  border: 0;
  color: var(--ink);
}

.eyebrow,
.section-label,
.work-label,
.project-meta,
.link-placeholder {
  margin: 0;
  color: var(--accent);
  font-size: 0.68rem;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 10px 0 16px;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
  line-height: 1;
}

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

.hero-summary {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
}

.hero-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-actions {
  margin-top: 28px;
  justify-content: center;
}

.social-links {
  margin-top: 14px;
  justify-content: center;
}

.hero-link,
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 2px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  line-height: 1;
  text-align: center;
  box-shadow: inset 0 -5px 0 #ded8c9;
  transition:
    transform 120ms steps(1, end),
    background 120ms steps(1, end),
    color 120ms steps(1, end),
    box-shadow 120ms steps(1, end);
}

.hero-link {
  min-width: 116px;
  padding: 10px 14px 12px;
  font-size: 0.76rem;
}

.hero-link.is-primary {
  background: var(--accent);
  color: var(--paper);
  box-shadow: inset 0 -5px 0 #9f3425;
}

.social-link {
  min-width: 72px;
  padding: 8px 10px 10px;
  font-size: 0.66rem;
}

.hero-link:hover,
.social-link:hover {
  background: #fff9df;
  color: var(--ink);
  transform: translateY(-2px);
}

.hero-link.is-primary:hover {
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 -5px 0 #44413b;
}

.social-link.is-placeholder {
  color: var(--muted);
  cursor: default;
  opacity: 0.74;
}

.social-link.is-placeholder:hover {
  background: var(--paper);
  color: var(--muted);
  transform: none;
}

.feature-art,
.art-card,
.client-art,
.event-art,
.landing-card,
.project-card {
  display: grid;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 80ms steps(1, end), outline-color 80ms steps(1, end);
}

.feature-art:hover,
.art-card:hover,
.client-art:hover,
.event-art:hover,
.landing-card:hover,
.project-card:hover {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  transform: translate(-1px, -1px);
}

.feature-art img {
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
  image-rendering: pixelated;
}

.main-page .feature-art {
  overflow: hidden;
  border-width: 2px;
  background:
    linear-gradient(135deg, rgba(47, 127, 154, 0.22), rgba(79, 135, 91, 0.16)),
    #151515;
  box-shadow: 7px 7px 0 rgba(21, 21, 21, 0.24);
}

.main-page .feature-art img {
  height: clamp(340px, 62vh, 660px);
  max-height: none;
  padding: clamp(10px, 2vw, 20px);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.landing-card {
  grid-template-columns: minmax(120px, 0.32fr) 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.landing-card span {
  grid-column: 1 / -1;
  color: var(--accent);
  font-size: 0.78rem;
}

.landing-card img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  image-rendering: pixelated;
}

.landing-card strong {
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  line-height: 1.2;
}

.page-title {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.page-title h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: 1;
}

.page-title p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.work-section {
  padding: clamp(34px, 6vw, 68px) 0 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 3rem);
  line-height: 1;
}

.art-stack,
.client-stack,
.event-stack {
  display: grid;
  gap: 14px;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.art-card {
  overflow: hidden;
  grid-column: span 4;
  min-height: 130px;
}

.art-card.wide {
  grid-column: span 8;
}

.art-card.full {
  grid-column: span 12;
}

.art-card.slim {
  grid-column: span 3;
}

.art-card img,
.client-art img,
.event-art img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: contain;
  image-rendering: pixelated;
}

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

.client-art {
  min-height: 170px;
  padding: 8px;
}

.client-art.wide {
  grid-column: 1 / -1;
}

.effect-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

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

.project-list {
  display: grid;
  gap: clamp(18px, 4vw, 38px);
}

.project-card {
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
  gap: 0;
  overflow: hidden;
  border-width: 2px;
  background: var(--paper);
  box-shadow: 6px 6px 0 rgba(21, 21, 21, 0.2);
}

.project-shot {
  display: grid;
  place-items: center;
  min-height: clamp(300px, 32vw, 390px);
  border-right: 2px solid var(--line);
  background: #151515;
}

.project-shot img {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  image-rendering: pixelated;
}

.project-shot-gallery {
  grid-template-rows: minmax(230px, 1fr) auto;
  align-content: stretch;
  padding: 0;
}

.project-main-shot,
.project-thumb {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.project-main-shot {
  width: 100%;
  min-height: clamp(230px, 27vw, 330px);
  border-bottom: 2px solid var(--line);
  background: #151515;
}

.project-main-shot img {
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 12px;
  object-fit: contain;
}

.project-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  border-bottom: 0;
  background: #151515;
}

.project-thumb {
  aspect-ratio: 16 / 9;
  border-right: 1px solid var(--line);
  background: #151515;
}

.project-thumb:last-child {
  border-right: 0;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 8px;
  object-fit: contain;
}

.project-main-shot:hover,
.project-thumb:hover {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.project-shot-gallery.is-cinematic .project-main-shot img {
  padding: 0;
  object-fit: cover;
  image-rendering: auto;
}

.project-shot-gallery.is-cinematic .project-thumb {
  aspect-ratio: 16 / 9;
}

.project-shot-gallery.is-cinematic .project-thumb img {
  padding: 0;
  object-fit: cover;
  image-rendering: auto;
}

.project-shot-gallery.is-chip .project-main-shot,
.project-shot-gallery.is-chip .project-thumb {
  background:
    linear-gradient(135deg, rgba(239, 201, 76, 0.18), rgba(79, 135, 91, 0.1)),
    #fffdf6;
}

.project-shot-gallery.is-chip .project-main-shot img {
  width: auto;
  max-width: 76%;
  padding: 18px;
}

.project-placeholder {
  width: min(82%, 420px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  background: rgba(255, 253, 246, 0.74);
  color: var(--muted);
  text-align: center;
}

.project-info {
  display: grid;
  align-content: space-between;
  gap: clamp(16px, 2.8vw, 30px);
  min-height: clamp(300px, 32vw, 390px);
  padding: clamp(18px, 3.2vw, 36px);
  background: var(--paper);
}

.project-info h2 {
  margin: 8px 0 14px;
  font-size: clamp(1.85rem, 4.2vw, 3.65rem);
  line-height: 0.98;
}

.project-info p {
  margin-bottom: 0;
  color: var(--muted);
}

.project-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 14px;
}

.project-details div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--soft-line);
  background: #f5f1e8;
}

.project-details dt {
  color: var(--accent);
  font-size: 0.64rem;
  line-height: 1.25;
}

.project-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.72rem;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.link-placeholder {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: #f5f1e8;
  color: var(--muted);
  text-transform: none;
}

.haru-project-zone {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin: clamp(18px, 4vw, 44px) 0 clamp(18px, 4vw, 44px) calc(50% - 50vw);
  padding:
    clamp(78px, 10vw, 142px)
    max(clamp(18px, 5vw, 72px), calc((100vw - 1040px) / 2 + 18px));
  overflow: hidden;
  background: var(--bg);
}

.haru-project-zone::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: clamp(430px, 42vw, 680px);
  background: url("하루/Library_Hero.png") center top / cover no-repeat;
  content: "";
  image-rendering: auto;
  opacity: 1;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(transparent 0, #000 7%, #000 64%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(transparent 0, #000 7%, #000 64%, transparent 100%);
  mask-composite: intersect;
}

.haru-project-zone::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(254, 243, 244, 0.05) 12%, transparent 50%, rgba(254, 243, 244, 0.06) 88%, var(--bg) 100%),
    linear-gradient(180deg, rgba(254, 243, 244, 0.08) 0%, rgba(254, 243, 244, 0.04) 30%, var(--bg) 58%, var(--bg) 100%);
  content: "";
  pointer-events: none;
}

.haru-project-zone > .haru-feature-card {
  position: relative;
  z-index: 2;
}

.haru-feature-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-width: 2px;
  background: var(--paper);
  box-shadow: 6px 6px 0 rgba(21, 21, 21, 0.2);
}

.haru-feature-card::before {
  content: none;
}

.haru-feature-card::after {
  content: none;
}

.haru-feature-card > * {
  position: relative;
  z-index: 1;
}

.haru-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: end;
  padding: clamp(18px, 3.2vw, 36px);
  background: var(--paper);
}

.haru-logo,
.haru-screen-card {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  background: rgba(255, 253, 246, 0.88);
}

.haru-media-section {
  display: grid;
  gap: 0;
  width: 100%;
  margin: 0;
  background: #151515;
}

.haru-trailer {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: 0;
  border-bottom: 2px solid var(--line);
  background: #151515;
  box-shadow: none;
  image-rendering: auto;
}

.haru-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-bottom: 2px solid var(--line);
  background: #151515;
}

.haru-screen-card {
  aspect-ratio: 16 / 9;
  border: 0;
  border-right: 1px solid var(--line);
  background: #151515;
  box-shadow: none;
}

.haru-screen-card:last-child {
  border-right: 0;
}

.haru-logo img,
.haru-screen-card img {
  width: 100%;
  height: 100%;
  image-rendering: auto;
}

.haru-logo img {
  object-fit: contain;
}

.haru-screen-card img {
  object-fit: cover;
}

.haru-copy-panel {
  display: grid;
  gap: 12px;
  max-width: 690px;
  min-width: 0;
  padding: 0;
}

.haru-copy-panel h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4.6vw, 4.25rem);
  line-height: 0.98;
}

.haru-logo {
  width: min(360px, 100%);
  aspect-ratio: 1365 / 768;
  background: rgba(21, 21, 21, 0.78);
}

.haru-logo img {
  padding: 10px;
}

.haru-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.haru-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 9px 8px;
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.9);
  color: var(--accent);
  font-size: 0.66rem;
  line-height: 1;
}

.haru-logo:hover,
.haru-screen-card:hover {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.haru-logo:hover {
  transform: translate(-1px, -1px);
}

.haru-feature-copy {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  line-height: 1.65;
}

.haru-detail-grid {
  display: grid;
  align-self: stretch;
  grid-template-columns: 1fr;
  align-content: end;
  gap: 6px;
  margin: 0;
}

.haru-detail-grid div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--soft-line);
  background: #f5f1e8;
}

.haru-detail-grid dt {
  color: var(--accent);
  font-size: 0.64rem;
  line-height: 1.25;
}

.haru-detail-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.72rem;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.haru-steam-link {
  background: var(--ink);
  color: var(--paper);
}

.rumen-project-zone {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin: clamp(18px, 4vw, 44px) 0 clamp(18px, 4vw, 44px) calc(50% - 50vw);
  padding:
    clamp(74px, 9vw, 132px)
    max(clamp(18px, 5vw, 72px), calc((100vw - 1040px) / 2 + 18px));
  overflow: hidden;
  background: var(--bg);
}

.rumen-project-zone::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: clamp(430px, 43vw, 680px);
  background: url("Rumen/image1.png") center / cover no-repeat;
  content: "";
  image-rendering: pixelated;
  opacity: 0.92;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(transparent 0, #000 9%, #000 66%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(transparent 0, #000 9%, #000 66%, transparent 100%);
  mask-composite: intersect;
}

.rumen-project-zone::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(254, 243, 244, 0.18) 12%, transparent 50%, rgba(254, 243, 244, 0.18) 88%, var(--bg) 100%),
    linear-gradient(180deg, rgba(254, 243, 244, 0.06) 0%, rgba(254, 243, 244, 0.02) 38%, var(--bg) 76%, var(--bg) 100%);
  content: "";
  pointer-events: none;
}

.rumen-project-zone > .rumen-project-card {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  margin: 0 auto;
}

.rumen-project-card {
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
  border-width: 2px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 6px 0 rgba(21, 21, 21, 0.2);
}

.rumen-project-card:hover {
  outline-color: var(--accent);
}

.rumen-visuals {
  display: grid;
  gap: 0;
  min-width: 0;
  border-right: 2px solid var(--line);
  background: #151515;
}

.rumen-hero,
.rumen-thumb {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.rumen-hero {
  aspect-ratio: 1726 / 822;
  border-bottom: 2px solid var(--line);
}

.rumen-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.rumen-gallery {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 0.7fr 1.35fr 0.85fr;
  min-height: 132px;
  background: #151515;
}

.rumen-thumb {
  aspect-ratio: 16 / 9;
  border-right: 1px solid var(--line);
}

.rumen-thumb:last-child {
  border-right: 0;
}

.rumen-thumb img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  image-rendering: pixelated;
}

.rumen-character {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 219, 132, 0.18), transparent 42%),
    #151515;
}

.rumen-character img {
  padding: 0;
  object-fit: contain;
}

.rumen-info {
  background: var(--paper);
}

.rumen-info h2 {
  color: var(--ink);
}

.rumen-info .project-meta {
  color: var(--accent);
}

.rumen-info p {
  color: var(--muted);
}

.rumen-info .project-details div {
  border-color: var(--soft-line);
  background: #f5f1e8;
}

.rumen-info .project-details dt {
  color: var(--accent);
}

.rumen-info .link-placeholder {
  border-color: var(--line);
  background: #f5f1e8;
  color: var(--muted);
}

.viewer {
  width: min(1100px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.viewer::backdrop {
  background: rgba(21, 21, 21, 0.64);
}

.viewer img {
  width: 100%;
  max-height: calc(100vh - 36px);
  object-fit: contain;
  image-rendering: pixelated;
}

.viewer-close {
  position: fixed;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
}

.pixelart-page {
  width: 100%;
}

.pixelart-page .page-title {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: clamp(330px, 35vw, 672px);
  align-content: end;
  margin-bottom: 0;
  padding:
    clamp(92px, 14vw, 180px)
    max(18px, calc((100% - 1040px) / 2))
    clamp(44px, 7vw, 82px);
  overflow: hidden;
}

.pixelart-page .page-title::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(245, 241, 232, 0.72) 0%, rgba(245, 241, 232, 0.26) 42%, rgba(245, 241, 232, 0.04) 100%),
    url("background-pixelart-title.png") center top / cover no-repeat;
  content: "";
  opacity: 1;
  image-rendering: pixelated;
  -webkit-mask-image:
    linear-gradient(#fff, #fff),
    url("DITHERING.png");
  -webkit-mask-position:
    center top,
    center bottom;
  -webkit-mask-repeat:
    no-repeat,
    repeat-x;
  -webkit-mask-size:
    100% max(0px, calc(100% - 529px)),
    538px 539px;
  -webkit-mask-mode: luminance;
  mask-image:
    linear-gradient(#fff, #fff),
    url("DITHERING.png");
  mask-mode: luminance;
  mask-position:
    center top,
    center bottom;
  mask-repeat:
    no-repeat,
    repeat-x;
  mask-size:
    100% max(0px, calc(100% - 529px)),
    538px 539px;
}

.pixelart-page .page-title::after {
  content: none;
}

.pixelart-page .page-title > * {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.section-jump {
  position: sticky;
  top: 112px;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: min(620px, 100%);
  margin: 0 auto clamp(24px, 4vw, 42px);
  padding: 6px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #f4f0e6;
  box-shadow: 0 4px 0 rgba(21, 21, 21, 0.16);
}

.section-jump-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 34px;
  padding: 8px 10px 9px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: inset 0 -4px 0 #ded8c9;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1;
  overflow: hidden;
  text-align: center;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms cubic-bezier(0.22, 0.82, 0.2, 1);
}

.section-jump-link:hover {
  background: #fff9df;
  box-shadow: inset 0 -3px 0 #d6c9ad;
  color: var(--ink);
  transform: translateY(-2px);
}

.section-jump-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--paper);
  content: "";
  transform: scaleX(var(--section-progress, 0));
  transform-origin: left center;
  transition: transform 120ms linear;
}

.section-jump-link > span,
.section-jump-link {
  isolation: isolate;
}

.section-jump-link.is-active {
  background: var(--ink);
  box-shadow: inset 0 -4px 0 #44413b;
  color: var(--paper);
}

.pixelart-page .work-section {
  width: min(920px, calc(100% - 36px));
  margin-right: auto;
  margin-left: auto;
  scroll-margin-top: 190px;
}

.pixelart-page .client-stack,
.pixelart-page .event-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.pixelart-page .art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pixelart-page .effect-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pixelart-page .effect-grid .tilemap-art,
.pixelart-page .effect-grid .effect-video-card {
  grid-column: 1 / -1;
}

.pixelart-page .art-card,
.pixelart-page .art-card.wide,
.pixelart-page .art-card.full,
.pixelart-page .art-card.slim,
.pixelart-page .client-art,
.pixelart-page .client-art.wide,
.pixelart-page .event-art {
  grid-column: auto;
  min-height: 0;
  padding: 0;
  border-color: var(--soft-line);
  background: rgba(255, 253, 246, 0.68);
  box-shadow: none;
}

.pixelart-page .art-card {
  aspect-ratio: 1 / 1;
}

.pixelart-page .art-card.wide,
.pixelart-page .art-card.full {
  aspect-ratio: 4 / 3;
}

.pixelart-page .art-card.slim {
  aspect-ratio: 3 / 4;
}

.pixelart-page .client-art {
  padding: 8px;
  background: rgba(255, 253, 246, 0.55);
}

.pixelart-page .client-art img,
.pixelart-page .event-art img {
  width: 100%;
  height: auto;
  max-height: 620px;
  min-height: 0;
  object-fit: contain;
}

.pixelart-page .tilemap-art img {
  max-height: none;
}

.pixelart-page .effect-video-card {
  padding: 8px;
}

.pixelart-page .effect-video-card video {
  width: 100%;
  height: auto;
  background: #151515;
  image-rendering: auto;
}

.pixelart-page .art-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  padding: 8px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: stretch;
    place-items: stretch;
  }

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

  .tab-button {
    min-width: 0;
  }

  .main-hero,
  .quick-links,
  .client-stack,
  .event-stack,
  .project-card {
    grid-template-columns: 1fr;
  }

  .main-hero {
    min-height: calc(100vh - 104px);
  }

  .main-page {
    min-height: auto;
  }

  .project-shot {
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .project-info {
    min-height: 0;
  }

  .rumen-project-card {
    grid-template-columns: 1fr;
  }

  .rumen-visuals {
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .rumen-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 104px;
  }

  .haru-overview {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .haru-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
  }

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

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

@media (max-width: 620px) {
  :root {
    --page: min(1040px, calc(100% - 24px));
  }

  .site-header {
    padding: 10px;
  }

  .tab-button {
    grid-template-rows: 34px auto;
    min-height: 60px;
    padding: 6px 5px 7px;
    font-size: 0.68rem;
  }

  .tab-icon {
    height: 34px;
  }

  .tab-icon img {
    max-width: 62px;
    max-height: 34px;
  }

  .page-shell {
    padding-top: 30px;
  }

  .section-jump {
    top: 96px;
    gap: 4px;
    padding: 6px;
  }

  .section-jump-link {
    min-height: 30px;
    padding: 7px 5px 8px;
    font-size: 0.6rem;
  }

  .pixelart-page .work-section {
    scroll-margin-top: 166px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-actions,
  .social-links {
    gap: 7px;
  }

  .hero-link {
    flex: 1 1 136px;
  }

  .social-link {
    flex: 1 1 96px;
  }

  .main-page .feature-art img {
    height: clamp(260px, 52vh, 420px);
  }

  .section-head {
    display: block;
  }

  .section-label {
    margin-top: 8px;
  }

  .pixelart-page .art-grid,
  .effect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .art-card,
  .art-card.wide,
  .art-card.full,
  .art-card.slim {
    grid-column: auto;
  }

  .project-info h2 {
    font-size: clamp(1.65rem, 10vw, 2.8rem);
  }

  .project-details {
    grid-template-columns: 1fr;
  }

  .rumen-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 0;
  }

  .rumen-thumb {
    border-bottom: 1px solid var(--line);
  }

  .rumen-thumb:nth-child(3n) {
    border-right: 0;
  }

  .haru-feature-card {
    gap: 0;
    padding: 0;
    box-shadow: 4px 4px 0 rgba(21, 21, 21, 0.2);
  }

  .haru-overview {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .haru-copy-panel {
    gap: 8px;
  }

  .haru-logo {
    width: min(280px, 100%);
  }

  .haru-tags span {
    min-height: 22px;
    padding: 4px 6px 5px;
    font-size: 0.54rem;
  }

  .haru-feature-copy {
    font-size: 0.72rem;
  }

  .haru-detail-grid {
    grid-template-columns: 1fr;
  }

  .haru-detail-grid div {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 7px 8px;
  }
}

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

@keyframes nav-slide-in {
  from {
    left: var(--nav-from-left, var(--nav-left, 8px));
  }
  to {
    left: var(--nav-left, 8px);
  }
}

@keyframes page-new-left {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes page-new-right {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Project page refresh */
body.page-project {
  --bg: #f6f2e9;
  --paper: #fffdf7;
  --accent: #c94b36;
  --blue: #316d8f;
  --green: #557454;
  --gold: #d8ad3d;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.36), transparent 360px),
    var(--bg);
}

.project-page {
  width: 100%;
  overflow: visible;
}

.project-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(380px, 58vh, 560px);
  padding:
    clamp(86px, 13vh, 136px)
    max(20px, calc((100% - 1120px) / 2))
    clamp(40px, 8vh, 76px);
  color: var(--ink);
  background: var(--bg);
}

.project-hero::before,
.project-hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.project-hero::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(246, 242, 233, 0.86) 0%, rgba(246, 242, 233, 0.46) 48%, rgba(246, 242, 233, 0.12) 100%),
    url("하루/Library_Hero.png") center 38% / cover no-repeat;
  image-rendering: auto;
}

.project-hero::before,
.project-hero::after {
  -webkit-mask-image:
    linear-gradient(#fff, #fff),
    url("DITHERING.png");
  -webkit-mask-position:
    center top,
    center bottom;
  -webkit-mask-repeat:
    no-repeat,
    repeat-x;
  -webkit-mask-size:
    100% max(0px, calc(100% - 529px)),
    538px 539px;
  -webkit-mask-mode: luminance;
  mask-image:
    linear-gradient(#fff, #fff),
    url("DITHERING.png");
  mask-mode: luminance;
  mask-position:
    center top,
    center bottom;
  mask-repeat:
    no-repeat,
    repeat-x;
  mask-size:
    100% max(0px, calc(100% - 529px)),
    538px 539px;
}

.project-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(246, 242, 233, 0.12) 0%, rgba(246, 242, 233, 0.04) 48%, rgba(246, 242, 233, 0.22) 100%),
    linear-gradient(180deg, rgba(246, 242, 233, 0) 0%, rgba(246, 242, 233, 0.18) 62%, var(--bg) 100%);
}

.project-hero-copy {
  width: min(760px, 100%);
}

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

.project-hero h1 {
  margin: 10px 0 14px;
  font-size: 5.7rem;
  line-height: 0.92;
}

.project-hero p:last-child {
  max-width: 650px;
  margin: 0;
  color: rgba(21, 21, 21, 0.72);
  font-size: 1rem;
  line-height: 1.75;
  word-break: keep-all;
}

.project-jump {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(940px, calc(100% - 40px));
  margin: clamp(18px, 4vh, 34px) auto clamp(24px, 4vh, 42px);
}

.project-feature,
.project-grid .project-card {
  scroll-margin-top: 190px;
}

.project-feature {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  width: min(1120px, calc(100% - 40px));
  margin: clamp(26px, 5vh, 54px) auto clamp(36px, 8vh, 78px);
  overflow: hidden;
  border: 2px solid var(--line);
  background: rgba(255, 253, 247, 0.68);
  box-shadow: 8px 8px 0 rgba(21, 21, 21, 0.18);
}

.project-feature::before,
.project-grid .project-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(246, 242, 233, 0.86) 0%, rgba(246, 242, 233, 0.42) 46%, rgba(246, 242, 233, 0.16) 100%),
    var(--project-bg) center / cover no-repeat;
  content: "";
  image-rendering: pixelated;
  opacity: 0.68;
  pointer-events: none;
  transform: scale(1.01);
  -webkit-mask-image:
    radial-gradient(circle at center, #000 0 52%, rgba(0, 0, 0, 0.68) 72%, transparent 100%),
    linear-gradient(transparent 0, #000 10%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(circle at center, #000 0 52%, rgba(0, 0, 0, 0.68) 72%, transparent 100%),
    linear-gradient(transparent 0, #000 10%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

.project-feature > *,
.project-grid .project-card > * {
  position: relative;
  z-index: 1;
}

#haru-project {
  --project-bg: url("하루/Library_Hero.png");
}

#fishing-td-project {
  --project-bg: url("낚시타워디펜스/image.png");
}

#rumen-project {
  --project-bg: url("Rumen/image1.png");
}

#altos-chip-project {
  --project-bg: url("알토스칩/image.png");
}

#dig-project {
  --project-bg: url("DIG/2gid.gif");
}

#me-hiking-project {
  --project-bg: url("ME하이킹/image.png");
}

.project-jump + .project-feature {
  margin-top: 0;
}

.project-feature-media {
  display: grid;
  min-width: 0;
  border-right: 2px solid var(--line);
  background: #151515;
}

.project-feature-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-bottom: 2px solid var(--line);
  background: #151515;
  image-rendering: auto;
}

.project-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #151515;
}

.project-strip-item {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.project-strip-item {
  aspect-ratio: 16 / 9;
  border-right: 1px solid rgba(255, 253, 247, 0.2);
}

.project-strip-item:last-child {
  border-right: 0;
}

.project-strip-item img {
  width: 100%;
  height: 100%;
}

.project-strip-item img {
  object-fit: cover;
  image-rendering: auto;
}

.project-strip-item:hover,
.project-main-shot:hover,
.project-thumb:hover {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.project-feature-info {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(255, 253, 247, 0.82);
}

.project-feature-info h2 {
  margin: 0;
  font-size: 3.8rem;
  line-height: 0.98;
}

.project-feature-info > p:not(.project-meta),
.project-info > div > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  word-break: keep-all;
}

.project-grid {
  display: grid;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 78px;
}

.project-grid .project-card {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 0.57fr) minmax(300px, 0.43fr);
  overflow: hidden;
  border-width: 2px;
  background: rgba(255, 253, 247, 0.68);
  box-shadow: 6px 6px 0 rgba(21, 21, 21, 0.16);
  transition: none;
}

.project-grid .project-card:hover {
  box-shadow: 6px 6px 0 rgba(21, 21, 21, 0.16);
  outline: 0;
  transform: none;
}

.project-grid .project-card-wide {
  grid-template-columns: minmax(0, 0.64fr) minmax(300px, 0.36fr);
}

.project-grid .project-shot {
  min-height: 360px;
  border-right: 2px solid var(--line);
  background:
    linear-gradient(135deg, rgba(49, 109, 143, 0.16), rgba(216, 173, 61, 0.08)),
    #151515;
}

.project-grid .project-main-shot {
  min-height: 286px;
}

.project-grid .project-main-shot img,
.project-grid .project-thumb img {
  image-rendering: pixelated;
}

.project-grid .project-shot-gallery.is-cinematic .project-main-shot img,
.project-grid .project-shot-gallery.is-cinematic .project-thumb img {
  image-rendering: auto;
}

.project-thumb-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.project-grid .project-info {
  min-height: 360px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 253, 247, 0.82);
}

.project-grid .project-info h2 {
  margin: 8px 0 14px;
  font-size: 3.2rem;
  line-height: 1;
}

.project-details {
  gap: 8px;
}

.project-details div {
  border-color: rgba(21, 21, 21, 0.15);
  background: rgba(246, 242, 233, 0.82);
}

.project-details dt {
  color: var(--blue);
}

.project-links {
  gap: 8px;
}

.link-placeholder {
  min-height: 34px;
  border-width: 2px;
  background: rgba(246, 242, 233, 0.9);
  color: var(--ink);
  box-shadow: inset 0 -4px 0 rgba(21, 21, 21, 0.1);
}

a.link-placeholder:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}

.project-link-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 -4px 0 #44413b;
}

.viewer {
  border-width: 2px;
}

@media (max-width: 900px) {
  .project-jump {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-feature,
  .project-grid .project-card,
  .project-card-wide {
    grid-template-columns: 1fr;
  }

  .project-feature-media,
  .project-grid .project-shot {
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .project-grid .project-info {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .project-hero {
    min-height: 360px;
    padding: 78px 18px 36px;
  }

  .project-hero h1 {
    font-size: 3.25rem;
  }

  .project-feature-info h2,
  .project-grid .project-info h2 {
    font-size: 2.35rem;
  }

  .project-feature,
  .project-grid {
    width: min(100% - 24px, 1120px);
  }

  .project-jump {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 24px, 940px);
  }

  .project-feature,
  .project-grid .project-card {
    scroll-margin-top: 166px;
  }

  .project-feature-info {
    padding: 18px;
  }

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

  .project-grid {
    gap: 18px;
    margin-bottom: 54px;
  }

  .project-grid .project-shot,
  .project-grid .project-main-shot {
    min-height: 0;
  }

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

/* Project page final layout pass */
body.page-project {
  --bg: #f4efe4;
  --paper: #fffdf6;
  --accent: #c94b36;
  --blue: #2f6f94;
  --green: #4d7b54;
  --gold: #d7aa39;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.58), rgba(244, 239, 228, 0) 460px),
    linear-gradient(90deg, rgba(47, 111, 148, 0.06), transparent 30%, rgba(201, 75, 54, 0.06) 76%, transparent),
    var(--bg);
}

.project-page {
  padding-bottom: 12px;
}

.project-hero {
  min-height: clamp(340px, 43vw, 520px);
  padding:
    clamp(78px, 11vw, 132px)
    max(18px, calc((100% - 1040px) / 2))
    clamp(46px, 8vw, 88px);
  align-items: end;
}

.project-hero::before {
  background:
    linear-gradient(90deg, rgba(244, 239, 228, 0.88) 0%, rgba(244, 239, 228, 0.58) 38%, rgba(244, 239, 228, 0.08) 100%),
    url("하루/Library_Hero.png") center 34% / cover no-repeat;
}

.project-hero::after {
  background:
    linear-gradient(180deg, rgba(244, 239, 228, 0) 0%, rgba(244, 239, 228, 0.2) 64%, var(--bg) 100%),
    repeating-linear-gradient(0deg, rgba(21, 21, 21, 0.035) 0 1px, transparent 1px 4px);
}

.project-hero-copy {
  width: min(700px, 100%);
}

.project-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(3.4rem, 8vw, 6.35rem);
}

.project-hero p:last-child {
  max-width: 600px;
  color: rgba(21, 21, 21, 0.78);
  font-size: clamp(0.86rem, 1.35vw, 1rem);
  line-height: 1.78;
}

.project-jump {
  top: 112px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(960px, calc(100% - 36px));
  margin: -18px auto clamp(28px, 5vw, 50px);
  background: rgba(244, 240, 230, 0.94);
  backdrop-filter: blur(6px);
}

.project-jump .section-jump-link {
  min-height: 32px;
  padding: 8px 7px 9px;
  font-size: 0.66rem;
}

.project-feature,
.project-grid {
  width: min(1040px, calc(100% - 36px));
}

.project-feature,
.project-grid .project-card {
  border-color: var(--line);
  background: var(--paper);
  box-shadow: 5px 5px 0 rgba(21, 21, 21, 0.18);
}

.project-feature::before,
.project-grid .project-card::before {
  opacity: 0.16;
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.86), rgba(255, 253, 246, 0.4)),
    var(--project-bg) center / cover no-repeat;
}

.project-feature {
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
  margin-bottom: clamp(36px, 7vw, 82px);
}

.project-feature-media,
.project-grid .project-shot {
  background:
    linear-gradient(135deg, rgba(47, 111, 148, 0.14), rgba(215, 170, 57, 0.08)),
    #151515;
}

.project-feature-video,
.project-main-shot {
  aspect-ratio: var(--project-ratio, 16 / 9);
}

.project-feature-video {
  min-height: 0;
}

.project-strip {
  border-top: 0;
}

.project-strip-item {
  min-height: 72px;
}

.project-feature-info {
  align-content: end;
  padding: clamp(24px, 3.4vw, 40px);
  background: rgba(255, 253, 246, 0.92);
}

.project-feature-info h2 {
  font-size: clamp(2.55rem, 4.8vw, 4.15rem);
}

.project-grid {
  gap: clamp(22px, 4vw, 34px);
  margin-bottom: clamp(58px, 8vw, 92px);
}

.project-grid .project-card {
  grid-template-columns: minmax(0, 1.25fr) minmax(286px, 0.75fr);
}

.project-grid .project-card-wide {
  grid-template-columns: minmax(0, 1.45fr) minmax(286px, 0.55fr);
}

.project-grid .project-card:nth-child(even) {
  grid-template-columns: minmax(286px, 0.72fr) minmax(0, 1.28fr);
}

.project-grid .project-card:nth-child(even) .project-shot {
  grid-column: 2;
  grid-row: 1;
  border-right: 0;
  border-left: 2px solid var(--line);
}

.project-grid .project-card:nth-child(even) .project-info {
  grid-column: 1;
  grid-row: 1;
}

.project-grid .project-shot {
  min-height: 0;
}

.project-shot-gallery {
  grid-template-rows: auto auto;
}

.project-grid .project-main-shot {
  min-height: 0;
}

.project-main-shot img,
.project-thumb img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.project-main-shot img {
  padding: clamp(8px, 1.4vw, 16px);
}

.project-thumb-grid {
  min-height: 84px;
  border-top: 2px solid var(--line);
}

.project-thumb {
  aspect-ratio: 16 / 9;
}

.project-thumb img {
  padding: 7px;
}

.project-grid .project-shot-gallery.is-cinematic .project-main-shot img,
.project-grid .project-shot-gallery.is-cinematic .project-thumb img {
  object-fit: contain;
}

#fishing-td-project {
  --project-ratio: 3 / 2;
}

#rumen-project {
  --project-ratio: 21 / 10;
}

#rumen-project .project-thumb-grid {
  min-height: 96px;
}

#dig-project,
#me-hiking-project {
  --project-ratio: 16 / 9;
}

#dig-project .project-main-shot img,
#dig-project .project-thumb img,
#me-hiking-project .project-main-shot img,
#me-hiking-project .project-thumb img {
  padding: 0;
}

#altos-chip-project {
  --project-ratio: 4 / 3;
}

.project-shot-gallery.is-chip .project-main-shot,
.project-shot-gallery.is-chip .project-thumb {
  background:
    linear-gradient(135deg, rgba(215, 170, 57, 0.2), rgba(77, 123, 84, 0.12)),
    #fffdf6;
}

.project-shot-gallery.is-chip .project-main-shot img {
  width: auto;
  max-width: 68%;
  height: auto;
  max-height: 78%;
  padding: 0;
}

.project-shot-gallery.is-chip .project-thumb img {
  width: auto;
  max-width: 76%;
  height: auto;
  max-height: 74%;
  padding: 0;
}

.project-grid .project-info {
  min-height: 0;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.94), rgba(255, 253, 246, 0.84)),
    var(--paper);
}

.project-grid .project-info h2 {
  margin: 7px 0 14px;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.project-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.project-details div {
  grid-template-columns: 48px minmax(0, 1fr);
  padding: 7px 9px 8px;
}

.project-details dt {
  color: var(--green);
}

.project-links {
  align-self: end;
}

.link-placeholder {
  min-height: 32px;
  padding: 7px 10px 8px;
  background: rgba(244, 239, 228, 0.92);
}

.project-link-primary {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 900px) {
  .project-jump {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -12px;
  }

  .project-feature,
  .project-grid .project-card,
  .project-grid .project-card-wide,
  .project-grid .project-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .project-grid .project-card:nth-child(even) .project-shot,
  .project-grid .project-card:nth-child(even) .project-info {
    grid-column: auto;
    grid-row: auto;
  }

  .project-grid .project-card:nth-child(even) .project-shot {
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .project-hero {
    min-height: 340px;
    padding: 74px 18px 40px;
  }

  .project-hero h1 {
    font-size: clamp(3rem, 16vw, 4rem);
  }

  .project-jump {
    top: 96px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 24px, 960px);
  }

  .project-feature,
  .project-grid {
    width: min(100% - 24px, 1040px);
  }

  .project-feature-info,
  .project-grid .project-info {
    padding: 18px;
  }

  .project-feature-info h2,
  .project-grid .project-info h2 {
    font-size: clamp(2rem, 11vw, 2.6rem);
  }

  .project-details {
    grid-template-columns: 1fr;
  }

  .project-thumb-grid,
  #rumen-project .project-thumb-grid {
    min-height: 0;
  }

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

  .link-placeholder {
    min-height: 30px;
    font-size: 0.62rem;
  }
}

/* Project feature correction */
.project-feature {
  grid-template-columns: 1fr;
  width: min(1120px, calc(100% - 36px));
}

.project-feature-media {
  border-right: 0;
  border-bottom: 2px solid var(--line);
}

.project-feature-info {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  align-items: end;
  align-content: stretch;
  column-gap: clamp(22px, 4vw, 46px);
  row-gap: 12px;
}

.project-feature-info .project-meta,
.project-feature-info h2,
.project-feature-info > p:not(.project-meta) {
  grid-column: 1;
}

.project-feature-info h2 {
  max-width: 100%;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  overflow-wrap: break-word;
  text-wrap: balance;
}

.project-feature-info > p:not(.project-meta) {
  max-width: 660px;
}

.project-feature-info .project-details,
.project-feature-info .project-links {
  grid-column: 2;
}

.project-feature-info .project-details {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.project-feature-info .project-links {
  align-self: start;
}

@media (max-width: 760px) {
  .project-feature-info {
    grid-template-columns: 1fr;
  }

  .project-feature-info .project-details,
  .project-feature-info .project-links {
    grid-column: 1;
  }

  .project-feature-info .project-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .project-feature-info .project-details {
    grid-template-columns: 1fr;
  }
}

/* Project page rescue layout */
.page-project .project-page {
  padding-bottom: clamp(54px, 8vw, 90px);
  overflow: hidden;
}

.page-project .project-hero {
  min-height: clamp(250px, 28vw, 340px);
  padding:
    clamp(40px, 6vw, 78px)
    max(18px, calc((100% - 980px) / 2))
    clamp(30px, 5vw, 52px);
}

.page-project .project-hero::before {
  background:
    linear-gradient(90deg, rgba(245, 241, 232, 0.58) 0%, rgba(245, 241, 232, 0.24) 48%, rgba(245, 241, 232, 0.04) 100%),
    url("하루/Library_Hero.png") center 24% / cover no-repeat;
}

.page-project .project-hero::after {
  background:
    linear-gradient(180deg, rgba(245, 241, 232, 0) 0%, rgba(245, 241, 232, 0.2) 56%, var(--bg) 100%);
}

.page-project .project-hero-copy {
  width: min(720px, 100%);
}

.page-project .project-hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.2rem);
}

.page-project .project-hero p:last-child {
  max-width: 620px;
  color: rgba(21, 21, 21, 0.76);
}

.page-project .project-jump {
  position: sticky;
  top: 112px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(940px, calc(100% - 36px));
  margin: -18px auto clamp(30px, 5vw, 54px);
}

.page-project .project-jump .section-jump-link {
  font-size: 0.64rem;
}

.page-project .project-feature,
.page-project .project-grid {
  width: min(980px, calc(100% - 36px));
}

.page-project .project-feature,
.page-project .project-grid .project-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--paper);
  box-shadow: 5px 5px 0 rgba(21, 21, 21, 0.18);
}

.page-project .project-feature {
  margin: 0 auto clamp(34px, 6vw, 64px);
}

.page-project .project-feature::before,
.page-project .project-grid .project-card::before {
  content: none;
}

.page-project .project-feature > *,
.page-project .project-grid .project-card > * {
  position: relative;
  z-index: 1;
}

.page-project .project-feature-media,
.page-project .project-grid .project-shot,
.page-project .project-grid .project-card:nth-child(even) .project-shot {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  border-right: 0;
  border-left: 0;
  border-bottom: 2px solid var(--line);
  background: #151515;
}

.page-project .project-feature-video,
.page-project .project-main-shot {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: var(--project-ratio, 16 / 9);
  border: 0;
  background: #151515;
}

.page-project .project-feature-video {
  border-bottom: 2px solid var(--line);
}

.page-project .project-shot-gallery {
  display: grid;
  grid-template-rows: auto auto;
  padding: 0;
}

.page-project .project-main-shot {
  border-bottom: 0;
}

.page-project .project-main-shot img,
.page-project .project-thumb img,
.page-project .project-strip-item img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.page-project .project-main-shot img {
  padding: clamp(8px, 1.4vw, 14px);
}

.page-project .project-strip,
.page-project .project-thumb-grid {
  display: grid;
  min-height: 0;
  border-top: 2px solid var(--line);
  background: #151515;
}

.page-project .project-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 0;
}

.page-project .project-strip-item,
.page-project .project-thumb {
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-right: 1px solid rgba(255, 253, 246, 0.22);
  background: #151515;
}

.page-project .project-strip-item:last-child,
.page-project .project-thumb:last-child {
  border-right: 0;
}

.page-project .project-thumb img {
  padding: 7px;
}

.page-project .project-shot-gallery.is-cinematic .project-main-shot img,
.page-project .project-shot-gallery.is-cinematic .project-thumb img {
  padding: 0;
  object-fit: contain;
  image-rendering: auto;
}

.page-project .project-feature-info,
.page-project .project-grid .project-info,
.page-project .project-grid .project-card:nth-child(even) .project-info {
  grid-column: auto;
  grid-row: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 12px;
  min-height: 0;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(255, 253, 246, 0.94);
}

.page-project .project-feature-info {
  grid-template-columns: 1fr;
  padding: clamp(22px, 3.6vw, 36px);
}

.page-project .project-feature-info .project-meta,
.page-project .project-feature-info h2,
.page-project .project-feature-info > p:not(.project-meta),
.page-project .project-feature-info .project-details,
.page-project .project-feature-info .project-links {
  grid-column: auto;
}

.page-project .project-feature-info h2,
.page-project .project-grid .project-info h2 {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: keep-all;
  line-height: 1;
}

.page-project .project-feature-info h2 {
  font-size: clamp(2.65rem, 6.2vw, 5.3rem);
}

.page-project .project-grid .project-info h2 {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
}

.page-project .project-feature-info > p:not(.project-meta),
.page-project .project-info > div > p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.72;
}

.page-project .project-details {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 2px 0 0;
}

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

.page-project .project-details div {
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 7px 8px 8px;
}

.page-project .project-links {
  align-self: start;
  margin-top: 2px;
}

.page-project .project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin: 0 auto;
}

.page-project .project-grid .project-card,
.page-project .project-grid .project-card-wide,
.page-project .project-grid .project-card:nth-child(even) {
  width: auto;
  margin: 0;
  grid-template-columns: 1fr;
}

.page-project .project-grid .project-card-wide {
  grid-column: 1 / -1;
}

.page-project #fishing-td-project {
  --project-ratio: 3 / 2;
}

.page-project #rumen-project {
  --project-ratio: 21 / 10;
}

.page-project #dig-project,
.page-project #me-hiking-project {
  --project-ratio: 16 / 9;
}

.page-project #altos-chip-project {
  --project-ratio: 4 / 3;
}

.page-project .project-shot-gallery.is-chip .project-main-shot,
.page-project .project-shot-gallery.is-chip .project-thumb {
  background:
    linear-gradient(135deg, rgba(239, 201, 76, 0.18), rgba(79, 135, 91, 0.1)),
    #fffdf6;
}

.page-project .project-shot-gallery.is-chip .project-main-shot img {
  width: auto;
  max-width: 52%;
  height: auto;
  max-height: 76%;
  padding: 0;
  image-rendering: pixelated;
}

.page-project .project-shot-gallery.is-chip .project-thumb img {
  width: auto;
  max-width: 72%;
  height: auto;
  max-height: 72%;
  padding: 0;
  image-rendering: pixelated;
}

@media (max-width: 860px) {
  .page-project .project-jump {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-project .project-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .page-project .project-hero {
    min-height: 330px;
    padding: 76px 18px 40px;
  }

  .page-project .project-jump {
    top: 96px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 24px, 940px);
  }

  .page-project .project-feature,
  .page-project .project-grid {
    width: min(100% - 24px, 980px);
  }

  .page-project .project-feature-info h2 {
    font-size: clamp(2.1rem, 12vw, 3.15rem);
  }

  .page-project .project-grid .project-info h2 {
    font-size: clamp(1.8rem, 10vw, 2.45rem);
  }

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

  .page-project .project-details,
  .page-project .project-grid .project-details {
    grid-template-columns: 1fr;
  }

  .page-project .project-thumb-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Project page calm reset */
body.page-project {
  --bg: #f5f1e8;
  --paper: #fffdf6;
  --ink: #151515;
  --muted: #68655e;
  --accent: #d84f39;
  --blue: #2f7f9a;
  --green: #4f875b;
  --gold: #efc94c;
  background: var(--bg);
}

body.page-project .project-page {
  width: 100%;
  padding-bottom: 72px;
  overflow: visible;
}

body.page-project .project-hero {
  display: grid;
  align-content: end;
  min-height: clamp(280px, 32vw, 430px);
  padding:
    clamp(74px, 10vw, 128px)
    max(18px, calc((100% - 920px) / 2))
    clamp(34px, 6vw, 72px);
  background: var(--bg);
}

body.page-project .project-hero::before {
  background:
    linear-gradient(90deg, rgba(245, 241, 232, 0.66) 0%, rgba(245, 241, 232, 0.3) 45%, rgba(245, 241, 232, 0.08) 100%),
    url("하루/Library_Hero.png") center 32% / cover no-repeat;
  opacity: 0.72;
}

body.page-project .project-hero::after {
  background:
    linear-gradient(180deg, rgba(245, 241, 232, 0) 0%, var(--bg) 100%);
}

body.page-project .project-hero-copy {
  width: min(680px, 100%);
}

body.page-project .project-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(3.1rem, 7.2vw, 5.8rem);
  line-height: 1;
}

body.page-project .project-hero p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

body.page-project .project-jump {
  position: static;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(920px, calc(100% - 36px));
  margin: 0 auto 28px;
  padding: 6px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #f4f0e6;
  box-shadow: none;
}

body.page-project .project-jump .section-jump-link {
  min-height: 34px;
  padding: 8px 6px 9px;
  font-size: 0.64rem;
}

body.page-project .project-feature,
body.page-project .project-grid {
  width: min(920px, calc(100% - 36px));
  margin-right: auto;
  margin-left: auto;
}

body.page-project .project-feature,
body.page-project .project-grid .project-card,
body.page-project .project-grid .project-card-wide,
body.page-project .project-grid .project-card:nth-child(even) {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--paper);
  box-shadow: none;
  transform: none;
  outline: 0;
}

body.page-project .project-feature {
  margin-bottom: 28px;
}

body.page-project .project-feature::before,
body.page-project .project-grid .project-card::before {
  content: none;
}

body.page-project .project-feature-media,
body.page-project .project-grid .project-shot,
body.page-project .project-grid .project-card:nth-child(even) .project-shot {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  border-right: 0;
  border-left: 0;
  border-bottom: 2px solid var(--line);
  background: #151515;
}

body.page-project .project-feature-video,
body.page-project .project-main-shot {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: var(--project-ratio, 16 / 9);
  border: 0;
  background: #151515;
}

body.page-project .project-feature-video {
  border-bottom: 2px solid var(--line);
}

body.page-project .project-shot-gallery {
  display: grid;
  grid-template-rows: auto auto;
  padding: 0;
}

body.page-project .project-main-shot {
  border-bottom: 0;
}

body.page-project .project-main-shot img,
body.page-project .project-thumb img,
body.page-project .project-strip-item img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

body.page-project .project-main-shot img {
  padding: 10px;
}

body.page-project .project-shot-gallery.is-cinematic .project-main-shot img,
body.page-project .project-shot-gallery.is-cinematic .project-thumb img {
  padding: 0;
  object-fit: contain;
  image-rendering: auto;
}

body.page-project .project-strip,
body.page-project .project-thumb-grid {
  display: grid;
  min-height: 0;
  border-top: 2px solid var(--line);
  background: #151515;
}

body.page-project .project-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 0;
}

body.page-project .project-thumb-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-project .project-thumb-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.page-project .project-strip-item,
body.page-project .project-thumb {
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-right: 1px solid rgba(255, 253, 246, 0.22);
  background: #151515;
}

body.page-project .project-strip-item:last-child,
body.page-project .project-thumb:last-child {
  border-right: 0;
}

body.page-project .project-thumb img {
  padding: 7px;
}

body.page-project .project-feature-info,
body.page-project .project-grid .project-info,
body.page-project .project-grid .project-card:nth-child(even) .project-info {
  grid-column: auto;
  grid-row: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 12px;
  min-height: 0;
  padding: clamp(18px, 3vw, 30px);
  background: var(--paper);
}

body.page-project .project-feature-info h2,
body.page-project .project-grid .project-info h2 {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: keep-all;
  line-height: 1;
}

body.page-project .project-feature-info h2 {
  font-size: clamp(2.2rem, 5.2vw, 4.3rem);
}

body.page-project .project-grid .project-info h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
}

body.page-project .project-feature-info > p:not(.project-meta),
body.page-project .project-info > div > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

body.page-project .project-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 2px 0 0;
}

body.page-project .project-grid .project-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-project .project-details div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 7px;
  align-items: baseline;
  min-width: 0;
  padding: 7px 8px 8px;
  border: 1px solid var(--soft-line);
  background: #f5f1e8;
}

body.page-project .project-details dt {
  color: var(--green);
}

body.page-project .project-details dd {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body.page-project .project-links {
  align-self: start;
  margin-top: 2px;
}

body.page-project .project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 0;
}

body.page-project #fishing-td-project {
  --project-ratio: 3 / 2;
}

body.page-project #rumen-project {
  --project-ratio: 21 / 10;
}

body.page-project #dig-project,
body.page-project #me-hiking-project {
  --project-ratio: 16 / 9;
}

body.page-project #altos-chip-project {
  --project-ratio: 4 / 3;
}

body.page-project .project-shot-gallery.is-chip .project-main-shot,
body.page-project .project-shot-gallery.is-chip .project-thumb {
  background:
    linear-gradient(135deg, rgba(239, 201, 76, 0.18), rgba(79, 135, 91, 0.1)),
    #fffdf6;
}

body.page-project .project-shot-gallery.is-chip .project-main-shot img {
  width: auto;
  max-width: 42%;
  height: auto;
  max-height: 74%;
  padding: 0;
  image-rendering: pixelated;
}

body.page-project .project-shot-gallery.is-chip .project-thumb img {
  width: auto;
  max-width: 70%;
  height: auto;
  max-height: 70%;
  padding: 0;
  image-rendering: pixelated;
}

@media (max-width: 760px) {
  body.page-project .project-jump {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.page-project .project-details,
  body.page-project .project-grid .project-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.page-project .project-hero {
    min-height: 300px;
    padding: 76px 18px 38px;
  }

  body.page-project .project-jump {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 24px, 920px);
  }

  body.page-project .project-feature,
  body.page-project .project-grid {
    width: min(100% - 24px, 920px);
  }

  body.page-project .project-feature-info h2 {
    font-size: clamp(2rem, 11vw, 2.9rem);
  }

  body.page-project .project-grid .project-info h2 {
    font-size: clamp(1.65rem, 9vw, 2.25rem);
  }

  body.page-project .project-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-project .project-thumb-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.page-project .project-details,
  body.page-project .project-grid .project-details {
    grid-template-columns: 1fr;
  }
}

/* Project archive list redesign */
body.page-project {
  --bg: #f5f1e8;
  --paper: #fffdf6;
  --ink: #151515;
  --muted: #68655e;
  --accent: #d84f39;
  --green: #4f875b;
  background: var(--bg);
}

body.page-project .project-page {
  width: 100%;
  padding-bottom: clamp(56px, 8vw, 92px);
  overflow: visible;
}

body.page-project .project-hero {
  display: grid;
  align-content: end;
  min-height: clamp(280px, 32vw, 430px);
  padding:
    clamp(74px, 10vw, 128px)
    max(18px, calc((100% - 1040px) / 2))
    clamp(34px, 6vw, 72px);
  background: var(--bg);
}

body.page-project .project-hero::before {
  background:
    linear-gradient(90deg, rgba(245, 241, 232, 0.68) 0%, rgba(245, 241, 232, 0.34) 44%, rgba(245, 241, 232, 0.08) 100%),
    url("하루/Library_Hero.png") center 32% / cover no-repeat;
  opacity: 0.76;
}

body.page-project .project-hero::after {
  background: linear-gradient(180deg, rgba(245, 241, 232, 0) 0%, var(--bg) 100%);
}

body.page-project .project-hero-copy {
  width: min(680px, 100%);
}

body.page-project .project-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(3.1rem, 7.2vw, 5.8rem);
  line-height: 1;
}

body.page-project .project-hero p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

body.page-project .project-jump {
  position: static;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(720px, calc(100% - 36px));
  margin: 0 auto clamp(12px, 3vw, 24px);
  padding: 6px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #f4f0e6;
  box-shadow: none;
}

body.page-project .project-jump .section-jump-link {
  min-height: 34px;
  padding: 8px 6px 9px;
  font-size: 0.64rem;
}

body.page-project .project-archive-shell {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
}

body.page-project .project-category {
  padding-top: clamp(34px, 6vw, 68px);
}

body.page-project .project-category:first-child {
  padding-top: clamp(22px, 4vw, 42px);
}

body.page-project .project-list {
  display: grid;
  gap: 0;
  margin: 0;
}

body.page-project .project-list-item {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
  padding: clamp(22px, 4vw, 38px) 0;
  border-bottom: 2px solid var(--line);
  background: transparent;
  box-shadow: none;
}

body.page-project .project-list-featured {
  padding-top: 0;
}

body.page-project .project-list-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

body.page-project .project-list-copy h3 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3.4rem);
  line-height: 1;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

body.page-project .project-list-copy > p:not(.project-meta) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

body.page-project .project-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  margin: 4px 0 0;
}

body.page-project .project-details div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--soft-line);
  background: transparent;
}

body.page-project .project-details dt {
  color: var(--green);
  font-size: 0.64rem;
  line-height: 1.25;
}

body.page-project .project-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.72rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body.page-project .project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

body.page-project .project-item-media {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
  min-width: 0;
}

body.page-project .project-list-video,
body.page-project .project-item-art {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #151515;
  box-shadow: none;
}

body.page-project .project-list-video {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  border-width: 2px;
}

body.page-project .project-item-art {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  color: inherit;
}

body.page-project .project-item-art.large {
  grid-column: span 2;
  grid-row: span 2;
}

body.page-project .project-item-art.full {
  grid-column: 1 / -1;
}

body.page-project .project-item-art img {
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 8px;
  object-fit: contain;
  image-rendering: pixelated;
}

body.page-project .project-item-media.is-featured .project-item-art img,
body.page-project .project-item-media.is-wide .project-item-art img {
  padding: 0;
  object-fit: cover;
  image-rendering: auto;
}

body.page-project .project-item-media .project-item-art.sheet {
  position: relative;
  aspect-ratio: 5 / 1;
  align-content: center;
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.05), rgba(255, 253, 246, 0.12)),
    #151515;
}

body.page-project .project-item-media .project-item-art.sheet img,
body.page-project .project-item-media.is-wide .project-item-art.sheet img,
body.page-project .project-item-media.is-featured .project-item-art.sheet img {
  width: 100%;
  height: 100%;
  padding: 10px 12px 24px;
  object-fit: contain;
  image-rendering: pixelated;
}

body.page-project .project-item-art.sheet span {
  position: absolute;
  right: 6px;
  bottom: 5px;
  max-width: calc(100% - 12px);
  padding: 3px 5px 4px;
  border: 1px solid rgba(255, 253, 246, 0.42);
  background: rgba(21, 21, 21, 0.84);
  color: var(--paper);
  font-size: 0.55rem;
  line-height: 1;
  text-align: right;
}

body.page-project .project-item-media.is-sheets {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.page-project .project-item-media.is-sheets .project-item-art.sheet {
  grid-column: span 3;
  aspect-ratio: 6 / 1;
}

body.page-project .project-item-media.is-sheets .project-item-art.full {
  grid-column: 1 / -1;
}

body.page-project .project-item-media.is-chip .project-item-art {
  background:
    linear-gradient(135deg, rgba(239, 201, 76, 0.18), rgba(79, 135, 91, 0.1)),
    #fffdf6;
}

body.page-project .project-item-media.is-chip .project-item-art img {
  width: auto;
  max-width: 78%;
  height: auto;
  max-height: 78%;
  padding: 0;
}

body.page-project .project-item-media.is-chip .project-item-art.sheet img {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 10px 12px 24px;
  object-fit: contain;
}

body.page-project .project-item-art:hover {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  transform: translate(-1px, -1px);
}

@media (max-width: 860px) {
  body.page-project .project-list-item {
    grid-template-columns: 1fr;
  }

  body.page-project .project-list-copy > p:not(.project-meta) {
    max-width: 760px;
  }
}

@media (max-width: 620px) {
  body.page-project .project-hero {
    min-height: 300px;
    padding: 76px 18px 38px;
  }

  body.page-project .project-jump {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 720px);
  }

  body.page-project .project-archive-shell {
    width: min(100% - 24px, 1040px);
  }

  body.page-project .section-head {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  body.page-project .project-details {
    grid-template-columns: 1fr;
  }

  body.page-project .project-item-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-project .project-item-media.is-sheets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-project .project-item-media.is-sheets .project-item-art.sheet {
    grid-column: 1 / -1;
  }

  body.page-project .project-item-art.large {
    grid-column: 1 / -1;
  }

  body.page-project .project-item-media .project-item-art.sheet {
    aspect-ratio: 3.2 / 1;
  }
}
