/* ==========================================================================
   TAAI 2026 — Design System
   ========================================================================== */

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

:root {
  /* Ink & paper */
  --ink:        #0c1f2a;
  --ink-soft:   #1a3340;
  --paper:      #f5f1e8;
  --paper-warm: #ede7d8;
  --mist:       #e4ece3;

  /* Signature duotone */
  --azure:      #1865c9;
  --azure-deep: #0d4a9e;
  --stream:     #4aa6e8;
  --moss:       #2f7a3a;
  --leaf:       #7bb93f;
  --fern:       #4e9344;

  /* Accents */
  --sun:        #e8a838;
  --clay:       #b85c3a;

  /* Gradients */
  --grad-spine:    linear-gradient(135deg, var(--azure) 0%, var(--stream) 45%, var(--leaf) 100%);
  --grad-spine-v:  linear-gradient(180deg, var(--azure) 0%, var(--stream) 45%, var(--leaf) 100%);
  --grad-soft:     linear-gradient(135deg, #e8f2ff 0%, #e4ece3 50%, #eef5dc 100%);

  /* Typography */
  --f-display: 'Manrope', system-ui, sans-serif;
  --f-body:    'Manrope', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Scale */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  position: relative;
  overflow-x: hidden;
}

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.12 0 0 0 0 0.16 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

h1 { font-size: clamp(2.75rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }

p { margin: 0 0 1em; }

.lede {
  font-family: var(--f-body);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--azure-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: '';
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.eyebrow.on-dark { color: var(--leaf); }

.num-label {
  font-family: var(--f-body);
  font-size: 0.82rem;
  color: var(--moss);
  letter-spacing: 0.03em;
  font-weight: 700;
}

.grad-text {
  background: var(--grad-spine);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.zh {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.85em;
  color: var(--moss);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 2;
}

section { padding: clamp(4rem, 10vw, 7rem) 0; position: relative; }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: baseline;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(12,31,42,0.15);
}

.section-head .num-label { white-space: nowrap; }

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(12,31,42,0.2), transparent);
  border: 0;
  margin: 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 232, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12,31,42,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-text { line-height: 1; }
.brand-text small {
  display: block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--moss);
  margin-top: 0.2rem;
  text-transform: none;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.25s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--grad-spine);
  transition: right 0.35s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

.nav-links a.active { color: var(--azure-deep); }

.nav-cta {
  padding: 0.55rem 1.1rem !important;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--paper) !important;
}
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 66px 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2.5rem var(--gutter);
    gap: 1.5rem;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-top: 1px solid rgba(12,31,42,0.08);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.25rem; font-family: var(--f-display); font-weight: 700; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--azure-deep) 0%, var(--moss) 100%);
  color: #ffffff;
  border-color: transparent;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--azure) 0%, var(--fern) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(47,122,58,0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(12,31,42,0.3);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(12,31,42,0.04);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   Hero (home page)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.hero-meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  font-family: var(--f-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink-soft);
}

.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta b {
  color: var(--azure-deep);
  font-weight: 500;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 800;
  max-width: 11ch;
}

.hero-title .line { display: block; }
.hero-title em { font-style: normal; font-weight: 800; }

.hero-stack {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (max-width: 820px) {
  .hero-stack { grid-template-columns: 1fr; }
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* Spine ornament — running vertical line with pulse dots */
.spine {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(12,31,42,0.15) 10%, rgba(12,31,42,0.15) 90%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.spine.left  { left: var(--gutter); }
.spine.right { right: var(--gutter); }

@media (max-width: 700px) {
  .spine { display: none; }
}

/* ==========================================================================
   Countdown
   ========================================================================== */

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(12,31,42,0.12);
  border: 1px solid rgba(12,31,42,0.12);
  border-radius: 14px;
  overflow: hidden;
}

.countdown .unit {
  background: var(--paper-warm);
  padding: 1.25rem 0.75rem;
  text-align: center;
}
.countdown .n {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.countdown .l {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
  margin-top: 0.5rem;
}

/* ==========================================================================
   Feature / highlight cards
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
  position: relative;
  padding: 2rem 1.75rem 2.25rem;
  background: var(--paper-warm);
  border: 1px solid rgba(12,31,42,0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(12,31,42,0.2);
}

.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-spine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.feature:hover::before { transform: scaleX(1); }

.feature .num {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--moss);
  letter-spacing: 0.18em;
  margin-bottom: 1.25rem;
}
.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.feature p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   Venue block
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.venue-card {
  background: linear-gradient(165deg, #dfe9e3 0%, #d6e6df 55%, #dcefdc 100%);
  color: var(--ink);
  border: 1px solid rgba(95,143,79,0.18);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px -22px rgba(12,31,42,0.18);
}
.venue-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,185,63,0.12), transparent 60%);
  pointer-events: none;
}
.venue-card h3 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}
.venue-card p { color: rgba(12,31,42,0.72); }

/* ==========================================================================
   Timeline (CFP / important dates)
   ========================================================================== */

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(12,31,42,0.12);
}
.timeline-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(12,31,42,0.12);
  align-items: baseline;
  transition: background 0.25s var(--ease);
}
.timeline-row:hover { background: rgba(123,185,63,0.05); }

.timeline-date {
  font-family: var(--f-body);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--azure-deep);
  font-weight: 500;
}
.timeline-title {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 700;
  color: var(--ink);
}
.timeline-tag {
  font-family: var(--f-body);
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--moss);
  text-transform: none;
  white-space: nowrap;
}
.timeline-tag.hot { background: #fde8dd; color: var(--clay); }
.timeline-tag.done { background: #eaeaea; color: #888; }

@media (max-width: 700px) {
  .timeline-row { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* ==========================================================================
   Tables
   ========================================================================== */

.table {
  width: 100%;
  border-collapse: collapse;
}
.table th, .table td {
  text-align: left;
  padding: 1rem 1rem;
  border-bottom: 1px solid rgba(12,31,42,0.12);
}
.table th {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 500;
}
.table tbody tr { transition: background 0.2s var(--ease); }
.table tbody tr:hover { background: rgba(123,185,63,0.05); }

/* ==========================================================================
   Program schedule
   ========================================================================== */

.day-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.5rem 0 1rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 1rem;
}
.day-head .day-label {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--azure-deep);
}
.day-head h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  flex: 1;
}

.session {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(12,31,42,0.1);
  align-items: baseline;
}
.session-time {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.session-body h4 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  margin: 0 0 0.3rem;
  font-weight: 700;
}
.session-body p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}
.session.keynote { background: linear-gradient(90deg, rgba(24,101,201,0.06), transparent); padding-left: 1rem; border-left: 3px solid var(--azure); }
.session.plenary { background: linear-gradient(90deg, rgba(123,185,63,0.08), transparent); padding-left: 1rem; border-left: 3px solid var(--leaf); }
.session.social { background: linear-gradient(90deg, rgba(232,168,56,0.08), transparent); padding-left: 1rem; border-left: 3px solid var(--sun); }

@media (max-width: 700px) {
  .session { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ==========================================================================
   Committee grid
   ========================================================================== */

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.person {
  padding: 1.25rem;
  background: var(--paper-warm);
  border: 1px solid rgba(12,31,42,0.08);
  border-radius: 12px;
}
.person .role {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.5rem;
}
.person .name {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}
.person .affil {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   Topics (CFP chips)
   ========================================================================== */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}
.topic {
  padding: 1rem 1.25rem;
  background: var(--paper-warm);
  border: 1px solid rgba(12,31,42,0.08);
  border-radius: 10px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.25s var(--ease);
}
.topic:hover {
  border-color: var(--azure);
  transform: translateX(4px);
}
.topic .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-spine);
  flex-shrink: 0;
}

/* ==========================================================================
   Registration tiers
   ========================================================================== */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 820px) { .tier-grid { grid-template-columns: 1fr; } }

.tier {
  padding: 2rem 1.75rem;
  background: var(--paper-warm);
  border: 1px solid rgba(12,31,42,0.08);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.tier.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}
.tier.featured .tier-name,
.tier.featured .tier-price { color: var(--paper); }
.tier.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px; right: 20px;
  background: var(--leaf);
  color: var(--ink);
  padding: 0.25rem 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 999px;
}
.tier-name {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
}
.tier-price {
  font-family: var(--f-display);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}
.tier-price small {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 400;
  margin-left: 0.4rem;
  color: var(--ink-soft);
}
.tier.featured .tier-price small { color: rgba(245,241,232,0.6); }
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  flex: 1;
}
.tier ul li {
  padding: 0.55rem 0 0.55rem 1.6rem;
  position: relative;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(12,31,42,0.07);
}
.tier.featured ul li { border-bottom-color: rgba(245,241,232,0.1); }
.tier ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--leaf);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #eef2ee;
  color: var(--ink);
  padding: 2.4rem 0 0.9rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(12,31,42,0.08);
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(12,31,42,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

.footer-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand h3 {
  font-family: var(--f-display);
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-weight: 800;
}
.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(12,31,42,0.62);
  max-width: 26ch;
  margin-bottom: 0;
}

.footer-col h4 {
  font-family: var(--f-body);
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--moss);
  margin-bottom: 0.7rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li {
  margin-bottom: 0.3rem;
  line-height: 1.45;
}
.footer-col a {
  color: rgba(12,31,42,0.7);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--ink); }

.footer-base {
  padding-top: 0.75rem;
  margin-top: 0.2rem;
  border-top: 1px solid rgba(12,31,42,0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-family: var(--f-body);
  font-size: 0.82rem;
  line-height: 1.45;
  letter-spacing: 0;
  color: rgba(12,31,42,0.52);
  text-transform: none;
}

/* ==========================================================================
   Page hero (for sub-pages)
   ========================================================================== */

.page-hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  max-width: 16ch;
  font-weight: 800;
}
.page-hero .eyebrow { margin-bottom: 1.5rem; }
.page-hero .lede { max-width: 55ch; margin-top: 1.5rem; }

.breadcrumb {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--azure-deep); }
.breadcrumb .sep { margin: 0 0.6rem; color: var(--moss); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.4s; }

/* ==========================================================================
   Info card
   ========================================================================== */

.info-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--mist);
  border-radius: 18px;
  border: 1px solid rgba(47,122,58,0.2);
}
.info-card h4 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.info-card .kv {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.5rem 1rem;
  font-size: 0.92rem;
}
.info-card .kv dt {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  padding-top: 0.1rem;
}
.info-card .kv dd { margin: 0; color: var(--ink); }

/* ==========================================================================
   Accent chip
   ========================================================================== */

.chip {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--mist);
  color: var(--moss);
  margin-right: 0.4rem;
}

/* ==========================================================================
   Marquee (running text band)
   ========================================================================== */

.marquee {
  background: linear-gradient(90deg, #eef5f0 0%, #e7f0ec 50%, #edf4ea 100%);
  color: var(--ink);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-top: 1px solid rgba(12,31,42,0.08);
  border-bottom: 1px solid rgba(12,31,42,0.08);
}
.marquee-track {
  display: inline-block;
  animation: marquee 38s linear infinite;
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}
.marquee-track span { margin: 0 1.5rem; opacity: 0.72; }
.marquee-track em { font-style: normal; color: var(--leaf); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.mt-0  { margin-top: 0 !important; }
.mt-1  { margin-top: 1rem; }
.mt-2  { margin-top: 2rem; }
.mt-3  { margin-top: 3rem; }
.mb-0  { margin-bottom: 0 !important; }
.mb-1  { margin-bottom: 1rem; }
.mb-2  { margin-bottom: 2rem; }
.tc    { text-align: center; }
.max-60 { max-width: 60ch; }
.max-70 { max-width: 70ch; }

/* Dark section variant */
.section-dark {
  background: linear-gradient(180deg, #f3f5ef 0%, #edf3ee 100%);
  color: var(--ink);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--ink); }
.section-dark .lede { color: rgba(12,31,42,0.78); }
.section-dark .section-head { border-bottom-color: rgba(12,31,42,0.12); }


/* ==========================================================================
   Lightened theme section overrides
   ========================================================================== */

.section-dark .num-label {
  color: var(--moss) !important;
}

.section-dark .grad-text,
.section-dark em {
  color: #7fae57;
}

.section-dark p {
  color: rgba(12,31,42,0.78) !important;
}

.section-dark strong {
  color: var(--ink) !important;
}

.section-dark .btn-primary {
  background: #dceccf !important;
  color: var(--ink) !important;
  border: 1px solid rgba(95,143,79,0.28) !important;
  box-shadow: none !important;
}

.section-dark .btn-primary:hover {
  background: #d3e6c3 !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}


/* ==========================================================================
   Compact footer refinements
   ========================================================================== */

.footer-col a {
  line-height: 1.5;
}

.footer-base span {
  text-transform: none;
}

@media (max-width: 820px) {
  .footer {
    padding: 2.5rem 0 1rem;
  }

  .footer-grid {
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }
}


/* ==========================================================================
   Centered footer base refinement
   ========================================================================== */

.footer-base span {
  display: block;
  width: 100%;
}


/* ==========================================================================
   Footer refined typography
   ========================================================================== */

.footer-grid {
  align-items: start;
}

.footer-col {
  padding-top: 0.15rem;
}

.footer-col a,
.footer-col li {
  color: rgba(12,31,42,0.72);
}

.footer-col:last-child ul li {
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(12,31,42,0.72);
  font-weight: 500;
}

.brand-text small {
  text-transform: none;
  letter-spacing: 0.08em;
}


/* ==========================================================================
   Consistency cleanup
   ========================================================================== */

.theme-emphasis {
  color: #7fae57;
  font-style: normal;
}

.theme-copy {
  font-size: 1.02rem;
  color: rgba(12,31,42,0.78);
}

.theme-btn {
  background: #dceccf !important;
  color: var(--ink) !important;
  border: 1px solid rgba(95,143,79,0.28) !important;
  box-shadow: none !important;
}

.theme-btn:hover {
  background: #d3e6c3 !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}

.venue-info-card {
  background: rgba(255,255,255,0.42);
  border-color: rgba(95,143,79,0.22);
  margin-top: 1.5rem;
}

.venue-info-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
}

.venue-info-card dt {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--moss);
}

.venue-info-card dd {
  margin: 0;
  color: rgba(12,31,42,0.78);
}

.hero-meta span:first-child {
  font-weight: 700;
  color: var(--ink);
}

.brand-text small,
.footer-col h4,
.footer-base,
.footer-base span {
  text-transform: none;
}

@media (max-width: 700px) {
  .venue-info-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   Academic conference theme — AI Tech Blue (top) → Sustainable Green (bottom)
   ========================================================================== */

/* Page-wide gradient flow: blue at the top, green at the bottom.
   Soft, muted, conference-appropriate — never dark, never black. */
body {
  background:
    linear-gradient(180deg,
      #e9f1fb 0%,
      #f1f3ec 32%,
      var(--paper) 55%,
      #ecf3e5 82%,
      #dfecd9 100%);
  background-attachment: fixed;
}

/* Soften the navigation chrome; replace ink with deep azure */
.nav {
  background: rgba(247, 250, 254, 0.84);
  border-bottom: 1px solid rgba(13, 74, 158, 0.10);
}
.nav-cta {
  border-color: var(--azure-deep);
  color: var(--azure-deep);
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--azure-deep) 0%, var(--moss) 100%);
  border-color: transparent;
  color: #ffffff !important;
}
.nav-toggle {
  border-color: var(--azure-deep);
  color: var(--azure-deep);
}
.btn-ghost {
  border-color: rgba(13, 74, 158, 0.32);
}
.btn-ghost:hover {
  border-color: var(--azure-deep);
  background: rgba(13, 74, 158, 0.06);
}

/* Replace any solid dark-ink block with the blue→green gradient */
.tier.featured {
  background: linear-gradient(140deg, var(--azure-deep) 0%, #1f7a86 55%, var(--moss) 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}
.tier.featured .tier-name { color: rgba(255, 255, 255, 0.82) !important; }
.tier.featured .tier-price { color: #ffffff !important; }
.tier.featured .tier-price small { color: rgba(255, 255, 255, 0.7) !important; }
.tier.featured ul li { border-bottom-color: rgba(255, 255, 255, 0.16) !important; }
.tier.featured ul li::before { color: var(--leaf) !important; }

.day-head { border-bottom-color: var(--azure-deep); }

/* Page hero — AI Tech Blue */
.page-hero {
  background:
    radial-gradient(ellipse at 18% 8%, rgba(24, 101, 201, 0.18), transparent 58%),
    radial-gradient(ellipse at 88% 4%, rgba(74, 166, 232, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(232, 242, 255, 0.55) 0%, transparent 100%);
}
.page-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 74, 158, 0.28), transparent);
  pointer-events: none;
}
.page-hero .spine.left,
.page-hero .spine.right {
  background: linear-gradient(180deg, rgba(13, 74, 158, 0.42) 0%, rgba(13, 74, 158, 0.04) 100%);
}
.page-hero .eyebrow { color: var(--azure-deep); }
.page-hero .breadcrumb a:hover { color: var(--azure-deep); }

/* Footer — Sustainable Green */
.footer {
  background: linear-gradient(180deg, #ecf3e6 0%, #dde9d8 100%);
  border-top: 1px solid rgba(95, 143, 79, 0.30);
}
.footer::before {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(95, 143, 79, 0.42), transparent);
}
.footer-col h4 { color: var(--moss); }
.footer-base { border-top-color: rgba(95, 143, 79, 0.22); }

/* Section divider rule shifts subtly toward green when used between sections */
hr.rule {
  background: linear-gradient(90deg, transparent, rgba(13, 74, 158, 0.22), rgba(95, 143, 79, 0.22), transparent);
  height: 1px;
}


/* ==========================================================================
   Committee — flat, traditional academic list
   ========================================================================== */

.committee-section {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.committee-section .section-head {
  border-bottom-color: rgba(13, 74, 158, 0.18);
}

.committee-list {
  display: block;
}

/* Default tone for any standalone block */
.committee-block {
  --tone:      #0d4a9e;
  --tone-soft: rgba(13, 74, 158, 0.10);
  --tone-mid:  rgba(13, 74, 158, 0.32);
  --tone-bg:   rgba(13, 74, 158, 0.04);

  margin-bottom: clamp(1.6rem, 3vw, 2.25rem);
  padding-left: 1.15rem;
  border-left: 2px solid var(--tone-mid);
  position: relative;
}

/* Subtle blue → green progression across the flat list (21 blocks).
   The list reads as one continuous committee, but the accent shifts
   gently from AI tech blue at the top to sustainable green at the bottom. */
.committee-list .committee-block:nth-child(n+5) {
  --tone:      #1865c9;
  --tone-soft: rgba(24, 101, 201, 0.10);
  --tone-mid:  rgba(24, 101, 201, 0.32);
  --tone-bg:   rgba(24, 101, 201, 0.04);
}
.committee-list .committee-block:nth-child(n+9) {
  --tone:      #1f8788;
  --tone-soft: rgba(31, 135, 136, 0.10);
  --tone-mid:  rgba(31, 135, 136, 0.32);
  --tone-bg:   rgba(31, 135, 136, 0.05);
}
.committee-list .committee-block:nth-child(n+13) {
  --tone:      #4e9344;
  --tone-soft: rgba(78, 147, 68, 0.10);
  --tone-mid:  rgba(78, 147, 68, 0.34);
  --tone-bg:   rgba(78, 147, 68, 0.05);
}
.committee-list .committee-block:nth-child(n+17) {
  --tone:      #2f7a3a;
  --tone-soft: rgba(47, 122, 58, 0.10);
  --tone-mid:  rgba(47, 122, 58, 0.36);
  --tone-bg:   rgba(47, 122, 58, 0.05);
}
.committee-block h3 {
  font-family: var(--f-display);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.committee-block h3::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tone);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--tone-bg);
}

/* Tighter, more uniform grid for academic presentation */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 0.8rem;
}

/* Person card — restrained, formal, tone-accented */
.person {
  padding: 0.95rem 1.1rem 1.05rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--tone-soft);
  border-radius: 10px;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.person::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--tone);
  opacity: 0.35;
  transition: opacity 0.25s var(--ease);
}
.person:hover {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--tone-mid);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -20px var(--tone-mid);
}
.person:hover::before { opacity: 1; }

/* The role meta is already conveyed by the parent h3 — keep cards clean */
.person .role { display: none; }
.person .name {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.2rem;
}
.person .affil {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .committee-grid { grid-template-columns: 1fr; }
  .committee-group-head { flex-wrap: wrap; gap: 0.5rem 1rem; }
}


/* ==========================================================================
   Home hero — banner-led layout
   ========================================================================== */

.hero {
  min-height: auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(3rem, 7vw, 5rem);
  display: block;
}

.hero-inner {
  display: block;
  position: relative;
  z-index: 2;
}

.hero-banner {
  margin: 0 0 clamp(1.75rem, 4vw, 3rem);
  border-radius: clamp(14px, 2vw, 22px);
  overflow: hidden;
  border: 1px solid rgba(13, 74, 158, 0.16);
  box-shadow:
    0 22px 50px -28px rgba(13, 74, 158, 0.35),
    0 8px 18px -14px rgba(95, 143, 79, 0.25);
  position: relative;
  background: linear-gradient(135deg, #0d4a9e 0%, #1f6f88 60%, #4e9344 100%);
}
.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.hero-text .eyebrow {
  margin-bottom: 1.1rem;
}

.hero-title {
  font-size: clamp(2.1rem, 5.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 1.25rem;
  max-width: 18ch;
}
.hero-title em {
  font-style: normal;
  font-weight: 800;
}

.hero-text .lede {
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.hero .hero-ctas {
  margin-top: 0;
  gap: 0.85rem;
}

/* Countdown card — paper-toned, never black */
.hero-countdown {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: linear-gradient(165deg, #f1f6ff 0%, #eef4e7 100%);
  border: 1px solid rgba(13, 74, 158, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 40px -28px rgba(13, 74, 158, 0.30);
}
.hero-countdown .eyebrow {
  margin-bottom: 0.9rem;
  color: var(--azure-deep);
}
.eyebrow.on-light { color: var(--azure-deep); }

.hero-countdown .countdown {
  background: rgba(13, 74, 158, 0.10);
  border-color: rgba(13, 74, 158, 0.16);
}
.hero-countdown .countdown .unit {
  background: #ffffff;
}
.countdown-note {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  margin: 0.85rem 0 0;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hero-title { font-size: clamp(1.85rem, 8vw, 2.6rem); }
  .hero-text .lede { font-size: 1rem; line-height: 1.55; }
  .hero .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-banner { border-radius: 12px; }
  .hero-title { font-size: clamp(1.7rem, 8vw, 2.2rem); max-width: none; }
  .hero-text .eyebrow { margin-bottom: 0.75rem; }
  .hero .hero-ctas { gap: 0.65rem; }
  .hero .hero-ctas .btn { width: 100%; padding: 0.85rem 1.2rem; font-size: 0.9rem; }
}


/* ==========================================================================
   Mobile navigation — solid full-screen overlay
   ========================================================================== */

@media (max-width: 900px) {
  /* Drop backdrop-filter on mobile — it creates a containing block for
     fixed descendants, which traps .nav-links inside the nav strip. */
  .nav {
    z-index: 110;
    background: #f7faff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-inner { position: relative; z-index: 121; }

  .nav-toggle {
    z-index: 121;
    position: relative;
  }

  .brand { position: relative; z-index: 121; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(env(safe-area-inset-top, 0px) + 5.25rem) var(--gutter) 2.5rem;
    gap: 0.25rem;
    background:
      radial-gradient(ellipse at 20% 0%, rgba(24, 101, 201, 0.12), transparent 60%),
      radial-gradient(ellipse at 100% 100%, rgba(123, 185, 63, 0.18), transparent 60%),
      linear-gradient(180deg, #f7faff 0%, #eef5e8 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: none;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 115;
    overflow-y: auto;
    box-shadow: -24px 0 50px -20px rgba(13, 74, 158, 0.18);
  }
  .nav-links.open { transform: translateX(0); }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(13, 74, 158, 0.12);
  }
  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 1.05rem 0.25rem;
    font-size: 1.25rem;
    font-family: var(--f-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--azure-deep); }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    border: 1px solid var(--azure-deep) !important;
    border-radius: 999px !important;
    padding: 0.95rem 1.25rem !important;
    background: linear-gradient(135deg, var(--azure-deep) 0%, var(--moss) 100%);
    color: #ffffff !important;
  }
}

/* Lock body scroll when menu is open (works alongside JS overflow lock) */
body.menu-open {
  overflow: hidden;
  touch-action: none;
}


/* ==========================================================================
   Page banner (sub-pages) — compact echo of the home hero banner
   ========================================================================== */

.page-banner {
  padding: clamp(1rem, 2.5vw, 1.75rem) 0 0;
  position: relative;
  z-index: 2;
}
.page-banner .banner-frame {
  margin: 0;
  border-radius: clamp(12px, 1.6vw, 18px);
  overflow: hidden;
  border: 1px solid rgba(13, 74, 158, 0.16);
  box-shadow:
    0 16px 36px -24px rgba(13, 74, 158, 0.30),
    0 6px 14px -10px rgba(95, 143, 79, 0.20);
  background: linear-gradient(135deg, #0d4a9e 0%, #1f6f88 60%, #4e9344 100%);
}
.page-banner .banner-frame img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 480px) {
  .page-banner .banner-frame { border-radius: 10px; }
}
