/* Shared rhythm for the four public pages. Regular class only. */
.ai-book-image { position:relative; margin:0; min-width:0; width:100%; aspect-ratio:1; overflow:hidden; }
.ai-book-image img { position:absolute; display:block; width:180%; max-width:none; height:auto; left:50%; top:50%; transform:translate(-50%,-50%); }
.home-page .home-ai-book { max-width:240px; margin:0 auto; }
.cr-regular .cr-ai-book { max-width:260px; margin:auto; align-self:center; }
.home-page #main-ai-method {
  width: 100%; padding-inline: 40px; background: #252525; color: #fff;
}
.method-layout { width: 100%; max-width: 1200px; margin: auto; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 64px; align-items: center; }
.method-copy { min-width: 0; }
.home-page .method-copy .home-eyebrow { color: #a6ff00; margin: 0 0 12px; }
.home-page .method-copy h2 { font-size: var(--section-size); line-height: 1.35; color: #fff; margin: 0; }
.home-page .method-copy > p:not(.home-eyebrow) { font-size: var(--reading-size); line-height: 1.8; color: #ddd; margin: 16px 0 0; }
.home-page .method-copy > .method-lead { font-size: var(--lead-size); color: #fff; margin-top: 24px; }
.home-page .method-copy .home-link { color: #a6ff00; border-color: #637c3a; margin-top: 24px; }
.method-proof { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); align-items:center; gap:16px; min-width: 0; padding-left: 32px; border-left: 1px solid #505050; }
.home-page .method-number { display: flex; flex-direction:column; align-items: flex-start; gap: 16px; font-size: 88px; line-height: .9; letter-spacing: -.06em; font-weight: 600; color: #a6ff00; }
.home-page .method-number span { font-size: var(--label-size); line-height: 1.5; letter-spacing: .06em; color: #eee; }
.home-page .method-proof-title { font-size: var(--reading-size); margin-top: 20px; color: #fff; }
.method-image-space { margin-top: 20px; min-height: 156px; border: 1px dashed #777; padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.method-image-space span { font-size: var(--label-size); color: #ddd; }
.home-page .method-image-space p { font-size: var(--reading-size); line-height: 1.7; color: #bbb; }
.about-page .about-journey-card h3 { text-wrap: balance; min-height: 2.8em; }
.about-page .about-ai-note { margin-top: 40px; }
.cr-regular .cr-learning-grid .cr-learning-task { line-height: 1.8; font-size: var(--reading-size); }
.cr-regular .cr-image-placeholder { min-height: 180px; padding: 24px; }
.cr-regular .cr-work-placeholder { min-height: 0; padding: 20px 24px; }
.cr-regular .cr-ai-method-visual { min-height: 220px; }
.cr-regular #ai-method-title { scroll-margin-top: 180px; }
.cr-regular .cr-button { border-radius: 8px; min-height: 48px; }
.contact-page #contacts-form-area { scroll-margin-top: 100px; }
.contact-page .contact-inquiry-jump { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: #6134c6; font-size: var(--reading-size); border-bottom: 1px solid #cfc4e5; }
.contact-page .naver-booking-link { margin-top: 0; padding: 24px; border: 1px solid #d7e8dd; border-radius: 12px; background: #f5faf7; gap: 12px; }
.contact-page .naver-booking-action { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 12px 16px; margin-top: 4px; border-radius: 8px; background: #087b3b; color: #fff; font-size: var(--reading-size); line-height: 1.5; font-weight: 600; }
.contact-page .naver-booking-link:hover .naver-booking-action { background: #065f2d; }
.contact-page .naver-booking-action span { color: inherit; }
.contact-page .naver-booking-link strong { word-break: keep-all; overflow-wrap: break-word; }
.contact-page .naver-booking-link:focus-visible,
.contact-page .contact-inquiry-jump:focus-visible { outline: 2px solid #6134c6; outline-offset: 4px; }
@media (max-width: 767px) {
  .home-page #main-ai-method { padding-inline: 20px; }
  .home-page .method-number { font-size: 64px; }
  .method-image-space { min-height: 132px; }
  .about-page .about-ai-note { margin-top: 28px; }
  .about-page .about-journey-card h3 { min-height: 0; }
  .cr-regular .cr-image-placeholder { min-height: 144px; padding: 20px; }
  .cr-regular .cr-work-placeholder { min-height: 0; }
  .cr-regular .cr-ai-method-visual { min-height: 180px; }
  .contact-page .naver-booking-link { margin-top: 0; padding: 20px; }
}


/* Stack the AI proof at tablet widths before its text column becomes cramped. */
@media (max-width: 1023px) {
  .method-layout { grid-template-columns: 1fr; gap: 32px; }
  .method-proof { padding: 28px 0 0; border-left: 0; border-top: 1px solid #505050; }
}
.cr-regular .cr-work-placeholder[hidden] { display: none; }
.cr-regular .cr-process-details > summary {
  cursor: pointer; font-size: var(--reading-size); font-weight: 600;
  color: #d7fc8a; min-height: 44px; line-height: 1.8; padding: 8px 0;
}
.cr-process-details-body { padding-top: var(--public-heading-gap); }
.cr-regular .cr-process-details-body > h3 + p {
  margin: var(--public-heading-gap) 0 24px; color: #ddd; line-height: 1.8;
}

/* Main, about, contact: avoid broken words and isolated closing words. */
:is(.home-page,.about-page,.contact-page) :is(p,li,dd,label) { text-wrap:pretty; }
:is(.home-page,.about-page,.contact-page) :is(h2,h3) { word-break:keep-all; overflow-wrap:break-word; text-wrap:balance; }
.contact-page h1 { word-break:keep-all; overflow-wrap:break-word; text-wrap:balance; }
.home-page .method-proof-title { text-wrap:balance; }
.contact-page .naver-booking-link strong { text-wrap:pretty; }
.contact-page .naver-booking-action { word-break:keep-all; text-wrap:pretty; }
.contact-page .naver-booking-action > span { flex-shrink:0; }
.contact-page .location-info .address-number { white-space:nowrap; }
.contact-page .contact-form-intro h3 { word-break:keep-all; text-wrap:balance; }

:is(.home-page,.about-page,.contact-page) .public-keep-phrase { white-space:nowrap; }
