:root {
  color-scheme: light;
  --paper: #f4f0e7;
  --ink: #171714;
  --muted: #615f58;
  --focus: #655a43;
}

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

html {
  background: var(--paper);
}

body {
  min-width: 280px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo,
    monospace;
  font-size: 0.8125rem;
  line-height: 1.65;
}

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

a:focus-visible {
  outline: 1px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1.5rem;
  top: -5rem;
  z-index: 1;
  padding: 0.4rem 0.6rem;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  top: 1rem;
}

.landing {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  align-content: center;
  padding: clamp(1.5rem, 6vw, 4.5rem);
}

.landing-inner {
  max-width: 25rem;
}

.landing h1,
.site-name,
.page-title {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
}

.landing h1,
.site-name {
  letter-spacing: 0.07em;
}

.landing-copy {
  margin: 2.5rem 0;
}

.site-shell {
  width: 100%;
  max-width: 68rem;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.site-header {
  margin-bottom: clamp(5rem, 12vw, 9rem);
}

.site-name {
  margin-bottom: 1.25rem;
}

.site-name a {
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li + li::before {
  margin: 0 0.55em;
  color: var(--muted);
  content: "/";
}

.site-nav [aria-current="page"] {
  text-decoration-thickness: 2px;
}

.stream {
  width: 100%;
  max-width: 55rem;
}

.page-title {
  margin-bottom: clamp(3rem, 8vw, 6rem);
  color: var(--muted);
}

.photo {
  margin: 0 0 clamp(5rem, 12vw, 9rem);
}

.photo--portrait {
  max-width: 36rem;
}

.photo:last-child {
  margin-bottom: 0;
}

.photo img {
  display: block;
  width: 100%;
  height: auto;
  background: #e6e0d4;
}

.photo-link {
  display: block;
  text-decoration: none;
}

.photo figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.photo figcaption a {
  color: var(--ink);
}

.about {
  max-width: 34rem;
}

.about p {
  margin: 0 0 1.75rem;
}

.about-address {
  font-style: normal;
}

.about .copyright {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.back-link {
  margin-top: clamp(4rem, 10vw, 7rem);
}

@media (max-width: 36rem) {
  body {
    font-size: 0.75rem;
  }

  .site-shell {
    padding: 1.5rem;
  }

  .site-header {
    margin-bottom: 4.5rem;
  }

  .photo {
    margin-bottom: 5rem;
  }
}
