/* =========================================================
   MDM 2027 | University of Oklahoma
   Global Stylesheet
   File: Assets/CSS/styles.css

   Visual direction:
   University credibility + engineering competition +
   medical-device innovation.
   ========================================================= */

/* ---------------------------------------------------------
   1. Design Tokens
--------------------------------------------------------- */

:root {
  --ou-crimson: #841617;
  --ou-crimson-dark: #5d1011;
  --ou-crimson-deep: #3f0b0c;
  --ou-crimson-light: #a82328;
  --ou-crimson-soft: #f5e9e9;

  --ink: #101214;
  --black: #101214;
  --charcoal: #202428;
  --charcoal-2: #2b3035;
  --dark-gray: #41474d;
  --gray: #687078;
  --medium-gray: #929aa2;
  --light-gray: #f3f4f5;
  --lighter-gray: #fafafa;
  --paper: #f7f4ef;
  --border: #dfe2e5;
  --border-dark: #c9ced3;
  --white: #ffffff;

  --success: #1f7a4d;
  --warning: #a85d08;
  --danger: #b91c1c;

  --max-width: 1240px;
  --wide-width: 1440px;
  --content-width: 860px;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --shadow-xs: 0 2px 8px rgba(16, 18, 20, 0.06);
  --shadow-sm: 0 8px 24px rgba(16, 18, 20, 0.09);
  --shadow-md: 0 18px 44px rgba(16, 18, 20, 0.13);
  --shadow-lg: 0 28px 70px rgba(16, 18, 20, 0.2);

  --transition-fast: 160ms ease;
  --transition: 220ms ease;
  --transition-slow: 360ms ease;

  --grid-line: rgba(255, 255, 255, 0.055);
}

/* ---------------------------------------------------------
   2. Reset and Base
--------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--ou-crimson);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid rgba(132, 22, 23, 0.38);
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   3. Typography
--------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.04;
  font-weight: 900;
}

h1 {
  font-size: clamp(3rem, 6.5vw, 6rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2.15rem, 4.4vw, 3.85rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
}

h4 {
  font-size: 1rem;
}

p {
  color: var(--gray);
}

strong {
  color: inherit;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ou-crimson);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--dark-gray);
  max-width: 760px;
}

.display-line {
  display: block;
}

.text-center {
  text-align: center;
}

.text-crimson {
  color: var(--ou-crimson);
}

.text-muted {
  color: var(--gray);
}

.text-white {
  color: var(--white);
}

/* ---------------------------------------------------------
   4. Layout Utilities
--------------------------------------------------------- */

.container {
  width: min(100% - 3rem, var(--max-width));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 3rem, var(--wide-width));
  margin-inline: auto;
}

.content-container {
  width: min(100% - 3rem, var(--content-width));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(4.25rem, 7vw, 7rem) 0;
}

.section-sm {
  padding: 3.2rem 0;
}

.section-lg {
  padding: clamp(6rem, 9vw, 9rem) 0;
}

.section-light {
  background: var(--light-gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-paper {
  background: var(--paper);
}

.section-dark {
  background: var(--paper);
  color: var(--ink);
}

.section-crimson {
  background: var(--ou-crimson);
  color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--ink);
}

.section-dark p {
  color: var(--gray);
  opacity: 1;
}

.section-crimson h1,
.section-crimson h2,
.section-crimson h3,
.section-crimson h4,
.section-crimson p {
  color: var(--white);
}

.section-crimson p {
  opacity: 0.9;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header p {
  max-width: 600px;
  font-weight: 500;
}

.section-rule {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* ECG-inspired divider. Works with an empty element. */
.ecg-divider {
  position: relative;
  height: 42px;
  margin: 1.5rem 0;
  overflow: hidden;
}

.ecg-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: var(--ou-crimson);
  transform: translateY(-50%);
}

.ecg-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 28px;
  background:
    linear-gradient(135deg, transparent 0 24%, var(--ou-crimson) 25% 28%, transparent 29% 43%, var(--ou-crimson) 44% 47%, transparent 48% 61%, var(--ou-crimson) 62% 65%, transparent 66%);
  transform: translate(-50%, -50%);
}

/* ---------------------------------------------------------
   5. Institutional Bar and Navigation
--------------------------------------------------------- */

.top-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  letter-spacing: 0.035em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  width: min(100% - 3rem, var(--max-width));
  margin-inline: auto;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.institutional-watermark {
  width: 210px;
  max-height: 28px;
  object-fit: contain;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(16, 18, 20, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 10px 30px rgba(16, 18, 20, 0.12);
}

.nav {
  width: min(100% - 3rem, var(--max-width));
  margin-inline: auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 220px;
}

/* Legacy text mark retained until HTML is updated. */
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--ou-crimson);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

/* Preferred header mark for the next HTML pass.
   Source path: Assets/Images/Logos/logo_transparent_background.png */
.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: var(--ink);
}

.brand-text span {
  display: block;
  color: var(--gray);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  padding: 0.65rem 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.3rem;
  width: 100%;
  height: 2px;
  background: var(--ou-crimson);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ou-crimson);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ---------------------------------------------------------
   6. Buttons
--------------------------------------------------------- */

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  cursor: pointer;
  line-height: 1.2;
}

.button:hover,
.btn:hover {
  transform: translateY(-2px);
}

.button-primary,
.btn-primary {
  background: var(--ou-crimson);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(132, 22, 23, 0.23);
}

.button-primary:hover,
.btn-primary:hover {
  background: var(--ou-crimson-dark);
  box-shadow: 0 14px 30px rgba(132, 22, 23, 0.3);
}

.button-secondary,
.btn-secondary {
  background: transparent;
  color: var(--ou-crimson);
  border-color: var(--ou-crimson);
}

.button-secondary:hover,
.btn-secondary:hover {
  background: var(--ou-crimson-soft);
}

.button-dark,
.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover,
.btn-dark:hover {
  background: var(--charcoal-2);
}

.button-light,
.btn-light {
  background: var(--white);
  color: var(--ou-crimson);
  border-color: var(--white);
}

.button-light:hover,
.btn-light:hover {
  background: var(--light-gray);
  border-color: var(--light-gray);
}

.button-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------------------------------------------------------
   7. Homepage Hero
--------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 24%, rgba(166, 35, 40, 0.34), transparent 34%),
    linear-gradient(118deg, #0f1113 0%, #171a1d 45%, #4b0c0f 100%);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -280px;
  bottom: -320px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.025),
    0 0 0 160px rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 3rem, var(--max-width));
  margin-inline: auto;
  min-height: 660px;
  padding: clamp(5rem, 8vw, 8rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.75fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.hero .eyebrow,
.hero .kicker,
.hero h1,
.hero p {
  color: var(--white);
}

.hero h1 {
  max-width: 860px;
  text-transform: uppercase;
}

.hero p {
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
  margin-top: 1.35rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Preferred visual for next HTML pass. */
.hero-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 68%);
  filter: blur(2px);
}

.hero-logo {
  position: relative;
  width: min(100%, 430px);
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.35));
}

/* Legacy hero card is retained and restyled until HTML changes. */
.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.hero-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.date-block {
  border-left: 5px solid var(--ou-crimson);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

.date-block strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.2;
}

.date-block span {
  color: var(--gray);
  font-weight: 800;
}

.quick-info {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.quick-info div {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--ou-crimson-soft);
  border: 1px solid rgba(132, 22, 23, 0.18);
  color: var(--ink);
}

.quick-info div strong {
  color: var(--ou-crimson);
}

.quick-info div p {
  color: var(--charcoal);
}

/* ---------------------------------------------------------
   8. Interior Page Header
--------------------------------------------------------- */

.page-header {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.11), transparent 28%),
    linear-gradient(120deg, var(--ink) 0%, var(--charcoal) 55%, var(--ou-crimson-deep) 100%);
  padding: clamp(4.5rem, 7vw, 7rem) 0;
  isolation: isolate;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.78;
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1,
.page-header p,
.page-header .eyebrow,
.page-header .kicker {
  color: var(--white);
}

.page-header h1 {
  max-width: 980px;
}

.page-header p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  margin-top: 1.2rem;
}

/* ---------------------------------------------------------
  9. Stats / Competition Band
--------------------------------------------------------- */

.stats-band {
  background: var(--paper);
  padding: 2rem 0;
  border-top: 1px solid rgba(132, 22, 23, 0.08);
  border-bottom: 1px solid rgba(132, 22, 23, 0.12);
}


/* Slightly narrower than the main content area */

.stats-band .container {
  width: min(100% - 3rem, 1120px);
}


/* Main stats group */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  margin: 0 auto;

  background: rgba(132, 22, 23, 0.12);

  border: 1px solid rgba(132, 22, 23, 0.2);
  border-radius: var(--radius-md);

  overflow: hidden;

  box-shadow: var(--shadow-xs);
}


/* Individual stat */

.stat {
  position: relative;

  min-height: 132px;

  padding: 1.35rem 1.5rem 1.3rem;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: var(--ou-crimson-soft);
}


/* Dividers between stats */

.stat + .stat {
  border-left: 1px solid rgba(132, 22, 23, 0.16);
}


/* Crimson accent at the top */

.stat::before {
  content: "";

  position: absolute;

  top: 0;
  left: 1.5rem;

  width: 48px;
  height: 4px;

  background: var(--ou-crimson);
}


/* Main number */

.stat strong {
  display: block;

  width: fit-content;

  color: var(--ou-crimson);

  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 900;

  line-height: 1;

  letter-spacing: -0.045em;
}


/* Main label */

.stat span {
  display: block;

  margin-top: 0.5rem;

  color: var(--charcoal);

  font-size: 0.8rem;
  font-weight: 900;

  line-height: 1.25;

  letter-spacing: 0.04em;
}


/* Supporting line */

.stat small {
  display: block;

  margin-top: 0.35rem;

  max-width: 230px;

  color: var(--gray);

  font-size: 0.74rem;
  font-weight: 500;

  line-height: 1.4;
}


/* ---------------------------------------------------------
   Tablet
--------------------------------------------------------- */

@media (max-width: 980px) {

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid rgba(132, 22, 23, 0.16);
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

}


/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */

@media (max-width: 600px) {

  .stats-band {
    padding: 1.5rem 0;
  }

  .stats-band .container {
    width: min(100% - 2rem, 1120px);
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: auto;
    padding: 1.25rem 1.35rem;
  }

  .stat + .stat {
    border-left: 0;
    border-top: 1px solid rgba(132, 22, 23, 0.16);
  }

  .stat::before {
    left: 1.35rem;
  }

  .stat small {
    max-width: none;
  }

}

/* ---------------------------------------------------------
   10. Cards and Content Grids
--------------------------------------------------------- */

.cards,
.cards-3,
.cards-2 {
  display: grid;
  gap: 1.2rem;
}

.cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.info-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.card {
  min-height: 220px;
}

.card:hover,
.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(132, 22, 23, 0.35);
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 1.2rem;
  border-bottom: 4px solid var(--ou-crimson);
}

.card h3,
.info-card h3 {
  margin-bottom: 0.7rem;
}

.card p,
.info-card p {
  font-size: 0.95rem;
}

.highlight-card,
.panel {
  position: relative;
  overflow: hidden;
  background: var(--ou-crimson-soft);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.highlight-card::after,
.panel::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -80px;
  bottom: -80px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 32px rgba(255, 255, 255, 0.025);
}

.highlight-card h2,
.highlight-card h3,
.panel h2,
.panel h3 {
  color: var(--ink);
}

.highlight-card p,
.panel p {
  color: var(--charcoal);
}

/* ---------------------------------------------------------
   11. Feature Splits and Photography
--------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.feature-media {
  position: relative;
}

.feature-media img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.feature-media::after {
  content: "";
  position: absolute;
  left: -14px;
  bottom: -14px;
  width: 42%;
  height: 42%;
  border-left: 5px solid var(--ou-crimson);
  border-bottom: 5px solid var(--ou-crimson);
  pointer-events: none;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  grid-auto-rows: 220px;
  gap: 0.75rem;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.photo-grid img:first-child {
  grid-row: span 2;
}

/* ---------------------------------------------------------
   12. Competition Process
--------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-step {
  position: relative;
  padding: 1.8rem 1rem;
  border-right: 1px solid var(--border);
}

.process-step:last-child {
  border-right: 0;
}

.process-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.6rem;
  color: var(--ou-crimson);
  background: var(--ou-crimson-soft);
  border: 2px solid var(--ou-crimson);
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.process-step h3 {
  margin-top: 0.65rem;
  font-size: 1rem;
}

.process-step p {
  margin-top: 0.5rem;
  font-size: 0.86rem;
}

/* ---------------------------------------------------------
   13. Timelines and Schedules
--------------------------------------------------------- */

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

.timeline-item {
  position: relative;
  background: var(--ou-crimson-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  min-height: 170px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--ou-crimson);
}

.timeline-item span {
  color: var(--ou-crimson);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
}

.timeline-item h3 {
  margin: 0.55rem 0;
  font-size: 1.08rem;
  color: var(--ink);
}

.timeline-item p {
  font-size: 0.91rem;
  color: var(--gray);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
}

.schedule-table th,
.schedule-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.schedule-table th {
  background: var(--ou-crimson);
  color: var(--white);
  font-weight: 900;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tbody tr:hover td {
  background: var(--lighter-gray);
}

.schedule-day {
  background: var(--ou-crimson-deep) !important;
  color: var(--white) !important;
  font-weight: 900;
  letter-spacing: 0.09em;
}

/* ---------------------------------------------------------
   14. Resources and Downloads
--------------------------------------------------------- */

.resource-list {
  display: grid;
  gap: 0.8rem;
}

.resource {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.resource:hover {
  border-color: rgba(132, 22, 23, 0.35);
  box-shadow: var(--shadow-xs);
}

.resource strong {
  display: block;
}

.resource span {
  color: var(--gray);
  font-size: 0.9rem;
}

.resource a {
  color: var(--ou-crimson);
  font-weight: 900;
  white-space: nowrap;
}

.document-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
}

.document-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--ou-crimson-soft);
  color: var(--ou-crimson);
  font-weight: 900;
  border-radius: var(--radius-sm);
}

/* ---------------------------------------------------------
   15. Sponsor Tiers and Partner Wall
--------------------------------------------------------- */

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

.sponsor-tier {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: var(--white);
  overflow: hidden;
}

.sponsor-tier::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: var(--dark-gray);
}

.sponsor-tier.gold::before,
.sponsor-tier.featured::before {
  background: var(--ou-crimson);
}

.sponsor-tier.diamond {
  background: var(--ou-crimson-deep);
  color: var(--white);
  border-color: var(--ou-crimson-deep);
}

.sponsor-tier.diamond::before {
  background: var(--white);
}

.sponsor-tier.diamond h3,
.sponsor-tier.diamond p,
.sponsor-tier.diamond li {
  color: var(--white);
}

.sponsor-tier .price {
  display: block;
  color: var(--ou-crimson);
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  margin: 0.7rem 0 1rem;
}

.sponsor-tier.diamond .price {
  color: var(--white);
}

.sponsor-tier ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.sponsor-tier li {
  color: var(--gray);
  margin: 0.45rem 0;
  font-size: 0.9rem;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.logo-tile {
  min-height: 130px;
  background: var(--white);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.logo-tile img {
  max-width: 150px;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: filter var(--transition), opacity var(--transition), transform var(--transition);
}

.logo-tile:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.04);
}

/* ---------------------------------------------------------
   16. Awards
--------------------------------------------------------- */

.awards-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.award-place {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.7rem 1.2rem;
}

.award-place.first {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-color: rgba(132, 22, 23, 0.45);
  box-shadow: var(--shadow-sm);
}

.award-place .place {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray);
  font-weight: 900;
}

.award-place .amount {
  display: block;
  color: var(--ou-crimson);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 900;
  margin: 0.6rem 0;
}

/* ---------------------------------------------------------
   17. Tables
--------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 760px;
}

.data-table th,
.data-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--ou-crimson-deep);
  color: var(--white);
  font-weight: 900;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) td {
  background: var(--lighter-gray);
}

/* ---------------------------------------------------------
   18. Forms
--------------------------------------------------------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
}

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

.form-group {
  display: grid;
  gap: 0.45rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 900;
  color: var(--ink);
  font-size: 0.88rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.88rem 1rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--ou-crimson);
  box-shadow: 0 0 0 4px rgba(132, 22, 23, 0.1);
}

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

/* ---------------------------------------------------------
   19. Badges and Alerts
--------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.36rem 0.65rem;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  margin-bottom: 0.85rem;
}

.badge-crimson {
  background: var(--ou-crimson-soft);
  color: var(--ou-crimson);
}

.badge-dark {
  background: var(--ou-crimson-deep);
  color: var(--white);
}

.alert {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--lighter-gray);
  margin: 1rem 0;
}

.alert strong {
  display: block;
  margin-bottom: 0.25rem;
}

.alert-crimson {
  border-left: 5px solid var(--ou-crimson);
  background: var(--ou-crimson-soft);
}

/* ---------------------------------------------------------
   20. CTA and Footer
--------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 30%),
    var(--ou-crimson);
  color: var(--white);
  text-align: center;
  padding: clamp(4.5rem, 7vw, 7rem) 1.5rem;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2,
.cta p {
  color: var(--white);
}

.cta p {
  max-width: 760px;
  margin: 1rem auto 1.8rem;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  background: var(--ou-crimson-deep);
  color: var(--white);
  padding: 2.6rem 1.5rem;
  border-top: 5px solid var(--ou-crimson);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.footer-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.footer-watermark {
  width: 210px;
  max-height: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

/* ---------------------------------------------------------
   21. Mobile Navigation Helpers
--------------------------------------------------------- */

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-weight: 800;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--ou-crimson);
  background: var(--lighter-gray);
}

/* ---------------------------------------------------------
   22. Motion
--------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   23. Responsive Design
--------------------------------------------------------- */

@media (max-width: 1100px) {
  .nav {
    gap: 1rem;
  }

  .nav-links {
    gap: 0.9rem;
    font-size: 0.81rem;
  }

  .brand {
    min-width: 190px;
  }

  .brand-text span {
    display: none;
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-step:nth-child(3) {
    border-right: 0;
  }

  .process-step:nth-child(-n + 3) {
    border-bottom: 1px solid var(--border);
  }

  .logo-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-logo-wrap {
    min-height: 330px;
  }

  .hero-logo {
    width: min(72vw, 360px);
  }

  .section-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }

  .cards,
  .cards-3,
  .timeline,
  .stats,
  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav > .button {
    margin-left: auto;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid img:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  .logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .container,
  .container-wide,
  .content-container,
  .nav,
  .top-bar-inner,
  .hero-inner {
    width: min(100% - 2rem, var(--max-width));
  }

  .top-bar-inner {
    min-height: 34px;
    justify-content: center;
    text-align: center;
  }

  .top-bar-inner span:first-child {
    display: none;
  }

  .nav {
    min-height: 72px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand-text strong {
    font-size: 0.75rem;
  }

  .nav > .button {
    display: none;
  }

  .hero-inner {
    padding: 4.4rem 0 4rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
  }

  .cards,
  .cards-3,
  .cards-2,
  .timeline,
  .stats,
  .form-grid,
  .sponsor-grid,
  .awards-podium,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .resource,
  .document-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .resource a {
    white-space: normal;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-card {
    padding: 1.25rem;
  }

  .section {
    padding: 4rem 0;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .photo-grid img:first-child {
    grid-column: auto;
  }

  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 430px) {
  .logo-wall {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    min-height: 108px;
  }

  .page-header {
    padding: 4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   MDM 2027 Contrast + Dark Background Cleanup
   ========================================================= */

.section-dark .eyebrow,
.section-dark .kicker {
  color: var(--ou-crimson);
}

.section-dark .button-light,
.section-light .button-light,
.section-paper .button-light,
.panel .button-light,
.highlight-card .button-light {
  background: var(--ou-crimson);
  color: var(--white);
  border-color: var(--ou-crimson);
}

.section-dark .button-light:hover,
.section-light .button-light:hover,
.section-paper .button-light:hover,
.panel .button-light:hover,
.highlight-card .button-light:hover {
  background: var(--ou-crimson-dark);
  border-color: var(--ou-crimson-dark);
}

.panel .eyebrow,
.panel .kicker,
.highlight-card .eyebrow,
.highlight-card .kicker {
  color: var(--ou-crimson);
}

.panel .quick-info div,
.highlight-card .quick-info div {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(132, 22, 23, 0.18);
}

.panel .quick-info div strong,
.highlight-card .quick-info div strong {
  color: var(--ou-crimson);
}

.panel .quick-info div p,
.highlight-card .quick-info div p {
  color: var(--charcoal);
}

.section-dark .timeline-item {
  background: var(--ou-crimson-soft);
  color: var(--ink);
  border-color: rgba(132, 22, 23, 0.2);
}

.section-dark .timeline-item h3 {
  color: var(--ink);
}

.section-dark .timeline-item p {
  color: var(--gray);
}

.section-dark .stat {
  background: var(--ou-crimson-soft);
}

.section-dark .stat strong {
  color: var(--ou-crimson);
}

.section-dark .stat span {
  color: var(--charcoal);
}

/* =========================================================
   MDM 2027 | Site-wide refinements
   Maintains all legacy selectors and adds support for
   the updated homepage, dropdowns and future HTML pages.
   ========================================================= */
:root {
  --ink: #202428;
  --max-width: 1200px;
  --content-width: 820px;
  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 15px rgba(16,18,20,.06);
  --shadow-md: 0 10px 28px rgba(16,18,20,.10);
  --shadow-lg: 0 17px 40px rgba(16,18,20,.14);
}
html { scroll-padding-top: 100px; }
body { line-height: 1.65; }
:focus-visible { outline: 3px solid var(--ou-crimson); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; text-transform: none; }
h1 { font-size: clamp(2.45rem, 4.5vw, 4.35rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.32rem); letter-spacing: -.015em; }
p { line-height: 1.7; }
.eyebrow, .kicker { font-size: .84rem; font-weight: 700; letter-spacing: 0; text-transform: none; gap: .6rem; margin-bottom: .8rem; }
.eyebrow::before, .kicker::before { width: 20px; height: 2px; }
.section { padding: clamp(3.25rem, 5vw, 5rem) 0; }
.section-sm { padding: 2.5rem 0; }
.section-lg { padding: clamp(4rem, 6vw, 6.5rem) 0; }
.section-header { grid-template-columns: minmax(0,1.05fr) minmax(250px,.76fr); gap: clamp(1.5rem,3vw,3.25rem); align-items: center; margin-bottom: 2rem; }
.section-header h2 { max-width: 780px; }
.section-header p { font-size: 1rem; font-weight: 400; line-height: 1.7; }
.section-light { background: #f8f9fa; }
/* Retain neutral panels and readable text on old dark sections. */
.section-dark { background: var(--paper); color: var(--ink); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark p { color: var(--ink); }
.section-dark p { color: var(--gray); }
.top-bar { font-size: .75rem; }
.top-bar-inner { min-height: 33px; }
.site-header { background: rgba(255,255,255,.98); }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { min-height: 76px; gap: 1rem; }
.brand { min-width: 0; gap: .75rem; flex-shrink: 1; }
.brand-logo { width: 58px; height: 58px; }
.brand-text strong { max-width: 250px; font-size: .84rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; text-transform: none; }
.brand-text span { font-size: .72rem; }
.nav-links { gap: 1.1rem; font-size: .85rem; font-weight: 600; }
.nav-links > a { white-space: nowrap; }
/* Avoid underlining every anchor inside a dropdown. */
.nav-links .nav-dropdown a::after { display: none; }
.nav > .button { padding: .65rem .95rem; font-size: .82rem; white-space: nowrap; flex-shrink: 0; }
.nav-toggle { width: 44px; height: 44px; font-size: 1.1rem; }
/* Dropdowns will only appear when HTML/JS expose them. */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: .45rem; padding: .65rem 0; min-height: 44px; background: transparent; color: var(--charcoal); border: 0; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.nav-dropdown-toggle::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-dropdown-toggle[aria-expanded='true']::after { transform: rotate(225deg) translateY(-2px); }
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.active, .nav-dropdown-toggle[aria-expanded='true'] { color: var(--ou-crimson); }
.nav-dropdown { display: none; position: absolute; z-index: 1100; top: calc(100% + .45rem); left: 0; min-width: 225px; padding: .5rem; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); background: var(--white); }
.nav-dropdown.open, .nav-item.is-open .nav-dropdown { display: block; }
.nav-links .nav-dropdown a { display: block; padding: .7rem .85rem; font-size: .86rem; font-weight: 500; border-radius: var(--radius-sm); white-space: nowrap; }
.nav-links .nav-dropdown a:hover, .nav-links .nav-dropdown a.active { background: var(--ou-crimson-soft); color: var(--ou-crimson); }
.button, .btn { min-height: 44px; padding: .72rem 1.15rem; font-weight: 700; font-size: .875rem; border-width: 1px; box-shadow: none; text-transform: none; letter-spacing: 0; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.button:hover, .btn:hover { transform: none; }
.button-primary, .btn-primary { border-color: var(--ou-crimson); box-shadow: none; }
.button-primary:hover, .btn-primary:hover { border-color: var(--ou-crimson-dark); box-shadow: none; }
.button-crimson { background: var(--ou-crimson); color: var(--white); border: 1px solid var(--ou-crimson); }
.button-crimson:hover { background: var(--ou-crimson-dark); color: var(--white); border-color: var(--ou-crimson-dark); }
.hero-inner { min-height: 560px; padding: clamp(3.8rem,6vw,6rem) 0; grid-template-columns: minmax(0,1.08fr) minmax(320px,.84fr); gap: clamp(2rem,4vw,4rem); }
.hero h1 { font-size: clamp(2.65rem, 4.55vw, 4.4rem); line-height: 1.11; text-transform: none; }
.hero p { margin: 1.15rem 0 1.7rem; font-size: clamp(1rem,1.4vw,1.15rem); line-height: 1.67; }
.hero-actions { gap: .7rem; }
/* Homepage hero primary buttons are light; a separate crimson class is provided. */
.hero .hero-actions .button-primary { background: var(--white); border-color: var(--white); color: var(--ou-crimson); }
.hero .hero-actions .button-primary:hover { background: var(--ou-crimson-soft); border-color: var(--ou-crimson-soft); color: var(--ou-crimson-dark); }
.hero .hero-actions .button-secondary { background: transparent; border-color: rgba(255,255,255,.75); color: var(--white); }
.hero .hero-actions .button-secondary:hover { background: rgba(255,255,255,.12); border-color: var(--white); color: var(--white); }
.hero .hero-actions .button-crimson { background: var(--ou-crimson); border-color: var(--ou-crimson); color: var(--white); }
.hero .hero-actions .button-crimson:hover { background: var(--ou-crimson-dark); border-color: var(--ou-crimson-dark); color: var(--white); }
.hero-card { padding: 1.35rem; background: var(--white); backdrop-filter: none; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.hero-card .eyebrow { color: var(--ou-crimson); }
.hero-card > p { color: var(--gray); margin: .75rem 0; font-size: .925rem; line-height: 1.5; }
.hero-card .date-block { border-left-width: 3px; padding-left: .85rem; margin-bottom: .7rem; }
.hero-card .date-block strong { font-size: 1.25rem; }
.hero-card .date-block span { font-size: .925rem; font-weight: 600; }
.hero-card .quick-info { gap: .5rem; margin-top: .75rem; }
.hero-card .quick-info div { padding: .65rem .85rem; background: var(--lighter-gray); border: 1px solid var(--border); }
.hero-card .quick-info div strong { display: block; font-size: .925rem; line-height: 1.3; margin-bottom: .15rem; }
.hero-card .quick-info div p { margin: 0; color: var(--gray); font-size: .85rem; line-height: 1.4; }
/* Keep the buttons inside white hero panels legible. */
.hero .hero-card .hero-actions .button-primary { background: var(--ou-crimson); color: var(--white); border-color: var(--ou-crimson); }
.hero .hero-card .hero-actions .button-primary:hover { background: var(--ou-crimson-dark); border-color: var(--ou-crimson-dark); }
.hero .hero-card .hero-actions .button-secondary { background: var(--white); color: var(--ou-crimson); border-color: var(--ou-crimson); }
.hero .hero-card .hero-actions .button-secondary:hover { background: var(--ou-crimson-soft); }
.page-header { padding: clamp(3rem,4.8vw,4.5rem) 0; }
.page-header h1 { font-size: clamp(2.25rem, 3.8vw, 3.5rem); line-height: 1.18; text-transform: none; max-width: 900px; }
.page-header p { max-width: 750px; font-size: 1.04rem; line-height: 1.7; }
.stats { border-radius: var(--radius-md); }
.stat { min-height: 110px; padding: 1.2rem; }
.stat strong { font-size: clamp(1.75rem,2.8vw,2.5rem); }
.stat span { font-size: .89rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.stat small { font-size: .8rem; }
.card, .info-card { padding: 1.4rem; box-shadow: none; }
.card { min-height: 0; }
.card:hover, .info-card:hover { transform: none; border-color: var(--border-dark); box-shadow: var(--shadow-sm); }
.card h3, .info-card h3 { margin-bottom: .6rem; }
.card p, .info-card p { font-size: .94rem; }
.card-icon { width: 40px; height: 40px; margin-bottom: .85rem; background: var(--ou-crimson-soft); border: none; color: var(--ou-crimson); font-weight: 700; }
.highlight-card, .panel { box-shadow: none; padding: 1.5rem; border: 1px solid rgba(132,22,23,.15); }
.highlight-card::after, .panel::after { content: none; }
.timeline-item { min-height: 0; padding: 1.3rem; background: var(--white); border-radius: var(--radius-md); }
.timeline-item span { font-size: .83rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.timeline-item p { line-height: 1.65; }
.badge { font-size: .79rem; font-weight: 700; letter-spacing: 0; text-transform: none; margin-bottom: .7rem; }
.resource { padding: .85rem 1rem; }
.resource strong { font-size: .92rem; }
.resource span { font-size: .85rem; }
.cta { background: var(--ou-crimson); padding: clamp(3.5rem,5vw,5rem) 1.5rem; }
.cta::after { opacity: .16; }
.site-footer { background: var(--charcoal); border-top: 3px solid var(--ou-crimson); padding: 2.5rem 1.5rem; }
.footer-inner { color: rgba(255,255,255,.78); }
.footer-logo { width: 82px; height: 82px; }
.footer-watermark { width: 200px; max-height: 125px; }
.footer-social img { display: block; object-fit: contain; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; }
.mobile-nav { max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; }
.mobile-nav a { font-size: .9rem; font-weight: 600; padding: .85rem 1.5rem; }
.mobile-nav-group { border-bottom: 1px solid var(--border); }
.mobile-nav-heading { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: .8rem 1.5rem; background: var(--white); border: 0; color: var(--ink); font-size: .92rem; font-weight: 700; cursor: pointer; }
.mobile-nav-heading::after { content: '+'; font-size: 1.2rem; font-weight: 400; }
.mobile-nav-heading[aria-expanded='true']::after { content: 'âˆ’'; }
.mobile-nav-heading.active { color: var(--ou-crimson); }
.mobile-nav-submenu { display: none; background: var(--lighter-gray); }
.mobile-nav-submenu.open { display: block; }
.mobile-nav-submenu a { padding-left: 2.4rem; font-size: .88rem; font-weight: 500; }
/* The updated homepage's stacked left cards. */
.registration-layout { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; align-items: stretch; }
.registration-left { display: grid; grid-template-rows: auto 1fr; gap: 1.25rem; min-width: 0; }
.registration-right { min-width: 0; }
.registration-right > .card { height: 100%; }
.registration-left > .card { min-height: 0; }
/* Better mobile table access without altering underlying data. */
.table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.schedule-table, .data-table { border-collapse: collapse; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--ou-crimson); outline-offset: 2px; }
html:not(.js-enabled) .reveal { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .nav-links { gap: .75rem; font-size: .8rem; }
  .brand-logo { width: 52px; height: 52px; }
  .brand-text strong { max-width: 205px; font-size: .79rem; }
}
@media (max-width: 980px) {
  .section-header { grid-template-columns: 1fr; align-items: start; gap: .75rem; }
  .section-header p { max-width: 760px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .registration-layout { grid-template-columns: 1fr; }
  .registration-left { grid-template-rows: auto auto; }
  .registration-right > .card { height: auto; }
}
@media (max-width: 700px) {
  .nav { min-height: 68px; }
  .brand-logo { width: 46px; height: 46px; }
  .hero-inner { padding: 3.4rem 0; }
  .hero h1 { font-size: clamp(2.3rem,9vw,3.4rem); }
  .page-header h1 { font-size: clamp(2.1rem,7.5vw,2.9rem); }
  .section { padding: 3rem 0; }
  .section-sm { padding: 2rem 0; }
  .section-lg { padding: 4rem 0; }
  .hero-actions .button { max-width: 100%; }
  .footer-inner { gap: 1.25rem; }
  .footer-logo { width: 65px; height: 65px; }
  .footer-watermark { width: 175px; }
  .stat { padding: 1.1rem; }
  .mobile-nav { max-height: calc(100dvh - 68px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}