/* Final visual refinements for the supplied event assets. */
.hero-video {
  background: none;
}

button,
.button,
.footer-top-link {
  border-radius: 999px;
}

.brand-logo {
  display: block;
  width: 170px;
  height: auto;
}

.header-brand {
  position: relative;
  width: 170px;
  height: 75px;
}

.header-brand .brand-logo-default,
.header-brand .brand-logo-alt {
  position: absolute;
  top: 50%;
  left: 0;
  height: auto;
  transform: translateY(-50%);
  transition: opacity 220ms ease;
}

.header-brand .brand-logo-default {
  width: 170px;
  opacity: 1;
}

.header-brand .brand-logo-alt {
  width: 90px;
  opacity: 0;
}

/* The 170px mark is 75px tall: this leaves clear breathing room in the sticky bar. */
.site-header {
  height: 104px;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  transition: height 280ms ease, background-color 280ms ease;
}

.brand-logo {
  transition: width 280ms ease;
}

.site-header.is-compact {
  height: 82px;
  background: rgba(36, 61, 56, .72);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, .07);
}

.site-header.is-compact .brand-logo {
  width: 90px;
}

.site-header.is-compact .header-brand .brand-logo-default {
  width: 170px;
  opacity: 0;
}

.site-header.is-compact .header-brand .brand-logo-alt {
  opacity: 1;
}

.hero .eyebrow {
  font-size: 16px;
}

.hero {
  height: auto;
  min-height: max(760px, 100svh);
}

.hero-content {
  height: auto;
  min-height: max(760px, 100svh);
  padding-top: 170px;
  padding-bottom: 120px;
  justify-content: center;
}

.scroll-cue {
  position: fixed;
  z-index: 15;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.hero.is-in-view .scroll-cue {
  opacity: 1;
  pointer-events: auto;
}

.intro {
  border-top: 0;
}

h1,
h2 {
  letter-spacing: -.04em;
}

@font-face {
  font-family: 'Roc Grotesk Wide';
  src: url('../assets/fonts/Roc%20Grotesk%20Wide.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roc Grotesk Wide';
  src: url('../assets/fonts/Roc%20Grotesk%20Wide%20Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.hero h1,
.hero-title-bold,
.hero-title-regular {
  font-family: 'Roc Grotesk Wide', sans-serif;
}

.hero h1 {
  text-transform: uppercase;
  font-size: clamp(42px, 6.7vw, 98px);
}

.hero-title-bold {
  color: var(--lime);
  font-weight: 700;
}

.hero-title-regular {
  color: var(--white);
  font-weight: 400;
}

section[id] {
  scroll-margin-top: 120px;
}

.intro-text strong {
  color: var(--lime);
  font-weight: 700;
}

.consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-links {
  display: flex;
  position: static;
  width: auto;
  margin-left: 0;
  padding: 0;
  background: transparent;
  border: 0;
  flex-direction: row;
  gap: 18px;
}

.legal-links a {
  font-size: 13px;
}

.hero .button {
  font-size: 17px;
}

.register-form .form-row label {
  font-size: 14px;
}

.registration .button {
  font-size: 17px;
}

.register-form .form-row {
  position: relative;
  margin-bottom: 14px;
  border: 0;
}

.register-form .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.register-form .form-row input {
  min-height: 54px;
  padding: 14px 52px 14px 52px;
  border: 1px solid rgba(36, 61, 56, .48);
  border-radius: 999px;
  font-size: 15px;
}

.register-form .form-row input::placeholder {
  color: rgba(36, 61, 56, .72);
  opacity: 1;
}

.register-form .form-row input:focus {
  border-color: var(--ink);
}

.register-form .form-row::after {
  position: absolute;
  top: 50%;
  right: 19px;
  width: 18px;
  height: 18px;
  background: url('../assets/icons/check-green.svg') center / contain no-repeat;
  content: '';
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(.75);
  transition: opacity 180ms ease, transform 180ms ease;
}

.register-form .form-row:has(input:valid:not(:placeholder-shown))::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

#name { background: url('../assets/icons/user-dark.svg') 19px center / 18px no-repeat; }
#email { background: url('../assets/icons/email-dark.svg') 19px center / 18px no-repeat; }
#phone { background: url('../assets/icons/phone-dark.svg') 19px center / 18px no-repeat; }
#company { background: url('../assets/icons/company-dark.svg') 19px center / 18px no-repeat; }

.timeline time {
  font-size: 25px;
}

@media (min-width: 1024px) {
  .timeline time {
    font-size: 35px;
  }
}

.timeline h3 {
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.agenda-title-accent {
  color: var(--lime);
}

.agenda-person {
  color: var(--lime);
  font-weight: 700;
}

.agenda-company {
  color: var(--white);
  font-weight: 700;
}

.timeline p {
  line-height: 1.6;
}

.timeline p strong {
  color: var(--white);
  font-weight: 600;
}

.agenda-details p {
  margin: 0;
}

.agenda-details {
  font-size: 15px;
}

.agenda-details p + p,
.agenda-details p + .agenda-participants {
  margin-top: 8px;
}

.agenda-participants {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda-participants li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 15px 0;
  border: 0;
  background: transparent;
  transition: none;
}

.agenda-participants li:hover {
  background: transparent;
}

.agenda-speaker-icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  color: var(--lime);
}

.agenda-participant-text {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}

.timeline-dot {
  display: block;
  align-self: start;
  margin-top: 0;
}

.timeline > li {
  grid-template-columns: 18% 1fr 18px;
}

.timeline li {
  transition: background-color 220ms ease;
}

.timeline > li:hover {
  background-color: rgba(232, 255, 140, .08);
}

.timeline li > time,
.timeline li > div,
.timeline li > .timeline-dot {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms cubic-bezier(.2, .8, .2, 1);
}

.timeline li > div {
  transition-delay: 90ms;
}

.timeline li > .timeline-dot {
  transition-delay: 170ms;
}

.timeline li.is-visible > time,
.timeline li.is-visible > div,
.timeline li.is-visible > .timeline-dot {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .timeline li > time,
  .timeline li > div,
  .timeline li > .timeline-dot {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.timeline {
  border-top: 0;
}

.timeline li:last-child {
  border-bottom: 0;
}

.speaker-card {
  display: block;
  border-radius: 18px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease;
}

.speaker-card:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.speaker-card h3 {
  font-size: 20px;
}

.speaker-card p {
  font-size: 17px;
}

.linkedin-indicator {
  display: grid;
  width: 25px;
  height: 25px;
  margin: 0 18px 18px auto;
  place-items: center;
  background: url('../assets/icons/linkedin.svg') center / contain no-repeat;
}

.linkedin-indicator img {
  display: none;
}

.speaker-card img {
  width: calc(100% - 32px);
  aspect-ratio: 1 / 1;
  margin: 16px 16px 0;
  border-radius: 12px;
  object-fit: cover;
}

.speaker-card .linkedin-indicator img {
  display: none;
}

.speaker-card:hover {
  color: var(--ink);
  background: var(--lime);
}

.speaker-card:hover h3,
.speaker-card:hover p {
  color: var(--ink);
}

.speaker-card:hover .linkedin-indicator {
  background-image: url('../assets/icons/linkedin-dark.svg');
}

@media (min-width: 1024px) {
  .speaker-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .speaker-card img {
    height: 340px;
    aspect-ratio: auto;
  }
}

.intro-partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 110px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.intro-partner-group {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.intro-partner-group + .intro-partner-group {
  position: relative;
  border-left: 0;
  padding-left: 48px;
}

.intro-partner-group + .intro-partner-group::before {
  position: absolute;
  top: -24px;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--line);
  content: '';
}

.intro-partner-group p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.intro-partner-group img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.intro-partner-group:last-child img {
  height: 46px;
}

.footer-partners {
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}

.footer-contact {
  color: var(--lime);
  justify-self: start;
  width: fit-content;
  font-size: 25px;
  letter-spacing: -.06em;
}

.footer-top {
  grid-template-columns: 1fr auto;
}

.footer-top-link {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.footer-contact {
  transition: color 220ms ease;
}

.footer-contact:hover {
  color: var(--white);
}

.footer-top-link:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.language-switcher button {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
}

.language-switcher button.active {
  color: var(--ink);
  background: var(--lime);
  text-decoration: none;
}

.footer-partner-groups {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  gap: 50px;
  margin-left: auto;
}

.footer-partners > .brand {
  align-self: flex-start;
  margin-right: auto;
}

.footer-partners > .brand .brand-logo {
  width: 170px;
  max-width: none;
  max-height: none;
}

.footer-bottom small {
  font-size: 13px;
}

.footer-partners .intro-partner-group {
  min-height: 0;
  gap: 12px;
  justify-content: flex-start;
}

.footer-partners .intro-partner-group + .intro-partner-group {
  align-self: stretch;
  padding-left: 50px;
}

.footer-partners .intro-partner-group + .intro-partner-group::before {
  bottom: -26px;
}

.footer-partners .intro-partner-group img,
.footer-partners .intro-partner-group:last-child img {
  width: auto;
  max-width: 220px;
  height: 26px;
}

.footer-partners .intro-partner-group:last-child img {
  height: 32px;
}

nav a,
.language-switcher button,
.header-actions .button {
  font-size: 17px;
}

@media (max-width: 760px) {
  .site-header {
    height: 78px;
  }

  .site-header.is-compact {
    height: 68px;
  }

  .brand-logo {
    width: 128px;
  }

  .header-brand {
    width: 128px;
    height: 56px;
  }

  .header-brand .brand-logo-default,
  .site-header.is-compact .header-brand .brand-logo-default {
    width: 128px;
  }

  .header-brand .brand-logo-alt {
    width: 75px;
  }

  .site-header.is-compact .brand-logo {
    width: 90px;
  }

  #main-nav {
    top: 77px;
  }

  .site-header.is-compact #main-nav {
    top: 67px;
  }

  .hero {
    height: auto;
    min-height: max(720px, 100svh);
  }

  .hero-content {
    height: auto;
    min-height: max(720px, 100svh);
    padding-top: 130px;
    padding-bottom: 95px;
    justify-content: center;
  }

  .hero .eyebrow span:first-child {
    display: none;
  }

  .hero h1 {
    font-size: clamp(38px, calc(7.1vw - 5px), 100px);
  }

  .speaker-card img {
    max-height: 270px;
  }

  .intro-partners {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 60px;
    border-top: 0;
  }

  .timeline li {
    grid-template-columns: 80px 1fr 10px;
    column-gap: 18px;
  }

  .timeline > li {
    grid-template-columns: minmax(0, 1fr) 10px;
    row-gap: 12px;
  }

  .timeline > li > time {
    grid-column: 1;
    grid-row: 1;
  }

  .timeline > li > div {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .timeline > li > .timeline-dot {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .timeline .agenda-participants li {
    display: flex !important;
    grid-template-columns: none;
    column-gap: 8px;
    flex-wrap: nowrap;
  }

  .timeline .agenda-participants {
    display: block;
  }

  .intro-partner-group + .intro-partner-group {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 28px;
    padding-left: 0;
  }

  .intro-partner-group + .intro-partner-group::before {
    display: none;
  }

  .footer-partners {
    flex-direction: column;
    gap: 0;
  }

  .footer-partners > .brand {
    margin-bottom: 45px;
  }

  .footer-partner-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    align-items: stretch;
    width: 100%;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .footer-partner-groups::after {
    position: absolute;
    top: 0;
    right: auto;
    bottom: -26px;
    left: calc(50% + 10px);
    width: 1px;
    background: var(--line);
    content: '';
  }

  .footer-partners .intro-partner-group + .intro-partner-group {
    border-top: 0;
    border-left: 0;
    padding-top: 0;
    padding-left: 20px;
  }

  .footer-partners .intro-partner-group img,
  .footer-partners .intro-partner-group:last-child img {
    max-width: 100%;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .footer-contact {
    min-width: 0;
    font-size: clamp(12px, 4.5vw, 20px);
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .footer-top-link {
    justify-self: end;
  }
}
