
:root {
  color-scheme: light;
  --paper: #faf9f6;
  --cream: #f3f0e8;
  --navy: #304967;
  --stone: #ede9e1;
  --ink: #242931;
  --muted: #505b6a;
  --dark: #252d36;
  --rule: #cec9bf;
  --sans: "Helvetica Neue", Helvetica, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.02; }
h2 { font-size: clamp(2.35rem, 5vw, 4.85rem); letter-spacing: -.065em; }
h3 { font-size: clamp(1.28rem, 2.2vw, 1.85rem); letter-spacing: -.04em; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100% - 72px, 1200px); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 16px; z-index: 4; background: white; padding: 12px; transform: translateY(-150%); }
.skip:focus { transform: none; }
header { background: var(--cream); }
.mast { min-height: 94px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: clamp(136px, 15vw, 176px); height: auto; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 9px clamp(15px, 3vw, 36px); font-size: .87rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.eyebrow, .date { font-size: .72rem; letter-spacing: .17em; text-transform: uppercase; font-weight: 650; }
nav a[aria-current] { text-decoration: underline; text-underline-offset: .65em; }
nav a:last-child { border: 1px solid var(--rule); border-radius: 99px; padding: 8px 15px; }
nav a:last-child:hover { background: var(--stone); text-decoration: none; }
.hero { position: relative; display: grid; align-items: center; isolation: isolate; min-height: clamp(470px, 48vw, 665px); color: white; background: var(--dark); }
.hero figure { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(22 32 44 / .94), rgb(22 32 44 / .80) 24%, rgb(22 32 44 / .32) 50%, transparent 71%); }
.hero .intro { padding-block: 48px; }
.hero .eyebrow { color: #f0e9dd; }
.hero h1 { font-size: clamp(3.45rem, 6.45vw, 6.4rem); line-height: .94; letter-spacing: -.072em; }
.hero h1 span { display: block; }
.intro p:not(.eyebrow) { max-width: 34ch; margin: 22px 0 24px; color: #f5f3ef; }
.button { display: inline-flex; width: fit-content; align-items: center; gap: .8em; border: 1px solid currentColor; border-radius: 99px; padding: .6rem .95rem; color: var(--navy); font-size: .88rem; font-weight: 600; text-decoration: none; }
.button:hover { background: #e7e6e0; }
.intro .button { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.intro .button:hover { background: white; }
.dojo-quote { max-width: 36ch; margin: 0 auto; padding: clamp(52px, 7vw, 92px) 20px; text-align: center; font: clamp(1.6rem, 3vw, 2.65rem)/1.2 Baskerville, Georgia, serif; }
.dojo-quote cite { display: block; margin-top: 16px; color: var(--muted); font: normal 600 .71rem/1.4 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.schedule { border-block: 1px solid var(--rule); background: var(--cream); }
.schedule .wrap { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 16px; padding-block: 22px; }
.schedule strong { display: block; font-size: .94rem; }
.schedule div > span { color: var(--muted); font-size: .91rem; }
section { scroll-margin-top: 24px; }
.section { padding-block: clamp(63px, 9vw, 125px); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(30px, 8vw, 150px); }
.eyebrow { margin-bottom: 15px; }
.copy { max-width: 54ch; }
.copy h3 { margin-bottom: .6em; }
.copy p + p { margin-top: 1rem; }
.copy .button { margin-top: 1.15rem; }
#training { border-top: 1px solid var(--rule); }
.story { background: var(--dark); color: var(--paper); }
.story .eyebrow { color: #d6c7b5; }
.story h2 span { display: block; color: #cfc6b7; }
.archive { background: var(--stone); }
.archive-heading { width: min(100%, 1000px); margin: 0 auto clamp(36px, 5vw, 65px); text-align: left; }
.archive-heading p:last-child { margin: 17px 0 0; max-width: 39ch; color: var(--muted); }
.timeline { position: relative; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; inset: 1em auto 0 50%; border-left: 1px solid #a09889; }
.timeline li { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.timeline li::before { content: ""; position: absolute; top: 1em; left: 50%; width: 8px; height: 8px; transform: translateX(-50%); border: 1px solid #66594c; border-radius: 50%; background: var(--stone); }
.milestone { max-width: 38ch; margin: 0 36px 30px 0; justify-self: end; text-align: right; }
.timeline li:nth-child(even) .milestone { grid-column: 2; justify-self: start; margin: 0 0 30px 36px; text-align: left; }
.milestone h3 { margin: .28em 0 .35em; }
.date { color: var(--muted); }
footer { background: var(--dark); color: white; padding: 54px 0; }
footer .eyebrow, footer address { color: #e8dfd4; }
footer address { font-style: normal; margin-top: 1rem; }
footer .links, .affiliations { display: flex; flex-wrap: wrap; gap: .45rem 1.4rem; }
footer .links { margin-top: 1rem; }
.affiliations { border-top: 1px solid #847d72; margin-top: 2rem; padding-top: 1rem; font-size: .88rem; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .mast { min-height: auto; flex-direction: column; align-items: flex-start; padding-block: 16px; }
  .hero { min-height: 0; }
  .hero::before { display: none; }
  .hero figure { position: relative; z-index: 0; grid-row: 1; aspect-ratio: 1.75; }
  .hero h1 { font-size: clamp(3.1rem, 11.6vw, 5.3rem); }
  .hero .intro { padding-block: 29px 35px; }
  .intro p:not(.eyebrow) { margin-block: 16px; }
  .split { grid-template-columns: 1fr; }
  .schedule .wrap { grid-template-columns: 1fr 1fr; }
  .schedule .button { grid-column: 1 / -1; justify-self: start; }
  .timeline::before, .timeline li::before { left: 4px; }
  .timeline li { display: block; padding-left: 25px; }
  .timeline li .milestone, .timeline li:nth-child(even) .milestone { text-align: left; margin: 0 0 30px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  nav { column-gap: 12px; }
  nav a:last-child { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.page-title { padding-block: clamp(45px, 7vw, 90px); }
.page-title h1 { font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.065em; }
.page-title > p:last-child { max-width: 57ch; margin-top: 19px; color: var(--muted); }
.page-body { padding-bottom: clamp(55px, 8vw, 95px); }
.page-body h2 { font-size: clamp(1.85rem, 4vw, 3.2rem); }
.page-body h2 + p { margin-top: 15px; }
.training-copy { display: grid; align-content: start; gap: 18px; }
.training-copy address { font-style: normal; }
.training-copy .button { margin-top: 2px; }
.frame { display: block; background: #f7f5ef; border: 1px solid #d7d1c5; overflow: hidden; }
.frame img { display: block; width: 100%; height: 100%; }
.frame.photo { aspect-ratio: 3 / 2; }
.frame.photo img { object-fit: cover; filter: saturate(.84); }
.frame.poster { aspect-ratio: 4 / 5; padding: 9%; }
.frame.poster img { object-fit: contain; }
.media { max-width: 410px; }
.media figcaption { color: var(--muted); font-size: .82rem; margin-top: 9px; }
.timeline .milestone { margin-bottom: 56px; }
.timeline .media { grid-column: 2; grid-row: 1; margin: 0 0 48px 36px; justify-self: start; width: min(calc(100% - 36px), 320px); }
.timeline li:nth-child(even) .media { grid-column: 1; justify-self: end; margin: 0 36px 48px 0; }
.timeline .milestone a { display: inline-block; margin-top: .8em; color: var(--navy); }
.archive-actions { margin: 26px 0 0; }
.history-intro { align-items: center; }
.history-intro .media { margin-top: 24px; }
.home-milestones { padding-inline-start: 1.2rem; }
.home-milestones li + li { margin-top: .35rem; }
.event-year { margin: 0 auto 24px; max-width: 1000px; font-size: clamp(1.9rem, 4vw, 3rem); }
.event-timeline + .event-year { margin-top: 44px; }
.event-timeline .milestone { margin-bottom: 30px; }
.event-timeline .media, .event-timeline li:nth-child(even) .media { margin-bottom: 36px; width: min(calc(100% - 36px), 230px); }
.event-timeline h3 { line-height: 1.15; }
.event-timeline .milestone p + p { margin-top: 7px; }
.event-status { display: inline-block; margin-top: 7px; font-size: .82rem; font-weight: 650; color: var(--navy); }
.event-page .media { width: 100%; }
footer .button { color: white; }
@media(max-width: 700px) {
  .timeline .media, .timeline li:nth-child(even) .media { width: min(100%, 320px); margin: 0 0 30px; }
  .timeline li:has(.media) .milestone, .timeline li:nth-child(even):has(.media) .milestone { margin-bottom: 16px; }
  .event-timeline .media, .event-timeline li:nth-child(even) .media { width: min(100%, 230px); }
}
