:root {
  --bg-body: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-alt: #f9fafb;
  --accent: #005f9e;
  --accent-soft: rgba(0, 95, 158, 0.06);
  --accent-strong: #004474;
  --text-main: #1f2933;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top left, #e2f3ff 0, #f5f5f7 42%, #f5f5f7 100%);
}

body {
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--accent-strong);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  position: sticky;
  top: 0;
  z-index: 10;
}

.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.brand-mark {
  width: 32px;
  height: 32px;
  margin-left: 30px;
  border-radius: 40%;
  background: conic-gradient(from 190deg, #00b1ff, #005f9e, #0f766e, #22c55e, #00b1ff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
}

.brand span {
  display: inline-block;
}

.header-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

main {
  flex: 1;
}

.hero {
  max-width: var(--max-width);
  margin: 1.5rem auto 1rem;
  padding: 1.5rem 1.25rem 0;
}

.hero-inner {
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 55%),
              radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.10), transparent 52%),
              var(--bg-card);
  border-radius: 30px;
  padding: 2rem clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.75rem;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  border: 1px solid rgba(148, 163, 184, 0.18);
  position: relative;
  overflow: hidden;
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0 0, rgba(255,255,255,0.35) 0, transparent 55%),
    radial-gradient(circle at 100% 0, rgba(255,255,255,0.2) 0, transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-left {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.7rem 0.15rem 0.18rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.hero-kicker-pill {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #fff;
  border-radius: inherit;
  padding: 0.2rem 0.65rem;
  font-weight: 600;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  color: #020617;
}

.hero-title span {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  max-width: 36rem;
}

.hero-meta {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.meta-pill {
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.04);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.stat-card {
  padding: 0.65rem 0.85rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.45);
  min-width: 130px;
  text-align: center;
  width: 100%;
}

.stat-value {
  font-weight: 600;
  font-size: 2.5rem;
  color: #0f172a;
 background: linear-gradient(135deg, #0ea5e9, #22c55e);
 background-clip:text;
 color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  border-radius: 14px;
  padding: 0.55rem 0.7rem;
  background: rgba(15, 23, 42, 0.04);
}

.hero-note strong {
  color: #111827;
}

.content-shell {
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem 2rem;
}

.section-heading {
  margin: 2.2rem 0 1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: #111827;
}

.section-description {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.profiles-grid {
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
  margin-top: 0.5rem;
}

.profile-card {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.3rem 1.35rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 3.2fr) minmax(0, 1.5fr);
  gap: 1.3rem;
  align-items: flex-start;
}

.profile-card:nth-child(even) {
  background: linear-gradient(120deg, #f9fafb, #ffffff);
}

.profile-card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.headshot {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
  background: #e5e7eb;
}

.profile-name {
  margin: 0.4rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: #020617;
}

.profile-institution {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.profile-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.profile-email a {
  font-size: 0.82rem;
  word-break: break-all;
}

.profile-card-middle {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.prompt-heading {
  font-size: 0.96rem;
  font-weight: 600;
  margin: 0;
  color: var(--accent-strong);
}

blockquote {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid rgba(37, 99, 235, 0.4);
  background: var(--accent-soft);
  border-radius: 12px;
  font-size: 0.9rem;
  color: #111827;
}

blockquote p {
  margin: 0 0 0.5rem;
}

blockquote p:last-child {
  margin-bottom: 0;
}

.course-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.course-title a {
  font-weight: 600;
  font-size: 0.95rem;
}

.additional-materials {
  margin-top: 0.6rem;
  font-size: 0.86rem;
}

.additional-materials h5 {
  margin: 0 0 0.2rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
}

.additional-materials ul {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
}

.additional-materials li {
  margin-bottom: 0.12rem;
}

.profile-card-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.book-cover {
  max-width: 145px;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #e5e7eb;
}

.book-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  display: none;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.5rem 1.25rem 2rem;
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  margin-top: auto;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.78rem;
  text-align: center;
}

.site-footer a {
  color: #93c5fd;
}

.site-footer a:hover {
  color: #bfdbfe;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    align-items: stretch;
  }

  .profile-card {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 3fr);
  }

  .profile-card-right {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .hero {
    margin-top: 1.1rem;
  }

  .hero-inner {
    padding: 1.6rem 1.25rem;
    border-radius: 22px;
  }

  .profile-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.1rem 1rem;
  }

  .profile-card-left {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .headshot {
    width: 80px;
    height: 80px;
  }

  .profile-card-right {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .book-cover {
    max-width: 120px;
  }
}




/* Container */
.decision-form-shell {
  max-width: 780px;
  margin: 2.5rem auto;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Title */
.decision-form-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

/* Form layout */
.decision-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Field wrapper */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* Labels */
.form-field label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Input + Select + Textarea shared styling */
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card-alt);
  color: var(--text-main);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 8px 20px rgba(15, 23, 42, 0.1);
}

/* Textarea size */
.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

/* Submit button */
.decision-submit {
  align-self: flex-start;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: white;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.decision-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
}

.decision-submit:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
}








.pretty-table-wrapper {
  max-width: 1000px;
  margin: 2.5rem auto;
  padding: 1rem;
}

.pretty-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.08);
}

/* Header */
.pretty-table thead {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: white;
}

.pretty-table th {
  text-align: left;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  font-weight: 600;
}

/* Rows */
.pretty-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.92rem;
  color: var(--text-main);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);
}

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

/* Hover effect */
.pretty-table tbody tr:hover {
  background: rgba(14, 165, 233, 0.07);
  transition: background 0.25s ease;
}

/* Status pill styling */
.status-pill {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
}

.status-green {
  background: #16a34a;
}

.status-yellow {
  background: #eab308;
}

.status-red {
  background: #dc2626;
}


.event-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin: 2rem auto;
  max-width: 900px;
}

/* The Card Container */
.event-card {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(120deg, rgba(255,255,255,0.98), rgba(247,250,252,0.96));
  border: 1px solid rgba(226,232,240,0.9);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(15,23,42,0.06);
  align-items: center;
}

/* Alternating background like your profile cards */
.event-card:nth-child(even) {
  background: linear-gradient(120deg, #f9fafb, #ffffff);
}

/* Left side */
.event-card-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.event-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-title a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}

.event-title a:hover {
  color: var(--accent-strong);
}

/* Right side */
.event-card-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Video Button (styled like your OER book label + submit buttons) */
.event-video {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: white !important;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 12px 28px rgba(15,23,42,0.18);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.event-video:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15,23,42,0.25);
}







.theme-blue {
  background: rgba(219, 244, 255, 0.35);
}

.theme-sunset {
  background: rgba(255, 225, 205, 0.35);
}

.theme-purple {
  background: rgba(240, 225, 255, 0.35);
}

.theme-green {
  background: rgba(225, 255, 235, 0.35);
}


/* Contact info card (hero right) */
.contact-info-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(148,163,184,0.45);
  border-radius: 22px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 12px 30px rgba(15,23,42,0.10);
  font-size: 0.9rem;
}

.contact-info-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #0f172a;
}

.contact-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact form card */
.contact-form-card {
  background: linear-gradient(120deg, #ffffff, #f9fafb);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.8rem;
  border: 1px solid rgba(226,232,240,0.9);
  box-shadow: 0 14px 40px rgba(15,23,42,0.06);
  /* max-width: 720px; */
}

.contact-form-title {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
  color: #020617;
}

.contact-form-description {
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Form fields */
.contact-form {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #111827;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.45);
  font-family: inherit;
  font-size: 0.9rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,95,158,0.15);
}

/* Actions */
.form-actions {
  margin-top: 0.8rem;
  display: flex;
  justify-content: flex-end;
}

.contact-submit {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  border: none;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15,23,42,0.25);
}

.contact-submit:hover {
  filter: brightness(1.05);
}
