/* About page: quiet editorial layout using the hospital's blue-green palette. */
.about-page {
    --about-ink: #193f46;
    --about-text: #46585a;
    --about-muted: #617473;
    --about-accent: #8c7856;
    --about-line: #d8dfd9;
    --about-paper: #fafaf7;
    --about-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    background: var(--about-paper);
    color: var(--about-text);
}

.about-shell { width: min(1160px, calc(100% - 112px)); margin-inline: auto; }
.about-page main { overflow-wrap: anywhere; }
.about-page main:focus { outline: none; }
.about-page main a:focus-visible,
.about-skip:focus-visible { outline: 2px solid var(--about-ink); outline-offset: 6px; }
.about-skip { position: fixed; top: 12px; left: 16px; z-index: 10001; padding: 12px 20px; background: #fff; color: var(--about-ink); transform: translateY(-160%); }
.about-skip:focus { transform: none; }
.about-eyebrow { color: var(--about-muted); font: 500 11px/1.6 Arial, sans-serif; letter-spacing: .19em; }
.about-section { scroll-margin-top: 112px; }

/* Introduction */
.about-hero { padding: 116px 0 0; }
.about-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px 14px; list-style: none; font-size: 11px; color: var(--about-muted); }
.about-breadcrumb li + li::before { content: "/"; margin-right: 14px; color: #8b9994; }
.about-breadcrumb a:hover { color: var(--about-ink); text-decoration: underline; text-underline-offset: 4px; }
.about-hero__layout { display: grid; grid-template-columns: .9fr 1.25fr; align-items: center; gap: 64px; margin-top: 44px; }
.about-hero__content { padding-block: 24px; }
.about-hero__title { margin-top: 22px; font-family: var(--about-serif); font-size: clamp(32px, 3.2vw, 46px); font-weight: 400; line-height: 1.65; letter-spacing: .045em; color: var(--about-ink); }
.about-hero__lead { margin-top: 34px; font-family: var(--about-serif); font-size: clamp(23px, 2.1vw, 30px); line-height: 1.95; letter-spacing: .08em; color: var(--about-ink); }
.about-hero__description { margin-top: 26px; font-size: 14px; line-height: 2.1; }
.about-hero__visual { min-width: 0; }
.about-hero__visual img { display: block; width: 100%; aspect-ratio: 1.38; height: auto; object-fit: cover; object-position: 51% 50%; border-radius: 1px; }
.about-hero__visual figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; font-size: 10px; letter-spacing: .05em; color: var(--about-muted); }
.about-hero__since { flex-shrink: 0; font-family: Georgia, serif; font-size: 12px; letter-spacing: .12em; }

/* Two softly squared, closed frames move behind each photograph. */
.about-photo-stage { --line-outset: 42px; position: relative; isolation: isolate; }
.about-photo-stage > img { position: relative; z-index: 1; border-radius: 8px; }
.about-photo-lines { position: absolute; z-index: 0; inset: calc(-1 * var(--line-outset)); width: calc(100% + var(--line-outset) * 2); height: calc(100% + var(--line-outset) * 2); overflow: hidden; pointer-events: none; }
.about-photo-lines path { fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; transform-box: view-box; transform-origin: center; }
.about-photo-lines__cool { stroke: #8ba99e; opacity: .85; animation: about-line-cool 22s ease-in-out infinite; }
.about-photo-lines__warm { stroke: #c3ab84; opacity: .85; animation: about-line-warm 28s ease-in-out -9s infinite; }
.about-photo-stage--director .about-photo-lines__cool { animation-duration: 27s; animation-delay: -7s; animation-direction: reverse; }
.about-photo-stage--director .about-photo-lines__warm { animation-duration: 32s; animation-delay: -18s; }
@keyframes about-line-cool {
    0%, 100% {
        d: path("M88 24 C224 10 402 20 544 16 C586 14 616 34 618 76 C626 190 614 291 622 404 C626 443 604 461 560 460 C408 452 228 468 84 458 C42 455 20 433 22 392 C24 280 10 183 20 77 C24 40 48 27 88 24 Z");
        transform: translate(0, 2px) rotate(-.4deg);
    }
    50% {
        d: path("M100 18 C242 24 400 8 552 24 C595 28 622 46 616 88 C608 205 630 296 616 398 C612 438 589 465 545 462 C383 468 224 450 78 454 C36 453 16 424 22 380 C30 262 16 166 26 72 C28 36 57 20 100 18 Z");
        transform: translate(3px, -2px) rotate(.5deg);
    }
}
@keyframes about-line-warm {
    0%, 100% {
        d: path("M68 40 C205 22 416 8 554 30 C600 38 628 67 624 108 C610 214 628 320 610 421 C605 459 570 476 520 466 C350 442 204 470 64 438 C29 429 10 390 18 347 C36 238 14 166 30 83 C33 60 48 43 68 40 Z");
        transform: translate(1px, -2px) rotate(.35deg);
    }
    50% {
        d: path("M82 32 C224 12 404 36 550 22 C592 19 620 49 624 94 C630 215 611 326 616 411 C616 453 583 465 534 459 C375 478 213 444 76 450 C35 446 17 414 20 366 C12 250 36 156 24 88 C20 55 43 36 82 32 Z");
        transform: translate(-3px, 2px) rotate(-.45deg);
    }
}
.about-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 58px; border-block: 1px solid var(--about-line); }
.about-index a { display: flex; align-items: center; gap: 20px; min-height: 80px; padding: 20px 28px; color: var(--about-ink); font-size: 14px; transition: background-color 240ms ease; }
.about-index a + a { border-left: 1px solid var(--about-line); }
.about-index__number { color: var(--about-accent); font: italic 17px/1 Georgia, serif; }
.about-index__arrow { margin-left: auto; font-size: 20px; transition: transform 240ms ease; }
.about-index a:hover { background: #eef3ef; }
.about-index a:hover .about-index__arrow { transform: translateY(3px); }

/* Philosophy and policy */
.about-editorial { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 86px; }
.about-section-heading h2 { margin-top: 15px; font-family: var(--about-serif); color: var(--about-ink); font-size: 32px; font-weight: 400; line-height: 1.65; letter-spacing: .06em; }
.about-section-heading__note { margin-top: 26px; font-size: 14px; line-height: 2; }
.philosophy-section { padding-block: 110px 96px; }
.philosophy-statement { color: var(--about-ink); font-family: var(--about-serif); font-size: clamp(25px, 2.4vw, 34px); font-weight: 400; line-height: 1.95; letter-spacing: .04em; }
.philosophy-content .about-prose { margin-top: 34px; }
.about-prose { font-size: 16px; line-height: 2.15; letter-spacing: .015em; }
.about-prose p + p { margin-top: 23px; }
.policy-section { padding-bottom: 112px; }
.policy-section .about-section-heading { padding-top: 28px; }
.policy-list { list-style: none; border-top: 1px solid var(--about-line); }
.policy-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--about-line); }
.policy-item__number { color: var(--about-accent); font: italic 25px/1.8 Georgia, serif; }
.policy-item h3 { color: var(--about-ink); font-family: var(--about-serif); font-size: 22px; font-weight: 400; line-height: 1.8; letter-spacing: .03em; }
.policy-item p { margin-top: 13px; font-size: 15px; line-height: 1.95; }

/* Director's message */
.director-section { padding-block: 104px; background: #edf2ef; }
.director-layout { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.2fr); column-gap: 86px; align-items: start; }
.director-heading { grid-column: 2; grid-row: 1; margin-bottom: 34px; }
.director-portrait { grid-column: 1; grid-row: 1 / 3; }
.director-portrait__image { padding: 0; }
.director-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: 72% center; }
.director-portrait figcaption { display: flex; flex-direction: column; align-items: flex-start; padding: 38px 0 0 13px; }
.director-portrait__role { font-size: 12px; letter-spacing: .08em; }
.director-portrait__name { margin-top: 10px; font-family: var(--about-serif); font-size: 29px; line-height: 1.7; letter-spacing: .17em; color: var(--about-ink); }
.director-portrait__english { margin-top: 6px; font: 10px/1.5 Arial, sans-serif; letter-spacing: .19em; color: var(--about-muted); }
.director-message { grid-column: 2; grid-row: 2; }
.director-message h3 { margin-bottom: 26px; font-family: var(--about-serif); color: var(--about-ink); font-size: clamp(24px, 2.15vw, 30px); font-weight: 400; line-height: 1.85; letter-spacing: .04em; }

/* No smoking on the premises */
.smoking-section { padding-block: 24px 96px; }
.smoking-content { display: grid; gap: 34px; }
.smoking-block { padding-top: 26px; border-top: 1px solid var(--about-line); }
.smoking-block h3 { margin-bottom: 16px; font-family: var(--about-serif); color: var(--about-ink); font-size: 22px; font-weight: 400; line-height: 1.7; letter-spacing: .03em; }
.smoking-note { color: #a23b2a; }

/* History and useful next steps */
.about-history { padding-block: 80px; }
.about-history__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 86px; align-items: center; }
.about-history__year { color: var(--about-accent); font: 86px/1.15 Georgia, serif; letter-spacing: -.04em; }
.about-history__year span { display: block; margin-bottom: 11px; font: 11px/1.5 Arial, sans-serif; letter-spacing: .24em; }
.about-history__copy h2 { margin-bottom: 16px; font-family: var(--about-serif); font-size: 24px; font-weight: 400; letter-spacing: .04em; color: var(--about-ink); }
.about-history__copy p { max-width: 680px; font-size: 15px; line-height: 2; }
.about-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 90px; border-block: 1px solid var(--about-line); }
.about-next > a { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 34px; color: var(--about-ink); font-family: var(--about-serif); font-size: 22px; transition: background-color 250ms ease; }
.about-next > a + a { border-left: 1px solid var(--about-line); }
.about-next small { display: block; margin-bottom: 12px; font: 10px/1.5 Arial, sans-serif; letter-spacing: .16em; color: var(--about-muted); }
.about-next__arrow { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #bccac2; border-radius: 50%; font: 23px/1 Arial, sans-serif; transition: transform 250ms ease; }
.about-next > a:hover { background: #edf2ef; }
.about-next > a:hover .about-next__arrow { transform: translate(2px, -2px); }

@media (min-width: 768px) and (max-width: 1100px) {
    .about-page .header__inner { gap: 20px; padding-inline: 20px; }
    .about-page .header__logo { flex-shrink: 0; }
    .about-page .header__list { gap: clamp(12px, 1.4vw, 16px); }
    .about-page .header__link { white-space: nowrap; font-size: 13px; }
    .about-page .header__item--cta .btn { padding: 12px 16px; white-space: nowrap; font-size: 13px; }
}

@media (max-width: 1100px) {
    .about-shell { width: calc(100% - 72px); }
    .about-hero__layout { grid-template-columns: .95fr 1fr; gap: 36px; }
    .about-hero__title { font-size: 34px; }
    .about-hero__visual img { aspect-ratio: 1.12; }
    .about-editorial, .about-history__layout { grid-template-columns: 200px minmax(0, 1fr); gap: 48px; }
    .about-index a { padding-inline: 22px; gap: 14px; }
    .director-layout { column-gap: 48px; }
}

@media (max-width: 800px) {
    .about-hero { padding-top: 106px; }
    .about-hero__layout { gap: 26px; }
    .about-hero__title { font-size: 30px; }
    .about-hero__lead { font-size: 23px; margin-top: 24px; }
    .about-hero__description { font-size: 13px; }
    .about-hero__description br { display: none; }
    .about-hero__visual img { aspect-ratio: .88; }
    .about-hero__visual figcaption { flex-wrap: wrap; gap: 6px 16px; }
    .about-editorial { grid-template-columns: 1fr; row-gap: 32px; }
    .philosophy-section { padding-block: 76px 60px; }
    .policy-section { padding-bottom: 76px; }
    .policy-section .about-section-heading { padding-top: 0; }
    .about-section-heading__note { margin-top: 16px; }
    .about-section-heading__note br { display: none; }
    .director-section { padding-block: 72px; }
    .director-layout { column-gap: 32px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    .director-heading { grid-column: 1 / -1; grid-row: 1; margin-bottom: 30px; }
    .director-portrait { grid-column: 1; grid-row: 2; }
    .director-message { grid-column: 2; grid-row: 2; }
    .director-message h3 { font-size: 24px; }
    .about-photo-stage { --line-outset: 24px; }
    .about-history__layout { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; }
    .about-next > a { padding: 28px 22px; font-size: 19px; }
}

@media (max-width: 600px) {
    .about-shell { width: calc(100% - 40px); }
    .about-hero { padding-top: 98px; }
    .about-breadcrumb ol { font-size: 10px; }
    .about-hero__layout { grid-template-columns: 1fr; gap: 30px; margin-top: 32px; }
    .about-hero__content { padding-block: 0; }
    .about-hero__title { margin-top: 16px; font-size: clamp(28px, 7.7vw, 36px); }
    .about-hero__lead { font-size: 24px; line-height: 1.8; }
    .about-hero__description { margin-top: 20px; font-size: 14px; }
    .about-hero__visual img { aspect-ratio: 1.4; }
    .about-hero__visual figcaption { flex-wrap: nowrap; font-size: 9px; }
    .about-photo-stage { --line-outset: 16px; }
    .about-index { grid-template-columns: 1fr; margin-top: 32px; }
    .about-index a { min-height: 62px; padding: 16px 5px; gap: 20px; }
    .about-index a + a { border-left: 0; border-top: 1px solid var(--about-line); }
    .about-section { scroll-margin-top: 96px; }
    .about-section-heading h2 { font-size: 28px; margin-top: 11px; }
    .about-eyebrow { font-size: 10px; }
    .philosophy-section { padding-block: 62px 56px; }
    .about-editorial { row-gap: 26px; }
    .philosophy-statement { font-size: clamp(23px, 6.2vw, 28px); line-height: 1.9; }
    .about-desktop-break { display: none; }
    .philosophy-content .about-prose { margin-top: 26px; }
    .about-prose { font-size: 15px; line-height: 2.1; }
    .policy-section { padding-bottom: 64px; }
    .policy-item { grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding-block: 26px; }
    .policy-item__number { font-size: 21px; }
    .policy-item h3 { font-size: 20px; }
    .policy-item p { font-size: 14px; line-height: 2; }
    .director-section { padding-block: 60px; }
    .director-layout { grid-template-columns: 1fr; }
    .director-heading, .director-portrait, .director-message { grid-column: auto; grid-row: auto; }
    .director-portrait { width: min(100%, 380px); }
    .director-portrait img { aspect-ratio: 1.1; }
    .director-portrait figcaption { padding: 30px 0 0; }
    .director-portrait__name { font-size: 26px; margin-top: 7px; }
    .director-message { margin-top: 34px; }
    .director-message h3 { font-size: 24px; margin-bottom: 22px; }
    .smoking-section { padding-block: 8px 64px; }
    .smoking-block h3 { font-size: 20px; }
    .about-history { padding-block: 56px; }
    .about-history__layout { grid-template-columns: 1fr; gap: 24px; }
    .about-history__year { font-size: 70px; }
    .about-history__copy h2 { font-size: 23px; }
    .about-next { grid-template-columns: 1fr; margin-bottom: 60px; }
    .about-next > a { padding: 24px 5px; font-size: 21px; }
    .about-next > a + a { border-left: 0; border-top: 1px solid var(--about-line); }
}

@media (prefers-reduced-motion: reduce) {
    .about-photo-lines path { animation: none; transform: none; }
    .about-page main a, .about-index__arrow, .about-next__arrow { transition: none; }
    .about-index a:hover .about-index__arrow, .about-next > a:hover .about-next__arrow { transform: none; }
}
