/* ============================================================
   3LINE TOPIKER — base + mood theming
   ============================================================ */

:root {
  /* Mono (default) */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-deep: #1d1d1f;
  --ink: #1d1d1f;
  --ink-mute: #6e6e73;
  --ink-faint: #86868b;
  --divider: rgba(0, 0, 0, 0.08);
  --divider-strong: rgba(0, 0, 0, 0.16);
  --accent: #1d1d1f;
  --accent-soft: rgba(0, 0, 0, 0.04);
  --on-deep: #f5f5f7;
  --shadow-soft: 0 10px 40px -16px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 30px 80px -20px rgba(0, 0, 0, 0.25);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --nav-border: rgba(0, 0, 0, 0.06);
  --photo-tint: rgba(0, 0, 0, 0);
}

[data-mood="warm"] {
  --bg: #f7f3ec;
  --bg-alt: #efe9df;
  --bg-deep: #1c1814;
  --ink: #1c1814;
  --ink-mute: #6f6759;
  --ink-faint: #98907f;
  --divider: rgba(28, 24, 20, 0.10);
  --divider-strong: rgba(28, 24, 20, 0.20);
  --accent: #8a6b3d;
  --accent-soft: rgba(138, 107, 61, 0.08);
  --on-deep: #f7f3ec;
  --nav-bg: rgba(247, 243, 236, 0.78);
  --nav-border: rgba(28, 24, 20, 0.08);
  --photo-tint: rgba(247, 220, 170, 0.03);
}

[data-mood="dark"] {
  --bg: #0a0a0c;
  --bg-alt: #131316;
  --bg-deep: #f5f5f7;
  --ink: #f5f5f7;
  --ink-mute: #a1a1aa;
  --ink-faint: #71717a;
  --divider: rgba(255, 255, 255, 0.10);
  --divider-strong: rgba(255, 255, 255, 0.22);
  --accent: #ffc24a;
  --accent-soft: rgba(255, 194, 74, 0.10);
  --on-deep: #0a0a0c;
  --nav-bg: rgba(10, 10, 12, 0.72);
  --nav-border: rgba(255, 255, 255, 0.08);
  --photo-tint: rgba(0, 0, 0, 0.10);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "SF Pro KR", "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "ss03", "ss06";
  letter-spacing: -0.01em;
  line-height: 1.45;
  font-size: 17px;
  transition: background 0.5s ease, color 0.5s ease;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ----- typography ----- */

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.h-display {
  font-size: clamp(48px, 8vw, 112px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0;
}

.h-section {
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
}

.h-large {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
}

.h-card {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}

.body-lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--ink-mute);
  letter-spacing: -0.012em;
}

.body { font-size: 17px; line-height: 1.55; color: var(--ink-mute); }
.body-sm { font-size: 14px; line-height: 1.5; color: var(--ink-mute); }

.mono {
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  letter-spacing: 0;
}

/* ----- nav ----- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  transition: background 0.5s ease, border-color 0.5s ease;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -0.01em; font-size: 16px;
}
/* Brand mark (키오스크+말풍선) */
.brand-mark {
  color: var(--ink);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand-mark .brand-line { fill: var(--bg); }
.nav-brand:hover .brand-mark { transform: rotate(-4deg) scale(1.04); }
.nav-brand:hover .brand-mark .brand-bubble { animation: brand-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes brand-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08) translateY(-1px); }
  100% { transform: scale(1); }
}
[data-mood="dark"] .brand-mark .brand-line { fill: var(--bg); }
.nav-brand-word {
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 16px;
}

.nav-links {
  display: flex; gap: 28px; font-size: 13.5px; color: var(--ink-mute);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 13.5px; padding: 8px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg); border: none; cursor: pointer;
  transition: opacity 0.2s, background 0.5s, color 0.5s;
}
.nav-cta:hover { opacity: 0.85; }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ----- layout ----- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow { max-width: 960px; }

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.section-tight { padding: clamp(60px, 8vw, 100px) 0; }

.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); color: var(--on-deep); }
.section-deep .body, .section-deep .body-lead, .section-deep .eyebrow,
.section-deep .body-sm { color: rgba(245, 245, 247, 0.7); }
[data-mood="dark"] .section-deep .body,
[data-mood="dark"] .section-deep .body-lead,
[data-mood="dark"] .section-deep .eyebrow,
[data-mood="dark"] .section-deep .body-sm { color: rgba(10, 10, 12, 0.65); }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  border: none; cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--ink); color: var(--bg);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--divider-strong);
}
.btn-ghost:hover { background: var(--accent-soft); }
.btn-link {
  background: transparent; padding: 0; color: var(--ink);
  font-weight: 500; gap: 6px;
}
.btn-link .arr { transition: transform 0.25s; display: inline-block; }
.btn-link:hover .arr { transform: translateX(4px); }

/* ----- reveal on scroll ----- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-slow { transition-duration: 1.4s; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: inherit; }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }

[data-scroll="subtle"] .reveal { transform: translateY(16px); transition-duration: 0.7s; }
[data-scroll="cinematic"] .reveal { transform: translateY(60px) scale(0.98); transition-duration: 1.2s; }

/* ============================================================
   HERO — landscape carousel above headline
   ============================================================ */
.hero {
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/8;
  max-height: 70vh;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-strong);
}
.hero-stage-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-stage-slide.active { opacity: 1; }
.hero-stage-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 6s linear;
}
.hero-stage-slide.active img { transform: scale(1); }
.hero-stage::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}
.hero-stage-meta {
  position: absolute;
  left: 24px; bottom: 22px; right: 24px;
  display: flex; justify-content: space-between; align-items: end;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  z-index: 2;
}
.hero-stage-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.hero-stage-tag {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-stage-dots {
  display: flex; gap: 6px;
}
.hero-stage-dot {
  width: 22px; height: 2px; border-radius: 2px;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s;
}
.hero-stage-dot.active { background: rgba(255,255,255,0.95); }

.hero-copy {
  margin-top: clamp(60px, 8vw, 100px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.hero-display {
  font-size: clamp(56px, 8.6vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 18px 0 0;
}
.hero-display em {
  font-style: normal;
  color: var(--accent);
  font-family: "Instrument Serif", "Noto Serif KR", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}
[data-mood="mono"] .hero-display em { color: var(--ink); }
.hero-display .hl {
  position: relative;
  display: inline-block;
  color: var(--ink);
}
.hero-display .hl::after {
  content: ""; position: absolute;
  left: -0.04em; right: -0.04em;
  bottom: 0.08em; height: 0.18em;
  background: var(--accent-soft);
  z-index: -1;
  border-radius: 4px;
}
[data-mood="mono"] .hero-display .hl::after { background: rgba(0,0,0,0.06); }
.hero-sub {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--ink-mute);
  letter-spacing: -0.012em;
  max-width: 460px;
}
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 64px;
  display: flex; gap: clamp(32px, 5vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--divider);
}
.hero-meta-item { flex: 1; min-width: 120px; }
.hero-meta-num {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 600; letter-spacing: -0.03em;
  line-height: 1;
}
.hero-meta-lbl { font-size: 13px; color: var(--ink-mute); margin-top: 8px; }

@media (max-width: 880px) {
  .hero-copy { grid-template-columns: 1fr; }
  .hero-stage { aspect-ratio: 4/3; }
}

/* ============================================================
   STORY SECTION
   ============================================================ */
.story-section {
  background: var(--bg-base);
  padding: 140px 0 160px;
}
.story-wrap {
  max-width: 920px;
  margin: 0 auto;
}
.story-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
  color: var(--ink-mute);
}
.story-intro {
  margin-bottom: 72px;
}
.story-headline {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink-primary);
  text-align: center;
  white-space: pre-line;
  text-wrap: balance;
}
.story-body {
  margin-bottom: 0;
}
.story-body-with-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.story-logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.story-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-p {
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.75;
  color: var(--ink-body);
  text-align: center;
  white-space: pre-line;
  text-wrap: pretty;
  margin: 0;
}
.story-p.strong {
  font-weight: 600;
  color: var(--ink-primary);
}
.story-p.large {
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.6;
  font-weight: 600;
  color: var(--ink);
}
.story-p.bridge {
  font-size: clamp(17px, 2vw, 24px);
  color: var(--ink-mute);
  font-style: italic;
}
.story-quote-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 840px;
  margin: 0 auto;
}
.story-quote-avatar {
  flex-shrink: 0;
  margin-top: 4px;
}
.story-quote-bubble {
  position: relative;
  flex: 1;
  padding: 36px 44px;
  background: var(--bg-alt);
  border-radius: 24px;
  border-top-left-radius: 6px;
  border: 2px solid var(--divider);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.story-quote-bubble::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 24px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 14px 0;
  border-color: transparent var(--divider) transparent transparent;
}
.story-quote-bubble::after {
  content: '';
  position: absolute;
  left: -7px;
  top: 25px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 9px 12px 0;
  border-color: transparent var(--bg-alt) transparent transparent;
}
.story-quote-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.story-final-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 600px;
  padding: 0 20px;
}
.story-final-illustration svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.08));
}
.story-ending-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 80px auto 60px;
  width: 100%;
  max-width: 520px;
}
.story-ending-visual svg {
  width: 100%;
  height: auto;
  display: block;
}
  font-size: clamp(20px, 2.5vw, 29px);
  line-height: 1.65;
  font-style: normal;
  font-weight: 500;
  color: var(--ink-primary);
  white-space: pre-line;
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.01em;
}
.story-spacer {
  height: 48px;
}
.story-spacer-small {
  height: 32px;
}
.story-spacer-large {
  height: 64px;
}
.story-divider {
  display: flex;
  justify-content: center;
  color: var(--ink-mute);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .story-section { padding: 100px 0 110px; }
  .story-icon { margin-bottom: 36px; }
  .story-intro { margin-bottom: 56px; }
  .story-body-with-logo { flex-direction: column; gap: 16px; }
  .story-logo { width: 56px; height: 56px; border-radius: 12px; }
  .story-final-illustration { max-width: 360px; }
  .story-quote-container { flex-direction: column; gap: 16px; align-items: center; }
  .story-quote-avatar { margin-top: 0; }
  .story-quote-bubble { padding: 32px 28px; border-radius: 16px; border-top-left-radius: 16px; }
  .story-quote-bubble::before { display: none; }
  .story-quote-bubble::after { display: none; }
  .story-quote-label { font-size: 12px; margin-bottom: 16px; text-align: center; }
  .story-spacer { height: 36px; }
  .story-spacer-small { height: 24px; }
  .story-spacer-large { height: 48px; }
}

/* ============================================================
   ABOUT — large statement
   ============================================================ */
.statement-wrap {
  display: block;
  max-width: 1040px;
  margin: 0 auto;
}
.statement-tag {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
}
.statement-tag em {
  font-style: normal;
  font-family: "Instrument Serif", "Noto Serif KR", serif;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.015em;
}
[data-mood="mono"] .statement-tag em { color: var(--ink); }
.statement-sub {
  padding-top: 12px;
  border-top: 1px solid var(--divider);
  margin-top: 0;
}
.statement-sub p {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--ink-mute);
  letter-spacing: -0.012em;
  margin: 24px 0 0;
}
.statement-sub p:first-child { color: var(--ink); font-weight: 500; }

/* ============================================================
   STATEMENT — new structure (headline + body)
   ============================================================ */
.statement-headline {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  word-break: keep-all;
}
.statement-body {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(28px, 3vw, 36px);
  border-top: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.statement-body p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--ink-mute);
  letter-spacing: -0.005em;
  word-break: keep-all;
}
[data-mood="dark"] .statement-headline { color: var(--on-deep); }

@media (max-width: 880px) {
  .statement-wrap { grid-template-columns: 1fr; }
}

/* ============================================================
   FEATURES — three-up
   ============================================================ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4/5;
  display: flex; flex-direction: column;
  padding: 32px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.feat-card:hover { transform: translateY(-6px); }
.feat-card-num {
  font-size: 13px; color: var(--ink-mute); letter-spacing: 0.08em;
  font-weight: 500;
}
.feat-card-title {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.1; letter-spacing: -0.025em;
  font-weight: 600;
  margin-top: 8px;
  max-width: 86%;
}
.feat-card-body { color: var(--ink-mute); margin-top: 14px; max-width: 90%; font-size: 15px; }
.feat-card-img {
  position: absolute; right: -20px; bottom: -20px;
  width: 60%; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden;
  transform: rotate(4deg);
  box-shadow: var(--shadow-soft);
}
.feat-card-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-card.dark { background: var(--bg-deep); color: var(--on-deep); }
.feat-card.dark .feat-card-num,
.feat-card.dark .feat-card-body { color: rgba(245,245,247,0.65); }
[data-mood="dark"] .feat-card.dark .feat-card-num,
[data-mood="dark"] .feat-card.dark .feat-card-body { color: rgba(10,10,12,0.6); }

@media (max-width: 960px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat-card { aspect-ratio: auto; min-height: 460px; }
}

/* ============================================================
   PROCESS — 4 steps + final hero step
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--divider);
}
.process-step {
  padding: 40px 24px 36px 0;
  border-right: 1px solid var(--divider);
  position: relative;
}
.process-step:last-child { border-right: none; padding-right: 0; }
.process-num {
  font-family: "Instrument Serif", "Noto Serif KR", serif;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1; color: var(--accent);
  margin-bottom: 24px;
}
[data-mood="mono"] .process-num { color: var(--ink); }
.process-title {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.process-desc { color: var(--ink-mute); font-size: 14.5px; line-height: 1.55; }

/* Final step — full-width card highlighting the book */
.process-final {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-deep);
  color: var(--on-deep);
  min-height: 360px;
}
.process-final-text {
  padding: clamp(40px, 4vw, 64px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 24px;
}
.process-final-num {
  font-family: "Instrument Serif", "Noto Serif KR", serif;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 1;
  color: var(--accent);
}
[data-mood="mono"] .process-final-num { color: var(--on-deep); }
.process-final-title {
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1.15;
  margin: 12px 0;
}
.process-final-desc {
  color: rgba(245, 245, 247, 0.7);
  font-size: 16px;
  line-height: 1.6;
  max-width: 420px;
}
[data-mood="dark"] .process-final-desc { color: rgba(10, 10, 12, 0.7); }
.process-final-img {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.process-final-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

@media (max-width: 880px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: none; }
  .process-step { border-bottom: 1px solid var(--divider); }
  .process-final { grid-template-columns: 1fr; min-height: 0; }
  .process-final-img { height: 240px; }
}

/* ============================================================
   PORTFOLIO — client logo tiles + photos
   ============================================================ */
.client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--divider);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg);
}
.client-cell {
  padding: 24px 16px 22px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  border-right: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  position: relative;
  min-height: 116px;
  transition: background 0.25s, transform 0.25s;
}
.client-cell:hover { background: var(--accent-soft); }
.client-cell:nth-child(6n) { border-right: none; }
.client-grid > *:nth-last-child(-n+6) { border-bottom: none; }

.client-mark {
  width: 56px; height: 56px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.client-cell-body {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 22px;
  width: 100%;
}
.client-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.client-en {
  font-size: 10.5px;
  font-family: "JetBrains Mono", monospace;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.client-cell-more {
  display: grid; place-items: center;
  background: var(--bg-deep); color: var(--on-deep);
  cursor: pointer;
  text-align: center;
}
.client-cell-more .more-num {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.client-cell-more .more-lbl {
  font-size: 11px; margin-top: 8px;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.6;
  font-family: "JetBrains Mono", monospace;
}
[data-mood="dark"] .client-cell-more { background: var(--accent); color: #0a0a0c; }

@media (max-width: 860px) {
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .client-cell { border-right: 1px solid var(--divider) !important; border-bottom: 1px solid var(--divider) !important; }
  .client-cell:nth-child(2n) { border-right: none !important; }
}

/* photo gallery — polaroid mode */
.gallery {
  display: grid;
  gap: 24px;
}
.gallery-polaroid {
  grid-template-columns: repeat(4, 1fr);
}
.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}
.gallery-fullbleed {
  grid-template-columns: repeat(2, 1fr);
}

.polaroid {
  background: var(--bg);
  padding: 14px 14px 18px;
  box-shadow: var(--shadow-soft);
  border-radius: 2px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-mood="dark"] .polaroid { background: #f5f5f7; color: #1d1d1f; }
.polaroid:nth-child(3n) { transform: rotate(-1.2deg); }
.polaroid:nth-child(3n+1) { transform: rotate(0.8deg); }
.polaroid:nth-child(3n+2) { transform: rotate(-0.4deg); }
.polaroid:hover { transform: rotate(0deg) translateY(-6px) scale(1.02); z-index: 2; }
.polaroid-img {
  aspect-ratio: 1;
  background: var(--bg-alt);
  overflow: hidden;
}
.polaroid-img img { width: 100%; height: 100%; object-fit: cover; }
.polaroid-caption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  font-size: 11px; color: #6e6e73; letter-spacing: -0.005em;
  display: flex; justify-content: space-between; gap: 8px;
  font-family: "JetBrains Mono", monospace;
}

.gallery-cell {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-alt);
  position: relative;
  transition: transform 0.5s;
}
.gallery-cell:hover { transform: scale(1.015); }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery-cell:hover img { transform: scale(1.04); }
.gallery-cell-caption {
  position: absolute; left: 16px; bottom: 16px;
  color: white; font-size: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  font-weight: 500;
}

.gallery-fullbleed .gallery-cell { aspect-ratio: 4/5; border-radius: 18px; }

@media (max-width: 880px) {
  .gallery-polaroid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-fullbleed { grid-template-columns: 1fr; }
}

/* ============================================================
   LIVE MESSAGES — three-line cards
   ============================================================ */
.msg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.msg-card {
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: 18px;
  padding: 28px 28px 22px;
  transition: transform 0.4s, box-shadow 0.4s;
}
.section-deep .msg-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
[data-mood="dark"] .section-deep .msg-card {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.10);
}
.msg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.msg-line {
  display: block;
  padding: 10px 0; border-bottom: 1px dashed var(--divider);
  font-size: 17px; line-height: 1.55;
  letter-spacing: -0.012em;
  color: var(--on-deep);
}
[data-mood="dark"] .msg-line { color: var(--on-deep); }
.section-alt .msg-line, .section:not(.section-deep) .msg-line { color: var(--ink); }
.msg-line:last-child { border-bottom: none; padding-bottom: 4px; }
.msg-line:first-child { padding-top: 4px; }

/* ============================================================
   FEATURES — five-card grid
   ============================================================ */
.feat5-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.feat5-grid > * { grid-column: span 2; } /* default: 3-up row */
.feat5-grid > *:nth-child(4),
.feat5-grid > *:nth-child(5) { grid-column: span 3; } /* bottom row: 2-up */

.feat5-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-alt);
  display: flex; flex-direction: column;
  min-height: 380px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}
.feat5-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feat5-card-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg);
}
.feat5-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.feat5-card:hover .feat5-card-thumb img { transform: scale(1.04); }
.feat5-card-text {
  padding: 28px 28px 32px;
  display: flex; flex-direction: column;
  flex: 1;
}
.feat5-card-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.feat5-card-title {
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.feat5-card-body {
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  letter-spacing: -0.005em;
}
.feat5-card.dark {
  background: var(--bg-deep);
  color: var(--on-deep);
}
.feat5-card.dark .feat5-card-num { color: rgba(245,245,247,0.55); }
.feat5-card.dark .feat5-card-body { color: rgba(245,245,247,0.7); }
[data-mood="dark"] .feat5-card.dark .feat5-card-num { color: rgba(10,10,12,0.55); }
[data-mood="dark"] .feat5-card.dark .feat5-card-body { color: rgba(10,10,12,0.7); }

@media (max-width: 960px) {
  .feat5-grid { grid-template-columns: 1fr 1fr; }
  .feat5-grid > *,
  .feat5-grid > *:nth-child(4),
  .feat5-grid > *:nth-child(5) { grid-column: span 1; }
  .feat5-grid > *:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 640px) {
  .feat5-grid { grid-template-columns: 1fr; }
  .feat5-grid > *:nth-child(5) { grid-column: span 1; }
}
.msg-meta {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--divider);
  font-size: 12px; color: var(--ink-mute);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.02em;
}
@media (max-width: 880px) {
  .msg-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--divider-strong);
  border-bottom: 1px solid var(--divider-strong);
}
.stat-cell {
  padding: 48px 28px;
  border-right: 1px solid var(--divider);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 1; letter-spacing: -0.04em;
  font-weight: 600;
  display: flex; align-items: baseline; gap: 4px;
}
.stat-num .unit {
  font-size: 0.32em; color: var(--ink-mute);
  margin-left: 4px; font-weight: 500;
}
.stat-lbl {
  margin-top: 18px; font-size: 14px; color: var(--ink-mute);
  letter-spacing: -0.005em;
}
@media (max-width: 880px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell { border-bottom: 1px solid var(--divider); }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--divider); }
.faq-row {
  border-bottom: 1px solid var(--divider);
  padding: 28px 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}
.faq-q {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 500; letter-spacing: -0.015em;
  line-height: 1.35;
}
.faq-toggle {
  width: 28px; height: 28px; border-radius: 999px;
  border: 1px solid var(--divider-strong);
  display: grid; place-items: center;
  font-size: 14px; color: var(--ink-mute);
  transition: transform 0.3s, background 0.3s, color 0.3s;
  flex-shrink: 0;
}
.faq-row.open .faq-toggle { transform: rotate(45deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq-a {
  grid-column: 1 / -1;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s;
  opacity: 0;
  color: var(--ink-mute);
  font-size: 16px; line-height: 1.55;
  max-width: 720px;
}
.faq-row.open .faq-a { max-height: 240px; padding-top: 14px; opacity: 1; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  text-align: center;
  padding: clamp(120px, 18vw, 220px) 0;
}
.cta-display {
  font-size: clamp(48px, 8vw, 112px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0 0 36px;
}
.cta-display em {
  font-style: normal;
  font-family: "Instrument Serif", "Noto Serif KR", serif;
  font-weight: 400;
  color: var(--accent);
}
[data-mood="mono"] .cta-display em { color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--divider);
  padding: 60px 0 40px;
  font-size: 13px; color: var(--ink-mute);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h5 {
  font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink);
  margin: 0 0 14px; font-weight: 600;
}
.footer-col a { display: block; padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bot {
  display: flex; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--divider);
  font-size: 12px;
}
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bot { flex-direction: column; gap: 12px; }
}

/* ============================================================
   PHOTO MARQUEE (in About section)
   ============================================================ */
.marquee {
  display: flex; gap: 16px; overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex; gap: 16px;
  animation: scroll 60s linear infinite;
  flex-shrink: 0;
}
.marquee-item {
  width: 240px; height: 320px; flex-shrink: 0;
  border-radius: 14px; overflow: hidden;
  background: var(--bg-alt);
}
.marquee-item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes scroll {
  to { transform: translateX(calc(-100% - 16px)); }
}

/* Client logo grid: 20 logos + "+180 MORE" tile = 21 cells, 7-column */
.client-logo-grid-20 {
  grid-template-columns: repeat(7, 1fr) !important;
}
@media (max-width: 1100px) {
  .client-logo-grid-20 { grid-template-columns: repeat(5, 1fr) !important; }
}
@media (max-width: 760px) {
  .client-logo-grid-20 { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 480px) {
  .client-logo-grid-20 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Client logo grid: 20 logos + "+180 MORE" tile = 21 cells, 7-column */
.client-logo-grid-20 {
  grid-template-columns: repeat(7, 1fr) !important;
}
@media (max-width: 1100px) {
  .client-logo-grid-20 { grid-template-columns: repeat(5, 1fr) !important; }
}
@media (max-width: 760px) {
  .client-logo-grid-20 { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 480px) {
  .client-logo-grid-20 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ============================================================
   CLIENT LOGO GRID (new — 3 x 3 layout for 8 logos + "+more")
   ============================================================ */
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.client-logo-cell {
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: 18px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 28px 20px 22px;
  min-height: 180px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.4s;
}
.client-logo-cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--divider-strong);
}
.client-logo-tile {
  flex: 1;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 16px;
  min-height: 70px;
}
.client-logo-tile img {
  width: 100%;
  max-width: 130px;
  max-height: 52px;
  height: auto;
  object-fit: contain;
  filter: saturate(1.02);
}
[data-mood="dark"] .client-logo-cell {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
[data-mood="dark"] .client-logo-tile {
  background: #ffffff;
  border-radius: 10px;
}
.client-logo-en {
  font-size: 12.5px;
  letter-spacing: -0.005em;
  color: var(--ink-mute);
  font-weight: 500;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--divider);
  width: 100%;
}

/* +more tile — 200+ 행사 표시 */
.client-logo-more {
  background: var(--bg-deep);
  color: var(--on-deep);
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  padding: 24px 20px;
}
[data-mood="dark"] .client-logo-more {
  background: var(--accent);
  color: #0a0a0c;
}
.client-logo-more-num {
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--on-deep);
}
[data-mood="dark"] .client-logo-more-num { color: #0a0a0c; }
.client-logo-more-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-top: 12px;
  color: rgba(245,245,247,0.65);
}
[data-mood="dark"] .client-logo-more-lbl { color: rgba(10,10,12,0.6); }
@media (max-width: 960px) {
  .client-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .client-logo-cell { min-height: 150px; padding: 22px 16px 18px; }
  .client-logo-tile img { max-height: 56px; }
}
@media (max-width: 480px) {
  .client-logo-cell { min-height: 130px; }
  .client-logo-en { font-size: 11.5px; padding-top: 12px; }
}

/* ============================================================
   FEATURES HEAD (centered intro block)
   ============================================================ */
.feat5-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 80px;
}
.feat5-head .body-lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   FOOTER — minimal
   ============================================================ */
.footer-min {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--divider);
}
.footer-tagline {
  max-width: 480px;
  color: var(--ink-mute);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}
.footer-contact {
  display: inline-flex; align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: 14px;
  margin-top: 4px;
}
.footer-contact-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-contact a {
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.footer-contact a:hover { text-decoration: underline; }
.footer-bot {
  display: flex; justify-content: center;
  padding-top: 22px;
  font-size: 12px;
  color: var(--ink-mute);
}
@media (max-width: 600px) {
  .footer-contact { flex-direction: row; padding: 8px 14px; font-size: 13px; }
}

/* mobile nav */
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; }
}
.uses-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.uses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.uses-card {
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: 20px;
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s, box-shadow 0.4s;
}
.uses-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.uses-card-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  font-weight: 600;
}
.uses-card-title {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.uses-card-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-mute);
  margin: 0;
}
@media (max-width: 880px) {
  .uses-grid { grid-template-columns: 1fr; gap: 14px; }
  .uses-card { padding: 32px 26px 30px; }
}

/* ============================================================
   BONUS — Beyond photo booth
   ============================================================ */
.bonus-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.bonus-headline {
  margin: 20px 0 24px;
}
.bonus-sub {
  max-width: 540px;
  margin: 0 auto;
}
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bonus-card {
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: 22px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s;
}
.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.bonus-card-img {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  overflow: hidden;
}
.bonus-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s;
}
.bonus-card:hover .bonus-card-img img { transform: scale(1.05); }
.bonus-card-body {
  padding: 28px 28px 32px;
}
.bonus-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
}
[data-mood="mono"] .bonus-kicker { color: var(--ink-mute); }
.bonus-card-title {
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.bonus-card-text {
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 960px) {
  .bonus-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   BEYOND — Beyond the venue (dark section)
   ============================================================ */
.beyond-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}
.beyond-head .h-section { margin: 18px 0 24px; }
.beyond-head .body-lead { margin: 0 auto; }

.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.beyond-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
[data-mood="dark"] .beyond-card {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.10);
}
.beyond-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.beyond-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s;
}
/* Default beyond-card-img: portrait photos like main-20 (phone in hand) —
   override aspect-ratio so the phone fills the card horizontally on desktop,
   then shrink on mobile to keep the original framing. */
.beyond-grid .beyond-card:nth-child(2) .beyond-card-img {
  aspect-ratio: 4/3;
  background: #0a0a0c;
}
.beyond-grid .beyond-card:nth-child(2) .beyond-card-img img {
  object-fit: cover;
  object-position: center 35%;
}
@media (max-width: 880px) {
  .beyond-grid .beyond-card:nth-child(2) .beyond-card-img {
    aspect-ratio: 16/12;
  }
}

/* contain mode — phone screenshot too big in default cover, scale down ~half */
.beyond-card-img-contain {
  aspect-ratio: 16/12 !important;
  background: #0a0a0c !important;
  overflow: hidden;
}
.beyond-card-img-contain img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
@media (max-width: 880px) {
  .beyond-card-img-contain {
    aspect-ratio: 4/5 !important;
  }
  .beyond-card-img-contain img {
    object-fit: contain !important;
    padding: 16px;
    background: linear-gradient(135deg, #0a0a0c 0%, #1d1d1f 100%);
  }
}
.beyond-card:hover .beyond-card-img-contain img { transform: scale(1.03); }
.beyond-card:hover .beyond-card-img img { transform: scale(1.04); }
.beyond-card-text { padding: 32px 32px 36px; }
.beyond-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
}
[data-mood="mono"] .beyond-kicker { color: rgba(245,245,247,0.7); }
.beyond-card-title {
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--on-deep);
}
.beyond-card-body {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(245,245,247,0.72);
  margin: 0;
}
[data-mood="dark"] .beyond-card-body { color: rgba(10,10,12,0.7); }

@media (max-width: 880px) {
  .beyond-grid { grid-template-columns: 1fr; gap: 16px; }
  .beyond-card-text { padding: 26px 24px 32px; }
}

/* ============================================================
   INSIGHT REPORT
   ============================================================ */
.insight-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.insight-copy { max-width: 520px; }

.insight-bullets {
  list-style: none;
  padding: 0;
  margin: 36px 0 28px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.insight-bullets li {
  display: flex; align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.insight-bullets .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}
[data-mood="mono"] .insight-bullets .dot { background: var(--ink); }

.insight-tagline {
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--ink-mute);
  line-height: 1.6;
}

.insight-disclaimer {
  margin: 14px 4px 0;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: -0.005em;
  text-align: right;
}

/* mock report card */
.insight-card {
  background: var(--bg-alt);
  border: 1px solid var(--divider);
  border-radius: 22px;
  padding: 32px;
  display: flex; flex-direction: column;
  gap: 28px;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.insight-card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--divider);
}
.insight-card-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.insight-card-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}

.insight-block { display: flex; flex-direction: column; gap: 12px; }
.insight-block-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

/* keyword cloud */
.kw-cloud {
  display: flex; flex-wrap: wrap;
  gap: 10px 16px;
  align-items: baseline;
  line-height: 1.1;
}
.kw {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.kw-xl { font-size: clamp(26px, 2.6vw, 38px); color: var(--accent); }
[data-mood="mono"] .kw-xl { color: var(--ink); }
.kw-lg { font-size: clamp(20px, 2vw, 28px); }
.kw-md { font-size: clamp(15px, 1.4vw, 20px); color: var(--ink-mute); }
.kw-sm { font-size: clamp(12px, 1.1vw, 15px); color: var(--ink-faint); font-weight: 500; }

/* sentiment bar */
.sent-bar {
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  background: var(--divider);
}
.sent-seg {
  display: flex; align-items: center;
  padding: 0 10px;
  position: relative;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.95);
  white-space: nowrap;
  overflow: hidden;
}
.sent-seg span { transform: translateY(0); }
.sent-pos { background: #1d1d1f; }
.sent-neu { background: #c7c7cc; color: #1d1d1f; }
.sent-neg { background: #ff453a; }
[data-mood="dark"] .sent-pos { background: var(--accent); color: #0a0a0c; }
[data-mood="dark"] .sent-neu { background: #555; color: #f5f5f7; }

/* participation chart */
.part-chart {
  width: 100%;
  height: 80px;
  color: var(--ink);
  display: block;
}
.part-axis {
  display: flex; justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

@media (max-width: 960px) {
  .insight-wrap { grid-template-columns: 1fr; gap: 48px; }
  .insight-card { padding: 24px; gap: 24px; }
}

/* ============================================================
   RESPONSIVE OVERRIDES — single source of truth for mobile/tablet
   ============================================================ */

/* Universal: prevent any element from blowing out the viewport */
html, body { max-width: 100%; }
section, .container, .container-narrow {
  max-width: 100%;
}

/* Hero — second-line em (replaces inline width:800px/fontSize:90px) */
.hero-em {
  font-style: normal;
  font-family: "Pretendard", inherit;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--accent);
  display: block;
  max-width: 100%;
  word-break: keep-all;
}
[data-mood="mono"] .hero-em { color: var(--ink); }

/* Hero display itself: clamp tighter on mobile so first line fits */
.hero-display {
  font-size: clamp(40px, 7vw, 96px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em !important;
  word-break: keep-all;
}

/* Hero sub: lift the 300px width cap on mobile */
.hero-sub {
  max-width: min(520px, 100%);
  font-size: clamp(15px, 1.4vw, 19px) !important;
  line-height: 1.55;
}

/* Hero stage carousel — taller portrait on mobile so it isn't a thin strip */
@media (max-width: 880px) {
  .hero-stage { aspect-ratio: 16/11 !important; }
  .hero-stage-meta { left: 16px; right: 16px; bottom: 14px; }
  .hero-meta { gap: 24px; margin-top: 40px; }
  .hero-meta-item { min-width: 0; }
  .hero-meta-num { font-size: clamp(24px, 8vw, 36px); }
  .hero-meta-lbl { font-size: 11.5px; }
}

/* Statement — em sub-line (replaces inline fontSize:50px) */
.statement-em {
  font-style: normal;
  font-family: "Pretendard", inherit;
  font-size: clamp(22px, 3.4vw, 44px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 500;
  display: block;
  margin-top: 24px;
  color: var(--ink);
  word-break: keep-all;
}
[data-mood="dark"] .statement-em { color: var(--on-deep); }

.statement-tag {
  font-size: clamp(28px, 4.2vw, 56px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em !important;
  word-break: keep-all;
}

/* Process header — replaces inline width:720px */
.process-headline {
  font-size: clamp(28px, 4vw, 52px) !important;
  word-break: keep-all;
}

/* Process body-lead next to it */
@media (max-width: 880px) {
  #process > .container > .reveal {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  #features > .container > .reveal,
  #process > .container > .reveal,
  #messages > .container > .reveal {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 40px !important;
  }
}

/* Process grid: keep 4-col on tablet, 2x2 on mobile, then 1-col on phones */
@media (max-width: 640px) {
  .process { grid-template-columns: 1fr !important; }
  .process-step {
    border-right: none !important;
    border-bottom: 1px solid var(--divider) !important;
    padding: 28px 0 !important;
  }
  .process-step:last-child { border-bottom: none !important; }
  .process-num { font-size: 44px !important; margin-bottom: 12px !important; }
}

/* Statement wrap: stack on mobile */
@media (max-width: 760px) {
  .statement-wrap { gap: 24px !important; }
}

/* CTA display: don't blow past viewport */
.cta-display {
  font-size: clamp(36px, 6vw, 96px) !important;
  line-height: 1.05 !important;
  word-break: keep-all;
}
.cta { padding: clamp(80px, 14vw, 200px) 0 !important; }

/* Stats — large numbers like "47,000" overflow narrow phones */
.stats { grid-template-columns: repeat(4, 1fr); }
.stat-num {
  font-size: clamp(32px, 5.5vw, 88px) !important;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.stat-cell { padding: clamp(24px, 4vw, 48px) clamp(16px, 2.4vw, 28px) !important; }
.stat-lbl { font-size: clamp(11.5px, 1.1vw, 14px) !important; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr !important; }
  .stat-cell:nth-child(2) { border-right: none !important; }
  .stat-cell:nth-child(odd) { border-right: 1px solid var(--divider) !important; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--divider) !important; }
}

/* Client grid → 3 columns on tablet, 2 on phone, 1 on tiny */
@media (max-width: 1024px) {
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .client-cell { border-right: 1px solid var(--divider) !important; border-bottom: 1px solid var(--divider) !important; }
  .client-cell:nth-child(3n) { border-right: none !important; }
}
@media (max-width: 640px) {
  .client-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .client-cell:nth-child(3n) { border-right: 1px solid var(--divider) !important; }
  .client-cell:nth-child(2n) { border-right: none !important; }
  .client-cell { padding: 18px 12px 16px !important; min-height: 0 !important; }
  .client-name { font-size: 14px !important; }
  .client-en { font-size: 11.5px !important; }
  .client-mark { width: 36px; height: 36px; font-size: 12px; }
  .client-logo-wrap { height: 44px !important; }
}

/* ============================================================
   CLIENT LOGO image rendering (new — replaces SVG mark when img exists)
   ============================================================ */
.client-logo-wrap {
  height: 60px;
  display: flex; align-items: center;
  margin-bottom: 4px;
}
.client-logo-img {
  max-height: 100%;
  max-width: 75%;
  width: auto;
  object-fit: contain;
  filter: saturate(1) contrast(1);
  display: block;
}
[data-mood="dark"] .client-logo-img {
  /* most company logos are designed for light backgrounds — give them a soft pad */
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  max-height: 52px;
}

.client-cell {
  padding: 28px 18px 22px !important;
  min-height: 130px;
  align-items: flex-start;
}
.client-cell-body {
  margin-top: 18px !important;
}

/* ============================================================
   BROCHURE REQUEST MODAL
   ============================================================ */
.brochure-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 24px;
  animation: brochure-fade 0.3s ease;
}
@keyframes brochure-fade { from { opacity: 0; } to { opacity: 1; } }

.brochure-modal {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  width: 100%; max-width: 480px;
  border-radius: 24px;
  padding: 44px 36px 36px;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.4);
  animation: brochure-rise 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
@keyframes brochure-rise {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.brochure-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: none; background: var(--bg-alt);
  color: var(--ink-mute);
  font-size: 22px; line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: grid; place-items: center;
}
.brochure-close:hover { background: var(--divider); color: var(--ink); }

.brochure-head { margin-bottom: 28px; }
.brochure-title {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 14px;
}
.brochure-lead {
  font-size: 14.5px;
  color: var(--ink-mute);
  line-height: 1.55;
  margin: 0;
}
.brochure-lead strong { color: var(--ink); font-weight: 600; }

.brochure-form { display: flex; flex-direction: column; gap: 18px; }
.brochure-field { display: flex; flex-direction: column; gap: 8px; }
.brochure-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: -0.005em;
}
.brochure-label em {
  font-style: normal; color: #ff3b30; margin-left: 2px;
}
.brochure-field input,
.brochure-field textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.brochure-field textarea { min-height: 80px; }
.brochure-field input:focus,
.brochure-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--bg);
}
.brochure-field input::placeholder,
.brochure-field textarea::placeholder { color: var(--ink-faint); }

.brochure-actions {
  display: flex; gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}
.brochure-actions .btn { padding: 12px 22px; font-size: 14.5px; }

.brochure-fineprint {
  font-size: 11.5px;
  color: var(--ink-faint);
  line-height: 1.5;
  margin: 6px 0 0;
}

.brochure-done {
  text-align: center;
  padding: 16px 0;
}
.brochure-done-mark {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 32px;
  display: grid; place-items: center;
}
.brochure-done .brochure-lead { max-width: 360px; margin: 0 auto; }

@media (max-width: 520px) {
  .brochure-modal { padding: 36px 24px 28px; border-radius: 20px; }
  .brochure-actions { flex-direction: column-reverse; }
  .brochure-actions .btn { width: 100%; justify-content: center; }
}

/* Features 5-card: shrink card padding on mobile */
@media (max-width: 640px) {
  .feat5-card { min-height: 0 !important; }
  .feat5-card-text { padding: 22px 22px 26px !important; }
  .feat5-card-title { font-size: 20px !important; }
  .feat5-card-body { font-size: 14.5px !important; }
}

/* Messages — 1 column on tablet+phone for breathing room */
@media (max-width: 880px) {
  .msg-grid { grid-template-columns: 1fr !important; }
  .msg-card { padding: 22px 22px 18px !important; }
  .msg-line { font-size: 15.5px !important; }
}

/* FAQ — stack columns on mobile */
@media (max-width: 880px) {
  #faq .reveal {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .faq-q { font-size: 16px !important; }
}

/* Photo gallery: single col on phone for polaroid/grid */
@media (max-width: 640px) {
  .gallery-polaroid { grid-template-columns: repeat(2, 1fr) !important; }
  .gallery-grid { grid-template-columns: 1fr !important; }
  .gallery-fullbleed { grid-template-columns: 1fr !important; }
}

/* Marquee: smaller items on mobile so we see more at a glance */
@media (max-width: 640px) {
  .marquee-item { width: 160px !important; height: 220px !important; }
}

/* Section padding: tighten vertical rhythm on mobile */
@media (max-width: 760px) {
  .section { padding: clamp(56px, 14vw, 100px) 0 !important; }
  .hero { padding: 110px 0 56px !important; min-height: 0 !important; }
  .h-section { font-size: clamp(28px, 6.5vw, 52px) !important; }
  .body-lead { font-size: clamp(15px, 1.5vw, 18px) !important; }
  .nav-brand span:last-child { font-size: 14px; }
}

/* Footer: 1-col on phone */
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr !important; gap: 28px !important; }
}

/* Nav: smaller CTA on phone so it fits next to brand */
@media (max-width: 640px) {
  .nav-cta { padding: 6px 12px; font-size: 12.5px; }
  .nav-brand { gap: 8px; }
  .brand-mark { width: 24px; height: 24px; }
  .nav-brand-word { font-size: 14px; }
}

/* Tweaks panel — hide on mobile by default (it overlaps content) */
@media (max-width: 640px) {
  .tweaks-panel, [class*="twk-panel"] {
    transform: scale(0.85);
    transform-origin: bottom right;
  }
}


/* ============================================================
   PORTFOLIO STATS — moved from hero
   ============================================================ */
.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 auto 72px;
  max-width: 880px;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.portfolio-stat {
  text-align: center;
  padding: 36px 16px;
  border-left: 1px solid var(--divider);
}
.portfolio-stat:first-child { border-left: none; }
.portfolio-stat-num {
  font-family: "Instrument Serif", serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 400;
}
.portfolio-stat-lbl {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .portfolio-stats { grid-template-columns: repeat(3, 1fr); margin-bottom: 56px; }
  .portfolio-stat { padding: 24px 8px; }
  .portfolio-stat-num { font-size: clamp(28px, 8vw, 40px); }
  .portfolio-stat-lbl { font-size: 11.5px; margin-top: 8px; }
}


/* ============================================================
   PROCESS — 3-step variant with images per step
   ============================================================ */
.process-with-img {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0;
  align-items: start;
}
.process-with-img .process-step {
  padding: 32px 28px 36px 28px;
  display: flex;
  flex-direction: column;
}
.process-with-img .process-step:first-child { padding-left: 0; }
.process-with-img .process-step:last-child  { padding-right: 0; }
.process-step-img {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 24px;
}
.process-step-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.process-with-img .process-num {
  margin-bottom: 12px;
}
.process-with-img .process-title {
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  margin-bottom: 0;
  font-weight: 600;
}

@media (max-width: 880px) {
  .process-with-img { grid-template-columns: 1fr !important; }
  .process-with-img .process-step {
    padding: 24px 0 32px 0 !important;
    border-right: none !important;
  }
  .process-step-img { aspect-ratio: 16/10; margin-bottom: 18px; }
}

/* ============================================================
   BEYOND VENUE — single-card variant (centered)
   ============================================================ */
.beyond-grid:has(> :only-child) {
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
}
.beyond-grid:has(> :only-child) .beyond-card-img {
  aspect-ratio: 16 / 9;
}

@media (max-width: 880px) {
  .beyond-grid:has(> :only-child) {
    grid-template-columns: 1fr;
  }
}

/* Hide empty bonus-sub paragraph */
.bonus-sub:empty { display: none; }


/* ============================================================
   BONUS BADGE — BEYOND THE VENUE 섹션의 '덤이에요' 느낌
   ============================================================ */
.bonus-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #ffd84a;
  color: #1a1a1d;
  margin-bottom: 32px;
  transform: rotate(-3deg);
  box-shadow:
    0 6px 0 rgba(220, 168, 0, 0.95),
    0 14px 32px -10px rgba(255, 216, 74, 0.55);
  animation: bonusWiggle 3.2s ease-in-out infinite;
  position: relative;
}
@keyframes bonusWiggle {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-1.5deg) translateY(-2px); }
}
.bonus-badge:hover {
  animation-play-state: paused;
  transform: rotate(0deg) scale(1.04);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bonus-badge-text {
  font-family: "Instrument Serif", "Noto Serif KR", serif;
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #1a1a1d;
  font-style: italic;
}

.bonus-badge-spark {
  font-size: 18px;
  line-height: 1;
  color: #1a1a1d;
  display: inline-block;
  animation: sparkSpin 4s linear infinite;
}
.bonus-badge-spark-r {
  animation: sparkSpin 4s linear infinite reverse;
}
@keyframes sparkSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .bonus-badge { padding: 11px 22px; gap: 10px; margin-bottom: 24px; }
  .bonus-badge-spark { font-size: 15px; }
}
