@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/opensans.woff2") format("woff2");
}

:root {
  --red: #cc0000;
  --text: #616161;
  --muted: #777777;
  --heading: #222222;
  --gray: #efefef;
  --footer: #9e9e9e;
  --container: 1260px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

p { text-wrap: pretty; }

a { color: var(--red); }

button, [role="button"] { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.desktop-nav a:focus-visible,
.logo:focus-visible {
  outline-color: #fff;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 8px; top: 8px; background: #fff; z-index: 100; padding: 8px; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Mobile menu bar */
.mobile-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 50px;
  background: #262626;
  color: #fff;
  align-items: center;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  color: #fff;
  font: 500 16px/1 "Open Sans", sans-serif;
  padding: 12px 18px;
  -webkit-tap-highlight-color: transparent;
}

.menu-btn svg { width: 18px; height: 18px; fill: currentColor; }

.mobile-nav {
  display: none;
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  z-index: 79;
  background: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.mobile-nav.is-open { display: block; }

.mobile-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 14px 22px;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] { color: var(--red); }

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  color: #fff;
}

.site-header.is-stuck {
  position: fixed;
  background: #1a1a1a url("../assets/header-bg.jpg") center center / cover no-repeat;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 148px;
  padding: 30px 0;
  gap: 24px;
}

.logo img {
  display: block;
  width: 477px;
  max-width: 100%;
  height: auto;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  padding: 9px 11px;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"]:hover { color: var(--red); }

/* Banners */
.hero {
  height: 30vw;
  min-height: 168px;
  background: #1a1a1a url("../assets/hero.jpg") center center / cover no-repeat;
}

.page-banner {
  height: 350px;
  background: #222 url("../assets/interior.jpg") center top / cover no-repeat;
}

/* Home */
.intro {
  text-align: center;
  color: var(--muted);
  padding: 10px 0 56px;
}

.intro h1,
.scope h1,
.story h1,
.team-page > .container > h1 {
  font-size: 29.5px;
  line-height: 1.375;
  font-weight: 600;
  margin: 30px 0 20px;
}

.intro h1,
.scope h1,
.story h1 { color: var(--red); }

.intro p { margin: 0 0 20px; }

.scope {
  background: var(--gray);
  text-align: center;
  padding: 44px 0 48px;
}

.scope .lead {
  color: #000;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.375;
  margin: 0 auto 40px;
}

.focus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 50px;
  align-items: start;
}

.focus-item svg {
  display: block;
  height: 96px;
  width: auto;
  margin: 0 auto;
  fill: var(--red);
}

.focus-item h2 {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.375;
  font-weight: 600;
  color: var(--heading);
}

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  padding: 8px 16px;
  border-radius: 3px;
  transition: background-color 0.15s ease;
}

.btn:hover { background: #999; color: #fff; }

/* Our story */
.band {
  background: var(--gray);
  padding: 34px 0 36px;
}

.pullquote {
  position: relative;
  margin: 6px 0;
  padding: 2px 0 2px 55px;
  color: var(--red);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.375;
}

.pullquote .qmark {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  fill: #9e9e9e;
}

.story { padding: 8px 0 20px; }

.story h1 { margin-top: 26px; }

.story p { margin: 0 0 20px; }

.closing {
  text-align: center;
  color: var(--red);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.375;
  margin: 6px 0;
}

/* Leadership */
.team-page { padding-bottom: 36px; }

.team-page > .container > h1 {
  color: var(--heading);
  margin: 28px 0 16px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
  align-items: stretch;
}

.card {
  border: 1px solid #eeeeee;
  padding: 8px 20px 16px;
}

.card h2 {
  margin: 22px 0 6px;
  font-size: 24px;
  line-height: 1.375;
  font-weight: 600;
  color: var(--heading);
}

.card .role {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--red);
}

.card p { margin: 0 0 16px; }

.card hr {
  border: 0;
  border-top: 1px solid #e5e5e5;
  margin: 6px 0 0;
}

/* Footer */
.site-footer {
  background: #000;
  color: var(--footer);
  padding: 40px 0 36px;
}

.footer-logo {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 0 22px;
}

.contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 320px;
}

.contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.contact svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 16px;
  margin-top: 5px;
}

.contact a {
  color: inherit;
  text-decoration: none;
}

.contact a:hover { color: #fff; }

.footer-bottom {
  background: #222;
  color: var(--footer);
  text-align: center;
  font-size: 14.8px;
  line-height: 1.65;
  padding: 20px 16px;
}

.footer-bottom a {
  color: #bdbdbd;
  text-decoration: none;
}

.footer-bottom a:hover { color: #fff; }

.to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: #3a3a3a;
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, background 0.2s;
  z-index: 40;
}

.to-top svg { width: 16px; height: 16px; fill: currentColor; }

.to-top.show { opacity: 1; pointer-events: auto; }

.to-top:hover { background: var(--red); }

@media (max-width: 1100px) and (min-width: 960px) {
  .logo img { width: 380px; }
}

@media (max-width: 959px) {
  .mobile-bar { display: flex; }
  .desktop-nav { display: none; }
  .site-header { top: 50px; }
  .header-inner { min-height: 0; padding: 18px 0 16px; }
  .logo img { width: min(320px, 100%); }
  .page-banner { height: 220px; }
  .intro { padding-bottom: 36px; }
  .intro h1,
  .scope h1,
  .story h1,
  .team-page > .container > h1 { font-size: 24px; margin-top: 22px; }
  .scope { padding: 32px 0 40px; }
  .scope .lead,
  .pullquote,
  .closing { font-size: 18px; }
  .focus,
  .grid { grid-template-columns: 1fr; }
  .focus { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .pullquote { padding-left: 42px; }
  .pullquote .qmark { width: 28px; height: 28px; }
  .logo img { width: min(250px, 100%); }
  .container { width: min(var(--container), calc(100% - 32px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .desktop-nav a,
  .btn,
  .to-top { transition: none; }
}
