:root {
  --page: #f5eee4;
  --paper: #fbf6ee;
  --ink: #241d18;
  --muted: #7d7062;
  --line: rgba(92, 73, 53, 0.14);
  --accent: #6c4a31;
  --accent-soft: rgba(108, 74, 49, 0.08);
  --card-shadow: 0 18px 44px rgba(74, 55, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fcf8f1 0%, var(--page) 100%),
    radial-gradient(circle at top, rgba(191, 171, 146, 0.08), transparent 24rem);
  font-family: "Noto Serif SC", serif;
  overflow-x: hidden;
}

.consumer-shell {
  width: min(100%, 640px);
  margin: 0 auto;
  padding-bottom: 48px;
}

.hero-cover {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: flex-start;
  padding: 10px 22px 12px;
  background:
    linear-gradient(180deg, rgba(252, 248, 241, 0.86) 0%, rgba(252, 248, 241, 0.1) 46%, rgba(252, 248, 241, 0.14) 100%),
    url("./assets/consumer-hero.png") center 100% / cover no-repeat;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(249, 243, 235, 0.92) 0%, rgba(249, 243, 235, 0.22) 50%, rgba(249, 243, 235, 0.12) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(92%, 560px);
  padding-top: 2px;
}

.hero-kicker,
.section-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(102, 87, 72, 0.72);
}

.hero-copy h1,
.section-head h2 {
  margin: 0;
  font-weight: 600;
}

.hero-copy h1 {
  margin-top: 6px;
  font-size: 52px;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.issue-chip {
  display: block;
  margin-top: 10px;
  color: rgba(82, 66, 51, 0.86);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.section-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-nav {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 14px;
  z-index: 1;
  justify-content: flex-start;
  padding: 0;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.82);
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.content-section {
  padding: 28px 20px 0;
}

.featured-section {
  padding-top: 28px;
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  margin-top: 6px;
  font-size: 28px;
  line-height: 1.05;
}

.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.featured-card,
.story-card,
.empty-card {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.82);
  box-shadow: var(--card-shadow);
}

.featured-card {
  overflow: hidden;
}

.featured-cover,
.story-cover {
  position: relative;
  overflow: hidden;
}

.featured-cover {
  min-height: 240px;
}

.story-cover {
  min-height: 112px;
  border-radius: 20px;
}

.featured-cover::after,
.story-cover::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 250, 242, 0.22);
}

.cover-promotion {
  background:
    linear-gradient(145deg, rgba(35, 29, 24, 0.96), rgba(134, 90, 48, 0.88)),
    radial-gradient(circle at top right, rgba(255, 223, 177, 0.24), transparent 10rem);
}

.cover-new_store {
  background:
    linear-gradient(145deg, rgba(29, 35, 29, 0.96), rgba(59, 103, 70, 0.88)),
    radial-gradient(circle at top right, rgba(202, 239, 204, 0.24), transparent 10rem);
}

.cover-activity,
.cover-other {
  background:
    linear-gradient(145deg, rgba(23, 27, 38, 0.96), rgba(68, 80, 121, 0.88)),
    radial-gradient(circle at top right, rgba(193, 211, 255, 0.24), transparent 10rem);
}

.cover-photo {
  background-size: cover;
  background-position: center;
}

.cover-photo::after {
  border-color: rgba(255, 250, 242, 0.08);
}

.featured-body {
  padding: 20px 20px 22px;
  min-width: 0;
}

.featured-body h3,
.story-body h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.featured-body p,
.story-body p,
.empty-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.meta-line {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.cta-link {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 12px;
  text-decoration: none;
}

.subtle-link {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.story-grid {
  display: grid;
  gap: 16px;
}

.story-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.story-top {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.story-cover {
  min-height: 104px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
}

.story-cover::after {
  inset: 12px;
  border-radius: 14px;
}

.story-body {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 2px 4px 0 0;
  min-width: 0;
}

.story-body h3 {
  font-size: 23px;
  line-height: 1.16;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.story-card .cta-link {
  margin-top: 4px;
  width: fit-content;
}

.archive-section {
  display: grid;
  padding: 34px 20px 0;
  justify-content: end;
}

.archive-picker {
  display: block;
  width: min(100%, 220px);
}

.archive-picker select {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.82);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.empty-card {
  padding: 20px 18px;
  background: rgba(255, 252, 247, 0.6);
}

.empty-card h3 {
  margin: 0;
  font-size: 20px;
}

@media (max-width: 640px) {
  .hero-cover {
    min-height: 160px;
    padding: 8px 16px 12px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.08;
    white-space: normal;
  }

  .issue-chip {
    margin-top: 10px;
  }

  .section-nav {
    gap: 8px;
  }

  .hero-nav {
    left: 16px;
    right: 16px;
    bottom: 12px;
    padding: 0;
  }

  .section-link {
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
  }

  .archive-section {
    justify-content: end;
  }

  .archive-picker {
    width: min(100%, 210px);
  }

  .story-card {
    gap: 16px;
    padding: 16px 16px 18px;
  }

  .story-top {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .story-cover {
    min-height: 72px;
    border-radius: 16px;
  }

  .story-cover::after {
    inset: 10px;
    border-radius: 12px;
  }

  .story-body {
    gap: 6px;
    padding: 0 2px 0 2px;
  }

  .story-body h3 {
    font-size: 21px;
    line-height: 1.18;
  }

  .meta-line {
    font-size: 12px;
    line-height: 1.6;
  }

  .story-summary {
    font-size: 14px;
    line-height: 1.7;
    -webkit-line-clamp: 2;
  }

  .story-card .cta-link {
    margin-top: 0;
    padding: 7px 12px;
    font-size: 11px;
  }

  .consumer-shell,
  .detail-shell {
    max-width: 100%;
  }

  .featured-cover {
    min-height: 196px;
  }

  .featured-body {
    padding: 18px 16px 20px;
  }

  .featured-body h3 {
    font-size: 24px;
  }
}
