:root {
  --osu-scarlet: #ba0c2f;
  --osu-scarlet-dark: #70071c;
  --osu-info: #41b6e6;
  --osu-info-dark: #2e7fa1;
  --ink: #212325;
  --body: #3f4443;
  --muted: #646a6e;
  --line: #dfe3e5;
  --white: #ffffff;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
  font-size: 17px;
  scroll-behavior: auto;
}

body {
  color: var(--body);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.62;
  letter-spacing: 0;
}

body,
.navbar,
.navbar-brand,
.nav-link,
h1,
h2,
h3,
p,
li,
a,
span {
  letter-spacing: 0;
}

a {
  color: var(--osu-scarlet);
  text-decoration: none;
}

a:hover {
  color: var(--osu-scarlet-dark);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--osu-scarlet);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  transform: translateY(-150%);
}

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

.navbar {
  min-height: 54px;
  padding: 0;
  background: var(--osu-scarlet) !important;
  box-shadow: none;
}

.navbar .container-fluid {
  width: min(820px, calc(100% - 2rem));
  padding: 0;
}

.navbar-brand {
  margin-right: 1.25rem;
  padding: 0.85rem 0;
  color: var(--white) !important;
  font-size: 1rem;
  font-weight: 650;
}

.navbar-nav {
  gap: 0.1rem;
}

.navbar-nav .nav-link {
  padding: 0.85rem 0.6rem !important;
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
  text-decoration: none;
}

.navbar-nav .nav-link.active {
  font-weight: 700;
}

.navbar-brand:focus-visible,
.navbar-nav .nav-link:focus-visible,
.navbar-toggler:focus-visible {
  outline-color: var(--white);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 2px;
}

#quarto-content {
  padding: 0;
}

main.content {
  width: min(820px, calc(100% - 2rem));
  max-width: none;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.quarto-title-block {
  margin-bottom: 1.6rem;
}

.quarto-title-block .quarto-title {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--sans);
}

h1.title,
.quarto-title h1.title {
  margin: 0;
  font-size: 2.05rem;
  font-weight: 650;
  line-height: 1.2;
}

h2 {
  margin: 2.35rem 0 0.75rem;
  padding: 0;
  border: 0;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.3;
}

h3 {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 650;
}

p {
  margin: 0.8rem 0;
}

strong {
  color: var(--ink);
  font-weight: 650;
}

ul,
ol {
  margin: 0.8rem 0;
  padding-left: 1.45rem;
}

li {
  margin-bottom: 0.65rem;
  padding-left: 0.15rem;
}

main.content ol > li {
  margin-bottom: 1.2rem;
}

code {
  padding: 0;
  color: inherit;
  background: transparent;
  font-size: 0.95em;
}

h1.home-name {
  margin: 0 0 1.4rem;
  line-height: 0;
}

.home-name-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4740 / 1027;
}

.software-diagram {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 2rem;
  aspect-ratio: 3275 / 1494;
}

.talk-list dl {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  column-gap: 1.25rem;
  margin: 0.8rem 0;
}

.talk-list dt,
.talk-list dd {
  margin: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.talk-list dt {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.talk-list dd {
  grid-column: 2;
  min-width: 0;
  line-height: 1.42;
}

.talk-list dd p {
  margin: 0;
}

.talk-list dd em {
  color: var(--ink);
}

.talk-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.talk-resource {
  display: inline-block;
  position: relative;
  top: 0;
  margin-left: 3px;
  padding: 1px 4px;
  color: var(--osu-scarlet);
  background: transparent;
  border: 1px solid rgba(186, 12, 47, 0.35);
  border-radius: 3px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  vertical-align: 0.08em;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, top 0.15s ease;
}

.talk-resource + .talk-resource {
  margin-left: 2px;
}

.talk-resource:hover,
.talk-resource:focus-visible {
  top: -1px;
  color: var(--osu-scarlet);
  background: rgba(186, 12, 47, 0.08);
  border-color: var(--osu-scarlet);
  text-decoration: none;
}

.talk-list dt:last-of-type,
.talk-list dd:last-of-type {
  border-bottom: 0;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 175px;
  gap: 2rem;
  align-items: start;
}

.home-copy > p:first-child,
.home-photo p,
.home-photo figure {
  margin-top: 0;
}

.home-copy > p:last-child {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.profile-icons {
  margin-top: 1.1rem;
}

.profile-icons p {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0;
}

.profile-icon-link {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  color: var(--osu-scarlet);
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
}

.profile-icon-link:hover {
  color: var(--osu-scarlet-dark);
}

.profile-icon-link iconify-icon {
  display: block;
}

.home-photo p,
.home-photo figure {
  margin-bottom: 0;
}

.profile-location {
  display: flex;
  width: 175px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.25;
}

.profile-location .bi {
  color: var(--osu-scarlet);
  font-size: 0.88rem;
}

.home-map-separator {
  display: block;
  visibility: hidden;
  width: 100%;
  height: 1px;
  clear: both;
  margin: clamp(3.25rem, 7vw, 5.25rem) 0 1.5rem;
  pointer-events: none;
}

.profile-photo {
  display: block;
  width: 175px;
  max-width: 100%;
  height: 175px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

@media (max-width: 767.98px) {
  #quarto-content.page-columns {
    display: block;
  }

  .navbar .container-fluid,
  main.content {
    width: min(100% - 2rem, 820px);
  }

  main.content {
    box-sizing: border-box;
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }

  .navbar .container-fluid {
    position: relative;
    justify-content: center;
  }

  .navbar-brand-container {
    min-width: 0;
    margin: 0;
    text-align: center;
  }

  .navbar-brand {
    margin-right: 0;
  }

  .navbar-toggler {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  main.content ul,
  main.content ol {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  main.content li {
    overflow-wrap: anywhere;
  }

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

  .talk-list dt {
    padding: 0.7rem 0;
  }

  .talk-list dd {
    padding: 0.7rem 0;
  }

  .navbar-collapse {
    padding: 0.25rem 0 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  .navbar-nav {
    gap: 0;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0 !important;
  }

  main.content {
    padding: 2.25rem 0 3rem;
  }

  .home-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-photo {
    grid-row: 2;
  }

  .profile-photo {
    width: 150px;
    height: 150px;
  }

  .profile-location {
    width: 150px;
  }
}

@media (max-width: 420px) {
  html {
    font-size: 16px;
  }

  .navbar .container-fluid {
    width: calc(100% - 1.5rem);
  }

  h1.title,
  .quarto-title h1.title {
    font-size: 1.8rem;
  }
}

@media print {
  @page {
    size: Letter;
    margin: 0.55in;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html,
  body {
    font-size: 11pt;
  }

  body.nav-fixed {
    padding-top: 0 !important;
  }

  #quarto-header,
  .navbar {
    position: static !important;
  }

  .quarto-container {
    min-height: 0 !important;
  }

  .page-rows-contents {
    display: block !important;
  }

  .skip-link,
  .navbar-toggler {
    display: none !important;
  }

  .navbar {
    min-height: 46px;
  }

  .navbar .container-fluid,
  main.content {
    width: auto;
    max-width: none;
  }

  .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-nav {
    display: flex;
    flex-direction: row;
  }

  .navbar-nav .nav-link {
    padding: 0.7rem 0.35rem !important;
    font-size: 8.5pt;
  }

  main.content {
    padding: 0.42in 0;
  }

  .home-intro {
    grid-template-columns: minmax(0, 1fr) 1.55in;
    gap: 0.3in;
  }

  .home-photo {
    grid-row: auto;
  }

  .profile-photo {
    width: 1.55in;
    height: 1.55in;
  }

  .profile-location {
    width: 1.55in;
  }

  a {
    color: var(--osu-scarlet);
  }
}
