:root {
  --red: #e3352f;
  --black: #1b1f27;
  --ink: #18202d;
  --muted: #667084;
  --line: #e5e8ee;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --shadow: 0 18px 40px rgba(24, 27, 34, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at top left, rgba(227,53,47,.08), transparent 34%),
    radial-gradient(circle at top right, rgba(58,74,114,.06), transparent 30%),
    linear-gradient(180deg, #fff 0, #f7f8fb 100%);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 24px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 20; border-bottom: 2px solid rgba(27,31,39,.92); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.nav { display: grid; grid-template-columns: auto minmax(260px, 1fr) auto; gap: 18px; align-items: center; padding: 12px 0; }
.brand { display: flex; gap: 10px; align-items: center; }
.ball { width: 38px; height: 38px; border: 3px solid var(--black); border-radius: 50%; background: linear-gradient(#ef2f36 0 45%, var(--black) 45% 55%, #fff 55%); }
.ball::after { content: ""; display: block; width: 10px; height: 10px; margin: 11px auto 0; border: 2px solid var(--black); border-radius: 50%; background: #fff; }
.brand-title { display: grid; line-height: 1; }
.brand-title strong { font-size: 18px; }
.brand-title span, .nav-note { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: inline-flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.nav-links a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border: 2px solid #d8deea; border-radius: 999px; color: var(--ink); background: #fff; font-weight: 900; }
.nav-links a:hover { border-color: var(--red); color: var(--red); }
.nav-links a.is-current { color: #fff; border-color: var(--red); background: var(--red); }
.search {
  position: relative;
  z-index: 10;
  margin-top: -26px;
}
.search input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 46px;
  border: 2px solid #d9dee8;
  border-radius: 999px;
  outline: none;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16,24,40,.10);
}
.search input:focus { border-color: var(--red); box-shadow: 0 10px 24px rgba(227,53,47,.12); }
.search--ghost { height: 46px; border: 2px dashed #d9dee8; border-radius: 999px; background: #fafbfd; }
.search-icon { position: absolute; left: 18px; top: 50%; width: 14px; height: 14px; border: 3px solid var(--red); border-radius: 50%; transform: translateY(-55%); }
.search-icon::after { content: ""; position: absolute; right: -7px; bottom: -5px; width: 8px; height: 3px; border-radius: 4px; background: var(--red); transform: rotate(45deg); }
.app { padding: 24px 0 56px; }
.hero {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(380px, 52vh, 560px);
  padding: clamp(30px, 4.5vw, 66px) clamp(20px, 10vw, 120px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(227,53,47,.98) 0 60%, #fff 60% 100%);
}
.page-hero { padding: 24px 0 18px; }
.page-title { margin: 12px 0 0; font-size: clamp(34px, 5vw, 56px); line-height: .98; letter-spacing: -.01em; }
.page-hero p { margin: 14px 0 0; color: #4f5968; font-size: 16px; line-height: 1.6; letter-spacing: .2px; }
.kicker { display: inline-flex; padding: 8px 12px; border: 1px solid rgba(227,53,47,.16); border-radius: 999px; color: var(--red); font-size: 12px; font-weight: 900; background: #fff; }
h1 { margin: 14px 0 16px; font-size: clamp(40px, 6vw, 72px); line-height: .96; letter-spacing: -.02em; }
h1, .page-title, .detail-title h2, .section-head h2 { font-weight: 800; }
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0;
  margin-top: clamp(-8px, -.7vw, 0px);
  text-shadow: none;
}
.hero-copy .kicker {
  border-color: rgba(255,255,255,.24);
  color: rgba(255,255,255,.94);
  background: rgba(255,255,255,.1);
}
.hero-copy h1,
.hero-copy p {
  color: #fff;
}
.hero-copy p { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.52; letter-spacing: .12px; color: #fff; }
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 100%;
  display: grid;
  align-items: stretch;
  justify-items: stretch;
  pointer-events: none;
}
.hero-card {
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18) 0 18%, transparent 18% 38%, rgba(255,255,255,.08) 38% 45%, transparent 45% 100%),
    linear-gradient(180deg, rgba(227,53,47,.98) 0 60%, #fff 60% 100%);
  box-shadow: none;
  transition: none;
}
.hero-ball {
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(120px, 16vw, 188px);
  height: clamp(120px, 16vw, 188px);
  border: clamp(10px, 1vw, 14px) solid var(--black);
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 24px rgba(24,27,34,.08);
}
.hero-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: clamp(10px, 1vw, 14px);
  background: var(--black);
  transform: translateY(-50%);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 32%);
  pointer-events: none;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.62) 48%, rgba(255,255,255,.18) 100%);
  pointer-events: none;
}
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; padding: 16px 0 18px; }
.section-head h2 { margin: 0; font-size: 30px; letter-spacing: -.01em; }
.section-head p { margin: 8px 0 0; color: var(--muted); font-weight: 700; line-height: 1.55; }
.count { color: var(--red); font-weight: 900; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.card {
  display: grid;
  gap: 12px;
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 5px 16px rgba(24,27,34,.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  will-change: transform;
}
.card:hover { transform: translateY(-2px); border-color: rgba(227,53,47,.10); background: #fff; box-shadow: 0 8px 18px rgba(24,27,34,.06); }
.card-link { display: grid; gap: 12px; color: inherit; }
.card-link:focus-visible, .favorite-toggle:focus-visible, .compare-toggle:focus-visible, .pagination button:focus-visible, .detail-action:focus-visible { outline: 3px solid rgba(227,53,47,.28); outline-offset: 2px; }
.picture { position: relative; min-height: 178px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(180deg, rgba(227,53,47,.13) 0 47%, rgba(27,31,39,.11) 47% 53%, #fff 53%); }
.number { position: absolute; top: 12px; right: 12px; color: rgba(24,32,45,.38); font-family: "SF Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-weight: 700; letter-spacing: .5px; }
.pokemon-img { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(24,32,51,.14)); }
.image-fallback { display: grid; place-items: center; width: 150px; min-height: 150px; padding: 12px; color: var(--muted); text-align: center; font-weight: 900; }
.image-fallback-large { width: min(380px, 84%); min-height: 220px; font-size: 22px; }
.name-cn { margin: 0; font-size: 22px; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
.name-en { margin: 4px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .25px; }
.types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.type { padding: 6px 10px; color: #fff; font-size: 12px; font-weight: 900; border-radius: 999px; background: var(--type-color, var(--black)); }
.favorite-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 14px; margin-top: 2px; border: 2px solid #d8deea; border-radius: 48px; color: var(--ink); background: #fff; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 2px 5px rgba(24,27,34,.02); transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.favorite-toggle:hover { border-color: var(--red); box-shadow: 0 6px 12px rgba(227,53,47,.06); }
.favorite-toggle.is-active { color: #fff; border-color: var(--red); background: var(--red); box-shadow: 0 8px 18px rgba(227,53,47,.18); }
.favorite-icon { font-size: 13px; line-height: 1; }
.favorite-label { white-space: nowrap; }
.compare-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 14px; margin-top: 8px; border: 2px solid #cfd7e6; border-radius: 48px; color: var(--ink); background: #fff; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 2px 5px rgba(24,27,34,.02); transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.compare-toggle:hover { border-color: #97a5b8; background: #f7f9fc; box-shadow: 0 6px 12px rgba(58,74,114,.05); }
.compare-toggle.is-active { color: #fff; border-color: #3a4a72; background: #3a4a72; box-shadow: 0 6px 12px rgba(58,74,114,.12); }
.compare-icon { font-size: 13px; line-height: 1; }
.compare-label { white-space: nowrap; }
.compare-bar { display: none; margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 4px 16px rgba(24,27,34,.05); }
.compare-bar.is-visible { display: grid; gap: 12px; }
.compare-toast { display: none; margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(227,53,47,.18); border-radius: 8px; background: #fff4f3; color: var(--red); font-weight: 900; }
.compare-toast.is-visible { display: block; }
.compare-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: baseline; }
.compare-head h3 { margin: 0; font-size: 18px; font-weight: 800; }
.compare-head p { margin: 0; color: var(--muted); font-weight: 700; }
.compare-list { display: flex; flex-wrap: wrap; gap: 10px; }
.compare-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #d8deea; border-radius: 999px; background: #f9fbff; font-weight: 900; }
.compare-remove { width: 24px; height: 24px; border: 0; border-radius: 50%; color: #fff; background: #3a4a72; cursor: pointer; }
.empty { display: none; margin-top: 20px; padding: 36px 20px; text-align: center; color: var(--muted); border: 2px dashed #d8deea; border-radius: 8px; background: #fff; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 58px; padding: 20px 0 0; }
.pagination button { min-width: 92px; min-height: 40px; padding: 0 16px; border: 2px solid #d8deea; border-radius: 999px; color: var(--ink); background: #fff; font-weight: 900; cursor: pointer; }
.pagination button:not(:disabled):hover { border-color: var(--red); color: var(--red); }
.pagination button:disabled { color: #a1aabb; background: #f2f4f8; cursor: not-allowed; }
.pagination span { color: var(--muted); font-weight: 900; }
.detail { display: none; padding-top: 10px; }
.detail.is-active { display: block; }
#homeView.is-hidden { display: none; }
.detail-panel { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.detail-art { min-height: 460px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, rgba(227,53,47,.2) 0 48%, rgba(27,31,39,.14) 48% 53%, #fff 53%); display: grid; place-items: center; }
.detail-image { width: min(380px, 84%); object-fit: contain; filter: drop-shadow(0 20px 18px rgba(24,32,51,.18)); }
.detail-info { display: grid; gap: 18px; }
.back { width: fit-content; color: var(--muted); font-weight: 900; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.detail-meta .number { position: static; font-size: 24px; }
.detail-title { display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline; }
.detail-title h2 { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: .98; font-weight: 800; letter-spacing: -.01em; }
.detail-title .en { margin: 0; color: var(--muted); font-size: 20px; font-weight: 700; letter-spacing: .12px; }
.detail-card { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 2px 6px rgba(24,27,34,.02); }
.detail-text { margin: 0; color: #465168; font-size: 16px; line-height: 1.72; }
.stats { display: grid; gap: 12px; }
.stat { display: grid; gap: 7px; }
.stat-line { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 14px; font-weight: 900; }
.stat-line strong { color: var(--ink); }
.stat-track { height: 10px; border-radius: 999px; background: #e5e9f0; overflow: hidden; }
.stat-fill { width: var(--stat-width, 30%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--black), var(--red)); }
.detail-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding-top: 2px; }
.detail-actions button { min-height: 46px; padding: 0 20px; border-radius: 48px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 2px 5px rgba(24,27,34,.02); transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.primary { color: #fff; border: 0; background: var(--black); }
.secondary { color: var(--ink); border: 2px solid #d8deea; background: #fff; }
.secondary:hover { border-color: #b7c1d4; background: #f7f9fc; }
.detail-actions .secondary:hover { color: var(--red); box-shadow: 0 6px 12px rgba(24,27,34,.04); }
.detail-action.is-active { color: #fff; border-color: var(--red); background: var(--red); box-shadow: 0 8px 18px rgba(227,53,47,.18); }
.detail-action-message { flex-basis: 100%; margin: -2px 0 0; color: var(--muted); font-size: 13px; font-weight: 900; }
.detail-empty { padding: 42px 20px; text-align: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.view-page { padding-top: 6px; }
.page-empty { padding: 24px 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-weight: 800; }
.compare-page-panel { display: grid; gap: 16px; }
.compare-page-summary { display: grid; gap: 14px; }
.compare-page-note {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(0,0,0,.3);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.compare-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.compare-grid-vs {
  position: relative;
}
.compare-page-card {
  display: grid;
  gap: 12px;
  flex: 0 1 42%;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(229,232,238,.95);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(24,27,34,.04);
}
.compare-grid-vs .compare-page-card {
  z-index: 1;
}
.compare-vs-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 132px;
  min-height: 100%;
  font-family: "Arial Black", -apple-system, sans-serif;
  font-size: clamp(5rem, 6.5vw, 6.5rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -2px;
  color: #E3350D;
  opacity: .95;
  text-shadow: 0 0 12px rgba(227, 53, 13, 0.25);
  pointer-events: none;
  user-select: none;
  transform: translateY(-2px);
}
.compare-page-link { display: grid; gap: 12px; color: inherit; }
.compare-page-image { position: relative; min-height: 168px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(180deg, rgba(227,53,47,.12) 0 48%, rgba(27,31,39,.11) 48% 53%, #fff 53%); }
.compare-page-image img { width: 140px; height: 140px; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(24,32,51,.14)); }
.compare-page-meta { display: grid; gap: 8px; }
.compare-page-topline { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.compare-page-topline strong { font-size: 22px; line-height: 1.05; }
.compare-page-text { margin: 0; color: #465168; line-height: 1.62; }
.compare-page-basic { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-weight: 800; }
.compare-page-remove { justify-self: start; }

@media (max-width: 980px) {
  .nav, .hero, .detail-panel { grid-template-columns: 1fr; }
  .nav-note { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-grid { flex-direction: column; gap: 14px; }
  .compare-vs-badge { min-width: 0; min-height: 72px; order: 2; transform: none; }
  .nav-links { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }

  .nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav-links a,
  .nav-links button {
    padding: 8px 12px;
    font-size: 13px;
    min-height: 34px;
  }

  .nav-search {
    grid-column: 1 / -1;
    width: 100%;
  }

  .nav-search input {
    min-height: 42px;
    padding: 0 14px 0 42px;
    font-size: 14px;
  }

  .hero {
    position: relative;
    overflow: hidden;
    gap: 12px;
    padding: 26px 16px 22px;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    padding-right: 84px;
  }

  .hero-copy .kicker {
    margin-bottom: 8px;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.04;
  }

  .hero-copy p {
    color: #333333;
    line-height: 1.58;
  }

  .hero-card {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 1;
    width: 118px;
    height: 118px;
    min-height: 0;
    opacity: 0.1;
    transform: none;
    pointer-events: none;
  }

  .hero-card::after {
    background: transparent;
  }

  .hero-card img {
    width: 100%;
    height: 100%;
  }

  .section-head {
    padding-left: 0;
    padding-right: 0;
  }

  .grid {
    gap: 12px;
  }

  .card {
    padding: 14px;
  }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 20px, 1180px); }
  .app { padding-top: 16px; }
  .hero { gap: 16px; }
  .hero-copy p { font-size: 15px; }
  .section-head { flex-direction: column; align-items: start; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .detail-art { min-height: 320px; }
  .favorite-toggle { width: 100%; }
  .compare-toggle { width: 100%; }
  .compare-page-card { padding: 18px; }
  .compare-vs-badge { font-size: 2.8rem; }
}

.compare-toggle.is-limit-feedback,
.detail-action.is-limit-feedback {
  animation: compare-limit-shake .32s ease-in-out;
  border-color: var(--red);
}

@keyframes compare-limit-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-2px); }
}

.compare-page-stats {
  margin-top: 6px;
  padding: 12px;
  border-radius: 999px;
  background: #f6f8fc;
}

.compare-page-stats-empty {
  margin: 6px 0 0;
  padding: 12px 14px;
  border: 1px solid #d8deea;
  border-radius: 8px;
  background: #f9fbff;
  color: var(--muted);
  font-weight: 900;
}

.favorite-toggle,
.compare-toggle {
  gap: 6px;
}

@media (hover: hover) and (pointer: fine) {
  .hero-card:hover {
    transform: none;
    box-shadow: none;
  }

  .card:hover {
    transform: translateY(-5px);
  }
}

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

@media (max-width: 980px) {
  .hero {
    min-height: 440px;
    padding: 42px 24px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-card {
    min-height: 100%;
  }
}

@media (max-width: 768px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }

  .nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav-links a,
  .nav-links button {
    padding: 8px 12px;
    font-size: 13px;
    min-height: 34px;
  }

  .nav-search {
    grid-column: 1 / -1;
    width: 100%;
  }

  .nav-search input {
    min-height: 42px;
    padding: 0 14px 0 42px;
    font-size: 14px;
  }

  .hero {
    position: relative;
    overflow: hidden;
    gap: 12px;
    padding: 26px 16px 22px;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    padding-right: 84px;
  }

  .hero-copy .kicker {
    margin-bottom: 8px;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.04;
  }

  .hero-copy p {
    color: #333333;
    line-height: 1.58;
  }

  .hero-card {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 1;
    width: 118px;
    height: 118px;
    min-height: 0;
    opacity: 0.1;
    transform: none;
    pointer-events: none;
  }

  .hero-card::after {
    background: transparent;
  }

  .hero-card img {
    width: 100%;
    height: 100%;
  }

  .section-head {
    padding-left: 0;
    padding-right: 0;
  }

  .grid {
    gap: 12px;
  }

  .card {
    padding: 14px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 440px;
    padding: 32px 20px;
  }

  .hero-card {
    width: 100%;
    min-height: 100%;
  }

  .hero-card::after {
    background: linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.72) 58%, rgba(255,255,255,.28) 100%);
  }

  .hero-copy {
    text-shadow: none;
  }
}
