:root {
  --blue: #087cac;
  --blue-bright: #58c3d2;
  --blue-dark: #075274;
  --coral: #f47f50;
  --purple: #65317f;
  --cream: #fff8ee;
  --ink: #173a5a;
  --muted: #526378;
  --page: #087cac;
  --panel: rgba(255, 248, 238, 0.96);
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(3, 31, 62, 0.18);
  --shadow-hover: 0 16px 38px rgba(3, 31, 62, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 3%, rgba(88, 195, 210, 0.11), transparent 25%),
    linear-gradient(105deg, #f3f1e8 0%, #fff0df 48%, #ffd0b1 100%);
  background-attachment: fixed;
  background-color: #ffe6d2;
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--white);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px max(24px, calc((100vw - 1360px) / 2));
  border-bottom: 2px solid rgba(244, 127, 80, 0.72);
  background: rgba(7, 82, 116, 0.92);
  box-shadow: 0 4px 18px rgba(3, 20, 48, 0.12);
  backdrop-filter: blur(12px);
}

.site-name {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(244, 127, 80, 0.22);
  color: var(--white);
  transform: translateY(-1px);
  outline: none;
}

main {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 72px;
}

.title-section {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 58px max(24px, calc((100vw - 1360px) / 2)) 24px;
  background: transparent;
  color: var(--blue-dark);
  text-align: center;
}

.conference-logo {
  display: block;
  width: min(500px, 76vw);
  height: auto;
  margin: 0 auto 28px;
}

.title-section > p {
  max-width: 1120px;
  margin: 0 auto 18px;
}

.title-section > p:first-of-type {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid rgba(244, 127, 80, 0.38);
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.52);
  color: var(--purple);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.title-section > p:last-of-type {
  color: var(--blue);
  font-size: 22px;
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  max-width: 1180px;
  margin: 0 auto 22px;
  color: var(--purple);
  font-size: 32px;
}

h2,
h3 {
  font-size: 20px;
}

h2 {
  margin: 0 0 28px;
  color: var(--blue-dark);
  text-align: center;
}

h2::after {
  display: block;
  width: 48px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--blue-bright), #73509e);
  content: "";
}

h3 {
  margin: 0 0 7px;
  color: var(--white);
}

p,
dd,
dt,
a,
footer {
  font-size: 16px;
}

.workshop-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 34px 0 0;
  text-align: left;
}

.workshop-details div {
  padding: 16px 18px;
  border: 1px solid rgba(244, 127, 80, 0.3);
  border-radius: 14px;
  background: rgba(255, 248, 238, 0.78);
}

.workshop-details dt {
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.workshop-details dd {
  margin: 2px 0 0;
  color: var(--blue);
  font-size: 19px;
  font-weight: 600;
}

.content-section {
  padding: 48px 0 0;
  scroll-margin-top: 92px;
}

#motivation {
  margin-top: 0;
  padding: 26px 0 0;
}

#motivation h2 {
  color: var(--blue);
  font-size: 30px;
  text-align: center;
}

#motivation h2::after {
  margin-right: auto;
  margin-left: auto;
}

.motivation-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.72fr);
  gap: 44px;
  align-items: stretch;
}

.motivation-figure {
  min-height: 0;
  margin: 0;
}

.motivation-figure img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: 44% center;
}

.motivation-copy {
  align-self: center;
  min-width: 0;
}

.motivation-copy p {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 19px;
  line-height: 1.8;
}

.motivation-copy p:last-child {
  margin-bottom: 0;
}

#speakers h2,
#organizers h2 {
  color: var(--blue);
  font-size: 30px;
  text-align: center;
}

.content-section > p {
  max-width: 1180px;
  margin: 0 auto 18px;
  color: var(--muted);
}

.content-section > p:last-child {
  margin-bottom: 0;
}

.registration-cta {
  margin: 40px 0 0;
  text-align: center;
}

.registration-cta a {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  box-shadow: var(--shadow);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.registration-cta a:hover,
.registration-cta a:focus-visible {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.organizer-list,
.speaker-list {
  display: grid;
  gap: 18px;
}

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

.speaker-list {
  grid-template-columns: repeat(2, 1fr);
}

.organizer-list article,
.speaker-list article {
  position: relative;
  overflow: hidden;
  min-height: 152px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.organizer-list article::before,
.speaker-list article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--coral), var(--purple), var(--blue-bright));
  content: "";
}

.organizer-list article:hover,
.speaker-list article:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.person-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: center;
}

.person-photo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 112px;
  overflow: hidden;
  border: 4px solid #f5c4a7;
  border-radius: 12px;
  background: #d9f1f0;
  box-shadow: 0 5px 14px rgba(3, 20, 48, 0.18);
}

.person-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-photo--extra-headroom {
  object-position: center 24%;
}

.person-copy {
  min-width: 0;
}

.person-copy h3 {
  font-size: 22px;
}

.person-name-link {
  color: var(--ink);
  font-size: inherit;
  text-decoration: none;
}

.person-name-link::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
}

.person-name-link:focus-visible {
  outline: none;
}

.person-name-link:focus-visible::after {
  border-radius: 16px;
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.organizer-list article:hover .person-name-link,
.speaker-list article:hover .person-name-link {
  color: var(--purple);
}

.organizer-list p,
.speaker-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.organizer-list strong,
.speaker-list strong {
  display: block;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.person-email {
  position: relative;
  z-index: 3;
  display: inline-block;
  margin-top: 3px;
  color: var(--blue);
  font-size: 15px;
  text-decoration: none;
}

.person-email:hover,
.person-email:focus-visible {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.organizer-list .person-copy .department,
.speaker-list .person-copy .department {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 16px;
}

footer {
  padding: 34px 24px;
  border-top: 2px solid rgba(244, 127, 80, 0.72);
  background: rgba(255, 248, 238, 0.42);
  color: var(--blue);
  font-size: 19px;
  font-weight: 600;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  nav a,
  .registration-cta a,
  .organizer-list article,
  .speaker-list article {
    transition: none;
  }
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    margin-top: 8px;
  }

  .workshop-details,
  .motivation-layout,
  .organizer-list,
  .speaker-list {
    grid-template-columns: 1fr;
  }

  .motivation-figure {
    width: min(100%, 560px);
    justify-self: center;
  }

}

@media (max-width: 620px) {
  .organizer-list {
    grid-template-columns: 1fr;
  }

  main {
    width: min(100% - 28px, 1360px);
  }

  .site-header {
    padding: 12px 18px;
  }

  nav {
    gap: 6px;
  }

  nav a {
    padding: 6px 10px;
  }

  .title-section {
    padding: 38px 20px 18px;
  }

  .conference-logo {
    width: min(420px, 90vw);
    margin-bottom: 24px;
  }

  h1 {
    font-size: 32px;
  }

  .workshop-details {
    gap: 8px;
    margin-top: 26px;
  }

  #motivation {
    padding: 22px 0 0;
  }

  #motivation h2 {
    font-size: 26px;
  }

  #speakers h2,
  #organizers h2 {
    font-size: 26px;
  }

  .motivation-copy p {
    font-size: 18px;
  }

  .registration-cta {
    margin-top: 32px;
  }

  .registration-cta a {
    padding: 12px 22px;
    font-size: 19px;
  }

  .content-section {
    padding-top: 40px;
  }

  .organizer-list article,
  .speaker-list article {
    min-height: 128px;
    padding: 16px 16px 16px 20px;
  }

  .person-card {
    grid-template-columns: 80px 1fr;
    gap: 15px;
  }

  .person-photo-frame {
    width: 80px;
    height: 96px;
  }
}

@media (max-width: 480px) {
  .person-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .person-photo-frame {
    justify-self: center;
  }

  .organizer-list strong,
  .speaker-list strong {
    font-size: 16px;
  }

  .organizer-list .person-copy .department,
  .speaker-list .person-copy .department {
    font-size: 15px;
  }
}
