
  /* ══════════════════════════════════════════════
     BASE
  ══════════════════════════════════════════════ */
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    --w:      #ffffff;
    --cream:  #f4efe9;
    --soft:   #f8f5f2;
    --warm:   #f1ece6;
    --dark:   #1c1b19;
    --mid:    #6b6762;
    --light:  #a5a09a;
    --line:   #e3dcd5;
    --gold:   #c3a679;
  }

  html { scroll-behavior: smooth; }
  body { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--dark); background: var(--w); line-height: 1; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

  a    { text-decoration: none; color: inherit; }
  img  { display: block; width: 100%; height: 100%; object-fit: cover; }

  /* placeholders */
  .ph      { background: #d2ccc6; }
  .ph-lt   { background: #e8e3dc; }
  .ph-warm { background: #c6bdb2; }
  .ph-dk   { background: #8c8680; }
  .ph-vid  { background: #1c1a18; }

  /* ── scroll animations ── */
  /* 기본은 표시 상태. 애니메이션 준비가 끝난 경우에만 숨김 시작 */
  .fi,
  .fi-left,
  .fi-right,
  .fi-scale {
    opacity: 1;
    transform: none;
  }
  html.fi-ready .fi {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1);
    will-change: opacity, transform;
  }
  html.fi-ready .fi.on { opacity: 1; transform: translateY(0); }
  html.fi-ready .fi-left  {
    opacity: 0; transform: translateX(-30px);
    transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1);
    will-change: opacity, transform;
  }
  html.fi-ready .fi-right {
    opacity: 0; transform: translateX(30px);
    transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1);
    will-change: opacity, transform;
  }
  html.fi-ready .fi-scale {
    opacity: 0; transform: scale(.96) translateY(16px);
    transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1.2s cubic-bezier(.16,1,.3,1);
    will-change: opacity, transform;
  }
  html.fi-ready .fi-left.on,
  html.fi-ready .fi-right.on,
  html.fi-ready .fi-scale.on { transform: none; opacity: 1; }

  /* ── shared typography ── */
  .tag {
    font-size: 16px; letter-spacing: .32em;
    text-transform: uppercase; color: var(--light);
    display: block; margin-bottom: 18px;
  }
  .btn-more {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
    border-bottom: 1px solid var(--dark); padding-bottom: 2px;
    transition: color .2s, border-color .2s;
  }
  .btn-more:hover { color: var(--gold); border-color: var(--gold); }
  .btn-sq {
    width: 44px; height: 44px; border: 1px solid var(--dark); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 300; cursor: pointer;
    transition: all .22s;
  }
  .btn-sq:hover { background: var(--dark); color: var(--w); }

  /* ══════════════════════════════════════════════
     HEADER
  ══════════════════════════════════════════════ */
  header {
    position: fixed; inset: 0 0 auto 0; z-index: 200;
    height: 64px; padding: 0 52px;
    display: flex; align-items: center; justify-content: space-between;
    background: transparent;
    transition: background .45s cubic-bezier(.16,1,.3,1), border-color .45s cubic-bezier(.16,1,.3,1), backdrop-filter .45s cubic-bezier(.16,1,.3,1), -webkit-backdrop-filter .45s cubic-bezier(.16,1,.3,1), box-shadow .45s cubic-bezier(.16,1,.3,1);
    border-bottom: 1px solid transparent;
  }
  header.scrolled {
    background: rgba(255,255,255,.68);
    backdrop-filter: blur(22px) saturate(1.65);
    -webkit-backdrop-filter: blur(22px) saturate(1.65);
    border-bottom-color: rgba(0,0,0,.06);
    box-shadow: 0 1px 10px rgba(0,0,0,.05);
  }

  .logo img { height: 36px; width: auto; display: block; }

  header nav { display: flex; gap: 32px; }
  header nav a { font-size: 13px; letter-spacing: .02em; transition: color .2s; }
  header nav a:hover, header nav a.active { color: var(--gold); }

  .h-right { display: flex; align-items: center; gap: 16px; }
  .h-login { font-size: 12px; color: var(--mid); }
  .h-book {
    font-size: 11.5px; letter-spacing: .06em;
    background: var(--dark); color: var(--w);
    padding: 9px 22px; border-radius: 100px;
    transition: background .25s;
  }
  .h-book:hover { background: var(--gold); }

  .hero-sw {
    width: 100vw; height: 90vh; min-height: 540px;
    position: relative; overflow: hidden;
  }
  .hero-sw .swiper-wrapper { height: 100%; }
  .hero-sw .swiper-slide {
    position: relative; overflow: hidden;
    height: 100%;
  }
  .h-inner {
    position: absolute; inset: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1500px; width: 100%;
    padding: 0 88px;
    box-sizing: border-box;
    display: flex; flex-direction: column; justify-content: center;
  }
  .h-nav-wrap {
    position: absolute; bottom: 20%;
    left: 50%; z-index: 10;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1500px;
    padding: 0 88px;
    box-sizing: border-box;
  }
  .h-nav { position: static; display: flex; align-items: center; gap: 0; }
  .h-bg { position: absolute; inset: 0; }
  .h-bg img, .h-bg .ph, .h-bg .ph-lt {
    width: 100%; height: 100%; object-fit: cover; object-position: center center;
    transition: transform 1.2s cubic-bezier(.16,1,.3,1);
  }
  .hero-sw .swiper-slide-active:hover .h-bg img,
  .hero-sw .swiper-slide-active:hover .h-bg .ph,
  .hero-sw .swiper-slide-active:hover .h-bg .ph-lt { transform: scale(1.03); }
  .h-grad { display: none; }
  .h-copy {
    position: relative; z-index: 2;
    max-width: 620px;
  }
  .h-copy h1 {
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(36px, 4vw, 55px);
    font-weight: 600; line-height: 1.3; letter-spacing: -.02em;
    margin-bottom: 22px;
    opacity: 0; transform: translateY(32px);
  }
  .h-copy p {
    font-size: 19px; color: var(--mid); line-height: 1.6; max-width: 660px;
    opacity: 0; transform: translateY(32px);
  }
  .h-slide-main .h-inner {
    align-items: center;
    justify-content: center;
  }
  .h-slide-main .h-copy {
    max-width: 980px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    transform: translateY(-10px);
  }
  .h-slide-main .h-copy h1 {
    font-family: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
    font-size: clamp(56px, 5.5vw, 88px);
    font-weight: 500;
    line-height: .96;
    letter-spacing: .02em;
    margin-bottom: 18px;
    color: #1f1c18;
  }
  .h-slide-main .h-copy p {
    font-size: clamp(18px, 1.45vw, 24px);
    line-height: 1.4;
    color: #3f3932;
    max-width: none;
  }

  /* slide 2 흰색 텍스트 */
  .h-slide-light .h-copy h1 { color: #fff; }
  .h-slide-light .h-copy p  { color: rgba(255,255,255,.72); }
  .h-slide-light ~ .h-nav .h-nav-btn { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.15); }
  .h-slide-light ~ .h-nav .h-nav-btn svg { stroke: #fff; }
  .h-slide-light ~ .h-nav .h-nav-cur { color: #fff; }
  .h-slide-light ~ .h-nav .h-nav-tot { color: rgba(255,255,255,.5); }
  .h-slide-light ~ .h-nav .h-nav-line { background: rgba(255,255,255,.3); }
  .h-slide-light ~ .h-nav .h-nav-bar  { background: #fff; }

  /* 헤더 light mode (슬라이드2 활성 시) */
  header.light-hd:not(.scrolled) nav a { color: rgba(255,255,255,.85); }
  header.light-hd:not(.scrolled) nav a:hover,
  header.light-hd:not(.scrolled) nav a.active { color: #fff; }
  header.light-hd:not(.scrolled) .h-login { color: rgba(255,255,255,.6); }
  header.light-hd:not(.scrolled) .h-book { background: rgba(255,255,255,.2); color: #fff; }
  header.light-hd:not(.scrolled) .logo img { filter: brightness(0) invert(1); }
  header.light-hd:not(.scrolled) .nav-toggle span { background: #fff; }

  /* emblem */
  /* hero custom nav */
  .h-nav {
    display: flex; align-items: center; gap: 0;
  }
  .h-side-nav {
    position: absolute;
    top: 50%;
    z-index: 11;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: .72;
    transition: opacity .22s ease, transform .22s ease;
  }
  .h-side-prev { left: 26px; }
  .h-side-next { right: 26px; }
  .h-side-nav:hover { opacity: 1; }
  .h-side-prev:hover { transform: translateY(-50%) translateX(-2px); }
  .h-side-next:hover { transform: translateY(-50%) translateX(2px); }
  .h-side-nav svg {
    width: 28px;
    height: 28px;
    stroke: rgba(28,27,25,.72);
    fill: none;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .h-nav-info {
    display: flex; align-items: center; gap: 14px;
    padding: 0;
  }
  .h-nav-cur { font-size: 13px; letter-spacing: .06em; color: var(--dark); font-weight: 500; }
  .h-nav-line {
    width: 80px; height: 1px; background: rgba(28,27,25,.18);
    position: relative;
  }
  .h-nav-bar {
    position: absolute; left: 0; top: 0; height: 100%;
    background: var(--dark); transition: width .7s ease;
  }
  .h-nav-tot { font-size: 12px; color: var(--light); }

  /* ══════════════════════════════════════════════
     OUR STORY
  ══════════════════════════════════════════════ */
  .our-story { padding: 100px 0 100px 80px; background: var(--w); overflow: hidden; }

  .os-grid {
    display: flex;
    gap: 80px; align-items: center;
  }
  .os-left { flex: 0 0 460px; }

  .os-left h2 {
    font-size: clamp(24px,3.47vw,50px);
    font-weight: 700; line-height: 1.25; margin-bottom: 24px;
  }
  .os-left p {
    font-size:20px; color: var(--mid);
    line-height: 1.5; margin-bottom: 30px;
  }
  .os-rule { width: 30px; height: 1px; background: var(--line); margin-bottom: 30px; }

  /* story slider */
  .os-sw-wrap { flex: 1; min-width: 0; position: relative; }
  .os-sw { overflow: hidden; }
  #osSw .swiper-slide { height: auto; }
  .os-slide { position: relative; }
  .os-slide-img { aspect-ratio: 433/564; overflow: hidden; position: relative; }
  .os-slide-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 55%);
    pointer-events: none;
  }
  .os-slide-img .ph, .os-slide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
  .os-slide:hover .os-slide-img .ph,
  .os-slide:hover .os-slide-img img { transform: scale(1.05); }
  .os-slide-cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 18px; color: #fff; font-size: 22px; line-height: 1.5; z-index: 2; transition: transform .5s cubic-bezier(.16,1,.3,1); }
  .os-slide:hover .os-slide-cap { transform: translateY(-4px); }
  .os-bar-wrap { margin-top: 28px; height: 2px; background: var(--line); position: relative; }
  .os-bar { position: absolute; left: 0; top: 0; height: 100%; background: var(--dark); transition: width .4s ease; width: 0%; }

  /* ══════════════════════════════════════════════
     DOCTOR
  ══════════════════════════════════════════════ */
  .doctor { padding: 12px 80px; }
  .doctor-inner {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 640px;
  }

  .doc-photo {
    overflow: hidden; position: relative;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 640px;
  }

  .doc-info {
    min-height: 640px;
    padding: 20px 72px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden;
  }
  .doc-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../public/images/s_back.png') center center / 60% no-repeat;
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
  }
  .doc-info > * {
    position: relative;
    z-index: 1;
  }

  .doc-info .sub {
    font-family: 'Inter', sans-serif;
    font-size: 32px; font-weight: 500;
    font-style: normal; line-height: 70px;
    color: #182496; margin-bottom: 0;
  }
  .doc-info h2 {
    font-size: clamp(24px,3.47vw,50px);
    font-weight: 700; line-height: 1.25; margin-bottom: 24px;
  }
  .doc-info > p {
    font-size: 18px; color: var(--mid); line-height: 1.8; margin-bottom: 32px;
  }
  .stats {
    display: flex; flex-direction: column; gap: 0;
     padding-top: 4px;
  }
  .stats > div {
    display: flex; align-items: center; gap: 20px;
    padding: 16px 0;
  }
  .stats > div:first-child { border-bottom: 1px solid #666; }
  .stat-n {
    font-size: clamp(30px,4.44vw,64px); font-weight: 700; line-height: 1; flex-shrink: 0;
  }
  .stat-l {
    font-size: 20px; font-weight: 300; letter-spacing: .02em;
    color: var(--mid); line-height: 1.3;
  }

  /* ══════════════════════════════════════════════
     REVIEW / EQUIPMENT
  ══════════════════════════════════════════════ */
  .review { padding: 72px 80px 88px; background: var(--w); }

  .rv-head {
    display: flex; justify-content: space-between;
    align-items: flex-end; margin-bottom: 32px;
  }
  .rv-head h2 {
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(24px,3.47vw,50px);
    font-weight: 700; line-height: 1.25; margin-top: 8px;
  }

  /* slider */
  .eq-outer { position: relative; }
  .eq-sw { overflow: hidden; }
  .eq-slide { text-align: left; cursor: pointer; color: inherit; text-decoration: none; }
  .eq-img {
    background: #fff; aspect-ratio: 1 / 1;
    position: relative;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    margin-bottom: 30px;
  }
  .eq-img img { width: 100%; height: 100%; object-fit: cover; padding: 0; background: #fff; display: block; transition: transform .6s cubic-bezier(.16,1,.3,1); }
  .eq-slide:hover .eq-img img { transform: scale(1.06); }
  .eq-name { font-size: 20px; font-weight: 600; letter-spacing: .02em; margin-bottom: 14px; transition: color .4s cubic-bezier(.16,1,.3,1); }
  .eq-slide:hover .eq-name { color: var(--gold); }
  .eq-desc { font-size: 15px; color: var(--light); line-height: 1.6; margin-bottom: 10px; }
  .eq-more { font-size: 11px; letter-spacing: .08em; font-weight: 600; border-bottom: 1.5px solid var(--dark); display: inline-block; padding-bottom: 2px; }
  .eq-slide .eq-more { pointer-events: none; }

  /* eq nav */
  .eq-nav { display: flex; gap: 8px; }
  .eq-arr {
    width: 38px; height: 38px;
    border: 1px solid var(--line); background: var(--w);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: border-color .4s cubic-bezier(.16,1,.3,1), background .4s cubic-bezier(.16,1,.3,1), color .4s cubic-bezier(.16,1,.3,1), transform .4s cubic-bezier(.16,1,.3,1); flex-shrink: 0;
  }
  .eq-arr:hover { border-color: var(--dark); background: var(--dark); color: var(--w); transform: scale(1.08); }
  .eq-arr svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

  .eq-progress { margin-top: 70px; height: 2px; background: var(--line); }
  .eq-bar { height: 100%; background: var(--dark); transition: width .35s ease; width: 12.5%; }

  /* ══════════════════════════════════════════════
     GALLERY
  ══════════════════════════════════════════════ */
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 1400px;
    margin: 0 auto;
    margin-top:200px;
  }
  .g {
    overflow: hidden; position: relative;
    aspect-ratio: 1;
  }
  .g img, .g video {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .55s ease;
  }
  .g:hover img, .g:hover video { transform: scale(1.04); }

  /* ══════════════════════════════════════════════
     MEDIA
  ══════════════════════════════════════════════ */
  .media { padding: 104px 80px 88px; background: var(--w); }
  .media-hd {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 36px;
  }
  .media-hd h3 {
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(24px,2.64vw,38px); font-weight: 700; line-height: 1.25; margin-bottom: 12px;
  }
  .media-hd p { font-size: clamp(15px,1.53vw,22px); color: var(--light); }
  .m-nav { display: flex; gap: 8px; }

  .media-outer { position: relative; }
  .media-sw { overflow: hidden; }

  .mi { cursor: pointer; }
  .mi-thumb {
    aspect-ratio: 16/10; background: #ccc5bd;
    position: relative; margin-bottom: 14px; overflow: hidden; border-radius: 15px;
  }
  .mi-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.16,1,.3,1); }
  .mi:hover .mi-thumb img { transform: scale(1.05); }
  .mi:hover .mi-dim { opacity: 1; }
  .mi-dim { position: absolute; inset: 0; background: rgba(0,0,0,.12); opacity: 0; transition: opacity .5s cubic-bezier(.16,1,.3,1); }
  .mi-badge {
    position: absolute; bottom: 10px; left: 10px;
    background: rgba(0,0,0,.68); color: #fff;
    font-size: 9.5px; padding: 3px 8px; letter-spacing: .04em;
  }
  .mi-title { font-size: 24px; font-weight: 600; line-height: 1.5; margin-bottom: 6px; transition: color .4s cubic-bezier(.16,1,.3,1); }
  .mi:hover .mi-title { color: var(--gold); }
  .mi-date  { font-size: 17px; color: var(--light); }

  /* media nav */
  .m-arr {
    width: 38px; height: 38px;
    border: 1px solid var(--line); background: var(--w);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: border-color .4s cubic-bezier(.16,1,.3,1), background .4s cubic-bezier(.16,1,.3,1), color .4s cubic-bezier(.16,1,.3,1), transform .4s cubic-bezier(.16,1,.3,1); flex-shrink: 0;
  }
  .m-arr:hover { border-color: var(--dark); background: var(--dark); color: var(--w); transform: scale(1.08); }
  .m-arr svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

  .media-progress { margin-top: 76px; height: 2px; background: var(--line); }
  .media-bar { height: 100%; background: var(--dark); transition: width .35s ease; width: 16.66%; }

  .hm-popup {
    position: fixed; inset: 0; z-index: 1300;
    background: rgba(0,0,0,.82);
    display: none; align-items: center; justify-content: center;
    padding: 24px;
  }
  .hm-popup.open { display: flex; }
  .hm-popup-card {
    width: min(720px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    background: #000;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,.35);
  }
  .hm-popup-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 14px 18px;
    background: rgba(0,0,0,.72);
  }
  .hm-popup-title-wrap { min-width: 0; }
  .hm-popup-cat {
    font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 6px;
  }
  .hm-popup-title {
    font-size: 18px; font-weight: 600; line-height: 1.35;
    color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .hm-popup-close {
    width: 36px; height: 36px; flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.24); background: transparent; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; cursor: pointer;
  }
  .hm-popup-view {
    position: relative; max-height: calc(100vh - 116px);
    overflow-y: auto; overflow-x: hidden;
    display: flex; justify-content: center; align-items: flex-start;
    -ms-overflow-style: none; scrollbar-width: none;
  }
  .hm-popup-view::-webkit-scrollbar { display: none; }
  .hm-popup-view img {
    width: 100%; max-width: 720px; height: auto; display: block;
  }
  .hm-popup-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px;
    border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.46); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; cursor: pointer; z-index: 2;
  }
  .hm-popup-prev { left: 12px; }
  .hm-popup-next { right: 12px; }

  /* ══════════════════════════════════════════════
     YOUTUBE
  ══════════════════════════════════════════════ */
  .youtube { padding: 104px 80px 220px 80px; background: #fff; max-width: 1400px; margin-left: auto; margin-right: auto; }
  .yt-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
  .yt-hd h3 {
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(24px,3.47vw,50px); font-weight: 700; line-height: 1.25;
  }
  .yt-ch {
    display: flex; align-items: center; gap: 6px;
    font-size: 11.5px; color: var(--mid);
    border-bottom: 1px solid var(--line); padding-bottom: 2px;
    transition: all .2s;
  }
  .yt-ch:hover { color: var(--dark); border-color: var(--dark); }
  .yt-ch svg { stroke: currentColor; fill: none; stroke-width: 2.5; }

  .yt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }

  /* player */
  .yt-player {
    position: relative; aspect-ratio: 16/9;
    background: #181614; overflow: hidden; cursor: pointer;
  }
  .yt-cover-wrap { position: absolute; inset: 0; }
  .yt-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
  .yt-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.2); transition: background .25s;
  }
  .yt-player:hover .yt-overlay { background: rgba(0,0,0,.36); }
  .yt-play {
    width: 62px; height: 62px;
    background: rgba(255,255,255,.9); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform .2s;
  }
  .yt-player:hover .yt-play { transform: scale(1.1); }
  .yt-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

  /* list */
  .yt-list {
    display: flex; flex-direction: column; gap: 0; background: #fff;
    overflow-y: auto; overflow-x: hidden;
  }
  .yt-row {
    display: grid; grid-template-columns: 148px 1fr;
    gap: 14px; cursor: pointer; padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    border-radius: 8px;
    transition: background .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1), transform .4s cubic-bezier(.16,1,.3,1);
  }
  .yt-row:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    transform: scale(1.01);
    position: relative; z-index: 2;
  }
  .yt-row.on  { background: var(--cream); }
  .yt-row.on .yt-ri h4 { color: var(--dark); font-weight: 500; }
  .yt-tn {
    position: relative; aspect-ratio: 16/9;
    background: #242220; overflow: hidden;
  }
  .yt-tn img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .yt-tp {
    position: absolute; inset: 0; opacity: 0;
    background: rgba(0,0,0,.26);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .2s;
  }
  .yt-row:hover .yt-tp, .yt-row.on .yt-tp { opacity: 1; }
  .yt-tp::after {
    content: ''; margin-left: 3px;
    border-style: solid; border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent white;
  }
  .yt-ri { display: flex; flex-direction: column; justify-content: center; }
  .yt-ri h4 {
    font-size: 13.5px; line-height: 1.55; margin-bottom: 6px;
    font-weight: 400; color: var(--mid); transition: color .2s;
  }
  .yt-ri p { font-size: 11.5px; color: var(--light); }

  /* ══════════════════════════════════════════════
     SPACE DESIGN  (비대칭 모자이크)
  ══════════════════════════════════════════════ */
  .space { padding: 96px 80px; background: #FBF5EE; }
  .space-hd {
    display: flex; justify-content: space-between;
    align-items: flex-end; margin-bottom: 46px;
  }
  .space-hd h2 {
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(24px,3.47vw,50px);
    font-weight: 700; line-height: 1.25;
  }

  .space-sw { overflow: hidden; }
  .sp {
    overflow: hidden; aspect-ratio: 16/9; border-radius: 15px;
    transition: box-shadow .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1);
  }
  .sp img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.16,1,.3,1); }
  .sp:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(25, 20, 16, .14), 0 4px 12px rgba(25, 20, 16, .08);
  }
  .sp:hover img { transform: scale(1.05); }

  .sp-nav { display: flex; gap: 8px; }
  .sp-arr {
    width: 38px; height: 38px;
    border: 1px solid var(--line); background: var(--w);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: border-color .4s cubic-bezier(.16,1,.3,1), background .4s cubic-bezier(.16,1,.3,1), color .4s cubic-bezier(.16,1,.3,1), transform .4s cubic-bezier(.16,1,.3,1); flex-shrink: 0;
  }
  .sp-arr:hover { border-color: var(--dark); background: var(--dark); color: var(--w); transform: scale(1.08); }
  .sp-arr svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

  .sp-progress { margin-top: 28px; height: 2px; background: var(--line); }
  .sp-bar { height: 100%; background: var(--dark); transition: width .35s ease; width: 33.33%; }

  /* ══════════════════════════════════════════════
     CONTACT
  ══════════════════════════════════════════════ */
  .contact { padding: 88px 80px; background: #fff; }
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1.1fr 1.2fr;
    gap: 60px; align-items: start;
  }
  .contact-left h3 {
    font-family: 'Pretendard', sans-serif;
    font-size: 36px; font-weight: 700; margin-bottom: 28px;
  }
  .c-phone {
    font-family: 'Pretendard', sans-serif;
    font-size: 28px; font-weight: 400; letter-spacing: .02em; margin-bottom: 28px; color: var(--dark);
  }
  .c-phone span { font-size: 13px; font-weight: 400; color: var(--light); display: block; margin-bottom: 6px; letter-spacing: .04em; }
  .c-rows { border-top: 1px solid var(--line); }
  .c-row {
    display: grid; grid-template-columns: 68px 1fr;
    gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line);
  }
  .c-lbl { font-size: 11.5px; color: var(--light); padding-top: 1px; }
  .c-val { font-size: 13px; color: var(--mid); line-height: 1.9; }

  /* contact form */
  .c-form { display: flex; flex-direction: column; gap: 10px; }
  .c-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .c-field { display: flex; flex-direction: column; gap: 6px; }
  .c-field label { font-size: 17px; color: var(--light); letter-spacing: .04em; }
  .c-field label span { color: #c00; }
  .c-field input, .c-field textarea {
    width: 100%; padding: 13px 16px;
    border: 1px solid var(--line); background: #fafafa;
    font-family: 'Pretendard', sans-serif; font-size: 17px; color: var(--dark);
    outline: none; transition: border .2s; resize: none; box-sizing: border-box;
  }
  .c-field input::placeholder, .c-field textarea::placeholder { color: #bbb; }
  .c-field input:focus, .c-field textarea:focus { border-color: var(--dark); background: #fff; }
  .c-field textarea { height: 110px; }
  .c-agree {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    margin-top: 4px;
  }
  .c-agree-left { display: flex; align-items: center; gap: 8px; }
  .c-agree input[type=checkbox] { width: 14px; height: 14px; accent-color: var(--dark); cursor: pointer; }
  .c-agree-txt { font-size: 12px; color: var(--mid); }
  .c-agree-more { font-size: 11.5px; color: var(--light); border-bottom: 1px solid var(--line); cursor: pointer; white-space: nowrap; }
  .c-submit {
    width: 100%; padding: 15px;
    background: var(--dark); color: #fff;
    font-family: 'Pretendard', sans-serif; font-size: 13px; letter-spacing: .08em;
    border: none; cursor: pointer; transition: background .2s; margin-top: 4px;
  }
  .c-submit:hover { background: #333; }

  .map-box { height: 100%; min-height: 320px; overflow: hidden; }

  /* ══════════════════════════════════════════════
     FOOTER
  ══════════════════════════════════════════════ */
  footer {
    background: var(--dark); color: rgba(255,255,255,.56);
    padding: 36px 52px 28px;
  }
  .ft-top {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 20px; margin-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .ft-logo {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px; font-weight: 400; letter-spacing: .1em;
    color: rgba(255,255,255,.82);
  }
  .ft-nav { display: flex; gap: 24px; }
  .ft-nav a { font-size: 12px; color: rgba(255,255,255,.56); transition: color .2s; }
  .ft-nav a:hover { color: rgba(255,255,255,.82); }
  .ft-copy { font-size: 11px; }
  
  /* ══════════════════════════════════════════════
     RESPONSIVE — 1920px 이상 (울트라와이드)
  ══════════════════════════════════════════════ */
  @media (min-width: 1920px) {
    header { padding: 0 72px; }
    .h-inner,
    .h-nav-wrap { max-width: 1700px; }
    .h-nav-wrap { padding: 0 96px; }
    .h-copy { max-width: 760px; }
    .h-copy h1 { font-size: clamp(44px, 3.2vw, 60px); }
    .h-copy p { font-size: 21px; max-width: 760px; }

    .our-story { padding: 120px 0 120px clamp(160px, 12%, 340px); }
    .os-grid { gap: 96px; }
    .os-left { flex: 0 0 520px; }
    .os-slide-cap { font-size: 24px; }

    .doctor { padding: 64px 96px; }
    .doc-info { padding: 36px 96px; }
    .doc-info > p { font-size: 20px; }
    .stats { padding-top: 36px; }
    .stat-l { font-size: 22px; }

    .review { padding: 80px 120px 100px; }
    .rv-head { margin-bottom: 36px; }
    .eq-name { font-size: 22px; }
    .eq-desc { font-size: 16px; }

    .gallery { max-width: 1700px; gap: 10px; margin-top: 220px; }

    .media { padding: 120px 120px 104px; }
    .media-hd { margin-bottom: 44px; }
    .mi-title { font-size: 26px; }
    .mi-date { font-size: 18px; }
    #mPrev { left: -58px; }
    #mNext { right: -58px; }

    .youtube { padding: 104px 80px 220px 80px; max-width: 1600px; }
    .yt-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .yt-row { grid-template-columns: 120px 1fr; padding: 13px 16px; }
    .yt-ri h4 { font-size: 13.5px; }

    .space { padding: 112px 120px; }
    .space-hd { margin-bottom: 56px; }
    .sp-progress { margin-top: 34px; }

    .contact { padding: 104px 120px; }
    .contact-grid { gap: 72px; }
    .contact-left h3 { font-size: 40px; }

    footer { padding: 44px 72px 34px; }
  }


  /* ══════════════════════════════════════════════
     RESPONSIVE — 1024px 이하 (태블릿)
  ══════════════════════════════════════════════ */
  @media (max-width: 1024px) {
    .h-nav-wrap { bottom: 88px; }
    .our-story { padding: 80px 0 80px 48px; }
    .os-left { flex: 0 0 320px; }
    .os-left h2 { font-size: 38px; }
    .doctor-inner { min-height: auto; }
    .doc-photo,
    .doc-info { min-height: auto; }

    .review { padding: 72px 48px; }
    .rv-head h2 { font-size: 38px; }

    .media { padding: 72px 48px; }
    .media-hd h3 { font-size: 38px; }

    .youtube { padding: 72px 48px; }
    .yt-hd h3 { font-size: 38px; }

    .space { padding: 72px 48px; }
    .space-hd h2 { font-size: 38px; }

    .contact { padding: 72px 48px; }
    .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 40px; }
    .map-box { display: none; }
  }

  /* ══════════════════════════════════════════════
     RESPONSIVE — 833px 이하
  ══════════════════════════════════════════════ */
  @media (max-width: 833px) {
    .our-story { padding: 64px 24px; }
    .os-grid {
      flex-direction: column;
      align-items: stretch;
      gap: 28px;
    }
    .os-left { flex: none; width: 100%; }
    .os-sw-wrap { flex: none; width: 100%; min-width: 0; }
    .os-slide-cap { font-size: 18px; padding: 16px 14px; }
  }

  /* ══════════════════════════════════════════════
     RESPONSIVE — 768px 이하 (모바일)
  ══════════════════════════════════════════════ */
  @media (max-width: 768px) {
    html.fi-ready .fi,
    html.fi-ready .fi-left,
    html.fi-ready .fi-right,
    html.fi-ready .fi-scale {
      transform: translateY(20px);
      transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
    }
    html.fi-ready .fi-left  { transform: translateY(20px); }
    html.fi-ready .fi-right { transform: translateY(20px); }
    html.fi-ready .fi-scale { transform: scale(.97) translateY(12px); }

    /* HEADER */
    header { padding: 0 20px; }

    /* HERO */
    .hero-sw { position: relative !important; height: 75vh !important; min-height: 480px; max-height: 640px; overflow: hidden !important; }
    .h-inner { padding: 0 24px; justify-content: flex-start; padding-top: 100px; }
    .h-nav-wrap {
      position: absolute !important;
      padding: 0 24px;
      bottom: 20% !important;
      top: auto !important;
      left: 50% !important;
      right: auto !important;
      transform: translateX(-50%) !important;
      z-index: 10 !important;
    }
    .h-nav {
      justify-content: center;
    }
    .h-copy { max-width: 100%; }
    .h-copy h1 { font-size: clamp(22px, 6.5vw, 30px); margin-bottom: 10px; }
    .h-copy p { font-size: 12px; line-height: 1.5; max-width: 280px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .h-nav-line { width: 48px; }
    .h-slide-main .h-inner { justify-content: center; padding-top: 0; }
    .h-slide-main .h-copy { transform: translateY(6px); }
    .h-slide-main .h-copy h1 {
      font-size: clamp(32px, 11vw, 48px);
      line-height: 1;
      margin-bottom: 10px;
    }
    .h-slide-main .h-copy p {
      font-size: 14px;
      line-height: 1.45;
      max-width: none;
      display: block;
      overflow: visible;
    }
    .h-side-nav {
      width: 40px;
      height: 40px;
    }
    .h-side-prev { left: 8px; }
    .h-side-next { right: 8px; }
    .h-side-nav svg { width: 22px; height: 22px; }

    /* OUR STORY */
    .our-story { padding: 60px 24px; }
    .os-grid { flex-direction: column; align-items: stretch; gap: 36px; }
    .os-left { flex: none; width: 100%; }
    .os-sw-wrap { flex: none; width: 100%; min-width: 0; }
    .os-left h2 { font-size: 30px; }
    .os-left p { font-size: 15px; }

    /* DOCTOR */
    .doctor { padding: 0; }
    .doctor-inner { grid-template-columns: 1fr; }
    .doc-photo { min-height: 56vw; }
    .doc-info { padding: 44px 24px; }
    .doc-info .sub { font-size: 20px; line-height: 1.4; }
    .doc-info h2 { font-size: 28px; }
    .doc-info > p { font-size: 14px; margin-bottom: 32px; }
    .stat-n { font-size: 48px; }
    .stat-l { font-size: 17px; }

    /* REVIEW/EQUIPMENT */
    .review { padding: 60px 24px; }
    .rv-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
    .rv-head h2 { font-size: 28px; }

    /* GALLERY */
    .gallery { grid-template-columns: 1fr 1fr; max-width: 100%; }
    .g-hide-m { display: none; }

    /* MEDIA */
    .media { padding: 60px 24px; }
    .media-hd h3 { font-size: 24px; }
    .media-hd { flex-direction: column; align-items: flex-start; gap: 16px; }
    .mi-title { font-size: 18px; }
    .hm-popup { padding: 16px; }
    .hm-popup-card { width: min(100%, calc(100vw - 32px)); max-height: calc(100vh - 32px); }
    .hm-popup-head { padding: 12px 14px; }
    .hm-popup-title { font-size: 15px; white-space: normal; }
    .hm-popup-view { max-height: calc(100vh - 108px); }
    .hm-popup-nav { width: 36px; height: 36px; font-size: 20px; }

    /* YOUTUBE */
    .youtube { padding: 60px 24px; }
    .yt-hd { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
    .yt-hd h3 { font-size: 28px; }
    .yt-grid { grid-template-columns: 1fr; gap: 12px; }
    .yt-list {
      display: flex;
      max-height: 252px !important;
      overflow-y: auto;
      overflow-x: hidden;
      gap: 0;
    }
    .yt-row {
      grid-template-columns: 96px 1fr;
      gap: 12px;
      padding: 12px 0;
      border-radius: 0;
    }
    .yt-ri h4 {
      font-size: 13px;
      line-height: 1.45;
      margin-bottom: 4px;
    }
    .yt-ri p {
      font-size: 11px;
    }

    /* SPACE */
    .space { padding: 60px 24px; }
    .space-hd { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
    .space-hd h2 { font-size: 28px; }

    /* CONTACT */
    .contact { padding: 60px 24px; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .contact-left h3 { font-size: 28px; margin-bottom: 20px; }
    .c-phone { font-size: 24px; }
    .map-box { display: block; height: 220px; min-height: unset; }
    .c-form-row { grid-template-columns: 1fr; }

    /* FOOTER */
    footer { padding: 36px 24px 28px; }
    .ft-top { flex-direction: column; gap: 16px; align-items: flex-start; }
    .ft-nav { flex-wrap: wrap; gap: 12px; }
  }

  