:root {
  --club-font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --club-display: clamp(1.4375rem, calc(3.8vw + .0625rem), 2.4375rem);
  --club-heading: clamp(1.25rem, calc(2.5vw + .0625rem), 1.6875rem);
  --club-subheading: 1rem;
  --club-copy: .75rem;
  --club-copy-strong: .8125rem;
  --club-copy-leading: 1.5;
  --club-title-ink: #283735;
  --club-copy-ink: #4d5956;
  --club-label-ink: #556561;
  --club-link-ink: #416275;
  --club-ui: .59375rem;
  --club-small: .8125rem;
}

html body {
  font-family: var(--club-font);
  font-size: var(--club-copy);
  line-height: var(--club-copy-leading);
  letter-spacing: 0;
}

html body h1 {
  font-size: var(--club-display) !important;
  line-height: 1.15 !important;
  letter-spacing: -.035em !important;
  font-weight: 650;
}
html body h2 {
  font-size: var(--club-heading) !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
  font-weight: 600;
}
html body h3,
html body h4 {
  font-size: var(--club-subheading) !important;
  line-height: 1.3 !important;
  letter-spacing: -.012em !important;
  font-weight: 600;
}

html body :is(p, main li, main dt, main dd, main blockquote, main td, main th) {
  font-size: var(--club-copy) !important;
  line-height: var(--club-copy-leading) !important;
  letter-spacing: -.01em !important;
}
html body :is(p, main li, main dt, main dd, main blockquote, main td) :is(strong, b),
html body footer p.studio-address {
  font-size: var(--club-copy-strong) !important;
  font-weight: 600;
  line-height: var(--club-copy-leading) !important;
}

html[lang="ko"] body :is(h1, h2, h3, p, li) {
  word-break: keep-all;
  overflow-wrap: break-word;
}

html body :is(a[href], button, .btn, .book, .mobilebook, .textlink, nav.mobile-shortcuts > a) {
  font-family: inherit;
  font-size: var(--club-ui) !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}
html body :is(.eyebrow, figcaption, .official-links, .official-credit, small) {
  font-size: var(--club-small) !important;
  line-height: 1.45 !important;
  letter-spacing: .025em !important;
}
html body .class-nav a {
  text-align: center;
  text-wrap: balance;
}
html body :is(header .logo, .detail-header .logo) {
  font-size: 1.5625rem !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
}
html body .detail-header {
  padding-inline: clamp(16px, 4vw, 40px);
}
html body .second h2.club-signoff {
  font-size: calc(var(--club-heading) + .3125rem) !important;
  white-space: normal;
}

@media (max-width: 650px) {
  html body .class-nav {
    padding: 8px 12px;
  }
  html body .class-nav a {
    display: grid;
    place-items: center;
    padding: 8px 6px;
    min-height: 44px;
  }
  html body .quick-text-links a,
  html body nav.mobile-shortcuts > a {
    white-space: normal;
    text-align: center;
    text-wrap: balance;
  }
}

/* Use weight and color before adding another text size. */
html body main :is(h1, h2, h3, h4) {
  text-wrap: balance;
}
html body main :is(section, article) :is(h1, h2, h3, h4) {
  color: var(--club-title-ink);
}
html body main :is(section, article) > p,
html body main :is(.official-copy, .principle, .depth-copy, .detail-features) p {
  color: var(--club-copy-ink);
}
html body main > .method-ten {
  width: min(calc(100% - 2 * (var(--detail-gutter) + 6px)), 54rem);
  border: 1px solid #b8c0c5;
  padding: clamp(20px, 5vw, 52px);
  text-align: center;
}
html body main .method-ten :is(h2, h3) {
  font-family: var(--club-font);
  color: #254263;
}
html body main .method-ten > h2 {
  font-size: clamp(1.375rem, 3vw, 1.625rem) !important;
  font-weight: 650;
  margin-bottom: clamp(18px, 4vw, 30px);
}
html body main .method-ten .principle {
  padding-block: 18px;
}
html body main .method-ten .principle h3 {
  font-size: .875rem !important;
  font-weight: 550;
  letter-spacing: .025em !important;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
html body main .method-ten .principle-number {
  display: block;
  margin-bottom: 5px;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1;
  color: var(--club-link-ink);
}
html body main .method-ten .principle p {
  margin-inline: auto;
  max-width: 30ch;
  text-wrap: pretty;
}
html body #classes .card > small,
html body main section > .eyebrow {
  color: var(--club-label-ink);
  font-weight: 550;
}
html body #classes .card > h3,
html body #visit :is(h2,h3) {
  margin: 3px 0 8px;
  font-size: clamp(1.125rem, calc(1.7vw + .1875rem), 1.3125rem) !important;
  font-weight: 600;
  letter-spacing: .005em !important;
  line-height: 1.25 !important;
}
html body #classes .card > p {
  margin: 0;
}
html body #classes .class-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  margin-inline-start: .45em;
  vertical-align: -.25em;
  color: #52675d;
  font-size: inherit !important;
  border-radius: 50%;
}
html body #classes .class-more svg {
  display: block;
  width: 100%;
  height: 100%;
}
html body #classes .class-more:hover,
html body #classes .class-more:focus-visible {
  background: #e1e8df;
}
html body #classes .class-more:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
html body #visit {
  padding-top: calc(100px + clamp(20px, 4vw, 36px));
}
html body :is(#classes, #visit) > .eyebrow + h2 {
  margin-top: 6px;
}
html body #classes .card > img {
  margin-bottom: 16px;
}
html body #classes .cards {
  row-gap: clamp(36px, 6vw, 64px);
}

@media (max-width: 650px) {
  html body #classes .card > img {
    display: block;
    margin-bottom: 0;
  }
  html body #classes .card > small {
    margin-top: 20px;
  }
  html body #visit {
    padding-top: 94px;
  }
}

/* Keep the page intro grouped, with a larger break before the content. */
html body main > .detail-intro :is(.eyebrow, h1, p) {
  margin-top: 0;
}
html body main > .detail-intro .eyebrow { margin-bottom: 10px; }
html body main > .detail-intro h1 { margin-bottom: 14px; }
html body main > .detail-intro p { margin-bottom: 18px; }
html body main > .detail-intro .btn { margin-top: 0; }
html body main > .detail-intro {
  padding-top: clamp(38px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 66px);
}
html body main > .detail-intro:has(+ .official-feature) {
  margin-bottom: 0;
}
html body main .principle {
  padding-block: 14px;
}
html body main .principle h3 {
  margin-bottom: 5px;
  font-weight: 600;
}
html body main .principle p { margin-top: 0; }
html body main :is(.official-copy h2, .detail-prepare h2, .detail-section > h2) {
  margin-bottom: 10px;
}

/* Button labels are slightly larger than inline links. */
html body :is(button, .btn, .book, .mobilebook, [role="button"]) {
  --club-ui: .65625rem;
  font-size: .65625rem !important;
  min-height: 44px;
}

html body :is(.btn, .book, .mobilebook) .button-label {
  font-size: inherit !important;
  line-height: inherit;
}

html body :is(.btn, .book, .mobilebook):not(.wix-chat-trigger) {
  padding-inline: max(12px, 1em);
}

html body nav.quick-text-links > a {
  font-size: 12px !important;
}

html body h1.home-hero-title {
  font-size: calc(var(--club-display) + .5625rem) !important;
}

html body .photo .overlay .eyebrow:has(+ .home-hero-title) {
  font-size: .625rem !important;
  font-weight: 400 !important;
}
