:root {
  color-scheme: light;
  --background: #ffffff;
  --ink: #171717;
  --muted: #777777;
  --border: #e8e6e3;
  --accent: #f3dde4;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button, input { border-radius: 0; }
img { display: block; width: 100%; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #a44e6b; outline-offset: 5px; }
::selection { background: var(--accent); color: var(--ink); }
.page-width { width: min(100% - 112px, 1328px); margin-inline: auto; }
.eyebrow { font-size: 10px; font-weight: 550; letter-spacing: .11em; line-height: 1.6; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 15px 22px; background: var(--ink); color: white; z-index: 100; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--background); border-bottom: 1px solid var(--border); }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; }
.brand-logo { width: 160px; height: auto; }
.hero { background: #fff; }
.hero-image { width: 100%; height: auto; }
.text-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 44px; font-size: 12px; }
.text-link > span { font-size: 23px; line-height: 1; transition: transform .2s ease; }
.archive-section { padding-top: 101px; padding-bottom: 60px; }
/* Half the former 3-column card width: ((100% - 2 × 26px) / 3) / 2. */
.theme-grid { display: grid; grid-template-columns: repeat(5, calc((100% - 52px) / 6)); justify-content: space-between; column-gap: 26px; row-gap: 42px; }
.theme-card { min-width: 0; }
.card-link { display: block; }
.card-visual { position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: #ece9e5; }
.card-artwork { position: absolute; top: 0; left: 0; width: 200%; height: 200%; transform: scale(.5); transform-origin: top left; }
.card-artwork > .media { height: 100%; }
.card-visual .media-inner { transition: transform .35s ease; }
.card-info { padding-top: 17px; text-align: center; }
.card-info h3 { font-family: "Helvetica Neue", var(--font); font-size: 17px; font-weight: 550; letter-spacing: -.025em; line-height: 1.5; overflow-wrap: anywhere; }
.card-subtitle { margin-top: 4px; font-size: 12px; line-height: 1.5; }
.card-link:is([data-theme-id="theme-001"], [data-theme-id="theme-002"], [data-theme-id="theme-003"], [data-theme-id="theme-004"], [data-theme-id="theme-005"]) .card-info :is(h3, .card-subtitle) { font-weight: 700; }
.card-meta { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; font-size: 9px; line-height: 1.6; letter-spacing: .03em; color: var(--muted); text-align: center; }
.card-meta .platform { letter-spacing: 0; color: #000000; }
.theme-pink { --art-bg: #ebd7dc; --art-ink: #704c5b; --art-paper: #f8ebee; --art-outline: #bca1ab; --swatch-1: #e1bbc9; --swatch-2: #c899ad; --swatch-3: #f7eced; }
.theme-blue { --art-bg: #d2e0eb; --art-ink: #496376; --art-paper: #eaf1f7; --art-outline: #95aebe; --swatch-1: #a9c3d7; --swatch-2: #6f92b0; --swatch-3: #eef3f7; }
.theme-black { --art-bg: #292b2d; --art-ink: #d0cfcb; --art-paper: #343638; --art-outline: #5c5e60; --swatch-1: #515458; --swatch-2: #929390; --swatch-3: #d1d0ca; }
.theme-paper { --art-bg: #e8e3d9; --art-ink: #797061; --art-paper: #f5f1e9; --art-outline: #c5bdae; --swatch-1: #cec4b2; --swatch-2: #afa58f; --swatch-3: #faf7f0; }
.theme-rose { --art-bg: #e8c5ce; --art-ink: #835766; --art-paper: #f8e8ed; --art-outline: #bf93a0; --swatch-1: #d59dac; --swatch-2: #b6708a; --swatch-3: #faeaf0; }
.theme-cloud { --art-bg: #e7e8e6; --art-ink: #6c736f; --art-paper: #f9faf7; --art-outline: #b9bfba; --swatch-1: #cbd1cb; --swatch-2: #a2afa7; --swatch-3: #fffefa; }
.media { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: var(--art-bg, #e8e3d9); }
.media-inner { height: 100%; width: 100%; }
.media img { height: 100%; object-fit: contain; background: var(--art-bg, #e8e3d9); }
.media img.pending-image { position: absolute; inset: 0; opacity: 0; }
.placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; color: var(--art-ink, #797061); padding: 18% 8% 14%; }
.placeholder-screen { width: 67%; aspect-ratio: 9 / 16; border: 1px solid var(--art-outline, #c5bdae); border-radius: 24px; position: relative; background: var(--art-paper, #f5f1e9); display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 26px -20px #25252555; }
.placeholder-screen::before { content: ""; position: absolute; width: 21%; height: 4px; top: 14px; left: 39.5%; border-radius: 6px; background: var(--art-outline, #c5bdae); opacity: .75; }
.placeholder-screen::after { content: ""; position: absolute; bottom: 11px; left: 36%; width: 28%; height: 3px; border-radius: 4px; background: var(--art-outline, #c5bdae); opacity: .75; }
.placeholder-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; width: 100%; padding: 8px; }
.placeholder-monogram { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.1; font-weight: 500; letter-spacing: -.08em; }
.placeholder-rule { width: 23px; height: 1px; background: currentColor; opacity: .45; margin: 3px 0; }
.placeholder-label { font-size: 8px; letter-spacing: .15em; line-height: 1.8; }
.placeholder-korean { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.card-artwork .placeholder-korean { font-size: 22px; }
.placeholder-swatches { display: flex; gap: 7px; margin-top: 22px; }
.placeholder-swatches i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid #ffffff40; background: var(--swatch-1, #cec4b2); }
.placeholder-swatches i:nth-child(2) { background: var(--swatch-2, #afa58f); }
.placeholder-swatches i:nth-child(3) { background: var(--swatch-3, #faf7f0); }
.placeholder-caption { position: absolute; bottom: 5%; left: 8%; right: 8%; text-align: center; font-size: 8px; letter-spacing: .14em; opacity: .8; }
.site-footer { padding-top: 35px; padding-bottom: 28px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.footer-top .wordmark { grid-column: 2; justify-self: center; }
.footer-top .back-to-top { justify-self: end; white-space: nowrap; }
.footer-top .brand-logo { width: 140px; }
.back-to-top { font-size: 9px; letter-spacing: .05em; }
.back-to-top > span { font-size: 19px; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 24px; padding-top: 20px; font-size: 12px; line-height: 1.8; color: #000000; text-align: center; }
.footer-bottom > span { letter-spacing: .06em; }
.detail-view { padding-top: 30px; padding-bottom: 60px; min-height: 70vh; }
.detail-back { margin-bottom: 28px; gap: 16px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 9%; align-items: start; }
.detail-cover { padding: 0; border: 0; background: transparent; width: 100%; display: block; position: relative; }
.detail-cover .media { max-height: 760px; }
.detail-content { padding-block: 25px; }
.detail-content > .eyebrow { color: var(--muted); }
.detail-content h1 { font-size: clamp(34px, 3.7vw, 58px); line-height: 1.1; letter-spacing: -.055em; font-weight: 700; margin-top: 22px; overflow-wrap: anywhere; }
.detail-subtitle { margin-top: 12px; font-size: 18px; line-height: 1.5; font-weight: 400; }
.detail-description { margin-top: 24px; font-size: 16px; line-height: 1.9; word-break: keep-all; color: #696660; }
.detail-sample-notice { background: #f0ece6; margin-top: 30px; padding: 16px; font-size: 12px; line-height: 1.8; color: #6b645d; }
.detail-sample-notice strong { display: block; font-size: 9px; margin-bottom: 5px; letter-spacing: .1em; color: #48433e; }
.detail-meta { margin: 32px 0 25px; border-block: 1px solid var(--border); padding: 18px 0; }
.detail-meta > div { display: flex; justify-content: space-between; gap: 24px; font-size: 12px; line-height: 2.2; }
.detail-meta dt { color: var(--muted); }
.detail-meta dd { margin: 0; text-align: right; }
.download-list { display: grid; gap: 9px; }
.download-button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px; border: 1px solid #000; background: transparent; color: #000; font-size: 12px; }
.download-button:disabled { opacity: 1; }
.download-state { font-size: 9px; font-weight: 700; letter-spacing: .07em; }
.download-help { margin-top: 12px; font-size: 11px; color: var(--muted); line-height: 1.8; }
.detail-gallery { margin-top: 65px; }
.gallery-heading { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 24px; padding-top: 24px; text-align: center; }
.gallery-heading h2 { font-size: 26px; font-weight: 500; letter-spacing: -.04em; }
.preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.preview-disclaimer { margin-top: 16px; color: #696660; font-size: 12px; line-height: 1.7; text-align: center; word-break: keep-all; overflow-wrap: anywhere; }
.preview-item { display: block; width: 100%; border: 0; padding: 0; text-align: left; background: transparent; }
.preview-item .media { max-height: 610px; }
/* Loaded detail images fill their column at their original aspect ratio. */
:is(.detail-cover, .preview-item) .media.has-image { aspect-ratio: auto; max-height: none; }
:is(.detail-cover, .preview-item) .media.has-image .media-inner,
:is(.detail-cover, .preview-item) .media.has-image img { height: auto; }
.detail-cover .media.has-image { aspect-ratio: var(--detail-cover-ratio, auto); }
.list-return { display: flex; justify-content: center; margin-top: 40px; }
.list-return .text-link { border-bottom: 1px solid var(--ink); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 80px 24px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.not-found { padding: 70px 0; }
.not-found h1 { font-size: 32px; margin-bottom: 20px; }
@media (hover: hover) {
  .card-link:hover .media-inner { transform: scale(1.025); }
  .text-link:hover > span { transform: translateY(-3px); }
  a.download-button:hover { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 1023px) {
  .page-width { width: calc(100% - 64px); }
  .theme-grid { grid-template-columns: repeat(3, calc((100% - 24px) / 4)); gap: 38px 24px; }
  .placeholder-monogram { font-size: 48px; }
  .detail-layout { gap: 5%; }
  .detail-content { padding-top: 10px; }
  .detail-description { font-size: 14px; }
  .preview-grid { gap: 16px; }
  .preview-grid .placeholder-screen { width: 79%; border-radius: 19px; }
  .preview-grid .placeholder-monogram { font-size: 30px; }
  .preview-grid .placeholder-korean { font-size: 12px; }
}
@media (max-width: 639px) {
  html { scroll-padding-top: 83px; }
  .page-width { width: calc(100% - 40px); }
  .header-inner { height: 68px; gap: 15px; }
  .wordmark .brand-logo { width: 120px; }
  .archive-section { padding-top: 94px; padding-bottom: 40px; }
  .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 16px; }
  .card-info { padding-top: 14px; }
  .card-info h3 { font-size: 18px; }
  .card-meta { font-size: 10px; }
  .placeholder-monogram { font-size: 51px; }
  .placeholder-label { font-size: 9px; }
  .placeholder-korean { font-size: 16px; }
  .placeholder-screen { border-radius: 25px; }
  .placeholder-caption { font-size: 8px; }
  .site-footer { padding-block: 24px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .footer-top .wordmark { grid-column: 1; }
  .footer-top .back-to-top { justify-self: center; }
  .footer-bottom { margin-top: 17px; font-size: 11px; }
  .detail-view { padding-top: 18px; padding-bottom: 35px; }
  .detail-back { margin-bottom: 14px; }
  .detail-layout { display: flex; flex-direction: column; gap: 28px; }
  .detail-cover { max-width: 410px; margin: auto; }
  .detail-content { width: 100%; padding: 0; }
  .detail-content h1 { font-size: 40px; margin-top: 12px; }
  .detail-description { margin-top: 18px; }
  .detail-meta { margin-top: 24px; }
  .detail-sample-notice { margin-top: 23px; }
  .detail-gallery { margin-top: 40px; }
  .gallery-heading { gap: 8px; margin-bottom: 20px; }
  .preview-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .preview-grid .media { max-height: none; }
  .preview-grid .placeholder-screen { width: 67%; border-radius: 25px; }
  .preview-grid .placeholder-monogram { font-size: 51px; }
  .preview-grid .placeholder-korean { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
