:root {
  --bg: #f6f7f6;
  --paper: #ffffff;
  --ink: #1b2420;
  --muted: #47524c;
  --accent: #1f3a2d;
  --accent-hover: #2d5040;
  --accent-ink: #f5f6f2;

  /* 은빛이 도는 초록 한 계열. 숫자가 클수록 진하다 */
  --tone-1: #f0f2ee;
  --tone-2: #e7ece6;
  --tone-3: #dde4dc;
  --tone-4: #d0dbd1;
  --tone-5: #bfcdc2;
  --tone-6: #a9bbad;

  --sun: #a3352a;
  --sat: #2f5382;
  --error: #8f2318;

  --step-small: clamp(0.9375rem, 0.92rem + 0.1vw, 1rem);
  --step-body: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-title: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  --step-head: clamp(2rem, 1.3rem + 3vw, 4rem);

  --gutter: 12px;
  --margin: clamp(20px, 3.4vw, 56px);
  --radius: 8px;
  --section: clamp(112px, 13vw, 200px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --serif: 'Noto Serif KR', 'Apple SD Gothic Neo', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--tone-6) var(--bg); accent-color: var(--accent); caret-color: var(--accent); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: var(--step-body);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; text-wrap: balance; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 40; padding: 12px 20px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; }
.skip:focus { top: 12px; }

.section-lead { font-size: var(--step-lead); line-height: 1.55; letter-spacing: -0.015em; }
.note { font-size: var(--step-small); color: var(--muted); max-width: 72ch; }

/* 버튼: 달력 동그라미에서 온 완전히 둥근 모양 하나 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 0 34px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 999px; font-weight: 600; text-decoration: none; font-size: var(--step-body);
  transition: transform .25s var(--ease), background-color .2s;
  touch-action: manipulation;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.97); }
.btn-small { min-height: 48px; padding: 0 24px; font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.link { display: inline-block; padding: 10px 0; font-weight: 600; text-underline-offset: 6px; text-decoration-thickness: 1.5px; transition: text-underline-offset .2s; }
.link:hover { text-underline-offset: 9px; }

/* 상단 막대 */
.bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 32px;
  height: 76px; padding: 0 var(--margin);
  background: var(--bg);
}
.mark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.375rem, 1rem + 1.1vw, 1.75rem); letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.dot { width: .7em; height: .7em; border-radius: 50%; background: var(--accent); transition: transform .4s var(--ease); }
.mark:hover .dot { transform: scale(1.25); }
.bar nav { display: flex; gap: clamp(16px, 2.2vw, 36px); margin-left: auto; }
.bar nav a { position: relative; text-decoration: none; font-weight: 500; font-size: var(--step-small); white-space: nowrap; padding: 12px 0; }
.bar nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.bar nav a:hover::after { transform: scaleX(1); }

/* 첫 화면: 왼쪽은 벽달력 한 장, 오른쪽은 창 */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter);
  padding: 0 var(--gutter) var(--gutter);
  min-height: calc(100svh - 76px);
}
.page { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.rings { display: flex; justify-content: space-around; align-items: center; height: 44px; padding: 0 6%; background: var(--tone-3); flex: none; }
.rings i { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); }
.page-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: clamp(28px, 4vw, 64px); }
h1 { font-size: clamp(2.5rem, 6vw - 4px, 5.25rem); line-height: 1.16; letter-spacing: -0.035em; }
.lead { font-size: var(--step-lead); line-height: 1.55; letter-spacing: -0.015em; max-width: 30em; }
.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: var(--step-lead); }
.hero-price strong { font-weight: 600; letter-spacing: -0.02em; }
.hero-price span { font-size: var(--step-small); color: var(--muted); }
.hero-week { display: flex; gap: clamp(4px, .7vw, 10px); font-family: var(--serif); font-size: var(--step-body); font-weight: 500; }
.hero-week span { display: grid; place-items: center; width: clamp(40px, 3.6vw, 52px); aspect-ratio: 1; border-radius: 50%; }
.hero-week .sun { color: var(--sun); }
.hero-week .sat { color: var(--sat); }
.hero-week .on { background: var(--accent); color: var(--accent-ink); animation: circled .7s var(--ease) both; }
.hero-week .on:nth-child(4) { animation-delay: .18s; }
.hero-week .on:nth-child(6) { animation-delay: .36s; }
@keyframes circled { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

.window { position: relative; overflow: hidden; background: var(--tone-3); border-radius: var(--radius); min-height: 480px; }
.window-circle {
  position: absolute; top: 50%; left: 8%;
  width: max(118vh, 112%); aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%; overflow: hidden; background: var(--tone-2);
}
.window-circle img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; animation: drift 24s ease-in-out infinite alternate; }
.window-circle img.is-on { opacity: 1; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }

/* 한 문장 */
.statement { padding: var(--section) var(--margin); }
.statement p { max-width: 25em; margin: 0 auto; font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); line-height: 1.6; font-weight: 500; letter-spacing: -0.03em; }
.frame { display: inline-block; width: 1.3em; height: 1.3em; vertical-align: -0.32em; margin: 0 .06em; border-radius: 50%; overflow: hidden; }

/* 돕는 일 */
.care { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); padding-right: var(--margin); align-items: start; overflow: hidden; }
.care-photo { aspect-ratio: 1; margin-left: -12%; margin-top: 8px; border-radius: 50%; overflow: hidden; position: sticky; top: 96px; }
.care-text { display: flex; flex-direction: column; gap: 32px; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px clamp(20px, 2.4vw, 40px); margin-top: 16px; }
.points h3 { font-size: var(--step-body); display: flex; align-items: center; gap: .55em; margin-bottom: 6px; }
.points h3::before { content: ''; flex: none; width: .6em; height: .6em; border-radius: 50%; background: var(--accent); }
.points p { font-size: var(--step-small); line-height: 1.6; color: var(--muted); }
.limits { background: var(--tone-1); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); display: grid; gap: 10px; }

/* 비용: 한도액만큼 높이가 다른 계단. 진할수록 한도가 크다 */
.cost { padding: var(--section) var(--margin) 0; }
.stair { position: relative; }
.stair-head { max-width: 48%; position: absolute; left: 0; top: 0; display: grid; gap: 20px; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-items: end; min-height: 610px; }
.tile {
  --tile: var(--tone-1); --strip: var(--tone-3);
  min-height: var(--h); display: flex; flex-direction: column; gap: 8px;
  padding: 22px 18px 84px; position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--tile);
  font-size: var(--step-small); line-height: 1.5;
  transition: transform .35s var(--ease);
}
.tile:hover { transform: translateY(-6px); }
.tile:nth-child(2) { --tile: var(--tone-2); --strip: var(--tone-4); }
.tile:nth-child(3) { --tile: var(--tone-3); --strip: var(--tone-4); }
.tile:nth-child(4) { --tile: var(--tone-4); --strip: var(--tone-5); }
.tile:nth-child(5) { --tile: var(--tone-5); --strip: var(--tone-6); }
.tile:nth-child(6) { --tile: var(--accent); --strip: var(--accent-hover); color: var(--accent-ink); }
.tile h3 { font-size: var(--step-body); }
.amount { font-family: var(--serif); font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.tile button {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px; padding: 0 18px;
  border: 0; text-align: left; font-weight: 600; font-size: var(--step-small); background: var(--strip);
  transition: padding-left .3s var(--ease); touch-action: manipulation;
}
.tile button:hover { padding-left: 26px; }
.stair .note { margin-top: 16px; }

/* 달력 계산기 */
.planner { margin-top: clamp(112px, 11vw, 180px); display: grid; gap: 20px; }
.planner-grid { display: grid; grid-template-columns: minmax(250px, 3fr) minmax(0, 5fr) minmax(250px, 3fr); gap: var(--gutter); margin-top: 24px; align-items: stretch; }
.controls { background: var(--tone-1); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 24px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset[hidden] { display: none; }
legend { padding: 0; font-weight: 600; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  min-height: 48px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--paper); font-weight: 500; font-size: var(--step-small); font-variant-numeric: tabular-nums;
  transition: transform .2s var(--ease), background-color .15s, color .15s; touch-action: manipulation;
}
.chip:hover { background: var(--tone-3); }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

.calendar { background: var(--paper); border-radius: var(--radius); overflow: hidden; padding-bottom: clamp(16px, 2vw, 28px); }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(12px, 2vw, 28px) 12px; }
.cal-head h3 { font-family: var(--serif); font-size: var(--step-title); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.round { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--tone-1); transition: transform .2s var(--ease), background-color .15s; }
.round svg { width: 20px; height: 20px; }
.round:hover:not(:disabled) { background: var(--tone-3); }
.round:active:not(:disabled) { transform: scale(.92); }
.round:disabled { opacity: .4; cursor: not-allowed; }
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0 clamp(8px, 1.6vw, 24px); }
.cal-week span { text-align: center; font-weight: 600; font-size: var(--step-small); padding: 6px 0; }
.sun { color: var(--sun); } .sat { color: var(--sat); }
.cal-days { row-gap: 2px; }
.day {
  position: relative; aspect-ratio: 1; border: 0; background: none; padding: 0; isolation: isolate;
  font-family: var(--serif); font-size: clamp(1.125rem, .9rem + .8vw, 1.5rem); font-weight: 500; font-variant-numeric: tabular-nums lining-nums;
  touch-action: manipulation;
}
.day::before { content: ''; position: absolute; inset: 7%; z-index: -1; border-radius: 50%; background: var(--accent); opacity: 0; transform: scale(.9); transition: transform .35s var(--ease), opacity .2s; }
.day:hover::before { opacity: .12; transform: scale(1); }
.day[aria-pressed="true"] { color: var(--accent-ink); }
.day[aria-pressed="true"]::before, .day[aria-pressed="true"]:hover::before { opacity: 1; transform: scale(1); }
.day:focus-visible { border-radius: 50%; }

.result { background: var(--tone-2); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.result h3 { order: 2; font-size: var(--step-body); }
.result > * { order: 3; }
.result .result-big { order: 1; }
.result-big { font-family: var(--serif); font-size: var(--step-title); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; color: var(--accent); }
.result-rows { display: grid; gap: 6px; font-size: var(--step-small); }
.result-rows div { display: flex; justify-content: space-between; gap: 12px; }
.result-rows dd { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.meter { height: 8px; border-radius: 999px; background: var(--tone-4); overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; border-radius: 999px; background: var(--accent); transform-origin: left; transition: transform .5s var(--ease); }
.meter.over i { background: var(--sun); }
.result-msg { font-size: var(--step-small); line-height: 1.55; }
.result .btn { margin-top: auto; }
.result .link { font-size: var(--step-small); text-align: center; }

.fee-wrap { margin-top: 64px; display: grid; gap: 16px; }
.table-scroll { overflow-x: auto; background: var(--paper); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: var(--step-small); font-variant-numeric: tabular-nums; }
th, td { padding: 16px 22px; text-align: right; border-bottom: 1px solid var(--tone-2); white-space: nowrap; }
th:first-child { text-align: left; }
thead th { font-weight: 600; }
tbody th { font-weight: 500; }
tbody tr:last-child > * { border-bottom: 0; }

/* 일주일 띠: 동그라미 일곱 개 */
.week { padding: var(--section) var(--margin) 0; }
.week-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(6px, 1vw, 16px); }
.week-row span { aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.week-row img { transition: transform .8s var(--ease); }
.week-row span:hover img { transform: scale(1.06); }

/* 이용 순서: 진한 색에서 옅은 색으로 */
.steps { padding: var(--section) var(--margin) 0; }
.steps-head { display: grid; grid-template-columns: 5fr 1fr 6fr; margin-bottom: 56px; }
.steps-head p { grid-column: 3; }
.strip { display: flex; height: 420px; border-radius: var(--radius); overflow: hidden; }
.stage { position: relative; flex: 0 0 9.5%; min-width: 0; overflow: hidden; transition: flex-basis .45s var(--ease); }
.stage.is-open { flex: 1 1 62%; }
.stage h3 { height: 100%; font-size: var(--step-body); }
.stage h3 button {
  position: absolute; inset: 0; width: 100%; padding: 28px; border: 0; background: none; color: inherit;
  font-weight: 600; display: flex; align-items: center; justify-content: flex-start;
  writing-mode: vertical-rl; text-orientation: upright; letter-spacing: .04em; white-space: nowrap;
}
.stage.is-open h3 button {
  writing-mode: horizontal-tb; align-items: flex-start; font-family: var(--serif); font-weight: 500; font-size: var(--step-head);
  letter-spacing: -0.03em; cursor: default; bottom: auto; height: auto; padding: 32px;
}
.stage-body { position: absolute; left: 32px; bottom: 32px; width: min(30em, calc(100% - 64px)); font-size: var(--step-lead); line-height: 1.55; letter-spacing: -0.015em; opacity: 0; visibility: hidden; }
.stage.is-open .stage-body { opacity: 1; visibility: visible; transition: opacity .4s .2s; }
.stage-1 { background: var(--tone-5); }
.stage-2 { background: var(--tone-4); }
.stage-3 { background: var(--tone-3); }
.stage-4 { background: var(--tone-2); }
.stage-5 { background: var(--tone-1); }
.stage:not(.is-open) h3 button:hover { text-decoration: underline; text-underline-offset: 6px; }

/* 센터 소개 */
.about { padding: var(--section) var(--gutter) 0; }
.about-panel { display: grid; grid-template-columns: 58% 1fr; gap: clamp(24px, 3vw, 56px); background: var(--tone-2); border-radius: var(--radius); overflow: hidden; padding: clamp(32px, 4vw, 64px); padding-bottom: 0; }
.about-left { display: flex; flex-direction: column; gap: 40px; }
.about-photo { width: min(38vw, 620px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: -7vw; }
.about-right { display: flex; flex-direction: column; gap: 40px; padding-bottom: clamp(40px, 5vw, 64px); }
.about-right h3 { margin-bottom: 10px; }
.about-right p, .facts { font-size: var(--step-small); }
.facts { display: grid; gap: 6px; }
.facts div { display: grid; grid-template-columns: 5em 1fr; }
.facts dt { font-weight: 600; }
.facts a { display: inline-block; padding: 6px 0; margin: -6px 0; text-underline-offset: 4px; }
.about-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

/* 질문 */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 24px; padding: var(--section) var(--margin) 0; align-items: start; }
.faq h2 { position: sticky; top: 96px; }
.faq-list { display: grid; gap: 8px; }
details { background: var(--paper); border-radius: var(--radius); transition: background-color .25s; }
summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 76px; padding: 14px 24px; font-size: var(--step-body); font-weight: 600; letter-spacing: -0.015em;
}
summary::-webkit-details-marker { display: none; }
summary i { position: relative; flex: none; width: 16px; height: 16px; transition: transform .3s var(--ease); }
summary i::before, summary i::after { content: ''; position: absolute; background: currentColor; }
summary i::before { left: 0; right: 0; top: 7px; height: 2px; }
summary i::after { top: 0; bottom: 0; left: 7px; width: 2px; }
details:hover { background: var(--tone-1); }
details[open] { background: var(--tone-2); }
details[open] summary i { transform: rotate(135deg); }
details p { padding: 0 24px 26px; max-width: 58ch; }

/* 쿠폰 */
.contact { padding: var(--section) var(--margin); }
.coupon {
  --cut: 44%;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 44% 56%; max-width: 1240px; margin: 0 auto;
  background: var(--tone-3); border-radius: var(--radius);
}
.coupon::before, .coupon::after { content: ''; position: absolute; left: var(--cut); width: 56px; height: 56px; margin-left: -28px; border-radius: 50%; background: var(--bg); }
.coupon::before { top: -28px; }
.coupon::after { bottom: -28px; }
.coupon-left { display: flex; flex-direction: column; gap: 20px; padding: clamp(32px, 4vw, 56px); border-right: 5px dotted var(--bg); }
.coupon h2 { font-size: var(--step-title); line-height: 1.35; }
.coupon-tel { margin-top: auto; font-family: var(--serif); font-size: var(--step-title); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; line-height: 1.2; padding: 8px 0; white-space: nowrap; font-variant-numeric: lining-nums; }
.coupon-tel:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.coupon-right { display: flex; flex-direction: column; gap: 14px; padding: clamp(32px, 4vw, 56px); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: var(--step-small); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 12px 16px; border: 2px solid transparent; border-radius: var(--radius);
  background: var(--paper); font-size: max(16px, var(--step-body));
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-weight: 600; font-size: var(--step-small); }
.form-status { font-size: var(--step-small); }
.submit { min-height: 60px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; margin-top: 6px; transition: transform .25s var(--ease), background-color .2s; touch-action: manipulation; }
.submit:hover { background: var(--accent-hover); }
.submit:active { transform: scale(.98); }

/* 맺음: 페이지에서 유일하게 짙은 면 */
.foot { background: var(--accent); color: var(--accent-ink); padding: clamp(48px, 5vw, 80px) var(--margin) 32px; }
.foot :focus-visible { outline-color: var(--accent-ink); }
.foot-mark { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; height: 26vw; max-height: 380px; min-height: 130px; }
.foot-mark span {
  height: var(--s); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  background: var(--accent-ink); color: var(--accent); font-family: var(--serif); font-weight: 500; font-size: clamp(2.5rem, 8vw, 8rem); letter-spacing: -0.03em; line-height: 1;
}
.foot-mark span:nth-child(2) { background: var(--tone-5); }
.foot-mark span:nth-child(3) { background: var(--tone-3); }
.foot-mark span:nth-child(4) { background: var(--tone-6); }
.foot-grid { display: grid; grid-template-columns: 3fr 4fr 5fr; gap: 32px; margin-top: 64px; font-size: var(--step-small); }
.foot-grid h2 { font-family: inherit; font-size: var(--step-small); font-weight: 600; letter-spacing: 0; margin-bottom: 8px; line-height: 1.4; }
.foot-grid li a, address a { display: inline-block; padding: 8px 0; }
.foot a { text-underline-offset: 4px; }
.foot-grid ul a { text-decoration: none; }
.foot-grid ul a:hover { text-decoration: underline; }
address { font-style: normal; display: grid; gap: 2px; align-content: start; }
.foot-last { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; font-size: var(--step-small); }
.foot-last .btn { flex: none; background: var(--accent-ink); color: var(--accent); }
.foot-last .btn:hover { background: var(--paper); }

.callbar { display: none; }

/* 나타나기 */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="open"] { transform: none; clip-path: circle(12% at 50% 50%); transition: opacity .5s ease, clip-path 1.2s var(--ease); }
.js [data-reveal="open"].is-in { clip-path: circle(71% at 50% 50%); }
.js [data-reveal="list"] { opacity: 1; transform: none; }
.js [data-reveal="list"] > * { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease), translate .7s var(--ease), transform .35s var(--ease), background-color .25s; transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s; }
.js [data-reveal="list"].is-in > * { opacity: 1; translate: 0 0; }

@media (max-width: 1180px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 0; }
  .tile { min-height: 280px; }
  .stair-head { position: static; max-width: none; margin-bottom: 40px; }
  .planner-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .calendar { order: -1; grid-column: 1 / -1; }
  .bar nav a:nth-child(5) { display: none; }
}

@media (max-width: 900px) {
  .bar nav { display: none; }
  .bar { justify-content: space-between; height: 64px; }
  html { scroll-padding-top: 76px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  h1 { font-size: clamp(2.5rem, 1.6rem + 4.5vw, 4.5rem); }
  .window { order: -1; min-height: 0; height: 44svh; margin-bottom: -36px; }
  .window-circle { width: 118%; left: -9%; top: 54%; }
  .page { position: relative; z-index: 1; }
  .care { grid-template-columns: 1fr; padding: 0 var(--margin); overflow: visible; overflow-x: clip; }
  .care-photo { position: static; width: 82vw; max-height: 60svh; margin-left: calc(var(--margin) * -1 - 8vw); }
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .steps-head p { grid-column: 1; }
  .strip { flex-direction: column; height: auto; }
  .stage, .stage.is-open { flex: none; }
  .stage h3 { height: auto; }
  .stage h3 button, .stage.is-open h3 button {
    position: static; writing-mode: horizontal-tb; min-height: 68px; height: auto;
    padding: 18px 20px; align-items: center; font-family: inherit; font-weight: 600; font-size: var(--step-lead); letter-spacing: -0.02em;
  }
  .stage-body { position: static; width: auto; padding: 0 20px 24px; display: none; font-size: var(--step-body); line-height: 1.65; }
  .stage.is-open .stage-body { display: block; }
  .about-panel { grid-template-columns: 1fr; padding: 28px 20px 0; }
  .about-right { padding-bottom: 0; }
  .about-photo { width: 86vw; margin: 0 auto -18vw; order: 3; }
  .about-left { display: contents; }
  .about-panel h2 { order: 0; }
  .about-right { order: 1; }
  .faq { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
  .coupon { grid-template-columns: 1fr; }
  .coupon::before, .coupon::after { display: none; }
  .coupon-left { border-right: 0; border-bottom: 5px dotted var(--bg); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid address { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  table { min-width: 0; }
  th, td { padding: 12px 10px; white-space: normal; }
  .fee-wrap thead th:nth-child(2), .fee-wrap tbody td:nth-of-type(1), .fee-wrap thead th:nth-child(4), .fee-wrap tbody td:nth-of-type(3) { display: none; }
}

@media (max-width: 640px) {
  .week-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  :root { --gutter: 10px; }
  body { padding-bottom: 72px; }
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    display: flex; align-items: center; justify-content: center;
    min-height: 64px; padding: 0 16px env(safe-area-inset-bottom);
    background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 1.1875rem; text-decoration: none;
  }
  .bar .btn { display: none; }
  .hero-actions .btn { width: 100%; }
  .statement p { font-size: 1.5rem; }
  .points { grid-template-columns: 1fr; gap: 24px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .planner-grid { grid-template-columns: minmax(0, 1fr); }
  .calendar .cal-days, .calendar .cal-week { padding: 0 6px; }
  .foot-last { flex-wrap: wrap; }
  .foot-mark { height: 24vw; min-height: 0; }
  .foot-mark span { font-size: 11vw; }
}

@media (hover: none) {
  .tile:hover { transform: none; }
  .day:not([aria-pressed="true"]):hover::before { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .window-circle img, .hero-week .on { animation: none; }
  .js [data-reveal], .js [data-reveal="list"] > * { opacity: 1; transform: none; translate: 0 0; clip-path: none; transition: none; }
  .tile:hover { transform: none; }
  .tile button:hover { padding-left: 18px; }
}

/* 스크린리더 전용 */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* 첫 화면: 원 안에 두 사람이 함께 보이게 */
.window { perspective: 1800px; }
.window-circle { width: 106%; left: 3%; }
.window-circle img { object-position: 68% 40%; }
@media (max-width: 900px) {
  .window-circle { width: 118%; left: -9%; top: 54%; }
}

/* 장면: 창이 열린다. 멈춘 상태는 큰 사진 한 장과 문장 */
.open { padding: 0 var(--margin); }
.open-picture { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); }
.open-caption { margin-top: 20px; font-family: var(--serif); font-size: var(--step-title); font-weight: 500; letter-spacing: -0.03em; line-height: 1.35; }
.open.is-live { padding: 0; }
.open.is-live .open-picture { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.open.is-live .open-caption { position: absolute; left: var(--margin); bottom: var(--margin); margin: 0; max-width: min(20em, calc(100% - 2 * var(--margin))); padding: 22px 28px; background: var(--paper); border-radius: var(--radius); }

/* 장면: 돌봄 일곱 장. 멈춘 상태는 동그라미 일곱 개와 설명 */
.orbit-scene { padding: var(--section) var(--margin) 0; }
.orbit-scene h2 { margin-bottom: 40px; }
.orbit { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); }
.orbit-pic { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.orbit-item p { margin-top: 12px; font-size: var(--step-small); line-height: 1.5; text-align: center; }
.orbit-captions { display: none; }
.orbit-scene.is-live { padding: 0; margin-top: var(--section); }
.orbit-scene.is-live .scene-stage { --size: min(38svh, 58vw); --r: calc(var(--size) * 1.2); perspective: 1600px; background: var(--bg); }
.orbit-scene.is-live h2 { position: absolute; left: var(--margin); top: 100px; margin: 0; z-index: 2; }
.orbit-scene.is-live .orbit { display: block; position: absolute; left: 50%; top: 50%; width: var(--size); height: var(--size); margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2); transform-style: preserve-3d; }
.orbit-scene.is-live .orbit-item { position: absolute; inset: 0; transform: rotateY(var(--angle)) translateZ(var(--r)); backface-visibility: hidden; }
.orbit-scene.is-live .orbit-item p { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.orbit-scene.is-live .orbit-captions { display: block; position: absolute; left: var(--margin); right: var(--margin); bottom: clamp(28px, 6svh, 64px); height: 2.8em; font-family: var(--serif); font-size: var(--step-title); font-weight: 500; letter-spacing: -0.03em; text-align: center; }
.orbit-scene.is-live .orbit-caption { position: absolute; inset: 0; }
.orbit-scene.is-live .orbit-caption:not(:first-child) { opacity: 0; visibility: hidden; }

/* 달력 넘김 */
.calendar { position: relative; overflow: visible; perspective: 1400px; }
.calendar .rings { border-radius: var(--radius) var(--radius) 0 0; }
.flip-sheet {
  position: absolute; inset: 44px 0 0; z-index: 3; padding: 20px clamp(12px, 2vw, 28px);
  background: var(--paper); border-radius: 0 0 var(--radius) var(--radius);
  font-family: var(--serif); font-size: var(--step-title); font-weight: 500; letter-spacing: -0.03em; text-align: center;
  transform-origin: 50% 0; backface-visibility: hidden; pointer-events: none;
}
.flip-sheet + .flip-sheet { background: var(--tone-1); }
.day::before { transition-delay: var(--d, 0ms), var(--d, 0ms); }
.calendar.is-waiting .day[aria-pressed="true"] { color: inherit; }
.calendar.is-waiting .day[aria-pressed="true"]::before { opacity: 0; transform: scale(.4); }
.day[aria-pressed="true"] { transition: color .2s var(--d, 0ms); }

@media (max-width: 640px) {
  .orbit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orbit-scene.is-live h2 { top: 80px; }
  .orbit-scene.is-live .orbit { top: 46%; }
  .orbit-scene.is-live .orbit-captions { bottom: 96px; }
  .open.is-live .open-caption { bottom: 88px; padding: 16px 20px; }
}
.cal-head { position: relative; z-index: 4; }

/* 상단 메뉴와 펼침 */
.mainnav { display: flex; margin-left: auto; }
.mainnav > ul { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.bar .mainnav a { display: block; }
.has-sub { position: relative; }
.has-sub > a { font-size: var(--step-small); font-weight: 600; padding: 26px 0; }
.sub {
  position: absolute; left: 50%; top: 100%; z-index: 5; min-width: 190px; padding: 10px;
  display: none; transform: translateX(-50%);
  background: var(--paper); border-radius: var(--radius); box-shadow: 0 16px 36px rgba(27, 36, 32, .14); /* taste-skill-ignore: 떠 있는 메뉴 */
}
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .has-sub:hover .sub, .has-sub:focus-within .sub { animation: sub-in .25s var(--ease); }
  .page-head > *, .sub-body > * { animation: sub-rise .7s var(--ease) both; }
  .sub-body > *:nth-child(2) { animation-delay: .06s; }
  .sub-body > *:nth-child(3) { animation-delay: .12s; }
  .sub-body > *:nth-child(n+4) { animation-delay: .18s; }
}
@keyframes sub-in { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes sub-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.bar .mainnav .sub a { padding: 11px 14px; border-radius: 6px; font-weight: 500; white-space: nowrap; }
.bar .mainnav .sub a:hover { background: var(--tone-1); }
.bar .mainnav .sub a::after { display: none; }

.mobile-menu { display: none; }
.mobile-menu summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 8px; cursor: pointer; list-style: none; font-weight: 600; font-size: var(--step-small); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary i, .mobile-menu summary i::before, .mobile-menu summary i::after { display: block; width: 22px; height: 2px; background: currentColor; }
.mobile-menu summary i { position: relative; }
.mobile-menu summary i::before, .mobile-menu summary i::after { content: ''; position: absolute; left: 0; }
.mobile-menu summary i::before { top: -7px; }
.mobile-menu summary i::after { top: 7px; }
.mobile-panel { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: 22px; padding: 20px var(--margin) 32px; background: var(--paper); max-height: calc(100svh - 64px); overflow-y: auto; box-shadow: 0 20px 40px rgba(27, 36, 32, .16); } /* taste-skill-ignore: 떠 있는 메뉴 */
.mobile-panel h2 { font-family: inherit; font-size: var(--step-small); font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 4px; }
.mobile-panel a { display: block; padding: 10px 0; font-size: var(--step-lead); text-decoration: none; }

/* 영상 */
.film { padding: 0 var(--margin) var(--section); }
.film h2 { margin-bottom: 36px; }
.film-frame { max-width: 1240px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: var(--tone-3); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* 찾아오는 길 */
.way { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); padding: var(--section) var(--margin) 0; align-items: start; }
.way-text { display: grid; gap: 16px; }
.map { border-radius: var(--radius); overflow: hidden; background: var(--tone-2); }
.map iframe { display: block; width: 100%; height: clamp(360px, 46vw, 560px); border: 0; }
.map-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 18px; }

/* 하위 페이지 */
.page-head { padding: clamp(32px, 5vw, 72px) var(--margin) clamp(36px, 5vw, 72px); background: var(--tone-2); }
.crumb { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 18px; font-size: var(--step-small); color: var(--muted); }
.crumb li + li::before { content: '›'; margin-right: 10px; }
.crumb a { display: inline-block; padding: 4px 0; text-underline-offset: 4px; }
.page-head h1 { font-size: var(--step-head); letter-spacing: -0.03em; line-height: 1.2; }
.sub-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); max-width: 1320px; margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--margin); align-items: start; }
.side { position: sticky; top: 96px; }
.side h2 { font-family: inherit; font-size: var(--step-body); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 12px; }
.side ul { display: grid; gap: 4px; }
.side a { display: block; padding: 12px 16px; border-radius: var(--radius); text-decoration: none; font-size: var(--step-small); transition: background-color .15s; }
.side a:hover { background: var(--tone-1); }
.side a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.sub-body { display: grid; gap: 20px; min-width: 0; }
.sub-body > p { max-width: 62ch; }
.sub-body h2 { font-size: var(--step-title); margin-top: 36px; }
.sub-body > h2:first-child, .callout h2 { margin-top: 0; }
.sub-body h3 { font-size: var(--step-body); }
.plain { min-width: 0; }
.plain th, .plain td { white-space: normal; text-align: left; vertical-align: top; }
.info { display: grid; background: var(--paper); border-radius: var(--radius); padding: 8px 24px; }
.info div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 12px; padding: 12px 0; }
.info dt { font-weight: 600; }
.info a { text-underline-offset: 4px; }
.note a { text-underline-offset: 3px; }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: clamp(24px, 3vw, 36px); background: var(--tone-2); border-radius: var(--radius); }
.callout > div { display: grid; gap: 6px; flex: 1 1 300px; }
.callout h2 { font-size: var(--step-lead); font-family: inherit; font-weight: 600; letter-spacing: -0.02em; }
.flow { display: grid; gap: 8px; counter-reset: none; }
.flow li { position: relative; padding: 20px 24px 20px 64px; background: var(--paper); border-radius: var(--radius); }
.flow li::before { content: ''; position: absolute; left: 24px; top: 27px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); }
.flow li p { margin-top: 4px; }
.letter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.letter-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.letter-text { display: grid; gap: 18px; }
.letter-lead { font-family: var(--serif); font-size: var(--step-title); font-weight: 500; letter-spacing: -0.03em; line-height: 1.4; }
.sign { font-weight: 600; margin-top: 10px; }
.service-photo { aspect-ratio: 16 / 8; border-radius: var(--radius); overflow: hidden; }
.plain-form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); background: var(--tone-1); border-radius: var(--radius); }
.sub-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px; padding: 40px var(--margin); background: var(--tone-1); font-size: var(--step-lead); }
.foot-sub .foot-grid { margin-top: 0; }

@media (max-width: 900px) {
  .mainnav { display: none; }
  .bar { position: sticky; }
  .bar .btn { margin-left: auto; }
  .mobile-menu { display: block; }
  .way { grid-template-columns: 1fr; }
  .sub-layout { grid-template-columns: 1fr; gap: 28px; }
  .side { position: static; }
  .side h2 { display: none; }
  .side ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .side a { padding: 10px 16px; background: var(--paper); border-radius: 999px; min-height: 44px; }
  .letter { grid-template-columns: 1fr; }
  .letter-photo { width: min(70vw, 340px); margin: 0 auto; }
  .info div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 640px) {
  .mobile-menu { margin-left: auto; }
  .plain th, .plain td { padding: 12px 10px; }
  .sub-cta { padding-bottom: 32px; }
}

.page-lead { margin-top: 12px; font-size: var(--step-body); max-width: 40em; }
.foot-last p { max-width: 72ch; }
.sub-body .fee-wrap { margin-top: 0; }

/* 첫 페이지 가족요양 */
.family-home { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; margin: var(--section) var(--gutter) 0; padding: clamp(32px, 5vw, 80px); background: var(--tone-1); border-radius: var(--radius); }
.family-photo { order: 2; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.family-text { display: grid; gap: 26px; }
.family-facts { display: grid; gap: 18px; }
.family-facts div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 12px; }
.family-facts dt { font-weight: 600; }
.about-right a { text-underline-offset: 4px; }
@media (max-width: 900px) {
  .family-home { grid-template-columns: 1fr; padding: 28px 20px; }
  .family-photo { order: 0; width: min(66vw, 320px); margin: 0 auto; }
  .family-facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* 가족요양 계산기 */
.fam-calc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: var(--gutter); }
.fam-calc .result { grid-column: 1 / -1; }
.fam-calc .result .btn { justify-self: start; align-self: flex-start; margin-top: 4px; }
.day.is-over[aria-pressed="true"] { color: var(--ink); }
.day.is-over[aria-pressed="true"]::before, .day.is-over[aria-pressed="true"]:hover::before { background: var(--tone-5); opacity: 1; }
@media (max-width: 900px) {
  .fam-calc { grid-template-columns: minmax(0, 1fr); }
  .fam-calc .calendar { order: -1; }
  .fam-calc .result { grid-column: auto; }
  .fam-calc .result .btn { align-self: stretch; }
}

/* 공지사항 */
.notice-list { display: grid; background: var(--paper); border-radius: var(--radius); padding: 8px; }
.notice-list li + li { border-top: 1px solid var(--tone-2); }
.notice-list a { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 18px 16px; border-radius: 6px; text-decoration: none; transition: background-color .15s; }
.notice-list a:hover { background: var(--tone-1); }
.notice-list time, .notice-date { font-size: var(--step-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.notice-list span { font-weight: 600; }
.notices { padding: var(--section) var(--margin) 0; }
.notices-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.notice-back { margin-top: 16px; }
@media (max-width: 640px) {
  .notice-list a { grid-template-columns: 1fr; gap: 4px; padding: 16px 12px; }
}

/* 방문요양 길잡이 */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--gutter); }
.post-list a { display: grid; align-content: start; gap: 10px; height: 100%; padding: 24px; background: var(--paper); border-radius: var(--radius); text-decoration: none; transition: background-color .15s; }
.post-list a:hover { background: var(--tone-1); }
.post-list strong { font-size: var(--step-body); line-height: 1.45; letter-spacing: -0.01em; text-wrap: balance; }
.post-desc { font-size: var(--step-small); color: var(--muted); }
.post-tag { justify-self: start; padding: 3px 10px; font-size: 0.875rem; font-weight: 600; color: var(--accent); background: var(--tone-2); border-radius: 999px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: var(--step-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.post-answer { display: grid; gap: 8px; padding: clamp(22px, 3vw, 32px); background: var(--paper); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.post-answer h2, .post-toc h2 { margin-top: 0; font-family: inherit; font-size: var(--step-small); font-weight: 700; color: var(--accent); }
.post-answer p { font-size: var(--step-body); line-height: 1.75; max-width: 62ch; }
.post-toc { display: grid; gap: 8px; padding: 4px 0; }
.post-toc ol { display: grid; gap: 2px; padding-left: 1.4em; list-style: decimal; }
.post-toc a { display: inline-block; padding: 6px 0; text-underline-offset: 4px; }
.sub-body h2[id] { scroll-margin-top: 96px; }
.post-faq { display: grid; gap: 8px; }
.post-faq div { display: grid; gap: 6px; padding: 20px 24px; background: var(--paper); border-radius: var(--radius); }
.post-faq dt { font-weight: 600; }
.post-faq dt::before { content: 'Q. '; color: var(--accent); }
.post-faq dd { margin: 0; color: var(--muted); }
.guide-home .post-list strong { font-size: var(--step-body); }
@media (max-width: 640px) {
  .post-list a, .post-faq div { padding: 18px; }
}

/* 상단 공지사항: 메뉴가 접히는 폭에서는 상단 줄에 바로 보인다 */
.bar-notice { display: none; align-items: center; min-height: 44px; font-size: var(--step-small); font-weight: 600; white-space: nowrap; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .bar-notice { display: inline-flex; margin-left: auto; }
  .bar-notice ~ .btn, .bar-notice ~ .mobile-menu { margin-left: 0; }
}
@media (max-width: 640px) {
  .bar { gap: 12px; }
}
@media (max-width: 360px) {
  .mobile-menu summary span { display: none; }
}

/* 최우수기관 선정 */
.hero-award { --gold: #f0cf73; display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); padding: clamp(12px, 1.2vw, 16px) clamp(16px, 1.8vw, 26px) clamp(12px, 1.2vw, 16px) clamp(12px, 1.2vw, 16px); border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 30px rgba(31, 58, 45, .24); }
.award-seal { flex: none; display: grid; place-items: center; width: clamp(60px, 5.6vw, 76px); aspect-ratio: 1; border-radius: 50%; background: var(--gold); color: var(--accent); font-size: clamp(0.9375rem, 1.3vw, 1.125rem); font-weight: 800; letter-spacing: -0.04em; box-shadow: 0 0 0 3px var(--accent), 0 0 0 4.5px var(--gold); animation: circled .7s var(--ease) .5s both; }
.award-text { display: grid; gap: 2px; min-width: 0; }
.award-text > span { font-size: var(--step-small); font-weight: 600; letter-spacing: -0.015em; }
.award-text strong { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.035em; color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .award-seal { animation: none; }
}
@media (min-width: 901px) {
  .hero .page-body { gap: 18px; padding-block: clamp(20px, 2.4vw, 40px); }
}
@media (max-width: 360px) {
  .award-seal { width: 52px; font-size: 0.8125rem; }
  .award-text > span { font-size: 0.8125rem; }
  .award-text strong { font-size: 1.3125rem; white-space: nowrap; }
}

/* 배경음악 버튼 */
.music-toggle { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 30; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: var(--step-small); font-weight: 600; cursor: pointer; box-shadow: 0 8px 24px rgba(27, 36, 32, .2), inset 0 0 0 1.5px var(--accent); transition: transform .15s var(--ease), background-color .2s, color .2s; }
.music-toggle:hover { background: var(--tone-1); }
.music-toggle:active { transform: scale(.96); }
.music-toggle.is-on { background: var(--accent); color: var(--accent-ink); }
.music-toggle.is-on:hover { background: var(--accent-hover); }
.music-bars { display: inline-flex; align-items: flex-end; gap: 3px; width: 17px; height: 16px; }
.music-bars i { flex: 1; height: 45%; border-radius: 1px; background: currentColor; transform-origin: bottom; }
.music-bars i:nth-child(2) { height: 100%; }
.music-bars i:nth-child(3) { height: 65%; }
@media (prefers-reduced-motion: no-preference) {
  .music-toggle.is-on .music-bars i { animation: music-bar .8s ease-in-out infinite alternate; }
  .music-toggle.is-on .music-bars i:nth-child(2) { animation-delay: -.5s; }
  .music-toggle.is-on .music-bars i:nth-child(3) { animation-delay: -.25s; }
}
@keyframes music-bar { from { transform: scaleY(.4); } to { transform: scaleY(1); } }
@media (max-width: 640px) {
  .music-toggle { right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); }
}
