/* 구로에스테라피 · SOFT Premium Therapy
   레이아웃: 검정 바탕에 로고의 금색 한 가지. 가운데 정렬된 좁은 컬럼, 가는 선과 넉넉한 여백. */
:root {
  color-scheme: dark;
  --bg: #060707;
  --bg-2: #0e0f0e;
  --bg-3: #171815;
  --ink: #efe9da;
  --ink-2: #cdc8b8;
  --muted: #98958a;
  --line: #2a2a25;
  --gold: #cfb66c;
  --gold-dim: #8d7c47;
  --gold-ink: #17130a;
  --live: #8fd0aa;
  --warn: #e6a08a;
  --off: #413f38;
  --veil: rgba(6, 7, 7, .9);
  --scrim: rgba(0, 0, 0, .74);
  --glow: rgba(207, 182, 108, .13);
  --serif: "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.75; word-break: keep-all;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
.in {
  width: 100%; max-width: 752px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.fig { font-family: var(--latin); font-variant-numeric: lining-nums tabular-nums; font-weight: 500; }

/* 머리띠 */
.top { position: sticky; top: 0; z-index: 9; background: var(--veil); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top .in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 38px; height: 38px; mix-blend-mode: lighten; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-family: var(--latin); font-weight: 500; font-size: 20px; letter-spacing: .32em; color: var(--gold); }
.brand small { font-size: 10.5px; letter-spacing: .12em; color: var(--muted); margin-top: 3px; }
.gnav { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.gnav::-webkit-scrollbar { display: none; }
.gnav a { font-size: 13px; letter-spacing: .06em; text-decoration: none; color: var(--muted); white-space: nowrap; padding-block: 6px; border-bottom: 1px solid transparent; }
.gnav a:hover { color: var(--ink); border-color: var(--gold-dim); }
@media (max-width: 620px) {
  .top .in { flex-direction: column; align-items: stretch; gap: 4px; padding-block: 8px 0; }
  .brand { justify-content: center; }
  .gnav { justify-content: space-between; gap: 12px; padding-bottom: 2px; }
  html { scroll-padding-top: 104px; }
}

/* 대문 */
.hero { position: relative; overflow: hidden; text-align: center; border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 60% at 50% 30%, var(--glow), transparent 70%), var(--bg); }
.hero .in { padding-block: 44px 64px; display: flex; flex-direction: column; align-items: center; }
.hero .lockup { width: min(330px, 78%); mix-blend-mode: lighten; }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(25px, 6.2vw, 38px); line-height: 1.45; letter-spacing: .03em; margin-top: 20px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .stem { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); margin-block: 26px 20px; }
.hero p.desc { color: var(--muted); max-width: 27em; text-wrap: pretty; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); width: 100%; }
.hero-meta div { flex: 1 1 150px; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.hero-meta div + div { border-left: 1px solid var(--line); }
.hero-meta dt { font-family: var(--latin); font-style: italic; font-size: 14px; color: var(--gold); }
.hero-meta dd { font-size: 13.5px; }
@media (max-width: 520px) { .hero-meta div { flex-basis: 100%; } .hero-meta div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* 구역 공통 */
main { display: flex; flex-direction: column; gap: 88px; padding-block: 76px 56px; }
.sec-h { text-align: center; margin-bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sec-h .en { font-family: var(--latin); font-style: italic; font-size: 16px; color: var(--gold); letter-spacing: .05em; }
.sec-h h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: .06em; }
.sec-h::after { content: ""; width: 28px; height: 1px; background: var(--gold); margin-top: 12px; }
.sec-h .aside { font-size: 13px; color: var(--muted); margin-top: 8px; order: 3; }
.panel { background: var(--bg-2); border: 1px solid var(--line); }
.empty { color: var(--muted); text-align: center; padding: 26px 12px; }

/* 공지 */
.notice details { border-bottom: 1px solid var(--line); }
.notice details:first-child { border-top: 1px solid var(--line); }
.notice summary { display: flex; gap: 14px; align-items: baseline; padding: 16px 4px; cursor: pointer; list-style: none; }
.notice summary::-webkit-details-marker { display: none; }
.notice .t { flex: 1; min-width: 0; }
.notice time { flex: none; font-family: var(--latin); font-size: 15px; color: var(--muted); }
.notice summary::after { content: "+"; flex: none; font-family: var(--latin); font-size: 20px; line-height: 1; color: var(--gold); width: 12px; text-align: center; }
.notice details[open] summary::after { content: "–"; }
.notice .body { padding: 0 4px 20px; color: var(--ink-2); white-space: pre-line; }

/* 출근 현황 시간표 */
.board { padding: 26px 22px 18px; }
.axis, .row { display: grid; grid-template-columns: 4.4em minmax(0, 1fr) 7em; align-items: center; column-gap: 14px; }
.axis { color: var(--muted); margin-bottom: 10px; }
.axis .ticks { position: relative; height: 18px; font-family: var(--latin); font-size: 14px; }
.axis .ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.rows { display: flex; flex-direction: column; gap: 16px; }
.row .nm { font-family: var(--serif); font-size: 16px; font-weight: 500; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .track { position: relative; height: 20px; border-right: 1px solid var(--line);
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: calc(100% * 3 / 17) 100%; }
.row .track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.row .bar { position: absolute; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 3px; background: linear-gradient(90deg, var(--gold-dim), var(--gold)); }
.row .bar::before, .row .bar::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--gold); }
.row .bar::before { left: -4px; } .row .bar::after { right: -4px; }
.row.off .bar { background: var(--off); }
.row.off .bar::before, .row.off .bar::after { border-color: var(--off); }
.row.off .nm { color: var(--muted); font-weight: 400; }
.row .now { position: absolute; top: -6px; bottom: -6px; width: 1px; background: var(--ink); opacity: .75; }
.row .tm { font-family: var(--latin); font-variant-numeric: lining-nums tabular-nums; font-size: 16px; color: var(--muted); text-align: right; white-space: nowrap; line-height: 1.25; }
.row .st { display: block; font-family: var(--sans); font-size: 11.5px; letter-spacing: .06em; }
.row.on .st { color: var(--live); }
.row.on .st::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--live); margin-right: 6px; vertical-align: 1px; }
.row.soon .st { color: var(--gold); }
.board-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.board-foot i { display: inline-block; vertical-align: middle; margin-right: 6px; }
.k-bar { width: 18px; height: 4px; border-radius: 2px; background: var(--gold); }
.k-now { width: 1px; height: 12px; background: var(--ink); margin-left: 14px; }
@media (max-width: 480px) {
  .board { padding: 22px 16px 16px; }
  .axis, .row { grid-template-columns: 3.4em minmax(0, 1fr); column-gap: 10px; }
  .axis .sp-r { display: none; }
  .row { row-gap: 2px; }
  .row .tm { grid-column: 2; text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .row .st { display: inline; }
}

/* 관리사 프로필 */
.profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.prof { padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.prof .mono { width: 46px; height: 46px; border: 1px solid var(--gold-dim); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; color: var(--gold); }
.prof h3 { font-family: var(--serif); font-weight: 500; font-size: 18px; letter-spacing: .12em; }
.prof .tag { font-size: 12px; color: var(--gold); letter-spacing: .04em; }
.prof p { font-size: 14px; color: var(--ink-2); white-space: pre-line; overflow-wrap: anywhere; }

/* 코스 안내: 메뉴판 */
.menu { padding: 12px 26px; }
.lead { display: flex; align-items: baseline; gap: 10px; padding: 16px 0; }
.lead + .lead { border-top: 1px solid var(--line); }
.lead::before { content: ""; order: 2; flex: 1; min-width: 16px; border-bottom: 1px dotted var(--gold-dim); transform: translateY(-4px); }
.lead .l { order: 1; }
.lead .l b { font-family: var(--serif); font-weight: 500; letter-spacing: .06em; }
.lead .l span { font-family: var(--latin); font-size: 19px; color: var(--gold); margin-left: 10px; }
.lead .l span i { font-family: var(--sans); font-style: normal; font-size: 12.5px; margin-left: 1px; }
.lead .r { order: 3; white-space: nowrap; }
.lead .r b { font-family: var(--latin); font-variant-numeric: lining-nums tabular-nums; font-weight: 500; font-size: 24px; letter-spacing: .02em; }
.lead .r i { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 3px; }
.cap { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 16px; }
@media (max-width: 420px) { .menu { padding-inline: 18px; } }

/* 오시는길 */
.way { padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 20px; }
.way dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px 28px; }
.way dt { font-family: var(--latin); font-style: italic; font-size: 14.5px; color: var(--gold); }
.way dd { font-size: 14.5px; }
.way dd.tel { font-size: 19px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--gold-dim); background: transparent; color: var(--gold); padding: 10px 18px; font-size: 13px; letter-spacing: .08em; text-decoration: none; border-radius: 0; }
.btn:hover { background: var(--gold); color: var(--gold-ink); }
.btn.solid { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 500; }
.btn.plain { border-color: var(--line); color: var(--muted); }
.btn.plain:hover { background: transparent; color: var(--ink); border-color: var(--muted); }
.way .btn { align-self: flex-start; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; text-align: center; padding-bottom: 88px; }
footer .in { padding-block: 34px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
footer .fb { font-family: var(--latin); font-size: 18px; letter-spacing: .34em; color: var(--gold); }
footer .fs { font-family: var(--serif); letter-spacing: .14em; font-size: 13px; color: var(--ink); }

/* 아래 고정 예약줄 */
.resv { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: var(--veil); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--gold-dim); padding-bottom: env(safe-area-inset-bottom, 0px); }
.resv .in { display: flex; align-items: center; gap: 8px; padding-block: 12px; }
.resv .who { flex: 1; min-width: 0; line-height: 1.25; }
.resv .who small { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.resv .who b { font-family: var(--latin); font-variant-numeric: lining-nums tabular-nums; font-weight: 500; font-size: 22px; letter-spacing: .04em; white-space: nowrap; }
.resv .btn { flex: none; padding: 10px 14px; white-space: nowrap; }
@media (max-width: 420px) { .resv .btn { padding: 10px 11px; } .resv .who b { font-size: 18px; } .resv .who small { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
