* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 Arial, Helvetica, sans-serif;
}

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

a {
  color: var(--brand-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

[hidden] {
  display: none !important;
}

:where(a[href], button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid #1479b8;
  outline-offset: 3px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 20px;
}

.preview-ribbon {
  position: sticky;
  top: 60px;
  z-index: 90;
  background: #251437;
  color: #fff;
  padding: 7px 0;
  font-weight: 700;
}

.preview-ribbon__inner {
  display: flex;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-inline: 20px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.preview-ribbon__inner form {
  flex: 0 0 auto;
  margin: 0;
}

.preview-ribbon__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.preview-ribbon__publish,
.preview-ribbon__restore {
  min-height: 34px;
  border: 1px solid #fff;
  border-radius: 6px;
  padding: 7px 11px;
  font: inherit;
  cursor: pointer;
}

.preview-ribbon__publish {
  background: #fff;
  color: #251437;
}

.preview-ribbon__restore {
  background: transparent;
  color: #fff;
}

.preview-ribbon__publish:hover:not(:disabled) {
  background: #f3edf7;
}

.preview-ribbon__restore:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
}

.preview-ribbon__publish:disabled,
.preview-ribbon__restore:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.preview-ribbon__publish:focus-visible,
.preview-ribbon__restore:focus-visible {
  outline: 3px solid #f56600;
  outline-offset: 2px;
}

.preview-shell-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #e5e3df;
}

.preview-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}

.preview-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 8px max(16px, calc((100% - 1440px) / 2 + 20px));
  background: #251437;
  color: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.24);
}

.preview-toolbar__status {
  display: grid;
  flex: 0 1 auto;
  line-height: 1.25;
}

.preview-toolbar__status strong {
  font-size: 0.92rem;
}

.preview-toolbar__status span {
  color: #ded4e6;
  font-size: 0.76rem;
}

.preview-toolbar__controls,
.preview-toolbar__actions,
.preview-device-controls,
.preview-device-segments {
  display: flex;
  align-items: center;
}

.preview-toolbar__controls {
  min-width: 0;
  justify-content: flex-end;
  gap: 18px;
}

.preview-toolbar__actions {
  gap: 8px;
}

.preview-toolbar__actions form {
  flex: 0 0 auto;
  margin: 0;
}

.preview-device-controls {
  gap: 8px;
}

.preview-device-controls__label {
  color: #ded4e6;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.preview-device-segments {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 6px;
}

.preview-device-segments button {
  min-height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  padding: 7px 11px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.preview-device-segments button + button {
  border-left: 1px solid rgba(255, 255, 255, 0.48);
}

.preview-device-segments button[aria-pressed="true"] {
  background: #fff;
  color: #251437;
}

.preview-device-segments button:hover:not([aria-pressed="true"]) {
  background: rgba(255, 255, 255, 0.14);
}

.preview-device-segments button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid #f56600;
  outline-offset: -3px;
}

.preview-toolbar__editor {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 6px;
  color: #fff;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.preview-toolbar__editor:hover {
  background: rgba(255, 255, 255, 0.14);
}

.preview-toolbar__editor:focus-visible {
  outline: 3px solid #f56600;
  outline-offset: 2px;
}

.preview-stage {
  display: flex;
  min-height: 0;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
  background: #d9d7d2;
}

.preview-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  border: 0;
  background: #fff;
}

.preview-stage[data-preview-device="mobile"] {
  padding: 18px;
}

.preview-stage[data-preview-device="mobile"] .preview-frame {
  width: 390px;
  height: 844px;
  flex: 0 0 390px;
  border: 1px solid #9f9b94;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.lifecycle-notice {
  border-bottom: 1px solid #dfd8e5;
  background: #f3edf7;
  color: #2f193f;
}

.lifecycle-notice__inner {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.lifecycle-notice a {
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.64) 78%),
    var(--hero-image) center / cover no-repeat;
}

.hero__content {
  padding-block: 56px 46px;
}

.event-utilities {
  position: absolute;
  top: 20px;
  left: max(20px, calc((100% - 1120px) / 2 + 20px));
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.event-share__trigger {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: rgba(20, 20, 24, 0.48);
  color: #fff;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.event-share {
  position: static;
}

.event-share__trigger {
  width: 34px;
  padding: 0;
  list-style: none;
  cursor: pointer;
}

.event-share__trigger::-webkit-details-marker {
  display: none;
}

.event-share__icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-share__trigger:hover,
.event-share[open] .event-share__trigger {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(20, 20, 24, 0.7);
}

.event-share__trigger:focus-visible {
  outline: 3px solid #f56600;
  outline-offset: 2px;
}

.event-share__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  width: 220px;
  overflow: hidden;
  border: 1px solid #ddd8d1;
  border-radius: 8px;
  background: #fff;
  color: #1b1b1f;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.event-share__menu a,
.event-share__menu button {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #ece9e4;
  border-radius: 0;
  background: #fff;
  color: #2f193f;
  padding: 9px 12px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.event-share__menu [hidden] {
  display: none;
}

.event-share__menu a:hover,
.event-share__menu button:hover {
  background: #f6f2f8;
}

.event-share__menu a:focus-visible,
.event-share__menu button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid #f56600;
  outline-offset: -3px;
}

.event-share__status {
  display: block;
  min-height: 0;
  color: #3d2450;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.event-share__status:not(:empty) {
  min-height: 34px;
  padding: 8px 12px;
  background: #f3edf7;
}

.eyebrow {
  display: inline-block;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0.7rem 0 0;
  max-width: 820px;
  font-size: clamp(2rem, 3.8vw, 3.45rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.sub {
  margin: 0.8rem 0 0;
  max-width: 760px;
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 700;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #bd4e06;
  color: #fff;
  font-weight: 700;
  padding: 11px 16px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hosts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: -30px;
  margin-bottom: 26px;
  padding-block: 16px;
  border: 1px solid #e7e4df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.host-logo {
  display: grid;
  width: min(285px, 42vw);
  min-height: 76px;
  place-items: center;
  padding: 12px 18px;
  border: 1px solid #ece9e4;
  border-radius: 8px;
  background: #fafafa;
}

.host-logo img {
  max-height: 66px;
  width: auto;
  object-fit: contain;
}

.sponsor-section {
  margin-block: 24px;
}

.sponsor-section h2,
.card h2 {
  margin: 0 0 14px;
  font-size: 1.32rem;
  line-height: 1.25;
}

.premier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid #e8e5df;
  border-radius: 8px;
  background: #fff;
}

.logo-tile {
  display: grid;
  min-height: 122px;
  place-items: center;
  overflow: hidden;
  padding: 14px;
  border: 1px solid #eeece7;
  border-radius: 8px;
  background: #fff;
}

.logo-tile img {
  max-height: 86px;
  width: auto;
  object-fit: contain;
  transform-origin: center;
  transition: transform 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .logo-tile:hover img {
    transform: scale(1.5);
  }
}

.sponsor-carousel {
  overflow: hidden;
  padding: 14px 0;
  border-block: 1px solid #e3e0da;
}

.sponsor-track {
  display: flex;
  gap: 18px;
  min-height: 112px;
  align-items: center;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.sponsor-track .slogo {
  flex: 0 0 auto;
  display: grid;
  width: 190px;
  height: 90px;
  place-items: center;
  padding: 12px;
  border: 1px solid #ece9e4;
  border-radius: 8px;
  background: #fff;
  contain: layout paint;
}

.sponsor-carousel img {
  max-height: 68px;
  width: auto;
  object-fit: contain;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  margin-block: 34px;
}

.card {
  grid-column: span 12;
  padding: 22px;
  border: 1px solid #e8e5df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.span-6,
.span-12 {
  grid-column: span 12;
}

.pill,
.timepill {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0 0 12px;
  border: 1px solid #ded6e9;
  border-radius: 999px;
  background: #f3eef8;
  color: #332044;
  font-weight: 700;
  padding: 7px 12px;
  text-align: center;
}

.pill > span,
.timepill > span,
.eyebrow > span {
  display: block;
  min-width: 0;
  line-height: 1.35;
  text-align: center;
}

.detail-list {
  display: grid;
  gap: 12px;
}

.key {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
}

.key i {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
}

.schedule {
  display: grid;
  gap: 12px;
}

.slot {
  display: grid;
  grid-template-columns: minmax(110px, 160px) 1fr;
  gap: 12px;
  padding: 12px 14px;
  border: 1px dashed #dedbd5;
  border-radius: 8px;
  background: #fff;
}

.time {
  font-weight: 700;
}

.desc,
.note {
  color: var(--muted);
}

.note {
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.downloads-intro {
  margin: -2px 0 14px;
  color: var(--muted);
}

.download-list {
  display: grid;
  border-top: 1px solid #e5e1da;
}

.download-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid #e5e1da;
  color: var(--ink);
  text-decoration: none;
}

.download-item:hover {
  background: #faf9f6;
}

.download-item:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
}

.download-type {
  display: grid;
  min-height: 40px;
  place-items: center;
  border: 1px solid #d8cce2;
  border-radius: 6px;
  background: #f3edf7;
  color: var(--brand-accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.download-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.download-copy > span,
.download-copy small {
  color: var(--muted);
}

.download-copy small {
  overflow-wrap: anywhere;
}

.download-action {
  color: var(--brand-accent);
  font-weight: 800;
}

.keynote {
  display: grid;
  gap: 18px;
}

.headshot {
  overflow: hidden;
  width: min(220px, 100%);
  border-radius: 8px;
  background: #f1efeb;
}

.headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meta h3 {
  margin: 0;
  font-size: 1.35rem;
}

.role {
  margin: 2px 0 10px;
  color: var(--muted);
  font-weight: 700;
}

.past-collage {
  overflow: hidden;
  margin-top: 14px;
  border-radius: 8px;
  border: 1px solid #ebe8e2;
  background: #f4f1ea;
}

.past-collage img {
  width: 100%;
  height: auto;
}

.credits-wrap {
  margin-top: 22px;
}

.credits-wrap h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.credits {
  position: relative;
  height: 210px;
  overflow: hidden;
  border: 1px solid #e7e4df;
  border-radius: 8px;
  background: linear-gradient(#fff 0%, #fbfaf7 100%);
}

.credits::before,
.credits::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 42px;
  pointer-events: none;
}

.credits::before {
  top: 0;
  background: linear-gradient(#fff, rgba(255, 255, 255, 0));
}

.credits::after {
  bottom: 0;
  background: linear-gradient(rgba(255, 255, 255, 0), #fbfaf7);
}

.credits .track {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  list-style: none;
}

.credit {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #efede7;
}

.contacts {
  display: grid;
  gap: 12px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(150px, 240px) 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid #ece9e4;
  border-radius: 8px;
  background: #fff;
}

.contact a {
  color: #003366;
  font-weight: 700;
}

.contact__details {
  overflow-wrap: anywhere;
}

.contact__separator {
  color: var(--muted);
}

.extension-footer {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.site-footer {
  margin-top: 28px;
  background: var(--bg);
  color: var(--muted);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  border-top: 1px solid #d8d8d2;
}

.site-footer span {
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--brand-accent);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (min-width: 820px) {
  .span-6 {
    grid-column: span 6;
  }

  .span-12 {
    grid-column: span 12;
  }

  .keynote {
    grid-template-columns: 220px 1fr;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .preview-ribbon__inner {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding-inline: 16px;
    font-size: 0.78rem;
    line-height: 1.3;
    text-align: center;
  }

  .preview-ribbon__actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .preview-ribbon__publish,
  .preview-ribbon__restore {
    min-height: 32px;
    padding: 6px 9px;
    white-space: nowrap;
  }

  .hero {
    min-height: 64vh;
    background-attachment: scroll;
  }

  .event-utilities {
    top: 14px;
    left: 16px;
  }

  .wrap {
    padding-inline: 16px;
  }

  .hosts {
    margin-inline: 12px;
  }

  .host-logo {
    width: min(100%, 310px);
  }

  .lifecycle-notice__inner {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding-block: 8px;
  }

  .slot,
  .contact {
    grid-template-columns: 1fr;
  }

  .download-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .download-action {
    grid-column: 2;
  }

  .site-footer__inner {
    display: grid;
    gap: 8px;
    padding-block: 18px;
    text-align: left;
  }

  .site-footer span {
    font-size: 0.76rem;
    line-height: 1.35;
  }
}

@media (max-width: 760px) {
  .preview-toolbar {
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 12px;
    padding: 7px 12px;
    text-align: center;
  }

  .preview-toolbar__status span,
  .preview-device-controls {
    display: none;
  }

  .preview-toolbar__controls,
  .preview-toolbar__actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
  }

  .preview-stage,
  .preview-stage[data-preview-device="mobile"] {
    padding: 0;
  }

  .preview-stage[data-preview-device="mobile"] .preview-frame {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .logo-tile img {
    transition: none;
  }
}
