/* ==========================================================================
   MONOPIGMENT — Design System
   Concept: every SMP / PMU result is built from single, precise deposits
   of pigment. The whole visual language is built the same way — small
   deliberate marks (dots) that compose into larger, confident forms.
   ========================================================================== */

@font-face {
  font-family: "NanumSquare";
  src: url("fonts/NanumSquareL.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NanumSquare";
  src: url("fonts/NanumSquareR.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NanumSquare";
  src: url("fonts/NanumSquareB.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NanumSquare";
  src: url("fonts/NanumSquareEB.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Color tokens — brand palette: orange + white + black ---- */
  --paper:        #FFFFFF;  /* base background — white */
  --paper-alt:    #F5F5F5;  /* alternating section background — light shade of black */
  --ink:          #000000;  /* primary text / dark sections — black */
  --graphite:     #595959;  /* secondary / muted text — shade of black */
  --pigment:      #FF751F;  /* brand main color — orange */
  --pigment-deep: #DE6414;  /* darker orange — hover / pressed states only */
  --line:         #E3E3E3;  /* hairline borders — tint of black */
  --line-deep:    rgba(255,255,255,0.18); /* hairlines on dark sections */
  --white:        #FFFFFF;

  /* ---- Type ---- */
  --font-display: "NanumSquare", "Noto Sans CJK KR", sans-serif;
  --font-body:    "NanumSquare", "Noto Sans CJK KR", sans-serif;

  /* ---- Layout ---- */
  --maxw: 1180px;
  --radius: 3px;
  --gutter: 24px;
}

/* ---------------------------------------------------------------------- */
/* Reset / base                                                           */
/* ---------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--pigment);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.28;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------------------------------------------------------------------- */
/* Type scale                                                             */
/* ---------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pigment);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pigment);
  margin-right: 8px;
  flex-shrink: 0;
}
.section-dark .eyebrow { color: var(--pigment); }

h1.display {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
@media (min-width: 720px) {
  h1.display { font-size: 46px; }
}
@media (min-width: 1080px) {
  h1.display { font-size: 52px; }
}

h2.section-title {
  font-size: 28px;
}
@media (min-width: 720px) {
  h2.section-title { font-size: 38px; }
}

h3.card-title {
  font-size: 20px;
}

.lede {
  font-size: 17px;
  line-height: 1.8;
  color: var(--graphite);
}
@media (min-width: 720px) {
  .lede { font-size: 19px; }
}

.small {
  font-size: 13px;
  color: var(--graphite);
}

/* ---------------------------------------------------------------------- */
/* Dot motif — the signature device                                       */
/* ---------------------------------------------------------------------- */
.dot-divider {
  display: flex;
  align-items: center;
  margin: 0 0 18px 0;
}
.dot-divider span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}
.dot-divider span:not(:first-child) { margin-left: 7px; }
.dot-divider span:nth-child(3n+1) { background: var(--pigment); opacity: .8; }

ul.dot-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--graphite);
  line-height: 1.7;
}
ul.dot-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pigment);
}

.dot-field {
  width: 100%;
  height: 100%;
  display: block;
}
.dot-field circle {
  opacity: 0;
  transform-origin: center;
  animation: dotIn .5s ease forwards;
}
@keyframes dotIn {
  from { opacity: 0; r: 0; }
  to   { opacity: var(--target-o, 1); }
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--pigment);
  color: var(--paper);
}
.btn-primary:hover { background: var(--pigment-deep); }

.btn-outline {
  background: transparent;
  border-color: var(--pigment);
  color: var(--pigment);
}
.btn-outline:hover { background: var(--pigment); color: var(--paper); }

.section-dark .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--paper);
}
.section-dark .btn-outline:hover { background: var(--paper); color: var(--pigment); border-color: var(--paper); }

.btn-ghost {
  background: transparent;
  color: var(--pigment);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost::after {
  content: "→";
  margin-left: 8px;
  transition: transform .18s ease;
}
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-ghost:hover { transform: none; }

.btn-block { width: 100%; justify-content: center; }

/* ---------------------------------------------------------------------- */
/* Nav                                                                     */
/* ---------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-mark {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: 20px;
  width: auto;
  display: block;
}
.footer-brand .brand-logo { height: 26px; }
.brand-mark .sub { font-weight: 400; font-size: 10px; letter-spacing: 0.12em; color: var(--graphite); margin-left: 11px; white-space: nowrap; display: none; }
@media (min-width: 480px) {
  .brand-mark .sub { display: inline; }
}

.nav-links {
  display: none;
  align-items: center;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--graphite);
  position: relative;
  padding: 4px 0;
}
.nav-links a:not(:first-child) { margin-left: 34px; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--pigment);
  transition: right .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--pigment); font-weight: 700; }

.nav-cta { display: none; }

/* ---------------------------------------------------------------------- */
/* Language switcher                                                      */
/* ---------------------------------------------------------------------- */
.lang-switch { position: relative; margin-left: 18px; display: none; }
@media (min-width: 980px) { .lang-switch { display: block; } }
.lang-current {
  display: flex; align-items: center;
  background: none; border: 1px solid var(--line); border-radius: 20px;
  padding: 6px 10px 6px 12px; cursor: pointer;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 700; color: var(--ink);
}
.lang-current .flag { width: 18px; height: 13px; margin-right: 6px; line-height: 1; flex-shrink: 0; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.lang-current .flag svg { width: 100%; height: 100%; display: block; }
.lang-current .lang-code { letter-spacing: 0.02em; }
.lang-caret { width: 13px; height: 13px; margin-left: 4px; fill: none; stroke: var(--graphite); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 16px 32px -18px rgba(0,0,0,0.28);
  padding: 6px; min-width: 140px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 50;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; width: 100%;
  background: none; border: none; border-radius: 6px;
  padding: 9px 10px; font-family: var(--font-body); font-size: 13.5px; color: var(--ink);
  cursor: pointer; text-align: left;
}
.lang-menu button:hover { background: var(--paper-alt); }
.lang-menu button.active { color: var(--pigment); font-weight: 700; }
.lang-menu .flag { width: 18px; height: 13px; margin-right: 9px; flex-shrink: 0; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.lang-menu .flag svg { width: 100%; height: 100%; display: block; }

.mobile-lang { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.mobile-lang button {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px;
  background: none; padding: 10px; font-size: 13.5px; color: var(--ink); cursor: pointer;
}
.mobile-lang button.active { border-color: var(--pigment); color: var(--pigment); }
.mobile-lang .flag { width: 18px; height: 13px; margin-right: 7px; flex-shrink: 0; border-radius: 2px; overflow: hidden; }
.mobile-lang .flag svg { width: 100%; height: 100%; display: block; }

.nav-toggle {
  display: block;
  width: 34px; height: 34px;
  flex-shrink: 0;
  background: none; border: none; padding: 0;
  position: relative;
}
.nav-toggle .bars {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.nav-toggle .bars span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle .bars span:nth-child(1) { top: 11px; }
.nav-toggle .bars span:nth-child(2) { top: 16.25px; }
.nav-toggle .bars span:nth-child(3) { top: 21.5px; }
.nav-toggle.open .bars span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.nav-toggle.open .bars span:nth-child(2) { opacity: 0; }
.nav-toggle.open .bars span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

.mobile-panel {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 10px var(--gutter) 22px;
}
.mobile-panel.open { display: flex; }
.mobile-panel a {
  padding: 13px 2px;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-panel a.active { color: var(--pigment); }
.mobile-panel .btn { margin-top: 16px; justify-content: center; }

@media (min-width: 940px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-panel { display: none !important; }
}

/* ---------------------------------------------------------------------- */
/* Section scaffolding                                                    */
/* ---------------------------------------------------------------------- */
section { padding: 64px 0; }
@media (min-width: 720px) { section { padding: 96px 0; } }

.section-alt { background: var(--paper-alt); }
.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-dark .graphite-on-dark { color: rgba(255,255,255,0.68); }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head .lede { margin-top: 16px; }

.reveal {
  opacity: 1;
}
.reveal.pre {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.pre.from-left { transform: translateX(-60px); }
.reveal.pre.from-right { transform: translateX(60px); }
.reveal.pre.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero-actions { display: flex; flex-wrap: wrap; margin: 32px -7px 0; }
.hero-actions > * { margin: 0 7px 14px 7px; }

/* ---------------------------------------------------------------------- */
/* Hero banner — full-bleed photo strip with overlaid text                */
/* ---------------------------------------------------------------------- */
.hero-banner {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
@media (min-width: 720px) { .hero-banner { height: 620px; } }
@media (min-width: 1200px) { .hero-banner { height: 680px; } }

.hero-photo-strip { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; }
.hps-item { flex: 1 1 20%; height: 100%; overflow: hidden; }
.hps-item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(35%) contrast(1.05); }

@media (prefers-reduced-motion: no-preference) {
  .hps-item { opacity: 0; animation: heroFlyLeft .9s cubic-bezier(.16,.8,.3,1) forwards; }
  .hps-item:nth-child(2) { animation-name: heroFlyRight; animation-delay: .08s; }
  .hps-item:nth-child(3) { animation-delay: .16s; }
  .hps-item:nth-child(4) { animation-name: heroFlyRight; animation-delay: .24s; }
  .hps-item:nth-child(5) { animation-delay: .32s; }
}
@keyframes heroFlyLeft { from { opacity: 0; transform: translateX(-70px) scale(1.06); } to { opacity: 1; transform: translateX(0) scale(1.06); } }
@keyframes heroFlyRight { from { opacity: 0; transform: translateX(70px) scale(1.06); } to { opacity: 1; transform: translateX(0) scale(1.06); } }

.hero-banner-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(10,7,6,0.88) 0%, rgba(10,7,6,0.6) 42%, rgba(10,7,6,0.32) 68%, rgba(10,7,6,0.55) 100%);
}
.hero-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  color: var(--paper);
}
.hero-banner-content .eyebrow { color: var(--pigment); }
.hero-banner-content h1 { color: var(--paper); max-width: none; }
.hero-banner-content .lede { color: rgba(251,243,239,0.82); max-width: 640px; margin-top: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-banner-content { opacity: 0; animation: heroFadeUp 1s ease forwards; animation-delay: .55s; }
}
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------------------------------------------------------------- */
/* Diagonal photo collage — pillars section with overlaid text            */
/* ---------------------------------------------------------------------- */
.pillars-collage { position: relative; height: 460px; overflow: hidden; }
@media (min-width: 720px) { .pillars-collage { height: 420px; } }
@media (min-width: 1100px) { .pillars-collage { height: 460px; } }
.collage-strip { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; }
.collage-seg {
  flex: 1 1 34%;
  height: calc(100% + 4px);
  margin: -2px -70px;
  overflow: hidden;
  position: relative;
  transform: skewX(-8deg);
}
.collage-seg img {
  position: absolute;
  top: -8%; left: -18%;
  width: 136%; height: 116%;
  object-fit: cover;
  display: block;
  transform: skewX(8deg) scale(1.04);
  filter: grayscale(25%);
}
.collage-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(10,7,6,0.75) 0%, rgba(10,7,6,0.35) 45%, rgba(10,7,6,0.78) 100%);
}
.collage-content { position: relative; z-index: 4; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--paper); }
.collage-content h2 { color: var(--paper); margin-top: 14px; }
.collage-links { display: flex; flex-wrap: wrap; justify-content: center; margin: 26px -12px 0; }
.collage-links a {
  margin: 6px 12px;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border: 1px solid rgba(251,243,239,0.5);
  border-radius: 30px;
  transition: background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.collage-links a:hover { background: var(--pigment); border-color: var(--pigment); }

/* ---------------------------------------------------------------------- */
/* Academy banner — full-width photo band with overlaid text              */
/* ---------------------------------------------------------------------- */
.academy-banner { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
@media (min-width: 720px) { .academy-banner { min-height: 600px; } }
.academy-banner-photo { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.academy-banner-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 모바일 전용 사진 교체 유틸리티 — PC는 desktop-img 그대로, 모바일(<720px)만 mobile-img로 전환 */
/* !important: 컨테이너별 "img { display:block }" 규칙(.academy-banner-photo img, .sc-photo img 등)보다 이 유틸리티가 항상 우선해야 함 */
.mobile-img { display: none !important; }
@media (max-width: 719px) {
  .desktop-img { display: none !important; }
  .mobile-img { display: block !important; }
}
.academy-banner-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(100deg, rgba(10,7,6,0.9) 0%, rgba(10,7,6,0.72) 38%, rgba(10,7,6,0.28) 66%, rgba(10,7,6,0.15) 100%);
}
.academy-banner-content { position: relative; z-index: 2; width: 100%; color: var(--paper); }
.academy-banner-content .eyebrow { color: var(--pigment); }
.academy-banner-content h2 { color: var(--paper); margin-top: 14px; max-width: 720px; }
.academy-banner-content h1 { margin-top: 14px; font-size: 34px; }
@media (min-width: 720px) { .academy-banner-content h1 { font-size: 46px; } }
.academy-banner-content .lede { color: rgba(251,243,239,0.82); margin-top: 18px; max-width: 640px; }
.academy-banner-content .stat-band { margin-top: 32px; max-width: 640px; }
.academy-banner-content .stat .n { color: var(--pigment); }
.academy-banner-content .stat .l { color: rgba(251,243,239,0.75); }
.academy-banner-content .dot-list { margin-top: 22px; max-width: 640px; }
.academy-banner-content .dot-list li { color: rgba(251,243,239,0.9); }
.academy-banner-content .dot-list li::before { background: var(--pigment); }

.wide-photo-strip {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  min-height: 200px;
  overflow: hidden;
  margin-top: 48px;
}
.wide-photo-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }

.form-logo { margin-bottom: 28px; }
.form-logo img { width: 42px; height: auto; display: block; }

/* ---------------------------------------------------------------------- */
/* Contact CTA cards (call / kakao)                                       */
/* ---------------------------------------------------------------------- */
.contact-cta-grid { display: flex; flex-wrap: wrap; margin: -10px; }
.contact-cta {
  flex: 1 1 320px;
  margin: 10px;
  display: block;
  border-radius: var(--radius);
  padding: 32px 30px;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(0,0,0,0.3); }
.contact-cta .cta-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 20px;
}
.contact-cta h3 { margin-top: 16px; font-size: 24px; }
.contact-cta p { margin-top: 8px; font-size: 14.5px; }
.contact-cta .cta-arrow { display: inline-block; margin-top: 20px; font-weight: 700; font-size: 14px; }

.contact-cta-kakao { background: #FEE500; border-color: #FEE500; }
.contact-cta-kakao .cta-badge { background: rgba(58,29,29,0.12); color: #3A1D1D; }
.contact-cta-kakao h3, .contact-cta-kakao .cta-arrow { color: #3A1D1D; }
.contact-cta-kakao p { color: rgba(58,29,29,0.75); }

.contact-cta-phone { background: var(--ink); border-color: var(--ink); }
.contact-cta-phone .cta-badge { background: rgba(255,117,31,0.18); color: var(--pigment); }
.contact-cta-phone h3, .contact-cta-phone .cta-arrow { color: var(--paper); }
.contact-cta-phone p { color: rgba(251,243,239,0.75); }

/* ---------------------------------------------------------------------- */
/* Step carousel (sliding photo process steps)                            */
/* ---------------------------------------------------------------------- */
.step-carousel { position: relative; width: 100%; min-height: 560px; overflow: hidden; }
@media (min-width: 720px) { .step-carousel { min-height: 480px; } }

.sc-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: transform .85s ease, opacity .85s ease;
}
.sc-slide.active { opacity: 1; transform: translateX(0); z-index: 2; }
.sc-slide.prev { transform: translateX(-100%); }

.sc-photo { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.sc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(100deg, rgba(10,7,6,0.86) 0%, rgba(10,7,6,0.58) 45%, rgba(10,7,6,0.22) 75%, rgba(10,7,6,0.06) 100%);
}
.sc-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter); max-width: var(--maxw); margin: 0 auto;
}
.sc-content .step-tag { color: var(--pigment); }
.sc-content h4 { color: var(--paper); margin-top: 14px; font-size: 26px; font-family: var(--font-display); font-weight: 800; }
.sc-content p { color: rgba(251,243,239,0.84); margin-top: 12px; max-width: 520px; font-size: 15px; line-height: 1.6; }

.sc-dots {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3;
  display: flex; justify-content: center; padding: 0 var(--gutter);
}
.sc-dots button {
  width: 26px; height: 4px; background: rgba(255,255,255,0.35);
  border: none; border-radius: 2px; margin: 0 4px; padding: 0;
  cursor: pointer; transition: background .25s ease, width .25s ease;
}
.sc-dots button.active { background: var(--pigment); width: 40px; }

.trust-band {
  display: flex;
  flex-wrap: wrap;
  margin: -14px -18px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.trust-item {
  flex: 1 1 150px;
  margin: 14px 18px;
}
.trust-n {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--pigment);
  line-height: 1;
}
.trust-n span { font-size: 17px; margin-left: 2px; }
.trust-l { margin-top: 8px; font-size: 13px; color: var(--graphite); line-height: 1.5; }

/* ---------------------------------------------------------------------- */
/* Floating contact widget (sticky, all pages)                            */
/* ---------------------------------------------------------------------- */
.floating-contact {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.fc-btn {
  display: flex;
  align-items: center;
  border-radius: 30px;
  padding: 11px 18px 11px 12px;
  margin-top: 10px;
  box-shadow: 0 12px 26px -12px rgba(0,0,0,0.35);
  font-size: 13.5px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
  border: none;
}
.fc-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0,0,0,0.4); }
.fc-btn svg { width: 20px; height: 20px; margin-right: 8px; flex-shrink: 0; }
.fc-kakao { background: #FEE500; color: #3A1D1D; }
.fc-phone { background: var(--pigment); color: var(--white); }
.fc-youtube { background: #FF0000; color: var(--white); }
@media (min-width: 640px) {
  .floating-contact { right: 26px; bottom: 26px; }
}


/* ---------------------------------------------------------------------- */
/* Page header (interior pages)                                           */
/* ---------------------------------------------------------------------- */
.page-header {
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--line);
}
.page-header h1 { margin-top: 14px; font-size: 34px; font-weight: 800; }
@media (min-width: 720px) { .page-header h1 { font-size: 46px; } }
.page-header .lede { margin-top: 16px; max-width: 620px; }

/* ---------------------------------------------------------------------- */
/* Cards                                                                   */
/* ---------------------------------------------------------------------- */
.grid {
  display: flex;
  flex-wrap: wrap;
  margin: -11px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  margin: 11px;
  flex: 1 1 calc(100% - 22px);
}
@media (min-width: 640px) { .card.col-2 { flex: 1 1 calc(50% - 22px); } }
@media (min-width: 900px) { .card.col-3 { flex: 1 1 calc(33.333% - 22px); } }

.card .num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--pigment);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.card h3 { margin-top: 12px; }
.card p { margin-top: 10px; color: var(--graphite); font-size: 15px; }
.card .btn-ghost { margin-top: 16px; font-size: 14px; }

.pillar-card {
  padding: 0;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -22px rgba(0,0,0,0.35);
}
.pillar-card .card-img {
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.pillar-card:hover .card-img {
  transform: scale(1.06);
}
.pillar-card .card-body {
  padding: 24px 26px 30px;
}

.card-on-dark {
  background: transparent;
  border-color: var(--line-deep);
  color: var(--paper);
}
.card-on-dark p { color: rgba(255,255,255,0.68); }

.num-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--pigment);
  color: var(--pigment);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
}
.card-on-dark .num-badge { border-color: rgba(255,117,31,0.55); }
.card h3.card-title { margin-top: 16px; }

/* ---------------------------------------------------------------------- */
/* Split layout (image/art + text)                                        */
/* ---------------------------------------------------------------------- */
.split {
  display: flex;
  flex-direction: column;
  align-items: center;
}
html .split > * { width: 100%; flex: 1 1 auto; min-width: 0; }
.split > *:last-child { margin-top: 40px; }
@media (min-width: 940px) {
  .split { flex-direction: row; }
  html .split > * { width: auto; flex: 1 1 50%; }
  .split > *:last-child { margin-top: 0; margin-left: 64px; }
  .split.reverse { flex-direction: row-reverse; }
  .split.reverse > *:last-child { margin-left: 0; margin-right: 64px; }
}

.art-frame {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-dark .art-frame { background: rgba(255,255,255,0.06); border-color: var(--line-deep); }

/* ---------------------------------------------------------------------- */
/* Process steps (genuinely sequential content)                           */
/* ---------------------------------------------------------------------- */
.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  align-items: flex-start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .step-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}
.step .step-icon svg {
  width: 24px; height: 24px; display: block;
  fill: none; stroke: var(--pigment); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.step-body { padding-top: 4px; }
.step-body .step-tag { font-family: var(--font-display); font-size: 12px; font-weight: 800; color: var(--pigment); letter-spacing: .06em; }
.step h4 { font-family: var(--font-body); font-size: 16.5px; font-weight: 800; margin-top: 3px; }
.step p { margin-top: 6px; color: var(--graphite); font-size: 14.5px; }

/* ---------------------------------------------------------------------- */
/* Scalp cross-section diagram                                            */
/* ---------------------------------------------------------------------- */
.diagram-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.diagram-card svg { width: 100%; height: auto; display: block; }
.diagram-card img { width: 100%; height: auto; display: block; border-radius: 6px; }
@media (min-width: 940px) {
  .split-diagram-lg .diagram-card { flex: 1 1 58%; padding: 20px; }
  .split-diagram-lg > .reveal { flex: 1 1 42%; }
}
.diagram-legend { display: flex; flex-wrap: wrap; margin: 18px -10px -6px; }
.diagram-legend .item { display: flex; align-items: center; margin: 6px 10px; font-size: 12.5px; color: var(--graphite); }
.diagram-legend .swatch { width: 10px; height: 10px; border-radius: 2px; margin-right: 7px; flex-shrink: 0; }

ul.dot-list li.award::before {
  content: "★";
  background: none;
  width: auto; height: auto;
  left: 1px; top: -2px;
  color: var(--pigment);
  font-size: 13px;
  line-height: 1;
  border-radius: 0;
}


/* ---------------------------------------------------------------------- */
/* Pricing table (Academy)                                                 */
/* ---------------------------------------------------------------------- */
.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.price-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; background: var(--white); }
table.price-table th, table.price-table td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
table.price-table thead th { background: var(--pigment); color: var(--paper); font-weight: 700; font-size: 13px; letter-spacing: .03em; }
table.price-table td:first-child, table.price-table th:first-child { text-align: left; font-weight: 700; color: var(--pigment); white-space: nowrap; }
table.price-table tbody tr:last-child td { border-bottom: none; }
table.price-table td.strong { font-weight: 700; color: var(--ink); }

/* ---------------------------------------------------------------------- */
/* Course cards (Academy)                                                  */
/* ---------------------------------------------------------------------- */
.course-card { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 32px; margin: 11px; flex: 1 1 calc(100% - 22px); }
@media (min-width: 800px) { .course-card { flex: 1 1 calc(50% - 22px); } }
.course-card .tag { display:inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--pigment); text-transform: uppercase; }
.course-card h3 { margin-top: 10px; font-size: 24px; }
.course-card .price { margin-top: 6px; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--pigment); }
.course-card .price small { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--graphite); }
.course-card ul.dot-list { margin-top: 18px; }
.course-card .btn { margin-top: 22px; width: 100%; justify-content: center; }

/* ---------------------------------------------------------------------- */
/* Stat / value band                                                      */
/* ---------------------------------------------------------------------- */
.stat-band { display: flex; flex-wrap: wrap; margin: -15px -20px; }
.stat { flex: 1 1 130px; margin: 15px 20px; }
.stat .n { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--pigment); }
.stat .l { margin-top: 6px; font-size: 13.5px; color: var(--graphite); }
.section-dark .stat .l { color: rgba(255,255,255,0.7); }

/* ---------------------------------------------------------------------- */
/* Gallery                                                                 */
/* ---------------------------------------------------------------------- */
.gallery-grid { display: flex; flex-wrap: wrap; margin: -8px; }
.gallery-tile {
  flex: 1 1 calc(100% - 16px);
  margin: 8px;
  aspect-ratio: 3/4;
  min-height: 300px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-alt);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 560px) { .gallery-tile { flex: 1 1 calc(50% - 16px); } }
@media (min-width: 900px) { .gallery-tile { flex: 1 1 calc(33.333% - 16px); } }
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-tile.empty-tile {
  border-style: dashed;
  text-align: center;
  padding: 20px;
  color: var(--graphite);
  font-size: 13px;
  line-height: 1.65;
}

.portfolio-group:not(:first-child) { margin-top: 52px; }
.portfolio-group-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
}
.portfolio-group-title .n {
  font-size: 12px;
  font-weight: 700;
  color: var(--pigment);
  letter-spacing: .1em;
  margin-left: 10px;
}
.portfolio-sub:not(:first-child) { margin-top: 26px; }
.portfolio-sub .tag-pill { margin-bottom: 14px; }
.gallery-tile .ph-label {
  position: relative; z-index: 1;
  font-size: 13px; color: var(--graphite); text-align: center; padding: 0 20px;
  font-weight: 700;
}
.gallery-tile .ph-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .07em;
  background: var(--white); border: 1px solid var(--line); color: var(--graphite);
  padding: 4px 9px; border-radius: 20px; text-transform: uppercase;
}
.filter-tabs { display: flex; margin-bottom: 30px; flex-wrap: wrap; }
.filter-tab {
  margin: 0 10px 10px 0;
  padding: 9px 20px; border: 1px solid var(--line); border-radius: 20px;
  font-size: 13.5px; font-weight: 700; color: var(--graphite); background: var(--white);
  transition: all .18s ease;
}
.filter-tab.active, .filter-tab:hover { background: var(--pigment); border-color: var(--pigment); color: var(--paper); }

/* ---------------------------------------------------------------------- */
/* CTA band                                                                */
/* ---------------------------------------------------------------------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { max-width: 640px; margin: 16px auto 0; }
.cta-band .lede { max-width: 520px; margin: 16px auto 0; }
.cta-band .hero-actions { justify-content: center; margin-top: 30px; }

/* ---------------------------------------------------------------------- */
/* Forms (contact)                                                        */
/* ---------------------------------------------------------------------- */
.form-grid { display: flex; flex-wrap: wrap; margin: -10px; }
.field { flex: 1 1 calc(100% - 20px); margin: 10px; min-width: 0; display: flex; flex-direction: column; }
.field.half { flex: 1 1 calc(50% - 20px); }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pigment); }
.form-note { font-size: 12.5px; color: var(--graphite); margin-top: 4px; }

.contact-grid { display: flex; flex-wrap: wrap; margin: -8px; }
.contact-card {
  flex: 1 1 calc(50% - 16px);
  margin: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px 18px;
  transition: border-color .2s ease, transform .2s ease;
}
@media (min-width: 680px) {
  .contact-card { flex: 1 1 calc(33.333% - 16px); }
}
.contact-card:hover { border-color: var(--pigment); transform: translateY(-2px); }
.cc-ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.cc-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--pigment); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h4 { font-family: var(--font-body); font-size: 13.5px; font-weight: 700; color: var(--graphite); }
.contact-card p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; }
.contact-card p a { color: var(--pigment); font-weight: 700; }
.contact-card p a:hover { text-decoration: underline; }

.map-frame {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper-alt);
  aspect-ratio: 16/9;
  min-height: 220px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.map-frame span:not(:first-child) { margin-top: 10px; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 68px 0 26px; }
.footer-top { display: flex; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { flex: 1 1 260px; margin: 0 40px 24px 0; }
.footer-brand .brand-mark { color: var(--paper); }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.8; max-width: 320px; color: rgba(255,255,255,0.6); }
.footer-col { flex: 1 1 150px; margin: 0 40px 24px 0; }
.footer-col h5 { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--pigment); font-weight: 700; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; margin-bottom: 11px; color: rgba(255,255,255,0.72); }
.footer-col a:hover { color: var(--paper); }

.footer-mobile-compact { display: none; width: 100%; }
.fm-menu { display: flex; flex-wrap: wrap; margin: -4px -7px; }
.fm-menu a { font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,0.85); white-space: nowrap; margin: 4px 7px; }
.fm-icons { display: flex; flex-wrap: wrap; margin: 16px -5px 0; }
.fm-ico {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  margin: 4px 5px;
}
.fm-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fm-meta { margin-top: 18px; font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,0.5); }

@media (max-width: 719px) {
  /* 모바일 전용: 홈 히어로 타이틀·아카데미 타이틀 줄바꿈 보정 (PC는 h1.display / h2.section-title 기본값 그대로 유지) */
  .hero-banner-content h1.display { font-size: 31px; }
  #idx-academy-banner h2.section-title { font-size: 21px; }
}

@media (max-width: 719px) {
  .footer-col-desktop { display: none; }
  .footer-mobile-compact { display: block; }
  .footer-brand { margin-bottom: 8px; }
  .footer-top { padding-bottom: 26px; }
  .site-footer { padding-top: 48px; }
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; padding-top: 22px; font-size: 12.5px; color: rgba(255,255,255,0.45); }
.footer-bottom span:not(:first-child) { margin-left: 10px; }
@media (max-width: 719px) {
  .footer-bottom { flex-direction: column; }
  .footer-bottom span:not(:first-child) { margin-left: 0; margin-top: 6px; }
  .site-footer { padding-bottom: 120px; }
}

/* ---------------------------------------------------------------------- */
/* Misc utilities                                                         */
/* ---------------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.tag-pill {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
  background: var(--paper-alt); border: 1px solid var(--line); color: var(--pigment);
  padding: 5px 11px; border-radius: 20px; text-transform: uppercase;
}
.notice-box {
  border: 1px solid var(--line);
  border-left: 3px solid var(--pigment);
  background: var(--white);
  padding: 20px 22px;
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--graphite);
  line-height: 1.75;
}

/* ---------------------------------------------------------------------- */
/* Team profile blocks                                                    */
/* ---------------------------------------------------------------------- */
.profile-block { display: flex; flex-direction: column; }
.profile-block > * { width: 100%; }
.profile-block > *:last-child { margin-top: 28px; }
@media (min-width: 780px) {
  .profile-block { flex-direction: row; align-items: center; }
  .profile-block.reverse { flex-direction: row-reverse; }
  .profile-block > * { width: 50%; }
  .profile-block > *:last-child { margin-top: 0; }
  .profile-block .profile-intro { padding-left: 52px; }
  .profile-block.reverse .profile-intro { padding-left: 0; padding-right: 52px; }
  .profile-photo { min-height: 460px; }
}
@media (min-width: 980px) {
  .profile-photo { min-height: 560px; }
}
@media (min-width: 1180px) {
  .profile-photo { min-height: 640px; }
}
.profile-block:not(:first-child) { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); }

.profile-photo {
  aspect-ratio: 4/5;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-credentials { margin-top: 32px; }

.credential-cols { display: flex; flex-wrap: wrap; margin: -7px -14px; }
.credential-cols .dot-list { flex: 1 1 250px; margin: 7px 14px; }
.credential-cols .dot-list li { font-size: 13.8px; margin-bottom: 8px; }

