:root {
  --burgundy: #790c13;
  --burgundy-dark: #50070b;
  --gold: #e5aa13;
  --gold-light: #ffc83d;
  --cream: #fffaf0;
  --paper: #f7f0e3;
  --coral: #ef5149;
  --ink: #261b1b;
  --shadow: 0 18px 45px rgba(73, 13, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

/* ACCESSIBILITY */

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 12px 18px;
  background: white;
  border-radius: 10px;
}

.skip-link:focus {
  top: 16px;
}

/* FLOATING MENU */

.floating-nav {
  position: fixed;
  z-index: 100;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);

  width: min(760px, calc(100% - 32px));
  min-height: 72px;

  padding: 8px 10px 8px 14px;

  display: flex;
  align-items: center;
  gap: 14px;

  border: 1px solid rgba(229, 170, 19, 0.75);
  border-radius: 999px;

  background: rgba(255, 252, 246, 0.94);

  box-shadow:
    0 14px 35px rgba(57, 10, 13, 0.2);

  backdrop-filter: blur(12px);
}

.crest-link {
  text-decoration: none;
  flex: 0 0 auto;
}

.crest {
  display: grid;
  place-items: center;

  width: 52px;
  height: 52px;

  color: var(--gold-light);
  background: var(--burgundy);

  border: 3px solid var(--gold);
  border-radius: 50% 50% 46% 46%;

  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.nav-links a {
  padding: 13px 15px;

  border-radius: 999px;

  color: var(--burgundy-dark);

  font-size: 0.94rem;
  font-weight: 700;

  text-decoration: none;
  white-space: nowrap;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #f3dfc1;
  outline: none;
}

.nav-links .active {
  margin-left: auto;
  color: white;
  background: var(--burgundy);
}

.menu-toggle {
  display: none;

  margin-left: auto;

  width: 46px;
  height: 46px;

  border: 0;
  border-radius: 50%;

  background: var(--burgundy);

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 21px;
  height: 2px;

  margin: 4px auto;

  background: white;

  transition: 0.2s ease;
}

/* HERO */

.hero {
  min-height: 790px;

  display: grid;
  grid-template-columns: 0.95fr 1.25fr;

  background: var(--burgundy);
}

.hero-copy {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  padding:
    150px
    clamp(28px, 5vw, 86px)
    90px;

  color: white;

  background:
    radial-gradient(
      circle at 20% 50%,
      #a51620 0,
      var(--burgundy) 45%,
      var(--burgundy-dark) 100%
    );
}

.hero-copy::after {
  content: "";

  position: absolute;
  z-index: -1;
  right: -45px;

  inset-block: 0;

  width: 90px;

  background: inherit;

  clip-path:
    polygon(
      0 0,
      100% 5%,
      58% 15%,
      96% 28%,
      57% 39%,
      95% 52%,
      55% 64%,
      100% 76%,
      58% 88%,
      96% 100%,
      0 100%
    );
}

.paint-label {
  display: inline-block;

  padding: 9px 16px;

  color: var(--burgundy-dark);
  background: var(--gold-light);

  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  transform: rotate(-2deg);
}

h1,
h2,
h3 {
  margin-top: 0;
}

.hero h1 {
  max-width: 650px;

  margin: 28px 0 22px;

  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.7rem, 6vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: -0.02em;
}

.hero-copy p {
  max-width: 560px;

  margin: 0 0 34px;

  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.7;
}

.gold-button {
  display: inline-flex;
  align-items: center;
  gap: 24px;

  padding: 17px 24px;

  border-radius: 16px;

  color: #251400;

  background:
    linear-gradient(
      135deg,
      var(--gold-light),
      var(--gold)
    );

  box-shadow:
    0 12px 25px rgba(0, 0, 0, 0.18);

  font-weight: 800;
  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gold-button:hover {
  transform: translateY(-3px);

  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.25);
}

.gold-button span {
  font-size: 1.5rem;
}

.doodle {
  position: absolute;

  color: var(--gold-light);

  font-size: 3.5rem;

  opacity: 0.9;
}

.doodle-star {
  right: 9%;
  top: 22%;
}

.doodle-arrow {
  right: 11%;
  bottom: 12%;

  transform: rotate(10deg);
}

/* HERO IMAGES */

.hero-gallery {
  position: relative;

  min-width: 0;

  overflow: hidden;

  background: #d6c0a2;
}

.hero-main {
  height: 100%;
  object-fit: cover;
}

.hero-gallery::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.03),
      rgba(39, 7, 9, 0.15)
    );

  pointer-events: none;
}

.hero-small {
  position: absolute;
  z-index: 3;

  bottom: 38px;

  width: 33%;

  aspect-ratio: 1.1;

  object-fit: cover;

  border: 8px solid white;
  border-radius: 22px;

  box-shadow: var(--shadow);
}

.hero-small-one {
  left: 7%;

  transform: rotate(-2deg);
}

.hero-small-two {
  right: 5%;

  transform: rotate(3deg);
}

/* SHARED SECTION WIDTH */

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* HIGHLIGHTS */

.highlights {
  padding-block: 90px 62px;
}

.section-heading {
  margin-bottom: 42px;

  text-align: center;
}

.section-heading span {
  color: var(--gold);

  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 8px 0 12px;

  color: var(--burgundy);

  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
}

.section-heading i {
  display: block;

  width: 90px;
  height: 5px;

  margin: auto;

  border-radius: 20px;

  background: var(--gold);

  transform: rotate(-2deg);
}

/* EVENT CARDS */

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.event-card {
  overflow: hidden;

  border:
    1px solid
    rgba(121, 12, 19, 0.12);

  border-radius: 21px;

  background: white;

  box-shadow:
    0 10px 26px
    rgba(63, 20, 23, 0.08);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.event-card:hover {
  transform: translateY(-7px);

  box-shadow: var(--shadow);
}

.event-image {
  position: relative;

  aspect-ratio: 1.25;

  overflow: hidden;
}

.event-image img {
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.45s ease;
}

.event-card:hover img {
  transform: scale(1.05);
}

.date {
  position: absolute;
  z-index: 2;

  top: 14px;
  left: 14px;

  display: grid;
  place-items: center;

  width: 54px;
  height: 58px;

  border-radius: 13px;

  color: var(--burgundy-dark);
  background: var(--gold-light);

  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 0.8;

  box-shadow:
    0 6px 14px
    rgba(0, 0, 0, 0.18);
}

.date b {
  display: block;

  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-content {
  min-height: 148px;

  padding: 23px 24px;

  text-align: center;
}

.event-content h3 {
  margin-bottom: 9px;

  color: var(--burgundy);

  font-size: 1.35rem;
}

.event-content p {
  margin: 0;

  color: #5c5151;

  line-height: 1.55;
}

/* STATISTICS */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  margin-bottom: 58px;

  padding: 32px 20px;

  border:
    1px solid
    rgba(229, 170, 19, 0.5);

  border-radius: 22px;

  background: #fffdf8;

  box-shadow:
    0 9px 26px
    rgba(63, 20, 23, 0.06);
}

.stats div {
  display: grid;

  grid-template-columns: auto auto;
  grid-template-rows: auto auto;

  align-items: center;
  justify-content: center;

  column-gap: 14px;

  padding: 10px 24px;

  text-align: left;
}

.stats div + div {
  border-left: 1px solid #e6d7bd;
}

.stats span {
  grid-row: 1 / 3;

  color: var(--gold);

  font-size: 3rem;
}

.stats strong {
  color: var(--burgundy);

  font-family: "Barlow Condensed", sans-serif;
  font-size: 4rem;
  line-height: 0.8;
}

.stats p {
  margin: 7px 0 0;

  font-weight: 700;
}

/* FINAL CTA */

.final-cta {
  position: relative;

  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  margin-bottom: 38px;

  padding: 46px 7%;

  border-radius: 25px;

  color: white;

  background:
    linear-gradient(
      120deg,
      var(--burgundy-dark),
      var(--burgundy) 55%,
      var(--coral)
    );
}

.final-cta::after {
  content: "✦  ↗";

  position: absolute;

  right: 5%;
  bottom: -12px;

  color: var(--gold);

  font-size: 4rem;

  opacity: 0.3;
}

.final-cta span {
  color: var(--gold-light);

  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.final-cta h2 {
  margin: 8px 0 0;

  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.final-cta .gold-button {
  position: relative;
  z-index: 2;

  min-width: 230px;

  justify-content: space-between;
}

footer {
  padding: 26px 20px 42px;

  color: #6d5b58;

  text-align: center;
  font-size: 0.9rem;
}

/* TABLET AND MOBILE */

@media (max-width: 900px) {

  .floating-nav {
    width: calc(100% - 28px);
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;

    top: calc(100% + 10px);
    left: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;

    padding: 12px;

    border:
      1px solid
      rgba(229, 170, 19, 0.65);

    border-radius: 22px;

    background:
      rgba(255, 252, 246, 0.98);

    box-shadow: var(--shadow);
  }

  .floating-nav.open .nav-links {
    display: flex;
  }

  .nav-links a,
  .nav-links .active {
    width: 100%;
    margin: 0;

    padding: 14px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 680px;
    padding-top: 140px;
  }

  .hero-copy::after {
    display: none;
  }

  .hero-gallery {
    min-height: 590px;
  }

  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats strong {
    font-size: 3.2rem;
  }
}

/* SMALL MOBILE */

@media (max-width: 620px) {

  .floating-nav {
    top: 12px;

    min-height: 62px;
  }

  .crest {
    width: 44px;
    height: 44px;
  }

  .hero-copy {
    min-height: 620px;

    padding:
      115px
      24px
      70px;
  }

  .hero h1 {
    font-size:
      clamp(
        3.2rem,
        15vw,
        4.8rem
      );
  }

  .hero-gallery {
    min-height: 450px;
  }

  .hero-small {
    bottom: 22px;

    width: 42%;

    border-width: 5px;
  }

  .section-shell {
    width:
      min(
        100% - 26px,
        1180px
      );
  }

  .highlights {
    padding-top: 65px;
  }

  .event-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stats {
    grid-template-columns: 1fr;

    padding: 10px 20px;
  }

  .stats div {
    min-height: 120px;
  }

  .stats div + div {
    border-top:
      1px solid
      #e6d7bd;

    border-left: 0;
  }

  .final-cta {
    flex-direction: column;
    align-items: flex-start;

    padding: 40px 28px;
  }

  .final-cta .gold-button {
    width: 100%;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Show the complete Debate Champions photo */
.event-card:first-child .event-image {
  background: #24b8d3;
}

.event-card:first-child .event-image img {
  object-fit: contain;
  object-position: center;
  transform: none;
}

.event-card:first-child:hover .event-image img {
  transform: none;
}