:root {
  --teal: #4fb7d4;
  /* main brand color */
  --teal-dark: #32839a;
  --accent-red: #e53935;
  /* MAYHEM red */
  --bg-light: #f5f5f5;
  --text-main: #222;
  --text-muted: #555;
  --max-width: 1100px;
  --radius: 12px;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   Base
========================================================= */

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Roboto", sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
}

/* =========================================================
   Header / Navigation
========================================================= */

.site-header {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  padding: 1.25rem 1.5rem;
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand block */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  /* Critical: prevents logo/title split across lines */
  flex-wrap: nowrap;
}

/* Title: RED text with WHITE E */
.brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-red);
  white-space: nowrap;
  /* Critical: prevents the wrap you saw */
  line-height: 1;
}

.brand-title span {
  color: white;
}

/* If you're still using a plain <img class="brand-logo"> somewhere */
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Navigation */
.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.nav a:hover,
.nav a.nav-active {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

/* =========================================================
   Layout / Sections
========================================================= */

.main {
  max-width: var(--max-width);
  margin: 1.75rem auto 3rem;
  padding: 0 1.5rem;
}

.section {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.75rem;
}

/* =========================================================
   Hero
========================================================= */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.75rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.1rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-red);
}

.hero p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.hero-tagline {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* =========================================================
   Buttons
========================================================= */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-primary {
  background: var(--accent-red);
  color: white;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
}

.btn-outline {
  background: white;
  color: var(--teal-dark);
  border: 2px solid var(--teal);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* =========================================================
   Reusable Components
========================================================= */

.section-title {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.program-card {
  border-radius: var(--radius);
  border: 1px solid #e2e2e2;
  padding: 1.25rem;
  background: #fafafa;
}

.program-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.program-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  margin-bottom: 0.35rem;
}

.program-card p {
  margin: 0.25rem 0;
  color: var(--text-muted);
}

/* Two-column content */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.image-panel img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

/* =========================================================
   Sponsors
========================================================= */

.sponsor-tier-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sponsor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.sponsor-card {
  flex: 1 1 220px;
}

.sponsor-logo {
  width: 100%;
  max-width: 240px;
  height: 90px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #e2e2e2;
  background: white;
  object-fit: contain;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

/* =========================================================
   Forms
========================================================= */

form {
  display: grid;
  gap: 0.9rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* =========================================================
   Footer
========================================================= */

.site-footer {
  border-top: 1px solid #e0e0e0;
  padding: 1.25rem 1.5rem 2rem;
  background: white;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =========================================================
   Easter Egg (Hover) - Jorge swap
   Note: This is the desktop hover + keyboard focus behavior.
   We'll add mobile tap after you confirm this CSS is stable.
========================================================= */

.logo-swap {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}

.logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 180ms ease, transform 220ms ease, filter 220ms ease;
}

/* Default logo fills circle */
.logo-default {
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
}

/* Jorge: larger, never cropped */
.logo-hover {
  object-fit: contain;
  padding: 2px;
  /* smaller padding => larger fish */
  opacity: 0;
  transform: scale(1.05) rotate(-4deg);
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}

.logo-swap:hover .logo-default,
.logo-swap:focus-visible .logo-default {
  opacity: 0;
}

.logo-swap:hover .logo-hover,
.logo-swap:focus-visible .logo-hover {
  opacity: 1;
  transform: scale(1.28) rotate(6deg);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}

/* Keyboard accessibility */
.logo-swap:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 900px) {
  .brand-title {
    font-size: 1.25rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 800px) {

  .hero,
  .two-column,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .brand-title {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
  }
}

:root {
  --teal: #4fb7d4;
  /* main brand color */
  --teal-dark: #32839a;
  --accent-red: #e53935;
  /* MAYHEM red */
  --bg-light: #f5f5f5;
  --text-main: #222;
  --text-muted: #555;
  --max-width: 1100px;
  --radius: 12px;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   Base
========================================================= */

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Roboto", sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
}

/* =========================================================
   Header / Navigation
========================================================= */

.site-header {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  padding: 1.25rem 1.5rem;
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand block */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  /* Critical: prevents logo/title split across lines */
  flex-wrap: nowrap;
}

/* Title: RED text with WHITE E */
.brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-red);
  white-space: nowrap;
  /* Critical: prevents the wrap you saw */
  line-height: 1;
}

.brand-title span {
  color: white;
}

/* If you're still using a plain <img class="brand-logo"> somewhere */
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Navigation */
.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.nav a:hover,
.nav a.nav-active {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

/* =========================================================
   Layout / Sections
========================================================= */

.main {
  max-width: var(--max-width);
  margin: 1.75rem auto 3rem;
  padding: 0 1.5rem;
}

.section {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.75rem;
}

/* =========================================================
   Hero
========================================================= */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.75rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.1rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-red);
}

.hero p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.hero-tagline {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* =========================================================
   Buttons
========================================================= */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-primary {
  background: var(--accent-red);
  color: white;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
}

.btn-outline {
  background: white;
  color: var(--teal-dark);
  border: 2px solid var(--teal);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* =========================================================
   Reusable Components
========================================================= */

.section-title {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.program-card {
  border-radius: var(--radius);
  border: 1px solid #e2e2e2;
  padding: 1.25rem;
  background: #fafafa;
}

.program-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.program-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  margin-bottom: 0.35rem;
}

.program-card p {
  margin: 0.25rem 0;
  color: var(--text-muted);
}

/* Two-column content */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.image-panel img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

/* =========================================================
   Sponsors
========================================================= */

.sponsor-tier-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sponsor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.sponsor-card {
  flex: 1 1 220px;
}

.sponsor-logo {
  width: 100%;
  max-width: 240px;
  height: 90px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #e2e2e2;
  background: white;
  object-fit: contain;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

/* =========================================================
   Forms
========================================================= */

form {
  display: grid;
  gap: 0.9rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* =========================================================
   Footer
========================================================= */

.site-footer {
  border-top: 1px solid #e0e0e0;
  padding: 1.25rem 1.5rem 2rem;
  background: white;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  transition: transform 0.15s ease, background 0.15s ease;
}

.social-links a:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
}

.social-links a:hover svg {
  fill: white;
}



/* =========================================================
   Easter Egg (Hover) - Jorge swap
   Note: This is the desktop hover + keyboard focus behavior.
   We'll add mobile tap after you confirm this CSS is stable.
========================================================= */

.logo-swap {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}

.logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 180ms ease, transform 220ms ease, filter 220ms ease;
}

/* Default logo fills circle */
.logo-default {
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
}

/* Jorge: larger, never cropped */
.logo-hover {
  object-fit: contain;
  padding: 2px;
  /* smaller padding => larger fish */
  opacity: 0;
  transform: scale(1.05) rotate(-4deg);
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}

.logo-swap:hover .logo-default,
.logo-swap:focus-visible .logo-default {
  opacity: 0;
}

.logo-swap:hover .logo-hover,
.logo-swap:focus-visible .logo-hover {
  opacity: 1;
  transform: scale(1.28) rotate(6deg);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}

/* Keyboard accessibility */
.logo-swap:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 900px) {
  .brand-title {
    font-size: 1.25rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 800px) {

  .hero,
  .two-column,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .brand-title {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
  }
}


/* ===== Jorge clipping hard-fix (put at END of styles.css) ===== */

.logo-swap {
  width: 44px;
  /* slightly bigger gives Jorge room */
  height: 44px;
}

.logo-img {
  object-fit: unset;
  /* prevent inherited cover/contain conflicts */
}

/* default logo fills circle */
.logo-default {
  object-fit: cover;
}

.logo-img.logo-hover {
  object-fit: contain;
  padding: 1px;
}



/* Pop-out on hover without clipping */
.logo-swap:hover .logo-hover,
.logo-swap:focus-visible .logo-hover {
  transform: scale(1.18) rotate(6deg);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}

/* Jorge should NEVER be cropped */
.logo-img.logo-hover {
  object-fit: contain;
  padding: 1px;
  /* optional: try 0px if you want him bigger */
}

.logo-swap:hover .logo-hover,
.logo-swap:focus-visible .logo-hover {
  transform: scale(1.12);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}

/* ===== FAQ page layout (add to css/styles.css) ===== */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.faq-heading {
  margin: 0.25rem 0 0.75rem;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
}

.faq-item {
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fafafa;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item>summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 1rem;
  font-weight: 700;
}

.faq-item>summary::-webkit-details-marker {
  display: none;
}

.faq-item>summary::after {
  content: "▾";
  float: right;
  color: var(--text-muted);
  transition: transform 0.15s ease;
}

.faq-item[open]>summary::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1rem 0.9rem;
  color: var(--text-muted);
}

.faq-answer p {
  margin: 0.5rem 0;
}

.faq-answer ul {
  margin: 0.5rem 0 0.75rem 1.1rem;
}

.faq-card {
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.facts-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.facts-list li {
  margin: 0.35rem 0;
}

.faq-cta {
  margin-top: 1.25rem;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #ffffff;
  padding: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
}

.video-embed {
  margin: 1.25rem 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}