:root {
  --ink: #17243a;
  --muted: #5f6673;
  --line: #d7deea;
  --paper: #fffdf8;
  --soft: #f4f0e8;
  --blue: #dceef8;
  --yellow: #ffe56e;
  --purple: #5d3678;
  --green: #dff3df;
  --shadow: 0 10px 24px rgb(23 36 58 / 8%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.site-hero {
  background:
    linear-gradient(90deg, rgb(23 36 58 / 78%), rgb(23 36 58 / 42%)),
    url("../weekday-wellness-gym/assets/main-street-panorama-quiet.png") center / cover;
  color: white;
}

.teaser-hero {
  background:
    linear-gradient(90deg, rgb(23 36 58 / 80%), rgb(23 36 58 / 38%)),
    url("assets/dolphins-sea-lions-coming-soon.png") center / cover;
}

.teaser-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 6vw, 76px);
}

.hero-inner {
  width: min(1120px, calc(100vw - 32px));
  min-height: 340px;
  margin: 0 auto;
  display: grid;
  align-content: end;
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
}

.intro {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  font-weight: 700;
}

main {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.section-block + .section-block {
  margin-top: 56px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading .eyebrow,
.teaser-copy .eyebrow {
  color: var(--purple);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.comic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comic-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.comic-card:has(.image-link):hover {
  border-color: rgb(23 36 58 / 38%);
  box-shadow: 0 14px 28px rgb(23 36 58 / 12%);
  transform: translateY(-2px);
}

.comic-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eee;
}

.feature-card {
  grid-column: span 1;
}

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

.image-link:focus-visible,
h3 a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgb(23 36 58 / 18%);
  border-radius: 999px;
  color: var(--ink);
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status.current {
  background: var(--yellow);
}

.status.timeless {
  background: var(--green);
}

.status.review {
  background: #eee7ff;
}

.status.archive {
  background: #edf0f5;
}

h3 {
  margin: 14px 0 0;
  font-size: 23px;
  line-height: 1.1;
}

h3 a {
  text-decoration: none;
}

h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.card-copy p {
  margin: 12px 0 0;
  color: #293346;
  font-size: 16px;
  line-height: 1.42;
}

.teaser-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.teaser-layout img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.teaser-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.teaser-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: #293346;
  font-size: 18px;
  line-height: 1.5;
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--purple);
  font-size: 17px;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .comic-grid,
  .featured-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .teaser-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-hero .eyebrow {
    font-size: 12px;
  }

  .section-heading .eyebrow,
  .teaser-copy .eyebrow {
    font-size: 15px;
  }

  .hero-inner {
    min-height: 300px;
    padding: 40px 0;
  }

  main {
    padding-top: 32px;
  }

  .card-copy {
    padding: 18px;
  }
}
