/* 태강한의원 — 한지 바탕 · 남색 글자·띠 · 노랑 포인트 */
:root {
  --hanji: #f4eee1;
  --hanji-2: #e9dfcb;
  --ink: #16264a;
  --ink-2: #24386a;
  --ink-soft: #4a5876;
  --yellow: #f5c518;
  --yellow-2: #ffd84a;
  --on-ink: #f4eee1;
  --on-ink-soft: rgba(244, 238, 225, .78);

  --serif: "Gowun Batang", "Nanum Myeongjo", serif;
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --gap-section: clamp(88px, 12vw, 176px);

  --t-display: clamp(40px, 8.4vw, 112px);
  --t-h2: clamp(30px, 5vw, 64px);
  --t-h3: clamp(22px, 2.6vw, 30px);
  --t-body: clamp(17px, 1.25vw, 19px);
  --t-small: 15px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--hanji);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--yellow); padding: 8px 12px; }

/* ---------- 머리 띠 ---------- */
.bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  color: var(--on-ink);
}
.bar--solid { position: relative; background: var(--ink); }
.bar .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 24px; text-decoration: none; letter-spacing: -0.02em; margin-right: auto; }
.nav { display: flex; gap: 22px; font-size: 16px; font-weight: 500; }
.nav a { text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.bar .call { font-weight: 600; text-decoration: none; background: var(--yellow); color: var(--ink); padding: 10px 16px; font-size: 16px; }
@media (max-width: 760px) {
  .nav { display: none; }
  .bar .wrap { min-height: 60px; }
  .brand { font-size: 21px; }
  .bar .call { padding: 8px 12px; font-size: 15px; }
}

/* ---------- 단추 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 28px;
  font-family: var(--sans); font-size: 19px; font-weight: 600; text-decoration: none;
  border: 0; border-radius: 0; cursor: pointer;
  transition: transform .12s ease, background-color .14s ease, color .14s ease;
}
.btn:active { transform: scale(.96); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-2); }
.btn--hanji { background: var(--hanji); color: var(--ink); }
.btn--hanji:hover { background: #fff; }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: var(--ink-2); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .btns .btn { flex: 1 1 100%; } }

/* ---------- 첫 화면 영상 ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  color: var(--on-ink); background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero__media, .hero__media video, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__media::after { /* 사진에는 색을 입히지 않는다. 아래쪽 글자 자리에만 옅은 무채색 그늘(11/26 원장: 뭔가 입혀 둔 느낌) */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .26) 26%, rgba(0, 0, 0, 0) 52%);
}
.hero__body { position: relative; z-index: 2; padding-bottom: clamp(28px, 5vw, 56px); }
.hero h1 { font-size: var(--t-display); line-height: 1.02; max-width: 12em; }
.hero__lead { margin-top: 24px; font-size: clamp(18px, 1.6vw, 22px); color: var(--on-ink); max-width: 34em; }
.hero .btns { margin-top: 32px; }
.today {
  position: relative; z-index: 2;
  background: var(--yellow); color: var(--ink);
  font-weight: 600; font-size: clamp(17px, 1.5vw, 20px);
}
.today .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
.today__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); flex: none; }
.today[data-open="true"] .today__dot { background: #1f8a4c; animation: pulse 2s ease-in-out infinite; }
.today__sub { font-weight: 500; }
.today a { margin-left: auto; font-weight: 600; }
@keyframes pulse { 50% { transform: scale(1.35); opacity: .6; } }

/* ---------- 구역 공통 ---------- */
.section { padding: var(--gap-section) 0; }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--hanji2 { background: var(--hanji-2); }
.section h2 { font-size: var(--t-h2); text-wrap: balance; }
.nobr { white-space: nowrap; }
.lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.55; }

/* 이름의 뜻 */
.meaning { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.meaning .lead { margin-top: 28px; max-width: 26em; }
.facts { display: grid; gap: 8px; }
.fact { background: var(--hanji-2); padding: 22px 24px; display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; align-items: baseline; }
.fact b { font-family: var(--serif); font-size: 22px; }
.meaning__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: clamp(40px, 6vw, 80px); }
.meaning__pics figure { margin: 0; }
.meaning__pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { font-size: 16px; margin-top: 10px; color: var(--ink-soft); }
.section--ink figcaption { color: var(--on-ink-soft); }
@media (max-width: 860px) {
  .meaning { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 1fr; gap: 2px; }
}

/* 진료 분야 */
.fields__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.fields__head p { max-width: 28em; color: var(--on-ink); }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: clamp(40px, 6vw, 72px); }
.field { background: var(--ink-2); padding: clamp(24px, 3vw, 40px); }
.field h3 { font-size: clamp(30px, 3.6vw, 48px); color: var(--yellow); }
.field ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.field li { background: rgba(244, 238, 225, .1); padding: 6px 14px; font-size: 18px; }
.fields__note { margin-top: 28px; color: var(--on-ink-soft); font-size: 16px; }
@media (max-width: 760px) { .fields, .fields__head { grid-template-columns: 1fr; } }

/* 원장 미리보기 */
.doctor { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.doctor img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 12%; }
.doctor h2 { margin-bottom: 10px; }
.doctor__role { font-size: 19px; font-weight: 600; color: var(--ink-soft); }
.doctor__say { margin-top: 20px; font-size: clamp(21px, 2.2vw, 26px); font-weight: 600; line-height: 1.45; text-wrap: balance; }
.doctor ul { margin: 24px 0 36px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 18px; }
.doctor li { padding-left: 22px; position: relative; }
.doctor li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; background: var(--yellow); }
@media (max-width: 760px) { .doctor { grid-template-columns: 1fr; } }

/* 영상 */
.videos__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: clamp(36px, 5vw, 64px); }
.video { text-decoration: none; display: block; }
.video__frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink); }
.video__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video:hover .video__frame img { transform: scale(1.04); }
.video__play { position: absolute; left: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.video__play svg { width: 22px; height: 22px; margin-left: 4px; }
.video p { margin-top: 14px; font-weight: 600; font-size: 18px; line-height: 1.45; }
.channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.channels a { background: var(--hanji); padding: 12px 18px; font-weight: 600; text-decoration: none; transition: background-color .14s ease; }
.channels a:hover { background: var(--yellow); }
@media (max-width: 760px) {
  .videos { gap: 8px; }
  .video p { font-size: 15px; margin-top: 8px; }
  .video__play { width: 40px; height: 40px; left: 8px; bottom: 8px; }
  .video__play svg { width: 16px; height: 16px; }
}

/* 진료시간 · 지도 */
.visit { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.hours { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 19px; }
.hours th, .hours td { text-align: left; padding: 14px 16px; }
.hours th { font-weight: 600; width: 6.5em; }
.hours tr:nth-child(odd) { background: rgba(22, 38, 74, .06); }
.section--ink .hours tr:nth-child(odd) { background: rgba(244, 238, 225, .07); }
.hours tr.is-today { background: var(--yellow) !important; color: var(--ink); }
.hours tr.is-today th::after { content: " 오늘"; font-size: 14px; }
.hours .off { color: #b3261e; font-weight: 600; }
.section--ink .hours .off { color: #ff9b8f; }
.hours tr.is-today .off { color: #8a1c15; }
.hours__note { margin-top: 14px; font-size: 16px; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; background: var(--hanji-2); }
.addr { font-size: clamp(20px, 2vw, 26px); font-weight: 600; margin-top: 24px; }
.visit .btns { margin-top: 24px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .map { aspect-ratio: 1 / 1; } }

/* ---------- 원장 소개 ---------- */
.intro { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(40px, 6vw, 96px); padding-bottom: var(--gap-section); }
.intro img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 10%; }
.intro h1 { font-size: var(--t-display); }
.intro__role { margin-top: 18px; font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; }
.intro__greet { margin-top: 32px; display: grid; gap: 16px; max-width: 32em; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .intro img { aspect-ratio: 1 / 1; } }

.cv { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.cv__groups { display: grid; gap: 8px; }
.cv__group { background: var(--ink-2); padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 7em 1fr; gap: 16px; }
.cv__group h3 { font-size: 24px; color: var(--yellow); }
.cv__group ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 18px; }
@media (max-width: 860px) { .cv { grid-template-columns: 1fr; } .cv__group { grid-template-columns: 1fr; } }

.talks { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 8px; margin-top: clamp(36px, 5vw, 64px); }
.talks figure { margin: 0; }
.talks img { width: 100%; height: auto; object-fit: cover; }
.talks .t1 { grid-row: span 2; }
.talks .t1 img { aspect-ratio: 4 / 3; }
.talks .t2 img, .talks .t3 img { aspect-ratio: 16 / 10; }
.talks__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
@media (max-width: 760px) { .talks, .talks__head { grid-template-columns: 1fr; } .talks .t1 { grid-row: auto; } }

/* ---------- 오시는 길 ---------- */
.place { padding-top: clamp(40px, 6vw, 96px); padding-bottom: var(--gap-section); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.place h1 { font-size: var(--t-display); }
.place .addr { font-size: clamp(22px, 2.4vw, 30px); margin-top: 20px; }
.copy { margin-top: 8px; min-height: 44px; background: none; border: 0; padding: 10px 0; font: inherit; font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; color: var(--ink); }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.apps a { background: var(--hanji-2); text-align: center; padding: 16px 8px; font-weight: 600; text-decoration: none; transition: background-color .14s ease; }
.apps a:hover { background: var(--yellow); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.way { background: var(--ink-2); padding: clamp(24px, 3vw, 40px); }
.way h3 { font-size: clamp(26px, 3vw, 38px); color: var(--yellow); }
.way p { margin-top: 14px; }
.way strong { display: block; font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); line-height: 1.1; margin-top: 18px; color: var(--on-ink); }
.arrive { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: clamp(36px, 5vw, 64px); }
.arrive figure { margin: 0; }
.arrive img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .place, .ways { grid-template-columns: 1fr; } }

/* ---------- 끝 ---------- */
.foot { background: var(--ink); color: var(--on-ink); padding: clamp(64px, 9vw, 128px) 0 120px; }
.foot__name { font-family: var(--serif); font-weight: 700; font-size: clamp(56px, 13vw, 184px); line-height: .95; letter-spacing: -0.04em; }
.foot__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; font-size: 17px; }
.foot__grid h3 { font-family: var(--sans); font-size: 16px; color: var(--yellow); margin-bottom: 8px; letter-spacing: 0; }
.foot__grid a { text-decoration: none; }
.foot__grid a:hover { text-decoration: underline; }
.foot__caution { margin-top: 48px; color: var(--on-ink-soft); font-size: 16px; max-width: 44em; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- 휴대폰 아래 고정 단추 ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink);
    transform: translateY(110%); transition: transform .28s ease;
  }
  .dock.is-on { transform: none; }
  .dock .btn { min-height: 64px; font-size: 18px; }
}

/* ---------- 움직임 ---------- */
.rise { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.rise.is-in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }
.hero__lead, .hero .btns { animation: up .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero__lead { animation-delay: .42s; }
.hero .btns { animation-delay: .52s; }
@keyframes up { from { opacity: 0; transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* 영상 구역: 왼쪽 글, 오른쪽 세 편 */
.vgrid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.vgrid .videos { margin-top: 0; }
.vgrid__text .lead { margin-top: 24px; }
@media (max-width: 860px) { .vgrid { grid-template-columns: 1fr; } }

.visit p { max-width: 36em; }
@media (max-width: 860px) { .arrive { grid-template-columns: 1fr 1fr; } }

/* 둘러보기 */
.tour { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: clamp(36px, 5vw, 64px); }
.tour figure { margin: 0; }
.tour img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.tour__big { grid-column: 1 / -1; }
.tour__big img { aspect-ratio: 16 / 10; }
@media (max-width: 760px) { .tour { grid-template-columns: 1fr 1fr; } .tour__big img { aspect-ratio: 4 / 3; } }

.fields__head figure { margin: 0; }
.fields__head img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* 영상 그 자리 재생 */
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 자주 묻는 질문 */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { display: grid; gap: 8px; }
.qa { background: var(--hanji-2); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 56px 22px 24px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 700; line-height: 1; }
.qa[open] summary::after { content: "−"; }
.qa summary:hover { background: #e2d6bd; }
.qa h3 { font-family: var(--sans); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.4; letter-spacing: 0; }
.qa p { padding: 0 24px 24px; max-width: 40em; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* 위치 표시 · 수정일 */
.crumbs { padding-top: 20px; font-size: 16px; color: var(--ink-soft); }
.crumbs a { color: var(--ink); }
.updated { padding-top: 40px; padding-bottom: 40px; font-size: 16px; color: var(--ink-soft); }
.foot__h { font-family: var(--sans); font-size: 16px; color: var(--yellow); margin-bottom: 8px; letter-spacing: 0; }

/* 원장 소개: 큰 강연 두 장 */
.talks--two { grid-template-columns: 1fr 1fr; grid-template-rows: auto; margin-top: 8px; }
.talks--two img { aspect-ratio: 4 / 3; }
.cv figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* 오시는 길: 약도 + 도착 사진 */
.mapdraw { display: grid; grid-template-columns: 5fr 7fr; gap: 8px; margin-top: clamp(36px, 5vw, 64px); align-items: start; }
.mapdraw figure { margin: 0; }
.mapdraw > figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.mapdraw .arrive { grid-template-columns: 1fr 1fr; margin-top: 0; }
.mapdraw .arrive img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .mapdraw { grid-template-columns: 1fr; } }
.foot__updated { margin-top: 16px; font-size: 16px; color: var(--on-ink); }

/* ---------- 움직임 보강 (taste 스킬 motion 레시피) ---------- */
/* 제목: 줄마다 가려진 아래에서 올라옴 */
.lines .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.lines [data-line] { display: block; }
/* 첫 사진: 위에서 아래로 열리며 자리 잡음 */
.open { overflow: clip; }
/* 사진: 스크롤에 맞춰 천천히 제자리로(살짝 확대 → 원래 크기) */
.tour figure, .talks figure, .arrive figure, .mapdraw > figure, .fields__head figure, .cv figure, .doctor > img, .meaning__pics figure { overflow: clip; }
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 110ms + 150ms); }
  .js .open { clip-path: inset(0 0 100% 0); animation: open-down 1s cubic-bezier(.65, 0, .35, 1) .15s forwards; }
  .js .open img { transform: scale(1.08); animation: settle 1.1s cubic-bezier(.16, 1, .3, 1) .1s forwards; }
  @supports (animation-timeline: view()) {
    .tour img, .talks img, .arrive img, .mapdraw > figure img, .fields__head img, .cv figure img, .meaning__pics img {
      animation: drift linear both; animation-timeline: view(); animation-range: entry 0% cover 60%;
    }
  }
}
@keyframes line-up { to { transform: none; } }
@keyframes open-down { to { clip-path: inset(0); } }
@keyframes settle { to { transform: none; } }
@keyframes drift { from { transform: scale(1.05); } to { transform: none; } }
/* 사진·카드 눌림 반응 */
.qa summary { transition: background-color .14s ease; }
.channels a:active, .apps a:active, .bar .call:active, .dock .btn:active { transform: scale(.96); }
.channels a, .apps a, .bar .call { transition: background-color .14s ease, transform .12s ease; }

/* unslop KR-3: 작은 글자 링크도 누르는 자리 44px */
.crumbs a { display: inline-block; padding: 12px 0; }
.foot__grid a { display: inline-block; padding: 9px 0; }
.foot__grid p { line-height: 1.7; }

/* ---------- 2026-11-26 저녁: 탕전실 띠, 진료 안내, 강의 사진 더 ---------- */
.hero h1 { text-shadow: 0 2px 6px rgba(0, 0, 0, .5), 0 0 34px rgba(0, 0, 0, .5); }
.hero__lead { text-shadow: 0 1px 4px rgba(0, 0, 0, .7), 0 0 22px rgba(0, 0, 0, .6); font-weight: 600; }
.tang { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 8px; margin-top: 8px; }
.tang__text { background: var(--ink); color: var(--on-ink); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.tang__badge { align-self: flex-start; background: var(--yellow); color: var(--ink); font-weight: 600; font-size: 18px; padding: 8px 16px; }
.tang__text h3 { margin-top: 24px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.2; text-wrap: balance; }
.tang__text p:last-child { margin-top: 18px; font-size: 18px; max-width: 24em; }
.tang figure { margin: 0; overflow: clip; }
.tang img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 760px) { .tang { grid-template-columns: 1fr 1fr; } .tang__text { grid-column: 1 / -1; } }
.field li { padding: 0; }
.field li a { display: block; padding: 10px 14px; color: inherit; text-decoration: none; }
.field li a:hover { background: rgba(244, 238, 225, .14); }
.field li a:active { transform: scale(.96); }
.care__head { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 6vw, 72px); }
.care__head h1 { font-size: var(--t-display); }
.care__head .lead { margin-top: 24px; max-width: 32em; }
.care__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.care__nav a { background: var(--ink); color: var(--on-ink); text-decoration: none; padding: 12px 20px; font-weight: 600; }
.care__nav a:hover { background: var(--ink-2); }
.care__group h2 { scroll-margin-top: 96px; }
.care__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: clamp(28px, 4vw, 48px); }
.care__item { background: var(--hanji-2); padding: clamp(24px, 3vw, 40px); scroll-margin-top: 96px; }
.section--hanji2 .care__item { background: var(--hanji); }
.care__item h3 { font-size: clamp(24px, 2.4vw, 32px); }
.care__item p { margin-top: 12px; max-width: 30em; }
.care__item:target { outline: 3px solid var(--yellow); outline-offset: -3px; }
.care__foot { display: grid; gap: 28px; }
@media (max-width: 760px) { .care__items { grid-template-columns: 1fr; } }
.talks--four { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto; margin-top: 8px; }
.talks--four img { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .talks--four { grid-template-columns: 1fr 1fr; } }
.tea { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: clamp(32px, 5vw, 56px); }
.tea figure { margin: 0; overflow: clip; }
.tea img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tea figure:last-child img { object-fit: contain; background: #fff; }
@media (max-width: 560px) { .tea { grid-template-columns: 1fr; } }
@media (orientation: portrait) { .hero__media::after { background: linear-gradient(to top, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .36) 34%, rgba(0, 0, 0, 0) 62%); } }

/* 첫 화면 음악 단추 */
.sound { position: absolute; z-index: 3; right: var(--gutter); top: 92px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 0; cursor: pointer; background: rgba(22, 38, 74, .82); color: var(--on-ink); font: inherit; font-size: 16px; font-weight: 600; transition: background .14s ease, transform .12s ease; }
.sound:hover { background: var(--ink); }
.sound:active { transform: scale(.96); }
.sound svg { width: 22px; height: 22px; flex: none; }
.sound .sound__wave { display: none; }
.sound.is-on .sound__wave { display: inline; }
.sound.is-on .sound__off { display: none; }
.sound.is-on { background: var(--yellow); color: var(--ink); }
.sound[hidden] { display: none; }
