/* Theme measured from moforcongress.com (computed styles, Chrome, 1440px).
   Each tweak is within one shade or a few px of the reference value. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/montserrat-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #00006b;  /* ref #000066 (panel, header) */
  --sky: #1c9cda;   /* ref #1a99d6 (h1) */
  --tint: 4 4 72;   /* ref rgb(3 3 68) (photo gradient) */
}

html, body {
  margin: 0;
  height: 100%;
}

body {
  background: var(--navy);
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}

/* ref: linear-gradient(60deg, rgb(3,3,68) 0%, transparent 68%) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(56deg, rgb(var(--tint)) 0%, rgb(var(--tint) / 0) 66%);
}

/* ref panel: #000066, radius 30px, padding 40px.
   ref h1: Montserrat 900, uppercase, 80px / 1.2, letter-spacing normal. */
h1 {
  position: relative;
  z-index: 1;
  margin: 0 20px;
  padding: 44px 52px;
  background: var(--navy);
  border-radius: 26px;
  color: var(--sky);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 600px) {
  h1 {
    padding: 32px 28px;
    border-radius: 22px;
  }
}
