/* ============================================================
   ARSEA CLONE - style.css  (Enhanced Motion Edition)
   ============================================================ */

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

:root {
  /* Brand — primary blue */
  --accent: #0063ff;
  --accent-deep: #0050d0;
  --accent-glow: rgba(0,99,255,0.35);

  /* Brand — warm secondary palette (자연·따뜻함) */
  --warm-cream: #faf6f1;
  --warm-nude: #f1ddc8;
  --warm-gold: #c89b5c;
  --warm-gold-deep: #a07a3f;

  /* Text scale (WCAG AA 4.5:1 on white) */
  --text-main: #212121;          /* primary 16:1 */
  --text-sub: #555555;           /* secondary 7.5:1 */
  --text-muted: #6e6e6e;         /* tertiary 5.7:1 — body 가능 */
  --text-soft: #8a8a8a;          /* large text only 3.5:1 */
  --text-disabled: #b8b8b8;

  /* Surfaces */
  --bg-soft: #f6f4f1;
  --bg-card: #f8f9fb;
  --border-soft: rgba(15, 23, 42, 0.06);
  --border-warm: rgba(200, 155, 92, 0.25);

  /* Typography scale (responsive via clamp) */
  --fs-h1: clamp(32px, 4.5vw, 56px);
  --fs-h2: clamp(26px, 3.4vw, 42px);
  --fs-h3: clamp(18px, 2vw, 24px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-tiny: 12px;

  /* Radii */
  --radius-card: 22px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card: 0 16px 34px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 22px 46px rgba(15, 23, 42, 0.1);
  --shadow-cta: 0 8px 18px rgba(0, 99, 255, 0.24);
  --shadow-warm: 0 18px 36px rgba(200, 155, 92, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.35s;
  --duration-slow: 0.55s;

  /* Layout */
  --container: 1300px;
  --section-padding-y: 100px;
  --header-height: 72px;
  --mobile-cta-height: 64px;

  /* State (used by JS) */
  --scroll-progress: 0%;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

body {
  font-family: 'Pretendard Variable', 'KoPub Dotum', 'Poppins', sans-serif;
  color: var(--text-main);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scroll progress bar */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1400;
  width: var(--scroll-progress);
  height: 3px;
  background: linear-gradient(90deg, rgba(0,99,255,0.85), rgba(0,163,255,0.92));
  box-shadow: 0 0 18px rgba(0,99,255,0.35);
  transition: width 0.12s linear;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; border: none; }

.blue { color: #0063ff; }
.blue-link { color: #0063ff; text-decoration: underline; }

/* Utility: hide sections via class instead of inline style */
.section-hidden { display: none; }

/* ── HEADER ─────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(0);
  transition: box-shadow 0.3s, background 0.3s, backdrop-filter 0.3s;
}
#header.scrolled {
  background: rgba(255,255,255,0.82);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  height: 90px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.logo img {
  display: block;
  width: 158px;
  height: auto;
  object-fit: contain;
}

.nav { flex: 1; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav ul li a {
  display: block;
  position: relative;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #212121;
  transition: color 0.25s ease;
  font-family: 'Poppins', 'KoPub Dotum', sans-serif;
}
.nav ul li a::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.nav ul li a.is-active::after,
.nav ul li a:hover::after {
  transform: scaleX(1);
}
.nav ul li a:hover { color: #0063ff; }
.nav ul li a.is-active {
  color: var(--accent);
  font-weight: 700;
}

.btn-cta {
  background: linear-gradient(135deg, var(--accent), #2f7cff);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,99,255,0.18);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-cta:hover {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,99,255,0.22);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #212121;
  transition: all 0.3s;
}
.mobile-menu-btn.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: block;
  position: absolute;
  top: 90px; left: 0; right: 0;
  background: rgba(255,255,255,0.96);
  border-top: 1px solid #eee;
  padding: 16px 0;
  box-shadow: 0 18px 32px rgba(0,0,0,0.08);
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.mobile-nav.open {
  max-height: 420px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-nav ul li a {
  display: block;
  padding: 14px 40px;
  font-size: 15px;
  color: #212121;
}
.mobile-nav ul li .mobile-cta {
  margin: 8px 40px 0;
  display: inline-block;
  background: #0063ff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
}

/* ── SECTION 1: HERO ────────────────────────────────────── */
#hero {
  margin-top: 90px;
  height: calc(100vh - 90px);
  min-height: 600px;
  overflow: hidden;
  position: relative;
}

.hero-swiper { height: 100%; }

.swiper-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-size: 100%;
}

.swiper-slide::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 18% 26%, rgba(0,99,255,0.14), transparent 24%),
    radial-gradient(circle at 82% 20%, rgba(194,150,84,0.14), transparent 18%);
  pointer-events: none;
  opacity: 0.8;
  z-index: 0;
}

.hero-slide-1 { background-image: url('../assets/site-images/hero/hero-01.webp'); }
.hero-slide-2 { background-image: url('../assets/site-images/hero/hero-02-director.webp'); }
.hero-slide-3 { background-image: url('../assets/site-images/hero/hero-03.webp'); }
.hero-slide.swiper-slide-active {
  animation: heroBackgroundDrift 7s ease forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248,246,242,0.9) 0%, rgba(248,246,242,0.8) 44%, rgba(248,246,242,0.38) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  will-change: transform;
  transition: transform 0.45s ease;
}

.hero-badge {
  display: inline-block;
  background: #0063ff;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  font-family: 'KoPub Dotum', sans-serif;
  box-shadow: 0 10px 24px rgba(0,99,255,0.16);
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.2;
  color: #212121;
  margin-bottom: 24px;
  font-family: 'Pretendard Variable', 'KoPub Dotum', sans-serif;
  max-width: 650px;
  text-wrap: balance;
}

/* Hero title gradient shimmer on the .blue span */
.hero-title .blue {
  background: linear-gradient(90deg, #0063ff 0%, #00a3ff 50%, #0063ff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShimmer 4s ease-in-out infinite;
}

.hero-desc {
  font-size: clamp(14px, 1.5vw, 17px);
  color: #555;
  line-height: 1.8;
  max-width: 520px;
}

.hero-event-card {
  margin-top: 26px;
  width: min(100%, 430px);
  padding: 18px 22px;
  border: 1px solid rgba(0,99,255,0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.68);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
  display: grid;
  gap: 5px;
}

.hero-event-kicker {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--accent);
}

.hero-event-card strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
  color: #151515;
}

.hero-event-card span:last-child {
  font-size: 14px;
  font-weight: 700;
  color: #555;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-hero-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0,99,255,0.22);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.74);
  color: #1f2937;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.btn-hero-primary:hover,
.btn-hero-secondary:hover {
  transform: translateY(-2px);
}

.btn-hero-primary:hover {
  background: var(--accent-deep);
  box-shadow: 0 15px 30px rgba(0,99,255,0.26);
}

.btn-hero-secondary:hover {
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
}

/* Hero floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,99,255,0.2);
  animation: particleDrift linear infinite;
}
.hero-particle:nth-child(odd) {
  background: rgba(0,99,255,0.12);
  width: 4px;
  height: 4px;
}

/* Swiper overrides for hero */
.hero-swiper .swiper-pagination {
  bottom: 28px !important;
}
.hero-swiper .swiper-pagination-bullet {
  width: 8px; height: 8px;
  background: #ccc; opacity: 1;
  transition: width 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: #0063ff; width: 24px; border-radius: 4px;
}
.swiper-button-prev, .swiper-button-next {
  color: #0063ff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.9);
}
.swiper-button-prev::after, .swiper-button-next::after {
  font-size: 20px;
}

/* ── SECTION 2: DIFFERENTIATOR ─────────────────────────── */
#differentiator {
  background: #000;
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

/* Gradient mesh decoration */
#differentiator::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,99,255,0.08), transparent 70%);
  pointer-events: none;
  animation: meshFloat 12s ease-in-out infinite;
}
#differentiator::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,163,255,0.06), transparent 70%);
  pointer-events: none;
  animation: meshFloat 15s ease-in-out infinite reverse;
}

.diff-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.diff-left { position: relative; }

.diff-label {
  color: #0063ff;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.diff-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
}

/* Auto-rotating magazine card (no swiper, pure CSS+JS) */
.mag-card {
  position: relative;
  display: block;
  width: 100%;
  height: 640px;
  border-radius: 20px;
  overflow: hidden;
  background: #0f0f0f;
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}

.mag-bg-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mag-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6) saturate(0.9);
  opacity: 0;
  transition: opacity 1s ease;
}
.mag-bg-img.is-active {
  opacity: 1;
  animation: magKenBurns 14s ease-in-out infinite alternate;
}

.mag-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.94) 100%);
  pointer-events: none;
  z-index: 1;
}

.mag-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 5;
  overflow: hidden;
}
.mag-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0063ff, #3e92ff);
  transition: width 0.1s linear;
}

.mag-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 36px 34px 96px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}
.mag-body > * { pointer-events: auto; }

.mag-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.mag-brand {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 2.5px;
  font-family: 'Poppins', sans-serif;
}
.mag-divider {
  width: 26px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}
.mag-loc {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: opacity 0.4s ease;
}

.mag-text-stack {
  position: relative;
  min-height: 170px;
}

.mag-text {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.mag-text.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mag-eyebrow {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 2.5px;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 12px;
}

.mag-bar {
  color: #0063ff;
  font-weight: 900;
  margin-right: 2px;
  font-style: normal;
}

.mag-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.mag-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.9;
}

.mag-dots {
  position: absolute;
  bottom: 22px;
  left: 34px;
  z-index: 5;
  display: flex;
  gap: 8px;
}
.mag-dot {
  width: 22px;
  height: 3px;
  border-radius: 4px;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, width 0.4s cubic-bezier(0.22,1,0.36,1);
}
.mag-dot.is-active {
  background: #fff;
  width: 40px;
}

.mag-cta {
  position: absolute;
  bottom: 22px;
  right: 26px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #fff;
  color: #000;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease, gap 0.3s ease;
}
.mag-cta:hover {
  transform: translateY(-2px);
  gap: 12px;
  box-shadow: 0 12px 28px rgba(255,255,255,0.18);
}

@keyframes magKenBurns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -1.5%); }
}

.diff-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diff-card {
  border-radius: 20px;
  padding: 28px 32px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}
.diff-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.diff-card:hover::before { opacity: 1; }
.diff-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.24);
}

.diff-card-blue {
  background: linear-gradient(135deg, #0063ff, #0050d0);
  border: 1px solid rgba(255,255,255,0.1);
}
.diff-card-light {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.diff-card-light .diff-card-title { color: #fff !important; }
.diff-card-light .diff-num { color: rgba(255,255,255,0.7) !important; }
.diff-card-light .diff-tags span {
  background: rgba(0,99,255,0.15);
  color: rgba(255,255,255,0.8);
}

.diff-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.diff-num {
  font-size: 14px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 8px;
}

.diff-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}
.diff-card-light .diff-card-title { color: #212121; }

.diff-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.diff-card:hover .diff-icon {
  transform: scale(1.08) rotate(3deg);
}

.diff-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.diff-tags span {
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 50px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.diff-card:hover .diff-tags span {
  transform: translateY(-1px);
}
.diff-card-light .diff-tags span {
  background: rgba(0,99,255,0.1);
  color: #0063ff;
}

/* ── SECTION 3: MAIN EVENT ──────────────────────────────── */
#event {
  background: #f7f9fd;
  padding: 94px 0;
  position: relative;
  overflow: hidden;
}

.event-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

.event-copy .section-title {
  max-width: 560px;
  margin-bottom: 20px;
}

.event-desc {
  max-width: 560px;
  font-size: 16px;
  color: #555;
  line-height: 1.85;
  word-break: keep-all;
}

.event-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.event-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
  transition: transform 0.22s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.event-cta:hover {
  transform: translateY(-2px);
  background: var(--accent);
  box-shadow: 0 18px 38px rgba(0,99,255,0.22);
}

.event-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.event-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.event-card {
  min-height: 360px;
  padding: 34px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(0,99,255,0.96), rgba(4,55,133,0.98)),
    #0063ff;
  color: #fff;
  box-shadow: 0 24px 54px rgba(0,99,255,0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.event-card::after {
  content: '';
  position: absolute;
  inset: auto -20% -30% 10%;
  height: 160px;
  background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
  transform: rotate(-12deg);
}

.event-card-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: rgba(255,255,255,0.72);
}

.event-card h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: 0;
}

.event-price {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.price-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 800;
  line-height: 0.9;
}

.price-unit {
  font-size: 24px;
  font-weight: 800;
}

.event-price small {
  display: block;
  width: 100%;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
}

.event-points {
  display: grid;
  gap: 14px;
}

.event-point {
  min-height: 104px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.event-point strong {
  display: block;
  margin-bottom: 8px;
  color: #111;
  font-size: 15px;
}

.event-point span {
  display: block;
  color: #666;
  font-size: 13px;
  line-height: 1.7;
  word-break: keep-all;
}

/* ── SECTION 4: PORTFOLIO ───────────────────────────────── */
#portfolio {
  background: #fff;
  padding: 100px 0 80px;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 40px;
}

.section-label {
  color: #0063ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  color: #212121;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
}

.portfolio-scroll-wrap {
  overflow-x: auto;
  padding: 0 40px 20px;
  scrollbar-width: thin;
  scrollbar-color: #0063ff #f0f0f0;
  cursor: grab;
  scroll-snap-type: x proximity;
}
.portfolio-scroll-wrap:active { cursor: grabbing; }
.portfolio-scroll-wrap::-webkit-scrollbar { height: 4px; }
.portfolio-scroll-wrap::-webkit-scrollbar-track { background: #f0f0f0; }
.portfolio-scroll-wrap::-webkit-scrollbar-thumb { background: #0063ff; border-radius: 2px; }

.portfolio-track {
  display: flex;
  gap: 15px;
  width: max-content;
}

.portfolio-item {
  width: 210px;
  border-radius: 30px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  scroll-snap-align: start;
}
.portfolio-item:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 44px rgba(0,0,0,0.14); }

.portfolio-img {
  width: 100%;
  height: 374px;
  overflow: hidden;
}
.portfolio-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.portfolio-item:hover .portfolio-img img { transform: scale(1.08); }

.portfolio-caption {
  padding: 10px;
  text-align: center;
  background: #fff;
}
.portfolio-caption h4 {
  font-size: 14px;
  font-weight: 500;
  color: #212121;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portfolio-caption p {
  font-size: 12px;
  color: #999;
  line-height: 1.4;
  word-break: keep-all;
}

.portfolio-footer {
  text-align: center;
  padding: 40px 40px 0;
}

.portfolio-note {
  font-size: 13px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 28px;
}

.btn-portfolio {
  display: inline-block;
  background: #212121;
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-portfolio::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-portfolio:hover::before { transform: translateX(100%); }
.btn-portfolio:hover { background: #000; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.2); }

/* ── SECTION 4: SERVICES ────────────────────────────────── */
#services { background: #fff; }

.services-top {
  background: #0063ff;
  padding: 80px 40px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Animated dots pattern in services header */
.services-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: dotPatternDrift 20s linear infinite;
}

.section-label-white {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 12px;
  position: relative;
}

.section-title-white {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.section-desc-white {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  position: relative;
}

.services-grid {
  max-width: 1300px;
  margin: -40px auto 0;
  padding: 0 40px 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  border-radius: 20px;
  overflow: hidden;
  background: #f8f8f8;
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease, border-color 0.3s ease;
  display: block;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.12);
  border-color: rgba(0,99,255,0.16);
}

.service-card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.service-card:nth-child(-n+4) .service-card-img { background-position: center top; }
.service-card:nth-child(8) .service-card-img { background-position: center top; }

/* Shine sweep effect */
.service-card-img::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -120%;
  width: 55%;
  height: 140%;
  background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.28), rgba(255,255,255,0));
  transform: skewX(-20deg);
  transition: transform 0.8s ease;
  z-index: 2;
}
.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}
.service-card:hover .service-card-img::before {
  transform: translateX(380%) skewX(-20deg);
}

.service-card-body {
  padding: 20px 24px 24px;
}
.service-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color 0.25s ease;
}
.service-card:hover .service-card-body h3 { color: var(--accent); }
.service-card-body h3 .en {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #888;
  font-family: 'Poppins', sans-serif;
  margin-top: 2px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tags span {
  font-size: 12px;
  color: #0063ff;
  background: #e8f0ff;
  padding: 4px 10px;
  border-radius: 50px;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), background 0.25s ease, color 0.25s ease;
}
.service-card:hover .service-tags span {
  transform: translateY(-2px);
  background: rgba(0,99,255,0.13);
}

/* ── SECTION 6: CASES ───────────────────────────────────── */
#cases {
  background: #fff;
  padding: 96px 0 108px;
}

.cases-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.cases-header {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 46px;
}

.cases-header .section-title {
  margin-bottom: 0;
}

.cases-header .section-desc {
  max-width: 620px;
  word-break: keep-all;
}

.cases-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: #f1f3f8;
  margin-bottom: 32px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cases-tabs::-webkit-scrollbar {
  display: none;
}

.cases-tab {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 11px 26px;
  border-radius: 999px;
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #5b6478;
  background: transparent;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cases-tab:hover {
  color: #1f2937;
}

.cases-tab.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 99, 255, 0.24);
}

.cases-panel {
  display: none;
}

.cases-panel.is-active {
  display: block;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cases-grid-body {
  grid-template-columns: repeat(3, 1fr);
}

.case-card {
  overflow: hidden;
  border-radius: 22px;
  background: #f8f9fb;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.1);
}

.case-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eceff5;
}

.case-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card:hover .case-photo img {
  transform: scale(1.04);
}

.case-body {
  padding: 24px 24px 26px;
}

/* Card hover mini-CTA (P1) */
.case-card-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.2px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), color 0.2s ease;
}

.case-card-cta:hover {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.case-card:hover .case-card-cta,
.case-card:focus-within .case-card-cta {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  /* On touch devices, no hover — always show */
  .case-card-cta {
    opacity: 1;
    transform: none;
    margin-top: 12px;
    font-size: 13px;
  }
}

.case-kicker {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 10px;
}

.case-body h3 {
  font-size: 18px;
  color: #151515;
  line-height: 1.45;
  margin-bottom: 10px;
  word-break: keep-all;
}

.case-body p:not(.case-kicker) {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  word-break: keep-all;
}

.case-notice {
  margin-top: 24px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

/* Cases — inline director CTA (P1) */
.cases-director-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 26px 32px;
  background: linear-gradient(135deg, var(--warm-cream), var(--warm-nude));
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--text-main);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) ease;
}

.cases-director-cta:hover,
.cases-director-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-warm);
  outline: none;
}

.cases-director-cta-text {
  flex: 1;
  min-width: 0;
}

.cases-director-cta-eyebrow {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--warm-gold-deep);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cases-director-cta-text strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.55;
  word-break: keep-all;
}

.cases-director-cta-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  transition: transform var(--duration-base) var(--ease-out);
}

.cases-director-cta:hover .cases-director-cta-arrow {
  transform: translateX(4px);
}

.br-mobile { display: none; }
@media (max-width: 768px) {
  .br-mobile { display: inline; }
  .cases-director-cta {
    padding: 20px 22px;
    gap: 14px;
    margin-top: 28px;
  }
  .cases-director-cta-text strong {
    font-size: 15px;
    line-height: 1.5;
  }
  .cases-director-cta-eyebrow {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .cases-director-cta-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ── SECTION 7: PROCESS ─────────────────────────────────── */
#process {
  background: #0a0a0a;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern */
#process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.process-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.process-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label-blue {
  color: #0063ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 12px;
}

.section-title-white { color: #fff; }

.section-desc-gray {
  font-size: 15px;
  color: #888;
  line-height: 1.8;
  margin-top: 12px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.process-line {
  position: absolute;
  top: 44px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 2px;
  background: linear-gradient(90deg, #0063ff, #00a3ff);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 88px;
  height: 88px;
  background: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 2px solid #333;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1);
  position: relative;
}

/* Toss-style 3D icon */
.step-icon-3d {
  background: linear-gradient(145deg, #222, #1a1a1a);
  border: 1.5px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}

.toss-emoji {
  font-size: 38px;
  line-height: 1;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  animation: tossFloat 4s ease-in-out infinite;
}

/* Staggered floating per step */
.process-step:nth-child(2) .toss-emoji { animation-delay: -0.8s; }
.process-step:nth-child(3) .toss-emoji { animation-delay: -1.6s; }
.process-step:nth-child(4) .toss-emoji { animation-delay: -2.4s; }
.process-step:nth-child(5) .toss-emoji { animation-delay: -3.2s; }
.process-step:nth-child(6) .toss-emoji { animation-delay: -4.0s; }

/* Glow ring on hover */
.step-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.process-step:hover .step-icon {
  border-color: rgba(0,99,255,0.5);
  box-shadow: 0 0 30px rgba(0,99,255,0.2), 0 12px 32px rgba(0,0,0,0.4);
  transform: translateY(-6px);
}
.process-step:hover .step-icon::after {
  border-color: rgba(0,99,255,0.25);
  box-shadow: 0 0 20px rgba(0,99,255,0.12);
}
.process-step:hover .toss-emoji {
  transform: scale(1.15) rotate(-5deg);
}

.step-icon img { width: 44px; height: 44px; object-fit: contain; }

.step-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.step-content h3 .blue { color: #0063ff; }

.step-content p {
  font-size: 13px;
  color: #888;
  line-height: 1.8;
}
.step-content p em {
  font-style: normal;
  color: #666;
  font-size: 12px;
}

/* ── SECTION 6: DIRECTOR PROFILE ───────────────────────── */
#director {
  background: #0a0a0a;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.director-inner { display: none; }

.director-v2-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 40px 0;
}

/* Brand logo */
.director-v2-brand {
  text-align: center;
  margin-bottom: 50px;
}
.director-v2-logomark {
  display: inline-block;
  margin-bottom: 4px;
}
.director-v2-brand-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.director-v2-brand-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 3.5px;
  font-family: 'Poppins', sans-serif;
}

/* Tagline */
.director-v2-tagline {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  color: #fff;
  line-height: 1.55;
  text-align: center;
  letter-spacing: -0.3px;
  margin-bottom: 80px;
}

/* Profile layout */
.director-v2-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}

.director-v2-photo {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.director-v2-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.director-v2-photo:hover img {
  transform: scale(1.04);
}

.director-v2-info { padding-top: 0; }

.director-v2-name {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.8px;
}
.director-v2-name span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  margin-left: 6px;
  letter-spacing: 0;
}

.director-v2-en-badge {
  display: inline-block;
  background: #0b2d5c;
  color: #fff;
  padding: 7px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.2px;
  font-family: 'Poppins', serif;
  margin-bottom: 24px;
  border-radius: 2px;
}

.director-v2-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.9;
  margin-bottom: 16px;
}
.director-v2-desc:last-child { margin-bottom: 0; }

/* Credentials bottom band */
.director-v2-credentials {
  background: #141414;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 40px;
  max-width: 960px;
  margin: 0 auto;
}
.director-v2-credentials ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.director-v2-credentials li {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  padding-left: 12px;
  position: relative;
}
.director-v2-credentials li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.5);
}
.director-v2-credentials li span {
  color: rgba(200,155,92,0.95);
  font-weight: 500;
  margin-right: 4px;
}

/* Dark background wrapper for credentials */
#director > .director-v2-credentials-wrap {
  background: #141414;
  width: 100%;
}

@media (max-width: 768px) {
  .director-v2-inner { padding: 60px 20px 0; }
  .director-v2-tagline { margin-bottom: 50px; }
  .director-v2-profile {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }
  .director-v2-photo { max-width: 260px; margin: 0 auto; }
  .director-v2-info { text-align: center; }
  .director-v2-credentials {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }
}

.director-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.director-media {
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s ease;
}

.director-media:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
}

.director-photo-wrap {
  overflow: hidden;
  border-radius: 24px;
  background: #e9e5df;
}

.director-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.director-media:hover .director-photo {
  transform: scale(1.03);
}

.director-message {
  padding: 28px 4px 8px;
}

.director-mini,
.director-card-label,
.contact-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

.director-mini {
  color: #0063ff;
  margin-bottom: 14px;
}

.director-message h3 {
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 800;
  color: #212121;
  line-height: 1.3;
  margin-bottom: 16px;
}

.director-message p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
}

.director-content .section-desc {
  max-width: 700px;
  margin-bottom: 28px;
}

.director-point-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.director-card {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.06);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Card border glow on hover */
.director-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.director-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}
.director-card:hover::after {
  border-color: rgba(0,99,255,0.15);
}

.director-card-wide {
  grid-column: 1 / -1;
}

.director-card-label {
  color: #0063ff;
  margin-bottom: 16px;
}

.director-points,
.director-credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.director-points li,
.director-credentials li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  word-break: keep-all;
}

.director-points li::before,
.director-credentials li::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0063ff;
}

.btn-director {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #212121;
  color: #fff;
  padding: 16px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-director::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-director:hover::before { transform: translateX(100%); }
.btn-director:hover { background: #000; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.2); }

/* ── SECTION 7: CONTACT ─────────────────────────────────── */
#contact {
  background: #0a0a0a;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Gradient orb */
#contact::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,99,255,0.06), transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
  animation: meshFloat 14s ease-in-out infinite;
}

.contact-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-left { padding-top: 40px; }

.contact-illust {
  width: 220px;
  max-width: 78%;
  border-radius: 24px;
  display: block;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  margin-bottom: 32px;
}

.contact-emblem {
  width: 96px;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 24px;
  animation: emblemPulse 4s ease-in-out infinite;
}

.contact-eyebrow {
  color: #0063ff;
  margin-bottom: 14px;
}

.contact-title {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-desc {
  font-size: 15px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 36px;
}

.btn-kakao {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0063ff;
  color: #fff;
  padding: 16px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-kakao::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-kakao:hover::before { transform: translateX(100%); }
.btn-kakao:hover { background: #0050d0; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,99,255,0.3); }

.contact-right {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
  transition: box-shadow 0.4s ease;
}
.contact-right:hover {
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.14);
}

.form-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
}

.form-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #999;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
}
.step-num.active-num, .step-num.done {
  background: #0063ff;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,99,255,0.3);
}

.step-label {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.form-step.active .step-label { color: #0063ff; font-weight: 600; }

.step-divider {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
  margin-top: -24px;
  position: relative;
  overflow: hidden;
}
/* Animated divider fill */
.step-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #0063ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
/* JS adds .filled class to trigger the CSS animation */
.step-divider.filled::after {
  transform: scaleX(1);
}

.form-page { display: none; }
.form-page.active {
  display: block;
  animation: formSlideIn 0.4s cubic-bezier(0.22,1,0.36,1);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}
.req { color: #ff4444; }

/* Field-level error message */
.field-error {
  display: none;
  font-size: 12px;
  color: #ff4444;
  margin-top: 5px;
}

/* Form submission feedback (inline, replaces alert) */
.form-feedback {
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.5;
}
.form-feedback--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.form-feedback--error {
  background: #ffeaea;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  color: #212121;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0063ff;
  box-shadow: 0 0 0 3px rgba(0,99,255,0.08);
}

.phone-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-group input { text-align: center; }
.phone-group span { color: #999; font-size: 18px; }

.btn-next, .btn-submit {
  width: 100%;
  padding: 16px;
  background: #0063ff;
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s, box-shadow 0.3s;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.btn-next::before, .btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-next:hover::before, .btn-submit:hover::before { transform: translateX(100%); }
.btn-next:hover, .btn-submit:hover { background: #0050d0; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,99,255,0.25); }

.btn-row { display: flex; gap: 12px; }
.btn-prev {
  flex: 1;
  padding: 16px;
  border: 1.5px solid #e0e0e0;
  color: #666;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-prev:hover { border-color: #0063ff; color: #0063ff; transform: translateY(-1px); }
.btn-row .btn-next, .btn-row .btn-submit { flex: 2; margin-top: 0; }

.file-upload { margin-top: 8px; }
.file-upload input[type="file"] { display: none; }
.file-label {
  display: inline-block;
  padding: 12px 20px;
  border: 2px dashed #e0e0e0;
  border-radius: 10px;
  font-size: 13px;
  color: #999;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  width: 100%;
  text-align: center;
}
.file-label:hover { border-color: #0063ff; color: #0063ff; background: rgba(0,99,255,0.02); }

.privacy-agree {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: #f8f8f8;
  border-radius: 10px;
  transition: background 0.3s ease;
}
.privacy-agree:hover { background: #f0f5ff; }
.privacy-agree input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: #0063ff; }
.privacy-agree label { font-size: 13px; color: #555; cursor: pointer; }

/* ── SECTION 7: REVIEWS ─────────────────────────────────── */
#reviews {
  background: #0063ff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
/* Floating circles decoration */
#reviews::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,0.04);
  pointer-events: none;
  animation: ringFloat 20s linear infinite;
}
#reviews::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 30px solid rgba(255,255,255,0.03);
  pointer-events: none;
  animation: ringFloat 16s linear infinite reverse;
}

.reviews-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.reviews-left {
  flex: 1;
  min-width: 0;
}

.review-label {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 24px;
}

.review-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.review-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 36px;
  letter-spacing: -0.5px;
}
.review-desc strong { color: #fff; }

.btn-review-more {
  display: inline-block;
  background: #fff;
  color: #0063ff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.3s;
}
.btn-review-more:hover { background: #f0f5ff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.15); }

.reviews-right {
  flex: 1;
  min-width: 0;
  max-width: 520px;
}

.review-img-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.review-img-swiper .swiper-slide-active img {
  transform: scale(1.02);
}

/* ── SECTION 8: FAQ ─────────────────────────────────────── */
#faq {
  background: #fff;
  padding: 100px 0;
}

.faq-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.faq-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  color: #212121;
  margin-bottom: 16px;
  margin-top: 8px;
  line-height: 1.2;
}

.faq-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
}

.faq-right { padding-top: 8px; }

.faq-item {
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.active {
  border-color: #0063ff;
  box-shadow: 0 8px 24px rgba(0,99,255,0.08);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #212121;
  text-align: left;
  gap: 16px;
  background: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}
.faq-item.active .faq-q { background: #0063ff; color: #fff; }

.q-blue { color: #0063ff; margin-right: 4px; }
.faq-item.active .q-blue { color: rgba(255,255,255,0.7); }

.faq-q-label { flex: 1; }

.faq-arrow {
  font-size: 12px;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  flex-shrink: 0;
}
.faq-item.active .faq-arrow { transform: rotate(180deg); color: #fff; }

/* Smooth accordion with max-height */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22,1,0.36,1), padding 0.35s ease, opacity 0.3s ease;
  padding: 0 24px;
  opacity: 0;
}
.faq-a p { font-size: 14px; color: #555; line-height: 1.9; }
.faq-item.active .faq-a {
  max-height: 260px;
  padding: 20px 24px;
  opacity: 1;
  border-top: 1px solid #eee;
}

/* ── FOOTER ─────────────────────────────────────────────── */
#footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 60px 0 0;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-company {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.footer-logo img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
}

.footer-nav {
  display: flex;
  gap: 48px;
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav-col a {
  font-size: 14px;
  color: #555;
  transition: color 0.2s;
}
.footer-nav-col a:hover { color: #0063ff; }

.footer-social {
  display: flex;
  gap: 16px;
}
.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.social-icon:hover { background: #0063ff; color: #fff; transform: translateY(-3px); }

.footer-bottom {
  background: #f8f8f8;
  text-align: center;
  padding: 18px 40px 20px;
  font-size: 12px;
  color: #6e6e6e;
}

.footer-bottom p {
  margin: 0;
}

.footer-biz-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin-bottom: 6px !important;
  color: #555;
  line-height: 1.7;
  word-break: keep-all;
}

.footer-biz-info strong {
  font-weight: 700;
  color: #2c2c2c;
}

.footer-biz-info a {
  color: #555;
  text-decoration: none;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-biz-info a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer-sep {
  color: #c0c0c0;
  user-select: none;
}

@media (max-width: 768px) {
  .footer-bottom {
    padding: 16px 20px 18px;
    font-size: 11.5px;
  }
  .footer-biz-info {
    gap: 4px 8px;
    line-height: 1.85;
  }
  /* Hide visual separators on mobile — wrapping does the job */
  .footer-biz-info .footer-sep {
    display: none;
  }
}

/* ── FLOATING BUTTONS ───────────────────────────────────── */
.float-btns {
  position: fixed;
  bottom: 32px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.float-btns.visible {
  opacity: 1;
  transform: translateY(0);
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
}
.float-btn:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.float-instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.float-line { background: #06c755; }
.float-whatsapp { background: #25d366; }
.float-kakao { background: #fee500; }
.float-naver { background: #03c75a; }

/* Bottom button pulse */
.float-btns .float-btn:last-child {
  animation: ctaPulse 3s ease-in-out infinite;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .event-inner { grid-template-columns: 1fr; }
  .event-panel { grid-template-columns: 1fr; }
  .cases-header { grid-template-columns: 1fr; gap: 20px; }
  .cases-grid,
  .cases-grid-body { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-line { display: none; }
  .director-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
    -webkit-text-size-adjust: 100%;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero-slide-1 { background-image: url('../assets/site-images/hero/hero-01.webp'); }
  .hero-slide-2 { background-image: url('../assets/site-images/hero/hero-02-director.webp'); }
  .hero-slide-3 { background-image: url('../assets/site-images/hero/hero-03.webp'); }

  #header {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(16px);
  }
  .header-inner { padding: 0 18px; height: 60px; }
  .logo img { width: 112px; }
  .nav, .btn-cta { display: none; }
  .mobile-menu-btn {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }
  .mobile-nav {
    top: 60px;
    padding: 10px 0 18px;
    max-height: 0;
    overflow-y: auto;
    background: #fff;
  }
  .mobile-nav.open {
    max-height: calc(100svh - 60px);
  }
  .mobile-nav ul li a {
    padding: 13px 24px;
    font-size: 15px;
  }
  .mobile-nav ul li .mobile-cta {
    margin: 8px 24px 0;
    padding: 12px 22px;
  }

  #hero {
    margin-top: 60px;
    height: clamp(560px, calc(100svh - 88px), 720px);
    min-height: 0;
    background: #f7f4ef;
  }
  #hero .swiper-slide {
    align-items: flex-end;
    background-size: cover;
    background-position: center top;
  }
  #hero .hero-slide.swiper-slide-active {
    animation: none;
  }
  #hero .hero-slide-1 { background-position: 46% top; }
  #hero .hero-slide-2 { background-position: 62% top; }
  #hero .hero-slide-3 { background-position: 50% top; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(248,246,242,0.08) 0%, rgba(248,246,242,0.55) 42%, rgba(248,246,242,0.96) 100%);
  }
  .hero-content {
    padding: 0 22px 92px;
    transform: none !important;
  }
  .hero-badge {
    font-size: 12px;
    padding: 8px 16px;
    margin-bottom: 14px;
  }
  .hero-title {
    max-width: 340px;
    font-size: 31px;
    line-height: 1.22;
    letter-spacing: 0;
    margin-bottom: 14px;
    word-break: keep-all;
  }
  .hero-desc {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.72;
    color: #3c3c3c;
    word-break: keep-all;
  }
  .hero-desc br { display: none; }
  .hero-event-card {
    width: min(100%, 330px);
    margin-top: 18px;
    padding: 15px 16px;
    border-radius: 13px;
    gap: 4px;
  }
  .hero-event-kicker {
    letter-spacing: 1px;
    font-size: 9px;
  }
  .hero-event-card strong {
    font-size: 17px;
  }
  .hero-event-card span:last-child {
    font-size: 13px;
  }
  .hero-actions {
    width: min(100%, 330px);
    margin-top: 12px;
    gap: 8px;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    flex: 1;
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }
  #hero .swiper-button-prev,
  #hero .swiper-button-next {
    display: none;
  }
  .hero-swiper .swiper-pagination {
    bottom: 26px !important;
  }

  #differentiator { padding: 58px 0 68px; }
  .diff-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
    align-items: start;
  }
  .mag-card {
    height: 460px;
    border-radius: 18px;
  }
  .mag-body { padding: 24px 22px 76px; }
  .mag-meta {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
  }
  .mag-brand,
  .mag-eyebrow {
    letter-spacing: 0;
  }
  .mag-title {
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: 0;
  }
  .mag-desc {
    font-size: 13px;
    line-height: 1.75;
  }
  .mag-desc br { display: none; }
  .mag-text-stack { min-height: 162px; }
  .mag-dots { bottom: 20px; left: 22px; }
  .mag-cta { bottom: 18px; right: 18px; padding: 10px 18px; font-size: 12px; }
  .diff-right { gap: 16px; }
  .diff-card {
    border-radius: 18px;
    padding: 24px 22px;
  }
  .diff-card-header {
    gap: 18px;
    margin-bottom: 18px;
  }
  .diff-card-title {
    font-size: 18px;
    line-height: 1.45;
    word-break: keep-all;
  }
  .diff-icon {
    width: 56px;
    height: 56px;
  }
  .diff-tags span {
    padding: 7px 12px;
    font-size: 12px;
  }

  #event {
    padding: 66px 0 72px;
  }
  .event-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
  .event-copy .section-title {
    max-width: 330px;
  }
  .event-desc {
    font-size: 14px;
    line-height: 1.78;
  }
  .event-cta-row {
    gap: 12px;
    margin-top: 22px;
  }
  .event-cta {
    width: 100%;
    min-height: 48px;
  }
  .event-link {
    width: 100%;
    text-align: center;
  }
  .event-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .event-card {
    min-height: 300px;
    padding: 28px 24px;
    border-radius: 20px;
  }
  .event-card h3 {
    font-size: 29px;
  }
  .price-num {
    font-size: 72px;
  }
  .event-point {
    min-height: 0;
    padding: 18px 20px;
    border-radius: 16px;
  }

  #portfolio { padding: 68px 0 58px; }
  .portfolio-header {
    padding: 0 22px;
    margin-bottom: 36px;
  }
  .section-label,
  .section-label-white,
  .section-label-blue,
  .review-label,
  .contact-eyebrow {
    letter-spacing: 0;
  }
  .section-title,
  .section-title-white,
  .faq-title {
    font-size: 30px;
    letter-spacing: 0;
  }
  .section-desc,
  .section-desc-white,
  .section-desc-gray,
  .portfolio-note,
  .faq-desc {
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
  }
  .section-desc br,
  .section-desc-white br,
  .section-desc-gray br,
  .portfolio-note br,
  .faq-desc br {
    display: none;
  }
  .portfolio-scroll-wrap {
    padding: 0 20px 18px;
    scroll-padding-left: 20px;
  }
  .portfolio-track { gap: 14px; }
  .portfolio-item {
    width: 224px;
    border-radius: 22px;
  }
  .portfolio-img {
    height: auto;
    aspect-ratio: 9 / 16;
  }
  .portfolio-caption { padding: 12px 12px 14px; }
  .portfolio-footer { padding: 30px 20px 0; }

  .services-top { padding: 62px 20px 78px; }
  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 20px 68px;
    margin-top: -30px;
    gap: 18px;
  }
  .service-card { border-radius: 18px; }
  .service-card-img { height: 216px; }
  .service-card-body { padding: 18px 20px 22px; }
  .service-card-body h3 {
    font-size: 17px;
    letter-spacing: 0;
  }

  #cases {
    padding: 68px 0 76px;
  }
  .cases-inner {
    padding: 0 20px;
  }
  .cases-header {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 26px;
  }
  .cases-tabs {
    margin-bottom: 22px;
    width: 100%;
    justify-content: flex-start;
  }
  .cases-tab {
    padding: 10px 20px;
    font-size: 13px;
  }
  .cases-grid,
  .cases-grid-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .case-card {
    border-radius: 18px;
  }
  .case-photo {
    aspect-ratio: 4 / 3;
  }
  .case-body {
    padding: 20px 20px 22px;
  }
  .case-body h3 {
    font-size: 17px;
  }

  #process { padding: 68px 0 74px; }
  .process-inner { padding: 0 20px; }
  .process-header { margin-bottom: 42px; }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-step {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 16px;
    text-align: left;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
  }
  .step-icon {
    width: 62px;
    height: 62px;
    margin: 0;
  }
  .toss-emoji { font-size: 30px; }
  .step-content h3 {
    margin-bottom: 8px;
    line-height: 1.4;
  }
  .step-content p {
    font-size: 13px;
    line-height: 1.75;
    word-break: keep-all;
  }
  .step-content p br { display: none; }

  .director-inner { grid-template-columns: 1fr; padding: 0 20px; }
  .director-point-grid { grid-template-columns: 1fr; }
  .director-card-wide { grid-column: auto; }
  .director-media { padding: 20px; }
  .director-message { padding: 22px 0 0; }
  .director-v2-tagline {
    font-size: 28px;
    letter-spacing: 0;
    line-height: 1.45;
  }

  #reviews { padding: 70px 0; }
  .reviews-inner { flex-direction: column; gap: 34px; padding: 0 20px; }
  .reviews-right { max-width: 100%; width: 100%; }
  .review-title {
    font-size: 25px;
    line-height: 1.45;
    letter-spacing: 0;
    margin-bottom: 18px;
  }
  .review-desc {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 28px;
    letter-spacing: 0;
  }

  #contact { padding: 68px 0 76px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
  .contact-left { padding-top: 0; }
  .contact-illust {
    width: 72px;
    margin-bottom: 22px;
  }
  .contact-title {
    font-size: 30px;
    letter-spacing: 0;
  }
  .contact-desc {
    font-size: 14px;
    line-height: 1.78;
    word-break: keep-all;
  }
  .contact-desc br { display: none; }
  .btn-kakao {
    width: 100%;
    justify-content: center;
  }
  .contact-right {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .form-steps { margin-bottom: 30px; }
  .step-label { font-size: 11px; }
  .phone-group { gap: 6px; }

  #faq { padding: 70px 0; }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
  .faq-q {
    padding: 18px 18px;
    font-size: 14px;
  }
  .faq-a { padding: 0 18px; }
  .faq-item.active .faq-a { padding: 18px; }

  .footer-inner { flex-direction: column; padding: 0 20px 32px; }
  .footer-nav { flex-direction: column; gap: 24px; }

  .hero-particles { display: none; }
  .float-btns {
    right: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom));
    flex-direction: row;
    gap: 6px;
    padding: 7px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255,255,255,0.88);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(18px);
    transform: translate(50%, 18px);
  }
  .float-btns.visible {
    transform: translate(50%, 0);
  }
  .float-btn {
    width: 40px;
    height: 40px;
    box-shadow: none;
  }
  .float-btn:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 360px) {
  .logo img { width: 102px; }
  .hero-title { font-size: 28px; }
  .hero-content { padding: 0 18px 86px; }
  .hero-desc { font-size: 13px; }
  .mag-card { height: 440px; }
  .mag-cta {
    padding: 9px 14px;
    font-size: 11px;
  }
  .float-btn {
    width: 40px;
    height: 40px;
  }
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroBackgroundDrift {
  0% {
    background-size: 100%;
    background-position: center center;
  }
  100% {
    background-size: 106%;
    background-position: center 44%;
  }
}

@keyframes tagFloat {
  0%, 100% { transform: translateY(0) rotate(var(--tag-rotate)); }
  50% { transform: translateY(-8px) rotate(var(--tag-rotate)); }
}

@keyframes tagFadeFloat {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-4px); opacity: 0.8; }
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

@keyframes gradientShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes dotPatternDrift {
  0% { background-position: 0 0; }
  100% { background-position: 32px 32px; }
}

@keyframes ringFloat {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes tossFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-5px) rotate(2deg); }
  75% { transform: translateY(3px) rotate(-2deg); }
}

@keyframes emblemPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.04); }
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0,99,255,0.3); }
  50% { box-shadow: 0 4px 24px rgba(0,99,255,0.5), 0 0 0 8px rgba(0,99,255,0.08); }
}

@keyframes particleDrift {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

@keyframes formSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-badge, .hero-title, .hero-desc, .hero-event-card, .hero-actions {
  animation: fadeInUp 0.6s ease both;
}
.hero-title { animation-delay: 0.1s; }
.hero-desc  { animation-delay: 0.2s; }
.hero-event-card { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.4s; }

/* Scroll reveal with stagger */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section-level reveal */
.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Counter number animation */
.count-up {
  display: inline-block;
  transition: opacity 0.3s ease;
}

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

/* ───────────────────────────────────────────────────────── */
/* Mobile bottom sticky CTA bar (P0)                          */
/* ───────────────────────────────────────────────────────── */
.m-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .m-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
    gap: 8px;
  }

  .m-cta-btn {
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
  }

  .m-cta-btn:active {
    transform: scale(0.97);
  }

  .m-cta-secondary {
    flex: 0 0 36%;
    background: var(--warm-cream);
    color: var(--text-main);
    border: 1px solid var(--border-warm);
  }

  .m-cta-primary {
    flex: 1;
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-cta);
    flex-direction: column;
    gap: 0;
    line-height: 1.2;
    padding: 6px 14px;
  }

  .m-cta-primary svg {
    margin-bottom: 1px;
  }

  .m-cta-primary {
    flex-flow: row wrap;
    align-content: center;
    column-gap: 6px;
  }

  .m-cta-label-strong {
    font-size: 14px;
    font-weight: 800;
  }

  .m-cta-label-sub {
    width: 100%;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.92;
    letter-spacing: 0.3px;
  }

  /* Body bottom padding so content not hidden behind sticky CTA */
  body {
    padding-bottom: calc(var(--mobile-cta-height) + env(safe-area-inset-bottom)) !important;
  }

  /* Push social float buttons above sticky CTA */
  .float-btns {
    bottom: calc(var(--mobile-cta-height) + 12px + env(safe-area-inset-bottom)) !important;
  }

  /* Cases tabs sticky on mobile (P1) */
  .cases-tabs {
    position: sticky;
    top: 0;
    z-index: 5;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

/* ───────────────────────────────────────────────────────── */
/* PC floating phone CTA (P1 - desktop only)                  */
/* ───────────────────────────────────────────────────────── */
.pc-phone-cta {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 28px rgba(0, 99, 255, 0.32), 0 4px 10px rgba(0, 99, 255, 0.18);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) ease;
}

.pc-phone-cta:hover,
.pc-phone-cta:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 38px rgba(0, 99, 255, 0.4), 0 6px 14px rgba(0, 99, 255, 0.22);
  outline: none;
}

.pc-phone-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.pc-phone-cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.pc-phone-cta-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  opacity: 0.86;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
}

.pc-phone-cta-num {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Hide on mobile (sticky bar takes over) */
@media (max-width: 768px) {
  .pc-phone-cta {
    display: none;
  }
}

/* ───────────────────────────────────────────────────────── */
/* Focus-visible a11y polish (P2)                             */
/* ───────────────────────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.cases-tab:focus-visible,
.m-cta-btn:focus-visible {
  outline-offset: 4px;
}
