:root {
  --bg: #f4f1eb;
  --bg-soft: #fbf9f5;
  --surface: #ffffff;
  --text: #1c2430;
  --ink: #1c2430;
  --muted: #5c6675;
  --line: rgba(28, 36, 48, 0.1);
  --brand: #1f4e8c;
  --brand-dark: #16375f;
  --brand-soft: #e8eef7;
  --orange: #e28a1a;
  --orange-deep: #c97310;
  --gold: #b8892b;
  --cream: #fff8eb;
  --radius: 18px;
  --shadow: 0 14px 36px rgba(28, 36, 48, 0.07);
  --shadow-strong: 0 22px 48px rgba(28, 36, 48, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(31, 78, 140, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(226, 138, 26, 0.05), transparent 50%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ========== NAV ========== */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(28, 36, 48, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  height: 64px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-left: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  font-size: .92rem;
  font-weight: 700;
  transition: color .2s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--brand); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: 999px;
  padding: .85rem 1.45rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  font-weight: 800;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold,
.btn-primary {
  background: linear-gradient(135deg, #f0a53a, var(--orange));
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(226, 138, 26, 0.28);
}
.btn-gold:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #f4b55a, var(--orange-deep));
  color: #fff !important;
}
.btn-outline {
  border-color: rgba(28, 36, 48, 0.28);
  color: var(--ink);
  background: #fff;
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
a.btn.btn-gold.nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, #f0a53a, var(--orange));
  border: none;
  font-weight: 800;
}
.nav-cta {
  padding: .7rem 1.2rem;
  font-size: .86rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: .55rem .8rem;
  font-weight: 700;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7.5rem 0 0;
  overflow: hidden;
  background: #1c2430;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(247, 242, 233, 0.96) 0%, rgba(247, 242, 233, 0.9) 36%, rgba(247, 242, 233, 0.55) 58%, rgba(247, 242, 233, 0.18) 78%, rgba(28, 36, 48, 0.18) 100%),
    url("../img/hero.jpg") right center / cover no-repeat;
}
.hero-container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 7.5rem;
  min-height: calc(100vh - 7.5rem);
}
.hero-copy {
  max-width: 640px;
}
.eyebrow {
  display: inline-block;
  color: var(--orange-deep);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 800;
  margin-bottom: .9rem;
}
.hero .eyebrow {
  color: #fff;
  background: var(--brand);
  padding: .45rem .9rem;
  border-radius: 999px;
  letter-spacing: .14em;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 16ch;
  font-weight: 650;
  color: var(--ink);
}
.hero-meta {
  color: var(--orange-deep);
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.hero-copy > p {
  max-width: 50ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.8rem;
}
.hero .btn-outline {
  border-color: rgba(28, 36, 48, 0.35);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}
.hero .btn-outline:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Typing ticker — full viewport width */
.hero-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  z-index: 2;
  margin: 0;
  background: #1c2430;
  border-top: 1px solid rgba(226, 138, 26, 0.35);
  padding: 1.2rem 1.25rem;
  text-align: center;
}
.hero-footer p {
  margin: 0;
  color: #fff;
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  min-height: 1.6em;
}
.ticker-cursor {
  color: #f0c27a;
  margin-left: .15rem;
  animation: blink 0.85s step-end infinite;
  font-weight: 400;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* ========== SECTIONS ========== */
section { padding: 5rem 0; }
.section-head {
  margin-bottom: 2.4rem;
  max-width: 720px;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  margin: .3rem 0 .7rem;
  line-height: 1.15;
  color: var(--ink);
}
.section-head p { color: var(--muted); margin: 0; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 1.4rem;
}
.about-card h3 {
  font-family: var(--font-display);
  margin-top: 0;
  color: var(--ink);
}
.theme-pill {
  display: inline-block;
  margin-top: 1.1rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
}

/* ========== PARTNERS ========== */
.partners-section {
  background: var(--cream);
  border-block: 1px solid rgba(184, 137, 43, 0.22);
}
.partners-section .section-head h2 { color: #3b2a16; }
.partners-section .section-head p { color: #6d5535; }
.partners-section .eyebrow { color: #8e683a; }
.partners-section .reveal { opacity: 1; transform: none; }
.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem 1.8rem;
  margin-bottom: 2.4rem;
}
.partner-item { text-align: center; width: 190px; }
.partner-label {
  font-size: .95rem;
  font-weight: 800;
  color: #8e683a;
  margin-bottom: .65rem;
}
.partner-logo-box {
  background: #fff;
  border: 1.5px solid rgba(184, 137, 43, 0.35);
  border-radius: 12px;
  height: 100px;
  width: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(59, 42, 22, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.partner-logo-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(59, 42, 22, 0.1);
}
.partner-logo-box img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.partner-logo-box strong {
  color: var(--ink);
  font-size: .95rem;
  text-align: center;
}
.exhibitor-block { margin-top: 1.5rem; }
.exhibitor-label {
  text-align: center;
  font-weight: 800;
  color: #6a4a24;
  margin-bottom: 1.25rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.exhibitor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.15rem;
}
.exhibitor-item {
  width: 190px;
}
.exhibitor-grid .partner-logo-box {
  width: 100%;
  height: 100px;
}

/* ========== SPEAKERS ========== */
.speakers-section { background: var(--bg-soft); }
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.speaker-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.1rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.speaker-card:hover { transform: translateY(-4px); }
.speaker-photo {
  width: 112px;
  height: 112px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--brand-soft);
  background: #eef5f0;
  display: grid;
  place-items: center;
}
.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.speaker-body h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}
.speaker-body .title {
  color: var(--orange-deep);
  font-size: .9rem;
  margin: 0;
  font-weight: 700;
}
.speaker-body .org {
  color: var(--muted);
  font-size: .88rem;
  margin-top: .3rem;
}

/* ========== STATS ========== */
.stats {
  background: linear-gradient(160deg, #eef2f8 0%, #f6f7fa 55%, #fff8eb 100%);
  border-block: 1px solid rgba(31, 78, 140, 0.12);
}
.stats .section-head h2 { color: var(--ink); }
.stats .section-head p { color: var(--muted); }
.stats .eyebrow { color: var(--brand); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(31, 78, 140, 0.12);
  background: #fff;
  box-shadow: var(--shadow);
}
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--brand);
  line-height: 1;
}
.stat-card span {
  display: block;
  margin-top: .55rem;
  font-weight: 800;
  color: var(--ink);
}
.stat-card p { color: var(--muted); margin: .4rem 0 0; font-size: .9rem; }

/* ========== CARDS ========== */
.why-grid, .highlights-grid, .focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.icon-card, .focus-card {
  padding: 1.45rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.icon-card h3 {
  font-family: var(--font-display);
  margin: .35rem 0;
  color: var(--ink);
}
.icon-card p { color: var(--muted); margin: 0; }
.focus-card {
  min-height: 120px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-display);
}

/* ========== AGENDA ========== */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.agenda-card h3 {
  margin: .2rem 0 .8rem;
  font-family: var(--font-display);
  color: var(--ink);
}
.agenda-card .day {
  color: var(--orange-deep);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 800;
}
.agenda-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.agenda-card li { margin: .35rem 0; }

/* ========== FORMS ========== */
.form-page {
  padding: 8.5rem 0 4rem;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(31,107,69,.07), transparent 40%),
    var(--bg);
}
.form-shell {
  max-width: 720px;
  margin: 0 auto;
}
.form-shell h1 {
  font-family: var(--font-display);
  margin: .4rem 0 1.5rem;
  color: var(--ink);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: grid;
  gap: .4rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}
input, select, textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: .85rem 1rem;
}
textarea { min-height: 130px; resize: vertical; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.alert {
  padding: .9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.alert-success { background: rgba(31,78,140,.12); border: 1px solid rgba(31,78,140,.3); color: var(--ink); }
.alert-error { background: rgba(196,92,74,.12); border: 1px solid rgba(196,92,74,.3); }

/* ========== FAQ ========== */
.faq-section { background: var(--bg-soft); }
.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  margin-inline: auto;
}
.faq-item h3 {
  margin: 0 0 .55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.35;
}
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.25rem;
}
.contact-card h3 {
  margin-top: 0;
  font-family: var(--font-display);
  color: var(--ink);
}
.contact-card p { color: var(--muted); }
.contact-card a { color: var(--brand); font-weight: 700; }

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 3rem;
  color: var(--muted);
  background: #fff;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer a { color: var(--brand); font-weight: 700; }

/* ========== MOTION ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ========== MODAL ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(30, 42, 36, 0.4);
  padding: 1rem;
}
.modal.open { display: grid; }
.modal-card {
  width: min(820px, 100%);
  max-height: 85vh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow-strong);
}
.modal-card h2 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: .2rem 0 0;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}
.testimonial-slide {
  background: var(--cream);
  color: #3b2a16;
  border-radius: 16px;
  padding: 1.4rem;
  margin-top: 1rem;
  border: 1px solid rgba(184,137,43,.2);
}
.testimonial-slide p { font-style: italic; line-height: 1.7; }
.testimonial-slide .by {
  margin-top: 1rem;
  color: var(--orange-deep);
  font-weight: 800;
  text-align: right;
}

@media (max-width: 1100px) {
  .nav-links { gap: .75rem; }
  .nav-links a { font-size: .84rem; }
  .brand-logo { height: 60px; max-width: 220px; }
}

@media (max-width: 960px) {
  .about-grid, .stats-grid, .why-grid, .highlights-grid, .focus-grid,
  .agenda-grid, .contact-grid, .form-grid, .speakers-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; order: 2; margin-left: auto; }
  .nav-menu {
    position: fixed;
    inset: 78px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow-strong);
    margin-left: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
  }
  .nav-links a { padding: .45rem .2rem; }
  .nav-cta { width: 100%; }
  .brand-logo { height: 50px; max-width: 180px; }
  .hero-media {
    background:
      linear-gradient(180deg, rgba(247, 242, 233, 0.94) 0%, rgba(247, 242, 233, 0.88) 50%, rgba(247, 242, 233, 0.72) 100%),
      url("../img/hero.jpg") center / cover no-repeat;
  }
  .hero-container { padding-bottom: 6.5rem; min-height: calc(100vh - 6.5rem); }
}
@media (max-width: 640px) {
  .stats-grid, .why-grid, .highlights-grid, .focus-grid,
  .agenda-grid, .speakers-grid {
    grid-template-columns: 1fr;
  }
  .brand-logo { height: 46px; max-width: 160px; }
  .partner-item { width: 46%; }
  .partner-logo-box {
    width: 100%;
    height: 92px;
  }
  .exhibitor-item { width: calc(50% - .6rem); }
  .nav-inner { min-height: 70px; }
  .hero-footer { padding: .95rem .75rem; }
  .hero-footer p { font-size: .82rem; letter-spacing: .04em; }
}
