﻿:root {
  --brand-teal: #00b4b6;
  --brand-teal-dark: #008a8c;
  --brand-teal-light: #f0fafa;
  --brand-slate: #1e293b;
  --brand-slate-dark: #0f172a;
  --brand-orange: #ff6347;
  --brand-orange-vibrant: #ffa500;

  --primary-green: var(--brand-teal);
  --deep-green: var(--brand-slate-dark);
  --soft-red: var(--brand-orange);
  --cream: #f8fafc;
  --dark: var(--brand-slate-dark);
  --muted: #475569;
  --white: #ffffff;
  --radius: 18px;
  --container: 1120px;
  --easing: cubic-bezier(.2,.9,.3,1);
}
* {
  box-sizing: border-box;
}
html, body {
  /* Hide scrollbar for Safari and Chrome */
  -webkit-overflow-scrolling: touch;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

html, body {
  /* Hide scrollbar for Firefox and IE/Edge */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
}
.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(30, 41, 59, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 16px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}
.logo {
  width: clamp(38px, 4vw, 48px);
  height: auto;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem;
  transition: transform 0.25s ease;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger::before {
  transform: translateY(-7px);
}
.hamburger::after {
  transform: translateY(7px);
}
.nav-toggle.active .hamburger {
  background: transparent;
}
.nav-toggle.active .hamburger::before {
  transform: translateY(0) rotate(45deg);
}
.nav-toggle.active .hamburger::after {
  transform: translateY(0) rotate(-45deg);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list li {
  white-space: nowrap;
}
.nav-list a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.95rem, 0.95vw, 1rem);
  padding: 12px 10px;
  border-radius: 12px;
}
.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--brand-teal-light);
  color: var(--brand-teal-dark);
  outline: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s var(--easing), background-color 0.25s ease, color 0.25s ease;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}
.btn-cta {
  background: var(--primary-green);
  color: var(--white);
}
.btn-cta:hover {
  background: var(--brand-teal-dark);
  box-shadow: 0 10px 20px rgba(0, 180, 182, 0.2);
}
.btn-outline {
  border: 2px solid var(--brand-teal);
  color: var(--brand-teal);
  background: transparent;
}
.btn-outline:hover {
  background: var(--brand-teal);
  color: var(--white);
}
.btn.large {
  padding: 14px 24px;
}
.btn.xlarge {
  padding: 16px 28px;
  font-size: 1rem;
}
.hero {
  position: relative;
  min-height: min(100vh, 860px);
  display: flex;
  align-items: center;
  padding: 84px 0 60px;
  background: linear-gradient(135deg, var(--brand-teal-light) 0%, var(--white) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 180, 182, 0.1), transparent 30%),
              radial-gradient(circle at bottom left, rgba(255, 99, 71, 0.05), transparent 25%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 320px;
  gap: clamp(1.5rem, 2.5vw, 3rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
  font-weight: 700;
}
h1 {
  margin: 0;
  font-size: clamp(3rem, 4.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--brand-slate-dark);
}
.tagline {
  margin: 1rem 0 0.75rem;
  font-size: 1.15rem;
  color: var(--brand-orange);
  letter-spacing: 0.12em;
  font-weight: 700;
}
.support {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1rem;
}
.meta {
  margin: 1.5rem 0;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  color: var(--brand-slate);
}
.meta li {
  font-size: 0.98rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-aside {
  padding: 2rem;
  border-radius: 28px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 30px 80px rgba(30, 41, 59, 0.1);
  border: 1px solid rgba(0, 180, 182, 0.1);
}
.countdown h3 {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(0.9rem, 1.5vw, 1.5rem);
}
.count-item {
  background: var(--white);
  border-radius: 18px;
  padding: 1.25rem 1rem;
  text-align: center;
  min-height: 100px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(0, 180, 182, 0.1);
}
.count-item .num {
  display: block;
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--brand-teal);
}
.count-item .label {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.section {
  padding-block: clamp(4rem, 6vw, 7rem);
}
#faq {
  margin-block: 1rem;
}
@media (max-width: 900px) {
  /* Smaller screens: reduce FAQ vertical spacing */
  #faq {
    margin-block: 0.75rem;
  }
}

/* Larger screens (approx. 150% of 1120px = 1680px) */
@media (min-width: 1680px) {
  #faq {
    margin-block: 4rem;
  }
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
}
.about-text p {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.highlight {
  margin: 1rem 0 0;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-teal);
}
.about-visual .card {
  overflow: hidden;
  min-height: 320px;
  padding: 0;
  border: none;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why {
  background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-slate) 100%);
  color: var(--white);
}
.why h2 {
  color: var(--white);
}
.why .section-sub {
  color: rgba(255, 255, 255, 0.9);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 22px;
  margin-top: 1.5rem;
}
.card {
  padding: 1.65rem;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(15,23,42,0.06);
  transition: transform 0.25s var(--easing), box-shadow 0.25s var(--easing);
  color: var(--dark);
}
.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--brand-teal-dark);
}
.card p {
  margin: 0;
  color: var(--muted);
}

.speakers {
  background: var(--brand-teal-light);
}
.speakers-grid.speakers-carousel {
  display: block;
  overflow: hidden;
  margin-top: 1.5rem;
}
.speakers-track {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  width: max-content;
  animation: scroll 40s linear infinite;
  will-change: transform;
}
.speakers-grid.speakers-carousel:hover .speakers-track {
  animation-play-state: paused;
}
.speakers-track .speaker-card {
  flex: 0 0 min(320px, 90vw);
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.speaker-card {
  background: var(--white);
  border-radius: 24px;
  padding: 1.75rem;
  text-align: center;
  border: 1px solid rgba(0, 180, 182, 0.1);
  transition: transform 0.25s var(--easing), box-shadow 0.25s var(--easing);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.speaker-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(30, 41, 59, 0.15);
}
.speaker-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 180, 182, 0.1), rgba(255, 99, 71, 0.1));
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  border: 3px solid var(--brand-teal-light);
}

.speaker-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.speaker-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--brand-slate-dark);
}
.speaker-role {
  margin: 0 0 0.75rem;
  color: var(--brand-teal);
  font-weight: 700;
  font-size: 0.95rem;
}
.speaker-bio {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.lift:hover,
.lift:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(30, 41, 59, 0.15);
}
.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 2.5vw, 2.65rem);
  color: var(--brand-slate-dark);
}
.section-sub {
  margin: 0 auto 1.75rem;
  color: var(--muted);
  max-width: 34rem;
  text-align: center;
}
.timeline {
  position: relative;
  margin-top: 2rem;
  padding-left: 1.1rem;
  border-left: 3px solid rgba(0, 180, 182, 0.18);
}
.timeline-item {
  position: relative;
  padding: 1rem 0 1rem 2rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 1.25rem;
  width: 16px;
  height: 16px;
  background: var(--brand-teal);
  border-radius: 50%;
}
.timeline-item time {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-weight: 700;
}
.timeline-item h4 {
  margin: 0;
}
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: stretch;
}
.venue-details,
.venue-map {
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(30, 41, 59, 0.08);
  box-shadow: 0 24px 70px rgba(30, 41, 59, 0.06);
}
.venue-details {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.venue-details h3 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  color: var(--brand-slate-dark);
}
.venue-details address {
  font-style: normal;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 1.2rem;
}
.venue-copy {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 36rem;
}
.venue-map {
  overflow: hidden;
}
.venue-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}
.venue-details .btn-cta:hover,
.venue-details .btn-cta:focus-visible {
  background: var(--brand-teal-dark);
}
.cta {
  text-align: center;
  border-radius: 28px;
  padding: 3rem 2rem;
  background: var(--brand-teal-light);
  border: 1px solid rgba(0, 180, 182, 0.1);
}
.cta h2 {
    color: var(--brand-slate-dark);
}
.accordion {
  margin-top: 1.5rem;
}
.accordion-item {
  border: 1px solid rgba(30, 41, 59, 0.08);
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 1rem;
  padding: 0 1.5rem;
  transition: border-color 0.25s ease;
}
.accordion-item:hover {
    border-color: var(--brand-teal);
}
.accordion-button {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-slate-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-button::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--brand-teal);
    transition: transform 0.25s ease;
}
.accordion-button[aria-expanded="true"]::after {
    content: "−";
}
.accordion-button:focus-visible {
  outline: 2px solid var(--brand-teal);
  outline-offset: -2px;
  border-radius: 8px;
}
.accordion-panel {
  display: none;
  padding: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.8;
}
.site-footer {
  background: var(--brand-slate-dark);
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0 3rem 0;
}
.footer-grid > div {
  margin-top: 0;
}
.footer-grid h4 {
  margin: 0 0 1.25rem;
  color: var(--brand-teal);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.85rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--brand-orange);
  padding-left: 5px;
}
.footer-bar {
  text-align: center;
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}
.footer-grid p {
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 1060px) {
  .nav {
    gap: 0.75rem;
    padding: 14px 0;
  }
  .nav-list {
    gap: 0.75rem;
  }
  .nav-list a {
    padding: 10px 8px;
  }
  .btn.large {
    padding: 12px 20px;
  }
  .btn.xlarge {
    padding: 14px 22px;
    font-size: 0.95rem;
  }
  .hero-inner,
  .about-grid,
  .venue-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .speakers-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 768px) {
  .nav-list:not(.show) .nav-item.nav-hide-768 {
    display: none;
  }
  .nav-list a {
    padding: 11px 9px;
  }
  .hero-inner,
  .about-grid,
  .venue-grid {
    grid-template-columns: 1fr;
  }
  .speakers-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .nav-list:not(.show) .nav-item.nav-hide-640 {
    display: none;
  }
}
@media (max-width: 1024px) {
  .nav-list:not(.show) .nav-item.nav-hide-768,
  .nav-list:not(.show) .nav-item.nav-hide-640 {
    display: none;
  }
}
@media (max-width: 720px) {
  .container {
    padding: 0 18px;
  }
  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-list {
    position: fixed;
    top: 76px;
    right: 18px;
    left: 18px;
    background: rgba(255,255,255,0.97);
    flex-direction: column;
    gap: 0.9rem;
    padding: 1rem 1.15rem;
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(15,23,42,0.14);
    display: none;
  }
  .nav-list.show {
    display: flex;
  }
  .nav-list li {
    width: 100%;
  }
  .nav-list a {
    width: 100%;
    padding: 14px 12px;
    border-radius: 16px;
  }
  .hero {
    padding-top: 100px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-aside {
    margin-top: 2rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .countdown-grid {
    grid-template-columns: 1fr;
  }
  .timeline {
    padding-left: 0;
    border-left: none;
  }
  .timeline-item {
    padding-left: 0;
    padding-top: 1.25rem;
  }
  .timeline-item::before {
    left: 0;
  }
  .accordion-panel {
    padding-left: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.reveal {
  opacity: 1;
  transform: none;
}
.hero-copy,
.about-text,
.section h2,
.card,
.speaker-card,
.timeline-item,
.venue-card,
.accordion-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-copy.reveal,
.about-text.reveal,
.section h2.reveal,
.card.reveal,
.speaker-card.reveal,
.timeline-item.reveal,
.venue-card.reveal,
.accordion-item.reveal {
  opacity: 1;
  transform: none;
}

/* 150% Zoom Adjustments */
@media (max-width: 960px) {
  .nav-list a {
    padding: 9px 7px;
    font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  }
  .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  .btn.large {
    padding: 11px 18px;
  }
  .btn.xlarge {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  .brand {
    gap: 0.6rem;
  }
  .logo {
    width: clamp(32px, 3vw, 40px);
  }
  .visually-hidden {
    font-size: 0.9rem;
  }
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary-green);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem 0;
  margin-top: auto;
  text-decoration: underline;
  transition: color 0.2s ease;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.btn-link:hover {
  color: var(--soft-red);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  border-radius: 28px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.modal-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark);
  transition: background 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modal-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 4px solid var(--cream);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.modal-name {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: var(--dark);
}

.modal-role {
  color: var(--primary-green);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.modal-bio {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
  text-align: left;
}

/* Hide body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Extra spacing for register CTA on very large screens (~150%) */
@media (min-width: 1680px) {
  #register {
    margin-block: 4rem;
  }
}
