/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-light:  #E3E8F8;
  --c-mid:    #C0C5CD;
  --c-blue:   #3E588F;
  --c-navy:   #203562;
  --c-ink:    #0d1c3a;
  --c-white:  #ffffff;
  --font-head: 'Clash Display', sans-serif;
  --font-body: 'Satoshi', sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--c-navy);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Sticky footer: on a short page (e.g. the portal sign-in form), page-content
   grows to fill the leftover viewport height so its section's background
   reaches the footer instead of leaving the body's white background exposed
   underneath. Has no visible effect on pages already taller than the
   viewport, their natural content height already exceeds the flex space. */
.page-content { flex: 1 0 auto; display: flex; flex-direction: column; }
.page-content > * { flex: 1 0 auto; }
.footer { flex-shrink: 0; }

::selection { background: var(--c-blue); color: white; }

/* ============================================================
   MAIN NAV
============================================================ */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  background: linear-gradient(to bottom, rgba(13,28,58,0.6) 0%, rgba(13,28,58,0) 100%);
  transition: background 0.35s ease;
}

.main-nav.solid {
  background: var(--c-navy);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}

.nav-wordmark {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 12px;
}

/* Participant portal's own nav brand (src/templates/portal/layout.ts): the
   same logo image and white-silhouette filter the marketing nav's
   .nav-logo already uses, stacked over a "Participant Portal" caption
   instead of sitting beside a wordmark, so it reads as its own area of
   the same site rather than a link back to the landing page. */
.portal-nav-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
}
.portal-nav-logo {
  height: 28px;
  filter: brightness(0) invert(1);
}
.portal-nav-sub {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: white; }

.nav-register {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: var(--c-blue);
  padding: 10px 22px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-register:hover { background: #2e4475; }

.nav-register-mobile { display: none; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  margin-left: 12px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh;
  background: url('/assets/hero-bg.png') center center / cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 88px 80px 96px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13, 28, 58, 0.18) 0%,
    rgba(13, 28, 58, 0.55) 45%,
    rgba(13, 28, 58, 0.93) 100%
  );
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--c-blue), var(--c-light));
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-light);
  background: var(--c-blue);
  padding: 6px 14px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(48px, 7.5vw, 100px);
  line-height: 0.95;
  color: white;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.hero-title .iec {
  color: var(--c-light);
  opacity: 0.75;
}

.hero-title-sub {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 600;
  color: var(--c-light);
  opacity: 0.92;
  text-transform: uppercase;
  line-height: 1.15;
  margin-top: 10px;
  text-decoration: none;
}

.hero-title-sub:hover { opacity: 1; }

.hero-theme {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.62);
  max-width: 560px;
  line-height: 1.55;
  margin-top: 22px;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.hero-meta-item:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.hero-meta-item svg { opacity: 0.6; flex-shrink: 0; }

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: var(--c-blue);
  padding: 16px 36px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover { background: #2e4475; transform: translateY(-2px); }

button:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

.btn-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 16px 36px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

/* Sign-out (src/templates/portal/dashboard.ts). .btn-ghost's white-on-
   transparent styling is meant for dark sections (hero, auth pages); on the
   dashboard's light cards it read as a barely-visible grey outline instead
   of a real action. */
.btn-danger {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: #b3382c;
  border: 1px solid #b3382c;
  padding: 16px 36px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-danger:hover { background: #8f2c22; }

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

/* ============================================================
   STATS STRIP
============================================================ */
.stats-strip {
  background: var(--c-navy);
  padding: 56px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 0 48px;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.stat:first-child { border-left: none; padding-left: 0; }
.stat:last-child { padding-right: 0; }

.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 60px;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   SECTION BASE
============================================================ */
.section {
  padding: 96px 80px;
}

.section-light { background: var(--c-light); }
.section-dark  { background: var(--c-navy); color: white; }
.section-ink   { background: var(--c-ink); color: white; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 14px;
}

.section-dark .eyebrow,
.section-ink  .eyebrow { color: rgba(255,255,255,0.45); }

.section-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--c-navy);
  overflow-wrap: anywhere;
}

.section-dark .section-heading,
.section-ink  .section-heading { color: white; }

/* ============================================================
   ABOUT
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: start;
}

.objectives {
  margin-top: 40px;
  border-top: 1px solid var(--c-mid);
}

.obj-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-mid);
}

.obj-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-blue);
  opacity: 0.55;
  min-width: 26px;
  padding-top: 2px;
}

.obj-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: #3d4a60;
  line-height: 1.6;
}

.about-body p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.78;
  color: #4a5568;
  margin-bottom: 22px;
}

.about-body p:last-child { margin-bottom: 0; }

.quick-facts {
  margin-top: 48px;
  border-top: 1px solid var(--c-mid);
  padding-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fact-card {
  background: var(--c-light);
  padding: 28px 24px;
  border-left: 3px solid var(--c-blue);
}

.fact-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 8px;
}

.fact-value {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  color: var(--c-navy);
  line-height: 1.25;
}

.fact-sub {
  font-family: var(--font-body);
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

/* ============================================================
   PROGRAMME
============================================================ */
.day-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--c-mid);
}

.day-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--c-mid);
  padding: 14px 32px;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  background: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.day-btn.active {
  color: var(--c-navy);
  border-bottom-color: var(--c-navy);
}

.day-panel { display: none; }
.day-panel.active { display: block; }

.schedule-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.schedule {
  width: 100%;
  border-collapse: collapse;
}

.schedule tr { border-bottom: 1px solid #eaecf2; }
.schedule tr:last-child { border-bottom: none; }

.schedule td {
  padding: 18px 14px;
  vertical-align: top;
}

.sc-time {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-blue);
  white-space: nowrap;
  min-width: 155px;
  padding-top: 20px;
}

.sc-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-navy);
  line-height: 1.45;
}

.sc-title.bold { font-weight: 700; }

.sc-speaker {
  font-family: var(--font-body);
  font-size: 13px;
  color: #777;
  min-width: 180px;
  line-height: 1.5;
}

.badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-bottom: 6px;
  margin-right: 4px;
}

.badge-keynote  { background: var(--c-navy); color: white; }
.badge-panel    { background: var(--c-light); color: var(--c-navy); }
.badge-break    { background: #f4f4f4; color: #888; }
.badge-workshop { background: #e6f0e6; color: #2d5a2d; }
.badge-closing  { background: var(--c-blue); color: white; }
.badge-closed   { background: #f4f4f4; color: #b33; }

/* ============================================================
   SPEAKERS
============================================================ */
.spk-section { padding: 0 !important; }
.spk-header { padding: 72px 60px 44px; }

.spk-carousel {
  position: relative;
}

.spk-panels {
  display: flex;
  height: 80vh;
  min-height: 520px;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.spk-panels::-webkit-scrollbar { display: none; }

.spk-panel {
  flex: 0 0 clamp(230px, 27vw, 360px);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.spk-panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  -webkit-filter: saturate(0.72) contrast(1.1);
  filter: saturate(0.72) contrast(1.1);
  transition: transform 0.52s ease, filter 0.4s ease;
}

.spk-panel:hover .spk-panel-img {
  transform: scale(1.05);
  -webkit-filter: saturate(1) contrast(1.04);
  filter: saturate(1) contrast(1.04);
}

.spk-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(8,14,28,0.95) 0%,
    rgba(8,14,28,0.55) 38%,
    rgba(8,14,28,0.0) 68%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 22px 30px;
}

.spk-num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-head);
  font-size: 96px;
  font-weight: 700;
  color: rgba(255,255,255,0.055);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transition: color 0.4s ease;
}

.spk-chip {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 9px;
}

.spk-panel-name {
  font-family: var(--font-head);
  font-size: clamp(14px, 1.35vw, 21px);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 5px;
  white-space: normal;
  overflow-wrap: break-word;
}

.spk-panel-role {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.52);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spk-panel-topic {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spk-panel-placeholder {
  width: 100%;
  height: 100%;
  background: #080e1c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spk-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(8,14,28,0.72);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.spk-arrow:hover:not(:disabled) { background: var(--c-blue); border-color: var(--c-blue); }
.spk-arrow:disabled { opacity: 0.28; cursor: default; }
.spk-arrow-prev { left: 16px; }
.spk-arrow-next { right: 16px; }

.spk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 60px 60px;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 40px;
}

.spk-footer-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

.spk-footer-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ============================================================
   SPEAKER DETAIL PAGE
============================================================ */
.spk-detail-hero-inner {
  max-width: 980px;
  display: flex;
  gap: 48px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.spk-detail-hero .article-back { color: rgba(255,255,255,0.5); }
.spk-detail-hero .article-back:hover { color: white; }

.spk-detail-top {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.spk-detail-photo {
  width: 220px;
  height: 280px;
  flex-shrink: 0;
  overflow: hidden;
  background: #080e1c;
}

.spk-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: saturate(0.85) contrast(1.05);
}

.spk-detail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spk-detail-chip {
  opacity: 1;
  transform: none;
  margin-bottom: 14px;
}

.spk-detail-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  color: white;
  text-transform: none;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.spk-detail-role {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
  max-width: 480px;
  margin-bottom: 8px;
}

.spk-detail-topic {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-style: italic;
  color: rgba(255,255,255,0.4);
}

.spk-detail-body-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 80px 96px;
}

.spk-detail-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.78;
  color: #3d4a60;
}
.spk-detail-body p { margin-bottom: 20px; }
.spk-detail-body p:last-child { margin-bottom: 0; }
.spk-detail-empty { color: var(--c-mid); font-style: italic; }

@media (max-width: 720px) {
  .spk-detail-hero-inner, .spk-detail-top { gap: 24px; }
  .spk-detail-photo { width: 160px; height: 200px; }
  .spk-detail-body-section { padding: 40px 24px 64px; }
}

/* ============================================================
   LOGOS
============================================================ */
.logos-section {
  background: white;
  padding: 64px 60px;
  text-align: center;
  border-top: 1px solid #eaecf2;
}

.logos-eyebrow {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 48px;
}

.logos-tier { margin-bottom: 44px; }
.logos-tier:last-child { margin-bottom: 0; }

.logos-tier-label {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin-bottom: 16px;
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  align-items: center;
}

.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
}

.logo-cell img {
  display: block;
  object-fit: contain;
  -webkit-filter: grayscale(1) opacity(0.45);
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.22s;
}

.logo-cell:hover img {
  -webkit-filter: grayscale(0) opacity(1);
  filter: grayscale(0) opacity(1);
}

.logo-cell.presenting img { width: 200px; height: 68px; }
.logo-cell.gold img        { width: 150px; height: 52px; }
.logo-cell.supporting img  { width: 130px; height: 44px; }
.logo-cell.community img   { width: 115px; height: 38px; }

/* ============================================================
   VENUE
============================================================ */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.venue-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.venue-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-filter: brightness(0.82) saturate(1.1);
  filter: brightness(0.82) saturate(1.1);
}

.venue-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 48px);
  color: white;
  line-height: 1.1;
  margin-top: 24px;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}

.venue-desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255,255,255,0.58);
  line-height: 1.75;
  margin-bottom: 44px;
}

.venue-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.vf-item {
  padding: 20px 24px 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.vf-item:nth-child(even) { padding-left: 24px; padding-right: 0; border-left: 1px solid rgba(255,255,255,0.08); }

.vf-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 5px;
}

.vf-value {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: white;
  line-height: 1.4;
}

/* ============================================================
   COLLABORATIVE PARTNERS
============================================================ */
.sponsor-intro {
  max-width: 580px;
  font-family: var(--font-body);
  font-size: 18px;
  color: #5a6580;
  line-height: 1.65;
  margin-top: 20px;
  margin-bottom: 56px;
}

.sponsor-tiers {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sponsor-tiers-row {
  display: grid;
  gap: 24px;
}

.sponsor-tiers-row--top { grid-template-columns: 1fr 1fr; }
.sponsor-tiers-row--bottom { grid-template-columns: repeat(3, 1fr); }

.tier-card {
  border: 1px solid var(--c-mid);
  padding: 40px 36px;
  position: relative;
}

.tier-card.featured {
  background: var(--c-navy);
  border-color: var(--c-navy);
}

.tier-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 12px;
}

.tier-card.featured .tier-badge { color: rgba(255,255,255,0.45); }

.tier-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--c-navy);
  margin-bottom: 4px;
}

.tier-card.featured .tier-name { color: white; }

.tier-amount {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 38px;
  color: var(--c-blue);
  margin-bottom: 28px;
  border-bottom: 1px solid var(--c-mid);
  padding-bottom: 24px;
}

.tier-card.featured .tier-amount {
  color: var(--c-light);
  border-bottom-color: rgba(255,255,255,0.1);
}

.tier-perks { list-style: none; }

.tier-perks li {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #4a5568;
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tier-card.featured .tier-perks li {
  color: rgba(255,255,255,0.75);
  border-top-color: rgba(255,255,255,0.08);
}

.tier-perks li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--c-blue);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.tier-card.featured .tier-perks li::before { background: var(--c-light); }

@media (min-width: 769px) {
  .tier-card.featured .tier-perks {
    column-count: 2;
    column-gap: 28px;
  }
  .tier-card.featured .tier-perks li { break-inside: avoid; }
}

.tier-cta {
  display: block;
  margin-top: 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
  text-decoration: none;
  padding: 12px 0;
  border-top: 1px solid var(--c-mid);
  transition: color 0.2s;
}

.tier-card.featured .tier-cta {
  color: var(--c-light);
  border-top-color: rgba(255,255,255,0.1);
}

.tier-cta:hover { color: var(--c-navy); }
.tier-card.featured .tier-cta:hover { color: white; }

/* ============================================================
   COMPETITION PAGE
============================================================ */
.comp-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-mid);
  border: 1px solid var(--c-mid);
}

.comp-cat-card {
  background: var(--c-white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comp-cat-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-blue);
  letter-spacing: 0.08em;
}

.comp-cat-name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--c-navy);
  line-height: 1.25;
}

.comp-cat-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-navy);
  opacity: 0.7;
  line-height: 1.55;
}

.rubric-table {
  width: 100%;
  border-collapse: collapse;
}

.rubric-table th {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-mid);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1.5px solid var(--c-navy);
}

.rubric-table td {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-navy);
  padding: 16px 14px;
  border-bottom: 1px solid #eaecf2;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.prize-card {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 32px 24px;
  text-align: center;
}

.prize-place {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.prize-amount {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: white;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 96px;
  align-items: center;
}

.contact-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(52px, 6vw, 80px);
  color: white;
  text-transform: uppercase;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.contact-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 22px;
  max-width: 340px;
}

.contact-items { display: flex; flex-direction: column; gap: 28px; }

.ci-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 5px;
}

.ci-value {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  line-height: 1.45;
  display: block;
}

a.ci-value:hover { color: var(--c-light); }

.contact-cta {
  margin-top: 8px;
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: var(--c-blue);
  padding: 16px 36px;
  text-decoration: none;
  transition: background 0.2s;
}

.contact-cta:hover { background: #2e4475; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #060e1e;
  padding: 36px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 28px;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
  opacity: 0.3;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-social {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.footer-social:hover { color: white; }

.footer-text {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .main-nav { padding: 0 32px; }
  .nav-links { gap: 20px; }
  .hero { padding: 88px 48px 72px; }
  .section { padding: 72px 48px; }
  .stats-strip { padding: 40px 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .venue-grid { grid-template-columns: 1fr; gap: 40px; }
  .sponsor-tiers-row--bottom { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
  .page-hero { padding: 120px 48px 56px; }
  .spk-header { padding: 56px 40px 32px; }
}

@media (max-width: 768px) {
  .main-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 88px 24px 64px; }
  .hero-title { font-size: clamp(22px, 7.5vw, 56px); overflow-wrap: anywhere; }
  .hero-title-sub { font-size: clamp(14px, 4.2vw, 20px); margin-top: 6px; }
  .section { padding: 56px 24px; }
  .stats-strip { padding: 32px 24px; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat { padding: 0 0 0 24px; }
  .stat:first-child { padding-left: 0; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .spk-panels { height: 62vh; min-height: 380px; }
  .spk-panel { flex-basis: 82vw; }
  .spk-arrow { width: 40px; height: 40px; font-size: 16px; }
  .spk-arrow-prev { left: 8px; }
  .spk-arrow-next { right: 8px; }
  .spk-footer { padding: 24px 24px 48px; }
  .sponsor-tiers-row--top,
  .sponsor-tiers-row--bottom { grid-template-columns: 1fr; }
  .footer { padding: 24px; flex-direction: column; align-items: flex-start; }
  .logos-section { padding: 40px 24px; }
  .page-hero { padding: 100px 24px 48px; }
  .spk-header { padding: 48px 24px 28px; }
  .sponsor-intro { font-size: 16px; }
  .sc-speaker { display: none; }
  .sc-time { min-width: unset; white-space: normal; }
  .nav-logo { min-width: 0; }
  .nav-hamburger { display: flex; flex-shrink: 0; }
  .nav-register { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-navy);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 15px;
  }
  .nav-links li a.nav-register-mobile {
    display: block;
    margin-top: 12px;
    padding: 14px 0;
    border-bottom: none;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--c-blue);
    color: white;
  }
}

@media (max-width: 420px) {
  .nav-wordmark { display: none; }
}

@media (max-width: 340px) {
  .quick-facts { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE HERO (inner pages — register, news, etc.)
============================================================ */
.page-hero {
  padding: 140px 80px 72px;
  background: var(--c-white);
}
.page-hero--light { background: var(--c-light); }
.page-hero--dark  { background: var(--c-ink); }

.page-hero-inner { max-width: 780px; }

.page-hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--c-navy);
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.page-hero--dark .page-hero-title { color: white; }

.page-hero-sub {
  font-family: var(--font-body);
  font-size: 17px;
  color: #5a6a85;
  line-height: 1.7;
  max-width: 560px;
  margin-top: 18px;
}

.register-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 88px;
  background:
    linear-gradient(90deg, rgba(13,28,58,0.86) 0%, rgba(13,28,58,0.56) 42%, rgba(13,28,58,0.12) 100%),
    linear-gradient(180deg, rgba(13,28,58,0.12) 0%, rgba(13,28,58,0.18) 54%, rgba(13,28,58,0.44) 100%),
    url('/assets/register-hero-putrajaya.png') center center / cover no-repeat;
}

.register-hero .page-hero-inner {
  position: relative;
  z-index: 1;
}

.register-hero .eyebrow,
.register-hero .page-hero-title,
.register-hero .page-hero-sub {
  color: white;
}

.register-hero .page-hero-sub {
  color: rgba(255,255,255,0.86);
}

.registration-deadline {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: fit-content;
  margin-top: 22px;
  padding: 11px 0 11px 16px;
  border-left: 3px solid rgba(255,255,255,0.9);
  color: white;
}

.registration-deadline span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.72;
  text-transform: uppercase;
}

.registration-deadline time {
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

/* ============================================================
   REGISTRATION FORM
============================================================ */
.form-section {
  padding: 64px 80px 96px;
  background: var(--c-white);
}

.form-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.reg-form { display: flex; flex-direction: column; gap: 20px; }

.eb-countdown {
  background: var(--c-navy);
  padding: 28px 32px;
  margin-bottom: 4px;
}

.eb-countdown-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.eb-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.eb-countdown-cell {
  padding: 0 24px;
  border-left: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.eb-countdown-cell:first-child { border-left: none; padding-left: 0; }
.eb-countdown-cell:last-child { padding-right: 0; }

.eb-countdown-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 40px;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}

.eb-countdown-unit {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.eb-price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.eb-price-card {
  border: 1.5px solid var(--c-mid);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.eb-price-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 16px;
  min-height: 2.6em;
}

.eb-price-headline {
  font-family: var(--font-head);
  font-size: clamp(22px, 6vw, 30px);
  color: var(--c-navy);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.eb-price-sub {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-mid);
  margin-bottom: 20px;
}

.eb-price-strike {
  text-decoration: line-through;
  color: var(--c-mid);
  font-size: 0.6em;
  margin-right: 6px;
}

.eb-price-current { font-weight: 600; }

.eb-price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--c-light);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-navy);
}

.eb-price-row-label { color: var(--c-mid); min-width: 0; }
.eb-price-row-value { text-align: right; min-width: 0; }

.eb-price-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-navy);
  opacity: 0.7;
  line-height: 1.5;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .eb-countdown { padding: 24px 20px; }
  .eb-countdown-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .eb-countdown-cell { padding: 0 0 0 20px; }
  .eb-countdown-cell:first-child { padding-left: 0; }
  .eb-countdown-cell:nth-child(3) { border-left: none; padding-left: 0; }
  .eb-countdown-num { font-size: 32px; }
  .eb-price-cards { grid-template-columns: 1fr; gap: 16px; }
  .eb-price-card { padding: 24px 20px; }
  .eb-price-eyebrow { min-height: 0; margin-bottom: 12px; }
  .eb-price-row { flex-wrap: wrap; }
}

.rf-pricing-table {
  min-width: 1040px;
  table-layout: fixed;
}

.rf-pricing-table th:nth-child(1) { width: 18%; }
.rf-pricing-table th:nth-child(2),
.rf-pricing-table th:nth-child(3) { width: 13%; }
.rf-pricing-table th:nth-child(4) { width: 15%; }
.rf-pricing-table th:nth-child(5) { width: 16%; }
.rf-pricing-table th:nth-child(6) { width: 25%; }

.rf-pricing-table th,
.rf-pricing-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.reg-form > *,
.rf-grid-2 > *,
.rf-group { min-width: 0; }

.reg-choice-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.reg-choice-card {
  border: 1.5px solid var(--c-mid);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reg-choice-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
}

.reg-choice-title {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--c-navy);
}

.reg-choice-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-navy);
  opacity: 0.75;
  line-height: 1.6;
  flex: 1;
}

.reg-choice-price {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-mid);
  margin-bottom: 8px;
}

.rf-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.rf-group { display: flex; flex-direction: column; gap: 8px; }
.rf-group.rf-error .rf-input { border-color: #c0392b; }

.rf-group.rf-error,
.rf-global-error {
  scroll-margin-top: 100px;
}

.rf-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-navy);
}

.rf-opt {
  font-weight: 400;
  color: var(--c-mid);
  text-transform: none;
  letter-spacing: 0;
}

.rf-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-navy);
  background: var(--c-white);
  border: 1.5px solid var(--c-mid);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.rf-input:focus { border-color: var(--c-blue); }

.rf-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%23203562'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }

.rf-textarea { resize: vertical; min-height: 80px; }
.rf-textarea--tall { min-height: 280px; font-family: var(--font-body); font-size: 14px; }

.rf-msg {
  font-family: var(--font-body);
  font-size: 12px;
  color: #c0392b;
  margin-top: 2px;
}

.rf-global-error {
  background: #fdf0ef;
  border-left: 3px solid #c0392b;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #c0392b;
  margin-bottom: 8px;
}

.rf-footer {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-top: 8px;
  flex-wrap: wrap;
}

.rf-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-mid);
  line-height: 1.6;
  flex: 1;
  min-width: 220px;
}

.rf-submit { flex-shrink: 0; }

.rf-check-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-navy);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.rf-file { max-width: 100%; padding: 10px 16px; cursor: pointer; overflow: hidden; }

.rf-hint {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-mid);
}

.rf-info-box {
  background: var(--c-light);
  border-left: 3px solid var(--c-blue);
  padding: 20px 24px;
  margin: 4px 0;
}

.rf-info-box-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.rf-info-box-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 12px;
}

.rf-info-box-list div { display: flex; flex-direction: column; gap: 2px; }

.rf-info-box-list dt {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-mid);
}

.rf-info-box-list dd {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-navy);
  margin: 0;
  overflow-wrap: anywhere;
}

.rf-info-box-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-navy);
  opacity: 0.75;
  line-height: 1.5;
}

/* ============================================================
   NEWS PAGES
============================================================ */
.news-section { padding: 64px 80px 96px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.news-card {
  border: 1px solid var(--c-mid);
  display: flex;
  flex-direction: column;
}

.news-card-img-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; }
.news-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.news-card-img-wrap:hover .news-card-img { transform: scale(1.04); }

.news-card-body { padding: 28px 24px; display: flex; flex-direction: column; flex: 1; }

.news-card-date {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 10px;
}

.news-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--c-navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

.news-card-title a { color: inherit; text-decoration: none; }
.news-card-title a:hover { color: var(--c-blue); }

.news-card-excerpt {
  font-family: var(--font-body);
  font-size: 15px;
  color: #5a6a85;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.news-card-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
  text-decoration: none;
}
.news-card-link:hover { color: var(--c-navy); }

.news-empty {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--c-mid);
  grid-column: 1 / -1;
  padding: 48px 0;
}

/* article detail */
.article-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 120px 80px 96px;
}

.article-back {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 28px;
}
.article-back:hover { color: var(--c-navy); }

.article-date {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blue);
  display: block;
  margin-bottom: 14px;
}

.article-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  color: var(--c-navy);
  overflow-wrap: anywhere;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.article-excerpt {
  font-family: var(--font-body);
  font-size: 20px;
  color: #5a6a85;
  line-height: 1.65;
  border-top: 1px solid var(--c-mid);
  border-bottom: 1px solid var(--c-mid);
  padding: 20px 0;
  margin-bottom: 36px;
}

.article-cover { margin-bottom: 40px; }
.article-cover img { width: 100%; display: block; }

.article-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.78;
  color: #3d4a60;
}
.article-body h2 { font-family: var(--font-head); font-size: 28px; color: var(--c-navy); margin: 40px 0 16px; }
.article-body h3 { font-family: var(--font-head); font-size: 22px; color: var(--c-navy); margin: 32px 0 12px; }
.article-body p  { margin-bottom: 20px; }
.article-body a  { color: var(--c-blue); }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { margin-bottom: 8px; }
.article-body img { max-width: 100%; display: block; margin: 28px 0; }
.article-body blockquote { border-left: 3px solid var(--c-blue); margin: 28px 0; padding: 4px 24px; color: #5a6a85; }

/* ============================================================
   ADMIN PANEL
============================================================ */
.admin-body {
  background: #0d1220;
  min-height: 100vh;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #0a0f1c;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  padding: 32px 0 24px;
  position: fixed;
  top: 0; left: 0; bottom: 0;
}

.admin-brand {
  padding: 0 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 12px;
}

.admin-brand-logo {
  height: 30px;
  filter: brightness(0) invert(1);
  display: block;
}

.admin-brand-sub {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  display: block;
  margin-top: 4px;
}

.admin-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; flex: 1; }

.admin-nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.admin-nav-link:hover { color: white; background: rgba(255,255,255,0.06); }
.admin-nav-link.active { color: white; background: var(--c-blue); }

.admin-nav-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  padding: 14px 12px 4px;
}

.admin-logout-form { padding: 0 12px; }
.admin-logout-btn {
  width: 100%;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 12px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  border-radius: 4px;
}
.admin-logout-btn:hover { color: white; border-color: rgba(255,255,255,0.3); }

.admin-main {
  flex: 1;
  margin-left: 220px;
  background: #111826;
  min-height: 100vh;
}

.admin-content { padding: 40px 48px; max-width: 1280px; }

/* page header */
.adm-page-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}
.adm-page-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 32px;
  color: white;
}
.adm-page-sub {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.adm-section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

/* stat cards */
.adm-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.adm-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.adm-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px 20px;
  min-width: 0;
}
.adm-stat--primary { background: rgba(62,88,143,0.35); border-color: rgba(128,160,224,0.28); }
.adm-stat--warn { background: rgba(241,196,15,0.09); border-color: rgba(241,196,15,0.26); }
.adm-stat--money { background: rgba(46,204,113,0.08); border-color: rgba(46,204,113,0.22); }
.adm-stat-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.adm-stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.adm-stat-sub {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  margin-top: 4px;
}

.adm-dashboard-main {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin-top: 18px;
}
.adm-dashboard-main--equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.adm-panel {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 22px;
  min-width: 0;
}
.adm-panel--wide { min-height: 330px; }
.adm-panel--compact { margin-top: 18px; }
.adm-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.adm-panel-head h2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 0 4px;
}
.adm-panel-head p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.38);
  margin: 0;
}
.adm-panel-head > span {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  font-variant-numeric: tabular-nums;
}
.adm-attention-list {
  display: grid;
  gap: 10px;
}
.adm-attention-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  min-height: 58px;
  color: white;
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.adm-attention-list a:hover { background: rgba(62,88,143,0.35); border-color: rgba(128,160,224,0.26); }
.adm-attention-list a {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.adm-attention-list span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
  text-align: right;
}

/* dashboard bar breakdown */
.adm-chart {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.adm-chart-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.adm-chart-label {
  width: 140px;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.adm-chart-track {
  flex: 1;
  height: 16px;
  background: rgba(255,255,255,0.06);
}
.adm-chart-fill {
  height: 100%;
  border-radius: 0 3px 3px 0;
}
.adm-chart-value {
  width: 40px;
  flex-shrink: 0;
  text-align: right;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  font-variant-numeric: tabular-nums;
}

.adm-vbar-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 16px;
  min-height: 230px;
  align-items: end;
}
.adm-vbar-item {
  display: grid;
  grid-template-rows: 24px 150px auto;
  gap: 8px;
  min-width: 0;
}
.adm-vbar-value {
  text-align: center;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: white;
  font-variant-numeric: tabular-nums;
}
.adm-vbar-track {
  position: relative;
  display: flex;
  align-items: end;
  width: 100%;
  min-height: 150px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.06);
}
.adm-vbar-fill {
  width: 100%;
  min-height: 0;
  border-radius: 4px 4px 0 0;
}
.adm-vbar-label {
  min-height: 34px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.25;
  color: rgba(255,255,255,0.48);
  text-align: center;
  overflow-wrap: anywhere;
}

/* Stacked variant: multiple colored segments in one track, bottom-up. */
.adm-vbar-track--stacked { flex-direction: column-reverse; }
.adm-vbar-track--stacked .adm-vbar-fill:not(:last-child) { border-radius: 0; }
.adm-vbar-fill--overflow {
  outline: 2px dashed rgba(255,255,255,0.5);
  outline-offset: -2px;
}
.adm-vbar-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  vertical-align: middle;
}

/* Dense variant: many bars (e.g. 20 universities), tighter columns/labels. */
.adm-vbar-chart--dense {
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
  gap: 10px;
}
.adm-vbar-chart--dense .adm-vbar-label { font-size: 10.5px; min-height: 44px; }
.adm-vbar-chart--dense .adm-vbar-value { font-size: 15px; }

.adm-vbar-track--stacked .adm-vbar-fill { position: relative; cursor: pointer; }
.adm-vbar-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 140px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #111826;
  border: 1px solid rgba(255,255,255,0.14);
  font-family: var(--font-body);
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease;
  z-index: 5;
}
.adm-vbar-track--stacked .adm-vbar-fill:hover .adm-vbar-tooltip { opacity: 1; }
.adm-vbar-tooltip-title {
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.adm-vbar-tooltip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  padding: 2px 0;
}
.adm-vbar-tooltip-row i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  font-style: normal;
  flex-shrink: 0;
}
.adm-vbar-tooltip-row span {
  margin-left: auto;
  font-weight: 700;
  color: white;
  font-variant-numeric: tabular-nums;
}
.adm-vbar-tooltip-note {
  margin-top: 4px;
  font-size: 10.5px;
  color: rgba(255,255,255,0.5);
}

.adm-legend {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.adm-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.adm-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  font-style: normal;
}

.adm-line-chart {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  font-family: var(--font-body);
  overflow: visible;
}
.adm-line-axis {
  stroke: rgba(255,255,255,0.11);
  stroke-width: 1;
}
.adm-line-area { fill: rgba(128,160,224,0.13); }
.adm-line-path {
  fill: none;
  stroke: #80a0e0;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.adm-line-dot { fill: #d8e4ff; stroke: #111826; stroke-width: 2; }
.adm-line-chart text {
  fill: rgba(255,255,255,0.38);
  font-size: 12px;
}
.adm-line-chart .adm-line-max,
.adm-line-chart .adm-line-last {
  fill: rgba(255,255,255,0.62);
  font-weight: 700;
}
.adm-line-point { cursor: pointer; }
.adm-line-hit { fill: transparent; pointer-events: all; }
.adm-line-point:hover .adm-line-dot { r: 4; }
.adm-line-tip {
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease;
}
.adm-line-point:hover .adm-line-tip { opacity: 1; }
.adm-line-tip rect {
  fill: #111826;
  stroke: rgba(255,255,255,0.14);
  stroke-width: 1;
}
.adm-line-tip text {
  font-size: 11px;
}
.adm-line-tip-label { fill: rgba(255,255,255,0.55); }
.adm-line-tip-value { fill: #d8e4ff; font-weight: 700; }
.adm-line-empty {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.025);
}
.adm-line-empty span {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.38);
}

/* quick links */
.adm-quick-links {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.adm-quick-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-light);
  background: rgba(62,88,143,0.35);
  border: 1px solid rgba(62,88,143,0.6);
  padding: 10px 18px;
  text-decoration: none;
  transition: background 0.15s;
}
.adm-quick-link:hover { background: var(--c-blue); }

/* registration detail page */
.adm-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.adm-detail-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px;
  min-width: 0;
}

.adm-detail-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.adm-detail-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.adm-detail-value {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  word-break: break-word;
}

.adm-receipt-img {
  max-width: 100%;
  max-height: 320px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* filter bar */
.adm-filter-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.adm-filter-select { max-width: 180px; background: #1a2236; color: white; border-color: rgba(255,255,255,0.12); }
.adm-filter-count {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-left: auto;
}

/* buttons */
.adm-btn-sm {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  background: var(--c-blue);
  border: 1px solid var(--c-blue);
  padding: 8px 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-block;
}
.adm-btn-sm:hover { background: #2e4475; }
.adm-btn-ghost { background: transparent; color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.15); }
.adm-btn-ghost:hover { background: rgba(255,255,255,0.06); color: white; }

/* table */
.adm-table-wrap { overflow-x: auto; }
.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 13px;
}
.adm-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}
.adm-table td {
  padding: 12px 12px;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: middle;
}
.adm-table tr:last-child td { border-bottom: none; }
.adm-table tr:hover td { background: rgba(255,255,255,0.02); }
.adm-td-date { white-space: nowrap; color: rgba(255,255,255,0.35) !important; }
.adm-empty { color: rgba(255,255,255,0.25) !important; padding: 32px 12px !important; }
.adm-link { color: var(--c-light); text-decoration: none; }
.adm-link:hover { color: white; text-decoration: underline; }
.adm-slug { font-size: 11px; color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); padding: 2px 6px; }

/* badges */
.adm-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  display: inline-block;
}
.adm-badge--green  { background: rgba(39,174,96,0.15);  color: #2ecc71; }
.adm-badge--yellow { background: rgba(241,196,15,0.12); color: #f1c40f; }
.adm-badge--red    { background: rgba(192,57,43,0.15);  color: #e74c3c; }
.adm-badge--grey   { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }

/* mini form controls in table */
.adm-mini-select {
  font-family: var(--font-body);
  font-size: 12px;
  background: #1a2236;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 8px;
  appearance: none;
  -webkit-appearance: none;
}
.adm-mini-btn {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.adm-mini-btn:hover { background: rgba(255,255,255,0.12); color: white; }
.adm-mini-btn--danger:hover { background: rgba(192,57,43,0.25); color: #e74c3c; border-color: rgba(192,57,43,0.4); }

/* admin form */
.adm-form { display: flex; flex-direction: column; gap: 20px; max-width: 800px; }
.adm-form .rf-input { background: #1a2236; color: white; border-color: rgba(255,255,255,0.12); }
.adm-form .rf-input:focus { border-color: var(--c-blue); }
.adm-form .rf-label { color: rgba(255,255,255,0.6); }
.adm-form .rf-check-label { color: rgba(255,255,255,0.6); }

/* admin alert */
.admin-alert {
  background: rgba(192,57,43,0.15);
  border-left: 3px solid #e74c3c;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #e74c3c;
  margin-bottom: 20px;
}

/* admin login page */
.admin-login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--c-ink); }
.admin-login-wrap { width: 100%; max-width: 400px; padding: 24px; }
.admin-login-card { background: #111826; border: 1px solid rgba(255,255,255,0.08); padding: 40px; }
.admin-login-brand { margin-bottom: 28px; }
.admin-login-form { display: flex; flex-direction: column; gap: 16px; }
.admin-login-form .rf-input { background: #1a2236; color: white; border-color: rgba(255,255,255,0.12); }
.admin-login-form .rf-input:focus { border-color: var(--c-blue); }
.admin-login-form .rf-label { color: rgba(255,255,255,0.5); }

/* responsive admin */
@media (max-width: 768px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; position: relative; height: auto; flex-direction: row; flex-wrap: wrap; padding: 16px; gap: 8px; }
  .admin-brand { padding: 0; border: none; margin: 0; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; padding: 0; }
  .admin-main { margin-left: 0; }
  .admin-content { padding: 24px 16px; }
  .adm-page-header { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .adm-dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-dashboard-main,
  .adm-dashboard-main--equal { grid-template-columns: 1fr; }
  .adm-panel { padding: 18px 16px; }
  .adm-panel-head { flex-direction: column; gap: 8px; }
  .adm-panel-head > span { font-size: 20px; }
  .adm-vbar-chart { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .adm-vbar-item { grid-template-rows: 24px 130px auto; }
  .adm-vbar-track { min-height: 130px; }
  .adm-vbar-chart--dense { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .adm-vbar-chart--dense .adm-vbar-item { grid-template-rows: 18px 90px auto; }
  .adm-vbar-chart--dense .adm-vbar-track { min-height: 90px; }
  .rf-grid-2 { grid-template-columns: 1fr; }
  .rf-info-box-list { grid-template-columns: 1fr; }
  .reg-choice-grid { grid-template-columns: 1fr; }
  .comp-cat-grid { grid-template-columns: 1fr; }
  .prize-grid { grid-template-columns: 1fr 1fr; }
  .adm-detail-grid { grid-template-columns: 1fr; }
  .adm-detail-row { grid-template-columns: 1fr; }
  .form-section { padding: 40px 20px 64px; }
  .page-hero { padding: 100px 24px 48px; }
  .news-section { padding: 40px 24px 64px; }
  .article-wrap { padding: 100px 24px 64px; }

  .register-hero {
    min-height: 420px;
    padding: 100px 20px 48px;
    background-position: 58% center;
  }
  .register-hero .page-hero-title { font-size: clamp(40px, 14vw, 64px); }
  .register-hero .page-hero-sub { font-size: 15px; line-height: 1.55; }
  .registration-deadline { align-items: flex-start; flex-direction: column; gap: 6px; padding-left: 13px; }
  .registration-deadline time { font-size: 21px; }

  .reg-form { gap: 18px; }
  .rf-grid-2 { gap: 18px; }
  .rf-input { min-height: 48px; font-size: 16px; }
  .rf-textarea { min-height: 96px; }
  .rf-check-label { line-height: 1.5; }
  .rf-check-label input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; }
  .rf-info-box { padding: 18px 16px; }
  .rf-footer { flex-direction: column; gap: 16px; }
  .rf-note { min-width: 0; }
  .rf-submit { width: 100%; min-height: 48px; text-align: center; }

  .form-section .schedule-wrap { overflow-x: visible; }
  .rf-pricing-table,
  .rf-pricing-table tbody,
  .rf-pricing-table tr,
  .rf-pricing-table td { display: block; width: 100%; }
  .rf-pricing-table { min-width: 0; table-layout: auto; }
  .rf-pricing-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .rf-pricing-table tr {
    margin: 12px 0;
    border: 1px solid #d9deea;
    background: #fff;
  }
  .rf-pricing-table td {
    display: grid;
    grid-template-columns: minmax(108px, 0.8fr) minmax(0, 1.2fr);
    gap: 12px;
    padding: 11px 12px;
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .rf-pricing-table td::before {
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--c-mid);
  }
  .rf-pricing-table td:first-child {
    display: block;
    padding: 14px 12px;
    font-weight: 700;
    background: var(--c-light);
  }
  .rf-pricing-table td:first-child::before { display: none; }

  /* wide tables become stacked cards */
  .adm-table-wrap { overflow-x: visible; }
  .adm-table thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .adm-table, .adm-table tbody, .adm-table tr, .adm-table td { display: block; width: 100%; }
  .adm-table tr {
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
  }
  .adm-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    text-align: right;
    padding: 10px 14px;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
  }
  .adm-table tr td:last-child { border-bottom: none; }
  .adm-table td[data-label]::before {
    content: attr(data-label);
    flex-shrink: 0;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
  }
  .adm-table td.adm-empty { display: block; text-align: center; }

  /* filter bar stacks full-width on mobile */
  .adm-filter-bar { flex-direction: column; align-items: stretch; }
  .adm-filter-select { max-width: none; width: 100%; }
  .adm-filter-count { margin-left: 0; text-align: right; }

  /* larger tap targets */
  .adm-mini-btn { padding: 10px 14px; min-height: 38px; display: inline-flex; align-items: center; }
  .adm-btn-sm { padding: 12px 18px; min-height: 40px; display: inline-flex; align-items: center; }
}

@media (max-width: 480px) {
  .adm-dashboard-grid { grid-template-columns: 1fr; }
  .adm-stat { padding: 18px 16px; }
  .adm-stat-value { font-size: 32px; }
  .adm-chart-label { width: 90px; font-size: 11px; }
  .adm-attention-list a { align-items: flex-start; flex-direction: column; }
  .adm-attention-list span { text-align: left; }
}

/* ============================================================
   NEWS PREVIEW SECTION (landing page)
   ============================================================ */
.news-preview-header { margin-bottom: 48px; }
.news-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 48px;
}
.np-card {
  background: var(--c-ink);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.np-card-date {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
}
.np-card-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--c-white);
  line-height: 1.2;
  margin: 0;
}
.np-card-excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-mid);
  line-height: 1.7;
  flex: 1;
  margin: 0;
}
.np-card-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-blue);
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.np-card-link:hover { color: var(--c-white); }
.news-preview-footer { text-align: center; }

@media (max-width: 900px) {
  .news-preview-grid { grid-template-columns: 1fr; }
  .np-card { padding: 28px 24px; }
}

/* Quill editor dark theme (admin panel only) */
.ql-toolbar.ql-snow { background: #1a2236; border-color: rgba(255,255,255,0.12) !important; border-radius: 6px 6px 0 0; }
.ql-container.ql-snow { background: #1a2236; border-color: rgba(255,255,255,0.12) !important; border-radius: 0 0 6px 6px; color: white; min-height: 320px; font-size: 15px; }
.ql-editor { font-family: var(--font-body); line-height: 1.7; }
.ql-editor.ql-blank::before { color: rgba(255,255,255,0.2); font-style: normal; }
.ql-snow .ql-stroke { stroke: rgba(255,255,255,0.55); }
.ql-snow .ql-fill { fill: rgba(255,255,255,0.55); }
.ql-snow .ql-picker { color: rgba(255,255,255,0.55); }
.ql-snow .ql-picker-options { background: #1a2236; border-color: rgba(255,255,255,0.12); }
.ql-snow.ql-toolbar button:hover .ql-stroke,
.ql-snow.ql-toolbar button.ql-active .ql-stroke { stroke: white; }
.ql-snow.ql-toolbar button:hover .ql-fill,
.ql-snow.ql-toolbar button.ql-active .ql-fill { fill: white; }
.ql-snow.ql-toolbar button:hover,
.ql-snow.ql-toolbar button.ql-active { background: rgba(255,255,255,0.06); border-radius: 3px; }

/* ============================================================
   COMMITTEE DIRECTORY
   ============================================================ */
.committee-section {
  background: var(--c-ink);
  padding: 80px 80px 112px;
}
.committee-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.committee-category-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-blue);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.committee-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.committee-member {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.committee-member:last-child { border-bottom: none; }
.committee-member-name {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--c-white);
  flex-shrink: 0;
}
.committee-member-role {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-mid);
  text-align: right;
  flex-shrink: 1;
}

@media (max-width: 640px) {
  .committee-section { padding: 48px 24px 72px; }
  .committee-member { flex-direction: column; gap: 4px; }
  .committee-member-role { text-align: left; }
}

/* ==========================================================================
   Participant Portal (/portal)
   ========================================================================== */

.portal-auth-inner { max-width: 460px; }

.portal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  max-width: 460px;
}

.portal-form--wide { max-width: 640px; }

.portal-form .rf-label { color: var(--c-light); }
.portal-form .rf-hint { color: var(--c-mid); }

.portal-submit { align-self: flex-start; margin-top: 4px; }

.portal-form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.portal-aside {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-mid);
  margin-top: 28px;
}

.portal-aside a { color: var(--c-light); text-decoration: underline; }
.portal-aside a:hover { color: var(--c-white); }
.portal-aside-sep { margin: 0 8px; opacity: 0.5; }

.portal-auth-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.portal-notice {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-navy);
  background: var(--c-light);
  border-left: 3px solid var(--c-blue);
  padding: 16px 20px;
  margin-top: 28px;
}

.portal-notice--error { background: #fbe9e7; border-left-color: #c0392b; color: #7a2318; }

/* Toast: fixed position, so a confirmation is never scrolled out of view
   regardless of where on the page the action happened. */
#portal-toast-region {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.portal-toast {
  pointer-events: auto;
  cursor: pointer;
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: white;
  background: var(--c-navy);
  border-left: 3px solid var(--c-blue);
  padding: 14px 18px;
  box-shadow: 0 12px 32px rgba(13,28,58,0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.portal-toast--in { opacity: 1; transform: translateY(0); }
.portal-toast--out { opacity: 0; transform: translateY(12px); }

.portal-toast--error { background: #7a2318; border-left-color: #e74c3c; }

/* Confirm dialog: native <dialog>, styled to match the rest of the portal
   rather than left as the browser default. */
/* Native <dialog> is supposed to auto-center via showModal(), but that
   isn't reliable across browsers (Safari in particular), so both dialogs
   below center themselves explicitly instead of trusting the default. */
.portal-confirm {
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  border: none;
  padding: 28px;
  max-width: 380px;
  width: calc(100vw - 48px);
  background: var(--c-white);
  box-shadow: 0 24px 64px rgba(13,28,58,0.4);
}

.portal-confirm::backdrop { background: rgba(13,28,58,0.6); }

.portal-confirm-message {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-navy);
  margin-bottom: 24px;
}

.portal-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.portal-confirm-actions .btn-primary,
.portal-confirm-actions .btn-ghost {
  padding: 10px 20px;
  font-size: 12px;
}

.portal-confirm-actions .btn-ghost { color: var(--c-navy); border: 1px solid var(--c-mid); }

/* Avatar cropper: reuses .portal-confirm-message/-actions styling above,
   just adds the circular drag/zoom frame in between. */
.photo-crop-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  border: none;
  padding: 28px;
  max-width: 340px;
  width: calc(100vw - 48px);
  background: var(--c-white);
  box-shadow: 0 24px 64px rgba(13,28,58,0.4);
}

.photo-crop-dialog::backdrop { background: rgba(13,28,58,0.6); }

.photo-crop-frame {
  width: 260px;
  height: 260px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--c-ink);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.photo-crop-frame:active { cursor: grabbing; }

.photo-crop-img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  pointer-events: none;
}

.photo-crop-zoom {
  display: block;
  width: 100%;
  margin-bottom: 24px;
}

.photo-crop-field {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.photo-crop-preview {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--c-light);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.portal-hero .page-hero-inner { max-width: 900px; }

.portal-countdown {
  margin-top: 32px;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  border-left: 3px solid var(--c-blue);
  padding-left: 18px;
}

.portal-countdown-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-mid);
}

.portal-countdown-value {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: var(--c-white);
}

.portal-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 32px 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.portal-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-mid);
  padding: 32px;
}

.portal-card-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: 20px;
}

.portal-card-action { display: inline-block; margin-top: 24px; }

.portal-subhead {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-navy);
  margin: 28px 0 12px;
}

.portal-rows { display: flex; flex-direction: column; }

.portal-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-light);
}

.portal-row:last-child { border-bottom: none; }

.portal-row dt {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-blue);
}

.portal-row dd {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-navy);
  margin: 0;
  min-width: 0;
}

.portal-row dd a { color: var(--c-blue); text-decoration: underline; }
.portal-link-break { word-break: break-all; }
.portal-muted { color: var(--c-mid); }

.portal-note {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-blue);
  margin-top: 20px;
}

.portal-note a { color: var(--c-navy); text-decoration: underline; }

/* Consent notice above the optional public contact fields, deliberately
   more visible than a plain .portal-note hint. */
.portal-note--warn {
  color: #7a5b18;
  background: #fff6e0;
  border-left: 3px solid #d9a825;
  padding: 12px 16px;
}

/* Unsaved-changes indicator, same caution palette as .portal-note--warn. */
.unsaved-badge {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #7a5b18;
  background: #fff6e0;
  border: 1px solid #d9a825;
  padding: 5px 10px;
  vertical-align: middle;
}

.portal-roster { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.portal-roster-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-navy);
  padding: 10px 0;
  border-bottom: 1px solid var(--c-light);
}

.portal-roster-item:last-child { border-bottom: none; }
.portal-roster-name { font-weight: 700; }
.portal-roster-role { font-size: 13px; color: var(--c-blue); }

.portal-pill {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

.portal-pill--ok    { background: #e4f0e8; color: #2d6a4f; }
.portal-pill--warn  { background: #fbe9e7; color: #a4331f; }
.portal-pill--muted { background: var(--c-light); color: var(--c-blue); }

.portal-signout { margin-top: 12px; }

@media (max-width: 640px) {
  .portal-shell { padding: 40px 20px 72px; gap: 20px; }
  .portal-card { padding: 24px 20px; }
  .portal-row { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
  .portal-form-actions .btn-primary,
  .portal-form-actions .btn-ghost,
  .portal-auth-actions .btn-primary,
  .portal-auth-actions .btn-ghost { width: 100%; text-align: center; }
}

/* Bulk acceptance bar on the competition registrations list */
.adm-bulk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.adm-bulk-main { display: flex; align-items: center; gap: 10px; }

.adm-bulk-count {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.adm-bulk-check,
.adm-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.adm-check-label { margin-bottom: 14px; }

.adm-bulk-hint { flex-basis: 100%; margin: 0; }

.adm-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  vertical-align: middle;
  transition: background 0.15s, border-color 0.15s;
}
.adm-checkbox:hover { border-color: rgba(255, 255, 255, 0.5); }
.adm-checkbox:checked {
  background: var(--c-blue);
  border-color: var(--c-blue);
}
.adm-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.adm-checkbox:indeterminate {
  background: rgba(255, 255, 255, 0.1);
}
.adm-checkbox:indeterminate::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 6.5px;
  width: 8px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
}
.adm-checkbox:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }
.adm-checkbox:disabled { opacity: 0.3; cursor: not-allowed; }

.adm-row-check { cursor: pointer; }
.adm-select-cell { text-align: center; }

@media (max-width: 900px) {
  .adm-bulk-bar { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Showcase editor (/portal/showcase)
   ========================================================================== */

.showcase-publish-form {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.showcase-gallery-edit {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.showcase-thumb { position: relative; }

.showcase-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1.5px solid var(--c-mid);
}

.showcase-thumb-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-white);
  background: rgba(13, 28, 58, 0.82);
  border: none;
  padding: 6px 10px;
  cursor: pointer;
}

.showcase-thumb-remove:hover { background: #a4331f; }

.showcase-members-edit { display: flex; flex-direction: column; gap: 24px; }

.showcase-member-edit {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--c-light);
}

.showcase-member-edit:first-child { border-top: none; padding-top: 0; }

.showcase-member-photo img,
.showcase-member-placeholder {
  width: 96px;
  height: 96px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.showcase-member-placeholder {
  background-color: var(--c-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='%23C0C5CD'/%3E%3Cpath d='M4 20c0-4.4 3.6-8 8-8s8 3.6 8 8' fill='%23C0C5CD'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 58%;
}

.showcase-member-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--c-navy);
}

.showcase-member-sub {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-blue);
  margin-top: 2px;
}

.showcase-member-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
  max-width: 460px;
}

/* ==========================================================================
   Public booth page (/t/:reference)
   ========================================================================== */

.tp-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

.tp-chip {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-white);
  background: var(--c-blue);
  padding: 7px 14px;
}

.tp-chip--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.78);
}

.tp-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 32px 96px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.tp-section-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: 24px;
}

.tp-prose p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-navy);
  margin-bottom: 18px;
}

.tp-prose p:last-child { margin-bottom: 0; }

.tp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.tp-gallery-empty {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--c-mid);
}

.tp-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.tp-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
}

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

.tp-member-photo img,
.tp-member-placeholder {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 18px;
}

.tp-member-placeholder {
  background-color: var(--c-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='%23C0C5CD'/%3E%3Cpath d='M4 20c0-4.4 3.6-8 8-8s8 3.6 8 8' fill='%23C0C5CD'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 58%;
}

.tp-member-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-navy);
}

.tp-member-role {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-blue);
  margin-top: 4px;
}

.tp-member-uni {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-mid);
  margin-top: 4px;
}

.tp-member-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.tp-member-link {
  color: var(--c-mid);
  display: inline-flex;
  transition: color 0.15s;
}

.tp-member-link:hover { color: var(--c-blue); }

.tp-cta {
  border-top: 1px solid var(--c-mid);
  padding-top: 40px;
}

.tp-cta-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-navy);
  margin-bottom: 24px;
}

.tp-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.tp-report {
  text-align: center;
  margin-top: -16px;
}

.tp-report a {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-mid);
  text-decoration: underline;
}

.tp-report a:hover { color: var(--c-navy); }

@media (max-width: 640px) {
  .tp-shell { padding: 48px 20px 72px; gap: 48px; }
  .showcase-member-edit { grid-template-columns: 1fr; }
  .showcase-member-photo img,
  .showcase-member-placeholder { margin: 0 auto; }
  .tp-cta-actions .btn-primary,
  .tp-cta-actions .btn-ghost { width: 100%; text-align: center; }
}
