/* =========================================================
   디코 시니어 레지던스 — 실버타운 홈페이지 디자인 샘플 (가상)
   계획서: ../_plan.md · 생성기: ../_build/build.py
   원칙: 아이보리 바탕 + 따뜻한 하늘(면·선) + 하늘 저녁(글자·보조 버튼), 홍시색은 전화 상담 버튼에만.
   고령자 가독성: 본문 19px(글자 크게 21·23px), 줄간격 1.8, 버튼 최소 56px, 모든 크기는 rem → 「글자 크기」에 함께 커진다.
   대비: 본문 #1D2732/아이보리 14:1, 보조 #3F4A57 8.6:1, 흰/하늘 저녁 #2B578B 7.0:1, 흰/홍시 #B04A17 5.6:1
   ========================================================= */
:root {
  --ivory: #FBF7EE;          /* 바탕 */
  --linen: #F3ECDD;          /* 보조 면 */
  --linen-2: #E9DFCB;        /* 선 */
  --paper: #FFFFFF;          /* 카드 */
  --sky: #5E8BC0;            /* 따뜻한 하늘 — 큰 면·띠·선(글자로는 쓰지 않음) */
  --sky-soft: #DCE7F3;
  --sky-mist: #EEF3F9;
  --sky-deep: #2B578B;       /* 하늘 저녁 — 링크·보조 버튼·현재 메뉴 */
  --sky-night: #1C3D66;
  --persimmon: #B04A17;      /* 홍시 — 전화 상담 버튼에만 */
  --persimmon-dark: #8E3A10;
  --apricot: #F6C98A;        /* 살구빛 해 — 준비표 띠 버튼·표시 */
  --ink: #1D2732;
  --text: #26313D;
  --muted: #3F4A57;

  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-head: "Jua", "Pretendard Variable", Pretendard, sans-serif;
  --font-num: "Atkinson Hyperlegible", "Pretendard Variable", Pretendard, sans-serif;

  --fs-h1: clamp(1.85rem, 1.3rem + 2.2vw, 3.05rem);
  --fs-h2: clamp(1.5rem, 1.25rem + .9vw, 1.95rem);
  --fs-h3: 1.25rem;
  --fs-small: .9rem;           /* 19px 기준 약 17px — 이보다 작게 쓰지 않는다 */
  --r: 18px;
  --r-s: 12px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
html { font-size: 118.75%; }                    /* 19px */
html[data-fs="lg"] { font-size: 131.25%; }      /* 21px */
html[data-fs="xl"] { font-size: 143.75%; }      /* 23px */
@media (max-width: 1279px) { :root { --header-h: 72px; } }

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 60px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.8; letter-spacing: -0.005em;
  color: var(--text); background: var(--ivory); word-break: keep-all; overflow-wrap: anywhere; overflow-x: clip;
}
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--font-head); font-weight: 400; line-height: 1.3; letter-spacing: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
figure, address, fieldset { margin: 0; font-style: normal; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 4px solid var(--persimmon); outline-offset: 3px; border-radius: 4px; }
main:focus, .gnb:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ph { display: inline-block; padding: 0 .35em; border: 2px dashed var(--sky); border-radius: 6px; color: var(--sky-deep); background: var(--sky-mist); font-weight: 600; line-height: 1.5; }
.tel-num { font-family: var(--font-num); font-weight: 700; letter-spacing: .01em; }

.skip-links { position: absolute; left: 0; top: 0; z-index: 2147483600; }
.skip-link { position: absolute; left: 12px; top: -90px; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 10px; font-weight: 700; white-space: nowrap; }
.skip-link:focus { top: 12px; }
.skip-link + .skip-link:focus { left: 200px; }
.sample-banner { background: #14202C; color: rgba(255, 255, 255, .9); font-size: 14px; line-height: 1.5; }
.sample-banner__inner { display: flex; align-items: center; gap: 10px; padding-block: 8px; }
.sample-banner__tag { flex: none; padding: 2px 9px; border-radius: 4px; background: var(--apricot); color: var(--ink); font-weight: 800; font-size: 13px; }
.sample-banner__link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 56px; padding: .5em 1.15em;
  border: 2px solid transparent; border-radius: 14px; font-weight: 700; line-height: 1.3; text-align: left;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .i { width: 1.35em; height: 1.35em; }
.btn__t { display: flex; flex-direction: column; }
.btn__t b { font-weight: 800; }
.btn__t .tel-num { font-weight: 700; font-size: .95em; }
.btn__t .ph { border-color: currentColor; background: transparent; color: inherit; }
.btn--xl { min-height: 68px; padding: .6em 1.4em; font-size: 1.08rem; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--call { background: var(--persimmon); color: #fff; }
.btn--call:hover { background: var(--persimmon-dark); }
.btn--visit { background: var(--sky-deep); color: #fff; }
.btn--visit:hover { background: var(--sky-night); }
.btn--line { background: var(--paper); color: var(--sky-deep); border-color: var(--sky-deep); }
.btn--line:hover { background: var(--sky-mist); }
.btn--sun { background: var(--apricot); color: var(--ink); }
.btn--sun:hover { background: #F0B866; }
.btn:active { transform: translateY(1px); }
.link-big { display: inline-flex; align-items: center; gap: .3em; min-height: 48px; color: var(--sky-deep); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.link-big .i { width: 1em; height: 1em; }
.link-big:hover { color: var(--sky-night); }

/* ---------- 헤더 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ivory); border-bottom: 2px solid var(--linen-2); }
.site-header.is-scrolled { background: rgba(251, 247, 238, .97); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 48px; height: 48px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__ko { font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.logo__sub { font-size: .78rem; color: var(--muted); font-weight: 600; }
.gnb { margin-left: auto; }
.gnb__list { display: flex; gap: 4px; }
.gnb__item { position: relative; min-width: 5.4em; }
.gnb__link { display: flex; align-items: center; min-height: var(--header-h); padding: 0 .75em; font-weight: 700; font-size: 1rem; color: var(--ink); position: relative; }
.gnb__link::after { content: ""; position: absolute; left: .75em; right: .75em; bottom: 18px; height: 4px; border-radius: 2px; background: var(--sky); transform: scaleX(0); transition: transform .2s var(--ease); }
.gnb__item:hover .gnb__link::after, .gnb__item.is-current .gnb__link::after { transform: scaleX(1); }
.gnb__sub { position: absolute; top: 100%; left: 0; width: 100%; padding: 14px 0 22px; display: none; z-index: 2; }
.gnb__sub a { display: block; padding: .4em .75em; font-size: .92rem; font-weight: 600; color: var(--text); line-height: 1.35; border-radius: 10px; }
.gnb__sub a:hover, .gnb__sub a[aria-current] { color: var(--sky-deep); background: var(--sky-mist); }
.mega-bg { position: absolute; left: 0; right: 0; top: 100%; height: var(--mega-h, 0); background: var(--paper); border-bottom: 2px solid var(--linen-2); box-shadow: 0 18px 30px rgba(29, 39, 50, .1); display: none; }
.site-header.is-mega .gnb__sub, .site-header.is-mega .mega-bg { display: block; }
.site-header__util { display: flex; align-items: center; gap: 10px; flex: none; }
.util-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 64px; min-height: 60px; padding: 4px 8px; border: 2px solid var(--linen-2); border-radius: 14px; background: var(--paper); font-size: .78rem; font-weight: 700; color: var(--ink); }
.util-btn .i { width: 1.6em; height: 1.6em; }
.util-btn:hover { border-color: var(--sky); }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--ink); }
.menu-btn__bars { position: relative; margin: 8px 0 7px; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -8px; }
.menu-btn__bars::after { top: 8px; }
.btn--head { min-height: 60px; padding: .35em 1em; font-size: .92rem; }
@media (max-width: 1279px) {
  .gnb, .mega-bg { display: none !important; }
  .site-header__util { margin-left: auto; }
  .logo__mark { width: 42px; height: 42px; }
}
@media (min-width: 1280px) { .util-btn--fs, .menu-btn { display: none; } }
@media (min-width: 1280px) and (max-width: 1599px) {
  html[data-fs="xl"] .gnb, html[data-fs="lg"] .gnb { display: none; }
  html[data-fs="xl"] .site-header__util, html[data-fs="lg"] .site-header__util { margin-left: auto; }
  html[data-fs="xl"] .util-btn--fs, html[data-fs="xl"] .menu-btn, html[data-fs="lg"] .util-btn--fs, html[data-fs="lg"] .menu-btn { display: inline-flex; }
}
@media (max-width: 1023px) { .btn--head { display: none; } }
.logo { min-width: 0; }
.logo__text { min-width: 0; }
@media (max-width: 480px) {
  .logo { gap: 8px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__ko { font-size: 17px; }
  .logo__sub { font-size: 12px; }
  .site-header__inner { gap: 6px; }
  .site-header__util { gap: 6px; }
  .util-btn { min-width: 56px; min-height: 56px; padding: 4px 4px; font-size: 12px; }
  .util-btn .i { width: 22px; height: 22px; }
}
@media (max-width: 359px) { .logo__sub { display: none; } }

/* 글자 크기 단추 묶음 */
.fsize { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fsize__k { width: 100%; font-weight: 700; color: var(--muted); font-size: .9rem; }
.fsize button { display: inline-flex; align-items: baseline; gap: .3em; min-height: 56px; padding: 0 1em; border: 2px solid var(--linen-2); border-radius: 14px; background: var(--paper); font-weight: 700; }
.fsize button[aria-pressed="true"] { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }
.fsize__a { font-family: var(--font-head); line-height: 1; }
.fsize__a--1 { font-size: 1rem; } .fsize__a--2 { font-size: 1.25rem; } .fsize__a--3 { font-size: 1.5rem; }

/* ---------- 전체 메뉴 ---------- */
.site-menu { position: fixed; inset: 0; top: var(--sample-banner-h, 0px); z-index: 200; overflow-y: auto; background: var(--ivory); padding: 0 var(--gutter) 40px; }
.site-menu__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); border-bottom: 2px solid var(--linen-2); }
.site-menu__close { width: 60px; height: 60px; border: 2px solid var(--linen-2); border-radius: 14px; background: var(--paper); font-size: 2.2rem; line-height: 1; }
.site-menu__tools { padding: 20px 0; border-bottom: 2px solid var(--linen-2); }
.site-menu__list { display: grid; gap: 4px 32px; padding: 16px 0; }
@media (min-width: 768px) { .site-menu__list { grid-template-columns: repeat(3, 1fr); } }
.site-menu__group { padding: 12px 0; border-bottom: 1px solid var(--linen-2); }
.site-menu__link { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--sky-deep); padding: 4px 0; }
.site-menu__group ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.site-menu__group ul a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 12px; background: var(--paper); border: 2px solid var(--linen-2); font-weight: 600; }
.site-menu__group ul a[aria-current] { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }
.site-menu__foot { display: grid; gap: 10px; padding-top: 16px; }
@media (min-width: 768px) { .site-menu__foot { grid-template-columns: 1fr 1fr; } }
body.nav-open { overflow: hidden; }
body.nav-open .callbar { visibility: hidden; }

/* ---------- 메인: 히어로 ---------- */
.hero { position: relative; padding-bottom: 56px; }
.hero__media { position: relative; height: min(68vh, 680px); min-height: 420px; overflow: hidden; background: var(--linen); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__cap { position: absolute; right: var(--gutter); top: 20px; padding: 6px 14px; border-radius: 999px; background: rgba(29, 39, 50, .72); color: #fff; font-weight: 700; font-size: .9rem; }
.hero__ctrl { position: absolute; right: var(--gutter); bottom: 20px; display: flex; align-items: center; gap: 10px; z-index: 2; }
.hero__dots { display: flex; gap: 6px; }
.hero__dot { min-height: 56px; padding: 0 14px; border: 2px solid rgba(255, 255, 255, .9); border-radius: 14px; background: rgba(29, 39, 50, .55); color: #fff; font-weight: 700; font-size: .85rem; }
.hero__dot.is-on { background: var(--paper); color: var(--ink); }
.hero__pause { display: inline-flex; align-items: center; gap: 6px; min-height: 56px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--paper); color: var(--ink); font-weight: 800; }
.hero__pause .i { width: 1.2em; height: 1.2em; }
.hero__pause .i-play { display: none; }
.hero__pause.is-stopped .i-play { display: block; }
.hero__pause.is-stopped .i-pause { display: none; }
.hero__wrap { position: relative; margin-top: -200px; z-index: 3; }
.hero__card { max-width: 660px; padding: clamp(28px, 4vw, 48px); background: var(--ivory); border-radius: var(--r) var(--r) var(--r) var(--r); border-top: 8px solid var(--sky); box-shadow: 0 24px 50px rgba(29, 39, 50, .14); }
.hero__k { font-weight: 700; color: var(--sky-deep); margin-bottom: .4em; }
.hero__title { font-size: var(--fs-h1); line-height: 1.22; }
.hero__lead { margin-top: .8em; font-size: 1.05rem; color: var(--muted); }
.hero__btns { display: grid; gap: 12px; margin-top: 1.4em; }
@media (min-width: 640px) { .hero__btns { grid-template-columns: 1fr 1fr; } }
.hero__time { display: flex; align-items: center; gap: .4em; margin-top: 1em; color: var(--muted); font-weight: 600; font-size: .92rem; }
.hero__time .i { color: var(--sky-deep); }
@media (max-width: 767px) {
  .hero { padding-bottom: 32px; }
  .hero__media { height: 62vw; min-height: 240px; max-height: 420px; }
  .hero__cap { top: auto; bottom: 12px; left: 12px; right: auto; font-size: .8rem; }
  .hero__ctrl { right: 10px; bottom: 10px; }
  .hero__dots { display: none; }
  .hero__pause { border: 2px solid var(--linen-2); }
  .hero__wrap { margin-top: 12px; }
  .hero__card { box-shadow: none; border: 2px solid var(--linen-2); border-top: 8px solid var(--sky); padding: 24px 20px; }
}

/* ---------- 섹션 공통 ---------- */
.sec { padding: 88px 0; }
.sec--tint { background: var(--linen); }
@media (max-width: 767px) { .sec { padding: 60px 0; } }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-title { font-size: var(--fs-h2); }
.sec-lead { margin-top: .6em; color: var(--muted); font-size: 1.02rem; }
.kicker { font-weight: 700; color: var(--sky-deep); margin-bottom: .3em; }
.more { margin-top: 32px; }
.note { margin-top: 20px; color: var(--muted); font-size: var(--fs-small); }
.dots li, .checks li { position: relative; padding-left: 1.3em; }
.dots li + li, .checks li + li { margin-top: .35em; }
.dots li::before { content: ""; position: absolute; left: .2em; top: .72em; width: .45em; height: .45em; border-radius: 50%; background: var(--sky); }
.checks li { padding-left: 1.6em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1em; height: .55em; border-left: 3px solid var(--sky-deep); border-bottom: 3px solid var(--sky-deep); transform: rotate(-45deg); }

/* 누가 보고 계신가요 */
.sec--who { padding-top: 40px; }
.who { display: grid; gap: 20px; }
@media (min-width: 900px) { .who { grid-template-columns: 1fr 1fr; } }
.who__card { padding: 32px; border-radius: var(--r); background: var(--paper); border: 2px solid var(--linen-2); }
.who__card--senior { border-left: 10px solid var(--sky); }
.who__card--family { border-left: 10px solid var(--apricot); }
.who__h { font-size: 1.6rem; margin-bottom: .4em; }
.who__links { margin-top: 16px; display: grid; gap: 8px; }
.who__links a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 18px; border-radius: 14px; background: var(--sky-mist); font-weight: 700; color: var(--sky-deep); }
.who__links a:hover { background: var(--sky-soft); }

/* ---------- 하루 일과 (요일 탭) ---------- */
.sec--today { background: var(--sky-mist); }
.daytabs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 24px; }
.daytab { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 72px; border: 2px solid var(--sky-soft); border-radius: 14px; background: var(--paper); color: var(--ink); }
.daytab__d { font-family: var(--font-head); font-size: 1.6rem; line-height: 1.1; }
.daytab__t { font-size: .78rem; font-weight: 600; color: var(--muted); }
.daytab[aria-selected="true"] { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }
.daytab[aria-selected="true"] .daytab__t { color: #fff; }
.daytab.is-today::after { content: "오늘"; font-size: .72rem; font-weight: 800; color: var(--persimmon); }
.daytab.is-today[aria-selected="true"]::after { color: var(--apricot); }
@media (max-width: 480px) { .daytabs { gap: 4px; } .daytab { min-height: 64px; border-radius: 10px; } .daytab__d { font-size: 1.3rem; } .daytab__t { display: none; } }
.day-panel + .day-panel { margin-top: 32px; }
.js .days.is-ready .day-panel + .day-panel { margin-top: 0; }
.day-panel:focus-visible { outline-offset: 8px; }
.day-panel__h { font-family: var(--font-head); font-size: 1.35rem; color: var(--sky-deep); margin-bottom: 12px; }
.dayc-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .dayc-grid { grid-template-columns: repeat(3, 1fr); } }
.dayc { padding: 20px; border-radius: var(--r); background: var(--paper); border-top: 6px solid var(--sky); }
.dayc--pm { border-top-color: var(--apricot); }
.dayc--ev { border-top-color: var(--sky-night); }
.dayc__h { display: flex; align-items: center; gap: .35em; font-size: 1.4rem; margin-bottom: 12px; }
.dayc__h .i { width: 1.1em; height: 1.1em; color: var(--sky-deep); }
.slots { display: grid; gap: 10px; }
.slot { display: grid; grid-template-columns: 4.2em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--linen-2); }
.slot:first-child { border-top: 0; padding-top: 0; }
.slot__time { font-family: var(--font-num); font-weight: 700; font-size: 1.3rem; color: var(--sky-deep); line-height: 1.3; }
.slot__body { display: flex; flex-direction: column; gap: 2px; }
.slot__name { font-weight: 800; color: var(--ink); line-height: 1.4; }
.slot--meal .slot__name { font-weight: 600; color: var(--muted); }
.slot__place { display: inline-flex; align-items: center; gap: .3em; color: var(--muted); font-size: var(--fs-small); }
.slot__place .i { width: 1em; height: 1em; }
.slot__mode { display: inline-block; align-self: flex-start; margin-top: 4px; padding: 0 .6em; border-radius: 8px; font-size: .82rem; font-weight: 800; line-height: 1.7; }
.slot__mode--free { background: #E3EFE1; color: #2E5B27; }
.slot__mode--apply { background: #FCE8D2; color: #7A3A0C; }
.slot__mode--book { background: var(--sky-soft); color: var(--sky-night); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 20px; color: var(--muted); font-size: var(--fs-small); }
.legend li { display: inline-flex; align-items: center; gap: .5em; }
.legend .slot__mode { margin: 0; }
.sched-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sched-top__lead { max-width: 640px; font-size: 1.05rem; }

/* ---------- 메인: 방·서비스 ---------- */
.units { display: grid; gap: 20px; }
@media (min-width: 900px) { .units { grid-template-columns: repeat(3, 1fr); } }
.unit { background: var(--paper); border-radius: var(--r); overflow: hidden; border: 2px solid var(--linen-2); display: flex; flex-direction: column; }
.unit__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.unit__body { padding: 22px 22px 26px; }
.unit__h { font-size: 1.4rem; margin-bottom: .3em; }
.unit__dl { display: grid; gap: 6px; margin-top: 14px; }
.unit__dl div { display: flex; gap: 12px; padding-top: 8px; border-top: 1px dashed var(--linen-2); }
.unit__dl dt { flex: none; width: 5.2em; color: var(--muted); font-weight: 600; }
.unit__dl dd { font-weight: 700; color: var(--ink); }
.svcs { display: grid; gap: 28px; }
.svc { display: grid; gap: 0; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.svc__ph img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc__body { padding: 26px 26px 30px; display: flex; flex-direction: column; justify-content: center; gap: .6em; }
.svc__h { font-size: 1.6rem; }
@media (min-width: 900px) {
  .svc { grid-template-columns: 1.1fr 1fr; min-height: 340px; }
  .svc:nth-child(even) .svc__ph { order: 2; }
  .svc__ph img { aspect-ratio: auto; }
  .svc__body { padding: 40px 48px; }
}

/* 준비표 띠 */
.prepband { background: var(--sky-deep); color: #fff; padding: 72px 0; }
.prepband__in { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .prepband__in { grid-template-columns: 1.2fr 1fr; } }
.prepband .sec-title { color: #fff; }
.prepband p { margin: .8em 0 1.4em; color: #EAF1F9; font-size: 1.05rem; }
.prepband__demo { display: grid; gap: 10px; }
.prepband__demo li { display: flex; gap: 10px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--ivory); color: var(--text); }
.prepband__demo .i { color: var(--persimmon); margin-top: .25em; }
.prepband__demo b { color: var(--ink); }

/* 입주 네 걸음 */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 26px 22px; border-radius: var(--r); background: var(--paper); border: 2px solid var(--linen-2); }
.step__n { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 50%; background: var(--sky); color: #fff; font-family: var(--font-num); font-weight: 700; font-size: 1.4rem; }
.step__h { font-size: 1.3rem; margin-bottom: .3em; }

/* 공지·소식 */
.news2 { display: grid; gap: 48px; }
@media (min-width: 1000px) { .news2 { grid-template-columns: 1fr 1.15fr; } }
.news2__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.nlist { border-top: 3px solid var(--ink); }
.nlist li { border-bottom: 1px solid var(--linen-2); }
.nlist a { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 18px 4px; min-height: 64px; }
.nlist a:hover .nlist__t { color: var(--sky-deep); text-decoration: underline; }
.nlist__t { font-weight: 700; color: var(--ink); }
.nlist time { grid-column: 2; color: var(--muted); font-family: var(--font-num); font-size: var(--fs-small); }
@media (min-width: 768px) { .nlist--page a { grid-template-columns: auto 1fr auto; } .nlist--page time { grid-column: auto; } }
.tag { display: inline-flex; align-items: center; min-height: 34px; padding: 0 .7em; border-radius: 8px; font-size: .85rem; font-weight: 800; }
.tag--공지 { background: var(--sky-soft); color: var(--sky-night); }
.tag--식단 { background: #E3EFE1; color: #2E5B27; }
.tag--행사 { background: #FCE8D2; color: #7A3A0C; }
.stories { display: grid; gap: 20px; }
@media (min-width: 640px) { .stories { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stories { grid-template-columns: repeat(3, 1fr); } }
.stories--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .stories--3 { grid-template-columns: repeat(3, 1fr); } }
.story a { display: flex; flex-direction: column; gap: 6px; }
.story__ph { border-radius: var(--r-s); overflow: hidden; }
.story__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s var(--ease); }
.story a:hover img { transform: scale(1.03); }
.story__t { font-weight: 800; color: var(--ink); line-height: 1.45; margin-top: 4px; }
.story a:hover .story__t { color: var(--sky-deep); text-decoration: underline; }
.story__d { color: var(--muted); font-size: var(--fs-small); }
.story time { color: var(--muted); font-family: var(--font-num); font-size: var(--fs-small); }

/* 오시는 길 */
.visit { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .visit { grid-template-columns: 1fr 1.1fr; } }
.visit__map { border-radius: var(--r); overflow: hidden; border: 2px solid var(--linen-2); }
.visit__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.info-dl { display: grid; gap: 0; border-top: 3px solid var(--ink); }
.info-dl div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--linen-2); }
.info-dl dt { font-weight: 800; color: var(--sky-deep); }
.info-dl dd { color: var(--ink); }

/* ---------- 푸터·하단 상담 막대 ---------- */
.site-footer { background: var(--sky-night); color: #E6EDF6; padding: 56px 0 40px; }
.site-footer .logo__ko { color: #fff; }
.site-footer .logo__sub { color: #C9D6E6; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.site-footer__k { font-weight: 700; color: var(--apricot); }
.site-footer__tel { display: block; font-family: var(--font-num); font-size: 1.6rem; font-weight: 700; color: #fff; margin: 4px 0; }
.site-footer__tel .ph { color: #fff; background: transparent; border-color: var(--apricot); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 20px 0; }
.site-footer__nav a { display: inline-flex; min-height: 48px; align-items: center; font-weight: 700; color: #fff; }
.site-footer__addr { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: var(--fs-small); color: #D3DEEB; }
.site-footer__addr .ph, .site-footer__bottom .ph { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .5); }
.site-footer__bottom { margin-top: 24px; display: grid; gap: 8px; font-size: var(--fs-small); color: #C9D6E6; }
.site-footer__credit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.credit-link { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 700; }
.credit-link img { height: 18px; width: auto; }
.callbar { display: none; }
@media (max-width: 1023px) {
  body { padding-bottom: 88px; }
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 2px solid var(--linen-2); box-shadow: 0 -8px 20px rgba(29, 39, 50, .08); }
  .callbar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; border-radius: 14px; font-weight: 800; color: #fff; line-height: 1.25; text-align: left; }
  .callbar__btn .i { width: 1.4em; height: 1.4em; }
  .callbar__btn--call { background: var(--persimmon); }
  .callbar__btn--visit { background: var(--sky-deep); }
  .callbar__btn .btn__t .tel-num { font-size: .82rem; }
  .callbar__btn .ph { border-color: rgba(255, 255, 255, .7); background: transparent; color: #fff; padding: 0 .25em; }
}

/* ---------- 서브 머리 + 큰 버튼 2열 2차 메뉴 ---------- */
.subhead { padding: 40px 0 36px; }
.subhead__in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .subhead__in { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--muted); font-size: var(--fs-small); font-weight: 600; }
.crumb a { min-height: 40px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: .2em; }
.subhead__group { margin-top: 12px; font-weight: 800; color: var(--sky-deep); font-size: 1.05rem; }
.subhead__title { font-size: var(--fs-h1); margin-top: .1em; }
.subhead__lead { margin-top: .7em; font-size: 1.08rem; color: var(--muted); max-width: 34em; }
.subhead__photo { position: relative; }
.subhead__photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 3px solid var(--sky); border-radius: 28px; }
.subhead__photo img { position: relative; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 28px; }
@media (max-width: 899px) {
  .subhead { padding-top: 20px; }
  .subhead__photo { order: -1; margin-right: 14px; }
  .subhead__photo img { aspect-ratio: 16 / 7; }
}
.lnb { padding: 8px 0 12px; }
.lnb__k { font-weight: 800; color: var(--muted); margin-bottom: 10px; font-size: .95rem; }
.lnb__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.lnb__btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 76px; height: 100%; padding: 12px 22px; border: 2px solid var(--sky-soft); border-radius: 16px; background: var(--paper); font-size: 1.1rem; font-weight: 800; color: var(--ink); line-height: 1.3; }
.lnb__btn:hover { border-color: var(--sky); background: var(--sky-mist); }
.lnb__go { color: var(--sky-deep); width: 1.2em; height: 1.2em; }
.lnb__btn.is-on { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }
.lnb__now { display: inline-flex; align-items: center; gap: .3em; flex: none; padding: 2px 10px; border-radius: 999px; background: var(--ivory); color: var(--sky-night); font-size: .78rem; font-weight: 800; }
.lnb__now .i { width: 1em; height: 1em; }
@media (min-width: 1000px) {
  .lnb__grid--4, .lnb__grid--2 { grid-template-columns: repeat(2, 1fr); }
  .lnb__grid--3 .lnb__btn, .lnb__grid--5 .lnb__btn { min-height: 76px; }
}
@media (max-width: 480px) {
  .lnb__btn { padding: 10px 14px; font-size: 1rem; min-height: 68px; flex-wrap: wrap; }
  .lnb__now { font-size: .72rem; }
}
.sub-body > .sec:first-child { padding-top: 56px; }

/* ---------- 서브 본문 틀 ---------- */
.letter { display: grid; gap: 40px; }
@media (min-width: 900px) { .letter { grid-template-columns: .8fr 1.2fr; align-items: start; } .letter__ph { position: sticky; top: calc(var(--header-h) + 64px); } }
.letter__ph img, .alt__ph img, .split__ph img { width: 100%; border-radius: var(--r); object-fit: cover; }
.letter__ph img { aspect-ratio: 3 / 4; }
.letter__body p + p { margin-top: 1em; }
.letter__big { font-family: var(--font-head); font-size: 1.6rem; line-height: 1.5; color: var(--sky-deep); margin-bottom: 1.2em !important; }
.letter__sign { margin-top: 2em !important; font-weight: 800; color: var(--ink); text-align: right; }
.vals { display: grid; gap: 16px; }
@media (min-width: 900px) { .vals { grid-template-columns: repeat(3, 1fr); } }
.vals li { padding: 28px; border-radius: var(--r); background: var(--paper); border-top: 6px solid var(--sky); }
.vals h3 { font-size: 1.35rem; margin-bottom: .4em; }
.alts { display: grid; gap: 56px; }
.alt { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .alt { grid-template-columns: 1fr 1fr; gap: 56px; } .alt:nth-child(even) .alt__ph { order: 2; } }
.alt__ph img { aspect-ratio: 4 / 3; }
.alt__h { font-size: var(--fs-h2); margin-bottom: .5em; }
.hists { display: grid; gap: 0; border-left: 4px solid var(--sky); margin-left: 8px; }
.hist { position: relative; padding: 0 0 36px 32px; }
.hist::before { content: ""; position: absolute; left: -14px; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--ivory); border: 4px solid var(--sky-deep); }
.hist__y { font-family: var(--font-num); font-weight: 700; font-size: 1.8rem; color: var(--sky-deep); line-height: 1.2; margin-bottom: 8px; }
.hist ul li + li { margin-top: .4em; }
.ways { display: grid; gap: 16px; }
@media (min-width: 768px) { .ways { grid-template-columns: repeat(2, 1fr); } }
.ways li { padding: 26px; border-radius: var(--r); background: var(--paper); }
.ways h3 { font-size: 1.35rem; margin-bottom: .3em; color: var(--sky-deep); }
.visit__map--big img { width: 100%; }
.ucards { display: grid; gap: 40px; }
.ucard { display: grid; gap: 24px; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.ucard__ph img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ucard__body { padding: 8px 24px 28px; }
.ucard__h { font-size: var(--fs-h2); }
.ucard .checks { margin-top: 16px; }
@media (min-width: 900px) { .ucard { grid-template-columns: 1fr 1fr; align-items: center; } .ucard__body { padding: 32px 40px 32px 0; } .ucard:nth-child(even) .ucard__ph { order: 2; } .ucard:nth-child(even) .ucard__body { padding: 32px 0 32px 40px; } }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--r-s); overflow: hidden; }
.tbl th, .tbl td { padding: 16px 18px; border-bottom: 1px solid var(--linen-2); text-align: left; vertical-align: top; }
.tbl thead th { background: var(--sky-deep); color: #fff; font-weight: 800; }
.tbl tbody th { font-weight: 800; color: var(--ink); background: var(--sky-mist); white-space: nowrap; }
@media (max-width: 767px) {
  .tbl--cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl--cards, .tbl--cards tbody, .tbl--cards tr, .tbl--cards th, .tbl--cards td { display: block; width: 100%; }
  .tbl--cards tr { margin-bottom: 14px; border-radius: var(--r-s); overflow: hidden; border: 2px solid var(--linen-2); }
  .tbl--cards tbody th { background: var(--sky-deep); color: #fff; }
  .tbl--cards td { display: grid; grid-template-columns: 8.5em 1fr; gap: 10px; }
  .tbl--cards td::before { content: attr(data-k); font-weight: 700; color: var(--muted); }
  .tbl { border-radius: 0; background: transparent; }
  .tbl--cards td { background: var(--paper); }
}
.tbl--menu td { font-weight: 600; }
.spaces { display: grid; gap: 32px 24px; }
@media (min-width: 640px) { .spaces { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .spaces { grid-template-columns: repeat(3, 1fr); } }
.space__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.space__h { font-size: 1.4rem; margin: 14px 0 .2em; }
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: .9fr 1.1fr; gap: 56px; } .split--rev .split__ph { order: 2; } .split__ph { position: sticky; top: calc(var(--header-h) + 64px); } }
.split__ph img { aspect-ratio: 4 / 3; }
.split__body p + p { margin-top: 1em; }
.split__body .info-dl { margin: 8px 0 24px; }
.safes { display: grid; gap: 0; }
.safes li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--linen-2); }
.safes li > .i { width: 1.6em; height: 1.6em; padding: 4px; border-radius: 50%; background: var(--sky); color: #fff; }
.safe__h, .hlist__h, .sup__h { font-size: 1.3rem; margin-bottom: .15em; }
.hlist, .sups { display: grid; gap: 14px; }
.hlist li, .sups li { padding: 22px 24px; border-radius: var(--r-s); background: var(--paper); border-left: 6px solid var(--sky); }
.callout { margin-top: 36px; padding: 24px 28px; border-radius: var(--r); background: var(--sky-mist); border: 2px solid var(--sky-soft); }
.callout--strong { background: #FFF4E6; border-color: #F2C9A0; }
.callout--call { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 1.1rem; }
.progs { display: grid; gap: 24px; }
@media (min-width: 768px) { .progs { grid-template-columns: repeat(2, 1fr); } }
.prog { display: grid; grid-template-columns: 38% 1fr; gap: 0; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.prog__ph img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.prog__body { padding: 22px; }
.prog__h { font-size: 1.3rem; margin-bottom: .3em; }
.prog__when { display: flex; align-items: center; gap: .35em; font-weight: 800; color: var(--sky-deep); margin-bottom: .4em; }
@media (max-width: 480px) { .prog { grid-template-columns: 1fr; } .prog__ph img { aspect-ratio: 16 / 9; min-height: 0; } }
.seasons { display: grid; gap: 24px; }
@media (min-width: 640px) { .seasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .seasons { grid-template-columns: repeat(4, 1fr); } }
.season { background: var(--paper); border-radius: var(--r); overflow: hidden; }
.season__ph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 639px) { .season__ph img { aspect-ratio: 4 / 3; } }
.season__body { padding: 20px 22px 26px; }
.season__k { display: inline-block; padding: 0 .7em; border-radius: 8px; background: var(--sky); color: #fff; font-family: var(--font-head); font-size: 1.2rem; }
.season__h { font-size: 1.3rem; margin: .4em 0 .5em; }
.psteps { display: grid; gap: 0; }
.pstep { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 28px 0; border-bottom: 2px solid var(--linen-2); }
.pstep__n { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sky-deep); color: #fff; font-family: var(--font-num); font-weight: 700; font-size: 1.6rem; }
.pstep__h { font-size: var(--fs-h2); margin-bottom: .3em; }
.pstep .link-big { margin-top: .5em; }
.qna-group + .qna-group { margin-top: 40px; }
.qna-group__h { font-size: 1.5rem; color: var(--sky-deep); margin-bottom: 12px; }
.qna details { border-bottom: 2px solid var(--linen-2); background: var(--paper); }
.qna details:first-child { border-top: 3px solid var(--ink); }
.qna summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 14px 20px; font-weight: 800; color: var(--ink); cursor: pointer; list-style: none; }
.qna summary::-webkit-details-marker { display: none; }
.qna__c { width: 1.4em; height: 1.4em; color: var(--sky-deep); transition: transform .2s; }
.qna details[open] .qna__c { transform: rotate(180deg); }
.qna details p { padding: 0 20px 22px; color: var(--muted); }

/* ---------- 입주 상담 준비표 ---------- */
.prep { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .prep { grid-template-columns: 1.1fr 1fr; } }
.prep__intro { font-size: 1.05rem; margin-bottom: 20px; }
.prep__set { padding: 22px 0; border-top: 2px solid var(--linen-2); }
.prep__set legend { float: left; width: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; padding: 0; }
.prep__set .chks { clear: both; }
.prep__h { font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); }
.prep__hint { color: var(--muted); font-size: var(--fs-small); font-weight: 600; }
.chks { display: grid; gap: 10px; }
@media (min-width: 640px) { .chks { grid-template-columns: repeat(2, 1fr); } }
.chks--row { grid-template-columns: repeat(2, 1fr); }
.chk { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 16px; border: 2px solid var(--linen-2); border-radius: 14px; background: var(--paper); font-weight: 700; cursor: pointer; line-height: 1.4; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk__box { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 3px solid var(--sky-deep); border-radius: 8px; background: #fff; }
.chk input[type="radio"] + .chk__box { border-radius: 50%; }
.chk__box .i { width: 22px; height: 22px; color: #fff; opacity: 0; }
.chk:hover { border-color: var(--sky); }
.chk:has(input:checked) { border-color: var(--sky-deep); background: var(--sky-mist); }
.chk input:checked + .chk__box { background: var(--sky-deep); }
.chk input:checked + .chk__box .i { opacity: 1; }
.chk input:focus-visible + .chk__box { outline: 4px solid var(--persimmon); outline-offset: 3px; }
.sheet { padding: 28px; border-radius: var(--r); background: var(--paper); border: 3px solid var(--sky); box-shadow: 0 16px 36px rgba(29, 39, 50, .08); }
.sheet__h { font-size: 1.6rem; color: var(--sky-deep); }
.sheet__sum { margin: 8px 0 16px; padding: 10px 14px; border-radius: 10px; background: var(--sky-mist); font-weight: 600; }
.sheet__list { counter-reset: q; display: grid; gap: 10px; }
.sheet__list li { counter-increment: q; display: grid; grid-template-columns: 2em 1fr; gap: 8px; padding-bottom: 10px; border-bottom: 1px dashed var(--linen-2); font-weight: 700; color: var(--ink); }
.sheet__list li::before { content: counter(q) "."; font-family: var(--font-num); color: var(--sky-deep); }
.sheet__list li.is-new { background: linear-gradient(90deg, #FFF4E6, transparent); }
.sheet__h3 { font-size: 1.2rem; margin: 22px 0 8px; }
.sheet__btns { display: grid; gap: 10px; margin-top: 22px; }
.sheet__note { margin-top: 14px; color: var(--muted); font-size: var(--fs-small); }

/* 상담 예약 폼 */
.reserve { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .reserve { grid-template-columns: 1.4fr 1fr; } .reserve__side { position: sticky; top: calc(var(--header-h) + 56px); } }
.form { display: grid; gap: 22px; padding: 32px; border-radius: var(--r); background: var(--paper); border: 2px solid var(--linen-2); }
@media (max-width: 480px) { .form { padding: 22px 16px; } }
.form__intro { font-weight: 600; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 800; color: var(--ink); padding: 0; }
.field--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .field--2 { grid-template-columns: 1fr 1fr; gap: 16px; } }
.field--2 > div { display: grid; gap: 8px; }
.field input, .field select, .field textarea { width: 100%; min-height: 60px; padding: 12px 16px; border: 2px solid #B9AE98; border-radius: 12px; background: #fff; font-size: 1rem; }
.field textarea { line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky-deep); outline: 3px solid var(--sky-soft); }
.field__help { color: var(--sky-deep); font-weight: 700; font-size: var(--fs-small); }
.chk--agree { min-height: 72px; }
.form__note { padding: 16px 18px; border-radius: 12px; background: #FFF4E6; border: 2px solid #F2C9A0; font-weight: 700; color: var(--ink); }
.reserve__side { display: grid; gap: 18px; }
.sidebox { padding: 24px; border-radius: var(--r); background: var(--paper); border-top: 6px solid var(--sky); display: grid; gap: 12px; }
.sidebox__h { font-size: 1.3rem; }
.ftabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ftabs button { min-height: 56px; padding: 0 22px; border: 2px solid var(--linen-2); border-radius: 14px; background: var(--paper); font-weight: 800; }
.ftabs button[aria-selected="true"] { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }
.post { max-width: 860px; }
.post__head { padding-bottom: 20px; border-bottom: 3px solid var(--ink); }
.post__title { font-size: var(--fs-h2); margin: 12px 0 6px; }
.post__meta { color: var(--muted); font-family: var(--font-num); }
.post__body { padding: 28px 0; }
.post__body p + p { margin-top: 1em; }
.post__ph img { width: 100%; border-radius: var(--r); margin-top: 24px; aspect-ratio: 3 / 2; object-fit: cover; }
.post__nav { display: grid; border-top: 2px solid var(--linen-2); margin-top: 24px; }
.post__nav a { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 16px 4px; min-height: 64px; border-bottom: 2px solid var(--linen-2); font-weight: 700; }
.post__nav span { color: var(--muted); }

/* ---------- 등장 효과 (보이는 상태가 기본, 스크립트가 숨겼다 보여 준다) ---------- */
.has-motion .js-reveal .reveal:not(.is-in) { opacity: 0; transform: translateY(12px); }
.has-motion .reveal { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tb-timeout .reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- 인쇄 (일과표·준비표) ---------- */
@media print {
  .sample-banner, .site-header, .site-footer, .callbar, .lnb, .subhead__photo, .hero__media, .sheet__btns, .prep__form, .sched-top .btn, .skip-links { display: none !important; }
  body { background: #fff; font-size: 14pt; padding: 0; }
  .prep { display: block; }
  .sheet { border: 2px solid #000; box-shadow: none; }
  .js .days .day-panel[hidden] { display: block !important; }
  .daytabs { display: none; }
}
