/* OAH design system 1.0.0. 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;
}
/* 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); }
.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; }
}
