/* ═══════════════════════════════════════════
   KIDS RUNNING — 키즈러닝 공식 홈페이지
   팔레트: 엄마들의 시간 사이트 계승 + 크루 네오그린
   ═══════════════════════════════════════════ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --navy:       #1F2A44;
  --navy-deep:  #15203A;
  --lime:       #C8F02D;   /* 크루 단체티 네오그린 */
  --lime-deep:  #A5C91F;
  --coral:      #E85D5D;
  --sky:        #4A90D9;
  --forest:     #2F5D3A;
  --paper:      #FBF9F4;
  --paper-deep: #F0EDE3;
  --card:       #FFFFFF;
  --text:       #1A1F2C;
  --muted:      #6E7280;
  --line:       #E2DDD0;

  --wrap: 1080px;
  --r: 18px;
  --shadow: 0 2px 8px rgba(31,42,68,.05), 0 12px 32px rgba(31,42,68,.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;          /* 한글 단어 단위 줄바꿈 */
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ── 스크롤 등장 ─────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ═══ 네비게이션 ═══ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,244,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav .brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; letter-spacing: -.02em; text-decoration: none;
  font-size: 1.02rem; white-space: nowrap;
}
.nav .brand img { width: 30px; height: 30px; object-fit: contain; }
.nav ul {
  list-style: none; display: flex; gap: 22px;
  margin-left: auto; align-items: center;
}
/* 챌린지 = 현재 모객 중, 강조 */
.nav a.ch-nav {
  color: var(--navy-deep); background: var(--lime);
  padding: 7px 14px; border-radius: 999px; font-weight: 700;
}
.nav a.ch-nav:hover { background: var(--lime-deep); }
.nav a.link {
  text-decoration: none; font-size: .93rem; font-weight: 600;
  color: var(--muted); transition: color .2s; white-space: nowrap;
}
.nav a.link:hover { color: var(--navy); }

/* 모바일 햄버거 (CSS 전용) */
.nav-toggle { display: none; }
.nav-burger {
  display: none; margin-left: auto; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
  align-items: center; justify-content: center;
  gap: 5px; flex-direction: column;
  transition: background .18s;
}
.nav-burger:hover { background: var(--paper-deep); }
.nav-burger span {
  display: block; width: 20px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s;
}
@media (max-width: 860px) {
  .nav-burger { display: flex; justify-content: center; }
  .nav ul {
    position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; gap: 0; margin: 0;
    background: rgba(251,249,244,.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height .32s ease;
  }
  .nav ul li { width: 100%; }
  .nav a.link {
    display: block; padding: 14px 24px; font-size: 1rem;
    border-bottom: 1px solid var(--line); color: var(--navy);
  }
  /* 메뉴 전체가 보이도록 — 화면보다 길면 메뉴 안에서 스크롤 */
  .nav-toggle:checked ~ ul {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* 챌린지 버튼은 목록 안에서도 눈에 띄게 */
  .nav ul li a.ch-nav {
    margin: 10px 24px; padding: 12px 18px;
    text-align: center; border-bottom: 0;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ═══ 히어로 ═══ */
.hero {
  position: relative;
  min-height: min(84vh, 720px);
  display: grid; place-items: center;
  text-align: center;
  color: #fff;
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    /* 중앙(텍스트 뒤)만 더 어둡게 — 사진은 살리고 글자 가독성 확보 */
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(15,23,42,.72) 0%, rgba(15,23,42,.32) 60%, transparent 100%),
    linear-gradient(180deg, rgba(21,32,58,.50) 0%, rgba(21,32,58,.34) 45%, rgba(21,32,58,.72) 100%),
    url("img/tee-worn.jpg") center 78% / cover no-repeat;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }

.hero .eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px;
  background: var(--lime); color: var(--navy-deep);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.05rem, 6vw, 3.55rem);
  line-height: 1.28; font-weight: 800; letter-spacing: -.035em;
  text-shadow: 0 2px 24px rgba(0,0,0,.28);
}
.hero h1 .hl { color: var(--lime); }
.hero .sub {
  margin: 24px auto 0; max-width: 620px;
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  color: rgba(255,255,255,.93);
  text-shadow: 0 1px 12px rgba(0,0,0,.32);
}
.hero-cta { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 첫 화면에 뜨는 다음 정규런 한 줄 (내용을 받아오기 전엔 hidden) */
.hero-next {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 10px;
  max-width: 100%;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.34);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; text-decoration: none;
  font-size: .95rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.5;
  text-shadow: 0 1px 10px rgba(0,0,0,.3);
  transition: background .18s ease, transform .18s ease;
}
.hero-next[hidden] { display: none; }
.hero-next:hover { background: rgba(255,255,255,.24); transform: translateY(-1px); }
.hero-next .dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 4px rgba(200,240,45,.22);
}
.hero-next b { font-weight: 800; color: var(--lime); }
.hero-next .go { flex: none; opacity: .85; font-weight: 700; }

@media (max-width: 560px) {
  .hero { min-height: auto; padding: 72px 0 66px; }
  .hero .sub { font-size: .97rem; }
  .br-desktop { display: none; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; min-width: 0; }
  .hero-next { font-size: .87rem; padding: 9px 15px; gap: 8px; margin-top: 22px; }
  /* 좁은 화면에서는 장소가 문장 중간에서 잘리지 않게 아랫줄로 내린다 */
  .hero-next .loc { display: block; }
  .hero-next .sep { display: none; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: .96rem; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--lime); color: var(--navy-deep); box-shadow: 0 6px 20px rgba(200,240,45,.34); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(200,240,45,.44); }
.btn-ghost { background: rgba(255,255,255,.13); color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }

/* ═══ 지표 바 ═══ */
.stats {
  background: var(--navy); color: #fff;
  padding: 34px 0;
}
.stats .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.stats .n {
  font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800;
  color: var(--lime); letter-spacing: -.03em; line-height: 1.2;
  display: flex; align-items: baseline; justify-content: center; gap: 1px;
}
/* 카운트 중 자릿수가 바뀌어도 흔들리지 않게 */
.stats .num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  display: inline-block;
}
.stats .unit { font-size: .82em; }
/* 도착 순간 살짝 튀기 */
.stats .num.done { animation: pop .42s cubic-bezier(.34,1.56,.64,1); }
@keyframes pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.16); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .stats .num.done { animation: none; }
}
.stats .l { font-size: .84rem; color: rgba(255,255,255,.72); margin-top: 4px; }
@media (max-width: 620px) {
  .stats .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
}

/* ═══ 섹션 공통 ═══ */
section { padding: 118px 0; }           /* 여백 확대 — 포트폴리오형 호흡 */
section.alt { background: var(--paper-deep); }

.sec-head { max-width: 680px; margin-bottom: 64px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--lime-deep); margin-bottom: 16px;
}
.sec-head h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.32;
}
.sec-head p { margin-top: 18px; color: var(--muted); font-size: 1.03rem; }

@media (max-width: 640px) {
  section { padding: 76px 0; }
  .sec-head { margin-bottom: 40px; }
}

/* ═══ 미션 ═══ */
.mission-quote {
  text-align: center; max-width: 760px; margin: 0 auto;
}
.mission-quote .big {
  font-size: clamp(1.5rem, 4.4vw, 2.5rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.45;
}
.mission-quote .big em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--lime) 62%);
  padding: 0 3px;
}
.mission-quote .cap { margin-top: 22px; color: var(--muted); }

.creed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 56px; }
.creed .item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 24px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.creed .item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.creed .item h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.creed .item p { font-size: .94rem; color: var(--muted); line-height: 1.72; }
@media (max-width: 720px) { .creed { grid-template-columns: 1fr; } }

/* ═══ 정규런 캘린더 ═══ */
.run-cal {
  margin-top: 56px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: 34px 34px 28px;
  box-shadow: var(--shadow);
}
.cal-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
}
.cal-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--lime-deep); margin-bottom: 6px;
}
.cal-head h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.cal-body { display: grid; gap: 10px; }
.cal-loading { color: var(--muted); font-size: .93rem; padding: 8px 0; }

/* 한 줄(하나의 런) */
.cal-row {
  display: grid; grid-template-columns: 78px 1fr auto;
  gap: 16px; align-items: center;
  padding: 15px 18px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line);
  transition: border-color .18s, background .18s;
}
.cal-row.next { border-color: var(--lime-deep); background: #FCFFF2; }
/* 다음 런은 눌러서 신청 페이지로 간다 */
a.cal-row { text-decoration: none; color: inherit; display: grid; }
a.cal-row:hover, a.cal-row:focus-visible {
  border-color: var(--forest); background: #F7FDE9; transform: translateY(-1px);
}
a.cal-row:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.cal-date { text-align: center; }
.cal-date .d {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
}
.cal-date .m { font-size: .74rem; color: var(--muted); font-weight: 600; }
.cal-info .t { font-weight: 700; font-size: 1rem; letter-spacing: -.02em; }
.cal-info .s { font-size: .87rem; color: var(--muted); margin-top: 3px; }
.cal-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--lime); color: var(--navy-deep);
}
.cal-tag.soon { background: var(--paper-deep); color: var(--navy); }

/* 취소된 런 — 보이되 비활성 */
.cal-row.off { background: #FAFAF8; border-style: dashed; opacity: .62; }
.cal-row.off .cal-date .d,
.cal-row.off .cal-info .t { text-decoration: line-through; color: var(--muted); }
.cal-row.off .cal-tag { background: #EFEFEC; color: var(--muted); }
.cal-reason {
  grid-column: 1 / -1; margin-top: 6px;
  font-size: .84rem; color: var(--coral);
  padding-top: 8px; border-top: 1px dashed var(--line);
}

.cal-note { margin-top: 18px; font-size: .85rem; color: var(--muted); }

@media (max-width: 640px) {
  .run-cal { padding: 26px 20px 22px; }
  .cal-row { grid-template-columns: 62px 1fr; gap: 12px; padding: 14px; }
  .cal-tag { grid-column: 2; justify-self: start; margin-top: 6px; }
  .cal-date .d { font-size: 1.15rem; }
}

/* ═══ 스토리 ═══ */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story + .story { margin-top: 84px; }
.story.flip .media { order: 2; }
.story .media img { border-radius: var(--r); box-shadow: var(--shadow); }
.story .media.illust {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px;
}
.story h3 {
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.4; margin-bottom: 18px;
}
.story .who {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lime-deep); margin-bottom: 10px;
}
.story p + p { margin-top: 14px; }
.story p { color: #3D4354; font-size: 1rem; }
.story blockquote {
  margin-top: 22px; padding: 18px 22px;
  border-left: 3px solid var(--lime);
  background: var(--card); border-radius: 0 12px 12px 0;
  font-size: .97rem; color: var(--navy); font-weight: 500;
}
.story blockquote cite { display: block; margin-top: 8px; font-size: .84rem; color: var(--muted); font-style: normal; }
@media (max-width: 820px) {
  .story { grid-template-columns: 1fr; gap: 30px; }
  .story.flip .media { order: 0; }
  .story + .story { margin-top: 60px; }
}

/* ═══ 활동 카드 ═══ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-deep); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .thumb img { transform: scale(1.045); }
.card .body { padding: 24px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.card .tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: var(--paper-deep); color: var(--navy); margin-bottom: 12px;
}
.card .tag.live { background: var(--lime); }
.card h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -.025em; margin-bottom: 9px; }
.card p { font-size: .93rem; color: var(--muted); line-height: 1.72; flex: 1; }
.card .meta {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: .86rem; color: var(--navy); font-weight: 600;
}
@media (max-width: 880px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .cards { grid-template-columns: 1fr; } }

/* ═══ 정규런 하이라이트 ═══ */
.runbox {
  background: var(--navy); color: #fff;
  border-radius: 24px; padding: 48px 44px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center;
}
.runbox h3 { font-size: clamp(1.4rem, 3vw, 1.95rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.38; }
.runbox h3 .hl { color: var(--lime); }
.runbox p { margin-top: 16px; color: rgba(255,255,255,.8); font-size: .99rem; }
.runbox .info { list-style: none; display: grid; gap: 12px; }
.runbox .info li {
  display: grid; grid-template-columns: 76px 1fr; gap: 14px;
  font-size: .95rem; align-items: start;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.runbox .info li:last-child { border-bottom: 0; padding-bottom: 0; }
.run-cta { margin-top: 26px; }
.run-cta .btn { margin-bottom: 16px; }
.run-help {
  font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.8;
  margin-top: 0;
}
.run-help b { color: var(--lime); font-weight: 700; }
.run-free {
  display: inline-block; margin-top: 6px;
  color: rgba(255,255,255,.9); font-weight: 600;
}
.runbox .info .k { color: var(--lime); font-weight: 700; font-size: .88rem; }
.runbox .info .v { color: rgba(255,255,255,.92); }
.runbox p b { color: var(--lime); font-weight: 800; }

/* 정규런이 열리는 두 자리 (교대 · 양재천) */
.runwhere { display: grid; gap: 16px; }
.place { border-left: 3px solid var(--lime); padding: 1px 0 1px 14px; }
.place .pday {
  display: block; color: var(--lime);
  font-weight: 700; font-size: .84rem; letter-spacing: .01em;
}
.place b { display: block; margin-top: 2px; font-weight: 700; font-size: 1.02rem; }
.place .paddr {
  display: block; color: rgba(255,255,255,.7);
  font-size: .86rem; line-height: 1.6;
}
.runbox .rotate-note {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .89rem; color: rgba(255,255,255,.78); line-height: 1.7;
}
.runbox .rotate-note b { color: var(--lime); font-weight: 700; }
.runbox .rotate-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.runbox .info { margin-top: 16px; }

@media (max-width: 820px) {
  .runbox { grid-template-columns: 1fr; gap: 30px; padding: 36px 26px; }
}

/* ═══ 굿즈 ═══ */
.goods { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.goods .shot img { border-radius: var(--r); box-shadow: var(--shadow); }
.goods h3 { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.4; }
.goods p { margin-top: 16px; color: var(--muted); }
.goods .specs { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.goods .specs li {
  display: flex; gap: 10px; font-size: .94rem; color: #3D4354; align-items: baseline;
}
.goods .specs li::before { content: "—"; color: var(--lime-deep); font-weight: 700; }
.notice {
  margin-top: 24px; padding: 14px 18px;
  background: var(--paper-deep); border-radius: 12px;
  font-size: .88rem; color: var(--muted);
}
@media (max-width: 820px) { .goods { grid-template-columns: 1fr; gap: 28px; } }

.goods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.gitem {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 22px; text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
}
.gitem:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gitem .ico { height: 132px; display: grid; place-items: center; margin-bottom: 16px; }
.gitem .ico img { max-height: 132px; width: auto; object-fit: contain; }
/* 사진형 아이콘은 원형 크롭 */
.gitem .ico.photo { display: block; }
.gitem .ico.photo img {
  width: 132px; height: 132px; max-height: none;
  object-fit: cover; border-radius: 50%;
  margin: 0 auto; box-shadow: var(--shadow);
}
.gitem h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 7px; letter-spacing: -.02em; }
.gitem p { font-size: .89rem; color: var(--muted); line-height: 1.68; }
@media (max-width: 780px) { .goods-grid { grid-template-columns: 1fr; } }

/* ═══ 챌린지 ═══ */
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: .84rem; }
.btn-line {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-line:hover { border-color: var(--navy); background: var(--paper-deep); }

/* 히어로 */
.ch-hero {
  text-align: center; max-width: 720px; margin: 0 auto 72px;
}
.ch-badge {
  display: inline-block; margin-bottom: 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  padding: 8px 18px; border-radius: 999px;
  background: var(--lime); color: var(--navy-deep);
}
.ch-hero h2 {
  font-size: clamp(1.9rem, 5.2vw, 3rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.24;
}
.ch-hero h2 .hl { color: var(--forest); }
/* 챌린지 부제 — 큰 제목(브랜드명) 아래 회차 설명 */
.ch-sub {
  margin-top: 10px; font-size: 1.05rem; font-weight: 700;
  color: var(--muted); letter-spacing: -.02em;
}
.ch-date {
  margin-top: 14px; font-size: 1.05rem; font-weight: 700;
  color: var(--forest); letter-spacing: -.01em;
}
.ch-lead { margin-top: 24px; color: var(--muted); font-size: 1.02rem; }
.ch-lead strong { color: var(--text); }
.ch-hero .btn { margin-top: 32px; }
/* 신청 + 인증현황 두 버튼 */
.ch-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* 밝은 배경용 보조 버튼 (btn-ghost는 어두운 배경 전용) */
.btn-line {
  background: #fff; color: var(--text);
  border: 1.5px solid var(--line); box-shadow: var(--shadow);
}
.btn-line:hover { border-color: var(--forest); color: var(--forest); transform: translateY(-2px); }

/* 왜 함께인가 */
.ch-why {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: 48px 44px; margin-bottom: 24px; text-align: center;
}
.ch-why h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px;
}
.ch-why-lead { max-width: 620px; margin: 0 auto; color: var(--muted); }
.ch-why-lead strong { color: var(--forest); }
.ch-proof {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 34px auto 0; max-width: 560px;
  padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ch-proof .pf b {
  display: block; font-size: 1.7rem; font-weight: 800;
  color: var(--forest); letter-spacing: -.03em; line-height: 1.2;
}
.ch-proof .pf span { font-size: .8rem; color: var(--muted); }
.ch-quote {
  margin-top: 26px; font-size: 1.08rem; font-weight: 700;
  letter-spacing: -.02em; color: var(--navy);
}
.ch-quote cite {
  display: block; margin-top: 8px;
  font-size: .84rem; font-weight: 400; color: var(--muted); font-style: normal;
}

/* 운영 방식 */
.ch-how {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: 48px 44px; margin-bottom: 24px;
}
.ch-how h3 {
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 30px;
}
.ch-steps { list-style: none; display: grid; gap: 22px; }
.ch-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; }
.ch-steps .stp {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--lime); color: var(--navy-deep);
  font-weight: 800; font-size: .92rem;
}
.ch-steps b { display: block; font-size: 1.04rem; letter-spacing: -.02em; margin-bottom: 6px; }
.ch-steps p { font-size: .95rem; color: var(--muted); line-height: 1.72; }
.ch-steps p strong { color: var(--forest); }

/* 요약 */
.ch-spec {
  background: var(--navy); color: #fff;
  border-radius: 24px; padding: 46px 44px; margin-bottom: 24px;
}
.ch-spec h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 24px; }
.ch-spec ul { list-style: none; display: grid; gap: 14px; }
.ch-spec li {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.13);
  font-size: .97rem; align-items: start;
}
.ch-spec li:last-child { border-bottom: 0; padding-bottom: 0; }
.ch-spec .k { color: var(--lime); font-weight: 700; font-size: .89rem; }
.ch-spec .v { color: rgba(255,255,255,.92); }
.ch-spec .v b { color: var(--lime); }
.ch-note {
  margin-top: 22px; padding: 16px 18px;
  background: rgba(255,255,255,.07); border-radius: 12px;
  font-size: .87rem; color: rgba(255,255,255,.72); line-height: 1.7;
}

/* 신청서 */
.ch-form-wrap {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: 48px 44px; scroll-margin-top: 80px;
}
.ch-form-wrap h3 {
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px;
}
.ch-form-lead { color: var(--muted); font-size: .94rem; margin-bottom: 28px; }
.ch-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fld { display: flex; flex-direction: column; gap: 7px; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-size: .9rem; font-weight: 700; letter-spacing: -.01em; }
.fld label i { color: var(--coral); font-style: normal; }
.fld input, .fld select, .fld textarea {
  font-family: inherit; font-size: .95rem; color: var(--text);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  background: var(--paper); transition: border-color .18s, background .18s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none; border-color: var(--lime-deep); background: #fff;
}
.fld textarea { resize: vertical; line-height: 1.65; }
.fld small { font-size: .8rem; color: var(--muted); }
.fld.check label {
  display: flex; gap: 10px; align-items: flex-start;
  font-weight: 400; font-size: .92rem; color: var(--muted); line-height: 1.65;
  cursor: pointer;
}
.fld.check input { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--lime-deep); }
.fld input:invalid:not(:placeholder-shown) { border-color: var(--coral); }

.ch-actions {
  grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px;
}
.ch-formnote {
  grid-column: 1 / -1; font-size: .88rem; min-height: 20px;
  color: var(--forest); font-weight: 600;
}
.ch-formnote.err { color: var(--coral); }

/* ── 챌린지 페이지 사진 ── */
.ch-shot { margin: 0 0 24px; }
.ch-shot img {
  width: 100%; border-radius: 22px; box-shadow: var(--shadow);
  aspect-ratio: 16 / 10; object-fit: cover;
}
.ch-shot.wide img { aspect-ratio: 16 / 8; }
.ch-shot figcaption,
.ch-duo figcaption {
  margin-top: 12px; text-align: center;
  font-size: .9rem; color: var(--muted);
}
.ch-duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px;
}
.ch-duo figure { margin: 0; }
.ch-duo img {
  width: 100%; border-radius: 20px; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; object-fit: cover;
}
@media (max-width: 720px) {
  .ch-duo { grid-template-columns: 1fr; gap: 18px; }
  .ch-shot img, .ch-shot.wide img { aspect-ratio: 4 / 3; border-radius: 16px; }
}

/* ── 찻자리 페이지 전용 톤 (차분한 그린) ── */
.tea-badge { background: var(--forest); color: #fff; }
.hl-tea { color: var(--forest); }
.tea-date { color: var(--forest); }
.tea-stp { background: var(--forest) !important; color: #fff !important; }
#tea-page { padding-top: 56px; }
.tea-spec .v-sub {
  display: block; margin-top: 4px;
  font-size: .85rem; color: rgba(255,255,255,.6);
}

/* 정원 마감 — 대기자 접수 안내 (assets/tea.js 가 동적으로 삽입) */
.tea-badge.is-full { background: #B45309; }
.tea-full {
  margin: 16px 0 22px; padding: 18px 20px;
  background: #FFF6E9; border: 1px solid #F0D6AC;
  border-left: 4px solid #B45309; border-radius: 12px;
}
.tea-full b { color: #8A4B08; }
.tea-full > b {
  display: block; font-size: 1.02rem; font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 7px;
}
.tea-full p { font-size: .93rem; line-height: 1.75; color: #6B5233; margin: 0; }

/* 신청 완료 화면의 자료 링크 */
.done-files {
  margin: 18px 0 4px; padding: 18px 20px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px; text-align: left;
}
.done-files .lb {
  display: block; font-size: .75rem; letter-spacing: .12em; font-weight: 700;
  color: rgba(255,255,255,.55); margin-bottom: 10px;
}
.done-files a {
  display: block; padding: 8px 0; font-size: .95rem; font-weight: 600;
  color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.done-files a:last-child { border-bottom: none; }
.done-files a:hover { text-decoration: underline; }

/* 회차 PDF 자료 카드 (.tea-files)
   지금 신청 페이지에서는 쓰지 않는다 — 자료는 신청 확인 문자로만 보낸다.
   모임이 끝난 뒤 기록 페이지에 자료를 공개할 때 이 스타일을 그대로 쓰면 된다. */
.tea-files {
  background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: 40px 38px; margin-bottom: 24px;
}
.tea-files h3 {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--navy); margin-bottom: 12px;
}
.tf-lead { font-size: .97rem; color: var(--muted); line-height: 1.75; margin-bottom: 26px; }
.tf-lead b { color: var(--forest); }
.tf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tf-card {
  display: flex; flex-direction: column;
  border: 1px solid rgba(45,90,61,.16); border-radius: 16px;
  padding: 24px 22px; text-decoration: none;
  background: rgba(45,90,61,.035);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.tf-card:hover {
  transform: translateY(-3px); background: rgba(45,90,61,.07);
  box-shadow: 0 10px 26px rgba(45,90,61,.14);
}
.tf-ic { font-size: 1.9rem; line-height: 1; margin-bottom: 12px; }
.tf-card b {
  display: block; font-size: 1.08rem; font-weight: 800;
  color: var(--forest); letter-spacing: -.025em; margin-bottom: 8px;
}
.tf-desc { font-size: .92rem; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.tf-meta {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; font-size: .82rem; color: #9AA294; flex-wrap: wrap;
}
.tf-meta em {
  font-style: normal; font-weight: 700; color: var(--forest); white-space: nowrap;
}
.tf-note { margin-top: 20px; font-size: .85rem; color: #9AA294; }
@media (max-width: 720px) {
  .tea-files { padding: 30px 22px; border-radius: 20px; }
  .tf-grid { grid-template-columns: 1fr; }
}

/* .ch-steps 안의 본문 b 는 소제목이 아니라 강조 — 블록 승격 차단 */
.ch-steps p b, .ch-steps p strong,
.tea-docs b, .tea-docs strong {
  display: inline; font-size: inherit; margin: 0;
}

/* 이번 회차에 함께 볼 영상 링크 */
.tea-docs {
  list-style: none; margin: 12px 0 14px; padding: 0;
  display: grid; gap: 10px;
}
.tea-docs li {
  display: block;                 /* .ch-steps li 의 grid 상속 차단 */
  grid-template-columns: none;
  background: rgba(45,90,61,.05);
  border: 1px solid rgba(45,90,61,.14);
  border-left: 3px solid var(--forest);
  border-radius: 12px; padding: 12px 15px;
  margin-bottom: 0;
}
.tea-docs a {
  display: block; color: var(--forest);
  font-weight: 700; font-size: .96rem; text-decoration: none;
  letter-spacing: -.01em;
}
.tea-docs a:hover { text-decoration: underline; }
.tea-docs span {
  display: block; margin-top: 4px;
  font-size: .88rem; color: var(--muted); line-height: 1.6;
}
.done-acc + .done-note small,
.ch-done small { color: rgba(255,255,255,.65); font-size: .85rem; }

/* 같이 뛰고 싶다면 — 양재천 새벽런 */
.ch-together {
  background: var(--navy); color: #fff;
  border-radius: 24px; padding: 44px 42px; margin-bottom: 24px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center;
}
.tg-badge {
  display: inline-block; margin-bottom: 14px;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  padding: 6px 14px; border-radius: 999px;
  background: var(--lime); color: var(--navy-deep);
}
.ch-together h3 {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.38;
}
.ch-together p { margin-top: 16px; color: rgba(255,255,255,.82); font-size: 1rem; }
.ch-together strong { color: var(--lime); }
.tg-info { list-style: none; margin-top: 22px; display: grid; gap: 11px; }
.tg-info li {
  display: grid; grid-template-columns: 62px 1fr; gap: 14px;
  font-size: .95rem; padding-bottom: 11px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.tg-info li:last-child { border-bottom: 0; padding-bottom: 0; }
.tg-info .k { color: var(--lime); font-weight: 700; font-size: .87rem; }
.tg-info .v { color: rgba(255,255,255,.92); }
.tg-note {
  margin-top: 18px !important; font-size: .87rem !important;
  color: rgba(255,255,255,.58) !important;
}
.tg-shot { margin: 0; }
.tg-shot img {
  width: 100%; border-radius: 18px;
  aspect-ratio: 3 / 4; object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}
@media (max-width: 820px) {
  .ch-together { grid-template-columns: 1fr; gap: 28px; padding: 34px 24px; }
  .tg-shot { order: -1; }
  .tg-shot img { aspect-ratio: 4 / 3; }
}

/* 참가비 강조 박스 */
.tea-price {
  margin-top: 20px; padding: 20px 22px;
  background: rgba(255,255,255,.07); border-radius: 14px;
  border: 1px solid rgba(200,240,45,.28);
}
.tp-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 14px; padding: 7px 0;
}
.tp-label { font-size: .92rem; color: rgba(255,255,255,.74); }
.tp-strike {
  font-size: 1rem; color: rgba(255,255,255,.5);
  text-decoration: line-through;
}
.tp-hit { border-top: 1px solid rgba(255,255,255,.14); margin-top: 4px; padding-top: 12px; }
.tp-hit .tp-label { color: #fff; font-weight: 600; }
.tp-hit .tp-label b { color: var(--lime); }
.tp-now {
  font-size: 1.5rem; font-weight: 800; color: var(--lime);
  letter-spacing: -.03em; white-space: nowrap;
}
.tp-note {
  margin-top: 10px; font-size: .84rem; color: rgba(255,255,255,.6);
}

/* 환불 규정 박스 */
.refund-box {
  margin-top: 18px; padding: 18px 20px;
  background: rgba(255,255,255,.07); border-radius: 12px;
}
.refund-box > b {
  display: block; font-size: .88rem; color: var(--lime); margin-bottom: 10px;
}
.refund-box ul { list-style: none; display: grid; gap: 8px; }
.refund-box li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .89rem; color: rgba(255,255,255,.82);
  padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.refund-box li:last-child { border-bottom: 0; padding-bottom: 0; }
.refund-box li span:last-child { color: #fff; font-weight: 600; white-space: nowrap; }

/* ── 챌린지 FAQ ── */
.ch-faq {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: 44px 44px 34px; margin-bottom: 24px;
}
.ch-faq h3 {
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px;
}
.ch-faq details {
  border-bottom: 1px solid var(--line); padding: 16px 0;
}
.ch-faq details:last-child { border-bottom: 0; }
.ch-faq summary {
  cursor: pointer; font-weight: 700; font-size: 1rem;
  letter-spacing: -.02em; list-style: none;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.ch-faq summary::-webkit-details-marker { display: none; }
.ch-faq summary::after {
  content: "+"; color: var(--lime-deep); font-size: 1.3rem;
  font-weight: 700; flex: 0 0 auto; transition: transform .2s;
}
.ch-faq details[open] summary::after { content: "−"; }
.ch-faq details p {
  margin-top: 12px; font-size: .95rem; color: var(--muted); line-height: 1.75;
}
.ch-faq details p b { color: var(--forest); }
@media (max-width: 780px) { .ch-faq { padding: 32px 24px 24px; } }

/* ── 챌린지 페이지 전용 ── */
.page-challenge #challenge { padding-top: 56px; }
.nav ul.nav-simple { display: flex !important; position: static; max-height: none; flex-direction: row; background: none; border: 0; }
.nav ul.nav-simple li { width: auto; }
.nav ul.nav-simple a.link { display: inline-block; padding: 0; border: 0; }
.nav ul.nav-simple a.ch-nav { padding: 7px 14px; }

/* ── 신청 마감 화면 ── */
.ch-closed { text-align: center; padding: 44px 20px; }
.ch-closed .dic { font-size: 2.6rem; margin-bottom: 14px; }
.ch-closed h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.ch-closed p { color: var(--muted); }
.ch-closed p.next { margin-top: 12px; font-size: .95rem; }
.ch-closed .acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.link.is-closed, a.is-closed { opacity: .55; pointer-events: none; }

/* ── 신청 완료 화면 ── */
.ch-done { text-align: center; padding: 20px 0; }
.ch-done .dic { font-size: 3rem; margin-bottom: 16px; }
.ch-done h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.ch-done > p { color: var(--muted); }
.done-acc {
  margin: 28px auto; max-width: 420px; padding: 24px;
  background: var(--paper-deep); border-radius: 16px;
  display: grid; gap: 6px; justify-items: center;
}
.done-acc .lb { font-size: .82rem; color: var(--muted); }
.done-acc b { font-size: 1.15rem; letter-spacing: -.02em; }
.done-acc .nm { font-size: .88rem; color: var(--muted); }
.done-acc .btn { margin-top: 10px; }
.done-note { font-size: .9rem; color: var(--muted); margin-bottom: 24px; }
.done-note a { color: var(--lime-deep); font-weight: 600; text-decoration: none; }
.ch-formnote.ok { color: var(--forest); }

/* 복사 실패 시 폴백 */
.ch-fallback { display: none; margin-top: 18px; }
.ch-fallback b {
  display: block; font-size: .9rem; color: var(--coral); margin-bottom: 8px;
}
.ch-fallback textarea {
  width: 100%; font-family: inherit; font-size: .9rem; line-height: 1.6;
  padding: 14px 16px; border: 1.5px solid var(--coral); border-radius: 12px;
  background: #fff; color: var(--text); resize: vertical;
}

/* 입금 안내 */
.ch-pay {
  margin-top: 30px; padding: 24px 26px;
  background: var(--paper-deep); border-radius: 16px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
}
.ch-pay > b { font-size: .88rem; color: var(--muted); }
.ch-pay .acc { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.ch-pay .amt { font-size: .88rem; color: var(--muted); width: 100%; }
.ch-pay .btn { margin-left: auto; }

@media (max-width: 780px) {
  .ch-why, .ch-how, .ch-spec, .ch-form-wrap { padding: 34px 24px; }
  .ch-form { grid-template-columns: 1fr; }
  .ch-spec li { grid-template-columns: 1fr; gap: 4px; }
  .ch-proof { grid-template-columns: 1fr; gap: 20px; }
  .ch-steps li { grid-template-columns: 40px 1fr; gap: 14px; }
  .ch-steps .stp { width: 36px; height: 36px; font-size: .82rem; }
  .ch-pay .btn { margin-left: 0; }
  .ch-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ═══ AI 찻자리 ═══ */
.tea-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; margin-bottom: 64px;
}
.tea-why { color: var(--muted); font-size: 1rem; }
.tea-why strong { color: var(--forest); }
.tea-punch {
  margin-top: 22px;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.45;
}
.tea-punch em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--lime) 62%);
  padding: 0 3px;
}
.tea-stats {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin: 30px 0 28px;
  padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.tea-stats li { text-align: center; }
.tea-stats b {
  display: block; font-size: 1.5rem; font-weight: 800;
  color: var(--forest); letter-spacing: -.03em; line-height: 1.2;
}
.tea-stats span { font-size: .78rem; color: var(--muted); }

/* 사진 4장 그리드 */
.tea-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tea-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 14px; box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}
.tea-gallery img:first-child { aspect-ratio: 1 / 1.25; }
.tea-gallery img:nth-child(2) { aspect-ratio: 1 / 1.25; }

/* 회차 카드 */
.tea-sessions { display: grid; gap: 18px; }
.tsession {
  display: grid; grid-template-columns: 108px 1fr; gap: 26px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px 30px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.tsession:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tnum { text-align: center; border-right: 1px solid var(--line); padding-right: 20px; }
.tnum b {
  display: block; font-size: 2.1rem; font-weight: 800;
  color: var(--forest); letter-spacing: -.04em; line-height: 1;
}
.tnum span { font-size: .68rem; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.tmeta { font-size: .84rem; color: var(--muted); margin-bottom: 8px; }
.tbody h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.025em; margin-bottom: 10px; }
.tbody p { font-size: .95rem; color: var(--muted); line-height: 1.75; }
.tbody p strong { color: var(--navy); }
.ttags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.ttags span {
  font-size: .78rem; padding: 5px 11px; border-radius: 999px;
  background: var(--paper-deep); color: var(--navy);
}
.tea-note {
  margin-top: 30px; text-align: center;
  font-size: .9rem; color: var(--muted);
}
/* 찻자리 신청 CTA 카드 */
.tea-cta {
  margin-top: 34px; scroll-margin-top: 80px;
  background: linear-gradient(135deg, var(--forest) 0%, #24462C 100%);
  border-radius: 24px; padding: 48px 44px; text-align: center; color: #fff;
}
.tea-cta-badge {
  display: inline-block; margin-bottom: 16px;
  font-size: .76rem; font-weight: 700; letter-spacing: .1em;
  padding: 7px 16px; border-radius: 999px;
  background: var(--lime); color: var(--navy-deep);
}
.tea-cta h3 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.4;
}
.tea-cta p { margin-top: 14px; color: rgba(255,255,255,.82); font-size: .98rem; }
.tea-cta .btn { margin-top: 26px; }
@media (max-width: 780px) { .tea-cta { padding: 36px 24px; } }
.tea-note a { color: var(--lime-deep); font-weight: 600; text-decoration: none; }
.tea-note a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .tea-top { grid-template-columns: 1fr; gap: 32px; }
  .tea-gallery { order: -1; }
}
@media (max-width: 560px) {
  .tsession { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; }
  .tnum {
    display: flex; align-items: baseline; gap: 10px;
    text-align: left; border-right: 0; padding-right: 0;
    border-bottom: 1px solid var(--line); padding-bottom: 12px;
  }
  .tnum b { font-size: 1.5rem; }
  .tea-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
}

/* ═══ 링크(앱) ═══ */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
/* 모객 중인 챌린지 강조 */
.app.app-hot { border-color: var(--lime-deep); background: linear-gradient(180deg, #FCFFF2 0%, var(--card) 100%); }
.app.app-hot .url { color: var(--forest); font-weight: 700; }
/* 모집이 끝난 바로가기 — 눈에 덜 띄되 링크는 살아있다 */
.app.app-closed .url { color: var(--muted); font-weight: 600; }
.app.app-closed .ic { opacity: .75; }
@media (max-width: 980px) { .apps { grid-template-columns: repeat(2, 1fr); } }
.app {
  position: relative; overflow: hidden;
  display: block; text-decoration: none;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; padding: 34px 32px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.app:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--lime-deep); }
.app .ic { font-size: 1.9rem; margin-bottom: 14px; }
.app h3 {
  font-size: 1.22rem; font-weight: 800; letter-spacing: -.025em;
  margin-bottom: 9px; display: flex; align-items: center; gap: 8px;
}
.app .go {
  font-size: 1.05rem; color: var(--lime-deep);
  transition: transform .22s ease; display: inline-block;
}
.app:hover .go { transform: translateX(4px); }
.app p { font-size: .94rem; color: var(--muted); line-height: 1.72; }
.app .url {
  margin-top: 16px; font-size: .82rem; color: var(--lime-deep);
  font-weight: 600; word-break: break-all;
}
@media (max-width: 720px) { .apps { grid-template-columns: 1fr; } }

/* ═══ 문의 ═══ */
.contact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.ccard {
  display: block; text-decoration: none; text-align: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 34px 22px 30px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ccard:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: var(--lime-deep);
}
.ccard .cic { font-size: 1.7rem; margin-bottom: 14px; }
.ccard h3 {
  font-size: .82rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.ccard .cval {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  letter-spacing: -.02em; word-break: break-all; line-height: 1.5;
}
.ccard .cnote {
  display: block; margin-top: 9px;
  font-size: .82rem; color: var(--muted);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .contact-grid { grid-template-columns: 1fr; } }

/* ═══ 참여 CTA ═══ */
.join {
  background: var(--navy-deep); color: #fff;
  text-align: center; padding: 88px 0;
}
.join h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.4;
}
.join h2 .hl { color: var(--lime); }
.join p { margin: 20px auto 0; max-width: 560px; color: rgba(255,255,255,.78); }
.join .btns { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══ 푸터 ═══ */
footer {
  background: var(--navy-deep); color: rgba(255,255,255,.62);
  padding: 44px 0; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .88rem;
}
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .fbrand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
footer .fbrand img { width: 26px; height: 26px; object-fit: contain; }
footer a { color: var(--lime); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .sns { display: flex; gap: 16px; flex-wrap: wrap; }
footer .fmeta {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem; color: rgba(255,255,255,.48);
}

.inline-link { color: var(--lime-deep); font-weight: 600; text-decoration: none; white-space: nowrap; }
.inline-link:hover { text-decoration: underline; }
