/* ============================================================
   INDEX MAKER — front styles (Obys-inspired, B&W)
   ============================================================ */
@font-face {
  font-family: "Pretendard";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Pretendard-Light.otf") format("opentype");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Pretendard-Regular.otf") format("opentype");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Pretendard-Medium.otf") format("opentype");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Pretendard-SemiBold.otf") format("opentype");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Pretendard-Bold.otf") format("opentype");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Pretendard-ExtraBold.otf") format("opentype");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Pretendard-Black.otf") format("opentype");
}

:root {
  --bg: #ffffff;
  --ink: #111111;
  --ink-soft: #6b6b66;
  --ink-faint: #c4c2bc;
  --line: rgba(17, 17, 17, .14);
  --accent: #ff4d97;
  --ease: cubic-bezier(.77, 0, .18, 1);
  --header-h: 76px;
  --imgw: min(300px, 36vh);
  --gapv: 22px;
  --gaph: 22px;
}
html { overflow-x: hidden; }

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }

.u-label {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader img { width: min(110px, 24vw); }
.preloader.is-done { opacity: 0; visibility: hidden; }
.page-work .preloader img { display: none; } /* work page has its own intro logo */
.page-detail .preloader { display: none; } /* detail arrives straight from the black wipe */
.page-about .preloader { display: none; } /* about: no logo curtain */

/* ---------- page transition wipe (black + white logo) ---------- */
.wipe {
  position: fixed; inset: 0; z-index: 190;
  background: var(--ink);
  transform: translateY(101%);
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.wipe img { width: min(210px, 44vw); opacity: 0; transition: opacity .3s ease .25s; }
.wipe.is-in  { transition: transform .55s var(--ease); transform: translateY(0); }
.wipe.is-in img { opacity: 1; }
.wipe.is-out { transition: transform .55s var(--ease); transform: translateY(-101%); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 18px 22px 0;
}
.site-header .logo img { height: 44px; width: auto; }
.nav-wrap { display: flex; align-items: baseline; gap: clamp(24px, 4vw, 64px); padding-top: 6px; }
.nav-wrap .clock { font-size: 12px; letter-spacing: .08em; color: var(--ink); white-space: nowrap; }
.site-nav { display: flex; gap: clamp(18px, 3vw, 44px); }
.site-nav a {
  position: relative;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.site-nav a:hover::after, .site-nav a.is-active::after {
  transform: scaleX(1); transform-origin: left;
}

/* ---------- top-right intro (work page) ---------- */
.site-intro {
  position: fixed; top: 92px; right: 22px; z-index: 90;
  width: 300px;
  font-size: 12.5px; line-height: 1.7; color: #3a3a37;
  display: none;
}
.page-work .site-intro { display: block; }
.site-intro .c { margin-top: 16px; }
.site-intro .c a { border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.site-intro .c a:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   WORK — main (looping strip: vertical / horizon)
   ============================================================ */
.page-work {
  height: 100vh; height: 100dvh; overflow: hidden;
  overscroll-behavior: none;
  touch-action: none; /* strip handles its own gestures (stops pull-to-refresh) */
}
html:has(body.page-work) { overscroll-behavior: none; }

/* left edge : work index list (active is JS-centered) */
.work-list {
  position: fixed; left: clamp(14px, 1.6vw, 26px); top: 50%;
  transform: translateY(-50%);
  z-index: 60; width: 220px;
  height: min(400px, 46vh);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
}
.work-list { transition: opacity .32s ease; }
.work-list.fadeswap { opacity: 0; }
.work-list ol { position: relative; height: 100%; }
.work-list li {
  list-style: none;
  position: absolute; left: 0; top: 50%;
  transition: transform .65s var(--ease);
  will-change: transform;
}
.work-list button {
  display: block;
  padding: 2.5px 0;
  font-size: 12.5px; letter-spacing: .01em;
  color: var(--ink-faint);
  transition: color .35s;
  text-align: left;
  white-space: nowrap;
}
.work-list button:hover { color: var(--ink-soft); }
.work-list li.is-active button { color: var(--ink); font-weight: 500; }

/* ---------- strip ---------- */
.strip { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 50; }
.strip::before, .strip::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 120px; z-index: 5; pointer-events: none;
}
.strip::before { top: 0; background: linear-gradient(#fff 15%, rgba(255, 255, 255, 0)); }
.strip::after { bottom: 0; background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%); }
.titem {
  position: absolute; left: 50%; top: 50%;
  width: var(--imgw);
  transform: translate(-50%, -50%);
  will-change: transform;
  pointer-events: auto;
}
/* intro phases */
.strip.mono .titem img { filter: grayscale(1) !important; }
.strip.pre .titem { opacity: 0; }
.strip.pre .titem.pop { opacity: 1; transition: opacity .4s ease; }
.strip.reveal .titem { opacity: 1 !important; transition: opacity .9s ease; }
.titem img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  filter: grayscale(1);
  opacity: .92;
  transition: filter .5s, opacity .5s;
}
.titem.is-on img { filter: none; opacity: 1; }
.strip.intro .titem {
  transition: transform 1.05s var(--ease), opacity .9s ease;
}
.strip.anim .titem {
  transition: transform .95s var(--ease);
}

/* intro logo (work page) */
.intro-logo {
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(238px, 44vw);
  z-index: 45; opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.intro-logo.play { opacity: 1; }
.intro-logo.play img {
  clip-path: inset(0 100% 0 0);
  animation: imLogoReveal 1.15s var(--ease) .1s forwards;
}
@keyframes imLogoReveal { to { clip-path: inset(0 0 0 0); } }
.intro-logo.out { opacity: 0; }

/* UI fades in after intro */
.page-work .site-header, .page-work .site-intro, .page-work .view-switch { transition: opacity .8s ease; }
.frame { transition: opacity .8s ease; }
.page-work:not(.ui-in) .site-header,
.page-work:not(.ui-in) .site-intro,
.page-work:not(.ui-in) .view-switch,
.page-work:not(.ui-in) .work-list,
.page-work:not(.ui-in) .frame,
.page-work:not(.ui-in) .h-cat,
.page-work:not(.ui-in) .h-meta,
.page-work:not(.ui-in) .h-num,
.page-work:not(.ui-in) .h-rule { opacity: 0; pointer-events: none; }

/* active frame : logo "!" brackets at both sides */
.frame {
  position: fixed; left: 50%; top: 50%;
  width: calc(var(--imgw) + 64px); height: var(--imgw);
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 65;
}
.frame i {
  position: absolute; width: 7px; border-radius: 2px; background: var(--ink);
  transition: transform .4s var(--ease);
}
.frame.hide i { transform: scale(0); transition-delay: 0s !important; }
.frame i:nth-child(1) { transition-delay: .05s; }
.frame i:nth-child(2) { transition-delay: .22s; }
.frame i:nth-child(3) { transition-delay: .12s; }
.frame i:nth-child(4) { transition-delay: .3s; }
.frame i:nth-child(1) { left: 0; top: 15%; height: 50%; }
.frame i:nth-child(2) { left: 0; bottom: 15%; height: 13%; background: var(--accent); }
.frame i:nth-child(3) { right: 0; bottom: 15%; height: 50%; }
.frame i:nth-child(4) { right: 0; top: 15%; height: 13%; background: #38b6ff; }

/* horizon : brackets rotate to top / bottom (side works would cover them) */
.view-horizon .frame {
  width: var(--imgw); height: calc(var(--imgw) + 64px);
}
.view-horizon .frame i { height: 7px; }
.view-horizon .frame i:nth-child(1) { top: 0; left: 15%; width: 50%; bottom: auto; right: auto; }
.view-horizon .frame i:nth-child(2) { top: 0; right: 15%; width: 13%; bottom: auto; left: auto; }
.view-horizon .frame i:nth-child(3) { bottom: 0; right: 15%; width: 50%; top: auto; left: auto; }
.view-horizon .frame i:nth-child(4) { bottom: 0; left: 15%; width: 13%; top: auto; right: auto; }

/* meta around the centered image */
.h-cat, .h-meta, .h-num {
  position: fixed; z-index: 60;
  transition: opacity .22s ease, transform .22s ease;
}
.h-cat {
  top: 50%; transform: translateY(-50%);
  right: calc(50% + var(--imgw) / 2 + clamp(24px, 4vw, 56px));
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink);
}
.h-meta {
  top: 50%; transform: translateY(-50%);
  left: calc(50% + var(--imgw) / 2 + clamp(24px, 4vw, 56px));
  max-width: 240px;
}
.h-meta .t { font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; }
.h-meta .cl { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 7px; }
.h-num {
  top: 50%; transform: translateY(-50%);
  right: 22px;
  font-size: 13px; letter-spacing: .06em;
  transition: opacity .32s ease;
}
.h-num.fadeswap { opacity: 0 !important; }
.h-cat.swap { opacity: 0; transform: translateY(calc(-50% + 8px)); }
.h-meta.swap { opacity: 0; transform: translateY(calc(-50% + 8px)); }
.h-num.swap { opacity: 0; }

/* horizon : list bottom-right + number / rule / category row (Obys) */
.view-horizon .work-list {
  left: auto; right: 210px;
  top: auto; bottom: 54px;
  transform: none;
  height: min(240px, 28vh);
}
.view-horizon .h-meta { display: none; }
.h-rule { display: none; }
.view-horizon .h-rule {
  display: block;
  position: fixed; left: 50%; right: 22px;
  bottom: calc(54px + min(240px, 28vh) / 2 - 12px);
  height: 1px; background: var(--line);
  z-index: 59;
}
.view-horizon .h-num {
  left: 50%; right: auto; top: auto;
  bottom: calc(54px + min(240px, 28vh) / 2 - 6px);
  transform: none;
  font-size: 12px;
}
.view-horizon .h-cat {
  left: auto; right: 22px; top: auto;
  bottom: calc(54px + min(240px, 28vh) / 2 - 5px);
  transform: none;
}
.view-horizon .h-num.swap { opacity: 0; }
.view-horizon .h-cat.swap { opacity: 0; transform: translateY(6px); }

/* ---------- view switch (bottom-left) ---------- */
.view-switch {
  position: fixed; left: 22px; bottom: 26px; z-index: 80;
  display: flex; gap: 20px;
}
.view-switch button {
  position: relative;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); padding: 4px 0;
  transition: color .3s;
}
.view-switch button::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.view-switch button:hover { color: var(--ink); }
.view-switch button.is-active { color: var(--ink); }
.view-switch button.is-active::after { transform: scaleX(1); transform-origin: left; }

/* reveal */
.rv { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: translateY(0); }
.rv.rv-instant { transition: none !important; }

/* ============================================================
   WORK — detail (fixed left meta + right image column)
   ============================================================ */
.page-detail {
  background: var(--bg); touch-action: pan-y;
  scrollbar-width: none; -ms-overflow-style: none;
}
html:has(body.page-detail) { overscroll-behavior-y: none; scroll-behavior: auto; }
.page-detail::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0;
  height: 120px; z-index: 40; pointer-events: none;
  background: linear-gradient(#fff 15%, rgba(255, 255, 255, 0));
}
.page-detail::-webkit-scrollbar { display: none; width: 0; }
html:has(body.page-detail) { scrollbar-width: none; }
.wd2-meta {
  position: fixed; left: 22px; top: 50%;
  transform: translateY(-50%);
  z-index: 50; max-width: 300px;
}
.wd2-meta .u-label { display: block; margin-bottom: 14px; }
.wd2-meta h1 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.wd2-meta .rows { margin-top: 22px; font-size: 13px; line-height: 1.9; color: #3a3a37; }
.wd2-meta .rows b { font-weight: 500; color: var(--ink); }
.wd2-back {
  position: fixed; left: 22px; bottom: 26px; z-index: 50;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.wd2-back:hover { color: var(--ink); border-color: var(--ink); }

.wd2-images {
  margin-left: auto;
  width: min(58vw, 980px);
  padding: calc(var(--header-h) + 8vh) clamp(16px, 3vw, 48px) 16vh 0;
  display: flex; flex-direction: column; gap: 5vh;
}
.wd2-images img { width: 100%; height: auto; will-change: transform; }

/* video thumbnail with play overlay */
.wd2-video { position: relative; margin: 0; }
.wd2-video .video-play {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  position: relative; cursor: pointer; color: #fff;
}
.wd2-video .video-play img { aspect-ratio: 16 / 9; object-fit: cover; transition: filter .35s ease; }
.wd2-video .video-play:hover img { filter: brightness(.78); }
.wd2-video .play-icon {
  position: absolute; left: 50%; top: 50%;
  width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.wd2-video .play-icon svg { width: 100%; height: 100%; display: block; transition: transform .35s var(--ease); }
.wd2-video .video-play:hover .play-icon svg { transform: scale(1.08); }

/* video modal */
.video-modal {
  position: fixed; inset: 0; z-index: 220;
  background: rgba(0, 0, 0, .88);
  display: none; align-items: center; justify-content: center;
  padding: clamp(20px, 5vw, 60px);
}
.video-modal.is-open { display: flex; }
.video-modal-inner {
  position: relative; width: min(100%, 1280px);
  aspect-ratio: 16 / 9; background: #000;
}
.video-modal-inner iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-modal-close {
  position: absolute; top: 22px; right: 26px;
  width: 40px; height: 40px;
  font-size: 32px; line-height: 1; color: #fff;
  background: none; border: 0; cursor: pointer;
  transition: transform .25s ease;
}
.video-modal-close:hover { transform: rotate(90deg); }

/* brand "!" shape (from the logo's i)
   fixed siblings — no wrapper, so mix-blend reaches the page beneath */
.wd2-bar, .wd2-dot {
  position: fixed;
  left: calc(100% - min(58vw, 980px) - clamp(16px, 3vw, 48px) - 65px);
  width: 130px;
  border-radius: 14px;
  pointer-events: none;
  z-index: 10; /* paint above the (transformed) images so the blend sees them */
}
.wd2-bar {
  top: calc(50% - 235px); height: 290px;
  background: #fff;
  mix-blend-mode: difference; /* black on white, inverted over images */
}
.wd2-dot {
  top: calc(50% + 105px); height: 130px;
  background: var(--accent);
  mix-blend-mode: multiply;   /* pink on white, tinted over images */
}


/* ============================================================
   ABOUT — Tom Sears inspired editorial layout (B&W)
   ============================================================ */
.about { padding-top: calc(var(--header-h) + 6vh); overflow: hidden; }

/* headline */
.ab-hero { padding: 4vh clamp(20px, 5vw, 72px) 10vh; max-width: 1520px; margin: 0 auto; }
.ab-headline {
  font-weight: 500; letter-spacing: -.03em; line-height: .96;
  font-size: clamp(44px, 8.6vw, 148px);
  text-transform: uppercase;
  text-align: center;
}
.ab-headline em { font-style: normal; color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.ab-headline .dot { color: var(--ink); }
.ab-headline .nb { white-space: nowrap; }

/* two-column rows: label / body */
.ab-intro { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px) 2.4vh; }
.ab-row {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 40px; padding: 44px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.ab-row:last-child { border-bottom: 1px solid var(--line); }
.ab-label {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); padding-top: 6px;
}
.ab-body { max-width: 780px; }
.ab-body p { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.8; color: #222; }
.ab-body p + p { margin-top: 14px; }
.ab-body p em {
  font-style: normal; font-weight: 700; letter-spacing: .02em;
}
.ab-body p.ab-en { color: var(--ink-soft); font-size: clamp(13px, 1.2vw, 15px); }
.ab-body p.ab-en em { -webkit-text-stroke: 0; color: var(--ink); }
.ab-stats span i { display: inline-block; margin-top: 2px; font-style: normal; color: #888; font-size: 12px; letter-spacing: .01em; }
.ab-svc p i { display: inline-block; margin-top: 4px; font-style: normal; color: #888; font-size: 12.5px; }

/* numbers */
.ab-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ab-stats b {
  display: block; font-size: clamp(38px, 5vw, 68px);
  font-weight: 600; letter-spacing: -.03em; line-height: 1;
}
.ab-stats span { display: block; margin-top: 10px; font-size: 12.5px; color: var(--ink-soft); }

/* services */
.ab-svc { list-style: none; display: grid; gap: 6px; }
.ab-svc li {
  display: grid; grid-template-columns: 48px 200px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px dashed rgba(0,0,0,.14);
  align-items: baseline;
}
.ab-svc li:last-child { border-bottom: 0; }
.ab-svc .no {
  font-size: 11px; letter-spacing: .15em; color: var(--ink-soft);
}
.ab-svc h3 {
  font-size: clamp(16px, 1.7vw, 20px); font-weight: 600; letter-spacing: -.01em;
}
.ab-svc p { font-size: 13.5px; line-height: 1.7; color: #444; }

/* contact */
.ab-mail {
  display: inline-block; position: relative;
  font-size: clamp(22px, 3.4vw, 44px);
  font-weight: 600; letter-spacing: -.02em;
}
.ab-mail::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--ink); transform: scaleX(1); transform-origin: left;
  transition: transform .5s var(--ease);
}
.ab-mail:hover::after { transform: scaleX(0); transform-origin: right; }
.ab-addr { margin-top: 26px; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.ab-addr .ab-map { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.ab-addr .ab-map:hover { color: var(--accent); }

/* giant wordmark — outline only, always fits width, cropped to half height */
.ab-wordmark {
  /* 10 letters + tight tracking → ~11.4vw per letter keeps it edge-safe */
  font-size: 12vw;
  font-weight: 700; letter-spacing: -.05em; line-height: 1;
  white-space: nowrap; user-select: none; pointer-events: none;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--ink);
  text-align: center;
  display: block;
  margin: 1.2vh 0 0;
  /* show only the top half */
  height: .5em;
  overflow: hidden;
}

/* ---------- footer (about page) ---------- */
.site-footer {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 26px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
}
.page-work .site-footer { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1240px) {
  .site-intro { display: none !important; }
}
@media (max-width: 820px) {
  :root { --header-h: 62px; --imgw: min(62vw, 40vh); --gapv: 100px; --gaph: 14px; }
  .site-header { padding: 14px 16px 0; }
  .site-header .logo img { height: 32px; }
  .nav-wrap .clock { display: none; }
  .site-nav { flex-direction: column; gap: 6px; align-items: flex-end; }
  .work-list { display: none !important; }

  .h-cat {
    right: auto; left: 50%; top: calc(50% - var(--imgw) / 2 - 34px);
    transform: translateX(-50%);
  }
  .h-meta {
    left: 50%; top: calc(50% + var(--imgw) / 2 + 16px);
    transform: translateX(-50%);
    text-align: center; max-width: 80vw;
  }
  .h-cat.swap, .h-meta.swap { opacity: 0; transform: translateX(-50%) translateY(8px); }
  .h-num { right: 16px; }

  /* horizon mobile : same meta layout as vertical, number centered at bottom */
  .view-horizon .h-rule { display: none; }
  .view-horizon .h-cat {
    right: auto; left: 50%; top: calc(50% - var(--imgw) / 2 - 58px); bottom: auto;
    transform: translateX(-50%); font-size: 12px;
  }
  .view-horizon .h-cat.swap { opacity: 0; transform: translateX(-50%) translateY(8px); }
  .view-horizon .h-meta {
    display: block;
    left: 50%; top: calc(50% + var(--imgw) / 2 + 46px); bottom: auto;
    transform: translateX(-50%); text-align: center;
  }
  .view-horizon .h-meta.swap { opacity: 0; transform: translateX(-50%) translateY(8px); }
  .view-horizon .h-num {
    left: 50%; right: auto; top: auto; bottom: 22px;
    transform: translateX(-50%); font-size: 13px;
  }
  .view-horizon .h-num.swap { opacity: 0; }

  /* detail : top / bottom fades */
  /* 모바일 상세: 상단 페이드만 유지, 하단 페이드는 제거 */
  .page-detail::before {
    content: ""; position: fixed; left: 0; right: 0;
    z-index: 40; pointer-events: none;
    top: 0; height: 130px;
    background: linear-gradient(#fff 20%, rgba(255, 255, 255, 0));
  }
  .page-detail::after { display: none; }

  .view-switch { left: 16px; bottom: 18px; gap: 8px; flex-direction: column; align-items: flex-start; }

  /* fixed info block (category · brand · client · scope) below the header */
  .wd2-meta {
    position: fixed; top: calc(var(--header-h) + 16px);
    left: 16px; right: 16px;
    transform: none; padding: 0; max-width: none;
    z-index: 45;
    transition: opacity .35s ease;
  }
  .wd2-meta.fade { opacity: 0; }
  .wd2-images { width: 100%; padding: 48vh 16px 14vh; } /* top padding refined by JS */
  .wd2-bar, .wd2-dot { display: none; }
  .wd2-back { display: none; }

  /* about — mobile */
  .ab-row { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .ab-label { padding-top: 0; }
  .ab-stats { grid-template-columns: 1fr; gap: 20px; }
  .ab-svc li { grid-template-columns: 40px 1fr; gap: 12px; }
  .ab-svc li h3 { grid-column: 2; }
  .ab-svc li p { grid-column: 2; }
}
@media (max-width: 480px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 11px; letter-spacing: .1em; }
}
