/* Refinement layer: preserve the supplied Space Grotesk / cream / red design system. */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-600-latin.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --paper: #f1ede4;
  --ink: #16130f;
  --ink-soft: #2a2620;
  --muted: #8a8478;
  --signal: #cc0000;
  --signal-dark: #a30000;
  --focus: #07b9e3;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-button: 4px 4px 0 var(--ink);
  --shadow-card: 8px 8px 0 rgba(204, 0, 0, 0.17);
  --shadow-image: 6px 6px 0 rgba(22, 19, 15, 0.14);
}

html {
  scroll-padding-top: 136px;
  background: var(--paper);
}

body {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--signal);
  color: #fff;
}

[data-site-shell] {
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-family: var(--body) !important;
}

[data-site-shell] :where(h1, h2, h3, h4, p, li) {
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: translateY(-180%);
  transition: transform 150ms ease;
}

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

a,
button,
input,
select,
textarea {
  transition:
    color 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--focus) !important;
  outline-offset: 3px !important;
}

.site-header,
[data-site-shell] > header {
  border-top: 3px solid var(--signal);
}

.site-nav,
[data-site-shell] > header nav {
  width: 100%;
}

.nav-brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 15px;
}

.organiser-mark {
  display: grid;
  gap: 2px;
  padding-left: 15px;
  border-left: 1px solid rgba(22, 19, 15, 0.24);
  color: var(--ink);
  font-family: var(--mono);
  line-height: 1.05;
  white-space: nowrap;
}

.organiser-mark span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.organiser-mark strong {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.organiser-mark:hover {
  color: var(--signal);
  transform: translateX(2px);
}

.nav-links a[aria-current="page"] {
  color: var(--signal) !important;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero-octopus {
  position: absolute;
  right: max(-110px, -7vw);
  bottom: -80px;
  z-index: 1;
  display: block;
  width: clamp(260px, 31vw, 520px);
  height: auto;
  opacity: 0.13;
  pointer-events: none;
  transform: rotate(-8deg);
}

.site-footer {
  border-top: 3px solid var(--signal);
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px 20px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(230px, 1.15fr) minmax(330px, 1.45fr) minmax(180px, 0.75fr);
  gap: 44px;
  align-items: start;
}

.site-footer__brand {
  display: grid;
  gap: 18px;
}

.site-footer__home {
  display: inline-flex;
  width: min(220px, 100%);
}

.site-footer__home img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__brand p {
  max-width: 250px;
  margin: 0;
  color: #8a8478;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-footer__navs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.site-footer__navs nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.site-footer__navs a {
  color: #cbc4b6;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.35;
  transition: color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.site-footer__navs a:hover {
  color: #ff6b60;
  transform: translateX(2px);
}

.site-footer__eyebrow {
  color: #8a8478;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__presenter {
  display: grid;
  gap: 10px;
  justify-items: end;
  padding-left: 28px;
  border-left: 1px solid rgba(241, 237, 228, 0.14);
}

.site-footer__presenter-logo {
  display: grid;
  width: 170px;
  min-height: 126px;
  padding: 10px 14px;
  place-items: center;
  background: var(--paper);
  box-shadow: 5px 5px 0 rgba(204, 0, 0, 0.55);
}

.site-footer__presenter-logo img {
  display: block;
  width: 100%;
  height: 106px;
  object-fit: contain;
}

.site-footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(241, 237, 228, 0.12);
  color: #8a8478;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-content::before {
  content: none !important;
}

.hero-content {
  animation: hero-settle 560ms var(--ease-out) both;
}

.hero-bg {
  animation:
    hero-map-settle 900ms var(--ease-out) both,
    hero-map-drift 14s ease-in-out 900ms infinite alternate;
}

.hero-glitch-a,
.hero-glitch-b,
.hero-glitch-slice {
  will-change: opacity, transform, clip-path;
  pointer-events: none;
}

.schedule-live {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--focus);
  border-bottom: 1px solid rgba(241, 237, 228, 0.14);
  background: var(--ink);
  color: var(--paper);
}

.schedule-live::after {
  position: absolute;
  top: -76px;
  right: -48px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(7, 185, 227, 0.22);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 30px rgba(7, 185, 227, 0.045),
    0 0 0 60px rgba(7, 185, 227, 0.025);
  pointer-events: none;
}

.schedule-live > a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(130px, 0.55fr) minmax(300px, 1.55fr) auto;
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
  width: min(1100px, calc(100% - 64px));
  min-height: 164px;
  margin: 0 auto;
  padding: 30px 0;
}

.schedule-live-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--focus);
  font: 600 11px/1.3 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.schedule-live-kicker > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(204, 0, 0, 0.18);
  animation: schedule-status 3.2s ease-in-out infinite;
}

.schedule-live-copy {
  display: grid;
  gap: 7px;
}

.schedule-live-copy strong {
  font-size: clamp(31px, 4vw, 50px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.schedule-live-copy > span {
  color: #cbc4b6;
  font: 12px/1.45 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-live-action {
  padding: 12px 16px;
  border: 1px solid rgba(241, 237, 228, 0.42);
  border-radius: 2px;
  color: var(--paper);
  font: 500 12px/1.2 var(--mono);
  white-space: nowrap;
}

.schedule-live > a:hover .schedule-live-action {
  border-color: var(--focus);
  background: var(--focus);
  color: var(--ink);
  transform: translateX(3px);
}

.hero-glitch-a {
  animation: hero-glitch-a 32s var(--ease-out) infinite;
  mix-blend-mode: screen;
}

.hero-glitch-b {
  animation: hero-glitch-b 32s var(--ease-out) 120ms infinite;
  mix-blend-mode: multiply;
}

.hero-glitch-slice {
  animation: hero-glitch-slice 32s var(--ease-out) infinite;
}

.hero-actions a,
.site-nav a[href*="humanitix"],
#sponsors a[href^="mailto:"],
.sched-days button {
  box-shadow: var(--shadow-button);
}

.hero-schedule-action {
  background: rgba(241, 237, 228, 0.9);
  box-shadow: var(--shadow-button);
  font-weight: 600;
}

.hero-schedule-action::before {
  margin-right: 8px;
  color: var(--focus);
  content: "●";
  font-size: 9px;
}

.hero-actions a:hover,
.site-nav a[href*="humanitix"]:hover,
#sponsors a[href^="mailto:"]:hover,
.sched-days button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.hero-actions a:active,
.site-nav a[href*="humanitix"]:active,
#sponsors a[href^="mailto:"]:active,
.sched-days button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  transition-duration: 80ms;
}

.speaker-grid {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.speaker-card {
  position: relative;
  height: 100%;
  min-height: 330px !important;
  border-top: 3px solid var(--signal);
  box-shadow: var(--shadow-card);
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}

.speaker-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 rgba(204, 0, 0, 0.22);
}

.speaker-identity {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 14px;
}

.speaker-avatars {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.speaker-avatar {
  display: block;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border: 1px solid rgba(241, 237, 228, 0.2);
  border-radius: 50%;
  overflow: hidden;
  background: #2a2620;
}

.speaker-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.speaker-avatar-image--hammond {
  transform: scale(5.5);
  transform-origin: 50% 29%;
}

.speaker-avatars--group .speaker-avatar {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
}

.speaker-avatars--compact {
  gap: 6px;
}

.speaker-avatars--compact .speaker-avatar {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.speaker-avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font: 500 16px/1 var(--mono);
  letter-spacing: 0.04em;
}

.speaker-avatars--compact .speaker-avatar--initials {
  font-size: 14px;
}

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

.speaker-motif {
  position: absolute;
  z-index: 0;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.speaker-motif--upper {
  bottom: -58px;
  left: -46px;
  width: 176px;
  opacity: 0.34;
  transform: rotate(12deg) scaleX(-1);
}

.speaker-motif--lower {
  right: -52px;
  bottom: -64px;
  width: 184px;
  opacity: 0.34;
  transform: rotate(-8deg);
}

.speaker-card > :not(.speaker-motif) {
  position: relative;
  z-index: 1;
}

.sponsor-kicker {
  margin: 0 0 16px;
  color: var(--muted);
  font: 600 12px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.sponsor-showcase {
  display: grid;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.sponsor-lead {
  position: relative;
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  padding: 38px 32px;
  overflow: hidden;
  border: 1px solid rgba(22, 19, 15, 0.16);
  border-top: 3px solid var(--signal);
  border-radius: 3px;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(204, 0, 0, 0.18);
  color: inherit;
  text-decoration: none;
}

.sponsor-lead img {
  display: block;
  width: min(420px, 72%);
  max-height: 116px;
  object-fit: contain;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.sponsor-tile {
  position: relative;
  display: flex;
  min-width: 0;
  height: 150px;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(22, 19, 15, 0.16);
  border-radius: 3px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(22, 19, 15, 0.13);
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out),
    border-color 200ms ease;
}

.sponsor-tile:hover {
  border-color: rgba(204, 0, 0, 0.42);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(204, 0, 0, 0.18);
}

.sponsor-tile img {
  display: block;
  width: 82%;
  max-width: 82%;
  height: 72px;
  object-fit: contain;
}

.sponsor-tile--dark {
  background: var(--ink);
}

.sponsor-tile--vigilant img {
  height: 98px;
}

.sponsor-tile--media {
  padding-bottom: 42px;
}

.sponsor-tile--media img {
  max-width: 88%;
  height: 64px;
}

.sponsor-role {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 7px 10px;
  background: var(--ink);
  color: var(--paper);
  font: 600 9px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

[data-page="committee"] main > section:nth-child(2) img,
.venue-photo,
.nearby-photo,
.not-found img {
  box-shadow: var(--shadow-image);
  transition:
    filter 240ms ease-out,
    transform 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out);
}

[data-page="committee"] main > section:nth-child(2) > div:hover > img,
.venue-visual:hover .venue-photo,
.nearby-photo:hover,
.not-found img:hover {
  filter: grayscale(0) !important;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(22, 19, 15, 0.18);
}

.venue-lockup {
  box-shadow: none !important;
}

#accommodation iframe {
  min-height: 440px;
  box-shadow: var(--shadow-image);
}

[data-page="conduct"] main > section:nth-child(2) > div {
  box-shadow: 5px 5px 0 rgba(204, 0, 0, 0.14);
}

.sched-days button {
  font-family: var(--mono) !important;
}

.page-intro {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 32px 36px;
}

.page-intro h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.page-intro h1 span,
.tba {
  color: var(--signal);
}

.page-intro > p:first-of-type {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.schedule-note {
  margin: 0;
  color: var(--muted);
  font: 13px/1.55 var(--mono);
}

.sched-days {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.day-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.day-tabs button {
  padding: 12px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.day-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.schedule-panel[hidden] {
  display: none;
}

.schedule-panel:not([hidden]) {
  animation: day-settle 320ms var(--ease-out) both;
}

.sched-days .slot {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(22, 19, 15, 0.15);
}

.sched-days .slot strong {
  display: block;
  font-size: 17px;
  line-height: 1.4;
}

.slot-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.sched-days .slot .who {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.sched-days .location {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.88em;
}

.sched-days :where(.t, .tag, .tba) {
  font-family: var(--mono);
}

.sched-days .t {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.sched-days .tag {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}

.sched-days .slot-talk {
  cursor: pointer;
  list-style: none;
  transition:
    background-color 180ms ease-out,
    transform 180ms var(--ease-out);
}

.sched-days .slot-talk::-webkit-details-marker {
  display: none;
}

.sched-days .slot-talk:hover {
  background: rgba(204, 0, 0, 0.035);
  transform: translateX(3px);
}

.talk-details {
  border: 0;
}

.talk-details[open] > .slot-talk {
  background: rgba(204, 0, 0, 0.045);
}

.talk-details .tag::after {
  content: "  +";
  color: var(--signal);
  font-weight: 700;
}

.talk-details[open] .tag::after {
  content: "  −";
}

.talk-abstract {
  margin: 0 0 8px 112px;
  padding: 18px 20px;
  border-left: 2px solid var(--signal);
  background: rgba(255, 255, 255, 0.34);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
  animation: abstract-open 260ms var(--ease-out) both;
}

.talk-abstract p {
  margin: 0 0 1em;
}

.talk-abstract p:last-child {
  margin-bottom: 0;
}

.slot-featured strong,
.slot-party strong,
.slot-talk strong {
  color: var(--signal);
}

.coc :where(p, li) {
  max-width: 76ch;
}

#faq a {
  overflow-wrap: anywhere;
}

.not-found {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  width: min(1120px, calc(100vw - 64px));
  margin: 0 auto;
}

.not-found img {
  width: min(520px, 100%);
  height: auto;
}

.not-found h1 {
  margin: 0 0 16px;
  color: var(--signal);
  font-family: var(--body);
  font-size: clamp(70px, 11vw, 144px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.not-found p {
  margin: 0 0 20px;
  font-size: 18px;
}

.not-found a {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 13px;
  border-bottom: 1px solid rgba(204, 0, 0, 0.4);
}

.map-shell {
  position: relative;
  height: 100%;
}

.venue-map-frame {
  width: 100%;
  height: clamp(520px, 48vw, 580px);
  border: 1px solid rgba(22, 19, 15, 0.2);
  border-radius: 3px;
  margin-top: 24px;
  display: block;
  background: var(--paper-soft);
}

@media (max-width: 760px) {
  .venue-map-frame {
    height: 430px;
  }
}

@keyframes schedule-status {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.86);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hero-settle {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-map-settle {
  from {
    opacity: 0.72;
    transform: scale(1.015);
  }

  to {
    opacity: 0.9;
    transform: scale(1);
  }
}

@keyframes hero-map-drift {
  from {
    opacity: 0.9;
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    opacity: 0.84;
    transform: translate3d(3px, -2px, 0) scale(1.012);
  }
}

/* One soft RGB separation near the end of a long, quiet loop. */
@keyframes hero-glitch-a {
  0%, 96.4%, 98.2%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  97.1% {
    opacity: 0.16;
    transform: translate3d(-4px, 1px, 0);
  }
}

@keyframes hero-glitch-b {
  0%, 96.5%, 98.25%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  97.15% {
    opacity: 0.12;
    transform: translate3d(4px, -1px, 0);
  }
}

@keyframes hero-glitch-slice {
  0%, 96.45%, 98.3%, 100% {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
    transform: translateX(0);
  }

  97.2% {
    clip-path: inset(48% 0 43% 0);
    opacity: 0.2;
    transform: translateX(3px);
  }
}

@keyframes section-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes component-reveal {
  from {
    clip-path: inset(0 0 10% 0);
    opacity: 0;
  }

  to {
    clip-path: inset(0);
    opacity: 1;
  }
}

@keyframes abstract-open {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes day-settle {
  from {
    opacity: 0;
    transform: translateX(6px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@supports (animation-timeline: view()) {
  #event-details > h2,
  #speakers > div:first-child,
  #sponsors > h2,
  #venue h2,
  #accommodation > h2,
  #faq > h2,
  #contact > h2,
  .page-intro > * {
    animation: section-reveal linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 28%;
  }

  .speaker-card,
  .sponsor-lead,
  .sponsor-tile,
  [data-page="committee"] main > section:nth-child(2) > div > img,
  .venue-photo,
  .nearby-photo,
  .not-found img {
    animation: component-reveal linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 30%;
  }

  .speaker-card:nth-child(3n + 2),
  .sponsor-tile:nth-child(3n + 2) {
    animation-range: entry 12% cover 34%;
  }

  .speaker-card:nth-child(3n),
  .sponsor-tile:nth-child(3n) {
    animation-range: entry 16% cover 38%;
  }
}

/* The retained Schedule link adds one destination to the supplied nav.
   Collapse the duplicate social-icon cluster slightly earlier so the
   original single-row treatment still fits common laptop widths. */
@media (max-width: 1360px) {
  [data-site-shell] > header nav > div {
    gap: 18px !important;
  }

  .nav-links {
    gap: 18px !important;
  }

  .nav-social,
  .nav-divider {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-octopus {
    right: -90px;
    bottom: -45px;
    width: clamp(240px, 45vw, 360px);
    opacity: 0.1;
  }
}

@media (max-width: 800px) {
  .site-nav,
  [data-site-shell] > header nav {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .site-nav > div:last-of-type,
  [data-site-shell] > header nav > div:last-of-type {
    display: contents !important;
  }

  .site-nav a[href*="humanitix"],
  [data-site-shell] > header nav a[href*="humanitix"] {
    order: 1;
  }

  .nav-links {
    order: 2;
    flex: 1 1 100%;
    min-width: 0;
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    gap: 18px !important;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    white-space: nowrap !important;
  }

  .schedule-live > a {
    grid-template-columns: 1fr auto;
  }

  .schedule-live-kicker {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .faq-grid > div {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .schedule-live > a {
    grid-template-columns: 1fr;
    gap: 20px;
    width: calc(100% - 40px);
    padding-block: 34px;
  }

  .schedule-live-action {
    width: fit-content;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 170px;
  }

  .not-found {
    grid-template-columns: 1fr;
    width: calc(100vw - 40px);
    gap: 20px;
    padding-block: 40px;
  }

  .not-found img {
    width: min(300px, 78vw);
    margin: 0 auto;
  }

  .speaker-grid {
    grid-auto-rows: auto;
  }

  .speaker-card {
    min-height: 300px !important;
    box-shadow: 6px 6px 0 rgba(204, 0, 0, 0.16);
  }

  .speaker-motif--upper {
    bottom: -116px;
    left: -42px;
    width: 164px;
  }

  .speaker-motif--lower {
    right: -46px;
    bottom: -108px;
    width: 170px;
  }

  .site-footer__inner {
    padding: 40px 24px 20px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-footer__navs {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__presenter {
    justify-items: start;
    padding: 28px 0 0;
    border-top: 1px solid rgba(241, 237, 228, 0.14);
    border-left: 0;
  }

  .site-footer__meta {
    flex-direction: column;
    gap: 8px;
  }

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

  .sponsor-showcase {
    max-width: 360px;
  }

  .sponsor-lead {
    min-height: 190px;
    padding-inline: 20px;
  }

  .sponsor-lead img {
    width: min(280px, 78%);
  }

  .sched-days .slot {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
  }

  .sched-days .slot > .t {
    grid-column: 1 / -1;
  }

  .talk-abstract {
    margin-left: 0;
  }

  .day-tabs {
    flex-direction: column;
  }

  .day-tabs button {
    width: 100%;
  }

  [data-page="committee"] main > section:nth-child(2) > div {
    display: block !important;
  }

  [data-page="committee"] main > section:nth-child(2) img {
    width: 132px !important;
    height: 132px !important;
    margin-bottom: 22px;
  }

  [data-page="committee"] main > section:nth-child(2) a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  .site-nav,
  [data-site-shell] > header nav {
    padding: 16px !important;
  }

  .site-nav a[href*="humanitix"],
  [data-site-shell] > header nav a[href*="humanitix"] {
    padding: 9px 14px !important;
  }

  .site-nav img,
  [data-site-shell] > header nav img {
    height: 22px !important;
  }

  .nav-brand {
    gap: 10px;
  }

  .organiser-mark {
    gap: 1px;
    padding-left: 10px;
  }

  .organiser-mark span {
    font-size: 7px;
  }

  .organiser-mark strong {
    font-size: 9px;
  }

  .site-header > div > a {
    gap: 6px 12px !important;
    padding: 8px 16px !important;
  }

  .site-header > div > a > span:last-child {
    font-size: 11px !important;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-content,
  .hero-bg,
  .hero-glitch-a,
  .hero-glitch-b,
  .hero-glitch-slice,
  .schedule-live-kicker > span,
  .speaker-card,
  .sponsor-lead,
  .sponsor-tile,
  [data-page="committee"] main > section:nth-child(2) > div > img,
  .venue-photo,
  .nearby-photo,
  .not-found img,
  .talk-abstract,
  .schedule-panel,
  #event-details > h2,
  #speakers > div:first-child,
  #sponsors > h2,
  #venue h2,
  #accommodation > h2,
  #faq > h2,
  #contact > h2,
  .page-intro > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
