:root {
  --blue: #1e50a0;
  --blue-light: #f5f9ff;
  --ink: #1a1a1a;
  --text-body: #2a2a2a;
  --text-muted: #7a7268;
  --border: #ddd;
  --border-soft: #e0dbd4;
  --bg: #fafafa;
  --field-bg: #fefefe;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 39px;
  padding: 10px 20px;
  font-size: 16px;
  letter-spacing: 0.16px;
  border-radius: 0;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #000;
  border: 1px solid #000;
}

/* ===================== HEADER ===================== */
.site-header {
  background: #fff;
  height: 79px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 20;
}

.header-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.icon-menu { width: 28px; height: 28px; display: block; }

.icon-menu-btn {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 600;
  font-size: 20px;
  color: #000;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(217,217,217,0) 50%, rgba(0,0,0,0) 52%, #000 103%);
}

.hero-content {
  position: absolute;
  left: 70px;
  bottom: 66px;
  color: #fff;
  max-width: 600px;
}

.hero-title {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 40px;
}

.hero-date {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
}

/* ===================== ABOUT ===================== */
.about {
  background: var(--bg);
  padding: 120px 70px;
}

.about-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 530px 1fr;
  gap: 40px;
  align-items: center;
}

.about-heading {
  display: flex;
  gap: 8px;
  margin: 0 0 32px;
  font-size: 68px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.about-heading .line { display: block; }
.line-dark { color: var(--ink); }
.line-blue { color: var(--blue); }

.about-paragraph {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 530px;
}

.about-media img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  object-fit: cover;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 750 / 421;
  border-radius: 2px;
  overflow: hidden;
  background: #000;
}

.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
}

.sound-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sound-toggle:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: scale(1.06);
}

.sound-toggle svg {
  display: none;
}

.sound-toggle svg.is-visible {
  display: block;
}

/* ===================== SPEAKERS ===================== */
.speakers {
  background: #fff;
  padding: 80px 70px 100px;
}

.speakers-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 40px;
  font-size: 24px;
  font-weight: 600;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 20px;
}

.speaker-card {
  text-align: center;
}

.speaker-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 16px;
  background: #fff;
}

.speaker-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.speaker-card .role {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--text-body);
}

.speaker-card .year {
  margin: 0;
  font-size: 14px;
  color: #707070;
}

.speaker-card .year span {
  font-weight: 500;
  color: #000;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--blue);
  color: #fff;
  padding: 56px 70px 36px;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.footer-brand {
  margin: 0 0 40px;
  font-size: 32px;
  font-weight: 600;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 400;
}

.footer-row {
  display: flex;
  gap: 16px;
}

.footer-icon {
  flex: none;
  width: 39px;
  height: 35px;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-icon img { width: 24px; height: 24px; }

.footer-strong {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
}

.footer-muted {
  margin: 0;
  font-size: 16px;
  color: #d0d0d0;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin: 0 0 20px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #ddd;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 18px;
  color: #ddd;
}

.footer-links .sep {
  width: 1px;
  height: 18px;
  background: #ddd;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icons img { width: 24px; height: 24px; }
.social-icons img[alt="Twitter"] { width: 20px; height: 20px; }

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}

.modal-overlay.is-open { display: flex; }

.modal {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 1200px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 6px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: none;
  width: 24px;
  height: 24px;
  padding: 0;
  z-index: 5;
}

.modal-close img { width: 24px; height: 24px; }

.modal-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  min-height: 100%;
}

/* ---- side panel ---- */
.modal-side {
  border-right: 1px solid var(--border-soft);
  padding: 53px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--blue);
}

.side-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-body);
}

.side-heading {
  margin: 40px 0 0;
  font-size: 52px;
  line-height: 1.26;
  font-weight: 700;
  color: var(--ink);
}

.side-heading .blue { color: var(--blue); }

.side-desc {
  margin: 32px 0 0;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--text-body);
}

.modal-side-bottom {
  padding-top: 24px;
}

.side-terms {
  margin: 0;
  font-size: 11px;
  line-height: 1.33;
  color: var(--text-body);
}

.side-terms a {
  color: #000;
  text-decoration: underline;
}

/* ---- form panel ---- */
.modal-form-panel {
  padding: 53px;
}

.register-as-label {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 500;
}

.tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.tab {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 17px 21px;
}

.tab-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-icon img { width: 18px; height: 18px; }
.tab-icon .icon-selected { display: none; }
.tab-icon .icon-unselected { display: block; }

.tab-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tab-text strong {
  font-size: 13px;
  font-weight: 600;
  color: #000;
}

.tab-text small {
  font-size: 11px;
  color: var(--text-body);
}

.tab.is-active {
  background: var(--blue-light);
  border-color: var(--blue);
}

.tab.is-active .tab-icon {
  background: var(--blue);
  border-color: var(--blue);
}

.tab.is-active .tab-icon .icon-selected { display: block; }
.tab.is-active .tab-icon .icon-unselected { display: none; }

.form-pane {
  animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.form-heading-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-heading-icon img { width: 14px; height: 14px; }

.form-heading h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.form-subtitle {
  margin: 0 0 24px 40px;
  font-size: 13px;
  color: var(--text-body);
}

.segmented {
  display: inline-flex;
  gap: 4px;
  background: var(--blue-light);
  border-radius: 4px;
  padding: 4px;
  margin-bottom: 24px;
}

.segment {
  border: none;
  background: transparent;
  padding: 9px 20px;
  font-size: 13px;
  color: var(--text-body);
  border-radius: 2px;
}

.segment.is-active {
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 600;
  color: #000;
}

.field-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.field-row .field { flex: 1; }

.phone-row { flex: 1; margin-bottom: 0; }

.field {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-body);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--field-bg);
  border-radius: 4px;
  padding: 13px 17px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-body);
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7a7268;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.phone-field-small {
  flex: none;
  width: 95px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: var(--field-bg);
  border-radius: 4px;
  padding: 13px;
  font-size: 15px;
  color: var(--text-body);
}

.phone-field-flag .flag { font-size: 16px; }

.submit-btn {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 16px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 12px;
}

.form-terms {
  margin: 16px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--text-body);
}

.form-terms a {
  color: #000;
  text-decoration: underline;
}

/* ===================== OFFCANVAS MENU ===================== */
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.55);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.offcanvas-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.offcanvas {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 340px;
  max-width: 85vw;
  background: #fff;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.offcanvas-overlay.is-open .offcanvas {
  transform: translateX(0);
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.offcanvas-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.offcanvas-close {
  background: transparent;
  border: none;
  padding: 4px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offcanvas-close:hover { color: #000; }

.offcanvas-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: none;
}

.offcanvas-actions .btn {
  width: 100%;
  height: auto;
  padding: 13px 20px;
}

.offcanvas-nav {
  list-style: none;
  margin: 0;
  padding: 8px 16px;
}
.offcanvas-nav strong{
   padding-top: 16px;
   display: block;
   border-top: 2px solid rgb(150, 150, 150);
   margin-bottom: 10px;
}
.offcanvas-nav .offcanvas-nav{
  padding: 0;
}
.offcanvas-link {
  display: block;
  padding: 16px 0;
  font-size: 17px;
  color: var(--ink);
  border-bottom: 1px solid #eee;
  transition: background 0.15s ease, color 0.15s ease;
}

.offcanvas-link:hover {
  /* background: var(--blue-light); */
  color: var(--blue);
}

.offcanvas-link-featured {
  font-weight: 600;
  color: var(--blue);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-columns { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-side { border-right: none; border-bottom: 1px solid var(--border-soft); }
}

@media (max-width: 720px) {
  .header-inner { padding: 0 20px; }
  .brand-name { font-size: 14px; }
  .header-actions { display: none; }
  .btn { padding: 8px 12px; font-size: 13px; height: 34px; }
  .hero-content { left: 20px; }
  .hero-title { font-size: 28px; }
  .hero-date { font-size: 16px; }
  .about { padding: 60px 20px; }
  .about-heading { font-size: 40px; }
  .speakers { padding: 50px 20px; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .site-footer { padding: 40px 20px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .modal-side, .modal-form-panel { padding: 28px; }
  .side-heading { font-size: 36px; }
  .tabs { flex-direction: column; }
  .field-row { flex-direction: column; }
  .form-subtitle { margin-left: 0; }
  .offcanvas-actions { display: block;}
}
@media (max-width: 540px) {
  .speakers-grid { grid-template-columns: repeat(1, 1fr); gap: 24px 14px; }

}
