@font-face {
  font-family: "Roba";
  src: url("assets/roba.regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --black: #000;
  --panel: #111111;
  --panel-strong: #171717;
  --line: #343434;
  --line-hard: #4a4a4a;
  --text: #f0f0f0;
  --muted: #a9a9a9;
  --text-size: 18px;
  --logo-size: 268px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family: "Times New Roman", Times, serif;
  font-size: var(--text-size);
  line-height: 1.35;
  background-color: var(--black);
}

a {
  color: inherit;
}

.shell {
  width: min(100%, 1440px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 54px;
}

.masthead {
  position: relative;
  display: flex;
  min-height: min(76vh, 700px);
  align-items: center;
  justify-content: flex-start;
}

.identity {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(56vw, 560px);
  min-width: 500px;
  margin-left: min(11vw, 150px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.name,
.board h2,
.board span,
.event span,
.button {
  margin: 0;
  font-size: var(--text-size);
}

.board-header span,
.event-date,
.event-status {
  color: var(--muted);
}

.logo {
  margin: 0 0 -24px;
  font-family: "Roba", "Times New Roman", Times, serif;
  font-size: var(--logo-size);
  font-weight: 400;
  line-height: 0.9;
}

.name,
.board h2,
.button,
.event-date,
.event-status {
  font-weight: 700;
}

.dna-frame {
  position: absolute;
  top: 48%;
  right: min(9vw, 110px);
  z-index: 0;
  display: grid;
  width: min(34vw, 370px);
  height: min(72vw, 790px);
  overflow: hidden;
  place-items: center;
  transform: translateY(-50%);
}

.dna-frame img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  image-rendering: auto;
}

.actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 8px;
  justify-content: center;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: auto;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: center;
  text-decoration: none;
}

.button-about {
  justify-self: center;
}

.about-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.about-copy {
  width: min(100%, 980px);
  padding: 54px;
  color: var(--text);
  text-align: center;
}

.about-copy p {
  margin: 0;
}

.back-link {
  display: inline-block;
  margin-top: 12px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.button:hover,
.button:focus-visible {
  background: #242424;
  outline: 1px solid var(--line-hard);
  outline-offset: -1px;
}

.board {
  margin-top: 34px;
}

.board-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.board h2 {
  font-weight: 700;
}

.event-list {
  display: grid;
}

.event {
  display: grid;
  grid-template-columns: 95px minmax(210px, 1fr) 135px 210px;
  min-height: 70px;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.event:last-child {
  border-bottom: 0;
}

.event-date,
.event-name,
.event-time,
.event-status {
  white-space: nowrap;
}

.event-time {
  text-align: right;
}

@media (max-width: 760px) {
  .shell {
    padding: 22px;
  }

  .masthead {
    min-height: auto;
    flex-direction: column;
  }

  .identity,
  .dna-frame {
    min-height: auto;
  }

  .identity {
    width: 100%;
    min-width: 0;
  }

  .dna-frame {
    position: static;
    width: min(104vw, 560px);
    height: min(82vw, 442px);
    transform: none;
  }

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

  .button-about {
    grid-column: auto;
  }

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

  .event-status {
    text-align: left;
  }
}

@media (max-width: 420px) {
  :root {
    --logo-size: 214px;
  }

  .shell {
    padding: 14px;
  }

  .identity,
  .board-header,
  .event {
    padding-right: 16px;
    padding-left: 16px;
  }
}
