/* ════════════════════════════════════════════════════════════
   뜬다스토리 — 공통
   색은 시안 이미지에서 직접 뽑았습니다. 라이트 한 가지뿐입니다.
   ════════════════════════════════════════════════════════════ */

:root {
  /* ── 바탕 ───────────────────────────────── */
  --bg:        #FDFAF5;   /* 페이지 기본 */
  --bg-2:      #FEFDFA;   /* 조금 더 밝게 */
  --surface:   #FFFFFF;
  --soft:      #FBF3EA;   /* 연한 크림 (칩·아이콘 바탕) */
  --soft-2:    #FFF2E4;   /* 주황빛 연한 바탕 */
  --footer:    #FBF8F3;

  /* ── 강조 ───────────────────────────────── */
  --orange:      #FD6A1F;
  --orange-d:    #E2530C;
  --orange-2:    #FF9350;
  --orange-soft: #FFF0E3;
  --orange-line: #FFD2B0;
  --grad:        linear-gradient(135deg, #FF8A3D 0%, #FD6A1F 100%);
  --grad-soft:   linear-gradient(135deg, #FFF6EE 0%, #FFE9D6 100%);

  /* ── 글자 ───────────────────────────────── */
  --ink:     #231B16;
  --ink-2:   #4E423A;
  --muted:   #8B7C71;
  --muted-2: #AEA097;
  --hand:    #8A6A48;   /* 손글씨 메모 */

  /* ── 선 ─────────────────────────────────── */
  --line:    #F0E8DE;
  --line-2:  #E6DACC;

  /* ── 알림 ───────────────────────────────── */
  --ok:      #3AA76D;
  --ok-bg:   #EDF8F1;

  /* ── 모양 ───────────────────────────────── */
  --r-sm: 10px; --r: 14px; --r-lg: 18px; --r-xl: 24px; --r-pill: 999px;
  --sh:      0 2px 10px rgba(120, 86, 44, .06);
  --sh-card: 0 6px 20px rgba(120, 86, 44, .09);
  --sh-lift: 0 14px 34px rgba(120, 86, 44, .15);

  /* ── 글꼴 ───────────────────────────────── */
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont,
          'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-hand: 'Gaegu', var(--font);

  --shell: 1120px;
  --pad:   24px;
  --hd-h:  70px;
}

/* ── 리셋 ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,p,figure,blockquote,fieldset,legend { margin: 0; }
ul,ol { margin: 0; padding: 0; list-style: none; }
img,svg,video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input,select,textarea { font: inherit; color: inherit; }
fieldset { border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

/* ── 공통 뼈대 ─────────────────────────────────────────────── */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.sec { padding-block: 56px; }
.only-sr {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── 버튼 ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-pill);
  padding: 12px 24px;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s, color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: .45; pointer-events: none; transform: none;
}
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 18px rgba(253, 106, 31, .28);
}
.btn--primary:hover { box-shadow: 0 10px 26px rgba(253, 106, 31, .36); }
.btn--ghost {
  background: var(--surface); color: var(--orange);
  border: 1.5px solid var(--orange-line);
}
.btn--ghost:hover { border-color: var(--orange); background: var(--orange-soft); }
.btn--plain {
  background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--line-2); box-shadow: var(--sh);
}
.btn--plain:hover { border-color: var(--orange-line); color: var(--orange); }
.btn--lg { padding: 15px 32px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--wide { min-width: 230px; }

/* ── 그림 자리 ────────────────────────────────────────────── */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, #F7ECE0 0%, #EFE1D0 100%);
}
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph::after {
  content: attr(data-label);
  position: absolute; inset: auto 0 8px; text-align: center;
  font-size: 10.5px; color: rgba(95, 74, 58, .42); pointer-events: none;
}
.ph:has(> img)::after { display: none; }

/* ── 손글씨 메모 ──────────────────────────────────────────── */
.memo {
  font-family: var(--font-hand);
  font-size: 16px; line-height: 1.75; color: var(--hand);
  transform: rotate(-4deg);
}

/* ════════════════════════════════════════════════════════════
   헤더 (GNB)
   ════════════════════════════════════════════════════════════ */
.gnb {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 250, 245, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.gnb__in { display: flex; align-items: center; gap: 18px; height: var(--hd-h); }
.gnb__logo { flex: none; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.gnb__logo em { font-style: normal; color: var(--orange); }

.gnb__nav { display: flex; gap: 28px; margin-left: 26px; }
.gnb__nav a {
  position: relative; font-size: 15px; color: var(--ink-2);
  padding-block: 6px; transition: color .18s;
}
.gnb__nav a:hover { color: var(--orange); }
.gnb__nav a[aria-current="page"] { color: var(--orange); font-weight: 700; }
.gnb__nav a[aria-current="page"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--orange); border-radius: 2px;
}

.gnb__act { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.gnb__search {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; color: var(--ink-2); transition: background .18s;
}
.gnb__search:hover { background: var(--soft); }
.gnb__login { font-size: 15px; color: var(--ink-2); }
.gnb__login:hover { color: var(--orange); }
.gnb__burger { display: none; width: 40px; height: 40px; place-items: center; }
.gnb__burger span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  box-shadow: 0 -6px var(--ink), 0 6px var(--ink);
}

/* 모바일 서랍 */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  display: none; background: rgba(35, 27, 22, .45);
}
.drawer.is-open { display: block; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(320px, 86vw);
  background: var(--surface); padding: 22px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--sh-lift);
}
.drawer__close { align-self: flex-end; font-size: 22px; padding: 4px 10px; }
.drawer__panel a {
  padding: 13px 6px; font-size: 16px;
  border-bottom: 1px solid var(--line);
}
.drawer__panel .btn { margin-top: 14px; }

/* ════════════════════════════════════════════════════════════
   페이지 머리 (히어로)
   ════════════════════════════════════════════════════════════ */
.phero { position: relative; background: var(--grad-soft); overflow: hidden; }
.phero__bg { position: absolute; inset: 0 0 0 44%; }
.phero__bg .ph { width: 100%; height: 100%; }
.phero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, #FFF7EF 0%, rgba(255,246,238,.95) 20%,
              rgba(255,240,227,.5) 44%, transparent 68%);
}
.phero__in { position: relative; z-index: 1; padding-block: 58px 64px; }
.phero__txt { max-width: 520px; }
.phero__kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em;
  color: var(--orange-2); text-transform: uppercase;
}
.phero__title {
  margin-top: 12px;
  font-size: clamp(27px, 4vw, 40px); font-weight: 800;
  line-height: 1.36; letter-spacing: -.035em;
}
.phero__title em { font-style: normal; color: var(--orange); }
.phero__desc {
  margin-top: 16px; font-size: 15.5px; line-height: 1.9; color: var(--ink-2);
}
.phero__memo { position: absolute; right: 4%; top: 24%; z-index: 2; max-width: 150px; text-align: center; }

/* ════════════════════════════════════════════════════════════
   이야기 종류 — 가로 카드
   ════════════════════════════════════════════════════════════ */
.tlist { display: flex; flex-direction: column; gap: 16px; }
.tcard {
  display: grid;
  grid-template-columns: 260px 64px minmax(0, 1fr) 64px;
  align-items: center; gap: 20px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 18px;
  box-shadow: var(--sh-card);
  transition: transform .26s, box-shadow .26s, border-color .26s;
}
.tcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lift); border-color: var(--orange-line);
}
.tcard__img { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.tcard__ic {
  display: grid; place-items: center; width: 64px; height: 64px;
  border-radius: var(--r-lg); background: var(--soft-2); font-size: 28px;
}
.tcard__body { display: block; min-width: 0; }
.tcard__name { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.tcard__desc { display: block; margin-top: 6px; font-size: 14px;
  line-height: 1.75; color: var(--muted); }
.tcard__tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 13px; }
.tag {
  display: inline-block;
  background: var(--soft); border-radius: var(--r-pill);
  padding: 5px 13px; font-size: 12.5px; color: var(--ink-2);
}
.tcard__go {
  display: grid; place-items: center; width: 40px; height: 40px;
  justify-self: end; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange);
  font-size: 16px; transition: background .2s, color .2s, transform .2s;
}
.tcard:hover .tcard__go { background: var(--orange); color: #fff; transform: translateX(3px); }

/* ════════════════════════════════════════════════════════════
   아래 부름 띠
   ════════════════════════════════════════════════════════════ */
.cta {
  position: relative; margin-top: 40px;
  background: var(--grad-soft); border-radius: var(--r-xl); overflow: hidden;
}
.cta__bg { position: absolute; inset: 0 0 0 46%; }
.cta__bg .ph { width: 100%; height: 100%; }
.cta__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, #FFF6EE 0%, rgba(255,246,238,.92) 24%, transparent 66%);
}
.cta__in { position: relative; z-index: 1; padding: 46px 40px; max-width: 560px; }
.cta__kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .22em;
  color: var(--orange-2); text-transform: uppercase;
}
.cta__title {
  margin-top: 10px; font-size: clamp(21px, 2.8vw, 28px); font-weight: 800;
  line-height: 1.45; letter-spacing: -.03em;
}
.cta__title em { font-style: normal; color: var(--orange); }
.cta__desc { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.cta__btn { margin-top: 24px; }
.cta__memo { position: absolute; right: 5%; top: 26%; z-index: 2; max-width: 150px; text-align: center; }

/* ════════════════════════════════════════════════════════════
   만들기 — 단계 표시
   ════════════════════════════════════════════════════════════ */
.steps { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.steps__in { display: flex; align-items: flex-start; padding-block: 26px; }
.steps__item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 9px; position: relative; min-width: 0;
}
.steps__item::before {
  content: ''; position: absolute; left: -50%; top: 15px;
  width: 100%; height: 2px; background: var(--line-2); z-index: 0;
}
.steps__item:first-child::before { display: none; }
.steps__item--done::before, .steps__item--now::before { background: var(--orange); }
.steps__no {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--line-2); color: #fff;
  font-size: 13.5px; font-weight: 700;
}
.steps__item--done .steps__no { background: #B9AB9F; }
.steps__item--now  .steps__no { background: var(--orange);
  box-shadow: 0 0 0 5px rgba(253, 106, 31, .14); }
.steps__name { font-size: 13px; color: var(--muted); text-align: center; }
.steps__item--now .steps__name { color: var(--orange); font-weight: 700; }

/* 만들기 페이지 머리 */
.mhead { position: relative; text-align: center; padding-block: 40px 12px; }
.mhead__step {
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em; color: var(--orange-2);
}
.mhead__title {
  margin-top: 12px; font-size: clamp(23px, 3.2vw, 32px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.4;
}
.mhead__title em { font-style: normal; color: var(--orange); }
.mhead__desc { margin-top: 12px; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.mhead__memo { position: absolute; right: 0; top: 44px; max-width: 150px; text-align: center; }

/* ── 만들기 블록 ──────────────────────────────────────────── */
.block { padding-block: 30px; }
.block + .block { border-top: 1px solid var(--line); }
.block__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.block__no {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  border-radius: 50%; background: var(--orange); color: #fff;
  font-size: 15px; font-weight: 800;
}
.block__title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.block__title .sub { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.block__desc { margin-top: 5px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.block__more { margin-left: auto; flex: none; }

/* 사진 목록 */
.shots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.shot { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; }
.shot__del {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: rgba(35, 27, 22, .62); color: #fff; font-size: 12px;
  transition: background .18s;
}
.shot__del:hover { background: rgba(35, 27, 22, .85); }
.shot--add {
  display: grid; place-items: center; gap: 5px;
  border: 2px dashed var(--line-2); background: var(--bg-2);
  color: var(--muted); font-size: 13.5px; text-align: center; cursor: pointer;
}
.shot--add:hover { border-color: var(--orange-line); color: var(--orange); }
.shot--add i { font-style: normal; font-size: 24px; }
.shot--add small { font-size: 11.5px; color: var(--muted-2); }

.note-ok {
  display: flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 13.5px; color: var(--ok);
}
.note-ok i {
  display: grid; place-items: center; width: 18px; height: 18px; flex: none;
  border-radius: 50%; background: var(--ok); color: #fff; font-size: 10px; font-style: normal;
}

/* 캐릭터 고르기 */
.picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pick { cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick__box {
  position: relative; display: block; aspect-ratio: 1 / 1;
  border: 2.5px solid transparent; border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.pick:hover .pick__box { transform: translateY(-3px); }
.pick input:checked + .pick__box { border-color: var(--orange); }
.pick__check {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--orange); color: #fff; font-size: 13px;
  opacity: 0; transform: scale(.6); transition: .2s;
}
.pick input:checked + .pick__box .pick__check { opacity: 1; transform: scale(1); }
.pick__name { display: block; margin-top: 10px; text-align: center;
  font-size: 14px; font-weight: 700; }

/* 안내 띠 */
.hint {
  display: flex; align-items: center; gap: 16px;
  background: var(--soft-2); border-radius: var(--r-xl);
  padding: 18px 22px; margin-top: 22px;
}
.hint__ic {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 50%; background: var(--surface); font-size: 24px;
}
.hint b { display: block; font-size: 15.5px; }
.hint p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.hint .btn { margin-left: auto; flex: none; }

/* 함께 나올 사람 */
.mates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mate {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh); transition: transform .22s, box-shadow .22s, border-color .22s;
  text-align: center;
}
.mate:hover { transform: translateY(-4px); box-shadow: var(--sh-card); border-color: var(--orange-line); }
.mate__img { display: block; aspect-ratio: 16 / 11; }
.mate__blank {
  display: grid; place-items: center; aspect-ratio: 16 / 11;
  background: var(--bg-2);
}
.mate__blank i {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--orange-soft);
  color: var(--orange); font-size: 22px; font-style: normal;
}
.mate__body { display: block; padding: 13px 12px 16px; }
.mate__name { display: block; font-size: 14.5px; font-weight: 700; }
.mate__eg { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted-2); }

/* 아래 넘김 */
.mfoot { position: relative; border-top: 1px solid var(--line); padding-block: 34px 46px; }
.mfoot__in { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.mfoot__memo { position: absolute; right: 3%; top: 26px; max-width: 160px; text-align: center; }
.mfoot__kid {
  position: absolute; right: 16%; bottom: 0; width: 170px; height: 96px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

/* ════════════════════════════════════════════════════════════
   푸터
   ════════════════════════════════════════════════════════════ */
.foot { background: var(--footer); border-top: 1px solid var(--line); }
.foot__in {
  display: flex; align-items: center; gap: 24px;
  padding-block: 26px; flex-wrap: wrap;
}
.foot__logo { font-size: 18px; font-weight: 800; }
.foot__logo em { font-style: normal; color: var(--orange); }
.foot__links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.foot__links a:hover { color: var(--orange); }
.foot__sns { display: flex; gap: 10px; margin-left: auto; }
.foot__sns a {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px;
  transition: background .18s;
}
.foot__sns a:hover { background: var(--orange); }
.foot__copy { font-size: 12.5px; color: var(--muted-2); }

/* ════════════════════════════════════════════════════════════
   반응형
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .tcard { grid-template-columns: 200px 56px minmax(0, 1fr) 40px; gap: 16px; }
  .tcard__ic { width: 56px; height: 56px; font-size: 24px; }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mfoot__kid { display: none; }
}@media (max-width: 860px) {
  .gnb__nav, .gnb__login { display: none; }
  .gnb__burger { display: grid; }

  .phero__bg { inset: auto 0 0 0; height: 42%; opacity: .5; }
  .phero__bg::after {
    background: linear-gradient(180deg, #FFF7EF 0%, rgba(255,246,238,.7) 45%, transparent 100%);
  }
  .phero__txt { max-width: none; }
  .phero__memo { position: static; max-width: none; margin-top: 20px;
                 transform: none; text-align: left; }
  .phero__in { padding-block: 40px 150px; }

  .cta__bg { inset: auto 0 0 0; height: 44%; opacity: .5; }
  .cta__bg::after {
    background: linear-gradient(180deg, #FFF6EE 0%, rgba(255,246,238,.7) 45%, transparent 100%);
  }
  .cta__in { max-width: none; padding: 34px 26px 160px; }
  .cta__memo { position: static; max-width: none; margin-top: 18px;
               transform: none; text-align: left; }

  .mhead__memo { position: static; max-width: none; margin: 18px auto 0; transform: none; }
  .mfoot__memo { position: static; max-width: none; margin: 0 auto 18px; transform: none; }
  .mfoot__in { flex-direction: column-reverse; }
  .mfoot__in .btn { width: 100%; }

  .steps__name { font-size: 11.5px; }
}@media (max-width: 620px) {
  :root { --pad: 18px; --hd-h: 60px; }

  /* 헤더 — 좁은 화면에서 넘치지 않게 */
  .gnb__in { gap: 10px; }
  .gnb__logo { font-size: 19px; }
  .gnb__search { display: none; }
  .gnb__act { gap: 6px; }
  .gnb__act .btn--sm { padding: 8px 13px; font-size: 13px; }
  .gnb__burger { width: 34px; height: 34px; }

  .sec { padding-block: 40px; }

  /* 가로 카드 → 세로로 */
  .tcard {
    grid-template-columns: 56px minmax(0, 1fr) 32px;
    grid-template-areas: "img img img" "ic body go";
    gap: 12px 12px; padding: 14px;
  }
  .tcard__img  { grid-area: img; aspect-ratio: 16 / 9; margin-bottom: 4px; }
  .tcard__ic   { grid-area: ic; width: 44px; height: 44px; font-size: 20px; align-self: start; }
  .tcard__body { grid-area: body; }
  .tcard__go   { grid-area: go; width: 32px; height: 32px; font-size: 14px; align-self: center; }
  .tcard__name { font-size: 17px; }
  .tcard__desc { font-size: 13px; }

  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

  .hint { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hint .btn { margin-left: 0; width: 100%; }

  .block__head { flex-wrap: wrap; }
  .block__more { margin-left: 0; width: 100%; }
  .block__more .btn { width: 100%; }

  /* 단계 표시 — 좁으면 가로 스크롤 */
  .steps__in { overflow-x: auto; padding-inline: 4px; scrollbar-width: none; }
  .steps__in::-webkit-scrollbar { display: none; }
  .steps__item { min-width: 76px; flex: 0 0 76px; }
  .steps__item::before { left: -38px; width: 76px; }

  .foot__in { gap: 14px; }
  .foot__sns { margin-left: 0; }
}@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
}

/* ════════════════════════════════════════════════════════════
   히어로
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: linear-gradient(105deg,
              #FDF3E4 0%, #FBE7D2 38%, #F5D9BE 60%, #EFCDAE 100%);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0 0 0 32%;
  z-index: 0;
}
.hero__bg .ph { width: 100%; height: 100%; }
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
              #FDF3E4 0%, rgba(251, 231, 210, .96) 18%,
              rgba(248, 226, 202, .55) 38%, transparent 62%);
}
.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  gap: 30px;
  padding-block: 64px 40px;
  min-height: 500px;
}
.hero__title {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -.035em;
}
.hero__title em { font-style: normal; color: var(--orange); }

.hero__desc {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-2);
}
.hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero__note {
  position: absolute;
  right: 4%;
  top: 22%;
  max-width: 180px;
  font-family: var(--font-hand);
  font-size: 16px;
  line-height: 1.75;
  color: #7A5A3A;
  transform: rotate(-4deg);
  text-align: center;
}

/* 히어로 아래 네 칸 */
.hero__points-wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 34px;
}
.hero__points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 540px;   /* .shell 안에 두어야 왼쪽에 붙습니다 */
}
.point {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r);
  padding: 12px 8px;
  text-align: center;
  box-shadow: var(--sh);
}
.point__ic {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  margin: 0 auto 7px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
}
.point__tx { font-size: 11.5px; color: var(--ink-2); line-height: 1.45; }

/* 필름 스트립 */
.hero__film {
  position: absolute;
  right: 16px;
  bottom: 46px;
  z-index: 1;
  display: flex;
  gap: 6px;
  padding: 9px;
  background: #2A211C;
  border-radius: 6px;
  transform: rotate(-4deg);
  box-shadow: var(--sh-lift);
}
.hero__film .ph { width: 92px; height: 66px; border-radius: 3px; }
.hero__film-cap {
  position: absolute;
  right: 60px;
  bottom: 10px;
  z-index: 2;
  background: #FFFDF7;
  border-radius: 6px;
  padding: 7px 16px;
  font-family: var(--font-hand);
  font-size: 14px;
  color: #6B4E33;
  box-shadow: var(--sh);
  transform: rotate(-2deg);
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════
   이야기 종류 카드
   ════════════════════════════════════════════════════════════ */
.types {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.type {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-card);
  transition: transform .26s, box-shadow .26s;
}
.type:hover { transform: translateY(-6px); box-shadow: var(--sh-lift); }
.type__img { aspect-ratio: 1 / 1; }
.type__body {
  position: relative;
  flex: 1;
  padding: 14px 14px 46px;
}
.type__name {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
}
.type__desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.type__go {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 13px;
  transition: background .18s, transform .18s;
}
.type:hover .type__go { background: var(--orange); color: #fff; transform: translateX(2px); }

/* ════════════════════════════════════════════════════════════
   사진이 이렇게 변합니다
   ════════════════════════════════════════════════════════════ */
.flow {
  display: grid;
  /* 그림 4 + 화살표 3 = 7칸. repeat(4) 로 두면 두 줄로 깨집니다. */
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 10px;
}
.flow__step { text-align: center; }
.flow__img {
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  box-shadow: var(--sh-card);
  position: relative;
}
.flow__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.flow__play i {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-style: normal;
  font-size: 15px;
  box-shadow: var(--sh);
}
.flow__name {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
}
.flow__desc {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}
.flow__arrow {
  align-self: center;
  display: grid;
  place-items: center;
  padding-top: 40px;
  color: var(--muted-2);
  font-size: 18px;
}

/* ════════════════════════════════════════════════════════════
   어떻게 만들어져요
   ════════════════════════════════════════════════════════════ */
.howsteps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.howstep {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.howstep__ic {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 20px;
}
.howstep__no {
  font-size: 13px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: .04em;
}
.howstep__name {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 700;
}
.howstep__desc {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════
   감성 구역 (남색)
   ════════════════════════════════════════════════════════════ */
.emotion {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}
.emotion__bg { position: absolute; inset: 0 0 0 44%; }
.emotion__bg .ph {
  width: 100%; height: 100%;
  background: linear-gradient(120deg, #0A2036 0%, #1C3A55 55%, #2E4A66 100%);
}
.emotion__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--dark) 0%,
              rgba(0, 22, 39, .94) 22%, rgba(0, 22, 39, .45) 52%, transparent 75%);
}
.emotion__in {
  position: relative;
  z-index: 1;
  padding-block: 76px;
}
.emotion__txt { max-width: 620px; }
.emotion__title {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.46;
  letter-spacing: -.03em;
}
.emotion__title em { font-style: normal; color: #F5A623; }
.emotion__desc {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--on-dark-2);
}
.emotion__btn {
  margin-top: 28px;
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
}
.emotion__note {
  position: absolute;
  right: 3%;
  top: 34%;
  z-index: 2;
  max-width: 170px;
  font-family: var(--font-hand);
  font-size: 15px;
  line-height: 1.8;
  color: #F0D9B8;
  transform: rotate(-3deg);
}

/* ════════════════════════════════════════════════════════════
   갤러리
   ════════════════════════════════════════════════════════════ */
.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-left: auto;
}
.tab {
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: 7px 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: var(--surface);
  transition: .18s;
}
.tab:hover { border-color: var(--orange-line); color: var(--orange); }
.tab.is-on { background: var(--orange); border-color: transparent; color: #fff; font-weight: 700; }

.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.work { display: block; }
.work__thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-card);
  transition: transform .26s, box-shadow .26s;
}
.work:hover .work__thumb { transform: translateY(-5px); box-shadow: var(--sh-lift); }
.work__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}
.work__time {
  position: absolute;
  right: 7px; bottom: 7px;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  border-radius: 5px;
  padding: 1px 7px;
  font-size: 11px;
}
.work__name {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  /* 제목이 한 줄이든 두 줄이든 아래 태그 높이가 맞게 */
  min-height: calc(1.45em * 2);
}
.work__tag {
  display: inline-block;
  margin-top: 6px;
  background: var(--orange-soft);
  color: #C2571A;
  border-radius: var(--r-pill);
  padding: 2px 10px;
  font-size: 11px;
}

/* ════════════════════════════════════════════════════════════
   가격
   ════════════════════════════════════════════════════════════ */
.billing {
  display: inline-flex;
  background: #F0E7DA;
  border-radius: var(--r-pill);
  padding: 4px;
  margin-left: auto;
}
.billing button {
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-size: 13px;
  color: var(--ink-2);
  transition: .18s;
}
.billing button.is-on {
  background: var(--surface);
  font-weight: 700;
  box-shadow: var(--sh);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.plan {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px 26px 26px;
  text-align: center;
  box-shadow: var(--sh-card);
  transition: transform .26s, box-shadow .26s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--sh-lift); }
.plan--best {
  border: 2px solid var(--orange);
  background: linear-gradient(180deg, #FFF6EC 0%, var(--surface) 26%);
  box-shadow: 0 14px 40px rgba(253, 90, 5, .16);
}
.plan__badge {
  position: absolute;
  right: -1px; top: -1px;
  background: var(--grad-cta);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 5px 16px 5px 20px;
  border-radius: 0 var(--r-xl) 0 14px;
}
.plan__name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .02em;
}
.plan__sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.plan__feat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 26px 0;
  text-align: left;
}
.plan__feat li {
  display: flex;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-2);
}
.plan__feat li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 800;
  flex: none;
}
.plan__price {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}

/* ════════════════════════════════════════════════════════════
   후기
   ════════════════════════════════════════════════════════════ */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.review {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--sh);
}
.review__face {
  width: 52px; height: 52px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
}
.review__face .ph { width: 100%; height: 100%; }
.review__tx {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-2);
}
.review__stars { margin-top: 9px; color: #F5A623; font-size: 12px; letter-spacing: 1px; }
.review__who { margin-top: 4px; font-size: 12px; color: var(--muted); }

/* ════════════════════════════════════════════════════════════
   제작 진행 미리보기
   ════════════════════════════════════════════════════════════ */
.progress {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--sh-card);
}
.progress__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  margin-top: 22px;
}
.progress__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
.pipe {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pipe__item { display: flex; align-items: center; gap: 9px; }
.pipe__ic {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: #E8F3EE;
  font-size: 15px;
}
.pipe__item--now .pipe__ic { background: var(--orange-soft); }
.pipe__name { font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.pipe__state { font-size: 11.5px; color: #3B8F6B; }
.pipe__item--now .pipe__state { color: var(--orange); }
.pipe__arrow { color: var(--muted-2); font-size: 13px; }

.bar {
  height: 12px;
  border-radius: var(--r-pill);
  background: #F4E7D8;
  overflow: hidden;
  margin-top: 20px;
}
.bar__fill {
  display: block;
  height: 100%;
  width: 67%;
  border-radius: var(--r-pill);
  background: var(--grad-cta);
}
.progress__meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
}
.progress__pct { font-size: 15px; font-weight: 800; color: var(--orange); }

.progress__side {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--orange-soft);
  border-radius: var(--r-lg);
  padding: 20px;
}
.progress__side p { font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.progress__side .ph { width: 76px; height: 90px; border-radius: var(--r-sm); flex: none; }
.progress__ebook {
  margin-top: 12px;
  background: #FFC84D;
  color: var(--ink);
  box-shadow: none;
}

/* ════════════════════════════════════════════════════════════
   마지막 부름
   ════════════════════════════════════════════════════════════ */
.final {
  position: relative;
  isolation: isolate;
  background: var(--grad-final);
  text-align: center;
  overflow: hidden;
}
.final__in { position: relative; z-index: 1; padding-block: 78px 170px; }
.final__title {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -.03em;
}
.final__desc { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.final__btn { margin-top: 26px; }
.final__note {
  position: absolute;
  right: 5%;
  bottom: 22%;
  font-family: var(--font-hand);
  font-size: 15px;
  line-height: 1.8;
  color: #8A5A2A;
  transform: rotate(-3deg);
  text-align: center;
}
.final__kid {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 260px; height: 130px;
  z-index: 0;
  opacity: .9;
  border-radius: 20px 20px 0 0;
}

/* ════════════════════════════════════════════════════════════
   반응형 — 1200 / 768 / 375
   ════════════════════════════════════════════════════════════ */

/* ── 태블릿 위 (~1100px) ─────────────────── */
@media (max-width: 1100px) {
  .types    { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .howsteps    { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .hero__film { right: 10px; transform: rotate(-4deg) scale(.82);
                 transform-origin: right bottom; }
  .progress__grid { grid-template-columns: 1fr; }
}

/* ── 태블릿 (~900px) ─────────────────────── */
@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__burger { display: grid; }
  .header__act .btn { display: none; }

  .hero__in {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 40px 0;
  }
  .hero__bg { inset: auto 0 0 0; height: 46%; opacity: .5; }
  .hero__bg::after {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(251,231,210,.6) 40%, transparent 100%);
  }
  .hero__note { position: static; max-width: none; margin-top: 22px;
                transform: none; text-align: left; }
  .hero__film, .hero__film-cap { display: none; }
  .hero__points { max-width: none; }
  .hero__points-wrap { padding-bottom: 40px; margin-top: 30px; }

  .emotion__bg { inset: auto 0 0 0; height: 40%; opacity: .55; }
  .emotion__bg::after {
    background: linear-gradient(180deg, var(--dark) 0%, rgba(0,22,39,.7) 45%, transparent 100%);
  }
  .emotion__in { padding-block: 56px 190px; }
  .emotion__txt { max-width: none; }
  .emotion__note { position: static; max-width: none; margin-top: 20px; transform: none; }

  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--best { order: -1; }
  .reviews { grid-template-columns: 1fr; }

  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .flow__arrow { display: none; }

  .section { padding-block: 56px; }
}

/* ── 모바일 (~560px) ─────────────────────── */
@media (max-width: 560px) {
  :root { --pad: 18px; }

  .header__in { height: 58px; gap: 12px; }
  .header__logo { font-size: 19px; }
  .header__login { font-size: 14px; }

  .hero__title { line-height: 1.4; }
  .hero__desc { font-size: 14.5px; line-height: 1.85; }
  .hero__cta .btn { flex: 1 1 100%; }

  /* 카드 6개 — 두 칸으로 */
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .type__body { padding: 12px 12px 40px; }
  .type__name { font-size: 13.5px; }
  .type__desc { font-size: 11.5px; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .howsteps   { grid-template-columns: 1fr; gap: 20px; }
  .hero__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .section__head--row { flex-direction: column; align-items: stretch; }
  .section__head--row .section__more,
  .section__head--row .billing,
  .section__head--row .tabs { margin-left: 0; }

  .flow { grid-template-columns: 1fr; }
  .progress { padding: 22px 18px; }
  .progress__panel { padding: 16px; }
  .pipe { flex-direction: column; align-items: stretch; gap: 10px; }
  .pipe__arrow { display: none; }
  .pipe__item { gap: 11px; }
  .progress__side { flex-direction: column; text-align: center; }

  .final__in { padding-block: 56px 150px; }
  .final__note { position: static; margin-top: 20px; transform: none; }
  .final__kid { width: 190px; height: 96px; }
  .footer__in { gap: 14px; }
  .footer__sns { margin-left: 0; }
}

/* ── 아주 좁은 화면 (~340px) ─────────────── */
/* 375px 에서는 카드를 두 칸으로 둡니다. 한 칸이면 너무 길어집니다. */
@media (max-width: 340px) {
  .types   { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
}

/* ── 움직임을 줄이고 싶은 분 ──────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* ── 랜딩에서 빠졌던 공통 (00_landing) ──────────────────── */
.section__head { margin-bottom: 28px; }
.section__head--row {
  display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap;
}
.section__head--row .section__more,
.section__head--row .billing,
.section__head--row .tabs { margin-left: auto; }
.section__title {
  font-size: clamp(24px, 3.2vw, 32px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.35;
}
.section__desc { margin-top: 8px; font-size: 15px; color: var(--muted); }
.section--soft { background: var(--bg-2); }
.section--warm { background: #FEFBF6; }
.hero__txt { max-width: 560px; }
.btn--full { width: 100%; }
.btn--outline {
  background: transparent; color: var(--orange);
  border: 1.5px solid var(--orange-line);
}
.btn--outline:hover { border-color: var(--orange); background: var(--orange-soft); }

/* 랜딩에서만 쓰는 .section (뜬다스토리 새 페이지는 .sec 을 씁니다) */
.section { padding-block: 72px; }@media (max-width: 860px) { .section { padding-block: 56px; } }
/* ════════════════════════════════════════════════════════════
   만들기 1단계 — 이야기 종류 고르기
   ════════════════════════════════════════════════════════════ */
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kind { cursor: pointer; }
.kind input { position: absolute; opacity: 0; }
.kind__box {
  display: block; height: 100%;
  background: var(--surface); border: 2px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-card); transition: transform .24s, box-shadow .24s, border-color .24s;
}
.kind:hover .kind__box { transform: translateY(-4px); box-shadow: var(--sh-lift); }
.kind input:checked + .kind__box { border-color: var(--orange); }
.kind__img { display: block; aspect-ratio: 16 / 9; }
.kind__body { display: block; padding: 16px 18px 20px; }
.kind__row { display: flex; align-items: center; gap: 10px; }
.kind__ic {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: var(--r); background: var(--soft-2); font-size: 22px;
}
.kind__radio {
  margin-left: auto; display: grid; place-items: center;
  width: 22px; height: 22px; border: 2px solid var(--line-2);
  border-radius: 50%; transition: .2s;
}
.kind__radio::after {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange); transform: scale(0); transition: transform .2s;
}
.kind input:checked + .kind__box .kind__radio { border-color: var(--orange); }
.kind input:checked + .kind__box .kind__radio::after { transform: scale(1); }
.kind__name { display: block; margin-top: 14px; font-size: 18px; font-weight: 800;
  letter-spacing: -.02em; }
.kind__desc { display: block; margin-top: 7px; font-size: 13.5px;
  line-height: 1.7; color: var(--muted); }

/* 인용 띠 */
.quote {
  position: relative; margin-top: 34px;
  background: var(--grad-soft); border-radius: var(--r-xl); overflow: hidden;
}
.quote__in { position: relative; z-index: 1; padding: 38px 36px; max-width: 560px; }
.quote__tx {
  font-family: var(--font-hand); font-size: clamp(19px, 2.6vw, 25px);
  line-height: 1.7; color: var(--ink);
}
.quote__sub { margin-top: 14px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.quote__img { position: absolute; right: 3%; bottom: 0; width: 300px; height: 100%; }
.quote__img .ph { width: 100%; height: 100%; background: none; }

/* ════════════════════════════════════════════════════════════
   만들기 3단계 — 사연 입력
   ════════════════════════════════════════════════════════════ */
.form2 { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 26px; box-shadow: var(--sh-card);
}
.panel__head { display: flex; align-items: flex-start; gap: 16px; }
.panel__ic {
  display: grid; place-items: center; width: 56px; height: 56px; flex: none;
  border-radius: 50%; background: var(--orange-soft); font-size: 26px;
}
.panel__title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.panel__desc { margin-top: 6px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }

.ta { position: relative; margin-top: 20px; }
.ta textarea {
  width: 100%; min-height: 250px; resize: vertical;
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 18px 18px 40px; font-size: 14.5px; line-height: 1.9;
  background: var(--bg-2); transition: border-color .18s;
}
.ta textarea:focus { outline: none; border-color: var(--orange-line); background: var(--surface); }
.ta textarea::placeholder { color: var(--muted-2); }
.ta__count {
  position: absolute; right: 16px; bottom: 14px;
  font-size: 12.5px; color: var(--muted-2); pointer-events: none;
}
.ta__count.is-over { color: #C0392B; }

.subh { margin: 28px 0 14px; font-size: 16px; font-weight: 800; }
.subh .sub { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 5px; }

.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tip {
  display: flex; align-items: flex-start; gap: 11px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 14px 15px; text-align: left;
  transition: border-color .18s, transform .18s;
}
.tip:hover { border-color: var(--orange-line); transform: translateY(-2px); }
.tip__ic {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: 10px; background: var(--orange-soft); font-size: 16px;
}
.tip b { display: block; font-size: 13.5px; }
.tip small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted-2); }

/* 오른쪽 곁 상자 */
.side { display: flex; flex-direction: column; gap: 14px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 18px; box-shadow: var(--sh);
}
.card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.card__head i {
  display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 8px; background: var(--orange-soft); font-size: 14px; font-style: normal;
}
.card__head b { font-size: 15px; font-weight: 800; }
.card__img { aspect-ratio: 16 / 10; border-radius: var(--r); }
.card__name { margin-top: 11px; font-size: 15px; font-weight: 700; }
.card__link {
  display: inline-block; margin-top: 9px;
  background: var(--orange-soft); color: var(--orange-d);
  border-radius: var(--r-pill); padding: 5px 13px; font-size: 12.5px; font-weight: 700;
}
.card__link:hover { background: var(--orange); color: #fff; }
.card__hero { display: flex; align-items: center; gap: 12px; }
.card__hero .ph { width: 64px; height: 64px; border-radius: var(--r); flex: none; }
.card__quote {
  background: var(--soft); border-radius: var(--r);
  padding: 14px; font-size: 13px; line-height: 1.8; color: var(--ink-2);
}

/* ════════════════════════════════════════════════════════════
   만들기 4단계 — 스타일 설정
   ════════════════════════════════════════════════════════════ */
.setup { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }
.opts  { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt__box {
  display: block; height: 100%;
  background: var(--surface); border: 2px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; text-align: center;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.opt:hover .opt__box { transform: translateY(-3px); box-shadow: var(--sh-card); }
.opt input:checked + .opt__box { border-color: var(--orange); }
.opt__img { display: block; aspect-ratio: 3 / 4; }
.opt__face {
  display: grid; place-items: center; height: 62px; margin: 16px auto 0;
  width: 62px; border-radius: 50%; background: var(--orange-soft); font-size: 26px;
}
.opt__body { display: block; padding: 12px 10px 16px; }
.opt__row { display: flex; align-items: center; justify-content: center; gap: 6px; }
.opt__name { font-size: 13.5px; font-weight: 700; }
.opt__radio {
  display: grid; place-items: center; width: 18px; height: 18px; flex: none;
  border: 2px solid var(--line-2); border-radius: 50%; transition: .2s;
}
.opt__radio::after {
  content: '✓'; font-size: 9px; color: #fff; opacity: 0; transition: opacity .2s;
}
.opt input:checked + .opt__box .opt__radio {
  background: var(--orange); border-color: var(--orange);
}
.opt input:checked + .opt__box .opt__radio::after { opacity: 1; }
.opt__desc { display: block; margin-top: 6px; font-size: 11.5px;
  line-height: 1.6; color: var(--muted); }
.opt__big { display: block; font-size: 18px; font-weight: 800; }
.opt__tagline { display: block; margin-top: 2px; font-size: 12px; color: var(--muted-2); }

/* 미리보기 곁 */
.peek { position: sticky; top: calc(var(--hd-h) + 16px); }
.peek__title { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.peek__img { aspect-ratio: 16 / 11; border-radius: var(--r); }
.peek__list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.peek__row {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-2); border-radius: var(--r); padding: 11px 13px;
}
.peek__row i { font-style: normal; font-size: 15px; flex: none; }
.peek__row span { font-size: 11.5px; color: var(--muted-2); }
.peek__row b { display: block; font-size: 13px; }
.peek__row .ph { width: 34px; height: 34px; border-radius: 8px; flex: none; margin-left: auto; }
.peek__memo {
  margin-top: 14px; background: var(--soft); border-radius: var(--r);
  padding: 16px; text-align: center;
}

/* ════════════════════════════════════════════════════════════
   제작 진행
   ════════════════════════════════════════════════════════════ */
.making { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; align-items: start; }
.trail { display: flex; flex-direction: column; }
.trail__item { display: flex; gap: 14px; position: relative; padding-bottom: 26px; }
.trail__item:last-child { padding-bottom: 0; }
.trail__item::before {
  content: ''; position: absolute; left: 11px; top: 26px; bottom: 0;
  width: 2px; background: var(--line-2);
}
.trail__item:last-child::before { display: none; }
.trail__item--done::before { background: var(--orange); }
.trail__dot {
  position: relative; z-index: 1; flex: none;
  display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: var(--line-2); color: #fff; font-size: 11px;
}
.trail__item--done .trail__dot { background: var(--orange); }
.trail__item--now .trail__dot {
  background: var(--orange); box-shadow: 0 0 0 5px rgba(253, 106, 31, .14);
}
.trail__ic {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: var(--r); background: var(--soft); font-size: 19px;
}
.trail__item--done .trail__ic, .trail__item--now .trail__ic { background: var(--orange-soft); }
.trail__name { font-size: 14.5px; font-weight: 700; }
.trail__item--now .trail__name { color: var(--orange); }
.trail__desc { margin-top: 3px; font-size: 12.5px; color: var(--muted); }

.stage { }
.stage__img { aspect-ratio: 16 / 9; border-radius: var(--r-xl); box-shadow: var(--sh-card); }
.bar {
  display: flex; align-items: center; gap: 14px; margin-top: 18px;
}
.bar__track {
  flex: 1; height: 14px; border-radius: var(--r-pill);
  background: #F5E7D8; overflow: hidden;
}
.bar__fill {
  display: block; height: 100%; width: 68%;
  border-radius: var(--r-pill); background: var(--grad);
  transition: width .6s;
}
.bar__pct { font-size: 19px; font-weight: 800; color: var(--orange); flex: none; }
.stage__note { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* ════════════════════════════════════════════════════════════
   결과 보기
   ════════════════════════════════════════════════════════════ */
.result { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.player {
  position: relative; aspect-ratio: 16 / 10;
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-card);
  background: #1B1410;
}
.player__ui {
  position: absolute; inset: auto 0 0; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  color: #fff;
}
.player__ui button { color: #fff; font-size: 15px; }
.player__time { font-size: 13px; }
.player__rest { margin-left: auto; display: flex; gap: 12px; }
.player__seek {
  position: absolute; left: 16px; right: 16px; bottom: 8px; z-index: 3;
  height: 4px; border-radius: 2px; background: rgba(255,255,255,.28);
}
.player__seek i { display: block; height: 100%; width: 34%; border-radius: 2px; background: #fff; }

.meta__head { display: flex; align-items: center; gap: 12px; }
.meta__ic {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 50%; background: var(--orange-soft); font-size: 22px;
}
.meta__title { font-size: 19px; font-weight: 800; }
.meta__sub { font-size: 13px; color: var(--muted); }
.meta__tx { margin-top: 16px; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.meta__rows { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.meta__row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.meta__row:last-child { border-bottom: 0; }
.meta__row i { font-style: normal; font-size: 15px; }
.meta__row b { font-weight: 700; }
.meta__row span { margin-left: auto; color: var(--ink-2); }

.acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.done {
  display: flex; align-items: center; gap: 18px; margin-top: 22px;
  background: var(--grad-soft); border-radius: var(--r-xl); padding: 22px 26px;
}
.done .ph { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.done b { display: block; font-size: 17px; font-weight: 800; }
.done p { margin-top: 6px; font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.done__memo { margin-left: auto; flex: none; text-align: center; }

.more {
  display: flex; align-items: center; gap: 14px; margin-top: 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 20px 24px; box-shadow: var(--sh);
}
.more i { font-style: normal; font-size: 22px; }
.more b { display: block; font-size: 16px; font-weight: 800; }
.more p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.more .btn { margin-left: auto; flex: none; }

/* ════════════════════════════════════════════════════════════
   만들기 흐름 — 반응형
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .form2, .setup, .result { grid-template-columns: 1fr; }
  .making { grid-template-columns: 1fr; }
  .peek { position: static; }
  .opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote__img { display: none; }
  .quote__in { max-width: none; }
}

@media (max-width: 620px) {
  .kinds { grid-template-columns: 1fr; }
  .opts, .opts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tips { grid-template-columns: 1fr; }
  .acts { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .panel__head { gap: 12px; }
  .panel__ic { width: 46px; height: 46px; font-size: 21px; }
  .quote__in { padding: 26px 20px; }
  .done { flex-direction: column; text-align: center; }
  .done__memo { margin-left: 0; }
  .more { flex-direction: column; text-align: center; }
  .more .btn { margin-left: 0; width: 100%; }
  .trail__item { padding-bottom: 20px; }
  .meta__row span { margin-left: auto; }
}
