/* TEDxByWard site styles
   Brand notes (TEDx Organizer Guide):
   - TEDx red is #EB0028; other words in black or white
   - Logo only on solid white or solid black backgrounds
   - Typeface: Inter */

:root {
  --red: #eb0028;
  --black: #000;
  --ink: #111;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --soft: #f6f6f6;
  --white: #fff;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); color: var(--black); padding: 8px 12px; z-index: 100; }

/* ---------- Logo (official files from the TEDx Logo Generator; keep clear space around them) ---------- */
.logo { display: inline-flex; align-items: baseline; text-decoration: none; font-weight: 700; letter-spacing: 0; line-height: 1; font-size: 26px; }
.logo .tedx { color: var(--red); }
.logo .tedx sup { font-size: .55em; vertical-align: .55em; margin-left: .02em; }
.logo .place { color: var(--white); font-weight: 400; margin-left: .06em; }
.on-white .logo .place { color: var(--black); }
.logo img { height: 34px; width: auto; }
.site-footer .logo img { height: 40px; }
@media (max-width: 720px) { .site-header .logo img { height: 28px; } }

/* ---------- Header ---------- */
.site-header { background: var(--black); color: var(--white); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .85; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--white); }
.nav .btn { opacity: 1; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 28px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--red); color: var(--white); padding: 12px 22px; border-radius: 4px; font-weight: 600; text-decoration: none; border: 2px solid var(--red); font-size: 15px; cursor: pointer; }
.btn:hover { background: #c40021; border-color: #c40021; }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn.ghost:hover { background: var(--white); color: var(--black); }
.btn.dark { background: var(--black); border-color: var(--black); }

/* ---------- Hero ---------- */
.hero { background: var(--black); color: var(--white); padding: 96px 0 104px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; color: var(--red); margin: 0 0 16px; }
.hero h1 { font-size: clamp(40px, 7vw, 84px); line-height: 1.02; margin: 0 0 24px; font-weight: 800; letter-spacing: -.02em; max-width: 14ch; }
.hero h1 .accent { color: var(--red); }
.hero .lede { font-size: clamp(18px, 2.2vw, 22px); color: #d6d6d6; max-width: 60ch; margin: 0 0 36px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0 0 40px; padding: 0; list-style: none; }
.facts li { border-left: 3px solid var(--red); padding-left: 14px; }
.facts strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #a8a8a8; font-weight: 600; }
.facts span { font-size: 20px; font-weight: 600; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.alt { background: var(--soft); }
section.dark { background: var(--black); color: var(--white); }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 0 0 18px; font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 20px; margin: 0 0 8px; }
.section-lede { font-size: 19px; color: var(--muted); max-width: 64ch; margin: 0 0 40px; }
.dark .section-lede { color: #c8c8c8; }
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.card p { margin: 0; color: var(--muted); }
.tbd { display: inline-block; background: #fff0f2; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; }
.dark .tbd { background: #2a0008; }

/* Speakers */
.speaker .photo { aspect-ratio: 1; background: #e9e9e9; border-radius: 8px; margin-bottom: 14px; display: grid; place-items: center; color: #9a9a9a; font-size: 48px; font-weight: 800; }
.speaker h3 { margin-bottom: 2px; }
.speaker p { color: var(--muted); margin: 0; font-size: 15px; }

/* Schedule */
.schedule { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.schedule li { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.schedule time { font-weight: 700; color: var(--red); }

/* Venue */
.venue-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.map-ph { aspect-ratio: 4/3; background: #1a1a1a; border-radius: 8px; display: grid; place-items: center; color: #8a8a8a; text-align: center; padding: 24px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; max-width: 72ch; }

/* Signup */
.signup { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.signup input { flex: 1 1 260px; padding: 13px 14px; font: inherit; border: 2px solid #333; background: #111; color: var(--white); border-radius: 4px; }
.signup input:focus { outline: none; border-color: var(--red); }
.note { font-size: 14px; color: #9a9a9a; margin-top: 10px; }

/* Long-form pages */
.page-hero { background: var(--black); color: var(--white); padding: 72px 0; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); margin: 0; font-weight: 800; }
.prose { max-width: 760px; }
.prose p { font-size: 18px; }
.prose h2 { margin-top: 56px; font-size: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #bdbdbd; padding: 56px 0 40px; font-size: 15px; }
.site-footer .top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.license { border-top: 1px solid #262626; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.license p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); }
  .venue-box { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--black); flex-direction: column; align-items: flex-start; padding: 16px 24px 24px; gap: 16px; border-top: 1px solid #222; }
  .nav.open { display: flex; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .schedule li { grid-template-columns: 1fr; gap: 4px; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 72px; }
}
@media (max-width: 720px) {
  .grid.four:has(.speaker) { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .speaker h3 { font-size: 16px; }
}
