:root {
  color-scheme: light;
  --navy: #103247;
  --ink: #111d2c;
  --ivory: #fbf9f4;
  --gold: #d5b68d;
  --identity-column: 22%;
  --serif: Georgia, "Times New Roman", serif;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--ivory);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
main a:focus-visible { outline-color: #826333; }

.skip-link { position: absolute; z-index: 30; top: 10px; left: 10px; padding: 14px 20px; background: var(--ivory); color: var(--navy); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; background: var(--navy); color: var(--ivory); }
.header-inner { display: grid; grid-template-columns: var(--identity-column) minmax(0, 1fr); align-items: center; min-height: 84px; }
.wordmark { justify-self: center; font-size: clamp(25px, 2.35vw, 35px); letter-spacing: -.055em; white-space: nowrap; line-height: 1.2; }
.desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 1.8vw, 29px); padding: 16px 148px 16px 24px; font-size: clamp(16px, 1.4vw, 21px); }
.desktop-nav a { white-space: nowrap; }
.desktop-nav a:hover, .mobile-menu nav a:hover { color: var(--gold); }
.odl-link { display: flex; align-items: center; gap: 10px; }
.odl-icon { display: block; position: relative; flex-shrink: 0; width: 42px; aspect-ratio: 1; overflow: hidden; border-radius: 23%; }
/* Show the actual icon from the supplied phone capture, without redrawing it.
   These coordinates crop only at render time; the source JPEG is unmodified. */
.odl-icon img { position: absolute; width: 170%; height: auto; max-width: none; left: -27%; top: -20%; }
.language-link { padding-left: 24px; border-left: 1px solid var(--gold); color: var(--gold); }
.coming-soon { position: absolute; z-index: 10; top: 0; right: 0; width: 154px; height: 154px; overflow: hidden; pointer-events: none; }
.coming-soon span { position: absolute; top: 38px; right: -52px; width: 220px; padding: 9px 0; transform: rotate(45deg); background: var(--gold); color: var(--navy); border-block: 1px solid #967950; box-shadow: 0 0 0 3px var(--gold), 0 5px 12px #0003; text-align: center; font-size: 16px; font-style: italic; letter-spacing: .035em; }
.mobile-menu { display: none; }

.introduction { display: grid; grid-template-columns: var(--identity-column) 46% minmax(0, 1fr); align-items: stretch; padding-block: 34px; }
.introduction > * { min-inline-size: 0; }
.identity { display: flex; align-items: center; justify-content: center; }
.project-rose { width: clamp(150px, 15.2vw, 236px); height: auto; }
.headline { display: flex; align-items: center; padding: 0 32px; border-left: 1px solid var(--gold); container-type: inline-size; }
/* Fit the actual column, including when another system serif is used.
   Normal wrapping remains available for wider fonts and larger text. */
h1 { margin: 0; inline-size: 100%; min-inline-size: 0; font-size: min(5vw, 114px); font-size: clamp(40px, 13cqi, 114px); line-height: 1.02; letter-spacing: -.055em; font-weight: 700; }
h1 span { display: block; }
.introduction-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: 4px 42px; border-left: 1px solid var(--gold); }
.introduction-copy p { margin: 0; font-size: clamp(21px, 1.9vw, 30px); line-height: 1.16; letter-spacing: -.025em; }
.library-button { display: flex; justify-content: space-between; align-items: center; gap: 18px; width: 100%; padding: 15px 20px; border: 1px solid var(--navy); background: var(--navy); color: var(--ivory); font-size: clamp(18px, 1.65vw, 26px); }
.library-button span { flex-shrink: 0; color: var(--gold); font-size: 30px; line-height: .7; }
.library-button:hover { background: #1b435a; }
.project-link { font-size: clamp(20px, 1.7vw, 26px); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 7px; }
.project-link:hover { text-decoration-color: var(--navy); }

.predella { margin: 0; }
.predella > img { width: 100%; height: auto; }
.predella figcaption { padding: 8px 4.5%; font-size: 16px; line-height: 1.35; }

.pathways { display: grid; grid-template-columns: 1.08fr 1fr 1fr; padding: 26px 4.5%; background: var(--navy); color: var(--ivory); }
.pathway { display: flex; align-items: flex-start; gap: 28px; padding: 0 34px; }
.pathway:first-child { padding-left: 0; }
.pathway:last-child { padding-right: 0; }
.pathway + .pathway { border-left: 1px solid var(--gold); }
.pathway-icon { width: clamp(78px, 8.3vw, 122px); height: auto; flex-shrink: 0; color: var(--gold); }
.pathway h2 { margin: -3px 0 10px; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.1; letter-spacing: -.03em; }
.pathway p { margin: 0; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.25; }
.pathway p.odl-name { font-size: clamp(19px, 1.7vw, 27px); margin-bottom: 10px; }
.pathway-arrow { display: inline-block; margin-top: 13px; color: var(--gold); font-size: 35px; line-height: .7; }
.pathway:hover h2 { color: var(--gold); }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 20px 4.5%; background: var(--navy); border-top: 1px solid #d5b68d40; color: #e3d9cb; font-size: 14px; line-height: 1.5; }
.site-footer p { margin: 0; }
.site-footer a { white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 1800px) {
  .introduction { padding-block: 44px; }
  .headline { padding-inline: 40px; }
  .introduction-copy { padding-inline: 48px; }
  .pathways { padding-block: 36px; }
}

@media (max-width: 1150px) {
  .desktop-nav { display: none; }
  .header-inner { display: flex; justify-content: center; min-height: 120px; padding: 65px 20px 22px; }
  .wordmark { font-size: 31px; }
  .mobile-menu { display: block; position: absolute; z-index: 20; left: 24px; top: 18px; }
  .mobile-menu summary { display: flex; align-items: center; gap: 9px; min-height: 44px; width: fit-content; cursor: pointer; list-style: none; font-size: 18px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; top: 52px; left: -8px; width: min(310px, calc(100vw - 40px)); padding: 12px 20px; background: var(--navy); border: 1px solid var(--gold); box-shadow: 0 10px 28px #0004; }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 48px; font-size: 20px; }
  .mobile-menu .odl-icon { width: 32px; }
  .coming-soon { width: 138px; height: 138px; }
  .coming-soon span { top: 30px; right: -62px; font-size: 15px; }
  .introduction { grid-template-columns: 1fr; padding: 30px 24px 34px; gap: 26px; text-align: center; }
  .project-rose { width: 164px; }
  .headline { padding: 0; border: 0; justify-content: center; }
  h1 { font-size: clamp(54px, 8.5vw, 82px); }
  .introduction-copy { padding: 0; border: 0; align-items: center; gap: 18px; }
  .introduction-copy p { max-width: 460px; font-size: 24px; line-height: 1.25; }
  .library-button { width: auto; font-size: 22px; min-width: 300px; }
  .project-link { font-size: 22px; }
  .pathways { padding-inline: 24px; }
  .pathway { flex-direction: column; gap: 18px; padding-inline: 24px; }
  .pathway-icon { width: 82px; }
  .pathway h2 { font-size: 30px; }
  .pathway p { font-size: 18px; }
}

@media (max-width: 620px) {
  .header-inner { padding-inline: 12px; }
  .wordmark { font-size: 30px; }
  .mobile-menu { left: 20px; }
  .introduction { padding: 24px 20px 30px; gap: 23px; }
  .project-rose { width: 140px; }
  h1 { font-size: clamp(42px, 10.8vw, 66px); }
  .introduction-copy p { font-size: 22px; max-width: 350px; }
  .library-button { min-width: 0; max-width: 100%; font-size: 21px; padding: 15px 18px; }
  .project-link { font-size: 21px; }
  .predella figcaption { padding: 9px 20px; font-size: 14px; }
  .pathways { grid-template-columns: 1fr; padding: 8px 24px; }
  .pathway, .pathway:first-child, .pathway:last-child { flex-direction: row; gap: 23px; padding: 25px 0; }
  .pathway + .pathway { border-left: 0; border-top: 1px solid #d5b68d80; }
  .pathway-icon { width: 80px; }
  .pathway h2 { font-size: 31px; margin-top: 0; }
  .pathway p { font-size: 18px; }
  .pathway p.odl-name { font-size: 21px; }
  .site-footer { flex-direction: column; gap: 12px; padding: 20px 24px; }
}

@media (max-width: 350px) {
  .wordmark { font-size: 27px; }
  .introduction { padding-inline: 14px; }
  h1 { font-size: 39px; }
  .pathways { padding-inline: 20px; }
  .pathway { gap: 18px; }
  .pathway-icon { width: 65px; }
}
