/* Technovation IV: The Media Matrix — Canva-aligned responsive theme.
   The exact palette comes from the organizer's Word requirements.
   The Seasons is a licensed font and not bundled; supply it in assets/fonts/ to enable. */
/* Activate @font-face after obtaining a licensed The Seasons WOFF2 file:
@font-face {font-family:'The Seasons';src:url('../fonts/TheSeasons-Regular.woff2') format('woff2');font-weight:400;font-display:swap;}
*/
:root {
  --canvas: #111b39;
  --nav: #303344;
  --red: #550708;
  --red-hover: #760e15;
  --panel: #0c1d3c;
  --graphic: #3b5c97;
  --light: #ffffff;
  --serif: 'Times New Roman', Times, serif;
  --display: 'The Seasons', Georgia, 'Times New Roman', serif;
  --header-height: 94px;
}
/* Force custom cursor throughout the website */
html,
body,
body *,
body *::before,
body *::after,
body *:hover,
body *:active,
body *:focus,
.site-header,
.site-header *,
.nav-links *,
.reel-curve-link,
.reel-curve-link *,
a,
a:hover,
a:active,
button,
button:hover,
svg,
svg * {
    cursor: url('../img/c.png') 27 27, auto !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  min-width: 280px;
  overflow-x: clip;
  
    background-image: url('../img/bg.png');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;

  color: var(--light);
  font: 18px/1.5 var(--serif);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: white;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffcf86;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 48px), 1100px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 2000;
  background: white;
  color: #101b38;
  padding: 10px 15px;
}

.skip-link:focus {
  top: 8px;
}

main {
  min-height: 35vh;
}

/* NAV: film-strip treatment re-created in CSS instead of stretching a tiny Canva filmstrip bitmap.
   This keeps all 5 labels readable and crisp, even on large monitors. */
.site-header {
  position: sticky;
  top: 0;
  isolation: isolate;
  z-index: 1000;
  height: var(--header-height);
  background: linear-gradient(180deg, #070e1e 0%, #090f21 77%, rgba(7, 13, 29, .96) 100%);
}

.site-nav {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 14px;
  width: min(100%, 1030px);
  min-height: 68px;
  padding: 15px 35px;
  border-top: 1px solid #5b5f73;
  border-bottom: 1px solid #5b5f73;
  border-radius: 34% 34% 23% 23% / 18% 18% 20% 20%;
  background: linear-gradient(180deg, #35384c, #272c3d 45%, #303344);
  box-shadow: 0 4px 14px #0007, inset 0 0 24px #070b1e85;
}

.nav-links::before,
.nav-links::after {
  content: "";
  position: absolute;
  left: 2.5%;
  right: 2.5%;
  height: 6px;
  pointer-events: none;
  opacity: .7;
  background: repeating-linear-gradient(90deg, transparent 0 8px, #0a1228 8px 17px, transparent 17px 26px);
}

.nav-links::before {
  top: 5px;
}

.nav-links::after {
  bottom: 5px;
}

.nav-link-custom {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  border: 0;
  padding: 9px 7px;
  background: transparent;
  text-align: center;
  font: 400 clamp(16px, 1.7vw, 23px)/1.12 var(--display);
  text-decoration: underline;
  text-decoration-color: #e7e2ee9e;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-shadow: 0 1px 4px #000a;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.nav-link-custom.active,
.nav-link-custom:hover {
  color: #fff0e5;
  text-decoration-color: #fff;
  text-decoration-thickness: 2px;
}

.nav-toggle,
.mobile-brand {
  display: none;
}

/* HEADINGS & SECTION BLOCKS */
.page-banner {
  padding: 51px 0 28px;
  text-align: center;
}

.page-title,
.section-title {
  margin: 0;
  color: white;
  font: 700 clamp(34px, 4.8vw, 66px)/1.12 var(--serif);
  text-shadow: 0 2px 9px #0008;
}

.section-title {
  text-align: center;
  font-size: clamp(30px, 4.2vw, 54px);
  margin-bottom: 21px;
}

/* HOME: one uninterrupted Canva hero image starts BEHIND the existing header,
   and ends immediately after the event countdown. The header/nav artwork is untouched.
   The header's space is borrowed back with negative main margin, then restored as
   top padding inside .hero-shell so the title cannot overlap the navigation. */
body[data-page='home'] #main-content {
  position: relative;
  margin-top: calc(-1 * var(--header-height));
}
.hero-shell {
  position: relative;
  isolation: isolate;
  padding-top: var(--header-height);
  background-color: #09112b;
  background-image: url('../img/lgs.jpg');
  background-position: center 17%;
  background-size: cover;
  background-repeat: no-repeat;
}


.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #161e3591;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0px;
  padding-top: 20px;
  text-align: center;
}

.hero-title {
  margin: 0 0 0px;
  font: 700 clamp(44px, 4.4vw, 77px)/1.07 var(--serif);
  letter-spacing: -.018em;
  text-shadow: 0 3px 11px #000a;
}

/* .hero-logo {
  width: clamp(185px, 19vw, 258px);
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 43%, rgba(0, 0, 0, .95) 61%, transparent 73%);
  mask-image: radial-gradient(circle, #000 43%, rgba(0, 0, 0, .95) 61%, transparent 73%);
} */

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 43px;
  padding: 15px 17px;
  border: 0;
  border-radius: 15px;
  background: var(--red);
  color: #fff;
  font: 700 clamp(16px, 1.75vw, 24px)/1.18 var(--serif);
  text-align: center;
  box-shadow: 0 2px 9px #0005;
  transition: background .2s, transform .2s;
 
}

.btn-red:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
}

.register-btn {
  margin-top: 10px;
}

.countdown-section {
  position: relative;
  z-index: 1;
  padding: 40px 0 30px;
  text-align: center;
}

.countdown-title {
  display: table;
  margin: 0 auto 40px;
  padding: 10px 19px;
  background: var(--red);
  border-radius: 15px;
  font: bold clamp(24px, 2.7vw, 39px)/1.25 var(--serif);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 760px);
  margin: auto;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 116px;
  padding: 13px 5px;
  border-radius: 15px;
  background: var(--red);
  opacity: 0.9;
}

.countdown-block strong {
  font: 400 clamp(37px, 5.1vw, 64px)/1.13 var(--serif);
  font-variant-numeric: tabular-nums;
}

.countdown-block span {
  font-size: clamp(17px, 1.8vw, 24px);
}

.content-section {
  max-width: 1040px;
}

.about-section {
  padding: 48px 0 9px;
}

.about-panel {
  background: var(--red);
  border-radius: 11px;
  padding: 26px 30px;
}

.about-panel p {
  margin: 0;
  font-size: clamp(16px, 1.65vw, 22px);
  line-height: 1.52;
  text-align: justify;
}

.sponsors-section {
  padding: 42px 0 42px;
}

.sponsor-panel {
  min-height: 214px;
  border-radius: 10px;
  background: var(--red);
}

/* CATEGORIES: 3 x 4 empty graphic placeholders exactly like Canva; detail page is in-place. */
.categories-section {
  max-width: 1010px;
  padding: 5px 0 62px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 19px;
}

.category-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  aspect-ratio: .78;
  overflow: hidden;
  padding: 0 9px 9px;
  border: 0;
  border-radius: 7px;
  background: var(--red);
  transition: transform .2s, box-shadow .2s;
}

.category-tile:hover,
.category-tile.is-selected {
  transform: translateY(-3px);
  box-shadow: 0 9px 23px #0008;
}

.category-name {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 34px;
  padding: 5px 4px;
  background: #10284f;
  color: white;
  text-align: center;
  font: bold clamp(13px, 1.4vw, 18px)/1.14 var(--serif);
}

.category-detail-wrap {
  margin: 14px auto 35px;
  scroll-margin-top: calc(var(--header-height) + 15px);
  outline: 0;
}

.category-detail {
  padding: 6px 0 13px;
}

.detail-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 35px 0 25px;
  text-align: center;
}

.detail-heading h2 {
  margin: 0;
  max-width: calc(100% - 85px);
  font: bold clamp(31px, 4.4vw, 56px)/1.1 var(--serif);
}

.detail-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff77;
  border-radius: 50%;
  background: var(--red);
  font-size: 26px;
  line-height: 1;
}

.detail-inner {
  display: grid;
  grid-template-columns: 41% minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: 35px;
  border-radius: 9px;
  background: var(--panel);
}

.detail-graphic {
  width: 100%;
  aspect-ratio: .83;
  background: var(--graphic);
}

.detail-description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}

.detail-description h3 {
  margin: 0;
  padding: 6px 13px;
  border-radius: 7px;
  background: var(--red);
  font: bold clamp(20px, 2.2vw, 29px)/1.15 var(--serif);
}

.detail-description p {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.5;
}

/* CODE OF CONDUCT — complete text, five stacked cards. */
.conduct-section {
  max-width: 1020px;
  padding: 5px 0 58px;
}

.conduct-card {
  margin: 0 0 27px;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
  background: var(--panel);
}

.conduct-card h2 {
  margin: 0;
  padding: 8px 12px;
  background: var(--red);
  text-align: center;
  font: bold clamp(24px, 3vw, 38px)/1.17 var(--serif);
}

.conduct-card-body {
  padding: 12px 20px 16px;
}

.conduct-card ul {
  margin: 0;
  padding-left: 1.25em;
  list-style: disc;
}

.conduct-card ul ul {
  margin: 7px 0 4px;
  padding-left: 1.35em;
  list-style: circle;
}

.conduct-card li {
  margin-bottom: 6px;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.44;
}

.conduct-card li:last-child {
  margin-bottom: 0;
}

/* CONTACT */
.contact-section {
  max-width: 1040px;
  padding: 6px 0 62px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.contact-card {
  padding: 24px 20px 30px;
  border-radius: 5px;
  background: var(--red);
  text-align: center;
}

.contact-card h2 {
  margin: 0 0 29px;
  font: bold clamp(26px, 3vw, 40px)/1.2 var(--serif);
}

.people-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-around;
}

.person {
  min-width: 0;
}

.person h3 {
  margin: 0 0 4px;
  font: bold clamp(18px, 1.8vw, 25px)/1.17 var(--serif);
}

.person a {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(15px, 1.6vw, 21px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.person a:hover {
  text-decoration: underline;
}

/* Live interactive Google map rather than a flattened image. */
.site-footer {
  padding: 39px 0 43px;
  background: #05080e;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 6vw, 85px);
  max-width: 1030px;
}

.footer-grid h2 {
  margin: 0 0 19px;
  font: bold clamp(27px, 3.7vw, 47px)/1.08 var(--serif);
}

.social-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 18px;
  font-size: clamp(16px, 1.9vw, 23px);
  overflow-wrap: anywhere;
}

.social-item img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

.map-frame {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border: 1px solid #fff5;
  border-radius: 3px;
  background: #e6e7e9;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-directions {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 2px;
  border-bottom: 1px solid #d4d9e29c;
  font-size: clamp(13px, 1.2vw, 15px);
}

.map-directions:hover {
  text-decoration: none;
  border-color: #fff;
}

/* Motion never dictates layout; remains visible if JavaScript is delayed/blocked. */
.reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: transform .58s ease, opacity .58s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-note {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 1500;
  max-width: min(410px, calc(100vw - 36px));
  padding: 13px 17px;
  border: 1px solid #ad8385;
  border-radius: 8px;
  background: #122341;
  box-shadow: 0 14px 40px #0008;
  font: 15px/1.45 Arial, sans-serif;
}

/* TABLET */
@media (max-width:900px) {
  :root {
    --header-height: 79px;
  }

  .container {
    width: min(calc(100% - 32px), 1100px);
  }

  .nav-links {
    min-height: 61px;
    padding: 14px 18px;
    gap: 4px;
  }

  .nav-link-custom {
    font-size: clamp(13px, 2vw, 18px);
    padding: 8px 3px;
  }

  .hero {
    padding-top: 33px;
  }

  /* .hero-logo {
    width: clamp(175px, 23vw, 220px);
  } */

  .countdown-section {
    padding: 40px 0 37px;
  }

  .countdown-grid {
    max-width: 620px;
  }

  .countdown-block {
    min-height: 105px;
  }

  .about-section {
    padding-top: 39px;
  }

  .about-panel {
    padding: 22px 23px;
  }

  .categories-grid {
    gap: 21px 13px;
  }

  .category-tile {
    padding: 0 7px 7px;
  }

  .contact-grid {
    gap: 19px;
  }

  .contact-card {
    padding-inline: 12px;
  }

  .map-frame {
    height: 212px;
  }
}

/* Mobile navigation switches to hamburger at 700px: 5 long links cannot remain readable on a 375px film strip. */
@media (max-width:700px) {
  :root {
    --header-height: 65px;
  }

  .site-header {
    box-shadow: 0 2px 14px rgba(0, 0, 0, .38);
  }


  .site-nav {
    justify-content: space-between;
  }

  .mobile-brand {
    display: block;
    z-index: 2;
    font: 700 clamp(24px, 3.6vw, 20px) / 1.15 var(--serif) !important;
    letter-spacing: .07em;
    white-space: nowrap;
  }

  .mobile-brand span {
    color: #e5bfc0;
  }

  .nav-toggle {
    display: flex;
    z-index: 2;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 1px solid #ffffff52;
    border-radius: 7px;
    background: var(--nav);
  }

  .nav-toggle-line {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: white;
    transition: transform .2s, opacity .2s;
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% - 1px);
    left: -16px;
    right: -16px;
    width: auto;
    min-height: 0;
    max-height: calc(100dvh - 65px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 16px 15px;
    border: 1px solid #4a5062;
    border-top: 0;
    border-radius: 0 0 13px 13px;
    background: linear-gradient(180deg, #303344, #151c34);
    box-shadow: 0 15px 24px #0008;
  }

  .nav-links::before,
  .nav-links::after {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link-custom {
    display: block;
    width: 100%;
    padding: 12px 8px;
    border-bottom: 1px solid #ffffff24;
    font-size: 20px;
    text-decoration: none;
  }

  .nav-link-custom:last-child {
    border-bottom: 0;
  }

  .nav-link-custom.active {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 5px;
  }

  .hero {
    padding-top: 30px;
    gap: 11px;
  }

  .hero-title {
    font-size: clamp(34px, 7.4vw, 51px);
  }

  .hero-logo {
    width: clamp(145px, 29vw, 186px);
  }

  .countdown-section {
    padding: 27px 0 35px;
  }

  .countdown-title {
    font-size: clamp(21px, 4.7vw, 31px);
  }

  .countdown-grid {
    gap: 8px;
  }

  .countdown-block {
    min-height: 94px;
  }

  .countdown-block strong {
    font-size: clamp(30px, 6.6vw, 46px);
  }

  .countdown-block span {
    font-size: clamp(13px, 2.8vw, 19px);
  }

  .section-title {
    font-size: clamp(28px, 5.9vw, 43px);
    margin-bottom: 16px;
  }

  .about-section {
    padding: 32px 0 7px;
  }

  .about-panel {
    padding: 16px 19px;
    border-radius: 8px;
  }

  .about-panel p {
    font-size: clamp(14px, 2.7vw, 18px);
    line-height: 1.47;
  }

  .sponsors-section {
    padding: 34px 0;
  }

  .sponsor-panel {
    min-height: 175px;
  }

  .page-banner {
    padding: 37px 0 22px;
  }

  .page-title {
    font-size: clamp(35px, 6vw, 52px);
  }

  .categories-section {
    padding-bottom: 44px;
  }

  .categories-grid {
    gap: 17px 9px;
  }

  .category-tile {
    border-radius: 5px;
    padding: 0 5px 5px;
  }

  .category-name {
    min-height: 24px;
    font-size: clamp(10px, 1.9vw, 15px);
    padding: 4px 1px;
  }

  .detail-inner {
    gap: 20px;
    padding: 20px;
  }

  .conduct-card h2 {
    font-size: clamp(21px, 3.9vw, 30px);
  }

  .conduct-card li {
    font-size: clamp(13px, 2.3vw, 16px);
  }

  .contact-card h2 {
    font-size: clamp(22px, 3.7vw, 30px);
  }

  .person h3 {
    font-size: clamp(16px, 2.8vw, 20px);
  }

  .person a {
    font-size: clamp(13px, 2.4vw, 18px);
  }

  .map-frame {
    height: 210px;
  }
}

@media (max-width:480px) {
  .container {
    width: calc(100% - 24px);
  }

  .nav-links {
    left: -12px;
    right: -12px;
  }

  .hero-shell {
    background-position: center 47%;
  }

  .hero {
    padding-top: 23px;
    gap: 8px;
  }

  .hero-title {
    font-size: clamp(31px, 6.6vw, 39px);
    margin: 0 0 2px;
  }

  .hero-logo {
    width: 250px;
  }

  .register-btn {
    min-height: 39px;
    padding: 9px 16px;
    font-size: 15px;
    margin: 0;
  }

  .countdown-section {
    padding: 26px 0 31px;
  }

  .countdown-title {
    margin-bottom: 25px;
    padding: 5px 12px;
    font-size: clamp(20px, 6.4vw, 26px);
  }

  .countdown-grid {
    gap: 6px;
  }

  .countdown-block {
    min-height: 85px;
    padding: 9px 1px;
    border-radius: 4px;
  }

  .countdown-block strong {
    font-size: clamp(28px, 7.7vw, 38px);
  }

  .countdown-block span {
    font-size: clamp(12px, 3.25vw, 16px);
  }

  .about-section {
    padding-top: 24px;
  }

  .section-title {
    font-size: clamp(27px, 6.8vw, 34px);
    margin-bottom: 14px;
  }

  .about-panel {
    padding: 14px 13px;
  }

  .about-panel p {
    font-size: clamp(12.5px, 3.36vw, 15px);
  }

  .sponsors-section {
    padding: 29px 0 28px;
  }

  .sponsor-panel {
    min-height: 150px;
  }

  .page-banner {
    padding: 31px 0 20px;
  }

  .page-title {
    font-size: clamp(30px, 8.2vw, 40px);
  }

  .categories-grid {
    gap: 19px 7px;
  }

  .category-name {
    min-height: 23px;
    font-size: clamp(9px, 2.38vw, 12px);
  }

  .category-detail-wrap {
    margin-top: 10px;
  }

  .detail-heading {
    margin-bottom: 16px;
  }

  .detail-heading h2 {
    font-size: clamp(27px, 7vw, 38px);
  }

  .detail-close {
    width: 31px;
    height: 31px;
    font-size: 21px;
  }

  .detail-inner {
    grid-template-columns: 41% minmax(0, 1fr);
    gap: 14px;
    padding: 16px 13px;
  }

  .detail-description {
    gap: 9px;
  }

  .detail-description h3 {
    padding: 4px 8px;
    font-size: clamp(14px, 4vw, 18px);
  }

  .detail-description p {
    font-size: 12px;
  }

  .detail-description .btn-red {
    font-size: 13px;
    min-height: 32px;
    padding: 6px 8px;
  }

  .conduct-section {
    padding-bottom: 21px;
  }

  .conduct-card {
    margin-bottom: 16px;
  }

  .conduct-card h2 {
    font-size: clamp(18px, 5vw, 24px);
    padding: 6px;
  }

  .conduct-card-body {
    padding: 9px 11px;
  }

  .conduct-card li {
    font-size: clamp(12.3px, 3.3vw, 14px);
    line-height: 1.43;
    margin-bottom: 6px;
  }

  .contact-section {
    padding-bottom: 24px;
  }

  .contact-grid {
    gap: 9px;
  }

  .contact-card {
    padding: 15px 6px 20px;
  }

  .contact-card h2 {
    font-size: clamp(18px, 4.9vw, 23px);
    margin-bottom: 20px;
  }

  .people-list {
    gap: 27px;
  }

  .person h3 {
    font-size: clamp(12px, 3.5vw, 16px);
  }

  .person a {
    font-size: clamp(11px, 3vw, 14px);
  }

  /* Use full-width embed at phone sizes: Google Maps controls cannot be used in a 155px frame. */
  .site-footer {
    padding: 29px 0 31px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-grid h2 {
    font-size: clamp(25px, 6.5vw, 34px);
    margin-bottom: 13px;
  }

  .social-item {
    font-size: 16px;
    gap: 11px;
    margin-bottom: 10px;
  }

  .social-item img {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }

  .map-frame {
    height: 210px;
  }

  .map-directions {
    margin-top: 9px;
    font-size: 13px;
  }
}

@media (max-width:340px) {
  .category-name {
    font-size: 8px;
  }

  .contact-card h2 {
    font-size: 16px;
  }

  .person a {
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .motion-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Full-width background across the entire website */
body {
    background-position: top center;
    background-size: contain;
    background-repeat: repeat;
}

/* About and Sponsors sections should span the screen */
body[data-page="home"] .about-section,
body[data-page="home"] .sponsors-section {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Keep text panels centered, as in Canva */
body[data-page="home"] .about-panel,
body[data-page="home"] .sponsor-panel {
    width: min(calc(100% - 32px), 1040px);
    margin-left: auto;
    margin-right: auto;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    body[data-page="home"] .about-panel,
    body[data-page="home"] .sponsor-panel {
        width: calc(100% - 24px);
    }
}

/* Technovation IV — Canva alignment for Categories, Code of Conduct and Contact.
   Add to the BOTTOM of assets/css/style.css. Does not modify header, hero or footer. */

/* The Canva page mockups use centered headings close to the cards. */
body:is([data-page="categories"], [data-page="code-of-conduct"], [data-page="contact"]) .page-banner {
  padding-top: clamp(28px, 3.8vw, 54px);
  padding-bottom: clamp(21px, 2.4vw, 36px);
}
body:is([data-page="categories"], [data-page="code-of-conduct"], [data-page="contact"]) .page-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -.015em;
}

/* CATEGORIES: Canva has 3 columns, 4 rows, red portrait boxes,
   and blue name bars attached to each box's lower edge. */
body[data-page="categories"] .categories-section {
  width: min(calc(100% - 5vw), 1210px);
  max-width: none;
  padding: 0 0 clamp(48px, 5vw, 88px);
}
body[data-page="categories"] .categories-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(10px, 1.45vw, 24px);
  row-gap: clamp(24px, 5.4vw, 77px);
}
body[data-page="categories"] .category-tile {
  aspect-ratio: 0.785;
  padding: 0 clamp(5px, .65vw, 10px) clamp(5px, .65vw, 10px);
  border-radius: 15px;
  background: #550708;
}
body[data-page="categories"] .category-name {
  min-height: clamp(27px, 3.6vw, 53px);
  background: #0c1d3c;
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(11px, 1.3vw, 18px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}
/* Canva's detail artwork placeholder is landscape (about 76:66), not portrait. */
body[data-page="categories"] .category-detail-wrap {
  max-width: 1050px;
  margin: 0 auto 35px;
}
body[data-page="categories"] .detail-inner {
      background: #0c1d3c;
  grid-template-columns: 41% minmax(0, 1fr);
  gap: clamp(16px, 2.6vw, 38px);
}
body[data-page="categories"] .detail-graphic {
  /* aspect-ratio: 1.15 / 1; */
  background: transparent;
}

/* CODE OF CONDUCT: five full-width dark-blue cards, with red title bars.
   Height follows the text instead of being forced to Canva's small fixed canvas. */
body[data-page="code-of-conduct"] .conduct-section {
  width: min(calc(100% - 5vw), 1220px);
  max-width: none;
  padding: 0 0 clamp(28px, 4vw, 58px);
}
body[data-page="code-of-conduct"] .conduct-card {
  margin-bottom: clamp(20px, 2.9vw, 42px);
  border-radius: 0 0 9px 9px;
  background: #0c1d3c;
}
body[data-page="code-of-conduct"] .conduct-card h2 {
  padding: clamp(8px, .9vw, 15px) 14px;
  font-size: clamp(22px, 2.65vw, 38px);
  line-height: 1.13;
  background: #550708;
}
body[data-page="code-of-conduct"] .conduct-card-body {
  padding: clamp(12px, 1.5vw, 22px) clamp(16px, 2vw, 30px) clamp(16px, 1.7vw, 25px);
}
body[data-page="code-of-conduct"] .conduct-card li {
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.44;
  margin-bottom: clamp(5px, .58vw, 9px);
}

/* CONTACT: two equal red panels with evenly spaced, centered contact entries. */
body[data-page="contact"] .contact-section {
  width: min(calc(100% - 7vw), 1150px);
  max-width: none;
  padding: 0 0 clamp(35px, 4.3vw, 65px);
}
body[data-page="contact"] .contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.1vw, 30px);
  align-items: stretch;
}
body[data-page="contact"] .contact-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  /* Canva panels are deliberately tall relative to their width. */
  aspect-ratio: .64;
  min-height: 0;
  padding: clamp(22px, 2.3vw, 36px) clamp(12px, 1.9vw, 28px);
  background: #550708;
  border-radius: 4px;
  text-align: center;
}
body[data-page="contact"] .contact-card h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 2.65vw, 39px);
}
body[data-page="contact"] .people-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: clamp(16px, 2vw, 30px);
}
body[data-page="contact"] .person h3 {
  margin-bottom: 3px;
  font-size: clamp(17px, 1.65vw, 25px);
}
body[data-page="contact"] .person a {
  font-size: clamp(14px, 1.43vw, 21px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* Tablets / mobiles: preserve Canva's three category columns and two contact
   columns as long as the text remains usable. */
@media (max-width: 700px) {
  body:is([data-page="categories"], [data-page="code-of-conduct"], [data-page="contact"]) .page-banner {
    padding-top: 29px;
    padding-bottom: 21px;
  }
  body[data-page="categories"] .categories-section,
  body[data-page="code-of-conduct"] .conduct-section,
  body[data-page="contact"] .contact-section {
    width: calc(100% - 24px);
  }
  body[data-page="categories"] .categories-grid {
    column-gap: 9px;
    row-gap: 23px;
  }
  body[data-page="categories"] .category-name {
    font-size: clamp(10px, 3.4vw, 14px);
    min-height: 27px;
  }
  body[data-page="code-of-conduct"] .conduct-card li {
    font-size: 14px;
    line-height: 1.46;
  }
  body[data-page="contact"] .contact-card {
    aspect-ratio: auto;
    min-height: 330px;
    padding: 17px 9px 22px;
  }
  body[data-page="contact"] .contact-card h2 {
    font-size: clamp(19px, 4vw, 28px);
    margin-bottom: 10px;
  }
  body[data-page="contact"] .person h3 {font-size: clamp(13px, 2.65vw, 18px);}
  body[data-page="contact"] .person a {font-size: clamp(12px, 2.4vw, 16px);}
}
@media (max-width: 420px) {
  body[data-page="categories"] .categories-grid {column-gap: 7px; row-gap: clamp(24px, 8vw, 34px);}
  body[data-page="categories"] .category-tile {padding: 0 4px 5px;}
  body[data-page="categories"] .category-name {font-size: 10px; min-height: 25px;}
  body[data-page="categories"] .detail-inner {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  body[data-page="categories"] .detail-graphic {max-width: 270px; margin: auto;}
  body[data-page="categories"] .detail-description p {font-size: 14px;}
  body[data-page="code-of-conduct"] .conduct-card-body {padding: 11px 12px 15px;}
  body[data-page="code-of-conduct"] .conduct-card li {font-size: 13.5px;}
  body[data-page="contact"] .contact-grid {gap: 10px;}
  body[data-page="contact"] .contact-card {min-height: 340px; padding: 15px 6px 19px;}
  body[data-page="contact"] .contact-card h2 {font-size: clamp(17px, 4.2vw, 23px);}
  body[data-page="contact"] .people-list {gap: 14px;}
  body[data-page="contact"] .person h3 {font-size: 12.5px;}
  body[data-page="contact"] .person a {font-size: 11.5px;}
}

/* Remove main background image from homepage */
body[data-page="home"] {
    background-image: none !important;
    background-color: #111b39;
}

/* One continuous background for both sections */
body[data-page="home"] .home-info-bg {
    width: 100%;
    background-image: url('../img/bg-pattern.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Remove separate section backgrounds */
body[data-page="home"] .home-info-bg .about-section,
body[data-page="home"] .home-info-bg .sponsors-section {
    background: transparent !important;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 50px 20px;
}

/* Center content panels */
body[data-page="home"] .home-info-bg .about-panel,
body[data-page="home"] .home-info-bg .sponsor-panel {
    width: min(100%, 1040px);
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    body[data-page="home"] .home-info-bg .about-section,
    body[data-page="home"] .home-info-bg .sponsors-section {
        padding: 35px 12px;
    }
}
@media (max-width: 700px) {
  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))!important;
  }
}

/* Sponsors Section */
.sponsors-section {
    padding-top: 32px;
    padding-bottom: 48px;
}

.sponsor-panel {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 26px 34px;
    background: rgba(122, 0, 0, 0.92);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
}

.sponsor-subtitle {
    margin: 0 0 24px;
    text-align: center;
    color: #f6eaea;
    font-size: 18px;
    line-height: 1.5;
    font-family: var(--serif);
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* First row: 3 cards */
.sponsor-card:nth-child(1) {
    grid-column: span 4;
}
.sponsor-card:nth-child(2) {
    grid-column: span 4;
}
.sponsor-card:nth-child(3) {
    grid-column: span 4;
}

/* Second row: 2 centered cards */
.sponsor-card:nth-child(4) {
    grid-column: 3 / span 4;
}
.sponsor-card:nth-child(5) {
    grid-column: 7 / span 4;
}

.sponsor-card {
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.sponsor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.sponsor-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
    pointer-events: none;
}

.sponsor-card img {
    max-width: 100%;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

/* slightly larger room for wide logos */
.sponsor-card:nth-child(1) img,
.sponsor-card:nth-child(3) img,
.sponsor-card:nth-child(4) img {
    max-height: 95px;
}

/* Mobile / Tablet */
@media (max-width: 991px) {
    .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sponsor-card:nth-child(1),
    .sponsor-card:nth-child(2),
    .sponsor-card:nth-child(3),
    .sponsor-card:nth-child(4),
    .sponsor-card:nth-child(5) {
        grid-column: span 1;
    }

    .sponsor-card {
        min-height: 165px;
    }
}

@media (max-width: 575px) {
    .sponsor-panel {
        padding: 20px 14px 24px;
        border-radius: 16px;
    }

    .sponsor-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sponsor-card {
        min-height: 150px;
        padding: 18px;
        border-radius: 14px;
    }

    .sponsor-card img {
        max-height: 88px;
    }

    .sponsor-subtitle {
        font-size: 15px;
        margin-bottom: 18px;
    }
}


/* ==========================================
   TECHNOVATION — PREMIUM SPONSOR ANIMATIONS
   ========================================== */

.sponsors-section .sponsor-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    transition:
        transform 0.4s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;

    border: 1px solid rgba(255,255,255,0.7);
}

/* Staggered cinematic entrance */
.sponsors-section.is-visible .sponsor-card {
    animation: sponsorReveal 0.75s
        cubic-bezier(.22, 1, .36, 1) both;
}

.sponsors-section.is-visible .sponsor-card:nth-child(1) {
    animation-delay: 0.08s;
}

.sponsors-section.is-visible .sponsor-card:nth-child(2) {
    animation-delay: 0.18s;
}

.sponsors-section.is-visible .sponsor-card:nth-child(3) {
    animation-delay: 0.28s;
}

.sponsors-section.is-visible .sponsor-card:nth-child(4) {
    animation-delay: 0.38s;
}

.sponsors-section.is-visible .sponsor-card:nth-child(5) {
    animation-delay: 0.48s;
}

@keyframes sponsorReveal {
    from {
        opacity: 0;
        translate: 0 25px;
        filter: blur(4px);
    }

    to {
        opacity: 1;
        translate: 0 0;
        filter: blur(0);
    }
}

/* Mouse-following soft spotlight */
.sponsors-section .sponsor-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background: radial-gradient(
        220px circle at
        var(--pointer-x, 50%)
        var(--pointer-y, 50%),
        rgba(59, 92, 151, 0.17),
        transparent 75%
    );

    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Glossy cinematic light sweep */
.sponsors-section .sponsor-card::after {
    content: "";
    position: absolute;

    top: -55%;
    left: -100%;
    width: 45%;
    height: 210%;

    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.65),
        transparent
    );

    transform: rotate(22deg);
    transition: left 0.75s
        cubic-bezier(.22, 1, .36, 1);
}

/* Logo movement */
.sponsors-section .sponsor-card img {
    position: relative;
    z-index: 2;

    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;

    transition: transform 1.45s
        cubic-bezier(.22, 1, .36, 1);
}

/* Desktop interactive effects */
@media (hover: hover) and (pointer: fine) {

    .sponsors-section .sponsor-card:hover {
        transform: translateY(-7px) scale(1.015);

        border-color: rgba(90, 145, 240, 0.65);

        box-shadow:
            0 18px 38px rgba(0,0,0,0.24),
            0 0 24px rgba(59,92,151,0.15);
    }

    .sponsors-section .sponsor-card:hover::before {
        opacity: 1;
    }

    .sponsors-section .sponsor-card:hover::after {
        left: 145%;
    }

    .sponsors-section .sponsor-card:hover img {
        transform: scale(1.055);
    }
}

/* Mobile: remove unnecessary hover motion */
@media (max-width: 700px) {
    .sponsors-section .sponsor-card {
        transform: none;
    }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {

    .sponsors-section.is-visible .sponsor-card {
        animation: none;
    }

    .sponsors-section .sponsor-card,
    .sponsors-section .sponsor-card img,
    .sponsors-section .sponsor-card::after {
        transition: none;
    }

    .sponsors-section .sponsor-card:hover,
    .sponsors-section .sponsor-card:hover img {
        transform: none;
    }
}

/* Slower and smoother sponsor entrance */
.sponsors-section.is-visible .sponsor-card {
    animation-duration: 1.3s;
}

/* Delay each sponsor card */
.sponsors-section.is-visible .sponsor-card:nth-child(1) {
    animation-delay: 0.2s;
}

.sponsors-section.is-visible .sponsor-card:nth-child(2) {
    animation-delay: 0.4s;
}

.sponsors-section.is-visible .sponsor-card:nth-child(3) {
    animation-delay: 0.6s;
}

.sponsors-section.is-visible .sponsor-card:nth-child(4) {
    animation-delay: 0.8s;
}

.sponsors-section.is-visible .sponsor-card:nth-child(5) {
    animation-delay: 1.0s;
}

/* ==========================================
   INDIVIDUAL BOX FADE-IN ANIMATIONS
   Code of Conduct + Contact Us
   ========================================== */

/* Initial hidden state */
.motion-ready body[data-page="code-of-conduct"] .conduct-card.reveal,
.motion-ready body[data-page="contact"] .contact-card.reveal {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.9s cubic-bezier(.22, 1, .36, 1),
        transform 0.9s cubic-bezier(.22, 1, .36, 1);
}

/* Reveal each box when it enters the viewport */
.motion-ready body[data-page="code-of-conduct"] .conduct-card.reveal.is-visible,
.motion-ready body[data-page="contact"] .contact-card.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* CODE OF CONDUCT — individual staggered timing */
.motion-ready .conduct-card:nth-child(1).is-visible {
    transition-delay: 0.1s;
}

.motion-ready .conduct-card:nth-child(2).is-visible {
    transition-delay: 0.2s;
}

.motion-ready .conduct-card:nth-child(3).is-visible {
    transition-delay: 0.3s;
}

.motion-ready .conduct-card:nth-child(4).is-visible {
    transition-delay: 0.4s;
}

.motion-ready .conduct-card:nth-child(5).is-visible {
    transition-delay: 0.5s;
}

/* CONTACT US — animate both boxes separately */
.motion-ready .contact-card:nth-child(1).is-visible {
    transition-delay: 0.15s;
}

.motion-ready .contact-card:nth-child(2).is-visible {
    transition-delay: 0.45s;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .motion-ready .conduct-card.reveal,
    .motion-ready .contact-card.reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Mobile Category Details: Image above Description */
@media (max-width: 700px) {

    body[data-page="categories"] .detail-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 16px;
    }

    body[data-page="categories"] .detail-graphic {
        width: 100%;
        aspect-ratio: auto;
        margin: 0 auto;
    }

    body[data-page="categories"] .detail-description {
        width: 100%;
        align-items: flex-start;
    }
    .detail-description p {
        font-size: 16px;
    }
    .detail-description .btn-red {
        font-size: 16px;
        min-height: 36px;
        padding: 9px 8px;
        margin-top: 18px;
    }
}

/* Mobile sponsors: 2 + 2 + 1 centered */
@media (max-width: 575px) {

    .sponsors-section .sponsor-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .sponsors-section .sponsor-card {
        grid-column: span 1;
        min-width: 0;
        min-height: 130px;
        padding: 12px;
    }

    /* Center the last sponsor */
    .sponsors-section .sponsor-card:nth-child(5) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 7px);
    }

    .sponsors-section .sponsor-card img {
        max-width: 100%;
        max-height: 85px;
        object-fit: contain;
    }
}
/* Category grid images stay behind the existing category name bar. */
body[data-page="categories"] .category-tile {
    position: relative;
    isolation: isolate;
}
body[data-page="categories"] .category-tile-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}
/* Keep the existing pointer spotlight above the artwork. */
body[data-page="categories"] .category-tile::before { z-index: 1; }
body[data-page="categories"] .category-tile::after { z-index: 2; }
body[data-page="categories"] .category-tile .category-name {
    position: relative;
    z-index: 3;
}

/* Full category image displays within the blue image container. */
body[data-page="categories"] .detail-graphic {
    overflow: hidden;
}
body[data-page="categories"] .detail-graphic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.hero-title {
    font: 700 clamp(44px, 2.4vw, 77px) / 1.07 var(--serif);
}
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(25px, 5.6vw, 39px);
        margin: 0 0 2px;
    }
}
.highlight{
  font: 700 clamp(60px, 5vw, 77px) / 1.07 var(--serif);
      border-bottom: 4px solid #550708;
}
@media (max-width: 480px) {
.highlight{
font-size: clamp(40px, 6.6vw, 39px);
}
}

/* =============================================================
   SPONSORS: continuous single-row, seamless infinite marquee
   This block intentionally overrides the OLD 3+2 grid and
   individual sponsor entrance/hover animation rules above.
   ============================================================= */
.sponsors-section .sponsor-panel {
    min-height: 0;
    padding: 24px 0;
    overflow: hidden;
}

.sponsors-section .sponsor-marquee {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.sponsors-section .sponsor-track {
    display: flex;
    width: max-content;
    animation: tvSponsorsScroll 28s linear infinite;
    will-change: transform;
}

/* Each set is exactly the same width. Its right padding is
   the gap between the final and first logo at the loop seam. */
.sponsors-section .sponsor-set {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 22px;
    padding-right: 22px;
}

.sponsors-section .sponsor-marquee .sponsor-card {
    display: flex;
    flex: 0 0 clamp(180px, 19vw, 220px);
    width: clamp(180px, 19vw, 220px);
    height: 130px;
    min-height: 0;
    padding: 14px;
    grid-column: auto !important;
    justify-self: auto !important;
    margin: 0;
    animation: none !important;  /* disables staggered sponsorReveal */
    transform: none !important;  /* disables individual hover movement */
    transition: none !important;
}

.sponsors-section .sponsor-marquee .sponsor-card img {
    max-width: 100%;
    max-height: 92px;
    width: auto;
    height: auto;
    object-fit: contain;
    transform: none !important;
    transition: none !important;
}

.sponsors-section .sponsor-marquee .sponsor-card::before,
.sponsors-section .sponsor-marquee .sponsor-card::after {
    display: none !important; /* removes hover flashes and sweeping shine */
}

@keyframes tvSponsorsScroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 575px) {
    .sponsors-section .sponsor-set { gap: 16px; padding-right: 16px; }
    .sponsors-section .sponsor-marquee .sponsor-card {
        flex-basis: 170px;
        width: 170px;
        height: 110px;
        padding: 12px;
    }
    .sponsors-section .sponsor-marquee .sponsor-card img { max-height: 82px; }
    .sponsors-section .sponsor-track { animation-duration: 24s; }
}

/* Accessibility: stop the movement for reduced-motion users. */
@media (prefers-reduced-motion: reduce) {
    .sponsors-section .sponsor-track { animation: none !important; }
    .sponsors-section .sponsor-marquee {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .sponsors-section .sponsor-set[aria-hidden="true"] { display: none; }
}

/* Custom cursor across the entire website */

/* ============================================================
   TECHNOVATION IV — homepage hero layout (reference 02 Nov 2026)
   Existing index.php markup is unchanged:
   .hero-title (first in HTML), .hero-logo, .register-btn.
   Grid places logo LEFT, title RIGHT, button BELOW both.
   ============================================================ */

/* Desktop and tablet: side-by-side logo and title. */
.hero-shell .hero.container {
    display: grid;
    grid-template-columns: minmax(0, 27%) minmax(0, 1fr);
    column-gap: clamp(16px, 3vw, 38px);
    row-gap: 0;
    align-items: center;
    width: min(calc(100% - 44px), 900px);
    max-width: 900px;
    margin-inline: auto;
    padding-top: 0px;
    text-align: initial;
}

/* Keep HTML order as-is; position visual elements with grid. */
.hero-shell .hero .hero-logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    display: block;
    width: 100%;
    max-width: 235px;
    max-height: 235px;
    height: auto;
    object-fit: contain;
    margin: 0;
}

.hero-shell .hero .hero-title {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    align-self: center;
    min-width: 0;
    margin: 0;
    text-align: right;
    font: 700 clamp(28px, 3.4vw, 40px)/1.12 var(--serif);
    letter-spacing: -0.012em;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.5);
}

.hero-shell .hero .hero-title .highlight {
    display: inline-block;
    white-space: nowrap;
    font: 700 clamp(34px, 5vw, 50px)/1.08 var(--serif);
}

/* Button centered under both the logo and the title. */
.hero-shell .hero .register-btn {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    align-self: center;
    width: min(100%, 285px);
    min-height: 48px;
    margin-top: 16rem;
    padding: 8px 22px;
    border-radius: 28px;
    font-size: clamp(20px, 2.5vw, 28px);
}

/* EVENT STARTS IN: thin maroon lines to both sides, no red pill. */
.hero-shell .countdown-section {
    padding-top: clamp(22px, 3vw, 35px);
    padding-bottom: clamp(32px, 4vw, 52px);
}

.hero-shell .countdown-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2.4vw, 25px);
    width: min(100%, 680px);
    margin: 0 auto 8px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    white-space: nowrap;
    font: 700 clamp(19px, 2.5vw, 29px)/1.2 var(--serif);
}

.hero-shell .countdown-title::before,
.hero-shell .countdown-title::after {
    content: "";
    display: block;
    flex: 1 1 0;
    min-width: 12px;
    height: 2px;
    background: #720c18;
}

/* Red countdown cards arranged on one consistent horizontal row. */
.hero-shell .countdown-grid {
    width: min(100%, 610px);
    gap: clamp(5px, 0.8vw, 10px);
}

.hero-shell .countdown-block {
    min-height: clamp(104px, 13vw, 132px);
    border-radius: 22px;
    background: #6b080a;
    opacity: 1;
}

/* Phones: retain logo-left/title-right layout without overlap. */
@media (max-width: 700px) {
    .hero-shell .hero.container {
        grid-template-columns: minmax(0, 28%) minmax(0, 1fr);
        column-gap: clamp(8px, 2.5vw, 14px);
        width: calc(100% - 24px);
        padding-top: 22px;
        gap: 0 clamp(8px, 2.5vw, 14px);
    }

    .hero-shell .hero .hero-logo {
        width: 100%;
        max-width: 145px;
        max-height: 150px;
    }

    .hero-shell .hero .hero-title {
        font-size: clamp(19px, 4.9vw, 33px);
        line-height: 1.12;
    }

    .hero-shell .hero .hero-title .highlight {
        font-size: clamp(21px, 5.4vw, 37px);
        line-height: 1.08;
    }

    .hero-shell .hero .register-btn {
        width: min(100%, 265px);
        min-height: 43px;
        margin-top: 6rem;
        padding: 8px 16px;
        font-size: 20px;
    }

    .hero-shell .countdown-section {
        padding-top: 24px;
        padding-bottom: 32px;
    }

    .hero-shell .countdown-title {
        gap: 9px;
        margin-bottom: 10px;
        font-size: clamp(17px, 4vw, 23px);
    }

    .hero-shell .countdown-block {
        min-height: 90px;
        border-radius: 12px;
    }
}

@media (max-width: 360px) {
    .hero-shell .hero .hero-title { font-size: 18px; }
    .hero-shell .hero .hero-title .highlight { font-size: 20px; }
    .hero-shell .countdown-title { font-size: 16px; }
}

/* Logo 50% Left, Heading 50% Right */
.hero-shell .hero.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
    width: min(100% - 32px, 900px);
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

/* Logo: right side of left 50% */
.hero-shell .hero .hero-logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    width: 100%;
    max-width: 270px;
}

/* Heading: left side of right 50% */
.hero-shell .hero .hero-title {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    text-align: left;
}

/* Register button remains centered */
.hero-shell .hero .register-btn {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
}

/* Mobile */
@media (max-width: 700px) {
    .hero-shell .hero.container {
        grid-template-columns: 1fr 1fr;
        column-gap: 8px;
    }

    .hero-shell .hero .hero-logo {
        max-width: 170px;
    }

    .hero-shell .hero .hero-title {
        text-align: left;
        font-size: clamp(16px, 4vw, 26px);
    }

    .hero-shell .hero .hero-title .highlight {
        font-size: clamp(18px, 5vw, 30px);
    }
}


    .matrix{
          display: block; text-align: right;
    }
