@font-face {
  font-family: "League Spartan";
  src: url("assets/league-spartan.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue: #0000ff;
  --text: #575757;
  --heading: #151515;
  --pale: #f6f6f6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font: 16px/1.5 Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--blue); text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.hero :focus-visible { outline-color: #fff; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 56px; }
.pale { background: var(--pale); }
.section-title {
  color: var(--blue);
  font: 400 38px/1.4 "League Spartan", Arial, sans-serif;
  text-align: center;
  margin-bottom: 40px;
  overflow-wrap: break-word;
}
.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  margin: 24px auto 0;
  background: #e2e2e2;
}
.pale .section-title::after { background: #dadada; }
h3 { color: var(--heading); font-size: 22px; line-height: 1.25; font-weight: 400; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 12px 18px;
  color: var(--blue);
  background: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* Original photograph, logo, and centered hero treatment. */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-align: center;
  background: linear-gradient(#00000040, #00000040), url("assets/hero-terminal.jpg") center / cover no-repeat;
}
.logo { display: block; margin-top: 24px; width: min(395px, calc(100% - 48px)); }
.logo img { width: 100%; }
.hero-content { margin-block: auto; padding-block: 92px 56px; }
h1 {
  max-width: 1120px;
  margin-inline: auto;
  font: 400 clamp(40px, 4.5vw, 62px)/1.2 "League Spartan", Arial, sans-serif;
  overflow-wrap: break-word;
}
.hero-content p { margin-top: 24px; font-size: 22px; }
.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .071em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #4545ff; }
.hero .button { margin-top: 40px; }

.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mission-image { width: 100%; aspect-ratio: 1.33; object-fit: cover; }
.mission-copy { text-align: center; }
.mission-copy p { margin-top: 24px; font-size: 20px; color: #5e5e5e; }
.issues-grid, .solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  text-align: center;
}
.issues-grid h3, .solutions-grid h3 { margin-bottom: 24px; }
.issues-grid p, .solutions-grid p { text-wrap: pretty; }
.solutions-grid img { width: 100%; aspect-ratio: 1.33; object-fit: cover; margin-bottom: 24px; }
.solutions-grid article:last-child { grid-column: 2; }
.results-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.results-layout > img { width: 100%; border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.results-layout h3 { margin-bottom: 24px; }
.results-layout p + p { margin-top: 24px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
form h3 { text-align: center; margin-bottom: 24px; }
.field { margin-bottom: 24px; }
input, textarea {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 16px;
  border: 1px solid #dedede;
  border-radius: 4px;
  color: #474747;
  background: #fff;
}
input::placeholder, textarea::placeholder { color: #626262; opacity: 1; }
textarea { resize: vertical; min-height: 180px; }
form .button { width: 100%; }
.contact-details { text-align: left; }
.contact-details > p { margin-top: 24px; }
.whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 12px 16px;
  color: #fff;
  background: #455a64;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.whatsapp:hover { background: #4f6672; }
.whatsapp svg { flex-shrink: 0; }
address { font-style: normal; margin-block: 32px; }
address h3 { margin-bottom: 24px; }
address p { margin-bottom: 24px; }
address a { display: block; width: fit-content; overflow-wrap: anywhere; text-decoration: none; }
address a:hover { text-decoration: underline; }
.hours { margin-top: 24px; border-collapse: collapse; }
.hours th { font-weight: 400; padding-right: 24px; text-align: left; }
.hours td, .hours th { padding-block: 1px; }
footer { padding: 40px 24px; color: #a9a9a9; background: #161616; text-align: center; font-size: 12px; }

@media (min-width: 1280px) {
  .section-title { font-size: 44px; }
}
@media (min-width: 1536px) {
  .container { width: min(1280px, calc(100% - 96px)); }
  .section-title { font-size: 48px; }
  .mission-copy p { font-size: 23px; }
}
@media (max-width: 1023px) {
  .hero { min-height: 500px; }
  .hero-content { padding-block: 92px 56px; }
  .hero .button { width: 100%; }
  .issues-grid, .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .issues-grid article:last-child { grid-column: 1 / -1; max-width: 650px; margin-inline: auto; }
  .solutions-grid article:last-child { grid-column: auto; }
  .results-layout { display: flex; flex-direction: column; text-align: left; }
  .results-layout > img { max-width: 400px; }
  .contact-layout { grid-template-columns: 1fr; gap: 64px; }
  .contact-details { text-align: center; }
  address a { margin-inline: auto; }
  .hours { margin-inline: auto; }
}
@media (max-width: 767px) {
  .section { padding-block: 40px; }
  .section-title { font-size: 32px; }
  .logo { margin-top: 24px; }
  .hero-content { padding-top: 92px; }
  h1 { font-size: 40px; }
  .hero-content p { font-size: 22px; }
  .about-layout, .issues-grid, .solutions-grid { grid-template-columns: 1fr; }
  .about-layout { gap: 24px; }
  .issues-grid article:last-child { grid-column: auto; }
  .issues-grid, .solutions-grid { gap: 48px; }
  .results-layout { gap: 32px; }
}
@media (max-width: 450px) {
  h1 { font-size: 28px; }
  .hero-content { padding-top: 64px; padding-bottom: 40px; }
  .hero-content p { font-size: 18px; }
  .section-title { font-size: 28px; }
  .logo { width: min(300px, calc(100% - 48px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
