/* ============================================================
   SUUMDIVER — Ulleungdo Diving
   Editorial / minimal aesthetic, white base, navy brand,
   serif EN display + sans KR body. Inspired by ddajacams.com,
   tuned to suumdiver brand assets.
   ============================================================ */

/* ===== FONTS ===== */
@font-face {
  font-family: 'Pretendard Variable';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/PretendardVariable.woff2') format('woff2-variations');
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ===== RESET ===== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { color-scheme: only light; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-weight: 400;
  color: var(--ink-900);
  background: var(--canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
:focus-visible { outline: 2px solid var(--teal-500); outline-offset: 3px; border-radius: 4px; }

/* ===== DESIGN TOKENS ===== */
:root {
  /* Brand */
  --navy-950: #050a1c;
  --navy-900: #0a1633;
  --navy-800: #0c1c44;
  --navy-700: #0e2454;
  --navy-600: #16306e;
  --navy-500: #1f4290;
  --teal-600: #0fb1c2;
  --teal-500: #12c8dc;
  --teal-400: #4ddbeb;
  --teal-100: #d8f4f8;
  --yellow-500: #FEE500;

  /* Surfaces */
  --canvas: #ffffff;
  --surface-50: #f7f9fa;
  --surface-100: #eef3f5;
  --surface-200: #dde7eb;
  --steel-100: #e6eef0;
  --steel-200: #cfdde1;
  --steel-300: #b7cfd4; /* ddajacams accent */

  /* Ink (text) */
  --ink-900: #0d1424;
  --ink-700: #2a3142;
  --ink-500: #5a6473;
  --ink-400: #8893a1;
  --ink-300: #b6bfca;

  /* Layout */
  --container: 1240px;
  --container-narrow: 980px;
  --gutter: 28px;
  --section-py: 128px;
  --section-py-sm: 80px;

  /* Typography scale (modular ratio 1.25) */
  --text-display:      clamp(44px, 6.4vw, 80px);  /* home hero KR */
  --text-h1:           clamp(38px, 5vw, 64px);    /* page hero KR */
  --text-h2:           clamp(28px, 3.4vw, 44px);  /* section title */
  --text-h3:           22px;                       /* card title */
  --text-h4:           18px;                       /* faq, sub */
  --text-display-en:   clamp(32px, 4.2vw, 52px);  /* editorial EN serif */
  --text-hero-en:      clamp(22px, 2.8vw, 36px);  /* home hero EN serif */
  --text-page-en:      clamp(20px, 2.4vw, 28px);  /* page-hero EN serif */
  --text-stat:         clamp(44px, 4.6vw, 60px);  /* stat number */
  --text-quote:        18px;                       /* review pull-quote */
  --text-lead:         17px;
  --text-body:         15px;
  --text-sm:           13px;
  --text-xs:           12px;
  --text-micro:        11px;
  --leading-tight:     1.1;
  --leading-snug:      1.3;
  --leading-normal:    1.6;
  --leading-relaxed:   1.75;
  --leading-loose:     1.85;

  /* Radii / shadows */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-xs: 0 1px 2px rgba(13,20,36,0.06);
  --shadow-sm: 0 4px 14px rgba(13,20,36,0.06);
  --shadow-md: 0 14px 40px rgba(13,20,36,0.08);
  --shadow-lg: 0 30px 70px rgba(13,20,36,0.12);
  --shadow-xl: 0 40px 100px rgba(13,20,36,0.18);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 200ms var(--ease);
  --t-base: 320ms var(--ease);
  --t-slow: 600ms var(--ease);
}

/* ===== TYPE SYSTEM ===== */
.serif { font-family: 'Playfair Display', 'Cormorant Garamond', 'Times New Roman', serif; font-weight: 500; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.5;
}
.eyebrow.solo::before { display: none; }
.eyebrow.invert { color: rgba(255,255,255,0.72); }

.display-serif {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

/* ===== UTILITIES ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: var(--container-narrow); }

.section { padding: var(--section-py) 0; }
.section.tight { padding: var(--section-py-sm) 0; }
.section.alt { background: var(--surface-50); }
.section.dark { background: var(--navy-950); color: rgba(255,255,255,0.86); }
.section.dark .eyebrow { color: rgba(255,255,255,0.55); }

.section-header {
  max-width: 720px; margin: 0 auto 72px;
  text-align: center;
}
.section-header.left { margin-left: 0; text-align: left; }
.section-title {
  font-family: 'Pretendard Variable', sans-serif;
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: -0.035em;
  color: var(--ink-900);
}
.section.dark .section-title { color: #fff; }

/* KR-friendly emphasis: color + weight only (no italic serif on Korean) */
.section-title em,
.cta-band h2 em,
.page-hero h1 em {
  font-style: normal;
  color: var(--teal-600);
  font-weight: inherit;
}
.section.dark .section-title em,
.cta-band h2 em,
.page-hero h1 em { color: var(--teal-400); }

.section-lede {
  margin-top: 22px;
  font-size: var(--text-lead);
  line-height: var(--leading-relaxed);
  color: var(--ink-500);
}
.section.dark .section-lede { color: rgba(255,255,255,0.62); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.01em;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-lg { padding: 19px 34px; font-size: 16px; }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn .arrow { display: inline-block; transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-dark { background: var(--navy-950); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-yellow { background: var(--yellow-500); color: #1a1001; }
.btn-yellow:hover { background: #fff067; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(254,229,0,0.28); }

.btn-teal { background: var(--teal-500); color: var(--navy-950); }
.btn-teal:hover { background: var(--teal-400); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(18,200,220,0.28); }

.btn-ghost { background: transparent; color: var(--ink-900); border-color: rgba(13,20,36,0.18); }
.btn-ghost:hover { border-color: var(--ink-900); background: rgba(13,20,36,0.04); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ===== FADE-IN ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow), transform var(--t-slow); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0);
  transition: background var(--t-base), box-shadow var(--t-base);
}
#navbar.menu-open { transition: none; }
#navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 rgba(13,20,36,0.06), 0 8px 24px rgba(13,20,36,0.06);
}

/* When mobile menu is open, drop backdrop-filter so the fixed overlay
   inside isn't trapped by the navbar's stacking context. Also force the
   toggle/links to dark-bg colors regardless of scrolled state. */
#navbar.menu-open,
#navbar.scrolled.menu-open {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
#navbar.menu-open .nav-links a:not(.nav-cta-mobile),
#navbar.scrolled.menu-open .nav-links a:not(.nav-cta-mobile) { color: rgba(255,255,255,0.92); }
#navbar.menu-open .nav-links a[aria-current="page"],
#navbar.scrolled.menu-open .nav-links a[aria-current="page"] { color: var(--teal-400); }
#navbar.menu-open .nav-links .nav-cta-mobile,
#navbar.scrolled.menu-open .nav-links .nav-cta-mobile { color: #1a1001; }
#navbar.menu-open .nav-toggle span,
#navbar.scrolled.menu-open .nav-toggle span { background: #fff; }
#navbar.menu-open .nav-logo .logo-light,
#navbar.scrolled.menu-open .nav-logo .logo-light { display: block; }
#navbar.menu-open .nav-logo .logo-dark,
#navbar.scrolled.menu-open .nav-logo .logo-dark { display: none; }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: padding var(--t-base);
}
#navbar.scrolled .nav-inner { padding: 14px var(--gutter); }

.nav-logo { display: inline-flex; align-items: center; }
.nav-logo .logo-light,
.nav-logo .logo-dark { height: 42px; width: auto; transition: opacity var(--t-base); }
.nav-logo .logo-dark { display: none; }
#navbar.scrolled .nav-logo .logo-light { display: none; }
#navbar.scrolled .nav-logo .logo-dark { display: block; }
body.subpage #navbar:not(.scrolled) .nav-logo .logo-light { display: block; }

.nav-links {
  display: flex; align-items: center; gap: 38px;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.92);
  transition: color var(--t-fast);
  padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 50%; right: 50%; bottom: -6px;
  height: 1.5px; background: currentColor;
  transition: left var(--t-fast), right var(--t-fast);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { left: 0; right: 0; }
#navbar.scrolled .nav-links a { color: var(--ink-900); }
#navbar.scrolled .nav-links a:hover { color: var(--navy-700); }
.nav-links a[aria-current="page"] { color: #fff; }
#navbar.scrolled .nav-links a[aria-current="page"] { color: var(--navy-700); }

.nav-cta {
  font-size: 13.5px;
  padding: 11px 22px;
  background: var(--yellow-500);
  color: #1a1001;
  border-radius: 999px;
  font-weight: 700;
  border: 1.5px solid var(--yellow-500);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(254,229,0,0.32); }

.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 0;
  position: relative;
  z-index: 1001;
  border-radius: 8px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base), background var(--t-fast);
  transform-origin: center;
}
#navbar.scrolled .nav-toggle span { background: var(--ink-900); }
.nav-toggle[aria-expanded="true"] span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO (HOME) ===== */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 180px 0 110px;
  color: #fff; overflow: hidden;
  background: var(--navy-950);
}
.hero-bg, .hero-overlay { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  transform: scale(1.04);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1.0); } }

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(5,10,28,0.55) 0%, rgba(5,10,28,0.25) 35%, rgba(5,10,28,0.78) 100%),
    radial-gradient(circle at 80% 20%, rgba(18,200,220,0.18), transparent 45%);
}

.hero-content {
  position: relative; z-index: 1;
  max-width: var(--container); width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
}
.hero-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400); }

.hero-display {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: var(--text-hero-en);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Pretendard Variable', sans-serif;
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: #fff;
  margin-bottom: 32px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.18);
}

.hero-subtitle {
  font-size: var(--text-lead);
  line-height: var(--leading-relaxed);
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  position: absolute; left: 0; right: 0; bottom: 36px;
  z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-meta-divider { flex: 1; height: 1px; background: rgba(255,255,255,0.18); margin: 0 24px; }

/* ===== STATS / MARQUEE BAND ===== */
.stat-band {
  background: var(--navy-950); color: #fff;
  padding: 72px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-item {
  padding: 12px 28px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: var(--text-stat);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat-num em { font-style: italic; color: var(--teal-400); font-weight: inherit; }
.stat-label { margin-top: 14px; font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* ===== EDITORIAL TWO-COL ===== */
.editorial {
  display: grid; grid-template-columns: 1fr 1fr; gap: 96px;
  align-items: center;
}
.editorial.reverse > :first-child { order: 2; }
.editorial-copy .display-serif {
  font-size: var(--text-display-en);
  margin-bottom: 24px;
  color: var(--navy-700);
  line-height: var(--leading-tight);
}
.editorial-copy p {
  font-size: 16px; line-height: var(--leading-loose); color: var(--ink-500);
  margin-bottom: 16px;
}
.editorial-copy .actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.editorial-image { position: relative; }
.editorial-image img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.editorial-image .secondary-img {
  position: absolute; right: -40px; bottom: -40px;
  width: 45%; aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
  object-fit: cover;
}

/* ===== HUB GRID (programs/links) ===== */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hub-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  min-height: 280px;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  color: var(--ink-900);
}
.hub-card::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18,200,220,0.12), transparent 70%);
  transition: transform var(--t-base);
}
.hub-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal-100); }
.hub-card:hover::after { transform: scale(1.4); }
.hub-card span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  font-weight: 500;
  color: var(--teal-600);
  margin-bottom: auto;
}
.hub-card h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-top: 24px;
  margin-bottom: 14px;
  line-height: var(--leading-snug);
}
.hub-card p { font-size: var(--text-body); line-height: var(--leading-relaxed); color: var(--ink-500); }
.hub-card strong {
  margin-top: 28px;
  font-size: var(--text-sm); font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy-700);
  display: inline-flex; align-items: center; gap: 6px;
}

/* ===== PROGRAM CARDS ===== */
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal-100); }

.program-card.featured {
  background: var(--navy-950);
  border-color: var(--navy-950);
  color: rgba(255,255,255,0.9);
}
.program-card.featured h3 { color: #fff; }
.program-card.featured p { color: rgba(255,255,255,0.66); }

.program-badge {
  position: absolute; top: -14px; left: 28px;
  background: var(--yellow-500); color: #1a1001;
  font-size: var(--text-micro); font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.program-icon { font-size: 32px; line-height: 1; }
.program-card h3 {
  font-size: var(--text-h3); font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  line-height: var(--leading-snug);
}
.program-card p { font-size: var(--text-body); line-height: var(--leading-relaxed); color: var(--ink-500); flex-grow: 1; }

.program-includes { display: flex; flex-direction: column; gap: 8px; }
.program-includes li {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--text-sm); font-weight: 500; color: var(--ink-700);
}
.program-card.featured .program-includes li { color: rgba(255,255,255,0.78); }
.program-includes li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-500);
}

.program-price {
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--surface-200);
}
.program-card.featured .program-price { border-top-color: rgba(255,255,255,0.12); }
.price-label { font-size: var(--text-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); }
.program-card.featured .price-label { color: rgba(255,255,255,0.5); }
.price-amount { font-size: 17px; font-weight: 700; color: var(--ink-900); letter-spacing: -0.01em; }
.program-card.featured .price-amount { color: var(--teal-400); }

.program-card .btn { width: 100%; margin-top: 4px; }

/* ===== STEPS / NUMBERED ===== */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  counter-reset: step;
}
.steps article {
  background: #fff;
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.steps article::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 52px;
  font-weight: 500;
  color: var(--steel-300);
  display: block;
  line-height: 1;
  margin-bottom: 24px;
}
.steps article span { display: none; }
.steps h3 { font-size: var(--text-h3); font-weight: 700; color: var(--ink-900); margin-bottom: 12px; letter-spacing: -0.015em; line-height: var(--leading-snug); }
.steps p { font-size: var(--text-body); line-height: var(--leading-relaxed); color: var(--ink-500); }

/* ===== INFO GRID (3-col badges) ===== */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card {
  background: #fff;
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
}
.info-card span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--teal-600);
}
.info-card h3 { font-size: 20px; font-weight: 700; color: var(--ink-900); margin: 12px 0 10px; letter-spacing: -0.015em; line-height: var(--leading-snug); }
.info-card p { font-size: var(--text-body); line-height: var(--leading-relaxed); color: var(--ink-500); }

/* ===== POINTS GRID ===== */
.point-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.point-card {
  background: #fff;
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.point-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.point-card img { width: 100%; height: 240px; object-fit: cover; transition: transform var(--t-slow); }
.point-card:hover img { transform: scale(1.04); }
.point-card > div { padding: 28px 28px 32px; }
.point-depth {
  display: inline-block;
  font-size: var(--text-micro); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-100);
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 16px;
}
.point-card h3 { font-size: var(--text-h3); font-weight: 700; color: var(--ink-900); margin-bottom: 12px; letter-spacing: -0.015em; line-height: var(--leading-snug); }
.point-card p { font-size: var(--text-body); line-height: var(--leading-relaxed); color: var(--ink-500); margin-bottom: 18px; }
.point-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.point-tags span {
  font-size: var(--text-xs); font-weight: 600;
  color: var(--ink-700); background: var(--surface-100);
  padding: 5px 12px; border-radius: 999px;
}

/* ===== SAFETY NOTE ===== */
.safety-note {
  background: var(--surface-50);
  border-left: 4px solid var(--teal-500);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  margin-bottom: 56px;
}
.safety-note h2 { font-size: 24px; font-weight: 700; color: var(--ink-900); margin-bottom: 12px; letter-spacing: -0.02em; line-height: var(--leading-snug); }
.safety-note p { font-size: var(--text-body); line-height: var(--leading-loose); color: var(--ink-500); }

/* ===== TEAM / REVIEW ===== */
.team-grid, .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card, .review-card {
  background: #fff;
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.team-card span, .review-card strong {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--teal-600);
}
.team-card h3 { font-size: var(--text-h3); font-weight: 700; color: var(--ink-900); margin: 14px 0 10px; letter-spacing: -0.015em; line-height: var(--leading-snug); }
.team-card p { font-size: var(--text-body); line-height: var(--leading-relaxed); color: var(--ink-500); }
.review-card p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: var(--text-quote);
  line-height: var(--leading-normal);
  color: var(--ink-700);
  margin-bottom: 18px;
}
.review-card strong { font-style: italic; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 16px;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); transition: transform var(--t-slow); }
.gallery-grid img:hover { transform: scale(1.02); }
.gallery-grid img:nth-child(1) { grid-row: span 2; }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-md);
  padding: 28px 30px;
}
.faq-item h3 { font-size: var(--text-h4); font-weight: 700; color: var(--ink-900); margin-bottom: 10px; letter-spacing: -0.015em; line-height: var(--leading-snug); display: flex; align-items: flex-start; gap: 10px; }
.faq-item h3::before { content: 'Q'; font-family: 'Playfair Display', serif; font-style: italic; color: var(--teal-600); font-weight: 500; flex-shrink: 0; }
.faq-item p { font-size: var(--text-body); line-height: var(--leading-relaxed); color: var(--ink-500); padding-left: 22px; }

/* ===== CONTACT PANEL ===== */
.contact-panel {
  display: grid; grid-template-columns: 1fr auto; gap: 40px;
  align-items: center;
  background: var(--surface-50);
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-lg);
  padding: 56px;
}
.contact-panel h2 { font-size: var(--text-h2); font-weight: 800; color: var(--ink-900); margin-bottom: 14px; letter-spacing: -0.03em; line-height: var(--leading-tight); }
.contact-panel p { font-size: var(--text-body); line-height: var(--leading-relaxed); color: var(--ink-500); }
.contact-stack { display: flex; flex-direction: column; gap: 10px; min-width: 240px; }
.contact-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: var(--text-body); font-weight: 700;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.contact-btn.kakao { background: var(--yellow-500); color: #1a1001; }
.contact-btn.kakao:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(254,229,0,0.32); }
.contact-btn.phone { background: var(--ink-900); color: #fff; }
.contact-btn.phone:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== CHECK LIST ===== */
.check-list { list-style: none; display: grid; gap: 12px; margin: 24px 0; }
.check-list li {
  position: relative; padding-left: 32px;
  color: var(--ink-700); font-size: 15px; line-height: 1.6;
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-500);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.5l2.6 2.6L13 6.6' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
  background-repeat: no-repeat; background-position: center;
}

/* ===== CTA BAND ===== */
.cta-band {
  position: relative;
  margin: 32px 0 96px;
  padding: clamp(48px, 6vw, 84px);
  border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr auto; gap: 40px;
  align-items: center;
  color: #fff;
  background: var(--navy-950);
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(18,200,220,0.22), transparent 35%),
    radial-gradient(circle at 90% 100%, rgba(18,200,220,0.12), transparent 30%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: var(--leading-tight);
}
.cta-band p { color: rgba(255,255,255,0.7); font-size: var(--text-body); line-height: var(--leading-relaxed); max-width: 620px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  position: relative; min-height: 64vh;
  display: flex; align-items: flex-end;
  padding: 180px 0 90px;
  color: #fff;
  background: var(--navy-950);
  overflow: hidden;
}
.page-hero-bg, .page-hero-overlay { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s ease-out forwards; }
.page-hero-overlay {
  background:
    linear-gradient(180deg, rgba(5,10,28,0.55) 0%, rgba(5,10,28,0.3) 40%, rgba(5,10,28,0.78) 100%),
    radial-gradient(circle at 78% 18%, rgba(18,200,220,0.22), transparent 45%);
}
.page-hero-content { position: relative; z-index: 1; max-width: var(--container); padding: 0 var(--gutter); margin: 0 auto; width: 100%; }

.breadcrumb {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 28px;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

.page-hero h1 {
  font-family: 'Pretendard Variable', sans-serif;
  font-size: var(--text-h1);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  color: #fff;
}
.page-hero-display {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: var(--text-page-en);
  color: rgba(255,255,255,0.86);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
  line-height: var(--leading-snug);
}
.page-hero-content > p:not(.hero-label):not(.page-hero-display) {
  max-width: 640px;
  font-size: var(--text-lead);
  line-height: var(--leading-relaxed);
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
}
.hero-label { display: none; } /* legacy */

.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.page-main { background: #fff; }
.page-main .container > section { margin-bottom: 0; }
.page-section { padding: var(--section-py) 0; }
.page-section.alt { background: var(--surface-50); }

/* ===== SPLIT FEATURE / LOCATION LAYOUT ===== */
.split-feature-grid, .location-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.split-image { position: relative; }
.split-image img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split-copy { padding: 16px 0; }
.split-copy .display-serif {
  font-size: var(--text-display-en);
  margin-bottom: 24px;
  color: var(--navy-700);
  line-height: var(--leading-tight);
}
.split-copy p { font-size: 16px; line-height: var(--leading-loose); color: var(--ink-500); margin-bottom: 16px; }

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder {
  min-height: 460px;
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  text-align: center; color: #fff;
  background:
    radial-gradient(circle at 25% 25%, rgba(18,200,220,0.4), transparent 35%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, var(--navy-950), var(--navy-700));
  box-shadow: var(--shadow-lg);
}
.map-placeholder span {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 56px; font-weight: 500; color: var(--teal-400); letter-spacing: 0.04em;
}
.map-placeholder p { color: rgba(255,255,255,0.7); margin-top: 12px; font-size: var(--text-sm); letter-spacing: 0.1em; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-950); color: rgba(255,255,255,0.72);
  padding: 96px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 32px; width: auto; margin-bottom: 24px; }
.footer-brand p { font-size: var(--text-sm); line-height: var(--leading-loose); color: rgba(255,255,255,0.5); max-width: 360px; }
.footer-links h4, .footer-contact h4 {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 22px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: var(--text-sm); color: rgba(255,255,255,0.6); transition: color var(--t-fast); }
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: var(--text-sm); line-height: var(--leading-loose); color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: var(--teal-400); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,0.35); letter-spacing: 0.04em; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  :root { --section-py: 96px; --section-py-sm: 64px; }
  .editorial, .split-feature-grid, .location-layout { grid-template-columns: 1fr; gap: 56px; }
  .editorial.reverse > :first-child { order: 0; }
  .editorial-image .secondary-img { right: 0; bottom: -24px; width: 38%; }
  .hub-grid, .programs-grid, .info-grid, .steps, .point-grid, .team-grid, .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .gallery-grid img:nth-child(1) { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .contact-panel { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .cta-band { grid-template-columns: 1fr; gap: 28px; }
  .cta-band-actions { justify-content: flex-start; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 80px; --section-py-sm: 56px; --gutter: 22px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: var(--navy-950);
    align-items: center; justify-content: center;
    gap: 30px;
    z-index: 999;
  }
  .nav-links.open a {
    font-size: 22px; font-weight: 600; color: #fff;
    padding: 10px 20px;
    transition: color var(--t-fast), transform var(--t-fast);
  }
  .nav-links.open a::after { display: none; }
  .nav-links.open a:hover,
  .nav-links.open a:active { color: var(--teal-400); transform: translateY(-1px); }
  .nav-links.open a[aria-current="page"] {
    color: var(--teal-400);
    font-weight: 700;
  }
  .nav-links.open a[aria-current="page"]::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--teal-400);
    margin-right: 14px;
    vertical-align: middle;
  }
  .nav-links.open .nav-cta-mobile {
    display: inline-flex !important;
    margin-top: 16px;
    padding: 16px 36px;
    background: var(--yellow-500); color: #1a1001;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
  }
  .nav-links.open .nav-cta-mobile::before { display: none; }
  .nav-links.open .nav-cta-mobile:hover { color: #1a1001; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(254,229,0,0.3); }

  .hero-actions, .page-hero-actions { width: 100%; }
  .hero-actions .btn, .page-hero-actions .btn { flex: 1; }

  .hub-grid, .programs-grid, .info-grid, .steps, .point-grid, .team-grid, .review-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { justify-content: flex-start; }

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

  .editorial-image img { aspect-ratio: 4/3; }
  .editorial-image .secondary-img { display: none; }
  .split-image img { aspect-ratio: 4/3; }

  .hero-meta { font-size: 10px; }
  .hero-meta-divider { margin: 0 12px; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .contact-panel { padding: 28px; }
  .safety-note { padding: 28px 24px; }
}

/* ===== HIDE LEGACY MOBILE CTA WHEN MENU CLOSED ===== */
.nav-links .nav-cta-mobile { display: none; }
