/* 100in100 tenant stylesheet: a one-page thank-you site.
   Palette from the archived Divi site (2018): orange #f29500 bands, teal
   #0097a7 bands, navy #011627 footer, Open Sans throughout. The teal band is
   deepened to #007c89 so white body text passes WCAG AA (4.9:1); #0097a7 gave
   3.5:1. */

@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/fonts/open-sans-latin-var.woff2") format("woff2"); }

:root {
  --ty-orange: #f29500;
  --ty-teal: #0097a7;
  --ty-teal-deep: #007c89;
  --ty-navy: #011627;
  --ty-ink: #1f2a33;
  --ty-paper: #fbfbfb;
  --ty-sans: "Open Sans", Arial, sans-serif;
}

body { margin: 0; background: #fff; color: var(--ty-ink); font-family: var(--ty-sans); font-size: 1.0625rem; line-height: 1.7; }

.ty-wrap { width: min(1080px, 100% - 3rem); margin-inline: auto; }
.ty-narrow { width: min(760px, 100% - 3rem); }

.ty-band { padding-block: clamp(3.5rem, 8vw, 6rem); text-align: center; }
.ty-band h2 { margin: 0 0 1.25rem; font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 600; line-height: 1.25; }
.ty-band p { margin: 0 0 1.1rem; }
.ty-narrow p { text-align: left; }
.ty-intro { max-width: 46rem; margin-inline: auto !important; }

.ty-band--orange { background: var(--ty-orange); color: #000; }
.ty-band--teal { background: var(--ty-teal-deep); color: #fff; }
.ty-impact, .ty-sponsors { background: #fff; }
.ty-sponsors { background: var(--ty-paper); }

/* Hero: the Free To Shine photo, darkened so the white text reads. */
.ty-hero { position: relative; isolation: isolate; color: #fff; text-align: center; padding-block: clamp(4rem, 12vw, 8rem); overflow: hidden; }
.ty-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ty-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(1 22 39 / 0.55), rgb(1 22 39 / 0.75)); }
.ty-hero__logo { display: block; width: 150px; height: 150px; margin: 0 auto 1.75rem; }
.ty-hero h1 { margin: 0 0 1rem; font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 700; line-height: 1.1; }
.ty-lede { max-width: 44rem; margin: 0 auto; font-size: clamp(1.15rem, 2.2vw, 1.375rem); line-height: 1.6; }

.ty-signoff { font-weight: 700; margin-top: 1.75rem !important; }

/* People: round photos in a wrapping row, like the archived ambassador grid. */
.ty-people { list-style: none; margin: 2.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 2.5rem; }
.ty-people li { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; width: 160px; font-weight: 700; font-size: 1.1rem; line-height: 1.35; }
.ty-people img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
/* Six ambassadors: cap the row at three so they sit as two rows of three. */
.ty-band--teal .ty-people { max-width: calc(3 * 160px + 2 * 2.5rem); margin-inline: auto; }
.ty-people--small { margin-top: 1.5rem; justify-content: flex-start; }
.ty-people--small li { width: 120px; font-size: 1rem; }
.ty-people--small img { width: 120px; height: 120px; }

.ty-impact__logo { display: block; width: 260px; height: auto; margin: 0 auto 2rem; }
.ty-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem !important; text-align: center !important; }
.ty-btn { display: inline-block; padding: 0.55em 1.2em; background: var(--ty-orange); color: #000; font-weight: 600; text-decoration: none; border-radius: 3px; }
.ty-btn:hover, .ty-btn:focus-visible { background: #000; color: #fff; }

.ty-logos { list-style: none; margin: 2.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem 3.5rem; }
.ty-logos img { display: block; max-width: 220px; max-height: 90px; width: auto; height: auto; }
.ty-logos a { display: block; border-radius: 3px; }

.ty-footer { background: var(--ty-navy); color: #fff; padding-block: 2rem; text-align: center; font-size: 0.95rem; }
.ty-footer p { margin: 0 auto; }

a:focus-visible { outline: 3px solid var(--ty-orange); outline-offset: 3px; }

@media (max-width: 600px) {
  .ty-people { gap: 1.75rem 1.25rem; }
  .ty-people li { width: 130px; font-size: 1rem; }
  .ty-people img { width: 130px; height: 130px; }
  .ty-logos { gap: 2rem 2.5rem; }
  .ty-logos img { max-width: 160px; max-height: 70px; }
}
