@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&display=swap");
/*
  Minimal static recreation of the old jeffturner.net look (circa 2008).
  Intentionally plain: system fonts, lots of whitespace, classic blue links.
*/

:root {
  --page-width: 820px;
  --card-expanded-width: calc(var(--page-width) * 1.3);
  --media-width: 184px;
  --media-aspect: 3 / 4.25;
  --card-bg: #efefef;
  --text: #111;
  --muted: #7b7b7b;
  --link: #0000ee;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--text);
  /* Keep the site-title big, but make body copy comfortably small. */
  font: 12pt/1.5 "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.015em;
  overscroll-behavior-y: contain;
}

a { color: var(--link); }

a:visited { color: #551a8b; }

a:hover { text-decoration-thickness: 2px; }

.page {
  width: 100%;
  padding: 90px 18px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.masthead {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
  width: min(var(--page-width), 100%);
}

.site-title {
  margin: 0;
  font-size: 54px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #3b3b3b;
}

.card {
  background: var(--card-bg);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr var(--media-width);
  gap: 18px;
  align-items: center;
  width: min(var(--card-expanded-width), 94vw);
  max-width: 100%;
}

.card__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card__copy p {
  margin: 0 0 14px;
}

.card__copy p.cheeky {
  font-style: italic;
}

.card__media {
  margin: 0;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: var(--media-width);
  aspect-ratio: var(--media-aspect);
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #b5b5b5;
  background: #fff;
}

.card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.card__media .missing-media {
  display: none;
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.card__media.is-missing {
  background: #fafafa;
}

.card__media.is-missing .missing-media {
  display: block;
}

.links {
  margin: 25px 0 4px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  width: min(var(--page-width), 100%);
  font-size: 14px;
}

.links a {
  text-decoration: underline;
}

.links .sep {
  margin: 0 8px;
  color: #000;
  font-weight: 400;
}

.footer {
  text-align: center;
  color: var(--muted);
  width: min(var(--page-width), 100%);
  font-size: 12px;
}

.footer a {
  color: var(--muted);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .page { padding-top: 48px; }
  .masthead { justify-content: center; }
  .site-title { font-size: 38px; }
  .card { grid-template-columns: 1fr; }
  .links { font-size: 16px; }
}
