:root {
  --black: #000;
  --white: #fff;
  --grey: #bdbdbd;
  --font: "Franklin Gothic Medium", "Franklin Gothic", "ITC Franklin Gothic",
          "Libre Franklin", "Arial Narrow", Arial, sans-serif;
}

::selection {
  background: #c00;
  color: #fff;
}

a {
  -webkit-tap-highlight-color: rgba(204, 0, 0, 0.5);
}

* { box-sizing: border-box; }

html { background: var(--black); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
}

.banner {
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000;
  background: #ccc;
}.banner {
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000;
  background: #fff;
}

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

.hero {
  position: relative;
  height: 70vh;
  min-height: 360px;
  overflow: hidden;
  border-bottom: 8px solid var(--white);
  background: var(--black);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.4) brightness(0.55);
}

/* Faint scan lines, like a telescreen */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0) 3px,
    rgba(0, 0, 0, 0.35) 3px,
    rgba(0, 0, 0, 0.35) 4px
  );
  pointer-events: none;
}

.hero-text {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem clamp(1.25rem, 6vw, 5rem);
}

.hero h1 {
  display: inline-block;
  margin: 0;
  padding: 0.15em 0.35em;
  font-size: clamp(2.5rem, 9vw, 6.5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
}

/* ---------- Sections ---------- */

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2rem);
}

section { padding: 4rem 0 2rem; }

h2 {
  margin: 0 0 1.5rem;
  padding-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 4px solid var(--white);
}

p { margin: 0 0 1.25rem; max-width: 60ch; }


/* ---------- Links ---------- */

.links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--grey);
}

.links li { border-bottom: 1px solid var(--grey); }

.links a {
  display: block;
  padding: 0.9rem 0.5rem;
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
}

.links a:hover,
.links a:focus-visible {
  color: var(--black);
  background: var(--white);
  outline: none;
}

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

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

footer {
  margin-top: 4rem;
  padding: 2rem clamp(1.25rem, 5vw, 2rem);
  text-align: center;
  color: var(--black);
  background: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

footer p { margin: 0 auto; max-width: none; }

/* ---------- Mobile ---------- */

/* Never let long words push the page sideways */
h1, h2, p, a { overflow-wrap: break-word; }

img { max-width: 100%; }

/* Tablets and below */
@media (max-width: 800px) {
  body { font-size: 1.0625rem; }

  .hero {
    height: 55vh;
    height: 55svh;
    min-height: 300px;
    border-bottom-width: 6px;
  }

  section { padding: 3rem 0 1.5rem; }
  h2 { font-size: 1.6rem; }
}

/* Phones */
@media (max-width: 480px) {
  body { font-size: 1rem; line-height: 1.55; }

  .hero {
    height: 50vh;
    height: 50svh;
    min-height: 260px;
    border-bottom-width: 5px;
  }

  .hero-text { padding: 1.25rem 1rem; }

  .hero h1 {
    font-size: clamp(1.9rem, 11vw, 2.6rem);
    letter-spacing: 0;
    padding: 0.15em 0.3em;
  }

  section { padding: 2.5rem 0 1rem; }

  h2 {
    font-size: 1.35rem;
    border-bottom-width: 3px;
  }

  /* Larger tap targets for the link list */
  .links a {
    padding: 1.1rem 0.5rem;
    font-size: 1.125rem;
  }

  footer {
    margin-top: 2.5rem;
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
  }
}


@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
