* {
  box-sizing: border-box;
}

html {
  background: #faf9f6;
  color: #292924;
}

body {
  max-width: 650px;
  margin: 0 auto;
  padding: 92px 28px 35px;
  font: 16px/1.8 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  -webkit-font-smoothing: antialiased;
}

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

a:hover,
.music-toggle:hover {
  color: #91613b;
}

a:focus-visible,
.music-toggle:focus-visible {
  outline: 2px solid #91613b;
  outline-offset: 6px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #deddd6;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
}

nav a {
  color: #77776d;
  text-decoration: none;
}

nav a[aria-current] {
  color: #292924;
  text-decoration: underline;
}

.music-toggle {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #77776d;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

main {
  min-height: 520px;
  padding-top: 64px;
}

h1 {
  margin: 0 0 28px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.3;
}

p {
  max-width: 540px;
  margin: 0 0 22px;
}

.definition {
  max-width: 565px;
  padding-left: 18px;
  border-left: 1px solid #deddd6;
}

.muted {
  color: #86867b;
  font-size: 13px;
}

.art {
  overflow-x: auto;
  margin: 43px 0 34px;
  color: #77796b;
  font: 13px/1.35 ui-monospace, monospace;
}

.index {
  padding: 10px 0 0;
  list-style: none;
}

.index li {
  margin: 14px 0;
}

.index span {
  margin-left: 12px;
  color: #858579;
  font-size: 13px;
}

.empty {
  margin-top: 40px;
  color: #858579;
  font-size: 13px;
}

h2 {
  margin: 38px 0 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.project-phases {
  margin: 0 0 22px;
  padding: 0;
  border-top: 1px solid #deddd6;
  list-style: none;
}

.project-phases li {
  display: grid;
  grid-template-columns: 2ch 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #deddd6;
}

.phase-number {
  color: #91613b;
  font-size: 13px;
}

.model-preview-frame {
  position: relative;
  left: 50%;
  display: block;
  width: min(calc(100vw - 64px), 1440px);
  height: 1240px;
  transform: translateX(-50%);
  border: 1px solid #deddd6;
  background: #f6f5f1;
}

footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 21px;
  border-top: 1px solid #deddd6;
  color: #858579;
  font-size: 11px;
}

.tier-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  border: 1px solid #deddd6;
}

.tier-column {
  min-width: 0;
  padding: 13px 12px 16px;
}

.tier-column + .tier-column {
  border-left: 1px solid #deddd6;
}

.tier-column-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 7px;
  padding: 0;
  border: 0;
}

.tier-column-heading {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.tier-number {
  color: #91613b;
  font-size: 11px;
}

.tier-column h2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.tier-count {
  flex: 0 0 auto;
  margin: 2px 0 0;
  color: #858579;
  font-size: 10px;
  white-space: nowrap;
}

.tier-empty {
  margin: 20px 0 0;
  color: #858579;
  font-size: 11px;
}

.tier-entries {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.restaurant-listing {
  padding-top: 13px;
  border-top: 1px solid #deddd6;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #91613b;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.restaurant-listing h3 {
  margin: 8px 0 3px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.restaurant-listing h3 a {
  text-decoration: none;
}

.listing-date {
  margin: 0;
  color: #77776d;
  font-size: 11px;
}

.restaurant-entry {
  padding-top: 45px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #77776d;
  font-size: 12px;
  text-decoration: none;
}

.entry-overline {
  margin: 0 0 10px;
  color: #91613b;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry-overline span {
  margin-left: 10px;
  color: #858579;
}

.entry-award {
  width: fit-content;
  margin: -12px 0 0;
  padding: 3px 7px;
  border: 1px solid #91613b;
  color: #91613b;
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
}

.visit-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0;
  padding: 14px 0;
  border-top: 1px solid #deddd6;
  border-bottom: 1px solid #deddd6;
}

.visit-meta dt {
  color: #858579;
  font-size: 11px;
}

.visit-meta dd {
  margin: 3px 0 0;
  font-size: 13px;
}

.restaurant-note h2 {
  margin-top: 32px;
}

.restaurant-note + .restaurant-note {
  margin-top: 28px;
}

.photo-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.photo-slot {
  margin: 0;
}

.photo-placeholder {
  min-height: 132px;
  border: 1px dashed #c9c7be;
  background: #f6f5f1;
}

.photo-slot figcaption {
  padding-top: 7px;
  color: #77776d;
  font-size: 11px;
}

@media (max-width: 600px) {
  body {
    padding: 44px 24px 25px;
  }

  header {
    flex-wrap: wrap;
    gap: 16px;
  }

  nav {
    gap: 16px;
  }

  .music-toggle {
    margin-left: auto;
  }

  main {
    min-height: 510px;
    padding-top: 48px;
  }

  h1 {
    font-size: 24px;
  }

  .index span {
    display: block;
    margin: 0;
  }

  .tier-board {
    grid-template-columns: 1fr;
  }

  .tier-column + .tier-column {
    border-top: 1px solid #deddd6;
    border-left: 0;
  }

  .tier-empty {
    margin-top: 12px;
  }

  .tier-entries {
    margin-top: 12px;
  }

  .restaurant-entry {
    padding-top: 34px;
  }

  .visit-meta {
    grid-template-columns: 1fr;
  }

  .photo-slots {
    grid-template-columns: 1fr;
  }

  .photo-placeholder {
    min-height: 150px;
  }

  .model-preview-frame {
    position: static;
    width: 100%;
    height: 1080px;
    transform: none;
  }

  footer {
    font-size: 10px;
  }
}
