/* ===========================================================
   VELOCITY CASE COMPETITION — STYLES
   Brand-aligned to Open Minds Foundation
   =========================================================== */

:root {
  --primary: #0B2545;       /* deep navy */
  --accent:  #00A6A6;       /* ocean teal */
  --accent-2:#F4A261;       /* warm gold (prize) */
  --dark:    #061629;
  --light:   #F7F8FA;
  --muted:   #6B7280;
  --white:   #FFFFFF;
  --radius:  14px;
  --shadow:  0 12px 40px rgba(11, 37, 69, 0.12);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------ LOGO IMAGES ------------------ */
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.logo-img-sm {
  height: 32px;
}
.logo-text-fallback {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--primary);
}
.omf-logo-hero {
  height: 40px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
.hero-credits {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.hero-tag-fallback {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}
.register-cta-wrap {
  text-align: center;
  padding: 48px 32px;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid #E5E7EB;
}
.register-cta-text {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.5;
}
.btn-large {
  padding: 18px 36px;
  font-size: 17px;
  font-weight: 700;
  margin: 8px 0 24px;
}

/* ------------------ HEADER ------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #E5E7EB;
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--primary);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
  font-size: 20px;
}
.logo-text { font-size: 18px; }
.logo-sub {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-left: 4px;
  align-self: center;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--dark);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}
.main-nav a:hover { color: var(--accent); }
.main-nav .nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s;
}
.main-nav .nav-cta:hover { background: var(--accent); color: var(--white); text-decoration: none; }

/* ------------------ HERO ------------------ */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11,37,69,0.92) 0%, rgba(0, 75, 110, 0.86) 100%),
    url('https://images.unsplash.com/photo-1505761671935-60b3a7427bad?auto=format&fit=crop&w=2000&q=80')
      center/cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(0,166,166,0.3), transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 24px;
  max-width: 920px;
}
.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0,166,166,0.2);
  border: 1px solid rgba(0,166,166,0.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 900;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.hero-lede {
  font-size: clamp(16px, 1.4vw, 20px);
  max-width: 640px;
  opacity: 0.92;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, color 0.2s;
  cursor: pointer;
  border: 0;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: #008a8a; color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-full { width: 100%; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 720px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--accent-2);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

/* ------------------ SECTIONS ------------------ */
.section {
  padding: 110px 0;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--accent-2); }
h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
h2.light { color: var(--white); }
.section-lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 56px;
}
.lede {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 16px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

/* ABOUT */
.section-about { background: var(--light); }
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 20px;
  color: var(--primary);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  padding: 14px 0;
  border-bottom: 1px solid #F0F0F0;
  font-size: 15px;
  line-height: 1.5;
}
.check-list li:last-child { border-bottom: 0; }

/* SCHEDULE */
.section-schedule { background: var(--white); }
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--accent);
  margin-left: 8px;
  padding-left: 0;
}
.t-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 24px 0 24px 28px;
  position: relative;
  border-bottom: 1px solid #F0F0F0;
}
.t-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 32px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,166,166,0.2);
}
.t-time {
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.04em;
}
.t-body h4 {
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--primary);
  font-weight: 700;
}
.t-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* IMPACT */
.section-impact {
  background: linear-gradient(135deg, var(--primary), #0e3a6a);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-impact::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,166,166,0.15) 0%, transparent 70%);
  top: -200px; right: -200px;
  border-radius: 50%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.impact-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 36px 24px;
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.impact-card .big {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: var(--accent-2);
  line-height: 1;
}
.impact-card span:last-child {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}
.impact-note {
  text-align: center;
  font-size: 15px;
  opacity: 0.85;
  max-width: 720px;
  margin: 0 auto;
}

/* SPONSOR */
.section-sponsor { background: var(--light); }
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.tier {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  border: 2px solid #E5E7EB;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.tier-popular { border-color: var(--accent); transform: scale(1.04); }
.tier-popular:hover { transform: scale(1.04) translateY(-4px); }
.tier-ribbon {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.tier-name {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
}
.tier-price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 24px;
}
.tier-price span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
}
.tier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font-size: 14px;
  color: var(--dark);
}
.tier-list li {
  padding: 8px 0;
  border-top: 1px solid #F0F0F0;
  line-height: 1.5;
}
.sponsor-foot {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
}

/* TEAM */
.section-team { background: var(--white); }
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 56px 0;
}
.value {
  padding: 24px;
  background: var(--light);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.value h4 {
  font-size: 16px;
  color: var(--primary);
  margin: 0 0 8px;
  font-weight: 700;
}
.value p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

.exec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.exec-card {
  padding: 32px;
  background: var(--light);
  border-radius: var(--radius);
  text-align: center;
}
.exec-card h4 {
  font-size: 22px;
  margin: 0 0 4px;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
}
.exec-card .role {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 16px;
}
.exec-card .email, .exec-card .phone {
  margin: 4px 0;
  font-size: 14px;
}

.omf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary), #0e3a6a);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
}
.omf-stats .big {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--accent-2);
}
.omf-stats span:last-child { font-size: 13px; opacity: 0.9; }

/* REGISTER */
.section-register { background: var(--light); }
.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: var(--white);
  color: var(--dark);
  text-transform: none;
  letter-spacing: 0;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
.form-note {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 0;
}

/* FOOTER */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 70px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
}
.logo-footer { color: var(--white); margin-bottom: 12px; }
.logo-footer .logo-mark { background: var(--accent); }
.site-footer p { margin: 4px 0; font-size: 14px; }
.site-footer a { color: var(--accent-2); }
.site-footer h5 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  font-weight: 700;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  font-size: 13px;
  opacity: 0.7;
}

/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid, .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .omf-stats, .exec-grid { grid-template-columns: 1fr; }
  .tier-popular { transform: none; }
  .tier-popular:hover { transform: translateY(-4px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .topbar-inner { gap: 12px; font-size: 11px; }
  .section { padding: 70px 0; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .stats-grid, .sponsor-grid, .values { grid-template-columns: 1fr; }
  .t-item { grid-template-columns: 1fr; gap: 8px; }
  .t-item::before { display: none; }
  .hero h1 { font-size: 36px; }
  .impact-card .big, .tier-price { font-size: 36px; }
}
