/* 쿼카의 AI 스쿱마켓 — Q.U.O.K.A 2026 포트폴리오
   흰 바탕 + 라일락 한 가지를 주인공으로, 분야색은 점·띠로만 씁니다.
   메뉴마다 화면 하나(.view) — 긴 스크롤 없음 */

:root {
  --lilac: #9A7CF2;
  --lilac-deep: #6E4FE0;
  --lilac-tint: #EEE8FF;
  --mist: #F6F4FC;
  --midnight: #15123A;
  --indigo: #2E2580;
  --magenta: #E2358D;
  --paper: #FFFFFF;
  --white: #FFFFFF;
  --ink: #15123A;
  --ink-2: #4B4767;
  --muted: #8A86A0;
  --line: #ECE9F3;
  --line-2: #DCD7EA;
  --holo: linear-gradient(115deg, #E9E1FF 0%, #F6D9F0 35%, #FFFFFF 55%, #DCD1FB 80%, #E9E1FF 100%);
  --f: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --display: 'Wanted Sans Variable', 'Wanted Sans', 'Pretendard Variable', sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --head: 72px;
  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font: 400 16px/1.65 var(--f); letter-spacing: -0.015em; word-break: keep-all;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.menu-open { overflow: hidden; }
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-weight: 700; }
:focus-visible { outline: 2px solid var(--lilac-deep); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
#chrome-top { display: contents; }

/* ── 버튼 ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 99px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink); font-weight: 600; font-size: 15.5px; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { border-color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--lilac-deep); border-color: var(--lilac-deep); }
.btn-line { background: transparent; }
.btn-lilac { background: var(--lilac-deep); border-color: var(--lilac-deep); color: #fff; }
.btn-lilac:hover { background: var(--ink); border-color: var(--ink); }
.btn-white { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-white:hover { background: #fff; color: var(--ink); }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--lilac-tint); border-color: var(--lilac-tint); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ── 머리 ──────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
/* 흐림은 가상 요소에 — 머리에 직접 걸면 모바일 메뉴(fixed)가 머리 안에 갇혀요 */
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
body.menu-open .site-head::before { background: #fff; }
.site-head .wrap { display: flex; align-items: center; gap: 20px; height: var(--head); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark { width: 42px; height: 42px; filter: drop-shadow(0 2px 4px rgba(21, 18, 58, .18)); }
.logo-text { display: grid; line-height: 1.15; }
.logo-text b { font-size: 17px; font-weight: 750; letter-spacing: -0.045em; }
.logo-text b em { font-style: normal; color: var(--lilac-deep); }
.logo-text small { font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .08em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { position: relative; padding: 8px 12px; font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -15px; height: 2px; border-radius: 2px; background: var(--lilac-deep); }
.nav .nav-cta { display: none; }
.festa-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; background: var(--lilac-tint); color: var(--lilac-deep); font-size: 13px; font-weight: 600; white-space: nowrap; }
.festa-pill b { font-weight: 750; }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -8px; border: 0; background: transparent; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ── 화면 공통 ─────────────────────────── */
.view { padding-bottom: clamp(72px, 9vw, 120px); animation: view-in .5s var(--ease) both; }
.view[hidden] { display: none; }
@keyframes view-in { from { opacity: 0; transform: translateY(10px); } }
.view-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: end; gap: 24px 48px; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(28px, 3.4vw, 44px); }
.view-head[hidden] { display: none; }
.view-head h1, .album-head h1 { margin: 0; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.1; letter-spacing: -0.05em; font-weight: 720; }
.view-desc { margin: 0; color: var(--ink-2); font-size: 16.5px; }
.eyebrow { margin: 0 0 14px; font-size: 12.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac-deep); }
.sub-h { margin: 56px 0 20px; font-size: 22px; letter-spacing: -0.035em; display: flex; align-items: baseline; gap: 8px; }
.sub-h small { font-size: 15px; color: var(--muted); font-weight: 600; }

/* 분야 고르기 (세그먼트) */
.seg { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.seg button { height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: 14.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: all .2s; }
.seg button img { width: 20px; height: 20px; object-fit: contain; margin-left: -4px; }
.seg button:hover { border-color: var(--ink); color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ── 홈 ────────────────────────────────── */
/* 부스 사진 한 장이 히어로 — 왼쪽 인디고 벽에 제목을 얹어요 */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(16px, 2.4vw, 28px); border-radius: var(--r-xl); background: #251E6E; color: #fff; min-height: clamp(520px, 44vw, 640px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(31, 25, 96, .92) 0%, rgba(31, 25, 96, .7) 32%, rgba(31, 25, 96, 0) 56%); }
.hero-copy { padding: clamp(36px, 5vw, 72px); max-width: 640px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 14px 7px 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .86); }
.kicker img { width: 20px; height: auto; }
.kicker b { color: #fff; font-weight: 750; }
.display { margin: 0; font-family: var(--display); font-size: clamp(52px, 7.2vw, 110px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 480; }
.wt-c { display: inline-block; white-space: pre; text-align: center; }
.display em {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: .86em; vertical-align: .06em;
  font-style: normal; display: inline-block; padding: 0 .16em .04em; margin: 0 .02em;
  border-radius: .22em; background: var(--lilac); color: #fff; transform: rotate(-4deg) translateY(-.04em);
  box-shadow: 0 .14em .34em -.1em rgba(0, 0, 0, .35);
}
.hero-lede { margin: 28px 0 0; max-width: 430px; font-size: clamp(16px, 1.3vw, 18px); color: rgba(255, 255, 255, .82); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.hero-beads { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-beads-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bead-rain { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.diamond-cursor { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 90; pointer-events: none; }
.hb { position: absolute; height: auto; filter: drop-shadow(0 14px 18px rgba(10, 6, 40, .45)); animation: float 7s ease-in-out infinite; }
.hb-1 { width: clamp(44px, 4.6vw, 68px); left: 44%; top: 13%; }
.hb-2 { width: clamp(30px, 3vw, 44px); left: 49%; top: 34%; animation-delay: -2s; }
.hb-3 { width: clamp(40px, 4vw, 58px); left: 41%; bottom: 14%; animation-delay: -4s; }
.hb-4 { width: clamp(24px, 2.4vw, 34px); left: 36%; top: 7%; animation-delay: -5.5s; }
@keyframes float { 50% { transform: translateY(-12px) rotate(8deg); } }

/* 홀로그램 카드 진열대 */
.shelf { padding-top: clamp(56px, 7vw, 88px); }
.shelf-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 3vw, 36px); }
.shelf-head .eyebrow { margin-bottom: 10px; }
.shelf-head h2 { margin: 0; font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.045em; }
.card-shelf { display: flex; justify-content: center; padding: 34px 0 28px; perspective: 1400px; }
.holo {
  position: relative; flex: 0 0 auto; width: clamp(124px, 13.2vw, 176px); margin-left: clamp(-36px, -2.6vw, -18px);
  border-radius: 12px; z-index: var(--i); transform-style: preserve-3d;
  transform: rotate(calc((var(--i) - 3.5) * 2.2deg)) translateY(calc((var(--i) - 3.5) * (var(--i) - 3.5) * 1.6px));
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  box-shadow: 0 18px 30px -18px rgba(21, 18, 58, .55);
}
.holo:first-child { margin-left: 0; }
.holo img { width: 100%; height: auto; border-radius: 12px; }
.holo::after {
  content: ""; position: absolute; inset: 0; border-radius: 12px; opacity: 0; transition: opacity .35s; mix-blend-mode: soft-light; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .95), transparent 45%), var(--holo);
}
.holo:hover, .holo:focus-visible { z-index: 20; box-shadow: 0 40px 50px -26px rgba(21, 18, 58, .6); transform: translateY(-26px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.06); }
.holo:hover::after { opacity: .8; }

/* ── 성과 카드 ─────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.card { display: block; }
.card[hidden] { display: none; }
.card .thumb { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: var(--c); isolation: isolate; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card .thumb::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .85), transparent 42%), var(--holo);
}
.card:hover .thumb img { transform: scale(1.045); }
.card:hover .thumb::after { opacity: .75; }
.card-meta { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.card-meta i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.card-meta .num { margin-left: auto; color: var(--muted); font-weight: 500; }
.card h3 { margin: 8px 0 0; font-size: 19px; line-height: 1.38; letter-spacing: -0.04em; transition: color .2s; }
.card:hover h3 { color: var(--lilac-deep); }
.card .fmt { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

/* ── 활동 장면 ─────────────────────────── */
.scene-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.scene-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.scene-list button {
  width: 100%; display: grid; grid-template-columns: 30px 1fr; align-items: center; text-align: left;
  padding: 15px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  color: var(--muted); font-weight: 600; font-size: 15.5px; transition: color .2s, padding .3s var(--ease);
}
.scene-list button span { font-size: 12.5px; font-weight: 500; }
.scene-list button:hover { color: var(--ink); }
.scene-list button[aria-selected="true"] { color: var(--ink); padding-left: 12px; box-shadow: inset 3px 0 0 var(--c); }
.mosaic-stage { overflow: hidden; border-radius: var(--r-lg); }
.scene-cap { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 18px; font-size: 15px; color: var(--ink-2); }

/* ── 사진 ──────────────────────────────── */
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.photo-grid figure, .photo-masonry figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--mist); cursor: zoom-in; }
.photo-grid figure { aspect-ratio: 4 / 3; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-grid figure:hover img, .photo-masonry figure:hover img { transform: scale(1.035); }
.photo-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; color: #fff; font-size: 13px; background: linear-gradient(transparent, rgba(21, 18, 58, .78)); opacity: 0; transition: opacity .3s; }
.photo-grid figure:hover figcaption, .photo-grid figure:focus-visible figcaption { opacity: 1; }
.photo-grid figcaption b { display: block; font-size: 14px; font-weight: 600; }
.photo-grid video, .photo-masonry video { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-masonry video { height: auto; }
.play-badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 7px; border-radius: 99px; background: rgba(21, 18, 58, .62); color: #fff; font-size: 12px; font-weight: 650; pointer-events: none; }
.play-badge svg { width: 14px; height: 14px; fill: currentColor; }
.lightbox video { max-height: calc(100vh - 150px); max-width: 100%; border-radius: 12px; background: #000; }
/* 운영진 바로 고치기 */
.edit-bar { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 10px 12px 10px 14px; border: 1px dashed var(--lilac); border-radius: var(--r-md); background: var(--lilac-tint); }
.edit-bar p { flex: 1; margin: 0; font-size: 13.5px; color: var(--ink-2); }
.edit-tag { padding: 3px 9px; border-radius: 99px; background: var(--lilac-deep); color: #fff; font-size: 12px; font-weight: 700; }
.ph-cover { display: none; position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 99px; background: var(--lilac-deep); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 4px 12px -6px rgba(21, 18, 58, .6); }
.is-editing .ph-cover { display: block; }
.ph-tools { display: none; position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; gap: 4px; }
.is-editing .ph-tools { display: flex; }
.is-editing figure[data-i] { cursor: default; outline: 2px solid transparent; }
.is-editing figure[data-i]:hover { outline-color: var(--lilac); }
.is-editing .photo-grid figcaption { opacity: 0 !important; }
.ph-tools button { flex: 1; display: grid; place-items: center; height: 32px; padding: 0 6px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12.5px; font-weight: 650; cursor: pointer; box-shadow: 0 4px 12px -6px rgba(21, 18, 58, .5); }
.ph-tools button svg { width: 16px; height: 16px; }
.ph-tools button:hover:not(:disabled) { background: var(--lilac-deep); color: #fff; }
.ph-tools [data-act="del"]:hover:not(:disabled) { background: var(--magenta); }
.ph-tools button:disabled { opacity: .45; cursor: default; }
.photo-masonry { columns: 3 280px; column-gap: 14px; }
.photo-masonry figure { break-inside: avoid; margin-bottom: 14px; }
.photo-masonry img { width: 100%; transition: transform .6s var(--ease); }

/* ── 행사 갤러리 ───────────────────────── */
.albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.album .cover { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.album .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.album:hover .cover img { transform: scale(1.045); }
.album .count { position: absolute; left: 14px; bottom: 14px; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 650; }
.album-meta { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 0; font-size: 13px; font-weight: 600; color: var(--lilac-deep); }
.album-meta span { color: var(--line-2); }
.album h3 { margin: 6px 0 0; font-size: 20px; line-height: 1.38; letter-spacing: -0.04em; transition: color .2s; }
.album:hover h3 { color: var(--lilac-deep); }
.album-head { display: grid; justify-items: start; padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 3.4vw, 40px); }
.album-head .back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 36px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.album-head .back svg { width: 18px; height: 18px; }
.album-head .back:hover { color: var(--ink); }
.album-head .view-desc { margin-top: 16px; max-width: 640px; }
.album-head .link-arrow { margin-top: 20px; }
.album-wait { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 16px; border-radius: var(--r-xl); background: var(--mist); }
.album-wait img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); }
.album-wait p { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink-2); letter-spacing: -0.03em; }

/* ── 목록 (언론보도·소식) ─────────────── */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rows li > * { display: grid; grid-template-columns: 120px minmax(0, 1fr) 20px; gap: 24px; align-items: center; padding: 24px 4px; border-bottom: 1px solid var(--line); transition: background .2s, padding .3s var(--ease); }
.rows time { font-size: 14px; color: var(--muted); }
.rows b { font-weight: 600; font-size: 17px; letter-spacing: -0.03em; }
.rows svg { width: 20px; height: 20px; color: var(--muted); }
.rows a:hover { background: var(--mist); padding-inline: 16px; }
.rows a:hover b { color: var(--lilac-deep); }
.press li > * { grid-template-columns: 120px 140px minmax(0, 1fr) 20px; }
.press .src { font-size: 14px; font-weight: 650; color: var(--lilac-deep); }
/* 언론보도: 주제별 묶음 */
.press-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 40px; }
.press-sum div { padding: 18px 20px 16px; border-radius: var(--r-lg); background: var(--mist); }
.press-sum dt { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.press-sum dd { margin: 4px 0 0; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.1; color: var(--ink); letter-spacing: -0.02em; }
.press-group { margin-bottom: 44px; }
.press-group > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.press-group .eyebrow { margin-bottom: 6px; }
.press-group h2 { margin: 0; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.04em; }
.press-list { list-style: none; margin: 0; padding: 0; }
.press-list li > * { display: grid; grid-template-columns: 132px minmax(0, 1fr) 96px 92px; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); transition: background .2s, padding .25s var(--ease); }
.press-list a:hover { background: var(--mist); padding-left: 12px; }
.press-list .outlet { justify-self: start; padding: 5px 11px; border-radius: 99px; background: var(--lilac-tint); color: var(--lilac-deep); font-size: 13px; font-weight: 700; white-space: nowrap; }
.press-list b { font-size: 16.5px; font-weight: 650; letter-spacing: -0.035em; line-height: 1.45; }
.press-list time { font-size: 14px; color: var(--muted); }
.press-list .go { display: inline-flex; align-items: center; gap: 4px; justify-self: end; font-size: 13.5px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.press-list .go svg { width: 15px; height: 15px; }
.press-list a:hover .go { color: var(--lilac-deep); }
@media (max-width: 760px) {
  .press-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press-group > header { flex-direction: column; align-items: flex-start; }
  .press-list li > * { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .press-list .go { justify-self: start; }
}
.news-layout { display: grid; gap: 32px; align-items: start; }
.news-layout.has-cal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cal-frame { width: 100%; min-height: 460px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }

/* ── 연구회 소개 ───────────────────────── */
.mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.mission-copy p { margin: 0 0 18px; font-size: 17.5px; color: var(--ink-2); }
.mission figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-xl); }
.mission figure img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.booth { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(72px, 9vw, 112px); align-items: stretch; }
.booth-head { padding-right: 16px; align-self: center; }
.booth-head h2 { margin: 0 0 14px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -0.045em; }
.booth-head p:last-child { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.booth figure { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; padding: 16px 16px 14px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.booth figure img { width: 100%; height: 100%; max-height: 340px; object-fit: contain; }
.booth figcaption { font-size: 13.5px; font-weight: 650; color: var(--ink-2); text-align: center; }
.channels { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.channel { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 99px; border: 1px solid var(--line-2); font-weight: 600; font-size: 14.5px; transition: border-color .2s; }
.channel svg { width: 20px; height: 20px; color: var(--lilac-deep); }
.channel:hover { border-color: var(--ink); }
/* 함께하는 사람들 */
.people { margin-top: clamp(72px, 9vw, 112px); }
.people-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 28px; }
.people-head h2 { margin: 0; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; letter-spacing: -0.045em; }
.people-n { font-family: var(--display); font-weight: 850; font-size: 1.9em; line-height: .9; color: var(--lilac-deep); letter-spacing: -0.04em; margin-right: 4px; vertical-align: -0.08em; }
.people-stats { display: flex; gap: 10px; margin: 0; }
.people-stats div { min-width: 104px; padding: 14px 18px 12px; border-radius: var(--r-md); background: var(--mist); }
.people-stats dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.people-stats dd { margin: 2px 0 0; font-family: var(--display); font-size: 32px; font-weight: 800; line-height: 1.1; color: var(--ink); }
.people-grid { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 16px; }
.people-box { padding: 24px 24px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.people-box h3 { margin: 0 0 16px; font-size: 17px; letter-spacing: -0.03em; }
.people-box > p { margin: -6px 0 16px; font-size: 14.5px; color: var(--ink-2); }
.people-box ul { list-style: none; margin: 0; padding: 0; }
.branch-list { display: grid; gap: 14px; }
.branch-list li { display: flex; gap: 12px; align-items: flex-start; }
.branch-list i { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; }
.branch-list b { display: block; font-size: 15.5px; font-weight: 650; letter-spacing: -0.03em; }
.branch-list small { margin-left: 4px; padding: 1px 7px; border-radius: 99px; background: var(--lilac-tint); color: var(--lilac-deep); font-size: 11.5px; font-weight: 650; vertical-align: 1px; }
.branch-list span { font-size: 14px; color: var(--muted); }
.region-list { display: flex; flex-wrap: wrap; gap: 8px; }
.region-list li { padding: 8px 14px; border-radius: 99px; background: var(--holo); font-weight: 650; font-size: 14.5px; }
.project-list { display: grid; gap: 10px; }
.project-list li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.project-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 2px; background: var(--lilac); transform: rotate(45deg); }
.partners { display: flex; align-items: baseline; gap: 12px 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.partners h3 { flex: none; margin: 0; font-size: 14px; font-weight: 650; color: var(--muted); }
.partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.partners li { font-size: 15px; font-weight: 600; color: var(--ink-2); }
@media (max-width: 960px) {
  .people-grid { grid-template-columns: 1fr; }
  .partners { flex-direction: column; }
}
@media (max-width: 640px) {
  .people-stats { width: 100%; }
  .people-stats div { flex: 1; min-width: 0; padding: 12px 14px 10px; }
  .people-stats dd { font-size: 26px; }
}

.how { margin-top: clamp(72px, 9vw, 112px); }
.how-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.how-head h2 { margin: 0; font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.045em; }
.how-head .eyebrow { order: 2; margin: 0; }
.steps-stage { overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--line); }

/* ── Contact ───────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact .sub-h { margin-top: 0; }
.ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.way { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .2s, transform .2s; }
a.way:hover { border-color: var(--lilac); transform: translateY(-2px); }
.way-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--lilac-tint); color: var(--lilac-deep); }
.way-ic svg { width: 22px; height: 22px; }
.way-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.way-txt small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.way-txt b { font-size: 16.5px; letter-spacing: -0.02em; }
.way-txt span { font-size: 14.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.way > svg { flex: none; width: 18px; height: 18px; color: var(--muted); }
.ways-empty .empty { padding: 40px 20px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline > li:first-child { border-top: 0; padding-top: 0; }
.timeline h3 { margin: 0; font-size: 22px; letter-spacing: -0.03em; color: var(--lilac-deep); }
.timeline ul { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--lilac-tint); display: grid; gap: 18px; }
.timeline ul li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
.timeline ul li::before { content: ""; position: absolute; left: -27px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--lilac); }
.timeline time { font-size: 14px; font-weight: 600; color: var(--muted); padding-top: 2px; }
.timeline b { font-size: 16.5px; letter-spacing: -0.02em; }
.timeline p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); }
.timeline .link-arrow { margin-top: 6px; font-size: 14px; }

/* ── 빈 상태 ───────────────────────────── */
.empty { padding: clamp(48px, 7vw, 88px) 24px; border-radius: var(--r-xl); background: var(--mist); text-align: center; }
.empty img { width: 108px; height: auto; margin: 0 auto 18px; }
.empty h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.035em; }
.empty p { margin: 0 auto; max-width: 420px; color: var(--ink-2); }
.empty .btn { margin-top: 22px; }

/* ── 바닥 ──────────────────────────────── */
.site-foot { border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.site-foot .wrap { display: flex; align-items: center; gap: 24px; min-height: 96px; flex-wrap: wrap; padding-block: 20px; }
.site-foot .logo-mark { width: 32px; height: 32px; }
.site-foot .logo-text b { font-size: 15px; }
.site-foot .logo-text small { display: none; }
.site-foot p { margin: 0; }
.site-foot nav { margin-left: auto; display: flex; gap: 20px; }
.site-foot nav a { font-weight: 600; color: var(--ink-2); }
.site-foot nav a:hover { color: var(--ink); }

/* ── 성과 상세 ─────────────────────────── */
.case-top { padding-top: clamp(20px, 3vw, 32px); }
.crumb { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; font-size: 14px; font-weight: 600; color: var(--muted); }
.crumb a:hover { color: var(--ink); }
.case-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); background: var(--midnight); color: #fff; min-height: clamp(440px, 40vw, 540px); display: flex; align-items: center; }
.case-hero .art { position: absolute; inset: 0; z-index: -1; }
.case-hero .banner { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.case-hero .art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 15, 52, .9) 0%, rgba(18, 15, 52, .55) 40%, rgba(18, 15, 52, 0) 62%); pointer-events: none; }
.case-hero .copy { padding: clamp(32px, 5vw, 64px); max-width: 600px; }
.case-hero .chip { display: inline-block; padding: 6px 14px; border-radius: 99px; background: var(--c); font-size: 13.5px; font-weight: 650; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.case-hero h1 { margin: 22px 0 16px; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.14; letter-spacing: -0.05em; font-weight: 720; }
.case-hero .lede { margin: 0; font-size: 17.5px; opacity: .86; max-width: 480px; }
.case-meta { display: flex; gap: 32px; flex-wrap: wrap; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .22); }
.case-meta[hidden] { display: none; }
.case-meta dt { font-size: 12.5px; opacity: .7; font-weight: 600; }
.case-meta dd { margin: 2px 0 0; font-weight: 650; }
.holo-btn { position: absolute; right: clamp(24px, 4vw, 56px); top: 50%; width: clamp(170px, 16vw, 230px); padding: 0; border: 0; background: none; border-radius: 12px; transform: translateY(-50%) rotate(4deg); box-shadow: 0 34px 50px -24px rgba(0, 0, 0, .6); transition: transform .45s var(--ease); cursor: zoom-in; }
.holo-btn img { width: 100%; border-radius: 12px; }
.holo-btn:hover { transform: translateY(-52%) rotate(0deg) scale(1.03); }
.case-tabs { display: flex; gap: 4px; margin: 48px 0 32px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.case-tabs button { position: relative; padding: 14px 16px; border: 0; background: none; font-weight: 600; font-size: 16px; color: var(--muted); white-space: nowrap; }
.case-tabs button[hidden] { display: none; }
.case-tabs button small { margin-left: 4px; font-size: 13px; }
.case-tabs button:hover { color: var(--ink); }
.case-tabs button[aria-selected="true"] { color: var(--ink); }
.case-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--lilac-deep); }
.case-panel { animation: view-in .45s var(--ease) both; }
/* 강의안 바로 보기 */
.lessons { margin-bottom: 28px; }
.lessons .sub-h { margin-top: 0; }
.lesson-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
.lesson-list li { display: flex; }
.lesson { width: 100%; height: 100%; min-height: 96px; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.lesson:hover { border-color: var(--lilac); transform: translateY(-2px); box-shadow: 0 16px 30px -20px rgba(110, 79, 224, .5); }
.lesson-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--lilac-deep); color: #fff; }
.lesson-ic svg { width: 20px; height: 20px; fill: currentColor; }
.lesson .grow { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lesson small { font-size: 12.5px; font-weight: 650; color: var(--lilac-deep); }
.lesson b { font-size: 16px; letter-spacing: -0.03em; }
.lesson .grow > span { font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lesson-go { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.lesson-go svg { width: 16px; height: 16px; }
.lesson-note { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 44px); align-items: start; margin-top: 36px; padding: clamp(22px, 2.6vw, 36px); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; }
.lesson-note .eyebrow { margin-bottom: 8px; }
.lesson-note h3 { margin: 0 0 12px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; letter-spacing: -0.04em; }
.ln-lede { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.lesson-note ol { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: ln; display: grid; gap: 10px; }
.lesson-note ol li { counter-increment: ln; position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.lesson-note ol li::before { content: counter(ln); position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--lilac-tint); color: var(--lilac-deep); font-size: 11.5px; font-weight: 750; display: grid; place-items: center; }
.lesson-note .btn svg { width: 16px; height: 16px; }
.ln-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ln-shots figure { margin: 0; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--mist); cursor: zoom-in; }
.ln-shots img { display: block; width: 100%; height: auto; transition: transform .5s var(--ease); }
.ln-shots figure:hover img { transform: scale(1.03); }
.ln-shots figcaption { padding: 9px 12px 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); border-top: 1px solid var(--line); background: #fff; }
@media (max-width: 960px) { .lesson-note { grid-template-columns: 1fr; } }
.embed { position: fixed; inset: 0; z-index: 95; display: none; place-items: center; padding: 24px; background: rgba(13, 11, 36, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.embed.is-on { display: grid; animation: view-in .3s var(--ease) both; }
.embed-box { width: min(1280px, 100%); height: min(860px, 100%); display: grid; grid-template-rows: auto minmax(0, 1fr); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.embed-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 22px; border-bottom: 1px solid var(--line); }
.embed-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; letter-spacing: -0.03em; }
.embed-out svg { width: 16px; height: 16px; }
.embed-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mist); font-size: 22px; }
.embed-frame { position: relative; background: var(--mist); }
.embed-note { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); font-size: 14px; }
.embed iframe { position: relative; width: 100%; height: 100%; border: 0; background: transparent; }
@media (max-width: 640px) { .embed { padding: 0; } .embed-box { border-radius: 0; height: 100%; } .embed-out { padding: 0 12px; font-size: 13px; } }
.case-panel[hidden] { display: none; }
.mats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.mats a { display: flex; align-items: center; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); transition: background .2s, padding .3s var(--ease); }
.mats a:hover { background: var(--mist); padding-inline: 16px; }
.mats .ext { font-size: 11.5px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--lilac-tint); color: var(--lilac-deep); text-transform: uppercase; }
.mats .grow { flex: 1; font-weight: 600; }
.mats small { color: var(--muted); font-weight: 500; display: block; font-size: 13px; }
.mats svg { width: 20px; height: 20px; color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(64px, 8vw, 96px); }
.pager a { display: grid; gap: 6px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--mist); transition: background .2s; }
.pager a:hover { background: var(--lilac-tint); }
.pager a:last-child { text-align: right; }
.pager small { color: var(--muted); font-weight: 600; font-size: 13px; }
.pager b { font-size: 17px; letter-spacing: -0.035em; font-weight: 650; }

/* ── 라이트박스 ─────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 90; display: none; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 16px; padding: 56px 24px 32px; background: rgba(13, 11, 36, .94); }
.lightbox.is-on { display: grid; animation: view-in .3s var(--ease) both; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lightbox img { max-height: calc(100vh - 150px); max-width: 100%; border-radius: 12px; }
.lightbox figcaption { display: flex; gap: 16px; color: #fff; font-size: 14.5px; }
.lightbox .lb-n { color: rgba(255, 255, 255, .55); }
.lightbox button { border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; font-size: 24px; }
.lb-nav { width: 52px; height: 52px; }
.lb-nav svg { width: 24px; height: 24px; }
.lightbox.is-single .lb-nav { visibility: hidden; }

/* ── 관리자 ─────────────────────────────── */
.admin { max-width: 1120px; padding-bottom: 96px; }
.admin .view-head { grid-template-columns: 1fr; padding-inline: 0; }
.panel { background: #fff; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.panel h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -0.035em; }
.alert { padding: 18px 22px; background: var(--lilac-tint); border-radius: var(--r-md); font-size: 15px; }
.alert code { font-size: 13px; background: #fff; padding: 1px 6px; border-radius: 4px; }
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form [hidden] { display: none; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; font-size: 14.5px; }
.field .hint { font-size: 13px; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; padding: 12px 14px; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field select, .field input:not([type=file]) { height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lilac-deep); box-shadow: 0 0 0 4px var(--lilac-tint); }
.drop { display: block; border: 1.5px dashed var(--line-2); border-radius: var(--r-md); padding: 28px; text-align: center; background: var(--mist); color: var(--ink-2); cursor: pointer; }
.drop.is-over { border-color: var(--lilac-deep); background: var(--lilac-tint); }
.drop-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; margin-top: 12px; }
.pick { position: relative; display: grid; gap: 6px; padding: 6px 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 12px; cursor: grab; transition: border-color .15s, opacity .15s; }
.pick.is-drag { opacity: .4; }
.pick.is-target { border-color: var(--lilac-deep); box-shadow: 0 0 0 2px var(--lilac-tint); }
.pick-n { position: absolute; top: 10px; left: 10px; z-index: 1; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: rgba(21, 18, 58, .72); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.pick:first-child .pick-n { background: var(--lilac-deep); }
.pick-th { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--mist); color: var(--muted); }
.pick-th img { width: 100%; height: 100%; object-fit: cover; }
.pick-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.pick-btns { display: flex; gap: 4px; }
.pick-btns button { flex: 1; height: 28px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.pick-btns button:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.pick-btns button:disabled { opacity: .35; cursor: default; }
.pick-btns [data-del]:hover { border-color: var(--magenta); color: var(--magenta); }
.pick-hint { grid-column: 1 / -1; margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.status { font-size: 14.5px; min-height: 1.6em; margin: 0; }
.status.err { color: #C01C3A; }
.status.ok { color: #127A4A; }
.entry-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.entry-list li { display: flex; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.entry-list .grow { flex: 1; min-width: 0; }
.entry-list b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.entry-list small { color: var(--muted); }
.admin-sub { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 56px 0 16px; }
.admin-sub h2 { margin: 0; font-size: 22px; letter-spacing: -0.035em; }

/* ── 성과 08 바이브코딩 작품: 카드를 누르면 사이트가 팝업으로 열려요 ── */
.wk-head { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; }
.wk-head p { flex: 1; margin: 0; color: var(--ink-2); font-size: 15.5px; }
.wk-find input { width: 260px; height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 14.5px; background: #fff; }
.wk-find input:focus { outline: none; border-color: var(--lilac-deep); box-shadow: 0 0 0 4px var(--lilac-tint); }
.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 20px; }
.work { display: grid; gap: 6px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.wk-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; margin-bottom: 6px; background: var(--mist); isolation: isolate; transition: transform .25s, box-shadow .25s; }
.wk-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wk-glyph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; font-weight: 800; letter-spacing: -0.05em; color: #fff;
  background: radial-gradient(120% 90% at 20% 10%, hsl(var(--h) 90% 92%), transparent 60%), radial-gradient(90% 80% at 90% 100%, hsl(calc(var(--h) + 40) 80% 80%), transparent 65%), linear-gradient(140deg, hsl(var(--h) 70% 72%), hsl(calc(var(--h) + 25) 60% 58%));
  text-shadow: 0 6px 24px hsl(var(--h) 60% 35% / .35); }
.wk-host { position: absolute; left: 10px; bottom: 10px; z-index: 1; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 9px; border-radius: 99px; background: rgba(21, 18, 58, .62); color: #fff; font-size: 11.5px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.wk-go { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 6px; background: rgba(21, 18, 58, .5); color: #fff; font-weight: 700; font-size: 15px; opacity: 0; transition: opacity .2s; }
.wk-go svg { width: 18px; height: 18px; }
.work:hover .wk-cover, .work:focus-visible .wk-cover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(110, 79, 224, .55); }
.work:hover .wk-go, .work:focus-visible .wk-go { opacity: 1; }
.work b { font-size: 16px; font-weight: 650; letter-spacing: -0.025em; }
.work:hover b { color: var(--lilac-deep); }
.work small { color: var(--muted); font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wk-none { padding: 40px 0; text-align: center; color: var(--muted); }
@media (max-width: 860px) { .wk-head { flex-direction: column; align-items: stretch; } .wk-find input { width: 100%; } .works { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } .wk-glyph { font-size: 44px; } }

/* ── 운영진 페이지: 위 탭 → 관리할 곳 한 화면 ── */
.adm-head { display: flex; align-items: flex-end; gap: 16px; padding: 56px 0 24px; }
.adm-head > div { flex: 1; }
.adm-head h1 { margin: 0; font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.045em; line-height: 1.05; }
.adm-head .status { font-size: 13.5px; }
.adm-login { max-width: 460px; }
.adm-tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 2px; overflow-x: auto; margin: 0 0 28px; border-bottom: 1px solid var(--line-2); background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); scrollbar-width: none; }
.adm-tabs a { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 16px 16px 15px; font-weight: 650; font-size: 15px; color: var(--muted); text-decoration: none; transition: color .15s; }
.adm-tabs a:hover { color: var(--ink); }
.adm-tabs a small { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--mist); color: var(--ink-2); font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; }
.adm-tabs a[aria-selected="true"] { color: var(--ink); }
.adm-tabs a[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--lilac-deep); }
.adm-tabs a[aria-selected="true"] small { background: var(--lilac-deep); color: #fff; }
.adm-intro { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; }
.adm-intro p { flex: 1; margin: 0; color: var(--ink-2); font-size: 15px; }
.adm-note { margin: 0 0 18px; padding: 12px 16px; border-left: 3px solid var(--lilac-deep); background: var(--lilac-tint); font-size: 14.5px; }
.adm-note a { color: var(--lilac-deep); font-weight: 650; }
.adm-empty { margin: 0; padding: 36px 0; text-align: center; color: var(--muted); font-size: 14.5px; border-bottom: 1px solid var(--line); }
.adm-block { margin-top: 40px; }
.adm-block h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 20px; letter-spacing: -0.035em; }
.adm-block h2 small { font-size: 13px; color: var(--lilac-deep); }
.btn-line.is-danger:hover { border-color: var(--magenta); color: var(--magenta); background: #fff; }

/* 새로 넣기 (펼치는 칸) */
.adm-new { margin: 0 0 18px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; }
.adm-new summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 650; font-size: 15px; color: var(--lilac-deep); }
.adm-new summary::-webkit-details-marker { display: none; }
.adm-new[open] summary { border-bottom: 1px solid var(--line); }
.adm-form, .adm-edit, .adm-bulkadd { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 16px; padding: 18px; }
.adm-form .is-wide, .adm-edit .is-wide, .adm-bulkadd .is-wide, .adm-form .adm-picker { grid-column: 1 / -1; }
.adm-form .field > span, .adm-edit .field > span, .adm-bulkadd .field > span { font-weight: 600; font-size: 14px; }
.adm-form .field textarea, .adm-edit .field textarea { min-height: 0; }
.adm-form [hidden] { display: none; }
.adm-form-foot, .adm-edit-btns { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-form-foot .status, .adm-edit-btns .status { flex: 1; }
.adm-pub { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; }
.adm-pub input, .adm-check input, .adm-bulk input { width: 18px; height: 18px; accent-color: var(--lilac-deep); }
.adm-edit { padding: 16px; margin: 4px 0 6px; border-radius: var(--r-md); background: var(--mist); }

/* 한꺼번에 고르기 */
.adm-bulk { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 4px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.adm-bulk label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.adm-picked { flex: 1; color: var(--muted); }
.adm-bulk .btn-sm, .adm-acts .btn-sm, .adm-album-acts .btn-sm { height: 34px; padding: 0 13px; font-size: 13.5px; }

/* 목록 한 줄 */
.adm-list { list-style: none; margin: 0; padding: 0; }
.adm-list > li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.adm-list > li:first-child { border-top: 1px solid var(--ink); }
.adm-bulk + .adm-list > li:first-child { border-top: 0; }
.adm-list .grow { flex: 1; min-width: 160px; }
.adm-list .grow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 15px; }
.adm-list .grow small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13px; }
.adm-list .adm-edit { flex-basis: 100%; }
.adm-list .is-hidden .grow, .adm-list .is-hidden .adm-th { opacity: .55; }
.adm-th { flex: none; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--lilac-tint), #fff); color: var(--lilac-deep); font-size: 20px; }
.adm-th img { width: 100%; height: 100%; object-fit: cover; }
.adm-pill { flex: none; padding: 3px 9px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; }
.adm-acts { display: flex; gap: 6px; flex-wrap: wrap; }

/* 행사 앨범 카드 */
.adm-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px 18px; padding-top: 18px; }
.adm-album { display: grid; align-content: start; gap: 10px; }
.adm-cover { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--mist); }
.adm-cover .adm-th { width: 100%; height: 100%; border-radius: 0; font-size: 44px; }
.adm-cover .count { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 700; }
.adm-cover .adm-pill { position: absolute; right: 10px; bottom: 10px; }
.adm-cover .adm-check { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .92); }
.adm-album.is-hidden .adm-cover img { opacity: .6; filter: saturate(.6); }
.adm-album-body b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.adm-album-body small { color: var(--muted); font-size: 13px; }
.adm-album-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-album .adm-edit { grid-template-columns: 1fr; }

/* 2026 연구성과: 성과 고르기 */
.adm-cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 20px; }
.adm-cases a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.adm-cases a .num { color: var(--muted); font-size: 12px; }
.adm-cases a:hover { border-color: var(--ink); color: var(--ink); }
.adm-cases a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.adm-cases a[aria-current] .num { color: var(--lilac); }

/* 바이브코딩 작품: 붙여 넣기 */
.adm-bulkadd { border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; }
.adm-bulkadd textarea { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13.5px; line-height: 1.6; min-height: 220px; }
.adm-parse { grid-column: 1 / -1; }
.adm-parse:empty { display: none; }
.adm-parse p { margin: 0 0 8px; font-size: 14.5px; }
.adm-parse .err { color: #C01C3A; }
.adm-parse ol { margin: 0; padding: 0 0 0 28px; max-height: 260px; overflow: auto; border-top: 1px solid var(--line); font-size: 13.5px; }
.adm-parse li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.adm-parse li b { font-weight: 600; margin-right: 8px; }
.adm-parse li small { color: var(--muted); }
.adm-parse li.is-bad { color: #C01C3A; }

@media (max-width: 860px) {
  .adm-head { padding-top: 32px; flex-wrap: wrap; }
  .adm-cases { grid-template-columns: repeat(2, 1fr); }
  .adm-intro { flex-direction: column; align-items: flex-start; }
  .adm-list .adm-acts { flex-basis: 100%; padding-left: 94px; }
}

/* ── 홈 첫 화면: 히어로는 끝까지 넓게, 그 아래 작은 카드 여덟 장이 한 줄로 바로 보이게 ── */
@media (min-width: 961px) {
  .view-home > .wrap:first-child { max-width: none; padding: 0; }
  .view-home .hero { margin-top: 0; border-radius: 0; min-height: 0; height: clamp(440px, calc(100svh - 300px), 720px); padding-block: 28px; }
  .view-home .display { font-size: clamp(50px, 5.4vw, 92px); }
  .view-home .kicker { margin-bottom: 20px; }
  .view-home .hero-lede { margin-top: 20px; }
  .view-home .actions { margin-top: 26px; }
  .has-side .site-head .logo-text b { font-size: 15.5px; }
  /* 글 시작선을 아래 카드 줄(.wrap)과 맞춰요 */
  .view-home .hero-copy { padding: 0 var(--gutter); margin-left: max(0px, calc((100% - var(--wrap)) / 2)); }
  .view-home .shelf { padding-top: 22px; }
  .view-home .shelf-head { align-items: center; margin: 0 0 14px; }
  .view-home .shelf-head > div { display: flex; align-items: baseline; gap: 14px; }
  .view-home .shelf-head .eyebrow { margin: 0; }
  .view-home .shelf-head h2 { font-size: 20px; letter-spacing: -0.035em; }
  .view-home .card-shelf { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); padding: 6px 0 28px; max-width: 1080px; perspective: 1000px; }
  .view-home .holo, .view-home .holo:first-child { width: 100%; max-width: 132px; margin: 0 auto; transform: none; border-radius: 9px; box-shadow: 0 10px 18px -12px rgba(21, 18, 58, .45); }
  .view-home .holo img, .view-home .holo::after { border-radius: 9px; }
  .view-home .holo:hover, .view-home .holo:focus-visible { transform: translateY(-8px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.05); box-shadow: 0 22px 30px -16px rgba(21, 18, 58, .5); }
}

/* ── 왼쪽 세로 메뉴 (넓은 화면): 화면 끝에 붙은 반투명 유리 막대, 칸마다 구분선 ── */
@media (min-width: 1200px) {
  :root { --side: 240px; }
  body.has-side { padding-left: var(--side); }
  .has-side .site-head { position: fixed; inset: 0 auto 0 0; width: var(--side); border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, .55); box-shadow: 1px 0 0 rgba(21, 18, 58, .06); }
  .has-side .site-head::before { background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(244, 240, 255, .55)); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8); }
  /* 홈 히어로는 유리 메뉴 밑까지 깔려요 */
  .has-side .view-home .hero { margin-left: calc(var(--side) * -1); padding-left: var(--side); }
  .has-side .view-home .hero::before { background: linear-gradient(90deg, rgba(31, 25, 96, .94) 0, rgba(31, 25, 96, .78) calc(var(--side) + 30%), rgba(31, 25, 96, 0) calc(var(--side) + 52%)); }
  .has-side .site-head .wrap { flex-direction: column; align-items: stretch; gap: 0; height: 100%; max-width: none; padding: 0; overflow-y: auto; scrollbar-width: none; }
  .has-side .site-head .logo { padding: 26px 24px 22px; border-bottom: 1px solid rgba(21, 18, 58, .09); }
  .has-side .nav { margin: 0; flex-direction: column; align-items: stretch; gap: 0; }
  .has-side .nav a:not(.btn) { display: flex; align-items: center; padding: 16px 24px; border-bottom: 1px solid rgba(21, 18, 58, .07); font-size: 16.5px; font-weight: 650; letter-spacing: -0.035em; color: var(--ink-2); transition: background .2s, color .2s, padding .3s var(--ease); }
  .has-side .nav a:not(.btn):hover { background: rgba(255, 255, 255, .55); color: var(--ink); padding-left: 30px; }
  .has-side .nav a[aria-current="page"], .has-side .nav a[aria-current="page"]:hover { background: rgba(110, 79, 224, .1); color: var(--lilac-deep); padding-left: 24px; }
  .has-side .nav a[aria-current="page"]::after { left: 0; right: auto; top: 0; bottom: 0; width: 3px; height: auto; margin: 0; border-radius: 0; background: var(--lilac-deep); }
  .has-side .festa-pill { margin: auto 0 0; justify-content: center; height: 48px; border-radius: 0; border-top: 1px solid rgba(21, 18, 58, .09); background: transparent; }
  .has-side .head-cta { margin: 0; height: 56px; border-radius: 0; font-size: 15px; }
  /* 본문 폭이 줄어든 만큼 히어로 글 뒤 그늘을 넓힘 */
  .has-side .hero::before { background: linear-gradient(90deg, rgba(31, 25, 96, .94) 0%, rgba(31, 25, 96, .78) 38%, rgba(31, 25, 96, 0) 64%); }
  .has-side .hero-lede { max-width: 390px; }
}

/* ── 반응형 ─────────────────────────────── */
@media (max-width: 1180px) {
  .nav a:not(.btn) { padding: 8px 9px; font-size: 14.5px; }
  .nav a[aria-current="page"]::after { left: 9px; right: 9px; }
  .site-head .festa-pill { display: none; }
}
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .head-cta { display: none; }
  .site-head .festa-pill { display: inline-flex; margin-left: auto; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--head) 0 0 0; z-index: 49; margin: 0; padding: 12px var(--gutter) 32px;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav a:not(.btn) { padding: 18px 0; font-size: 22px; font-weight: 650; letter-spacing: -0.04em; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { color: var(--lilac-deep); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .nav-cta { display: inline-flex; margin-top: 28px; height: 52px; font-size: 16px; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-bg { position: relative; order: 2; height: auto; aspect-ratio: 4 / 3; object-position: 82% 50%; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); margin-top: -40px; }
  .hero::before { display: none; }
  .hero-copy { padding-bottom: 0; }
  .hb-2, .hb-4 { display: none; }
  .hb-1 { left: auto; right: 7%; top: 29%; width: 48px; }
  .hb-3 { left: auto; right: 22%; top: 15%; bottom: auto; width: 34px; }
  .card-shelf { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter) 24px; perspective: none; }
  .holo, .holo:first-child { margin-left: 0; width: 44vw; max-width: 220px; transform: none; scroll-snap-align: start; }
  .holo:hover, .holo:focus-visible { transform: none; }
  .booth { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .booth-head { grid-column: 1 / -1; padding: 0; }
  .view-head { grid-template-columns: 1fr; }
  .scene-layout { grid-template-columns: 1fr; }
  .scene-list { display: flex; overflow-x: auto; gap: 6px; border: 0; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .scene-list li { flex: 0 0 auto; }
  .scene-list button { display: inline-flex; gap: 6px; padding: 0 14px; height: 38px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 14.5px; }
  .scene-list button[aria-selected="true"] { padding-left: 14px; box-shadow: none; background: var(--ink); border-color: var(--ink); color: #fff; }
  .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .mission { grid-template-columns: 1fr; }
  .news-layout.has-cal { grid-template-columns: 1fr; }
  .case-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .case-hero .art { position: relative; aspect-ratio: 16 / 10; z-index: 0; }
  .case-hero .art::before { background: linear-gradient(transparent 55%, var(--midnight)); }
  .holo-btn { width: 27%; max-width: 170px; top: auto; bottom: -8%; right: 18px; transform: rotate(4deg); }
  .holo-btn:hover { transform: rotate(0deg); }
  .case-hero .copy { padding-top: 20px; max-width: none; position: relative; }
  .form .row2 { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .timeline > li { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  :root { --head: 64px; }
  .logo-text small { display: none; }
  .festa-pill { height: 28px; padding: 0 10px; font-size: 12px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .card .thumb { border-radius: var(--r-md); }
  .card-meta { margin-top: 12px; font-size: 12px; }
  .card-meta .num { display: none; }
  .card h3 { font-size: 16px; }
  .card .fmt { font-size: 13px; }
  .seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); margin-bottom: 28px; }
  .seg button { flex: 0 0 auto; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .photo-masonry { columns: 2; column-gap: 8px; }
  .photo-masonry figure { margin-bottom: 8px; }
  .albums { grid-template-columns: 1fr; }
  .album-wait { grid-template-columns: 1fr; }
  .booth { grid-template-columns: 1fr 1fr; }
  .booth figure:nth-of-type(1) { grid-row: span 2; }
  .shelf-head { align-items: start; flex-direction: column; gap: 6px; }
  .how-head { flex-direction: column; gap: 0; }
  .how-head .eyebrow { order: -1; margin-bottom: 10px; }
  .rows li > *, .press li > * { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 12px; padding: 18px 0; }
  .rows time, .press .src, .rows b { grid-column: 1; }
  .rows b { font-size: 16px; }
  .rows svg { grid-column: 2; grid-row: 1 / span 3; }
  .scene-cap { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pager { grid-template-columns: 1fr; }
  .pager a:last-child { text-align: left; }
  .lightbox { grid-template-columns: 1fr; padding: 64px 12px 88px; }
  .lb-nav { position: absolute; bottom: 20px; }
  .lb-prev { left: 20px; }
  .lb-next { right: 20px; }
  .panel { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hb { animation: none; }
}

/* ── 404 ───────────────────────────────── */
.lost { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 520px); justify-content: center; align-items: center; gap: clamp(24px, 5vw, 72px); padding-block: clamp(48px, 8vw, 112px); }
.lost img { width: 100%; height: auto; }
.lost h1 { margin: 0 0 14px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; letter-spacing: -0.05em; }
.lost p:not(.eyebrow) { margin: 0; color: var(--ink-2); font-size: 17px; }
@media (max-width: 640px) { .lost { grid-template-columns: 1fr; text-align: center; } .lost img { width: 180px; margin: 0 auto; } .lost .actions { justify-content: center; } }
