/* Workshop site styles. Clean, single column, Google Sites inspired. */

:root {
  --primary: #0f3d63;
  --primary-dark: #0a2b47;
  --accent: #1a73e8;
  --accent-soft: #e8f0fe;
  --bg: #ffffff;
  --surface: #f6f8fb;
  --text: #202124;
  --muted: #5f6368;
  --border: #e0e3e8;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(60, 64, 67, 0.12), 0 2px 8px rgba(60, 64, 67, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Keep anchored targets clear of the sticky header */
[id] { scroll-margin-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.hero :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; color: var(--primary); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: 0.35em; }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; }

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { background: var(--surface); text-decoration: none; }
.site-nav a.active { color: var(--accent); border-bottom-color: var(--accent); border-radius: 8px 8px 0 0; }

/* Hero banner */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #175a8a 100%);
  color: #fff;
  padding: 72px 0 64px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 12px;
}
.hero h1 { color: #fff; max-width: 820px; margin-bottom: 16px; }
.hero .lead { font-size: 1.2rem; max-width: 760px; opacity: 0.95; margin-bottom: 20px; }
.hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 28px;
}
.hero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero .meta svg { width: 18px; height: 18px; opacity: 0.9; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page header for interior pages */
.page-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 40px 0 32px;
}
.page-header h1 { color: var(--primary); font-size: 2rem; margin-bottom: 6px; }
.page-header p { color: var(--muted); margin: 0; max-width: 760px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: #fff; color: var(--primary); }
.btn-primary:hover { background: #eaf1fb; }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }
.btn[aria-disabled="true"] { opacity: 0.7; cursor: default; pointer-events: none; }
.section .btn-primary { background: var(--accent); color: #fff; }
.section .btn-primary:hover { background: #1765cc; }
.section .btn-secondary { background: #fff; color: var(--accent); border-color: var(--accent); }
.section .btn-secondary:hover { background: var(--accent-soft); }

/* Sections */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section.alt { background: var(--surface); }
.section-title { margin-bottom: 8px; }
.section-intro { color: var(--muted); max-width: 760px; margin-bottom: 28px; }
.section-intro a, .page-header p a { text-decoration: underline; text-underline-offset: 2px; }
.prose { max-width: 800px; }
.prose h3 { margin-top: 1.6em; color: var(--primary); }
.prose h3:first-child { margin-top: 0; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
}
.card h3, .card h4 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { margin-bottom: 0.6em; font-size: 0.97rem; }
.card p:last-child { margin-bottom: 0; }
.card .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* Key dates */
.dates { list-style: none; padding: 0; margin: 0; max-width: 620px; }
.dates li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.dates li:last-child { border-bottom: none; }
.dates .date { font-weight: 600; color: var(--primary); }
.dates .highlight .date { color: #1765cc; }
.dates .note { color: var(--muted); font-size: 0.92rem; }

/* People */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.person {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.avatar {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}
.person h3 { font-size: 1.05rem; margin-bottom: 2px; }
.person .affil { color: var(--muted); font-size: 0.93rem; margin-bottom: 6px; }
.person .role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.person .bio { font-size: 0.93rem; margin: 0; }
.person .email { font-size: 0.9rem; margin: 6px 0 0; }

/* Schedule table */
.table-wrap { overflow-x: auto; }
table.schedule {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
table.schedule th, table.schedule td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.schedule th { background: var(--surface); color: var(--primary); font-weight: 600; }
table.schedule tr:last-child td { border-bottom: none; }
table.schedule td.time { white-space: nowrap; font-weight: 600; width: 150px; }
table.schedule tr.break td { background: #fafbfc; color: var(--muted); }

/* Callout */
.callout {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

/* Sponsors */
.sponsor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sponsor-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 600;
  color: var(--primary);
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 32px 0;
  font-size: 0.92rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}
.site-footer a { color: #fff; }
.site-footer p { margin: 0; }

/* Responsive */
@media (max-width: 700px) {
  body { font-size: 16px; }
  h1 { font-size: 1.9rem; }
  .hero { padding: 52px 0 44px; }
  .hero h1 { font-size: 1.9rem; }
  .hero .lead { font-size: 1.05rem; }
  .section { padding: 40px 0; }
  .site-header .container { padding-top: 8px; padding-bottom: 8px; }
  .site-nav a { padding: 10px 10px; font-size: 0.9rem; }
  [id] { scroll-margin-top: 112px; }
  .dates li { grid-template-columns: 1fr; gap: 2px; }
  table.schedule th, table.schedule td { padding: 12px 12px; }
  table.schedule td.time { width: auto; }
}

/* Single page additions */
.subsection-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 40px 0 8px;
}
.people-grid + .subsection-title, .card-grid + .subsection-title { margin-top: 40px; }
.person h4 { font-size: 1.05rem; margin: 0 0 2px; line-height: 1.25; }
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 40px;
  align-items: start;
}
.two-col h3 { color: var(--primary); margin-bottom: 12px; }
.two-col .prose { max-width: none; }
.two-col .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.section .callout { margin: 28px 0; max-width: 800px; }
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; gap: 28px; }
}

/* Photo avatars */
.avatar { overflow: hidden; box-shadow: 0 0 0 1px rgba(15, 61, 99, 0.15); }
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.person .avatar { width: 72px; height: 72px; }
