/* ===== 점프업줄넘기클럽 홈페이지 v5 ===== */
:root {
  --pink: #E91E63;
  --pink-deep: #C2185B;
  --pink-warm: #DC3D6B;
  --navy: #1A4FB5;
  --navy-deep: #0F2557;
  --yellow: #FFC107;
  --yellow-warm: #FFD93D;
  --cream: #FFF8E7;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  background: #fff; color: var(--navy);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.cover-active { overflow: hidden; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ===== ANIMATIONS ===== */
@keyframes drawLoop { 0% { stroke-dashoffset: 100; } 100% { stroke-dashoffset: 0; } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollHorizontal {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes ropeWaveLoop {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -100; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }
.reveal.delay-4 { transition-delay: 0.6s; }

/* ===== FLOATING BUTTONS ===== */
.menu-btn, .call-btn, .home-btn {
  position: fixed; top: 30px; width: 60px; height: 60px;
  border-radius: 50%; background: #FFD0DC;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 1000; border: none;
  transition: all 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-decoration: none;
}
.menu-btn:hover, .call-btn:hover, .home-btn:hover {
  transform: scale(1.1) rotate(10deg); background: var(--pink);
}
.menu-btn:hover svg, .call-btn:hover svg, .home-btn:hover svg { fill: #fff; }
.menu-btn { left: 30px; }
.call-btn { right: 30px; }
.home-btn { left: 110px; }
.menu-btn svg, .call-btn svg, .home-btn svg {
  width: 26px; height: 26px; fill: var(--navy); transition: fill 0.3s;
}

/* ===== SIDE MENU ===== */
.side-menu {
  position: fixed; top: 0; left: -400px;
  width: 400px; height: 100vh; background: var(--navy);
  z-index: 1500; transition: left 0.5s cubic-bezier(0.65,0,0.35,1);
  padding: 80px 50px; overflow-y: auto;
}
.side-menu.open { left: 0; }
.side-menu .close-btn {
  position: absolute; top: 30px; right: 30px;
  background: var(--pink); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; font-size: 22px; font-weight: 700;
}
.side-menu ul { list-style: none; }
.side-menu li { margin: 16px 0; }
.side-menu a {
  color: #fff; text-decoration: none;
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 900; font-size: 22px;
  transition: color 0.2s, padding-left 0.3s;
  display: block; position: relative;
}
.side-menu a:hover { color: var(--yellow); padding-left: 12px; }
.side-menu .menu-sub {
  font-size: 12px; color: rgba(255,255,255,0.5);
  margin-top: 4px; font-weight: 400;
}
.menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 1400; opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.menu-overlay.show { opacity: 1; pointer-events: all; }

/* ===== COVER (PDF Page 1) - AUTO TRANSITION ===== */
.cover-section {
  height: 100vh; padding: 100px 80px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.cover-text {
  position: relative; z-index: 2;
  text-align: left;
  max-width: 1400px;
  width: 100%;
  padding: 0 80px;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.cover-text.fadeout { opacity: 0; transform: scale(0.95); }
.cover-text .kr-line1 {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 900; font-size: 60px;
  color: var(--cream); letter-spacing: -2px;
  line-height: 1.3; margin-bottom: 12px;
  white-space: nowrap;
  animation: slideUp 0.8s ease 0.2s backwards;
}
.cover-text .kr-line2 {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 900; font-size: 60px;
  color: var(--yellow); letter-spacing: -2px;
  line-height: 1.3; margin-bottom: 12px;
  white-space: nowrap;
  animation: slideUp 0.8s ease 0.4s backwards;
}
.cover-text .kr-line3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 900; font-size: 60px;
  color: var(--cream); letter-spacing: -2px;
  line-height: 1.3;
  white-space: nowrap;
  animation: slideUp 0.8s ease 0.6s backwards;
}

.cover-wipe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 5;
}
.cover-wipe svg {
  width: 100%; height: 100%;
  transform-origin: center;
}
.wipe-mobile { display: none; }
.cover-wipe svg path {
  fill: none; stroke: #fff; stroke-width: 30;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 4000; stroke-dashoffset: 4000;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.cover-wipe.active svg path {
  stroke-dashoffset: 0;
}
.cover-wipe.active svg {
  animation: ropeWiggle 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) 1.6s 1;
}
@keyframes ropeWiggle {
  0%   { transform: translateY(0) rotate(0deg); }
  20%  { transform: translateY(-8px) rotate(-0.4deg); }
  40%  { transform: translateY(6px) rotate(0.3deg); }
  60%  { transform: translateY(-4px) rotate(-0.2deg); }
  80%  { transform: translateY(2px) rotate(0.1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* ===== TRANSITION SECTION (between CERT and OVERVIEW) ===== */
.transition-section {
  height: 100vh;
  background: var(--pink-warm);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.transition-wipe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.6s ease;
}
.transition-wipe svg {
  width: 100%;
  height: 100%;
  transform-origin: center;
}
.transition-wipe svg path {
  fill: none;
  stroke: #fff;
  stroke-width: 30;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.transition-section.line-active .transition-wipe svg path {
  stroke-dashoffset: 0;
}
.transition-section.line-active .transition-wipe svg {
  animation: ropeWiggle 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) 1.6s 1;
}
.transition-section.fade-out .transition-wipe {
  opacity: 0;
}
.transition-logo {
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 480px;
  width: 64%;
  padding: 0 40px;
}
.transition-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.18));
}
.transition-section.logo-show .transition-logo {
  opacity: 1;
  transform: scale(1);
}

/* ===== HERO (PDF Page 3) ===== */
.hero {
  min-height: 100vh; padding: 140px 80px 80px;
  position: relative; background: #fff; overflow: hidden;
}
.hero > * { position: relative; z-index: 1; }
.hero-title-img {
  width: 100%; max-width: 1200px; height: auto;
  display: block; margin: 0 auto 50px;
}
.hero-cards {
  display: flex; justify-content: center; align-items: center;
  margin: 30px auto 30px; position: relative; z-index: 2;
  max-width: 900px;
}
.hero-card {
  border-radius: 16px; position: relative; overflow: hidden;
  cursor: pointer; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  text-decoration: none;
}
.hero-card:nth-child(1) {
  width: 240px; height: 320px;
  transform: rotate(-6deg); margin-right: -30px; z-index: 1;
}
.hero-card:nth-child(2) {
  width: 280px; height: 380px; z-index: 3;
  transform: translateY(-20px);
}
.hero-card:nth-child(3) {
  width: 240px; height: 320px;
  transform: rotate(6deg); margin-left: -30px; z-index: 1;
}
.hero-card:hover {
  transform: scale(1.05) translateY(-15px) rotate(0deg) !important;
  z-index: 10; box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card .card-label {
  position: absolute; bottom: 30px; left: 0; right: 0;
  text-align: center; color: #fff;
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 900; font-size: 30px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6); letter-spacing: -1px;
}
.hero-card .card-arrow {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translate(-8px, 8px);
  transition: opacity 0.3s, transform 0.3s;
}
.hero-card:hover .card-arrow { opacity: 1; transform: translate(0, 0); }
.hero-card .card-arrow svg { width: 18px; height: 18px; fill: var(--navy); }
.hero-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 40px 0 0; flex-wrap: wrap; gap: 30px;
}
.hero-brand {
  font-family: 'Poppins', sans-serif; font-weight: 900;
  font-size: 60px; line-height: 0.95;
}
.hero-brand .pink { color: var(--pink); }
.hero-brand .navy { color: var(--navy); }
.kjrf-badge { display: flex; align-items: center; gap: 16px; }
.kjrf-badge img { height: 70px; width: auto; }

/* ===== BRAND SECTION (PDF Page 4) ===== */
.brand-section {
  min-height: 100vh; padding: 100px 80px;
  position: relative; overflow: hidden;
  background-image: url('images/bg_gradient.jpg');
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.brand-inner {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 60px; align-items: center;
  max-width: 1400px; margin: 0 auto;
  width: 100%;
  position: relative; z-index: 2;
}
.brand-headline {
  font-family: 'Poppins', sans-serif; font-weight: 900;
  font-size: 80px; line-height: 0.95;
}
.brand-headline .pink { color: var(--pink); }
.brand-headline .navy { color: var(--navy); }
.brand-photo-wrap { display: flex; align-items: center; gap: 0; }
.brand-photo {
  width: 360px; height: 480px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  flex-shrink: 0; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-photo:hover { transform: scale(1.03); }
.brand-photo img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { padding-left: 30px; max-width: 320px; }
.brand-text p {
  color: var(--pink-deep); font-size: 15px;
  line-height: 1.8; font-weight: 500; margin-bottom: 16px;
}

/* ===== GET CERTIFIED ===== */
.cert-section {
  min-height: 100vh; padding: 100px 0;
  background: var(--pink-warm); color: #fff;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.cert-header {
  padding: 0 80px; margin-bottom: 50px;
  max-width: 1400px; width: 100%; margin-left: auto; margin-right: auto;
}
.cert-title {
  font-family: 'Poppins', sans-serif; font-weight: 900;
  font-size: 100px; line-height: 0.95;
}
.cert-title .yellow { color: var(--yellow); }
.cert-title .white { color: #fff; }
.cert-subtitle {
  margin-top: 24px; color: #fff; font-size: 17px;
  font-weight: 500; line-height: 1.7; max-width: 600px;
  opacity: 0.95;
}
.cert-carousel-wrap { width: 100%; overflow: hidden; position: relative; }
.cert-carousel-wrap::before, .cert-carousel-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 100px; z-index: 2; pointer-events: none;
}
.cert-carousel-wrap::before { left: 0; background: linear-gradient(90deg, var(--pink-warm) 0%, transparent 100%); }
.cert-carousel-wrap::after { right: 0; background: linear-gradient(270deg, var(--pink-warm) 0%, transparent 100%); }
.cert-carousel {
  display: flex; gap: 24px;
  width: max-content;
  animation: scrollHorizontal 40s linear infinite;
}
.cert-carousel:hover { animation-play-state: paused; }
.cert-card {
  width: 320px; height: 440px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  flex-shrink: 0; position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none; color: inherit; display: block; cursor: pointer;
}
.cert-card:hover { transform: scale(1.05); }
.cert-card img { width: 100%; height: 100%; object-fit: cover; }
.cert-card .cert-tag {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(0,0,0,0.7); color: #fff;
  padding: 10px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 700;
  backdrop-filter: blur(4px);
}

/* ===== OVERVIEW (PDF Page 8) ===== */
.overview-section {
  min-height: 100vh; padding: 120px 80px 60px;
  background: #fff; position: relative; overflow: hidden;
}
.overview-section > * { position: relative; z-index: 1; }
.overview-title-img {
  width: 100%; max-width: 1200px; height: auto;
  display: block; margin: 0 auto;
}
.overview-cards {
  display: flex; justify-content: center; align-items: center;
  margin: 30px auto 50px; position: relative; max-width: 900px;
}
.overview-card {
  width: 240px; height: 320px;
  border-radius: 16px; position: relative; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
  cursor: pointer; text-decoration: none;
}
.overview-card:nth-child(1) { transform: rotate(-6deg); margin-right: -30px; z-index: 1; }
.overview-card:nth-child(2) { width: 280px; height: 380px; z-index: 3; transform: translateY(-20px); }
.overview-card:nth-child(3) { transform: rotate(6deg); margin-left: -30px; z-index: 1; }
.overview-card:hover {
  transform: scale(1.05) translateY(-15px) rotate(0deg) !important;
  z-index: 10; box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.overview-card img { width: 100%; height: 100%; object-fit: cover; }
.overview-card .card-label {
  position: absolute; bottom: 30px; left: 0; right: 0;
  text-align: center; color: #fff;
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 900; font-size: 30px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6); letter-spacing: -1px;
}
.overview-card .card-arrow {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translate(-8px, 8px);
  transition: opacity 0.3s, transform 0.3s;
}
.overview-card:hover .card-arrow { opacity: 1; transform: translate(0, 0); }
.overview-card .card-arrow svg { width: 18px; height: 18px; fill: var(--navy); }
.overview-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 30px;
}
.overview-brand {
  font-family: 'Poppins', sans-serif; font-weight: 900;
  font-size: 60px; line-height: 0.95;
}
.overview-brand .pink { color: var(--pink); }
.overview-brand .navy { color: var(--navy); }
.overview-bottom .club-logo { width: 260px; }
.overview-bottom .club-logo img { width: 100%; }

/* ===== SECTION HEADLINE ===== */
.section-label {
  font-family: 'Poppins', sans-serif; font-weight: 900;
  font-size: 16px; color: var(--pink);
  letter-spacing: 4px; text-transform: uppercase; margin-bottom: 14px;
}
.section-headline {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 900; font-size: 56px;
  color: var(--navy); line-height: 1.15;
  margin-bottom: 50px; letter-spacing: -2px;
}
.section-headline .pink { color: var(--pink); }

/* ===== HISTORY ===== */
.history-section {
  padding: 120px 80px; background: #fff;
  position: relative;
}
.history-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(180deg, var(--cream) 0%, transparent 100%);
  z-index: 0;
}
.history-section > * { position: relative; z-index: 1; }
.timeline {
  max-width: 1000px; margin: 0 auto; position: relative;
  padding: 40px 0;
}
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 3px; background: var(--pink);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex; align-items: center;
  margin-bottom: 40px; position: relative;
}
.timeline-item:nth-child(odd) { justify-content: flex-start; }
.timeline-item:nth-child(even) { justify-content: flex-end; }
.timeline-content {
  width: 44%; padding: 24px 28px;
  background: var(--cream); border-radius: 16px;
  position: relative; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-content:hover {
  transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.timeline-item:nth-child(odd) .timeline-content::after {
  content: ''; position: absolute; right: -10px; top: 50%;
  width: 20px; height: 20px; background: var(--cream);
  transform: translateY(-50%) rotate(45deg);
}
.timeline-item:nth-child(even) .timeline-content::after {
  content: ''; position: absolute; left: -10px; top: 50%;
  width: 20px; height: 20px; background: var(--cream);
  transform: translateY(-50%) rotate(45deg);
}
.timeline-dot {
  position: absolute; left: 50%; top: 50%;
  width: 24px; height: 24px;
  background: var(--pink); border: 4px solid #fff;
  border-radius: 50%; transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 0 3px var(--pink);
}
.timeline-year {
  font-family: 'Bagel Fat One', cursive;
  font-size: 36px; color: var(--pink);
  line-height: 1; margin-bottom: 8px;
}
.timeline-content h4 {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 900; font-size: 18px;
  color: var(--navy); margin-bottom: 6px; letter-spacing: -0.5px;
}
.timeline-content p { font-size: 14px; color: #555; line-height: 1.6; font-weight: 500; }

/* ===== ORG ===== */
.org-section { padding: 120px 80px; background: var(--cream); }
.org-chart { max-width: 1200px; margin: 0 auto; }
.org-top { display: flex; justify-content: center; align-items: stretch; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.org-node {
  background: var(--navy); color: #fff;
  border-radius: 16px; padding: 24px 36px;
  text-align: center; min-width: 240px;
  box-shadow: 0 10px 30px rgba(29,58,138,0.2);
}
.org-node.head { background: var(--pink); }
.org-node h4 { font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 20px; margin-bottom: 4px; letter-spacing: -0.5px; }
.org-node p { font-size: 13px; opacity: 0.85; }
.org-line { width: 3px; height: 40px; background: var(--navy); margin: 0 auto; }
.org-middle { display: flex; justify-content: center; align-items: stretch; position: relative; margin-bottom: 30px; }
.org-h-line { position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 3px; background: var(--navy); }
.org-middle .org-node { margin: 40px 12px 0; }
.org-bottom { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.org-bottom .org-node { background: #fff; color: var(--navy); border: 2px solid var(--navy); min-width: 0; padding: 20px; }

/* ===== PROGRAMS ===== */
.programs-section {
  padding: 120px 80px; background: #fff;
  position: relative; overflow: hidden;
}
.programs-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(180deg, var(--cream) 0%, transparent 100%);
  z-index: 0;
}
.programs-section > * { position: relative; z-index: 1; }
.rope-line { width: 100%; height: 80px; margin: 30px auto 50px; max-width: 1200px; }
.rope-line svg { width: 100%; height: 100%; }
.rope-line path {
  fill: none; stroke: var(--pink); stroke-width: 5;
  stroke-linecap: round; stroke-dasharray: 12 12;
  animation: ropeWaveLoop 2s linear infinite;
}
.club-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.club-tab {
  padding: 14px 30px; border: 2.5px solid var(--navy);
  background: #fff;
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 800; font-size: 17px; color: var(--navy);
  border-radius: 50px; cursor: pointer; transition: all 0.3s;
  display: flex; align-items: center; gap: 8px;
}
.club-tab:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.club-tab.active { background: var(--navy); color: #fff; }
.club-tab .emoji { font-size: 22px; }
.club-content { max-width: 1100px; margin: 0 auto; display: none; animation: slideUp 0.5s ease; }
.club-content img {
  width: 100%; height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.club-content.active { display: block; }
.club-header {
  border-radius: 24px 24px 0 0; padding: 30px 40px;
  display: flex; justify-content: space-between; align-items: center;
  color: #fff;
}
.club-content[data-color="squirrel"] .club-header { background: linear-gradient(135deg,#E89D2A 0%,#C97E15 100%); }
.club-content[data-color="monkey"] .club-header { background: linear-gradient(135deg,#2E7D32 0%,#1B5E20 100%); }
.club-content[data-color="kangaroo"] .club-header { background: linear-gradient(135deg,#1976D2 0%,#0D47A1 100%); }
.club-content[data-color="rabbit"] .club-header { background: linear-gradient(135deg,#D32F2F 0%,#8E0000 100%); }
.club-name { font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 30px; letter-spacing: -1px; }
.club-name-en { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; opacity: 0.85; margin-top: 4px; letter-spacing: 2px; }
.club-mascot { font-size: 64px; }
.club-table-wrap { background: #fff; border-radius: 0 0 24px 24px; padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.08); overflow-x: auto; }
.club-table { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 14px; min-width: 900px; }
.club-table th, .club-table td { padding: 14px 8px; text-align: center; border-radius: 6px; }
.club-table thead th { color: #fff; font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 17px; }
.club-table th.gd-7 { background: #757575; }
.club-table th.gd-6 { background: #FBC02D; }
.club-table th.gd-5 { background: #388E3C; }
.club-table th.gd-4 { background: #1976D2; }
.club-table th.gd-3 { background: #7B1FA2; }
.club-table th.gd-2 { background: #E64A19; }
.club-table th.gd-1 { background: #C62828; }
.club-table th.gd-cat { background: var(--navy); }
.club-table tbody td { background: #F8F9FA; color: #333; font-size: 13px; line-height: 1.4; }
.club-table tbody td.cat-cell { background: var(--navy); color: #fff; font-weight: 800; font-family: 'Noto Sans KR', sans-serif; font-size: 16px; }
.club-table tbody tr:hover td:not(.cat-cell) { background: #FFF8E7; }

/* ===== BENEFITS ===== */
.benefits-section {
  padding: 120px 80px;
  background-image: url('images/bg_bubble.jpg');
  background-size: cover; background-position: center;
  position: relative;
}
.benefits-section::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.7); }
.benefits-section > * { position: relative; z-index: 1; }
.benefits-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  max-width: 1400px; margin: 0 auto 50px;
  align-items: center;
}
.benefits-photo { height: 380px; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.benefits-photo img { width: 100%; height: 100%; object-fit: cover; }
.benefits-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 1400px; margin: 0 auto; }
.benefit-card {
  background: #fff; border-radius: 20px;
  padding: 36px 22px; text-align: center;
  border: 3px solid transparent; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.benefit-card:hover {
  border-color: var(--pink); transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 15px 40px rgba(233,30,99,0.15);
}
.benefit-icon { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.benefit-card:hover .benefit-icon { animation: pulse 0.6s ease; }
.benefit-icon svg { width: 40px; height: 40px; }
.benefit-card:nth-child(1) .benefit-icon { background: #FFE0EC; }
.benefit-card:nth-child(2) .benefit-icon { background: #E1F5FE; }
.benefit-card:nth-child(3) .benefit-icon { background: #FFF3E0; }
.benefit-card:nth-child(4) .benefit-icon { background: #E8F5E9; }
.benefit-card:nth-child(5) .benefit-icon { background: #F3E5F5; }
.benefit-card h3 { font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 22px; color: var(--navy); margin-bottom: 12px; letter-spacing: -1px; }
.benefit-card p { font-size: 14px; color: #555; line-height: 1.7; font-weight: 500; }

/* ===== LOCATIONS ===== */
.locations-section { padding: 120px 80px; background: #fff; }
.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1400px; margin: 0 auto; align-items: center; }
.locations-search { background: var(--cream); border-radius: 24px; padding: 50px; }
.search-input { width: 100%; padding: 18px 24px; border: 2px solid var(--navy); border-radius: 50px; font-size: 16px; margin-bottom: 16px; font-family: inherit; }
.region-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.region-tag {
  padding: 10px 20px; background: #fff;
  border: 1.5px solid var(--navy); border-radius: 50px;
  cursor: pointer; font-size: 14px; font-weight: 700;
  color: var(--navy); transition: all 0.2s;
  font-family: 'Noto Sans KR', sans-serif;
}
.region-tag:hover, .region-tag.active { background: var(--pink); color: #fff; border-color: var(--pink); }
.locations-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.stat-box { text-align: center; padding: 24px; background: #fff; border-radius: 16px; border: 2px solid var(--navy); }
.stat-num { font-family: 'Bagel Fat One', cursive; font-size: 56px; color: var(--pink); line-height: 1; }
.stat-label { font-size: 14px; color: var(--navy); font-weight: 800; margin-top: 6px; letter-spacing: -0.5px; }
.locations-info h3 { font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 36px; color: var(--navy); margin-bottom: 20px; line-height: 1.2; letter-spacing: -1.5px; }
.locations-info h3 span { color: var(--pink); }
.locations-info p { color: #555; font-size: 16px; line-height: 1.8; margin-bottom: 24px; font-weight: 500; }
.locations-info ul { list-style: none; font-size: 15px; color: #333; line-height: 2; font-weight: 600; }

/* ===== FRANCHISE ===== */
.franchise-section {
  padding: 120px 80px;
  background-image: url('images/bg_gradient.jpg');
  background-size: cover; background-position: center;
  position: relative;
}
.franchise-inner { max-width: 1400px; margin: 0 auto; position: relative; z-index: 2; }
.franchise-headline { font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 64px; color: var(--navy); line-height: 1.1; letter-spacing: -2px; margin-bottom: 60px; text-align: center; }
.franchise-headline .pink { color: var(--pink); }
.franchise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
.franchise-card {
  background: #fff; border-radius: 20px;
  padding: 36px 28px; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.franchise-card:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.franchise-num { font-family: 'Bagel Fat One', cursive; font-size: 56px; color: var(--pink); line-height: 1; margin-bottom: 12px; }
.franchise-card h3 { font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 22px; color: var(--navy); margin-bottom: 10px; letter-spacing: -1px; }
.franchise-card p { font-size: 14px; color: #555; line-height: 1.7; font-weight: 500; }

/* ===== CONSULT ===== */
.consult-section {
  min-height: 100vh; padding: 120px 80px;
  background-image: url('images/bg_consult.jpg');
  background-size: cover; background-position: center;
  display: flex; align-items: center; position: relative;
}
.consult-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; max-width: 1400px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.consult-title { font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 56px; color: var(--navy); line-height: 1.1; letter-spacing: -2px; }
.consult-title-en { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 36px; color: var(--navy-deep); line-height: 1; margin-top: 10px; letter-spacing: -1px; }
.consult-photo-wrap { display: flex; align-items: center; gap: 0; }
.consult-photo { width: 380px; height: 480px; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.25); position: relative; z-index: 2; flex-shrink: 0; }
.consult-photo img { width: 100%; height: 100%; object-fit: cover; }
.consult-text { padding-left: 30px; }
.consult-text p { color: var(--navy-deep); font-size: 16px; line-height: 1.8; font-weight: 600; margin-bottom: 16px; }
.consult-text strong { color: var(--pink); }

/* ===== NOTICE / FAQ ===== */
.notice-section { padding: 120px 80px; background: #fff; }
.notice-headline { font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 56px; color: var(--navy); margin-bottom: 50px; line-height: 1.1; text-align: center; letter-spacing: -2px; }
.notice-headline .pink { color: var(--pink); }
.notice-list { max-width: 1000px; margin: 0 auto; }
.notice-item { background: var(--cream); border-radius: 16px; margin-bottom: 14px; overflow: hidden; transition: all 0.3s; }
.notice-item:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.notice-item-header { padding: 24px 30px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.notice-item-title { font-family: 'Noto Sans KR', sans-serif; font-weight: 800; font-size: 19px; color: var(--navy); display: flex; align-items: center; gap: 16px; letter-spacing: -0.5px; }
.notice-tag { display: inline-block; background: var(--pink); color: #fff; padding: 4px 12px; border-radius: 50px; font-family: 'Noto Sans KR', sans-serif; font-size: 12px; font-weight: 700; }
.notice-toggle { font-size: 28px; color: var(--pink); font-weight: 900; transition: transform 0.3s; line-height: 1; }
.notice-item.open .notice-toggle { transform: rotate(45deg); }
.notice-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 30px; }
.notice-item.open .notice-content { padding: 0 30px 28px; max-height: 400px; }
.notice-content p { color: #444; line-height: 1.9; font-size: 15px; font-weight: 500; }

/* ===== EVENTS ===== */
.events-section { padding: 120px 80px; background: var(--cream); }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1400px; margin: 0 auto; }
.event-card { background: #fff; border-radius: 20px; overflow: hidden; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.event-card:hover { transform: translateY(-10px); }
.event-img { height: 220px; background: #ddd; position: relative; overflow: hidden; }
.event-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.event-card:hover .event-img img { transform: scale(1.1); }
.event-badge { position: absolute; top: 16px; left: 16px; background: var(--pink); color: #fff; padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 800; z-index: 1; }
.event-body { padding: 24px; }
.event-body h3 { font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 20px; color: var(--navy); margin-bottom: 8px; letter-spacing: -1px; }
.event-date { font-size: 13px; color: var(--pink); font-weight: 800; margin-bottom: 10px; }
.event-body p { font-size: 14px; color: #555; line-height: 1.6; font-weight: 500; }

/* ===== FINAL HERO ===== */
.final-hero {
  min-height: 100vh; padding: 120px 80px 80px;
  background: var(--navy);
  color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.final-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(233,30,99,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255,193,7,0.1) 0%, transparent 50%);
  z-index: 0;
}
.final-hero > * { position: relative; z-index: 1; }
.final-hero .hero-title-img { margin: 0 auto 30px; max-width: 900px; filter: brightness(0) invert(1); }
.final-card-wrap { display: flex; justify-content: center; align-items: center; max-width: 700px; margin: 30px auto; }
.final-card-side { width: 200px; height: 300px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.4); opacity: 0.75; }
.final-card-side:nth-child(1) { transform: translateX(40px) rotate(-4deg); z-index: 1; }
.final-card-side:nth-child(3) { transform: translateX(-40px) rotate(4deg); z-index: 1; }
.final-card-main { width: 300px; height: 400px; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); z-index: 2; background: var(--yellow); }
.final-card-side img, .final-card-main img { width: 100%; height: 100%; object-fit: cover; }
.final-bottom { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin-top: 60px; gap: 40px; }
.final-bottom .kjrf-badge img { height: 80px; width: auto; }
.final-bottom .club-logo { max-width: 320px; }
.final-bottom .club-logo img { width: 100%; height: auto; display: block; }

/* ===== CTA ===== */
.cta-section { padding: 120px 80px; background: var(--navy); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-title { font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 56px; line-height: 1.2; margin-bottom: 24px; letter-spacing: -2px; }
.cta-title .yellow { color: var(--yellow); }
.cta-sub { font-size: 18px; margin-bottom: 50px; opacity: 0.85; font-weight: 500; }
.cta-buttons { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cta-btn { display: inline-block; padding: 22px 50px; border-radius: 50px; font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 20px; text-decoration: none; transition: all 0.3s; border: none; cursor: pointer; letter-spacing: -0.5px; }
.cta-btn.primary { background: var(--pink); color: #fff; }
.cta-btn.secondary { background: var(--yellow); color: var(--navy); }
.cta-btn:hover { transform: translateY(-6px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }

/* ===== FOOTER ===== */
.footer { background: #0A1A4D; color: #fff; padding: 80px 80px 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; max-width: 1400px; margin: 0 auto 50px; }
.footer-logos { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.footer-logos img { height: 50px; width: auto; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.8; font-weight: 500; }
.footer-col h4 { font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 17px; color: var(--yellow); margin-bottom: 18px; letter-spacing: -0.5px; }
.footer-col ul { list-style: none; }
.footer-col li { margin: 10px 0; font-size: 14px; font-weight: 500; }
.footer-col li a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.footer-col li a:hover { color: var(--yellow); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); max-width: 1400px; margin: 0 auto; }

/* ===== DETAIL PAGE ===== */
.detail-page {
  min-height: 100vh; background: #fff;
  padding: 120px 80px 80px;
}
.detail-hero {
  background: var(--navy); color: #fff;
  padding: 80px 80px;
  border-radius: 24px;
  margin-bottom: 50px;
  position: relative; overflow: hidden;
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.detail-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('images/bg_gradient.jpg');
  background-size: cover; opacity: 0.3;
}
.detail-hero-inner { position: relative; z-index: 1; }
.detail-breadcrumb {
  font-size: 13px; color: var(--yellow);
  font-weight: 700; letter-spacing: 2px;
  margin-bottom: 16px; text-transform: uppercase;
}
.detail-hero h1 {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 900; font-size: 64px;
  letter-spacing: -2px; line-height: 1.1;
}
.detail-hero h1 .yellow { color: var(--yellow); }
.detail-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; background: rgba(255,255,255,0.15);
  color: #fff; padding: 12px 24px; border-radius: 50px;
  font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.3);
}
.detail-back:hover { background: var(--pink); border-color: var(--pink); }
.detail-back svg { width: 16px; height: 16px; fill: currentColor; }

.detail-body {
  max-width: 900px; margin: 0 auto;
  padding: 30px 0 60px;
}
.detail-body h2 {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 900; font-size: 36px;
  color: var(--navy); margin: 50px 0 20px;
  letter-spacing: -1.5px;
}
.detail-body h2:first-child { margin-top: 0; }
.detail-body h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 800; font-size: 22px;
  color: var(--pink); margin: 30px 0 12px;
  letter-spacing: -0.5px;
}
.detail-body p {
  font-size: 16px; color: #444;
  line-height: 1.9; margin-bottom: 16px;
  font-weight: 500;
}
.detail-body ul { margin: 20px 0 20px 24px; }
.detail-body li {
  font-size: 16px; color: #444;
  line-height: 1.9; margin-bottom: 10px;
  font-weight: 500;
}
.detail-body strong { color: var(--pink); font-weight: 800; }
.notice-empty {
  text-align: center;
  padding: 100px 20px;
  color: #888;
}
.notice-empty p {
  font-size: 18px; font-weight: 700; color: #666;
  margin-bottom: 10px;
}
.notice-empty .notice-empty-sub {
  font-size: 14px; font-weight: 500; color: #aaa;
  margin-bottom: 0;
}
.detail-body .highlight-box {
  background: var(--cream); border-radius: 16px;
  padding: 30px; margin: 30px 0;
  border-left: 6px solid var(--pink);
}
.detail-body .photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: 30px 0;
}
.detail-body .photo-grid img {
  width: 100%; height: 280px; object-fit: cover;
  border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.detail-body .timeline-mini { margin: 30px 0; }
.detail-body .timeline-mini .item {
  display: flex; gap: 24px;
  padding: 24px 0; border-bottom: 1px solid #eee;
}
.detail-body .timeline-mini .item:last-child { border: none; }
.detail-body .timeline-mini .year {
  font-family: 'Bagel Fat One', cursive;
  font-size: 32px; color: var(--pink);
  min-width: 100px; line-height: 1;
}
.detail-body .timeline-mini .text h4 {
  font-weight: 900; font-size: 18px;
  color: var(--navy); margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.detail-body .timeline-mini .text p { margin: 0; font-size: 15px; }
.detail-body .org-mini {
  background: var(--cream); border-radius: 16px;
  padding: 30px; margin: 30px 0;
}
.detail-body .org-mini .level {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.detail-body .org-mini .level:last-child { margin-bottom: 0; }
.detail-body .org-mini .badge {
  background: var(--navy); color: #fff;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 800; font-size: 14px;
  letter-spacing: -0.5px;
}
.detail-body .org-mini .badge.head { background: var(--pink); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cover-section, .hero, .brand-section, .history-section, .org-section,
  .cert-section, .overview-section, .programs-section, .benefits-section,
  .locations-section, .franchise-section,
  .consult-section, .notice-section, .events-section, .final-hero, .cta-section,
  .footer, .detail-page { padding-left: 40px; padding-right: 40px; }
  .cert-header { padding-left: 40px; padding-right: 40px; }
  .cover-text .kr-line1, .cover-text .kr-line2, .cover-text .kr-line3 { font-size: 42px; }
  .brand-inner, .consult-inner, .locations-grid, .benefits-hero { grid-template-columns: 1fr; gap: 40px; }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .franchise-grid, .events-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .org-bottom { grid-template-columns: 1fr 1fr; }
  .section-headline, .notice-headline, .franchise-headline, .cta-title { font-size: 40px; }
  .brand-headline, .cert-title, .consult-title { font-size: 60px; }
  .hero-brand, .overview-brand { font-size: 44px; }
  .detail-hero { padding: 60px 40px; }
  .detail-hero h1 { font-size: 44px; }
  .detail-body .photo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .menu-btn, .call-btn, .home-btn { width: 50px; height: 50px; top: 20px; }
  .menu-btn { left: 20px; }
  .call-btn { right: 20px; }
  .home-btn { left: 80px; }
  .cover-section, .hero, .brand-section, .history-section, .org-section,
  .cert-section, .overview-section, .programs-section, .benefits-section,
  .locations-section, .franchise-section,
  .consult-section, .notice-section, .events-section, .final-hero, .cta-section,
  .footer, .detail-page { padding-left: 20px; padding-right: 20px; padding-top: 80px; padding-bottom: 60px; }
  .cert-header { padding-left: 20px; padding-right: 20px; }
  .cover-text .kr-line1, .cover-text .kr-line2, .cover-text .kr-line3 { font-size: 24px; }
  .cover-text { padding: 0 20px; }
  .hero-cards, .overview-cards { flex-direction: column; gap: 20px; }
  .hero-card, .overview-card,
  .hero-card:nth-child(1), .hero-card:nth-child(2), .hero-card:nth-child(3),
  .overview-card:nth-child(1), .overview-card:nth-child(2), .overview-card:nth-child(3) {
    transform: none; margin: 0;
    width: 80%; max-width: 280px; height: 360px;
  }
  .final-card-wrap { flex-direction: column; gap: 16px; }
  .final-card-side, .final-card-main { width: 80%; max-width: 280px; height: 360px; transform: none !important; opacity: 1; }
  .hero-bottom, .overview-bottom, .final-bottom { flex-direction: column; align-items: center; gap: 24px; text-align: center; }
  .hero-brand, .overview-brand, .brand-headline, .cert-title, .consult-title { font-size: 36px; }
  .section-headline, .notice-headline, .franchise-headline, .cta-title { font-size: 28px; line-height: 1.2; }
  .benefits-grid, .franchise-grid, .events-grid, .footer-grid { grid-template-columns: 1fr; }
  .org-bottom { grid-template-columns: 1fr; }
  .org-middle { flex-wrap: wrap; }
  .org-middle .org-node { margin: 16px 8px 0; flex: 1 1 100%; }
  .brand-photo-wrap, .consult-photo-wrap { flex-direction: column; }
  .brand-photo, .consult-photo {
    width: min(100%, 340px); height: auto; aspect-ratio: 3 / 4;
  }
  .brand-text, .consult-text { padding-left: 0; padding-top: 20px; }
  .side-menu { width: 100%; left: -100%; padding: 80px 40px; }
  .club-tab { padding: 10px 16px; font-size: 14px; }
  .club-name { font-size: 22px; }
  .club-mascot { font-size: 44px; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { justify-content: flex-start; padding-left: 50px; }
  .timeline-content { width: 100%; }
  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after { left: -10px; right: auto; }
  .timeline-dot { left: 20px; }
  .cert-card { width: 240px; height: 340px; }
  .detail-hero { padding: 40px 24px; }
  .detail-hero h1 { font-size: 32px; }
  .detail-body { padding: 20px 0 40px; }
  .detail-body h2 { font-size: 28px; }
  .detail-body .photo-grid { grid-template-columns: 1fr; }

  /* 인트로 및 전환(transition) 라인 애니메이션: 모바일에서는 잘리지 않고
     자연스럽게 축소되어 한 화면 안에 온전히 보이도록 svg를 전환 */
  .wipe-desktop { display: none; }
  .wipe-mobile { display: block; }
  .transition-logo { width: 78%; max-width: 320px; }
}
