/* 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__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,.94), rgba(10,25,41,.82) 52%, rgba(10,25,41,.4)); }
.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: 22ch; margin-bottom: 1rem; color: inherit; }
.oah-banner .eyebrow { color: var(--accent-light); }
.oah-banner__lede { max-width: 58ch; margin-bottom: 0; color: #edf4fb; font-size: 1.125rem; line-height: 1.65; }
.oah-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 1.75rem; }
.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:has(.hero__motion-control:not([hidden])) .oah-banner__inner { padding-bottom: calc(var(--oah-section-space) + 3rem); }
@media (max-width: 47.5rem) {
  .oah-banner, .oah-banner--compact { min-height: 0; }
  .oah-banner__inner { padding-block: 3rem; }
  .oah-banner--image::after { background: rgba(10,25,41,.83); }
}
html:is([data-a11y-text]:not([data-a11y-text="default"]), [data-a11y-spacing="roomy"]) .oah-banner__copy { max-width: 100%; }
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; }
/* 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; }
}
@media print {
  .oah-notice, .oah-banner__media, .oah-banner::after, .oah-banner .hero__motion-control { 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__inner { padding-block: 1rem; }
}
