/* /about/ — 본문·삽화·서비스 목록의 양쪽 기준선을 main 한 곳에서 맞춘다.
 * 소개 페이지 글자는 대표의 2026-09-19 요청에 따라 읽는 화면보다 작게 쓴다.
 * 공용 간판·탭바·푸터는 frame.css 그대로. */
.about-page {
    --story-inset: clamp(20px, 5vw, 40px);
    padding: 0 var(--story-inset) 36px;
    color: var(--jb-ink);
    overflow-wrap: anywhere;
}

.about-story p {
    margin: 0;
    font-family: var(--font-read);
    font-size: clamp(1.125rem, 1rem + .4vw, 1.25rem);
    font-weight: 400;
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.about-story p + p { margin-top: 16px; }

.story-opening { padding-block: 36px 24px; }
.about-story .story-byline {
    margin-bottom: 14px;
    color: var(--jb-ink-soft);
    font-family: "Noto Sans KR", sans-serif;
    font-size: 15px;
    line-height: 1.5;
}
.about-story h1 {
    margin: 0 0 18px;
    font-family: "Noto Serif KR", serif;
    font-size: clamp(1.75rem, 1.25rem + 2vw, 2.125rem);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -.04em;
    word-break: keep-all;
    text-wrap: balance;
}

.story-scene {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}
.story-scene img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
}

.story-chapter { padding-block: 28px; }
.about-story h2,
.about-catalog h2 {
    margin: 0 0 14px;
    font-family: var(--font-read);
    font-size: clamp(1.375rem, 1.15rem + .8vw, 1.5625rem);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.035em;
    word-break: keep-all;
    text-wrap: balance;
}
.story-reflection {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--jb-line-2);
}
.story-closing { padding-bottom: 32px; }
.about-story .story-signature {
    margin-top: 20px;
    color: var(--jb-wood-deep);
    font-size: 16px;
    text-align: right;
}

.story-invitation {
    display: grid;
    gap: 8px;
    padding-block: 8px 24px;
    text-align: center;
}
.story-start {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1.5px solid var(--jb-wood-deep);
    border-radius: 14px;
    background: var(--jb-paper-2);
    color: var(--jb-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}
.story-start:hover { background: var(--jb-paper-3); }

.about-catalog { padding-block: 28px 20px; border-top: 1px solid var(--jb-line-2); }
.about-catalog .catalog-intro {
    margin: 0 0 12px;
    color: var(--jb-ink-soft);
    font-size: 16px;
    line-height: 1.75;
    word-break: keep-all;
}
.service-list { margin: 0; padding: 0; list-style: none; }
.service-list li + li { border-top: 1px solid var(--jb-line-2); }
.service-list a {
    display: block;
    min-height: 48px;
    padding-block: 16px;
    color: inherit;
    text-decoration: none;
}
.service-list h3 {
    margin: 0 0 5px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    word-break: keep-all;
}
.service-list p {
    margin: 0;
    color: var(--jb-ink-soft);
    font-size: 15px;
    line-height: 1.7;
    word-break: keep-all;
}
.service-list a:hover h3,
.service-list a:focus-visible h3 { color: var(--jb-wood-deep); text-decoration: underline; text-underline-offset: 4px; }
.service-list .service-art-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}
.service-art-link img { display: block; width: 48px; height: 48px; object-fit: contain; }
.catalog-guide { margin: 8px 0 0; }
.catalog-guide a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--jb-wood-deep);
    font-size: 16px;
    line-height: 1.7;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.about-guide details { border-top: 1px solid var(--jb-line-2); }
.about-guide details:last-child { border-bottom: 1px solid var(--jb-line-2); }
.about-guide summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 16px 0;
    list-style: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
}
.about-guide summary::-webkit-details-marker { display: none; }
.about-guide summary::after {
    content: "+";
    flex: 0 0 20px;
    color: var(--jb-wood-deep);
    font-size: 24px;
    text-align: center;
}
.about-guide details[open] summary::after { content: "−"; }
.about-guide p {
    margin: 0 0 18px;
    color: var(--jb-ink-soft);
    font-size: 15px;
    line-height: 1.8;
    word-break: keep-all;
}
.about-guide p a {
    color: var(--jb-wood-deep);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.about-page :is(a, summary):focus-visible {
    outline: 3px solid var(--jb-el-water);
    outline-offset: 5px;
    border-radius: 4px;
}
@media (min-width: 520px) {
    .service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
    .service-list li:nth-child(2) { border-top: 0; }
    .service-list a { height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.about-page) { scroll-behavior: auto; }
}
