@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@200;300;400;500;600;700&family=Oooh+Baby&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #DDD6CE;
  --secondary: #B0A99F;
  --dark: #333333;
  --dark1: #1A1A1A;
  --brown1: #775740;
  --brown2: #903434;
  --red4: #FF5001;
  --red-mit: #8C2230;
  --gray1: #F4F4F4;
  --gray4: #F8F3F1;
  --neutral4: #F4F2F0;
  --neutral9: #666666;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 300;
  color: #333333;
  font-size: 16px;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4.375rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 70px;
  height: 100%;
}
.site-header .logo img { height: 51px; width: auto; object-fit: contain; }
.site-header .nav { display: flex; align-items: center; }
.site-header .nav-item {
  display: flex;
  align-items: center;
  margin-right: 40px;
}
.site-header .nav-link {
  font-size: 1rem;
  text-transform: uppercase;
  color: #000;
  position: relative;
  padding-bottom: 4px;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.site-header .nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: #000;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.4s ease-out;
}
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.site-header .new-badge {
  font-size: 0.75rem;
  margin-left: 4px;
  padding-left: 4px;
  animation: blink 700ms infinite;
}
@keyframes blink {
  0%, 100% { color: #EB1F4A; }
  50% { color: #000; }
}
.site-header .menu-icon { cursor: pointer; }
.site-header .menu-icon svg { width: 25px; height: 25px; }

@media (max-width: 1023px) {
  .site-header .header-inner { padding: 0 24px; }
  .site-header .nav { display: none; }
}

/* ============ HERO BANNER ============ */
.hero {
  padding-top: 4.375rem;
  background: var(--neutral4);
}
.hero .banner-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  background: var(--neutral4);
  padding: 32px 24px 0;
}
.hero .banner-wrap img {
  width: 100%;
  max-width: 1280px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.hero .hero-meta {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  text-align: center;
}
.hero .tagline-script {
  font-family: 'Oooh Baby', cursive;
  font-size: 2.5rem;
  color: var(--brown1);
  margin-bottom: 8px;
}
.hero .hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--dark1);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero .hero-sub {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brown2);
  margin-bottom: 24px;
}
.hero .hero-meta-row {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 8px;
  font-weight: 400;
}
.hero .hero-meta-row .dot { color: var(--brown1); }
.hero .hero-tag {
  font-size: 0.95rem;
  color: var(--neutral9);
  font-style: italic;
  margin-bottom: 32px;
}
.btn-apply {
  display: inline-block;
  padding: 16px 44px;
  background: var(--brown2);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 6px 20px rgba(144, 52, 52, 0.25);
}
.btn-apply:hover {
  background: #7a2828;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(144, 52, 52, 0.35);
}
.btn-apply.outline {
  background: transparent;
  color: var(--brown2);
  border: 1.5px solid var(--brown2);
  box-shadow: none;
}
.btn-apply.outline:hover {
  background: var(--brown2);
  color: #fff;
}

@media (max-width: 768px) {
  .hero .hero-title { font-size: 2rem; }
  .hero .tagline-script { font-size: 2rem; }
  .hero .hero-sub { font-size: 1.05rem; }
  .hero .hero-meta { padding: 40px 20px 48px; }
}

/* ============ SECTIONS ============ */
.section {
  padding: 96px 24px;
}
.section.alt { background: var(--gray4); }
.section.dark-bg { background: var(--dark1); color: #fff; }
.section .container {
  max-width: 1100px;
  margin: 0 auto;
}
.section .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brown2);
  font-weight: 600;
  margin-bottom: 16px;
}
.section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark1);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.section.dark-bg h2 { color: #fff; }
.section .lead {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dark);
  max-width: 820px;
}
.section.dark-bg .lead { color: #d8d8d8; }

@media (max-width: 768px) {
  .section { padding: 64px 20px; }
  .section h2 { font-size: 1.75rem; }
}

/* ============ AUDIENCE GRID ============ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.audience-card {
  background: #fff;
  border: 1px solid #ECE5DD;
  padding: 32px 24px;
  border-radius: 4px;
  transition: all 0.3s;
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border-color: var(--brown2);
}
.audience-card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.audience-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark1);
}
.audience-card p {
  font-size: 0.95rem;
  color: var(--neutral9);
  line-height: 1.6;
  font-weight: 300;
}
@media (max-width: 1023px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .audience-grid { grid-template-columns: 1fr; } }

/* ============ PROGRAM ============ */
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.program-card {
  background: #fff;
  padding: 40px 36px;
  border-left: 3px solid var(--brown2);
  border-radius: 2px;
}
.program-card .day {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brown2);
  font-weight: 600;
  margin-bottom: 12px;
}
.program-card .date {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark1);
  margin-bottom: 16px;
}
.program-card .desc {
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.6;
  font-weight: 300;
}
.program-card .desc em {
  display: block;
  margin-top: 12px;
  color: var(--neutral9);
  font-size: 0.9rem;
}
.program-note {
  margin-top: 32px;
  text-align: center;
  font-style: italic;
  color: var(--neutral9);
  font-size: 0.95rem;
}
@media (max-width: 768px) { .program-grid { grid-template-columns: 1fr; } }

/* ============ SPEAKERS ============ */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.speaker-card {
  background: #fff;
  padding: 32px;
  border: 1px solid #ECE5DD;
  border-radius: 4px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s;
}
.speaker-card:hover {
  border-color: var(--brown2);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.speaker-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--brown2);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.speaker-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark1);
  margin-bottom: 4px;
}
.speaker-role {
  font-size: 0.9rem;
  color: var(--brown2);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 10px;
}
.speaker-bio {
  font-size: 0.9rem;
  color: var(--neutral9);
  line-height: 1.55;
  font-weight: 300;
}
.speakers-update {
  margin-top: 24px;
  text-align: center;
  font-style: italic;
  color: var(--neutral9);
  font-size: 0.95rem;
}
@media (max-width: 768px) { .speakers-grid { grid-template-columns: 1fr; } }

/* ============ SPEAKER PANELS ============ */
.speakers-note { font-style: italic; color: var(--neutral9); font-size: 0.95rem; margin-top: 8px; }
.speaker-panel { margin-top: 48px; }
.speaker-panel-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brown2);
  border-top: 2px solid var(--brown2);
  padding-top: 14px;
  margin-bottom: 0;
}
.speaker-panel .speakers-grid { margin-top: 20px; }
.speaker-card { cursor: pointer; }
.speaker-read-more {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--brown2);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============ SPEAKER MODAL ============ */
.speaker-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.speaker-modal-overlay.open { opacity: 1; visibility: visible; }
.speaker-modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s;
}
.speaker-modal-overlay.open .speaker-modal-content { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--neutral9);
  line-height: 1;
}
.modal-close:hover { color: var(--dark1); }
.modal-profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark1);
  margin-bottom: 4px;
}
.modal-profile-role {
  font-size: 0.92rem;
  color: var(--brown2);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E0DAD0;
}
.modal-profile-body p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--dark);
  font-weight: 300;
  margin-bottom: 14px;
}
.modal-profile-highlights {
  background: var(--gray4);
  padding: 18px 22px;
  border-radius: 4px;
  margin-top: 20px;
}
.modal-profile-highlights ul { list-style: none; padding: 0; margin: 0; }
.modal-profile-highlights li {
  font-size: 0.88rem;
  color: var(--neutral9);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
}
.modal-profile-highlights li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--brown2);
  font-size: 1.2rem;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .speaker-modal-content { padding: 32px 20px; }
  .modal-profile-name { font-size: 1.2rem; }
}

/* ============ WHY ATTEND ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.why-card {
  padding: 36px 28px;
  border-top: 2px solid var(--brown2);
  background: rgba(255,255,255,0.04);
}
.section.dark-bg .why-card { background: rgba(255,255,255,0.04); }
.why-card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.why-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
}
.why-card p {
  font-size: 0.95rem;
  color: #c8c8c8;
  line-height: 1.65;
  font-weight: 300;
}
@media (max-width: 1023px) { .why-grid { grid-template-columns: 1fr; } }

/* ============ ORGANIZERS ============ */
.org-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}
.org-card {
  background: #fff;
  padding: 40px;
  border: 1px solid #ECE5DD;
  border-radius: 4px;
}
.org-logo {
  height: 80px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.org-logo img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}
.org-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark1);
}
.org-card p {
  font-size: 0.95rem;
  color: var(--neutral9);
  line-height: 1.7;
  font-weight: 300;
}
@media (max-width: 768px) { .org-grid { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq-list {
  margin-top: 48px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  border-bottom: 1px solid #E0DAD0;
}
.faq-item summary {
  padding: 24px 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--dark1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--brown2);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 0 24px;
  color: var(--neutral9);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ============ CLOSING CTA ============ */
.closing {
  background: var(--brown2);
  color: #fff;
  padding: 96px 24px;
  text-align: center;
}
.closing .container {
  max-width: 760px;
  margin: 0 auto;
}
.closing p {
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 300;
  margin-bottom: 32px;
  color: #fff;
}
.closing .btn-apply {
  background: #fff;
  color: var(--brown2);
}
.closing .btn-apply:hover {
  background: #f5f5f5;
}
.closing .small {
  margin-top: 16px;
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 768px) {
  .closing { padding: 64px 20px; }
  .closing p { font-size: 1.1rem; }
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--gray1);
  padding: 64px 70px;
}
.site-footer .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
}
.site-footer .footer-logo img { height: 32px; }
.site-footer .socials {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-footer .socials img { width: 22px; height: 22px; }
.site-footer .footer-meta {
  text-align: center;
  margin-top: 32px;
  color: var(--neutral9);
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .site-footer { padding: 40px 24px; }
  .site-footer .footer-inner { flex-direction: column; gap: 24px; }
}

/* ============ LANG SWITCH ============ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 24px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  background: #fff;
  border: 1px solid #E0DAD0;
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch a {
  padding: 6px 14px;
  color: #888;
}
.lang-switch a.active {
  background: var(--brown2);
  color: #fff;
}

/* a small utility */
.text-center { text-align: center; }
