/* ===========================================================
   main.css — 헤더, 섹션별 레이아웃, 갤러리, 푸터
   =========================================================== */

/* ---------- 헤더 / 네비게이션 ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    backdrop-filter 0.25s var(--ease);
}

.header.is-stuck {
  background: rgba(10, 11, 13, 0.93);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo__mark {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--accent);
  transform: rotate(45deg);
}

.logo__sub {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav__link.is-active {
  color: var(--text);
}

.header__cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
}

.nav-toggle__bar::before {
  transform: translateY(-6px);
}

.nav-toggle__bar::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  transform: rotate(-45deg);
}

/* ---------- 히어로 ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 860px);
  padding-top: var(--header-h);
  padding-bottom: clamp(44px, 7vw, 84px);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      var(--bg) 2%,
      rgba(10, 11, 13, 0.72) 42%,
      rgba(10, 11, 13, 0.32) 100%
    ),
    radial-gradient(90% 60% at 20% 90%, rgba(255, 107, 44, 0.18), transparent 70%);
}

.hero__inner {
  width: 100%;
}

.hero__title {
  max-width: 17em;
  margin-top: 18px;
  font-size: clamp(36px, 7.2vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__desc {
  max-width: 34em;
  margin-top: 22px;
  color: var(--text);
  font-size: clamp(15.5px, 1.9vw, 19px);
  font-weight: 700;
  word-break: keep-all; /* 한글 낱말 중간에서 줄이 바뀌지 않게 */
}

.hero__desc em {
  font-style: normal;
  color: var(--accent);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero__meta div {
  font-size: 14px;
  color: var(--text-faint);
}

.hero__meta strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.hero__meta small {
  display: block;
  margin-top: 3px;
  color: var(--text-dim);
  font-size: 13px;
  word-break: keep-all;
}

/* ---------- 소개 ---------- */

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about__lead {
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.55;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.about__body {
  margin-top: 20px;
  color: var(--text-dim);
}

.about__body p + p {
  margin-top: 14px;
}

.stats {
  display: grid;
  /* 카드 개수가 바뀌어도 빈 칸이 남지 않도록 자동 배치 */
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 12px;
}

.stat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.stat__num {
  font-size: clamp(27px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat__num span {
  font-size: 0.5em;
  color: var(--text-faint);
  font-weight: 600;
  margin-left: 2px;
}

.stat__label {
  margin-top: 6px;
  color: var(--text-faint);
  font-size: 13.5px;
}

/* ---------- 활동 ---------- */

.activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 16px;
}

.activity {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow: hidden;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.activity:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.activity::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
  opacity: 0.85;
}

.activity:nth-child(2)::before {
  background: var(--lime);
}

.activity:nth-child(3)::before {
  background: var(--sky);
}

.activity:nth-child(4)::before {
  background: #9d7bff;
}

.activity__icon {
  font-size: 23px;
  line-height: 1;
}

.activity__title {
  margin-top: 16px;
  font-size: 18.5px;
}

.activity__desc {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 14.5px;
}

.activity__tag {
  margin-top: 18px;
}

/* ---------- 처음이신가요 (초보 안내) ---------- */

.beginner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(276px, 1fr));
  gap: 16px;
}

.worry {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.worry__q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 650;
  color: var(--text);
}

.worry__q::before {
  content: "“";
  color: var(--accent);
  font-size: 30px;
  line-height: 0.9;
}

.worry__a {
  color: var(--text-dim);
  font-size: 14.5px;
}

.worry__a strong {
  color: var(--text);
  font-weight: 650;
}

/* 난이도 표 */

.grades {
  margin-top: 40px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.grades__title {
  font-size: 17px;
}

.grades__desc {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 14.5px;
}

.grades__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.grade {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border-left: 3px solid var(--g, var(--accent));
}

/* 색 이름이 주 표기이고 V 등급은 참고용으로 작게 */
.grade__tape {
  font-size: 15px;
  font-weight: 700;
  color: var(--g, var(--accent));
}

.grade__v {
  margin-top: 2px;
  color: var(--text-faint);
  font-size: 12.5px;
}

/* 여러 색이 한 단계인 경우 왼쪽 띠를 그라데이션으로 */
.grade--multi {
  border-left-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, #ffd23f, #ff8c2c, #46d58a) border-box;
}

/* ---------- 일정 ---------- */

.schedule {
  display: grid;
  gap: 10px;
}

.event {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  transition: border-color 0.2s var(--ease);
}

.event:hover {
  border-color: var(--line-strong);
}

.event.is-next {
  border-color: rgba(255, 107, 44, 0.45);
  background: linear-gradient(
    90deg,
    rgba(255, 107, 44, 0.08),
    var(--surface-2) 45%
  );
}

.event__date {
  text-align: center;
  line-height: 1.15;
}

.event__month {
  display: block;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
}

.event__day {
  display: block;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.event__weekday {
  display: block;
  margin-top: 2px;
  color: var(--text-faint);
  font-size: 12px;
}

.event__title {
  font-size: 16.5px;
  font-weight: 650;
}

.event__sub {
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 13.5px;
}

.event__sub span + span::before {
  content: "·";
  margin-inline: 7px;
  color: var(--text-faint);
}

.event__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.schedule__note {
  margin-top: 20px;
  color: var(--text-faint);
  font-size: 13.5px;
}

/* ---------- 갤러리 ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 12px;
}

.gallery--page {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.shot {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}

.shot:hover img {
  transform: scale(1.04);
}

/* 사진을 받는 동안: 칸에 빛이 지나가는 효과, 받으면 사진이 서서히 나타남 */
.shot.is-loading {
  background: linear-gradient(
      100deg,
      transparent 30%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 70%
    )
    var(--surface-2);
  background-size: 200% 100%;
  animation: shot-loading 1.4s linear infinite;
}

.shot.is-loading img {
  opacity: 0;
}

@keyframes shot-loading {
  from {
    background-position: 150% 0;
  }
  to {
    background-position: -50% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shot.is-loading {
    animation: none;
  }
}

.shot__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 16px 13px;
  background: linear-gradient(to top, rgba(10, 11, 13, 0.88), transparent);
  font-size: 13.5px;
  font-weight: 550;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.shot:hover .shot__caption,
.shot:focus-visible .shot__caption {
  opacity: 1;
  transform: none;
}

.gallery__more {
  margin-top: 28px;
  text-align: center;
}

/* 라이트박스 */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(6, 7, 9, 0.975);
  backdrop-filter: blur(6px);
}

.lightbox[open],
.lightbox.is-open {
  display: grid;
}

.lightbox__figure {
  max-width: min(1080px, 100%);
  margin: 0;
}

.lightbox__img {
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s var(--ease);
}

/* 다음 사진을 받는 동안 이전 사진을 흐리게 */
.lightbox__img.is-loading {
  opacity: 0.35;
}

.lightbox__caption {
  margin-top: 14px;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(19, 21, 26, 0.8);
  font-size: 19px;
  transition: background-color 0.18s var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--surface-2);
}

.lightbox__close {
  top: 20px;
  right: 20px;
}

.lightbox__nav--prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow: hidden;
}

.faq__item[open] {
  border-color: var(--line-strong);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-size: 21px;
  font-weight: 400;
  transition: transform 0.22s var(--ease);
}

.faq__item[open] .faq__q::after {
  transform: rotate(45deg);
}

.faq__a {
  padding: 0 22px 21px;
  color: var(--text-dim);
  font-size: 14.5px;
}

/* ---------- 가입 CTA ---------- */

.join-cta {
  position: relative;
  padding: clamp(36px, 5.5vw, 68px);
  border: 1px solid rgba(255, 107, 44, 0.3);
  border-radius: var(--radius-lg);
  background: radial-gradient(
      120% 140% at 0% 0%,
      rgba(255, 107, 44, 0.16),
      transparent 60%
    ),
    var(--surface-2);
  text-align: center;
}

.join-cta__title {
  font-size: clamp(25px, 4vw, 40px);
}

.join-cta__desc {
  max-width: 40em;
  margin: 16px auto 0;
  color: var(--text-dim);
}

.join-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.join-cta__fine {
  margin-top: 20px;
  color: var(--text-faint);
  font-size: 13px;
}

/* ---------- 가입 페이지 ---------- */

.page-head {
  padding-top: calc(var(--header-h) + clamp(44px, 7vw, 88px));
  padding-bottom: clamp(28px, 4vw, 48px);
}

.page-head__title {
  font-size: clamp(32px, 5.4vw, 54px);
  letter-spacing: -0.04em;
}

.page-head__desc {
  max-width: 38em;
  margin-top: 16px;
  color: var(--text-dim);
  font-size: clamp(15px, 1.7vw, 18px);
}

.join-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.step__title {
  font-size: 16.5px;
  font-weight: 650;
}

.step__desc {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 14.5px;
  word-break: keep-all; /* 한글 낱말 중간에서 줄이 바뀌지 않게 */
}

.info-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.info-row dt {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 600;
}

.info-row dd {
  margin: 4px 0 0;
  font-size: 15.5px;
  font-weight: 550;
  word-break: keep-all; /* 한글 낱말 중간에서 줄이 바뀌지 않게 */
}

.info-row dd small {
  display: block;
  margin-top: 3px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 400;
}

.form-slot {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  min-height: 230px;
  padding: 32px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  word-break: keep-all; /* 한국어를 낱말 중간에서 끊지 않음 */
}

.form-slot__title {
  font-size: 16.5px;
  font-weight: 650;
}

.form-slot__desc {
  max-width: 34em;
  margin: 8px auto 0;
  color: var(--text-dim);
  font-size: 14px;
}

/* 신청서 주소가 있을 때: 안내 · QR · 버튼 · 바로 작성 */

.form-slot.is-open {
  grid-template-columns: minmax(0, 1fr) auto;
  place-items: stretch;
  align-items: center;
  gap: 22px 32px;
  min-height: 0;
  padding: 28px;
  border-style: solid;
  border-color: var(--line);
  background: var(--surface-2);
  text-align: left;
}

.form-slot.is-open .form-slot__desc {
  margin-inline: 0;
}

.form-fields {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.form-fields__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 600;
}

.form-fields__time {
  color: var(--accent);
}

.form-fields__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.form-fields__list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.form-fields__list li::before {
  content: "✓";
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.form-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0;
}

.form-qr__code {
  width: 148px;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.form-qr__code svg {
  display: block;
  width: 100%;
  height: 100%;
}

.form-qr figcaption {
  max-width: 148px;
  color: var(--text-faint);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}

.form-qr__save {
  color: var(--text-dim);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-qr__save:hover {
  color: var(--text);
}

.form-slot__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.form-slot__status {
  color: var(--lime);
  font-size: 13.5px;
}

/* 구글 폼은 밝은 화면이라 흰 판 위에 띄웁니다. 불러오는 동안 안내 문구가 보입니다. */
.form-embed {
  grid-column: 1 / -1;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.form-embed::before {
  content: "신청서를 불러오는 중…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #5f6368;
  font-size: 14px;
}

.form-embed iframe {
  position: relative;
  display: block;
  width: 100%;
  height: min(80vh, 960px);
  border: 0;
}

/* ---------- 인스타그램 ---------- */

/* 소개 오른쪽: 핵심 정보 카드 + 크라켄 어원 */
.about__side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.origin {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  word-break: keep-all;
}

.origin__label {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.origin__text {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.75;
}

/* 소개 섹션 안, 소개 글 바로 아래에 붙는 인스타 카드 */
.about + .insta {
  margin-top: clamp(40px, 6vw, 72px);
}

.insta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: center;
  padding: clamp(26px, 3.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.insta__handle {
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.insta__desc {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 14.5px;
}

.insta__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.insta__grid img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.insta__post {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
}

.insta__post img {
  width: 100%;
  transition: transform 0.4s var(--ease), opacity 0.2s var(--ease);
}

.insta__post:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.insta__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}

/* ---------- 푸터 ---------- */

.footer {
  padding-block: clamp(44px, 6vw, 72px) 32px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}

.footer__brand p {
  margin-top: 12px;
  max-width: 28em;
  color: var(--text-dim);
  font-size: 14px;
}

.footer__col h4 {
  margin-bottom: 14px;
  color: var(--text-faint);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__col li + li {
  margin-top: 9px;
}

.footer__col a,
.footer__col span {
  color: var(--text-dim);
  font-size: 14.5px;
  transition: color 0.18s var(--ease);
}

.footer__col a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 13px;
}

/* ---------- 상태 표시 ---------- */

.state {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--text-faint);
  font-size: 14px;
  text-align: center;
}

/* ---------- 반응형 ---------- */

@media (max-width: 900px) {
  .about,
  .join-layout {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .info-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .form-slot.is-open {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .form-qr {
    display: none;
  }

  .form-slot__actions .btn {
    flex: 1 1 auto;
  }

  :root {
    --header-h: 60px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .header__cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: rgba(10, 11, 13, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 13px 14px;
    border-radius: var(--radius-sm);
    font-size: 16px;
  }

  .nav__cta {
    margin-top: 10px;
    text-align: center;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 650;
  }

  .nav__cta:hover {
    background: #ff8249;
    color: var(--accent-ink);
  }

  .event {
    grid-template-columns: 60px 1fr;
    gap: 14px;
    padding: 16px 18px;
  }

  .event__aside {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .event__day {
    font-size: 21px;
  }

  .insta__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .lightbox__nav--prev {
    left: 10px;
  }

  .lightbox__nav--next {
    right: 10px;
  }
}

@media (max-width: 520px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .grades__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }
}
