@charset "utf-8";
/* ==========================================================================
   SURE — 수어 교류 커뮤니티
   playful sticker style · brand: #5680F7 (blue) · #5DC3A4 (green)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 토큰
   -------------------------------------------------------------------------- */
:root {
  /* 배경 파스텔 */
  --sky:        #DCE7FF;
  --sky-soft:   #EAF1FF;
  --mint:       #D9F3E8;
  --cream:      #FFF3D6;

  /* 브랜드 */
  --blue:       #5680F7;
  --blue-deep:  #2E4FC7;
  --blue-dark:  #22357E;
  --green:      #5DC3A4;
  --green-deep: #1E8265;

  --ink:        #14161F;
  --paper:      #FFFFFF;
  --muted:      #4A5168;

  /* 스티커 효과 */
  --line: 3px solid var(--ink);
  --pop:      6px 7px 0 var(--ink);
  --pop-sm:   4px 5px 0 var(--ink);
  --pop-lg:   9px 10px 0 var(--ink);

  --font-display: 'Black Han Sans', 'Noto Sans KR', sans-serif;
  --font-round:   'Jua', 'Noto Sans KR', sans-serif;
  --font-body:    'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  --radius:    18px;
  --radius-lg: 26px;
  --container: 1120px;
  --header-h:  76px;
  --ease: cubic-bezier(.22, .68, .36, 1);
}

/* --------------------------------------------------------------------------
   2. 리셋
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -.01em;
  color: var(--ink);
  background: var(--sky);
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.25; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
dd { margin: 0; }

/* 커스텀 커서 — 주황 동그라미 */
html, body,
a, button, summary, .btn, .nav__link, .lang-switch button, .faq__q {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="34" height="34"><circle cx="17" cy="17" r="12.5" fill="%23FF7A2F" stroke="%2314161F" stroke-width="3"/></svg>') 17 17, auto;
}

:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}
::selection { background: var(--blue); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. 유틸리티
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 300;
  padding: 12px 22px;
  background: var(--ink); color: #fff;
  font-family: var(--font-round);
  border-radius: 12px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--sky   { background: var(--sky); }
.section--mint  { background: var(--mint); }
.section--cream { background: var(--cream); }
.section--paper { background: var(--sky-soft); }

.tilt-l  { rotate: -1.5deg; }
.tilt-r  { rotate: 1.2deg; }

/* 섹션 헤더 */
.stamp {
  display: inline-block;
  font-family: var(--font-round);
  font-size: clamp(19px, 2.8vw, 26px);
  padding: 12px 28px;
  background: var(--paper);
  border: var(--line);
  border-radius: 999px;
  box-shadow: var(--pop-sm);
  rotate: -2deg;
}
.stamp--blue  { background: var(--blue); color: #fff; }
.stamp--green { background: var(--green); color: var(--ink); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 58px);
  letter-spacing: 0;
  margin-top: 22px;
  line-height: 1.2;
}
.section-title .u-blue  { color: var(--blue-deep); }
.section-title .u-green { color: var(--green-deep); }
/* 제목 안에 들어가는 SURE 로고 */
.title-logo {
  display: inline-block;
  height: .78em;
  width: auto;
  vertical-align: -.04em;
  margin-inline: .06em;
}
.title-logo--white { filter: brightness(0) invert(1); }
.title-logo--ink   { filter: brightness(0); }
.section-lede {
  margin-top: 16px;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 500;
  color: var(--muted);
  max-width: 62ch;
}
.section-head { margin-bottom: clamp(40px, 5vw, 60px); }
.section-head--center { text-align: center; }
.section-head--center .section-lede { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. 버튼 — 하드 섀도 스타일
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 30px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: .01em;
  background: var(--paper);
  color: var(--ink);
  border: var(--line);
  border-radius: 16px;
  box-shadow: var(--pop-sm);
  white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover  { transform: translate(2px, 2px); box-shadow: 2px 3px 0 var(--ink); }
.btn:active { transform: translate(4px, 5px); box-shadow: 0 0 0 var(--ink); }

.btn--blue  { background: var(--blue);  color: #fff; }
.btn--green { background: var(--green); color: var(--ink); }
.btn--ink   { background: var(--ink);   color: #fff; }
.btn--lg    { min-height: 66px; padding: 18px 40px; font-size: 23px; border-radius: 20px; box-shadow: var(--pop); }
.btn--lg:hover { box-shadow: 3px 4px 0 var(--ink); }
.btn--sm    { min-height: 46px; padding: 10px 20px; font-size: 16px; }

.btn[aria-disabled="true"] { pointer-events: none; opacity: .6; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   5. 헤더
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__symbol { width: 36px; }
.brand__wordmark { width: 116px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-block;
  padding: 10px 15px;
  font-family: var(--font-round);
  font-size: 19px;
  white-space: nowrap;
  border-radius: 999px;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav__link:hover { background: var(--sky); }

/* 언어 전환 (한/EN/日) */
.lang-switch {
  display: inline-flex;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-switch button {
  padding: 7px 13px;
  font-family: var(--font-round);
  font-size: 14px;
  background: transparent;
  border: 0;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.lang-switch button + button { border-left: 2px solid var(--ink); }
.lang-switch button:hover { background: var(--sky); }
.lang-switch button.is-active { background: var(--blue); color: #fff; }
@media (max-width: 640px) {
  .lang-switch button { padding: 6px 10px; font-size: 13px; }
}

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: var(--paper);
  border: var(--line);
  border-radius: 14px;
  box-shadow: var(--pop-sm);
}
.nav-toggle:active { transform: translate(2px,2px); box-shadow: 1px 2px 0 var(--ink); }
.nav-toggle__bars { position: relative; width: 20px; height: 15px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 3px;
  border-radius: 3px; background: var(--ink);
  transition: transform .22s var(--ease), opacity .18s var(--ease), top .22s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 24px 24px;
    background: var(--paper);
    border-bottom: var(--line);
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 14px 16px; font-size: 19px; }
  .nav .btn { margin-top: 12px; }
  .header__cta { display: none; }
}
@media (min-width: 1081px) {
  .nav .btn { display: none; }
}

/* --------------------------------------------------------------------------
   6. 히어로
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sky);
  padding-block: clamp(56px, 8vw, 100px) clamp(72px, 10vw, 120px);
  text-align: center;
}

/* CSS 구름 — main.js의 spawnClouds()가 랜덤 생성.
   크기는 em 기반이라 font-size(인라인)만 바꾸면 통째로 스케일됨.
   위치·속도·투명도는 인라인 커스텀 프로퍼티(--drift-t/--drift-d/--o)로 주입 */
.cloud {
  position: absolute;
  left: -28em;
  width: 13em;
  height: 3.6em;
  background: #fff;
  border-radius: 999px;
  opacity: var(--o, .8);
  animation: cloudDrift var(--drift-t, 80s) linear infinite;
  animation-delay: var(--drift-d, 0s);
  pointer-events: none;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
@keyframes cloudDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(100vw + 56em)); }
}

/* 모양 A: 클래식 두 뭉게 */
.cloud--a::before { width: 5.4em; height: 5.4em; top: -2.6em; left: 2.2em; }
.cloud--a::after  { width: 3.8em; height: 3.8em; top: -1.7em; left: 6.8em; }
/* 모양 B: 봉긋 솟은 반달 */
.cloud--b { width: 10em; height: 3.2em; }
.cloud--b::before { width: 6.4em; height: 6.4em; top: -3.4em; left: 1.6em; }
.cloud--b::after  { width: 2.6em; height: 2.6em; top: -1.2em; left: 6.6em; }
/* 모양 C: 길쭉한 삼봉 */
.cloud--c { width: 17em; height: 3.4em; }
.cloud--c::before { width: 4.6em; height: 4.6em; top: -2.2em; left: 1.8em; }
.cloud--c::after  { width: 5.8em; height: 5.8em; top: -2.9em; left: 8em; }
/* 모양 D: 동글 솜뭉치 */
.cloud--d { width: 6.5em; height: 2.8em; }
.cloud--d::before { width: 4.4em; height: 4.4em; top: -2em; left: 1.1em; }
.cloud--d::after  { width: 2.2em; height: 2.2em; top: -.9em; left: 3.9em; }

/* 모션 최소화 설정: 흐르지 않고 제자리 (JS가 인라인 left를 랜덤 지정) */
@media (prefers-reduced-motion: reduce) {
  .cloud { animation: none; }
}

.hero__inner { position: relative; z-index: 2; }

.hero__collab {
  display: inline-block;
  font-family: var(--font-round);
  font-size: clamp(15px, 2vw, 19px);
  color: var(--muted);
}
/* 모바일에서만 협력 라인을 2+2로 줄바꿈 */
.br-mobile { display: none; }
@media (max-width: 640px) {
  .br-mobile { display: inline; }
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-round);
  font-size: clamp(16px, 2.2vw, 21px);
  background: var(--paper);
  border: var(--line);
  border-radius: 999px;
  box-shadow: var(--pop-sm);
}
.chip--blue  { background: var(--blue); color: #fff; rotate: -2deg; }
.chip--green { background: var(--green); rotate: 1.5deg; }
.chip--paper { rotate: -1deg; }

/* SURE 워드마크 — 글자 하나씩 파도타기 바운스.
   각 글자 폭은 원본 비율 유지 (S 188 / U 199 / R 173 / E 177, 전체 785px) */
.hero__wordmark {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2%;
  width: min(78vw, 640px);
  margin: clamp(28px, 5vw, 48px) auto 0;
}
/* 글자마다 다른 주기·다른 경로로 구름처럼 유영 —
   주기가 서로 달라 겹치는 패턴 없이 계속 다른 모습이 됨 */
.hero__wordmark img { will-change: transform; }
.hero__wordmark img:nth-child(1) { width: 23.9%; animation: driftS 7.5s  ease-in-out infinite; }
.hero__wordmark img:nth-child(2) { width: 25.4%; animation: driftU 9.5s  ease-in-out infinite; }
.hero__wordmark img:nth-child(3) { width: 22.0%; animation: driftR 8.2s  ease-in-out infinite; }
.hero__wordmark img:nth-child(4) { width: 22.5%; animation: driftE 11s   ease-in-out infinite; }

@keyframes driftS {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  35%      { transform: translate(-2%, -7%) rotate(-2.4deg); }
  70%      { transform: translate(1.5%, 3%) rotate(1.2deg); }
}
@keyframes driftU {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  30%      { transform: translate(2.5%, 5%) rotate(1.8deg); }
  65%      { transform: translate(-2%, -6%) rotate(-1.5deg); }
}
@keyframes driftR {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(-3%, 4%) rotate(2deg); }
  60%      { transform: translate(2%, -5%) rotate(-2.2deg); }
}
@keyframes driftE {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  40%      { transform: translate(2%, -8%) rotate(2.5deg); }
  75%      { transform: translate(-1.5%, 2.5%) rotate(-1deg); }
}

.hero__title {
  display: block;
  margin-top: clamp(22px, 3.2vw, 36px);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.3;
}
.hero__title .u-green { color: var(--green-deep); }
.hero__title .u-blue  { color: var(--blue-deep); }

/* 수어 · 슈어 — 자동으로 서로 다른 리듬으로 부드럽게 유영 */
.hero__title .u-green,
.hero__title .u-blue {
  display: inline-block;
}
/* 글자는 고정, 색만 연하게↔진하게 숨쉬기 */
.hero__title .u-green { animation: colorBreathG 5.5s ease-in-out infinite; }
.hero__title .u-blue  { animation: colorBreathB 7.2s ease-in-out infinite; }
@keyframes colorBreathG {
  0%, 100% { color: #17614B; }
  50%      { color: #5DC3A4; }
}
@keyframes colorBreathB {
  0%, 100% { color: #2440A6; }
  50%      { color: #7FA0FF; }
}

.hero__lede {
  margin: 18px auto 0;
  font-size: clamp(16px, 2.1vw, 20px);
  font-weight: 500;
  color: var(--muted);
  max-width: 64ch;
}

.hero .btn-row { margin-top: clamp(30px, 4.5vw, 44px); justify-content: center; }

/* 손 심볼 스티커 (말풍선 포함) — 재사용 컴포넌트 */
.hand-wrap {
  position: relative;
  display: inline-block;
}
.hand-sticker {
  width: clamp(124px, 15vw, 178px);
  margin-inline: auto;
  pointer-events: none;
}
.hand-sticker img {
  width: 100%;
  transform-origin: 50% 90%;
  animation: wave 5s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% { rotate: -4deg; }
  50%      { rotate: 5deg; }
}


/* --------------------------------------------------------------------------
   7. 마퀴 띠 배너
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  border-block: var(--line);
  padding-block: 15px;
  position: relative;
  z-index: 3;
}
.marquee--blue  { background: var(--blue-deep); }
.marquee--green { background: var(--ink); }
.marquee--green .marquee__seq { color: #fff; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee__seq {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 23px);
  letter-spacing: .03em;
  white-space: nowrap;
}
.marquee__seq > span { padding-inline: 20px; }
/* 로고의 초록 체크를 마스크로 사용 — 띠 색에 따라 색만 갈아끼움 */
.marquee__seq .tick {
  display: inline-block;
  width: 1.05em;
  aspect-ratio: 600 / 463;
  margin-inline: 5px;
  background: var(--green);
  -webkit-mask: url("../img/check-green.png") no-repeat center / contain;
  mask: url("../img/check-green.png") no-repeat center / contain;
}
.marquee--green .marquee__seq .tick { background: var(--green); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* 패턴 스트립 구분선 */
.strip {
  height: 20px;
  border-block: var(--line);
  background: repeating-linear-gradient(
    -45deg,
    var(--blue) 0 18px,
    var(--sky) 18px 36px,
    var(--green) 36px 54px,
    var(--mint) 54px 72px
  );
}

/* --------------------------------------------------------------------------
   8. 그리드 · 카드
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--pop);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.card { align-items: center; text-align: center; }

/* 카드 제목 — 알약 배지 스타일 (SURE에 숨겨진 비밀과 동일 톤) */
.card__title {
  align-self: center;
  display: inline-block;
  min-width: 248px;
  text-align: center;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  background: var(--sky);
  border: 2px solid var(--ink);
  border-radius: 999px;
  rotate: -2deg;
}
.card:nth-child(2) .card__title { background: var(--mint); rotate: 1.5deg; }
.card:nth-child(3) .card__title { background: var(--cream); rotate: -1.5deg; }
.card__text { margin-top: 16px; font-size: 15.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   9. 이름의 뜻
   -------------------------------------------------------------------------- */
.meaning {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 26px;
}
@media (max-width: 760px) {
  .meaning { grid-template-columns: 1fr; }
  .meaning__x { justify-self: center; rotate: 90deg; }
}
.meaning__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 26px;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--pop);
  text-align: center;
}
.meaning__item--suo  { rotate: -1.5deg; }
.meaning__item--sure { rotate: 1.5deg; }
.meaning__word {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 50px);
  line-height: 1.1;
}
.meaning__item--suo  .meaning__word { color: var(--green-deep); }
.meaning__item--sure .meaning__word { color: var(--blue-deep); }
.meaning__word--logo img {
  height: clamp(36px, 4.4vw, 48px);
  width: auto;
  margin-inline: auto;
}
.meaning__read { margin-top: 12px; font-family: var(--font-round); font-size: 24px; color: var(--muted); }
.meaning__desc { margin-top: 18px; font-size: 18.5px; color: var(--muted); }
.meaning__x {
  align-self: center;
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 92px);
  line-height: 1;
  color: var(--ink);
}

.meaning__bridge {
  margin-top: 34px;
  padding: clamp(30px, 4.5vw, 44px);
  background: var(--blue);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--pop);
  text-align: center;
  rotate: -.5deg;
}
.meaning__bridge p {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 34px);
  color: #fff;
  line-height: 1.4;
}
.meaning__bridge span {
  display: block;
  margin-top: 12px;
  font-family: var(--font-round);
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, .92);
}

/* 「SURE = 물론!」 언어유희 — 작은 브랜드 포인트 */
.wordplay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 740px;
  margin: 40px auto 0;
  padding: 26px 30px 30px;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--pop);
  rotate: -1deg;
  text-align: center;
}
.wordplay__tag {
  flex-shrink: 0;
  min-width: 248px;
  text-align: center;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.25;
  background: #FF9D5C;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  rotate: -3deg;
}
.wordplay p {
  font-family: var(--font-round);
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--muted);
}
@media (max-width: 640px) {
  .wordplay { border-radius: var(--radius-lg); padding: 18px 20px; }
}

/* --------------------------------------------------------------------------
   10. 행사 카드
   -------------------------------------------------------------------------- */
.event-card {
  display: grid;
  grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--pop-lg);
  overflow: hidden;
}
.event-card__date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 44px 36px;
  background: var(--blue);
  color: #fff;
  border-right: var(--line);
}
.event-card__year  { font-family: var(--font-round); font-size: 20px; opacity: .95; }
.event-card__day   { font-family: var(--font-display); font-size: clamp(56px, 7vw, 84px); line-height: 1.05; }
.event-card__month { font-family: var(--font-display); font-size: 24px; }
.event-card__time  {
  margin-top: 18px; padding-top: 16px;
  border-top: 2px solid rgba(255,255,255,.45);
  font-family: var(--font-round); font-size: 20px;
}
.event-card__dday {
  align-self: flex-start;
  margin-top: 16px;
  padding: 6px 16px;
  background: #fff;
  color: var(--blue-deep);
  border: var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 17px;
  box-shadow: var(--pop-sm);
  rotate: -3deg;
}

.event-card__date .btn {
  align-self: stretch;
  margin-top: 24px;
  font-size: 25px;
  min-height: 62px;
}
@media (max-width: 780px) {
  .event-card__date .btn { flex: 1 1 100%; margin-top: 12px; }
}

.event-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4.5vw, 46px);
}
.event-card__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.event-card__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3.6vw, 38px); }
.event-card__desc { margin-top: 12px; font-size: 16.5px; color: var(--muted); }

.event-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 28px 0 0;
  /* 실선 아래 간격 = 카드 바닥 여백과 동일하게 */
  padding-top: clamp(30px, 4.5vw, 46px);
  border-top: 2px solid var(--sky);
}
@media (max-width: 560px) {
  .event-facts { grid-template-columns: minmax(0, 1fr); gap: 13px; }
}
.event-facts > div { display: flex; align-items: center; gap: 14px; }
.event-facts dt {
  flex-shrink: 0;
  width: 86px;
  text-align: center;
  font-family: var(--font-round);
  font-size: 16px;
  padding: 7px 0;
  background: var(--sky);
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.event-facts > div:nth-child(2) dt { background: var(--mint); }
.event-facts > div:nth-child(3) dt { background: var(--cream); }
.event-facts > div:nth-child(4) dt { background: var(--paper); }
.event-facts dd { font-weight: 700; font-size: 18px; }
@media (max-width: 480px) {
  .event-facts dd { font-size: 16.5px; }
}

@media (max-width: 780px) {
  .event-card { grid-template-columns: 1fr; }
  .event-card__date {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    padding: 28px 30px;
    border-right: 0;
    border-bottom: var(--line);
  }
  .event-card__day { font-size: 52px; }
  .event-card__time { margin: 0 0 0 auto; padding: 0; border: 0; }
  .event-card__dday { margin: 0; }
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  font-family: var(--font-round);
  font-size: 16px;
  background: var(--sky);
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.tag--green { background: var(--mint); }
.tag--cream { background: var(--cream); }
.tag--dday  { background: var(--blue); color: #fff; font-family: var(--font-display); }

/* --------------------------------------------------------------------------
   11. 프로그램 타임라인
   -------------------------------------------------------------------------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.timeline__item:last-child { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: minmax(0, 1fr); }
}
.timeline__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--pop-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.timeline__item:nth-child(odd)  { rotate: .4deg; }
.timeline__item:nth-child(even) { rotate: -.4deg; }

.timeline__num {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  font-family: var(--font-display);
  font-size: 23px;
  background: var(--sky);
  border: var(--line);
  border-radius: 50%;
}
.timeline__item:nth-child(3n+2) .timeline__num { background: var(--mint); }
.timeline__item:nth-child(3n)   .timeline__num { background: var(--cream); }

.timeline__title { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.timeline__desc { margin-top: 6px; font-size: 16.5px; color: var(--muted); }
@media (max-width: 640px) {
  .timeline__item { grid-template-columns: 48px minmax(0, 1fr); padding: 20px 22px; }
  .timeline__num { width: 48px; height: 48px; font-size: 19px; }
}

/* --------------------------------------------------------------------------
   12. 함께하는 사람들
   -------------------------------------------------------------------------- */
.org {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--pop);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.org:nth-child(odd)  { rotate: -.6deg; }
.org:nth-child(even) { rotate: .6deg; }

.org__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 18px;
}
.org__role {
  padding: 7px 18px;
  font-family: var(--font-round);
  font-size: 17px;
  border: 2px solid var(--ink);
  border-radius: 999px;
}
/* 인스타그램 버튼 */
.org__insta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  font-family: var(--font-round);
  font-size: 15px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 3px 0 var(--ink);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease);
}
.org__insta:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
  background: var(--sky);
  text-decoration: none;
}
.org__insta svg { width: 17px; height: 17px; flex-shrink: 0; }
.org__insta--soon {
  opacity: .45;
  box-shadow: none;
  pointer-events: none;
}
.org__role--host    { background: var(--blue); color: #fff; }
.org__role--partner { background: var(--mint); }
.org__name { font-family: var(--font-display); font-weight: 400; font-size: 23px; }
.org__desc { margin-top: 10px; font-size: 16px; color: var(--muted); flex-grow: 1; }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin-inline: auto; }
.faq__item {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--pop-sm);
  overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.faq__item:hover { transform: translate(2px, 2px); box-shadow: 2px 3px 0 var(--ink); }
.faq__item[open] { transform: translate(2px, 2px); box-shadow: 2px 3px 0 var(--ink); }
.faq__q {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  font-family: var(--font-round);
  font-size: 21px;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before {
  content: "Q";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  font-family: var(--font-display);
  font-size: 19px;
  background: var(--sky);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.faq__q::after {
  content: "";
  margin-left: auto;
  width: 12px; height: 12px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }
.faq__a { padding: 0 26px 24px 78px; font-size: 17.5px; color: var(--muted); overflow: hidden; }
.faq__a p + p { margin-top: 10px; }
@media (max-width: 560px) { .faq__a { padding-left: 26px; } }

/* --------------------------------------------------------------------------
   14. 오시는 길
   -------------------------------------------------------------------------- */
/* 오시는 길: 제목과 지도 사이 여백 축소 */
#place .section-head { margin-bottom: 22px; }

/* 큰 지도 임베드 카드 */
.place-embed {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--pop);
  overflow: hidden;
}
.place-embed iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 44vw, 480px);
  border: 0;
}
/* 한 줄: 버튼은 오른쪽 고정, 주소는 왼쪽끝~버튼 사이 공간의 가운데 */
.place-embed__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border-top: var(--line);
}
.place-embed__addr {
  flex: 1;
  min-width: 0;
  text-align: center;
}
@media (max-width: 900px) {
  .place-embed__foot { flex-direction: column; gap: 14px; }
  .place-embed__addr { flex: none; }
  .place-embed__foot .place__map-btns {
    justify-content: center;
    width: 100%;
    flex-wrap: nowrap;   /* 좌우 나란히 유지 */
  }
  .place-embed__foot .place__map-btns .btn {
    min-width: 0;
    flex: 1;
    max-width: 170px;
  }
}
.place-embed__addr {
  font-family: var(--font-round);
  font-size: 18px;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .place-embed__foot { justify-content: center; text-align: center; }
  .place-embed__addr { font-size: 16px; }
}
.place__map-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.place__map-btns .btn { min-width: 136px; padding-inline: 14px; }

/* --------------------------------------------------------------------------
   15. CTA 밴드
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 11vw, 140px);
  background: var(--blue);
  border-block: var(--line);
  text-align: center;
}
.cta-band .cloud { opacity: calc(var(--o, .8) * .45); }
.cta-band__inner { position: relative; z-index: 1; }
.cta-band__title {
  margin-top: 30px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5.6vw, 60px);
  color: #fff;
  line-height: 1.25;
}
.cta-band__text {
  margin-top: 18px;
  font-family: var(--font-round);
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .95);
}
.cta-band__date {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(17px, 2.4vw, 23px);
  color: #fff;
}
.cta-band .btn-row { margin-top: 38px; }
.cta-band__note {
  margin-top: 24px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .85);
}

/* --------------------------------------------------------------------------
   16. 푸터
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #C6CBDD;
  padding-block: clamp(56px, 8vw, 80px) 40px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 44px;
}
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; gap: 36px; } }

.site-footer .brand__wordmark { filter: brightness(0) invert(1); }
.site-footer__tagline { margin-top: 18px; font-size: 15px; max-width: 32ch; }

.footer-col h3 {
  font-family: var(--font-round);
  font-weight: 400;
  font-size: 16px;
  color: #fff;
}
.footer-col ul { margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { font-size: 15px; color: #C6CBDD; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid #333A52;
  font-size: 13.5px;
  color: #8A92AB;
}

/* --------------------------------------------------------------------------
   17. 스크롤 등장
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

/* 순차 등장 — 프로그램 카드가 1→2→3→4 순으로 착착 */
.reveal-step { opacity: 0; }
.reveal-step.is-visible {
  animation: stepIn .5s var(--ease) forwards;
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(26px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.reveal-step:nth-child(2).is-visible { animation-delay: .12s; }
.reveal-step:nth-child(3).is-visible { animation-delay: .24s; }
.reveal-step:nth-child(4).is-visible { animation-delay: .36s; }
.reveal-step:nth-child(5).is-visible { animation-delay: .48s; }
.reveal-step:nth-child(6).is-visible { animation-delay: .60s; }
.reveal-step:nth-child(7).is-visible { animation-delay: .72s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-step { opacity: 1; transform: none; }
  .reveal-step.is-visible { animation: none; }
}

/* --------------------------------------------------------------------------
   23. 모바일 다듬기 — 폰 화면에서 앱처럼 정돈되게
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .container { padding-inline: 20px; }

  /* 히어로: 버튼 풀와이드 스택, 여백 압축 */
  .hero { padding-block: 36px 56px; }
  .hero__collab { display: none; }
  .hero__badges { gap: 8px; margin-top: 0; }
  .hero__title { font-size: 27px; margin-top: 24px; }
  .hero__lede { font-size: 16px; }
  .hero__lede br { display: none; }
  .hero .btn-row {
    flex-direction: column;
    align-items: stretch;
    margin-top: 28px;
    max-width: 340px;
    margin-inline: auto;
  }

  /* 섹션 공통: 제목·여백 최적화 */
  .section { padding-block: 56px; }
  .section-head { margin-bottom: 32px; }
  .section-title { font-size: 30px; }
  .section-lede { font-size: 16px; }

  /* 강제 줄바꿈 해제 → 자연스러운 흐름 */
  .meaning__bridge p br { display: none; }
  .meaning__bridge p { font-size: 20px; }
  .meaning__bridge span { font-size: 15px; }
  .meaning__word { font-size: 40px; }
  .meaning__read { font-size: 19px; }
  .meaning__desc { font-size: 16px; }
  .meaning__x { font-size: 52px; }

  /* 행사 카드 */
  .event-card__date { padding: 22px 20px; }
  .event-card__title { font-size: 25px; }
  .event-facts dt { width: 74px; font-size: 14.5px; }
  .event-facts dd { font-size: 15.5px; }
  .tag { font-size: 14px; padding: 6px 14px; }

  /* 프로그램 카드 */
  .timeline { gap: 14px; }
  .timeline__title { font-size: 21px; }
  .timeline__desc { font-size: 15px; }

  /* 단체 카드 */
  .org { padding: 24px 22px; }
  .org__name { font-size: 21px; }
  .org__desc { font-size: 15px; }

  /* FAQ */
  .faq { gap: 12px; }
  .faq__q { font-size: 18px; padding: 18px 20px; gap: 12px; }
  .faq__q::before { width: 32px; height: 32px; font-size: 16px; }
  .faq__a { padding: 0 20px 20px; font-size: 15.5px; }

  /* 오시는 길 */
  .place__map { min-height: 230px; padding: 28px 22px; }
  .place__map p { font-size: 21px; }

  /* CTA · 푸터 */
  .cta-band__text { font-size: 16px; }
  .cta-band .btn-row { padding-inline: 20px; }
  .cta-band .btn { width: 100%; max-width: 340px; }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
