:root {
  --white: #fff;
  --ink: #17172e;
  --orange: #ef482f;
  --blue: #2879b9;
  --mist: #e8f2f7;
  --line: #dbe3e8;
  --muted: #5d6d78;
  --max: 70rem;
  --sidebar: 16rem;
  --col-gap: 2.5rem;
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--orange);
}

.skip {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 10;
  padding: 0.45rem 0.7rem;
  background: var(--ink);
  color: var(--white);
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  grid-template-areas:
    "mark title"
    "mark details";
  column-gap: var(--col-gap);
  row-gap: 0.6rem;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 5vw, 4.5rem);
}

.hero-title {
  grid-area: title;
  position: relative;
  z-index: 1;
}

.wordmark {
  margin: 0;
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 0.78;
}

.wordmark > span {
  display: block;
}

.wordmark .bay-area {
  font-size: 0.43em;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.wordmark .security {
  position: relative;
  z-index: 1;
}

.wordmark .day {
  width: max-content;
  margin: 0.09em 0 0 1.85em;
  color: var(--orange);
  font-size: 0.72em;
  letter-spacing: -0.06em;
}

.hero-mark {
  grid-area: mark;
  width: 100%;
  justify-self: start;
}

.hero-details {
  grid-area: details;
}

.hero-details p,
.lede,
.registration {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.45;
}

.hero-details p + p,
.registration {
  margin-top: 0.35rem;
}

.hero-details .hero-highlight {
  color: var(--orange);
  font-weight: 650;
}

.btn {
  color: var(--orange);
  font-weight: 700;
}

/* Content */

.content {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  gap: var(--col-gap);
  align-items: start;
  padding-bottom: 5rem;
}

section {
  scroll-margin-top: 2rem;
}

section h2 {
  margin: 0 0 1.75rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 740;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.logistics {
  position: sticky;
  top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}

.log-grid {
  display: grid;
  gap: 1.1rem;
}

.log-item h3 {
  margin: 0 0 0.1rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.log-item p {
  margin: 0;
}

.agenda {
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}

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

.talk {
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.talk:first-child {
  border-top: 0;
}

.talk time {
  padding-top: 0.1rem;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.talk-title,
.talk-who {
  margin: 0;
}

.talk-title {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.talk-who,
.affil {
  margin-top: 0.15rem;
  color: var(--muted);
}

.talk-break .talk-title,
.talk-remark .talk-title {
  color: var(--muted);
  font-weight: 400;
}

.talk-break time,
.talk-remark time {
  color: var(--muted);
}

/* Archive */

.archive-page {
  min-height: 65vh;
  padding: 4rem 0 6rem;
}

.archive-hero {
  display: grid;
  grid-template-columns: 1fr 14rem;
  gap: 2rem;
  align-items: end;
}

.archive-hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 760;
  letter-spacing: -0.07em;
  line-height: 0.84;
}

.archive-hero .lede {
  padding-bottom: 0.4rem;
}

.archive-list {
  list-style: none;
  margin: 4rem 0 0;
  padding: 0;
}

.archive-item a {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  font-weight: 650;
  text-decoration: none;
}

.archive-item:last-child a {
  border-bottom: 1px solid var(--line);
}

.arch-date,
.arch-host {
  color: var(--muted);
  font-weight: 400;
}

.arch-flag {
  color: var(--orange);
}

.archive-empty {
  margin: 1.5rem 0 0;
  color: var(--muted);
}

/* Footer & 404 */

.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 650;
}

.site-foot p {
  margin: 0;
}

.empty {
  min-height: 65vh;
  padding: 5rem 0;
}

@media (max-width: 840px) {
  :root {
    --sidebar: 13rem;
    --col-gap: 1.75rem;
  }
}

@media (max-width: 650px) {
  .hero {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "mark title"
      "details details";
    gap: 0.45rem 0.85rem;
    padding-top: 2rem;
  }

  .hero-mark {
    width: 6.75rem;
    justify-self: start;
  }

  .content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .logistics {
    position: static;
  }

  .log-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
  }

  .archive-hero {
    grid-template-columns: 1fr;
  }

  .archive-item a {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 460px) {
  .wrap {
    width: min(var(--max), calc(100% - 2rem));
  }

  .wordmark {
    font-size: clamp(3.3rem, 17vw, 5rem);
  }

  .wordmark .day {
    margin-left: 1.3em;
  }

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

  .talk {
    grid-template-columns: 7.25rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .archive-item a {
    display: flex;
    flex-wrap: wrap;
  }
}

@media print {
  .hero-mark {
    display: none;
  }

  .logistics {
    position: static;
  }

  a {
    text-decoration: none;
  }
}
