/* Shared by alumni stories, special contributions and their indexes. */
:root {
  color-scheme: light;
  --green: #007a5e;
  --navy: #1d4790;
  --ink: #20242b;
  --muted: #606a76;
  --line: #e2e7ec;
  --mint: #f0f8f5;
  --soft: #f6f9fc;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.95 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.wrap { width: min(1060px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 20; padding: 8px 16px; color: #fff; background: var(--green); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { background: #fff; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding-block: 16px; }
.brand-link { display: block; width: 390px; max-width: 72%; }
.brand-link img { width: 100%; }
.series-mark { margin: 0; color: var(--green); font-size: 12px; font-weight: 700; white-space: nowrap; }
.story-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); }
.story-hero::before { position: absolute; z-index: -1; inset: 0; background: url("../images/education-cover.png") center / cover no-repeat; opacity: .27; content: ""; }
.hero-inner { padding-block: 38px 42px; }
.hero-kicker { margin: 0 0 13px; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.story-hero h1 { max-width: 1000px; margin: 0; color: inherit; font-size: clamp(28px, 3vw, 36px); line-height: 1.5; font-weight: 800; letter-spacing: .025em; }
.hero-author { margin: 17px 0 0; font-size: 21px; font-weight: 700; }
.hero-affiliation { margin: 3px 0 0; font-size: 14px; line-height: 1.8; }
.hero-date { margin: 8px 0 0; font-size: 12px; }
.hero-lead { max-width: 820px; margin: 17px 0 0; font-size: 16px; line-height: 1.95; }
.breadcrumb-wrap { border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 10px; padding-block: 13px; font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--navy); font-weight: 600; text-decoration: none; }
.article-main { padding-block: 48px 72px; }
.profile-grid { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 44px; align-items: center; margin-bottom: 46px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.portrait { width: 100%; max-width: 260px; margin: 0 auto; }
.portrait img { width: 100%; height: auto; object-fit: contain; }
.portrait figcaption { margin-top: 12px; font-size: 12px; line-height: 1.75; color: var(--muted); }
.profile-copy h2 { margin: 0 0 16px; color: var(--navy); font-size: 21px; line-height: 1.5; }
.profile-copy p { margin: 0 0 16px; }
.profile-meta { font-size: 15px; line-height: 1.9; font-weight: 600; }
.profile-copy p:last-child { margin-bottom: 0; font-size: 15px; }
.profile-note { display: block; margin: -5px 0 16px; font-size: 12px; line-height: 1.75; color: var(--muted); }
.reading-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 24px; min-width: 0; padding-block: 18px 22px; border-top: 3px solid var(--green); border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.85; }
.toc summary { cursor: pointer; color: var(--green); font-weight: 700; }
.toc ol { margin: 17px 0 0; padding-left: 1.6em; }
.toc li { margin-bottom: 12px; padding-left: 2px; }
.toc li:last-child { margin-bottom: 0; }
.toc a { color: var(--navy); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.essay { min-width: 0; font-size: 17px; line-height: 2; }
.essay > .story-section { padding: 38px 0 40px; border-top: 1px solid var(--line); scroll-margin-top: 25px; }
.essay > .story-section:first-child { border-top: 3px solid var(--green); padding-top: 24px; }
.essay h2 { margin: 0 0 22px; color: var(--navy); font-size: clamp(23px, 2.4vw, 27px); line-height: 1.6; font-weight: 800; }
.essay h2[id] { scroll-margin-top: 24px; }
.section-number { display: block; margin-bottom: 8px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.7; }
.essay h3 { margin: 28px 0 12px; color: var(--green); font-size: 19px; line-height: 1.7; }
.essay p { margin: 0 0 1.3em; }
.essay p:last-child { margin-bottom: 0; }
.essay ul { margin: 0 0 1.3em; padding-left: 1.5em; }
.essay li { margin-bottom: .5em; }
.essay > .story-section--message { margin: 10px 0 0; padding: 28px 28px 32px; border-top: 0; border-left: 4px solid var(--green); background: var(--mint); }
.pull-quote { margin: 20px 0 34px; padding: 18px 24px; border-left: 3px solid var(--green); background: var(--soft); }
.pull-quote p { margin: 0; color: var(--navy); font-size: 20px; font-weight: 700; }
.pull-quote cite { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; font-style: normal; }
.challenge-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-block: 24px; }
.challenge-step { padding: 18px 14px; background: var(--soft); }
.challenge-step h3, .challenge-step strong { display: block; margin: 0 0 8px; color: var(--navy); font-size: 15px; }
.challenge-step p { font-size: 14px; line-height: 1.85; }
.challenge-step span { display: block; margin-bottom: 7px; color: var(--green); font-size: 11px; font-weight: 700; }
.related-resources { margin-top: 35px; padding-top: 30px; border-top: 1px solid var(--line); }
.related-resources h2 { font-size: 21px; }
.section-kicker { margin-bottom: 8px !important; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.related-links { display: grid; gap: 14px; }
.related-link { display: block; padding: 20px 22px; border: 1px solid var(--line); text-decoration: none; }
.related-link > * { display: block; }
.related-link__label { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.related-link strong { margin-block: 7px 3px; color: var(--navy); font-size: 16px; }
.related-link small { color: var(--muted); font-size: 12px; }
.endnote { margin: 30px 0 0 !important; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.article-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 30px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.article-nav a { color: var(--navy); font-weight: 600; text-decoration: none; }
.article-nav small { display: block; margin-bottom: 4px; color: var(--green); font-size: 11px; }
/* School-wide footer: content and layout match ssh.html / assets/css/site.css. */
.site-footer { color: #fff; background: var(--green); }
.footer-container { max-width: 940px; margin: 0 auto; padding: 48px 20px 36px; }
.footer-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-bottom: 36px; }
.footer-head h2 { margin: 0; color: #fff; font-size: 22px; font-weight: 800; }
.footer-head p { margin: 0; font-size: 14px; line-height: 1.8; }
.footer-contact { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px !important; }
.footer-contact__item { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.footer-contact__item > span { display: inline-block; margin-right: 4px; padding: 2px 10px; border: 1px solid rgba(255,255,255,.65); color: #fff; font-size: 12px; font-weight: 700; }
.footer-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px 32px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.22); }
.footer-nav a { position: relative; display: block; padding: 5px 0 5px 16px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.7; text-decoration: none; }
.footer-nav a::before { position: absolute; left: 0; color: #fff; content: "›"; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #fff; }
.copyright { margin: 0; padding: 20px; color: #fff; font-size: 12px; text-align: center; }
.portal-main, .index-main { width: min(1060px,calc(100% - 48px)); margin-inline: auto; padding-block: 42px 70px; }
.story-index { margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.story-index ul { display: flex; gap: 36px; margin: 0; padding: 0; list-style: none; }
.story-index a { display: block; margin-bottom: -1px; padding: 0 2px 15px; border-bottom: 1px solid #b6c9c2; color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: .04em; text-decoration: none; }
.story-index a:hover, .story-index a:focus-visible { border-bottom-color: var(--green); color: var(--green); }
.story-archive, .special-contributions { scroll-margin-top: 24px; }
.story-archive__heading, .special-contributions { margin-bottom: 26px; }
.section-label { margin: 0 0 8px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.portal-main h2, .index-main > h2 { margin: 0 0 24px; color: var(--navy); font-size: 28px; line-height: 1.55; }
.story-card, .contribution { margin-top: 24px; border: 1px solid var(--line); background: #fff; }
.story-card > a, .contribution > a { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 30px; align-items: center; padding: 25px; text-decoration: none; }
.story-card > a:hover, .contribution > a:hover { background: var(--soft); }
.story-card__image { width: 100%; height: 230px; object-fit: contain; }
.story-card__visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; width: 100%; min-height: 230px; color: var(--green); background: var(--mint); }
.story-card__visual > span { font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.story-card__visual > strong { font-size: 39px; line-height: 1.2; }
.story-card__visual > small { font-size: 11px; }
.story-card__read { display: inline-block; margin-top: 18px; color: var(--green); font-size: 14px; font-weight: 700; }
.story-card__body { min-width: 0; }
.story-card__edition, .edition small { display: block; margin-bottom: 9px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.story-card h3, .contribution h2 { margin: 0 0 12px; color: var(--navy); font-size: 25px; line-height: 1.55; }
.story-card__meta, .contribution .name { margin: 0 0 9px; color: var(--muted); font-size: 13px; }
.story-card__theme { margin: 8px 0; color: var(--navy); font-size: 17px; font-weight: 700; }
.story-card__summary, .contribution .summary { margin: 0; font-size: 15px; line-height: 1.9; }
.story-card__facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 12px; color: var(--green); }
.special-contributions { margin-top: 46px; padding: 30px; border: 1px solid var(--line); }
.special-contributions h3 { margin: 0 0 15px; color: var(--navy); font-size: 25px; line-height: 1.55; }
.special-contributions .contributor { font-size: 14px; }
.special-contributions > a { color: var(--green); font-weight: 700; }
.series-next { margin: 32px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.story-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px; align-items: stretch; }
.story-columns > .story-archive { min-width: 0; }
.story-archive > .story-card:first-of-type { margin-top: 0; }
.story-archive > .series-next { display: flex; flex-wrap: wrap; gap: 5px 20px; margin-top: 18px; padding-top: 16px; }
.series-next__label { color: var(--green); font-size: 12px; font-weight: 700; }
.archive-return { margin-top: 32px; text-align: center; }
.archive-return a { display: inline-block; padding: 11px 20px; border: 1px solid var(--line); color: var(--green); font-size: 14px; text-decoration: none; }
.index-intro { margin: 0 0 26px; color: var(--muted); font-size: 14px; }
.contribution > a { grid-template-columns: 150px minmax(0,1fr) 24px; }
.edition { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 140px; background: var(--mint); }
.edition strong { color: var(--green); font-size: 42px; line-height: 1.3; }
.contribution .name { color: var(--ink); font-size: 16px; font-weight: 600; }
.contribution .name span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 400; }
.contribution .date { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.arrow { color: var(--green); font-size: 23px; }
.review-intro { margin-bottom: 30px; }
.review-intro p { margin: 0 0 12px; }
.review-group { margin-top: 40px; }
.review-group h2 { color: var(--navy); font-size: 26px; }
.review-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.review-card { display: block; padding: 24px; border-top: 3px solid var(--green); border-bottom: 1px solid var(--line); background: var(--soft); text-decoration: none; }
.review-card span { color: var(--green); font-size: 12px; }
.review-card h3 { margin: 8px 0; color: var(--navy); font-size: 21px; }
.review-card p { margin: 0; font-size: 14px; }
.review-card .review-card__role { margin-bottom: 10px; color: var(--muted); font-size: 12px; line-height: 1.8; }
@media (min-width:960px) {
  .story-columns > .story-archive { display: flex; flex-direction: column; }
  .story-columns .story-card { display: flex; flex: 1; }
  .story-columns .story-card > a { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 22px; padding: 24px; }
  .story-columns .story-card__image, .story-columns .story-card__visual { height: 230px; min-height: 230px; }
  .story-columns .story-card__body { display: flex; flex-direction: column; flex: 1; }
  .story-columns .story-card__read { margin-top: auto; padding-top: 18px; }
  .story-columns .series-next { min-height: 48px; }
}
@media (max-width:959px) {
  .story-columns { grid-template-columns: minmax(0,1fr); gap: 42px; }
}
@media (max-width:900px) {
  .reading-layout { grid-template-columns: 1fr; gap: 32px; max-width: 720px; margin-inline: auto; }
  .toc { position: static; }
  .toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
  .toc li { margin: 0; }
  .profile-grid { grid-template-columns: 220px minmax(0,1fr); gap: 30px; }
  .review-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width:920px) {
  .footer-head { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .footer-nav { grid-template-columns: 1fr; }
}
@media (max-width:600px) {
  .wrap, .portal-main, .index-main { width: calc(100% - 36px); }
  .masthead { min-height: 75px; gap: 14px; padding-block: 15px; }
  .brand-link { max-width: 74%; }
  .series-mark { font-size: 9px; }
  .hero-inner { padding-block: 28px 32px; }
  .hero-kicker { font-size: 11px; letter-spacing: .08em; }
  .story-hero h1 { font-size: 27px; line-height: 1.55; }
  .hero-author { font-size: 19px; margin-top: 15px; }
  .hero-affiliation { font-size: 12px; }
  .hero-lead { font-size: 14px; margin-top: 14px; }
  .breadcrumb { font-size: 11px; padding-block: 12px; }
  .article-main { padding-block: 30px 48px; }
  .profile-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; padding-bottom: 30px; }
  .portrait { max-width: 230px; }
  .profile-copy h2 { font-size: 20px; }
  .toc ol { display: block; }
  .toc li { margin-bottom: 10px; }
  .essay { font-size: 16px; }
  .essay > .story-section { padding-block: 28px 31px; }
  .essay h2 { font-size: 23px; }
  .essay > .story-section--message { padding: 24px 20px 27px; }
  .challenge-steps { grid-template-columns: 1fr; }
  .pull-quote { padding-inline: 20px; }
  .pull-quote p { font-size: 18px; }
  .article-nav { display: block; }
  .article-nav a { display: block; }
  .portal-main, .index-main { padding-block: 30px 48px; }
  .story-index ul { gap: 28px; }
  .story-card > a, .contribution > a { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .story-card__image { height: 220px; }
  .story-card__visual { min-height: 170px; }
  .story-card h3, .special-contributions h3, .contribution h2 { font-size: 23px; }
  .special-contributions { padding: 22px; }
  .edition { flex-direction: row; justify-content: start; gap: 16px; min-height: 0; padding: 10px 16px; }
  .edition small { margin-bottom: 0; }
  .edition strong { font-size: 25px; }
  .arrow { display: none; }
  .review-list { grid-template-columns: 1fr; }
}
@page { size: A4; margin: 15mm 17mm; }
@media print {
  *, *::before, *::after { color: #000 !important; background: transparent !important; box-shadow: none !important; }
  body { font-size: 11pt; line-height: 1.75; }
  .wrap, .portal-main, .index-main { width: 100%; }
  .site-header, .site-footer, .breadcrumb-wrap, .toc, .article-nav, .skip-link, .hero-lead, .archive-return, .pull-quote { display: none !important; }
  .story-hero::before { display: none; }
  .hero-inner { padding: 0 0 6mm; }
  .story-hero h1 { font-size: 13.5pt; text-align: center; }
  .hero-kicker { font-size: 9pt; letter-spacing: 0; }
  .hero-author { font-size: 11pt; text-align: center; margin-top: 3mm; }
  .hero-affiliation, .hero-date { font-size: 9pt; text-align: center; margin-top: 2mm; }
  .article-main { padding: 0; }
  .profile-grid { grid-template-columns: 40mm minmax(0,1fr); gap: 8mm; margin: 0 0 5mm; padding-bottom: 4mm; break-inside: avoid; }
  .portrait { width: 40mm; }
  .portrait figcaption, .profile-note { font-size: 8pt; }
  .profile-copy h2 { font-size: 11pt; }
  .profile-meta, .profile-copy p:last-child { font-size: 10pt; }
  .reading-layout { display: block; max-width: none; }
  .story-columns { display: block; }
  .story-columns > .story-archive + .story-archive { margin-top: 6mm; }
  .essay { font-size: 11pt; line-height: 1.75; }
  .essay > .story-section, .essay > .story-section:first-child, .essay > .story-section--message { margin: 0; padding: 4mm 0; border: 0; }
  .essay h2 { font-size: 11pt; margin: 0 0 2mm; break-after: avoid; }
  .section-number { display: inline; font-size: 11pt; letter-spacing: 0; margin-right: 1em; }
  .essay h3 { font-size: 11pt; margin: 3mm 0 2mm; break-after: avoid; }
  .essay p { margin-bottom: 2mm; text-indent: 1em; orphans: 3; widows: 3; }
  .related-resources { margin-top: 3mm; padding-top: 3mm; }
  .related-link { padding: 3mm 0; border: 0; }
  .related-link strong { font-size: 10pt; }
  .endnote { font-size: 8pt; }
}
