/* =====================================================================
   K-Well — RMT pages (hub, Downtown, Langley; EN + KO), September 2026.
   Loaded after services.css by the six RMT pages only; every rule is
   scoped to main.rmt-page so the other service pages are untouched.
   Layout: a shorter ink-wash hero, one fee board (location, duration,
   price, booking in one place), one "before you book" ledger, then the
   team, related services and the closing booking band.
   ===================================================================== */

/* ---------- hero: ink wash instead of the studio photo, shorter ------- */
.rmt-page .sp-hero { min-height: min(76vh, 720px); padding: 150px 0 80px; }
.rmt-page .sp-hero__bg img { opacity: .5; filter: none; }
/* 二 has no brush glyph; the Myeongjo serif draws it as two strokes, not grey bars */
.rmt-page .sp-hero__num { font-family: var(--kw-font-hanja); font-weight: 400; opacity: .07; }
/* one vertical line (column flex in vertical-rl spread the rail sideways) */
.rmt-page .sp-hero__rail { flex-direction: row; }
.rmt-page .sp-hero__title { font-size: clamp(40px, 6.4vw, 104px); }

/* ---------- shared section rhythm on these pages ---------------------- */
.rmt-page .sp-section__title,
.rmt-page .sp-related__title,
.rmt-page .sp-booking__h { font-size: var(--kw-fs-h2); line-height: 1.05; }
.rmt-page .sp-booking__h { text-transform: none; }
.rmt-page .sp-section__head { margin-bottom: 48px; }
.rmt-page .sp-team,
.rmt-page .sp-related { padding: 104px 0; }
.rmt-page .sp-team { background: var(--kw-paper-cream); }
.rmt-page { word-break: keep-all; } /* Korean wraps at word boundaries; no effect on Latin */
.rmt-page:lang(ko) .rmt-clinic__kicker,
.rmt-page:lang(ko) .rmt-fee__cap,
.rmt-page:lang(ko) .rmt-clinic__meta dt { letter-spacing: .04em; }

/* ---------- fee board -------------------------------------------------- */
.rmt-fees {
  padding: 104px 0 96px;
  background: var(--kw-paper-cream);
  scroll-margin-top: 80px;
}
.rmt-fees .sp-section__intro { max-width: 520px; }

.rmt-clinics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  scroll-margin-top: 96px;
}
.rmt-clinics--single { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }

.rmt-clinic {
  display: flex; flex-direction: column;
  background: var(--kw-paper);
  border: 1px solid var(--kw-bone);
  border-radius: var(--kw-radius-lg);
  overflow: hidden;
}
.rmt-clinic__top {
  position: relative;
  padding: 30px 32px 28px;
  background: var(--kw-ink);
  color: var(--kw-paper);
  overflow: hidden;
}
/* brush-K watermark, off the right edge (Design System §6) */
.rmt-clinic__top::after {
  content: "";
  position: absolute;
  right: -34px; top: -26px;
  width: 150px; height: 150px;
  background: url("assets/K-mark.svg") no-repeat center / contain;
  filter: invert(1);
  opacity: .07;
  pointer-events: none;
}
.rmt-clinic__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--kw-font-ui);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(243,239,231,.68);
  margin-bottom: 12px;
}
.rmt-clinic__kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--kw-blue-light);
}
.rmt-clinic__name {
  font-family: var(--kw-font-serif);
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0;
}
.rmt-clinic__han {
  font-family: var(--kw-font-brush);
  font-weight: 400;
  font-size: .62em;
  color: var(--kw-blue-light);
  margin-left: 10px;
  letter-spacing: 0;
}

.rmt-fee__cap {
  margin: 0;
  padding: 22px 32px 0;
  font-family: var(--kw-font-ui);
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--kw-wash);
}
.rmt-fee { list-style: none; margin: 0; padding: 4px 32px 8px; }
.rmt-fee li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--kw-bone);
}
.rmt-fee li:last-child { border-bottom: 0; }
.rmt-fee__time {
  font-family: var(--kw-font-serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--kw-ink);
}
.rmt-fee__time small {
  display: block;
  font-family: var(--kw-font-ui);
  font-weight: 500;
  font-size: 13px;
  color: var(--kw-wash);
  margin-top: 3px;
}
.rmt-fee__price {
  font-family: var(--kw-font-serif);
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--kw-ink);
  white-space: nowrap;
}
.rmt-fee__price small {
  font-family: var(--kw-font-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--kw-stone);
  margin-left: 6px;
  vertical-align: middle;
}

.rmt-clinic__meta {
  margin: 0;
  padding: 18px 32px 6px;
  border-top: 1px solid var(--kw-bone);
  background: var(--kw-paper-cream);
  flex: 1 0 auto;
}
.rmt-clinic__meta div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  padding: 8px 0;
}
.rmt-clinic__meta dt {
  font-family: var(--kw-font-ui);
  font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--kw-wash);
  padding-top: 3px;
}
.rmt-clinic__meta dd {
  margin: 0;
  font-family: var(--kw-font-ui);
  font-size: 15px; line-height: 1.55;
  color: var(--kw-charcoal);
  font-style: normal;
}
.rmt-clinic__meta address { font-style: normal; }
.rmt-clinic__meta a { color: var(--kw-blue); text-decoration: underline; text-underline-offset: 3px; }

.rmt-clinic__actions {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 22px 32px 28px;
  background: var(--kw-paper-cream);
}
.rmt-clinic__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.rmt-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--kw-font-ui);
  font-size: 14px; font-weight: 600;
  color: var(--kw-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(14,79,142,.35);
  padding: 4px 0 2px;
  transition: border-color var(--kw-dur) var(--kw-ease);
}
.rmt-link:hover { border-bottom-color: var(--kw-blue); }
.rmt-link svg { width: 14px; height: 14px; flex: none; }

/* side column on the location pages: what the fees mean + the other clinic */
.rmt-aside { display: grid; gap: 24px; align-content: start; }
.rmt-other {
  padding: 26px 28px;
  border: 1px dashed var(--kw-bone);
  border-radius: var(--kw-radius-lg);
}
.rmt-other h3 {
  font-family: var(--kw-font-serif);
  font-size: 20px; font-weight: 700;
  margin: 0 0 6px;
}
.rmt-other p {
  font-family: var(--kw-font-ui);
  font-size: 15px; line-height: 1.6;
  color: var(--kw-stone);
  margin: 0 0 14px;
}

.rmt-notes {
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--kw-font-ui);
  font-size: 14.5px; line-height: 1.6;
  color: var(--kw-stone);
}
.rmt-notes li {
  position: relative;
  padding: 0 0 0 20px;
  margin: 0 0 10px;
}
.rmt-notes li::before {
  content: "";
  position: absolute; left: 0; top: .78em;
  width: 9px; height: 1px;
  background: var(--kw-stone);
}
.rmt-notes a { color: var(--kw-blue); text-decoration: underline; text-underline-offset: 3px; }
.rmt-notes--wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--kw-bone);
}

/* ---------- before you book ------------------------------------------- */
.rmt-steps { padding: 104px 0; background: var(--kw-paper); }
.rmt-steps__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 72px;
  align-items: start;
}
.rmt-steps .sp-section__intro { margin-top: 22px; }
.rmt-steps__call {
  margin: 22px 0 0;
  font-family: var(--kw-font-ui);
  font-size: 15px; line-height: 1.7;
  color: var(--kw-stone);
}
.rmt-steps__call a { color: var(--kw-blue); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.rmt-steps__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--kw-ink); }
.rmt-steps__list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--kw-bone);
}
.rmt-steps__n {
  font-family: var(--kw-font-ui);
  font-size: 11px; font-weight: 600;
  letter-spacing: .2em;
  color: var(--kw-wash);
  padding-top: 6px;
}
.rmt-steps__n b {
  display: block;
  font-family: var(--kw-font-serif);
  font-size: 30px; font-weight: 700;
  letter-spacing: -.02em;
  color: var(--kw-blue);
  margin-bottom: 4px;
}
.rmt-steps__h {
  font-family: var(--kw-font-serif);
  font-weight: 700;
  font-size: 22px; line-height: 1.25;
  margin: 0 0 6px;
}
.rmt-steps__list p {
  font-family: var(--kw-font-ui);
  font-size: 15.5px; line-height: 1.7;
  color: var(--kw-stone);
  margin: 0;
}

/* ---------- team: smaller tiles, location shown ------------------------ */
.rmt-page .sp-team__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.rmt-page .sp-team__img { border-radius: var(--kw-radius-md); }
.rmt-page .sp-team__name { font-size: 21px; }
.rmt-page .sp-team__role { font-size: 12px; }
.rmt-team__loc {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 10px;
  font-family: var(--kw-font-ui);
  font-size: 12px; font-weight: 600;
  letter-spacing: .06em;
  color: var(--kw-blue);
}
.rmt-team__loc::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--kw-blue); }

/* ---------- responsive ------------------------------------------------- */
@media (max-width: 1100px) {
  .rmt-clinics--single { grid-template-columns: 1fr; }
  .rmt-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .rmt-page .sp-team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .rmt-clinics { grid-template-columns: 1fr; }
  .rmt-steps__inner { grid-template-columns: 1fr; gap: 36px; }
  .rmt-notes--wide { grid-template-columns: 1fr; }
  .rmt-page .sp-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rmt-page .sp-hero { padding: 124px 0 56px; }
  .rmt-fees, .rmt-steps { padding: 72px 0; }
  .rmt-page .sp-team, .rmt-page .sp-related { padding: 72px 0; }
  .rmt-page .sp-section__head { margin-bottom: 32px; }
  .rmt-aside { grid-template-columns: 1fr; }
  .rmt-clinic__top, .rmt-fee__cap, .rmt-fee, .rmt-clinic__meta, .rmt-clinic__actions { padding-left: 22px; padding-right: 22px; }
  .rmt-clinic__actions { align-items: stretch; }
  .rmt-clinic__actions .btn { justify-content: center; }
  .rmt-steps__list li { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .rmt-steps__n b { font-size: 26px; }
  .rmt-steps__h { font-size: 20px; }
}
@media (max-width: 420px) {
  .rmt-clinic__meta div { grid-template-columns: 1fr; gap: 2px; }
  .rmt-fee__time { font-size: 20px; }
  .rmt-page .sp-team__grid { gap: 18px; }
}
