/* =========================================================
   Engage by Elevate — design system v5
   App-like mobile-first. Dark + orange accent.
   Sparks of color, gradient fades, polished micro-interactions.
   Type: Archivo (display) + Manrope (body).
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --black: #000000;
  --bg: #08080a;
  --bg-card: #121215;
  --bg-elevated: #1a1a1f;
  --bg-surface: #0f0f12;
  --white: #FFFFFF;
  --ink: #FFFFFF;
  --ink-soft: #a0a0a8;
  --ink-muted: #5a5a65;
  --orange: #E8612A;
  --orange-hover: #d4551f;
  --orange-light: #FF7A3D;
  --orange-dim: rgba(232, 97, 42, 0.08);
  --orange-glow: rgba(232, 97, 42, 0.20);
  --blue-spark: rgba(99, 140, 255, 0.08);
  --purple-spark: rgba(160, 100, 255, 0.06);
  --success: #00d26a;
  --success-dim: rgba(0, 210, 106, 0.08);
  --danger: #ff3b3b;
  --danger-dim: rgba(255, 59, 59, 0.08);
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);

  --font-display: 'Archivo', -apple-system, sans-serif;
  --font-body: 'Manrope', -apple-system, sans-serif;

  --radius: 6px;
  --radius-sm: 4px;
  --radius-xs: 2px;
  --radius-full: 9999px;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lift: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-orange: 0 6px 28px rgba(232, 97, 42, 0.25);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.2);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --nav-height: 56px;
  --bottom-nav-height: 60px;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
  overscroll-behavior-y: contain;
}

/* Always reserve space for bottom nav on mobile */
@media (max-width: 768px) {
  body { padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 8px); }
}
@media (display-mode: standalone) {
  body { padding-top: var(--safe-top); }
}

/* ========== Typography ========== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
}
h1 { font-size: clamp(2.2rem, 9vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 5vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-light); }

/* ========== Gradient fades & sparks ========== */
.glow-orange {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.glow-blue {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--blue-spark) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.glow-purple {
  position: absolute;
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--purple-spark) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Gradient divider line */
.gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-glow), var(--blue-spark), transparent);
  border: none;
  margin: 0;
}

/* ========== Navigation ========== */
.nav {
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.brand-mark { display: none; } /* hidden, logo image replaces text */

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  transition: color 0.2s;
  padding: 8px 0;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active {
  color: var(--white);
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(8, 8, 10, 0.98);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px;
    gap: 0;
  }
  .nav-links.open a { padding: 14px 12px; font-size: 14px; border-radius: var(--radius-sm); }
  .nav-links.open a:hover, .nav-links.open a.active { background: var(--bg-elevated); }
  .nav-links.open .nav-cta {
    display: block;
    text-align: center;
    padding: 14px;
    margin-top: 8px;
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .nav-toggle { display: flex; }
}

/* ========== Bottom Nav — always 4 items ========== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(var(--bottom-nav-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(8, 8, 10, 0.96);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-top: 1px solid var(--line);
  z-index: 100;
}
.bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  height: var(--bottom-nav-height);
  max-width: 400px;
  margin: 0 auto;
  padding: 0 8px;
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 0;
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.2s;
  position: relative;
}
.bottom-nav a svg { width: 22px; height: 22px; stroke-width: 1.8; transition: transform 0.2s; }
.bottom-nav a.active { color: var(--orange); }
.bottom-nav a.active svg { transform: scale(1.1); }
.bottom-nav a.active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .bottom-nav { display: block; }
}

/* ========== Containers ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 600px; margin: 0 auto; padding: 0 20px; }

section { padding: 72px 0; position: relative; overflow: hidden; }
section.tight { padding: 40px 0; }

@media (max-width: 768px) {
  section { padding: 48px 0; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 48px;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.btn:hover { background: var(--orange-hover); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-orange); }
.btn:active { transform: scale(0.97); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line-strong);
}
.btn-ghost::after { display: none; }
.btn-ghost:hover { background: var(--bg-elevated); border-color: var(--ink-muted); box-shadow: none; transform: none; }

.btn-gold { background: var(--orange); color: var(--white); }
.btn-small { padding: 10px 18px; font-size: 11px; min-height: 38px; border-radius: var(--radius-xs); }
.btn-danger { background: var(--danger); }
.btn-danger:hover { box-shadow: 0 4px 16px var(--danger-dim); }
.btn-success { background: var(--success); color: var(--bg); }
.btn-success:hover { box-shadow: 0 4px 16px var(--success-dim); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

@media (max-width: 768px) {
  .btn { width: 100%; justify-content: center; }
  .btn-inline { width: auto; }
}

/* ========== Forms ========== */
label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 600;
}

input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim), 0 0 20px var(--orange-dim);
}
input::placeholder, textarea::placeholder { color: var(--ink-muted); }
textarea { resize: vertical; min-height: 100px; }

.field { margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ========== Cards ========== */
.card {
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); }

/* ========== Badges ========== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--bg-elevated);
  color: var(--ink-soft);
  border-radius: var(--radius-full);
  font-weight: 700;
  border: 1px solid var(--line);
}
.badge-gold { background: var(--orange-dim); color: var(--orange); border-color: rgba(232,97,42,0.2); }
.badge-ink { background: var(--white); color: var(--bg); border-color: var(--white); }
.badge-success { background: var(--success-dim); color: var(--success); border-color: rgba(0,210,106,0.2); }
.badge-danger { background: var(--danger-dim); color: var(--danger); border-color: rgba(255,59,59,0.2); }
.badge-warn { background: var(--orange-dim); color: var(--orange); border-color: rgba(232,97,42,0.2); }

/* ========== Hero ========== */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 .accent { color: var(--orange); }

@media (max-width: 768px) {
  .hero { padding: 56px 0 44px; }
}

/* Stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 6px;
  font-weight: 600;
}

/* ========== Directory grid ========== */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
@media (max-width: 768px) { .directory-grid { grid-template-columns: 1fr; gap: 10px; } }

.org-card {
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 140px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.org-card:hover {
  border-color: rgba(232,97,42,0.15);
  box-shadow: 0 4px 24px rgba(232,97,42,0.06);
  transform: translateY(-1px);
}
.org-card:active { transform: scale(0.98); }
.org-card .eyebrow { margin-bottom: 6px; font-size: 10px; }
.org-card h3 { margin-bottom: 4px; font-size: 1.1rem; }
.org-card .org-meta { font-size: 13px; color: var(--ink-muted); margin-bottom: 8px; }
.org-card .org-desc {
  font-size: 13px; color: var(--ink-soft); line-height: 1.5;
  flex: 1; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.org-card .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px; }
.org-card .org-logo {
  width: 40px; height: 40px;
  border-radius: var(--radius-xs);
  object-fit: contain;
  background: var(--bg-elevated);
  margin-bottom: 10px;
}

/* ========== Agenda ========== */
.agenda-day { margin-bottom: 48px; }
.agenda-day-head {
  display: flex; align-items: baseline; gap: 12px;
  padding-bottom: 12px; border-bottom: 2px solid var(--orange);
  margin-bottom: 20px; flex-wrap: wrap;
}
.agenda-day-head .day-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 900;
  color: var(--orange); line-height: 1; letter-spacing: -0.04em;
}
.agenda-day-head .day-date { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.agenda-day-head .day-theme { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-muted); margin-left: auto; font-weight: 600; }

.agenda-item {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.agenda-item .time { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; }
.agenda-item .time small { display: block; font-size: 11px; color: var(--ink-muted); font-family: var(--font-body); font-weight: 400; }
.agenda-item h4 { margin-bottom: 2px; }
.agenda-item .session-meta { font-size: 13px; color: var(--ink-soft); }

@media (max-width: 768px) {
  .agenda-item { grid-template-columns: 1fr; gap: 4px; }
}

/* ========== Dashboard ========== */
.dash-header {
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.dash-header h1 { font-size: clamp(1.4rem, 5vw, 2rem); }

.dash-tabs {
  display: flex; gap: 6px;
  margin-bottom: 28px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 2px;
}
.dash-tabs::-webkit-scrollbar { display: none; }

.dash-tab {
  padding: 10px 18px; font-size: 12px; letter-spacing: 0.5px;
  text-transform: uppercase; font-weight: 700; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--radius-full);
  color: var(--ink-soft); background: transparent;
  font-family: var(--font-body); white-space: nowrap;
  transition: all 0.2s; -webkit-tap-highlight-color: transparent;
}
.dash-tab:hover { border-color: var(--ink-muted); color: var(--white); }
.dash-tab.active {
  background: transparent;
  color: var(--white);
  border-color: transparent;
  position: relative;
  box-shadow: none;
}
.dash-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

/* ========== Slots ========== */
.slot-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 6px; margin-top: 12px;
}
@media (max-width: 768px) { .slot-grid { grid-template-columns: repeat(3, 1fr); } }

.slot {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 6px; background: var(--bg-card);
  transition: all 0.2s; cursor: pointer; text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.slot:hover { border-color: var(--orange); }
.slot:active { transform: scale(0.95); }
.slot .slot-time { font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.slot .slot-status { font-size: 9px; letter-spacing: 0.5px; text-transform: uppercase; margin-top: 3px; color: var(--ink-muted); font-weight: 600; }
.slot.free { border-color: rgba(0,210,106,0.3); background: rgba(0,210,106,0.03); }
.slot.free .slot-status { color: var(--success); }
.slot.held { background: var(--orange-dim); border-color: rgba(232,97,42,0.25); }
.slot.held .slot-status { color: var(--orange); }
.slot.booked { background: var(--bg-elevated); border-color: var(--orange); }
.slot.booked .slot-time { color: var(--orange); }
.slot.booked .slot-status { color: var(--orange); }
.slot.blocked { background: var(--bg-elevated); color: var(--ink-muted); cursor: not-allowed; opacity: 0.35; }
.slot.locked { opacity: 0.25; cursor: not-allowed; position: relative; }
.slot.locked::after {
  content: 'LOCKED';
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 7px;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--ink-muted);
}

/* ========== Meeting cards ========== */
.meeting-card {
  border: 1px solid transparent; border-radius: var(--radius);
  padding: 18px; background: var(--bg-card);
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  margin-bottom: 10px; align-items: center;
}
.meeting-card:hover { border-color: var(--line-strong); }
.meeting-card h4 { margin-bottom: 3px; font-size: 1rem; }
.meeting-card .meeting-meta { font-size: 13px; color: var(--ink-soft); }
.meeting-card .meeting-actions { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; }

@media (max-width: 768px) {
  .meeting-card { grid-template-columns: 1fr; gap: 10px; }
  .meeting-card .meeting-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .meeting-card .meeting-actions .btn { width: 100%; }
}

/* ========== Modal ========== */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 1000; padding: 0;
  animation: fadeIn 0.15s ease;
}
@media (min-width: 769px) { .modal-backdrop { align-items: center; padding: 20px; } }

.modal {
  background: var(--bg-card); border: 1px solid var(--line-strong);
  padding: 28px 20px; max-width: 560px; width: 100%;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow-lift);
  max-height: 85vh; max-height: 85dvh;
  overflow-y: auto; animation: slideUp 0.25s ease;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 769px) { .modal { border-radius: var(--radius); padding: 32px 28px; } }
.modal h3 { margin-bottom: 14px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* ========== Footer ========== */
.footer {
  background: var(--black); border-top: 1px solid var(--line);
  color: var(--ink-soft); padding: 56px 0 36px;
}
.footer h3 { color: var(--white); font-size: 1.1rem; }
.footer a { color: var(--orange); }
.footer .eyebrow { color: var(--orange); }
.footer-logo { height: 24px; width: auto; opacity: 0.6; margin-bottom: 16px; }

@media (max-width: 768px) {
  .footer { padding-bottom: calc(36px + var(--bottom-nav-height)); }
  .footer > .container > div { grid-template-columns: 1fr !important; gap: 32px !important; }
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 12px);
  left: 50%; transform: translateX(-50%);
  padding: 12px 24px;
  background: var(--bg-elevated); color: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift);
  z-index: 2000;
  max-width: min(360px, calc(100vw - 32px));
  animation: toastIn 0.25s ease;
  font-size: 14px; font-weight: 600; text-align: center;
}
.toast.success { border-color: rgba(0,210,106,0.3); }
.toast.error { border-color: rgba(255,59,59,0.3); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@media (min-width: 769px) {
  .toast { bottom: 32px; left: auto; right: 24px; transform: none; }
}

/* ========== Empty / Loader ========== */
.empty-state { text-align: center; padding: 64px 20px; color: var(--ink-soft); }
.empty-state h3 { margin-bottom: 10px; color: var(--ink); }

.loader {
  display: inline-block; width: 24px; height: 24px;
  border: 2.5px solid var(--line); border-top-color: var(--orange);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== Notice ========== */
.notice {
  background: var(--orange-dim); border: 1px solid rgba(232,97,42,0.15);
  border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 20px;
}
.notice p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.notice strong { color: var(--white); }

/* ========== Info list ========== */
.info-list { list-style: none; padding: 0; }
.info-list li {
  padding: 18px 0 18px 24px; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.7; color: var(--ink-soft); position: relative;
}
.info-list li::before {
  content: ''; position: absolute; left: 0; top: 24px;
  width: 6px; height: 6px; background: var(--orange); border-radius: 50%;
  box-shadow: 0 0 8px var(--orange-glow);
}
.info-list li strong { color: var(--white); }

/* ========== Profile page ========== */
.profile-hero { display: flex; gap: 20px; align-items: center; margin-bottom: 28px; }
.profile-logo {
  width: 72px; height: 72px; border-radius: var(--radius-sm);
  object-fit: contain; background: var(--bg-elevated); border: 1px solid var(--line); flex-shrink: 0;
}
.profile-logo-placeholder {
  width: 72px; height: 72px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card)); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 24px;
  color: var(--orange); flex-shrink: 0;
}
.profile-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px; margin: 28px 0;
}
.profile-stat {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px; text-align: center;
}
.profile-stat .stat-value {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: var(--orange);
}
.profile-stat .stat-label {
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-muted); margin-top: 4px;
}

/* ========== Logo upload ========== */
.logo-upload { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.logo-upload-preview {
  width: 56px; height: 56px; border-radius: var(--radius-xs);
  background: var(--bg-elevated); border: 1px solid var(--line); object-fit: contain;
}
.logo-upload-btn {
  padding: 10px 16px; font-size: 12px; font-weight: 600;
  background: var(--bg-elevated); border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs); color: var(--ink-soft); cursor: pointer;
  transition: all 0.2s;
}
.logo-upload-btn:hover { border-color: var(--orange); color: var(--white); }

/* ========== Responsive polish ========== */
@media (max-width: 768px) {
  body { font-size: 17px; }
  h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .hero h1 { font-size: clamp(2.2rem, 12vw, 3.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  h3 { font-size: 1.3rem; }
  .stat-num { font-size: clamp(2.2rem, 9vw, 3.2rem); }
}

::selection { background: var(--orange-dim); color: var(--white); }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 2px; }

/* ========== Nav CTA ========== */
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--orange-hover); color: var(--white) !important; }

/* ========== Team section ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
}
.team-card {
  text-align: center;
}
.team-card img {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 3px solid var(--line-strong);
  margin-bottom: 16px;
}
.team-card h4 { margin-bottom: 4px; }
.team-card .team-role { font-size: 13px; color: var(--ink-muted); }

/* ========== Step wizard ========== */
.wizard-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.wizard-step {
  flex: 1;
  height: 4px;
  background: var(--line-strong);
  border-radius: 2px;
  transition: background 0.3s;
}
.wizard-step.active { background: var(--orange); }
.wizard-step.done { background: var(--success); }

.wizard-panel {
  display: none;
  animation: fadeSlide 0.3s ease;
}
.wizard-panel.active { display: block; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.wizard-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.wizard-nav .btn { flex: 1; }

/* ========== Page transitions ========== */
section {
  animation: sectionFadeIn 0.6s ease both;
}
@keyframes sectionFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Countdown ========== */
.countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}
.countdown-unit {
  text-align: center;
  min-width: 64px;
}
.countdown-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.03em;
}
.countdown-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 6px;
  font-weight: 600;
}

/* ========== Schedule with team ========== */
.team-card .btn {
  margin-top: 12px;
}

/* ========== Interactive hover effects ========== */
.org-card, .meeting-card, .card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Smooth link transitions ========== */
a, .btn, .dash-tab, .slot, .nav-links a {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Mobile button size ========== */
@media (max-width: 768px) {
  .btn { min-height: 52px; font-size: 14px; padding: 16px 28px; }
}

/* ========== Video hero ========== */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,10,0.5) 0%, rgba(8,8,10,0.95) 100%);
}

/* ========== Image with fade ========== */
.img-fade {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.img-fade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-fade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg) 100%);
}

/* ========== Quote / testimonial ========== */
.quote-block {
  position: relative;
  padding: 0;
}
.quote-block::before {
  display: none;
}
.quote-text {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  line-height: 1.7;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 24px;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote-author img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  object-fit: cover;
}
.quote-author-info h4 { font-size: 0.95rem; margin-bottom: 2px; }
.quote-author-info span { font-size: 12px; color: var(--ink-muted); }

/* ========== Nav countdown (compact) ========== */
.nav-countdown {
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.5px;
}
.nav-countdown span { color: var(--ink-muted); font-weight: 400; font-size: 10px; }
@media (max-width: 768px) {
  .nav-countdown { display: none; }
}

/* ========== Gallery row ========== */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 768px) {
  .gallery-row { grid-template-columns: 1fr 1fr; gap: 8px; }
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,8,10,0.7) 100%);
  pointer-events: none;
}

/* ========== Brand: logo + cursive engage ========== */
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand img {
  height: 28px;
  width: auto;
}
.brand-engage {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  overflow: hidden;
  display: inline-block;
}
.brand-engage span {
  display: inline-block;
  animation: writeIn 1.2s ease 0.3s both;
}
@keyframes writeIn {
  from { opacity: 0; transform: translateX(-8px); letter-spacing: 0.15em; }
  to { opacity: 1; transform: translateX(0); letter-spacing: 0.02em; }
}

/* ========== Oversized portrait ========== */
.portrait-oversized {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.portrait-oversized img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.portrait-oversized::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--bg) 95%);
  pointer-events: none;
}
.portrait-oversized::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 15%, transparent 85%, var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ========== Quote layout ========== */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .quote-layout { grid-template-columns: 1fr; gap: 24px; }
  .portrait-oversized { max-width: 300px; margin: 0 auto; }
}

/* ========== Sponsors ========== */
.sponsors-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}
.sponsor-slot {
  width: 160px;
  height: 80px;
  background: var(--bg-card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s;
}
.sponsor-slot:hover { border-color: var(--orange); color: var(--orange); }
.sponsor-slot img {
  max-width: 80%;
  max-height: 70%;
  object-fit: contain;
  filter: brightness(0.7) grayscale(1);
  transition: filter 0.3s;
}
.sponsor-slot:hover img { filter: brightness(1) grayscale(0); }

/* ========== Compact mobile filters for directory ========== */
@media (max-width: 768px) {
  .dash-tabs { gap: 4px; margin-bottom: 16px; }
  .dash-tab { padding: 8px 14px; font-size: 11px; }
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}
.filter-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-size: 14px;
}
.filter-row select {
  width: auto;
  min-width: 100px;
  padding: 10px 12px;
  font-size: 14px;
}
@media (max-width: 768px) {
  .filter-row { gap: 6px; }
  .filter-row input { padding: 10px; font-size: 14px; }
  .filter-row select { flex: 1; }
}

/* ========== Participant logos marquee ========== */
.marquee-wrap {
  overflow: hidden;
  position: relative;
  padding: 24px 0;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee-track img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.6) grayscale(1);
  transition: filter 0.3s;
  flex-shrink: 0;
}
.marquee-track img:hover { filter: brightness(1) grayscale(0); }
.marquee-track .marquee-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== Login prompt ========== */
.login-prompt {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-top: 24px;
}
.login-prompt h3 { margin-bottom: 8px; }
.login-prompt p { color: var(--ink-soft); margin-bottom: 16px; font-size: 14px; }
