/* ============================================================
   BRONCHUS 2026 — design system
   Palette anchored in the congress logo: deep navy, restrained
   orange, airway blue. Display type: Archivo (expanded), body:
   Public Sans, technical labels: Spline Sans Mono.
   ============================================================ */

:root {
  --navy-950: #14163a;
  --navy-900: #1b1e4b;
  --navy-800: #23265c;
  --brand-navy: #2b2a6a;
  --ink: #22254d;
  --body: #4a4f6b;
  --muted: #7a7f99;
  --line: #dcdee8;
  --paper: #f5f6f8;
  --card: #ffffff;
  --accent: #f5821f;
  --accent-deep: #cf6a0e;
  --sky: #4fa8dc;
  --sky-soft: #e9f4fb;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 58, .05), 0 4px 14px rgba(20, 22, 58, .05);
  --shadow-md: 0 2px 4px rgba(20, 22, 58, .06), 0 12px 30px rgba(20, 22, 58, .10);
}

/* ---------------------------------------------------------- base */
html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: "Barlow Semi Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--body);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4, h5 {
  font-family: "Conduit ITC", "Barlow Semi Condensed", sans-serif;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Links */
a { color: var(--brand-navy); }
a:hover { color: var(--accent-deep); }

/* Superscript ordinals (1st, 2nd, 3rd …) */
sup {
  font-size: 0.55em;
  position: relative;
  top: -0.4em;
  line-height: 0;
}

/* Selection */
::selection { background: var(--accent); color: #fff; }

/* Focus */
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Display (Hero Titles) */
.display-font {
  font-family: "Conduit ITC", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.02;
}

/* Labels */
.mono-label {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
}

/* ------------------------------------------------------------ navbar */
.site-nav {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: .55rem 0;
}
.site-nav .navbar-brand img { height: 52px; width: auto; }
.site-nav .nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  padding: .5rem .85rem;
  text-transform: uppercase;
}
.site-nav .nav-link:hover { color: var(--accent-deep); }

/* ----------------------------------------------------------- buttons */
.btn { border-radius: 9px; font-weight: 700; }

.btn-accent {
  background: var(--accent) !important;
  border: 1px solid var(--accent);
  color: #fff;
  padding: .7rem 1.5rem;
}
.btn-accent:hover, .btn-accent:focus {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}
.btn-nav { padding: .5rem 1.2rem; font-size: 1rem; }

.btn-ghost-light {
  border: 1.5px solid rgba(255, 255, 255, .45) !important;
  color: #fff !important;
  padding: .7rem 1.5rem;
}
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.btn-navy {
  background: var(--navy-800);
  border: 1px solid var(--navy-800);
  color: #fff;
  padding: .7rem 1.5rem;
}
.btn-navy:hover { background: var(--navy-950); border-color: var(--navy-950); color: #fff; }

/* ================================================================
   HERO  —  separate desktop / mobile banners
   ================================================================

   .hero-d  (≥ 768 px)  — dark navy bg, banner.png in a floating card
   .hero-m  (< 768 px)  — warm cream bg, banner-mob.png stacked

   O-ring sonar calibrated to the actual uploaded logos:
     banner.png      1600 × 550   OCX ≈ 37.5 %  OCY ≈ 56 %   ⌀ ≈ 16 %
     banner-mob.png   600 × 300   OCX ≈ 38 %    OCY ≈ 50 %   ⌀ ≈ 26 %
   ================================================================ */

/* ── Shared wrapper ─────────────────────────────────────────── */
.hero { position: relative; }

/* ── Visibility toggle ──────────────────────────────────────── */
.hero-d { display: none; }
.hero-m { display: block; }

@media (min-width: 768px) {
  .hero-d { display: block; }
  .hero-m { display: none !important; }
}
@media (max-width: 767.98px) {
  .hero-d { display: none !important; }
}

/* ================================================================
   DESKTOP BANNER  ≥ 768 px
   Navy gradient background — the white-bg banner floats in a card
   ================================================================ */

.hero-d {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 100%);
  position: relative;
  overflow: hidden;
}

/* Animated top bar */
.hero-d::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--brand-navy) 100%);
  transform-origin: left;
  animation: hBarIn .55s cubic-bezier(.4,0,.2,1) both;
  z-index: 5;
}
@keyframes hBarIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Diagonal grid texture */
.hd-grid {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Warm glow cloud behind the O emblem area */
.hd-glow {
  position: absolute;
  /* centred at O position when banner fills ~55% of viewport width */
  left: 18%; top: 20%;
  width: 420px; height: 340px;
  background: radial-gradient(ellipse at 40% 60%,
    rgba(245,130,31,.22) 0%,
    rgba(79,168,220,.14) 48%,
    transparent 72%);
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
  z-index: 2;
  animation: hdGlowPulse 5s ease-in-out infinite alternate;
}
@keyframes hdGlowPulse {
  from { opacity: .7; transform: scale(1); }
  to   { opacity: 1;  transform: scale(1.1); }
}

/* Container: centres the card and CTAs */
.hd-container {
  position: relative;
  z-index: 4;
  padding-top: 3.2rem;
  padding-bottom: 0;
  text-align: center;
}

/* Card wrap: position: relative so o-rings are relative to it */
.hd-card-wrap {
  position: relative;
  display: inline-block;
  width: min(920px, 88%);
  animation: hdCardIn .7s ease-out .1s both;
}
@keyframes hdCardIn {
  from { opacity: 0; transform: scale(.97) translateY(10px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}

/* Floating white card containing the banner image */
.hd-card {
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 24px 64px rgba(0,0,0,.28),
    0  6px 20px rgba(0,0,0,.18);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.hd-banner-img {
  width: 100%;
  display: block;
}

/*
  O-ring sonar — 3 divs positioned at OCX / OCY within the card-wrap.
  The card-wrap is the same width as hd-card (no extra padding),
  and the image fills the card, so percentages map directly.

  banner.png: OCX ≈ 37.5 %, OCY ≈ 56 % of 1600×550 canvas.
  Starting ring ⌀ ≈ 16 % of hd-card-wrap width.
*/
.hd-ring {
  position: absolute;
  /* centre at O */
  left: 37.5%;
  top: 56%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;          /* in front of the card */
  width: 16%;
  aspect-ratio: 1;
}
.hd-ring.r1 { border: 2.5px solid rgba(245,130,31,.80); animation: hdRing 2.8s ease-out 0s   infinite; }
.hd-ring.r2 { border: 2px   solid rgba(43, 42,106,.65); animation: hdRing 2.8s ease-out .93s infinite; }
.hd-ring.r3 { border: 1.5px solid rgba(245,130,31,.50); animation: hdRing 2.8s ease-out 1.87s infinite; }
@keyframes hdRing {
  0%   { transform: translate(-50%,-50%) scale(1.0); opacity: .85; }
  100% { transform: translate(-50%,-50%) scale(3.5); opacity: 0; }
}

/* CTA row below the card */
.hd-ctas {
  display: flex;
  justify-content: center;
  gap: .85rem;
  flex-wrap: wrap;
  padding: 1.8rem 0 2.4rem;
  animation: hdCtaIn .5s ease-out .55s both;
}
@keyframes hdCtaIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Tagline bar */
.hd-tagline-bar {
  border-top: 1px solid rgba(255,255,255,.14);
  background: var(--navy-950);
  padding: .95rem 0;
  text-align: center;
  position: relative;
  z-index: 4;
}
.hd-tagline-bar .mono-label { color: #b9bfe2; letter-spacing: .28em; }
.hd-dot { color: var(--accent); margin: 0 .8rem; }

/* 768–1100 px: smaller card padding */
@media (min-width: 768px) and (max-width: 1099px) {
  .hd-card-wrap { width: 94%; }
  .hd-container { padding-top: 2.2rem; }
}

/* ================================================================
   MOBILE BANNER  < 768 px
   Warm cream background — banner-mob.png centred above CTA block
   ================================================================ */

.hero-m {
  background: linear-gradient(180deg, #fff8f2 0%, #fff 65%);
}

/* Orange → navy top accent band */
.hm-top-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--brand-navy) 100%);
  transform-origin: left;
  animation: hBarIn .5s ease-out both;
}

/* Logo wrap */
.hm-logo-wrap {
  position: relative;
  max-width: 100%;
  margin: 1.8rem auto 0;
  padding: 0 1rem;
  animation: hmLogoIn .6s ease-out .1s both;
}
@keyframes hmLogoIn {
  from { opacity: 0; transform: scale(.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}
.hm-banner-img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(43,42,106,.10));
}

/*
  O-rings for mobile banner.
  banner-mob.png: OCX ≈ 38 %, OCY ≈ 50 % of 600×300 canvas.
  Starting ring ⌀ ≈ 26 % of .hm-logo-wrap width.
*/
.hm-ring {
  position: absolute;
  left: 38%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  width: 26%;
  aspect-ratio: 1;
}
.hm-ring.r1 { border: 2px   solid rgba(245,130,31,.78); animation: hdRing 2.8s ease-out 0s  infinite; }
.hm-ring.r2 { border: 1.5px solid rgba(43, 42,106,.55); animation: hdRing 2.8s ease-out .93s infinite; }

/* CTAs */
.hm-ctas {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.4rem 1.2rem 0;
  animation: hmCtaIn .5s ease-out .35s both;
}
@keyframes hmCtaIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hm-prog-link {
  display: block;
  text-align: center;
  color: var(--brand-navy);
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: .4rem 0;
}
.hm-prog-link:hover { color: var(--accent-deep); }

/* Navy → sky bottom bar */
.hm-bot-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--navy-950) 0%, var(--sky) 100%);
  margin-top: 2rem;
}

/* Very small screens */
@media (max-width: 380px) {
  .hm-logo-wrap { max-width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-d::before, .hm-top-bar, .hm-bot-bar,
  .hd-card-wrap, .hd-ctas,
  .hm-logo-wrap, .hm-ctas { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hd-glow             { animation: none !important; }
  .hd-ring, .hm-ring   { animation: none !important; opacity: 0 !important; }
}

/* ================================================================
   EVENT DETAILS BAND
   Dates · Venue · Host · Desk — appears below the hero on all screens
   ================================================================ */

.event-band {
  background: #fff;
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 16px rgba(43,42,106,.07);
}
.eb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-style: solid;
}
.eb-cell {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.4rem 1.2rem;
  border-right: 1px solid var(--line);
}
.eb-cell:last-child { border-right: 0; }
.eb-icon {
  flex: 0 0 22px;
  width: 22px;
  color: var(--accent);
  margin-top: .15rem;
}
.eb-label {
  display: block;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .2rem;
}
.eb-val {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

@media (max-width: 991.98px) {
  .eb-grid { grid-template-columns: 1fr 1fr; }
  .eb-cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .eb-cell:nth-child(2), .eb-cell:nth-child(4) { border-right: 0; }
  .eb-cell:nth-child(3), .eb-cell:nth-child(4) { border-bottom: 0; }
}
@media (max-width: 575.98px) {
  .eb-grid { grid-template-columns: 1fr; }
  .eb-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .eb-cell:last-child { border-bottom: 0; }
  .event-band { border-bottom-width: 2px; }
}


/* ----------------------------------------------------- glance strip */
.glance { background: var(--card); border-bottom: 1px solid var(--line); }
.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.glance-cell {
  padding: 1.6rem 1.5rem;
  border-left: 1px solid var(--line);
}
.glance-cell:first-child { border-left: 0; padding-left: 0; }
.glance-cell .mono-label { color: var(--muted); display: block; margin-bottom: .45rem; }
.glance-cell .val { color: var(--ink); font-weight: 700; font-size: 1.02rem; line-height: 1.45; }

/* ----------------------------------------------------- section frame */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--card); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 {
  font-family: "Archivo", sans-serif;
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-top: .9rem;
  letter-spacing: .005em;
}
.section-head p { margin: .8rem 0 0; }

/* -------------------------------------------------------- invitation */
.theme-quote {
  background: var(--navy-800);
  color: #e6e9fb;
  border-radius: var(--radius);
  padding: 2.2rem 2.1rem;
  position: relative;
  overflow: hidden;
}
.theme-quote::after {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 130px; height: 130px;
  background: radial-gradient(circle at top right, rgba(79,168,220,.35), transparent 70%);
}
.theme-quote .mono-label { color: var(--sky); display: block; margin-bottom: 1rem; }
.theme-quote blockquote {
  font-family: "Archivo", sans-serif;
  font-stretch: 108%;
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.5;
  margin: 0;
  color: #fff;
}
.theme-quote .rule { width: 34px; height: 3px; background: var(--accent); margin-top: 1.4rem; }

.letter p { margin-bottom: 1rem; }
.letter .salutation { font-weight: 700; color: var(--ink); }

.signatories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.signatory .name { font-weight: 700; color: var(--ink); font-size: .1rem; }
.signatory .role { font-size: 1rem; color: var(--muted); line-height: 1.5; margin-top: .15rem; }

/* -------------------------------------------------------- highlights */
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
 
.highlight {
  background: var(--hi-bg, var(--card));
  border: 1.5px solid var(--hi-border, var(--line));
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.highlight:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  transform: translateY(-4px);
  border-color: var(--hi-accent, var(--line));
}
 
/* Coloured icon box */
.hi-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--hi-icon-bg, rgba(43,42,106,.1));
  color: var(--hi-accent, var(--brand-navy));
  flex-shrink: 0;
  transition: transform .25s ease;
}
.hi-icon svg { width: 26px; height: 26px; }
.highlight:hover .hi-icon { transform: scale(1.10); }
 
.highlight h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .35rem; color: var(--ink); }
.highlight p   { font-size: 1rem; margin: 0; color: var(--body); line-height: 1.62; }


/* ------------------------------------------------------ course cards */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.course-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.course-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #c9cde0;
}
.course-code {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--brand-navy);
  background: var(--sky-soft);
  border-radius: 6px;
  padding: .25rem .6rem;
  align-self: flex-start;
  margin-bottom: .9rem;
}
.course-card h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.course-card p { font-size: 1rem; color: var(--body); margin: .4rem 0 1.1rem; flex: 1; }
.course-fee {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-weight: 600;
  color: var(--ink);
  border-top: 1px dashed var(--line);
  padding-top: .9rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1rem;
}
.course-fee span { font-size: 1rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

.course-note {
  margin-top: 2rem;
  background: var(--sky-soft);
  border: 1px solid #cfe6f5;
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  font-size: 1rem;
  color: var(--ink);
}

/* ------------------------------------------------------------ awards */
/* "Best of BRONCHUS" contest band — navy feature panel holding the
   contest artwork (floating white card) plus both prize tracks. */
.contest-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.6rem;
  align-items: center;
  background:
    radial-gradient(560px 300px at 10% 115%, rgba(245, 130, 31, .20), transparent 60%),
    radial-gradient(480px 260px at 96% -12%, rgba(79, 168, 220, .16), transparent 60%),
    linear-gradient(150deg, var(--navy-800), var(--navy-950));
  border-radius: 20px;
  padding: 1.6rem;
  color: #cfd3ea;
  overflow: hidden;
}

/* Left: artwork in a floating white card with a warm glow (hero motif) */
.cb-media { position: relative; }
.cb-glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 115%; height: 85%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side,
    rgba(245, 130, 31, .30), rgba(79, 168, 220, .12) 55%, transparent 78%);
  filter: blur(26px);
  pointer-events: none;
}
.cb-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: .7rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32), 0 6px 18px rgba(0, 0, 0, .20);
}
.cb-card img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* Right: heading + tracks */
.cb-kicker { color: var(--sky); display: block; }
.cb-body h3 {
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-stretch: 110%;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin: .45rem 0 .4rem;
}
.cb-tag { color: #b9bfe2; font-size: .98rem; margin: 0; }

.cb-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  margin-top: 1.5rem;
}
.cb-track {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 1.2rem 1.2rem 1.1rem;
}
.cb-track h4 {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: .03em;
  margin-bottom: .9rem;
}
.cb-track h4 i { color: var(--accent); font-size: .85rem; }
.cb-track ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.cb-track li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .9rem;
  color: #dfe3f7;
  line-height: 1.4;
}

/* gold / silver / bronze rank chips */
.rank {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 700;
  color: #14163a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 2px 6px rgba(0, 0, 0, .25);
}
.rank.gold   { background: linear-gradient(140deg, #ffd76a, #f0a11c); }
.rank.silver { background: linear-gradient(140deg, #eef1f7, #a9b2c2); }
.rank.bronze { background: linear-gradient(140deg, #e8a86e, #b96a2c); }

/* submission e-mail chip */
.cb-mail {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(245, 130, 31, .13);
  border: 1px dashed rgba(245, 130, 31, .55);
  border-radius: 9px;
  padding: .55rem .75rem;
  text-decoration: none;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: .78rem;
  color: #fff;
  word-break: break-all;
  transition: background .2s ease, border-color .2s ease;
}
.cb-mail:hover { background: rgba(245, 130, 31, .24); border-color: var(--accent); color: #fff; }
.cb-mail i { color: var(--accent); flex: 0 0 auto; }
.cb-mail-label {
  display: block;
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ffb26b;
  margin-bottom: .12rem;
}

@media (max-width: 991.98px) {
  .contest-band { grid-template-columns: 1fr; gap: 1.8rem; padding: 1.9rem 1.5rem; }
  .cb-card { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
  .cb-tracks { grid-template-columns: 1fr; }
}

/* Quiz & Run activity cards */
.activity-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.8rem 1.6rem 1.4rem;
  height: 100%;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.activity-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(20, 22, 58, .12);
}
.activity-quiz::before { background: linear-gradient(90deg, #f5821f, #ffb26b); }
.activity-run::before  { background: linear-gradient(90deg, #0284c7, #4fa8dc); }
.activity-quiz:hover { border-color: rgba(245, 130, 31, .5); }
.activity-run:hover  { border-color: rgba(79, 168, 220, .6); }

.ac-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: 0 8px 20px rgba(20, 22, 58, .20);
}
.activity-quiz .ac-icon { background: linear-gradient(135deg, #f5821f, #c05e08); }
.activity-run  .ac-icon { background: linear-gradient(135deg, #0284c7, #0c4a6e); }

.ac-body { min-width: 0; flex: 1; }
.ac-body h3 { font-size: 1.08rem; font-weight: 800; margin: 0 0 .35rem; }
.ac-body p  { font-size: .95rem; color: var(--body); margin: 0 0 .9rem; line-height: 1.6; }

/* highlighted perk pill (e.g. free t-shirt for the Bronchus Run) */
.ac-perk {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fdeedd;
  border: 1px dashed rgba(245, 130, 31, .55);
  border-radius: 999px;
  color: #a8540b;
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem .85rem;
  margin-bottom: .9rem;
}
.ac-perk i { font-size: .85rem; }

.ac-specs { list-style: none; margin: 0; padding: 0; }
.ac-specs li {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  padding: .45rem 0;
  border-top: 1px dashed var(--line);
  font-size: .88rem;
  color: var(--body);
  line-height: 1.45;
}
.ac-specs .k {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 84px;
}

@media (prefers-reduced-motion: reduce) {
  .activity-card { transition: none; }
  .activity-card:hover { transform: none; }
}

/* --------------------------------------------------------- committee */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  max-width: 1010px;
  margin: 0 auto;
}

.committee-grid .member {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e8e9f1;
  border-radius: 16px;
  padding: 36px 26px 28px;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

/* quiet radial wash behind the portrait so the card top isn't bare white */
.committee-grid .member::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 50%;
  width: 300px;
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(245, 130, 31, .09), rgba(34, 37, 77, .04) 62%, transparent 100%);
  pointer-events: none;
}

.committee-grid .member:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(34, 37, 77, .13);
  border-color: rgba(245, 130, 31, .45);
}

/* ------------------------------------------------ portrait + conic ring */
.committee-grid .monogram {
  position: relative;
  width: 122px;
  height: 122px;
  margin-bottom: 20px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.committee-grid .monogram::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 215deg, #f5821f, #22254d 52%, #f5821f);
}

.committee-grid .member:hover .monogram::before {
  animation: committee-ring-spin 7s linear infinite;
}

@keyframes committee-ring-spin {
  to { transform: rotate(360deg); }
}

.committee-grid .monogram img {
  position: absolute;
  inset: 4px;                    /* ring thickness */
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: 50%;
  border: 3px solid #ffffff;     /* clean gap between ring and photo */
  object-fit: cover;
  object-position: center top;
  background: #eef0f7;           /* uniform backing for mismatched headshots */
  display: block;
}

/* ---------------------------------------------------------- text stack */
.committee-grid .name {
  font-weight: 800;
  color: #22254d;
  font-size: 1.06rem;
  line-height: 1.35;
  margin-bottom: 5px;
}

.committee-grid .cred {
  color: #6a6f8a;
  font-size: .86rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

/* role chip — bottom-anchored so all cards align */
.committee-grid .role {
  margin-top: auto;
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #a8540b;                          /* AA contrast on the cream chip */
  background: #fdeedd;
  border: 1px solid rgba(245, 130, 31, .35);
  border-radius: 999px;
  padding: 9px 18px;
  line-height: 1.5;
  max-width: 100%;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 560px) {
  .committee-grid { gap: 18px; }
  .committee-grid .member { padding: 30px 20px 24px; }
  .committee-grid .monogram { width: 106px; height: 106px; }
}

@media (prefers-reduced-motion: reduce) {
  .committee-grid .member,
  .committee-grid .monogram::before {
    transition: none;
    animation: none !important;
  }
  .committee-grid .member:hover { transform: none; }
}

/* ------------------------------------------------------------- venue */
.venue-card {
  background: var(--navy-800);
  color: #dfe3f7;
  border-radius: var(--radius);
  padding: 2.2rem 2.1rem;
}
.venue-card h3 { color: #fff; font-weight: 800; }
.venue-card .mono-label { color: var(--sky); }
.venue-lines { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.venue-lines li {
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  display: flex;
  gap: 1rem;
  font-size: 1rem;
}
.venue-lines li:last-child { border-bottom: 0; }
.venue-lines .k {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #aab1da;
  flex: 0 0 110px;
  padding-top: .2rem;
}

/* ---------------------------------------------------------- cta band */
.cta-band {
  background:
    radial-gradient(800px 300px at 15% 120%, rgba(245,130,31,.22), transparent 60%),
    linear-gradient(150deg, var(--navy-800), var(--navy-950));
  color: #cfd3ea;
  border-radius: 18px;
  padding: 3rem 2.6rem;
}
.cta-band h2 {
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* ------------------------------------------------------ terms / misc */
.terms-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.7rem;
  font-size: 1rem;
}
.terms-box h3 { font-size: 1rem; font-weight: 800; margin-bottom: .7rem; }

/* ------------------------------------------------------------ footer */
.site-footer {
  background: var(--navy-950);
  color: #b9bfe2;
  padding: 4rem 0 0;
  margin-top: 0;
}
.footer-logo-card {
  background: #fff;
  border-radius: 10px;
  padding: .8rem 1.1rem;
  display: inline-block;
}
.footer-logo-card img { height: 58px; width: auto; }
.footer-blurb { margin-top: 1.2rem; font-size: 1rem; max-width: 420px; }
.footer-head {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 1rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: .9rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; font-size: 1rem; }
.footer-list li { margin-bottom: .45rem; }
.footer-list a { color: #dfe3f7; text-decoration: none; }
.footer-list a:hover { color: var(--accent); }
.footer-dim { color: #8a90b8; }
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 3rem;
  padding: 1.3rem 0 1.5rem;
  font-size: 1rem;
}
.footer-bar .mono-label { color: #8a90b8; }

/* ============================================================
   REGISTRATION PAGE
   ============================================================ */
.page-strip {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 2.6rem 0 2.2rem;
}
.page-strip h1 {
  font-family: "Archivo", sans-serif;
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin: .8rem 0 .3rem;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 2rem 2rem 2.2rem;
}
.fieldset-head {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 2.2rem 0 1.2rem;
}
.fieldset-head:first-child { margin-top: 0; }
.fieldset-head .n {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-navy);
  background: var(--sky-soft);
  border-radius: 6px;
  padding: .25rem .55rem;
}
.fieldset-head h2 { font-size: 1.08rem; font-weight: 800; margin: 0; }
.fieldset-head .line { flex: 1; height: 1px; background: var(--line); }

.form-label { font-weight: 600; color: var(--ink); font-size: 1rem; }
.form-control, .form-select {
  border-color: #c9cde0;
  border-radius: 9px;
  padding: .6rem .85rem;
  font-size: 1rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 .2rem rgba(79, 168, 220, .18);
}
.req { color: var(--accent-deep); }

/* option cards: categories (radio) & courses (checkbox) */
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.opt-card { position: relative; }
.opt-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.opt-card label {
  display: block;
  cursor: pointer;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .95rem 1.05rem .9rem 2.6rem;
  background: var(--card);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  height: 100%;
}
.opt-card label::before {
  content: "";
  position: absolute;
  left: 1.02rem;
  top: 1.12rem;
  width: 19px; height: 19px;
  border: 2px solid #b7bccf;
  background: #fff;
  transition: all .18s ease;
}
.opt-card.radio label::before { border-radius: 50%; }
.opt-card.check label::before { border-radius: 5px; }
.opt-card input:checked + label {
  border-color: var(--brand-navy);
  background: #f6f9ff;
  box-shadow: 0 0 0 1px var(--brand-navy);
}
.opt-card input:checked + label::before {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  box-shadow: inset 0 0 0 3.5px #fff;
}
.opt-card.check input:checked + label::before {
  box-shadow: none;
  background: var(--brand-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.opt-card input:focus-visible + label {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
.opt-title {
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  gap: .8rem;
}
.opt-title .fee {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-weight: 600;
  color: var(--brand-navy);
  white-space: nowrap;
}
.opt-sub { font-size: 1rem; color: var(--muted); margin-top: .2rem; line-height: 1.5; }

/* summary sidebar */
.summary-card {
  background: var(--navy-800);
  color: #dfe3f7;
  border-radius: 14px;
  padding: 1.7rem 1.6rem;
  position: sticky;
  top: 100px;
}
.summary-card h2 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}
.summary-lines { min-height: 66px; }
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  padding: .42rem 0;
  border-bottom: 1px dashed rgba(255,255,255,.16);
}
.summary-line .amt { font-family: "Spline Sans Mono", ui-monospace, monospace; white-space: nowrap; }
.summary-empty { font-size: 1rem; color: #aab1da; padding: .4rem 0; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.25);
}
.summary-total .t { font-weight: 700; color: #fff; }
.summary-total .v {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--accent);
}
.summary-foot { font-size: 1rem; color: #aab1da; margin-top: 1rem; line-height: 1.6; }

.bank-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin-top: 1.2rem;
  font-size: 1rem;
}
.bank-box h3 { font-size: 1rem; font-weight: 800; margin-bottom: .8rem; }
.bank-box table td { padding: .22rem .6rem .22rem 0; vertical-align: top; }
.bank-box table td:first-child {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-top: .34rem;
}

/* ============================================================
   STATUS / RECEIPT PAGES
   ============================================================ */
.status-wrap { max-width: 760px; margin: 0 auto; }
.status-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.status-head { padding: 2.2rem 2.4rem 1.8rem; color: #fff; }
.status-head.ok { background: linear-gradient(140deg, #1d7a4f, #14532d); }
.status-head.bad { background: linear-gradient(140deg, #b23a3a, #7f1d1d); }
.status-head .mono-label { color: rgba(255,255,255,.75); }
.status-head h1 { color: #fff; font-weight: 800; font-size: 1.6rem; margin: .5rem 0 0; }
.status-body { padding: 2rem 2.4rem 2.4rem; }
.reg-code-badge {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brand-navy);
  background: var(--sky-soft);
  border: 1px dashed var(--sky);
  border-radius: 10px;
  padding: .8rem 1.2rem;
  display: inline-block;
}
.detail-table { width: 100%; margin-top: 1.4rem; }
.detail-table td {
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.detail-table td:first-child {
  color: var(--muted);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  width: 220px;
}
.detail-table td:last-child { color: var(--ink); font-weight: 600; }
.amount-big {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 1.35rem;
  color: var(--accent-deep);
  font-weight: 600;
}

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body { background: var(--paper); }
.admin-top {
  background: var(--navy-950);
  color: #fff;
  padding: .9rem 0;
}
.admin-top .brand { font-weight: 800; letter-spacing: .06em; }
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
}
.stat-tile .mono-label { color: var(--muted); }
.stat-tile .num { font-size: 1.6rem; font-weight: 800; color: var(--ink); margin-top: .2rem; }
.admin-table { font-size: 1rem; }
.admin-table th {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-width: 1px !important;
}
.badge-status { font-size: 1rem; letter-spacing: .05em; }
.login-card {
  max-width: 400px;
  margin: 5rem auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------- redirecting */
.redirect-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.pulse-ring {
  width: 56px; height: 56px;
  border: 4px solid var(--sky-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 1.4rem;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------- responsive */
@media (max-width: 991.98px) {
  .glance-grid { grid-template-columns: 1fr 1fr; }
  .glance-cell { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .glance-cell:nth-child(-n+2) { border-top: 0; }
  .highlight-grid, .course-grid { grid-template-columns: 1fr 1fr; }
  .hero-airway { opacity: .22; }
  .summary-card { position: static; }
}
@media (max-width: 767.98px) {
  .section { padding: 3.6rem 0; }
  .hero-inner { padding: 3.8rem 0 3rem; }
  .highlight-grid, .course-grid, .opt-grid { grid-template-columns: 1fr; }
  .signatories { grid-template-columns: 1fr; }
  .form-card { padding: 1.4rem 1.2rem 1.6rem; }
  .status-head, .status-body { padding-left: 1.4rem; padding-right: 1.4rem; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 2.2rem 1.6rem; }
}

/* ---------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-airway path { animation: none; stroke-dashoffset: 0; }
  .highlight, .course-card { transition: none; }
  .pulse-ring { animation-duration: 2.5s; }
}

/* ------------------------------------------------------------- print */
@media print {
  .site-nav, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
  .status-card { border: 1px solid #999; box-shadow: none; }
}
/* card */
.card-box {
    position: relative; /* REQUIRED for icon positioning */
    background: #f7f7f7;
    padding: 60px 20px 30px; /* increased top space */
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.41);
    transition: all 0.25s ease;
    height: 100%;
}

/* hover */
.card-box:hover {
    transform: translateY(-3px);
}

/* ICON ON TOP OF BOX */
.icon {
    position: absolute;
    top: -35px; /* moves icon above box */
    left: 50%;
    transform: translateX(-50%);
    
    width: 70px;
    height: 70px;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;
    color: #fff;
}

/* icon colors */
.icon.purple { background: #6f42c1; }
.icon.blue   { background: #1f6feb; }
.icon.green  { background: #2bb673; }
.icon.orange { background: #ff7a00; }

/* text */
.card-box h5 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 25px; /* space below icon */
    margin-bottom: 8px;
}

.card-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}
/* colored cards (soft pastel like your screenshot) */
.card-purple {
    background: #ede9fe;
}

.card-blue {
    background: #e0f2fe;
}

.card-green {
    background: #e6f9f0;
}

.card-orange {
    background: #fff1e6;
}
.custom-bg {
    background: #f3f4f6;
}

/* ============================================================
   HOME — AT-A-GLANCE QUICK LINKS
   Programme · ITM courses · Abstract submission  (index.php)
   ============================================================ */
.quick-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(20, 22, 58, .16);
  transition: transform .22s ease, box-shadow .22s ease;
}
.quick-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 45%);
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
}
.quick-tile:hover,
.quick-tile:focus-visible {
  transform: translateY(-4px);
  color: #fff;
  box-shadow: 0 18px 40px rgba(20, 22, 58, .26);
  outline: none;
}
.quick-tile:hover::after { opacity: 1; }

.qt-navy   { background: linear-gradient(135deg, #2b2f6b, #14163a); }
.qt-orange { background: linear-gradient(135deg, #f5821f, #c05e08); }
.qt-teal   { background: linear-gradient(135deg, #0e7490, #0c4a6e); }
.qt-green  { background: linear-gradient(135deg, #145d31, #169946); }

.qt-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.qt-title {
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.3;
}
.qt-sub {
  display: block;
  font-size: .78rem;
  opacity: .85;
  margin-top: .15rem;
  line-height: 1.4;
}
.qt-arrow {
  margin-left: auto;
  flex: 0 0 auto;
  opacity: .75;
  transition: transform .2s ease, opacity .2s ease;
}
.quick-tile:hover .qt-arrow { transform: translateX(4px); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .quick-tile, .qt-arrow { transition: none; }
  .quick-tile:hover { transform: none; }
}

/* ============================================================
   HOME — ITM TEASER GRID  (index.php #courses)
   Compact cards linking to courses.php?open=ITMxx
   ============================================================ */
.itmt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
a.itmt {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .72rem .85rem;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.itmt:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(20, 22, 58, .12);
  border-color: transparent;
}
.itmt-num {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--t1), var(--t2));
  color: #fff;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.25;
  box-shadow: 0 6px 16px rgba(20, 22, 58, .22);
}
.itmt-num b { font-size: .82rem; font-weight: 700; }
.itmt-body { min-width: 0; }
.itmt-title {
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.itmt-new {
  display: inline-block;
  background: var(--sky);
  color: #fff;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .06rem .35rem;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: .3rem;
}
.itmt-arrow {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--accent-deep);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
a.itmt:hover .itmt-arrow { opacity: 1; transform: none; }
.itmt-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 2.1rem;
}
.itmt-cta .note { font-size: .88rem; color: var(--muted); }

@media (max-width: 991.98px) { .itmt-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .itmt-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HOME — CONGRESS DESK SLIDER  (index.php #venue)
   Slide 1: desk card · Slide 2: HICC – Novotel photo
   ============================================================ */
.venue-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(20, 22, 58, .14);
}
.venue-slider .vs-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.venue-slider .vs-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
}
/* the desk card fills its slide; extra bottom room for the dots */
.venue-slider .venue-card {
  width: 100%;
  height: 100%;
  border-radius: 0;
  padding-bottom: 3.2rem;
}
.vs-photo {
  position: relative;
  width: 100%;
  min-height: 340px;
}
.vs-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vs-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.4rem 1.1rem;
  background: linear-gradient(0deg, rgba(14, 16, 44, .86), rgba(14, 16, 44, 0));
  color: #fff;
}
.vs-caption .mono-label {
  color: #ffb26b;
  display: block;
  margin-bottom: .15rem;
}
.vs-caption strong {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
}
.vs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(14, 16, 44, .45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.vs-nav:hover { background: rgba(14, 16, 44, .72); }
.vs-prev { left: 12px; }
.vs-next { right: 12px; }
.vs-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: .45rem;
}
.vs-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(20, 22, 58, .28);
  transition: background .2s ease, transform .2s ease;
}
.vs-dot.is-active { background: #f5821f; transform: scale(1.2); }

@media (prefers-reduced-motion: reduce) {
  .venue-slider .vs-track { transition: none; }
}

/* ============================================================
   COURSES PAGE — ITM GRID & DETAIL MODAL  (courses.php)
   Modal rules are scoped under .itm-modal so they can never
   clash with Bootstrap's own .modal-* classes.
   ============================================================ */

/* Page hero */
.itm-hero {
  background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-950) 100%);
  padding: 3.2rem 0 2.8rem;
  color: #fff;
}
.itm-hero .eyebrow { color: var(--sky); }
.itm-hero .eyebrow::before { background: var(--sky); }
.itm-hero h1 {
  font-family: "Archivo", sans-serif;
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: .7rem 0 .5rem;
  color: #fff;
}
.itm-hero p { color: #b9bfe2; max-width: 640px; font-size: 1rem; }

/* ── Grid ─────────────────────────────────────────────────────────── */
.itm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  padding: 2.8rem 0 3rem;
}
@media (max-width: 1100px) { .itm-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .itm-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; } }
@media (max-width: 420px)  { .itm-grid { grid-template-columns: 1fr 1fr; gap: .55rem; } }

/* ── Card ─────────────────────────────────────────────────────────── */
.itm-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  padding: 1.4rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  cursor: pointer;
  overflow: hidden;
  /* gradient: 3-stop, oversized for animation */
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 45%, var(--c3) 100%);
  background-size: 250% 250%;
  background-position: 0% 0%;
  transition:
    background-position .5s ease,
    transform .3s ease,
    box-shadow .3s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
  user-select: none;
}

/* Shimmer overlay layer */
.itm-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, .18) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, .08) 100%
  );
  opacity: 0;
  transition: opacity .3s ease;
}

/* Glowing border ring on hover */
.itm-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--c3), rgba(255, 255, 255, .6), var(--c3));
  background-size: 200% 200%;
  z-index: -1;
  opacity: 0;
  transition: opacity .3s ease;
}

/* HOVER state */
.itm-card:hover,
.itm-card:focus-visible {
  background-position: 100% 100%;
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, .28),
    0 0 0 2px rgba(255, 255, 255, .35);
  outline: none;
}
.itm-card:hover::before { opacity: 1; }
.itm-card:hover::after  { opacity: 1; animation: ringPulse 1.5s linear infinite; }

@keyframes ringPulse {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Gradient flow animation on hover */
.itm-card:hover { animation: gradFlow 2.5s ease-in-out infinite; }
@keyframes gradFlow {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* Card contents */
.itm-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
  transition: transform .3s ease;
}
.itm-card-icon svg { width: 100%; height: 100%; }
.itm-card:hover .itm-card-icon { transform: scale(1.12) translateY(-2px); }

.itm-card-num {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .75);
  text-transform: uppercase;
}

.itm-card-name {
  font-family: "Archivo", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.32;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

.itm-card-new {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, .25);
  color: #fff;
  font-family: "Spline Sans Mono", monospace;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .18rem .5rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .4);
}

/* Active / clicked state */
.itm-card.active {
  background-position: 100% 100%;
  box-shadow:
    0 0 0 3px #fff,
    0 12px 40px rgba(0, 0, 0, .35);
}

/* ═══ ITM MODAL ══════════════════════════════════════════════════════ */
.itm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 40, .65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.itm-backdrop.open { opacity: 1; pointer-events: all; }

.itm-modal {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .35);
  transform: scale(.94) translateY(16px);
  transition: transform .28s cubic-bezier(.34, 1.36, .64, 1);
}
.itm-backdrop.open .itm-modal { transform: scale(1) translateY(0); }

/* Modal image/banner area */
.itm-modal .modal-banner {
  position: relative;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: linear-gradient(135deg, var(--mc1) 0%, var(--mc2) 50%, var(--mc3) 100%);
  background-size: 250% 250%;
  animation: gradFlow 4s ease-in-out infinite;
  flex-shrink: 0;
}
.itm-modal .modal-banner-icon {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .25));
}
.itm-modal .modal-banner-icon svg { width: 100%; height: 100%; }
.itm-modal .modal-banner-num {
  font-family: "Spline Sans Mono", monospace;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .85);
  text-transform: uppercase;
  background: rgba(0, 0, 0, .2);
  padding: .25rem .75rem;
  border-radius: 20px;
}
.itm-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, .25);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background .2s;
}
.itm-modal .modal-close:hover { background: rgba(0, 0, 0, .45); }

/* Modal body */
.itm-modal .modal-body {
  overflow-y: auto;
  padding: 1.6rem 1.8rem 1.4rem;
  flex: 1;
}
.itm-modal .modal-tag {
  display: inline-block;
  font-family: "Spline Sans Mono", monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 20px;
  color: #fff;
  margin-bottom: .9rem;
}
.itm-modal .modal-title {
  font-family: "Archivo", sans-serif;
  font-stretch: 108%;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: .3rem;
}
.itm-modal .modal-sub {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.itm-modal .modal-desc {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 1.1rem;
}
.itm-modal .modal-outcomes h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .55rem;
}
.itm-modal .modal-outcomes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.itm-modal .modal-outcomes li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  color: var(--body);
  line-height: 1.45;
}
.itm-modal .modal-outcomes li::before {
  content: '';
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: .42rem;
}

/* Modal footer */
.itm-modal .modal-footer {
  padding: 1.1rem 1.8rem 1.4rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.itm-modal .modal-footer-note {
  font-size: .8rem;
  color: var(--muted);
  flex: 1;
}
.itm-modal .modal-footer-note strong { color: var(--ink); }

/* Responsive modal */
@media (max-width: 560px) {
  .itm-modal { border-radius: 14px 14px 0 0; max-height: 85vh; }
  .itm-backdrop { align-items: flex-end; padding: 0; }
  .itm-modal .modal-banner { height: 160px; }
  .itm-modal .modal-body { padding: 1.2rem 1.2rem 1rem; }
  .itm-modal .modal-footer { padding: .9rem 1.2rem 1.2rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .itm-card:hover,
  .itm-modal .modal-banner { animation: none !important; }
  .itm-card, .itm-modal, .itm-backdrop { transition-duration: .05s !important; }
}

/* ============================================================
   REGISTRATION — ITM RADIO LIST  (register.php)
   ============================================================ */
.itm-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
  margin-top: .2rem;
}
.itm-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .52rem .35rem;
  border-bottom: 1px solid var(--line);
  border-radius: 4px;
  transition: background .14s ease;
}
.itm-row:hover { background: #f6f7ff; }
/* remove bottom border on the last row (last two items in a 2-col grid) */
.itm-row:nth-last-child(-n+2) { border-bottom: 0; }

/* the visible radio circle */
.itm-row input[type="radio"] {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: .26rem;
  accent-color: var(--brand-navy);
  cursor: pointer;
}

/* label text */
.itm-row label {
  font-size: .875rem;
  line-height: 1.44;
  color: var(--body);
  cursor: pointer;
}
.itm-row:has(input:checked) label {
  color: var(--brand-navy);
  font-weight: 600;
}

/* ITM code prefix (ITM 01, ITM 02 …) */
.itm-code {
  font-size: .7rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-right: .25rem;
  white-space: nowrap;
}
.itm-row:has(input:checked) .itm-code { color: var(--brand-navy); }

/* NEW badge */
.itm-new-badge {
  display: inline-block;
  background: var(--sky);
  color: #fff;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .08rem .38rem;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: .28rem;
  line-height: 1.6;
}

/* header note */
.itm-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: .6rem;
}
.itm-note svg { flex: 0 0 14px; color: var(--accent-deep); }

/* focus ring (accessibility) */
.itm-row input[type="radio"]:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

@media (max-width: 767.98px) {
  .itm-list { grid-template-columns: 1fr; }
  /* on 1-col mobile only the last item loses its border */
  .itm-row:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .itm-row:last-child { border-bottom: 0; }
}

/* Pre-selected ITM highlight flash (arriving from courses.php) */
@keyframes itmFlash {
  0%   { background: rgba(245, 130, 31, 0); }
  20%  { background: rgba(245, 130, 31, .14); }
  80%  { background: rgba(245, 130, 31, .10); }
  100% { background: rgba(245, 130, 31, 0); }
}
.itm-row.itm-preselected {
  animation: itmFlash 2s ease-out forwards;
  border-radius: 4px;
}

/* ============================================================
   ABSTRACT PAGE  (abstract.php)
   4 theme cards + submission form extras. The form itself
   reuses the registration styles (form-card, opt-card, …).
   ============================================================ */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-bottom: 3.2rem;
}
.theme-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.4rem 1.4rem;
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.theme-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--th1), var(--th2));
}
.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(20, 22, 58, .13);
  border-color: var(--th1);
}

/* per-theme colours */
.theme-card.t1 { --th1: #2563eb; --th2: #1e3a8a; }
.theme-card.t2 { --th1: #ea580c; --th2: #7c2d12; }
.theme-card.t3 { --th1: #0d9488; --th2: #042f2e; }
.theme-card.t4 { --th1: #7c3aed; --th2: #4c1d95; }

.tc-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--th1), var(--th2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(20, 22, 58, .18);
}
.tc-icon svg { width: 26px; height: 26px; }
.tc-num {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.tc-title {
  font-weight: 800;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}
.tc-desc {
  font-size: .85rem;
  color: var(--body);
  line-height: 1.55;
  margin: 0;
}
.tc-go {
  margin-top: auto;
  padding-top: .6rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-deep);
}

@media (max-width: 991.98px) { .theme-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .theme-grid { grid-template-columns: 1fr; } }

/* live word counter under the abstract textarea */
.word-counter {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: .74rem;
  color: var(--muted);
  text-align: right;
  margin-top: .35rem;
}
.word-counter.over { color: #c0392b; font-weight: 700; }

/* flash on the theme radio when picked from a theme card */
.opt-card.opt-preselected label {
  animation: itmFlash 2s ease-out forwards;
}

/* sidebar fact rows (navy summary card) */
.abs-facts {
  list-style: none;
  margin: 0;
  padding: 0;
}
.abs-facts li {
  display: flex;
  gap: .9rem;
  align-items: baseline;
  padding: .5rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .16);
  font-size: .9rem;
  color: #dfe3f7;
  line-height: 1.5;
}
.abs-facts li:last-child { border-bottom: 0; }
.abs-facts .k {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #aab1da;
  flex: 0 0 76px;
}
.abs-facts span:last-child { word-break: break-all; }

/* ============================================================
   HOME — SPONSORSHIP  (index.php #sponsorship)
   Tier ladder: Platinum featured in the centre on navy,
   Gold & Silver flanking on white.
   ============================================================ */
.tier-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
  padding-top: 1.1rem;   /* room for the raised Platinum card + flag */
}
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.9rem 1.6rem 1.6rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(20, 22, 58, .12);
}
.tier-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: .5rem 0 1rem;
}
.tier-chip {
  align-self: flex-start;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .28rem .65rem;
  border-radius: 999px;
}
.tier-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.tier-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--body);
}
.tier-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  font-weight: 800;
}

/* Gold & Silver side cards */
.tier-gold   { border-top: 4px solid #f0a11c; }
.tier-silver { border-top: 4px solid #a9b2c2; }
.tier-gold .tier-chip {
  background: #fff7e0;
  color: #a16207;
  border: 1px solid #fcd34d;
}
.tier-silver .tier-chip {
  background: #f1f4f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}
.tier-gold .tier-list li::before   { color: #b45309; }
.tier-silver .tier-list li::before { color: #64748b; }
.tier-gold:hover   { border-color: #f0a11c; }
.tier-silver:hover { border-color: #a9b2c2; }

/* Platinum — featured centre card on navy, raised above the row */
.tier-platinum {
  background:
    radial-gradient(360px 220px at 88% -10%, rgba(79, 168, 220, .22), transparent 60%),
    radial-gradient(420px 240px at 0% 115%, rgba(245, 130, 31, .20), transparent 60%),
    linear-gradient(150deg, var(--navy-800), var(--navy-950));
  border: none;
  color: #dfe3f7;
  box-shadow: 0 22px 50px rgba(20, 22, 58, .30);
  transform: translateY(-10px);
}
.tier-platinum:hover {
  transform: translateY(-14px);
  box-shadow: 0 28px 60px rgba(20, 22, 58, .38);
}
.tier-platinum h3 { color: #fff; }
.tier-platinum .tier-chip {
  background: rgba(255, 255, 255, .12);
  color: #ffd76a;
  border: 1px solid rgba(255, 215, 106, .5);
}
.tier-platinum .tier-list li { color: #dfe3f7; }
.tier-platinum .tier-list li::before { color: var(--accent); }
.tier-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f5821f, #c05e08);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(245, 130, 31, .4);
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .tier-row { grid-template-columns: 1fr; padding-top: 1rem; }
  .tier-platinum { transform: none; order: -1; }
  .tier-platinum:hover { transform: translateY(-4px); }
}

/* prospectus contact strip */
.sponsor-contact {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
  background: var(--sky-soft);
  border: 1px solid #cfe6f5;
  border-radius: 16px;
  padding: 1.6rem 1.7rem;
}
.sc-text { flex: 1; min-width: 260px; }
.sc-text h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .3rem; }
.sc-text p  { font-size: .95rem; color: var(--body); }
.sc-actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  .tier-card { transition: none; }
  .tier-card:hover, .tier-platinum:hover { transform: none; }
  .tier-platinum { transform: none; }
}

/* ============================================================
   HOME — EXHIBITION  (index.php #exhibition)
   Why-exhibit points + a stall card outlined like a booth on
   the floor plan, then the 3-step booking strip.
   ============================================================ */
.expo-panel {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
  margin-bottom: 1.6rem;
}
.expo-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.expo-point {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.expo-point i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fdeedd;
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: .2rem;
}
.expo-point strong {
  color: var(--ink);
  font-size: .98rem;
}
.expo-point span {
  font-size: .86rem;
  color: var(--body);
  line-height: 1.5;
}

/* stall card — dashed outline like a booth marked on the floor plan */
.expo-card {
  background: #fffdf9;
  border: 2px dashed rgba(245, 130, 31, .55);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.expo-card .mono-label { color: var(--accent-deep); }
.expo-includes {
  list-style: none;
  margin: 1rem 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.expo-includes li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--body);
}
.expo-includes li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent-deep);
  font-weight: 800;
}

/* booking steps */
.expo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.expo-step {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}
.es-num {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: .85rem;
  font-weight: 700;
}
.expo-step strong {
  display: block;
  color: var(--ink);
  font-size: .95rem;
  margin-bottom: .1rem;
}
.expo-step div span {
  font-size: .85rem;
  color: var(--body);
  line-height: 1.5;
}

@media (max-width: 991.98px) {
  .expo-panel { grid-template-columns: 1fr; }
  .expo-steps { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .expo-points { grid-template-columns: 1fr; }
}