/* =========================================================
   NINE ONE CLINIC — 흉터 · 튼살 (SCAR & STRETCH MARK)
   PREMIUM EDITORIAL REDESIGN — scar2
   넓은 여백 · 큰 이미지 · 절제된 색상 · 매거진형 레이아웃
   ========================================================= */

@import url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff');
@import url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff');
@import url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff');

@font-face { font-family: 's-core-dream'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff') format('woff'); font-weight: 300; font-style: normal; }
@font-face { font-family: 's-core-dream'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff') format('woff'); font-weight: 400; font-style: normal; }
@font-face { font-family: 's-core-dream'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff') format('woff'); font-weight: 500; font-style: normal; }
@font-face { font-family: 's-core-dream'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff') format('woff'); font-weight: 700; font-style: normal; }

/* ---------------------------------------------------------
   DESIGN TOKENS
   --------------------------------------------------------- */
#top {
  --bg: #F7F5F0;
  --white: #FFFFFF;
  --text: #1D1D1B;
  --text-soft: #77746D;
  --accent: #8B5E4B;
  --accent-soft: #C9AA98;
  --dark: #1E211E;
  --dark-soft: #ACA79E;
  --line: rgba(0,0,0,.12);
  --line-on-dark: rgba(255,255,255,.16);
  --good: #6E8768;
  --bad: #9C6B4E;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.16,.84,.44,1);
  --container: 1320px;
}

/* ---------------------------------------------------------
   RESET & BASE
   --------------------------------------------------------- */
#top, #top * { box-sizing: border-box; }
#top { scroll-behavior: smooth; }
#top {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 's-core-dream', 'Apple SD Gothic Neo', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
#top img { max-width: 100%; display: block; }
#top h1, #top h2, #top h3, #top h4 {
  font-family: 's-core-dream', sans-serif;
  font-weight: 500;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.01em;
}
#top p { margin: 0; font-weight: 300; }
#top a { color: inherit; text-decoration: none; }
#top ul, #top ol { margin: 0; padding: 0; }
#top button { font-family: inherit; background: none; border: none; }

#top .wrap { max-width: var(--container); margin: 0 auto; padding: 0 48px; }

/* 스티키 헤더가 앵커 이동 시 섹션 제목을 가리지 않도록 여백 확보 */
#top section[id], #top #cFooter { scroll-margin-top: 104px; }
@media (max-width: 768px) { #top section[id], #top #cFooter { scroll-margin-top: 96px; } }

/* ---------------------------------------------------------
   EYEBROW / TAG / CHIP
   --------------------------------------------------------- */
#top .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .22em; font-weight: 500;
  color: var(--accent); text-transform: uppercase; margin-bottom: 22px;
}
#top .eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); display: inline-block; }
#top .eyebrow--center { justify-content: center; }
#top .eyebrow--on-dark { color: var(--accent-soft); }
#top .eyebrow--on-dark::before { background: var(--accent-soft); }

#top .tag {
  display: inline-flex; width: fit-content; font-size: 11px; letter-spacing: .16em; font-weight: 500;
  padding: 0; margin-bottom: 20px; text-transform: uppercase; color: var(--accent);
}
#top .tag--sage { color: #7C8F72; }

#top .chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
#top .chip {
  font-size: 12.5px; padding: 8px 16px; border: 1px solid var(--line); color: var(--text-soft);
  border-radius: 100px; background: transparent; font-weight: 400; letter-spacing: .01em;
}

/* ---------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
   --------------------------------------------------------- */
#top .reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
  will-change: opacity, transform;
}
#top .reveal.is-visible { opacity: 1; transform: translateY(0); }

#top .reveal-scale { opacity: 0; transform: scale(1.06); transition: opacity 1.1s var(--ease-soft), transform 1.3s var(--ease-soft); }
#top .reveal-scale.is-visible { opacity: 1; transform: scale(1); }

#top .split-duo__item, #top .case-gallery__item, #top .tissue-compare__item, #top .program-row, #top .golden__timeline-item, #top .process-timeline__item { transition-delay: calc(var(--stagger-index,0) * 70ms); }

@media (prefers-reduced-motion: reduce) {
  #top .reveal, #top .reveal-scale { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */
#top .site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
#top .site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px; max-width: var(--container); margin: 0 auto;
}
#top .brand { display: flex; flex-direction: column; line-height: 1.2; }
#top .brand strong { font-size: 15px; font-weight: 500; letter-spacing: .04em; color: var(--text); }
#top .brand span { font-size: 10px; letter-spacing: .22em; color: var(--accent); font-weight: 400; }
#top .site-nav { display: flex; gap: 36px; }
#top .site-nav a { font-size: 13px; font-weight: 400; color: var(--text-soft); transition: color .3s var(--ease); letter-spacing: .01em; }
#top .site-nav a:hover { color: var(--text); }
#top .header-cta { display: flex; align-items: center; gap: 20px; }
#top .header-cta .tel { font-size: 13px; font-weight: 400; color: var(--text); letter-spacing: .02em; }

/* ---------------------------------------------------------
   BUTTONS — 얇고 절제된 스타일
   --------------------------------------------------------- */
#top .btnn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; font-size: 13.5px; font-weight: 400; letter-spacing: .04em;
  border-radius: 2px; border: 1px solid var(--text);
  transition: all .4s var(--ease); cursor: pointer;
}
#top .btn--sm { padding: 10px 20px; font-size: 12.5px; }
#top .btn--solid { background: var(--text); color: var(--bg); }
#top .btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
#top .btn--ghost { background: transparent; color: var(--text); }
#top .btn--ghost:hover { background: var(--text); color: var(--bg); }

/* ---------------------------------------------------------
   SCAR-LINE DIVIDER
   --------------------------------------------------------- */
#top .scarline-divider { width: 100%; display: flex; justify-content: center; padding: 8px 0; }
#top .scarline-divider svg { width: min(480px,70%); height: 30px; overflow: visible; }
#top .scarline-divider path { fill: none; stroke: var(--accent); stroke-width: 1; stroke-linecap: round; opacity: .55; }

/* ---------------------------------------------------------
   SECTION 공통
   --------------------------------------------------------- */
#top section { padding: 150px 0; }
#top .section-head { max-width: 620px; margin-bottom: 80px; }
#top .section-head h2 { font-size: clamp(28px,3.4vw,42px); line-height: 1.42; font-weight: 500; }
#top .section-head p { margin-top: 20px; color: var(--text-soft); font-size: 15.5px; line-height: 1.85; }

/* =========================================================
   SECTION 01 — HERO
   ========================================================= */
#top .hero { position: relative; background: var(--bg); overflow: hidden; padding: 100px 0 0; }
#top .hero__grid {
  display: grid; grid-template-columns: 42% 58%; align-items: stretch;
  min-height: clamp(760px, 82vh, 900px);
  max-width:1400px;margin:0 auto;

}
#top .hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 5vw 80px 48px;
}
#top .hero h1 { font-size: clamp(32px,3.6vw,50px); line-height: 1.42; font-weight: 500; }
#top .hero__accent { color: var(--accent); }
#top .hero__lead { margin-top: 30px; font-size: 16px; color: var(--text-soft); max-width: 42ch; line-height: 1.9; }
#top .hero__philosophy {
  margin-top: 22px; font-size: 14px; color: var(--text-soft); font-weight: 400;
  padding-left: 20px; border-left: 1px solid var(--accent);
}
#top .hero__ctas { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }
#top .hero__ctas--center { justify-content: center; }

#top .hero__media { position: relative; height: 100%; }
#top .hero__media-frame { position: relative; width: 100%; height: 100%; overflow: hidden; }
#top .hero__media-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
#top .hero__caption {
  position: absolute; left: 40px; bottom: 32px; z-index: 2;
  font-size: 12.5px; letter-spacing: .04em; color: var(--white);
  background: rgba(30,33,30,.55); padding: 12px 18px; backdrop-filter: blur(6px);
}

/* =========================================================
   SECTION 02 — INTRO SPLIT (SCAR / STRETCH MARK)
   ========================================================= */
#top #intro .section-head { max-width: 1400px; }
#top .split-duo { display: grid; grid-template-columns: 1fr 1fr; max-width: 1400px; margin: 0 auto; }
#top .split-duo__item { position: relative; }
#top .split-duo__media { position: relative; overflow: hidden; aspect-ratio: 16/9; }
#top .split-duo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-soft); }
#top .split-duo__item:hover .split-duo__media img { transform: scale(1.05); }
#top .split-duo__caption { padding: 36px 56px 0 48px; max-width: 480px; }
#top .split-duo__index {
  display: block; font-size: 13px; letter-spacing: .1em; color: var(--text-soft);
  margin-bottom: 16px; font-weight: 400;
}
#top .split-duo__caption h3 { font-size: 24px; margin-bottom: 20px; font-weight: 500; }
#top .split-duo__caption p { color: var(--text-soft); font-size: 15px; line-height: 1.9; }

/* =========================================================
   SECTION 03 — GOLDEN TIME (DARK)
   ========================================================= */
#top .golden { background: var(--dark); color: var(--bg); }
#top .golden .eyebrow { color: var(--accent-soft); }
#top .golden .eyebrow::before { background: var(--accent-soft); }
#top .golden__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 8vw; align-items: start; }
#top .golden h2 { color: var(--bg); font-size: clamp(30px,3.6vw,44px); font-weight: 500; }
#top .golden__number {
  display: flex; align-items: flex-end; gap: 14px; margin-top: 28px; line-height: .9;
}
#top .golden__number span { font-family: 's-core-dream', sans-serif; font-size: clamp(80px,11vw,148px); font-weight: 500; color: var(--accent-soft); }
#top .golden__number small { font-size: 16px; letter-spacing: .1em; color: var(--dark-soft); padding-bottom: 20px; text-transform: uppercase; }
#top .golden__intro p { color: var(--dark-soft); margin-top: 26px; font-size: 15.5px; max-width: 50ch; line-height: 1.9; }

#top .golden__timeline { border-top: 1px solid var(--line-on-dark); margin-top: 6px; }
#top .golden__timeline-item {
  display: flex; align-items: baseline; gap: 32px;
  padding: 34px 0; border-bottom: 1px solid var(--line-on-dark);
  list-style: none;
}
#top .golden__timeline-num { font-size: 14px; color: var(--accent-soft); letter-spacing: .1em; flex: none; width: 32px; }
#top .golden__timeline-body h4 { color: var(--bg); font-size: 18px; font-weight: 500; margin-bottom: 10px; }
#top .golden__timeline-body p { color: var(--dark-soft); font-size: 14.5px; line-height: 1.8; }

/* =========================================================
   SECTION 04 — SCAR TYPE GALLERY
   ========================================================= */
#top .case-gallery {
  display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto;
  gap: 56px 64px;
}
#top .case-gallery__item { grid-column: 2; }
#top .case-gallery__item:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
#top .case-gallery__item:nth-child(2) { grid-row: 1; }
#top .case-gallery__item:nth-child(3) { grid-row: 2; }
#top .case-gallery__item--wide { grid-column: 1 / -1; grid-row: auto; }

#top .case-gallery__media { position: relative; overflow: hidden; }
#top .case-gallery__item:nth-child(1) .case-gallery__media { aspect-ratio: 4/5; height: 100%; }
#top .case-gallery__item:nth-child(2) .case-gallery__media, #top .case-gallery__item:nth-child(3) .case-gallery__media { aspect-ratio: 4/3; }
#top .case-gallery__item--wide .case-gallery__media { aspect-ratio: 16/7; }
#top .case-gallery__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
#top .case-gallery__item:hover .case-gallery__media img { transform: scale(1.035); }

#top .case-gallery__item figcaption { display: flex; align-items: baseline; gap: 16px; margin-top: 22px; }
#top .case-gallery__item .idx { font-size: 12.5px; letter-spacing: .12em; color: var(--accent); font-weight: 500; flex: none; }
#top .case-gallery__item h4 { font-size: 17px; font-weight: 500; }

/* =========================================================
   SECTION 05 — UNDER THE SKIN
   ========================================================= */
#top .tissue-compare {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line);
}
#top .tissue-compare__item {
  border-right: 1px solid var(--line);
  padding: 44px 40px 0 0;
}
#top .tissue-compare__item:first-child { padding-left: 0; }
#top .tissue-compare__item:last-child { border-right: none; padding-right: 0; }
#top .tissue-compare__media { position: relative; overflow: hidden; aspect-ratio: 4/3; margin-bottom: 30px; }
#top .tissue-compare__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
#top .tissue-compare__item:hover .tissue-compare__media img { transform: scale(1.04); }
#top .tissue-compare__index { font-size: 12.5px; color: var(--accent); letter-spacing: .1em; font-weight: 500; }
#top .tissue-compare__body h4 { font-size: 16px; font-weight: 500; margin: 14px 0 14px; letter-spacing: .02em; }
#top .tissue-compare__body h4 small { display: block; font-size: 14px; color: var(--text-soft); font-weight: 300; margin-top: 6px; letter-spacing: 0; }
#top .tissue-compare__body p { font-size: 14.5px; color: var(--text-soft); line-height: 1.85; }
#top .wrap > .tissue-compare, #top section > .tissue-compare { margin: 0 auto; max-width: var(--container); padding: 0 48px; }

/* =========================================================
   SECTION 06 — STRETCH MARK STAGE
   ========================================================= */
#top .stretch-editorial { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8vw; align-items: center; }
#top .stretch-editorial__media { position: relative; overflow: hidden; aspect-ratio: 4/5; }
#top .stretch-editorial__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease); }
#top .stretch-editorial__media img.is-fading { opacity: 0; }

#top .stretch-tabs { display: flex; gap: 40px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
#top .stretch-tab {
  display: flex; align-items: baseline; gap: 10px; padding: 0 0 20px; cursor: pointer;
  color: var(--text-soft); position: relative; transition: color .3s var(--ease);
}
#top .stretch-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
#top .stretch-tab[aria-selected="true"] { color: var(--text); }
#top .stretch-tab[aria-selected="true"]::after { transform: scaleX(1); }
#top .stretch-tab__num { font-size: 12.5px; letter-spacing: .06em; }
#top .stretch-tab__label { font-size: 15px; letter-spacing: .12em; font-weight: 500; }

#top .tab-panel { display: none; }
#top .tab-panel[data-active="true"] { display: block; animation: fadeSlide .55s var(--ease-soft); }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
#top .tab-panel h4 { font-size: 20px; font-weight: 500; margin-bottom: 16px; }
#top .tab-panel p { color: var(--text-soft); font-size: 15px; line-height: 1.9; }

/* =========================================================
   SECTION 07 — TREATMENT OUTCOME
   ========================================================= */
#top .outcome-split { display: grid; grid-template-columns: 1fr 1fr; max-width: 960px; margin: 0 auto; }
#top .outcome-split__side { padding: 72px 64px; position: relative; }
#top .outcome-split__side--good { background: var(--white); }
#top .outcome-split__side--bad { background: var(--dark); color: var(--bg); }
#top .outcome-split__side--good::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 1px; background: var(--line);
}
#top .outcome-split__eyebrow {
  display: block; font-size: 12px; letter-spacing: .2em; margin-bottom: 26px; font-weight: 500;
  color: var(--good);
}
#top .outcome-split__side--bad .outcome-split__eyebrow { color: var(--accent-soft); }
#top .outcome-split__side h4 { font-size: 22px; font-weight: 500; margin-bottom: 36px; }
#top .outcome-split__side--bad h4 { color: var(--bg); }
#top .outcome-split__side ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
#top .outcome-split__side li {
  font-size: 15px; line-height: 1.8; padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--text-soft);
}
#top .outcome-split__side--bad li { border-top: 1px solid var(--line-on-dark); color: var(--dark-soft); }
#top .outcome-split__side li:first-child { border-top: none; padding-top: 0; }

/* =========================================================
   SECTION 08 — TREATMENT PROGRAM (ALTERNATING ROWS)
   ========================================================= */
#top .program-list { display: flex; flex-direction: column; gap: 130px; }
#top .program-row {
  display: grid; grid-template-columns: 11fr 9fr; align-items: center; gap: 6vw;
}
#top .program-row--reverse { grid-template-columns: 9fr 11fr; }
#top .program-row--reverse .program-row__media { order: 2; }
#top .program-row--reverse .program-row__body { order: 1; }

#top .program-row__media { position: relative; overflow: hidden; aspect-ratio: 16/11; }
#top .program-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-soft); }
#top .program-row:hover .program-row__media img { transform: scale(1.035); }

#top .program-row__num {
  display: block; font-size: 15px; letter-spacing: .1em; color: var(--accent); font-weight: 500; margin-bottom: 18px;
}
#top .program-row__body h3 { font-size: 28px; font-weight: 500; margin-bottom: 22px; }
#top .program-row__body h3 small { display: block; font-size: 15px; color: var(--text-soft); font-weight: 300; margin-top: 8px; }
#top .program-row__body p { color: var(--text-soft); font-size: 15.5px; line-height: 1.9; max-width: 46ch; }

/* =========================================================
   SECTION 09 — HOW WE TREAT (VERTICAL TIMELINE)
   ========================================================= */
#top .process { background: var(--dark); color: var(--bg); }
#top .process .section-head h2 { color: var(--bg); }
#top .process .section-head p , #top .process .section-head p strong { color: var(--dark-soft); }
#top .process .eyebrow { color: var(--accent-soft); }
#top .process .eyebrow::before { background: var(--accent-soft); }

#top .process-timeline { max-width: 780px; margin: 0 auto; }
#top .process-timeline__item {
  display: grid; grid-template-columns: 96px 1fr; gap: 40px;
  padding: 44px 0; border-top: 1px solid var(--line-on-dark); list-style: none;
}
#top .process-timeline__item:last-child { border-bottom: 1px solid var(--line-on-dark); }
#top .process-timeline__num {
  font-family: 's-core-dream', sans-serif; font-size: 40px; font-weight: 500; color: var(--accent-soft); line-height: 1;
}
#top .process-timeline__body h4 { color: var(--bg); font-size: 19px; font-weight: 500; margin-bottom: 12px; }
#top .process-timeline__body p { color: var(--dark-soft); font-size: 14.5px; line-height: 1.85; max-width: 50ch; }

/* =========================================================
   SECTION 10 — CLOSING CTA
   ========================================================= */
#top .closing { text-align: center; background: var(--bg); }
#top .closing h2 { font-size: clamp(28px,3.8vw,44px); max-width: 24ch; margin: 0 auto; font-weight: 500; line-height: 1.45; }
#top .closing p { margin-top: 24px; color: var(--text-soft); font-size: 15.5px; }
#top .info-bar {
  margin-top: 64px; display: flex; justify-content: center; gap: 44px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--text-soft); border-top: 1px solid var(--line); padding-top: 32px;
}
#top .info-bar strong { color: var(--text); font-weight: 500; margin-right: 8px; }

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
#top .site-footer { padding: 48px 0 40px; text-align: center; font-size: 12px; color: var(--text-soft); background: var(--bg); border-top: 1px solid var(--line); }
#top .site-footer .wrap { display: flex; flex-direction: column; gap: 14px; align-items: center; }
#top .site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
#top .site-footer nav a { color: var(--text-soft); transition: color .25s var(--ease); }
#top .site-footer nav a:hover { color: var(--text); }

/* =========================================================
   반응형 미디어 쿼리
   ========================================================= */

/* Large desktop refinement */
@media (min-width: 1600px) {
  #top .wrap { padding: 0 64px; }
  #top .hero__text { padding-left: 64px; }
}

/* Tablet: ~1024px */
@media (max-width: 1140px) {
  #top .wrap { padding: 0 36px; }
  #top section { padding: 120px 0; }
  #top .hero__text { padding: 64px 4vw 64px 36px; }
  #top .golden__grid { grid-template-columns: 1fr; gap: 64px; }
  #top .golden__timeline { margin-top: 0; }
  #top .program-row, #top .program-row--reverse { grid-template-columns: 1fr; gap: 32px; }
  #top .program-row--reverse .program-row__media, #top .program-row--reverse .program-row__body { order: initial; }
  #top .program-list { gap: 96px; }
}

@media (max-width: 1024px) {
  #top .case-gallery { grid-template-columns: 1fr; gap: 40px; }
  #top .case-gallery__item, #top .case-gallery__item:nth-child(1), #top .case-gallery__item:nth-child(2), #top .case-gallery__item:nth-child(3) {
    grid-column: 1; grid-row: auto;
  }
  #top .case-gallery__item:nth-child(1) .case-gallery__media { aspect-ratio: 16/10; height: auto; }
  #top .tissue-compare { grid-template-columns: 1fr; border-top: none; }
  #top .tissue-compare__item { border-right: none; border-top: 1px solid var(--line); padding: 44px 0 0 !important; margin-top: 44px; }
  #top .tissue-compare__item:first-child { margin-top: 0; border-top: none; padding-top: 0 !important; }
  #top .stretch-editorial { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  #top .hero__grid { grid-template-columns: 1fr; min-height: auto; }
  #top .hero__media { order: -1; aspect-ratio: 4/5; }
  #top .hero__text { padding: 56px 28px 56px; }
  #top .split-duo { grid-template-columns: 1fr; }
  #top .split-duo__caption { padding: 32px 28px 48px; max-width: none; }
}

@media (max-width: 860px) {
  #top .site-nav { display: none; }
  #top .header-cta .tel { display: none; }
  #top .outcome-split { grid-template-columns: 1fr; }
  #top .outcome-split__side--good::after { display: none; }
  #top .outcome-split__side--good { border-bottom: 1px solid var(--line); }
  #top .outcome-split__side { padding: 56px 32px; }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {
  #top .wrap { padding: 0 22px; }
  #top section { padding: 88px 0; }
  #top .section-head { margin-bottom: 56px; }
  #top .hero h1 { font-size: clamp(28px,7.2vw,38px); }
  #top .hero__caption { left: 20px; right: 20px; bottom: 20px; font-size: 11.5px; }
  #top .golden__number span { font-size: clamp(64px,20vw,96px); }
  #top .process-timeline__item { grid-template-columns: 56px 1fr; gap: 20px; padding: 32px 0; }
  #top .process-timeline__num { font-size: 28px; }
  #top .program-row__body h3 { font-size: 23px; }
  #top .site-header__inner { padding: 16px 22px; }
}

@media (max-width: 620px) {
  #top .hero__text { padding: 48px 20px 48px; }
  #top .golden__timeline-item { flex-direction: column; gap: 10px; padding: 26px 0; }
  #top .golden__timeline-num { width: auto; }
  #top .info-bar { gap: 20px; flex-direction: column; align-items: center; }
  #top .btnn { padding: 14px 24px; font-size: 13px; }
}

@media (max-width: 430px) {
  #top .wrap { padding: 0 18px; }
  #top section { padding: 72px 0; }
  #top .hero h1 { font-size: 28px; }
  #top .hero__lead { font-size: 14.5px; }
  #top .section-head h2 { font-size: 24px; }
  #top .split-duo__caption h3 { font-size: 20px; }
  #top .case-gallery__item h4 { font-size: 15.5px; }
  #top .stretch-tabs { gap: 24px; }
  #top .outcome-split__side { padding: 44px 20px; }
  #top .closing h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  #top * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}


/* =========================================================
   GEO / CONTENT ENHANCEMENT — scar2 additions
   ========================================================= */
#top .hero__seo-title { color: var(--text); }
#top .hero__lead strong, #top .section-head strong { color: var(--text); font-weight: 500; }

#top .scar-type-section { background: #fbfaf7; }
#top .scar-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
#top .scar-type-card { padding: 38px 34px 34px; border-right: 1px solid var(--line); min-height: 300px; }
#top .scar-type-card:last-child { border-right: none; }
#top .scar-type-card > span { display:block; color:var(--accent); font-size:12px; letter-spacing:.12em; margin-bottom:22px; }
#top .scar-type-card h3 { font-size:21px; margin-bottom:16px; }
#top .scar-type-card p { color:var(--text-soft); font-size:14.5px; line-height:1.85; }

#top .mapping { background: var(--white); }
#top .mapping-table { border-top:1px solid var(--line); }
#top .mapping-row { display:grid; grid-template-columns: 1fr 1.5fr 1.35fr; border-bottom:1px solid var(--line); }
#top .mapping-row > div { padding:24px 22px; color:var(--text-soft); font-size:14px; border-right:1px solid var(--line); line-height:1.75; }
#top .mapping-row > div:last-child { border-right:none; }
#top .mapping-row strong { color:var(--text); font-weight:500; }
#top .mapping-head { background:var(--bg); }
#top .mapping-head > div { color:var(--text); font-weight:500; font-size:13px; }

#top .program-focus-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-top:72px; }
#top .program-focus { padding:48px; background:var(--white); border:1px solid var(--line); }
#top .program-focus__num { display:block; color:var(--accent); font-size:13px; letter-spacing:.1em; margin-bottom:14px; }
#top .program-focus__tag { display:block; color:var(--text-soft); font-size:11px; letter-spacing:.18em; margin-bottom:16px; }
#top .program-focus h3 { font-size:27px; margin-bottom:16px; }
#top .program-focus p { color:var(--text-soft); font-size:14.5px; line-height:1.9; }
#top .text-link { display:inline-block; margin-top:26px; color:var(--accent); font-size:13px; border-bottom:1px solid rgba(139,94,75,.35); padding-bottom:4px; }

#top .content-hub { background:#fbfaf7; }
#top .video-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
#top .video-card { background:var(--white); border:1px solid var(--line); padding:24px; }
#top .video-card > span { color:var(--accent); font-size:11px; letter-spacing:.15em; }
#top .video-card h3 { font-size:18px; line-height:1.55; margin:14px 0 10px; }
#top .video-card p { color:var(--text-soft); font-size:13.5px; line-height:1.75; min-height:48px; }
#top .video-placeholder { margin-top:20px; aspect-ratio:16/9; background:#e9e6df; display:flex; align-items:center; justify-content:center; color:#88837b; font-size:11px; letter-spacing:.16em; }
#top .content-note { margin-top:26px; color:var(--text-soft); font-size:12px; line-height:1.8; }

#top .faq-section { background:var(--white); }
#top .faq-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:8vw; align-items:start; }
#top .faq-list { border-top:1px solid var(--line); }
#top .faq-item { border-bottom:1px solid var(--line); }
#top .faq-question { width:100%; display:flex; justify-content:space-between; align-items:center; gap:24px; padding:25px 0; text-align:left; cursor:pointer; color:var(--text); font-size:15px; font-weight:400; }
#top .faq-question i { font-style:normal; color:var(--accent); font-size:22px; line-height:1; transition:transform .3s var(--ease); }
#top .faq-item.is-open .faq-question i { transform:rotate(45deg); }
#top .faq-answer { max-height:0; overflow:hidden; transition:max-height .45s var(--ease-soft); }
#top .faq-answer p { padding:0 42px 25px 0; color:var(--text-soft); font-size:14px; line-height:1.9; }

@media (max-width: 1024px) {
  #top .scar-type-grid { grid-template-columns:1fr 1fr; }
  #top .scar-type-card:nth-child(2) { border-right:none; }
  #top .scar-type-card:nth-child(n+3) { border-top:1px solid var(--line); }
  #top .video-grid { grid-template-columns:1fr 1fr; }
  #top .faq-grid { grid-template-columns:1fr; gap:48px; }
}
@media (max-width: 768px) {
  #top .mapping-row { grid-template-columns:1fr; }
  #top .mapping-head { display:none; }
  #top .mapping-row > div { border-right:none; padding:13px 18px; }
  #top .mapping-row > div:first-child { padding-top:22px; padding-bottom:4px; }
  #top .mapping-row > div:nth-child(2) { padding-top:4px; padding-bottom:4px; }
  #top .mapping-row > div:last-child { padding-top:4px; padding-bottom:22px; }
  #top .program-focus-grid, #top .video-grid { grid-template-columns:1fr; }
  #top .program-focus { padding:34px 26px; }
  #top .scar-type-grid { grid-template-columns:1fr; }
  #top .scar-type-card { border-right:none; border-top:1px solid var(--line); min-height:auto; }
  #top .scar-type-card:first-child { border-top:none; }
  #top .faq-question { font-size:14px; padding:22px 0; }
}

/* =========================================================
   NINE ONE — scoped compatibility fixes
   ========================================================= */
#top {
  position: relative;
  width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 's-core-dream', 'Apple SD Gothic Neo', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#top .tag--clay {
  color: var(--accent);
}

#top .case-gallery__item--lg {
  position: relative;
}

#top .stretch-editorial__content {
  min-width: 0;
  width: 100%;
}

/* 공통 테마의 section / h태그 / p / a / img 규칙보다 우선 */
#top section {
  box-sizing: border-box;
}

#top img {
  max-width: 100%;
  height: auto;
}

#top .hero__media-frame img,
#top .split-duo__media img,
#top .case-gallery__media img,
#top .tissue-compare__media img,
#top .stretch-editorial__media img,
#top .program-row__media img {
  height: 100%;
}

/* reveal 스크립트가 아직 실행되지 않은 환경에서도 콘텐츠가 완전히 숨지지 않도록 안전장치 */
html.no-js #top .reveal,
html.no-js #top .reveal-scale {
  opacity: 1;
  transform: none;
}



/* =========================================================
   NINE ONE SCAR — GEO / ENTITY 강화 UI
   ========================================================= */

.scar-entity-section {
  padding: 150px 0;
}

.scar-entity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.scar-entity-card {
  position: relative;
  padding: 42px;
  border: 1px solid rgba(0,0,0,.1);
  background: #fff;
  min-height: 320px;
}

.scar-entity-card__num {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  margin-bottom: 35px;
  opacity: .5;
}

.scar-entity-card h3 {
  margin: 15px 0;
  font-size: 28px;
  line-height: 1.2;
}

.scar-entity-card p {
  margin: 0 0 28px;
  line-height: 1.8;
  color: #666;
}

.scar-entity-card .text-link {
  display: inline-flex;
  margin-top: auto;
}


/* =========================================================
   성형 후 흉터 연결
   ========================================================= */

.scar-plastic-link {
  padding: 150px 0;
  background: #f7f6f2;
}

.scar-plastic-content {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  margin-top: 70px;
  align-items: start;
}

.scar-plastic-copy h3 {
  margin: 20px 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
}

.scar-plastic-copy p {
  max-width: 620px;
  color: #666;
  line-height: 1.9;
}

.scar-plastic-steps {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0,0,0,.15);
}

.scar-plastic-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(0,0,0,.15);
}

.scar-plastic-step strong {
  font-size: 13px;
  letter-spacing: .1em;
  opacity: .5;
}

.scar-plastic-step h4 {
  margin: 0 0 8px;
  font-size: 20px;
}

.scar-plastic-step p {
  margin: 0;
  color: #666;
  line-height: 1.7;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 900px) {

  .scar-entity-grid {
    grid-template-columns: 1fr;
  }

  .scar-entity-card {
    min-height: auto;
  }

  .scar-plastic-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

}

@media (max-width: 640px) {

  .scar-entity-section,
  .scar-plastic-link {
    padding: 90px 0;
  }

  .scar-entity-card {
    padding: 30px;
  }

  .scar-entity-card h3 {
    font-size: 24px;
  }

  .scar-plastic-step {
    grid-template-columns: 45px 1fr;
    gap: 12px;
  }

}