:root {
  --bg-primary: #123f67;
  --bg-secondary: #185985;
  --bg-footer: #0b3858;
  --text-main: #f6f8fb;
  --text-soft: #c9d8e7;
  --text-muted: #acc1d6;
  --accent: #f28c28;
  --accent-dark: #c46412;
  --line-soft: rgba(255,255,255,0.10);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.14);
  --radius-xl: 18px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-primary);
  line-height: 1.45;
}

img {
  max-width: 100%;
  display: block;
}

.page-width {
  width: min(1600px, calc(100% - 72px));
  margin: 0 auto;
}

.topbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(8, 53, 86, 0.08);
}

.topbar-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: nowrap;
}

.top-logo {
  height: 68px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  border-radius: 0;
  opacity: 1;
}


.logo-glasgow {
  height: 200px;
  max-width: 300px;
}

.logo-pisa {
  height: 140px;
  max-width: 210px;
}

.logo-uibe {
  height: 100px;
  max-width: 150px;
}
.logo-separator {
  width: 3px;
  height: 56px;
  background: var(--bg-primary);
  opacity: 0.95;
  border-radius: 999px;
}


.sigir-mark {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.sigir-text,
.sigir-year {
  font-size: clamp(2.8rem, 3.2vw, 3.65rem);
  font-weight: 800;
  line-height: 1;
}

.sigir-text {
  color: var(--bg-primary);
}

.sigir-year {
  color: #b34b32;
}

.sigir-divider {
  width: 4px;
  height: 56px;
  background: #b34b32;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-inner {
  position: relative;
  padding: 76px 0 38px;
  min-height: 690px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.35rem, 4vw, 4.8rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  white-space: nowrap;
  max-width: none;
  padding-right: 160px;
  color: var(--text-main);
}

.hero h1 .accent {
  color: inherit;
}

.hero h1 .emoji {
  font-size: 0.76em;
  vertical-align: -0.06em;
}

.subtitle {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.85rem, 2.15vw, 2.85rem);
  line-height: 1.15;
  font-weight: 500;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(245px, max-content));
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: min(100%, 1300px);
  margin: 112px auto 0;
  padding: 0;
}

.speaker-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: left;
  gap: 18px;
  padding: 0;
  min-height: 104px;
}

.speaker-avatar {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  flex-shrink: 0;
}

.speaker-meta {
  max-width: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.speaker-meta h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
  font-weight: 750;
  line-height: 1.16;
}

.speaker-meta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.26;
}

.hero-art {
  position: absolute;
  right: 26px;
  top: 8px;
  width: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.hero-shape {
  width: 100%;
  max-width: 350px;
  opacity: 0.36;
}

.outline-section {
  padding: 30px 0 38px;
}

.outline-section h2,
.citation-section h2 {
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.15;
  font-weight: 800;
}

.title-underline {
  width: 44px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  margin: 12px 0 22px;
}

.outline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.outline-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 24px 22px 20px;
  box-shadow: var(--shadow-soft);
  min-height: 305px;
  display: flex;
  flex-direction: column;
}

.outline-card h3 {
  margin: 0 0 16px;
  font-size: 1.28rem;
  line-height: 1.25;
  font-weight: 800;
}

.speaker-name {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.8em;
}

.outline-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.48;
}

.outline-card li + li {
  margin-top: 6px;
}

.resource-links {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--accent);
  border: 1.5px solid var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.resource-link.secondary {
  background: var(--accent);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: #ffffff;
}

.resource-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}

.resource-link.secondary:hover {
  background: #ff9a3a;
}

.citation-section {
  padding: 24px 0 26px;
  border-top: 2px solid rgba(242, 140, 40, 0.95);
  background: var(--bg-secondary);
}

.citation-section p {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.site-footer {
  background: var(--bg-footer);
}

.footer-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 750;
}

.footer-mark {
  font-size: 1.5rem;
}

@media (max-width: 1350px) {
  .page-width {
    width: min(100%, calc(100% - 48px));
  }

  .hero-inner {
    min-height: auto;
    padding: 68px 0 38px;
  }

  .hero-art {
    position: absolute;
    inset: 24px 0 auto auto;
    width: 30%;
    max-width: 260px;
    pointer-events: none;
    z-index: 1;
  }

  .hero-shape {
    width: 100%;
  }

  .speaker-grid {
    grid-template-columns: repeat(2, minmax(245px, max-content));
    justify-content: center;
    align-items: center;
    gap: 28px 44px;
    width: min(100%, 760px);
    margin-top: 68px;
  }

  .outline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-logo {
    height: 54px;
    max-width: 220px;
  }

  .logo-glasgow {
    height: 48px;
  }

  .logo-pisa {
    height: 56px;
  }

  .logo-uibe {
    height: 58px;
  }

  .logo-separator {
    height: 44px;
  }

  .sigir-text,
  .sigir-year {
    font-size: 3rem;
  }
}

@media (max-width: 860px) {
  .topbar-inner {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .sigir-mark {
    align-self: flex-end;
  }

  .page-width {
    width: min(100%, calc(100% - 28px));
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 8vw, 3.2rem);
    white-space: normal;
    padding-right: 0;
  }

  .subtitle {
    font-size: clamp(1.45rem, 5.2vw, 2rem);
    margin-bottom: 28px;
  }

  .speaker-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
    gap: 20px;
    width: min(100%, 420px);
    margin-top: 44px;
  }

  .outline-grid {
    grid-template-columns: 1fr;
  }

  .speaker-card {
    justify-content: flex-start;
    min-height: 88px;
  }

  .speaker-avatar {
    width: 82px;
    height: 82px;
    border-radius: 20px;
  }

  .hero-art {
    width: 46%;
    opacity: 0.8;
  }

  .logo-group {
    gap: 12px;
  }

  .top-logo {
    height: 42px;
    max-width: 150px;
  }

  .logo-glasgow {
    height: 50px;
    max-width: 190px;
  }

  .logo-pisa {
    height: 44px;
    max-width: 130px;
  }

  .logo-uibe {
    height: 46px;
    max-width: 86px;
  }

  .logo-separator {
    height: 34px;
    width: 2px;
  }

  .sigir-text,
  .sigir-year {
    font-size: 2.35rem;
  }

  .sigir-divider {
    height: 36px;
  }
}


.session-number {
  color: var(--accent);
  font-weight: 850;
}


/* ---------- Extended resource sections ---------- */

.quick-nav {
  margin-top: -10px;
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.quick-nav a:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
  color: #ffffff;
}

.content-section {
  padding: 52px 0;
  background: var(--bg-primary);
}

.content-section.soft-section {
  background: #174d78;
}

.section-heading {
  max-width: 980px;
  margin-bottom: 24px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0 0 12px;
  color: var(--text-main);
  font-size: 2.15rem;
  line-height: 1.12;
  font-weight: 800;
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

.history-grid,
.reading-grid,
.compact-link-grid,
.profile-grid {
  display: grid;
  gap: 18px;
}

.history-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reading-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.history-card,
.link-card,
.profile-card,
.documentation-panel {
  border-radius: var(--radius-xl);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.08);
}

.history-card,
.link-card {
  padding: 24px 22px;
}

.card-year {
  display: inline-flex;
  min-height: 32px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.16);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.history-card h3,
.link-card h3,
.documentation-panel h3,
.profile-card h3 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 1.22rem;
  line-height: 1.25;
  font-weight: 800;
}

.history-card p,
.link-card p,
.documentation-panel p,
.profile-card p {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.58;
}

.history-card p,
.link-card p {
  margin: 0 0 18px;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.link-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.link-icon {
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.link-card a {
  margin-top: auto;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.link-card a:hover,
.compact-link:hover strong {
  text-decoration: underline;
}

.compact-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 22px;
  min-height: 104px;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
  color: var(--text-soft);
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.compact-link:hover {
  transform: translateY(-2px);
  background: #1a6090;
}

.compact-link strong {
  color: var(--text-main);
  font-size: 1.08rem;
  line-height: 1.25;
}

.compact-link span {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.documentation-panel {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 26px 28px;
}

.documentation-panel p {
  margin: 0;
  max-width: 880px;
}

.profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  align-items: start;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.profile-copy p {
  margin: 0 0 14px;
}

.profile-affiliation {
  color: var(--accent) !important;
  font-weight: 750;
  margin-bottom: 10px !important;
}

@media (max-width: 1200px) {
  .history-grid,
  .reading-grid,
  .compact-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .documentation-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .content-section {
    padding: 40px 0;
  }

  .history-grid,
  .reading-grid,
  .compact-link-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .profile-avatar {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }
}
