/* OAH design system. Load after application styles and accessibility.css.
   Components own their layout; applications supply content through adapters. */
:root {
  --oah-gutter: clamp(12px, 3vw, 32px);
  --oah-section-space: clamp(2.5rem, 6vw, 5rem);
  --oah-copy-width: 42rem;
  --oah-control-radius: 0.75rem;
}
/* Page guides share Web's reading width, rhythm, and disclosure treatment.
   Applications own the authored copy, chapters, and reader context. */
.oah-page-guide { padding-block: clamp(3.5rem, 7vw, 5rem); background: var(--pale-blue); overflow-wrap: anywhere; }
.oah-page-guide__inner { max-width: 44rem; }
.oah-page-guide p { color: var(--muted); }
.oah-page-guide__transcript { border: 1px solid var(--line); border-radius: 0.9rem; background: var(--white); scroll-margin-top: 7rem; }
.oah-page-guide__transcript summary { position: relative; min-height: 4.5rem; padding: 1.2rem 3.75rem 1.2rem 1.25rem; color: var(--deep-blue); cursor: pointer; font-weight: 750; list-style: none; }
.oah-page-guide__transcript summary::-webkit-details-marker { display: none; }
.oah-page-guide__transcript summary::after { position: absolute; top: 50%; right: 1.25rem; width: 1.8rem; height: 1.8rem; transform: translateY(-50%); border-radius: 50%; background: var(--pale-blue); color: var(--navy); content: "+"; font-size: 1.3rem; line-height: 1.7rem; text-align: center; }
.oah-page-guide__transcript[open] summary::after { content: "−"; }
.oah-page-guide__transcript[open] summary { border-bottom: 1px solid var(--line); }
.oah-page-guide__chapters { padding: 1.2rem 1.25rem; color: var(--muted); }
.oah-page-guide__chapters p:last-child { margin-bottom: 0; }
/* A guide can live inside or after main. Override the generic main palette
   for both its disclosure and chapters so the two applications stay aligned. */
html:is([data-a11y-theme="dark"], [data-a11y-contrast="on"]) #page-narration { background: var(--a11y-surface) !important; color: var(--a11y-ink) !important; }
html:is([data-a11y-theme="dark"], [data-a11y-contrast="on"]) #page-narration :where(*) { color: inherit !important; border-color: var(--a11y-line) !important; box-shadow: none !important; text-shadow: none !important; }
html:is([data-a11y-theme="dark"], [data-a11y-contrast="on"]) #page-narration :is(.oah-page-guide__transcript, .oah-page-guide__chapters section) { background: var(--a11y-paper) !important; }
html:is([data-a11y-theme="dark"], [data-a11y-contrast="on"]) #page-narration summary::after { background: var(--a11y-surface); color: var(--a11y-link); }
html:is([data-a11y-theme="dark"], [data-a11y-contrast="on"]) #page-narration a { color: var(--a11y-link) !important; }
html:is([data-a11y-theme="dark"], [data-a11y-contrast="on"]) #page-narration :focus-visible { outline: 3px solid var(--a11y-link); outline-offset: 3px; }
@media (forced-colors: active) {
  .oah-page-guide__transcript { border: 2px solid LinkText; }
}
/* Header geometry comes from brand.css and accessibility.css in every consumer. */
.oah-footer .container, .oah-banner .container, .oah-notice .container { width: min(calc(100% - var(--oah-gutter) * 2), var(--container)); }
.oah-footer .wordmark { min-width: 0; max-width: 100%; gap: 0.7rem; font-size: clamp(1.125rem, 2vw, 1.625rem); letter-spacing: -0.025em; }
.oah-footer .site-logo { width: 3rem; height: 3rem; }
.oah-footer .wordmark__copy { display: flex; flex-direction: column; min-width: 0; gap: 0.3rem; }
.oah-footer .wordmark__name { display: flex; flex-wrap: wrap; column-gap: 0.22em; row-gap: 0.1em; line-height: 1.15; }
.oah-footer .wordmark__name > span { white-space: nowrap; }
.oah-footer .wordmark__tagline { margin: 0; font-size: 0.625rem; line-height: 1.5; letter-spacing: 0.14em; white-space: normal; overflow-wrap: normal; }
.oah-footer .wordmark--footer .wordmark { --wordmark-ohio: #fff; --wordmark-at: #efa5c9; --wordmark-home: #73d4ff; }
.oah-footer .wordmark__tagline { color: var(--white); }
/* Text enlargement does not change viewport breakpoints. Let footer columns
   wrap according to the space the enlarged text actually needs in both sites. */
html:is([data-a11y-text]:not([data-a11y-text="default"]), [data-a11y-spacing="roomy"]) .oah-footer .footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.oah-notice { padding-block: 0.875rem; border-bottom: 1px solid var(--line); background: var(--pale-blue); color: var(--deep-blue); font-size: 0.875rem; line-height: 1.6; overflow-wrap: anywhere; }
.oah-notice strong { margin-right: 0.3em; }
.oah-banner { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 30rem; overflow: hidden; background: var(--deep-blue-dark); color: var(--white); }
.oah-banner--compact { min-height: 24rem; }
.oah-banner--tall { --oah-gutter: 2rem; --oah-banner-space: clamp(1rem, 4vh, 3rem); min-height: var(--oah-hero-tall-height); grid-template-rows: auto 1fr; align-items: start; text-align: left; }
.oah-banner__media { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.oah-banner--image::after { position: absolute; inset: 0; z-index: 1; content: ""; pointer-events: none; background: linear-gradient(90deg, rgba(10,25,41,.92), rgba(10,25,41,.8) 52%, rgba(10,25,41,.38) 78%, rgba(10,25,41,.24)); }
.oah-banner .hero__video { opacity: 0; }
.oah-banner .hero__video.is-playing { opacity: 1; }
.oah-banner__inner { position: relative; z-index: 2; padding-block: var(--oah-section-space); }
.oah-banner__copy { max-width: var(--oah-copy-width); min-width: 0; }
.oah-banner h1 { max-width: 18ch; margin-bottom: 1.25rem; color: inherit; }
.oah-banner .eyebrow { color: var(--accent-light); }
.oah-banner__lede { max-width: 58ch; margin-bottom: 0; color: #edf4fb; font-size: clamp(1.12rem, 2.2vw, 1.35rem); line-height: 1.55; }
html[data-a11y-spacing="roomy"] .oah-banner__lede { line-height: 1.65; }
.oah-banner__note { margin-top: 1.35rem; margin-bottom: 0; }
.oah-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2rem; }
.oah-banner .hero__motion-control { position: absolute; z-index: 3; right: var(--oah-gutter); bottom: 1rem; max-width: calc(100% - var(--oah-gutter) * 2); min-height: 2.75rem; padding: 0.6rem 0.85rem; border: 1px solid var(--white); border-radius: var(--oah-control-radius); background: var(--deep-blue-dark); color: var(--white); font: inherit; font-size: 0.875rem; cursor: pointer; }
.oah-banner .hero__motion-control[hidden] { display: none; }
.oah-banner .hero__motion-control:disabled { cursor: default; }
/* Initial labels use the head-applied preference before the controller runs. */
.hero__motion-play { display: none; }
html[data-a11y-animation="pause"] .hero__motion-pause { display: none; }
html[data-a11y-animation="pause"] .hero__motion-play { display: inline; }
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  html:not([data-a11y-animation="play"]) .hero__motion-pause { display: none; }
  html:not([data-a11y-animation="play"]) .hero__motion-play { display: inline; }
}
.oah-banner--tall .oah-banner__inner { grid-row: 2; padding-block: var(--oah-banner-space); }
/* The inert sizing label reserves the longest control state before media is
   ready. Revealing Play/Pause/Retry must never insert a row above the copy. */
.oah-banner__motion { position: relative; z-index: 3; display: grid; grid-row: 1; justify-self: end; min-width: 0; max-width: calc(100% - var(--oah-gutter) * 2); margin: 1rem var(--oah-gutter) 0; }
.oah-banner--tall .hero__motion-control { position: relative; inset: auto; grid-area: 1 / 1; max-width: 100%; margin: 0; }
.oah-banner__motion-space { grid-area: 1 / 1; visibility: hidden; min-height: 2.75rem; padding: 0.6rem 0.85rem; border: 1px solid transparent; font: inherit; font-size: 0.875rem; line-height: 1.25; overflow-wrap: anywhere; }
.oah-banner__motion .hero__motion-control { line-height: 1.25; overflow-wrap: anywhere; }
html:is([data-a11y-theme="dark"], [data-a11y-contrast="on"], [data-a11y-motion="reduce"]) .oah-banner__motion { display: none; }
@media screen {
  .oah-banner:not(.oah-banner--tall):has(.hero__motion-control:not([hidden])) .oah-banner__inner { padding-bottom: calc(var(--oah-banner-space, var(--oah-section-space)) + 3rem); }
}
@media (max-width: 70rem) {
  .oah-banner--image::after { background: linear-gradient(90deg, rgba(10,25,41,.88), rgba(10,25,41,.68)); }
}
@media (max-width: 47.5rem) {
  .oah-banner, .oah-banner--compact { min-height: 0; }
  .oah-banner--tall { --oah-gutter: 1rem; --oah-banner-space: 1rem; min-height: var(--oah-hero-tall-mobile-height); }
  .oah-banner__inner { padding-block: 3rem; }
  .oah-banner--image::after { background: linear-gradient(180deg, rgba(10,25,41,.78), rgba(10,25,41,.86)); }
}
html:is([data-a11y-text]:not([data-a11y-text="default"]), [data-a11y-spacing="roomy"]) .oah-banner__copy { max-width: 100%; }
/* Enlarged copy can reach the bright side of a poster or animation. */
html:is([data-a11y-text]:not([data-a11y-text="default"]), [data-a11y-spacing="roomy"]) .oah-banner--image::after { background: linear-gradient(90deg, rgba(10,25,41,.92), rgba(10,25,41,.8) 52%, rgba(10,25,41,.75)); }
html:is([data-a11y-theme="dark"], [data-a11y-contrast="on"]) .oah-notice { background: var(--a11y-surface); color: var(--a11y-ink); border-color: var(--a11y-line); }
html:is([data-a11y-theme="dark"], [data-a11y-contrast="on"]) .oah-banner::after { display: none; }
@media screen and (forced-colors: none) {
  html[data-a11y-theme="dark"][data-a11y-contrast="off"] .oah-banner .eyebrow { color: var(--accent-light) !important; }
}
/* Keep ordinary dark mode branded; high contrast and system colors take priority. */
html[data-a11y-theme="dark"][data-a11y-contrast="off"] :is(.oah-shell, .oah-footer) .wordmark__ohio { color: #fff !important; }
html[data-a11y-theme="dark"][data-a11y-contrast="off"] :is(.oah-shell, .oah-footer) .wordmark__at { color: #efa5c9 !important; }
html[data-a11y-theme="dark"][data-a11y-contrast="off"] :is(.oah-shell, .oah-footer) .wordmark__home { color: #73d4ff !important; }
@media (forced-colors: active) {
  html[data-a11y-theme="dark"][data-a11y-contrast="off"] :is(.oah-shell, .oah-footer) .wordmark__name > span { color: LinkText !important; }
  .oah-banner::after, .oah-banner__media { display: none; }
  .oah-banner, .oah-notice { background: Canvas; color: CanvasText; }
  .oah-banner--tall { min-height: 0; }
}
@media print {
  .oah-notice, .oah-banner__media, .oah-banner::after, .oah-banner__motion, .oah-banner .hero__motion-control, .oah-banner .oah-actions { display: none; }
  .oah-banner { min-height: 0; background: white !important; color: black !important; }
  .oah-banner :is(h1, .eyebrow, .oah-banner__lede) { color: black !important; }
  .oah-banner .oah-banner__inner { padding-block: 1rem; }
}
