:root {
  --orange: #f15e22;
  --orange-dark: #c9481a;
  --brown: #774519;
  --ink: #2b2118;
  --muted: #6d625a;
  --line: #eadfd6;
  --bg: #fffaf6;
  --card: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--orange-dark); }
a:hover { color: var(--brown); }
img { max-width: 100%; }

.site-header { background: var(--orange); color: #fff; }
.site-header .inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 10px 16px; max-width: 1080px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.brand:hover { color: #fff; }
.brand img { width: 48px; height: 48px; display: block; border: 2px solid #fff; border-radius: 6px; }
.site-nav { display: flex; gap: 4px 18px; flex-wrap: wrap; margin-left: auto; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 600; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: #fff; }

main { max-width: 1080px; margin: 0 auto; padding: 24px 16px 48px; }
h1, h2, h3 { color: var(--brown); line-height: 1.25; }
h1 { font-size: 2rem; margin: 0.2em 0 0.5em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }

.hero { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.hero img { width: 180px; height: 180px; object-fit: contain; }
.hero h1 { margin-top: 0; }
.stats { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.stat { display: block; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 8px; padding: 14px 20px; min-width: 150px; text-decoration: none; color: var(--ink); }
.stat strong { display: block; font-size: 1.8rem; color: var(--orange); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 0; list-style: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 14px; text-align: center; }
.card a { text-decoration: none; color: var(--ink); display: block; }
.card a:hover .name { color: var(--orange-dark); }
.card img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 3px solid var(--orange); background: #fff; }
.card .name { font-weight: 700; margin-top: 8px; }
.card .company { color: var(--muted); font-size: 0.9rem; }

.speaker-head { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.speaker-head img { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; border: 4px solid var(--orange); background: #fff; }
.speaker-head h1 { margin-top: 0; }
.bio { max-width: 760px; }

.talk-list { list-style: none; padding: 0; }
.talk-list li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 6px; padding: 12px 16px; margin-bottom: 10px; }
.talk-list .title { font-weight: 700; font-size: 1.05rem; }
.meta { color: var(--muted); font-size: 0.92rem; }
.tag { display: inline-block; background: #fde7dc; color: var(--brown); border-radius: 999px; padding: 1px 10px; margin: 2px 4px 2px 0; font-size: 0.82rem; }
.level { display: inline-block; background: var(--brown); color: #fff; border-radius: 4px; padding: 0 8px; font-size: 0.78rem; letter-spacing: 0.03em; }
.filter { width: 100%; max-width: 420px; padding: 8px 12px; font: inherit; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 16px; }

.talk-speakers { display: flex; gap: 14px; flex-wrap: wrap; margin: 12px 0 20px; }
.talk-speakers a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.talk-speakers img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; border: 2px solid var(--orange); }
.summary { max-width: 760px; }
.media a { display: inline-block; margin: 4px 8px 4px 0; padding: 6px 14px; background: var(--orange); color: #fff; border-radius: 6px; text-decoration: none; font-weight: 600; }
.media a:hover { background: var(--brown); color: #fff; }

.day { margin-bottom: 36px; }
.agenda { width: 100%; border-collapse: collapse; background: var(--card); }
.agenda th, .agenda td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.agenda th { background: var(--brown); color: #fff; font-weight: 600; }
.agenda .time { white-space: nowrap; font-variant-numeric: tabular-nums; width: 7.5em; }
.agenda .break td { background: #f6efe9; color: var(--muted); font-style: italic; }
.agenda .track { display: block; font-size: 0.82rem; color: var(--muted); }
.agenda .slot + .slot { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.table-wrap { overflow-x: auto; }

.years { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; list-style: none; padding: 0; }
.years a { display: block; background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: 10px; padding: 18px; text-align: center; text-decoration: none; color: var(--ink); }
.years a:hover { border-color: var(--orange); }
.years img { width: 150px; height: 150px; object-fit: contain; }
.years .year { font-size: 1.5rem; font-weight: 700; color: var(--brown); }

.site-footer { border-top: 4px solid var(--orange); background: var(--brown); color: #f3e6dc; }
.site-footer .inner { max-width: 1080px; margin: 0 auto; padding: 18px 16px; font-size: 0.9rem; }
.site-footer a { color: #fff; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 1.6rem; }
  .site-nav { margin-left: 0; width: 100%; }
  .hero img { width: 120px; height: 120px; }
  .agenda .time { width: auto; }
}
