/* ==========================================================================
   RCELL INTERNATIONAL CONFERENCE 2027: Master Stylesheet
   Brand: Deep Navy #021038 | Warm Gold #ECB643 | Ivory #F7F1E4
   Typography: Playfair Display (headings) | Inter (body)
   ========================================================================== */

/* ── Custom Properties ─────────────────────────────────────────────────── */
:root {
  --navy:       #021038;
  --navy-mid:   #061d5a;
  --navy-light: #0d2d7a;
  --rcell-blue: #155DC4;
  --gold:       #ECB643;
  --gold-dark:  #d4a030;
  --gold-deep:  #733704;
  --ivory:      #F7F1E4;
  --ivory-dark: #ede6d4;
  --white:      #ffffff;
  --text-dark:  #0d1a3e;
  --text-mid:   #2d3a5c;
  --text-muted: #6b7a9a;

  --ff-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-sans:   'Inter', system-ui, -apple-system, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 10rem;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --transition: 0.25s ease;
  --shadow-sm:  0 2px 8px rgba(2,16,56,0.08);
  --shadow-md:  0 4px 24px rgba(2,16,56,0.12);
  --shadow-lg:  0 8px 40px rgba(2,16,56,0.18);

  --nav-height: 72px;
  --max-width:  1200px;
}

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typography Scale ──────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.label-upper {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout Utilities ──────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.section-pad { padding: var(--space-xl) 0; }
.section-pad-lg { padding: var(--space-2xl) 0; }

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }

.gold-rule {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem auto;
}
.gold-rule--left { margin-left: 0; }

/* ── Section Header ────────────────────────────────────────────────────── */
.section-header { margin-bottom: var(--space-lg); }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header .section-lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 720px;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-dark); box-shadow: 0 4px 16px rgba(236,182,67,0.4); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-dark {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover { background: #1eb856; box-shadow: 0 4px 16px rgba(37,211,102,0.35); }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ── Navigation ────────────────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
#site-nav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(2,16,56,0.5);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  margin-left: 1rem;
  padding: 0.55rem 1.25rem;
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  letter-spacing: 0.06em;
}
.nav-cta:hover { background: var(--gold-dark) !important; color: var(--navy) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero Section ──────────────────────────────────────────────────────── */
#hero {
  position: relative;
  width: 100%;
  background: var(--navy);
}

.hero-artwork {
  width: 100%;
  display: block;
  max-height: 540px;
  object-fit: cover;
  object-position: center top;
}

.hero-cta-bar {
  background: var(--navy);
  padding: var(--space-md) 0 var(--space-lg);
  text-align: center;
}
.hero-cta-bar .cta-group { justify-content: center; }
.hero-meta {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1.25rem;
}

/* ── About Section ─────────────────────────────────────────────────────── */
#about { background: var(--ivory); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.about-propositions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.proposition {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
}
.proposition h4 { font-family: var(--ff-serif); color: var(--navy); margin-bottom: 0.25rem; }
.proposition p { font-size: 0.925rem; color: var(--text-mid); margin: 0; }

.about-info-box {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  padding: var(--space-md);
  border-top: 3px solid var(--gold);
}
.about-info-box h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.info-item { display: flex; gap: 0.75rem; margin-bottom: 0.875rem; align-items: flex-start; }
.info-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-label { font-size: 0.8rem; color: var(--text-muted); display: block; }
.info-value { font-size: 0.95rem; font-weight: 500; color: var(--navy); }

/* ── Conference Theme Section ──────────────────────────────────────────── */
#theme { background: var(--navy); color: var(--white); }
#theme h2 { color: var(--gold); }
#theme .section-lead { color: rgba(255,255,255,0.75); }
#theme .gold-rule { background: var(--gold); }

.theme-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: var(--space-lg) 0;
  border: 1px solid rgba(236,182,67,0.2);
}

.pillar {
  padding: var(--space-md) 1.5rem;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(236,182,67,0.15);
  transition: background var(--transition);
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(236,182,67,0.05); }

.pillar-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.pillar h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.pillar p { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin: 0; }

.theme-statement {
  border-top: 1px solid rgba(236,182,67,0.2);
  padding-top: var(--space-md);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  font-family: var(--ff-serif);
  max-width: 800px;
  line-height: 1.8;
}

/* ── Thematic Streams ──────────────────────────────────────────────────── */
#streams { background: var(--white); }

.streams-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stream-card {
  border: 1px solid var(--ivory-dark);
  border-top: 3px solid var(--gold);
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.stream-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.stream-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
}
.stream-header:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

.stream-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

.stream-title {
  flex: 1;
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

.stream-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.stream-card.open .stream-toggle { transform: rotate(180deg); }

.stream-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.stream-card.open .stream-body { max-height: 1600px; }

.stream-body-inner {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--ivory-dark);
}

.stream-topics {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.stream-topic {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
  align-items: flex-start;
}
.stream-topic::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.55rem;
}

/* ── Call for Papers ───────────────────────────────────────────────────── */
#cfp { background: var(--ivory); }

.cfp-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.cfp-requirements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.cfp-req-item {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  padding: 1.125rem;
  border-left: 3px solid var(--gold);
}
.cfp-req-item .req-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.25rem;
}
.cfp-req-item .req-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.cfp-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cfp-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  counter-increment: step;
}
.cfp-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--ff-serif);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  border-radius: 50%;
}
.cfp-step-text { font-size: 0.9rem; color: var(--text-mid); padding-top: 0.3rem; line-height: 1.55; }

.cfp-aside {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-md);
}
.cfp-aside h4 { color: var(--gold); margin-bottom: 1rem; font-size: 0.9rem; letter-spacing: 0.05em; }
.cfp-aside p, .cfp-aside li { font-size: 0.875rem; color: rgba(255,255,255,0.75); line-height: 1.65; }
.cfp-aside ul { margin: 0.5rem 0; display: flex; flex-direction: column; gap: 0.5rem; }
.cfp-aside li { display: flex; gap: 0.5rem; }
.cfp-aside li::before { content: '\2022'; color: var(--gold); flex-shrink: 0; }
.cfp-aside .ai-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* ── Stats Bar ─────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  border-top: 1px solid rgba(236,182,67,0.2);
  border-bottom: 1px solid rgba(236,182,67,0.2);
  padding: var(--space-md) 0;
}
.stats-bar-inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  flex: 1 1 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  border-right: 1px solid rgba(236,182,67,0.15);
  text-align: center;
  min-width: 100px;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  line-height: 1.35;
  max-width: 120px;
}

/* ── Who Should Participate ─────────────────────────────────────────────── */
#who { background: var(--ivory); }

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: var(--space-md);
}
.who-item {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-top: 3px solid var(--gold);
  padding: 1.5rem 1.25rem;
}
.who-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.who-item h4 {
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.who-item p {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.6;
}

/* ── Why Participate ────────────────────────────────────────────────────── */
#why { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-md);
}
.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--ivory-dark);
}
.why-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}
.why-item h4 { font-family: var(--ff-serif); font-size: 1rem; color: var(--navy); margin-bottom: 0.3rem; }
.why-item p  { font-size: 0.875rem; color: var(--text-mid); margin: 0; line-height: 1.6; }

/* ── CFP Download Bar ───────────────────────────────────────────────────── */
.cfp-download-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ── Submission Pathway ─────────────────────────────────────────────────── */
.pathway {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: var(--space-md) 0;
  overflow-x: auto;
}
.pathway-step {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.75rem;
}
.pathway-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}
.pathway-step h4 { font-family: var(--ff-serif); font-size: 0.9rem; color: var(--navy); margin-bottom: 0.25rem; }
.pathway-step p { font-size: 0.78rem; color: var(--text-mid); margin: 0; line-height: 1.5; }
.pathway-arrow {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.25rem;
  margin-top: 12px;
  padding: 0 0.25rem;
}

/* ── Dual Registration Pathway ──────────────────────────────────────────── */
.reg-dual-pathway {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: var(--space-md);
}
.reg-pathway-card {
  border: 1px solid rgba(236,182,67,0.25);
  padding: var(--space-md) 1.25rem;
  background: rgba(255,255,255,0.04);
}
.reg-pathway-card h3 {
  font-family: var(--ff-serif);
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}
.reg-pathway-card p, .reg-pathway-card li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}
.reg-pathway-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.reg-pathway-card li {
  display: flex;
  gap: 0.6rem;
}
.reg-pathway-card li::before {
  content: '\2022';
  color: var(--gold);
  flex-shrink: 0;
}

/* ── Conference Updates ─────────────────────────────────────────────────── */
#updates { background: var(--ivory); }

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
}
.update-card {
  display: flex;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-left: 4px solid var(--gold);
  padding: 1.125rem 1.25rem;
}
.update-date {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  padding-top: 0.2rem;
  min-width: 100px;
}
.update-text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }

/* ── Social Sharing Bar ─────────────────────────────────────────────────── */
.share-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.share-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  background: transparent;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  cursor: pointer;
}
.share-btn:hover { border-color: var(--gold); color: var(--gold); }
.share-btn--whatsapp:hover { border-color: #25D366; color: #25D366; }
.share-btn--linkedin:hover { border-color: #0A66C2; color: #0A66C2; }
.share-btn--copied { border-color: #4ade80; color: #4ade80; }

/* ── Keynote Speakers (8-speaker grid) ────────────────────────────────── */
#keynotes { background: var(--white); }

.keynote-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: var(--space-md);
}

.keynote-card {
  border: 1px solid var(--ivory-dark);
  background: var(--white);
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.keynote-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.keynote-card--tba {
  border-style: dashed;
  background: var(--ivory);
}
.keynote-card--tba:hover { transform: none; box-shadow: none; }

.keynote-card-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.keynote-avatar-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--ivory-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2.5rem;
}

.keynote-card-body {
  padding: 1.125rem 1rem;
}

.keynote-stream-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(236,182,67,0.2);
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.6rem;
  border-radius: var(--radius-sm);
}

.keynote-card--tba .keynote-stream-badge {
  color: var(--text-muted);
  background: var(--ivory-dark);
}

.keynote-card h4 {
  font-family: var(--ff-serif);
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.keynote-card--tba h4 { color: var(--text-muted); }

.keynote-card-inst {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.keynote-card-talk {
  font-size: 0.78rem;
  color: var(--text-mid);
  font-style: italic;
  margin-top: 0.4rem;
  line-height: 1.45;
}

.keynote-tba-note {
  text-align: center;
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Print (additions) ─────────────────────────────────────────────────── */
@media print {
  .stats-bar, .share-bar { display: none; }
  .keynote-grid-8 { grid-template-columns: repeat(2, 1fr); }
}

.keynote-tba {
  text-align: center;
  padding: var(--space-lg) 0;
}
.keynote-tba-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 0.4rem 1rem;
  margin-bottom: 1.25rem;
}
.keynote-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  margin: 2rem auto 0;
}
.keynote-placeholder-card {
  border: 1px dashed var(--ivory-dark);
  padding: var(--space-md);
  text-align: center;
  background: var(--ivory);
}
.keynote-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--ivory-dark);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.5rem;
}
.keynote-placeholder-card .tba-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.keynote-placeholder-card .tba-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Programme / Schedule ──────────────────────────────────────────────── */
#programme { background: var(--ivory); }

.programme-days {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: var(--space-md);
}

.programme-day {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-top: 3px solid var(--gold);
}

.programme-day-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--ivory-dark);
  background: var(--navy);
  color: var(--white);
}
.programme-day-header h3 { color: var(--gold); font-size: 1rem; margin-bottom: 0.125rem; }
.programme-day-header p { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin: 0; }

.programme-sessions { padding: 1rem 1.5rem; }
.programme-session {
  display: flex;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--ivory-dark);
  align-items: flex-start;
}
.programme-session:last-child { border-bottom: none; }

.session-time {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  min-width: 60px;
  padding-top: 0.15rem;
}
.session-info h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 0.125rem; }
.session-info p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.session-tba { font-size: 0.75rem; color: var(--text-muted); font-style: italic; }

.programme-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-left: 3px solid var(--rcell-blue);
  font-size: 0.875rem;
  color: var(--text-mid);
}

/* ── Registration ──────────────────────────────────────────────────────── */
#registration { background: var(--navy); color: var(--white); }
#registration h2 { color: var(--white); }
#registration .section-lead { color: rgba(255,255,255,0.7); }

.workflow-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin: var(--space-md) 0 var(--space-lg);
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 100px;
  text-align: center;
}
.workflow-step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
}
.workflow-step.active .workflow-step-circle { background: var(--gold); color: var(--navy); }
.workflow-step p {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.3;
}
.workflow-step.active p { color: var(--gold); }

.workflow-arrow {
  width: 32px;
  height: 2px;
  background: rgba(236,182,67,0.3);
  flex-shrink: 0;
  position: relative;
}
.workflow-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid rgba(236,182,67,0.3);
}

.reg-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

.reg-fees-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.reg-fees-table th {
  background: rgba(236,182,67,0.15);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(236,182,67,0.2);
}
.reg-fees-table td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.reg-fees-table tr:last-child td { border-bottom: none; }
.reg-fees-table .fee-amount { font-weight: 700; color: var(--gold); }
.reg-fees-table .section-divider td {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding-top: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.fee-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  margin-top: 0.5rem;
}

.reg-status-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(236,182,67,0.2);
  padding: var(--space-md);
}
.reg-status-panel h4 { color: var(--gold); margin-bottom: 1.25rem; }

.status-item {
  display: flex;
  gap: 0.875rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45rem;
}
.status-dot.live  { background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.5); }
.status-dot.soon  { background: var(--gold); }
.status-dot.later { background: rgba(255,255,255,0.25); }

.status-text strong { display: block; font-size: 0.875rem; color: var(--white); }
.status-text span   { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ── Publication ───────────────────────────────────────────────────────── */
#publication { background: var(--white); }

.publication-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.publication-journals { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }

.journal-card {
  border: 1px solid var(--ivory-dark);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.journal-card:hover { box-shadow: var(--shadow-sm); }
.journal-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.journal-info h4 { font-size: 0.925rem; color: var(--navy); margin-bottom: 0.125rem; }
.journal-info p  { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

.publication-disclaimer {
  background: var(--ivory);
  border-left: 4px solid var(--rcell-blue);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.7;
  margin-top: 1.5rem;
}

.publication-aside {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-md);
}
.publication-aside h4 { color: var(--gold); margin-bottom: 1rem; }
.publication-aside ul { display: flex; flex-direction: column; gap: 0.75rem; }
.publication-aside li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}
.publication-aside li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.55rem;
}

/* ── Key Dates / Timeline ──────────────────────────────────────────────── */
#dates { background: var(--ivory); }

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, var(--ivory-dark) 100%);
}

.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.2rem;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--ivory);
  z-index: 1;
}
.timeline-item.highlight .timeline-dot { background: var(--gold); width: 16px; height: 16px; left: calc(-2rem + 2px); }

.timeline-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.timeline-label { font-weight: 600; color: var(--navy); font-size: 0.975rem; }
.timeline-status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  margin-left: 0.5rem;
  border-radius: var(--radius-sm);
  vertical-align: middle;
}
.status-provisional { background: rgba(236,182,67,0.15); color: var(--gold-dark); border: 1px solid rgba(236,182,67,0.35); }
.status-proposed    { background: rgba(2,16,56,0.07); color: var(--text-muted); border: 1px solid var(--ivory-dark); }
.status-confirmed   { background: rgba(74,222,128,0.1); color: #16a34a; border: 1px solid rgba(74,222,128,0.3); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
#faq { background: var(--white); }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.faq-item {
  border: 1px solid var(--ivory-dark);
  background: var(--white);
}
.faq-item.open { border-color: rgba(2,16,56,0.2); }

.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  cursor: pointer;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--ff-sans);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
}
.faq-question:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.faq-icon {
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
  margin-top: 0.1rem;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 600px; }

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
  border-top: 1px solid var(--ivory-dark);
  padding-top: 1rem;
}

/* ── Contact ───────────────────────────────────────────────────────────── */
#contact { background: var(--navy); color: var(--white); }
#contact h2 { color: var(--white); }
#contact .label-upper { margin-bottom: 0.5rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-organiser { margin-bottom: var(--space-md); }
.organiser-name { font-family: var(--ff-serif); font-size: 1.2rem; color: var(--gold); }
.organiser-title { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-top: 0.125rem; }

.contact-details { display: flex; flex-direction: column; gap: 0.875rem; margin-top: 1.5rem; }
.contact-detail {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}
.contact-detail-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 0.15rem; }
.contact-detail-body strong { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 0.125rem; }
.contact-detail-body span, .contact-detail-body a { font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.contact-detail-body a:hover { color: var(--gold); }

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: var(--space-md);
  border: 1px solid rgba(236,182,67,0.2);
  background: rgba(255,255,255,0.03);
}
.contact-actions h4 { color: var(--gold); margin-bottom: 0.5rem; }
.contact-actions p { font-size: 0.875rem; color: rgba(255,255,255,0.65); }

/* ── Footer ────────────────────────────────────────────────────────────── */
#footer {
  background: #010c22;
  color: rgba(255,255,255,0.55);
  padding: var(--space-md) 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.footer-logo img { height: 36px; opacity: 0.85; }
.footer-copy { font-size: 0.78rem; text-align: center; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

/* ── Reveal Animations ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive: Tablet ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --space-xl: 4rem; --space-2xl: 6rem; }

  .about-grid { grid-template-columns: 1fr; }
  .theme-pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid rgba(236,182,67,0.15); }
  .pillar:last-child { border-bottom: none; }
  .streams-grid { grid-template-columns: 1fr; }
  .cfp-grid { grid-template-columns: 1fr; }
  .cfp-requirements { grid-template-columns: 1fr; }
  .reg-grid { grid-template-columns: 1fr; }
  .reg-dual-pathway { grid-template-columns: 1fr; }
  .programme-days { grid-template-columns: 1fr; }
  .publication-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .keynote-grid-8 { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(236,182,67,0.1); }
  .stat-item:last-child { border-bottom: none; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  #site-nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--navy);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 32px rgba(2,16,56,0.5);
    gap: 0.25rem;
  }
  #site-nav.nav-open .nav-links a { padding: 0.75rem 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  #site-nav.nav-open .nav-links a:last-child { border-bottom: none; }

  .workflow-steps { flex-wrap: nowrap; }

  .footer-inner { flex-direction: column; text-align: center; }
}

/* ── Responsive: Mobile ────────────────────────────────────────────────── */
@media (max-width: 580px) {
  :root { --space-lg: 2.5rem; --space-xl: 3rem; }
  .container { padding: 0 1rem; }

  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .btn { justify-content: center; }

  .hero-artwork { max-height: 280px; }

  .workflow-steps { overflow-x: auto; padding: 0 0 1rem; justify-content: flex-start; }

  .keynote-placeholder-grid { grid-template-columns: 1fr; }
  .keynote-grid-8 { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: 1fr; }

  .nav-cta { display: none; }
}

/* ── Print ─────────────────────────────────────────────────────────────── */
@media print {
  #site-nav { position: static; }
  .stream-body { max-height: none !important; }
  .faq-answer { max-height: none !important; }
}
