/* =========================================================
   HERSHE prototype – design tokens from Figma file u3P3aUNbgHEHWZBbkqQkwo
   ========================================================= */
:root {
  --plum: #4a1962;
  --plum-deep: #3a1150;
  --plum-line: #7a4a8a;
  --ink: #252126;
  --nav-ink: #2e2e2e;
  --muted: #756e74;
  --line: #d7cdd2;
  --lilac-line: #c8bdd4;
  --paper: #f8f7f5;
  --lilac: #eae4ef;
  --placeholder: #f2eeef;
  --case: #523747;
  --white: #fff;

  --serif: 'Lora', 'Noto Serif KR', Georgia, serif;
  --sans: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  --gutter: clamp(16px, 6.667vw, 96px);
  --maxw: 1440px;
  --hd-h: 104px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--plum); color: #fff; padding: 10px 16px; font-size: 14px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.serif { font-family: var(--serif); font-weight: 400; }
.ext { font-size: .82em; margin-left: .3em; opacity: .7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  height: 54px; padding: 0 24px;
  border: 1px solid var(--plum);
  font-size: 14px; line-height: 1; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn--solid { background: var(--plum); color: var(--paper); }
.btn--solid:hover { background: var(--plum-deep); border-color: var(--plum-deep); }
.btn--line { background: var(--paper); color: var(--plum); }
.btn--line:hover { background: var(--plum); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translate(2px, -2px); }

/* =========================================================
   Header
   ========================================================= */
#site-header { height: var(--hd-h); }
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--hd-h);
  display: flex; align-items: center;
  padding: 0 4px 0 30px;
  background: var(--white);
  transition: transform .35s var(--ease), box-shadow .3s var(--ease);
}
.hd.is-scrolled { box-shadow: 0 1px 0 rgba(74, 25, 98, .08), 0 8px 24px rgba(37, 33, 38, .04); }
body.hd-hidden .hd { transform: translateY(-100%); }
.hd__logo { flex: 0 0 auto; width: 105px; display: block; }
.hd__logo img { width: 105px; height: auto; }

.gnb { flex: 1 1 auto; height: 100%; margin-left: 4px; }
.gnb__list { display: flex; height: 100%; justify-content: space-between; padding-right: clamp(12px, 2vw, 36px); }
.gnb__item { position: relative; display: flex; align-items: center; height: 100%; }
.gnb__link {
  position: relative; display: block; padding: 0 clamp(4px, 1.1vw, 16px);
  font-size: 13px; color: var(--nav-ink); white-space: nowrap; line-height: 104px;
  transition: color .25s var(--ease);
}
.gnb__link::after {
  content: ''; position: absolute; left: 50%; right: 50%; bottom: 30px; height: 1px; background: var(--plum);
  transition: left .3s var(--ease), right .3s var(--ease);
}
.gnb__item:hover .gnb__link, .gnb__item.is-open .gnb__link, .gnb__item.is-active .gnb__link { color: var(--plum); }
.gnb__item:hover .gnb__link::after, .gnb__item.is-open .gnb__link::after, .gnb__item.is-active .gnb__link::after { left: clamp(4px, 1.1vw, 16px); right: clamp(4px, 1.1vw, 16px); }
.gnb__item.is-active .gnb__link { font-weight: 500; }

.gnb__panel {
  position: absolute; top: 100%; left: 50%; min-width: 190px;
  transform: translate(-50%, 6px);
  background: var(--white);
  border-top: 2px solid var(--plum);
  box-shadow: 0 18px 40px rgba(37, 33, 38, .08);
  padding: 14px 0;
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.gnb__item.is-open .gnb__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.gnb__panel a {
  display: block; padding: 8px 22px; font-size: 13px; color: var(--muted); white-space: nowrap;
  transition: color .2s, background-color .2s, padding-left .25s var(--ease);
}
.gnb__panel a:hover, .gnb__panel a:focus-visible { color: var(--plum); background: var(--lilac); padding-left: 26px; }
.gnb__panel a.is-current { color: var(--plum); font-weight: 500; }
.gnb__panel em { font-style: normal; font-size: 10px; letter-spacing: .02em; color: var(--plum); border: 1px solid var(--lilac-line); padding: 1px 5px; margin-left: 4px; vertical-align: 1px; }

.hd__tools { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; padding-right: 10px; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  transition: background-color .25s var(--ease);
}
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--lilac); }
.icon-btn img { width: 23px; height: auto; }
.icon-btn--menu { gap: 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.icon-btn--menu span { display: block; width: 22px; height: 2px; background: var(--nav-ink); transition: width .3s var(--ease); }
.icon-btn--menu:hover span:nth-child(2) { width: 16px; }

.lang { position: relative; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; z-index: 5;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(37, 33, 38, .1); padding: 8px 0;
}
.lang__menu a { display: block; padding: 9px 18px; font-size: 13px; color: var(--muted); transition: color .2s, background-color .2s; }
.lang__menu a:hover { background: var(--lilac); color: var(--plum); }
.lang__menu a.is-current { color: var(--plum); font-weight: 500; }

/* ---------- Overlays (full menu / search) ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 100; overflow-y: auto;
  background: var(--paper);
  opacity: 0; transform: translateY(-12px);
  transition: opacity .26s var(--ease), transform .26s var(--ease);
}
.overlay.is-open { opacity: 1; transform: none; }
.overlay__bar { display: flex; align-items: center; justify-content: space-between; height: 88px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 2; }
.overlay__close { font-family: var(--serif); color: var(--plum); font-size: 15px; display: inline-flex; gap: 10px; align-items: center; padding: 10px 0; }
.overlay__close span { font-family: var(--sans); font-size: 18px; transition: transform .3s var(--ease); }
.overlay__close:hover span { transform: rotate(90deg); }

.am__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 48px 32px; padding: 56px var(--gutter) 40px; }
.am__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px; }
.am__title { font-size: 16px; font-weight: 500; color: var(--ink); transition: color .2s; }
.am__title:hover, .am__col.is-active .am__title { color: var(--plum); }
.am__toggle { display: none; }
.am__list a { display: block; padding: 5px 0; font-size: 14px; color: var(--muted); transition: color .2s, transform .25s var(--ease); }
.am__list a:hover { color: var(--plum); transform: translateX(3px); }
.am__foot { display: flex; flex-wrap: wrap; gap: 12px; padding: 8px var(--gutter) 56px; }

.srch__eyebrow { font-family: var(--serif); color: var(--plum); font-size: 22px; }
.srch__body { max-width: 860px; margin: 0 auto; padding: 72px var(--gutter); }
.srch__label { display: block; font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; margin-bottom: 24px; }
.srch__input {
  width: 100%; height: 64px; border: 0; border-bottom: 2px solid var(--plum); background: transparent;
  font: inherit; font-size: 22px; color: var(--ink); padding: 0 4px; border-radius: 0;
}
.srch__input:focus { outline: none; border-bottom-color: var(--plum-deep); }
.srch__hint { font-size: 13px; color: var(--muted); margin: 12px 0 28px; }
.srch__results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.srch__results a { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; transition: color .2s, padding-left .25s var(--ease); }
.srch__results a:hover { color: var(--plum); padding-left: 6px; }
.srch__group { flex: 0 0 84px; font-size: 11px; color: var(--muted); }
.srch__empty { color: var(--muted); font-size: 14px; padding: 14px 0; }

/* ---------- Floating quick menu ---------- */
.quick {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 50;
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(37, 33, 38, .08);
}
.quick__item {
  width: 72px; padding: 12px 4px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); text-align: center; line-height: 1.2;
  transition: background-color .25s, color .25s;
}
.quick__item:last-child { border-bottom: 0; }
.quick__item img { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.quick__item:hover { background: var(--lilac); color: var(--plum); }
.quick__item:hover img { transform: translateY(-2px); }
.quick__top { font-family: var(--serif); color: var(--plum); }
.quick__top span:first-child { font-size: 16px; }

/* =========================================================
   Motion
   ========================================================= */
/* Hidden state only applies once the page script has started (html.js), so content stays readable without it */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatYs { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 25, 98, .35); } 70% { box-shadow: 0 0 0 12px rgba(74, 25, 98, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 25, 98, 0); } }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(4px); opacity: .6; } }
.float { animation: floatY 9s ease-in-out infinite; will-change: transform; }
.float-s { animation: floatYs 7s ease-in-out infinite; }
.float-delay { animation-delay: -3.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   BODY FILLER PAGE  (Figma node 20:2616)
   ========================================================= */
/* 1. Cover – full-bleed background with the model on the right (ref: Shoulder Filler cover) */
.cover {
  position: relative; overflow: hidden;
  height: min(calc(100vh - var(--hd-h)), 800px); min-height: 640px;
  background:
    radial-gradient(ellipse 55% 75% at 74% 42%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(100deg, var(--paper) 0%, var(--paper) 38%, #efe9ea 100%);
}
.cover__bg { position: absolute; inset: 0; pointer-events: none; }
/* Model keeps its proportions (height-driven); the cover crops it responsively. */
.cover__model {
  position: absolute; top: 3%; left: 71%;
  height: 245%; width: auto; max-width: none;
  translate: -50% 0;
}
.cover__in { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; }
.cover__caption { position: absolute; right: var(--gutter); bottom: 24px; flex-direction: column; align-items: flex-end; gap: 2px; }
.nowrap { white-space: nowrap; }
.bf-hero__text { flex: 0 0 auto; width: min(610px, 46%); display: flex; flex-direction: column; gap: 28px; }
.crumb { font-size: 12px; color: var(--muted); }
.crumb a { transition: color .2s; }
.crumb a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.bf-hero__title { font-family: var(--serif); font-weight: 400; color: var(--plum); font-size: clamp(48px, 6.111vw, 88px); line-height: 1.03; letter-spacing: -.005em; }
.bf-hero__name { font-size: clamp(24px, 2.083vw, 30px); font-weight: 500; color: var(--ink); line-height: 1.3; }
.bf-hero__desc { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.9; color: var(--muted); max-width: 510px; }
.bf-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 12px; }
.bf-hero__sig { font-family: var(--serif); color: var(--plum); font-size: 17px; }

.crop { position: relative; overflow: hidden; }
.crop > img { position: absolute; max-width: none; }
.caption { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.caption .serif { font-size: 12px; }
.caption span:last-child { font-size: 11px; }

/* Section nav */
.secnav {
  position: sticky; top: 0; z-index: 40;
  height: 64px; background: rgba(248, 247, 245, .96);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
  transition: top .35s var(--ease), box-shadow .3s;
}
body:not(.hd-hidden) .secnav.is-stuck, body:not(.hd-hidden) .secnav { top: var(--hd-h); }
.secnav.is-stuck { box-shadow: 0 8px 20px rgba(37, 33, 38, .05); }
.secnav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.secnav__cur { font-size: 14px; font-weight: 700; color: var(--plum); white-space: nowrap; }
.secnav__links { display: flex; gap: 38px; }
.secnav__links a { position: relative; font-size: 13px; color: var(--muted); white-space: nowrap; padding: 22px 0; transition: color .2s; }
.secnav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--plum); transform: scaleX(0); transition: transform .3s var(--ease); }
.secnav__links a:hover { color: var(--plum); }
.secnav__links a.is-active { color: var(--plum); font-weight: 500; }
.secnav__links a.is-active::after { transform: scaleX(1); }
.secnav__cue { font-family: var(--serif); color: var(--plum); font-size: 12px; white-space: nowrap; display: inline-flex; gap: 4px; }
.secnav__cue span { display: inline-block; animation: cue 2.4s ease-in-out infinite; }

/* Concept */
.concept { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 64px; }
.concept__intro { display: flex; gap: 80px; align-items: flex-start; }
.concept__head { flex: 0 0 500px; display: flex; flex-direction: column; gap: 24px; }
.h-editorial { font-family: var(--serif); font-weight: 400; color: var(--plum); font-size: clamp(36px, 3.611vw, 52px); line-height: 1.15; }
.h-editorial--54 { font-size: clamp(38px, 3.75vw, 54px); }
.h-ko { font-size: clamp(22px, 1.944vw, 28px); font-weight: 500; line-height: 1.5; color: var(--ink); }
.h-ko--30 { font-size: clamp(22px, 2.083vw, 30px); }
.lead { font-size: 16px; line-height: 1.9; color: var(--muted); }
.concept__body { flex: 1 1 0; font-size: 17px; line-height: 2; color: var(--muted); }
.concept__label { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.4; color: var(--plum); margin-bottom: 10px; }
.concept__lead { font-size: clamp(20px, 1.667vw, 24px); font-weight: 700; line-height: 1.5; color: var(--ink); margin-bottom: 8px; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.fact dt { font-size: 12px; color: var(--muted); margin-bottom: 13px; }
.fact dd { margin: 0; font-size: 16px; color: var(--ink); }

/* Principles */
.principles { background: var(--plum); color: var(--paper); }
.principles__in { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 56px; }
.principles__intro { display: flex; gap: 64px; align-items: center; }
.principles__head { flex: 0 0 560px; display: flex; flex-direction: column; gap: 16px; }
.principles__eyebrow { font-family: var(--serif); font-style: italic; color: var(--lilac); font-size: 17px; }
.principles__title { font-size: clamp(22px, 2.083vw, 30px); line-height: 1.5; font-weight: 400; color: var(--paper); }
.principles__desc { flex: 1 1 0; font-size: 16px; line-height: 1.9; color: var(--lilac); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar { border-top: 1px solid var(--plum-line); padding-top: 24px; display: flex; flex-direction: column; gap: 22px; }
.pillar__word { font-family: var(--serif); font-size: clamp(38px, 3.611vw, 52px); line-height: 1.28; color: var(--paper); }
.pillar__meaning { font-size: 16px; color: var(--lilac); }
.pillar { transition: border-color .4s var(--ease); }
.pillar:hover { border-color: var(--lilac); }

/* Treatment map */
.areas { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 40px; }
.sec-head { display: flex; flex-direction: column; gap: 18px; }
/* 4. Body area visualization – rebuilt from separate assets.
   Coordinates use the 1672 × 941 reference composition; --x / --y / --s are in reference pixels. */
.vz-scroll { width: 100%; }
.vz {
  --vz-w: 1672; --vz-h: 941;
  --vz-ink: #4a2b3b; --vz-line: #6e5161;
  position: relative; width: 100%; aspect-ratio: 1672 / 941; overflow: hidden;
  container-type: inline-size;
  background: linear-gradient(180deg, #faf8f7 0%, #f6f3f2 100%);
}
.vz > * { position: absolute; }
.vz__sub {
  left: 0; right: 0; top: calc(98 / 941 * 100%);
  text-align: center; font-size: 1.32cqw; line-height: 1.4; color: #4f3f48; letter-spacing: .01em;
}
.vz__front { left: calc(338 / 1672 * 100%); top: calc(118 / 941 * 100%); width: calc(761.4 / 1672 * 100%); height: auto; max-width: none; }
.vz__panel {
  left: calc(1118 / 1672 * 100%); top: calc(182 / 941 * 100%);
  width: calc(395 / 1672 * 100%); height: calc(581 / 941 * 100%);
  overflow: hidden; border-radius: 1.9cqw;
  border: 1px solid #e6d8dc;
  background: linear-gradient(180deg, #f8f4f4 0%, #f1ebec 100%);
}
.vz__back { position: absolute; left: -49.62%; top: -0.17%; width: 194.13%; height: auto; max-width: none; }
.vz__circle {
  left: calc(var(--x) / 1672 * 100%); top: calc(var(--y) / 941 * 100%);
  width: calc(var(--s) / 1672 * 100%); height: auto; aspect-ratio: 1; max-width: none;
}
.vz__circle--crop { overflow: hidden; border-radius: 50%; }
/* 골반 circle: crop of the existing body-map.png (no separate circle asset supplied) */
.vz__circle--crop > img { position: absolute; left: 0; top: 0; width: calc(1672 / 164 * 100%); height: auto; max-width: none; translate: calc(-143 / 1672 * 100%) calc(-515 / 941 * 100%); }
.vz__lines { inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.vz__lines polyline { fill: none; stroke: var(--vz-line); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.vz__dot {
  left: calc(var(--x) / 1672 * 100%); top: calc(var(--y) / 941 * 100%);
  width: .72cqw; height: .72cqw; min-width: 6px; min-height: 6px; border-radius: 50%;
  background: var(--vz-ink); translate: -50% -50%;
  transition: scale .3s var(--ease), background-color .3s;
}
.vz__dot.is-hl { scale: 1.6; background: var(--plum); }
.vz__dot--pulse { animation: pulse 2.8s ease-out infinite; }
.vz__script { left: calc(1226 / 1672 * 100%); top: calc(766.5 / 941 * 100%); width: calc(411.4 / 1672 * 100%); height: auto; max-width: none; pointer-events: none; }

/* Labels are the area links; they reuse the hotspot hover / tooltip / pulse treatment. */
.vz__label {
  left: calc(var(--x) / 1672 * 100%); top: calc(var(--y) / 941 * 100%);
  translate: -.55em -50%;
  display: flex; align-items: center;
  padding: .28em .55em; border-radius: 2em; border: 1px solid transparent;
  font-size: 1.555cqw; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--vz-ink); white-space: nowrap;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s;
}
.vz__label--end { translate: calc(-100% + .55em) -50%; }
.vz__label:hover, .vz__label:focus-visible, .vz__label.is-hl { background: rgba(255, 255, 255, .94); border-color: var(--plum); color: var(--plum); box-shadow: 0 6px 18px rgba(74, 25, 98, .14); }
.vz__label .tip { position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 4px); font-size: 11px; font-weight: 400; color: var(--plum); background: var(--white); border: 1px solid var(--line); padding: 3px 8px; white-space: nowrap; opacity: 0; transition: opacity .25s, transform .25s var(--ease); pointer-events: none; }
.vz__label:hover .tip, .vz__label:focus-visible .tip, .vz__label.is-hl .tip { opacity: 1; transform: translate(-50%, 0); }
.vz__label--pulse::after { content: ''; position: absolute; inset: -1px; border-radius: 2em; animation: pulse 2.8s ease-out infinite; pointer-events: none; }
.map-note { font-size: 13px; line-height: 1.8; color: var(--muted); text-align: center; }

/* Treatment discovery */
.discovery { background: var(--lilac); }
.discovery__in { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
.card { display: flex; flex-direction: column; gap: 20px; color: inherit; position: relative; }
.card__img { position: relative; overflow: hidden; aspect-ratio: 294 / 280; background: #f1edef; }
.card__img > img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease); }
/* Crop of the supplied 1080 × 1350 model image: --x / --y = crop origin, --w = crop width (source px) */
.card__img--crop { background: #fff; }
.card__img--crop > img {
  width: calc(1080 / var(--w) * 100%); height: auto; max-width: none; object-fit: fill;
  translate: calc(var(--x) / 1080 * -100%) calc(var(--y) / 1350 * -100%);
  transform-origin: calc(var(--x) / 1080 * 100% + var(--w) / 1080 * 50%) calc(var(--y) / 1350 * 100% + var(--w) / 1350 * 50%);
}
.card__info { display: flex; flex-direction: column; gap: 12px; min-height: 210px; }
.card__cat { display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: var(--muted); letter-spacing: .02em; }
.card__cat .soon { font-size: 11px; letter-spacing: 0; }
.card__name { font-size: 23px; font-weight: 500; color: var(--plum); line-height: 1.25; }
.card__desc { font-size: 14px; line-height: 1.85; color: var(--ink); }
.card__focus { font-size: 12px; line-height: 1.8; color: var(--muted); }
.card__action { border-top: 1px solid var(--line); padding: 15px 0 8px; font-size: 13px; color: var(--plum); display: flex; justify-content: space-between; align-items: center; transition: border-color .3s var(--ease); }
.card__action .arr { display: inline-block; transition: transform .3s var(--ease); }
a.card:hover .card__img > img, a.card.is-hl .card__img > img { scale: 1.045; }
a.card:hover .card__action, a.card.is-hl .card__action { border-color: var(--plum); }
a.card:hover .card__action .arr { transform: translate(3px, -3px); }
a.card::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--plum); transition: right .45s var(--ease); }
a.card:hover::after, a.card.is-hl::after { right: 0; }
.card--soon { cursor: default; }
.card--soon .card__img > img { filter: saturate(.75); }
.card--soon .card__action { color: var(--muted); }

.disc-note { font-size: 13px; line-height: 1.8; color: #665d64; text-align: center; }
.solution { padding-top: 40px; display: flex; flex-direction: column; gap: 32px; }
.solution__title { font-family: var(--serif); font-weight: 400; color: var(--plum); font-size: clamp(28px, 2.5vw, 36px); line-height: 1.3; }
.solution__sub { font-size: clamp(19px, 1.736vw, 25px); color: var(--ink); line-height: 1.4; }
.dist { border-top: 1px solid var(--line); padding: 24px 0; display: flex; gap: 24px; align-items: center; transition: background-color .3s var(--ease), padding-left .3s var(--ease); }
.dist:last-child { border-bottom: 0; }
.dist:hover { background: rgba(248, 247, 245, .55); padding-left: 12px; }
.dist__no { flex: 0 0 48px; font-family: var(--serif); font-size: 24px; color: var(--plum); }
.dist__goal { flex: 0 0 440px; font-size: 17px; line-height: 1.7; color: var(--ink); }
.dist__text { flex: 1 1 0; font-size: 14px; line-height: 1.9; color: var(--muted); }

/* Clinical approach */
.pro { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 48px; }
.pro__grid { display: flex; gap: 64px; align-items: flex-start; }
.pro__portrait { flex: 0 0 350px; display: flex; flex-direction: column; gap: 18px; }
.crop--doc { aspect-ratio: 350 / 300; background: #3a3030; }
.crop--doc > img { left: -297.994%; top: -115.998%; width: 546.132%; height: 291.5%; }
.pro__cap { font-size: 12px; line-height: 1.8; color: var(--muted); }
.pro__phil { font-size: 16px; line-height: 1.9; color: var(--ink); }
.timeline { flex: 1 1 0; }
.rec { border-top: 1px solid var(--line); padding: 24px 0; display: flex; gap: 28px; transition: padding-left .3s var(--ease); }
.rec:hover { padding-left: 8px; }
.rec__year { flex: 0 0 140px; font-family: var(--serif); color: var(--plum); font-size: 30px; line-height: 1.25; }
.rec__body { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; }
.rec__text { font-size: 17px; line-height: 1.7; color: var(--ink); }
.rec__src { font-size: 11px; color: var(--muted); }
.timeline__note { font-size: 12px; line-height: 1.9; color: var(--muted); }
.timeline__note a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }

.process { border-top: 1px solid var(--line); }
.process__in { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 48px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.step { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.step::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--plum); transition: width .8s var(--ease); transition-delay: var(--d, 0s); }
.step.is-in::before { width: 100%; }
.step__no { font-family: var(--serif); font-style: italic; color: var(--plum); font-size: 40px; line-height: 1.28; }
.step__title { font-size: 22px; font-weight: 500; color: var(--ink); }
.step__text { font-size: 15px; line-height: 1.9; color: var(--muted); }

/* Fill & Fit */
.fill { background: var(--lilac); }
.fill__in { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; align-items: center; gap: 48px; text-align: center; }
.fill__title { font-family: var(--serif); color: var(--plum); font-size: clamp(56px, 6.389vw, 92px); line-height: 1.1; font-weight: 400; }
.fill__text { font-size: clamp(20px, 1.944vw, 28px); line-height: 1.7; color: var(--plum); }
.dims { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; border-top: 1px solid var(--lilac-line); padding-top: 28px; }
.dim { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.dim__word { font-family: var(--serif); color: var(--plum); font-size: 26px; line-height: 1.28; }
.dim__text { font-size: 14px; color: var(--muted); }

/* Before & After */
.ba { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.ba__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.ba__more { font-size: 14px; color: var(--plum); border-bottom: 1px solid var(--plum); padding-bottom: 4px; white-space: nowrap; transition: opacity .2s; }
.ba__more:hover { opacity: .7; }
.case__name { font-size: 18px; color: var(--case); }
/* 453 × 200 comparison slots, grouped by treatment (one complete before/after image per slot) */
.ba-groups { display: flex; flex-direction: column; }
.ba-group { display: grid; grid-template-columns: 200px 1fr; gap: 24px 48px; align-items: start; border-top: 1px solid var(--line); padding: 32px 0; }
.ba-group:last-child { border-bottom: 1px solid var(--line); }
.ba-group__name { padding-top: 4px; }
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 453px)); gap: 24px; }
.ba-box { margin: 0; position: relative; width: 100%; aspect-ratio: 453 / 200; overflow: hidden; background: var(--placeholder); border: 1px solid var(--line); }
.ba-box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__note { font-size: 13px; line-height: 1.9; color: var(--muted); }

/* Treatment directory */
.select { background: var(--lilac); }
.select__in { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.dir { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dir__item {
  height: 72px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between;
  background: var(--paper); border: 1px solid var(--line); color: var(--plum); font-size: 16px;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.dir__item .arr { font-size: 12px; transition: transform .3s var(--ease); }
a.dir__item:hover, a.dir__item:focus-visible { background: var(--plum); color: var(--paper); border-color: var(--plum); }
a.dir__item:hover .arr { transform: translate(2px, -2px); }
.dir--six { grid-template-columns: repeat(3, 1fr); }

/* FAQ */
.faq { padding-top: 104px; padding-bottom: 104px; display: flex; gap: 72px; align-items: flex-start; }
.faq__intro { flex: 0 0 310px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--hd-h) + 96px); }
.faq__big { font-family: var(--serif); color: var(--plum); font-size: 64px; line-height: 1.28; }
.faq__title { font-size: 28px; line-height: 1.6; font-weight: 400; color: var(--ink); }
.faq__note { font-size: 14px; line-height: 1.9; color: var(--muted); }
.faq__all { align-self: flex-start; font-size: 13px; color: var(--plum); border: 1px solid var(--line); padding: 10px 16px; transition: background-color .25s, color .25s; }
.faq__all:hover { background: var(--plum); color: var(--paper); border-color: var(--plum); }
.faq__list { flex: 1 1 0; }
.faq__item { border-top: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; display: flex; gap: 16px; align-items: flex-start; padding: 28px 0; }
.faq__no { flex: 0 0 40px; font-family: var(--serif); color: var(--plum); font-size: 16px; line-height: 1.8; }
.faq__qt { flex: 1 1 0; font-size: 17px; line-height: 1.7; font-weight: 500; color: var(--ink); transition: color .2s; }
.faq__q:hover .faq__qt { color: var(--plum); }
.faq__ic { flex: 0 0 20px; height: 29px; position: relative; }
.faq__ic::before, .faq__ic::after { content: ''; position: absolute; left: 3px; right: 3px; top: 14px; height: 1px; background: var(--plum); transition: transform .3s var(--ease); }
.faq__ic::after { transform: rotate(90deg); }
.faq__item.is-open .faq__ic::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 36px 28px 56px; font-size: 15px; line-height: 1.9; color: var(--muted); }

.safety { background: var(--lilac); }
.safety__in { padding-top: 36px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.safety__label { font-size: 13px; font-weight: 500; color: var(--plum); }
.safety__text { font-size: 14px; line-height: 1.9; color: var(--ink); }

/* =========================================================
   Footer (Figma 20:3000)
   ========================================================= */
.ft { background: var(--plum); color: var(--paper); }
.ft__in { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 40px; }
.ft__id { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.ft__brand { display: flex; flex-direction: column; gap: 10px; font-family: var(--serif); }
.ft__word { font-size: 48px; line-height: 1.28; color: var(--paper); transition: opacity .2s; }
.ft__word:hover { opacity: .85; }
.ft__sig { font-size: 15px; color: var(--lilac); }
.ft__clinic { font-size: 18px; }
.ft__top { font-family: var(--serif); font-size: 15px; color: var(--lilac); display: inline-flex; gap: 6px; transition: color .2s; }
.ft__top:hover { color: var(--white); }
.ft__top span { display: inline-block; transition: transform .3s var(--ease); }
.ft__top:hover span { transform: translateY(-3px); }
.ft__info { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; font-size: 13px; line-height: 1.9; color: var(--lilac); border-top: 1px solid var(--plum-line); padding-top: 28px; }
.ft__info h3 { font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--paper); margin-bottom: 8px; }
.ft__info a { transition: color .2s; }
.ft__info a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.ft__sns { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ft__sig2 { border-top: 1px solid var(--plum-line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; font-size: 11px; color: var(--lilac); }
.ft__sig2 a:hover { color: var(--white); }


/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .gnb__link { font-size: 12.5px; }
  .concept__head { flex-basis: 420px; }
  .principles__head { flex-basis: 460px; }
  .dist__goal { flex-basis: 360px; }
  .am__grid { grid-template-columns: repeat(4, 1fr); }
  .ba-group { grid-template-columns: 160px 1fr; gap: 20px 32px; }
}

@media (max-width: 1100px) {
  :root { --hd-h: 72px; }
  .hd { padding-left: 20px; }
  .gnb { display: none; }
  .hd__tools { margin-left: auto; }
  .hd__logo, .hd__logo img { width: 88px; }

  .cover__model { left: 73%; height: 235%; }
  .bf-hero__text { width: min(560px, 52%); }
  .concept__intro, .principles__intro, .pro__grid, .faq { flex-direction: column; gap: 32px; }
  .concept__head, .principles__head, .pro__portrait, .faq__intro { flex-basis: auto; width: 100%; }
  .faq__intro { position: static; }
  .pro__portrait { max-width: 420px; }
  .facts { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card__info { min-height: 0; }
  .dir { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .dims { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .dist { flex-wrap: wrap; gap: 8px 24px; }
  .dist__goal { flex: 1 1 calc(100% - 72px); }
  .dist__text { flex-basis: 100%; padding-left: 72px; }
  .secnav__cue { display: none; }
  .ba-group { grid-template-columns: 1fr; gap: 16px; }
  .ft__info { grid-template-columns: 1fr 1fr; }
  .am__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --hd-h: 64px; }
  body { font-size: 15px; }
  .hd { padding-left: 16px; padding-right: 0; }
  .hd__logo, .hd__logo img { width: 80px; }
  .hd__tools { gap: 0; padding-right: 6px; }

  /* Cover: text on top, model fills the lower/right part of the same background */
  .cover { height: auto; min-height: 0; }
  .cover__in { height: auto; min-height: 820px; align-items: flex-start; padding-top: 40px; padding-bottom: 72px; }
  .cover__model { top: 390px; left: 62%; height: 1100px; }
  .cover__bg::after {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 470px;
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 62%, rgba(248, 247, 245, 0) 100%);
  }
  .bf-hero__text { width: 100%; gap: 20px; }
  .bf-hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .cover__caption { bottom: 20px; text-shadow: 0 0 6px rgba(255, 255, 255, .9), 0 0 2px rgba(255, 255, 255, .9); }

  .secnav { height: 52px; }
  .secnav__cur { display: none; }
  .secnav__in { padding-right: 0; }
  .secnav__links { gap: 24px; overflow-x: auto; scrollbar-width: none; padding-right: 16px; -webkit-overflow-scrolling: touch; }
  .secnav__links::-webkit-scrollbar { display: none; }
  .secnav__links a { padding: 16px 0; }

  .concept, .areas, .pro, .faq { padding-top: 72px; padding-bottom: 72px; }
  .discovery__in, .ba { padding-top: 72px; padding-bottom: 72px; }
  .principles__in, .process__in, .fill__in, .select__in { padding-top: 64px; padding-bottom: 64px; }
  .concept__body { font-size: 15px; line-height: 1.95; }
  .facts { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 28px; }

  /* Visualization keeps its composition and scrolls sideways on small screens */
  .vz-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .vz { width: 760px; }
  .map-swipe { display: block !important; }
  .cards { gap: 40px 16px; }
  .dist__text { padding-left: 0; }
  .dist__goal { flex-basis: calc(100% - 72px); font-size: 16px; }
  .rec { flex-direction: column; gap: 8px; }
  .rec__year { flex-basis: auto; font-size: 26px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .dims { gap: 28px 16px; }
  .ba__head { flex-direction: column; align-items: flex-start; }
  .ba-grid { gap: 12px; }
  .dir, .dir--six { grid-template-columns: 1fr; gap: 10px; }
  .dir__item { height: 60px; }
  .faq__big { font-size: 52px; }
  .faq__title { font-size: 24px; }
  .faq__q { padding: 22px 0; gap: 10px; }
  .faq__no { flex-basis: 36px; }
  .faq__qt { font-size: 16px; }
  .faq__a p { padding: 0 0 22px 46px; font-size: 14px; }

  .ft__id { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ft__word { font-size: 40px; }
  .ft__info { grid-template-columns: 1fr; gap: 24px; }
  .ft__sig2 { flex-direction: column; gap: 6px; }

  .quick { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; border-width: 1px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .quick__item { flex: 1 1 0; width: auto; border-bottom: 0; border-right: 1px solid var(--line); padding: 9px 2px 8px; font-size: 10.5px; }
  .quick__item:last-child { border-right: 0; }
  body { padding-bottom: 62px; }

  .am__grid { grid-template-columns: 1fr; gap: 0; padding-top: 16px; }
  .am__head { margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
  .am__title { flex: 1 1 auto; padding: 16px 0; font-size: 16px; }
  .am__toggle { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -12px; }
  .am__toggle span { width: 12px; height: 12px; position: relative; }
  .am__toggle span::before, .am__toggle span::after { content: ''; position: absolute; left: 0; right: 0; top: 5.5px; height: 1px; background: var(--plum); transition: transform .3s var(--ease); }
  .am__toggle span::after { transform: rotate(90deg); }
  .am__col.is-expanded .am__toggle span::after { transform: rotate(0); }
  .am__list { display: none; padding: 8px 0 14px 12px; }
  .am__col.is-expanded .am__list { display: block; }
  .am__list a { padding: 9px 0; }
  .am__foot .btn { flex: 1 1 100%; justify-content: center; }
  .overlay__bar { height: 64px; }
  .srch__results { grid-template-columns: 1fr; }
  .srch__body { padding-top: 40px; }
}

@media (min-width: 561px) and (max-width: 768px) {
  .bf-hero__actions .btn { flex: 0 0 auto; }
  .dir--six { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; gap: 40px; }
  .card { display: grid; grid-template-columns: 132px 1fr; gap: 6px 16px; }
  .card__img { grid-row: span 2; aspect-ratio: 1 / 1.05; }
  .card__info { gap: 6px; }
  .card__name { font-size: 20px; }
  .card__desc { font-size: 13.5px; line-height: 1.75; }
  .card__action { grid-column: 2; padding-top: 10px; }
  /* Before & After slots stack in one column, keeping 453:200 */
  .ba-grid { grid-template-columns: minmax(0, 453px); }
}

@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; }
}