/* Self-hosted display & slate fonts: SUIT Variable (SIL OFL 1.1) & IBM Plex Mono (SIL OFL 1.1) */
@font-face {
  font-family: 'SUIT Variable';
  src: url('assets/SUIT-Variable.woff2') format('woff2-variations'), url('assets/SUIT-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/IBMPlexMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2212, U+2215;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/IBMPlexMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2212, U+2215;
}

/* ==========================================================================
   CHOAM Brand Direction: Cool Obsidian Studio & Beauty of White Space (여백의 미)
   1. Studio Shell: Cool, chic, restrained obsidian (#000000) + mineral silver (#EAEEF2 / #DCE3EB)
   2. Works Contrast (낙차): Warm ivory prose & luminous full-bleed artwork inside a cold frame
   3. Korean Poise (여백의 미): Generous negative space, slender architectural weight, razor hairlines
   4. Motion: 'Shutter & Film' preserved (Hands 110~160ms, Eyes 380~720ms), zero shadow, radius 0, scale 1.000
   ========================================================================== */

:root {
  /* COOL STUDIO SHELL PALETTE (Chilled Mineral Silver on Pure Obsidian) */
  --void: #000000;
  --night: #050608;
  --elevated: #0B0D10;
  --bone: #EAEEF2;
  --ink-body: rgba(234, 238, 242, 0.78);
  --ash: rgba(216, 223, 230, 0.56);
  --dim: rgba(202, 211, 220, 0.36);
  --ink-disabled: rgba(202, 211, 220, 0.26);
  --line: rgba(226, 232, 240, 0.11);
  --line-row: rgba(226, 232, 240, 0.07);
  --rule-2: rgba(226, 232, 240, 0.22);
  --edge-static: rgba(226, 232, 240, 0.18);

  /* Platinum architectural accent (replaces warm brass on studio chrome) */
  --ember: #DCE3EB;
  --accent-dim: rgba(226, 232, 240, 0.36);
  --accent-wash: rgba(226, 232, 240, 0.08);
  --accent-latch: rgba(226, 232, 240, 0.16);

  /* WARM WORK PROSE TOKENS (Temperature contrast / 낙차 inside works) */
  --work-title: #F4F0E9;
  --work-line: rgba(244, 238, 229, 0.92);
  --work-prose: rgba(239, 233, 223, 0.78);

  /* GENEROUS NEGATIVE SPACE (여백의 미) */
  --gutter: clamp(22px, 4.4vw, 76px);
  --mast-h: 72px;
  --deck-h: 60px;

  /* SHUTTER LAYER (hands / tactile UI) */
  --ease-shutter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-latch: cubic-bezier(0.2, 0, 0, 1);
  --dur-shutter-fast: 0.11s;
  --dur-shutter: 0.15s;

  /* FILM LAYER (eyes / editorial photography & emphasis) */
  --ease-film: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-film-rail: 0.38s;
  --dur-film-text: 0.42s;
  --dur-film-rule: 0.48s;
  --dur-film-hl: 0.62s;
  --dur-film-art: 0.72s;

  /* Clean deep obsidian scrim: lets warm artwork glow while holding crisp legibility */
  --scrim-art:
    linear-gradient(
      to left,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.78) 28%,
      rgba(0, 0, 0, 0.32) 48%,
      rgba(0, 0, 0, 0.00) 68%
    ),
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.28) 14%,
      rgba(0, 0, 0, 0.00) 26%
    ),
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.50) 0%,
      rgba(0, 0, 0, 0.00) 24%
    );
}

/* --------------------------------------------------------------------------
   1. PURE OBSIDIAN (#000000) STUDIO CHROME & ARCHITECTURAL MASTHEAD / DECK
   -------------------------------------------------------------------------- */
.mast,
.deck {
  background: #000000 !important;
}

.mast {
  border-bottom: 1px solid rgba(226, 232, 240, 0.08) !important;
  gap: 32px;
}

.brand {
  gap: 12px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.34em;
  margin-right: -0.34em;
  color: var(--bone);
}
.brand img {
  width: 24px;
  height: 24px;
  opacity: 0.96;
}

.motto {
  font-weight: 420;
  font-size: 11px;
  letter-spacing: 0.38em;
  color: rgba(202, 211, 220, 0.34);
  padding-left: 28px;
  border-left: 1px solid rgba(226, 232, 240, 0.10);
}

.nav-controls {
  gap: 42px;
}

.nav-toggle,
.lang-btn {
  position: relative;
  font-weight: 450;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: rgba(216, 223, 230, 0.58);
  transition: color var(--dur-shutter) var(--ease-shutter);
}

.deck {
  border-top: 1px solid rgba(226, 232, 240, 0.08) !important;
  gap: 28px;
}

.now-num {
  font-weight: 480;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: rgba(226, 232, 240, 0.56);
}
.now-title {
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: var(--bone);
}
.now-sub {
  font-weight: 420;
  font-size: 11.5px;
  color: rgba(202, 211, 220, 0.36);
}

.foot {
  gap: 26px;
  font-size: 11.5px;
  font-weight: 420;
  letter-spacing: 0.12em;
  color: rgba(202, 211, 220, 0.34);
}
.foot a {
  font-weight: 480;
  letter-spacing: 0.22em;
  color: rgba(216, 223, 230, 0.56);
}

.next-ch {
  padding-left: 26px;
  border-left: 1px solid rgba(226, 232, 240, 0.10);
}
.next-ch small {
  font-size: 11px;
  font-weight: 440;
  letter-spacing: 0.22em;
  color: rgba(202, 211, 220, 0.36);
}
.next-ch span {
  font-size: 11.5px;
  font-weight: 520;
  letter-spacing: 0.22em;
  color: var(--bone);
}

/* --------------------------------------------------------------------------
   1b. DROPDOWNS: PURE BLACK + GENEROUS YEOBAEK + PLATINUM HAIRLINE SCAN
   -------------------------------------------------------------------------- */
.nav-panel,
.lang-menu,
.get-menu {
  position: absolute;
  border-radius: 0 !important;
  border: 1px solid rgba(226, 232, 240, 0.13) !important;
  background: #000000 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  clip-path: none;
  isolation: isolate;
}

.get-menu {
  position: relative;
  padding: 20px 22px;
}

.nav-panel {
  top: 100%;
  width: min(352px, calc(100% - 2 * var(--gutter)));
  border-top: 0 !important;
  padding: 26px 32px 26px;
  overflow-x: hidden;
  overflow-y: auto;
}

.lang-menu {
  top: 100%;
  border-top: 0 !important;
  padding: 10px 0;
  min-width: 168px;
}

.nav-group-title {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 480;
  letter-spacing: 0.28em;
  color: rgba(202, 211, 220, 0.36);
}

/* No top bar on dropdowns: masthead and dropdown fuse seamlessly as one obsidian piece */
.nav-panel::before,
.lang-menu::before,
.get-menu::before {
  content: none !important;
  display: none !important;
}

.nav-panel.drop-open,
.lang-menu.drop-open,
.get-menu.drop-open {
  animation: choam-drop-unfold 0.26s var(--ease-film) forwards;
}

@keyframes choam-drop-unfold {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes choam-hairline-draw {
  0% { transform: scaleX(0); opacity: 0.30; }
  100% { transform: scaleX(1); opacity: 0.90; }
}

.nav-entry,
.lang-opt,
.get-opt {
  position: relative;
  overflow: hidden;
  background: transparent !important;
  border-left: 0 !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.065);
  font-weight: 380;
  font-size: 15px;
  color: rgba(226, 232, 240, 0.68);
  transition:
    color var(--dur-shutter-fast) var(--ease-shutter),
    border-bottom-color var(--dur-shutter) var(--ease-shutter);
}

.nav-entry { padding: 13px 8px 13px 16px; }
.lang-opt  { padding: 12px 22px 12px 18px; }
.get-opt   { padding: 12px 14px 12px 16px; }

.nav-row li:last-child .nav-entry,
.lang-menu li:last-child .lang-opt,
.get-opt:last-of-type {
  border-bottom-color: transparent;
}

/* Razor 1px platinum pin on hover / active */
.nav-entry::before,
.lang-opt::before,
.get-opt::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1.5px;
  background: #EAEEF2;
  transform: scaleY(0);
  transform-origin: center top;
  opacity: 0;
  transition:
    transform 0.13s var(--ease-shutter),
    opacity 0.10s var(--ease-shutter);
}

.nav-entry:hover,
.nav-entry[aria-current="page"],
.nav-entry.is-current,
.lang-opt:hover,
.lang-opt[aria-current="true"],
.get-opt:hover,
.get-opt.is-rec {
  background: transparent !important;
  border-bottom-color: rgba(226, 232, 240, 0.22);
  color: #F4F7FA;
}

.nav-entry:hover::before,
.nav-entry[aria-current="page"]::before,
.nav-entry.is-current::before,
.lang-opt:hover::before,
.lang-opt[aria-current="true"]::before,
.get-opt:hover::before,
.get-opt.is-rec::before {
  transform: scaleY(1);
  opacity: 1;
}

.drop-open .nav-group-title,
.drop-open .get-head {
  animation: choam-row-glide 0.22s var(--ease-film) both;
}

.drop-open .nav-entry,
.drop-open .lang-opt,
.drop-open .get-opt {
  animation: choam-row-glide 0.24s var(--ease-film) both;
  animation-delay: calc(30ms + var(--row-i, 0) * 26ms);
}

@keyframes choam-row-glide {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#nav-works .nav-row-tools {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.10);
}
#nav-works .nav-row-tools .nav-entry {
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: rgba(202, 211, 220, 0.44);
}
#nav-works .nav-row-tools .nav-entry:hover {
  color: #EAEEF2;
}

.nav-entry:focus-visible,
.lang-opt:focus-visible,
.get-opt:focus-visible {
  outline: 1px solid rgba(234, 238, 242, 0.72);
  outline-offset: -1px;
}

/* --------------------------------------------------------------------------
   2. SHUTTER HEADER TOGGLES (150ms Cool Silver Hairline)
   -------------------------------------------------------------------------- */
.nav-toggle::before,
.lang-btn::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 1px;
  background: rgba(226, 232, 240, 0.44);
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform var(--dur-shutter) var(--ease-shutter),
    background-color var(--dur-shutter-fast) var(--ease-shutter);
}

.nav-toggle:hover::before,
.lang-btn:hover::before {
  transform: scaleX(1);
}

.nav-toggle[aria-expanded="true"]::before,
.lang-open .lang-btn::before,
.lang-btn[aria-expanded="true"]::before {
  background: #EAEEF2;
  transform: scaleX(1);
}

.nav-toggle::after,
.lang-btn::after {
  transition:
    transform var(--dur-shutter) var(--ease-shutter),
    margin-top var(--dur-shutter) var(--ease-shutter),
    border-color var(--dur-shutter-fast) var(--ease-shutter);
}

.nav-toggle[aria-expanded="true"]::after,
.lang-open .lang-btn::after,
.lang-btn[aria-expanded="true"]::after {
  border-color: #EAEEF2;
}

/* --------------------------------------------------------------------------
   3. SHUTTER PRIMARY BUTTONS (Cool Frosted Platinum Frame — 0px Square)
   -------------------------------------------------------------------------- */
:is(.v21-cta, .plate .cap-acts .prod-act, .prod .prod-act, .dlbtn) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 44px;
  min-height: 44px;
  padding: 0 28px;
  border: 1px solid rgba(234, 238, 242, 0.38);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--bone);
  font-size: 13px;
  font-weight: 430;
  letter-spacing: 0.12em;
  transform: none;
  transition:
    border-color var(--dur-shutter) var(--ease-shutter),
    color var(--dur-shutter) var(--ease-shutter);
}
:lang(ko) :is(.v21-cta, .plate .cap-acts .prod-act, .prod .prod-act, .dlbtn) {
  letter-spacing: 0.06em;
}
:is(.v21-cta, .plate .cap-acts .prod-act, .prod .prod-act, .dlbtn)::before {
  content: none !important;
  display: none !important;
}

:is(.v21-cta, .plate .cap-acts .prod-act, .prod .prod-act, .dlbtn)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(234, 238, 242, 0.09);
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 0.16s var(--ease-shutter),
    background-color 0.10s var(--ease-latch);
}

:is(.v21-cta, .plate .cap-acts .prod-act, .prod .prod-act, .dlbtn):hover {
  border-color: rgba(240, 244, 248, 0.90);
  color: #F4F7FA;
}
:is(.v21-cta, .plate .cap-acts .prod-act, .prod .prod-act, .dlbtn):hover::after {
  transform: scaleX(1);
}

:is(.v21-cta, .plate .cap-acts .prod-act, .prod .prod-act, .dlbtn):active,
:is(.plate, .prod) .prod-act[aria-expanded="true"] {
  border-color: #F4F7FA;
  color: #F4F7FA;
  transform: none;
}
:is(.v21-cta, .plate .cap-acts .prod-act, .prod .prod-act, .dlbtn):active::after,
:is(.plate, .prod) .prod-act[aria-expanded="true"]::after {
  transform: scaleX(1);
  background: rgba(234, 238, 242, 0.16);
}

:is(.v21-cta, .plate .cap-acts .prod-act, .prod .prod-act, .dlbtn):focus-visible {
  outline: 1px solid #EAEEF2;
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   4. SHUTTER UNDERLINE DRAWS (160ms L->R Cool Silver Hairline)
   -------------------------------------------------------------------------- */
.plate .cap-acts {
  margin-top: 18px;
  gap: 28px;
}

.plate .cap-acts .plate-more {
  font-size: 13px;
  font-weight: 420;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.68);
  gap: 10px;
  transition: color var(--dur-shutter) var(--ease-shutter);
}

.plate .cap-acts .plate-more::before {
  bottom: 9px;
  height: 1px;
  opacity: 1;
  background:
    linear-gradient(#EAEEF2, #EAEEF2) left center / 0% 100% no-repeat,
    rgba(226, 232, 240, 0.22);
  transition: background-size 0.16s var(--ease-shutter);
}

.plate .cap-acts .plate-more::after {
  font-size: 14px;
  transition: transform 0.15s var(--ease-shutter), color 0.12s var(--ease-shutter);
}

.plate .cap-acts .plate-more:hover {
  color: #F4F7FA;
}

.plate .cap-acts .plate-more:hover::before {
  background-size: 100% 100%;
}

.plate .cap-acts .plate-more:hover::after {
  transform: translateX(3px);
  color: #F4F7FA;
}

.intro-next span {
  text-decoration: none !important;
  padding-bottom: 3px;
  background:
    linear-gradient(#EAEEF2, #EAEEF2) left bottom / 0% 1px no-repeat,
    linear-gradient(rgba(226, 232, 240, 0.24), rgba(226, 232, 240, 0.24)) left bottom / 100% 1px no-repeat;
  transition: background-size 0.16s var(--ease-shutter), color var(--dur-shutter) var(--ease-shutter);
}

.intro-next:hover span,
.intro-next[aria-expanded="true"] span {
  background-size: 100% 1px, 100% 1px;
  color: #F4F7FA;
}

.intro-next i {
  transform-origin: top center;
  transition:
    transform 0.16s var(--ease-shutter),
    background 0.14s var(--ease-shutter);
}

.intro-next:hover i,
.intro-next[aria-expanded="true"] i {
  transform: scaleY(1.28);
}

.next-ch span,
.foot a,
.choam-flywheel-link {
  padding-bottom: 2px;
  background: linear-gradient(#EAEEF2, #EAEEF2) left bottom / 0% 1px no-repeat;
  transition:
    background-size 0.16s var(--ease-shutter),
    color var(--dur-shutter) var(--ease-shutter);
}

.next-ch:hover span,
.foot a:hover,
.choam-flywheel-link:hover {
  background-size: 100% 1px;
  color: #F4F7FA;
}

/* --------------------------------------------------------------------------
   5. FILM LAYER: HIGHLIGHT SWEEP, RULE DRAW & WORK PROSE WARMTH (낙차)
   -------------------------------------------------------------------------- */
.cap-line .hl-em {
  text-decoration: none !important;
  padding: 0 3px 2px;
  margin: 0 -2px;
  color: var(--work-title);
  background-image:
    linear-gradient(rgba(234, 238, 242, 0.10), rgba(234, 238, 242, 0.10)),
    linear-gradient(rgba(234, 238, 242, 0.65), rgba(234, 238, 242, 0.65));
  background-position: left bottom, left bottom;
  background-repeat: no-repeat, no-repeat;
  background-size: 0% 100%, 0% 1px;
  transition:
    background-size var(--dur-film-hl) var(--ease-film) 0.28s,
    color 0.28s var(--ease-film) 0.20s;
}

.plate.is-on .cap-line .hl-em {
  background-size: 100% 100%, 100% 1px;
}

.prod .cap-line .hl-em {
  animation: choam-hl-sweep var(--dur-film-hl) var(--ease-film) 0.28s forwards;
}

@keyframes choam-hl-sweep {
  0% { background-size: 0% 100%, 0% 1px; }
  100% { background-size: 100% 100%, 100% 1px; }
}

.cap-meta {
  font-family: 'IBM Plex Mono', 'CHOAM Sans', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: rgba(208, 216, 226, 0.56);
  margin-bottom: 20px;
}
:lang(ko) .cap-meta,
:lang(ja) .cap-meta {
  letter-spacing: 0.08em;
}
.plate .cap-meta .num,
.cap-meta .ch {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(234, 238, 242, 0.90);
}
.plate .cap-meta .num::after,
.cap-meta .ch::after {
  width: 28px;
  height: 1px;
  background: rgba(226, 232, 240, 0.34);
  opacity: 1;
}
.plate .cap-meta .num::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-film-rule) var(--ease-film) 0.12s;
}
.plate.is-on .cap-meta .num::after {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   6. ARCHITECTURAL TYPOGRAPHY, BESPOKE WORK WORDMARKS & INDEX RAIL
   -------------------------------------------------------------------------- */
.intro-wm {
  font-weight: 800;
  letter-spacing: 0.36em;
  margin-right: -0.36em;
  color: var(--bone);
}
.intro-motto {
  font-weight: 500;
  letter-spacing: 0.54em;
  margin-right: -0.54em;
  color: rgba(226, 232, 240, 0.62);
}

/* Studio Tools & Default Display Title: unified cool sculptural SUIT Variable */
.cap-title {
  font-family: 'SUIT Variable', 'CHOAM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.06;
  letter-spacing: 0.10em;
  color: #F4F7FA;
  margin: 0;
}
:lang(ko) .cap-title {
  font-weight: 700;
  letter-spacing: 0.06em;
}
.cap-title a:hover {
  color: #FFFFFF;
}

/* Bespoke Work Title Wordmarks (Seonjam DOZE & Donguri Ryokan) */
:is(.plate[data-plate="seonjam"], .plate[data-plate="donguri-ryokan"], .prod.p-seonjam, .prod.p-donguri-ryokan) .cap-title {
  margin: 0;
  line-height: 1;
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
}
:is(.plate[data-plate="seonjam"], .plate[data-plate="donguri-ryokan"], .prod.p-seonjam, .prod.p-donguri-ryokan) .cap-ko {
  display: none;
}
:lang(ja) :is(.plate[data-plate="donguri-ryokan"], .prod.p-donguri-ryokan) .cap-ko {
  display: block;
  margin-top: 10px;
  font-family: 'CHOAM Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.20em;
  color: rgba(234, 238, 242, 0.50);
}
.wm-seonjam-h {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.wm-seonjam-h img {
  height: 62px;
  width: auto;
  display: block;
}
.wm-seonjam-h .wm-sep {
  display: inline-block;
  width: 1px;
  height: 24px;
  background: rgba(246, 242, 232, 0.26);
}
.wm-seonjam-h .wm-en {
  font-family: 'IBM Plex Mono', 'SUIT Variable', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  color: rgba(234, 238, 242, 0.68);
  transform: translateY(2px);
}
.wm-donguri {
  display: block;
  width: min(300px, 82%);
  height: auto;
  margin-left: -3px;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.45));
}

.plate .cap-ko,
.cap-ko {
  margin-top: 8px;
  font-family: 'IBM Plex Mono', 'SUIT Variable', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(214, 222, 232, 0.48);
}

/* Unified Studio Catchphrase (Slender SUIT Light creating crisp weight contrast) */
.cap-line {
  margin-top: 18px;
  font-family: 'SUIT Variable', 'CHOAM Sans', sans-serif;
  font-weight: 330;
  font-size: clamp(17.5px, 1.32vw, 20px);
  line-height: 1.54;
  letter-spacing: -0.02em;
  color: rgba(228, 234, 242, 0.88);
}
:is(.plate[data-plate="seonjam"], .plate[data-plate="donguri-ryokan"], .prod.p-seonjam, .prod.p-donguri-ryokan) .cap-line {
  color: rgba(247, 242, 234, 0.94);
}

.plate .caption {
  gap: 0;
  bottom: calc(var(--deck-h) + 64px);
  text-shadow: none;
}
.plate .cap-text,
.prod .rail {
  position: relative;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.13);
}
.plate .cap-text {
  width: min(376px, 100%);
  font-family: 'CHOAM Sans', sans-serif;
  font-size: 13.8px;
  line-height: 1.88;
  font-weight: 360;
  letter-spacing: -0.015em;
  color: rgba(212, 220, 230, 0.70);
  text-wrap: pretty;
}
:is(.plate[data-plate="seonjam"], .plate[data-plate="donguri-ryokan"]) .cap-text {
  color: rgba(239, 233, 223, 0.78);
}
.plate .cap-acts {
  margin-top: 28px;
}

/* Detail pages (Seonjam / Donguri Ryokan / Tools) + Embedded Video Frame */
@media (min-width: 1080px) and (min-height: 861px) {
  .prod .caption,
  .prod .prod-copy {
    bottom: calc(var(--deck-h) + 56px);
  }
}
.prod .slide p {
  font-size: 14.5px;
  line-height: 1.88;
  font-weight: 360;
  color: rgba(214, 222, 232, 0.74);
  text-wrap: pretty;
}
:is(.prod.p-seonjam, .prod.p-donguri-ryokan) .slide p {
  color: rgba(239, 233, 223, 0.80);
}
.prod[data-vis="video"] .stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000000;
}
.vis video {
  flex: none;
  display: block;
  height: auto;
  width: min(100cqw, calc((100cqh - 34px) * var(--ar)));
  aspect-ratio: var(--ar);
  border: 1px solid var(--line);
  background: #000000;
  object-fit: cover;
}
.prod .rail-ctl {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.09);
}
.prod .text-btn {
  font-weight: 440;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: rgba(216, 223, 230, 0.50);
}
.prod .text-btn:not(:disabled):hover {
  color: #F4F7FA;
}
.prod .dot i {
  width: 14px;
  height: 1px;
  background: rgba(226, 232, 240, 0.20);
}
.prod .dot.is-current i {
  width: 24px;
  height: 1.5px;
  background: #EAEEF2;
}
.prod .count {
  font-weight: 420;
  color: rgba(202, 211, 220, 0.40);
}
.prod .count b {
  font-weight: 500;
  color: var(--bone);
}
.prod .cap-stack,
.prod .stack-line {
  border-top-color: rgba(226, 232, 240, 0.08);
  color: rgba(202, 211, 220, 0.42);
}

/* Left Index Rail: poised vertical negative space */
.index-rail ol {
  gap: 8px;
}
.index-rail a {
  min-height: 30px;
  padding: 2px 0;
  font-size: 11.5px;
  font-weight: 430;
  letter-spacing: 0.16em;
  color: rgba(202, 211, 220, 0.44);
  text-shadow: none;
  transition: color var(--dur-shutter) var(--ease-shutter);
}
:lang(ko) .index-rail a {
  letter-spacing: 0.04em;
}
.index-rail b {
  font-weight: 440;
  color: rgba(202, 211, 220, 0.34);
  transition: color var(--dur-shutter) var(--ease-shutter);
}
.index-rail i {
  width: 14px;
  height: 1px;
  background: rgba(226, 232, 240, 0.22);
  transition:
    width var(--dur-shutter) var(--ease-shutter),
    height var(--dur-shutter-fast) var(--ease-shutter),
    background-color var(--dur-shutter) var(--ease-shutter);
}
.index-rail a:hover {
  color: rgba(234, 238, 242, 0.86);
}
.index-rail a:hover i {
  width: 22px;
  background: rgba(234, 238, 242, 0.64);
}
.index-rail a.is-current {
  color: #F4F7FA;
  transition: color var(--dur-film-rail) var(--ease-film);
}
.index-rail a.is-current b {
  color: #EAEEF2;
  transition: color var(--dur-film-rail) var(--ease-film);
}
.index-rail a.is-current i {
  width: 32px;
  height: 1px;
  background: #EAEEF2;
  transition:
    width var(--dur-film-rail) var(--ease-film),
    background-color var(--dur-film-rail) var(--ease-film);
}
.index-rail li.rail-tools-start {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.10);
}

/* --------------------------------------------------------------------------
   6b. PHILOSOPHY PAGE: GALLERY OF SILENCE (여백의 미 Showcase)
   -------------------------------------------------------------------------- */
body.philo-page {
  background: #000000 !important;
}
.philo {
  max-width: calc(36em + 2 * var(--gutter));
  padding: calc(var(--mast-h) + 92px) var(--gutter) 144px;
}
.philo-langs {
  gap: 0 32px;
  margin-bottom: 68px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.10);
}
.philo-lang {
  font-weight: 420;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(202, 211, 220, 0.38);
}
.philo-lang[aria-pressed="true"] {
  color: #F4F7FA;
}
.philo-lang[aria-pressed="true"]::after {
  height: 1px;
  background: #EAEEF2;
}
.philo-title {
  font-weight: 330;
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.philo-sub {
  margin-top: 14px;
  font-weight: 380;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(202, 211, 220, 0.42);
}
.philo-sec {
  margin-top: 104px;
  padding-top: 40px;
  border-top: 1px solid rgba(226, 232, 240, 0.09);
}
.philo-h {
  padding-top: 0;
  font-weight: 360;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--work-title);
}
.philo-h::before {
  top: -41px;
  width: 32px;
  height: 1px;
  background: rgba(234, 238, 242, 0.56);
}
.philo-sec p {
  margin-top: 1.25em;
  font-size: 15.5px;
  line-height: 1.94;
  font-weight: 370;
  color: var(--work-prose);
}
.philo-sec .philo-h + p {
  margin-top: 28px;
}
.philo-sec p a {
  color: var(--bone);
  text-decoration-color: rgba(226, 232, 240, 0.34);
}
.philo-sec p a:hover {
  color: #FFFFFF;
  text-decoration-color: #FFFFFF;
}
.philo-sign {
  margin-top: 104px;
  padding-top: 36px;
  border-top: 1px solid rgba(226, 232, 240, 0.10);
}
.philo-motto {
  font-weight: 450;
  font-size: 11.5px;
  letter-spacing: 0.36em;
  color: rgba(216, 223, 230, 0.54);
}
.philo-by {
  margin-top: 10px;
  font-weight: 380;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--bone);
}

/* Preserve warm Arrakis brass ONLY when the hidden 'spice' easter egg is active */
.motto.is-spice,
.intro-motto.is-spice,
body.ee-spice .motto,
body.ee-spice .intro-motto {
  color: #D9A362 !important;
}

/* --------------------------------------------------------------------------
   7. FILM ARTWORK & CAPTION DEVELOP + REDUCED MOTION
   -------------------------------------------------------------------------- */
.plate .art,
.plate .figure,
.plate .plate-cast {
  opacity: 0;
  transition: opacity var(--dur-film-art) var(--ease-film);
}
.plate.is-on .art,
.plate.is-on .figure,
.plate.is-on .plate-cast {
  opacity: 1;
}

.plate .caption > * {
  opacity: 0;
  transform: none !important;
  transition: opacity var(--dur-film-text) var(--ease-film);
}
.plate.is-on .caption > * {
  opacity: 1;
}
.plate.is-on .caption > :nth-child(1) { transition-delay: 0.04s; }
.plate.is-on .caption > :nth-child(2) { transition-delay: 0.095s; }
.plate.is-on .caption > :nth-child(3) { transition-delay: 0.15s; }
.plate.is-on .caption > :nth-child(4) { transition-delay: 0.205s; }
.plate.is-on .caption > :nth-child(5) { transition-delay: 0.26s; }

@media (prefers-reduced-motion: reduce) {
  .nav-panel,
  .lang-menu,
  .get-menu,
  .nav-panel::before,
  .lang-menu::before,
  .get-menu::before,
  .nav-entry,
  .lang-opt,
  .get-opt,
  .cap-line .hl-em {
    animation: none !important;
    transition: none !important;
  }
  .nav-panel::before,
  .lang-menu::before,
  .get-menu::before {
    transform: scaleX(1);
  }
  .cap-line .hl-em {
    background-size: 100% 100%, 100% 1px;
  }
}

/* Seamless #050506 ground on /us so SEELE portrait tiles have zero bottom seam */
body.us-page {
  --void: #050506;
}

/* --------------------------------------------------------------------------
   8. MOBILE (390px+, pure black full-width dropdown, 44px touch targets)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --gutter: 18px;
    --mast-h: 60px;
    --deck-h: 54px;
  }
  .mast {
    gap: 12px;
    padding: 0 18px;
  }
  .brand {
    gap: 8px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.24em;
    margin-right: -0.24em;
  }
  .brand img {
    width: 20px;
    height: 20px;
  }
  .site-nav {
    margin-right: 2px;
  }
  .nav-controls {
    gap: 16px;
  }
  .nav-toggle,
  .lang-btn {
    font-size: 11.5px;
    letter-spacing: 0.14em;
    gap: 6px;
  }
  .nav-panel {
    border-left: 0 !important;
    border-right: 0 !important;
    padding: 22px 24px;
  }
  :is(.v21-cta, .plate .cap-acts .prod-act, .prod .prod-act, .dlbtn) {
    height: 44px;
    min-height: 44px;
  }
  .plate .scrim {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.94) 0%,
      rgba(0, 0, 0, 0.84) 36%,
      rgba(0, 0, 0, 0.22) 60%,
      rgba(0, 0, 0, 0.06) 100%
    );
  }
  .cap-meta {
    margin-bottom: 14px;
  }
  .prod .cap-meta {
    color: rgba(234, 238, 242, 0.80);
  }
  .prod .cap-meta .ch {
    color: #F4F7FA;
  }
  .prod .cap-meta .ch::after {
    background: rgba(234, 238, 242, 0.48);
  }
  .wm-seonjam-h {
    gap: 13px;
  }
  .wm-seonjam-h img {
    height: 44px;
  }
  .wm-seonjam-h .wm-sep {
    height: 18px;
  }
  .wm-seonjam-h .wm-en {
    font-size: 11px;
    letter-spacing: 0.34em;
    margin-right: -0.34em;
  }
  .wm-donguri {
    width: min(228px, 72%);
  }
  .cap-line {
    margin-top: 12px;
    font-size: 16px;
  }
  .plate .cap-text,
  .prod .rail {
    margin-top: 16px;
    padding-top: 14px;
  }
  .plate .cap-text {
    font-size: 13.8px;
    line-height: 1.78;
  }
  .plate .cap-acts {
    margin-top: 20px;
  }
  .prod[data-vis="video"] .stage {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    background: transparent;
  }
  .vis video {
    width: 100%;
    height: auto;
    max-height: none;
  }
  .philo {
    padding: calc(var(--mast-h) + 56px) var(--gutter) 96px;
  }
  .philo-sec {
    margin-top: 72px;
    padding-top: 28px;
  }
  .thread {
    left: 0;
    right: 0;
    padding: 0 var(--gutter);
    height: 32px;
    gap: 6px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
  }
  .thread a {
    max-width: none;
    height: 32px;
    padding-top: 10px;
    pointer-events: auto;
  }
  .thread-line {
    height: 1px;
    background: rgba(234, 238, 242, 0.24);
  }
  .thread a[aria-current="page"] .thread-line {
    height: 1.5px;
    background: #EAEEF2;
  }
  .deck {
    gap: 12px;
    padding: 0 16px;
  }
  .now-num,
  .now-title,
  .next-ch span {
    font-size: 10.5px;
    letter-spacing: 0.12em;
  }
  .next-ch {
    padding-left: 14px;
  }
  .next-ch small {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
}
