/* i85media.com
   Brand: orange + navy from the logo, the Atlanta skyline photo, slab-serif headings. */

@font-face {
  font-family: "Bitter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/bitter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --orange: #f58638;
  --orange-deep: #f15a24;
  --navy: #095382;
  --navy-deep: #084972;
  --ink: #07121d;
  --panel: #0c1e30;
  --line: rgba(255, 255, 255, 0.12);
  --text: #e6edf4;
  --muted: #a3b4c5;
  --link: #7fb8ee;
  --slab: "Bitter", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 68rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #b5d6f6;
}

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

h1,
h2,
h3 {
  font-family: var(--slab);
  line-height: 1.2;
  text-wrap: balance;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #000;
}

.skip:focus {
  left: 0.5rem;
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  padding-block: 1.5rem;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-inline: -0.75rem;
}

.site-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  color: #fff;
  font-family: var(--slab);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  transition: background-color 0.15s;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-nav a[aria-current="page"] {
  background: var(--orange);
  text-shadow: none;
}

/* ---------- Logo ---------- */

.logo {
  display: inline-block;
  line-height: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.logo img {
  display: block;
  width: auto;
  height: 3.25rem;
}

.logo--small img {
  height: 1.9rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background-color: #1a5fa8;
  background-image:
    linear-gradient(
      180deg,
      rgba(7, 18, 29, 0.62) 0%,
      rgba(7, 18, 29, 0.28) 30%,
      rgba(7, 18, 29, 0.1) 62%,
      rgba(7, 18, 29, 0.75) 90%,
      var(--ink) 100%
    ),
    url("../img/atlanta-skyline.jpg");
  background-size: cover;
  background-position: center 68%;
}

.hero--home {
  padding: 9.5rem 0 22rem;
}

.hero--home h1 {
  max-width: 21em;
  margin: 0 0 2.5rem;
  font-size: clamp(1.9rem, 1.1rem + 3vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 20, 45, 0.5);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f9a25e, var(--orange));
  color: #fff;
  font-family: var(--slab);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.25rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid var(--orange);
  border-radius: 0.75rem;
  background: rgba(8, 28, 48, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 10, 25, 0.35);
}

.card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.card h2 a {
  color: #fff;
  text-decoration: none;
}

.card h2 a:hover {
  color: var(--orange);
}

.card p {
  margin: 0 0 1.5rem;
  flex: 1;
}

.button {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  border-radius: 0.45rem;
  background: linear-gradient(180deg, #f9964d, var(--orange-deep));
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(160, 50, 10, 0.6);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  transition: filter 0.15s, transform 0.15s;
}

.button:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.notice {
  margin: 1.5rem 0 0;
  font-size: 0.9375rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.notice a {
  color: #fff;
  font-weight: 600;
}

/* Sub-page hero: the same photo, cropped to a band behind the page title. */

.hero--sub {
  padding: 8.5rem 0 3rem;
  background-image:
    linear-gradient(180deg, rgba(7, 18, 29, 0.6) 0%, rgba(7, 18, 29, 0.45) 55%, var(--ink) 100%),
    url("../img/atlanta-skyline.jpg");
  background-position: center 55%;
}

.hero--sub h1 {
  max-width: 20em;
  margin: 0;
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.75rem);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 15, 35, 0.6);
}

.crumbs {
  margin-bottom: 0.9rem;
  color: #d5e2ee;
  font-size: 0.875rem;
}

.crumbs a {
  color: #fff;
}

/* ---------- Home: directory network ---------- */

.network {
  padding: 1rem 0 4.5rem;
}

.network h2 {
  margin: 0 0 0.75rem;
  color: var(--orange);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  font-weight: 600;
}

.network__lede {
  max-width: 44rem;
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.chips a {
  display: block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.chips a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.more-link {
  font-weight: 600;
}

/* ---------- Page content ---------- */

.prose {
  max-width: 46rem;
  padding: 1.5rem 0 4.5rem;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin: 2.5rem 0 0.75rem;
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 600;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1.15rem;
}

.prose strong {
  color: #fff;
}

.prose ul {
  padding-left: 0;
  list-style: none;
}

.prose ul li {
  position: relative;
  margin-bottom: 0.45rem;
  padding-left: 1.4rem;
}

/* The orange arrow bullet from the original theme. */
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.52em;
  border: 0.32em solid transparent;
  border-left: 0.42em solid var(--orange);
  border-right: 0;
}

.prose ol {
  padding-left: 1.4rem;
}

.prose ol li {
  margin-bottom: 0.9rem;
  padding-left: 0.25rem;
}

.prose ol li::marker {
  color: var(--orange);
  font-family: var(--slab);
  font-weight: 700;
}

.prose a {
  overflow-wrap: anywhere;
}

.prose .link-grid {
  columns: 2 14rem;
  column-gap: 2rem;
  margin: 1.5rem 0 0.5rem;
  padding: 1.5rem 1.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--panel);
}

.prose .link-grid li {
  break-inside: avoid;
}

.prose .button {
  color: #fff;
}

.callout {
  padding: 0.9rem 1.15rem;
  border-left: 4px solid var(--orange);
  border-radius: 0 0.5rem 0.5rem 0;
  background: var(--panel);
  color: #fff;
  font-family: var(--slab);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #040b12;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 2rem 2.5rem;
  padding-block: 2.75rem;
}

.site-footer__brand {
  grid-column: span 2;
}

.site-footer__brand p {
  margin: 0.9rem 0 0;
}

.site-footer__brand .site-footer__links {
  margin-top: 0.25rem;
}

.site-footer a {
  color: #c9d5e0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer h2 {
  margin: 0 0 0.6rem;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.2rem;
}

.site-footer .more {
  margin-top: 0.7rem;
  font-weight: 700;
}

.site-footer .more a {
  color: #fff;
}

/* ---------- Small screens ---------- */

@media (max-width: 40rem) {
  .site-header {
    padding-block: 1rem;
  }

  .logo img {
    height: 2.75rem;
  }

  .logo--small img {
    height: 1.9rem;
  }

  .site-nav a {
    padding: 0.35rem 0.6rem;
    font-size: 0.875rem;
  }

  .site-nav {
    margin-inline: -0.6rem;
  }

  .hero--home {
    padding: 10.5rem 0 12rem;
  }

  .hero--sub {
    padding-top: 10rem;
  }

  .site-footer__brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
