* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94)),
    repeating-linear-gradient(
      0deg,
      #000 0,
      #000 1px,
      transparent 1px,
      transparent 4px
    );
  color: #111;
  font-family: "Times New Roman", Times, serif;
}

a {
  color: #0000ee;
}

a:visited {
  color: #551a8b;
}

.page {
  width: min(980px, calc(100% - 24px));
  margin: 18px auto;
  border: 1px solid #111;
  background: #fff;
}

header {
  padding: 10px 12px 0;
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 11px/1.2 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  border-bottom: 1px dotted #777;
  padding-bottom: 6px;
}

h1 {
  margin: 18px 0 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(36px, 8vw, 78px);
  line-height: .9;
  letter-spacing: -4px;
}

.subhead {
  font: bold 11px Arial, Helvetica, sans-serif;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

nav {
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  padding: 7px 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font: bold 12px Arial, Helvetica, sans-serif;
}

.ticker {
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid #111;
  background: #e8e8e8;
  font: bold 11px Arial, Helvetica, sans-serif;
  padding: 6px 0;
}

.ticker span {
  display: inline-block;
  min-width: 100%;
  padding-left: 100%;
  animation: crawl 14s linear infinite;
}

@keyframes crawl {
  from { transform: translateX(0); }
  to { transform: translateX(-200%); }
}

main {
  padding: 14px 12px 18px;
}

.intro {
  padding: 4px 0 20px;
  max-width: 650px;
}

.intro p {
  margin: 6px 0;
}

.tiny {
  font: 10px Arial, Helvetica, sans-serif;
  letter-spacing: .4px;
}

section {
  margin-bottom: 34px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 1px solid #111;
  margin-bottom: 12px;
}

.section-title h2,
.info-box h2 {
  margin: 0 0 4px;
  font: bold 16px Arial, Helvetica, sans-serif;
}

.section-title a {
  font: 10px Arial, Helvetica, sans-serif;
  margin-bottom: 5px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.product {
  min-width: 0;
  font-size: 13px;
}

.image-placeholder {
  aspect-ratio: 1 / 1.15;
  border: 1px solid #111;
  background:
    repeating-linear-gradient(
      45deg,
      #f2f2f2,
      #f2f2f2 8px,
      #fff 8px,
      #fff 16px
    );
  display: grid;
  place-items: center;
  margin-bottom: 7px;
  font: 10px Arial, Helvetica, sans-serif;
  color: #555;
}

.image-placeholder.auto {
  aspect-ratio: 4 / 3;
}

.product-name {
  display: inline-block;
  font-weight: bold;
  margin-bottom: 4px;
}

.meta {
  font: 10px Arial, Helvetica, sans-serif;
  color: #444;
}

.price {
  margin-top: 5px;
  font: bold 12px Arial, Helvetica, sans-serif;
}

.info-box {
  border: 1px dashed #111;
  padding: 10px;
}

.info-box p {
  margin: 5px 0;
}

footer {
  border-top: 1px solid #111;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 10px Arial, Helvetica, sans-serif;
}

@media (max-width: 650px) {
  .topline,
  footer {
    flex-direction: column;
  }

  h1 {
    letter-spacing: -2px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  nav {
    gap: 12px;
  }
}
