/* ==========================================================
   Pardue is Bad for Murrieta Schools - single page stylesheet

   Mobile-first: the base styles below are written for phones.
   The media query near the bottom adjusts spacing for larger
   screens. Text sizes scale smoothly using clamp().
   ========================================================== */


/* ---------- Colors and shared values ----------
   Change the colors here and they update across the whole page. */
:root {
  --yellow: #ffd500;
  --black:  #000000;
  --white:  #ffffff;

  --font-stack: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --page-width: 85rem;   /* maximum width of the content column */
}


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

body {
  margin: 0;
  font-family: var(--font-stack);
  color: var(--black);
  background-color: var(--yellow);
  line-height: 1.3;

  /* Stack header, main and footer so the footer always sits at the
     bottom of the screen, even when the page content is short. */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Keeps a hyphenated word together instead of splitting across lines. */
.nowrap {
  white-space: nowrap;
}


/* ---------- Layout helper ----------
   Keeps content centered with side padding on every screen size. */
.container {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}


/* ---------- Headline (black panel at the top) ---------- */
.hero {
  background-color: var(--black);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}

.hero__headline {
  margin: 0;
  font-size: clamp(2.75rem, 12vw, 6.5rem);  /* min, fluid, max */
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

/* The name gets its own line and the yellow color. */
.hero__name {
  display: block;
  color: var(--yellow);
}


/* ---------- The record (supporting text) ---------- */
.record {
  padding: 2.5rem 0;
  text-align: center;
}

.record__text {
  margin: 0;
  font-size: clamp(1.6rem, 6vw, 3rem);
  font-weight: 800;
}


/* ---------- Video section ---------- */
.video {
  padding: 0 0 3rem;
  text-align: center;
}

.video__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 5vw, 2rem);
  text-transform: uppercase;
}

.video__text {
  margin: 0 0 1.5rem;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
}


/* ---------- Button ---------- */
.button {
  display: inline-block;
  padding: 1rem 1.75rem;
  background-color: var(--black);
  color: var(--yellow);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  border: 4px solid var(--black);
}

/* Hover and keyboard focus swap the colors so the button stands out. */
.button:hover,
.button:focus-visible {
  background-color: var(--yellow);
  color: var(--black);
  outline: none;
}

.button:focus-visible {
  box-shadow: 0 0 0 4px var(--white), 0 0 0 8px var(--black);
}


/* ---------- Footer ---------- */
.footer {
  padding: 1.5rem 0;
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  font-size: 0.9rem;
}

.footer__disclaimer {
  margin: 0;
}


/* ---------- Larger screens (tablets and up) ---------- */
@media (min-width: 48rem) {
  .hero {
    padding: 4rem 0;
  }

  .record {
    padding: 4rem 0;
  }

  .video {
    padding-bottom: 5rem;
  }

  .button {
    font-size: 1.5rem;
    padding: 1.1rem 2.5rem;
  }
}
