:root {
  color: #111;
  background: #f5f0e6;
  font-family: Georgia, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: #f5f0e6;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 20vh;
  min-height: 7rem;
  padding: 0 1rem;
  overflow: hidden;
  background: #c44c82;
}

.site-logo-frame {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.site-logo {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 6vw, 4rem);
  min-height: 3rem;
  padding: 0 1rem;
  background: #000;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.5rem 0;
  color: #fff;
  font-family: Courier, 'Courier New', monospace;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-nav a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

main {
  min-height: 1px;
}

.read-page {
  width: min(100%, 80rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) 4rem;
}

.issue + .issue {
  margin-top: clamp(3rem, 7vw, 5rem);
}

.issue-heading {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-family: Courier, 'Courier New', monospace;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  white-space: nowrap;
}

.issue-heading::before,
.issue-heading::after {
  height: 2px;
  flex: 1;
  background: #111;
  content: '';
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.story-card {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.story-cover-frame {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.story-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 350ms ease-in-out;
}

.story-title {
  margin: 0.75rem 0 0;
  font-family: Courier, 'Courier New', monospace;
  font-size: clamp(1.33rem, 2.66vw, 1.53rem);
  font-weight: 700;
  line-height: 1.2;
}

.story-byline {
  margin: 0.25rem 0 0;
  font-family: Courier, 'Courier New', monospace;
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  font-weight: 400;
  line-height: 1.3;
}

.story-card:hover .story-title {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.story-card:hover .story-cover,
.story-card:focus-visible .story-cover {
  transform: scale(1.04);
}

.story-card:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}

@media (min-width: 48rem) {
  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 72rem) {
  .story-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-cover {
    transition: none;
  }

  .story-card:hover .story-cover,
  .story-card:focus-visible .story-cover {
    transform: none;
  }
}

.story-page {
  width: 100%;
  padding: 0 0 4rem;
}

.story-article::after {
  display: block;
  clear: both;
  content: '';
}

.story-page-cover {
  float: left;
  width: clamp(12rem, 40vw, 38rem);
  aspect-ratio: 1;
  margin: 0 clamp(1.5rem, 4vw, 4rem) 2rem 0;
  object-fit: cover;
}

.story-intro {
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 4rem) 0 0;
}

.story-page-title {
  margin: 0;
  font-family: Courier, 'Courier New', monospace;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.story-page-byline {
  margin: 0.75rem 0 0;
  font-family: Courier, 'Courier New', monospace;
  font-size: clamp(1.33rem, 2.66vw, 1.53rem);
  font-weight: 400;
  line-height: 1.25;
}

.story-divider {
  height: 0;
  margin: clamp(1.25rem, 3vw, 2rem) 0;
  border: 0;
  border-top: 2px solid #111;
}

.story-copy {
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 4rem);
  font-family: Garamond, Georgia, serif;
  font-size: 16pt;
  line-height: 1.65;
}

.submit-page {
  padding: clamp(1.5rem, 4vw, 3rem) 0 4rem;
}

.about-page {
  padding: clamp(1.5rem, 4vw, 3rem) 0 4rem;
}

.submit-copy {
  max-width: 48rem;
}

.about-copy {
  max-width: 48rem;
}

.story-copy p {
  margin: 0 0 1.25em;
}

.story-copy h2,
.story-copy h3,
.story-copy h4,
.story-copy h5,
.story-copy h6 {
  margin: 1.5em 0 0.65em;
  line-height: 1.2;
}

.story-copy blockquote {
  margin: 1.5em 0;
  padding-left: 1.25em;
  border-left: 2px solid #111;
}

.story-copy ul,
.story-copy ol {
  margin: 1.25em 0;
  padding-left: 1.5em;
}

.story-copy hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid #111;
}

.author-frame {
  display: block;
  clear: both;
  width: min(calc(100% - 2rem), 60rem);
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 3px solid #000;
}

.author-frame-with-image {
  display: grid;
  grid-template-columns: clamp(6rem, 12vw, 10rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 2rem);
}

.author-frame-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.author-frame-name {
  margin: 0;
  font-family: Courier, 'Courier New', monospace;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
}

.author-frame-bio {
  margin: 0.75rem 0 0;
  font-family: Garamond, Georgia, serif;
  font-size: 12pt;
  line-height: 1.55;
}

@media (max-width: 47.99rem) {
  .story-page-cover {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .story-intro {
    overflow: visible;
    padding: 1.5rem 1rem 0;
  }

  .story-copy {
    max-width: none;
    margin: 0;
    padding: 0 1rem;
  }
}
