/* Event Modeling Conference – based on design round 3 (A3 "Pinboard", logo L2a "Stack") */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/BricolageGrotesque-Variable-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-Variable-latin.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #15171C;
  --ink-hover: #2B2F37;
  --text: #353A43;
  --muted: #555B66;
  --muted-on-dark: #B9BEC7;
  --text-on-dark: #D5D8DE;
  --ground: #F3F4F1;
  --dot: #D3D6DB;
  --line: #E3E6EA;
  --line-strong: #D9DCE1;
  --white: #FFFFFF;

  --orange: #FFA348;
  --lilac: #C7B5F7;
  --blue: #86C0F2;
  --green: #93D18F;
  --yellow: #FFD45C;

  --font-sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1280px;
  --gutter: 32px;
  --section: 104px;

  --shadow-note: 0 20px 26px -18px rgba(21, 23, 28, 0.55);
  --shadow-photo: 0 24px 40px -24px rgba(21, 23, 28, 0.55);

  color-scheme: light;
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
    --section: 64px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.on-dark :focus-visible {
  outline-color: var(--white);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
}

/* Type ------------------------------------------------------------------- */

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.display {
  margin: 0;
  font-size: clamp(42px, 6.6vw, 100px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.h2 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.h2--small {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.05;
}

.h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 780;
}

.lead {
  margin: 0;
  max-width: 540px;
  font-size: 21px;
  color: var(--text);
}

.intro {
  margin: 0;
  max-width: 560px;
  font-size: 19px;
  color: var(--text);
}

@media (max-width: 720px) {
  .lead {
    font-size: 18px;
  }

  .intro {
    font-size: 17px;
  }
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--ink-hover);
  border-color: var(--ink-hover);
}

.btn--secondary {
  background: var(--white);
  color: var(--ink);
}

.btn--secondary:hover {
  background: var(--ground);
}

.btn--accent {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  font-weight: 700;
}

.btn--accent:hover {
  background: #FFB66B;
  border-color: #FFB66B;
}

.btn--small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 16px;
}

.btn--block {
  display: flex;
  width: 100%;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 720px) {
  .actions .btn {
    width: 100%;
  }
}

/* Logo mark -------------------------------------------------------------- */

/* The mark lives in one file, assets/images/mark.svg, so swapping the logo
   means swapping that file and the favicon. */

.mark {
  width: 39px;
  height: 34px;
  flex-shrink: 0;
}

.mark--small {
  width: 30px;
  height: 26px;
}

@media (max-width: 960px) {
  .site-header .mark {
    width: 33px;
    height: 29px;
  }
}

/* Header ----------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  text-decoration: none;
}

.brand__name {
  font-size: 19px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px 24px;
  font-size: 16px;
  font-weight: 500;
}

.nav__links {
  display: flex;
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  text-decoration: none;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.lang {
  display: inline-flex;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--muted);
  text-decoration: none;
}

.lang a:hover {
  color: var(--ink);
}

.lang a[aria-current="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.lang__long {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle .icon-close {
  display: none;
}

@media (max-width: 960px) {
  .site-header__inner {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-header {
    border-bottom: 1px solid var(--line);
  }

  .brand__name {
    font-size: 16px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
  }

  .site-header.is-open .menu-toggle {
    background: var(--ink);
    color: var(--white);
  }

  .site-header.is-open .menu-toggle .icon-open {
    display: none;
  }

  .site-header.is-open .menu-toggle .icon-close {
    display: block;
  }

  /* The menu opens where it was opened, under the bar with its symbol, and
     scrolls rather than growing beyond most of the screen, which a phone
     held sideways would otherwise need. */
  .site-header.is-open .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 70dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 30px 40px -30px rgba(21, 23, 28, 0.35);
  }

  .site-header.is-open .nav__links {
    flex-direction: column;
    gap: 0;
  }

  .site-header.is-open .nav__links a {
    display: flex;
    min-height: 60px;
    border-bottom: 1px solid var(--line);
    font-size: 26px;
    font-weight: 780;
    letter-spacing: -0.03em;
  }

  .site-header.is-open .nav__links a::before {
    content: "";
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    border-radius: 2px;
    background: var(--orange);
  }

  .site-header.is-open .nav__links li:nth-child(2) a::before { background: var(--blue); }
  .site-header.is-open .nav__links li:nth-child(3) a::before { background: var(--green); }
  .site-header.is-open .nav__links li:nth-child(4) a::before { background: var(--lilac); }
  .site-header.is-open .nav__links li:nth-child(5) a::before { background: var(--yellow); }

  .site-header.is-open .lang {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 16px;
  }

  .site-header.is-open .lang a {
    min-height: 48px;
    color: var(--ink);
  }

  .site-header.is-open .lang a[aria-current="true"] {
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
  }

  .site-header.is-open .lang__short {
    display: none;
  }

  .site-header.is-open .lang__long {
    display: inline;
  }

  .site-header.is-open .nav .btn {
    width: 100%;
  }
}

/* Under a finger, the page behind the open menu is dimmed and blurred. The
   dimming catches the tap beside the menu that is meant to close it, which
   would otherwise also hit whatever lies beneath. It sits below the bar, so
   that the symbol the menu hangs from stays visible, and a second tap on it
   closes the menu. */
@media (max-width: 960px) and (pointer: coarse) {
  .site-header.is-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(21, 23, 28, 0.35);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
}

/* Hero ------------------------------------------------------------------- */

/* The headline runs across the full width, so that longer German copy
   stays at two or three lines instead of breaking word by word. */

.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 48px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero .display {
  max-width: 13em;
}

.hero__aside {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
}

@media (max-width: 720px) {
  .hero {
    gap: 20px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .hero__text {
    gap: 18px;
  }

  .hero__aside {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* Notes (sticky notes) --------------------------------------------------- */

.note {
  border-radius: 3px;
  box-shadow: var(--shadow-note);
  color: var(--ink);
  transform: rotate(var(--tilt, 0deg));
}

.note--orange { background: var(--orange); }
.note--lilac { background: var(--lilac); }
.note--blue { background: var(--blue); }
.note--green { background: var(--green); }
.note--yellow { background: var(--yellow); }

.note__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.note__value {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Wall (pinboard collage) ------------------------------------------------ */

.wall-section {
  padding-bottom: var(--section);
}

.wall {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1216 / 600;
  overflow: hidden;
  border-radius: 24px;
  background-color: var(--ground);
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.4px);
  background-size: 22px 22px;
}

.wall__photo,
.wall__note {
  position: absolute;
}

.wall__photo {
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-photo);
  transform: rotate(var(--tilt, 0deg));
}

.wall__note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(10px, 1.3cqw, 16px);
}

.wall__note .note__label {
  font-size: clamp(10px, 0.9cqw, 11px);
}

.wall__note .note__value {
  font-size: clamp(16px, 1.97cqw, 24px);
}

.wall .p1 { left: 4%; top: 8%; width: 45%; height: 63.3%; --tilt: -1.5deg; }
.wall .p2 { left: 52%; top: 6%; width: 26%; height: 38.3%; --tilt: 2deg; }
.wall .p3 { left: 76%; top: 25%; width: 20%; height: 55%; --tilt: -2.5deg; }
.wall .p4 { left: 46%; top: 53.3%; width: 28%; height: 38.3%; --tilt: 1.2deg; }
.wall .n1 { left: 6%; top: 66.7%; width: 15.6%; height: 25%; --tilt: -4deg; }
.wall .n2 { left: 31%; top: 73.3%; width: 14%; height: 21.7%; --tilt: 3deg; }
.wall .n3 { left: 71%; top: 3.7%; width: 14%; height: 21.7%; --tilt: -3deg; }
.wall .n4 { left: 78%; top: 78.3%; width: 14.8%; height: 17.3%; --tilt: 2.5deg; }

.wall__caption {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

@media (max-width: 760px) {
  .wall {
    aspect-ratio: 350 / 330;
    border-radius: 20px;
    background-size: 20px 20px;
  }

  .wall .p3,
  .wall .p4,
  .wall .n1,
  .wall .n3,
  .wall .n4 {
    display: none;
  }

  .wall .p1 { left: 6%; top: 7%; width: 74%; height: 58%; --tilt: -2deg; }
  .wall .p2 { left: 45%; top: 45%; width: 50%; height: 42%; --tilt: 3deg; }
  .wall .n2 { left: 7%; top: 59%; width: 37%; height: 31.5%; --tilt: -4deg; }

  .wall__note .note__value {
    font-size: 20px;
  }
}

/* Sections --------------------------------------------------------------- */

.section {
  padding-top: var(--section);
  padding-bottom: var(--section);
}

.section--ground {
  background: var(--ground);
}

.section--wall {
  background-color: var(--ground);
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.4px);
  background-size: 22px 22px;
}

.section--dark {
  background: var(--ink);
  color: var(--white);
}

.section--rule {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 24px 64px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 48px;
  margin-bottom: 48px;
}

.section-head__title {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

@media (max-width: 720px) {
  .section-head,
  .section-head--split {
    margin-bottom: 32px;
  }

  .section-head__title {
    gap: 12px;
  }
}

/* Topics ----------------------------------------------------------------- */

.topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 240px;
  padding: 24px;
}

.topic .note__label {
  font-size: 12px;
}

.topic__name {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.topic__text {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .topics {
    gap: 18px;
  }

  .topic {
    min-height: 0;
    gap: 12px;
    padding: 20px;
  }

  .topic__name {
    font-size: 26px;
  }
}

/* Format ----------------------------------------------------------------- */

.format {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 40px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.format-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.format-item img {
  flex: 0 0 240px;
  width: 240px;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
}

.format-item__body {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.format-item__body p {
  margin: 0;
  font-size: 16px;
  color: var(--text);
}

.tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.tag::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--tag-color, var(--orange));
}

@media (max-width: 720px) {
  .format {
    gap: 36px;
  }

  .format-item {
    gap: 16px;
  }

  .format-item img {
    flex-basis: 100%;
    width: 100%;
    height: 200px;
  }
}

/* Days (at a glance) ----------------------------------------------------- */

.days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px;
}

.day {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.day-note {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
}

.day-note__date {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.list .is-muted {
  color: var(--muted);
}

/* Speakers --------------------------------------------------------------- */

.speakers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.speaker {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-strong);
}

.speaker__name {
  font-size: 22px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.speaker__role {
  font-size: 15px;
  color: var(--muted);
}

/* Tickets ---------------------------------------------------------------- */

.tickets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px 20px;
  align-items: stretch;
}

.ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
}

.ticket--featured {
  background: var(--ground);
}

.ticket__flag {
  position: absolute;
  top: -18px;
  right: 20px;
  padding: 10px 14px;
  --tilt: 3deg;
}

.ticket__flag.note__label {
  font-size: 12px;
}

.ticket__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ticket__name {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ticket__price {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.ticket ul {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  font-size: 16px;
  color: var(--text);
}

@media (max-width: 720px) {
  .ticket {
    padding: 24px;
  }
}

/* Notify ----------------------------------------------------------------- */

.notify {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 32px 64px;
  align-items: center;
}

.notify__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.notify .eyebrow {
  color: var(--muted-on-dark);
}

.notify__text p:last-child {
  margin: 0;
  max-width: 520px;
  font-size: 18px;
  color: var(--text-on-dark);
}

.notify-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.field {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.field input {
  min-height: 52px;
  padding: 0 20px;
  border: 1.5px solid var(--white);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-size: 17px;
}

.field input::placeholder {
  color: #8A9099;
}

.notify-form__thanks {
  flex-basis: 100%;
  margin: 8px 0 0;
  padding: 14px 18px;
  --tilt: -1deg;
}

@media (max-width: 720px) {
  .notify-form .btn {
    width: 100%;
  }
}

/* Organizers ------------------------------------------------------------- */

.organizers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.organizer + .organizer {
  border-left: 1px solid var(--line);
}

.organizer a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 24px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.organizer a:hover {
  background: var(--ground);
}

.organizer__logo {
  display: flex;
  align-items: center;
  height: 96px;
}

.organizer__logo img {
  width: auto;
}

.organizer__logo .logo-nebulit { height: 84px; }
.organizer__logo .logo-adaptech { height: 30px; }
.organizer__logo .logo-tnw { height: 32px; }

.organizer__person {
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .organizers {
    grid-template-columns: minmax(0, 1fr);
  }

  .organizer + .organizer {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .organizer a {
    padding: 24px;
  }
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: var(--ground);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  font-size: 15px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.footer-nav ul a:hover {
  text-decoration: underline;
}

.site-footer__note {
  flex-basis: 100%;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Sub pages -------------------------------------------------------------- */

.page-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.page-head .display {
  font-size: clamp(40px, 5.4vw, 80px);
}

@media (max-width: 720px) {
  .page-head {
    gap: 16px;
    padding-top: 32px;
    padding-bottom: 40px;
  }
}

/* Program ---------------------------------------------------------------- */

.program {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.program-day {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px 48px;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}

.program-day__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.program-day__meta p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

.slots {
  margin: 0;
  padding: 0;
  list-style: none;
}

.slot {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.slot:first-child {
  padding-top: 0;
}

.slot__time {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
}

.slot__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
}

.slot__title::before {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--slot-color, transparent);
}

.slot--break .slot__title {
  font-weight: 400;
  color: var(--text);
}

.slot__desc {
  grid-column: 2;
  margin: 0;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--text);
}

.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--slot-color);
}

.explainers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.explainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 16px;
  background: var(--white);
}

.explainer p {
  margin: 0;
  font-size: 16px;
  color: var(--text);
}

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

  .slot {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .slot__time {
    font-size: 13px;
  }
}

/* Ticket status ---------------------------------------------------------- */

.tickets-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-bottom: 40px;
}

.counter {
  margin: 0;
  padding: 12px 18px;
  font-weight: 700;
  --tilt: -1.5deg;
}

.tickets-status__text {
  margin: 0;
  max-width: 640px;
  font-size: 18px;
  color: var(--text);
}

.ticket__pricing {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ticket__price-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Forms ------------------------------------------------------------------ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}

.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}

.check--on-dark {
  flex-basis: 100%;
  color: var(--text-on-dark);
}

.check--on-dark input {
  accent-color: var(--orange);
}

.check--invalid span {
  color: #A12A1A;
}

.form-error {
  flex-basis: 100%;
  margin: 0;
  color: var(--orange);
  font-weight: 600;
}

.booking {
  padding-bottom: var(--section);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 960px;
}

.booking-form > .btn,
.form-section > .btn {
  align-self: flex-start;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-section legend {
  margin-bottom: 16px;
  padding: 0;
}

.form-section--consent {
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 16px 20px;
}

.form-hint {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.input {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input[hidden] {
  display: none;
}

.input--wide {
  max-width: 100%;
}

.input__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.input__optional {
  text-transform: none;
  letter-spacing: 0;
}

.input input,
.input select,
.input textarea {
  min-height: 48px;
  padding: 10px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.input textarea {
  min-height: 96px;
  resize: vertical;
}

.input input:focus,
.input select:focus,
.input textarea:focus {
  border-color: var(--ink);
  outline: none;
}

.input input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.input--invalid input,
.input--invalid select {
  border-color: #A12A1A;
}

.input__hint {
  font-size: 14px;
  color: var(--muted);
}

.input__error {
  font-size: 14px;
  color: #A12A1A;
}

.alert {
  padding: 16px 20px;
  border-radius: 12px;
  background: #FCE9E4;
  color: #7A1F12;
  font-weight: 600;
}

.alert p {
  margin: 0;
}

.rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
}

.row__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.row__title {
  font-weight: 800;
  font-size: 20px;
}

.row__unknown {
  align-items: center;
}

.row__unknown input {
  margin: 0;
}

.row__price {
  flex-grow: 1;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
}

.total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  padding: 24px;
  border-radius: 16px;
  background: var(--ground);
}

.total__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.total__amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.total .form-hint {
  flex-basis: 100%;
}

/* Prose (legal pages) ----------------------------------------------------- */

.prose-block {
  padding-bottom: 40px;
}

.prose {
  max-width: 780px;
  padding-top: 56px;
  padding-bottom: var(--section);
  color: var(--text);
}

.prose h1 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.prose h2 {
  margin: 40px 0 12px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: 19px;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 14px;
}

.prose li + li {
  margin-top: 6px;
}

@media (max-width: 720px) {
  .row,
  .total {
    padding: 18px;
  }

  .prose {
    padding-top: 32px;
  }
}

/* Admin ------------------------------------------------------------------ */

.admin {
  padding-bottom: var(--section);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-booking {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  overflow-x: auto;
}

.admin-booking .h3 {
  margin: 0;
}

/* Every booking has a table of its own. Fixed column widths make the columns
   of all of them line up; the attendee takes what is left. Between a phone
   and a desktop, a table keeps its columns and scrolls sideways; on a phone,
   every ticket becomes a card, see below. */
.admin-table {
  width: 100%;
  min-width: 860px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 15px;
}

.admin-table__ticket {
  width: 9em;
}

.admin-table__type {
  width: 30%;
}

.admin-table__price {
  width: 9em;
}

.admin-table__action {
  width: 9em;
}

.admin-table th,
.admin-table td {
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-table .is-cancelled td {
  color: var(--muted);
  text-decoration: line-through;
}

/* A ticket that still needs a name stands out in yellow, the color of a note
   that something is to be done, and a canceled one recedes in grey, so that
   both are seen while scrolling. The first column keeps some room from the
   edge of the color. */
.admin-table .is-open {
  background: color-mix(in srgb, var(--yellow) 22%, var(--white));
}

.admin-table .is-cancelled {
  background: var(--ground);
}

.admin-table th:first-child,
.admin-table td:first-child {
  padding-left: 10px;
}

.admin-open {
  flex: none;
  align-self: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-inline input {
  flex: 1 1 7em;
  min-width: 0;
  min-height: 36px;
  padding: 4px 10px;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
}

/* On a phone, the language switch and the sign-out get a line of their own
   below the brand, and every ticket of a booking becomes a card: number and
   type, the price, the attendee at full width, and the cancellation, one
   below the other, so that nothing has to be scrolled sideways. */
@media (max-width: 720px) {
  .site-header--admin .site-header__inner {
    flex-wrap: wrap;
  }

  .site-header--admin .admin-actions {
    width: 100%;
  }

  .admin-booking {
    overflow-x: visible;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: auto;
    min-width: 0;
  }

  .admin-table colgroup,
  .admin-table thead {
    display: none;
  }

  .admin-table tr {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
  }

  .admin-table td {
    padding: 0;
    border-bottom: 0;
  }

  .admin-table td + td {
    margin-top: 6px;
  }

  .admin-table td:first-child {
    padding-left: 0;
    font-weight: 700;
  }

  .admin-table td:empty {
    display: none;
  }

  .admin-inline input {
    flex-basis: 100%;
  }
}
