:root {
  --navy: #0f1f8c;
  --navy-deep: #0a1566;
  --cream: #fff6e6;
  --sunny: #ffd21f;
  --pink: #ff3fa4;
  --radius: 28px;
}

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

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

body {
  margin: 0;
  font-family: "Fredoka", system-ui, sans-serif;
  color: var(--cream);
  background: var(--navy);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

main {
  display: flex;
  flex-direction: column;
  gap: 72px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
}

/* The logo PNG is square with lots of padding, so crop to the artwork. */
.brand {
  display: block;
  width: 150px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pill-button {
  display: inline-block;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-deep);
  background: var(--sunny);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--navy-deep);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pill-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--navy-deep);
}

.pill-button:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}

/* Hero */
.hero img {
  width: 100%;
  border-radius: var(--radius);
  border: 6px solid var(--cream);
  box-shadow: 0 12px 0 var(--navy-deep);
}

/* Video */
.watch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
}

.watch h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--sunny);
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 12px;
  background: var(--sunny);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 12px 0 var(--navy-deep);
  transform: rotate(-1deg);
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy-deep);
}

/* About */
.about {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  padding-bottom: 8px;
}

.about p {
  margin: 0;
  font-size: 1.125rem;
  text-wrap: pretty;
}

.about .lead {
  font-size: 1.375rem;
  font-weight: 500;
}

/* Tagline */
.tagline {
  padding: 56px 24px;
  background: var(--cream);
  color: var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 12px 0 var(--navy-deep);
  text-align: center;
}

.tagline p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.35em;
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.tagline .accent {
  color: var(--pink);
}

/* Footer */
.site-footer {
  padding: 28px 20px;
  background: var(--navy-deep);
  text-align: center;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 0 32px;
}

.contact h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--sunny);
}

.contact-text {
  margin: 0;
  font-size: 1.1rem;
  text-wrap: pretty;
}

.contact-email {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--cream);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform 0.15s ease, background 0.15s ease;
}

.contact-email:hover {
  transform: translateY(-2px) scale(1.03);
}

.contact-email:focus-visible {
  outline: 3px solid var(--sunny);
  outline-offset: 3px;
}

.site-footer .copyright {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 246, 230, 0.15);
  font-size: 0.95rem;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .brand {
    width: 190px;
  }

  main {
    gap: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pill-button {
    transition: none;
  }
}
