/* Self-hosted Nunito and Nunito Sans (latin subset), SIL Open Font License. See assets/fonts/LICENSE-*.txt */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  margin: 0;
  color: #173b40;
  background: #fff;
}

main {
  flex: 1;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #528b22;
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-180%);
  border-radius: 3px;
  background: #fff;
  color: #06414e;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header: RTCI home header (dark teal bar with gold rule). */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  border-top: 8px solid #e6a001;
  background: #06414e;
  color: #fff;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-family: "Nunito", var(--dv-font-sans-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.site-header__logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  background: #fff;
}

.site-header__logo > g {
  transform: scale(0.85);
  transform-origin: 30px 30px;
  transform-box: view-box;
}

.site-header nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Retire notice: sits directly under the header; content below it is the hero. */
.retire-notice {
  border-top: 4px solid #ffb51b;
  border-bottom: 1px solid #dce4e4;
  background: #fff;
}

.retire-notice__inner {
  padding: 36px max(24px, calc((100vw - 1320px) / 2));
}

.retire-notice .retire-notice__title {
  margin: 0 0 12px;
  color: #06414e;
  font-family: "Nunito", var(--dv-font-sans-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.retire-notice p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.6;
}

.retire-notice a {
  color: #28689d;
  font-weight: 700;
  text-underline-offset: 3px;
}

/* Hero: RTCI landing hero (washed photo, centered title and lede). */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(500px, calc(100svh - 300px), 640px);
  overflow: hidden;
  background: #eaf1f2;
  text-align: center;
}

.hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: grayscale(0.25) saturate(0.4) brightness(1.08);
}

.hero__wash {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(247 249 248 / 88%);
}

.hero__content {
  width: min(100%, 1000px);
  padding: 72px 24px 94px;
}

.hero h1 {
  margin: 0 auto 18px;
  color: #06414e;
  font-family: "Nunito", var(--dv-font-sans-serif);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.12;
}

.hero p {
  max-width: 660px;
  margin: 0 auto;
  color: #173b40;
  font-size: 18px;
  line-height: 1.55;
}

/* Footer: values mirror the TransitRouteID footer (app/globals.css). */
.standard-footer {
  background-color: var(--dv-midnight-blue);
  color: var(--dv-white);
  font-size: 14px;
  line-height: 1.428571;
}

.standard-footer__container {
  margin: 0 auto;
  padding: 35px 24px;
}

.standard-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.standard-footer__col {
  width: 100%;
  margin-bottom: 50px;
  font-size: 16px;
  line-height: 1.375;
}

.standard-footer a {
  color: inherit;
}

.standard-footer a:hover {
  text-decoration: underline;
}

.standard-footer p {
  margin: 0 0 8px;
  font-size: inherit;
  line-height: inherit;
}

.standard-footer .standard-footer__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.375;
  font-weight: 700;
}

.standard-footer__logo {
  display: block;
  width: auto;
  height: 45px;
  margin-bottom: 20px;
}

.standard-footer .standard-footer__link {
  display: inline-block;
  font-size: 18px;
  line-height: 1.222222;
  color: var(--dv-gold);
}

.standard-footer__socials {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 10px;
}

.standard-footer__social {
  display: inline-block;
  color: var(--dv-white);
  transition: transform 0.15s ease-in-out;
}

.standard-footer__social svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.standard-footer__contact {
  font-size: 14px;
  line-height: 1.5;
}

.standard-footer__contact p {
  margin-bottom: 12px;
}

.standard-footer__contact a[href^="tel:"] {
  white-space: nowrap;
}

.standard-footer__contact-title {
  margin: 0 0 5px;
  font-family: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 21px;
  line-height: 1.285714;
  font-weight: 400;
  color: var(--dv-gold);
}

.standard-footer__legal {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .standard-footer__container {
    padding: 30px 24px;
  }
}

@media (min-width: 992px) {
  .standard-footer__container {
    padding: 57px 26px;
  }

  .standard-footer__col {
    width: 33.333333%;
    padding-right: 24px;
    margin-bottom: 40px;
    font-size: 17px;
    line-height: 1.588235;
  }

  .standard-footer__col:last-child {
    padding-right: 0;
  }

  .standard-footer .standard-footer__title {
    font-size: 18px;
    line-height: 1.5;
  }

  .standard-footer .standard-footer__link {
    font-size: 21px;
    line-height: 1.285714;
  }

  .standard-footer__contact {
    width: 25%;
    margin-left: 8.333333%;
    margin-bottom: 40px;
    padding-right: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .standard-footer__legal {
    margin-top: 40px;
  }

  .standard-footer__social:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 767.98px) {
  .standard-footer .standard-footer__link {
    font-size: 18px;
    line-height: 1.222222;
  }
}

@media (max-width: 900px) {
  .site-header nav a {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 68px;
    padding: 12px 20px;
  }

  .site-header__brand {
    font-size: 19px;
  }

  .site-header__logo {
    width: 36px;
    height: 36px;
  }

  .retire-notice__inner {
    padding: 28px 20px;
  }

  .retire-notice .retire-notice__title {
    font-size: 24px;
  }

  .hero {
    min-height: 520px;
  }

  .hero__content {
    padding: 50px 20px 82px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 15px;
  }
}
