/* Workshop site — layout inspired by clean academic landing pages */

:root {
  --color-bg: #f7f9f8;
  --color-surface: #ffffff;
  --color-text: #1a2e28;
  --color-muted: #4a5c55;
  --color-accent: #0d4f3c;
  --color-accent-light: #e8f2ee;
  --color-border: #d8e3de;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --max-width: 1100px;
  --header-height: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-title { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; }
.site-title a { color: var(--color-text); text-decoration: none; }
.site-title a:hover { color: var(--color-accent); text-decoration: none; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a { font-weight: 600; font-size: 0.95rem; color: var(--color-muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--color-accent); text-decoration: none; }

.hero {
  background: linear-gradient(
    165deg,
    var(--color-accent-light) 0%,
    var(--color-bg) 45%,
    var(--color-bg) 100%
  );
}
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 1.75rem;
}
.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: var(--color-muted);
}
.hero__meta { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 0; padding: 0; list-style: none; }
.hero__meta li { font-size: 0.98rem; }
.hero__meta strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}
.hero__actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { filter: brightness(1.06); text-decoration: none; }
.btn--secondary { background: var(--color-surface); color: var(--color-accent); border-color: var(--color-accent); }
.btn--secondary:hover { background: var(--color-accent-light); text-decoration: none; }

main { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem 4rem; }
main.narrow { max-width: 720px; }
section { margin-bottom: 2.5rem; }
main > section:first-child { margin-top: 1.25rem; }
section h2 { margin: 0 0 1rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
section p { margin: 0 0 1rem; color: var(--color-muted); }
section p:last-child { margin-bottom: 0; }
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem 1.35rem;
  margin-bottom: 1.25rem;
}
.callout {
  background: var(--color-accent-light);
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}
.callout p { margin: 0; color: var(--color-text); }

.agenda-day { margin-bottom: 2.5rem; }
.agenda-day h2 {
  font-size: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}
.time-block { margin: 1.25rem 0; padding-left: 0.5rem; border-left: 3px solid var(--color-border); }
.time-block__when { font-weight: 700; font-size: 0.9rem; color: var(--color-accent); margin-bottom: 0.35rem; }
.time-block h3 { margin: 0 0 0.5rem; font-size: 1.05rem; color: var(--color-text); }
.time-block ul { margin: 0.35rem 0 0; padding-left: 1.25rem; color: var(--color-muted); font-size: 0.98rem; }
.time-block .speakers { font-size: 0.95rem; font-style: italic; color: var(--color-muted); margin: 0.25rem 0 0; }
.sub-block { margin: 0.85rem 0 0 0.75rem; padding: 0.65rem 0 0.65rem 1rem; border-left: 2px dashed var(--color-border); }

.form-grid { display: grid; gap: 1rem; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
.form-fieldset {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}
.form-fieldset legend {
  padding: 0;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}
input[type="text"], input[type="email"], textarea,
select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface);
}
input[type="file"] {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
}
input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.5rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-accent);
  cursor: pointer;
}
input[type="file"]::file-selector-button:hover {
  background: var(--color-accent-light);
}
.form-cv[hidden] { display: none !important; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }
input[type="file"]:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; border-radius: 6px; }
textarea { min-height: 140px; resize: vertical; }
.form-hint { font-size: 0.85rem; color: var(--color-muted); margin: 0.25rem 0 0; }

.card__h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.card__h3:first-of-type { margin-top: 0; }

.map-embed {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 10;
  min-height: 260px;
  background: var(--color-border);
}
.map-embed__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.map-embed .leaflet-container {
  font-family: inherit;
}
.map-embed .leaflet-popup-content-wrapper {
  border-radius: 8px;
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hotel-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hotel-list li {
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}
.hotel-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.hotel-list a { font-weight: 600; }
.hotel-list__meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.site-footer {
  margin-top: auto;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 2rem 1.25rem;
}
.site-footer__inner { max-width: var(--max-width); margin: 0 auto; }
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 2.5rem;
  margin-bottom: 1.5rem;
}
.footer-logos a { display: flex; align-items: center; justify-content: center; opacity: 0.92; }
.footer-logos a:hover { opacity: 1; }
.footer-logos img { max-height: 52px; width: auto; max-width: 200px; object-fit: contain; }
.footer-meta { text-align: center; font-size: 0.88rem; color: var(--color-muted); }
.footer-meta p { margin: 0.35rem 0; }
.page-shell { min-height: 100vh; display: flex; flex-direction: column; }

/* Photo mosaic */
.photo-mosaic-wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  padding-bottom: 0;
}
.photo-mosaic__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(10, 30, 20, 0.7) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.1rem;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.photo-mosaic__item:hover .photo-mosaic__item-overlay {
  opacity: 1;
}
.photo-mosaic__item-overlay--info {
  opacity: 1;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(10, 30, 20, 0.55) 35%,
    rgba(10, 30, 20, 0.82) 100%
  );
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.25rem 1.5rem;
  pointer-events: none;
}
.photo-mosaic__item:hover .photo-mosaic__item-overlay--info {
  opacity: 1;
}
.mosaic-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
}
.mosaic-meta li {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.4;
}
.mosaic-meta strong {
  display: block;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
  margin-bottom: 0.1rem;
}
.mosaic-meta span {
  font-size: 0.95rem;
  opacity: 0.8;
}
.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.25);
  border-color: #fff;
  text-decoration: none;
}
.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 192px 192px;
  gap: 6px;
  line-height: 0;
}
.photo-mosaic__item {
  overflow: hidden;
  background: var(--color-border);
  position: relative;
}
.photo-mosaic__item--wide {
  grid-column: span 2;
}
.photo-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.photo-mosaic__item:hover img {
  transform: scale(1.04);
}

@media (max-width: 640px) {
  .photo-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 240px;
  }
  .photo-mosaic__item {
    display: none;
  }
  .photo-mosaic__item--wide {
    display: block;
    grid-column: span 1;
  }
}

/* Speakers grid */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.speaker-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: box-shadow 0.15s, transform 0.15s;
}
.speaker-card:hover {
  box-shadow: 0 4px 18px rgba(13, 79, 60, 0.10);
  transform: translateY(-2px);
}
.speaker-card--tbc {
  opacity: 0.55;
  border-style: dashed;
}
.speaker-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-accent-light);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.03em;
  overflow: hidden;
  flex-shrink: 0;
}
.speaker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.speaker-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.3;
  margin: 0;
}
.speaker-name a {
  color: var(--color-text);
  text-decoration: none;
}
.speaker-name a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}
.speaker-affiliation {
  font-size: 0.87rem;
  color: var(--color-muted);
  line-height: 1.4;
  margin: 0;
}
.speakers-note {
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}

@media (max-width: 640px) {
  .site-header__inner { flex-direction: column; height: auto; padding-top: 0.85rem; padding-bottom: 0.85rem; align-items: flex-start; }
  .nav { width: 100%; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

