/* ── ROOT VARIABLES (PHP file's design system) ────────────────── */
:root {
  --orange: #E8651A;
  --orange-light: #F5843A;
  --orange-pale: #FDE9D9;
  --navy: #1F3864;
  --navy-light: #2A4A82;
  --cream: #FDFAF6;
  --white: #FFFFFF;
  --text: #1A1A2E;
  --muted: #6B7280;
  --border: #E5E7EB;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  font-size: 1rem;
  line-height: 1.75;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  color: var(--navy);
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── NAVBAR ───────────────────────────────────────────────────── */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  height: 64px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
}

.nav-brand .q {
  color: var(--orange);
}

.nav-brand .con {
  color: var(--navy);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: .85rem;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .2s, color .2s;
  display: block;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  background: var(--orange-pale);
  color: var(--orange);
  text-decoration: none;
}

.nav-cta {
  background: var(--orange);
  color: white !important;
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s;
  margin-left: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--orange-light);
  text-decoration: none;
}

.nav-toggler {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 18px;
  color: var(--navy);
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 110px 5% 60px;
  background: url('img/4.png') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(253, 250, 246, 0.96) 0%, rgba(220, 230, 245, 0.9) 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 101, 26, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-logos-split {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(31, 56, 100, .08);
}

.hero-logo-img {
  max-height: 65px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.logo-divider-v {
  width: 2px;
  height: 44px;
  background: var(--border);
  border-radius: 2px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-pale);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 20px;
  margin-top: 20px;
  border: 1px solid rgba(232, 101, 26, .2);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.4);
  }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .at {
  color: var(--orange);
  font-style: normal;
}

.hero-title .ai {
  color: var(--navy-light);
  font-style: normal;
}

.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 500px;
  font-weight: 400;
}

.date-chip {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .6rem 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 2px 12px rgba(31, 56, 100, .08);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-primary {
  background: var(--orange);
  color: white !important;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(232, 101, 26, .3);
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(232, 101, 26, .4);
  text-decoration: none;
}

.btn-secondary {
  background: white;
  color: var(--navy) !important;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
}

.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: white !important;
  text-decoration: none;
}

/* Stat chips */
.stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .65rem 1rem;
  box-shadow: 0 2px 12px rgba(31, 56, 100, .07);
  transition: box-shadow .2s, transform .2s;
}

.stat-chip:hover {
  box-shadow: 0 8px 32px rgba(31, 56, 100, .12);
  transform: translateY(-2px);
}

.sicon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.sicon.t {
  background: var(--orange-pale);
  color: var(--orange);
}

.sicon.i {
  background: #DBEAFE;
  color: var(--navy);
}

.sv {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1.1;
}

.sl {
  font-size: .72rem;
  color: var(--muted);
  display: block;
}

/* ── HERO RIGHT VISUAL ────────────────────────────────────────── */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-right-visual {
  position: relative;
  width: 460px;
  height: 540px;
}

.hrv-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hrv-blob-1 {
  width: 280px;
  height: 280px;
  background: rgba(232, 101, 26, .14);
  top: -20px;
  right: -30px;
}

.hrv-blob-2 {
  width: 220px;
  height: 220px;
  background: rgba(31, 56, 100, .12);
  bottom: 10px;
  left: -10px;
}

.hrv-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(31, 56, 100, .16);
  backdrop-filter: blur(16px);
  overflow: hidden;
  z-index: 3;
}

.hrv-card-header {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}

.hrv-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.hrv-dot.t {
  background: var(--orange);
}

.hrv-dot.i {
  background: var(--navy);
}

.hrv-dot.g {
  background: #34c759;
}

.hrv-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: .3rem;
  letter-spacing: .03em;
}

.hrv-card-body {
  padding: 1.5rem 1.2rem 1.3rem;
  text-align: center;
}

.hrv-atom-wrap {
  width: 118px;
  height: 118px;
  margin: 0 auto .6rem;
  animation: spin-slow 18s linear infinite;
}

@keyframes spin-slow {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.hrv-tagline {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}

.hrv-card-atom {
  width: 240px;
  top: 10px;
  left: 0;
  animation: fl2 6s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(31, 56, 100, .16), -8px -8px 40px rgba(232, 101, 26, .2);
}

.hrv-card-atom:hover {
  transform: translateY(-6px) scale(1.04);
}

.hrv-card-photo {
  width: 230px;
  top: 20px;
  right: 0;
  animation: fl3 7s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(31, 56, 100, .16), 8px -8px 40px rgba(31, 56, 100, .2);
}

.hrv-card-photo:hover {
  transform: translateY(-6px) scale(1.04);
}

.hrv-photo-img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hrv-card-body-img {
  padding: 0;
}

.hrv-card-scene {
  width: 300px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: fl1 8s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(31, 56, 100, .16), 0 14px 50px rgba(232, 101, 26, .15);
}

.hrv-card-scene:hover {
  transform: translateX(-50%) translateY(-6px) scale(1.04);
}

.hrv-card-body-scene {
  position: relative;
  height: 145px;
  overflow: hidden;
}

.hrv-scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hrv-scene-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 56, 100, .6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: .8rem 1rem;
}

.hrv-scene-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: white;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
}

.hrv-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .6rem .9rem;
  box-shadow: 0 8px 32px rgba(31, 56, 100, .12);
  z-index: 4;
}

.hrv-badge-date {
  top: 40px;
  left: -10px;
  animation: fl2 7s ease-in-out infinite;
}

.hrv-badge-ieee {
  bottom: 55px;
  right: -10px;
  animation: fl3 8s ease-in-out infinite;
}

.hrv-badge-val {
  font-family: 'Playfair Display', serif;
  font-size: .8rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
}

.hrv-badge-sub {
  font-size: .68rem;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
}

@keyframes fl1 {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-12px);
  }
}

@keyframes fl2 {

  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-10px) rotate(-3deg);
  }
}

@keyframes fl3 {

  0%,
  100% {
    transform: translateY(0) rotate(4deg);
  }

  50% {
    transform: translateY(-12px) rotate(4deg);
  }
}

/* ── SECTION COMMONS ──────────────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3vw, 44px);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

.section-title em {
  color: var(--orange);
  font-style: normal;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
  font-family: 'DM Sans', sans-serif;
}

.sec-rule-center {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  border-radius: 2px;
  margin: .75rem auto 1.5rem;
}

/* ── WHY SECTION (About) ──────────────────────────────────────── */
.why-section {
  padding: 100px 5%;
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 0;
}

.why-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(232, 101, 26, .1);
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .25s;
  transform-origin: left;
}

.why-card:hover::after {
  transform: scaleX(1);
}

.why-icon {
  font-size: 26px;
  margin-bottom: 14px;
  color: var(--orange);
}

.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
}

.why-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  font-family: 'DM Sans', sans-serif;
}

/* ── TIMELINE SECTION (Dates) ─────────────────────────────────── */
.timeline-section {
  padding: 100px 5%;
  background: var(--cream);
}

.timeline-header {
  margin-bottom: 48px;
}

.timeline {
  position: relative;
}

.timeline::before {
  display: none;
  /* removed — line is now drawn per-item to avoid crossing month labels */
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-dot {
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.dot-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: white;
  position: relative;
  z-index: 1;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}

.timeline-item:hover .dot-circle {
  background: var(--orange);
  transform: scale(1.1);
}

.dot-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
}

.timeline-content {
  background: white;
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  transition: all .25s;
}

.timeline-item:hover .timeline-content {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(232, 101, 26, .08);
}

.tc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 16px;
}

.tc-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
}

.tc-deliverable {
  background: var(--orange-pale);
  color: var(--orange);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tc-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
  font-family: 'DM Sans', sans-serif;
}

.tc-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tc-point {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
}

.tc-point-link {
  text-decoration: none;
  background: var(--orange-pale);
  border-color: var(--orange);
  color: var(--orange);
  transition: background .2s, color .2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tc-point-link:hover {
  background: var(--orange);
  color: white;
}

/* ── GET / CFP SECTION ────────────────────────────────────────── */
.get-section {
  padding: 100px 5%;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.get-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 101, 26, .12) 0%, transparent 70%);
}

.get-section .section-tag {
  color: var(--orange);
}

.get-section .section-title {
  color: white;
}

.get-section .section-sub {
  color: rgba(255, 255, 255, .6);
}

.cfp-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.cfp-topics-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: .8rem;
  font-family: 'DM Sans', sans-serif;
}

.cfp-pills {
  display: flex;
  flex-wrap: wrap;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .75);
  font-size: .8rem;
  font-weight: 500;
  padding: .3rem .85rem;
  border-radius: 50px;
  margin: .25rem;
  font-family: 'DM Sans', sans-serif;
  transition: background .2s, color .2s, border-color .2s;
}

.topic-pill:hover {
  background: rgba(232, 101, 26, .18);
  border-color: rgba(232, 101, 26, .4);
  color: var(--orange);
}

.info-box {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
}

.info-box-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: .3rem;
  font-family: 'DM Sans', sans-serif;
}

.info-box-val {
  font-family: 'Playfair Display', serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--orange);
}

.info-box-val a {
  color: var(--orange);
}

.info-box-val a:hover {
  color: var(--orange-light);
}

.cfp-policies {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.policy-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
}

.policy-card h6 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: .8rem;
  font-family: 'Playfair Display', serif;
}

.policy-card p {
  font-size: .88rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: .6rem;
  line-height: 1.65;
  font-family: 'DM Sans', sans-serif;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.policy-card a {
  color: var(--orange);
}

.policy-card ul {
  margin-left: 1.2rem;
  margin-bottom: .7rem;
}

.policy-card ul li {
  font-size: .88rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: .4rem;
  line-height: 1.6;
  font-family: 'DM Sans', sans-serif;
}

.checklist {
  list-style: none;
  margin-left: 0 !important;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .5rem;
}

.checklist li i {
  color: var(--orange);
  margin-top: 3px;
  flex-shrink: 0;
}

.policy-note {
  color: var(--orange) !important;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ── AGREE / PUBLICATION & CONTACT SECTION ────────────────────── */
.agree-section {
  padding: 80px 5%;
  background: white;
}

.agree-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.agree-cards {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.agree-card {
  flex: 1;
  min-width: 180px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  transition: all .25s;
}

.agree-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 101, 26, .1);
}

.agree-card .icon {
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--orange);
}

.agree-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: 'Playfair Display', serif;
}

.agree-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  font-family: 'DM Sans', sans-serif;
}

/* ── REGISTRATION ─────────────────────────────────────────────── */
.form-section {
  padding: 100px 5%;
  background: var(--cream);
}

.reg-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  margin-top: 48px;
}

.reg-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(31, 56, 100, .07);
  transition: box-shadow .3s, transform .2s;
}

.reg-card:hover {
  box-shadow: 0 12px 40px rgba(232, 101, 26, .1);
  transform: translateY(-3px);
}

.reg-top {
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .7rem;
}

.reg-top.t {
  background: linear-gradient(135deg, var(--orange-pale), white);
}

.reg-top.i {
  background: linear-gradient(135deg, #DBEAFE, white);
}

.reg-top h4 {
  font-size: .92rem;
  font-weight: 700;
  margin: 0;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
}

.reg-body {
  padding: 1.8rem;
}

.fee {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.fee-sub {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .25rem;
  font-family: 'DM Sans', sans-serif;
}

.reg-fee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.reg-fee-grid h6 {
  font-size: .9rem;
  margin-bottom: .6rem;
  font-family: 'Playfair Display', serif;
}

.fee-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fee-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .4rem;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
}

.fee-list li strong {
  color: var(--navy);
  flex-shrink: 0;
}

.acknowledgement {
  margin-top: 40px;
  padding: 2rem;
  border-top: 1px dashed var(--border);
  text-align: center;
}

.ack-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
  font-family: 'DM Sans', sans-serif;
}

.ack-text {
  font-size: .88rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-family: 'DM Sans', sans-serif;
}

.ack-text a {
  color: var(--orange);
}

/* ── HOST ─────────────────────────────────────────────────────── */
.host-card {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-top: 40px;
  transition: all .25s;
}

.host-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(232, 101, 26, .08);
}

.host-logo {
  flex-shrink: 0;
}

.host-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
  font-family: 'Playfair Display', serif;
}

.host-info p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.7;
  font-family: 'DM Sans', sans-serif;
}

.host-info a {
  color: var(--orange);
}

/* ── VENUE ────────────────────────────────────────────────────── */
.venue-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(31, 56, 100, .08);
}

/* ── CONTACT ──────────────────────────────────────────────────── */
.contact-rows {
  max-width: 600px;
  margin: 2rem auto 0;
}

.c-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.c-row:last-child {
  border-bottom: none;
}

.ci {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--orange-pale);
  border: 1px solid rgba(232, 101, 26, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.ci.i {
  background: #DBEAFE;
  border-color: rgba(31, 56, 100, .2);
}

.cl {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
}

.cv {
  font-size: .97rem;
  font-weight: 500;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
}

.cv a {
  color: var(--orange);
}

.cv a:hover {
  color: var(--navy);
}

/* ── FOOTER ───────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 36px 5%;
  color: rgba(255, 255, 255, .5);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: white;
}

.footer-brand span {
  color: var(--orange);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s;
  font-family: 'DM Sans', sans-serif;
}

.footer-links a:hover {
  color: white;
  text-decoration: none;
}

.footer-copy {
  color: rgba(255, 255, 255, .3);
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
}

/* ── ANIMATIONS ───────────────────────────────────────────────── */
.fu {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fu.vis {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-right-visual {
    width: 380px;
    height: 460px;
  }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    padding-top: 20px;
    gap: 40px;
  }

  .hero-right {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 100px 5% 60px;
  }

  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }

  .timeline-dot {
    width: 60px;
  }

  .timeline::before {
    left: 30px;
  }

  .cfp-grid {
    grid-template-columns: 1fr;
  }

  .reg-grid {
    grid-template-columns: 1fr;
  }

  .host-card {
    flex-direction: column;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .reg-fee-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  /* ── TIMELINE / DATES SECTION FIX ── */
  .timeline-section {
    padding: 60px 16px;
    overflow: hidden;
    /* prevent any child overflow */
    width: 100%;
  }

  .timeline-item {
    grid-template-columns: 56px 1fr;
    /* smaller dot column */
    gap: 14px;
    margin-bottom: 28px;
    min-width: 0;
    /* prevent grid blowout */
  }

  .timeline-dot {
    width: 56px;
    min-width: 56px;
  }

  .dot-circle {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .timeline-content {
    padding: 16px;
    min-width: 0;
    /* critical: allows content to shrink inside grid */
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .tc-header {
    flex-direction: column;
    gap: 8px;
  }

  .tc-title {
    font-size: 15px;
  }

  .tc-deliverable {
    align-self: flex-start;
    font-size: 11px;
  }

  .tc-desc {
    font-size: 13px;
  }

  .tc-points {
    gap: 6px;
  }

  .tc-point,
  .tc-point-link {
    font-size: 11px;
    padding: 4px 10px;
    word-break: break-word;
  }

  /* Connector line: adjust for smaller dot column */
  .timeline-item:not(:last-child) .timeline-dot::after {
    left: 50%;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(253, 250, 246, .97);
    backdrop-filter: blur(12px);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-link {
    padding: 10px 16px;
    border-radius: 8px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .nav-toggler {
    display: flex;
    align-items: center;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-logos-split {
    padding: .75rem 1.2rem;
    gap: 1rem;
  }

  .hero-logo-img {
    max-height: 50px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
    justify-content: center;
  }

  .agree-cards {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .stat-chips {
    gap: .5rem;
  }

  .stat-chip {
    padding: .5rem .75rem;
  }
}

.contact-rows {
  text-align: left;
}

.c-row {
  align-items: flex-start;
}

.c-row div {
  text-align: left;
}

.disabled-btn {
  background: #ccc !important;
  color: #666 !important;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* ── MOBILE FULL-WIDTH FIXES ──────────────────────────────────── */

/* Ensure html/body never overflow or leave gaps */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero: use padding instead of percentage on small screens to avoid gap */
@media (max-width: 768px) {
  .hero {
    padding: 90px 16px 48px;
    width: 100%;
  }

  .hero-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    gap: 28px;
  }

  .hero-left {
    width: 100%;
    min-width: 0;
  }

  /* Logos: wrap on very small screens */
  .hero-logos-split {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Date chip full width */
  .date-chip {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: .8rem;
  }

  /* Buttons fill width */
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  /* Stat chips: 1 per row on very small screens */
  .stat-chips {
    flex-direction: column;
    width: 100%;
  }

  .stat-chip {
    width: 100%;
  }

  /* All sections: consistent full-width padding */
  .section-inner,
  .agree-inner,
  .why-section .section-inner,
  .timeline-section .section-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Nav: ensure it stretches full width */
  #mainNav {
    padding: 0 16px;
    width: 100%;
  }

  /* Footer */
  footer {
    padding: 28px 16px;
    width: 100%;
  }

  .footer-inner {
    width: 100%;
  }

  /* Contact rows */
  .contact-rows {
    max-width: 100%;
    width: 100%;
    padding: 0;
  }

  /* Host card */
  .host-card {
    padding: 20px 16px;
    width: 100%;
  }

  /* Registration grid */
  .reg-grid {
    width: 100%;
  }

  .reg-card {
    width: 100%;
  }

  .reg-body {
    padding: 1.2rem 1rem;
  }

  /* Fee grid stacked */
  .reg-fee-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  /* CFP grid */
  .cfp-grid {
    width: 100%;
  }

  /* Why/features grid */
  .why-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  /* Hero badge wrapping */
  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
    white-space: normal;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 84px 12px 40px;
  }

  .hero-container {
    gap: 20px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .hero-sub {
    font-size: 15px;
  }

  .date-chip {
    font-size: .78rem;
  }

  .section-inner,
  .agree-inner {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #mainNav {
    padding: 0 12px;
  }

  footer {
    padding: 24px 12px;
  }
}

/* Connector line: starts below the month label, ends at the top of the next dot-circle */
.timeline-item:not(:last-child) .timeline-dot::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(42px + 6px + 1.2em + 6px);
  /* circle height + gap + approx label height + small padding */
  bottom: calc(-40px);
  /* reaches into the gap between items (matches margin-bottom: 40px) */
  width: 2px;
  background: rgba(232, 101, 26, .18);
  z-index: 0;
}

/* ── TEXT JUSTIFICATION & MOBILE TEXT FIXES ───────────────────── */

/* Justify body text in all content paragraphs */
p,
.hero-sub,
.section-sub,
.why-card p,
.tc-desc,
.hrv-tagline {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
}

/* On mobile, remove fixed max-width caps so text fills the column */
@media (max-width: 768px) {

  .hero-sub,
  .section-sub {
    max-width: 100%;
    text-align: justify;
  }

  /* Headings stay left-aligned — justify looks odd for short heading lines */
  h1,
  h2,
  h3,
  h4,
  h5,
  .hero-title,
  .section-title,
  .section-tag,
  .tc-title,
  .dot-label {
    text-align: left;
  }

  /* Cards and timeline content blocks fill full width */
  .why-card p,
  .tc-desc {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  /* Badge and chip labels — don't justify these (too short) */
  .hero-badge,
  .stat-chip,
  .date-chip,
  .tc-deliverable,
  .tc-point,
  .tc-point-link,
  .hrv-scene-badge,
  .hrv-badge-val,
  .hrv-badge-sub {
    text-align: left;
  }
}

@media (max-width: 480px) {

  .hero-sub,
  .section-sub,
  .why-card p,
  .tc-desc {
    font-size: 14px;
    /* slightly tighter on very small screens */
    line-height: 1.7;
  }
}

/* ── PROGRAM & SCHEDULE — MOBILE FIXES ────────────────────────── */

/* Give schedule cards a dedicated class for easier targeting */
/* The cards already use .agree-card with inline flex — override below */

/* Wrapper that holds all schedule cards */
#publication .agree-inner {
  width: 100%;
  box-sizing: border-box;
}

/* The schedule wrapper div (max-width:720px) */
#publication>.agree-inner>div[style*="max-width:720px"],
#publication>.agree-inner>div[style*="max-width: 720px"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Each schedule card: use grid so time sits above content on mobile */
#publication .agree-card {
  display: grid !important;
  grid-template-columns: 110px 1fr;
  align-items: flex-start;
  gap: 1rem;
  text-align: left !important;
  width: 100%;
  box-sizing: border-box;
  padding: 1.1rem 1.2rem;
}

/* Time column */
#publication .agree-card>div:first-child {
  min-width: 0 !important;
  width: auto;
  font-size: .82rem;
  font-weight: 700;
  color: var(--orange);
  padding-top: 3px;
  word-break: keep-all;
  white-space: nowrap;
}

/* Content column */
#publication .agree-card>div:last-child {
  min-width: 0;
  overflow: hidden;
}

/* Icon + heading row inside content */
#publication .agree-card>div:last-child>div:first-child {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .3rem;
  flex-wrap: nowrap;
}

/* Paragraph inside schedule cards — justify text */
#publication .agree-card p {
  margin: 0;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--muted);
  word-break: break-word;
}

/* Heading inside schedule cards */
#publication .agree-card h4 {
  margin: 0;
  font-size: .95rem;
  text-align: left;
}

@media (max-width: 768px) {

  #publication .agree-section,
  #publication.agree-section {
    padding: 60px 16px;
  }

  /* Stack time above content on small screens */
  #publication .agree-card {
    grid-template-columns: 1fr !important;
    gap: .5rem;
    padding: 1rem;
  }

  /* Time badge: show as a small pill on mobile */
  #publication .agree-card>div:first-child {
    display: inline-flex;
    align-items: center;
    background: var(--orange-pale);
    border: 1px solid rgba(232, 101, 26, .2);
    border-radius: 100px;
    padding: 3px 10px;
    font-size: .75rem;
    white-space: nowrap;
    width: fit-content;
  }

  #publication .agree-card p {
    font-size: .85rem;
  }

  /* Schedule wrapper: remove fixed max-width constraint on mobile */
  #publication .agree-inner>div {
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {

  #publication.agree-section,
  #publication .agree-section {
    padding: 48px 12px;
  }

  #publication .agree-card {
    padding: .9rem;
    margin-bottom: .75rem !important;
  }

  #publication .agree-card p {
    font-size: .82rem;
  }
}