/* 얼굴본성형외과 서브페이지 — 골드만식 스크롤 연출을 얼굴본의 세계(로고 블루·네이비·Pretendard) 안에서.
   main.css 다음에 로드한다. 스크롤에 묶인 초기 상태(흐린 글자, 닫힌 사진)는 .motion 아래에서만 걸린다:
   sub.js가 GSAP을 확인하고 움직임 줄이기 설정이 아닐 때 <html>에 붙인다. 없으면 전부 보이는 정적 페이지다. */

@property --fill-ink { syntax: "<color>"; inherits: true; initial-value: #14171b; }
@property --fill-dim { syntax: "<color>"; inherits: true; initial-value: rgba(20, 23, 27, 0.16); }

.page-sub {
  --section: clamp(96px, 11vw, 160px);
  --fill-ink: var(--ink);
  --fill-dim: rgba(20, 23, 27, 0.16);
}

/* lenis (부드러운 스크롤) 필수 규칙 */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* a word or line whose color fills in from the left (the reference's fill text) */
.fill {
  color: var(--fill-dim);
  background-image: linear-gradient(var(--fill-ink), var(--fill-ink));
  -webkit-background-clip: text; background-clip: text;
  background-repeat: no-repeat;
  background-size: var(--fill-p, 100%) 100%;
}
.motion .fill[data-fill] { --fill-p: 0%; }
@keyframes fill-in { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }

/* ---------- 1. full visual that settles into a card ---------- */
.sv { position: relative; height: 136svh; background: var(--paper); }
.sv-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.sv-media {
  --fw: calc(100% - 2 * var(--inset)); /* a big surface: inset like the main hero and the consult card */
  --fh: min(54svh, 540px);
  position: absolute; inset: 0; overflow: hidden; background: var(--night);
  clip-path: inset(0 0 0 0 round 0px);
  transition: clip-path 1.05s var(--ease-out);
}
.sv.is-framed .sv-media {
  clip-path: inset(calc(100% - var(--fh)) calc((100% - var(--fw)) / 2) 0 calc((100% - var(--fw)) / 2) round var(--radius-lg));
}
.sv-media picture { display: contents; }
.sv-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--sv-pos, 48% 50%); transition: transform 1.05s var(--ease-out); }
/* framed: the middle of the wall (logo circle and lettering) slides down into the card */
.sv.is-framed .sv-media img { transform: translateY(calc(50% - var(--fh) / 2 + var(--sv-shift, 3svh))); } /* no shrink: the photo must stay wider than the card; 50% is half the frame (the image fills it) */
.js .sv-media img { animation: sv-settle 1.9s var(--ease-out) backwards; }
@keyframes sv-settle { from { transform: scale(1.15); } }
/* a navy grade keeps the brown wall inside the palette; the veil only darkens for the white title */
.sv-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--charcoal); mix-blend-mode: color; opacity: 0.75;
}
.sv-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(6, 26, 45, 0.55); transition: opacity 1.05s var(--ease-out);
}
.sv.is-framed .sv-media::after { opacity: 0.18; }
/* a drawn map instead of a photo: already in the palette, so no colour grade, and only the title side is shaded */
.sv-map .sv-media::before { display: none; }
.sv-map .sv-media::after { background: linear-gradient(90deg, rgba(6, 26, 45, 0.78) 0%, rgba(6, 26, 45, 0.3) 48%, rgba(6, 26, 45, 0) 72%); }
.sv-credit { position: absolute; left: calc(var(--inset) + 16px); bottom: 12px; z-index: 2; font-size: 0.8125rem; color: rgba(220, 235, 247, 0.72); } /* bottom left: inside the card, clear of the labels */

.sv-head {
  position: absolute; left: 0; right: 0; top: calc(var(--header-h) + clamp(20px, 6svh, 64px));
  color: #fff; --fill-ink: #fff; --fill-dim: rgba(255, 255, 255, 0.3);
  transition: color 0.6s var(--ease-out) 0.15s, --fill-ink 0.6s var(--ease-out) 0.15s, --fill-dim 0.6s var(--ease-out) 0.15s;
}
.sv.is-framed .sv-head { color: var(--ink); --fill-ink: var(--ink); --fill-dim: rgba(20, 23, 27, 0.16); }
.sv-title { margin: 0; }
.sv-word {
  display: block; margin-left: -0.05em;
  font-size: clamp(2.5rem, 7.4vw, 6rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.04em;
}
/* an English word (Doctor, Structure, Location) is a title head in Optima (main.css --font-title-en); a treatment
   page's Korean name keeps Pretendard 800 */
.sv-word:lang(en) { font-family: var(--font-title-en); font-weight: 400; letter-spacing: -0.03em; }
.sv-line {
  display: block; margin-top: clamp(10px, 1.4vw, 18px);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.03em;
}
.js .sv-word { animation: rise 1.1s var(--ease-out) 0.25s both; }
.js .sv-line .fill { animation: fill-in 1.4s var(--ease-out) 0.75s both; }
.js .sv .lnb { animation: rise 0.9s var(--ease-out) 1s both; }

/* location dropdowns (the reference's LNB) */
.lnb { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 0 0 clamp(16px, 3svh, 36px) -10px; font-size: 0.9375rem; font-weight: 650; } /* above the animated title, or its menus slide under it */
.lnb-home, .lnb-btn { color: inherit; border-radius: 999px; transition: background-color 0.25s var(--ease-out); }
.lnb-home { display: grid; place-items: center; width: 44px; height: 44px; }
.lnb-home .icon { width: 20px; height: 20px; }
.lnb-item { position: relative; }
.lnb-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; font: inherit; }
.lnb-btn .icon { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.lnb-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.lnb-home:hover, .lnb-btn:hover { background: rgba(255, 255, 255, 0.14); }
.sv.is-framed .lnb-home:hover, .sv.is-framed .lnb-btn:hover { background: var(--mist); }
.lnb-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 5; min-width: 208px;
  display: grid; gap: 2px; padding: 8px; border-radius: var(--radius); background: #fff; color: var(--ink);
  box-shadow: 0 26px 50px -22px rgba(10, 38, 64, 0.45); animation: pop 0.35s var(--ease-out);
}
.lnb-menu[hidden] { display: none; }
.lnb-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; }
.lnb-menu a:hover { background: var(--mist); color: var(--mint-ink); }
.lnb-menu a[aria-current="page"] { color: var(--mint-ink); }

/* ---------- 2. from 압구정·신사 to 광주, then the statement ---------- */
.since { padding: clamp(64px, 8vw, 120px) 0 var(--section); text-align: center; }
.rail { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 48px); }
.rail-end {
  margin: 0; display: flex; align-items: baseline; gap: 6px;
  font-size: clamp(2.5rem, 7.4vw, 6rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.rail-end small { font-size: clamp(1.625rem, 2.7vw, 2.5rem); font-weight: 750; letter-spacing: -0.035em; }
.rail-to { color: var(--mint-ink); }
.rail-line {
  height: 28px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 120px) left center / 100% 28px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-3) 0 1px, transparent 1px 12px) left center / 100% 10px no-repeat;
}
.motion .rail-line { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease-out) 0.2s; }
.motion .rail.is-in .rail-line { clip-path: inset(0 0 0 0); }
.rail-note { margin: clamp(20px, 2.4vw, 32px) auto 0; max-width: 36em; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-2); text-wrap: balance; }
.rail-note .verify { margin-left: 4px; vertical-align: 2px; }
.odo { display: inline-flex; }
.odo-col { display: inline-block; height: 1em; overflow: hidden; }
.odo-strip { display: flex; flex-direction: column; transition: transform 2.2s var(--ease-out); }
.odo-strip > span { display: block; height: 1em; line-height: 1; }
.since-title {
  margin-top: 0;
  font-size: clamp(2.25rem, 4.3vw, 4.25rem); font-weight: 750; line-height: 1.17; letter-spacing: -0.038em;
}
.rail-note + .since-title { margin-top: var(--section); } /* the rail may be left out of the upload until confirmed */
.since-fill {
  margin: 20px auto 0; max-width: 24em;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 750; line-height: 1.4; letter-spacing: -0.03em; text-wrap: balance;
}

/* ---------- 3. the creed: lines light up one by one over the lobby ---------- */
.creed { position: relative; background: var(--night); color: #fff; }
.creed-bg { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.creed-bg img {
  position: absolute; top: 0; right: 0; width: min(62%, 920px); height: 100%;
  object-fit: cover; object-position: 50% 22%; transition: opacity 1.1s var(--ease-out);
}
.creed-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--night) 34%, rgba(6, 26, 45, 0.55) 62%, rgba(6, 26, 45, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 26, 45, 0) 55%, var(--night) 100%);
}
.creed.is-dim .creed-bg img { opacity: 0.6; }
.creed-text { position: relative; z-index: 1; margin-top: -56svh; padding-bottom: 34svh; }
.creed-line {
  max-width: 22em; margin: 0;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 700; line-height: 1.55; letter-spacing: -0.03em;
}
.creed-line + .creed-line { margin-top: clamp(64px, 9vw, 120px); }
.motion .creed-line { opacity: 0.14; }
.creed-sign { margin: clamp(64px, 9vw, 120px) 0 0; font-size: 1rem; font-weight: 650; color: var(--sky); }

/* ---------- 4. the ring: a guide circle drawn from five o'clock, then flung outward ---------- */
.ring { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.ring-marquee {
  padding-top: clamp(40px, 6vw, 96px); white-space: nowrap;
  font-family: var(--font-title-en); font-size: clamp(2.5rem, 7.4vw, 6rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.08);
}
.ring-marquee span { display: inline-block; padding-left: var(--gutter); }
.ring-stage { position: relative; height: 100svh; display: grid; place-items: center; }
.ring-circle { position: absolute; width: min(74vmin, 660px); height: auto; overflow: visible; transform-origin: 50% 50%; }
.ring-solid { fill: none; stroke: var(--mint); stroke-width: 3; vector-effect: non-scaling-stroke; }
.ring-dash { fill: none; stroke: var(--sky); stroke-opacity: 0.55; stroke-width: 1.5; stroke-dasharray: 5 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ring-copy { position: relative; padding: 0 var(--gutter); text-align: center; }
.ring-title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 750; line-height: 1.22; letter-spacing: -0.038em; }
.ring-text { margin-top: 20px; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--sky); }

/* ---------- 5. three pillars; the blue flows from one circle into the next ---------- */
.pillars { position: relative; margin-top: -45svh; background: var(--night); color: #fff; padding: clamp(40px, 5vw, 80px) 0 var(--section); --fill-ink: #fff; --fill-dim: rgba(255, 255, 255, 0.18); }
.pillars-title { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 750; line-height: 1.24; letter-spacing: -0.038em; }
.pillar-list {
  --gap: clamp(16px, 2.4vw, 40px);
  position: relative; margin-top: clamp(40px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap);
}
.pillar-list::before {
  content: ""; position: absolute; left: 16%; right: 16%; top: 50%;
  border-top: 1.5px dashed rgba(220, 235, 247, 0.4);
}
.motion .pillar-list::before { clip-path: inset(0 100% 0 0); transition: clip-path 2.4s var(--ease-out); }
.motion .pillar-list.is-in::before { clip-path: inset(0 0 0 0); }
.pillar {
  position: relative; isolation: isolate; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; align-content: center; padding: 12%; text-align: center;
  background: var(--charcoal-900);
}
.pillar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mint-ink);
  clip-path: circle(150% at 0% 50%);
}
.motion .pillar::before { clip-path: circle(0% at 0% 50%); transition: clip-path 1.1s var(--ease-out); }
.motion .pillar.is-lit::before { clip-path: circle(150% at 0% 50%); }
.pillar-icon { width: clamp(40px, 4vw, 56px); height: clamp(40px, 4vw, 56px); margin-bottom: 14px; color: #fff; }
.pillar strong { display: block; font-size: clamp(1.625rem, 2.7vw, 2.5rem); font-weight: 750; line-height: 1.3; letter-spacing: -0.035em; }
.pillar span { display: block; margin-top: 10px; max-width: 15em; font-size: 1rem; line-height: 1.55; text-wrap: balance; }
.motion .pillar-icon, .motion .pillar span { color: var(--sky); transition: color 0.6s var(--ease-out) 0.3s; }
.motion .pillar.is-lit .pillar-icon, .motion .pillar.is-lit span { color: #fff; }

/* ---------- 6. the promises in detail: the picture swaps as the text scrolls ---------- */
.story { padding: var(--section) 0; background: var(--paper); }
.story-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.story-stack {
  position: sticky; top: calc(var(--header-h) + 9svh);
  aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist);
}
.story-shot { position: absolute; inset: 0; margin: 0; }
.story-shot img, .story-inline img { width: 100%; height: 100%; object-fit: cover; }
.story-shot[data-shot="1"] img, .story-inline-1 img { object-position: 44% 30%; }
.story-shot[data-shot="2"] img, .story-inline-2 img { object-position: 64% 30%; }
.story-shot[data-shot="3"] img, .story-inline-3 img { object-position: 46% 40%; }
.motion .story-shot + .story-shot { clip-path: inset(100% 0 0 0); }
.story-item { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; padding: 6svh 0; }
.story-inline { display: none; }
.story-title { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 750; line-height: 1.24; letter-spacing: -0.038em; text-wrap: balance; }
.story-lead { margin-top: 14px; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); font-weight: 650; color: var(--mint-ink-600); }
.story-text { margin-top: 18px; max-width: 32em; color: var(--ink-2); }
.story-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.story-tags li {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px;
  background: var(--mist); font-size: 0.9375rem; font-weight: 650;
}

/* ---------- 7. figures: a rounded night stage, one number at a time ---------- */
/* The same stage as the main page's worry cards: a night-blue region with rounded corners, inset from the page, over
   the moving backdrop (main.js draws aurora, bokeh, glints and petals into canvas[data-sky]). Each number stands left
   of a photo circle (white ring, breathing halo, a dashed orbit with beads), its words to the right. */
.figures { padding-block: clamp(8px, 2vw, 24px); color: #fff; --fill-ink: #fff; --fill-dim: rgba(255, 255, 255, 0.2); }
.figures-pin {
  --orb: min(42svh, 380px, 30vw);
  position: relative; isolation: isolate; overflow: hidden;
  margin-inline: var(--inset); padding: clamp(80px, 9vw, 128px) 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(60% 55% at 50% 52%, rgba(24, 116, 184, 0.24), transparent 72%), var(--night);
}
.figures-sky { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.figures-head { position: relative; text-align: center; padding-inline: var(--gutter); }
.figures-title { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 750; line-height: 1.24; letter-spacing: -0.038em; text-wrap: balance; }
.figures-lead { margin-top: 14px; font-size: clamp(1rem, 1.2vw, 1.125rem); color: rgba(220, 235, 247, 0.82); }
.figures-list {
  width: min(100% - 2 * var(--gutter), var(--maxw)); margin: clamp(64px, 8vw, 104px) auto 0;
  display: grid; gap: clamp(88px, 10vw, 136px);
}
.figure-step {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--orb) minmax(0, 1fr); grid-template-areas: "num orb copy";
  align-items: center; column-gap: clamp(48px, 6vw, 104px);
}

/* the number: a step pill over one tall figure, set flush to the circle */
.figure-num { grid-area: num; display: grid; justify-items: end; gap: 14px; text-align: right; }
.figure-no {
  display: inline-grid; place-items: center; height: 28px; padding: 0 12px; border-radius: 999px;
  background: rgba(220, 235, 247, 0.1); box-shadow: inset 0 0 0 1px rgba(220, 235, 247, 0.22);
  font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.04em; color: var(--sky); font-variant-numeric: tabular-nums;
}
.figure-big { margin: 0; overflow: hidden; padding-bottom: 0.06em; font-size: clamp(4.5rem, 9.4vw, 8.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.figure-num-in { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; }
.figure-num-in b {
  font-weight: 800; font-variant-numeric: tabular-nums;
  background: linear-gradient(175deg, #fff 30%, #d9e9f7 62%, #f3c9d9 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.figure-num-in span { font-size: clamp(1.25rem, 1.9vw, 1.75rem); font-weight: 750; letter-spacing: -0.03em; color: #fff; }

/* the circle: halo, a faint outer ring, the dashed orbit (turning, with its beads), the photo in a white ring */
.fig-orb { grid-area: orb; position: relative; width: var(--orb); aspect-ratio: 1; margin: 0; justify-self: center; }
.fig-orb::before, .fig-orb::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; translate: -50% -50%; pointer-events: none; }
.fig-orb::before {
  z-index: -1; width: 150%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(236, 178, 196, 0.3), rgba(24, 116, 184, 0.22) 55%, rgba(24, 116, 184, 0) 100%);
  animation: step-breathe 5.5s ease-in-out infinite alternate;
}
.fig-orb::after { width: 124%; aspect-ratio: 1; box-shadow: inset 0 0 0 1px rgba(220, 235, 247, 0.08); }
.fig-orbit {
  position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(220, 235, 247, 0.34);
  animation: dial-turn 48s linear infinite;
}
.fig-orbit i {
  position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 5px rgba(220, 235, 247, 0.12), 0 0 16px 2px rgba(255, 255, 255, 0.55);
  transform: rotate(var(--a, 0deg)) translateY(calc(var(--orb) / -2));
}
.fig-orbit i.is-key { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: #f6d3e0; box-shadow: 0 0 0 6px rgba(243, 201, 217, 0.18), 0 0 20px 3px rgba(243, 201, 217, 0.6); }
.fig-pic {
  position: absolute; left: 15%; top: 15%; width: 70%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--charcoal);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.96), 0 0 0 8px rgba(220, 235, 247, 0.4), 0 44px 80px -32px rgba(0, 0, 0, 0.7);
}
.fig-pic img { width: 100%; height: 100%; object-fit: cover; }
/* 5: the five parts sit on the orbit as glass pills */
.fig-parts li {
  position: absolute; z-index: 2; translate: -50% -50%; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 11px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26), 0 12px 24px -12px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; color: #fff;
}
.fig-parts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f6d3e0; box-shadow: 0 0 8px rgba(246, 211, 224, 0.9); }
.fig-model {
  position: absolute; left: 50%; top: calc(100% + 16px); translate: -50% 0; white-space: nowrap;
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.02em; color: rgba(220, 235, 247, 0.6);
}
/* 1: the one doctor who consults and operates, his name under the circle */
.fig-names { position: absolute; left: -10%; right: -10%; top: calc(85% + 18px); display: grid; text-align: center; }
.fig-names span { display: grid; gap: 2px; font-size: 0.9375rem; font-weight: 750; color: #fff; }
.fig-names small { font-size: 0.75rem; font-weight: 500; color: rgba(220, 235, 247, 0.7); }

/* the words */
.figure-copy { grid-area: copy; max-width: 25rem; }
.figure-copy h3 { font-size: clamp(1.5rem, 2.3vw, 2.25rem); font-weight: 750; line-height: 1.3; letter-spacing: -0.035em; text-wrap: balance; }
.figure-copy p { margin-top: 12px; color: rgba(220, 235, 247, 0.84); text-wrap: pretty; }
.soc-list { margin-top: 20px; display: grid; border-top: 1px solid rgba(220, 235, 247, 0.14); }
.soc-list li {
  display: flex; align-items: center; gap: 10px; min-height: 36px;
  border-bottom: 1px solid rgba(220, 235, 247, 0.14); font-size: 0.9375rem; font-weight: 650; color: rgba(220, 235, 247, 0.84);
}
.soc-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); opacity: 0.7; }
.soc-list li.is-key { color: #fff; }
.soc-list li.is-key::before { width: 8px; height: 8px; background: #f6d3e0; opacity: 1; box-shadow: 0 0 10px rgba(246, 211, 224, 0.9); }
.figures-dots { display: none; }

/* desktop: the stage pins under the header and steps through its numbers */
.figures.is-pinned { padding: 0; }
.figures.is-pinned .figures-pin {
  height: 100svh; margin: 0; padding: calc(var(--header-h) + clamp(32px, 5svh, 56px)) 0 calc(var(--inset) + 64px);
  border-radius: 0; background: none; overflow: hidden;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
}
.figures.is-pinned .figures-pin::before {
  content: ""; position: absolute; z-index: -2; inset: var(--header-h) var(--inset) var(--inset); border-radius: var(--radius-lg);
  background: radial-gradient(60% 55% at 50% 56%, rgba(24, 116, 184, 0.24), transparent 72%), var(--night);
}
.figures.is-pinned .figures-sky {
  inset: auto; top: var(--header-h); left: var(--inset);
  width: calc(100% - 2 * var(--inset)); height: calc(100% - var(--header-h) - var(--inset)); border-radius: var(--radius-lg);
}
.figures.is-pinned .figures-title { font-size: clamp(1.875rem, 2.9vw, 2.75rem); }
.figures.is-pinned .figures-title br { display: none; }
.figures.is-pinned .figures-lead { margin-top: 10px; }
.figures.is-pinned .figures-list { margin-top: 0; gap: 0; align-self: center; }
.figures.is-pinned .figure-step { grid-area: 1 / 1; pointer-events: none; }
.figures.is-pinned .figure-step.is-active { pointer-events: auto; }
.figures.is-pinned .figure-no { opacity: 0; transition: opacity 0.6s var(--ease-out); }
.figures.is-pinned .figure-step.is-active .figure-no { opacity: 1; transition-delay: 0.2s; }
.figures.is-pinned .figure-num-in { transform: translateY(105%); transition: transform 0.9s var(--ease-out); }
.figures.is-pinned .figure-step.is-active .figure-num-in { transform: none; }
.figures.is-pinned .figure-step.is-out .figure-num-in { transform: translateY(-105%); }
/* the circle opens from a smaller, fainter one; the pills and beads land on the orbit after it */
.figures.is-pinned .fig-orb::before, .figures.is-pinned .fig-orb::after, .figures.is-pinned .fig-orbit, .figures.is-pinned .fig-model, .figures.is-pinned .fig-names {
  opacity: 0; transition: opacity 0.8s var(--ease-out);
}
.figures.is-pinned .fig-pic { opacity: 0; transform: scale(0.84); transition: opacity 0.6s var(--ease-out), transform 1.1s var(--ease-out); }
.figures.is-pinned .fig-pic img { transform: scale(1.14); transition: transform 1.6s var(--ease-out); }
.figures.is-pinned .fig-parts li { opacity: 0; scale: 0.6; transition: opacity 0.5s var(--ease-out), scale 0.7s var(--ease-out); }
.figures.is-pinned .figure-step.is-active .fig-orb::before, .figures.is-pinned .figure-step.is-active .fig-orb::after,
.figures.is-pinned .figure-step.is-active .fig-orbit { opacity: 1; transition-delay: 0.15s; }
.figures.is-pinned .figure-step.is-active :is(.fig-model, .fig-names) { opacity: 1; transition-delay: 0.6s; }
.figures.is-pinned .figure-step.is-active .fig-pic { opacity: 1; transform: none; }
.figures.is-pinned .figure-step.is-active .fig-pic img { transform: none; }
.figures.is-pinned .figure-step.is-active .fig-parts li { opacity: 1; scale: 1; transition-delay: calc(0.4s + var(--k, 0) * 0.08s); }
.figures.is-pinned .figure-step.is-out .fig-pic { transform: scale(1.06); }
.figures.is-pinned .figure-copy { opacity: 0; transform: translateY(32px); transition: opacity 0.6s var(--ease-out), transform 0.9s var(--ease-out); }
.figures.is-pinned .figure-step.is-active .figure-copy { opacity: 1; transform: none; transition-delay: 0.15s; }
.figures.is-pinned .figure-step.is-out .figure-copy { transform: translateY(-32px); }
/* three short tracks at the foot of the stage; the current one fills as the scroll moves through it */
.figures.is-pinned .figures-dots {
  position: absolute; left: 50%; bottom: calc(var(--inset) + clamp(22px, 3.6svh, 36px)); translate: -50% 0;
  display: flex; gap: 8px;
}
.figures-dots i { position: relative; overflow: hidden; width: 44px; height: 3px; border-radius: 999px; background: rgba(220, 235, 247, 0.2); }
.figures-dots i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff;
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
}

/* ---------- 8. how a visit goes: a slider of steps ---------- */
.flow { padding: var(--section) 0; background: var(--paper); overflow: hidden; }
.flow-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; }
.flow-title { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 750; line-height: 1.24; letter-spacing: -0.038em; }
.flow-controls { display: flex; align-items: center; gap: 14px; }
.flow-count { font-size: 1.0625rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.flow-count span { color: var(--ink-3); }
.flow-bar { width: clamp(80px, 9vw, 128px); height: 2px; border-radius: 999px; background: var(--line); overflow: hidden; }
.flow-bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0.2); transition: transform 0.6s var(--ease-out); }
.flow-nav {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--ink); color: var(--ink);
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}
.flow-nav .icon { width: 22px; height: 22px; }
.flow-nav:hover { background: var(--ink); color: #fff; }
.flow-nav:disabled { opacity: 0.3; cursor: default; background: none; color: var(--ink); }
.flow-tabs { margin-top: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 8px; }
.flow-tabs button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--mist); font-size: 0.9375rem; font-weight: 650;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.flow-tabs button b { font-variant-numeric: tabular-nums; }
.flow-tabs button:hover { color: var(--mint-ink); }
.flow-tabs button[aria-current="step"] { background: var(--ink); color: #fff; }
.flow-track {
  --slide: min(76vw, 1040px);
  position: relative; margin-top: clamp(24px, 3vw, 40px);
  display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding: 4px calc((100% - var(--slide)) / 2) 8px;
  scrollbar-width: none;
}
.flow-track::-webkit-scrollbar { display: none; }
.flow-slide {
  position: relative; flex: 0 0 var(--slide); height: clamp(440px, 42vw, 600px);
  scroll-snap-align: center; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--night); color: #fff;
  transition: opacity 0.6s var(--ease-out), transform 0.9s var(--ease-out);
}
.flow-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flow-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 26, 45, 0.88) 0%, rgba(6, 26, 45, 0.55) 42%, rgba(6, 26, 45, 0) 78%);
}
.flow-model {
  position: absolute; top: 20px; right: 20px; z-index: 1; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 0.8125rem; font-weight: 600;
}
.flow-copy { position: absolute; left: 0; bottom: 0; z-index: 1; max-width: min(32em, 72%); padding: clamp(28px, 4vw, 56px); }
.flow-copy > * { transition: opacity 0.6s var(--ease-out), transform 0.9s var(--ease-out); }
.flow-no { display: block; font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 800; letter-spacing: -0.03em; color: var(--sky); font-variant-numeric: tabular-nums; }
.flow-copy h3 { margin-top: 8px; font-size: clamp(1.625rem, 2.7vw, 2.5rem); font-weight: 750; line-height: 1.3; letter-spacing: -0.035em; }
.flow-copy p { margin-top: 12px; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.65; }
/* once the slider runs: the chosen step is full, the neighbours wait, dimmed and a little smaller */
.flow.is-ready .flow-slide:not(.is-active) { opacity: 0.4; transform: scale(0.94); cursor: pointer; }
.flow.is-ready .flow-slide:not(.is-active) .flow-copy > * { opacity: 0; transform: translateY(16px); }
.flow.is-ready .flow-slide.is-active .flow-copy > :nth-child(2) { transition-delay: 0.08s; }
.flow.is-ready .flow-slide.is-active .flow-copy > :nth-child(3) { transition-delay: 0.16s; }

/* ---------- 9. the five areas: tall cards that open wider on hover ---------- */
.areas { padding: 0 0 var(--section); }
.areas-title { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 750; line-height: 1.24; letter-spacing: -0.038em; }
.areas-lead { margin-top: 14px; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-2); }
.area-list { margin-top: clamp(32px, 4vw, 56px); display: flex; gap: 12px; height: clamp(400px, 38vw, 540px); }
.area-list li { flex: 1 1 0; min-width: 0; transition: flex-grow 0.8s var(--ease-out); }
.area-list li:hover, .area-list li:focus-within { flex-grow: 2.1; }
.motion .area-list li { opacity: 0; transform: translateY(48px); transition: flex-grow 0.8s var(--ease-out), opacity 0.8s var(--ease-out), transform 1s var(--ease-out); transition-delay: 0s, calc(var(--i) * 0.08s), calc(var(--i) * 0.08s); }
.motion .area-list.is-in li { opacity: 1; transform: none; }
.area-card { position: relative; display: block; height: 100%; border-radius: var(--radius-lg); overflow: hidden; color: #fff; background: var(--charcoal-900); }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.area-card:hover img { transform: scale(1.05); }
.area-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 26, 45, 0) 42%, rgba(6, 26, 45, 0.8) 100%); }
.area-model {
  position: absolute; left: 16px; top: 16px; z-index: 1; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 0.8125rem; font-weight: 600;
}
.area-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 6px; padding: clamp(20px, 2vw, 28px); }
.area-name { font-size: clamp(1.625rem, 2.7vw, 2.5rem); font-weight: 750; line-height: 1.3; letter-spacing: -0.035em; }
.area-desc { font-size: 0.9375rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.area-go {
  position: absolute; right: clamp(20px, 2vw, 28px); bottom: clamp(24px, 2.4vw, 32px); z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink);
  opacity: 0; transform: translateX(-8px); transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.area-go .icon { width: 20px; height: 20px; }
.area-card:hover .area-go, .area-card:focus-visible .area-go { opacity: 1; transform: none; }

/* ---------- doctor profiles: the portrait with its blue second line, the name, two ruled lists ---------- */
.profile { padding: var(--section) 0; }
.profile.is-soft { margin: 0 var(--inset); border-radius: var(--radius-lg); background: var(--mist); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(48px, 8vw, 128px); align-items: center; }
.profile.is-flip .profile-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } /* the photo keeps the narrow column on either side */
.profile.is-flip .profile-photo { order: 2; }
.profile-photo {
  position: relative; margin: 16px; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--mist-2); outline: 1px solid var(--mint-ink); outline-offset: 16px;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.motion .profile-photo img { clip-path: inset(10% 10% 10% 10% round 28px); transform: scale(1.06); transition: clip-path 1.4s var(--ease-out), transform 1.6s var(--ease-out); }
.motion .profile.is-in .profile-photo img { clip-path: inset(0 0 0 0 round 0); transform: none; }
.profile-name { font-size: clamp(2.25rem, 4.3vw, 4.25rem); font-weight: 750; line-height: 1.17; letter-spacing: -0.038em; }
.profile-name small { margin-left: 0.25em; font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 750; letter-spacing: -0.03em; }
.profile-meta { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 1rem; font-weight: 650; color: var(--mint-ink-600); }
.profile-meta span + span { color: var(--ink-3); font-weight: 500; }
.profile-lead { margin-top: clamp(20px, 2.4vw, 28px); max-width: 30em; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-2); text-wrap: pretty; }
.profile-lists { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.profile-lists h3 { padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); font-size: 1rem; font-weight: 750; }
.profile-lists li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 44px; padding: 8px 0;
  border-bottom: 1px solid var(--line); font-size: 0.9375rem; color: var(--ink-2);
}
.profile-lists li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.profile-lists li.is-key { color: var(--ink); font-weight: 650; }
.motion .profile-lists li { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: calc(0.4s + var(--i, 0) * 0.06s); }
.motion .profile.is-in .profile-lists li { opacity: 1; transform: none; }

/* ---------- on-air: the shows he appeared in, drifting by, then a ruled list ---------- */
.onair { padding: var(--section) 0; overflow: hidden; }
.onair-title { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 750; line-height: 1.24; letter-spacing: -0.038em; }
.onair-lead { margin-top: 14px; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-2); }
.onair-marquee {
  margin-top: clamp(32px, 4vw, 56px); white-space: nowrap;
  font-size: clamp(2.5rem, 7.4vw, 6rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.04em; color: var(--mist-2);
}
.onair-marquee span { display: inline-block; padding-left: var(--gutter); }
.onair-list { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); border-top: 1.5px solid var(--ink); }
.onair-list li { display: grid; align-content: start; gap: 10px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.onair-meta { display: flex; align-items: center; gap: 10px; }
.onair-channel { font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.onair-show { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 750; line-height: 1.3; letter-spacing: -0.03em; }
.onair-role {
  padding: 3px 12px; border-radius: 999px;
  background: var(--mist); font-size: 0.8125rem; font-weight: 650; color: var(--mint-ink-600);
}
.motion .onair-list li { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 0.07s); }
.motion .onair-list.is-in li { opacity: 1; transform: none; }

/* two portraits side by side in one media frame */

/* ---------- directions: the address in one breath, beside the live map ---------- */
.addr { padding: clamp(64px, 8vw, 120px) 0 var(--section); }
.addr-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.addr-title { font-size: clamp(2.25rem, 4.3vw, 4.25rem); font-weight: 750; line-height: 1.17; letter-spacing: -0.038em; }
.addr-sub { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.addr-sub span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--mist); font-size: 0.9375rem; font-weight: 650; color: var(--ink-2);
}
.addr-actions { margin-top: clamp(28px, 3vw, 40px); }
.addr-copied { min-height: 1.7em; margin-top: 12px; font-size: 0.9375rem; font-weight: 650; color: var(--mint-ink-600); }
.addr-map { position: relative; margin: 0; }
.addr-map-link { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); }
.addr-map-link img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform 1.2s var(--ease-out); }
.addr-map-link:hover img { transform: scale(1.04); }
/* the card opens Naver Map: its own map can't be embedded without a Naver Cloud key */
.addr-map-cta {
  position: absolute; left: 50%; bottom: 24px; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 0.9375rem; font-weight: 650;
  box-shadow: 0 16px 32px -18px rgba(10, 38, 64, 0.8); transition: background-color 0.25s var(--ease-out), transform 0.35s var(--ease-out);
}
.addr-map-cta .icon { width: 18px; height: 18px; }
.addr-map-link:hover .addr-map-cta, .addr-map-link:focus-visible .addr-map-cta { background: var(--mint); color: #fff; transform: translateY(-2px); }
.addr-map-credit { margin-top: 10px; font-size: 0.8125rem; color: var(--ink-3); text-align: right; }
.motion .addr-map-link { clip-path: inset(8% 8% 8% 8% round 40px); transition: clip-path 1.4s var(--ease-out); }
.motion .addr-map.is-in .addr-map-link { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* ---------- the walk from the station: the schematic map draws one leg per step ---------- */
.route { padding: var(--section) 0; margin-inline: var(--inset); border-radius: var(--radius-lg); background: var(--mist); }
.route-title { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 750; line-height: 1.24; letter-spacing: -0.038em; }
.route-grid { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.route-map { position: sticky; top: calc(var(--header-h) + 10svh); }
.route-map svg { width: 100%; height: auto; }
.route-map .map-ground { fill: #fff; }
.route-map .map-road { stroke: var(--mist-2); }
.route-map figcaption { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-3); }
.route-map .map-walk { stroke-width: 5; stroke-dasharray: none; transition: stroke-dashoffset 1.2s var(--ease-out); }
.route-map .map-station, .route-map .map-dest { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 0.7s var(--ease-out), opacity 0.6s var(--ease-out); }
.route-map .map-station circle, .route-map .map-dest rect { transition: fill 0.5s var(--ease-out); }
.route-map .map-poi text { transition: fill 0.5s var(--ease-out); }
/* the script sets data-step as each step reaches the middle of the screen; without it the whole walk shows */
.route-map[data-step="1"] .map-station { transform: scale(1.2); }
.route-map[data-step="1"] .map-station circle, .route-map[data-step="2"] .map-station circle { fill: var(--mint-ink); }
.route-map[data-step="2"] .map-poi text { fill: var(--ink); }
.route-map[data-step="1"] .map-dest, .route-map[data-step="2"] .map-dest { opacity: 0.35; }
.route-map[data-step="1"] .map-dest rect, .route-map[data-step="2"] .map-dest rect { fill: var(--ink-3); }
.route-map[data-step="3"] .map-dest { transform: scale(1.08); }
.route-step { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding: 4svh 0; }
.route-no, .route-step h3 { transition: opacity 0.6s var(--ease-out); }
.route-step p { transition: color 0.6s var(--ease-out); }
.route.is-live .route-step:not(.is-active) :is(.route-no, h3) { opacity: 0.3; }
.route.is-live .route-step:not(.is-active) p { color: var(--ink-3); } /* dimmed, still readable */
.route-step:last-child { min-height: 0; padding-bottom: 0; }
.route-no { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 800; letter-spacing: -0.03em; color: var(--mint-ink); font-variant-numeric: tabular-nums; }
.route-step h3 { margin-top: 6px; font-size: clamp(1.625rem, 2.7vw, 2.5rem); font-weight: 750; line-height: 1.3; letter-spacing: -0.035em; text-wrap: balance; }
.route-step p { margin-top: 14px; max-width: 26em; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-2); }

/* ---------- subway, bus, car ---------- */
.transit { padding: var(--section) 0; }
.transit-title { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 750; line-height: 1.24; letter-spacing: -0.038em; }
.transit-grid {
  margin-top: clamp(40px, 5vw, 72px); display: grid; gap: clamp(14px, 1.6vw, 24px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr) minmax(0, 0.9fr); align-items: stretch;
}
.transit-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 2.6vw, 40px); border-radius: var(--radius-lg); background: var(--mist); }
.motion .transit-card { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i) * 0.1s); }
.motion .transit-grid.is-in .transit-card { opacity: 1; transform: none; }
.transit-head { display: flex; align-items: center; gap: 14px; font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 750; letter-spacing: -0.03em; }
.transit-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mint); color: #fff; }
.transit-icon .icon { width: 26px; height: 26px; }
.transit-text { color: var(--ink-2); }
.line-chip {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px;
  background: #0f7a3c; color: #fff; font-size: 0.9375rem; font-weight: 700;
}
.stops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(20px, 2.4vw, 36px); }
.stop { padding-top: 16px; border-top: 1.5px solid var(--ink); }
.stop-name { font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.02em; }
.stop-name small { display: block; margin-top: 2px; font-size: 0.8125rem; font-weight: 550; color: var(--ink-3); }
.bus { margin-top: 12px; display: grid; gap: 8px; }
.bus div { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: start; }
.bus dt {
  display: grid; place-items: center; min-height: 28px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 700; color: #fff;
}
.bus-branch { background: #237a43; }
.bus-trunk { background: #2b4fa2; }
.bus-express { background: #c0392f; }
.bus dd { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); padding-top: 2px; }
.transit-note { margin-top: auto; padding-top: 8px; font-size: 0.875rem; color: var(--ink-3); }
.car { display: grid; border-top: 1.5px solid var(--ink); }
.car div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.car dt { font-weight: 750; }
.car dd { color: var(--ink-2); }
.transit-tel {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(1.25rem, 1.7vw, 1.625rem); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap;
  transition: color 0.25s var(--ease-out);
}
.transit-tel .icon { width: 26px; height: 26px; color: var(--mint-ink); }
.transit-tel:hover { color: var(--mint-ink); }

/* ---------- hours: the numbers roll in on the night band ---------- */
.clock {
  margin-inline: var(--inset); padding: var(--section) 0; border-radius: var(--radius-lg);
  background: var(--night); color: #fff; --fill-ink: #fff; --fill-dim: rgba(255, 255, 255, 0.18);
}
.clock-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(48px, 8vw, 128px); align-items: center; }
.clock-title { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 750; line-height: 1.24; letter-spacing: -0.038em; }
.clock-list { margin-top: clamp(28px, 3.4vw, 48px); border-top: 1.5px solid rgba(220, 235, 247, 0.5); }
.clock-list > div {
  display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 16px;
  padding: clamp(16px, 2vw, 26px) 0; border-bottom: 1px solid rgba(220, 235, 247, 0.16);
}
.clock-list dt { font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); font-weight: 700; color: var(--sky); }
.clock-list dd { font-size: clamp(2.5rem, 5.6vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.clock-time { display: inline-flex; align-items: baseline; gap: 0.22em; }
.clock-time i { font-style: normal; font-weight: 300; color: var(--mint); }
.clock-list .is-off dd { color: var(--sky); font-size: clamp(1.625rem, 2.7vw, 2.5rem); letter-spacing: -0.035em; }
.clock-note { margin-top: 20px; color: var(--sky); }
.clock-photo {
  position: relative; margin: 16px; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--charcoal-900); outline: 1px solid var(--mint); outline-offset: 16px;
}
.clock-photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 66% 30%; }
.book-list { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.book-item {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
  height: 100%; padding: clamp(20px, 2.2vw, 30px); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(220, 235, 247, 0.14);
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.book-item:hover { background: var(--mint); border-color: var(--mint); color: #fff; }
.book-item:hover .book-label { color: #fff; }
.book-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mint); color: #fff; transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out); }
.book-item:hover .book-icon { background: var(--night); color: var(--mint); }
.book-icon .icon { width: 24px; height: 24px; }
.book-label { font-size: 0.9375rem; font-weight: 650; color: var(--sky); }
.book-item strong { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ---------- the rooms upstairs: real photos, unveiled and drifting a little ---------- */
.tour { padding: var(--section) 0; }
.tour-title { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 750; line-height: 1.24; letter-spacing: -0.038em; }
.tour-lead { margin-top: 16px; max-width: 36em; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-2); }
.tour-grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 32px) clamp(14px, 1.6vw, 24px); }
.tour-shot { display: flex; flex-direction: column; margin: 0; }
.tour-a { grid-column: 1 / 8; grid-row: 1 / 3; }
.tour-b, .tour-c { grid-column: 8 / 13; }
.tour-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--mist); aspect-ratio: 16 / 10; }
.tour-a .tour-frame { flex: 1; aspect-ratio: auto; min-height: 420px; }
.tour-frame img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.tour-a img { object-position: 48% 40%; }
.tour-b img { object-position: 38% 50%; }
.tour-c img { object-position: 50% 40%; }
.tour-shot figcaption { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 0.9375rem; color: var(--ink-2); }
.tour-shot figcaption b { padding: 3px 12px; border-radius: 999px; background: var(--mist); font-size: 0.8125rem; font-weight: 650; color: var(--mint-ink-600); }
.motion .tour-frame { clip-path: inset(100% 0 0 0 round var(--radius-lg)); transition: clip-path 1.2s var(--ease-out); }
.motion .tour-shot.is-in .tour-frame { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.motion .tour-shot figcaption { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease-out) 0.35s, transform 0.9s var(--ease-out) 0.35s; }
.motion .tour-shot.is-in figcaption { opacity: 1; transform: none; }

/* ---------- a reel of real photos that drifts sideways with the scroll ---------- */
.reel { padding: var(--section) 0; overflow: hidden; }
.reel-title { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 750; line-height: 1.24; letter-spacing: -0.038em; }
.reel-lead { margin-top: 14px; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-2); }
.reel-track {
  --h: clamp(300px, 32vw, 460px);
  margin-top: clamp(40px, 5vw, 72px); display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content;
  padding-inline: max(var(--gutter), (100vw - var(--maxw)) / 2);
}
.reel-item { position: relative; flex: none; height: var(--h); aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); }
.reel-item.is-wide { aspect-ratio: 3 / 2; }
.reel-item img { width: 100%; height: 100%; object-fit: cover; }
.reel-cap {
  position: absolute; left: 16px; bottom: 16px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 0.8125rem; font-weight: 600;
}

/* ---------- treatment pages: the old banner, light, with the procedure name set huge ---------- */
.sv-tr .sv-media { background: var(--mist); }
.sv-tr .sv-media::before { display: none; }
.sv-tr .sv-media::after { background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 48%); }
.sv-tr .sv-head, .sv-tr.is-framed .sv-head { color: var(--ink); --fill-ink: var(--ink); --fill-dim: rgba(20, 23, 27, 0.16); }
.sv-tr .lnb-home:hover, .sv-tr .lnb-btn:hover { background: rgba(20, 23, 27, 0.06); }
.sv-model {
  position: absolute; right: calc(var(--inset) + 16px); bottom: 16px; z-index: 2; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 0.8125rem; font-weight: 600;
}
.tx-h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 750; line-height: 1.24; letter-spacing: -0.038em; text-wrap: balance; }
.tx-h3 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 750; line-height: 1.35; letter-spacing: -0.03em; text-wrap: balance; }
.tx-sub { margin-top: 14px; max-width: 36em; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-2); }
.tx-no { font-size: 0.875rem; font-weight: 800; color: var(--mint-ink); font-variant-numeric: tabular-nums; }
/* rows and cards rise one after another as their list comes into view */
.motion [data-rise] > li { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 0.08s); }
.motion [data-rise].is-in > li { opacity: 1; transform: none; }

.tx-about { padding: clamp(64px, 8vw, 120px) 0 var(--section); }
.tx-about-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 112px); align-items: start; }
.tx-lead { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 750; line-height: 1.45; letter-spacing: -0.03em; text-wrap: balance; }
.tx-about-body p:not(.tx-lead) { margin-top: 18px; max-width: 36em; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-2); }

.tx-facts {
  margin-inline: var(--inset); padding: var(--section) 0; border-radius: var(--radius-lg);
  background: var(--night); color: #fff; --fill-ink: #fff; --fill-dim: rgba(255, 255, 255, 0.18);
}
.tx-facts-list { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(16px, 3vw, 48px); border-top: 1.5px solid rgba(220, 235, 247, 0.5); }
.tx-facts-list div { padding: clamp(20px, 2.4vw, 32px) 0; border-bottom: 1px solid rgba(220, 235, 247, 0.16); }
.tx-facts-list dt { font-size: 0.9375rem; font-weight: 650; color: var(--sky); }
.tx-facts-list dd { margin-top: 8px; font-size: clamp(1.625rem, 2.7vw, 2.5rem); font-weight: 750; line-height: 1.2; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.motion .tx-facts-list div { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 0.07s); }
.motion .tx-facts-list.is-in div { opacity: 1; transform: none; }
.tx-facts-note { margin-top: 20px; color: var(--sky); }

.tx-for { padding: var(--section) 0; }
.tx-for-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.tx-for-pic { position: relative; width: min(100%, 360px); margin-top: clamp(28px, 4vw, 48px); border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.tx-for-pic img { display: block; width: 100%; height: auto; }
.tx-for-pic .area-model { left: auto; right: 12px; top: 12px; }
.tx-for-ring { position: relative; width: min(100%, 260px); aspect-ratio: 1; margin-top: clamp(28px, 4vw, 48px); display: grid; place-items: center; text-align: center; }
.tx-for-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tx-ring-solid { fill: none; stroke: var(--mint-ink); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-out); }
.tx-ring-dash { fill: none; stroke: var(--mint-ink); stroke-opacity: 0.4; stroke-width: 1.5; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; }
.tx-for-ring line { stroke: var(--mint-ink); stroke-opacity: 0.45; stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.motion .tx-for-ring .tx-ring-solid { stroke-dashoffset: 100; }
.motion .tx-for-ring.is-in .tx-ring-solid { stroke-dashoffset: 0; }
.tx-for-list { border-top: 1.5px solid var(--ink); }
.tx-for-list li {
  position: relative; padding: clamp(18px, 2vw, 26px) 0 clamp(18px, 2vw, 26px) 26px;
  border-bottom: 1px solid var(--line); font-size: clamp(1.0625rem, 1.6vw, 1.375rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.45;
}

.tx-method-sec { margin-inline: var(--inset); padding: var(--section) 0; border-radius: var(--radius-lg); background: var(--mist); }
.tx-methods { margin-top: clamp(28px, 3.4vw, 48px); display: grid; gap: clamp(12px, 1.4vw, 20px); }
.tx-methods-2, .tx-methods-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tx-methods-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tx-for-list li::before { content: ""; position: absolute; left: 2px; top: calc(clamp(18px, 2vw, 26px) + 0.68em); width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.tx-method { display: grid; align-content: start; gap: 10px; padding: clamp(24px, 2.8vw, 40px); border-radius: var(--radius); background: #fff; }
.tx-method h3 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 750; line-height: 1.3; letter-spacing: -0.03em; }
.tx-method p { color: var(--ink-2); }
.tx-method-sec .tx-h3 { margin-top: clamp(56px, 7vw, 96px); }
.tx-method-sec .tx-h3:first-child { margin-top: 0; }
.tx-table { margin-top: 20px; padding: clamp(12px, 2vw, 28px); border-radius: var(--radius-lg); background: #fff; overflow-x: auto; }
.tx-table table { width: 100%; border-collapse: collapse; }
.tx-table th, .tx-table td { padding: 16px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.tx-table thead th { font-size: 0.875rem; font-weight: 650; color: var(--ink-3); border-bottom: 1.5px solid var(--ink); }
.tx-table tbody th { font-weight: 750; white-space: nowrap; }
.tx-table td { color: var(--ink-2); }
.tx-table tbody tr:last-child > * { border-bottom: 0; }
.tx-kinds { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.tx-kind { padding: clamp(22px, 2.6vw, 36px); border-radius: var(--radius); background: #fff; }
.tx-kind h4 { margin: 0 0 8px; font-size: 1.0625rem; font-weight: 750; }
.tx-kind dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.tx-kind dt { font-weight: 750; }
.tx-kind dd { color: var(--ink-2); }
.tx-cases { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tx-cases li { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--radius); background: #fff; font-weight: 650; line-height: 1.5; }
.tx-timing { margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--charcoal-900); color: #fff; }
.tx-method-sec .tx-timing .tx-h3 { margin-top: 0; }
.tx-timing p { margin-top: 10px; max-width: 36em; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--sky); }

/* the old pages' step drawings, re-captioned: circles in a row, a chevron between, captions in the site's type */
.tx-methods-stack { grid-template-columns: 1fr; }
.tx-method-text { display: grid; gap: 10px; }
.tx-method.has-steps { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(20px, 3vw, 56px); }
.tx-steps { display: grid; gap: clamp(14px, 2vw, 28px) clamp(10px, 1.6vw, 24px); }
.tx-steps-1 { grid-template-columns: minmax(0, 200px); }
.tx-steps-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tx-steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tx-steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tx-steps li { display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; }
.tx-step-pic { position: relative; width: 100%; max-width: 200px; }
.tx-steps li + li .tx-step-pic::before {
  content: ""; position: absolute; left: calc(-1 * clamp(10px, 1.6vw, 24px) / 2 - 4px); top: calc(50% - 5px); width: 8px; height: 8px;
  border-top: 1.5px solid var(--mint-ink); border-right: 1.5px solid var(--mint-ink); transform: rotate(45deg); opacity: 0.7;
}
.tx-step-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); background: var(--mist); }
.tx-steps-rect .tx-step-pic { max-width: none; }
.tx-steps-rect .tx-step-pic img { aspect-ratio: auto; border-radius: 12px; }
.tx-step-cap { max-width: 16em; font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); text-wrap: balance; }
.tx-steps-wide { margin-top: clamp(20px, 2.6vw, 32px); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: #fff; }
.tx-steps-wide .tx-step-pic { max-width: 230px; }
.tx-method.has-fig { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: center; gap: clamp(20px, 4vw, 72px); padding: clamp(12px, 1.4vw, 18px) clamp(12px, 1.4vw, 18px) clamp(12px, 1.4vw, 18px) clamp(24px, 3.4vw, 56px); }
.tx-method.has-fig .tx-method-text { gap: 14px; max-width: 30em; }
.tx-method.has-fig .tx-method-text p { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.7; }
.tx-method.has-fig .tx-fig { width: 100%; padding: clamp(14px, 1.6vw, 22px); border-radius: calc(var(--radius) - 4px); background: var(--mist); }
.tx-method.has-fig .tx-fig img { max-height: 260px; width: auto; max-width: 100%; margin-inline: auto; display: block; }
.tx-method.has-fig .tx-fig figcaption { text-align: center; }
.tx-fig { margin: 0; justify-self: center; width: min(100%, 360px); }
.tx-fig img { width: 100%; height: auto; border-radius: 12px; }
.tx-fig figcaption { margin-top: 8px; font-size: 0.8125rem; color: var(--ink-3); }
/* two diagrams side by side (which layer the thread or the needle reaches) */
.tx-layers { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.tx-layer { margin: 0; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius); background: #fff; }
.tx-layer img { width: 100%; height: auto; border-radius: 12px; }
.tx-layer figcaption { margin-top: 14px; display: grid; gap: 4px; }
.tx-layer b { font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.02em; }
.tx-layer span { font-size: 0.9375rem; color: var(--ink-2); }
/* the face with the areas a lifting covers: our labels beside the photo, a dashed lead toward the face */
.tx-map-wrap { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
.tx-map { position: relative; width: min(100%, 560px); margin-inline: auto; padding: 0 128px; }
.tx-map img { width: 100%; height: auto; border-radius: var(--radius); }
.tx-map-label {
  position: absolute; translate: 0 -50%; padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 12px 20px -16px rgba(10, 38, 64, 0.5); font-size: 0.8125rem; font-weight: 650;
}
.tx-map-label.is-l { left: 0; }
.tx-map-label.is-r { right: 0; }
.tx-map-label::after { content: ""; position: absolute; top: 50%; width: 26px; border-top: 1.5px dashed var(--mint-ink); opacity: 0.8; }
.tx-map-label.is-l::after { left: 100%; }
.tx-map-label.is-r::after { right: 100%; }
.tx-map-model { position: absolute; left: 128px; bottom: 10px; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 0.75rem; font-weight: 600; color: var(--ink-3); }
/* the kinds of the problem, drawn, under the definition */
.tx-types { grid-column: 1 / -1; margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line-2); }
.tx-types h3 { margin-bottom: 18px; font-size: 1.0625rem; font-weight: 750; }
.tx-types ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.tx-types li { display: grid; justify-items: center; align-content: start; gap: 12px; text-align: center; font-size: 0.9375rem; color: var(--ink-2); text-wrap: balance; }
.tx-types img { width: min(100%, 200px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.tx-types-arch img { aspect-ratio: auto; border-radius: 20px; }
/* pictures beside a kind of implant or tissue, and on a re-operation case */
.tx-kind dl div.has-pic { grid-template-columns: 56px 96px 1fr; align-items: center; }
.tx-kind-pic { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.tx-kind.has-pics dl div:not(.has-pic) { padding-left: 68px; } /* rows without a picture keep the same text column */
.tx-cases.has-pics li { padding: 16px 16px 20px; }
.tx-case-pic { display: block; width: 100%; height: auto; border-radius: 12px; margin-bottom: 6px; }
.tx-cases-round li { justify-items: center; text-align: center; }
.tx-cases-round .tx-case-pic { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
/* what the clinic looks at in this treatment: the old 수술효과 cards on charcoal, without the promises */
.tx-points {
  margin: clamp(12px, 1.6vw, 20px) var(--inset) 0; padding: var(--section) 0; border-radius: var(--radius-lg);
  background: var(--charcoal); color: #fff; --fill-ink: #fff; --fill-dim: rgba(255, 255, 255, 0.18);
}
.tx-point-list { margin-top: clamp(28px, 3.4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.tx-point-list li {
  --pad: clamp(22px, 2.6vw, 36px);
  position: relative; display: grid; gap: 8px; padding: var(--pad) var(--pad) var(--pad) calc(var(--pad) + 20px);
  border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(220, 235, 247, 0.14);
}
.tx-point-list li::before { content: ""; position: absolute; left: var(--pad); top: calc(var(--pad) + 0.6em); width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.tx-point-list b { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); font-weight: 750; letter-spacing: -0.02em; }
.tx-point-list span { font-size: clamp(1rem, 1.15vw, 1.0625rem); line-height: 1.6; color: var(--sky); }

.tx-check { padding: var(--section) 0; }
.tx-checks { position: relative; margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.tx-checks::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; border-top: 1.5px dashed var(--mint-ink); opacity: 0.5; }
.tx-checks li { position: relative; display: grid; gap: 16px; align-content: start; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: 650; line-height: 1.5; letter-spacing: -0.02em; }
.tx-check-no {
  position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 0 0 1.5px var(--mint-ink); color: var(--mint-ink); font-size: 1rem; font-weight: 800;
}
.tx-checks-list { grid-template-columns: 1fr; gap: 0; }
.tx-checks-list::before { display: none; }
.tx-checks-list li { grid-template-columns: 44px 1fr; align-items: center; gap: 16px; padding: 12px 0; }

.tx-care { padding: 0 0 var(--section); }
.tx-ba { padding: 0 0 var(--section); }
.tx-ba-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.tx-ba-head .tx-sub { max-width: 40em; }
.tx-ba .ba-grid { margin-top: 0; }
/* 수술 전후 셀피: one patient per printed card on a sideways rail. The selfies are only ~300px wide, so a card never
   shows them larger than that: 수술 전 and the first 수술 후 side by side, the other two after small at the foot. */
.tx-selfies { padding: clamp(24px, 3vw, 40px) 0 var(--section); overflow: hidden; }
.rail-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(24px, 3vw, 40px); }
.rail-head .tx-sub { max-width: 40em; }
.rail-nav { display: flex; align-items: center; gap: 12px; }
.rail-nav .ctrl:disabled { opacity: 0.35; cursor: default; }
.rail-bar { position: relative; width: 120px; height: 2px; border-radius: 999px; background: var(--line); overflow: hidden; }
.rail-bar i { position: absolute; inset: 0 auto 0 0; width: 30%; border-radius: inherit; background: var(--ink); transition: transform 0.35s var(--ease-out), width 0.35s var(--ease-out); }
.is-static .rail-nav { visibility: hidden; }
.case-rail {
  --rail-pad: max(var(--gutter), (100% - var(--maxw)) / 2);
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(292px, 30%, 420px); gap: clamp(14px, 1.6vw, 22px);
  padding: 6px var(--rail-pad) 28px; scroll-padding-inline: var(--rail-pad);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.case-rail::-webkit-scrollbar { display: none; }
.case-rail:focus-visible { outline: 2px solid var(--mint); outline-offset: -2px; }
.case-card {
  scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; padding: 10px; border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 30px 50px -42px rgba(10, 38, 64, 0.55);
}
.case-pair { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; border-radius: 18px; overflow: hidden; background: var(--mist); }
.case-pic { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; }
.case-pic img { width: 100%; height: 100%; object-fit: cover; }
.case-tag {
  position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgba(20, 23, 27, 0.62); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.01em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.case-tag.is-after { background: var(--mint); }
.case-seam {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: #fff; color: var(--mint-ink); box-shadow: 0 8px 18px -8px rgba(10, 38, 64, 0.5);
}
.case-seam .icon { width: 16px; height: 16px; }
.case-body { display: grid; align-content: space-between; gap: 14px; padding: 16px 8px 6px; }
.case-cap { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); word-break: keep-all; }
.case-cap b { color: var(--ink); font-weight: 750; }
.case-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.case-when { font-size: 0.8125rem; font-weight: 700; color: var(--mint-ink); font-variant-numeric: tabular-nums; }
.case-more { display: flex; gap: 4px; }
.case-more img { width: 38px; height: 50px; object-fit: cover; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }

.tx-care-box { padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--mist); }
.tx-care ul { margin-top: 16px; display: grid; gap: 10px; }
.tx-care li { position: relative; padding-left: 18px; max-width: 48em; color: var(--ink-2); }
.tx-care li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.tx-related { padding-top: 0; }

/* ---------- information pages: a compact head, then plain blocks ---------- */
.ph { padding: calc(var(--header-h) + clamp(24px, 4vw, 56px)) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.ph .lnb-home:hover, .ph .lnb-btn:hover { background: var(--mist); }
.ph-title { font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 800; line-height: 1.14; letter-spacing: -0.04em; }
.ph-line { margin-top: 14px; font-size: clamp(1.0625rem, 1.4vw, 1.375rem); font-weight: 650; color: var(--ink-2); }
.js .ph-title { animation: rise 1s var(--ease-out) 0.1s both; }
.js .ph-line { animation: rise 1s var(--ease-out) 0.25s both; }
.info { padding: clamp(56px, 7vw, 104px) 0; }
.info + .info { padding-top: 0; }
.info-text { margin-top: 16px; max-width: 40em; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-2); }
.info-fine { margin-top: 16px; font-size: 0.9375rem; color: var(--ink-3); }
.info-fine a { color: var(--ink); text-decoration: underline; }
.info-cards { margin-top: clamp(28px, 3.4vw, 44px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.info-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-cards-stack { margin-top: 16px; grid-template-columns: 1fr; }
.info-card {
  position: relative; display: grid; align-content: start; gap: 8px; height: 100%;
  padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 32px) 76px; border-radius: var(--radius); background: var(--mist);
  transition: background-color 0.3s var(--ease-out);
}
.info-card strong { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); font-weight: 750; line-height: 1.35; letter-spacing: -0.02em; }
.info-card-text { font-size: 0.9375rem; color: var(--ink-2); }
.info-card-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 50%; background: var(--mint); color: #fff; }
.info-card-icon .icon { width: 22px; height: 22px; }
.info-card-go {
  position: absolute; left: clamp(22px, 2.4vw, 32px); bottom: 20px; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: #fff; transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.4s var(--ease-out);
}
.info-card-go .icon { width: 18px; height: 18px; }
.info-card:hover { background: var(--mist-2); }
.info-card:hover .info-card-go { background: var(--mint); color: #fff; transform: translateX(4px); }
.info-gate { max-width: 46em; }
.info-gate .btn-row, .info-actions, .info-event .btn-row { margin-top: 28px; }
.info-split-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 112px); align-items: start; }
.info-split + .info-split { padding-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); }
.info-split .tx-h3 { margin-bottom: 8px; }
.info-links { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.info-links a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--mist); font-size: 0.9375rem; font-weight: 650; transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.info-links .icon { width: 16px; height: 16px; }
.info-links a:hover { background: var(--ink); color: #fff; }
.info-steps { margin-top: clamp(28px, 3.4vw, 44px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.info-steps li { display: grid; align-content: start; gap: 8px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius); background: var(--mist); }
.info-steps strong { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); font-weight: 750; letter-spacing: -0.02em; }
.info-steps span:last-child { color: var(--ink-2); }
.info-badge {
  display: inline-flex; align-items: center; vertical-align: middle; min-height: 32px; margin-left: 8px; padding: 0 14px; border-radius: 999px;
  background: var(--mint); color: #fff; font-size: 0.875rem; font-weight: 700; letter-spacing: 0;
}
.info-event { max-width: 52em; }
.info-dl { margin-top: 24px; border-top: 1.5px solid var(--ink); }
.info-dl div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-dl dt { font-weight: 750; }
.info-dl dd { color: var(--ink-2); }
.info-hours dd { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; }
.info-more { margin-top: 20px; }
.info-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--mint-ink-600); }
.info-more .icon { width: 18px; height: 18px; }
.info-onair { padding-top: clamp(56px, 7vw, 104px); }

/* 수술 전후 사진: the notice first, chips to filter by part, a grid of before|after pairs, a viewer for the whole post */
.ba-notice { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--mist); }
.ba-notice ul { margin-top: 14px; display: grid; gap: 10px; }
.ba-notice li { position: relative; padding-left: 18px; max-width: 52em; color: var(--ink-2); }
.ba-notice li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.ba-filters { margin-top: clamp(28px, 3.4vw, 48px); display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 0.9375rem; font-weight: 650; transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.chip span { font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ba-filters .chip.is-on span { color: rgba(255, 255, 255, 0.7); }
.ba-count { margin-top: 16px; font-size: 0.9375rem; font-weight: 650; color: var(--ink-3); }
.chip-sm, .post-tools .chip { min-height: 32px; padding: 0 12px; background: #fff; font-size: 0.8125rem; }

/* ---------- 게시판 (껍데기): the list, one post, the 관리자 page ---------- */
.board-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.board-head .ba-filters { margin-top: 0; }
.board-tabs .chip { scroll-margin-top: calc(var(--header-h) + 32px); } /* board.html#video lands on the chips */
.board-search { display: flex; align-items: center; gap: 4px; padding: 0 4px 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.board-search:focus-within { border-color: var(--mint-ink); box-shadow: 0 0 0 3px var(--sky); }
.board-search input { width: min(56vw, 240px); min-height: 42px; border: 0; background: none; font: inherit; color: var(--ink); }
.board-search input:focus-visible { outline: none; }
.board-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.post-item { position: relative; }
.post-item.is-hidden { display: none; }
.post-item.is-off .post-card { opacity: 0.45; }
.post-card { display: grid; grid-template-rows: auto 1fr; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.25s var(--ease-out), transform 0.35s var(--ease-out); }
.post-card:hover { box-shadow: 0 0 0 1.5px var(--ink), 0 18px 34px -24px rgba(10, 38, 64, 0.5); transform: translateY(-2px); }
.post-pic { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--mist); }
.post-pic img { width: 100%; height: 100%; object-fit: cover; }
.post-pic.ba-pic { aspect-ratio: 2 / 1; }
.post-body { display: grid; align-content: start; gap: 8px; padding: 18px 20px 22px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 0.8125rem; color: var(--ink-3); }
.post-title { font-size: 1.125rem; font-weight: 750; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); }
.post-excerpt { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-tools { display: none; gap: 6px; }
.post-item .post-tools { position: absolute; right: 12px; top: 12px; z-index: 1; }
.is-admin .post-tools { display: flex; }
.admin-only { display: none; }
.is-admin a.admin-only { display: inline-flex; }
.board-pager { margin-top: clamp(28px, 3.4vw, 44px); display: flex; justify-content: center; align-items: center; gap: 8px; }
.board-page { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 700; }
.board-page.is-on { background: var(--ink); color: #fff; }
.board-head-right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 50; margin: 0; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.9375rem; font-weight: 650; white-space: nowrap; opacity: 0; translate: -50% 12px; pointer-events: none; transition: opacity 0.3s var(--ease-out), translate 0.3s var(--ease-out); }
.toast.is-on { opacity: 1; translate: -50% 0; }
/* 글 */
.post-wrap { max-width: 52em; }
.post-head { margin-top: 24px; display: grid; gap: 14px; padding-bottom: 24px; border-bottom: 1.5px solid var(--ink); }
.post-head .post-tools { position: static; }
.post-title-lg { font-size: clamp(1.625rem, 3vw, 2.5rem); font-weight: 780; line-height: 1.25; letter-spacing: -0.03em; }
.post-figure { margin-top: 28px; }
.post-figure img { width: 100%; height: auto; border-radius: var(--radius); }
.post-figure figcaption { padding: 10px 4px 0; font-size: 0.875rem; color: var(--ink-3); }
.post-content { margin-top: 28px; display: grid; gap: 16px; font-size: 1.0625rem; line-height: 1.8; color: var(--ink-2); }
.post-content h3 { margin-top: 12px; font-size: 1.25rem; font-weight: 750; color: var(--ink); }
.post-content ul { padding-left: 20px; list-style: disc; display: grid; gap: 6px; }
.post-note { padding: 14px 18px; border-radius: 12px; background: var(--mist); font-size: 0.9375rem; }
/* a post written in /admin (server/server.js): its video, its before-and-after facts, the admin's hidden-post banner */
.post-video { margin-top: 28px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.post-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.post-ba { margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 14px 18px; border-radius: 12px; background: var(--mist); font-size: 0.9375rem; }
.post-ba div { display: flex; gap: 10px; }
.post-ba dt { font-weight: 750; color: var(--ink); }
.post-ba dd { margin: 0; color: var(--ink-2); }
.post-hidden { margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: var(--sky); font-size: 0.9375rem; font-weight: 650; color: var(--mint-ink); }
.post-content .post-figure { margin-top: 4px; }
.post-nav { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.post-nav a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 12px; border: 1.5px solid var(--line); transition: border-color 0.2s var(--ease-out); }
.post-nav a:hover { border-color: var(--ink); }
.post-nav a:last-child { text-align: right; }
.post-nav span { font-size: 0.8125rem; color: var(--ink-3); }
.post-nav strong { font-weight: 700; }
.post .btn-row { margin-top: 24px; }
/* 관리자 */
tr.is-hidden-post td a { color: var(--ink-3); text-decoration: line-through; }

/* ---------- 얼굴본TV: video cards, the 얼굴본TV page, the watch page, the treatment-page strip ---------- */
.post-pic.vpic { aspect-ratio: 16 / 9; overflow: hidden; }
.vpic img { transition: transform 0.8s var(--ease-out); }
.post-card:hover .vpic img, .tv-feature:hover .vpic img { transform: scale(1.04); }
.vplay {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); box-shadow: 0 12px 28px -12px rgba(10, 38, 64, 0.55);
  transition: background-color 0.3s var(--ease-out), scale 0.4s var(--ease-out);
}
.vplay .icon { width: 22px; height: 22px; margin-left: 3px; }
.post-card:hover .vplay, .tv-feature:hover .vplay { background: var(--mint); scale: 1.06; }
.vdur { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(20, 23, 27, 0.72); color: #fff; font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
/* the 얼굴본TV page */
.tv-feature {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center;
  padding: clamp(10px, 1.2vw, 14px); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 0.25s var(--ease-out), transform 0.35s var(--ease-out);
}
.tv-feature:hover { box-shadow: 0 0 0 1.5px var(--ink), 0 24px 44px -30px rgba(10, 38, 64, 0.5); transform: translateY(-2px); }
.tv-feature-pic { border-radius: var(--radius); }
.tv-feature-pic .vplay { width: 72px; height: 72px; }
.tv-feature-pic .vplay .icon { width: 28px; height: 28px; }
.tv-feature-body { display: grid; gap: 12px; padding: 12px clamp(8px, 2vw, 28px) 12px 0; }
.tv-feature-title { font-size: clamp(1.5rem, 2.4vw, 2.125rem); font-weight: 780; line-height: 1.3; letter-spacing: -0.03em; text-wrap: balance; }
.tv-feature-go { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--mint-ink-600); }
.tv-feature-go .icon { width: 18px; height: 18px; }
.tv-grid { margin-top: clamp(20px, 2.4vw, 32px); }
.tv-shorts-head { margin-top: clamp(56px, 7vw, 96px); }
.tv-shorts-head .info-text { margin-top: 8px; }
.shorts { margin-top: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(10px, 1.2vw, 16px); } /* one row; scrolls on smaller screens */
.short-card { display: grid; gap: 10px; }
.short-pic { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--night); }
.short-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.short-card:hover .short-pic img { transform: scale(1.04); }
.short-title { font-size: 0.9375rem; font-weight: 700; line-height: 1.45; letter-spacing: -0.01em; }
/* the watch page */
.ph-title-tv { max-width: 22em; font-size: clamp(1.75rem, 3.4vw, 2.875rem); line-height: 1.24; text-wrap: balance; }
.watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(28px, 4vw, 64px); align-items: start; }
.watch-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--night); box-shadow: 0 40px 80px -50px rgba(10, 38, 64, 0.55); scroll-margin-top: calc(var(--header-h) + 24px); }
.watch-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch-meta { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 0.9375rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.watch-meta a { margin-left: auto; font-weight: 700; color: var(--mint-ink-600); }
.watch-meta a:hover { text-decoration: underline; }
@media (pointer: coarse) { .watch-meta a { padding-block: 9px; margin-block: -9px; } }
.watch-main > .tx-h3 { margin-top: clamp(36px, 4vw, 52px); }
.watch-body { margin-top: 12px; display: grid; gap: 12px; max-width: 44em; font-size: 1.0625rem; line-height: 1.8; color: var(--ink-2); }
.watch-chapters { margin-top: 14px; border-top: 1.5px solid var(--ink); }
.watch-chapters a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; min-height: 52px; padding: 10px 6px; border-bottom: 1px solid var(--line); font-weight: 650; transition: background-color 0.2s var(--ease-out); }
.watch-chapters a:hover { background: var(--mist); }
.watch-time { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--sky); color: var(--mint-ink); font-size: 0.8125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.watch-note { margin-top: 28px; padding: 16px 20px; border-radius: 12px; background: var(--mist); font-size: 0.9375rem; color: var(--ink-2); }
.watch-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; align-content: start; }
.watch-side .tx-h3 { font-size: 1.1875rem; }
.watch-side .tx-h3:not(:first-child) { margin-top: 20px; }
.watch-side .chips { margin-top: 0; }
.yt-lite.yt-short { aspect-ratio: 9 / 16; max-width: 300px; border-radius: var(--radius); } /* .yt-lite is 16:9 and comes later in the file */
.yt-lite.yt-short img { opacity: 0.8; }
.yt-short .yt-lite-play span { font-variant-numeric: tabular-nums; }
.watch-short-title { font-weight: 700; line-height: 1.45; }
.watch-tags { font-size: 0.875rem; line-height: 1.8; color: var(--ink-3); word-break: keep-all; }
/* treatment pages: 원장이 영상으로 설명합니다 */
.tx-tv { padding: var(--section) 0 0; }
.tx-tv-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tx-tv-one { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); background: linear-gradient(135deg, #fff 40%, var(--mist)); }
.tx-tv-one .tv-feature-body { gap: 14px; }
.tx-tv-one .tv-feature-title { font-size: clamp(1.375rem, 2vw, 1.875rem); }
.tx-tv-one .post-excerpt { -webkit-line-clamp: 3; }
.tv-chapters { display: grid; gap: 2px; margin: 2px 0; padding: 10px 0; border-block: 1px solid var(--line-2); counter-reset: none; }
.tv-chapters li { display: flex; align-items: baseline; gap: 12px; padding: 4px 0; font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); line-height: 1.45; }
.tv-ch-time { flex: none; min-width: 44px; font-size: 0.8125rem; font-weight: 800; color: var(--mint-ink); font-variant-numeric: tabular-nums; }
.tv-by { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--ink-3); }
.tv-by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.tv-by span { display: grid; line-height: 1.35; }
.tv-by b { font-weight: 750; color: var(--ink); }
.ba-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.ba-item.is-hidden { display: none; }
.ba-item.is-more { display: none; } /* past the phone's page of twelve (sub.js) */
.ba-more { display: flex; width: min(100%, 320px); margin: 28px auto 0; }
.ba-more[hidden] { display: none; }
.ba-card { display: grid; width: 100%; text-align: left; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.25s var(--ease-out), transform 0.35s var(--ease-out); }
.ba-card:hover { box-shadow: 0 0 0 1.5px var(--ink), 0 18px 34px -24px rgba(10, 38, 64, 0.5); transform: translateY(-2px); }
.ba-pic { position: relative; display: block; aspect-ratio: 2 / 1; background: var(--mist); }
.ba-pic img { width: 100%; height: 100%; object-fit: cover; }
.ba-before, .ba-after { position: absolute; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(20, 23, 27, 0.72); color: #fff; font-size: 0.75rem; font-weight: 700; }
.ba-before { left: 10px; }
.ba-after { right: 10px; background: var(--mint); color: #fff; }
.ba-body { display: grid; gap: 8px; padding: 14px 16px 16px; }
.ba-title { font-size: 1rem; font-weight: 700; line-height: 1.45; letter-spacing: -0.01em; }
.ba-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ba-tag { padding: 2px 10px; border-radius: 999px; background: var(--mist); font-size: 0.8125rem; font-weight: 650; color: var(--mint-ink-600); }
.ba-tag-n { background: transparent; box-shadow: 0 0 0 1px var(--line); color: var(--ink-3); }
.ba-dialog { width: min(100% - 32px, 960px); max-height: min(100svh - 32px, 900px); padding: 0; border: 0; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 40px 80px -30px rgba(6, 26, 45, 0.7); }
.ba-dialog::backdrop { background: rgba(6, 26, 45, 0.7); }
.ba-dialog-inner { display: grid; grid-template-rows: auto 1fr auto; max-height: inherit; }
.ba-dialog-head { display: flex; align-items: center; gap: 16px; padding: 16px 16px 12px 24px; border-bottom: 1px solid var(--line-2); }
.ba-dialog-title { flex: 1; font-size: 1.0625rem; font-weight: 750; line-height: 1.4; }
.ba-dialog-pics { display: grid; gap: 12px; padding: 16px 24px; overflow: auto; }
.ba-dialog-pics figure { position: relative; margin: 0; }
.ba-dialog-pics img { width: 100%; height: auto; border-radius: 12px; background: var(--mist); }
.ba-dialog-pics .ba-before, .ba-dialog-pics .ba-after { bottom: 12px; font-size: 0.8125rem; }
.ba-dialog-nav { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 24px 18px; font-size: 0.9375rem; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink-3); border-top: 1px solid var(--line-2); }
/* YouTube loads only when asked */
.yt-lite { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--night); }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.yt-lite-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #fff; font-size: 1.0625rem; font-weight: 700; }
.yt-lite-play .icon { width: 28px; height: 28px; padding: 22px; border-radius: 50%; background: var(--mint); color: #fff; box-sizing: content-box; transition: transform 0.4s var(--ease-out), background-color 0.3s var(--ease-out); }
.yt-lite-play:hover .icon { transform: scale(1.06); background: var(--mint-600); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* consultation forms: sent to the site's server (server/consult.js) by js/sub.js; the phone and SMS forms fall back to
   the old server's handler, whose field names they keep */
.cform-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.cform { display: grid; gap: 20px; padding: clamp(24px, 3vw, 44px); border-radius: var(--radius-lg); background: var(--mist); }
.cform-row { display: grid; gap: 8px; }
.cform-row > label, .cform-phone legend { font-size: 0.9375rem; font-weight: 750; }
.cform-phone { margin: 0; padding: 0; border: 0; min-width: 0; }
.cform-phone legend { padding: 0; margin-bottom: 8px; }
.cform input[type="text"], .cform input[type="password"], .cform select, .cform textarea {
  width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.cform textarea { min-height: 168px; padding: 14px 16px; resize: vertical; line-height: 1.6; }
.cform input:focus-visible, .cform select:focus-visible, .cform textarea:focus-visible { outline: 3px solid var(--mint-ink); outline-offset: 3px; border-color: var(--mint-ink); }
.cform [aria-invalid="true"] { border: 2px solid var(--charcoal); background-color: #fff; }
.cform-err { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 650; color: var(--charcoal); }
.cform-err::before {
  content: "!"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--charcoal); color: #fff; font-size: 0.8125rem; font-weight: 800;
}
.cform-err:empty { display: none; }
.cform-tel { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.cform-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 650; cursor: pointer; }
.cform-check input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--mint-ink); }
.cform-privacy { margin-top: 8px; font-size: 0.875rem; color: var(--ink-3); }
.cform-privacy summary { min-height: 32px; display: flex; align-items: center; cursor: pointer; text-decoration: underline; }
.cform-privacy ul { margin-top: 6px; display: grid; gap: 4px; padding-left: 18px; list-style: disc; }
.cform-submit { justify-self: start; }
.cform-status { min-height: 1.6em; font-weight: 650; color: var(--charcoal); }
.cform-status:empty { display: none; }
.cform-opt { font-weight: 500; color: var(--ink-3); font-size: 0.875rem; }
.cform-lead { margin-top: -8px; color: var(--ink-2); }
.cform-label { font-size: 0.9375rem; font-weight: 750; }
.cform-hint { font-size: 0.875rem; color: var(--ink-3); }
.cform-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; align-items: start; }
.cform input[type="date"] {
  width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.cform select { -webkit-appearance: none; appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366707b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.cform-tel select { padding: 0 30px 0 14px; background-position: right 8px center; background-size: 16px; }
.cform-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.cform-pick { position: relative; }
.cform-pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cform-pick span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 650; transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.cform-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.cform-pick input:focus-visible + span { outline: 3px solid var(--mint-ink); outline-offset: 3px; }
.cform-file { position: relative; display: inline-flex; align-items: center; justify-self: start; gap: 10px; min-height: 52px; padding: 0 20px; border: 1.5px dashed var(--mint-ink); border-radius: 12px; background: #fff; color: var(--mint-ink); font-weight: 700; cursor: pointer; }
.cform-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cform-file:focus-within { outline: 3px solid var(--mint-ink); outline-offset: 3px; }
.cform-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.cform-thumbs:empty { display: none; }
.cform-thumbs li { position: relative; width: 88px; height: 88px; border-radius: 12px; overflow: hidden; background: var(--sky); }
.cform-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cform-thumbs button { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(20, 23, 27, 0.72); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.cform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-submit[aria-busy="true"] { opacity: 0.6; pointer-events: none; }
.cform-done { display: grid; justify-items: start; gap: 14px; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius-lg); background: var(--mist); outline: none; }
.cform-done-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--mint); color: #fff; }
.cform-done-mark .icon { width: 28px; height: 28px; }
.cform-done h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 780; letter-spacing: -0.03em; }
.cform-done p { color: var(--ink-2); max-width: 34em; }
@media (max-width: 560px) { .cform-two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .transit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .transit-bus { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 960px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile.is-flip .profile-grid { grid-template-columns: 1fr; }
  .profile.is-flip .profile-photo { order: 0; }
  .profile-photo { width: min(100% - 32px, 420px); }
  .onair-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid { grid-template-columns: 1fr; }
  .story-stack { display: none; }
  .story-inline { display: block; margin: 0 0 28px; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); }
  .story-item { min-height: 0; padding: 0; }
  .story-item + .story-item { margin-top: clamp(64px, 12vw, 96px); }
  /* tablets and phones: each number stacks under its circle, centred */
  .figures-pin { --orb: min(66vw, 300px); padding-block: clamp(64px, 12vw, 96px); }
  .figure-step { grid-template-columns: 1fr; grid-template-areas: "orb" "num" "copy"; justify-items: center; row-gap: 22px; text-align: center; }
  .fig-orb.has-model { margin-bottom: 24px; }
  .fig-orb.is-solo { margin-bottom: 44px; }
  .fig-names { left: -6%; right: -6%; }
  .figure-num { justify-items: center; text-align: center; gap: 10px; }
  .figure-num-in { justify-content: center; }
  .figure-big { font-size: clamp(4rem, 17vw, 6rem); }
  .figure-copy { max-width: 30rem; }
  .soc-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; border-top: 0; }
  .soc-list li {
    min-height: 34px; padding: 0 13px; border: 0; border-radius: 999px; font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(220, 235, 247, 0.16);
  }
  .addr-grid, .clock-grid { grid-template-columns: 1fr; }
  .clock-photo { width: min(100% - 32px, 460px); aspect-ratio: 5 / 4; }
  /* phones and tablets: the map rides along at the top while the steps pass under it */
  .route-grid { grid-template-columns: 1fr; gap: 0; }
  .tx-about-grid, .tx-for-grid, .info-split-grid, .cform-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watch-grid, .tv-feature { grid-template-columns: 1fr; }
  .shorts { grid-auto-columns: 23%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .shorts li { scroll-snap-align: start; }
  .watch-side { position: static; }
  .tv-feature-body { padding: 4px 8px 12px; }
  .tx-method.has-steps, .tx-method.has-fig { grid-template-columns: 1fr; }
  .info-cards, .info-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-steps { grid-template-columns: 1fr; }
  .tx-for-ring { width: 200px; }
  .route-map { top: calc(var(--header-h) + 8px); z-index: 2; margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter) 16px; background: var(--mist); }
  .route-map svg { max-height: 36svh; }
  .route-map figcaption { display: none; }
  .route-step { min-height: 46svh; }
  .route-step:last-child { min-height: 0; }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-a, .tour-b, .tour-c { grid-column: auto; grid-row: auto; }
  .tour-a .tour-frame { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 768px) {
  .sv { height: 124svh; }
  /* the frame ends at the phone's bottom bar (64px + the safe area), so nothing is laid out under the bar */
  .sv-sticky { height: calc(100svh - 64px - env(safe-area-inset-bottom)); }
  .sv-media { --fh: min(52svh, 460px); }
  .sv-media img { object-position: var(--sv-pos-m, var(--sv-pos, 48% 50%)); } /* a page can reframe its subject for a portrait screen */
  .sv-credit { bottom: 14px; }
  /* .sv-low: the subject's face sits high in its photo, so on a phone the title moves to the bottom and the card
     settles at the top, with the face inside it. The card takes only the room left above the title (its height is
     measured into --sv-head-h by sub.js), so on a short screen, such as an in-app browser, the two never overlap. */
  .sv-low .sv-head { top: auto; bottom: 24px; }
  .sv-low .sv-media { --fh: clamp(140px, calc(100% - var(--header-h) - 16px - 24px - var(--sv-head-h, 220px) - 24px), 460px); }
  .sv-low.is-framed .sv-media {
    clip-path: inset(calc(var(--header-h) + 16px) var(--inset) calc(100% - var(--header-h) - 16px - var(--fh)) var(--inset) round var(--radius-lg));
  }
  .sv-low + section { padding-top: 40px; } /* the title already sits at the frame's foot: no second gap under it */
  .sv-low.is-framed .sv-media img { transform: translateY(var(--sv-shift-m, 12svh)); }
  .rail { grid-template-columns: 1fr; gap: 10px; justify-items: center; }
  .rail-line { width: 100%; max-width: 320px; }
  .pillar-list { grid-template-columns: 1fr; justify-items: center; }
  .pillar-list::before { left: 50%; right: auto; top: 12%; bottom: 12%; border-top: 0; border-left: 1.5px dashed rgba(220, 235, 247, 0.4); }
  .motion .pillar-list::before { clip-path: inset(0 0 100% 0); }
  .pillar { width: min(100%, 340px); }
  .pillar::before, .motion .pillar.is-lit::before { clip-path: circle(150% at 50% 0%); }
  .motion .pillar::before { clip-path: circle(0% at 50% 0%); }
  .fig-parts li { height: 30px; padding: 0 11px 0 9px; gap: 6px; font-size: 0.8125rem; }
  .flow-controls .flow-bar { display: none; }
  .flow-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .flow-tabs::-webkit-scrollbar { display: none; }
  .flow-tabs button { flex: none; }
  .flow-track { --slide: 86vw; }
  .flow-slide { height: 540px; }
  .flow-slide::after { background: linear-gradient(180deg, rgba(6, 26, 45, 0) 28%, rgba(6, 26, 45, 0.9) 100%); }
  .flow-copy { max-width: none; padding: 24px; }
  .ring-circle { width: min(90vw, 660px); }
  .creed-bg img { width: 100%; }
  .creed-bg::after { background: linear-gradient(180deg, rgba(6, 26, 45, 0.45) 0%, rgba(6, 26, 45, 0.7) 55%, var(--night) 100%); }
  .creed.is-dim .creed-bg img { opacity: 0.3; }
  .area-list { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); }
  .area-list::-webkit-scrollbar { display: none; }
  .area-list li, .area-list li:hover, .area-list li:focus-within { flex: 0 0 min(64vw, 280px); height: 400px; scroll-snap-align: start; }
  .area-go { opacity: 1; transform: none; }
  .profile-lists { grid-template-columns: 1fr; }
  .onair-list { grid-template-columns: 1fr; }
  .addr-map-link { aspect-ratio: 4 / 5; }
  .sv-tr .sv-media::after { background: linear-gradient(0deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.7) 26%, rgba(255, 255, 255, 0) 52%); }
  .sv-model { top: calc(var(--header-h) + 14px); bottom: auto; }
  .sv-tr.is-framed .sv-model { top: calc(var(--header-h) + 30px); }
  .tx-facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx-methods-2, .tx-methods-3, .tx-methods-4, .tx-kinds { grid-template-columns: 1fr; }
  .tx-checks { grid-template-columns: 1fr; gap: 0; }
  .tx-checks::before { left: 21px; right: auto; top: 22px; bottom: 22px; border-top: 0; border-left: 1.5px dashed var(--mint-ink); }
  .tx-checks li { grid-template-columns: 44px 1fr; align-items: center; padding: 10px 0; }
  .tx-kind dl div { grid-template-columns: 1fr; gap: 2px; }
  .ba-grid { grid-template-columns: 1fr; }
  .board-grid, .post-nav { grid-template-columns: 1fr; }
  .shorts { grid-auto-columns: 44%; }
  .watch-meta a { margin-left: 0; }
  .yt-lite.yt-short { max-width: 240px; }
  .post-nav a:last-child { text-align: left; }
  .toast { bottom: 84px; }
  .board-head-right { width: 100%; }
  .board-search { width: 100%; }
  .board-search input { width: 100%; }
  .ba-dialog { width: 100%; max-height: 100svh; border-radius: 0; }
  .ba-dialog-pics { padding: 12px 16px; }
  .ba-dialog-head { padding-left: 16px; }
  .tx-kind dl div.has-pic { grid-template-columns: 48px 1fr; }
  .tx-kind dl div.has-pic dd { grid-column: 2; }
  .tx-kind-pic { width: 48px; height: 48px; }
  .tx-method.has-steps, .tx-method.has-fig { grid-template-columns: 1fr; }
  .tx-steps-3, .tx-steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx-steps li + li .tx-step-pic::before { display: none; }
  .tx-step-pic { max-width: 160px; }
  .case-rail { grid-auto-columns: min(82vw, 330px); }
  .rail-nav { width: 100%; }
  .rail-bar { flex: 1; }
  .tx-tv-grid.is-2 { grid-template-columns: 1fr; }
  .tx-tv-one { grid-template-columns: 1fr; }
  .tx-method.has-fig { padding: clamp(24px, 2.8vw, 40px); }
  .tx-layers, .tx-point-list, .tx-types ul, .tx-map-wrap { grid-template-columns: 1fr; }
  .tx-map { padding: 0 96px; }
  .tx-map-model { left: 96px; }
  .info-cards, .info-cards-4 { grid-template-columns: 1fr; }
  .tx-related .area-body { padding-right: 76px; } /* the description ends before the arrow */
  .info-dl div { grid-template-columns: 84px 1fr; }
  .cform-tel { grid-template-columns: 84px minmax(0, 1fr) minmax(0, 1fr); }
  .addr-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addr-actions .btn:first-child { grid-column: 1 / -1; }
  .transit-grid { grid-template-columns: 1fr; }
  .transit-bus { grid-row: auto; }
  .stops { grid-template-columns: 1fr; }
  .clock-list > div { grid-template-columns: 64px 1fr; }
  .clock-list dd { font-size: clamp(1.625rem, 8.4vw, 3rem); } /* the times fit a 360px phone */
  .book-list { grid-template-columns: 1fr; }
  /* the reel becomes a strip to swipe */
  .reel-track { --h: 360px; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-inline: var(--gutter); }
  .reel-track::-webkit-scrollbar { display: none; }
  .reel-item { height: auto; width: min(72vw, 300px); aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .reel-item.is-wide { width: min(84vw, 380px); aspect-ratio: 4 / 5; }
}

/* ---------- information pages, 2026-09-28: the main page's language on every page ----------
   The head is a sky stage like the main hero card: light from the top left, the measuring dial turning behind, a dot
   grid under the words, and the page's photo in a white-ringed circle with a breathing halo and a dashed orbit.
   The bodies use the main page's pieces: printed cards (a photo in a white mat), the night stage with the moving
   backdrop (main.js draws canvas[data-sky]), quote cards, numbered steps on a dashed guide. */
.ph.ph-stage { padding: calc(var(--header-h) + 8px) 0 0; border-bottom: 0; }
.ph-card {
  --deco: rgba(19, 95, 152, 0.2); --deco-strong: rgba(19, 95, 152, 0.5);
  position: relative; isolation: isolate; overflow: hidden;
  margin-inline: var(--inset); border-radius: var(--radius-lg);
  min-height: clamp(300px, 32vw, 440px); display: grid; align-items: center;
  background:
    radial-gradient(70% 90% at 6% 0%, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(46% 70% at 80% 55%, rgba(255, 255, 255, 0.6), transparent 70%),
    radial-gradient(60% 80% at 100% 100%, rgba(24, 116, 184, 0.16), transparent 70%),
    linear-gradient(120deg, #f4f8fc 0%, var(--sky) 60%, #d2e4f4 100%);
}
.ph-card::after {
  content: ""; position: absolute; inset: -20px; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, var(--deco-strong) 1px, transparent 1.6px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(40% 60% at 16% 88%, #000, transparent 72%);
  mask-image: radial-gradient(40% 60% at 16% 88%, #000, transparent 72%);
  opacity: 0.5;
}
.ph-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ph-dial { position: absolute; left: 78%; top: 54%; height: 175%; width: auto; aspect-ratio: 1; translate: -50% -50%; overflow: visible; }
.ph-dial circle, .ph-dial line { fill: none; stroke: var(--deco); stroke-width: 0.8; }
.ph-dial .dial-ticks circle { stroke-width: 12; }
.ph-dial .dial-ticks .dial-ticks-long { stroke: var(--deco-strong); stroke-width: 24; }
.ph-dial .dial-dash { stroke: var(--deco-strong); stroke-dasharray: 4 7; stroke-linecap: round; }
.ph-dial .dial-faint { stroke-dasharray: 1 5; }
.ph-dial .dial-node { fill: var(--deco-strong); stroke: none; }
.ph-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; padding-block: clamp(36px, 5vw, 72px); }
.ph-stage .lnb-home:hover, .ph-stage .lnb-btn:hover { background: rgba(255, 255, 255, 0.7); }
.ph-stage .ph-line { max-width: 34em; }
.ph-orb { position: relative; width: clamp(180px, 20vw, 290px); aspect-ratio: 1; margin: 0 clamp(0px, 5vw, 88px) 0 0; }
.ph-orb::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: 160%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(236, 178, 196, 0.28) 48%, rgba(24, 116, 184, 0.12) 72%, rgba(24, 116, 184, 0) 100%);
  animation: step-breathe 5.5s ease-in-out infinite alternate;
}
.ph-orbit {
  position: absolute; inset: -22px; border-radius: 50%; border: 1px dashed rgba(19, 95, 152, 0.38);
  animation: dial-turn 44s linear infinite;
}
.ph-orbit i {
  position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 6px rgba(24, 116, 184, 0.16);
}
.ph-pic {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--mist);
  box-shadow: 0 0 0 8px #fff, 0 0 0 9px rgba(19, 95, 152, 0.28), 0 44px 70px -34px rgba(10, 38, 64, 0.5);
}
.ph-pic img { width: 100%; height: 100%; object-fit: cover; }
.ph-model { position: absolute; left: 50%; top: calc(100% + 30px); translate: -50% 0; white-space: nowrap; font-size: 0.75rem; font-weight: 400; color: var(--ink-3); }
.js .ph-stage .ph-title { animation: rise 1s var(--ease-out) 0.1s both; }
.js .ph-stage .ph-line { animation: rise 1s var(--ease-out) 0.25s both; }
.js .ph-stage .ph-orb { animation: ph-orb-in 1.4s var(--ease-out) 0.15s both; }
@keyframes ph-orb-in { from { opacity: 0; transform: scale(0.86); } }

/* the photo steps and link cards: a picture in a white mat with its own corners, a tag, the title, a line, an arrow */
.pcards { margin-top: clamp(28px, 3.4vw, 44px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.pcard {
  position: relative; display: grid; grid-template-rows: auto 1fr; height: 100%; padding: 10px; border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 30px 50px -44px rgba(10, 38, 64, 0.55);
  transition: transform 0.35s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
a.pcard:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 40px 64px -42px rgba(10, 38, 64, 0.6); }
.pcard-pic { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--mist); }
.pcard-pic > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
a.pcard:hover .pcard-pic > img { transform: scale(1.04); }
.pcard-pic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(20, 23, 27, 0.05); pointer-events: none; }
.pcard-model { position: absolute; right: 14px; top: 12px; z-index: 1; font-size: 0.75rem; font-weight: 400; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.pcard-body { display: grid; align-content: start; gap: 8px; padding: 20px 14px 64px; }
.pcard.is-still .pcard-body { padding-bottom: 18px; }
.pcard-tag, .st-no {
  justify-self: start; display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--sky); color: var(--mint-ink-600); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; font-variant-numeric: tabular-nums;
}
.pcard-title { font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 750; line-height: 1.35; letter-spacing: -0.025em; color: var(--ink); }
.pcard-text { font-size: 0.9375rem; line-height: 1.65; color: var(--ink-2); word-break: keep-all; }
.pcard-go {
  position: absolute; right: 22px; bottom: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--mint); color: #fff; transition: transform 0.35s var(--ease-out), background-color 0.3s var(--ease-out);
}
.pcard-go .icon { width: 18px; height: 18px; }
a.pcard:hover .pcard-go { transform: translateX(3px); background: var(--mint-600); }
.icon-tile {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--mint-ink);
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
    linear-gradient(135deg, #f4f8fc, var(--sky));
}
.icon-tile::before, .icon-tile::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; translate: -50% -50%; }
.icon-tile::before { width: 58%; aspect-ratio: 1; border: 1px dashed rgba(19, 95, 152, 0.35); animation: dial-turn 40s linear infinite; }
.icon-tile::after { width: 84px; height: 84px; background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.55), 0 24px 40px -22px rgba(10, 38, 64, 0.45); }
.icon-tile .icon { position: relative; z-index: 1; width: 34px; height: 34px; }
.hours-tile {
  position: absolute; inset: 0; display: grid; align-content: center; gap: 2px; padding: 0 12%; color: #fff;
  background: radial-gradient(80% 90% at 0% 0%, rgba(24, 116, 184, 0.45), transparent 60%), var(--night);
}
.hours-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(220, 235, 247, 0.14); font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 750; font-variant-numeric: tabular-nums; }
.hours-row:last-child { border-bottom: 0; }
.hours-row b { font-size: 0.8125rem; font-weight: 650; color: var(--sky); }
.hours-row.is-off span { color: rgba(220, 235, 247, 0.6); }

/* the night stage: a rounded night region inset from the page, over the moving backdrop */
.night-band { padding-block: clamp(24px, 3vw, 40px); }
.night-stage {
  position: relative; isolation: isolate; overflow: hidden; margin-inline: var(--inset); padding: clamp(64px, 8vw, 112px) 0;
  border-radius: var(--radius-lg); color: #fff; --fill-ink: #fff; --fill-dim: rgba(255, 255, 255, 0.2);
  background: radial-gradient(60% 70% at 50% 58%, rgba(24, 116, 184, 0.22), transparent 70%), var(--night);
}
.night-sky { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.night-head { max-width: 42em; margin-inline: auto; text-align: center; }
.night-title { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 750; line-height: 1.24; letter-spacing: -0.038em; text-wrap: balance; }
.night-lead { margin-top: 14px; font-size: clamp(1rem, 1.2vw, 1.125rem); color: rgba(220, 235, 247, 0.82); text-wrap: pretty; }
.info-tail { padding-top: 8px; }
.night-band + .info:not(.info-tail) { padding-top: clamp(56px, 7vw, 104px); }
.st-steps + .info-fine { margin-top: clamp(36px, 4vw, 52px); }
/* the hand-off to the old board: a mist card, words on the left, the buttons on the right */
.container.info-gate {
  max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t b" "x b" "n n"; align-items: center; gap: 6px 40px;
  padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3.6vw, 52px); border-radius: 26px; background: var(--mist);
}
.info-gate > .tx-h3 { grid-area: t; }
.info-gate > .info-text { grid-area: x; margin-top: 0; }
.info-gate > .btn-row { grid-area: b; margin-top: 0; }
.info-gate > .info-fine { grid-area: n; }

/* questions to bring: the main page's quote mark over glass cards on the night stage */
.q-cards { margin-top: clamp(36px, 4.4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.q-cards li {
  display: grid; align-content: space-between; gap: 24px; min-height: 210px; padding: clamp(24px, 2.6vw, 34px); border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)); box-shadow: inset 0 0 0 1px rgba(220, 235, 247, 0.16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.q-text { font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); font-weight: 750; line-height: 1.45; letter-spacing: -0.03em; }
.q-text::before {
  content: "\201C"; display: block; height: 0.42em; margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif; font-size: 2.8em; font-weight: 700; line-height: 1; color: #f6d3e0;
}
.q-tag { justify-self: start; padding: 4px 12px; border-radius: 999px; background: rgba(220, 235, 247, 0.12); color: var(--sky); font-size: 0.8125rem; font-weight: 700; }

/* 수술후기: why there are no reviews, in three facts */
.rv-why { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 112px); align-items: start; }
.pt-list { display: grid; gap: 12px; }
.pt-list li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; row-gap: 4px; align-items: center; padding: 22px 24px; border-radius: 22px; background: var(--mist); }
.pt-icon { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--mint-ink); box-shadow: 0 0 0 6px rgba(24, 116, 184, 0.08); }
.pt-icon .icon { width: 24px; height: 24px; }
.pt-list strong { align-self: end; font-size: 1.125rem; font-weight: 750; letter-spacing: -0.02em; }
.pt-list li > span:last-child { align-self: start; font-size: 0.9375rem; color: var(--ink-2); }

/* 수술별 회복: one tile per surgery, read from the treatment pages' own facts */
.rec-filters { margin-top: 28px; }
.rec-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rec-tile {
  display: grid; align-content: start; gap: 6px; height: 100%; padding: 20px 20px 18px; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.25s var(--ease-out), transform 0.35s var(--ease-out);
}
.rec-tile:hover { box-shadow: 0 0 0 1.5px var(--mint), 0 24px 40px -30px rgba(10, 38, 64, 0.45); transform: translateY(-2px); }
.rec-part { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; color: var(--mint-ink); }
.rec-name { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.02em; }
.rec-back { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.rec-back span { font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.rec-back b { font-size: 1.125rem; font-weight: 800; color: var(--mint-ink-600); font-variant-numeric: tabular-nums; }
.rec-meta { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 0.8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* 리얼셀피: the treatment pages' selfie cards, in a grid */
.case-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }

/* 리얼스토리: the five steps of a visit, pictures and words taking turns on either side of a dashed line */
.journey-head { max-width: 46em; }
.journey { position: relative; margin-top: clamp(40px, 5vw, 72px); display: grid; gap: clamp(40px, 6vw, 88px); }
.journey::before { content: ""; position: absolute; left: 50%; top: 24px; bottom: 24px; border-left: 1.5px dashed rgba(19, 95, 152, 0.4); }
.journey-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 9vw, 150px); align-items: center; }
.journey-step::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; translate: -50% -50%; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px var(--mint), 0 0 0 11px rgba(24, 116, 184, 0.12);
}
.journey-step:nth-child(even) .journey-pic { order: 2; }
.journey-pic { position: relative; margin: 0; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); box-shadow: 0 40px 70px -52px rgba(10, 38, 64, 0.65); }
.journey-pic img { width: 100%; height: 100%; object-fit: cover; }
.journey-copy { display: grid; justify-items: start; gap: 12px; max-width: 30em; }
.journey-copy h3 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 750; line-height: 1.3; letter-spacing: -0.035em; }
.journey-copy p { font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-2); }
.journey-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; color: var(--mint-ink-600); }
.journey-link .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.journey-link:hover .icon { transform: translateX(4px); }
@media (pointer: coarse) { .journey-link { padding-block: 9px; margin: -3px 0 -9px; } } /* a taller tap area, same place */
.motion .journey-step { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-out); }
.motion .journey-step.is-in { opacity: 1; transform: none; }

/* numbered steps on a dashed guide (order is real) */
.st-steps { position: relative; margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.st-steps::before { content: ""; position: absolute; left: 16.7%; right: 16.7%; top: 28px; border-top: 1.5px dashed rgba(19, 95, 152, 0.45); }
.st-steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; padding: 0 8px; text-align: center; }
.st-steps .st-no {
  position: relative; z-index: 1; justify-self: center; width: 56px; height: 56px; padding: 0; border-radius: 50%; background: #fff; font-size: 1rem;
  box-shadow: 0 0 0 1.5px var(--mint), 0 0 0 9px #fff, 0 0 0 10px rgba(19, 95, 152, 0.16);
}
.st-steps strong { margin-top: 8px; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); font-weight: 750; letter-spacing: -0.02em; }
.st-steps li > span:last-child { max-width: 20em; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }

/* 이벤트: the poster, the model on the hero's sky field beside the details */
.ev-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 50px 90px -70px rgba(10, 38, 64, 0.6); }
.ev-visual {
  --deco: rgba(19, 95, 152, 0.22); --deco-strong: rgba(19, 95, 152, 0.55);
  position: relative; min-height: 540px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 90% at 10% 0%, rgba(255, 255, 255, 0.8), transparent 62%),
    radial-gradient(60% 80% at 0% 100%, rgba(24, 116, 184, 0.2), transparent 72%),
    var(--sky);
}
.ev-visual::before {
  content: ""; position: absolute; left: 50%; bottom: 6%; z-index: -1; width: 86%; aspect-ratio: 1; border-radius: 50%; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 100%);
}
.ev-dial { left: 50%; top: 56%; height: 150%; z-index: -1; }
.ev-cut {
  position: absolute; left: 50%; bottom: 0; height: 88%; width: auto; max-width: none; translate: -50% 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 74%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 74%, transparent 100%);
}
.ev-model { position: absolute; right: 20px; bottom: 16px; font-size: 0.75rem; font-weight: 400; color: var(--ink-3); }
.ev-body { display: grid; align-content: center; gap: 14px; padding: clamp(32px, 4.6vw, 72px); }
.ev-state { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 700; color: var(--ink-3); }
.ev-title { font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.04em; }
.ev-dl { margin-top: 6px; border-top: 1.5px solid var(--ink); }
.ev-dl div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ev-dl dt { font-size: 0.9375rem; font-weight: 750; }
.ev-dl dd { color: var(--ink-2); }
.ev-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-s { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--mist); font-size: 0.875rem; font-weight: 650; color: var(--ink); }
.ev-body .btn-row { margin-top: 12px; }

/* 도전!신데렐라: on air on the night stage */
.onair-band .night-head { position: absolute; }
.onair-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.onair-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(220, 235, 247, 0.2); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.12em; }
.onair-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff8fa6; box-shadow: 0 0 12px #ff8fa6; animation: onair-blink 1.6s ease-in-out infinite; }
@keyframes onair-blink { 50% { opacity: 0.3; } }
.onair-big {
  margin-top: 18px; font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.045em;
  background: linear-gradient(175deg, #fff 30%, #d9e9f7 62%, #f3c9d9 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.onair-meta-l { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.onair-meta-l span { padding: 5px 12px; border-radius: 999px; background: rgba(220, 235, 247, 0.1); color: var(--sky); font-size: 0.875rem; font-weight: 700; }
.onair-copy .night-lead { margin-top: 20px; max-width: 30em; }
.tv-set { justify-self: center; width: min(100%, 470px); }
.tv-screen {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; text-align: center;
  background:
    radial-gradient(80% 90% at 28% 18%, rgba(246, 211, 224, 0.5), transparent 60%),
    radial-gradient(70% 80% at 82% 92%, rgba(24, 116, 184, 0.6), transparent 65%),
    linear-gradient(160deg, var(--charcoal), var(--night));
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06), 0 0 0 11px rgba(220, 235, 247, 0.2), 0 50px 80px -40px rgba(0, 0, 0, 0.7), 0 0 120px -10px rgba(24, 116, 184, 0.5);
}
.tv-screen::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 3px); }
.tv-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, rgba(255, 255, 255, 0.2), transparent 38%); }
.tv-title { position: relative; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.04em; color: #fff; text-shadow: 0 0 26px rgba(246, 211, 224, 0.6); }
.tv-ch { position: absolute; left: 20px; top: 16px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; color: rgba(220, 235, 247, 0.82); }
.tv-live { position: absolute; right: 18px; top: 14px; display: flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 143, 166, 0.18); color: #ffd6df; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.1em; }
.tv-live i { width: 6px; height: 6px; border-radius: 50%; background: #ff8fa6; animation: onair-blink 1.6s ease-in-out infinite; }
.tv-stand { display: block; width: 28%; height: 10px; margin: 20px auto 0; border-radius: 999px; background: rgba(220, 235, 247, 0.18); }
.show-cards { margin-top: clamp(28px, 3.4vw, 44px); display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.show-card { display: grid; align-content: start; gap: 10px; height: 100%; padding: 22px 22px 20px; border-radius: 22px; background: var(--mist); }
.show-card.is-key { background: linear-gradient(150deg, var(--sky), #fff); box-shadow: inset 0 0 0 1.5px var(--mint); }
.show-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--mint-ink); }
.show-icon .icon { width: 20px; height: 20px; }
.show-name { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 750; letter-spacing: -0.025em; }
.show-meta { display: flex; align-items: center; gap: 8px; }
.show-channel { font-size: 0.8125rem; font-weight: 650; color: var(--ink-3); }
.text-link { color: var(--mint-ink-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 얼굴본소식: the channels, glass tiles on the night stage */
.chans { margin-top: clamp(36px, 4.4vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.chan {
  display: grid; align-content: start; gap: 8px; height: 100%; padding: 26px 24px 22px; border-radius: 24px; color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); box-shadow: inset 0 0 0 1px rgba(220, 235, 247, 0.16);
  transition: background-color 0.3s var(--ease-out), transform 0.35s var(--ease-out);
}
.chan:hover { background-color: rgba(255, 255, 255, 0.08); transform: translateY(-3px); }
.chan-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.04); }
.chan-icon .icon { width: 24px; height: 24px; }
.chan strong { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.02em; }
.chan-text { font-size: 0.9375rem; color: rgba(220, 235, 247, 0.78); }
.chan-id { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(220, 235, 247, 0.14); font-size: 0.875rem; font-weight: 700; color: var(--sky); }
.chan-id .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.chan:hover .chan-id .icon { transform: translateX(4px); }

/* 진료예약, 온라인상담: the ways, the first one set on night */
.way-cards { margin-top: clamp(28px, 3.4vw, 44px); display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); }
.way-cards-4 { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.way-card {
  position: relative; display: grid; align-content: start; gap: 8px; height: 100%; padding: clamp(26px, 2.6vw, 36px); overflow: hidden; isolation: isolate;
  border-radius: 26px; background: var(--mist); transition: background-color 0.3s var(--ease-out), transform 0.35s var(--ease-out);
}
.way-card:hover { background-color: var(--mist-2); transform: translateY(-3px); }
.way-card.is-main { color: #fff; background: radial-gradient(90% 90% at 100% 0%, rgba(24, 116, 184, 0.5), transparent 60%), var(--night); }
.way-card.is-main::after { content: ""; position: absolute; right: -70px; top: -70px; z-index: -1; width: 240px; height: 240px; border-radius: 50%; border: 1px dashed rgba(220, 235, 247, 0.26); animation: dial-turn 60s linear infinite; }
.way-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: #fff; color: var(--mint-ink); box-shadow: 0 0 0 7px rgba(24, 116, 184, 0.08); }
.way-card.is-main .way-icon { background: var(--mint); color: #fff; box-shadow: 0 0 0 8px rgba(24, 116, 184, 0.24); }
.way-icon .icon { width: 24px; height: 24px; }
.way-label { font-size: 0.875rem; font-weight: 700; color: var(--mint-ink-600); }
.way-card.is-main .way-label { color: var(--sky); }
.way-big { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.way-text { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); word-break: keep-all; }
.way-card.is-main .way-text { color: rgba(220, 235, 247, 0.82); }
.way-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.9375rem; font-weight: 750; color: var(--mint-ink-600); }
.way-go .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.way-card:hover .way-go .icon, .book-map:hover .way-go .icon { transform: translateX(4px); }
.way-card.is-main .way-go { color: #fff; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(14px, 1.6vw, 22px); }
.book-hours {
  position: relative; overflow: hidden; isolation: isolate; padding: clamp(32px, 4vw, 56px); border-radius: var(--radius-lg); color: #fff;
  background: radial-gradient(70% 80% at 0% 0%, rgba(24, 116, 184, 0.42), transparent 60%), var(--night);
}
.book-hours::after { content: ""; position: absolute; right: -90px; bottom: -90px; z-index: -1; width: 300px; height: 300px; border-radius: 50%; border: 1px dashed rgba(220, 235, 247, 0.22); box-shadow: inset 0 0 0 34px rgba(255, 255, 255, 0.02); }
.book-hours-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--sky); }
.book-hours-icon .icon { width: 24px; height: 24px; }
.book-h { margin-top: 18px; font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 750; letter-spacing: -0.035em; }
.book-dl { margin-top: 20px; border-top: 1.5px solid rgba(220, 235, 247, 0.4); }
.book-dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(220, 235, 247, 0.14); }
.book-dl dt { font-weight: 650; color: var(--sky); }
.book-dl dd { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.book-dl .is-off dd { color: rgba(220, 235, 247, 0.6); }
.book-note { margin-top: 16px; font-size: 0.875rem; color: rgba(220, 235, 247, 0.72); }
.book-map { position: relative; display: block; min-height: 400px; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); }
.book-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.book-map:hover img { transform: scale(1.04); }
.book-map-card {
  position: absolute; left: 20px; right: 20px; bottom: 20px; max-width: 380px; display: grid; gap: 8px; padding: 22px 24px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.93); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 50px -30px rgba(10, 38, 64, 0.5);
}
.book-map-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 800; color: var(--mint-ink); }
.book-map-label .icon { width: 16px; height: 16px; }
.book-map-card strong { font-size: 1.25rem; font-weight: 750; line-height: 1.4; letter-spacing: -0.02em; }
.book-map-card .way-go { margin-top: 4px; }

/* 온라인상담: which two photos to send, framed like a camera on the hero's sky field */
.guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.guide-tips { margin-top: 24px; display: grid; gap: 10px; }
.guide-tips li { display: flex; align-items: flex-start; gap: 10px; font-size: 1.0625rem; font-weight: 600; line-height: 1.5; }
.guide-tips .icon { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--mint-ink); }
.guide-copy .btn-row { margin-top: 28px; }
.guide-pics {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); padding: clamp(28px, 3.4vw, 48px) clamp(20px, 3vw, 40px) clamp(52px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 90% at 10% 0%, rgba(255, 255, 255, 0.8), transparent 62%),
    radial-gradient(60% 80% at 100% 100%, rgba(24, 116, 184, 0.18), transparent 72%),
    var(--sky);
}
.guide-pic { display: grid; justify-items: center; gap: 14px; margin: 0; }
.guide-pic.is-side { transform: translateY(28px); }
.guide-frame {
  position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #fff, #eaf2fa);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.7), 0 30px 50px -30px rgba(10, 38, 64, 0.45);
}
.guide-frame img {
  position: absolute; left: 50%; bottom: 0; height: 90%; width: auto; max-width: none; translate: -50% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.guide-frame::after {
  content: ""; position: absolute; inset: 14px; z-index: 1; opacity: 0.6; pointer-events: none;
  background:
    linear-gradient(var(--mint-ink), var(--mint-ink)) left top / 20px 1.5px no-repeat, linear-gradient(var(--mint-ink), var(--mint-ink)) left top / 1.5px 20px no-repeat,
    linear-gradient(var(--mint-ink), var(--mint-ink)) right top / 20px 1.5px no-repeat, linear-gradient(var(--mint-ink), var(--mint-ink)) right top / 1.5px 20px no-repeat,
    linear-gradient(var(--mint-ink), var(--mint-ink)) left bottom / 20px 1.5px no-repeat, linear-gradient(var(--mint-ink), var(--mint-ink)) left bottom / 1.5px 20px no-repeat,
    linear-gradient(var(--mint-ink), var(--mint-ink)) right bottom / 20px 1.5px no-repeat, linear-gradient(var(--mint-ink), var(--mint-ink)) right bottom / 1.5px 20px no-repeat;
}
.guide-pic figcaption { display: flex; align-items: center; gap: 8px; font-weight: 750; }
.guide-pic figcaption b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: #fff; font-size: 0.8125rem; }
.guide-model { position: absolute; right: 20px; top: 14px; font-size: 0.75rem; font-weight: 400; color: var(--ink-3); }

/* 게시판: a post without a picture shows its kind as a line icon on the dial, not a word */
.post-pic-empty { --deco: rgba(19, 95, 152, 0.2); --deco-strong: rgba(19, 95, 152, 0.5); position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #f4f8fc, var(--sky)); }
.post-pic-empty .ph-dial { left: 50%; top: 50%; height: 190%; }
.post-pic-glyph { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--mint-ink); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.5), 0 20px 30px -18px rgba(10, 38, 64, 0.4); }
.post-pic-glyph .icon { width: 28px; height: 28px; }
.post-pic-cat { position: absolute; left: 14px; bottom: 12px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; color: var(--mint-ink-600); }

@media (max-width: 1100px) {
  .way-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .container.info-gate { grid-template-columns: 1fr; grid-template-areas: "t" "x" "b" "n"; }
  .info-gate > .btn-row { margin-top: 14px; }
  .pcards, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-why, .onair-stage, .ev-card, .book-grid, .guide { grid-template-columns: 1fr; }
  .q-cards, .chans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .way-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .way-cards .is-main { grid-column: 1 / -1; }
  .ev-visual { min-height: 400px; }
  .journey::before { left: 20px; }
  .journey-step { grid-template-columns: 1fr; gap: 24px; padding-left: 52px; }
  .journey-step::after { left: 20px; top: 28px; }
  .journey-step:nth-child(even) .journey-pic { order: 0; }
  .tv-set { width: min(100%, 420px); }
}
@media (max-width: 640px) {
  .ph.ph-stage { padding-top: calc(var(--header-h) + 6px); }
  .ph-card { min-height: 0; }
  .ph-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lnb lnb" "title orb" "line line"; gap: 12px 16px; padding-block: 20px 28px; }
  .ph-text { display: contents; }
  .ph-stage .lnb { grid-area: lnb; margin-bottom: 4px; }
  .ph-stage .ph-title { grid-area: title; align-self: center; }
  .ph-stage .ph-line { grid-area: line; margin-top: 0; }
  .ph-orb { grid-area: orb; width: 96px; margin: 6px 10px 6px 0; }
  .ph-orbit { inset: -10px; }
  .ph-orbit i { width: 8px; height: 8px; margin: -4px 0 0 -4px; }
  .ph-pic { box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(19, 95, 152, 0.28), 0 24px 40px -24px rgba(10, 38, 64, 0.5); }
  /* the 모델 이미지 label sits on the circle's foot as a small white pill: under it, it ran into the page's line */
  .ph-model { top: auto; bottom: -9px; z-index: 1; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 0 0 1px var(--line-2); font-size: 0.75rem; line-height: 1.4; color: var(--ink-2); }
  .ph-dial { left: 84%; top: 40%; height: 120%; }
  .pcards, .case-grid, .q-cards, .way-cards, .way-cards-4 { grid-template-columns: 1fr; }
  .rec-grid, .chans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rec-tile { padding: 16px 16px 14px; }
  .rec-name { font-size: 1.0625rem; }
  .rec-back { flex-direction: column; align-items: flex-start; gap: 0; }
  .rec-meta { display: grid; gap: 0; }
  .chan { padding: 20px 18px 18px; }
  .chan-icon { width: 44px; height: 44px; }
  .chan-text { font-size: 0.875rem; }
  .q-cards li { min-height: 0; }
  .st-steps { grid-template-columns: 1fr; gap: 20px; }
  .st-steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; border-top: 0; border-left: 1.5px dashed rgba(19, 95, 152, 0.45); }
  .st-steps li { grid-template-columns: 56px 1fr; justify-items: start; column-gap: 16px; row-gap: 4px; padding: 0; text-align: left; }
  .st-steps .st-no { grid-row: span 2; }
  .st-steps strong { margin-top: 4px; }
  .ev-visual { min-height: 340px; }
  .ev-dl div { grid-template-columns: 80px 1fr; }
  .book-map { min-height: 340px; }
  .guide-pics { padding: 22px 16px 56px; gap: 12px; }
  .journey-step { padding-left: 44px; }
  .journey::before { left: 16px; }
  .journey-step::after { left: 16px; }
}

/* ---------- 얼굴본성형외과 전문 칼럼 (col-*.html, tools/content/columns.py, 2026-09-29) ----------
   A column in the board's post layout: a kicker over a long title on the sky stage, a byline row under an Ink rule,
   a larger opening paragraph, subheads led by a short Mint Ink rule, the old pages' drawings on a Mist tile, one pull
   quote, a Sky box of what the clinic looks at first, and a quiet foot (where the topic comes from, the pages and the
   videos it explains). On the board and the treatment pages a column is the board's card with a '전문 칼럼' mark. */
.ph-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 22px 0 14px; font-size: 0.875rem; font-weight: 750; color: var(--mint-ink); }
.ph-kicker span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.ph-kicker span:first-child::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.ph-kicker span + span { padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.72); color: var(--ink-2); font-weight: 650; }
.ph-title-col { max-width: 16em; font-size: clamp(1.875rem, 3.5vw, 3.125rem); line-height: 1.22; letter-spacing: -0.035em; text-wrap: balance; }
.ph-col .ph-line { max-width: 34em; font-weight: 500; line-height: 1.65; }
.js .ph-stage .ph-kicker { animation: rise 1s var(--ease-out) 0.05s both; }
.ph-col .ph-dial { left: 84%; } /* the long title keeps clear of the dial's ticks */

.col .post-wrap { max-width: 44em; }
.col-by { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1.5px solid var(--ink); }
.col-by-pic { display: block; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--mist); box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(19, 95, 152, 0.28); }
.col-by-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.col-by-name { display: grid; gap: 2px; font-size: 0.875rem; color: var(--ink-3); }
.col-by-name b { font-size: 1rem; font-weight: 750; color: var(--ink); }
.col-by-meta { display: grid; justify-items: end; gap: 2px; font-size: 0.8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.col-body { margin-top: 36px; gap: 18px; font-size: 1.0625rem; line-height: 1.9; }
.col-body .col-lede { font-size: clamp(1.1875rem, 1.6vw, 1.3125rem); font-weight: 600; line-height: 1.75; letter-spacing: -0.01em; color: var(--ink); }
.col-h { display: grid; gap: 12px; margin-top: 26px; font-size: clamp(1.25rem, 1.9vw, 1.5rem); font-weight: 780; line-height: 1.35; letter-spacing: -0.025em; color: var(--ink); }
.col-h::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--mint-ink); }
.col-quote { margin: 18px 0; padding: clamp(26px, 3.4vw, 36px) clamp(18px, 4vw, 44px); border-radius: var(--radius); background: var(--mist); text-align: center; }
.col-quote::before { content: ""; display: block; width: 36px; height: 2px; margin: 0 auto 18px; border-radius: 2px; background: var(--mint-ink); }
.col-quote p { font-size: clamp(1.3125rem, 2.3vw, 1.75rem); font-weight: 750; line-height: 1.45; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.col-fig { margin: 12px 0 4px; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius); background: var(--mist); }
.col-fig ul { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); }
.col-fig.is-3 ul { --n: 3; }
.col-fig li { display: grid; justify-items: center; gap: 10px; font-size: 0.875rem; font-weight: 650; line-height: 1.45; text-align: center; color: var(--ink-2); }
.col-fig img { width: 100%; max-width: 250px; height: auto; border-radius: 16px; background: #fff; box-shadow: 0 16px 30px -24px rgba(10, 38, 64, 0.45); }
.col-fig figcaption, .col-table figcaption { margin-top: 14px; font-size: 0.875rem; line-height: 1.6; text-align: center; color: var(--ink-3); }
.col-table { margin: 8px 0 4px; }
.col-table .tx-table { margin-top: 0; background: var(--mist); }
.col-table .tx-table thead th:not(:first-child), .col-table .tx-table td { text-align: center; }
.col-points { margin-top: 44px; padding: clamp(24px, 3.4vw, 36px); border-radius: var(--radius); background: var(--sky); }
.col-points-title { font-size: 1.125rem; font-weight: 780; letter-spacing: -0.02em; color: var(--ink); }
.col-points ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 18px; }
.col-points li { position: relative; padding-left: 28px; font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--ink); }
.col-points li::before { content: ""; position: absolute; left: 0; top: 0.18em; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--mint-ink); }
.col-points li::after { content: ""; position: absolute; left: 6px; top: calc(0.18em + 6px); width: 6px; height: 6px; border-radius: 50%; background: var(--mint-ink); }
.col .post-note { margin-top: 16px; line-height: 1.7; color: var(--ink-2); }
.col-foot { display: grid; gap: 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.col-source { display: grid; gap: 6px; font-size: 0.9375rem; line-height: 1.7; color: var(--ink-2); }
.col-source b { font-size: 0.8125rem; font-weight: 750; color: var(--mint-ink); }
.col-rel-title { margin-bottom: 12px; font-size: 0.9375rem; font-weight: 750; color: var(--ink); }
.col-rel .chips { margin-top: 0; }
.col-vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.col-vid { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 14px; height: 100%; padding: 8px 14px 8px 8px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.25s var(--ease-out); }
.col-vid:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.col-vid-pic { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--mist); }
.col-vid-pic img { width: 100%; height: 100%; object-fit: cover; }
.col-vid .vplay { width: 34px; height: 34px; }
.col-vid .vplay .icon { width: 15px; height: 15px; margin-left: 2px; }
.col-vid:hover .vplay { background: var(--mint); color: #fff; }
.col-vid-title { font-size: 0.9375rem; font-weight: 700; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.col .post-nav { margin-top: 32px; }
.col .post-nav > span:empty { display: block; }
.col-actions { margin-top: 28px; }
.col-card-mark { position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(6, 26, 45, 0.7); color: #fff; font-size: 0.75rem; font-weight: 750; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.col-card-tag { font-weight: 650; color: var(--ink-2); }
.col-card .post-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* the treatment pages' strip: a column lies on its side (the photo left, the words right); one is a wide card, two
   share the row, and below 1100px they stack */
.tx-cols { padding: var(--section) 0 0; }
.tx-col-grid .post-card { grid-template-rows: none; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.tx-col-grid .post-pic { aspect-ratio: auto; min-height: 220px; }
.tx-col-grid .post-body { align-content: center; gap: 10px; padding: clamp(20px, 2.6vw, 32px); }
.tx-col-grid .post-excerpt { -webkit-line-clamp: 3; }
.tx-col-grid.is-1 { grid-template-columns: minmax(0, 1fr); max-width: 940px; }
.tx-col-grid.is-1 .post-title { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.35; }
.tx-col-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .tx-col-grid.is-2 { grid-template-columns: minmax(0, 1fr); max-width: 940px; }
}

@media (max-width: 640px) {
  .ph-col .ph-inner { grid-template-areas: "lnb lnb" "kick kick" "title orb" "line line"; }
  .ph-col .ph-kicker { grid-area: kick; margin: 0; }
  .ph-title-col { font-size: clamp(1.5rem, 6.4vw, 1.875rem); }
  .col-by { grid-template-columns: auto minmax(0, 1fr); }
  .col-by-meta { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; gap: 12px; }
  .col-body { margin-top: 28px; font-size: 1rem; line-height: 1.85; }
  .col-fig.is-3 ul { gap: 8px; }
  .col-fig li { font-size: 0.8125rem; }
  .col-points ul, .col-vids { grid-template-columns: 1fr; }
  .tx-col-grid .post-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .tx-col-grid .post-pic { aspect-ratio: 16 / 10; min-height: 0; }
}
