/* Yunttopia 전시관 — 주인님 원본 포트폴리오(portfolio/index.html)의 <style>을 그대로 옮긴 것(ASSIGN-22d).
   원본 부분은 고치지 않는다. 사이트에 붙이며 더한 것은 맨 아래 "사이트 덧붙임"에만 둔다. */
/* Layout: 스크롤로 넘기는 이야기. ① 흩어진 실제 화면이 폰 한 대로 모임 → ② 팔도집: 같은 폰이 고정된 채 단계별로 바뀜
   → ③ 숫자 → ④ Nipper: 세로 스크롤이 가로로 → ⑤ 셀러 자동화: 파이프와 도구 칸이 켜짐 → ⑥ 앱 서랍: 모눈 보드 → ⑦ 전체 목록
   고정 무대마다 멈춤 지점(.snap)을 두어 스크롤이 단계 한가운데에서 멈추게 한다. */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F3F4F1;
  --ink: #15191A;
  --muted: #646C6B;
  --line: #E3E6E2;
  --accent: #E8641E;            /* 대봉감 */
  --paper: #F6EFE4;             /* 앱 서랍 메모지 */
  --paper-ink: #3C2F25;
  --night: #0E1116;             /* 어두운 장: 테마와 무관하게 고정 */
  --night-2: #171B22;
  --night-line: #262B33;
  --night-ink: #EEF0F2;
  --night-muted: #9199A3;
  --navy: #0B1630;              /* Nipper 장 */
  --navy-ink: #C9D3EA;
  --navy-accent: #9DB4FF;
  --blue: #3B6CF6;
  --live: #1E8A55; --build: #A87308; --lab: #5466C9; --inhouse: #2F6F8F; --rest: #858A87;
  --f-display: "Gothic A1", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-latin: "Bricolage Grotesque", "Gothic A1", system-ui, sans-serif;
  --f-hand: "Nanum Pen Script", "Gothic A1", cursive;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  /* 글자 크기: 한 단계씩만 쓴다 */
  --fs-hero: clamp(40px, 7.6vw, 104px);
  --fs-h2: clamp(30px, 4vw, 56px);
  --fs-num: clamp(60px, 12vw, 176px);
  --fs-lead: clamp(16px, 1.35vw, 19px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-cap: 12px;
  --hdr: 68px;
  --shadow: 0 30px 60px -28px rgba(20, 24, 26, .35), 0 8px 18px -10px rgba(20, 24, 26, .18);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1213; --bg-soft: #171B1C; --ink: #EDF0EE; --muted: #9AA3A1; --line: #262C2D;
    --accent: #FF8540; --paper: #2A241D; --paper-ink: #EFE3D2;
    --live: #5BCB8E; --build: #E2B54E; --lab: #9DAAF0; --inhouse: #6EB6D8; --rest: #8E9592;
    --shadow: 0 30px 60px -28px rgba(0,0,0,.7), 0 8px 18px -10px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1213; --bg-soft: #171B1C; --ink: #EDF0EE; --muted: #9AA3A1; --line: #262C2D;
  --accent: #FF8540; --paper: #2A241D; --paper-ink: #EFE3D2;
  --live: #5BCB8E; --build: #E2B54E; --lab: #9DAAF0; --inhouse: #6EB6D8; --rest: #8E9592;
  --shadow: 0 30px 60px -28px rgba(0,0,0,.7), 0 8px 18px -10px rgba(0,0,0,.5);
  color-scheme: dark;
}
html { scroll-snap-type: y proximity; }
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-display); font-size: var(--fs-body); line-height: 1.7; overflow-x: clip; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { text-wrap: balance; word-break: keep-all; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.snap { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; pointer-events: none; }

/* 상단 바 */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); pointer-events: none; }
.top .wrap { display: flex; justify-content: space-between; align-items: center; height: var(--hdr); }
.top a, .top nav { pointer-events: auto; }
.logo { font-family: var(--f-latin); font-weight: 800; font-size: 17px; letter-spacing: -.02em; text-decoration: none; padding: 7px 14px; border-radius: 99px; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.logo i { font-style: normal; color: var(--accent); }
.prog { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(var(--doc, 0)); background: var(--accent); z-index: 60; }
.toc { display: flex; gap: 2px; padding: 4px; border-radius: 99px; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13px; }
.toc a { text-decoration: none; padding: 6px 13px; border-radius: 99px; color: var(--muted); }
.toc a.on { background: var(--ink); color: var(--bg); }

/* 공통 */
.pin { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.kicker { display: block; font: 500 var(--fs-cap) var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.h2 { margin: 0; font-weight: 900; font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -.04em; }
.lead { margin: 0; font-size: var(--fs-lead); line-height: 1.7; color: var(--muted); max-width: 28em; }
.cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 99px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: var(--fs-small); text-decoration: none; white-space: nowrap; }
.cta:hover { background: var(--accent); }

/* 폰 프레임 */
.phone { position: relative; width: 300px; max-width: 100%; aspect-ratio: 9 / 19.5; border-radius: 46px; padding: 10px; background: #111; box-shadow: var(--shadow), inset 0 0 0 2px #2b2b2b; }
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #fff; }
.phone .scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 3.6%; translate: -50% 0; border-radius: 99px; background: #111; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.08); }
.browser .bar { height: 30px; display: flex; align-items: center; gap: 6px; padding-inline: 12px; background: #EEF0F2; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #CDD2D6; }
.browser .bar span { margin-left: 10px; font: 11px var(--f-mono); color: #707880; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ① 히어로 */
#hero { height: 250vh; }
#hero .stage { display: grid; place-items: center; background: var(--bg); }
.hero-copy { position: relative; z-index: 5; text-align: center; padding: 32px 28px; display: grid; gap: 22px; justify-items: center; background: radial-gradient(closest-side, var(--bg) 70%, transparent); opacity: calc(1 - var(--p, 0) * 2.4); transform: translateY(calc(var(--p, 0) * -80px)) scale(calc(1 - var(--p, 0) * .12)); }
.who { font: 500 var(--fs-cap) var(--f-mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.hero-copy h1 { margin: 0; font-weight: 900; font-size: var(--fs-hero); line-height: 1.1; letter-spacing: -.05em; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-copy .lead { text-align: center; max-width: 25em; }
.hint { font: var(--fs-cap) var(--f-mono); color: var(--muted); display: grid; justify-items: center; gap: 8px; }
.hint::after { content: ""; width: 1px; height: 30px; background: var(--muted); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
.shard { position: absolute; left: 50%; top: 50%; z-index: 2; will-change: transform; }
.shard > img { border-radius: 14px; box-shadow: var(--shadow); background: #fff; }
.shard .tag { position: absolute; left: 10px; bottom: -13px; font: 700 11px var(--f-display); background: var(--ink); color: var(--bg); padding: 3px 10px; border-radius: 99px; white-space: nowrap; opacity: calc(1 - var(--p, 0) * 3); }
.shard.hero-phone { z-index: 4; }

/* ② 팔도집 */
#paldozip { height: 600vh; background: var(--bg-soft); }
#paldozip .stage { background: var(--bg-soft); }
.pd-grid { height: 100%; display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, .7fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.pd-copy { position: relative; height: 340px; }
.step-text { position: absolute; inset: 0; display: grid; align-content: center; gap: 16px; opacity: 0; transform: translateY(24px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.step-text.on { opacity: 1; transform: none; pointer-events: auto; }
.step-no { font: 500 var(--fs-cap) var(--f-mono); color: var(--muted); letter-spacing: .06em; }
.step-no b { color: var(--accent); font-weight: 500; margin-right: 8px; }
.step-text .lead { max-width: 21em; }
#paldozip .h2 { font-size: clamp(26px, 3.2vw, 46px); white-space: nowrap; }
.nip-head .h2 { white-space: nowrap; }
.scr img.fit { object-fit: contain; background: #FFF8F1; }
.pd-device { position: relative; display: grid; place-items: center; }
.pd-device .phone { width: var(--pw); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.pd-desk { position: absolute; width: min(720px, 56vw); left: 50%; top: 50%; transform: translate(-18%, -50%) translateX(calc((1 - var(--desk, 0)) * 60vw)) rotate(calc((1 - var(--desk, 0)) * 6deg)); opacity: var(--desk, 0); transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .5s; z-index: 3; }
.pd-side { display: grid; gap: 28px; justify-items: start; transition: opacity .4s; }
#paldozip[data-desk="1"] .pd-side { opacity: 0; }
.big-stat b { display: block; font: 800 clamp(40px, 4.6vw, 64px)/1 var(--f-latin); letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.big-stat span { color: var(--muted); font-size: var(--fs-small); }
.dots { display: flex; gap: 6px; }
.dots i { width: 20px; height: 4px; border-radius: 99px; background: var(--line); transition: background .3s, width .3s; }
.dots i.on { background: var(--accent); width: 36px; }

/* ③ 숫자 */
#numbers { height: 220vh; background: var(--night); color: var(--night-ink); }
#numbers .stage { background: var(--night); display: grid; align-content: center; padding-top: var(--hdr); }
.num-rows { display: grid; gap: clamp(16px, 3.5vh, 40px); }
.num-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 17rem); align-items: end; gap: 24px; border-bottom: 1px solid var(--night-line); padding-bottom: clamp(10px, 2vh, 20px); transform: translateX(calc((1 - var(--in, 1)) * 24vw)); opacity: calc(.12 + var(--in, 1) * .88); }
.num-row b { font: 800 var(--fs-num)/.86 var(--f-latin); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.num-row b sup { font-size: .32em; color: var(--accent); vertical-align: top; margin-left: .08em; }
.num-row span { color: var(--night-muted); font-size: var(--fs-small); line-height: 1.6; padding-bottom: .6em; }
.num-row span strong { display: block; color: var(--night-ink); font-size: 18px; font-weight: 700; margin-bottom: 2px; }

/* ④ Nipper */
#nipper { height: 460vh; background: var(--navy); color: #fff; }
#nipper .stage { background: radial-gradient(80% 60% at 70% 20%, #1B3A8A 0%, var(--navy) 60%); display: grid; grid-template-rows: auto minmax(0, 1fr); padding-top: calc(var(--hdr) + 12px); }
.nip-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26em) auto; align-items: end; gap: 16px 40px; }
.nip-head .kicker { color: var(--navy-accent); }
.nip-head .lead { color: var(--navy-ink); font-size: var(--fs-small); }
.nip-head .cta { background: #fff; color: var(--navy); }
.nip-head .cta:hover { background: var(--blue); color: #fff; }
.nip-view { display: grid; align-items: center; overflow: hidden; }
.track { display: flex; gap: 4vw; align-items: center; padding-inline: max(24px, calc((100vw - 1180px) / 2 + 24px)); width: max-content; transform: translateX(var(--tx, 0px)); will-change: transform; }
.slide { margin: 0; width: min(780px, 80vw, calc((100svh - 300px) * 1.5)); display: grid; gap: 14px; }
.slide .browser { transform: rotate(var(--tilt, 0deg)) scale(var(--sc, 1)); transition: transform .3s ease-out; }
.slide figcaption { display: flex; gap: 12px; align-items: baseline; color: var(--navy-ink); font-size: var(--fs-small); }
.slide figcaption b { font: 500 var(--fs-cap) var(--f-mono); color: var(--navy-accent); }
.nip-stats { width: min(380px, 78vw); display: grid; gap: 24px; }
.nip-stats div { border-top: 1px solid #2A3B66; padding-top: 14px; }
.nip-stats b { display: block; font: 800 60px/1 var(--f-latin); letter-spacing: -.04em; margin-bottom: 8px; }
.nip-stats span { color: var(--navy-ink); font-size: var(--fs-small); }

/* ⑤ 셀러 자동화 */
#seller { height: 260vh; background: var(--night); color: var(--night-ink); }
#seller .stage { background: var(--night); display: grid; align-items: center; padding-top: var(--hdr); }
.seller-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.seller-copy .h2 em { font-style: normal; color: var(--accent); font-family: var(--f-latin); }
.seller-copy .lead { color: var(--night-muted); margin: 18px 0 28px; }
.pipe { display: grid; gap: 10px; }
.pipe div { position: relative; overflow: hidden; display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--night-line); background: var(--night-2); font-weight: 700; font-size: 15px; }
.pipe div::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(232,100,30,.3), rgba(232,100,30,.08)); transform-origin: left; transform: scaleX(var(--f, 0)); }
.pipe div span { position: relative; }
.pipe .mono { font: 400 var(--fs-cap) var(--f-mono); color: var(--night-muted); align-self: center; }
.accounts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.acc { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--night-line); background: var(--night-2); display: grid; place-items: center; font: 500 var(--fs-cap) var(--f-mono); color: #4B525C; transition: background .35s, color .35s, transform .35s, border-color .35s; }
.acc.on { background: var(--accent); border-color: var(--accent); color: #1A0D05; transform: scale(1.04); }
.acc-count { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.acc-count b { font: 800 28px var(--f-latin); font-variant-numeric: tabular-nums; }
.acc-count span { color: var(--night-muted); font-size: var(--fs-small); }

/* 일반 섹션 머리 */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24em); align-items: end; gap: 16px 48px; margin-bottom: 48px; }
.sec-head .lead { font-size: var(--fs-body); }

/* ⑥ 앱 서랍 */
#apps { position: relative; padding-block: calc(var(--hdr) + 72px) 96px; background: var(--bg); }
.board { position: relative; border-radius: 22px; border: 1px solid var(--line); background-color: var(--bg-soft); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; padding: 64px 40px 88px 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px 48px; overflow: hidden; }
.board .ruler { position: absolute; left: 0; top: 0; bottom: 0; width: 34px; border-right: 1px solid var(--line); display: grid; grid-auto-rows: 40px; font: 10px var(--f-mono); color: var(--muted); text-align: center; padding-top: 4px; }
.app { position: relative; display: grid; gap: 22px; justify-items: center; align-content: start; transform: translateY(var(--py, 0px)) rotate(var(--rot, 0deg)); }
.app .phone { width: 100%; max-width: 230px; border-radius: 36px; padding: 8px; border: 0; cursor: pointer; }
.app .phone .scr { border-radius: 29px; }
.app .phone::after { top: 16px; }
.app .phone .scr img { opacity: 0; }
.app .phone .scr img.on { opacity: 1; }
.note { position: relative; background: var(--paper); color: var(--paper-ink); padding: 14px 18px 16px; width: 100%; max-width: 250px; transform: rotate(var(--nrot, -2deg)); box-shadow: 0 10px 20px -12px rgba(0,0,0,.35); }
.note::before { content: ""; position: absolute; top: -9px; left: 50%; width: 70px; height: 18px; translate: -50% 0; background: color-mix(in srgb, var(--accent) 35%, transparent); rotate: 3deg; }
.note .st { font: 500 11px var(--f-mono); letter-spacing: .04em; opacity: .7; }
.note h3 { margin: 2px 0 0; font: 400 32px/1.05 var(--f-hand); }
.note p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; }
.icon-wrap { display: grid; place-items: center; width: 100%; max-width: 230px; aspect-ratio: 9 / 19.5; }
.icon-app { width: 64%; aspect-ratio: 1; border-radius: 22%; overflow: hidden; box-shadow: var(--shadow); }
.board .sign { position: absolute; right: 28px; bottom: 22px; font: 400 26px var(--f-hand); color: var(--muted); }

/* ⑦ 전체 목록 */
#works { position: relative; padding-block: calc(var(--hdr) + 56px) 120px; background: var(--bg); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { font: 700 13px var(--f-display); padding: 8px 15px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); cursor: pointer; }
.chip:hover { color: var(--ink); border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip small { font: 11px var(--f-mono); opacity: .6; margin-left: 5px; }
.list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: 7rem minmax(0, 1fr) 9.5rem 5.5rem; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.row:hover { background: var(--bg-soft); padding-inline: 12px; }
.row .cat { font: var(--fs-cap) var(--f-mono); color: var(--muted); }
.row h4 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.4; }
.row p { margin: 3px 0 0; color: var(--muted); font-size: var(--fs-small); line-height: 1.6; }
.row .stack { font: 11.5px var(--f-mono); color: var(--muted); line-height: 1.5; }
.st-pill { justify-self: end; font-size: var(--fs-cap); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.st-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-live { color: var(--live); } .s-build { color: var(--build); } .s-lab { color: var(--lab); } .s-inhouse { color: var(--inhouse); } .s-rest { color: var(--rest); }

footer { background: var(--night); color: var(--night-muted); }
footer .wrap { padding-block: 96px 48px; display: grid; gap: 40px; }
footer h2 { margin: 0; color: var(--night-ink); font-size: clamp(34px, 5.6vw, 76px); font-weight: 900; letter-spacing: -.05em; line-height: 1.14; }
footer h2 em { font-style: normal; color: var(--accent); }
footer .meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font: var(--fs-cap) var(--f-mono); }

/* 태블릿·폰 */
@media (max-width: 960px) {
  :root { --hdr: 60px; }
  .toc { display: none; }
  .pd-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 20px; padding-top: calc(var(--hdr) + 8px); padding-bottom: 24px; align-items: start; }
  .pd-copy { height: 180px; }
  .step-text { align-content: start; gap: 10px; }
  .step-text .lead { font-size: 15px; max-width: 24em; }
  .pd-side { display: none; }
  .pd-device { align-self: center; }
  .pd-desk { width: 94vw; transform: translate(-50%, -50%) translateX(calc((1 - var(--desk, 0)) * 80vw)); }
  .nip-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .nip-head .cta { justify-self: start; }
  .nip-head .kicker { margin-bottom: 10px; }
  .nip-head .lead { display: none; }
  .slide { width: 84vw; }
  .seller-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .seller-copy .lead { display: none; }
  .seller-copy .h2 { margin-bottom: 20px; }
  .accounts { gap: 6px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 44px 16px 64px 48px; gap: 52px 18px; }
  .row { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
  .row .cat, .row .stack { display: none; }
  .num-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .num-row span { padding-bottom: 0; }
}
@media (max-width: 520px) {
  .wrap { padding-inline: 18px; }
  .hero-copy { padding: 24px 12px; gap: 18px; }
  .pipe div { padding: 11px 14px; font-size: 14px; }
  .acc { border-radius: 9px; font-size: 10px; }
  .note { padding: 12px 12px 14px; }
  .note h3 { font-size: 26px; }
  .note p { font-size: 12.5px; }
  .board { padding: 40px 12px 60px 42px; gap: 44px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
  .hint::after { animation: none; }
  .step-text, .phone .scr img, .pd-desk, .acc, .slide .browser, .pd-device .phone { transition: none; }
}

/* ---------- 사이트 덧붙임(ASSIGN-22d·22e): 글꼴, 언어 전환, 머리글 오른쪽, 셀러 도구 칸, 사이트 꼬리말 ---------- */
/* 글꼴: 원본이 Google Fonts에서 불러오던 4종(OFL, assets/fonts/OFL-*.txt)을 사이트 안에 둔다 — 외부 요청 없음.
   전시관 글에 나오는 글자만 남긴 서브셋(tools/subset-fonts.py). 글을 고치면 다시 만든다. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Gothic A1"; src: url("fonts/gothic-a1-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gothic A1"; src: url("fonts/gothic-a1-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gothic A1"; src: url("fonts/gothic-a1-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gothic A1"; src: url("fonts/gothic-a1-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Gothic A1"; src: url("fonts/gothic-a1-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Nanum Pen Script"; src: url("fonts/nanum-pen-script.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
html[data-lang="ko"] .l-en, html[data-lang="en"] .l-ko { display: none !important; }
.top-right { display: flex; align-items: center; gap: 8px; }
.lang-toggle { display: inline-flex; gap: 2px; padding: 4px; border-radius: 99px; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); pointer-events: auto; }
.lang-toggle button { font: 600 12px var(--f-mono); border: 0; background: none; color: var(--muted); padding: 6px 11px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
.lang-toggle button.active { background: var(--ink); color: var(--bg); }
.logo { white-space: nowrap; }
.accounts.tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.accounts.tools .acc { aspect-ratio: 1.6; padding: 8px; text-align: center; font: 700 13px/1.35 var(--f-display); }
.icon-app.smithly { background: #1f2430; display: grid; place-items: center; }
.icon-app.smithly img { width: 100%; height: 100%; }
@media (max-width: 520px) { .accounts.tools .acc { font-size: 11.5px; padding: 6px; } .lang-toggle button { padding: 5px 9px; } }
@media (max-width: 360px) { .top .logo { padding: 7px 11px; font-size: 15px; } .who { letter-spacing: .06em; } } /* 22e: 바뀐 hero 윗줄이 320 영어에서 두 줄로 나뉘지 않게 */
/* 22e-f: 좁은 폭에서는 흩어진 카드가 hero 윗줄(이름) 뒤에 겹쳐 글자가 사진 위에 놓인다. 윗줄에만 바탕을 깔아 읽히게 한다(카드 배치·연출은 원본 그대로) */
@media (max-width: 420px) { .who { position: relative; z-index: 1; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); } }
.site-footer { background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); font-size: 13px; }
.site-footer .wrap { display: block; padding-block: 28px 40px; }
.site-footer .footer-grid { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.site-footer strong { color: var(--night-ink); }
.site-footer p { margin: 0; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--night-ink); }
.site-footer .biz { margin-top: 14px; line-height: 1.7; }
.site-footer .biz a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer .theme-toggle { font: inherit; font-size: 12px; color: var(--night-muted); background: none; border: 1px solid var(--night-line); border-radius: 99px; padding: 3px 12px; cursor: pointer; }
