/* ── THEME VARIABLES ── */
:root {
  --red: #EB0028;
  --red-dark: #C4001F;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

/* LIGHT MODE (default) */
[data-theme="light"], :root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F7F5;
  --bg-card: #F0EFEB;
  --text-primary: #0A0A0A;
  --text-secondary: #3A3A3A;
  --text-muted: #666666;
  --border: rgba(0,0,0,0.08);
  --nav-bg: rgba(255,255,255,0.92);
  --speaker-photo-bg: rgba(139,0,0,0.12);
}

/* DARK MODE */
[data-theme="dark"] {
  --bg-primary: #0A0A0A;
  --bg-secondary: #141414;
  --bg-card: #1E1E1E;
  --text-primary: #F5F5F0;
  --text-secondary: #BBB;
  --text-muted: #888;
  --border: rgba(255,255,255,0.06);
  --nav-bg: rgba(10,10,10,0.85);
  --speaker-photo-bg: rgba(139,0,0,0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

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

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease, background 0.3s ease;
}
nav.scrolled { padding: 0.8rem 3rem; }

.nav-logo { display: flex; align-items: center; cursor: pointer; }
.nav-logo img { height: 32px; width: auto; }
.nav-logo .logo-black { display: block; }
.nav-logo .logo-white { display: none; }
[data-theme="dark"] .nav-logo .logo-black { display: none; }
[data-theme="dark"] .nav-logo .logo-white { display: block; }

.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative; cursor: pointer;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--red);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text-primary); }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 0.3rem; }
.dropdown-caret { font-size: 0.55rem; transition: transform 0.25s ease; }
.nav-dropdown-toggle.open .dropdown-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 1.2rem); left: 50%; transform: translateX(-50%);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  padding: 0.5rem;
  min-width: 280px;
  z-index: 200;
}
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-item {
  display: block; padding: 0.9rem 1.1rem; border-radius: 7px;
  text-transform: none; letter-spacing: 0;
  transition: background 0.2s ease;
}
.nav-dropdown-item::after { display: none; }
.nav-dropdown-item:hover { background: var(--bg-secondary); }
.dropdown-item-title { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.2rem; }
.dropdown-item-desc { font-size: 0.78rem; font-weight: 400; color: var(--text-muted); text-transform: none; letter-spacing: 0; line-height: 1.4; }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--red) !important; color: #fff !important;
  padding: 0.55rem 1.4rem; border-radius: 4px;
  font-weight: 600 !important; letter-spacing: 0.02em !important;
  transition: background 0.25s ease, transform 0.2s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }

/* ── THEME TOGGLE ── */
.theme-toggle {
  background: none; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 0.4rem 0.6rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: color 0.25s, border-color 0.25s, background 0.25s;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--text-primary); border-color: var(--red); background: rgba(235,0,40,0.06); }
.theme-toggle svg { width: 16px; height: 16px; display: block; }
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 200; }
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); transition: all 0.3s ease; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 2.5rem 3rem 2.5rem;
  position: relative; overflow: hidden;
}
.hero-split {
  flex-direction: row;
  align-items: center;
  gap: 4rem;
}
.hero-content {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  z-index: 1;
}
.hero-image {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.hero-image img {
  width: 100%; max-width: 620px;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
  object-fit: cover;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(235,0,40,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(235,0,40,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-tag::before { content: ''; width: 32px; height: 2px; background: var(--red); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.03em;
  max-width: 900px;
  opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards;
  color: var(--text-primary);
}
.hero h1 em { font-style: italic; color: var(--red); }

.hero-sub {
  font-size: 1.15rem; font-weight: 300;
  color: var(--text-secondary); max-width: 520px;
  line-height: 1.7; margin-top: 2rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-actions {
  display: flex; gap: 1rem; margin-top: 2.5rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.9s forwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.02em; border-radius: 4px;
  transition: all 0.25s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(235,0,40,0.25); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--text-primary); transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.8rem; }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 3rem;
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0; animation: fadeUp 0.8s ease 1.2s forwards;
}
.scroll-line { width: 1px; height: 40px; background: var(--text-muted); animation: pulse 2s ease infinite; }

/* ── SECTIONS ── */
section { padding: 7rem 3rem; }

.section-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.5rem;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--red); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 400; line-height: 1.15;
  letter-spacing: -0.02em; max-width: 700px;
  color: var(--text-primary);
}

/* ── PAGE HERO (generic inner pages) ── */
.page-hero {
  padding: 10rem 3rem 5rem;
  background: var(--bg-primary);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(235,0,40,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-label { opacity: 0; animation: fadeUp 0.8s ease 0.3s forwards; }
.page-hero .section-title { opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards; }
.page-hero p {
  font-size: 1.1rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.7; max-width: 560px; margin-top: 1rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.7s forwards;
}

/* ── ABOUT ── */
.about { background: var(--bg-secondary); border-top: 1px solid var(--border); padding-top: 2.5rem; padding-bottom: 4rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 3rem; align-items: center; }
.about-text p { font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.5rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-content: start; margin-top: 0.5rem; }
.stat { padding: 1.8rem; background: var(--bg-card); border-radius: 6px; border: 1px solid var(--border); transition: border-color 0.3s ease, transform 0.3s ease; }
.stat:hover { border-color: rgba(235,0,40,0.3); transform: translateY(-3px); }
.stat-number { font-family: var(--font-display); font-size: 2.8rem; color: var(--red); line-height: 1; }
.stat-label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.5rem; }

/* ── TEDx INFO ── */
.tedx-info { background: var(--bg-primary); border-top: 1px solid var(--border); padding-top: 4rem; padding-bottom: 4rem; }
.tedx-info .content { max-width: 720px; }
.tedx-info .content p { font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); line-height: 1.8; margin-top: 1.5rem; }
.tedx-info .content blockquote { font-family: var(--font-display); font-size: 1.8rem; font-style: italic; color: var(--text-primary); border-left: 3px solid var(--red); padding-left: 1.5rem; margin: 2.5rem 0; line-height: 1.4; }

/* ── FLAGSHIP CARD (homepage) ── */
.flagship { background: var(--bg-secondary); border-top: 1px solid var(--border); padding-top: 4rem; padding-bottom: 2rem; }
.flagship-card { margin-top: 3rem; background: var(--bg-card); border-radius: 16px; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.08); }
.flagship-header { position: relative; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; }
.flagship-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: brightness(0.45); display: block; }
.flagship-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); z-index: 1; }
.flagship-header-text { position: relative; z-index: 2; padding: 3rem; width: 100%; }
.flagship-photos { display: flex; gap: 0.75rem; overflow-x: auto; padding: 1.25rem 2rem; background: var(--bg-card); border-bottom: 1px solid var(--border); scrollbar-width: none; }
.flagship-photos::-webkit-scrollbar { display: none; }
.flagship-photos img { height: 110px; width: auto; border-radius: 8px; object-fit: cover; flex-shrink: 0; transition: transform 0.2s ease, opacity 0.2s ease; opacity: 0.9; }
.flagship-photos img:hover { transform: scale(1.05); opacity: 1; }
.flagship-eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 1.5rem; }
.flagship-theme { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; margin-bottom: 1.5rem; color: #fff; }
.flagship-theme span { color: var(--red); }
.flagship-desc { font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 600px; }
.flagship-details { padding: 1.75rem 3rem; display: flex; flex-wrap: wrap; gap: 0; background: var(--bg-card); justify-content: center; }
.flagship-detail { display: flex; align-items: center; gap: 0.75rem; flex: 0 0 auto; padding: 0.5rem 3rem; border-right: 1px solid var(--border); }
.flagship-detail:last-child { border-right: none; }
.flagship-detail .icon { font-size: 1.5rem; flex-shrink: 0; }
.flagship-detail .label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 0.15rem; }
.flagship-detail .value { font-size: 0.95rem; font-weight: 500; color: var(--text-primary); }
.flagship-cta { padding: 1.5rem 3rem 2rem; border-top: 1px solid var(--border); background: var(--bg-card); }

/* ── SPEAKERS (homepage) ── */
.speakers { background: var(--bg-primary); border-top: 1px solid var(--border); }
.speakers-intro { font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); line-height: 1.7; max-width: 600px; margin-top: 1rem; }
.speaker-type-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-top: 3rem; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(235,0,40,0.2); }
.speakers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.speaker-card { background: var(--bg-card); border-radius: 8px; border: 1px solid var(--border); padding: 2rem; transition: border-color 0.3s ease, transform 0.3s ease; display: flex; flex-direction: column; }
.speaker-card:hover { border-color: rgba(235,0,40,0.4); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(235,0,40,0.08); }

/* Speaker photo containers */
.speaker-photo-wrap {
  width: 180px; height: 180px; border-radius: 50%; overflow: hidden;
  background: var(--speaker-photo-bg);
  border: 3px solid var(--border);
  margin: 0 auto 1.2rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.speaker-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
[data-theme="light"] .speaker-photo-wrap { border-color: rgba(0,0,0,0.15); }

.speaker-name { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; margin-bottom: 0.3rem; color: var(--text-primary); }
.speaker-role { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--red); margin-bottom: 0.8rem; }
.speaker-bio { font-size: 0.88rem; font-weight: 300; color: var(--text-muted); line-height: 1.65; flex-grow: 1; }

/* ── JOIN ── */
.join { background: var(--bg-secondary); border-top: 1px solid var(--border); }
.join-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.role-card { padding: 2rem; background: var(--bg-card); border-radius: 8px; border: 1px solid var(--border); transition: border-color 0.3s ease, transform 0.3s ease; }
.role-card:hover { border-color: rgba(235,0,40,0.3); transform: translateY(-3px); }
.role-icon { width: 42px; height: 42px; border-radius: 8px; background: rgba(235,0,40,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1.2rem; }
.role-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.6rem; color: var(--text-primary); }
.role-card p { font-size: 0.88rem; font-weight: 300; color: var(--text-muted); line-height: 1.6; }
.open-positions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.open-position-card { background: var(--bg-primary); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem 1.5rem; transition: border-color 0.2s; }
.open-position-card:hover { border-color: rgba(235,0,40,0.3); }
.open-position-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.55rem; }
.open-position-tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.open-badge { font-size: 0.68rem; font-weight: 600; color: #16a34a; background: rgba(22,163,74,0.1); padding: 0.18rem 0.55rem; border-radius: 999px; letter-spacing: 0.04em; flex-shrink: 0; }
[data-theme="dark"] .open-badge { color: #4ade80; background: rgba(74,222,128,0.12); }
.open-position-title { font-size: 0.95rem; font-weight: 500; color: var(--text-primary); }

/* ── NEWS ── */
.news { background: var(--bg-primary); border-top: 1px solid var(--border); padding-top: 3rem; padding-bottom: 4rem; }
.news-card-placeholder {
  margin-top: 2.5rem;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border);
  max-width: 680px;
  display: flex; align-items: flex-start; gap: 1.2rem;
}
.news-card-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.news-card-placeholder p { font-size: 1rem; font-weight: 400; color: var(--text-secondary); line-height: 1.7; }

/* ── SPONSORS ── */
.sponsors { background: var(--bg-secondary); border-top: 1px solid var(--border); text-align: center; }
.sponsors .cta-text { margin-top: 1.5rem; font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); line-height: 1.7; max-width: 520px; margin-left: auto; margin-right: auto; }
.sponsors .sponsor-message { margin-top: 2rem; font-size: 1rem; color: var(--text-muted); }

/* ── CONTACT CTA ── */
.contact-cta { background: var(--bg-secondary); border-top: 1px solid var(--border); text-align: center; padding: 8rem 3rem; }
.contact-cta .section-title { margin: 0 auto; }
.contact-cta p { font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); line-height: 1.7; max-width: 500px; margin: 1.5rem auto 2.5rem; }

/* ══════════════════════════════════════════════════ */
/* FLAGSHIP PAGE STYLES                              */
/* ══════════════════════════════════════════════════ */

.sub-nav {
  padding: 0 3rem; display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
  position: sticky; top: 60px; z-index: 50;
}
.sub-nav a {
  padding: 1rem 1.5rem; font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-muted); border-bottom: 2px solid transparent;
  transition: all 0.25s ease; cursor: pointer;
}
.sub-nav a:hover { color: var(--text-primary); }
.sub-nav a.active { color: var(--text-primary); border-bottom-color: var(--red); }

/* ── FLAGSHIP HERO ── */
.flag-hero {
  padding: 3rem 3rem 5rem; position: relative; overflow: hidden;
  background: var(--bg-primary);
}
.flag-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(235,0,40,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 70%, rgba(235,0,40,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.flag-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.flag-hero-content { }
.flag-hero-img { border-radius: 16px; overflow: hidden; }
.flag-hero-img img { width: 100%; height: 480px; object-fit: cover; display: block; border-radius: 16px; }
.flag-hero-accent { width: 48px; height: 3px; background: var(--red); margin-bottom: 2rem; border-radius: 2px; }

.flag-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.7s ease 0.2s forwards;
}
.flag-badge::before { content: ''; width: 24px; height: 2px; background: var(--red); }

.flag-hero h1 {
  font-family: var(--font-display); font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.03em; max-width: 800px;
  color: var(--text-primary);
  opacity: 0; animation: fadeUp 0.7s ease 0.35s forwards;
}
.flag-hero h1 em { font-style: italic; color: var(--red); }

.flag-hero-subtitle {
  font-size: 1.05rem; font-weight: 400; color: var(--text-muted);
  letter-spacing: 0.02em; margin-top: 1rem;
  opacity: 0; animation: fadeUp 0.7s ease 0.45s forwards;
}

/* Event detail pills */
.flag-pills {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem;
  opacity: 0; animation: fadeUp 0.7s ease 0.55s forwards;
}
.flag-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.875rem; font-weight: 400;
  color: var(--text-secondary);
}
.flag-pill .pill-emoji { font-size: 0.95rem; }

.flag-desc {
  font-size: 1.1rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.75; max-width: 620px; margin-top: 2rem;
  opacity: 0; animation: fadeUp 0.7s ease 0.65s forwards;
}

.event-concluded {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem;
  padding: 0.5rem 1rem; background: rgba(235,0,40,0.06);
  border: 1px solid rgba(235,0,40,0.2); border-radius: 6px;
  font-size: 0.82rem; font-weight: 500; color: var(--red);
  opacity: 0; animation: fadeUp 0.7s ease 0.8s forwards;
}

.details-strip { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 5rem 3rem; }
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.detail-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.3rem; }
.detail-value { font-size: 1.05rem; font-weight: 400; color: var(--text-primary); }

/* ── THEME SECTION ── */
.theme-section { background: var(--bg-secondary); padding-bottom: 4rem; }
.theme-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.theme-section .content { max-width: 100%; }
.theme-section .content p { font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); line-height: 1.8; margin-top: 1.5rem; }
.theme-photo img { width: 100%; border-radius: 12px; box-shadow: 0 16px 48px rgba(0,0,0,0.12); display: block; }

/* ── PHOTO CAROUSEL ── */
.photo-carousel { position: relative; border-radius: 12px; overflow: hidden; margin-top: 2.5rem; background: #111; height: 520px; }
.carousel-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px); transform: scale(1.1); opacity: 0.75; transition: opacity 0.25s ease; z-index: 0; }
.carousel-img { position: relative; z-index: 1; width: 100%; height: 520px; object-fit: contain; display: block; transition: opacity 0.25s ease; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.42); border: none; color: #fff; font-size: 2.8rem; line-height: 1; cursor: pointer; width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s; user-select: none; z-index: 2; }
.carousel-btn:hover { background: rgba(0,0,0,0.72); }
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }
.carousel-counter { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.9); font-size: 0.82rem; font-family: var(--font-body); background: rgba(0,0,0,0.38); padding: 0.22rem 0.8rem; border-radius: 20px; pointer-events: none; letter-spacing: 0.05em; z-index: 2; }
.theme-section blockquote {
  font-family: var(--font-display); font-size: 1.75rem; font-style: italic;
  color: var(--text-primary); border-left: 4px solid var(--red);
  padding: 1.5rem 1.75rem; border-radius: 0 8px 8px 0;
  margin: 2.5rem 0; line-height: 1.4;
  background: var(--bg-secondary);
}

/* ── FLAGSHIP SPEAKER SHOWCASE ── */
.speakers-showcase { background: var(--bg-secondary); border-top: 1px solid var(--border); }
.speakers-showcase-intro { font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); line-height: 1.7; max-width: 600px; margin: 1rem 0 2.5rem; }
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.showcase-card {
  background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.showcase-card:hover {
  border-color: rgba(235,0,40,0.4);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(235,0,40,0.1);
}
.showcase-photo {
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--speaker-photo-bg);
  overflow: hidden; position: relative;
  border: 3px solid rgba(0,0,0,0.15);
  margin: 0 auto 1rem;
}
.showcase-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.showcase-info { padding: 1rem 1.1rem 1.2rem; }
.showcase-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--text-primary); line-height: 1.2; margin-bottom: 0.2rem; }
.showcase-role { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.showcase-talk { font-family: var(--font-display); font-size: 0.85rem; font-style: italic; color: var(--red); line-height: 1.35; }

/* ── SPEAKERS FULL LIST (flagship page) ── */
.speaker-type-divider { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-top: 0; margin-bottom: 2rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(235,0,40,0.2); }

.speaker-full { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); align-items: center; }
.speaker-full > div + div { align-self: start; }
.speaker-full:last-child { border-bottom: none; }

/* Large photo for full speaker view */
.speaker-full-photo {
  width: 220px; height: 220px; border-radius: 50%; overflow: hidden;
  background: var(--speaker-photo-bg);
  border: 3px solid rgba(0,0,0,0.15);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.speaker-full-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
[data-theme="light"] .speaker-full-photo { border-color: rgba(0,0,0,0.15); }

.speaker-full-name { font-family: var(--font-display); font-size: 1.8rem; line-height: 1.2; color: var(--text-primary); }
.speaker-full-role { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--red); margin-top: 0.2rem; }
.speaker-talk-title { font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: var(--text-secondary); margin-top: 0.8rem; line-height: 1.35; }
.speaker-full-desc { font-size: 0.95rem; font-weight: 300; color: var(--text-muted); line-height: 1.75; margin-top: 0.8rem; }

/* ── MEMBER CARDS ── */
.member-grid-exco {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}
.member-grid-exco .member-card {
  flex: 0 0 calc(33.33% - 2rem);
  max-width: 280px;
}
.member-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}
.member-grid .member-card {
  flex: 0 0 calc(25% - 1.5rem);
  max-width: 240px;
}
.member-card {
  text-align: center;
}
.member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.member-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.member-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 2rem;
  font-family: var(--font-display);
}
.member-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.member-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
}
.member-grid-exco .member-photo { border-radius: 14px; }
.member-grid-exco .member-name { font-size: 1.1rem; }

/* News / Articles */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.75rem; }
.news-card { display: block; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; text-decoration: none; transition: box-shadow 0.25s, transform 0.25s; }
.news-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.12); transform: translateY(-4px); }
.news-card-image-wrap { position: relative; overflow: hidden; }
.news-card-image-wrap img { width: 100%; height: 220px; object-fit: cover; object-position: center; display: block; }
.news-card-badge { position: absolute; top: 1rem; left: 1rem; background: var(--red); color: #fff; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.28rem 0.75rem; border-radius: 999px; }
.news-card-body { padding: 1.75rem; }
.news-card-date { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.6rem; }
.news-card-title { font-family: var(--font-display); font-size: 1.4rem; font-style: italic; color: var(--text-primary); line-height: 1.25; margin-bottom: 0.75rem; }
.news-card-teaser { font-size: 0.88rem; font-weight: 300; color: var(--text-secondary); line-height: 1.65; }

@media (max-width: 768px) {
  .member-grid-exco { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
}

.watch-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.8rem; padding: 0.4rem 1rem;
  background: rgba(235,0,40,0.06); border: 1px solid rgba(235,0,40,0.18);
  border-radius: 5px; font-size: 0.8rem; font-weight: 600;
  color: var(--red); letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.watch-link:hover { background: rgba(235,0,40,0.12); transform: translateY(-1px); }
.watch-link svg { width: 14px; height: 14px; fill: var(--red); }

.section-intro { font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); line-height: 1.7; max-width: 660px; margin: 0.5rem 0 0; }

.mt-2 { margin-top: 2rem; }

/* ── FOOTER ── */
footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 4rem 3rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand p { font-size: 0.88rem; font-weight: 300; color: var(--text-muted); line-height: 1.7; margin-top: 1rem; max-width: 300px; }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.5rem; }
.footer-col-title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.5rem; display: block; }
.footer-col a { display: block; font-size: 0.88rem; font-weight: 400; color: var(--text-secondary); margin-bottom: 0.6rem; transition: color 0.2s; cursor: pointer; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-nav-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav-links a { font-size: 0.78rem; color: var(--text-muted); transition: color 0.2s; cursor: pointer; }
.footer-nav-links a:hover { color: var(--red); }
.footer-socials { display: flex; gap: 1.2rem; }
.footer-socials a { font-size: 0.8rem; color: var(--text-muted); transition: color 0.2s; }
.footer-socials a:hover { color: var(--red); }
.footer-bottom-right { display: flex; align-items: center; gap: 2rem; }

/* ── ROLE DETAIL PAGES ── */
.role-page-hero { padding: 7rem 3rem 3rem; max-width: 1100px; margin: 0 auto; }
.role-team-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--red); padding: 0.35rem 1rem; border-radius: 999px; margin-bottom: 1.5rem; }
.role-page-title { font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 1.1; color: var(--text-primary); }
.role-back-link { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; font-weight: 500; color: var(--text-secondary); border: 1px solid var(--border); border-radius: 999px; padding: 0.45rem 1.1rem; margin-top: 2rem; transition: color 0.2s, border-color 0.2s; }
.role-back-link:hover { color: var(--red); border-color: var(--red); }
.role-content { padding: 4rem 3rem 5rem; border-top: 1px solid var(--border); }
.role-content-inner { max-width: 1100px; margin: 0 auto; }
.role-description-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 3.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--border); }
.role-description { font-size: 1rem; font-weight: 300; color: var(--text-secondary); line-height: 1.9; }
.role-meta-boxes { display: flex; flex-direction: column; gap: 1rem; justify-content: flex-start; }
.role-meta-box { border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1rem; background: var(--bg-secondary); }
.role-meta-box-text .label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.2rem; }
.role-meta-box-text .value { font-size: 0.95rem; font-weight: 500; color: var(--text-primary); }
.role-resp-req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 3.5rem; }
.role-section-heading { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 1.5rem; color: var(--text-primary); }
.role-list { list-style: none; padding: 0; }
.role-list li { font-size: 0.9rem; font-weight: 300; color: var(--text-secondary); line-height: 1.75; padding: 0.6rem 0 0.6rem 1.3rem; border-bottom: 1px solid var(--border); position: relative; }
.role-list li:first-child { border-top: 1px solid var(--border); }
.role-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.role-apply-bar { background: var(--red); border-radius: 12px; padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background 0.2s; }
.role-apply-bar:hover { background: var(--red-dark); }
.role-apply-bar span { color: #fff; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.open-position-card-link { display: block; text-decoration: none; color: inherit; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes newsMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.333%); } }
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 70%; height: 100vh; background: var(--bg-secondary); flex-direction: column; justify-content: center; align-items: flex-start; padding: 3rem; gap: 1.5rem; transition: right 0.35s ease; border-left: 1px solid var(--border); }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; }
  section { padding: 5rem 1.5rem; }
  .hero-split { flex-direction: column; padding-top: 7rem; gap: 2.5rem; }
  .hero-image { width: 100%; }
  .hero-image img { max-width: 100%; }
  .hero { padding: 7rem 1.5rem 3rem; }
  .flag-hero { padding: 2.5rem 1.5rem 4rem; }
  .flag-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .flag-hero-img { display: none; }
  .page-hero { padding: 8rem 1.5rem 4rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-scroll { display: none; }
  .flagship-details { gap: 1.5rem; }
  .flagship-header { padding: 2rem; }
  .flagship-details { padding: 1.5rem 2rem; }
  .sub-nav { padding: 0 1.5rem; }
  .details-strip { padding: 4rem 1.5rem; }
  .theme-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .photo-carousel { height: 380px; }
  .carousel-img { height: 380px; }
  .speaker-full { grid-template-columns: 1fr; gap: 1rem; }
  .speaker-full-photo { width: 160px; height: 160px; }
  .showcase-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

@media (max-width: 540px) {
  .hero h1 { font-size: 2.6rem; }
  .flag-hero h1 { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .flagship-details { flex-direction: column; gap: 1.2rem; }
  .flag-pills { flex-direction: column; gap: 0.5rem; }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .flagship-cta { padding: 1.5rem 2rem 2rem; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .speaker-photo-wrap { width: 140px; height: 140px; }
}
