/* 러브트리 사이트 스타일 v2. 색·글꼴·크기는 DESIGN.md를 따른다. 화면 코드에 색상값을 직접 쓰지 않는다. */

@font-face {
  font-family: "Montserrat";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/montserrat-700.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/montserrat-800.woff2") format("woff2");
}

:root {
  /* 색 (DESIGN.md 3장) */
  --bg: #f6f6fd;
  --surface: #e9e9fa;
  --card: #ffffff;
  --ink: #1e2142;
  --muted: #4a4f8c;
  --accent: #5b5fd6;
  --accent-hover: #4a4ec6;
  --accent-soft: #e4e5fb;
  --accent-ink: #ffffff;
  --sky-deep: #4f53cb;
  --sky-light: #7d86e6;
  --night: #1e2142;
  --night-ink: #f6f6fd;
  --night-muted: #c5c7e8;
  --brand-red: #e24823;
  --brand-trunk: #875335;
  --lobe-empty: #dcdcf5;
  --silhouette: rgba(255, 255, 255, 0.55);
  --form-line: #9ea1d9;
  --error: #b3261e;
  --white: #ffffff;

  /* 하늘 그라데이션과 카드 그림자 (DESIGN.md v2에서 허용) */
  --sky: linear-gradient(135deg, var(--sky-deep) 0%, var(--accent) 45%, var(--sky-light) 100%);
  --sky-soft: linear-gradient(180deg, #e3e3fa 0%, var(--bg) 100%);
  --shadow: 0 1px 2px rgba(30, 33, 66, 0.06), 0 8px 28px rgba(79, 83, 203, 0.10);
  --shadow-lift: 0 2px 4px rgba(30, 33, 66, 0.08), 0 16px 40px rgba(79, 83, 203, 0.18);

  /* 글꼴 (DESIGN.md 4장) */
  --font-text: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-display: "Montserrat", var(--font-text);
  --step-small: 0.9375rem;                                  /* 15px */
  --step-body: 1.125rem;                                    /* 18px */
  --step-lead: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem); /* 19~22px */
  --step-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);        /* 20~24px */
  --step-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);        /* 28~40px */
  --step-h1: clamp(2.125rem, 1.4rem + 3vw, 3.75rem);        /* 34~60px */
  --step-title: clamp(2.75rem, 1.6rem + 4vw, 4.5rem);       /* 44~72px 페이지 영문 제목 */

  /* 간격 */
  --m: clamp(16px, 4vw, 40px);
  --wrap: 1120px;
  --gap-section: clamp(64px, 8vw, 112px);
  --radius-card: 24px;
  --radius-small: 14px;
  --radius-pill: 999px;
  --radius-field: 12px;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; font-weight: 600; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--m); top: -100px; z-index: 10;
  background: var(--ink); color: var(--white);
  padding: 12px 20px; border-radius: var(--radius-pill);
}
.skip:focus { top: 12px; color: var(--white); }

.js-only { display: none; }
.js .js-only { display: revert; }
.center { text-align: center; margin-top: 40px; }

.h2 { font-size: var(--step-h2); line-height: 1.3; letter-spacing: -0.02em; font-weight: 800; }
.h3 { font-size: var(--step-h3); line-height: 1.4; letter-spacing: -0.01em; font-weight: 700; }

/* 반짝임: 직접 그린 네 갈래 별 */
.sparkle { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 30px;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 700; font-size: 1.0625rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(91, 95, 214, 0.28);
  transition: background-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.btn:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(91, 95, 214, 0.34); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--small { min-height: 42px; padding: 0 22px; font-size: 0.9375rem; box-shadow: none; }
.btn--small:hover { box-shadow: none; }
.btn--inverse { background: var(--white); color: var(--accent); box-shadow: 0 8px 24px rgba(30, 33, 66, 0.18); }
.btn--inverse:hover { background: var(--white); color: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.8); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); box-shadow: none; }
.btn--soft { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.btn--soft:hover { background: var(--surface); color: var(--accent-hover); box-shadow: none; }
.btn--inverse:focus-visible, .btn--ghost:focus-visible { outline-color: var(--white); }

/* ---------- 메뉴 ---------- */
.nav {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 32px;
  padding: 12px var(--m);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(30, 33, 66, 0.06), 0 4px 16px rgba(30, 33, 66, 0.04);
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav__brand:hover { color: var(--ink); }
.nav__word { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.12em; }
.nav__links { display: flex; gap: 8px; margin-left: auto; }
.nav__links a {
  color: var(--ink); text-decoration: none; font-weight: 600;
  padding: 8px 16px; border-radius: var(--radius-pill);
  transition: background-color 0.2s, color 0.2s;
}
.nav__links a:hover { background: var(--accent-soft); color: var(--accent); }
.nav__links a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }

/* ---------- 공통 구역 ---------- */
.section { max-width: calc(var(--wrap) + 2 * var(--m)); margin: 0 auto; padding: var(--gap-section) var(--m); }
.section--tight { padding-top: 0; }
.section--tint { max-width: none; background: var(--surface); }
.section--tint > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

.sectionhead { display: grid; justify-items: center; gap: 12px; text-align: center; margin-bottom: 48px; }
.sectionhead p { color: var(--muted); max-width: 40em; }
.sectionhead--after { margin: 56px 0 0; }
.sectionhead__spark { color: var(--accent); width: 28px; height: 28px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent);
  font-size: 0.875rem; font-weight: 700; line-height: 1.4;
}
.tag .sparkle { width: 0.8em; height: 0.8em; }

/* 페이지 머리 (스텔라이브처럼 가운데 영문 제목) */
.pagehead {
  display: grid; justify-items: center; gap: 8px; text-align: center;
  padding: clamp(56px, 7vw, 96px) var(--m) clamp(40px, 5vw, 64px);
  background: var(--sky-soft);
}
.pagehead__spark { color: var(--accent); width: 32px; height: 32px; animation: spin-twinkle 6s ease-in-out infinite; }
.pagehead__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--step-title); line-height: 1.05; letter-spacing: 0.02em;
  color: var(--accent);
}
.pagehead__sub { font-size: var(--step-lead); font-weight: 600; color: var(--muted); }

/* ---------- 홈: 첫 화면 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--sky);
  color: var(--white);
  padding: clamp(64px, 9vw, 128px) var(--m) clamp(72px, 10vw, 140px);
}
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
/* 스텔라이브 배경처럼 은은한 빛 덩어리 두 개 */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
}
.hero::before { width: 560px; height: 560px; left: -180px; top: -200px; }
.hero::after { width: 680px; height: 680px; right: -240px; bottom: -320px; }
.twinkle { position: absolute; color: var(--white); opacity: 0.75; animation: twinkle 3.6s ease-in-out infinite; }
.twinkle .sparkle { width: 100%; height: 100%; }
.tw-1 { left: 8%;  top: 22%; width: 18px; height: 18px; animation-delay: 0s; }
.tw-2 { left: 16%; top: 70%; width: 12px; height: 12px; animation-delay: 0.7s; }
.tw-3 { left: 22%; top: 46%; width: 12px; height: 12px; animation-delay: 1.4s; }
.tw-4 { left: 74%; top: 18%; width: 14px; height: 14px; animation-delay: 2.1s; }
.tw-5 { left: 84%; top: 62%; width: 22px; height: 22px; animation-delay: 0.4s; }
.tw-6 { left: 92%; top: 32%; width: 10px; height: 10px; animation-delay: 1.1s; }
.tw-7 { left: 70%; top: 86%; width: 12px; height: 12px; animation-delay: 1.8s; }
.tw-8 { left: 34%; top: 9%;  width: 14px; height: 14px; animation-delay: 2.5s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 0.95; transform: scale(1) rotate(20deg); }
}
@keyframes spin-twinkle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(45deg) scale(1.12); }
}
.hero__inner { position: relative; max-width: 760px; margin: 0 auto; display: grid; justify-items: center; text-align: center; gap: 20px; }
.hero__logo {
  width: clamp(120px, 14vw, 168px); height: auto;
  background: var(--white); border-radius: 50%; padding: 18px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.18), 0 18px 48px rgba(30, 33, 66, 0.25);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero__title { font-size: var(--step-h1); line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; margin-top: 8px; }
.hero__lead { font-size: var(--step-lead); font-weight: 600; line-height: 1.6; max-width: 26em; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }

/* ---------- 홈: 자라는 나무 ---------- */
.growcard {
  display: grid; grid-template-columns: minmax(180px, 280px) 1fr; align-items: center; gap: clamp(24px, 5vw, 64px);
  background: var(--card); border-radius: var(--radius-card); box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: 40px;
}
.growcard__tree .tree { width: 100%; }
.growcard__text { display: grid; gap: 16px; }
.growcard__text p { color: var(--ink); }
.growcard__text strong { color: var(--brand-red); }
.dots { display: flex; gap: 8px; }
.dots li { width: 14px; height: 14px; border-radius: 50%; background: var(--lobe-empty); }
.dots li.is-on { background: var(--brand-red); }

.tree__trunk { fill: var(--brand-trunk); }
.tree__lobe { fill: var(--lobe-empty); transform-box: fill-box; transform-origin: center; transition: fill 0.5s, transform 0.5s var(--ease-out); }
.tree__lobe.is-filled { fill: var(--brand-red); }
.tree__lobe.is-active { transform: scale(1.06); }

/* 노래 카드 (스텔라이브 MUSIC 목록처럼) */
.songgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.songcard__link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--card); border-radius: var(--radius-card); box-shadow: var(--shadow);
  overflow: hidden; text-decoration: none; color: var(--ink); font-weight: 400;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.songcard__link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); color: var(--ink); }
.songcard__thumb { display: block; aspect-ratio: 16 / 9; background: var(--surface); overflow: hidden; }
.songcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.songcard__link:hover .songcard__thumb img { transform: scale(1.05); }
.songcard__body { display: grid; gap: 8px; justify-items: start; padding: 20px 22px 24px; }
.songcard__title { font-size: var(--step-h3); font-weight: 700; line-height: 1.4; }
.songcard__meta { font-size: var(--step-small); color: var(--muted); font-weight: 600; }

/* 참여 방식 카드 */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.way, .fact {
  display: grid; gap: 10px; align-content: start;
  background: var(--card); border-radius: var(--radius-card); box-shadow: var(--shadow);
  padding: 28px 28px 32px;
}
.way__icon { color: var(--accent); width: 26px; height: 26px; margin-bottom: 6px; }
.way__title, .fact__title { font-size: var(--step-h3); font-weight: 700; line-height: 1.4; }
.way p, .fact p { color: var(--ink); }

/* 홈 마무리 띠 */
.ctaband {
  position: relative; overflow: hidden;
  display: grid; justify-items: center; gap: 16px; text-align: center;
  background: var(--sky); color: var(--white);
  border-radius: 32px; box-shadow: var(--shadow-lift);
  padding: clamp(48px, 7vw, 88px) var(--m);
}
.ctaband > :not(.hero__sky) { position: relative; }
.ctaband__title { font-size: var(--step-h2); line-height: 1.35; font-weight: 800; letter-spacing: -0.02em; max-width: 18em; }
.ctaband p { font-weight: 600; max-width: 30em; }
.ctaband .btn { margin-top: 8px; }

/* ---------- 회사소개 ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contactcard {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 24px; padding: 28px 32px;
  background: var(--card); border-radius: var(--radius-card); box-shadow: var(--shadow);
}
.contactcard p { color: var(--ink); }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: var(--card); border-radius: var(--radius-small); box-shadow: var(--shadow); overflow: hidden; }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 64px 20px 24px;
  font-size: var(--step-lead); font-weight: 700; line-height: 1.5;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 28px; top: 50%;
  width: 10px; height: 10px; margin-top: -8px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg); transition: transform 0.25s var(--ease-out);
}
.faq__item summary:hover { color: var(--accent); }
.faq__item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq__item p { padding: 0 24px 24px; color: var(--ink); }

/* ---------- 소속팀 (스텔라이브 TALENT 카드처럼) ---------- */
.members { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: clamp(20px, 4vw, 48px); }
.member__arch {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--radius-card) var(--radius-card);
  background: var(--sky);
  box-shadow: var(--shadow-lift);
  transition: transform 0.3s var(--ease-out);
}
.member:hover .member__arch { transform: translateY(-6px); }
.member__sil { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; fill: var(--silhouette); }
.member__spark { position: absolute; top: 14%; right: 20%; width: 22px; height: 22px; color: var(--white); animation: twinkle 3.6s ease-in-out infinite; }
.member__plate {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 16px 20px; text-align: center; color: var(--white);
  background: rgba(30, 33, 66, 0.55);
}
.member__name { font-size: var(--step-h3); font-weight: 800; line-height: 1.3; }
.member__en { font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.16em; margin-top: 2px; }

/* ---------- 지원접수 ---------- */
.readcard {
  max-width: 820px; margin: 0 auto 32px;
  background: var(--card); border-radius: var(--radius-card); box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 56px);
  display: grid; gap: 16px;
}
.readcard .h2 { margin-bottom: 8px; }
.readcard__lead { font-size: var(--step-lead); font-weight: 700; color: var(--accent); }
.readcard__quote {
  margin-top: 12px; padding: 20px 24px;
  border-radius: var(--radius-small); background: var(--accent-soft);
  font-size: var(--step-lead); font-weight: 700; line-height: 1.6;
}

.guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guidecard {
  position: relative;
  background: var(--card); border-radius: var(--radius-card); box-shadow: var(--shadow);
  padding: 28px 28px 28px 88px;
}
.guidecard__no {
  position: absolute; left: 28px; top: 26px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem;
}
.guidecard__title { font-size: var(--step-h3); font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.guidecard p { color: var(--ink); }

.applycard {
  max-width: 820px; margin: 0 auto;
  background: var(--card); border-radius: 32px; box-shadow: var(--shadow-lift);
  padding: clamp(28px, 5vw, 56px);
}
.applycard__head { display: grid; justify-items: center; gap: 10px; text-align: center; margin-bottom: 40px; }
.applycard__head p { color: var(--muted); font-weight: 600; }
.apply__closed { font-size: var(--step-lead); text-align: center; }

.form { display: grid; gap: 36px; }
.form__summary { background: #fdecea; border-radius: var(--radius-small); padding: 20px 24px; color: var(--error); }
.form__summary ul { margin-top: 8px; display: grid; gap: 4px; }
.form__summary a { color: var(--error); }
.checks {
  display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 28px; align-items: center;
  background: var(--accent-soft); border-radius: var(--radius-card);
  padding: 24px 28px;
}
.checks__tree .tree { width: 140px; }
.checks__list { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks__list legend { font-size: var(--step-h3); font-weight: 700; margin-bottom: 8px; padding: 0; }
.checks__hint { color: var(--muted); font-size: var(--step-small); font-weight: 600; }
.check, .radio { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; line-height: 1.6; }
.check input, .radio input { flex: none; width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--accent); cursor: pointer; }
.form__body { display: grid; gap: 32px; }
.form__body > .btn { justify-self: center; min-width: 260px; min-height: 58px; font-size: 1.125rem; }
.field { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.field legend, .field > label, .field__label { font-weight: 700; padding: 0; margin-bottom: 4px; }
.field__sublabel { font-weight: 600; margin-top: 8px; }
.req { font-weight: 600; font-size: 0.8125rem; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: var(--radius-pill); margin-left: 6px; vertical-align: 2px; }
.radio { padding: 2px 0; }
.field input[type="text"], .field input[type="url"], .field input[type="email"], .field select {
  width: 100%; min-height: 54px; padding: 12px 16px;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--form-line); border-radius: var(--radius-field);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:hover, .field select:hover { border-color: var(--accent); }
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91, 95, 214, 0.22); }
.field__pair { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; }
.field__help { font-size: var(--step-small); color: var(--muted); }
.field__error, .form__error { color: var(--error); font-size: var(--step-small); font-weight: 700; }
.form__error:empty { display: none; }
.upload { display: grid; gap: 10px; }
.upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__pick {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; cursor: pointer;
  padding: 18px; border: 2px dashed var(--form-line); border-radius: var(--radius-small); background: var(--bg);
  transition: border-color 0.2s, background-color 0.2s;
}
.upload__pick:hover { border-color: var(--accent); background: var(--accent-soft); }
.upload__btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border-radius: var(--radius-pill); background: var(--accent); color: var(--white); font-weight: 700;
}
.upload:focus-within .upload__pick { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91, 95, 214, 0.22); }
.upload__name { color: var(--muted); font-weight: 600; }
.upload__bar { height: 10px; border-radius: var(--radius-pill); background: var(--surface); overflow: hidden; }
.upload__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.2s; }
.upload__status { font-size: var(--step-small); font-weight: 700; }
.upload__status:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: 함정 칸 숨김, 선이 아님 */
.consent { background: var(--bg); border-radius: var(--radius-small); padding: 18px 20px; }
.consent .check span { font-size: 1rem; }

/* ---------- 제출 완료·오류 ---------- */
.donecard {
  max-width: 640px; margin: 0 auto; text-align: center;
  display: grid; justify-items: center; gap: 16px;
  background: var(--card); border-radius: 32px; box-shadow: var(--shadow-lift);
  padding: clamp(32px, 6vw, 64px);
}
.donecard__tree .tree { width: 160px; }
.donecard .btn { margin-top: 12px; }

/* ---------- 처리방침 ---------- */
.doc { max-width: 820px; }
.doc__meta { color: var(--muted); font-weight: 600; }
.doc h2 { font-size: var(--step-h3); margin: 24px 0 4px; }
.doc ul { list-style: disc; padding-left: 1.4em; display: grid; gap: 4px; }

/* ---------- 푸터 ---------- */
.footer { background: var(--night); color: var(--night-ink); padding: 56px var(--m) 40px; }
.footer > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.footer a { color: var(--night-ink); text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer a:focus-visible { outline-color: var(--night-ink); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; }
.footer__brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.12em; }
.footer__tag { color: var(--night-muted); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-top: 32px; padding-top: 28px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.footer__links, .footer__reach { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__legal { margin-top: 28px; font-size: var(--step-small); color: var(--night-muted); }

/* ---------- 움직임 ---------- */
.js [data-reveal], .js [data-reveal-item] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.8s var(--ease-out); }
.js [data-reveal].is-in, .js [data-reveal-item].is-in { opacity: 1; transform: none; }
.js .songgrid > :nth-child(2), .js .ways > :nth-child(2), .js .facts > :nth-child(2), .js .guide > :nth-child(2n) { transition-delay: 90ms; }
.js .songgrid > :nth-child(3), .js .ways > :nth-child(3), .js .facts > :nth-child(3) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .twinkle, .member__spark, .pagehead__spark, .hero__logo { animation: none; }
  .js [data-reveal], .js [data-reveal-item] { transform: none; transition: opacity 0.3s ease; }
  .btn, .songcard__link, .songcard__thumb img, .member__arch, .tree__lobe { transition: none; }
  .btn:hover, .songcard__link:hover, .member:hover .member__arch, .songcard__link:hover .songcard__thumb img, .tree__lobe.is-active { transform: none; }
}

/* ---------- 태블릿·휴대폰 ---------- */
@media (max-width: 900px) {
  .ways, .facts { grid-template-columns: minmax(0, 1fr); }
  .guide { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .nav { flex-wrap: wrap; gap: 8px 12px; }
  .tw-3, .tw-7, .tw-8, .ctaband .tw-2 { display: none; }
  .tw-1 { left: 6%; top: 10%; } .tw-2 { left: 4%; top: 88%; } .tw-4 { left: 86%; top: 8%; } .tw-5 { left: 88%; top: 90%; } .tw-6 { left: 92%; top: 46%; }
  .ctaband .tw-1 { top: 8%; } .ctaband .tw-3 { display: block; left: 6%; top: 92%; } .ctaband .tw-4 { top: 90%; }
  .nav__cta { margin-left: auto; }
  .nav__links { order: 3; width: 100%; margin-left: -12px; gap: 4px; font-size: 0.9375rem; }
  .nav__links a { padding: 6px 12px; }

  .growcard { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .growcard__tree { width: 200px; }
  .growcard__text { justify-items: center; }
  .dots { justify-content: center; }

  .guidecard { padding: 24px 22px 24px 74px; }
  .guidecard__no { left: 20px; top: 22px; width: 36px; height: 36px; }

  .checks { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 22px 18px; }
  .checks__list { justify-items: start; text-align: left; }
  .checks__tree .tree { width: 110px; }
  .field__pair { grid-template-columns: minmax(0, 1fr); }
  .form__body > .btn { width: 100%; }

  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .member__plate { padding: 12px 8px 14px; }
  .contactcard { padding: 24px; }
  .footer__top, .footer__row { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   v2.1 따뜻한 카드·목록·폼 (대표 의견 2026-10-16: "더 감성적·따뜻하게")
   손글씨(나눔손글씨 펜)는 짧은 메모·번호·단계 이름에만 쓰고, 본문은 Pretendard 그대로 둔다.
   ===================================================================== */
:root {
  --font-hand: "Nanum Pen Script", var(--font-text);
  --paper: #fffaf3;
  --paper-line: #efe1d3;
  --warm-tint: #fdece6;
  --warm-ink: #8a3a22;
  --warm-shadow: 0 1px 2px rgba(97, 54, 30, 0.08), 0 10px 26px rgba(135, 83, 53, 0.12);
  --warm-shadow-lift: 0 2px 4px rgba(97, 54, 30, 0.1), 0 18px 40px rgba(135, 83, 53, 0.18);
}
.heart { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* 노래: 테이프로 붙인 폴라로이드 */
.songgrid { gap: 40px 32px; padding-top: 12px; }
.songcard__link {
  position: relative; overflow: visible;
  background: var(--paper); border-radius: 6px; box-shadow: var(--warm-shadow);
  padding: 14px 14px 0;
  transform: rotate(var(--tilt, -1.4deg));
}
.songcard:nth-child(3n + 2) .songcard__link { --tilt: 1.2deg; }
.songcard:nth-child(3n + 3) .songcard__link { --tilt: -0.6deg; }
.songcard__link::before {
  content: ""; position: absolute; left: 50%; top: -12px; z-index: 1;
  width: 92px; height: 26px; margin-left: -46px;
  background: rgba(253, 214, 196, 0.85); transform: rotate(-3deg);
  border-radius: 3px;
}
.songcard__link:hover { transform: rotate(0deg) translateY(-6px); box-shadow: var(--warm-shadow-lift); }
.songcard__thumb { border-radius: 3px; }
.songcard__body { justify-items: center; text-align: center; gap: 2px; padding: 16px 8px 20px; }
.songcard__title { font-family: var(--font-hand); font-weight: 400; font-size: 2.125rem; line-height: 1.1; color: var(--ink); }
.songcard__meta { font-size: 0.875rem; color: var(--warm-ink); }

/* 참여 방식·소개: 하트가 달린 쪽지 */
.way, .fact {
  background: var(--paper); box-shadow: var(--warm-shadow);
  border-radius: 20px 20px 20px 6px;
}
.way__icon { color: var(--brand-red); width: 28px; height: 26px; }
.way__note {
  font-family: var(--font-hand); font-size: 1.875rem; line-height: 1.1; color: var(--warm-ink);
  margin-top: 6px;
}
.ways > :nth-child(2), .facts > :nth-child(2) { transform: translateY(14px); }
.js .ways > :nth-child(2).is-in, .js .facts > :nth-child(2).is-in { transform: translateY(14px); }

/* 지원 안내: 한 장의 편지 */
.letter {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px;
  background: var(--paper); border-radius: 8px; box-shadow: var(--warm-shadow);
  padding: clamp(28px, 5vw, 56px);
}
.letter .guidecard {
  background: transparent; box-shadow: none; border-radius: 0;
  padding: 20px 0 20px 64px;
}
.letter .guidecard__no {
  left: 0; top: 16px; width: 46px; height: 46px;
  background: var(--warm-tint); color: var(--brand-red);
  font-family: var(--font-hand); font-size: 2.125rem; font-weight: 400; line-height: 1;
}
.letter .guidecard__title { color: var(--ink); }
.letter__sign {
  max-width: var(--wrap); margin: 20px auto 0; text-align: right;
  font-family: var(--font-hand); font-size: 2.25rem; color: var(--warm-ink);
}

/* 자주 묻는 질문: 쪽지 */
.faq__item { background: var(--paper); box-shadow: var(--warm-shadow); border-radius: 16px; }
.faq__item summary::after { border-color: var(--brand-red); }

/* 지원서: 편지지 위 단계별 작성 */
.applycard { background: var(--paper); box-shadow: var(--warm-shadow-lift); }
.applycard__head .sectionhead__spark { color: var(--brand-red); }
.step {
  font-family: var(--font-hand); font-size: 2.375rem; font-weight: 400; line-height: 1.1; color: var(--ink);
  margin: 12px 0 -12px; padding-top: 20px;
  box-shadow: inset 0 1px 0 var(--paper-line);
}
.step__no { color: var(--brand-red); }
.form__body .step:first-child { box-shadow: none; padding-top: 0; }

/* 확인 체크: 누르면 하트가 채워지는 알약 */
.checks { background: var(--warm-tint); }
.checks__list legend { font-family: var(--font-hand); font-size: 2.25rem; font-weight: 400; line-height: 1.1; color: var(--warm-ink); }
.checks .check {
  position: relative; align-items: center;
  background: var(--white); border-radius: var(--radius-pill);
  padding: 12px 20px 12px 52px; font-weight: 600;
  box-shadow: 0 1px 2px rgba(97, 54, 30, 0.08);
  transition: background-color 0.2s, color 0.2s;
}
.checks .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checks .check::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 22px; height: 20px; margin-top: -10px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 20C6 15 1.5 11 1.5 6.6 1.5 3.7 3.7 1.5 6.4 1.5c2 0 3.7 1.1 4.6 2.8l1 1.9 1-1.9c.9-1.7 2.6-2.8 4.6-2.8 2.7 0 4.9 2.2 4.9 5.1 0 4.4-4.5 8.4-10.5 13.4Z' fill='none' stroke='%23e24823' stroke-width='2'/%3E%3C/svg%3E");
  transition: transform 0.25s var(--ease-out);
}
.checks .check:has(input:checked) { background: var(--brand-red); color: var(--white); }
.checks .check:has(input:checked)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21.5C5.6 16.2 0 11.6 0 6.6 0 2.9 2.8 0 6.4 0c2.3 0 4.3 1.2 5.6 3.1C13.3 1.2 15.3 0 17.6 0 21.2 0 24 2.9 24 6.6c0 5-5.6 9.6-12 14.9Z' fill='%23ffffff'/%3E%3C/svg%3E");
  transform: scale(1.15);
}
.checks .check:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }

/* 고르는 칸: 알약 모양 선택지 */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips .radio {
  position: relative; padding: 10px 20px; border-radius: var(--radius-pill);
  background: var(--white); border: 1.5px solid var(--paper-line); font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chips .radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips .radio:hover { border-color: var(--brand-red); }
.chips .radio:has(input:checked) { background: var(--warm-tint); border-color: var(--brand-red); color: var(--warm-ink); }
.chips .radio:has(input:checked)::before { content: "\2665\FE0E"; color: var(--brand-red); margin-right: 6px; }
.chips .radio:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }

/* 입력칸: 따뜻한 종이색 */
.field input[type="text"], .field input[type="url"], .field input[type="email"], .field select {
  background: var(--white); border-color: var(--paper-line); border-radius: 14px;
}
.field input:hover, .field select:hover { border-color: var(--brand-red); }
.req { background: var(--warm-tint); color: var(--warm-ink); }

/* 파일 올리기: 하트가 있는 점선 상자 */
.upload__pick { border-color: #e7c9b9; background: var(--white); justify-content: center; text-align: center; padding: 24px 18px; flex-direction: column; }
.upload__pick:hover { border-color: var(--brand-red); background: var(--warm-tint); }
.upload__heart { width: 30px; height: 28px; color: var(--brand-red); }
.upload__btn { background: var(--brand-red); }
.upload__bar span { background: var(--brand-red); }
.consent { background: var(--warm-tint); }

@media (prefers-reduced-motion: reduce) {
  .songcard__link, .songcard__link:hover { transform: none; }
  .checks .check::before { transition: none; }
}
@media (max-width: 900px) {
  .letter { grid-template-columns: minmax(0, 1fr); }
  .ways > :nth-child(2), .facts > :nth-child(2), .js .ways > :nth-child(2).is-in, .js .facts > :nth-child(2).is-in { transform: none; }
}
@media (max-width: 720px) {
  .letter .guidecard { padding-left: 58px; }
  .letter .guidecard__no { width: 42px; height: 42px; }
  .checks .check { text-align: left; }
  .step { font-size: 2.125rem; }
}

/* ---------- v2.2 회사소개: 비전·하는 일·제작 과정·운영 정보 ---------- */
.vision {
  max-width: 860px; margin: 0 auto; text-align: center;
  display: grid; justify-items: center; gap: 18px;
  background: var(--paper); border-radius: 32px; box-shadow: var(--warm-shadow-lift);
  padding: clamp(32px, 6vw, 72px) clamp(24px, 6vw, 80px);
}
.vision__logo { width: 96px; height: auto; }
.vision__hand { font-family: var(--font-hand); font-size: 2.25rem; line-height: 1.1; color: var(--brand-red); }
.vision__title { font-size: var(--step-h2); line-height: 1.4; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.vision p:not(.vision__hand) { max-width: 36em; }

.process {
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px;
}
.process::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 31px; height: 0;
  border-top: 3px dashed #e7c9b9;
}
.process__step { position: relative; display: grid; align-content: start; justify-items: center; gap: 8px; text-align: center; }
.process__no {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--paper); color: var(--brand-red); box-shadow: var(--warm-shadow);
  font-family: var(--font-hand); font-size: 2.5rem; line-height: 1;
}
.process__title { font-size: var(--step-h3); font-weight: 700; margin-top: 8px; }
.process__step p { color: var(--ink); font-size: 1rem; line-height: 1.65; }

.infocard {
  max-width: 820px; margin: 0 auto;
  background: var(--paper); border-radius: var(--radius-card); box-shadow: var(--warm-shadow);
  padding: clamp(20px, 4vw, 40px);
}
.infocard > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; box-shadow: inset 0 -1px 0 var(--paper-line); }
.infocard > div:last-child { box-shadow: none; }
.infocard dt { font-weight: 700; color: var(--warm-ink); }
.infocard dd { margin: 0; }

@media (max-width: 900px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 520px; margin: 0 auto; }
  .process::before { left: 31px; right: auto; top: 32px; bottom: 32px; width: 0; border-top: 0; border-left: 3px dashed #e7c9b9; }
  .process__step { grid-template-columns: 64px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 18px; row-gap: 2px; }
  .process__no { grid-row: span 2; }
  .process__title { margin-top: 6px; }
}
@media (max-width: 720px) {
  .infocard > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------- v2.3 소속팀: 우타이테 팀 예고 ---------- */
.teaser { max-width: 720px; margin: 0 auto 48px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.teaser__hand { font-family: var(--font-hand); font-size: 2.25rem; line-height: 1.1; color: var(--brand-red); }
.teaser__title { font-size: var(--step-h2); line-height: 1.4; font-weight: 800; letter-spacing: -0.02em; }
.teaser p:last-child { color: var(--muted); }
.members--four { grid-template-columns: repeat(4, minmax(0, 240px)); }
.member__q {
  position: absolute; left: 0; right: 0; top: 38%; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1;
  color: var(--accent); opacity: 0.9;
}
.member:nth-child(2) .member__arch { transform: translateY(20px); }
.member:nth-child(4) .member__arch { transform: translateY(12px); }
.member:hover .member__arch { transform: translateY(-6px); }
.team__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
@media (max-width: 900px) {
  .members--four { grid-template-columns: repeat(2, minmax(0, 240px)); }
  .member:nth-child(n) .member__arch { transform: none; }
}

/* =====================================================================
   v2.4 홈 첫 화면: "사랑으로 성장하는 나무" (대표 의견 2026-10-16: "너무 우주 같다, 우리만의 정체성을")
   보라 하늘과 별 대신, 따뜻한 아침빛 속에서 로고 나무가 자라고 하트 잎이 흩날린다.
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: min(760px, calc(100svh - 64px));
  padding: clamp(48px, 6vw, 88px) max(var(--m), calc((100% - var(--wrap)) / 2)) 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 214, 190, 0.9) 0, rgba(255, 214, 190, 0) 38%),
    linear-gradient(180deg, #fffaf5 0%, #fdefe7 100%);
}
.hero::before, .hero::after { content: none; }
.hero__copy { display: grid; gap: 20px; justify-items: start; padding-bottom: clamp(32px, 5vw, 72px); }
.hero__title { display: grid; gap: 4px; margin: 0; }
.hero__hand { font-family: var(--font-hand); font-weight: 400; font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); line-height: 1; color: var(--brand-red); }
.hero__name { font-size: var(--step-h1); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); }
.hero__lead { font-size: var(--step-lead); font-weight: 500; line-height: 1.65; max-width: 25em; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.hero__stage { position: relative; z-index: 1; align-self: end; display: grid; justify-items: center; padding-bottom: clamp(36px, 4vw, 56px); }
.hero__tree { position: relative; z-index: 1; width: min(100%, 440px); }
.hero__tree .tree { width: 100%; transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite; }
.hero__ground { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(56px, 7vw, 110px); fill: var(--bg); }
.hero__copy { position: relative; z-index: 1; }
.hero .tree__lobe { fill: #f8dfd2; }
.hero .tree__lobe.is-filled { fill: var(--brand-red); }
.hero__note {
  position: absolute; z-index: 2; right: 0; top: 10%;
  display: grid; justify-items: center; transform: rotate(-6deg);
  font-family: var(--font-hand); font-size: 2rem; line-height: 1.05; color: var(--warm-ink);
  background: var(--paper); padding: 10px 18px 12px; border-radius: 14px; box-shadow: var(--warm-shadow);
}
.hero__note span { font-size: 1.375rem; color: var(--brand-red); }

/* 잎이 하나씩 돋는다 (영상 수만큼) */
.hero .tree__lobe.is-filled { animation: leaf-grow 0.8s var(--ease-out) both; }
.hero .tree__lobe[data-step="0"] { animation-delay: 0.25s; }
.hero .tree__lobe[data-step="1"] { animation-delay: 0.45s; }
.hero .tree__lobe[data-step="2"] { animation-delay: 0.65s; }
.hero .tree__lobe[data-step="3"] { animation-delay: 0.85s; }
.hero .tree__lobe[data-step="4"] { animation-delay: 1.05s; }
.hero .tree__lobe[data-step="5"] { animation-delay: 1.25s; }
.hero .tree__lobe[data-step="6"] { animation-delay: 1.45s; }
@keyframes leaf-grow { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes sway { 0%, 100% { transform: rotate(-0.8deg); } 50% { transform: rotate(0.8deg); } }

/* 흩날리는 하트 잎 */
.petals { position: absolute; inset: -10% -6% 0; pointer-events: none; z-index: 2; overflow: hidden; }
.petal { position: absolute; top: -6%; color: var(--brand-red); opacity: 0; animation: petal-fall 11s linear infinite; }
.petal .heart { width: 100%; height: 100%; }
.pt-1 { left: 18%; width: 16px; height: 15px; animation-delay: 0s; }
.pt-2 { left: 42%; width: 12px; height: 11px; animation-delay: 1.6s; color: #f19a83; }
.pt-3 { left: 66%; width: 18px; height: 17px; animation-delay: 3.1s; }
.pt-4 { left: 82%; width: 11px; height: 10px; animation-delay: 4.7s; color: #f19a83; }
.pt-5 { left: 30%; width: 14px; height: 13px; animation-delay: 6.2s; }
.pt-6 { left: 56%; width: 10px; height: 9px;  animation-delay: 7.8s; color: #f19a83; }
.pt-7 { left: 74%; width: 15px; height: 14px; animation-delay: 9.3s; }
@keyframes petal-fall {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.9; }
  85% { opacity: 0.8; }
  100% { transform: translate(-70px, 520px) rotate(-50deg); opacity: 0; }
}

.sectionhead__heart { color: var(--brand-red); width: 28px; height: 26px; }
.ctaband .twinkle { color: rgba(255, 255, 255, 0.85); }
.ctaband .twinkle .heart { width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  .hero__tree .tree, .hero .tree__lobe.is-filled, .petal { animation: none; }
  .petals { display: none; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 40px; text-align: center; }
  .hero__copy { justify-items: center; padding-bottom: 8px; }
  .hero__actions { justify-content: center; }
  .hero__tree { width: min(78%, 320px); }
  .hero__note { right: 2%; top: 4%; font-size: 1.625rem; }
  .hero__note span { font-size: 1.125rem; }
}

/* =====================================================================
   v2.5 모든 페이지를 '따뜻한 나무' 테마로 통일 (대표 의견 2026-10-16: "회사소개·소속팀·지원접수가 아직 우주 느낌")
   라벤더 바탕·별·보라 아치·밤하늘색 푸터를 따뜻한 종이색·하트·나무줄기색으로 바꾼다.
   주요 버튼은 대비가 충분한 페리윙클(#5b5fd6, 흰 글자 5.2:1)을 그대로 쓴다.
   ===================================================================== */
:root {
  --bg: #fffaf6;
  --surface: #fdf1ea;
  --accent-soft: #fdece6;
  --night: #3d2a20;
  --night-ink: #fff7f1;
  --night-muted: #e6cfc2;
  --lobe-empty: #f8dfd2;
}
.btn--soft { background: var(--warm-tint); color: var(--warm-ink); }
.btn--soft:hover { background: #fbe0d5; color: var(--warm-ink); }
.nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--warm-tint); color: var(--warm-ink); }
.tag { background: var(--warm-tint); color: var(--warm-ink); }
.sectionhead p { color: var(--warm-ink); }

/* 페이지 머리: 홈과 같은 아침빛 + 언덕 + 로고 */
.pagehead {
  position: relative; overflow: hidden;
  padding-bottom: clamp(64px, 7vw, 104px);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 214, 190, 0.85) 0, rgba(255, 214, 190, 0) 40%),
    linear-gradient(180deg, #fffaf5 0%, #fdefe7 100%);
}
.pagehead > :not(.pagehead__ground) { position: relative; z-index: 1; }
.pagehead__logo { width: 48px; height: 48px; animation: sway 7s ease-in-out infinite; transform-origin: 50% 100%; }
.pagehead__title { color: var(--brand-red); }
.pagehead__sub { font-family: var(--font-hand); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1.1; color: var(--warm-ink); }
.pagehead__ground { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 5vw, 72px); fill: var(--bg); }

/* 띠 구역: 라벤더 → 옅은 살구색 */
.section--tint { background: var(--surface); }

/* 홈 마무리 띠: 보라 하늘 → 따뜻한 쪽지 */
.ctaband { background: var(--warm-tint); color: var(--ink); box-shadow: var(--warm-shadow); }
.ctaband .twinkle { color: var(--brand-red); opacity: 0.55; }
.ctaband p { color: var(--warm-ink); }
.ctaband .btn--inverse { background: var(--accent); color: var(--accent-ink); }
.ctaband .btn--inverse:hover { background: var(--accent-hover); color: var(--accent-ink); }

/* 지원서 머리 하트 */
.applycard__head .sectionhead__heart { color: var(--brand-red); }

/* 푸터: 밤하늘 → 나무줄기색 */
.footer { background: var(--night); }

/* 소속팀: 씨앗 → 새싹 → 나무 */
.growth { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: clamp(16px, 3vw, 40px); position: relative; }
.growth::before {
  content: ""; position: absolute; left: 16%; right: 16%; top: 84px; height: 0;
  border-top: 3px dashed #e7c9b9;
}
.stage {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center;
  background: var(--paper); border-radius: 999px 999px var(--radius-card) var(--radius-card); box-shadow: var(--warm-shadow);
  padding: 36px 22px 28px;
}
.stage__art, .stage__tree { width: 108px; height: 108px; margin-bottom: 6px; }
.stage__tree { padding: 6px; }
.stage__soil { fill: #ecd3c3; }
.stage__seed { fill: var(--brand-trunk); }
.stage__stem { stroke: var(--brand-trunk); stroke-width: 5; stroke-linecap: round; fill: none; }
.stage__leaf { fill: var(--brand-red); }
.stage__name { font-family: var(--font-hand); font-size: 2.25rem; line-height: 1; color: var(--warm-ink); }
.stage p:not(.stage__name) { color: var(--ink); font-size: 1rem; line-height: 1.6; }
.stage--now { box-shadow: 0 0 0 3px var(--brand-red), var(--warm-shadow-lift); }
.stage__now {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand-red); color: var(--white); font-weight: 700; font-size: 0.875rem;
  padding: 4px 14px; border-radius: var(--radius-pill); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) { .pagehead__logo { animation: none; } }
@media (max-width: 720px) {
  .growth { grid-template-columns: minmax(0, 300px); }
  .growth::before { display: none; }
}
