/* EverydayFindsOnline */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-italic.woff2") format("woff2");
}

:root {
  --bg: #f3f2ee;
  --card: #ffffff;
  --ink: #171614;
  --muted: #5e584f;
  --line: #e3dfd6;
  --pine: #1c3d34;
  --pine-deep: #143028;
  --cream: #f6f3ec;
  --clay: #9a4632;
  --photo: #efeeea;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

p,
dl,
dd,
dt {
  margin: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

::selection {
  background: #d7ebe3;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 5;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 700;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}

.disclosure-bar {
  background: var(--pine);
  color: var(--cream);
  padding: 12px 16px;
}

.disclosure-bar p {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.masthead {
  background: rgba(243, 242, 238, 0.92);
  padding: 18px 0 0;
}

.mast-row {
  display: flex;
  align-items: baseline;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 4vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}

.tagline {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 1rem;
}

.nav-inline {
  display: none;
}

.nav-drawer {
  margin: 0 0 14px;
}

.nav-drawer summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  background: var(--card);
}

.nav-drawer summary::-webkit-details-marker {
  display: none;
}

.nav-drawer nav {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}

.nav-drawer nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav-drawer nav a[aria-current="page"] {
  font-weight: 700;
}

@media (min-width: 900px) {
  .nav-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 0 0 8px;
  }

  .nav-drawer {
    display: none;
  }
}

.nav-inline a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.98rem;
}

.nav-inline a:hover {
  background: #fff;
}

.nav-inline a[aria-current="page"] {
  background: var(--ink);
  color: var(--cream);
  font-weight: 650;
}

.hero {
  display: grid;
  gap: 20px;
  padding: 28px 0 8px;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
    gap: 28px;
    align-items: stretch;
  }
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pine);
}

.hero h1,
.page-hero h1 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede p {
  margin: 0 0 0.75em;
  max-width: 40rem;
  font-size: 1.08rem;
}

.lede p:last-child {
  margin-bottom: 0;
}

.check-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 6px;
  box-shadow: 0 10px 30px rgba(23, 22, 20, 0.04);
}

.check-card dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pine);
}

.check-card dd {
  margin: 2px 0 12px;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 600;
}

.check-card dd.plain {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.jumps a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.jumps a:hover {
  border-color: var(--ink);
}

.key {
  margin: 22px 0 8px;
}

.key h2,
.category-head h2,
.prose h2,
.contact-panel h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.key h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.key dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

@media (min-width: 800px) {
  .key dl {
    grid-template-columns: 1fr 1fr;
  }
}

.key dl > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.key dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.key dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.art-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.category {
  margin-top: 36px;
  scroll-margin-top: 16px;
}

.category-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 16px;
  align-items: baseline;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  .category-head {
    grid-template-columns: 1fr auto;
  }

  .category-head .section-link {
    grid-column: 2;
    grid-row: 1;
  }
}

.category-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
}

.category-head p,
.section-link {
  margin: 0;
}

.category-head p {
  color: var(--muted);
}

.section-link a,
.more a,
.crumb a,
.prose a,
.contact-panel a {
  color: var(--pine-deep);
  font-weight: 700;
  text-underline-offset: 3px;
}

.grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 840px) {
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(23, 22, 20, 0.05);
  scroll-margin-top: 16px;
}

.photo {
  margin: 0;
  background: var(--photo);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding: 16px 16px 18px;
}

.card-top,
.card-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.card p {
  margin: 0;
}

.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pine);
}

.card h2,
.card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.blurb,
.credit,
.ref {
  line-height: 1.45;
}

.credit,
.ref,
.caveat,
.count,
.score-source {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.ref {
  overflow-wrap: anywhere;
}

.note,
.recheck {
  padding: 8px 10px;
  background: #f8f1e8;
  border-left: 3px solid var(--clay);
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.pack-label {
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine);
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.now {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.now-small {
  font-size: 1.45rem;
}

.was {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.was s {
  text-decoration-line: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--clay);
}

.rating-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pine);
}

.score {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.meter {
  height: 6px;
  max-width: 160px;
  background: #e7e2d8;
  border-radius: 99px;
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  background: var(--pine);
}

.count {
  font-variant-numeric: tabular-nums;
}

a.pending {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--ink);
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  min-height: 44px;
}

a.pending:hover {
  background: var(--cream);
}

.pending-label {
  display: block;
  font-weight: 700;
}

.pending-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.4;
}

.page-hero {
  padding: 28px 0 8px;
}

.crumb {
  margin: 0 0 8px;
  font-size: 0.92rem;
}

.dek {
  margin: 0;
  max-width: 42rem;
  font-size: 1.08rem;
}

.more {
  margin: 18px 0 0;
}

.prose {
  max-width: 40rem;
  padding-bottom: 8px;
}

.prose h2 {
  margin: 1.35em 0 0.35em;
  font-size: 1.55rem;
}

.prose p,
.prose li {
  font-size: 1.05rem;
}

.prose p {
  margin: 0 0 0.85em;
}

.prose ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.contact-panel {
  max-width: 40rem;
  margin-top: 8px;
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-panel h2 {
  margin: 6px 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.1rem);
}

.contact-panel p {
  margin: 0 0 0.8em;
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

main {
  padding-bottom: 36px;
}

.site-footer {
  background: #171614;
  color: var(--cream);
  padding: 36px 0 42px;
  margin-top: 20px;
}

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

.footer-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: 0.7fr 0.8fr 1.5fr;
    gap: 28px;
  }
}

.footer-brand {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-underline-offset: 3px;
}

.legal p {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.5;
}

.footer-disclosure {
  background: var(--cream);
  color: #171614;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 12px;
}

.copy {
  margin-bottom: 0;
  font-size: 0.92rem;
  opacity: 0.85;
}

@media (max-width: 359px) {
  .wordmark {
    font-size: 1.25rem;
  }

  .now {
    font-size: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .nav-drawer,
  .nav-inline,
  .skip,
  .jumps {
    display: none !important;
  }

  body,
  .site-footer,
  .disclosure-bar {
    background: #fff;
    color: #000;
  }

  .footer-disclosure,
  .disclosure-bar {
    border: 1px solid #000;
  }

  .site-footer a {
    color: #000;
  }
}
