/* POOM STUDIO 홈페이지. Supanova 템플릿(밝은 바탕·큰 주황 카드·둥근 카드) 구성과 색을 따릅니다(2026-10-25 주황으로 변경). */
@font-face { font-family: "Poom Sans"; src: url("/assets/fonts/poom-pretendard-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poom Sans"; src: url("/assets/fonts/poom-pretendard-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poom Sans"; src: url("/assets/fonts/poom-pretendard-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #ffffff;
  --paper: #fdfbf7;
  --ink: #111827;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --amber-soft: rgba(245, 158, 11, 0.1);
  --amber-deep: #b45309;
  --muted: #4b5563;
  --line: rgba(17, 24, 39, 0.08);
  --radius: 28px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Poom Sans", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 30px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; transition: transform 0.2s, background 0.2s, box-shadow 0.2s; }
.btn span { transition: transform 0.2s; }
.btn:hover span { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1f2937; transform: translateY(-1px); }
.btn-glass { background: rgba(255, 255, 255, 0.32); color: var(--ink); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.5); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); }

/* 상단 메뉴 */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 20px 0; transition: background 0.3s, padding 0.3s, box-shadow 0.3s; }
.nav.is-scrolled { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); padding: 12px 0; box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 32px; width: auto; }
/* STUDIO는 OO 위 점을 뺀 POOM 글자 몸통(원본 268px 중 65~260px) 가운데에 맞춥니다. */
.nav-logo .nav-logo__word { height: 16px; margin-left: 10px; padding-left: 10px; border-left: 1.5px solid rgba(17, 24, 39, 0.2); box-sizing: content-box; transform: translateY(3.4px); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--amber); }

/* 히어로 */
.hero-wrap { padding-top: 108px; padding-bottom: 24px; }
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 72px 64px;
  border-radius: var(--radius);
  background: var(--amber);
  box-shadow: 0 30px 60px -20px rgba(245, 158, 11, 0.35);
}
.hero-glow { position: absolute; width: 760px; height: 760px; right: -220px; top: -380px; border-radius: 50%; background: var(--amber-light); opacity: 0.5; filter: blur(60px); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(0, 0, 0, 0.1); font-size: 14px; font-weight: 600; margin-bottom: 28px; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 700; margin-bottom: 24px; }
.hero-accent { color: #fff; }
.hero-lead { font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; color: rgba(17, 24, 39, 0.8); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; z-index: 1; min-height: 440px; }
.hero-art { position: absolute; right: 0; top: 0; width: 82%; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.35); border: 6px solid rgba(255, 255, 255, 0.5); transform: rotate(2deg); }
.app-card { position: absolute; left: 0; bottom: 0; width: min(360px, 78%); padding: 22px; border-radius: 20px; background: var(--ink); color: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55); }
.app-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.app-card__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--amber); color: var(--ink); font-size: 12px; font-weight: 700; }
.app-card__title { font-weight: 600; font-size: 15px; }
.app-card__sub { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.app-card__status { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--amber-light); white-space: nowrap; }
.app-card__list { list-style: none; display: grid; gap: 10px; }
.app-card__list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; font-weight: 600; }
.app-card__list em { font-style: normal; font-weight: 400; font-size: 12px; color: rgba(255, 255, 255, 0.6); text-align: right; }

/* 키워드 띠 */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 72px; padding-bottom: 72px; text-align: center; }
.fact strong { display: block; font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.fact span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* 공통 구획 */
.section { padding-top: 80px; padding-bottom: 80px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2, .principle h2, .closing h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 700; }
.section-head p:not(.eyebrow) { margin-top: 14px; font-size: 18px; color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--amber-deep); margin-bottom: 12px; }
.accent { color: var(--amber); }

/* 서비스 카드 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.card { position: relative; display: flex; flex-direction: column; padding: 40px 36px; border-radius: 24px; background: #fff; box-shadow: 0 16px 40px -18px rgba(17, 24, 39, 0.14); outline: 1px solid var(--line); transition: box-shadow 0.3s, transform 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -18px rgba(245, 158, 11, 0.25); outline-color: rgba(245, 158, 11, 0.3); }
.card--dark { background: var(--ink); color: #fff; outline-color: rgba(255, 255, 255, 0.06); box-shadow: 0 24px 50px -16px rgba(17, 24, 39, 0.35); }
.card-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--amber-soft); color: var(--amber); margin-bottom: 28px; }
.card--dark .card-icon { background: var(--amber); color: var(--ink); }
.card-status { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--amber-deep); margin-bottom: 8px; }
.card--dark .card-status { color: var(--amber-light); }
.card h3 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 12px; }
.card-en { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.card-desc { color: var(--muted); margin-bottom: 28px; }
.card--dark .card-desc { color: rgba(255, 255, 255, 0.66); }
.checks { list-style: none; display: grid; gap: 14px; margin-top: auto; }
.checks li { position: relative; padding-left: 30px; font-weight: 600; font-size: 15px; color: #374151; }
.card--dark .checks li { color: rgba(255, 255, 255, 0.86); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid var(--amber); background: radial-gradient(circle, var(--amber) 0 3px, transparent 3.5px); }
.card--dark .checks li::before { border-color: var(--amber); background: radial-gradient(circle, var(--amber) 0 3px, transparent 3.5px); }
.card-note { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* 만드는 원칙 */
.principle { display: grid; grid-template-columns: 1fr 0.85fr; gap: 64px; align-items: center; padding: 72px 64px; border-radius: 32px; background: var(--paper); outline: 1px solid var(--line); }
.principle-lead { margin-top: 16px; color: var(--muted); font-size: 17px; }
.steps { list-style: none; display: grid; gap: 14px; margin-top: 36px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; background: #fff; outline: 1px solid var(--line); }
.step-no { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--amber-soft); color: var(--amber-deep); font-weight: 700; font-size: 14px; }
.steps strong { display: block; font-size: 17px; margin-bottom: 4px; }
.steps p { font-size: 14.5px; color: var(--muted); }
.doc-card { padding: 32px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -24px rgba(17, 24, 39, 0.2); outline: 1px solid var(--line); }
.doc-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.doc-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 8px; }
.doc-title { font-size: 21px; font-weight: 700; line-height: 1.3; }
.doc-seal { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--amber); color: var(--amber); background: var(--amber-soft); }
.doc-rows div { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.doc-rows dt { color: var(--muted); }
.doc-rows dd { font-weight: 700; }
.doc-badge { display: inline-block; margin-top: 22px; padding: 8px 14px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-deep); font-size: 13px; font-weight: 700; }
.doc-sign { display: flex; justify-content: space-between; gap: 24px; margin-top: 32px; }
.doc-sign span { flex: 1; padding-top: 10px; border-top: 2px solid #e5e7eb; font-size: 11px; letter-spacing: 0.08em; color: #9ca3af; text-align: center; }

/* 이야기 갤러리 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.shot { border-radius: 24px; overflow: hidden; background: #fff; outline: 1px solid var(--line); box-shadow: 0 16px 40px -20px rgba(17, 24, 39, 0.18); }
.shot img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.6s; }
.shot:hover img { transform: scale(1.03); }
.shot figcaption { padding: 22px 24px 26px; }
.shot strong { display: block; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 6px; }
.shot span { font-size: 14.5px; color: var(--muted); }

/* 마무리 카드 */
.closing { margin: 40px 0 96px; padding: 88px 32px; border-radius: 32px; background: var(--ink); color: #fff; text-align: center; box-shadow: 0 30px 60px -24px rgba(17, 24, 39, 0.45); }
.closing-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--amber); color: var(--ink); margin-bottom: 28px; }
.closing .accent { color: var(--amber); }
.closing p { max-width: 560px; margin: 18px auto 36px; color: rgba(255, 255, 255, 0.66); font-size: 17px; }

/* 바닥글 */
.footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 40px; }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 320px; }
.footer nav { display: flex; flex-direction: column; gap: 12px; }
.footer-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.footer nav a { color: var(--muted); font-size: 14.5px; text-decoration: none; }
.footer nav a:hover { color: var(--amber); }
.footer-bottom { padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: #9ca3af; }

/* 화면에 들어올 때 떠오름(스크립트가 켜질 때만) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding: 56px 40px; }
  .hero-visual { min-height: 420px; max-width: 560px; }
  .principle { grid-template-columns: 1fr; padding: 56px 40px; gap: 40px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .cards, .gallery { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .br-wide { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .facts { padding-top: 48px; padding-bottom: 48px; }
  .hero-wrap { padding-top: 84px; }
  .hero { padding: 40px 22px 28px; border-radius: 24px; gap: 32px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 0; display: grid; gap: 0; }
  .hero-art { position: relative; width: 92%; margin-left: auto; transform: rotate(2deg); }
  .app-card { position: relative; width: 100%; margin-top: -48px; }
  .nav-logo img { height: 26px; }
  .nav-logo .nav-logo__word { height: 13px; margin-left: 8px; padding-left: 8px; transform: translateY(2.8px); }
  .card { padding: 32px 24px; }
  .principle { padding: 40px 20px; border-radius: 24px; }
  .doc-card { padding: 24px; }
  .closing { padding: 64px 22px; border-radius: 24px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge-dot { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card:hover, .shot img, .shot:hover img, .btn, .btn span { transition: none; transform: none; }
}
