/* Ohio At Home shared brand source. Maintain here; downstream copies are generated. */

:root {
  color-scheme: light;
  --deep-blue: #0e2740;
  --deep-blue-dark: #0a1929;
  --deep-blue-light: #183d63;
  --navy: #1c548e;
  --accent: #3498c6;
  --accent-dark: #2980b9;
  --accent-light: #6ec1e4;
  --wordmark-ohio: #0e2740;
  --wordmark-at: #b03b73;
  --wordmark-home: #176c98;
  --pale-blue: #f1f7fd;
  --header: #f8f9fb;
  --white: #ffffff;
  --slate: #4a5568;
  --ink: #172b3d;
  --muted: #5d6d7e;
  --line: #d8e4ef;
  --shadow: 0 18px 46px rgba(14, 39, 64, 0.1);
  --radius: 20px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 7rem; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
main { display: block; }
main:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: -3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--deep-blue); line-height: 1.12; overflow-wrap: anywhere; }
h1 { margin-bottom: 1.25rem; font-size: clamp(2.625rem, 6vw, 3.5rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 2.55rem); font-weight: 740; letter-spacing: -0.025em; }
h3 { margin-bottom: 0.7rem; font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a { color: var(--navy); text-decoration-thickness: 0.09em; text-underline-offset: 0.2em; }
a:hover { color: var(--deep-blue); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--navy);
  border-radius: 0.25rem;
}
ul, ol { margin-top: 0; }
.container { width: min(calc(100% - 4rem), var(--container)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  transform: translateY(-160%);
  border-radius: 0.6rem;
  background: var(--white);
  color: var(--deep-blue);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(28, 84, 142, 0.12);
  background: var(--white);
}
.site-header__inner {
  position: relative;
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.wordmark {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  gap: 0.65rem;
}
.wordmark__copy { display: grid; }
.wordmark__name { color: var(--wordmark-home); }
.wordmark__ohio { color: var(--wordmark-ohio); }
.wordmark__at { color: var(--wordmark-at); }
.wordmark__home { color: var(--wordmark-home); }
.wordmark__tagline {
  margin-top: 0.28rem;
  color: var(--slate);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.site-logo { display: block; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; object-fit: contain; }
.wordmark--footer .site-logo { width: 3.5rem; height: 3.5rem; padding: 0.25rem; border-radius: 0.65rem; background: var(--white); }
.nav-list { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.nav-list a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  border-bottom: 3px solid transparent;
  color: var(--slate);
  font-weight: 650;
  text-decoration: none;
}
.nav-list a:hover { color: var(--navy); }
.nav-list a[aria-current="page"] { border-color: var(--accent); color: var(--deep-blue); }
.mobile-nav { display: none; }
.mobile-nav summary {
  display: flex;
  min-width: 5.25rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  color: var(--deep-blue);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.menu-lines, .menu-lines::before, .menu-lines::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { position: absolute; left: 0; content: ""; }
.menu-lines::before { top: -0.35rem; }
.menu-lines::after { top: 0.35rem; }
.mobile-nav__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(19rem, calc(100vw - 2rem));
  max-height: calc(100vh - 6.5rem);
  max-height: calc(100svh - 6.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--white);
  box-shadow: var(--shadow);
}
.mobile-nav__panel .nav-list { display: grid; gap: 0.15rem; }
.mobile-nav__panel .nav-list a { display: flex; padding-inline: 0.75rem; scroll-margin-block: 0.5rem; }

.eyebrow, .section-kicker {
  margin-bottom: 0.8rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cta-link {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 0.8rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.cta-link--primary { background: linear-gradient(135deg, var(--navy), #236f9c); color: var(--white); box-shadow: 0 10px 25px rgba(10, 25, 41, 0.22); }
.cta-link--primary:hover { background: var(--deep-blue); color: var(--white); }
.cta-link--secondary { border-color: rgba(255, 255, 255, 0.68); background: rgba(255, 255, 255, 0.07); color: var(--white); }
.cta-link--secondary:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.14); color: var(--white); }

.text-link { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 750; }

.site-footer { padding-top: 4rem; background: linear-gradient(145deg, var(--deep-blue-dark), var(--deep-blue)); color: rgba(255, 255, 255, 0.78); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(10rem, 0.65fr) minmax(13rem, 0.75fr); gap: clamp(2rem, 6vw, 5rem); padding-bottom: 3.5rem; }
.wordmark--footer { --wordmark-ohio: #ffffff; --wordmark-at: #efa5c9; --wordmark-home: #73d4ff; }
.wordmark--footer .wordmark__tagline { color: var(--white); }
.footer-intro p { max-width: 28rem; margin-top: 1rem; }
.footer-nav h2, .footer-connect h2 { margin-bottom: 1rem; color: var(--white); font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-nav ul, .footer-connect ul, .footer-bottom ul { margin: 0; padding: 0; list-style: none; }
.footer-nav li + li, .footer-connect li + li { margin-top: 0.55rem; }
.site-footer a { color: rgba(255, 255, 255, 0.88); }
.site-footer a:hover { color: var(--white); }
.site-footer a[aria-current="page"] { color: var(--white); font-weight: 800; text-decoration-thickness: 0.14em; }
.footer-connect p { max-width: 18rem; }
.footer-connect { min-width: 0; }
.footer-connect a { overflow-wrap: anywhere; }
.footer-bottom { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.footer-bottom p { margin: 0; font-weight: 750; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }

@media (max-width: 47.5rem) {
  html { scroll-padding-top: 5.5rem; }
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .site-header__inner { display: flex; flex-wrap: wrap; min-height: 5rem; gap: 0.75rem; padding-block: 0.875rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; margin-left: auto; }
  .mobile-nav[open] { flex-basis: 100%; }
  .mobile-nav[open] summary { margin-left: auto; }
  .mobile-nav summary { position: static; width: fit-content; }
  .mobile-nav__panel { position: static; width: 100%; margin-top: 1rem; }
  /* Let the expanded menu occupy page space, so tabbing onward cannot hide content behind it. */
  .site-header:has(.mobile-nav[open]) { position: relative; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 2.5rem; }
  .footer-connect p { max-width: none; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 1.25rem; }
}

@supports not selector(:has(*)) {
  @media (max-width: 47.5rem) {
    .site-header { position: static; }
  }
}

@media (max-width: 25rem) {
  h1 { font-size: 2.625rem; }
  .wordmark { font-size: 1.25rem; }
  .wordmark { gap: 0.5rem; }
  .mobile-nav summary { min-width: 4.8rem; }
  .cta-link { width: 100%; padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media (forced-colors: active) {
  .site-header, .site-footer { border: 1px solid CanvasText; background: Canvas; color: CanvasText; }
  .wordmark--footer, .wordmark--footer span, .site-footer a { color: CanvasText; }
  .cta-link, .mobile-nav summary { border: 2px solid LinkText; }
  .cta-link--primary, .cta-link--secondary { background: Canvas; color: LinkText; box-shadow: none; }
  .nav-list a[aria-current="page"], .site-footer a[aria-current="page"], .wordmark[aria-current="page"] { outline: 2px solid LinkText; outline-offset: 2px; }
}

@media print {
  .skip-link, .desktop-nav, .mobile-nav { display: none; }
  .site-header { position: static; }
  .site-footer { background: var(--white); color: var(--ink); }
  .site-footer a, .wordmark--footer, .wordmark--footer span, .footer-nav h2, .footer-connect h2 { color: var(--ink); }
}
